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.

501 B
Raw Blame
/** Nonidentifying child marker; current CLIs prefer injected session IDs. Retain it both for old children without IDs
 * and old CLIs that refuse by marker. A structured session has no pane: implicit guesses hit siblings and orchestration check is destructive by default. */
export const ORCA_STRUCTURED_SESSION_ENV = 'ORCA_STRUCTURED_SESSION'

export function hasStructuredSessionMarker(env: NodeJS.ProcessEnv = process.env): boolean {
  return (env[ORCA_STRUCTURED_SESSION_ENV] ?? '').length > 0
}