mirror of
https://github.com/stablyai/orca.git
synced 2026-11-03 10:37:35 +00:00
* chore: shorten process-host comments * chore: audit CLI parsing and host-routing comments * chore: remove stale host-selector restriction comment --------- Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
22 lines
810 B
TypeScript
22 lines
810 B
TypeScript
import { AGENT_LAUNCH_RUNTIME_CAPABILITIES } from '../shared/agent-launch-runtime-capability'
|
|
import { okFixture } from './test-fixtures'
|
|
|
|
export function agentLaunchHostFixture() {
|
|
return okFixture('req_status', { capabilities: [...AGENT_LAUNCH_RUNTIME_CAPABILITIES] })
|
|
}
|
|
|
|
export function agentLaunchFixture(worktreeId: string, warning?: string) {
|
|
return okFixture('req_launch', {
|
|
outcome: { kind: 'structured', sessionId: 'codex_1', handle: 'agent_1' },
|
|
worktreeId,
|
|
receipt: {
|
|
mode: 'structured',
|
|
preferred: 'structured',
|
|
reason: 'user_default',
|
|
detail: 'Started a structured chat session, the default for new agent tabs in your settings.'
|
|
},
|
|
prompt: { delivery: 'submit', outcome: 'journaled', messageId: 'msg_1' },
|
|
...(warning ? { warning } : {})
|
|
})
|
|
}
|