Skip to content

[CTX-0397] feat(plugin): remove the bundled palette from the catalog - #678

Merged
Xuepoo merged 1 commit into
mainfrom
ctx-0397/feat-palette-split
Sep 14, 2026
Merged

Xuepoo merged 1 commit into
mainfrom
ctx-0397/feat-palette-split

Conversation

@Xuepoo

@Xuepoo Xuepoo commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Priority: P2 | Area: plugins | Labels: feat,area:plugins,P2 | Milestone: v0.1.0 | RFC: OQ-053 | Task: CTX-0397

Closes #677

Summary

Splits bitty-terminal.palette out of the bundled-disabled catalog per the accepted OQ-053
decision, so the id is installable through the external package path (CTX-0406 reserves bundled
ids). The plugin itself lives in bitty-terminal/palette (PR bitty-terminal/palette#2) and is
registered in bitty-plugins (PR bitty-terminal/bitty-plugins#6).

Moved vs stayed

  • Moved out: the bundled palette_manifest and its catalog wiring
    (all_bundled_manifests, bundled_ids, is_bundled, bundled_manifest_for); the catalog
    now stages nine plugins. The plugin manifest, lazy command, and events are unchanged
    (identity preserved).
  • Stayed: the generic Core Panel Runtime overlay helpers and the theme bridge in
    bitty-runtime::palette (used by runtime present). The plugin-specific, unused
    is_toggle_command was dropped.

Compatibility

  • Bundled palette still works: no. It was staged-and-disabled and is now unbundled; fresh
    installs are unaffected (no palette by default). The catalog became nine plugins.
  • Config keys preserved: no palette config keys existed; none are removed.
  • No plugin-specific Core API added: the change only removes catalog wiring and one unused
    helper. The independent Lua package requests ui.rich + ui.overlay because the accepted
    Plugin API v1 overlay path (bitty.ui.mount) requires ui.rich; the bundled Rust
    realization declared only ui.overlay. This difference is recorded, not a silent widening.

Gates (local, all green)

  • cargo fmt --all --check
  • cargo clippy -p bitty-plugin-host -p bitty-runtime -p bitty-app --all-targets --locked -- -D warnings
  • cargo test --workspace --all-targets --locked
  • cargo check --target x86_64-pc-windows-gnu --workspace --all-targets --locked
  • ./scripts/check-scratch-paths.sh, ./scripts/tests/check-scratch-paths.test.sh, ./scripts/check-pty-gated-tests.sh
  • actionlint -color

Merge order

bitty-terminal/palette#2 -> bitty-terminal/bitty-plugins#6 (re-pin plugins/palette to palette
main after palette merges) -> this PR.

Gaps (tracked, not fixed here)

  • The bitty Lua bridge does not implement bitty.ui.mount/update yet.
  • v1 has no command-registry enumeration / PickerProvider.

Split bitty-terminal.palette out of the bundled-disabled catalog (OQ-053) so
the id can be installed through the external package path; CTX-0406 reserves
bundled ids. The independent pure-Lua package lives in bitty-terminal/palette
(PR #2) and is registered in bitty-plugins (PR #6).

- bundled.rs: drop palette_manifest and its catalog/lookup/is_bundled wiring;
  catalog is now nine plugins.
- bitty-runtime::palette: keep the generic Panel Runtime overlay helpers and
  theme bridge (used by runtime present); drop the plugin-specific unused
  is_toggle_command.
- Update dogfood/list/inspect tests and examples for the nine-plugin catalog;
  the palette Panel Runtime test now uses a local fixture manifest.
- CHANGELOG entry under Changed.

No plugin-specific Core API is added. The independent Lua package requests
ui.rich + ui.overlay because the accepted Plugin API v1 overlay path requires
ui.rich; the bundled Rust realization declared only ui.overlay.
@Xuepoo

Xuepoo commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

Closeout verification: this branch is unchanged at 556ca3a and is up to date with origin/main (12e4d99); it merges cleanly into current origin/main.

Merge order: this palette removal is first. The companion statusline removal (bitty#680) is rebased onto this branch and based on it, so both removals merge without a hand-merge; GitHub retargets #680 to main after this merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:plugins feat Feature P2 Priority: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Split the bundled palette plugin into an independent plugin repository

1 participant