Skip to content

feat(plugins): add Phase 1 content packs - #8547

Closed
nwparker wants to merge 7 commits into
nwparker/plugins-p0-settings-demofrom
nwparker/plugins-p1-content-packs
Closed

nwparker wants to merge 7 commits into
nwparker/plugins-p0-settings-demofrom
nwparker/plugins-p1-content-packs

Conversation

@nwparker

@nwparker nwparker commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds the experimental Phase 1 content-pack layer on top of #8462:

  • App themes over a curated, validated token contract, with named light/dark theme selection.
  • Lazy plugin language catalogs with core-English fallback and discovered locale selection.
  • Private skill-store registration, per-agent/per-repository mappings, materialization, cleanup, and import of existing agent skill repositories.
  • Sanitized file icon themes and packaged terminal themes.
  • VM recipe packs with repository-owned precedence and lifecycle snapshots.
  • Declarative command aliases and consent-reviewed keybindings, backed by a handler-map command registry.

All extension points remain experimental and behind the plugin-system feature flag.

Trust and lifecycle

Inert content is schema-validated and never executed. Skills, VM recipes, and keybindings are treated as instructional content: the complete plugin-tree fingerprint participates in consent, lifecycle commands and shadowed shortcuts are shown verbatim, and changed bytes require re-consent.

The final PR in this stack adds the snapshot-bound lazy skill-instruction preview and protected security chrome. This draft must not merge independently of that hardening.

Validation

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

  • pnpm typecheck — passed.
  • pnpm lint — passed, including reliability gates, max-lines ratchet, localization parity, and localization coverage.
  • Phase 0+1 Vitest matrix — 146 files, 917 tests passed.
  • Electron demo, hostile-panel containment, fresh-profile marketplace/content journey, and 20-plugin startup A/B — 5 tests passed in 46.9 seconds.

Deferred scope

  • Remote-host skill synchronization remains Phase 2.
  • Agent launch profiles remain deferred to the teammate-owned profile model; this stack does not touch the TuiAgent union or agent-profile space.
  • The planned community language-pack conversions require their authors and are not represented as completed by this code PR.

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. This PR: content-pack contracts, registries, and host integration.
  5. feat(plugins): add Marketplace v0 lifecycle #8548 — Git marketplace lifecycle and trust core.
  6. feat(plugins): Orca plugin system — kernel, content packs, panels, workers, marketplace v0 (experimental) #8549 — marketplace UX, launch content, and release hardening.

The Phase 0 base credits community PR #7506 by @s546126 and selected work from community PR #5801 by @gsxdsm. Draft only — do not merge.

@nwparker

Copy link
Copy Markdown
Contributor Author

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

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