Repository navigation
Conversation
Every copy-paste and setup-terminal skill command now runs Orca's own installer instead of npx skills add. The leading orca becomes orca-ide on Linux and in WSL, where the CLI registers under that name. Removes the Windows npx prerequisite wrapper, the skills CLI agent-key table and the npx update round-trip workflow. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Every skill setup surface now has an Install button that runs the bundled installer on the machine the agents use: this computer, its WSL distro, or the focused Orca server through a new capability-gated skills.installBundledOrca RPC. A server that predates it keeps the old npx terminal flow, isolated in LegacySkillSetupTerminal for later deletion. Removes the copy-command buttons, the command-name rewriting, and the shell-specific terminal wrapping. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ll-commands # Conflicts: # config/tsconfig.cli.json # src/cli/handlers/bundled-skill-install-command.ts
…rors The install hook now owns the last request (Retry), drops results when the focused machine changes, and reports an unresolved machine instead of doing nothing. One status component shows the failure with Retry, or the old-server terminal, on every surface. Thrown errors lose the IPC wrapper and known codes become plain translated sentences. The WSL target is forwarded to a focused server as the web client does. The terminal telemetry events, their dead helpers, stale shard timings and ko overrides are removed, and i18n keys no longer name deleted components. Co-Authored-By: Claude <[email protected]>
A desktop WSL target names a local Windows project's distro, so a focused server installs on its own host as before. Co-Authored-By: Claude <[email protected]>
… cannot hit A click on a newly focused machine now installs there even while the previous machine's install runs, and a repeated click shows the running install. Co-Authored-By: Claude <[email protected]>
…ll-commands # Conflicts: # src/cli/handlers/bundled-skill-install-command.ts # src/main/ipc/skills.ts # src/main/runtime/runtime-skill-install-commands.ts # src/main/skills/bundled-orca-skill-cli-entry.ts # src/renderer/src/components/skills/SkillFreshnessUpdateDialog.tsx
This was referenced Oct 21, 2026
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
Orca used to set up its agent skills by opening a terminal and typing a command (
npx skills add ...) for you, or by handing you a command to copy. That needed Node.js, the network, a correctly namedorcacommand on your PATH, and a working shell. Now every setup screen has an Install button that installs the skills straight away, with Orca's own installer from #29196, on whichever machine your agents run on. There is no terminal, no CLI, and no Node.js involved.Stacked on #29196 (base
jinwoo/bundled-skill-installer). The two must merge together. The Update skills dialog's new per-location plan (what an update installs, links, replaces or leaves, and why) is in #29196 and arrives here through the merge; its screenshots and text changes are listed there.What Changed
Before → after, as the user sees it:
npx [email protected] add …command for you to run.orchestration: not changed, the installed copy has changes Orca did not make, or "WSL is not available on this machine, so Orca could not install the skills there."), and Retry in place of Install.orca skills installas the manual/CLI route.Where it installs:
skills.installBundledOrcaRPC. It is gated on a newskills.install.bundled-orca.v1capability.npx [email protected] addflow for that server only. That fallback is the terminal branch ofBundledSkillInstallStatusplusbuildLegacyNpxSkillInstallCommand, both marked for deletion once those servers age out.Mechanism:
useBundledSkillInstallresolves the runtime that runs the agents (the same target skill discovery already uses). It callsinstallBundledOrcaSkillsOnRuntimeTarget, which is local IPC or remote RPC, following the existingskills.deletepattern. It then rechecks presence and freshness. The hook is the only owner of install state: it remembers the last requested skills for Retry, and a result is dropped when the focused machine or WSL distro changes.BundledSkillInstallStatusrenders the failure (reason plus Retry) and the old-server terminal for every surface: settings panels, the Linear card, and both Getting started surfaces.lib/ipc-error), and known codes become plain, translated sentences. An unknown code is shown after a generic sentence, so support can still read it.AgentSkillSetupPanelnow takesskillNamesinstead of a command string.orca→orca-ide).prepareCommandForShellhook.orca skillscommand builders.Why
The reviewed design (#29206 at d958f34) still handed users a command. On a fresh Linux install the inline terminal ran
orca-ide, which does not exist until the CLI is registered. Copied commands also needed CLI PATH registration, and older servers lackorca skills install. Calling the installer that the Update skills dialog already uses removes all three problems. It also deletes the string-rewriting layer instead of patching it.Linked Issue
Refs #28914
Visual Proof
Settings → Orchestration. Each run used a hidden dev window with a scratch HOME and profile.
Before (Install opens a terminal with an npx command, plus a copy link):

After (Install button):

After clicking Install (it installed into the scratch HOME; the pill reads Up to date):

Getting started → Give agents Orca skills.
Before (Install skills opens a terminal asking you to confirm npx):

After, before clicking:

After clicking Install skills (installed directly; the step shows Done):

Testing
Real app (macOS dev build, hidden window, scratch HOME): Settings → Orchestration → Install wrote
~/.agents/skills/orchestrationplus agent links under the scratch HOME. The Getting started step then installedorca-cliandcomputer-usethe same way. The real HOME was untouched.Packaged desktop CLI (unpacked macOS arm64 app from
electron-builder --dir, scratch HOME and userData): the app's ownContents/Resources/bin/orcainstalled and updated the bundled skills. Output:This run was before the
[skills] scanlines were removed (see the next item).orca skills install / update
After the smoke findings were fixed in Install Orca's own skills with Orca's skill installer instead of npx skills #29196 (this head's built CLI, scratch HOME):
updateno longer adds skills and the[skills] scanlines are gone.Unit tests:
Checks:
pnpm tc,check:code-quality:changed, oxlint, oxfmt, the localization checks, and the RPC params catalog all pass locally. Touched test folders pass, apart from two known unrelated flaky tests.Not exercised: a real WSL distro and a real older paired server. Both paths are covered by unit tests only.
I manually tested these changes locally
Automated tests added/updated, or explained why not below
AI Disclosure
Review
Agent skill upstream boundary
Notes
onboarding_feature_setup_terminal_openedand..._interactedevents are deleted with their schemas, because there is no terminal on that path. No new event is added.User-visible text changes (for sign-off)
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)