Repository navigation
Conversation
nwparker
force-pushed
the
nwparker/plugins-v2-14-organize
branch
from
October 24, 2026 11:55
2e49029 to
13a94d9
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-15-extension-base
branch
from
October 24, 2026 11:56
1e67b57 to
83c3d6f
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-14-organize
branch
from
October 24, 2026 13:43
13a94d9 to
e64e005
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-15-extension-base
branch
2 times, most recently
from
October 25, 2026 05:23
9e00b8c to
f13d06c
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-14-organize
branch
from
October 26, 2026 08:16
1b392fc to
83b42a5
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-15-extension-base
branch
from
October 26, 2026 08:17
f13d06c to
3adb64b
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-14-organize
branch
from
October 26, 2026 12:04
83b42a5 to
e20721a
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-15-extension-base
branch
2 times, most recently
from
October 26, 2026 12:32
22f0f85 to
f22dea6
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-14-organize
branch
2 times, most recently
from
October 28, 2026 04:59
ea19ce9 to
915b844
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-15-extension-base
branch
from
October 28, 2026 04:59
f22dea6 to
6c98339
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-14-organize
branch
from
October 28, 2026 05:31
915b844 to
23246ae
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-15-extension-base
branch
from
October 28, 2026 05:31
6c98339 to
07b68ee
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-14-organize
branch
from
October 28, 2026 05:46
23246ae to
359d6ff
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-15-extension-base
branch
from
October 28, 2026 05:46
07b68ee to
324702c
Compare
…tings contribution keys Format 2 accepts each key only as an empty list, so the points can ship later as additive minors without a new manifest format.
…nown pluginApi majors The method table now carries a summary and an optional deprecatedSince, and renders docs/reference/plugin-host-api.md with the stability and deprecation policy. A manifest naming a newer host API major fails with "update Orca" instead of "must be 1".
… execution profile change validate:plugin now reports each unreadable release with its reason (for example a tag instead of a full commit SHA) rather than a count. The consent fingerprint includes a declared non-data execution profile, so a data pack that becomes instructional no longer keeps its one-click approval. Tests pin that catalogs drop non-SHA releases, that a repository cannot load or approve a plugin it carries, and that added capabilities or a changed profile always need re-approval.
…inted catalog release entry docs/reference/plugin-authoring.md walks write, load a development folder, validate and publish. The theme token table is generated from the public token set and its fallbacks. hello-orca and hostile-panel move to manifest format 2. validate:plugin on a plugin repository root materializes HEAD the way install does and prints the release entry to paste into orca-catalog.json.
…elds for their role
nwparker
force-pushed
the
nwparker/plugins-v2-14-organize
branch
from
October 28, 2026 10:53
359d6ff to
efa4d4d
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-15-extension-base
branch
from
October 28, 2026 10:53
324702c to
44a18a2
Compare
Contributor
Author
|
Folded into #35470 (Plugin Alpha), which lands the rest of the plugin stack in one PR. |
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
This PR gets the plugin system's base ready before plugins are published publicly. It reserves names for features we plan to add, writes down which parts of the plugin API we promise not to break, closes one gap in when Orca asks the user for permission again, and gives plugin authors one guide from writing a plugin to publishing it.
What Changed
contributes.skills,mcpServers,taskSources,connectionsandsettingsare now known keys that must stay empty, the same wayagentsalready was. Before, Orca said "unknown key" for them. Now it says "is reserved for agent skills and must be empty for now". When each feature ships it becomes an optional addition, so we never need a new manifest format for it. The JSON Schema and manifest reference are regenerated (maxItems: 0).docs/reference/plugin-host-api.md, is built from the method table that already drives the permission check. It lists each method with its signature, required capability, whether panels may call it, and the error codes, and it states the rule: withinpluginApi1 the API only grows, deprecated methods keep working until the next major, and a breaking change ships as a new major. Before, a manifest with"pluginApi": 2failed with "must be 1". Now it fails with "targets host API 2, but this Orca supports only 1; update Orca".validate:pluginnames the bad release and the reason, for exampleplugins[2].releases[0]: commit: must be a full lowercase SHA-1 commit. Before, it only said "1 release(s) are unreadable". The schema already required a full 40-character SHA, and Orca already skips such releases when reading a catalog. A test now pins both.dataplugin, which installs in one click, could update toinstructionalwith only alias commands and keep its approval, because nothing in the approval fingerprint changed. The fingerprint now includes the declared execution profile whenever it is notdata, so any profile change asks again. Data packs keep their approval across updates, as before.docs/reference/plugin-authoring.mdcovers four steps: write, load a development folder, validate, publish to a catalog.docs/reference/plugin-theme-tokens.mdis generated from the public theme token list and shows what each omitted token falls back to.plugin-themes.mdlinks to it.examples/plugins/hello-orcaandhostile-panelnow use manifest format 2.pnpm validate:plugin <plugin repo root>now prints the catalog release entry to paste forHEAD: version, commit, contentHash, execution, minimum Orca, types, contribution summary, capabilities and file types. It writes out the committed files with the same code the installer uses, so the hash matches what install computes. It warns when there are uncommitted changes.Why
skills: []would mean different things in different Orca versions.Manifest format 2 has not shipped yet, so the one-time re-approval of existing format 2 instructional, panel and worker installs only affects development builds.
Linked Issue
N/A (maintainer change; follows the plugin system review).
Visual Proof
N/A. No UI changes. Only schemas, validation messages, generated docs and a command-line script changed.
Testing
I manually tested these changes locally
Automated tests added/updated, or explained why not below
pnpm tcpasses.pnpm teston the plugin suites (shared, main, renderer plugin components, settings IPC, plugin RPC): 909 passed. The release-tag test now passes (manifest v2 is gated on 1.4.240, set in feat(plugins): one documented schema for manifests and catalogs, with actionable errors #31087).The schema and doc drift test passes, including the two new generated pages.
pnpm run check:code-quality:changedandoxlinton the changed files pass.Manual run:
pnpm validate:pluginon a fresh Git copy of the Gleam example printed a release entry thatpluginCatalogReleaseErroraccepts (a unit test covers the same thing). The in-repo examples print a note instead, because they are not repository roots.Tested on macOS. The script runs Git through Orca's existing Git runner and uses path utilities, so it is not specific to one platform. Nothing here runs on SSH hosts.
AI Disclosure
Review
Agent skill upstream boundary
Notes
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)