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.

471 B
Raw Blame
/** The execution host supplies this; browser caches without a host use exact identity. */
export function agentPermissionHostPlatform(): NodeJS.Platform | undefined {
  return typeof process !== 'undefined' ? process.platform : undefined
}

export function permissionEnvNameMatches(
  left: string,
  right: string,
  platform: NodeJS.Platform | null | undefined
): boolean {
  return platform === 'win32' ? left.toLowerCase() === right.toLowerCase() : left === right
}