mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-08 07:17:39 +00:00
Unify agent flavor definitions
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { useMutation, useQueryClient } from '@tanstack/react-query'
|
||||
import type { AgentFlavor } from '@hapi/protocol'
|
||||
import type { ApiClient } from '@/api/client'
|
||||
import type { SpawnResponse } from '@/types/api'
|
||||
import { queryKeys } from '@/lib/query-keys'
|
||||
@@ -6,7 +7,7 @@ import { queryKeys } from '@/lib/query-keys'
|
||||
type SpawnInput = {
|
||||
machineId: string
|
||||
directory: string
|
||||
agent?: 'claude' | 'codex' | 'cursor' | 'gemini' | 'opencode'
|
||||
agent?: AgentFlavor
|
||||
model?: string
|
||||
effort?: string
|
||||
modelReasoningEffort?: string
|
||||
|
||||
Reference in New Issue
Block a user