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
/** A remote text save larger than one request, sent in chunks to a temp beside the target. */
export const STAGED_FILE_SAVE_RUNTIME_CAPABILITY = 'files.write.staged.v1' as const
export const STAGED_FILE_SAVE_METHODS = {
begin: 'files.saveBegin',
chunk: 'files.saveChunk',
commit: 'files.saveCommit',
abort: 'files.saveAbort'
} as const
// Raw bytes per chunk; base64 makes 512 KiB, inside REMOTE_RUNTIME_MAX_FILE_WRITE_CONTENT_BYTES.
export const STAGED_FILE_SAVE_CHUNK_BYTES = 384 * 1024
export const STAGED_FILE_SAVE_LIMITS = {
// The largest file the editor opens from a remote host (PAGED_REMOTE_FILE_MAX_BYTES).
maxBytesPerSave: 50 * 1024 * 1024,
maxSavesPerConnection: 2,
maxBytesPerConnection: 100 * 1024 * 1024,
maxSavesPerHost: 8,
// A save no chunk has touched for this long is dropped with its temp.
idleMs: 2 * 60 * 1000
}