@chenacc/dsh-agentbridge 0.2.0 → 0.2.1

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.
Files changed (3) hide show
  1. package/README.md +2 -0
  2. package/lib/index.js +977 -970
  3. package/package.json +61 -61
package/README.md CHANGED
@@ -61,6 +61,8 @@ pnpm add @chenacc/dsh-agentbridge@latest
61
61
  | 变量 | 默认值 | 含义 |
62
62
  |---|---|---|
63
63
  | `AGENTBRIDGE_ORIGIN` | `http://127.0.0.1:8787` | 插件连接的 AgentBridge 地址;桥换了端口或走了隧道时设置它 |
64
+ | `AGENTBRIDGE_DATA_DIR` | `~/.agentbridge`(自动启动时) | 桥的会话、配对与日志目录,不会写进 `~/.dsh` |
65
+ | `AGENTBRIDGE_NO_AUTOSTART` | 未设置 | 设为 `1` 关掉"插件加载时自动起桥",只保留 `/phone` 里的手动提示 |
64
66
 
65
67
  变量要设在**真正启动 DSH Desktop 的环境里**(插件读 `process.env`),不是设在跑 bridge 的终端里。
66
68