mirror of
https://github.com/stablyai/orca.git
synced 2026-10-24 00:04:01 +00:00
fix: preserve shell-ready Codex resume delivery
This commit is contained in:
@@ -64,6 +64,7 @@ export function buildAgentResumeStartupPlan(args: {
|
||||
expectedProcess: TUI_AGENT_CONFIG[args.agent].expectedProcess,
|
||||
followupPrompt: null,
|
||||
launchConfig,
|
||||
...(args.agent === 'codex' ? { startupCommandDelivery: 'shell-ready' as const } : {}),
|
||||
...(Object.keys(applied).length > 0 ? { sessionOptions: { ...applied } } : {}),
|
||||
...(args.agentEnv ? { env: { ...args.agentEnv } } : {})
|
||||
}
|
||||
|
||||
@@ -591,6 +591,7 @@ describe('tui agent startup plans', () => {
|
||||
})
|
||||
|
||||
expect(plan?.launchCommand).toBe("codex 'resume' 's1'")
|
||||
expect(plan?.startupCommandDelivery).toBe('shell-ready')
|
||||
})
|
||||
|
||||
it('quotes Windows resume argv for cmd.exe when shell is cmd', () => {
|
||||
|
||||
Reference in New Issue
Block a user