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.

1.1 KB
Raw Blame
export type DeveloperPermissionId =
  | 'microphone'
  | 'camera'
  | 'screen'
  | 'accessibility'
  | 'full-disk-access'
  // macOS exposes no grant-reading API, so exclude this from DEVELOPER_PERMISSION_IDS and offer pane opening only (STA-7948).
  | 'files-and-folders'
  | 'automation'
  | 'local-network'
  | 'usb'
  | 'bluetooth'

export type DeveloperPermissionStatus =
  | 'granted'
  | 'denied'
  | 'not-determined'
  | 'restricted'
  | 'unknown'
  | 'unsupported'
  | 'ready'

export type DeveloperPermissionState = {
  id: DeveloperPermissionId
  status: DeveloperPermissionStatus
  terminalHostStatus?: DeveloperPermissionStatus
}

export type DeveloperPermissionRequestResult = {
  id: DeveloperPermissionId
  status: DeveloperPermissionStatus
  openedSystemSettings: boolean
}

export type LocalNetworkConnectionTestFailure =
  | 'invalid-target'
  | 'timeout'
  | 'refused'
  | 'unreachable'
  | 'unresolved'
  | 'failed'
  | 'unsupported'

export type LocalNetworkConnectionTestResult = {
  ok: boolean
  host: string
  port: number
  testedAt: number
  failure?: LocalNetworkConnectionTestFailure
}