@raysonmeng/agentbridge 0.1.5 → 0.1.6
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/.claude-plugin/marketplace.json +1 -1
- package/README.md +2 -3
- package/README.zh-CN.md +2 -3
- package/dist/cli.js +324 -88
- package/package.json +1 -1
- package/plugins/agentbridge/.claude-plugin/plugin.json +1 -1
- package/plugins/agentbridge/server/bridge-server.js +121 -117
- package/plugins/agentbridge/server/daemon.js +336 -124
- package/scripts/postinstall.cjs +44 -4
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
{
|
|
13
13
|
"name": "agentbridge",
|
|
14
14
|
"description": "Bridge Claude Code and Codex through a shared daemon, push channel delivery, and reply/get_messages tools.",
|
|
15
|
-
"version": "0.1.
|
|
15
|
+
"version": "0.1.6",
|
|
16
16
|
"author": {
|
|
17
17
|
"name": "AgentBridge Contributors",
|
|
18
18
|
"email": "raysonmeng@qq.com"
|
package/README.md
CHANGED
|
@@ -154,7 +154,7 @@ After modifying AgentBridge source code, re-run `agentbridge dev` to sync change
|
|
|
154
154
|
|
|
155
155
|
| Command | Description |
|
|
156
156
|
|---------|-------------|
|
|
157
|
-
| `abg init` | Install plugin, check dependencies (bun/claude/codex), generate `.agentbridge/config.json`
|
|
157
|
+
| `abg init` | Install plugin, check dependencies (bun/claude/codex), generate `.agentbridge/config.json` |
|
|
158
158
|
| `abg claude [args...]` | Start Claude Code with push channel enabled. Clears any killed sentinel from a previous `kill`. Pass-through args are forwarded to `claude` |
|
|
159
159
|
| `abg codex [args...]` | Start Codex TUI connected to AgentBridge daemon. Manages TUI process lifecycle (pid tracking, cleanup). Pass-through args forwarded to `codex` |
|
|
160
160
|
| `abg kill` | Gracefully stop both daemon and managed Codex TUI, clean up state files, write killed sentinel |
|
|
@@ -177,8 +177,7 @@ Running `agentbridge init` creates a `.agentbridge/` directory in your project r
|
|
|
177
177
|
|
|
178
178
|
| File | Purpose |
|
|
179
179
|
|------|---------|
|
|
180
|
-
| `config.json` | Machine-readable project config (ports,
|
|
181
|
-
| `collaboration.md` | Human/agent-readable collaboration rules (roles, thinking patterns, communication style) |
|
|
180
|
+
| `config.json` | Machine-readable project config (Codex ports, turn coordination, idle shutdown) |
|
|
182
181
|
|
|
183
182
|
The config is loaded by the CLI and daemon at startup. Re-running `init` is idempotent and will not overwrite existing files.
|
|
184
183
|
|
package/README.zh-CN.md
CHANGED
|
@@ -154,7 +154,7 @@ agentbridge codex
|
|
|
154
154
|
|
|
155
155
|
| 命令 | 说明 |
|
|
156
156
|
|------|------|
|
|
157
|
-
| `abg init` | 安装插件、检查依赖(bun/claude/codex)、生成 `.agentbridge/config.json`
|
|
157
|
+
| `abg init` | 安装插件、检查依赖(bun/claude/codex)、生成 `.agentbridge/config.json` |
|
|
158
158
|
| `abg claude [args...]` | 启动 Claude Code 并启用 push channel。自动清除之前 `kill` 留下的 sentinel。额外参数透传给 `claude` |
|
|
159
159
|
| `abg codex [args...]` | 启动连接到 AgentBridge daemon 的 Codex TUI。管理 TUI 进程生命周期(pid 跟踪、清理)。额外参数透传给 `codex` |
|
|
160
160
|
| `abg kill` | 优雅停止 daemon 和托管的 Codex TUI,清理状态文件,写入 killed sentinel |
|
|
@@ -177,8 +177,7 @@ agentbridge codex
|
|
|
177
177
|
|
|
178
178
|
| 文件 | 用途 |
|
|
179
179
|
|------|------|
|
|
180
|
-
| `config.json` |
|
|
181
|
-
| `collaboration.md` | 人类/Agent 可读的协作规则(角色、思考模式、沟通风格) |
|
|
180
|
+
| `config.json` | 机器可读的项目配置(Codex 端口、回合协调、空闲关闭) |
|
|
182
181
|
|
|
183
182
|
CLI 和 daemon 启动时会加载该配置。重复运行 `init` 是幂等的,不会覆盖已有文件。
|
|
184
183
|
|