Skip to content

armgit / orca

Public Imported from GitHub
0

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.

462 B
Raw Blame
/** 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)
  )
}