Skip to content

feat(plugins): one documented schema for manifests and catalogs, with actionable errors - #31087

Closed
nwparker wants to merge 21 commits into
nwparker/plugins-v2-10-editor-themefrom
nwparker/plugins-v2-11-schema
Closed

nwparker wants to merge 21 commits into
nwparker/plugins-v2-10-editor-themefrom
nwparker/plugins-v2-11-schema

Conversation

@nwparker

@nwparker nwparker commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 31 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2218 $\color{#cf222e}{\Huge{\mathbf{−}}}$​67 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2151
Prod 74 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​6236 $\color{#cf222e}{\Huge{\mathbf{−}}}$​385 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​5851

ELI5

Plugin authors write two JSON files: orca-plugin.json (the manifest, which describes the plugin) and the marketplace catalog (which lists plugins people can install). Orca checks both files, but the rules lived only in Orca's code, so authors had to guess them. Errors showed one cryptic line at a time. A plugin made for a newer Orca failed with a list of "unknown key" errors instead of "update Orca".

This PR publishes those rules as JSON Schema files. These are generated from the same code that does the checking, so the two can't drift apart. The PR also adds reference pages for authors, error messages that point at the exact field, and a clear message when a plugin needs a newer Orca.

What Changed

For plugin authors

  • Add "$schema": "https://raw.githubusercontent.com/stablyai/orca/main/schemas/plugins/orca-plugin.v2.schema.json" to the manifest and the editor gives completion, hover docs and inline errors. The catalog (orca-catalog.json) has a matching orca-catalog.v2.schema.json. The format is part of each file name, so a later breaking format publishes beside them without changing what a URL means. The URLs point at main until format 2 ships. A test then requires them to point at that release's tag, so editors only offer fields a shipped Orca reads. The example plugin authors copy (examples/plugins/orca-gleam-syntax) has its own copy, so completion also works offline.
  • Every field has a description, an example and the first Orca release that reads it ("since"). Contribution types such as panels, commands, themes and syntaxes are reusable named definitions ($defs).
  • docs/reference/plugin-manifest.md and docs/reference/plugin-catalog.md are generated from the same schemas. Format 1 is documented as legacy.
  • New optional fields for the plugin detail page:
    • Catalog releases: license (SPDX), repository and homepage (https only), updatedAt (ISO date) and changelog (plain text, at most 2000 characters). Because they're display-only, an invalid value is dropped instead of hiding the plugin.
    • Manifests: license and homepage.
    • Marketplace listings sent to the renderer now include the release's name, version and these details.
    • Installed plugins now report license, homepage and repository.
    • A new plugins:getRollbackVersion call returns the version a rollback would restore. It reads on demand, so building the plugin list, which happens at startup and on every change, makes no file reads. A test pins that.

Error messages

  • Before: one error at a time, in the validation library's wording, for example contributes.themes.0.label: Too small: expected string to have >=1 characters.
  • After: up to eight distinct problems in one pass, each with its path and a plain message, for example contributes.themes[0].label: must not be empty; name: is required; (root): unknown key "surprise".
  • Patterns the validator checks itself (ids, paths, command ids) appear in the schema as pattern, so the editor flags them as you type.

Plugins and releases that need a newer Orca

  • When a manifest fails the strict check, Orca first reads engines.orca and manifestVersion leniently. A plugin built for a newer Orca now reports requires Orca >=X (this is Y) instead of unknown-key noise.
  • A catalog release whose minimumOrca is above this Orca stays listed, but preview and install refuse it before anything is downloaded. The existing "requires a different Orca version" message is shown.

Seeing installed plugins while the plugin system is off

  • Before: with the plugin system off, the plugin list came back empty, so the settings page couldn't show what is installed.
  • After: the list reads the installed plugins on demand and shows each one as disabled. Nothing is activated or started, and starting Orca with the system off still reads no plugin files.
  • The plugin page can also ask for one installed plugin's full manifest on demand (plugins:getInstalledManifest). Marketplace installs now report the catalog ref next to the catalog URL, so a client can match an installed plugin to the exact catalog it came from.

Enabling a plugin that was never approved

  • Before: dismissing the review dialog (Escape, X or clicking outside) keeps the plugin disabled without approving it. Turning its switch on afterwards flipped it straight back to "Needs review", and no dialog opened.
  • After: when turning a plugin on leaves it still waiting for review, the review dialog opens. Approval itself was never lost, and dismissing the dialog still never approves.

Final format decisions (after review):

  • Catalog file. The catalog is orca-catalog.json with a required "catalogVersion": 2, and the file name never changes again. An Orca that sees a higher version says "update Orca to browse this catalog" instead of misreading it. Orca falls back to the frozen orca-marketplace.json, which config/scripts/export-legacy-plugin-catalog.mjs generates for older clients.
  • Catalogs are tolerant; manifests are strict. A catalog only lists plugins, and installing re-checks the exact bytes. So Orca ignores unknown keys, skips an entry or release it can't read, trims lists over their limits, keeps the first copy of a repeated id, and drops invalid display-only fields. Format 2 manifests still reject unknown keys at every level, now including engines, author and every contribution item. A test pins both rules. pnpm validate:plugin turns every catalog repair into an error, for authors and catalog CI.
  • Several releases per plugin. Each catalog entry lists releases, newest first. Orca offers the newest one it can run, and shows "Needs Orca X" only when none fits.
  • One version gate. engines.orca is the only gate. It must cover the newest "Since" of every field and value the manifest uses (capabilities, events and built-in actions now carry per-value versions). That check is part of the schema, so validation, catalog checks and install all enforce it.
  • pluginApi. Now optional (it defaults to 1), and refused on data and instructional plugins, which never call the host API.
  • contributes.agents. Reserved for coding-agent definitions, and must be empty until that format exists.
  • Development and local builds. Their package version only moves at release, so plugins are gated against the newer of the app version and the newest "Since" in the build. Otherwise these builds would refuse plugins that correctly declare the fields they introduce.

Plugin pages (for the plugin experience redesign):

  • One-click install for content-only plugins. installMarketplacePlugin takes an optional enableIfData. Main turns the plugin on in the same step only if the installed, verified manifest is execution: 'data', approving exactly the fingerprint it just installed. Anything else comes back needsReview: true, whatever the renderer sends.
  • The real execution profile. Installed plugins now report their verified execution profile. The page used to infer "content only" from a plugin having no worker, which mislabelled command plugins.
  • Images.
    • Format 2 manifests gain cover and screenshots, with alt text required.
    • The icon must be a square PNG or WebP.
    • Every image is checked at install from its header only: static PNG, JPEG or WebP, per-kind pixel and byte limits, at most 4096 px a side and 8 MB in total. Nothing is decoded.
  • Catalog listing data. Catalog releases can carry images stored in the catalog repository and pinned by SHA-256, a summary of what they add, and the capabilities they ask for. The summary and capabilities must match the manifest at install.
  • How images reach the page. Images load only through orca-plugin-image:// URLs, served by main from verified bytes with nosniff:
    • Catalog images are read from the fetched catalog commit and cached by hash.
    • Preview images are cached before the staging tree is deleted.
    • Installed images are re-checked on every read. Listing plugins still reads no files.

Mechanism

  • The runtime zod schemas in src/shared/plugins stay the only definition.
  • pnpm generate:plugin-schemas turns them into JSON Schema using zod's built-in converter, and renders the reference pages from that JSON.
  • A unit test fails when the committed files are stale or a field lacks a description or since-version.
  • Parity is checked in both directions:
    • Every documented example must pass both the JSON Schema and its runtime field.
    • Bundled and example manifests must pass both.
    • Manifest and catalog negatives must fail in both: unknown keys, path traversal, oversized lists, wrong types, unknown profiles and types, duplicates, bad commits.
    • Some rules a JSON Schema cannot express, such as reserved ids, Windows device names, cross-field references and duplicate ids. These are listed in one test table, and each must be named in the description of the field it constrains, so editors still show it.
  • Before any of that, two refactors that don't change behavior:
    • Each contribution type now lives in its own module. The manifest, the execution-profile check and the catalog type list all read one table of contribution types.
    • Id and path rules are now a regex first, plus a check for what a regex can't express (reserved names, Windows device names). A bad value reports one problem instead of two.

Why

  • Why not hand-write the JSON Schemas? They drift: our earlier hand-written schemas had already fallen out of step with the validator. Generating them from the code that validates, plus a test against the committed files, makes drift a test failure.
  • Why keep the manifest strict instead of ignoring unknown keys? A plugin's manifest decides what it may run and what the user approves. A key an older Orca silently ignored could change behavior on a newer one, so the approval would no longer match what runs. Plugins raise engines.orca to use newer fields, and the lenient pre-read turns the resulting failure into "update Orca".
  • Why let the catalog ignore unknown keys? Listing a plugin is harmless, and installing it re-checks everything. In format 2 every level, including source, ignores keys it does not know, so a newer catalog field never makes an older Orca drop the entry. The runtime catalog parser is derived from the same definition the schema is generated from.
  • Why publish only manifest format 2? New plugins should use it. Format 1 manifests still load and are covered by the runtime tests, but editors don't offer it for completion.
  • About "since" values:
    • Fields from the first plugin release carry 1.4.160, the first tag that read plugins. A test pins this to the tags.
    • Everything new with manifest format 2 cites one constant, PLUGIN_MANIFEST_V2_SINCE. It is set to 1.4.233. It started as 1.4.232, the latest tag plus one patch, but v1.4.232 was then cut from main without format 2. The release-tag check caught that, so the constant moved on.
    • A test reads the release tags and fails once the first tag at or above that version ships without manifest format 2. Release owners: v1.4.233 has since shipped without format 2, so bump this one constant to the release that will actually ship the stack, right before it merges, and run pnpm generate:plugin-schemas. The release-tag test fails until that's done.

Linked Issue

Fixes #

Visual Proof

Enabling a plugin that was never approved, on a fresh profile with the bundled Navigation Shortcuts plugin:

  • Dismissing the review leaves it Disabled with no approval: dismissed-review-disabled.png
  • Turning its switch on now opens the review: after-toggle-opens-review.png
  • After "Enable plugin" it is Enabled: after-enabled.png

There is no "before" screenshot: hot reload made it ambiguous. The new regression test fails without the fix. The rest of this PR is schema and wording; a too-new catalog release reuses Orca's existing "requires a different Orca version" message.

Testing

  • pnpm test src/shared/plugins src/main/plugins src/main/ipc src/main/startup src/renderer/src/components/settings src/preload: all pass. The exceptions are the release-tag check, which waits for the merge-time bump, and three tests that also fail without this PR: the two filesystem-watcher tests and runtime-environment-preference.

  • New tests:

    • Schema drift and per-field documentation.
    • Examples validated against the published schema.
    • Runtime and schema agree on the bundled and example manifests and on six known-bad inputs.
    • Issue wording, deduplication and cap.
    • The compatibility pre-read.
    • Plugin discovery reports the version gap.
    • The installer refuses a too-new release without downloading it.
    • Detail fields: valid values are kept and invalid ones dropped (catalog), or rejected with a message (manifest).
    • The rollback version lookup.
    • Listing flattening.
    • The since-version release-tag check. It was confirmed to fail when the constant is set below the latest tag.
    • Enabling a never-approved plugin opens review. The test fails without the fix.
  • pnpm tc:node, pnpm tc:web and pnpm tc:cli are clean. oxlint and pnpm run check:code-quality:changed report 0 findings.

  • Plugin e2e (tests/e2e/plugin-*.spec.ts, electron-headless, background launch, one worker): 8 of 8 pass.

  • Checked through CDP on a hidden window with an isolated profile and a mock keychain: the consent flow (approve, dismiss, then switch on).

  • Tested on macOS. The changes are platform-neutral validation code. SSH and remote hosts use the same shared schemas, and the new path pattern matches the existing Windows-portable path rules, with a test comparing them.

  • I manually tested these changes locally

  • Automated tests added/updated, or explained why not below

Review

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

  • Compatibility:
    • Manifests and catalogs that loaded before still load.
    • Manifest format 2 additionally accepts an optional $schema key.
    • Error text changed shape: bracketed indexes, several issues joined by ; . The settings UI matches on the invalid manifest and requires Orca prefixes, and both are unchanged.
  • New dev dependency: ajv, test-only. It is pinned to the version already in the lockfile.
  • Wire compatibility: every new field on the list and marketplace shapes is optional. The new catalog fields are ignored by older Orca, which strips unknown keys. A manifest that uses license or homepage should raise engines.orca to 1.4.233.
  • Behaviour change, version gate: a pre-release Orca (for example 1.5.0-rc.1, or an ad-hoc x.y.z-adhoc build) now counts as older than its release, as semver does. A plugin requiring >=1.5.0 won't load on 1.5.0-rc.1. Before, the suffix was ignored.
  • Error messages: they no longer depend on zod's English wording. A missing field is detected from the input, and every pattern carries its own message. Unknown-key lists show five keys and a count, and each line is capped at 200 characters.
  • Format 2 and engines.orca: the reference now says a format 2 manifest needs at least >=1.4.233, the release that ships format 2. Older Orca can't read format 2 at all. This is guidance, not enforced: dev and e2e builds still report 1.4.214, and enforcing it would refuse every format 2 plugin there until the release bumps the version.
  • Commit hook: the JSON step in lint-staged now passes --no-error-on-unmatched-pattern, so a commit whose only staged JSON files are generated schemas (which the formatter ignores) no longer fails.
  • Formatting: the generated files are excluded from oxfmt so that regeneration is byte-stable.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

@nwparker
nwparker force-pushed the nwparker/plugins-v2-10-editor-theme branch from 7b64f58 to 0dda0fe Compare October 21, 2026 06:36
@nwparker
nwparker force-pushed the nwparker/plugins-v2-11-schema branch from 85b137d to a661c47 Compare October 21, 2026 06:49
@nwparker
nwparker force-pushed the nwparker/plugins-v2-10-editor-theme branch from 0dda0fe to b851f0f Compare October 21, 2026 12:23
@nwparker
nwparker force-pushed the nwparker/plugins-v2-11-schema branch from a661c47 to 1bd0a98 Compare October 21, 2026 12:23
@nwparker
nwparker marked this pull request as ready for review October 21, 2026 12:24
@nwparker
nwparker force-pushed the nwparker/plugins-v2-10-editor-theme branch from b851f0f to 3b44bbb Compare October 21, 2026 20:11
@nwparker
nwparker force-pushed the nwparker/plugins-v2-11-schema branch from 1bd0a98 to cc7d729 Compare October 21, 2026 20:12
@nwparker
nwparker force-pushed the nwparker/plugins-v2-10-editor-theme branch from 3b44bbb to 807ebd2 Compare October 24, 2026 11:44
@nwparker
nwparker force-pushed the nwparker/plugins-v2-11-schema branch from cc7d729 to d69e1ec Compare October 24, 2026 11:44
@nwparker
nwparker force-pushed the nwparker/plugins-v2-10-editor-theme branch 2 times, most recently from 6cc255d to 73cff50 Compare October 24, 2026 13:32
@nwparker
nwparker force-pushed the nwparker/plugins-v2-11-schema branch from d69e1ec to 121efa3 Compare October 24, 2026 13:32
@nwparker
nwparker force-pushed the nwparker/plugins-v2-10-editor-theme branch from 73cff50 to 7be720d Compare October 25, 2026 05:23
@nwparker
nwparker force-pushed the nwparker/plugins-v2-11-schema branch 2 times, most recently from 470e2bc to 9dcc0f3 Compare October 26, 2026 08:16
@nwparker
nwparker force-pushed the nwparker/plugins-v2-10-editor-theme branch from 7be720d to cd52e2f Compare October 26, 2026 12:04
@nwparker
nwparker force-pushed the nwparker/plugins-v2-11-schema branch from 9dcc0f3 to b90ee35 Compare October 26, 2026 12:04
@nwparker
nwparker force-pushed the nwparker/plugins-v2-10-editor-theme branch from cd52e2f to bfff4cc Compare October 26, 2026 12:32
@nwparker
nwparker force-pushed the nwparker/plugins-v2-11-schema branch from b90ee35 to 05de5c3 Compare October 26, 2026 12:32
@nwparker
nwparker force-pushed the nwparker/plugins-v2-10-editor-theme branch from bfff4cc to f7d30c6 Compare October 28, 2026 04:58
@nwparker
nwparker force-pushed the nwparker/plugins-v2-11-schema branch from 05de5c3 to 4ff3532 Compare October 28, 2026 04:58
@nwparker
nwparker force-pushed the nwparker/plugins-v2-10-editor-theme branch from f7d30c6 to 3fb7bdc Compare October 28, 2026 05:30
@nwparker
nwparker force-pushed the nwparker/plugins-v2-11-schema branch from 4ff3532 to 58634a7 Compare October 28, 2026 05:31
…nts table

The manifest's contributes object, the execution-profile derivation and the
catalog type list now read one PLUGIN_CONTRIBUTION_POINTS table instead of
three hand-kept lists.
Plugin ids and relative paths now validate with a regex first, so a generated
JSON Schema can carry them as `pattern`. The predicate only adds what a
pattern cannot (reserved names, Windows device names), and a bad value
reports one issue instead of two.
Each field now carries a description, examples and the Orca release that
first reads it, and each contribution item has a named fragment id. Manifest
v2 accepts an optional $schema key for editor completion, and the catalog
gains an authoring schema built from the same field definitions.
pnpm generate:plugin-schemas writes schemas/plugins/orca-plugin.schema.json,
schemas/plugins/orca-marketplace.v2.schema.json and the matching reference
pages under docs/reference from the runtime schemas. A test fails when the
committed files drift, when a field lacks a description or since-version,
when a documented example does not validate, and when the schema and the
runtime disagree on bundled manifests or known-bad inputs.
Manifest and catalog validation now lists up to eight distinct problems as
`contributes.themes[0].label: must not be empty` instead of zod's first raw
message, and rewrites parser wording (required, unknown keys, allowed
values, limits) into what the author should change.
A manifest the strict schema rejects is pre-read for engines.orca and
manifestVersion first, so a plugin built for a newer Orca reports
"requires Orca >=X (this is Y)" instead of unknown-key noise. A catalog
release whose minimumOrca is above this build stays listed but is refused
before anything is downloaded.
…lease

Schemas move under schemas/plugins/v2/ so a later breaking format can
publish beside them without changing what a pinned URL means, and the
example plugin authors copy carries its own copy for offline completion.
Fields new with manifest v2 cite one constant, PLUGIN_MANIFEST_V2_SINCE
(1.4.232, the release after the latest tag), and a test fails once a tag at
or above it ships without manifest v2. The reference documents format 1 as
legacy.
Dismissing the review dialog records keep-disabled without consent. Turning
the plugin's switch back on then only cleared the disable, so it returned
to "Needs review" with no dialog. Enabling now opens the review whenever
the result is still pending.
Catalog releases may carry a license, repository and homepage (https only),
an updatedAt date and a short plain-text changelog; an invalid value is
dropped so it never hides the plugin. Manifests may declare license and
homepage. Marketplace listings flatten name, version and those details, and
installed plugins report license, homepage, repository and the version a
rollback would restore.

The JSON lint-staged step no longer fails a commit whose only staged JSON
files are generated schemas the formatter ignores.
- Parity runs both ways: documented examples also pass their zod field,
  bundled manifests pass both the schema and the runtime, and manifest and
  catalog negatives (traversal, oversize, wrong types, duplicates) fail in
  both. A table lists every rule only the runtime can enforce, and each is
  named in the description of the field it constrains.
- The published files carry the format in their names
  (orca-plugin.v2.schema.json, orca-marketplace.v2.schema.json); $id stays
  on main until the v2 release, and a test demands the release tag once it
  exists.
- The v1 since-value is 1.4.160, the first release that read plugins, and a
  test pins it to the tags. engines.orca documents that format 2 needs at
  least the release that ships it.
- v2 catalog sources strip unknown keys like the rest of the entry, and the
  v2 runtime schema is derived from the one authoring definition, whose
  plugins field documents the duplicate-id rule. Contribution types and
  categories declare uniqueItems; fileTypes items come from the file-type
  schema itself.
- Issue messages no longer depend on zod's English: a missing field is told
  from the input, and every pattern carries its own message. Unknown-key
  lists show five keys plus a count, and each line is capped at 200
  characters.
- A prerelease host (1.5.0-rc.1) now ranks below its release, as in semver.
The plugin list is rebuilt at startup and on every plugin change, and each
installed plugin cost a directory read to find the version a rollback would
restore. That moves to plugins:getRollbackVersion, which the detail page
calls when it shows the action, and a test pins the list build to zero
filesystem calls.
The release-tag check caught it: v1.4.232 was cut from main before this
stack landed.
With the system off the service discovers nothing, so plugins:list returned
an empty list and the settings page could not show what is installed. The
client list now reads the install tree on demand in that state and projects
every plugin as disabled; nothing is activated or started, and startup with
the system off still does no plugin I/O. Older clients that hid the list
while off are unaffected.

Also for the plugin page: plugins:getInstalledManifest returns one installed
plugin's parsed manifest on demand, marketplace installs report the catalog
ref beside its URL, and the listing type declares the release record it
already carried.
Catalog
- The catalog is orca-catalog.json with a required catalogVersion: 2; a
  client that sees a higher version refuses with "update Orca to browse
  this catalog". New clients read it first and fall back to the frozen
  orca-marketplace.json, which export-legacy-plugin-catalog.mjs generates.
- Parsing is tolerant at every level: unknown keys are stripped, unreadable
  entries and releases are skipped, over-limit lists are trimmed, a repeated
  id keeps the first copy, invalid display-only fields are dropped.
  pnpm validate:plugin reports each of those as an error for authors and CI.
- Entries list releases newest first; Orca offers the first whose
  minimumOrca it meets, and shows "Needs Orca X" only when none fits.

Versioning
- engines.orca is the only gate and must cover the newest since-version of
  every field and enum value used (capabilities, events and built-in actions
  now carry per-value since tables). The check is part of the v2 schema, so
  validation, catalog checks and installs all enforce it.
- pluginApi is optional in format 2 (defaults to 1) and refused on data and
  instructional plugins. Format 2 rejects unknown keys at every level,
  including engines, author and every contribution item.
- contributes.agents is reserved for coding-agent definitions and must be
  empty in format 2 until their format exists.
- Plugins are gated against the newer of the app version and the newest
  since this build defines, so development and local builds, whose package
  version only moves at release, read the fields they introduce.

The policy is written into the generated references and pinned by tests.
… profile on the list

installMarketplacePlugin takes an optional enableIfData. Main then turns the
plugin on in the same step only when the installed, verified manifest is
execution: data, approving exactly the fingerprint it just installed through
the normal consent path; anything else comes back needsReview: true, whatever
the renderer sends. Older hosts ignore the field and leave the plugin pending.

Installed plugins now report their verified execution profile, so the plugin
page never infers "content only" from the absence of a worker.
Manifest format 2 gains cover and screenshots (alt text required), and its
icon must be a square PNG or WebP. Images are checked at install from their
headers only: static PNG, JPEG or WebP, per-kind pixel and byte limits, at
most 4096 pixels a side and 8 MB in total, so nothing is ever decoded to
decide trust.

Catalog releases may carry images stored in the catalog repository and
pinned by SHA-256, a summary of what they add, and the capabilities they ask
for, so a listing can show the plugin completely before anything is
downloaded. All three are dropped when unreadable; the summary and
capabilities must match the manifest exactly at install. pnpm validate:plugin
checks each image's hash, size and format against the repository files.
Images reach the renderer only as orca-plugin-image URLs, which main serves
with nosniff and the type it read from the header:
- catalog images are read from the catalog repository at the fetched
  commit, kept only when their hash, size and format match, and cached by
  SHA-256; a listing references only those;
- preview images are cached by hash before the staging tree is deleted;
- installed plugins' images are named by plugin, install hash and slot and
  re-checked on every read, so listing plugins still reads no files.

Listings, previews and installed plugins carry an images field the plugin
page can render without fetching anything else.
…verride

Catalog releases may list up to four theme palettes (hex colors only) so a
listing can draw theme cards before install; they are display-only and
dropped when invalid. One-click enable now also refuses when a development
override shadows the installed plugin, since those are not the bytes the
user just chose.
installMarketplacePlugin takes an optional expectedFingerprint, the
preview's consentFingerprint. With enableIfData, main now approves only
when the installed fingerprint equals it, so bytes that changed between
preview and install stay pending for review instead of being enabled. The
release commit is already pinned by resolvedCommit. Older hosts ignore the
field.
…chemas

v1.4.240 shipped without manifest v2, so the first release that reads it is 1.4.242.
The root-directory guard refuses a new top-level schemas/ folder.
@nwparker
nwparker force-pushed the nwparker/plugins-v2-10-editor-theme branch from 3fb7bdc to 5d7f90a Compare October 28, 2026 10:53
@nwparker
nwparker force-pushed the nwparker/plugins-v2-11-schema branch from 58634a7 to 56640be Compare October 28, 2026 10:53
@nwparker nwparker mentioned this pull request Oct 28, 2026
7 of 9 tasks
@nwparker

Copy link
Copy Markdown
Contributor Author

Folded into #35470 (Plugin Alpha), which lands the rest of the plugin stack in one PR.

@nwparker nwparker closed this Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant