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
let nextRevision = 1
const revisionByHostId = new Map<string, number>()
export function getHostCredentialWriteRevision(hostId: string): number {
return revisionByHostId.get(hostId) ?? 0
}
export function markHostCredentialWrite(hostId: string): void {
revisionByHostId.set(hostId, nextRevision)
nextRevision += 1
}
export function clearHostCredentialWriteRevision(hostId: string): void {
revisionByHostId.delete(hostId)
}
export function resetHostCredentialWriteRevisionsForTests(): void {
nextRevision = 1
revisionByHostId.clear()
}