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.

784 B
Raw Blame
// Keep crypto out: protocol-version reaches the relocated Windows daemon bundle, which cannot resolve crypto packages. Proofs live in device-key-proof.ts.

// Older hosts reject key-auth as bad_auth and lack registerDeviceKey; migrate/present keys only after capability negotiation.
export const DEVICE_KEY_RUNTIME_CAPABILITY = 'pairing.device-key.v1' as const

// Why: registerDeviceKey's params are strict on older hosts, so `ephemeral` is sent only when advertised.
export const DEVICE_KEY_EPHEMERAL_RUNTIME_CAPABILITY = 'pairing.device-key-ephemeral.v1' as const

export const DEVICE_KEY_RUNTIME_CAPABILITIES = [
  DEVICE_KEY_RUNTIME_CAPABILITY,
  DEVICE_KEY_EPHEMERAL_RUNTIME_CAPABILITY
] as const

export const REGISTER_DEVICE_KEY_METHOD = 'pairing.registerDeviceKey' as const