From c76e26842efad5e208d45a64ab3e218bb7abba74 Mon Sep 17 00:00:00 2001 From: Xuepoo Date: Mon, 5 Oct 2026 00:31:57 +0800 Subject: [PATCH 1/2] feat(registry): onboard official bar plugin Registers bitty-terminal.bar (Unified Bar) as an official plugin: registry/official/bar.toml plus the plugins/bar submodule pin at fcc02f6 (bar main tip, includes R1 seq-labels and R2 scratchpad render). generated/registry.json rebuilt via just registry-generate (5 -> 6 plugins); the artifact was never hand-edited. Refs #65 (CTX-0031, W-122). --- .gitmodules | 3 +++ generated/registry.json | 27 ++++++++++++++++++++++++++- plugins/bar | 1 + registry/official/bar.toml | 26 ++++++++++++++++++++++++++ 4 files changed, 56 insertions(+), 1 deletion(-) create mode 160000 plugins/bar create mode 100644 registry/official/bar.toml diff --git a/.gitmodules b/.gitmodules index c3318f3..6c93223 100644 --- a/.gitmodules +++ b/.gitmodules @@ -26,3 +26,6 @@ [submodule "plugins/wheel"] path = plugins/wheel url = https://github.com/bitty-terminal/wheel +[submodule "plugins/bar"] + path = plugins/bar + url = https://github.com/bitty-terminal/bar.git diff --git a/generated/registry.json b/generated/registry.json index 8a3ad48..d061e2d 100644 --- a/generated/registry.json +++ b/generated/registry.json @@ -1,6 +1,6 @@ { "schema_version": 1, - "generated_at": "2026-10-04T11:34:20Z", + "generated_at": "2026-10-04T16:30:39Z", "plugins": [ { "id": "bitty-featured.activity", @@ -33,6 +33,31 @@ "fetched_at": "2026-09-15T05:41:03Z" } }, + { + "id": "bitty-terminal.bar", + "name": "Unified Bar", + "kind": "plugin", + "repository": "https://github.com/bitty-terminal/bar", + "official": true, + "signature_status": "unsigned", + "author": "bitty-terminal", + "description": "Consolidated workspace-bar, tabs, and statusline presentation over generic chrome insets.", + "tags": [ + "bar", + "statusline", + "tabs", + "workspace-bar" + ], + "categories": [ + "productivity" + ], + "license": "MIT", + "compatibility": { + "bitty": ">=0.5,<1.0", + "sdk": "^0.1" + }, + "manifest_hash": "sha256:947df76140c1d92cc4b880e2cbe421d5bbbdf2df80881d114aac26ddaa8a0929" + }, { "id": "bitty-terminal.file-manager", "name": "File Manager", diff --git a/plugins/bar b/plugins/bar new file mode 160000 index 0000000..fcc02f6 --- /dev/null +++ b/plugins/bar @@ -0,0 +1 @@ +Subproject commit fcc02f63180fd04076d50929d9e12f0ee27c8a39 diff --git a/registry/official/bar.toml b/registry/official/bar.toml new file mode 100644 index 0000000..8712c00 --- /dev/null +++ b/registry/official/bar.toml @@ -0,0 +1,26 @@ +# Official registry entry: Unified Bar. +# +# Hand-maintained identity data only. Derived metadata (version, stars, dates, +# downloads) is intentionally absent; `just registry-sync` mirrors the plugin's +# bitty-plugin.toml into the optional `metadata` object of the generated index. +# +# Integrity (Phase 1, advisory): `manifest_hash` is the sha256 digest (H-A: raw +# bytes) of the owning repository's `bitty-plugin.toml` at the pinned submodule +# revision recorded by `git ls-tree HEAD plugins/bar`. This is a digest +# over fetched transport bytes (H-A), not semantic canonical hashing (H-B). +# Refresh it when the pin moves (see README "Registry model" refresh procedure). + +id = "bitty-terminal.bar" +name = "Unified Bar" +repository = "https://github.com/bitty-terminal/bar" +kind = "plugin" +author = "bitty-terminal" +description = "Consolidated workspace-bar, tabs, and statusline presentation over generic chrome insets." +tags = ["bar", "workspace-bar", "tabs", "statusline"] +categories = ["productivity"] +license = "MIT" +manifest_hash = "sha256:947df76140c1d92cc4b880e2cbe421d5bbbdf2df80881d114aac26ddaa8a0929" + +[compatibility] +bitty = ">=0.5,<1.0" +sdk = "^0.1" From 5f42eaceb26d948e9dc2eed164a99e3a6da2faa6 Mon Sep 17 00:00:00 2001 From: Xuepoo Date: Mon, 5 Oct 2026 00:43:12 +0800 Subject: [PATCH 2/2] fix(registry): bump sdk pin to workspace-capability mainline The sdk gitlink (c9c962f, PR #52) predates the workspace-capability commit 4f9f1ba (CTX-0063/B1 #134), so registry-validate with initialized submodules lints bar against a stale closed capability set missing workspace.read/workspace.control. Move the pin to SDK main d915535 (verified == ls-remote HEAD); no SDK code change needed. Reviewer NEEDS-FIX item 7 (CTX-0031, PR #70). --- sdk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk b/sdk index c9c962f..d915535 160000 --- a/sdk +++ b/sdk @@ -1 +1 @@ -Subproject commit c9c962fec9ca0595339b95d3f8089293e48ecebc +Subproject commit d9155350510f672ad683ff8f25dea76e97b28f89