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
type ShutdownPhase = 'close' | 'daemon-cleanup' | 'profile-removal'
export function recordElectronShutdownTiming(
phase: ShutdownPhase,
started: number,
details: Record<string, number | string | boolean | null | undefined> = {}
): void {
if (
process.env.ORCA_E2E_SHUTDOWN_TIMING !== '1' &&
process.env.ORCA_E2E_FORWARD_APP_LOGS !== '1'
) {
return
}
console.log(
`[e2e:shutdown] ${JSON.stringify({
phase,
elapsedMs: Number((performance.now() - started).toFixed(3)),
...details
})}`
)
}