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.

5.2 KB
Raw Blame
# Exclude mobile’s independent workspace/lockfile: recursive discovery causes ERR_PNPM_UNUSED_PATCH.
# Explicit registry/security workspaces avoid file:-dependency relinks, whose virtual-store churn
# raced Windows node-gyp and removed @vscode/windows-process-tree’s binding.gyp mid-rebuild.
packages:
  - native/windows-registry
  - native/windows-security
  - src/packages/*

minimumReleaseAge: 4320
# Preserve the existing exception for the explicitly selected Bun 1.4.4 release.
minimumReleaseAgeExclude:
  # Security fix for compressed-request crashes (GHSA-27r3-jxmh-p828).
  - '[email protected]'
  # File System Access blocklist and asar hardening fixes (electron#54677, #55331, #55179).
  - '[email protected]'
  - '[email protected]'
  - '@oven/[email protected]'
  - '@oven/[email protected]'
  - '@oven/[email protected]'
  - '@oven/[email protected]'
  - '@oven/[email protected]'
  - '@oven/[email protected]'
  - '@oven/[email protected]'
  - '@oven/[email protected]'
  - '@oven/[email protected]'
  - '@oven/[email protected]'
  - '@oven/[email protected]'
  - '@oven/[email protected]'
shamefullyHoist: true

# Enables pnpm's global virtual store outside CI; under config/ because the repo root only admits
# allowlisted entries.
pnpmfile: config/pnpmfile.cjs

# Orca resolves the user’s Claude CLI via pathToClaudeCodeExecutable; exclude SDK’s ~95 MB/platform
# bundled CLIs so that override stays mandatory.
ignoredOptionalDependencies:
  - '@anthropic-ai/claude-agent-sdk-darwin-arm64'
  - '@anthropic-ai/claude-agent-sdk-darwin-x64'
  - '@anthropic-ai/claude-agent-sdk-linux-arm64'
  - '@anthropic-ai/claude-agent-sdk-linux-arm64-musl'
  - '@anthropic-ai/claude-agent-sdk-linux-x64'
  - '@anthropic-ai/claude-agent-sdk-linux-x64-musl'
  - '@anthropic-ai/claude-agent-sdk-win32-arm64'
  - '@anthropic-ai/claude-agent-sdk-win32-x64'

# Development and test jobs need only their host. Cross-target packaging opts in
# with pnpm install:release (or explicit pnpm install --os / --cpu targets).
supportedArchitectures:
  os:
    - current
  cpu:
    - current

allowBuilds:
  # Its postinstall only hardlinks the platform binary over the JS launcher.
  '@ast-grep/cli': true
  '@parcel/watcher': true
  '@swc/core': false
  '@vscode/windows-process-tree': false
  agent-browser: false
  bun: true
  cpu-features: true
  electron-winstaller: false
  esbuild: true
  msw: false
  node-pty: true
  ssh2: false
  '@orca/windows-registry': false
  '@orca/windows-security': false

# Link @types/<peer> beside peer dependents (e.g. React/lucide) for global-virtual-store resolution.
addMissingPeerTypes: true

# Published declarations import undeclared deps; hoisting hid missing types/jest-dom augmentation,
# but the global virtual store requires explicit package dependencies.
packageExtensions:
  '@testing-library/jest-dom':
    dependencies:
      '@types/aria-query': ^5.0.1
    peerDependencies:
      vitest: '*'
    peerDependenciesMeta:
      vitest:
        optional: true
  '@tiptap/extension-list':
    dependencies:
      prosemirror-model: ^1.0.0
  # electron-vite reads electron/package.json and the binary path at build and dev time.
  electron-vite:
    peerDependencies:
      electron: '*'
  electron-updater:
    peerDependencies:
      electron: '*'
    peerDependenciesMeta:
      electron:
        optional: true
  mermaid:
    dependencies:
      '@iconify/types': ^2.0.0
      '@types/d3-selection': ^3.0.0
      type-fest: ^5.0.0
  playwright-core:
    peerDependencies:
      electron: '*'
    peerDependenciesMeta:
      electron:
        optional: true
  remark-parse:
    dependencies:
      vfile: ^6.0.0

overrides:
  hono@>=4.12.4 <4.13.11: 4.13.11
  dompurify@<3.4.17: 3.4.17
  # Upstream markdown/math packages still require the vulnerable 0.16 line.
  katex@>=0.11.0 <0.18.2: 0.18.10

patchedDependencies:
  '@xterm/[email protected]': config/patches/@[email protected]
  [email protected]: config/patches/[email protected]
  '@xterm/[email protected]': config/patches/@[email protected]
  '@xterm/[email protected]': config/patches/@[email protected]
  '@xterm/[email protected]': config/patches/@[email protected]
  '@xterm/[email protected]': config/patches/@[email protected]
  '@xterm/[email protected]': config/patches/@[email protected]
  [email protected]: config/patches/[email protected]
  '@vscode/[email protected]': config/patches/@[email protected]
  [email protected]: config/patches/[email protected]
  [email protected]: config/patches/[email protected]
  [email protected]: config/patches/[email protected]
  [email protected]: config/patches/[email protected]
  [email protected]: config/patches/[email protected]
  '@tiptap/[email protected]': config/patches/@[email protected]
  '@tiptap/[email protected]': config/patches/@[email protected]
  [email protected]: config/patches/[email protected]
  [email protected]: config/patches/[email protected]