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
// Fresh submission IDs differ from draft IDs; queuedMessageId alone proves the host took over a queued draft.
import type { AgentJournalSubmission } from './agent-session-journal-types'
/** Include handoffs in every dispatch state; the host card/bubble now owns their text. */
export function handedOffQueuedMessageIds(
submissions: readonly AgentJournalSubmission[]
): Set<string> {
const ids = new Set<string>()
for (const submission of submissions) {
if (submission.queuedMessageId !== undefined) {
ids.add(submission.queuedMessageId)
}
}
return ids
}