@seemseam/ccb 7.4.4 → 7.5.0
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 +83 -44
- package/README_zh.md +85 -46
- package/VERSION +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# CCB
|
|
4
4
|
|
|
5
|
-
**
|
|
5
|
+
**Designed around agent parity**
|
|
6
|
+
**Visible, controllable multi-agent cooperative TUI workspace**
|
|
6
7
|
|
|
7
8
|
<p>
|
|
8
|
-
<img src="https://img.shields.io/badge/version-7.
|
|
9
|
+
<img src="https://img.shields.io/badge/version-7.5.0-orange.svg" alt="version">
|
|
9
10
|
<img src="https://img.shields.io/badge/platform-Linux%20%7C%20macOS%20%7C%20WSL-lightgrey.svg" alt="platform">
|
|
10
|
-
<img src="https://img.shields.io/badge/providers-
|
|
11
|
+
<img src="https://img.shields.io/badge/providers-7%20CLI%20families-0B7285.svg" alt="providers">
|
|
11
12
|
</p>
|
|
12
13
|
|
|
13
14
|
**English** | [中文](README_zh.md)
|
|
@@ -22,13 +23,27 @@
|
|
|
22
23
|
|
|
23
24
|
---
|
|
24
25
|
|
|
25
|
-
##
|
|
26
|
+
## Why CCB?
|
|
26
27
|
|
|
27
28
|
| See the work | Mix providers | Keep control |
|
|
28
29
|
| :--- | :--- | :--- |
|
|
29
|
-
| Every agent is a real terminal
|
|
30
|
+
| Every agent is a real terminal with layout control. | Run multiple CLIs concurrently from one command. | Stable background communication for multi-line task orchestration. |
|
|
30
31
|
|
|
31
|
-
|
|
32
|
+
## Supported CLIs
|
|
33
|
+
|
|
34
|
+
<p>
|
|
35
|
+
<img src="https://img.shields.io/badge/Codex-111111?style=flat-square&logo=openai&logoColor=white" alt="Codex">
|
|
36
|
+
<img src="https://img.shields.io/badge/Claude-D97757?style=flat-square&logo=anthropic&logoColor=white" alt="Claude">
|
|
37
|
+
<img src="https://img.shields.io/badge/Gemini-4285F4?style=flat-square&logo=googlegemini&logoColor=white" alt="Gemini">
|
|
38
|
+
<img src="https://img.shields.io/badge/OpenCode-111111?style=flat-square" alt="OpenCode">
|
|
39
|
+
<img src="https://img.shields.io/badge/Antigravity-6D5EF6?style=flat-square&logo=google&logoColor=white" alt="Antigravity">
|
|
40
|
+
<img src="https://img.shields.io/badge/Droid-3DDC84?style=flat-square&logo=android&logoColor=white" alt="Droid">
|
|
41
|
+
<img src="https://img.shields.io/badge/Kimi-111111?style=flat-square&logo=moonshotai&logoColor=white" alt="Kimi">
|
|
42
|
+
</p>
|
|
43
|
+
|
|
44
|
+
Mix CLIs per agent in `.ccb/ccb.config`. Common provider ids include `codex`, `claude`, `gemini`, `kimi`, `opencode`, `agy`, and `droid`; actual availability depends on the local CLI installation and account access.
|
|
45
|
+
|
|
46
|
+
**New role specification**: package skills, memory, and tool dependencies into self-contained Role Packs, then create hot-loadable and removable specialist agents.
|
|
32
47
|
|
|
33
48
|
## Quick Start
|
|
34
49
|
|
|
@@ -69,6 +84,12 @@ Source installs link global `ccb` / `ask` back to the checkout. Regular users sh
|
|
|
69
84
|
|
|
70
85
|
</details>
|
|
71
86
|
|
|
87
|
+
Out of the box, run `ccb` from your project directory. If startup reports that `.ccb` cannot be created automatically or that the project anchor is missing, create `.ccb` manually:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
mkdir -p .ccb
|
|
91
|
+
```
|
|
92
|
+
|
|
72
93
|
### 2. Create project config
|
|
73
94
|
|
|
74
95
|
Create `.ccb/ccb.config` in your project root. For v7, it is better to understand config from multi-window topology first: `[windows]` defines tmux windows and agent groups, `agent:provider` defines which CLI each agent uses, and `(worktree)` gives an agent its own git worktree.
|
|
@@ -116,28 +137,35 @@ Type directly in an agent pane, or route work between agents:
|
|
|
116
137
|
/ask reviewer review the latest parser changes and list blocking issues.
|
|
117
138
|
```
|
|
118
139
|
|
|
119
|
-
|
|
140
|
+
Agents can also call `/ask` from workflow orchestration to delegate and hand off work automatically.
|
|
120
141
|
|
|
121
|
-
|
|
142
|
+
### v7 UI Tour
|
|
122
143
|
|
|
123
144
|
| Region | Purpose |
|
|
124
145
|
| :--- | :--- |
|
|
125
|
-
| Sidebar | Shows
|
|
126
|
-
|
|
|
127
|
-
|
|
|
128
|
-
|
|
|
129
|
-
| Status bar | Shows project name, current agent, CCB version, date, and mouse/keyboard hints. |
|
|
130
|
-
| Window grouping | v7 `[windows]` can group agents into main, work, review, research, or other workflow windows. |
|
|
146
|
+
| Sidebar | Shows refresh/close CCB controls, windows and agents, internal communication state, and tips that can be edited in config and hot-reloaded. |
|
|
147
|
+
| Mouse control | Click to switch windows, agents, and panes; refresh, kill, or delete communication entries from the communication area. |
|
|
148
|
+
| Workspace | Every pane is a real CLI. Switch by mouse or tmux shortcuts. |
|
|
149
|
+
| Useful shortcuts | `Ctrl-b h/j/k/l` switches adjacent panes; `Ctrl-b z` zooms or restores the current CLI pane. |
|
|
131
150
|
|
|
132
|
-
|
|
151
|
+
### Contact
|
|
133
152
|
|
|
134
|
-
|
|
153
|
+
- Email: `bfly123@126.com`
|
|
154
|
+
- WeChat: `seemseam-com`
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## More Reading
|
|
159
|
+
|
|
160
|
+
Start with Quick Start for first use; the sections below cover CCB's design boundaries, comparisons, daily operations, and configuration model.
|
|
161
|
+
|
|
162
|
+
### What Is CCB?
|
|
135
163
|
|
|
136
164
|
CCB is a project-level agent CLI workspace. It uses tmux to manage multiple real CLI agents and unifies startup, restore, communication, configuration, windows, and runtime state for one project.
|
|
137
165
|
|
|
138
166
|
- **Real CLI sessions, not fake panels**: every agent pane runs the actual provider CLI.
|
|
139
167
|
- **Visible collaboration**: the sidebar shows windows, agents, status, and communication; users can switch panes by mouse.
|
|
140
|
-
- **Mixed providers**: one project can run Codex, Claude, Gemini, OpenCode, Droid,
|
|
168
|
+
- **Mixed providers**: one project can run Codex, Claude, Gemini, OpenCode, Droid, Antigravity (`agy`), and Kimi (`kimi`) together.
|
|
141
169
|
- **Project config**: `.ccb/ccb.config` defines the team, layout, windows, worktrees, model, key, and url.
|
|
142
170
|
- **Built-in CCB expert**: blank projects include `ccb_self`, a self-maintenance agent with deep CCB knowledge for usage guidance, config design, diagnostics, recovery, and workflow repair.
|
|
143
171
|
- **Roles**: a new role packaging model that lets specialized agents carrying
|
|
@@ -148,7 +176,7 @@ CCB is a project-level agent CLI workspace. It uses tmux to manage multiple real
|
|
|
148
176
|
- **Recoverable runtime**: CCB supervises agent panes and supports attach, restore, and project-scoped cleanup.
|
|
149
177
|
- **Explicit collaboration channel**: agents can delegate through `/ask`, `$ask`, callback, and silence routes.
|
|
150
178
|
|
|
151
|
-
|
|
179
|
+
### Why Multi Agents
|
|
152
180
|
|
|
153
181
|
A single agent is enough for small tasks. Once work needs planning, parallel edits, review, testing, and handoff, multi agents help separate roles, context, models, and execution. CCB focuses on putting multiple real CLI agents into one visible terminal workspace.
|
|
154
182
|
|
|
@@ -169,7 +197,7 @@ A single agent is enough for small tasks. Once work needs planning, parallel edi
|
|
|
169
197
|
|
|
170
198
|
</details>
|
|
171
199
|
|
|
172
|
-
|
|
200
|
+
### Which Multi-Agent Approach Should You Use?
|
|
173
201
|
|
|
174
202
|
Multi-agent systems are not one fixed shape. Use the short table first; expand the details only if you are comparing tradeoffs.
|
|
175
203
|
|
|
@@ -177,14 +205,14 @@ Multi-agent systems are not one fixed shape. Use the short table first; expand t
|
|
|
177
205
|
| :--- | :--- | :--- |
|
|
178
206
|
| [Claude Code native subagents](https://code.claude.com/docs/en/sub-agents) / [agent teams](https://code.claude.com/docs/en/agent-teams) | Native delegation inside Claude Code. | You mostly stay in Claude Code and want more coordination handled by a Claude lead. |
|
|
179
207
|
| [Hive / OpenHive](https://github.com/aden-hive/hive) | Production-oriented multi-agent workflow harness. | You need state, recovery, observability, cost controls, and graph workflows. |
|
|
180
|
-
| CCB | Visible, controllable local CLI-agent workspace with mixed providers. | You want Codex, Claude, Gemini, OpenCode, Antigravity, and other real CLIs in one project terminal. |
|
|
208
|
+
| CCB | Visible, controllable local CLI-agent workspace with mixed providers. | You want Codex, Claude, Gemini, Kimi, OpenCode, Antigravity, and other real CLIs in one project terminal. |
|
|
181
209
|
|
|
182
210
|
<details>
|
|
183
211
|
<summary><b>Details: model choice, control, context, and complex workflows</b></summary>
|
|
184
212
|
|
|
185
213
|
| Question | Claude Code native | Hive / OpenHive | CCB |
|
|
186
214
|
| :--- | :--- | :--- | :--- |
|
|
187
|
-
| Different model vendors? | Can choose Claude models for teammates/subagents; overall path is still Claude Code. | LiteLLM route covers many hosted and local providers. | Choose Codex, Claude, Gemini, OpenCode, Droid, Antigravity, and per-agent model/key/url. |
|
|
215
|
+
| Different model vendors? | Can choose Claude models for teammates/subagents; overall path is still Claude Code. | LiteLLM route covers many hosted and local providers. | Choose Codex, Claude, Gemini, Kimi, OpenCode, Droid, Antigravity, and per-agent model/key/url. |
|
|
188
216
|
| Is the process visible? | In-process or split panes depending on mode. | Runtime observability and dashboard-style control. | Real tmux panes by default; users can click, type, copy, and inspect each CLI. |
|
|
189
217
|
| Is topology controllable? | Natural-language teammate setup, with much coordination handled by the lead. | Goal-generated graph-like topology, harness oriented. | Config explicitly defines agents, windows, panes, worktrees, and sidebar behavior. |
|
|
190
218
|
| Is context manageable? | Subagents/teammates have separate contexts; teams have task and message state. | Role memory, durable state, and recovery are core design points. | Each CLI keeps its provider session; shared project memory and per-agent memory are optional. |
|
|
@@ -194,7 +222,7 @@ CCB also supports complex workflows, but it is not an automatic DAG generator. Y
|
|
|
194
222
|
|
|
195
223
|
</details>
|
|
196
224
|
|
|
197
|
-
|
|
225
|
+
### Daily Operation
|
|
198
226
|
|
|
199
227
|
| Goal | Command |
|
|
200
228
|
| :--- | :--- |
|
|
@@ -208,7 +236,7 @@ CCB also supports complex workflows, but it is not an automatic DAG generator. Y
|
|
|
208
236
|
| Preview a config reload plan without changing tmux | `ccb reload --dry-run` |
|
|
209
237
|
| Apply supported config changes without restarting other agents | `ccb reload` |
|
|
210
238
|
|
|
211
|
-
|
|
239
|
+
### tmux Basics
|
|
212
240
|
|
|
213
241
|
CCB can be used mostly with the mouse, but learning a few tmux shortcuts makes daily work much faster. This section lists only common tmux keyboard operations.
|
|
214
242
|
|
|
@@ -253,7 +281,7 @@ New users should avoid pane/window killing shortcuts at first. To stop a CCB pro
|
|
|
253
281
|
|
|
254
282
|
</details>
|
|
255
283
|
|
|
256
|
-
|
|
284
|
+
### Configure Your Agent Team
|
|
257
285
|
|
|
258
286
|
CCB resolves config in three layers, from lowest to highest priority:
|
|
259
287
|
|
|
@@ -281,7 +309,7 @@ After editing `.ccb/ccb.config` in a mounted project, run `ccb reload --dry-run`
|
|
|
281
309
|
|
|
282
310
|
If you want to discuss the configuration before writing it by hand, ask `ccb_self` to describe the target team. Blank projects include this route by default; projects with a user or project config should add `agentroles.ccb_self` if they have overridden the built-in default. Its built-in `ccb-config` skill proposes a complete config first, then writes `.ccb/ccb.config` only after confirmation.
|
|
283
311
|
|
|
284
|
-
|
|
312
|
+
#### Role Packs
|
|
285
313
|
|
|
286
314
|
Role Packs define reusable agent roles. A role can carry a stable identity,
|
|
287
315
|
responsibilities, memory, provider-specific skills, tool hooks, and dependency
|
|
@@ -333,7 +361,7 @@ into that agent's managed provider home.
|
|
|
333
361
|
<details>
|
|
334
362
|
<summary><b>Config format examples: single window, multi-window, per-agent model/API</b></summary>
|
|
335
363
|
|
|
336
|
-
|
|
364
|
+
#### Single-window compact config
|
|
337
365
|
|
|
338
366
|
```text
|
|
339
367
|
cmd; main:codex, worker1:codex(worktree); reviewer:claude
|
|
@@ -347,7 +375,7 @@ Meaning:
|
|
|
347
375
|
- `;` splits left-to-right; `,` stacks top-to-bottom.
|
|
348
376
|
- `(worktree)` means that agent uses an isolated git worktree.
|
|
349
377
|
|
|
350
|
-
|
|
378
|
+
#### Multi-window topology
|
|
351
379
|
|
|
352
380
|
When you want planning, implementation, review, and research in different tmux windows, use `version = 2` and `[windows]`:
|
|
353
381
|
|
|
@@ -374,7 +402,7 @@ comms_limit = 3
|
|
|
374
402
|
|
|
375
403
|
Note: `cmd` belongs to compact/hybrid single-window layouts. Do not put `cmd` inside `[windows]`.
|
|
376
404
|
|
|
377
|
-
|
|
405
|
+
#### Managed Neovim tool window
|
|
378
406
|
|
|
379
407
|
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.
|
|
380
408
|
|
|
@@ -395,7 +423,7 @@ If `nvim` is not already on `PATH`, provisioning attempts to download the offici
|
|
|
395
423
|
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 with `CCB_LAZYVIM_ICON_STYLE=glyph ccb-nvim`.
|
|
396
424
|
Use `ccb tools doctor neovim` to verify the managed profile. A working LazyVim setup reports `neovim_status: ok` and `lazyvim_health_status: ok`; damaged or partially downloaded plugin trees report `degraded` and can be repaired by rerunning `ccb tools install neovim`.
|
|
397
425
|
|
|
398
|
-
|
|
426
|
+
#### Per-agent model, API key, or base URL
|
|
399
427
|
|
|
400
428
|
Use compact format when layout is enough. If some agents need separate models or API routes, keep the compact header and add TOML overlays:
|
|
401
429
|
|
|
@@ -418,7 +446,7 @@ Do not commit real API keys to a public repository. `key` / `url` are agent-loca
|
|
|
418
446
|
|
|
419
447
|
</details>
|
|
420
448
|
|
|
421
|
-
|
|
449
|
+
### Use ccb_self For CCB Config
|
|
422
450
|
|
|
423
451
|
The full `ccb-config` skill belongs to the `agentroles.ccb_self` role. It is not a globally inherited skill for every agent. CCB installs or refreshes this Role Pack by default, and blank projects include `ccb_self` in the built-in default config. Existing projects, or projects with a user/project config that replaces the built-in default, should bind it where they want the maintenance assistant.
|
|
424
452
|
|
|
@@ -448,7 +476,7 @@ By default, `ccb-config` does not edit `.ccb/ccb_memory.md` or `.ccb/agents/<age
|
|
|
448
476
|
|
|
449
477
|
</details>
|
|
450
478
|
|
|
451
|
-
|
|
479
|
+
### Agent Collaboration
|
|
452
480
|
|
|
453
481
|
Normal `ask` is submit-and-return: after handing work to the target agent, the current agent should not poll and wait.
|
|
454
482
|
|
|
@@ -483,7 +511,7 @@ If agent A is handling a user-originated CCB task and needs agent B's result to
|
|
|
483
511
|
|
|
484
512
|
</details>
|
|
485
513
|
|
|
486
|
-
|
|
514
|
+
### Editor Workflow
|
|
487
515
|
|
|
488
516
|
<p align="center">
|
|
489
517
|
<img src="assets/nvim.png" alt="Neovim integration with multi-model code review" width="860">
|
|
@@ -491,19 +519,19 @@ If agent A is handling a user-originated CCB task and needs agent B's result to
|
|
|
491
519
|
|
|
492
520
|
CCB does not require leaving your editor. A common setup is: editor for code, CCB terminal for multi-agent planning, implementation, review, testing, and handoff.
|
|
493
521
|
|
|
494
|
-
|
|
522
|
+
### Install And Update
|
|
495
523
|
|
|
496
|
-
|
|
524
|
+
#### Requirements
|
|
497
525
|
|
|
498
526
|
- Node.js and npm for the recommended npm install path
|
|
499
527
|
- Python 3.10+
|
|
500
528
|
- `tmux`
|
|
501
|
-
- At least one agent CLI you plan to use, such as Codex, Claude, Gemini, OpenCode, Droid, or Antigravity
|
|
529
|
+
- At least one agent CLI you plan to use, such as Codex, Claude, Gemini, Kimi, OpenCode, Droid, or Antigravity
|
|
502
530
|
- Linux, macOS, or WSL
|
|
503
531
|
|
|
504
532
|
Current v7 / newer versions do not claim native Windows support. Native Windows support only applies to the v5 line. If you are on Windows and want current versions, use WSL and keep both `ccb` and agent CLIs inside WSL.
|
|
505
533
|
|
|
506
|
-
|
|
534
|
+
#### npm first
|
|
507
535
|
|
|
508
536
|
For first install, prefer npm:
|
|
509
537
|
|
|
@@ -519,7 +547,7 @@ ccb update
|
|
|
519
547
|
|
|
520
548
|
[GitHub Releases](https://github.com/SeemSeam/claude_codex_bridge/releases) remain available for environments where npm is unavailable. Source checkout install is for development, fix validation, or temporary fallback.
|
|
521
549
|
|
|
522
|
-
|
|
550
|
+
#### Uninstall
|
|
523
551
|
|
|
524
552
|
```bash
|
|
525
553
|
ccb uninstall
|
|
@@ -529,7 +557,7 @@ ccb reinstall
|
|
|
529
557
|
./install.sh uninstall
|
|
530
558
|
```
|
|
531
559
|
|
|
532
|
-
|
|
560
|
+
### FAQ
|
|
533
561
|
|
|
534
562
|
<details>
|
|
535
563
|
<summary><b>The expected agents did not appear</b></summary>
|
|
@@ -559,11 +587,7 @@ Prefer a release package because it carries or handles the sidebar helper. Sourc
|
|
|
559
587
|
|
|
560
588
|
</details>
|
|
561
589
|
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
Email: `bfly123@126.com`
|
|
565
|
-
|
|
566
|
-
WeChat: `seemseam-com`
|
|
590
|
+
### Community And Credits
|
|
567
591
|
|
|
568
592
|
Thanks to the [Linux.do community](https://linux.do) for testing, feedback, and discussion.
|
|
569
593
|
|
|
@@ -573,7 +597,7 @@ Thanks to [tmux-agent-sidebar](https://github.com/hiroppy/tmux-agent-sidebar) fo
|
|
|
573
597
|
<img src="assets/weixin.jpg" alt="WeChat group" width="300">
|
|
574
598
|
</div>
|
|
575
599
|
|
|
576
|
-
|
|
600
|
+
### Release Notes
|
|
577
601
|
|
|
578
602
|
v7 highlights:
|
|
579
603
|
|
|
@@ -585,6 +609,21 @@ v7 highlights:
|
|
|
585
609
|
- Hardened tmux, Ghostty, release helper, Codex trust, and provider session restore paths.
|
|
586
610
|
|
|
587
611
|
<details open>
|
|
612
|
+
<summary><b>v7.5.0</b> - Native CLI Providers And Homepage Sync</summary>
|
|
613
|
+
|
|
614
|
+
- Adds managed native CLI provider support for Kimi plus broader native CLI
|
|
615
|
+
runtime groundwork, including runtime specs, session bindings, command
|
|
616
|
+
overrides, and cleanup coverage.
|
|
617
|
+
- Moves Kimi and Antigravity completion detection toward provider-owned
|
|
618
|
+
session or transcript evidence instead of requiring model-printed `CCB_DONE`.
|
|
619
|
+
- Uses Kimi's current `--auto-approve` flag for CCB auto-permission while
|
|
620
|
+
recognizing legacy/alias flags such as `--auto`, `--yes`, `-y`, and `--yolo`.
|
|
621
|
+
- Synchronizes the English and Chinese README homepages with refreshed hero
|
|
622
|
+
assets and the seven public CLI-family positioning.
|
|
623
|
+
|
|
624
|
+
</details>
|
|
625
|
+
|
|
626
|
+
<details>
|
|
588
627
|
<summary><b>v7.4.4</b> - Claude End-Turn And npm Release Surface</summary>
|
|
589
628
|
|
|
590
629
|
- Completes Claude pane-backed asks promptly when a primary assistant response
|
package/README_zh.md
CHANGED
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# CCB
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
**基于agent平权思想设计**
|
|
6
|
+
**可见、可控的多 Agent 合作TUI工作台**
|
|
6
7
|
|
|
7
8
|
<p>
|
|
8
|
-
<img src="https://img.shields.io/badge/version-7.
|
|
9
|
+
<img src="https://img.shields.io/badge/version-7.5.0-orange.svg" alt="version">
|
|
9
10
|
<img src="https://img.shields.io/badge/platform-Linux%20%7C%20macOS%20%7C%20WSL-lightgrey.svg" alt="platform">
|
|
10
|
-
<img src="https://img.shields.io/badge/providers-
|
|
11
|
+
<img src="https://img.shields.io/badge/providers-7%20CLI%20families-0B7285.svg" alt="providers">
|
|
11
12
|
</p>
|
|
12
13
|
|
|
13
14
|
**中文** | [English](README.md)
|
|
@@ -22,13 +23,27 @@
|
|
|
22
23
|
|
|
23
24
|
---
|
|
24
25
|
|
|
25
|
-
##
|
|
26
|
+
## 为什么用 CCB?
|
|
26
27
|
|
|
27
28
|
| 看得见 | 混合 provider | 项目级控制 |
|
|
28
29
|
| :--- | :--- | :--- |
|
|
29
|
-
| 每个 agent
|
|
30
|
+
| 每个 agent 都是真实终端,支持界面排布设计。 | 一个命令同时并发运行多 CLI。 | 稳定后台通信,支持多线并发任务编排。 |
|
|
30
31
|
|
|
31
|
-
|
|
32
|
+
## 支持的 CLI
|
|
33
|
+
|
|
34
|
+
<p>
|
|
35
|
+
<img src="https://img.shields.io/badge/Codex-111111?style=flat-square&logo=openai&logoColor=white" alt="Codex">
|
|
36
|
+
<img src="https://img.shields.io/badge/Claude-D97757?style=flat-square&logo=anthropic&logoColor=white" alt="Claude">
|
|
37
|
+
<img src="https://img.shields.io/badge/Gemini-4285F4?style=flat-square&logo=googlegemini&logoColor=white" alt="Gemini">
|
|
38
|
+
<img src="https://img.shields.io/badge/OpenCode-111111?style=flat-square" alt="OpenCode">
|
|
39
|
+
<img src="https://img.shields.io/badge/Antigravity-6D5EF6?style=flat-square&logo=google&logoColor=white" alt="Antigravity">
|
|
40
|
+
<img src="https://img.shields.io/badge/Droid-3DDC84?style=flat-square&logo=android&logoColor=white" alt="Droid">
|
|
41
|
+
<img src="https://img.shields.io/badge/Kimi-111111?style=flat-square&logo=moonshotai&logoColor=white" alt="Kimi">
|
|
42
|
+
</p>
|
|
43
|
+
|
|
44
|
+
可在 `.ccb/ccb.config` 中按 agent 混用不同 CLI。常用 provider id 包括 `codex`、`claude`、`gemini`、`kimi`、`opencode`、`agy`、`droid`;实际可用性取决于本机 CLI 安装和账号权限。
|
|
45
|
+
|
|
46
|
+
**全新角色规范**:可把 skills、记忆和工具依赖封装进自封闭 Role Pack,快速生成可热加载、可卸载的专业 agent。
|
|
32
47
|
|
|
33
48
|
## 快速开始
|
|
34
49
|
|
|
@@ -69,6 +84,13 @@ cd claude_codex_bridge
|
|
|
69
84
|
|
|
70
85
|
</details>
|
|
71
86
|
|
|
87
|
+
开箱即用:在项目目录执行 `ccb` 即可使用。
|
|
88
|
+
如果启动时提示无法自动创建 `.ccb` 或找不到项目锚点,需要手动创建 `.ccb` 作为项目锚点:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
mkdir -p .ccb
|
|
92
|
+
```
|
|
93
|
+
|
|
72
94
|
### 2. 创建项目配置
|
|
73
95
|
|
|
74
96
|
在项目根目录创建 `.ccb/ccb.config`。v7 推荐直接从多 window 拓扑理解配置:`[windows]` 定义窗口和 agent 分组,`agent:provider` 定义每个 agent 使用哪家 CLI,`(worktree)` 表示该 agent 使用独立 git worktree。
|
|
@@ -94,7 +116,7 @@ tips_height = "35%"
|
|
|
94
116
|
comms_limit = 3
|
|
95
117
|
```
|
|
96
118
|
|
|
97
|
-
如果你不确定应该如何分组、要几个 worker、哪些 agent 用 worktree、哪些 agent 需要独立模型或 API
|
|
119
|
+
如果你不确定应该如何分组、要几个 worker、哪些 agent 用 worktree、哪些 agent 需要独立模型或 API,可以直接问当前工作台里的 `ccb_self`。它是 CCB 内置的 self-agent,理解 CCB 命令、配置权威层、roles、windows、reload 边界和常见恢复路径,并能用私有 `ccb-config` skill 和你讨论后生成配置方案。空白项目默认包含 `ccb_self`。
|
|
98
120
|
|
|
99
121
|
验证配置:
|
|
100
122
|
|
|
@@ -116,28 +138,35 @@ ccb
|
|
|
116
138
|
/ask reviewer review the latest parser changes and list blocking issues.
|
|
117
139
|
```
|
|
118
140
|
|
|
119
|
-
|
|
141
|
+
也可以在工作编排中让 agent 自动调用 `/ask` 完成委派和交接。
|
|
120
142
|
|
|
121
|
-
|
|
143
|
+
### v7 界面速览
|
|
122
144
|
|
|
123
|
-
| 区域 |
|
|
145
|
+
| 区域 | 说明 |
|
|
124
146
|
| :--- | :--- |
|
|
125
|
-
| Sidebar |
|
|
126
|
-
|
|
|
127
|
-
|
|
|
128
|
-
|
|
|
129
|
-
| 状态栏 | 显示项目名、当前 agent、CCB 版本、日期和常用鼠标/键盘提示。 |
|
|
130
|
-
| Window 分组 | v7 可用 `[windows]` 把 agent 按 main、work、review、research 等窗口分组。 |
|
|
147
|
+
| Sidebar | 显示刷新/关闭 CCB 控件、window 和 agent 列表、内部通信状态,以及可在配置文件中修改并热加载的 tips。 |
|
|
148
|
+
| 鼠标操作 | 支持点击切换 window、agent 和 pane,也可在通信区刷新、kill 或删除条目。 |
|
|
149
|
+
| 工作区 | 每个 pane 都是真实 CLI;可以鼠标点击切换,也可以用 tmux 快捷键切换。 |
|
|
150
|
+
| 常用技巧 | `Ctrl-b h/j/k/l` 切换相邻 pane,`Ctrl-b z` 放大或还原当前 CLI pane。 |
|
|
131
151
|
|
|
132
|
-
|
|
152
|
+
### 联系方式
|
|
133
153
|
|
|
134
|
-
|
|
154
|
+
- Email: `bfly123@126.com`
|
|
155
|
+
- 微信: `seemseam-com`
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## 更多阅读
|
|
160
|
+
|
|
161
|
+
初次使用可以先从快速开始进入;下面内容补充 CCB 的设计边界、方案对比、日常操作和配置方式。
|
|
162
|
+
|
|
163
|
+
### CCB 是什么
|
|
135
164
|
|
|
136
165
|
CCB 是一个项目级 agent CLI 工作台。它用 tmux 管理多个真实 CLI agent,把启动、恢复、通信、配置、窗口和运行态聚合在一个项目里。
|
|
137
166
|
|
|
138
167
|
- **真实 CLI,不是模拟面板**:每个 agent pane 都运行对应 provider 的真实 CLI。
|
|
139
168
|
- **可见协作**:sidebar 展示窗口、agent 状态和通信区;用户可以用鼠标直接切 pane。
|
|
140
|
-
- **混合 provider**:一个项目里可以同时跑 Codex、Claude、Gemini、OpenCode、Droid
|
|
169
|
+
- **混合 provider**:一个项目里可以同时跑 Codex、Claude、Gemini、OpenCode、Droid、Antigravity(`agy`)和 Kimi(`kimi`)。
|
|
141
170
|
- **项目级配置**:`.ccb/ccb.config` 决定团队、布局、窗口、worktree、model、key、url。
|
|
142
171
|
- **内置 CCB 专家**:空白项目默认包含 `ccb_self`,它是具备 CCB 自理解能力的自维护 agent,可帮助使用 CCB、设计配置、诊断运行态、恢复工作流。
|
|
143
172
|
- **Roles**:全新的角色封装概念;它让携带“重武器”(独立 skills、记忆和
|
|
@@ -146,7 +175,7 @@ CCB 是一个项目级 agent CLI 工作台。它用 tmux 管理多个真实 CLI
|
|
|
146
175
|
- **可恢复运行态**:CCB 后台守护 agent pane,支持 attach、恢复和项目级清理。
|
|
147
176
|
- **显式协作通道**:agent 可以通过 `/ask`、`$ask`、callback 和 silence 进行委派与交接。
|
|
148
177
|
|
|
149
|
-
|
|
178
|
+
### 为什么需要多 agents
|
|
150
179
|
|
|
151
180
|
小任务用单 agent 就够了;一旦任务需要规划、并行实现、审查、测试和交接,多 agents 的价值就变成:把角色、上下文、模型和执行过程拆开管理。CCB 的重点是把多个真实 CLI agent 放进同一个可见终端工作台。
|
|
152
181
|
|
|
@@ -167,7 +196,7 @@ CCB 是一个项目级 agent CLI 工作台。它用 tmux 管理多个真实 CLI
|
|
|
167
196
|
|
|
168
197
|
</details>
|
|
169
198
|
|
|
170
|
-
|
|
199
|
+
### 多 agents 方案怎么选
|
|
171
200
|
|
|
172
201
|
多 agents 不是一种固定形态。先用下面这张表判断大方向,细节可以展开看。
|
|
173
202
|
|
|
@@ -175,14 +204,14 @@ CCB 是一个项目级 agent CLI 工作台。它用 tmux 管理多个真实 CLI
|
|
|
175
204
|
| :--- | :--- | :--- |
|
|
176
205
|
| [Claude Code 原生 subagents](https://code.claude.com/docs/en/sub-agents) / [agent teams](https://code.claude.com/docs/en/agent-teams) | Claude Code 内部的原生分工。 | 你主要留在 Claude Code,并接受更多协调由 Claude lead 处理。 |
|
|
177
206
|
| [Hive / OpenHive](https://github.com/aden-hive/hive) | 面向生产工作流的多 agent harness。 | 你要状态、恢复、观测、成本控制和图式工作流。 |
|
|
178
|
-
| CCB | 可见、可控、混合 provider 的本地 CLI agent 工作台。 | 你要把 Codex、Claude、Gemini、OpenCode、Antigravity 等真实 CLI 放到一个项目终端里操作。 |
|
|
207
|
+
| CCB | 可见、可控、混合 provider 的本地 CLI agent 工作台。 | 你要把 Codex、Claude、Gemini、Kimi、OpenCode、Antigravity 等真实 CLI 放到一个项目终端里操作。 |
|
|
179
208
|
|
|
180
209
|
<details>
|
|
181
210
|
<summary><b>展开:模型、可控性、上下文和复杂工作流怎么区别?</b></summary>
|
|
182
211
|
|
|
183
212
|
| 关键问题 | Claude Code 原生 | Hive / OpenHive | CCB |
|
|
184
213
|
| :--- | :--- | :--- | :--- |
|
|
185
|
-
| 能否使用不同家的模型 | 可给 teammate / subagent 指定 Claude 模型;整体仍在 Claude Code 体系内。 | 通过 LiteLLM 路线支持大量 hosted / local provider。 | 按 agent 选择 Codex、Claude、Gemini、OpenCode、Droid、Antigravity 等,并可设置独立 model / key / url。 |
|
|
214
|
+
| 能否使用不同家的模型 | 可给 teammate / subagent 指定 Claude 模型;整体仍在 Claude Code 体系内。 | 通过 LiteLLM 路线支持大量 hosted / local provider。 | 按 agent 选择 Codex、Claude、Gemini、Kimi、OpenCode、Droid、Antigravity 等,并可设置独立 model / key / url。 |
|
|
186
215
|
| 过程是否可见 | in-process 或 split panes,取决于模式和终端。 | 强调 runtime observability 和控制台视角。 | 默认就是 tmux 可见 pane,用户能直接点击、输入、复制、观察每个 CLI。 |
|
|
187
216
|
| 拓扑是否可控 | 可自然语言指定队友,但运行时协调较多交给 lead。 | 由目标生成图式拓扑,偏 harness。 | 配置文件显式定义 agent、窗口、pane、worktree 和 sidebar。 |
|
|
188
217
|
| 上下文是否可管理 | subagent / teammate 有独立上下文;team 有任务和消息状态。 | 角色记忆、状态持久化、恢复能力是核心卖点。 | 每个 CLI 保留自己的 provider 会话;项目共享记忆和 per-agent 记忆可选。 |
|
|
@@ -192,7 +221,7 @@ CCB 也支持复杂工作流,但它不是自动生成 DAG 的 harness;复杂
|
|
|
192
221
|
|
|
193
222
|
</details>
|
|
194
223
|
|
|
195
|
-
|
|
224
|
+
### 日常操作
|
|
196
225
|
|
|
197
226
|
| 目标 | 命令 |
|
|
198
227
|
| :--- | :--- |
|
|
@@ -206,7 +235,7 @@ CCB 也支持复杂工作流,但它不是自动生成 DAG 的 harness;复杂
|
|
|
206
235
|
| 预览配置热加载计划,不修改 tmux | `ccb reload --dry-run` |
|
|
207
236
|
| 应用支持的配置变更,不重启其他 agent | `ccb reload` |
|
|
208
237
|
|
|
209
|
-
|
|
238
|
+
### tmux 常规操作
|
|
210
239
|
|
|
211
240
|
CCB 虽然基本全部可以使用鼠标操作,但是学会 tmux 命令可以显著增加便利性。下面列举了部分常用的键盘操作快捷键。
|
|
212
241
|
|
|
@@ -248,7 +277,7 @@ CCB 虽然基本全部可以使用鼠标操作,但是学会 tmux 命令可以
|
|
|
248
277
|
|
|
249
278
|
</details>
|
|
250
279
|
|
|
251
|
-
|
|
280
|
+
### 配置 agent 团队
|
|
252
281
|
|
|
253
282
|
CCB 配置有三层,优先级从低到高:
|
|
254
283
|
|
|
@@ -276,7 +305,7 @@ CCB 配置有三层,优先级从低到高:
|
|
|
276
305
|
|
|
277
306
|
如果你想先讨论配置而不是手写,可以直接让 `ccb_self` 描述目标团队。空白项目默认已经有这个路由;使用用户配置或项目配置覆盖内置默认的项目,如果还没有 `ccb_self`,需要先添加 `agentroles.ccb_self`。它的内置 `ccb-config` skill 会先提出完整方案,确认后再修改 `.ccb/ccb.config`。
|
|
278
307
|
|
|
279
|
-
|
|
308
|
+
#### Role Packs
|
|
280
309
|
|
|
281
310
|
Role Pack 用来定义可复用的 agent 角色。一个 role 可以包含稳定身份、职责、
|
|
282
311
|
记忆、provider-specific skills、工具 hooks 和依赖准备逻辑。这样项目配置会更短,
|
|
@@ -323,7 +352,7 @@ provider home。
|
|
|
323
352
|
<details>
|
|
324
353
|
<summary><b>配置格式示例:单窗口、多 window、per-agent 模型/API</b></summary>
|
|
325
354
|
|
|
326
|
-
|
|
355
|
+
#### 单窗口紧凑配置
|
|
327
356
|
|
|
328
357
|
```text
|
|
329
358
|
cmd; main:codex, worker1:codex(worktree); reviewer:claude
|
|
@@ -337,7 +366,7 @@ cmd; main:codex, worker1:codex(worktree); reviewer:claude
|
|
|
337
366
|
- `;` 表示左右分栏,`,` 表示上下堆叠。
|
|
338
367
|
- `(worktree)` 表示该 agent 使用独立 git worktree。
|
|
339
368
|
|
|
340
|
-
|
|
369
|
+
#### 多 window 拓扑
|
|
341
370
|
|
|
342
371
|
当你想把规划、实现、审查、研究分到不同 tmux window 时,使用 `version = 2` 和 `[windows]`:
|
|
343
372
|
|
|
@@ -364,7 +393,7 @@ comms_limit = 3
|
|
|
364
393
|
|
|
365
394
|
注意:`cmd` 只属于紧凑/混合单窗口布局;`[windows]` 拓扑里不要写 `cmd`。
|
|
366
395
|
|
|
367
|
-
|
|
396
|
+
#### 托管 Neovim 工具 window
|
|
368
397
|
|
|
369
398
|
工具 window 是 CCB 管理的 tmux window,但不是 agent。它不会出现在 `ccb ask` 目标中,也不会创建 provider runtime 记录。
|
|
370
399
|
|
|
@@ -385,7 +414,7 @@ label = "neovim"
|
|
|
385
414
|
托管 profile 默认使用 ASCII 图标,避免没有 Nerd Font 的终端出现方块/乱码。确认终端字体支持 Nerd Font 时,可用 `CCB_LAZYVIM_ICON_STYLE=glyph ccb-nvim` 恢复 LazyVim 图标。
|
|
386
415
|
用 `ccb tools doctor neovim` 验证托管 profile。LazyVim 真正可用时会显示 `neovim_status: ok` 和 `lazyvim_health_status: ok`;插件目录损坏或半下载会显示 `degraded`,重新运行 `ccb tools install neovim` 会尝试修复。
|
|
387
416
|
|
|
388
|
-
|
|
417
|
+
#### 给 agent 单独配置模型、API key 或 base URL
|
|
389
418
|
|
|
390
419
|
如果只需要布局,用紧凑格式即可;如果某些 agent 需要单独模型或 API 路由,在紧凑头后追加 TOML overlay:
|
|
391
420
|
|
|
@@ -408,7 +437,7 @@ model = "sonnet"
|
|
|
408
437
|
|
|
409
438
|
</details>
|
|
410
439
|
|
|
411
|
-
|
|
440
|
+
### 使用 ccb_self 配置 CCB
|
|
412
441
|
|
|
413
442
|
完整的 `ccb-config` skill 属于 `agentroles.ccb_self` 角色,不再作为所有 agent 都继承的公共 skill。CCB 默认会安装或刷新这个 Role Pack,空白项目的内置默认配置也会包含 `ccb_self`。已有项目,或使用用户配置/项目配置替换内置默认的项目,需要维护助手时应显式绑定它。
|
|
414
443
|
|
|
@@ -438,7 +467,7 @@ ccb ask ccb_self "为一个 Python library 设计团队:main 负责任务拆
|
|
|
438
467
|
|
|
439
468
|
</details>
|
|
440
469
|
|
|
441
|
-
|
|
470
|
+
### Agent 之间如何协作
|
|
442
471
|
|
|
443
472
|
普通 `ask` 是提交即返回:把任务交给目标 agent 后,当前 agent 不应该轮询等待。
|
|
444
473
|
|
|
@@ -471,7 +500,7 @@ spill 只是兜底,所以只要精确输入或完整输出重要,就应该
|
|
|
471
500
|
|
|
472
501
|
</details>
|
|
473
502
|
|
|
474
|
-
|
|
503
|
+
### 编辑器工作流
|
|
475
504
|
|
|
476
505
|
<p align="center">
|
|
477
506
|
<img src="assets/nvim.png" alt="Neovim 集成多模型代码审查" width="860">
|
|
@@ -479,19 +508,19 @@ spill 只是兜底,所以只要精确输入或完整输出重要,就应该
|
|
|
479
508
|
|
|
480
509
|
CCB 不要求你离开编辑器。常见方式是:编辑器负责写代码,CCB 终端负责多 agent 规划、实现、审查、测试和交接。
|
|
481
510
|
|
|
482
|
-
|
|
511
|
+
### 安装和更新
|
|
483
512
|
|
|
484
|
-
|
|
513
|
+
#### 环境要求
|
|
485
514
|
|
|
486
515
|
- 推荐 npm 安装路径需要 Node.js 和 npm
|
|
487
516
|
- Python 3.10+
|
|
488
517
|
- `tmux`
|
|
489
|
-
- 至少一个你要使用的 agent CLI,例如 Codex、Claude、Gemini、OpenCode、Droid 或 Antigravity
|
|
518
|
+
- 至少一个你要使用的 agent CLI,例如 Codex、Claude、Gemini、Kimi、OpenCode、Droid 或 Antigravity
|
|
490
519
|
- Linux、macOS 或 WSL
|
|
491
520
|
|
|
492
521
|
当前 v7 / 新版本不声明原生 Windows 支持。原生 Windows 只支持到 v5 线;如果你在 Windows 上使用新版本,推荐使用 WSL,并让 `ccb` 与 agent CLI 都运行在 WSL 内。
|
|
493
522
|
|
|
494
|
-
|
|
523
|
+
#### npm 优先
|
|
495
524
|
|
|
496
525
|
首次安装推荐使用 npm:
|
|
497
526
|
|
|
@@ -507,7 +536,7 @@ ccb update
|
|
|
507
536
|
|
|
508
537
|
[GitHub Releases](https://github.com/SeemSeam/claude_codex_bridge/releases) 仍作为不方便使用 npm 时的备选路径。源码 checkout 安装只适合开发、验证修复或临时兜底。
|
|
509
538
|
|
|
510
|
-
|
|
539
|
+
#### 卸载
|
|
511
540
|
|
|
512
541
|
```bash
|
|
513
542
|
ccb uninstall
|
|
@@ -517,7 +546,7 @@ ccb reinstall
|
|
|
517
546
|
./install.sh uninstall
|
|
518
547
|
```
|
|
519
548
|
|
|
520
|
-
|
|
549
|
+
### 常见问题
|
|
521
550
|
|
|
522
551
|
<details>
|
|
523
552
|
<summary><b>启动后没有看到预期 agent</b></summary>
|
|
@@ -547,11 +576,7 @@ ccb reinstall
|
|
|
547
576
|
|
|
548
577
|
</details>
|
|
549
578
|
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
📧 Email: `bfly123@126.com`
|
|
553
|
-
|
|
554
|
-
💬 微信: `seemseam-com`
|
|
579
|
+
### 社区和致谢
|
|
555
580
|
|
|
556
581
|
感谢 [Linux.do 社区](https://linux.do) 在测试、反馈和讨论中的支持。
|
|
557
582
|
|
|
@@ -561,7 +586,7 @@ ccb reinstall
|
|
|
561
586
|
<img src="assets/weixin.jpg" alt="微信群" width="300">
|
|
562
587
|
</div>
|
|
563
588
|
|
|
564
|
-
|
|
589
|
+
### 新版本记录
|
|
565
590
|
|
|
566
591
|
v7 线重点:
|
|
567
592
|
|
|
@@ -573,6 +598,20 @@ v7 线重点:
|
|
|
573
598
|
- 加固 tmux、Ghostty、release helper、Codex trust 和 provider 会话恢复路径。
|
|
574
599
|
|
|
575
600
|
<details open>
|
|
601
|
+
<summary><b>v7.5.0</b> - 原生 CLI Provider 与首页同步</summary>
|
|
602
|
+
|
|
603
|
+
- 新增 Kimi managed native CLI provider 支持,并补齐更通用的 native CLI
|
|
604
|
+
runtime 基础能力,覆盖 runtime spec、session binding、启动命令覆盖和清理路径。
|
|
605
|
+
- Kimi 和 Antigravity 的完成判定改为读取 provider 自有 session 或
|
|
606
|
+
transcript 证据,不再要求模型打印 `CCB_DONE`。
|
|
607
|
+
- CCB auto-permission 对 Kimi 默认注入当前版本支持的 `--auto-approve`,
|
|
608
|
+
同时识别 `--auto`、`--yes`、`-y`、`--yolo` 等旧版或别名标识,避免重复注入。
|
|
609
|
+
- 同步英文和中文 README 首页,刷新 hero assets,并统一为 7 个公开 CLI
|
|
610
|
+
family 的定位。
|
|
611
|
+
|
|
612
|
+
</details>
|
|
613
|
+
|
|
614
|
+
<details>
|
|
576
615
|
<summary><b>v7.4.4</b> - Claude end_turn 与 npm 发布面修复</summary>
|
|
577
616
|
|
|
578
617
|
- Claude pane-backed ask 在 primary assistant response 带
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.5.0
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seemseam/ccb",
|
|
3
|
-
"version": "7.
|
|
4
|
-
"description": "Visible, controllable multi-agent CLI workspace for Codex, Claude, Gemini, OpenCode, and
|
|
3
|
+
"version": "7.5.0",
|
|
4
|
+
"description": "Visible, controllable multi-agent CLI workspace for Codex, Claude, Gemini, Kimi, OpenCode, Antigravity, and Droid.",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"homepage": "https://github.com/SeemSeam/claude_codex_bridge#readme",
|
|
7
7
|
"repository": {
|