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
@@ -359,7 +359,7 @@ export class ApiClient {
async spawnSession(
machineId: string,
directory: string,
agent?: 'claude' | 'codex' | 'gemini',
agent?: 'claude' | 'codex' | 'gemini' | 'opencode',
model?: string,
yolo?: boolean,
sessionType?: 'simple' | 'worktree',