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.

678 B
Raw Blame
// Gate main-owned sidebar producers and feed domains on ORCA_SIDEBAR_INPUTS_IS_MAIN; off in shipped builds.
// Instantiate producers conditionally so switch-off builds drop them; register RPCs in SIDEBAR_INPUT_METHODS
// and domains in sidebar-inputs-feed-domains.ts.

/** Substituted by electron.vite.config.ts; absent (off) in tests, the CLI and the web client. */
declare const ORCA_SIDEBAR_INPUTS: 'window' | 'main' | undefined

export const ORCA_SIDEBAR_INPUTS_IS_MAIN =
  // oxlint-disable-next-line unicorn/no-typeof-undefined -- undeclared outside electron-vite builds; a bare read throws.
  typeof ORCA_SIDEBAR_INPUTS !== 'undefined' && ORCA_SIDEBAR_INPUTS === 'main'