mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-23 04:37:09 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user