mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 16:02:32 +00:00
12 lines
449 B
TypeScript
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'
|
|
}
|