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 ConnectionRevivalReason = 'app-resume' | 'network-change'
const listeners = new Set<(reason: ConnectionRevivalReason) => void>()
export function subscribeConnectionRevival(
listener: (reason: ConnectionRevivalReason) => void
): () => void {
listeners.add(listener)
return () => {
listeners.delete(listener)
}
}
export function publishConnectionRevival(reason: ConnectionRevivalReason): void {
for (const listener of listeners) {
listener(reason)
}
}