Unify agent flavor definitions

This commit is contained in:
weishu
2026-05-21 10:23:57 +08:00
parent 15113668cc
commit 9698aa9f4c
11 changed files with 27 additions and 18 deletions
+3 -1
View File
@@ -1,10 +1,12 @@
import type { AgentFlavor } from '@hapi/protocol'
export interface SpawnSessionOptions {
machineId?: string
directory: string
sessionId?: string
resumeSessionId?: string
approvedNewDirectoryCreation?: boolean
agent?: 'claude' | 'codex' | 'cursor' | 'gemini' | 'opencode'
agent?: AgentFlavor
model?: string
effort?: string
modelReasoningEffort?: string