Repository navigation
Ship the locked skills installer instead of executing npx - #30185
Merged
Merged
Conversation
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 11 minutes. View limit details
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
9 tasks done
nwparker
added a commit
that referenced
this pull request
Oct 18, 2026
Reverts #30185 so the separate installer project can proceed. The restored shared command already pins [email protected] for CLI, desktop updates, and setup commands.
9 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
Installing Orca’s agent skills currently downloads and runs an npm program outside Orca’s lockfile. This change ships the reviewed installer with Orca, so an install or update runs the same locked code on every machine.
What Changed
[email protected]and bundle its published CLI and dependencies into desktop and SSH builds. The build rejects missing dependencies and includes the actual bundled packages’ license notices.orca skills install/update. Settings and onboarding now produce guardedorca skills installcommands, preserving the target picker and the source commit for the running build.Why
An exact top-level
npxversion still resolves and executes dependencies outside the app’s lockfile. Bundling the published package keeps upstream’s existing agent placement and interactive behavior while making executable bytes part of the reviewed build. Orca adds no pnpm overrides and keeps cancellation and post-update verification intact.The upstream boundary in
docs/agent-skill-sharing-implementation-checklist.mdapplies to Orca’s first-party shared-skill implementation. This change wraps the existing community installation rails with a normal locked npm build dependency; it copies or mechanically translates no upstream installer source, tests, fixtures, registry entries, or path tables into tracked code. First-party shared-skill transactions are unchanged.Linked Issue
Internal supply-chain follow-up; no separate issue.
Visual Proof
N/A — command generation, execution, and packaging change; no rendered layout or styling changes. The existing setup components’ command behavior is covered by automated tests.
Testing
On macOS, with
ORCA_BACKGROUND_LAUNCH=1:pnpm tc:cli,pnpm tc:node,pnpm tc:web, changed-code quality, and staged-file lint passed.pnpm run build:electron-vitepassed.pnpm run verify:built-skills-cliverified 1,049 runtime files and six real commands, including installer version and CLI dry-runs.Windows/WSL and live SSH hosts were not available locally; their forwarding behavior is covered by contract tests and the standalone packaging test. Old remote Orca CLIs must be updated before using the new guarded copied commands. A guest using its own Node needs 22.20.0 or later and gets an explicit version error otherwise.
Review
Self-reviewed build output, runtime dependency closure, source commit validation, explicit agent targets, local/global scope, secret filtering, and missing-artifact failures. The existing isolated upstream compatibility probe intentionally still downloads an upstream baseline in tests; product installation paths do not.
Agent skill upstream boundary
Notes
The published installer retains its existing installation and overwrite behavior. This does not add transaction or rollback guarantees to the community installation rails. Its optional interactive offer to install the community
find-skillsskill also remains upstream behavior.Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)