feat(dsh): integrate DeepSeek Harness through ACP (#1632)

* feat(dsh): add DeepSeek Harness ACP flavor

* fix(dsh): update mobile flavor catalogs

* fix(dsh): keep mobile spawn policy managed

* fix(dsh): keep managed policy and prompt retry

* fix(dsh): suppress unsupported runner policy flags

* fix(dsh): align native managed-policy UX
This commit is contained in:
SSU-WEI HUANG
2026-08-22 12:37:28 +08:00
committed by GitHub
parent 661e9b4eb7
commit be1ef2a2e4
52 changed files with 947 additions and 215 deletions
@@ -134,7 +134,7 @@ public enum NewSessionLogic {
case .claude, .grok: return .bypassPermissions
case .agy: return .alwaysProceed
case .codex, .copilot, .cursor, .gemini, .kimi, .opencode: return .yolo
case .pi, .other: return nil
case .dsh, .pi, .other: return nil
}
}
@@ -174,7 +174,7 @@ public enum NewSessionLogic {
modelReasoningEffort: (agent == .codex && form.modelReasoningEffort != "default")
? form.modelReasoningEffort
: nil,
yolo: (isGrok || codexFamily) ? nil : form.yolo,
yolo: (agent == .dsh || isGrok || codexFamily) ? nil : form.yolo,
permissionMode: (isGrok || codexFamily) ? form.permissionMode : nil,
sessionType: form.sessionType,
worktreeName: (form.sessionType == .worktree && !trimmedWorktreeName.isEmpty)