Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
TypeScript adeagent-ideai-agentsautomationbotclaude-codecodexghosttygrok-bothermes-agentmobile-appmuseopenclawopencodeorchestrationpiruntimeterminalworktreesyc-backed
/** Creation intent belongs to this call, never to persisted agent provenance. */
export function shouldSeedWorktreePrimaryTerminal(args: {
hasPrimarySurface: boolean
callerProvidesSurface: boolean
startupNeedsTerminal?: boolean
issueCommandNeedsTerminal?: boolean
}): boolean {
return (
!args.hasPrimarySurface &&
(!args.callerProvidesSurface ||
args.startupNeedsTerminal === true ||
args.issueCommandNeedsTerminal === true)
)
}