Skip to content

feat(plugins): add Marketplace v0 lifecycle - #8548

Closed
nwparker wants to merge 6 commits into
nwparker/plugins-p1-content-packsfrom
nwparker/plugins-p1-marketplace-core
Closed

nwparker wants to merge 6 commits into
nwparker/plugins-p1-content-packsfrom
nwparker/plugins-p1-marketplace-core

Conversation

@nwparker

@nwparker nwparker commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds Marketplace v0 on top of the Phase 1 content-pack PR:

  • Zod-validated orca-marketplace.json contracts and pinned Git sources.
  • System-Git fetches with immutable resolved commits, bounded caches, and offline fallback.
  • Preview, install, update, one-step rollback, and source removal through content-addressed installs.
  • Marketplace provenance in lockfiles, official publisher/name reservation, and derived official badges.
  • A remotely refreshable kill list that blocks new installs and runtime-disables installed plugins.
  • Desktop IPC/preload lifecycle parity for marketplace reads and mutations.

All marketplace surfaces remain experimental and feature-flagged.

Security and remote behavior

The installer never runs package or install scripts. Git operations use the system Git client so existing HTTPS credential helpers and SSH configuration remain authoritative, including private repositories. Marketplace and plugin commits are pinned before installation; every installed tree is content-hashed.

Private-marketplace integration coverage exercises an SSH URL through the caller's Git environment and proves preview, install, and lockfile provenance. The production code contains no provider-specific authentication path and remains compatible with non-GitHub Git hosts.

Signing, enterprise source policy, and relay-side provisioning remain later roadmap phases.

Validation

Validated at the byte-identical top of the Phase 1 stack:

  • pnpm typecheck and pnpm lint — passed.
  • Phase 0+1 Vitest matrix — 146 files, 917 tests passed.
  • Private SSH marketplace integration — passed.
  • Electron fresh-profile source → browse → preview → install → consent → apply journey — passed.

Stack

  1. feat(plugins): add experimental Phase 0 kernel #8460 — Phase 0 kernel and enforcement.
  2. feat(plugins): add sandboxed panel host and renderer #8461 — sandboxed panel host and renderer.
  3. feat(plugins): add consent settings and demo workflow #8462 — consent/settings UI and demo workflow.
  4. feat(plugins): add Phase 1 content packs #8547 — Phase 1 content packs.
  5. This PR: marketplace lifecycle, installation, provenance, and revocation.
  6. feat(plugins): Orca plugin system — kernel, content packs, panels, workers, marketplace v0 (experimental) #8549 — marketplace UX, launch content, and release hardening.

Draft only — do not merge independently of the full stack.

@nwparker

Copy link
Copy Markdown
Contributor Author

Superseded by #8549, which condenses the whole plugin-system stack into a single PR against main.

@nwparker nwparker closed this Jul 20, 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