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
import { z } from 'zod'
import {
MAX_ORCAD_MIGRATION_BLOBS,
OrcadMigrationBlobDescriptorSchema
} from '../orcad-migration/orcad-migration-blob-transfer'
// Let the handler parse/digest-check the manifest so malformed input receives a migration-specific refusal.
export const OrcadMigrationCatalogParams = z.object({ manifest: z.unknown() })
// Optional: sent only to a blob-channel destination, so SSH and older peers see `{ manifest }`.
export const OrcadMigrationCommitCatalogParams = OrcadMigrationCatalogParams.extend({
expectedBlobs: z
.array(OrcadMigrationBlobDescriptorSchema)
.max(MAX_ORCAD_MIGRATION_BLOBS)
.optional()
})
// The manifest's identity alone, for a request the whole manifest would overflow.
export const OrcadMigrationCatalogReferenceParams = z.object({
migrationId: z.string().min(1).max(256),
manifestSha256: z.string().regex(/^[a-f0-9]{64}$/)
})