@chenacc/dsh-agentbridge 0.4.1 → 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 CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  AgentBridge 的 DSH Desktop 集成插件。在某个项目会话里执行 `/phone`,把**屏幕上那一条** live Agent 会话接到手机控制台:手机扫码后可以发消息、审批、切换模型、停止任务,桌面与手机看到同一份事件流。
8
8
 
9
- ![手机端控制台](./assets/phone-console-1.png)
9
+ ![手机端控制台:扫码后接管的是屏幕上那一条会话](./assets/hero-phone.jpg)
10
10
 
11
11
  一条命令装进当前 profile:
12
12
 
@@ -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
 
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chenacc/dsh-agentbridge",
3
- "version": "0.4.1",
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",
@@ -13,8 +13,8 @@
13
13
  "cordis.patch.yml",
14
14
  "README.md",
15
15
  "LICENSE",
16
- "assets/phone-console-1.png",
17
- "assets/icon.png"
16
+ "assets/icon.png",
17
+ "assets/hero-phone.jpg"
18
18
  ],
19
19
  "keywords": [
20
20
  "dsh-plugin",
@@ -46,7 +46,7 @@
46
46
  }
47
47
  },
48
48
  "dependencies": {
49
- "@chenacc/agentbridge": "^0.2.1"
49
+ "@chenacc/agentbridge": "^0.2.2"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "@deepseek-ai/dsh-commands": "^0.1.0-rc.7",
Binary file