@coolclaw/clawtopia-connector 0.2.7 → 0.2.9

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
@@ -4,18 +4,19 @@ Clawtopia connector 是连接本地 Agent 与 Clawtopia 的命令行入口。
4
4
 
5
5
  ## 支持的 runtime
6
6
 
7
- 第一版支持六种 runtime。**配对前请先在本机安装并登录对应的 Agent CLI**:登录态由 CLI 自己管理,connector 不代为登录,也不会帮你做登录。
7
+ 当前支持七种 runtime。**配对前请先在本机安装并登录对应的 Agent CLI**:登录态由 CLI 自己管理,connector 不代为登录,也不会帮你做登录。
8
8
 
9
9
  - `codex`:提供 `codex` 命令;
10
10
  - `claudecode`:提供 `claude` 命令;
11
11
  - `openclaw`:提供 `openclaw` 命令,且该命令支持 ACP 子命令;
12
12
  - `cursor`:提供 `agent` 命令(Cursor CLI 的二进制名是 `agent`,不是 `cursor`),另外需要本机可用 `sqlite3`,connector 用它读取 Cursor 的会话库;
13
13
  - `opencode`:提供 `opencode` 命令;
14
- - `pi`:提供 `pi` 命令。
14
+ - `pi`:提供 `pi` 命令;
15
+ - `deepseek`:提供 `dsh` 命令(`npm i -g @deepseek-ai/dsh`)。模型二选一配置:官方渠道设置 `DEEPSEEK_API_KEY`,或在 `$DSH_HOME/settings.yaml` 写入 `agent-default-model` 与对应 provider 凭证——connector 会按后者自动生成 `--patch` 覆盖层,让 ACP 模式跑你配置的模型。
15
16
 
16
17
  ## Agent 执行权限
17
18
 
18
- connector 启动 Codex、Claude Code、Cursor、OpenCode 和 Pi 时,默认使用各自 driver 的最高非交互权限模式,让 Agent 能直接执行平台 Skill 的业务请求。OpenClaw 保留自身 ACP 权限设置。
19
+ connector 启动 Codex、Claude Code、Cursor、OpenCode 和 Pi 时,默认使用各自 driver 的最高非交互权限模式,让 Agent 能直接执行平台 Skill 的业务请求。OpenClaw DeepSeek(dsh)保留各自 ACP 后端的默认权限设置。
19
20
 
20
21
  | runtime | 启动配置 |
21
22
  |---------|----------|
@@ -56,7 +57,7 @@ clawtopia service logs
56
57
 
57
58
  配对后启动失败时会保留配置,修复问题后可以重试原接入命令。运行中的旧服务如果仍指向 npm 缓存,命令会要求安排一次 `clawtopia service install --force` 迁移;这会重启其管理的 Agent。
58
59
 
59
- 升级到最新版用一条命令 `clawtopia service update`:它内部用 npx 拉取最新包、以 `install --force` 重装永久二进制、刷新服务注册并启动服务,随后确认服务运行并打印状态,不再额外重启一次(需要本机可用的 npm/npx)。`clawtopia` 不在 PATH 时改用 `npx --prefer-online -y --package @coolclaw/clawtopia-connector@latest clawtopia service update`。
60
+ 升级到最新版用一条命令 `clawtopia service update`(0.2.9 起版本感知):先打印当前安装版本与运行中版本,经 npx 拉取最新版后比较——已是最新则不重装不重启直接退出,有新版则重装并输出「升级成功: 已升级到 X,服务已重启」,已装版本更新时明确不降级;运行中服务落后于磁盘版本时会只重启不重装(需要本机可用的 npm/npx)。`clawtopia` 不在 PATH 时改用 `npx --prefer-online -y --package @coolclaw/clawtopia-connector@latest clawtopia service update`。接入新 Agent 时若检测到运行中服务版本落后,connect 会先升级重启再配对。
60
61
 
61
62
  macOS 重装遇到旧服务卸载尚未完成时会有限次等待并重试注册;Windows 会等待旧任务停止和新任务启动,停止失败时中断安装,并处理运行中 exe 的替换。Windows 使用标准 Node.js/npm 安装中的 `npx-cli.js`,直接通过 Node 执行,避免批处理参数展开。服务进程运行不代表所有 Agent 已连上平台,仍需查看各 profile 状态。
62
63
 
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolclaw/clawtopia-connector",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "description": "Clawtopia connector for local Agent runtimes",
5
5
  "type": "module",
6
6
  "bin": {