feat: support opencode

This commit is contained in:
weishu
2026-01-29 10:34:57 +08:00
parent 66ab96bf38
commit 70b5c22c8f
47 changed files with 2737 additions and 28 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import { queryKeys } from '@/lib/query-keys'
type SpawnInput = {
machineId: string
directory: string
agent?: 'claude' | 'codex' | 'gemini'
agent?: 'claude' | 'codex' | 'gemini' | 'opencode'
model?: string
yolo?: boolean
sessionType?: 'simple' | 'worktree'