coze-bridge 0.1.65 → 0.1.67

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 +14 -6
  2. package/dist/index.js +119 -102
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -10,22 +10,30 @@
10
10
  ## 用法
11
11
 
12
12
  ```bash
13
- # 启动 / 复用 daemon, 投递 pair
13
+ # 启动 / 复用 daemon, 投递 pair (云端 UI 复制粘贴一行, 唯一保留无 verb 的入口)
14
14
  npx -y coze-bridge@latest --pat-token=<sat_xxx> --pair-code=<xxx>
15
15
 
16
16
  # 查 daemon 状态
17
- npx -y coze-bridge@latest --status
17
+ coze-bridge status
18
18
 
19
19
  # 停 daemon
20
- npx -y coze-bridge@latest --stop
20
+ coze-bridge stop
21
21
 
22
22
  # 重新探测本地 agent 路径 / 版本
23
- npx -y coze-bridge@latest --refresh
23
+ coze-bridge refresh
24
24
 
25
- # 卸载: 停 daemon + 删 ~/.coze
26
- npx -y coze-bridge@latest --uninstall
25
+ # 清理: 停 daemon + 卸自启 + 删 ~/.coze/bridge (保留 ~/.coze/agents 工作区)
26
+ coze-bridge purge
27
+
28
+ # 装 / 卸 OS supervisor 自启 (login 时自动拉起 daemon)
29
+ coze-bridge service install
30
+ coze-bridge service uninstall
27
31
  ```
28
32
 
33
+ > 老 flag (`--status` / `--stop` / `--refresh` / `--install-service` / `--uninstall`) 仍能用, 但 stderr 会打 deprecation warn, 后续 major bump 会删。建议切到新子命令形态。
34
+ >
35
+ > 注意 `--uninstall` 在 0.1.67 起映射到新 `purge`: 删除范围从 `~/.coze` 收窄到 `~/.coze/bridge`, 不再误删 `~/.coze/agents/<id>/workspace` 里用户写过的 CLAUDE.md / SOUL.md。完全重置仍可手动 `rm -rf ~/.coze`。
36
+
29
37
  ### 配对参数
30
38
 
31
39
  | Flag | 说明 |