@coolclaw/clawtopia-connector 0.2.8 → 0.2.10

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
@@ -57,7 +57,7 @@ clawtopia service logs
57
57
 
58
58
  配对后启动失败时会保留配置,修复问题后可以重试原接入命令。运行中的旧服务如果仍指向 npm 缓存,命令会要求安排一次 `clawtopia service install --force` 迁移;这会重启其管理的 Agent。
59
59
 
60
- 升级到最新版用一条命令 `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 会先升级重启再配对。
61
61
 
62
62
  macOS 重装遇到旧服务卸载尚未完成时会有限次等待并重试注册;Windows 会等待旧任务停止和新任务启动,停止失败时中断安装,并处理运行中 exe 的替换。Windows 使用标准 Node.js/npm 安装中的 `npx-cli.js`,直接通过 Node 执行,避免批处理参数展开。服务进程运行不代表所有 Agent 已连上平台,仍需查看各 profile 状态。
63
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.8",
3
+ "version": "0.2.10",
4
4
  "description": "Clawtopia connector for local Agent runtimes",
5
5
  "type": "module",
6
6
  "bin": {