@raysonmeng/agentbridge 0.1.13 → 0.1.15
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 -1
- package/README.zh-CN.md +2 -1
- package/dist/cli.js +391 -108
- package/dist/daemon.js +148 -13
- package/package.json +1 -1
- package/plugins/agentbridge/.claude-plugin/plugin.json +1 -1
- package/plugins/agentbridge/server/bridge-server.js +133 -6
- package/plugins/agentbridge/server/daemon.js +148 -13
|
@@ -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.15",
|
|
16
16
|
"author": {
|
|
17
17
|
"name": "AgentBridge Contributors",
|
|
18
18
|
"email": "raysonmeng@qq.com"
|
package/README.md
CHANGED
|
@@ -266,6 +266,7 @@ agent_bridge/
|
|
|
266
266
|
| `AGENTBRIDGE_DAEMON_ENTRY` | `./daemon.ts` | Override daemon entry point (used by plugin bundles) |
|
|
267
267
|
| `NO_UPDATE_NOTIFIER` | unset | Set to any value to disable the "update available" notice (ecosystem-standard opt-out) |
|
|
268
268
|
| `AGENTBRIDGE_NO_UPDATE_NOTIFIER` | unset | Namespaced opt-out for the update notice (same effect as `NO_UPDATE_NOTIFIER`) |
|
|
269
|
+
| `AGENTBRIDGE_UPDATE_PROMPT` | unset | Set to `0` to disable the interactive update prompt and keep pure notice-only behavior |
|
|
269
270
|
| `AGENTBRIDGE_UPDATE_CHECK_INTERVAL_MS` | `86400000` | How often `abg claude`/`abg codex` may check npm for a newer version (default once/day). The notice is otherwise printed from cache — zero network on most runs |
|
|
270
271
|
|
|
271
272
|
### Update notifications
|
|
@@ -278,7 +279,7 @@ agent_bridge/
|
|
|
278
279
|
Plugin: /plugin marketplace update agentbridge (then /reload-plugins)
|
|
279
280
|
```
|
|
280
281
|
|
|
281
|
-
The check is best-effort
|
|
282
|
+
The check is best-effort: the notice is printed from a cached result, the npm check runs at most once per day in the background, and any network/registry failure is silently ignored. On an interactive TTY, a cached update prompts before launch; answering `y` runs `npm install -g @raysonmeng/agentbridge@latest`, while `N` (or no answer within 15 seconds) records that version as dismissed and continues launching. Non-interactive output and CI never prompt, and the notice can be disabled with `NO_UPDATE_NOTIFIER=1` or kept notice-only with `AGENTBRIDGE_UPDATE_PROMPT=0`.
|
|
282
283
|
|
|
283
284
|
### State Directory
|
|
284
285
|
|
package/README.zh-CN.md
CHANGED
|
@@ -253,6 +253,7 @@ agent_bridge/
|
|
|
253
253
|
| `AGENTBRIDGE_DAEMON_ENTRY` | `./daemon.ts` | 覆盖 daemon 入口(插件包使用) |
|
|
254
254
|
| `NO_UPDATE_NOTIFIER` | 未设置 | 设为任意值即关闭「有新版本」提示(生态通用 opt-out) |
|
|
255
255
|
| `AGENTBRIDGE_NO_UPDATE_NOTIFIER` | 未设置 | 命名空间化的关闭开关(效果同 `NO_UPDATE_NOTIFIER`) |
|
|
256
|
+
| `AGENTBRIDGE_UPDATE_PROMPT` | 未设置 | 设为 `0` 可关闭交互询问,恢复纯打印提示 |
|
|
256
257
|
| `AGENTBRIDGE_UPDATE_CHECK_INTERVAL_MS` | `86400000` | `abg claude`/`abg codex` 多久查一次 npm 新版本(默认每天一次)。其余时候只读缓存打印,大多数调用零网络 |
|
|
257
258
|
|
|
258
259
|
### 更新提示
|
|
@@ -265,7 +266,7 @@ agent_bridge/
|
|
|
265
266
|
Plugin: /plugin marketplace update agentbridge (then /reload-plugins)
|
|
266
267
|
```
|
|
267
268
|
|
|
268
|
-
该检查是 best-effort
|
|
269
|
+
该检查是 best-effort:提示从缓存打印,npm 检查每天最多在后台跑一次,任何网络/registry 失败都静默忽略。交互式 TTY 下,命中缓存更新会在启动前询问;输入 `y` 会运行 `npm install -g @raysonmeng/agentbridge@latest`,输入 `N`(或 15 秒内无应答)会记住本版本已拒绝并继续启动。非交互(管道)输出和 CI 下绝不询问,可用 `NO_UPDATE_NOTIFIER=1` 关闭提示,或用 `AGENTBRIDGE_UPDATE_PROMPT=0` 保持纯打印。
|
|
269
270
|
|
|
270
271
|
### 状态目录
|
|
271
272
|
|