Files
orca/src/shared/setup-agent-startup-policy.ts
T
2026-06-28 13:50:00 -07:00

12 lines
449 B
TypeScript

import type { SetupAgentStartupPolicy } from './types'
// Why: existing repos should keep launching setup and agents side by side unless
// the user explicitly opts into waiting for setup completion.
export const DEFAULT_SETUP_AGENT_STARTUP_POLICY: SetupAgentStartupPolicy = 'start-immediately'
export function shouldWaitForSetupBeforeAgentStartup(
policy: SetupAgentStartupPolicy | undefined
): boolean {
return policy === 'wait-for-setup'
}