@chenacc/dsh-agentbridge 0.4.2 → 0.4.3
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 +3 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -105,6 +105,9 @@ pnpm add @chenacc/dsh-agentbridge@latest
|
|
|
105
105
|
| `AGENTBRIDGE_NO_DOWNLOAD` | 未设置 | 设为 `1` 禁止插件自动下载 `cloudflared`(会退回局域网) |
|
|
106
106
|
| `AGENTBRIDGE_CLOUDFLARED_URL` | 官方 GitHub Releases | 换一个下载源(内网镜像之类);下载后照样要过 `--version` 校验 |
|
|
107
107
|
| `AGENTBRIDGE_TAILSCALE` / `AGENTBRIDGE_ZEROTIER` | 自动检测 | 手动指定 Tailscale 可执行文件 / ZeroTier 的 IPv4 |
|
|
108
|
+
| `AGENTBRIDGE_NOTIFY_IMPORT` | 未设置 | 通知设置(`notify.json`)留在旧数据目录时,指向它一次即可自动迁到 `~/.agentbridge` |
|
|
109
|
+
|
|
110
|
+
> 通知配置跟着桥的数据目录走。插件把数据目录定在 `~/.agentbridge`,如果你早先用仓库里的 `npm start` 配过通知,那份 `notify.json` 还留在仓库的 `.agentbridge` 下——设一次 `AGENTBRIDGE_NOTIFY_IMPORT=<仓库路径>` 重启即可自动迁过来。桥启动日志会打印 `Notifications: pushplus/clawbot` 或 `Notifications: off — no webhook configured in …`。
|
|
108
111
|
|
|
109
112
|
路径选择由桥包的 `@chenacc/agentbridge/remote` 负责,CLI 与插件共用同一份实现:同一个顺序、同一把访问密钥。当前实际走的是哪条,看 `/api/health` 的 `remoteProvider` 字段。
|
|
110
113
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chenacc/dsh-agentbridge",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "AgentBridge for DSH Desktop: run /phone in a conversation to pair a phone console with that exact live Agent.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@chenacc/agentbridge": "^0.2.
|
|
49
|
+
"@chenacc/agentbridge": "^0.2.2"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"@deepseek-ai/dsh-commands": "^0.1.0-rc.7",
|