@seemseam/ccb 7.6.1 → 7.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  **Visible, controllable multi-agent cooperative TUI workspace**
7
7
 
8
8
  <p>
9
- <img src="https://img.shields.io/badge/version-7.6.1-orange.svg" alt="version">
9
+ <img src="https://img.shields.io/badge/version-7.6.2-orange.svg" alt="version">
10
10
  <img src="https://img.shields.io/badge/platform-Linux%20%7C%20macOS%20%7C%20WSL-lightgrey.svg" alt="platform">
11
11
  <img src="https://img.shields.io/badge/providers-14%20CLI%20families-0B7285.svg" alt="providers">
12
12
  </p>
@@ -89,6 +89,8 @@ Install or refresh the optional rich media workbench; it bundles verified binari
89
89
  ccb update rich
90
90
  ```
91
91
 
92
+ After rich is enabled, plain `ccb` opens the rich WezTerm launcher when needed; use `ccb uninstall rich` to return to the normal terminal startup.
93
+
92
94
  <details>
93
95
  <summary><b>GitHub release package and source install fallbacks</b></summary>
94
96
 
@@ -180,7 +182,7 @@ Agents can also call `/ask` from workflow orchestration to delegate and hand off
180
182
 
181
183
  ### Rich Mode (NEW!)
182
184
 
183
- Run `ccb update rich` to install the optional rich workbench; it bundles Yazi where possible, uses WezTerm for the rich terminal surface, and opens WezTerm + Yazi + LazyVim with Markdown rendering and image/PDF/video previews via `ccb rich`.
185
+ Run `ccb update rich` to install the optional rich workbench; it bundles Yazi where possible, uses WezTerm for the rich terminal surface, and gives Markdown rendering plus image/PDF/video previews. After installation, plain `ccb` automatically opens this rich launcher outside WezTerm; `ccb rich` remains available as an explicit launcher.
184
186
 
185
187
  <p align="center">
186
188
  <img src="assets/readme_v7/rich-workbench.png" alt="CCB rich workbench with Yazi PDF preview in WezTerm" width="860">
@@ -270,6 +272,9 @@ CCB also supports complex workflows, but it is not an automatic DAG generator. Y
270
272
  | Stop this project's background runtime | `ccb kill` |
271
273
  | Force cleanup before rebuilding | `ccb kill -f` then `ccb -n` |
272
274
  | Update to the latest stable release | `ccb update` |
275
+ | Install or refresh the optional rich workbench | `ccb update rich` |
276
+ | Remove rich mode and return normal startup | `ccb uninstall rich` |
277
+ | Open the rich workbench | `ccb rich` |
273
278
  | Inspect the active config layer | `ccb config validate` |
274
279
  | Preview a config reload plan without changing tmux | `ccb reload --dry-run` |
275
280
  | Apply supported config changes without restarting other agents | `ccb reload` |
@@ -328,7 +333,7 @@ CCB resolves config in three layers, from lowest to highest priority:
328
333
  3. Project config at `.ccb/ccb.config`.
329
334
 
330
335
  Higher layers replace lower layers as a whole; they are not merged. The project authority file is `.ccb/ccb.config`. The old `.ccb_config/ccb.config` path is legacy migration evidence only.
331
- The built-in default is a v2 `[windows]` config with `agent1`, `agent2`, `agent3`, and `ccb_self`. The default `ccb_self` agent uses `codex` and is bound to `agentroles.ccb_self`.
336
+ The built-in default is a v2 `[windows]` config with `agent1`, `agent2`, `agent3`, and `ccb_self`. The optional rich workbench can be installed with `ccb update rich`; once enabled, normal `ccb` startup uses the rich launcher unless you run `ccb uninstall rich`. The default `ccb_self` agent uses `codex` and is bound to `agentroles.ccb_self`.
332
337
 
333
338
  `.ccb/ccb.config` mainly controls:
334
339
 
@@ -338,7 +343,7 @@ The built-in default is a v2 `[windows]` config with `agent1`, `agent2`, `agent3
338
343
  | Agent name and provider | `main:codex`, `reviewer:claude` | Names are used by the UI, ask routing, and memory files; provider decides which CLI starts. |
339
344
  | Workspace isolation | `worker1:codex(worktree)` | Gives implementation agents isolated git worktrees to reduce accidental overlap. |
340
345
  | Sidebar behavior | `[ui.sidebar]` | Controls whether the sidebar appears in every window, plus width and Comms height. |
341
- | Tool windows | `[tool_windows.<name>]` | Add managed non-agent windows such as Neovim; they appear as one sidebar row and are not `ask` targets. |
346
+ | Tool windows | `[tool_windows.<name>]` | Add managed non-agent windows such as the rich workbench; they appear as one sidebar row and are not `ask` targets. |
342
347
  | Per-agent model/API | `[agents.<name>]` | Configure `model`, `key`, `url`, and related agent-local overrides. |
343
348
  | Role Pack binding | `agentroles.archi:codex` | Bind a reusable role package through a window leaf; role assets are installed once and projected into the derived agent. |
344
349
  | Role description | `[agents.<name>] description = "..."` | Give an agent a short responsibility note; longer workflow rules belong in memory. |
@@ -440,7 +445,7 @@ comms_limit = 3
440
445
 
441
446
  Note: `cmd` belongs to compact/hybrid single-window layouts. Do not put `cmd` inside `[windows]`.
442
447
 
443
- #### Managed Neovim tool window
448
+ #### Rich workbench tool window
444
449
 
445
450
  Tool windows are tmux windows managed by CCB, but they are not agents. They do not appear in `ccb ask` targets and do not create provider runtime records.
446
451
 
@@ -451,17 +456,12 @@ entry_window = "main"
451
456
  [windows]
452
457
  main = "main:codex"
453
458
 
454
- [tool_windows.neovim]
455
- command = "ccb-nvim"
456
- label = "neovim"
459
+ [tool_windows.rich]
460
+ command = "CCB_WORKBENCH_PROFILE=rich CCB_WORKBENCH_FORCE_RICH=1 ccb-workbench files"
461
+ label = "rich"
457
462
  ```
458
463
 
459
- `ccb update rich` prepares the optional workbench bundle under CCB-owned XDG paths, downloads and validates bundled binaries where available, and uses the platform package manager only for required rich dependencies such as WezTerm, Markdown/PDF/image/video helpers, and recommended fonts. Under WSL, CCB can launch Windows-native `wezterm.exe` while running the rich tools inside the current Linux distro. Normal `ccb update` keeps this bundle untouched; rerun `ccb update rich` to install, repair, or refresh it, then use `ccb rich` or mount the tool window above. Set `CCB_RICH_DOWNLOAD_BINARIES=0` to skip bundled binary downloads, or `CCB_RICH_INSTALL_DEPS=0` to skip system package installation.
460
-
461
- Rich workbench tools, including the managed Neovim profile, are installed and updated explicitly with `ccb update rich`. Ordinary `install.sh install`, `ccb update`, and `ccb tools ... neovim` do not provision standalone Neovim; the public Neovim tool route now directs users to `ccb update rich`.
462
- If `nvim` is not already on `PATH`, rich provisioning may download the official Neovim release tarball for Linux/macOS and verifies the release sha256 before activating it. It does not write `~/.config/nvim`.
463
- The managed profile defaults to ASCII icons so terminals without Nerd Font support do not show unreadable boxes. To opt back into LazyVim glyph icons, launch the rich workbench with `CCB_LAZYVIM_ICON_STYLE=glyph ccb rich`.
464
- Use `ccb tools doctor workbench --profile rich` to verify the installed rich bundle. `ccb rich` launches only an already installed and enabled rich bundle; run `ccb update rich` first if the bundle is missing or disabled.
464
+ `ccb update rich` prepares the optional workbench bundle under CCB-owned XDG paths, downloads and validates bundled binaries where available, and uses the platform package manager only for required rich dependencies such as WezTerm, Markdown/PDF/image/video helpers, and recommended fonts. Under WSL, CCB can launch Windows-native `wezterm.exe` while running the rich tools inside the current Linux distro. Normal `ccb update` keeps this bundle untouched; rerun `ccb update rich` to install, repair, or refresh it. Run `ccb uninstall rich` to remove the bundle and return plain `ccb` to normal terminal startup. Set `CCB_RICH_DOWNLOAD_BINARIES=0` to skip bundled binary downloads, or `CCB_RICH_INSTALL_DEPS=0` to skip system package installation.
465
465
 
466
466
  #### Per-agent model, API key, or base URL
467
467
 
@@ -641,6 +641,23 @@ v7 highlights:
641
641
  - Hardened tmux, Ghostty, release helper, Codex trust, and provider session restore paths.
642
642
 
643
643
  <details open>
644
+ <summary><b>v7.6.2</b> - Rich Workbench Hotfix</summary>
645
+
646
+ - Allows `rich` in `.ccb/ccb.config` as a tool/layout alias without requiring
647
+ a provider runtime; it materializes as a managed tool pane/window and is not
648
+ an `ask` target.
649
+ - After `ccb update rich` enables the bundle, plain `ccb` can use the rich
650
+ launcher outside an existing rich/WezTerm session while avoiding recursive
651
+ WezTerm launches.
652
+ - Adds `ccb uninstall rich`, `ccb rich uninstall`, and `ccb rich disable` for
653
+ returning to normal CCB startup without changing full `ccb uninstall`
654
+ behavior.
655
+ - Rich updates clean only CCB-owned legacy editor roots and links, leaving
656
+ user-owned editor installs and personal config untouched.
657
+
658
+ </details>
659
+
660
+ <details>
644
661
  <summary><b>v7.6.1</b> - Rich Workbench Binary Packaging</summary>
645
662
 
646
663
  - `ccb update rich` now bundles verified Yazi/ya binaries where possible before
@@ -1024,7 +1041,7 @@ v7 highlights:
1024
1041
  - Adds the Role Pack surface with the built-in `ccb.archi` architecture role, role memory, Codex/Claude skill projection, and project role locks.
1025
1042
  - Makes `ccb roles add ccb.archi:codex` the primary role onboarding command; config stores the shorthand while runtime resolves it to the local `archi` agent.
1026
1043
  - Makes `ccb roles install/update ccb.archi` refresh role assets and dependencies by default; install/update prompts interactive users and gives non-interactive users the follow-up command.
1027
- - Adds managed tool windows such as `[tool_windows.neovim]`, plus `ccb tools install/doctor neovim`, sidebar rows, and safe reload add/remove behavior for non-agent tools.
1044
+ - Adds managed tool windows, sidebar rows, and safe reload add/remove behavior for non-agent tools.
1028
1045
  - Includes the new `agy` / Google Antigravity provider support from `main`.
1029
1046
 
1030
1047
  </details>
package/README_zh.md CHANGED
@@ -6,7 +6,7 @@
6
6
  **可见、可控的多 Agent 合作TUI工作台**
7
7
 
8
8
  <p>
9
- <img src="https://img.shields.io/badge/version-7.6.1-orange.svg" alt="version">
9
+ <img src="https://img.shields.io/badge/version-7.6.2-orange.svg" alt="version">
10
10
  <img src="https://img.shields.io/badge/platform-Linux%20%7C%20macOS%20%7C%20WSL-lightgrey.svg" alt="platform">
11
11
  <img src="https://img.shields.io/badge/providers-14%20CLI%20families-0B7285.svg" alt="providers">
12
12
  </p>
@@ -89,6 +89,8 @@ ccb update
89
89
  ccb update rich
90
90
  ```
91
91
 
92
+ rich 启用后,普通 `ccb` 会在需要时自动打开 rich WezTerm launcher;运行 `ccb uninstall rich` 可退回普通终端启动。
93
+
92
94
  <details>
93
95
  <summary><b>GitHub release 包和源码安装兜底</b></summary>
94
96
 
@@ -181,7 +183,7 @@ ccb
181
183
 
182
184
  ### Rich 模式(NEW!)
183
185
 
184
- 运行 `ccb update rich` 安装可选富媒体工作台;它会尽量封装 Yazi 等二进制,并用 WezTerm 承载富媒体终端界面,再通过 `ccb rich` 打开 WezTerm + Yazi + LazyVim,支持 Markdown 渲染和图片/PDF/视频预览。
186
+ 运行 `ccb update rich` 安装可选富媒体工作台;它会尽量封装 Yazi 等二进制,并用 WezTerm 承载富媒体终端界面,提供 Markdown 渲染和图片/PDF/视频预览。安装后,普通 `ccb` WezTerm 外会自动打开 rich launcher;`ccb rich` 仍可作为显式启动入口。
185
187
 
186
188
  <p align="center">
187
189
  <img src="assets/readme_v7/rich-workbench.png" alt="CCB rich 富媒体工作台在 WezTerm 中使用 Yazi 预览 PDF" width="860">
@@ -269,6 +271,9 @@ CCB 也支持复杂工作流,但它不是自动生成 DAG 的 harness;复杂
269
271
  | 停止当前项目后台 | `ccb kill` |
270
272
  | 强制清理当前项目残留后再重建 | `ccb kill -f` 后接 `ccb -n` |
271
273
  | 更新到最新稳定 release | `ccb update` |
274
+ | 安装或刷新可选 rich 富媒体工作台 | `ccb update rich` |
275
+ | 移除 rich 模式并退回普通启动 | `ccb uninstall rich` |
276
+ | 打开 rich 富媒体工作台 | `ccb rich` |
272
277
  | 查看当前使用的配置层 | `ccb config validate` |
273
278
  | 预览配置热加载计划,不修改 tmux | `ccb reload --dry-run` |
274
279
  | 应用支持的配置变更,不重启其他 agent | `ccb reload` |
@@ -324,7 +329,7 @@ CCB 配置有三层,优先级从低到高:
324
329
  3. 项目配置 `.ccb/ccb.config`。
325
330
 
326
331
  更高层会整体替换低层,不做局部合并。当前项目的权威配置文件是 `.ccb/ccb.config`;旧路径 `.ccb_config/ccb.config` 只应作为迁移参考。
327
- 内置默认配置是 v2 `[windows]` 拓扑,包含 `agent1`、`agent2`、`agent3` 和 `ccb_self`。默认 `ccb_self` 使用 `codex` 并绑定 `agentroles.ccb_self`。
332
+ 内置默认配置是 v2 `[windows]` 拓扑,包含 `agent1`、`agent2`、`agent3` 和 `ccb_self`。可选 rich 富媒体工作台通过 `ccb update rich` 安装;启用后普通 `ccb` 会走 rich launcher,运行 `ccb uninstall rich` 后退回普通终端启动。默认 `ccb_self` 使用 `codex` 并绑定 `agentroles.ccb_self`。
328
333
 
329
334
  `.ccb/ccb.config` 主要配置这些内容:
330
335
 
@@ -334,7 +339,7 @@ CCB 配置有三层,优先级从低到高:
334
339
  | agent 名称和 provider | `main:codex`、`reviewer:claude` | 名称用于界面、ask 路由和记忆文件;provider 决定启动哪家 CLI。 |
335
340
  | 工作区隔离 | `worker1:codex(worktree)` | 给实现类 agent 独立 git worktree,降低互相覆盖的风险。 |
336
341
  | sidebar 行为 | `[ui.sidebar]` | 控制 sidebar 是否每个 window 都显示、宽度和 Comms 高度。 |
337
- | 工具 window | `[tool_windows.<name>]` | 添加 Neovim 这类非 agent 托管 window;sidebar 只显示一行,不是 `ask` 目标。 |
342
+ | 工具 window | `[tool_windows.<name>]` | 添加 rich 富媒体工作台这类非 agent 托管 window;sidebar 只显示一行,不是 `ask` 目标。 |
338
343
  | 单 agent 模型/API | `[agents.<name>]` | 可为不同 agent 配 `model`、`key`、`url` 等。 |
339
344
  | Role Pack 绑定 | `agentroles.archi:codex` | 通过 window leaf 绑定可复用角色包;role 资产统一安装,再投影到解析出的 agent。 |
340
345
  | 角色说明 | `[agents.<name>] description = "..."` | 给 agent 一个简短职责说明;更长的工作流规则建议写到 memory。 |
@@ -431,7 +436,7 @@ comms_limit = 3
431
436
 
432
437
  注意:`cmd` 只属于紧凑/混合单窗口布局;`[windows]` 拓扑里不要写 `cmd`。
433
438
 
434
- #### 托管 Neovim 工具 window
439
+ #### Rich 富媒体工作台工具 window
435
440
 
436
441
  工具 window 是 CCB 管理的 tmux window,但不是 agent。它不会出现在 `ccb ask` 目标中,也不会创建 provider runtime 记录。
437
442
 
@@ -442,17 +447,12 @@ entry_window = "main"
442
447
  [windows]
443
448
  main = "main:codex"
444
449
 
445
- [tool_windows.neovim]
446
- command = "ccb-nvim"
447
- label = "neovim"
450
+ [tool_windows.rich]
451
+ command = "CCB_WORKBENCH_PROFILE=rich CCB_WORKBENCH_FORCE_RICH=1 ccb-workbench files"
452
+ label = "rich"
448
453
  ```
449
454
 
450
- `ccb update rich` 会在 CCB 自己的 XDG 目录下准备可选工作台包,优先下载并验证可封装的二进制,只把 WezTerm、Markdown/PDF/图片/视频辅助工具和推荐字体等必要依赖交给平台包管理器。WSL 下可以调用 Windows 原生 `wezterm.exe`,同时让 rich 工具继续运行在当前 Linux 发行版内。普通 `ccb update` 不会主动安装或刷新该包;需要安装、修复或更新时重新运行 `ccb update rich`,然后使用 `ccb rich` 或上面的工具 window 挂载方式启动。设置 `CCB_RICH_DOWNLOAD_BINARIES=0` 可跳过二进制下载,设置 `CCB_RICH_INSTALL_DEPS=0` 可跳过系统包安装。
451
-
452
- Rich workbench 工具(包括托管 Neovim profile)现在通过 `ccb update rich` 显式安装和更新。普通 `install.sh install`、`ccb update` 和 `ccb tools ... neovim` 不再 provision standalone Neovim;公开 Neovim 工具路由会提示使用 `ccb update rich`。
453
- 如果 `PATH` 里没有 `nvim`,rich provisioning 可能下载 Linux/macOS 官方 Neovim release tarball,并校验 release sha256 后再启用;不会写入 `~/.config/nvim`。
454
- 托管 profile 默认使用 ASCII 图标,避免没有 Nerd Font 的终端出现方块/乱码。确认终端字体支持 Nerd Font 时,可用 `CCB_LAZYVIM_ICON_STYLE=glyph ccb rich` 恢复 LazyVim 图标。
455
- 用 `ccb tools doctor workbench --profile rich` 验证已安装的 rich bundle。`ccb rich` 只启动已经安装并启用的 rich bundle;如果 bundle 缺失或禁用,请先运行 `ccb update rich`。
455
+ `ccb update rich` 会在 CCB 自己的 XDG 目录下准备可选工作台包,优先下载并验证可封装的二进制,只把 WezTerm、Markdown/PDF/图片/视频辅助工具和推荐字体等必要依赖交给平台包管理器。WSL 下可以调用 Windows 原生 `wezterm.exe`,同时让 rich 工具继续运行在当前 Linux 发行版内。普通 `ccb update` 不会主动安装或刷新该包;需要安装、修复或更新时重新运行 `ccb update rich`。运行 `ccb uninstall rich` 会移除该包,并让普通 `ccb` 回到常规终端启动。设置 `CCB_RICH_DOWNLOAD_BINARIES=0` 可跳过二进制下载,设置 `CCB_RICH_INSTALL_DEPS=0` 可跳过系统包安装。
456
456
 
457
457
  #### 给 agent 单独配置模型、API key 或 base URL
458
458
 
@@ -630,6 +630,21 @@ v7 线重点:
630
630
  - 加固 tmux、Ghostty、release helper、Codex trust 和 provider 会话恢复路径。
631
631
 
632
632
  <details open>
633
+ <summary><b>v7.6.2</b> - Rich Workbench 热修复</summary>
634
+
635
+ - `.ccb/ccb.config` 现在可以把 `rich` 当作工具/layout alias 使用,不需要
636
+ provider runtime;它会 materialize 成托管工具 pane/window,不会成为 `ask`
637
+ 目标。
638
+ - `ccb update rich` 启用 bundle 后,普通 `ccb` 在既有 rich/WezTerm 会话外可
639
+ 自动走 rich launcher,同时避免递归重复拉起 WezTerm。
640
+ - 新增 `ccb uninstall rich`、`ccb rich uninstall` 和 `ccb rich disable`,
641
+ 可回到普通 CCB 启动;完整 `ccb uninstall` 语义保持不变。
642
+ - rich 更新只清理 CCB-owned legacy editor roots 和链接,不会碰用户自己的
643
+ editor 安装和个人配置。
644
+
645
+ </details>
646
+
647
+ <details>
633
648
  <summary><b>v7.6.1</b> - Rich Workbench 二进制封装</summary>
634
649
 
635
650
  - `ccb update rich` 会优先封装并验证 Yazi/ya 二进制,再让包管理器兜底。
@@ -992,7 +1007,7 @@ v7 线重点:
992
1007
  - 新增 Role Pack 体验面,内置 `ccb.archi` 架构师 role,包含 role memory、Codex/Claude skill 投影和项目 role lock。
993
1008
  - `ccb roles add ccb.archi:codex` 成为主要接入命令;config 保留 shorthand,运行时解析为本地 agent `archi`。
994
1009
  - `ccb roles install/update ccb.archi` 默认刷新 role 资产和依赖;安装/更新时交互提示,非交互场景会给出后续运行命令。
995
- - 新增 `[tool_windows.neovim]` 这类托管工具 window,以及 `ccb tools install/doctor neovim`、sidebar 行和安全的 reload add/remove 行为。
1010
+ - 新增托管工具 windowsidebar 行和安全的 reload add/remove 行为。
996
1011
  - 包含 main 上已合入的 `agy` / Google Antigravity provider 支持。
997
1012
 
998
1013
  </details>
package/VERSION CHANGED
@@ -1 +1 @@
1
- 7.6.1
1
+ 7.6.2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seemseam/ccb",
3
- "version": "7.6.1",
3
+ "version": "7.6.2",
4
4
  "description": "Visible, controllable multi-agent CLI workspace for Codex, Claude, Gemini, Kimi, MiMo, Qwen, Cursor, Copilot, Crush, Kiro, Pi, OpenCode, Antigravity, and Droid.",
5
5
  "license": "AGPL-3.0-only",
6
6
  "homepage": "https://github.com/SeemSeam/claude_codex_bridge#readme",