Skip to content

armgit / orca

Public Imported from GitHub
0

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.

628 B
Raw Blame
import { z } from 'zod'
import { requiredString } from './rpc-param-primitives'

/** A managed Orca server on this host, by environment name or id. */
export const ManagedServerSelector = z.object({
  selector: requiredString('Missing required --environment')
})

export const ManagedServerRecover = ManagedServerSelector.extend({
  // Restores the prelaunch snapshot over state a rejected build changed.
  acceptChangedState: z.boolean().optional()
})

export const ManagedServerUpdate = ManagedServerSelector.extend({
  // Restarts over live terminals when the update would otherwise defer.
  force: z.boolean().optional()
})