Skip to content

Releases

v0.2.13 — Claude Code 2.1.317/2.1.318 compatibility

Choose a tag to compare

@DotRacel DotRacel released this 04 Nov 15:13

修复 Claude Code 2.1.317/2.1.318 的 Remote Control 兼容性。

  • 恢复 /rc 下方的二维码,适配新版移除 upgradeNudge 后的渲染路径。
  • 在定义模块初始化时设置后端地址,修复只读 import 导致 /rc 仍请求官方服务的问题。
  • 修复 export 解析器对首项、末项和单项 import 的处理;旧版本继续使用原有 profile。

验证:233 项测试全部通过(含 PostgreSQL);CLI/Web 构建通过;8 个版本全部 18/18 注入检查通过;2.1.317/2.1.318 真实 TUI 成功连接测试后端并显示二维码;2.1.318 worker 连接链通过。

升级:npm install -g control-claude-code@0.2.13

附件提供 npm 安装包与单文件 CLI;服务器镜像为 ghcr.io/dotracel/control-claude-code:0.2.13。

v0.2.12 — Team 登录 Remote Control 修复

Choose a tag to compare

@DotRacel DotRacel released this 27 Oct 08:59

修复 Team 登录用户通过 control-claude 使用 /rc 时,出现 “Remote Control is disabled by your organization's policy. Contact your organization admin for access.” 的问题。

交互桥接初始化会独立检查 allow_remote_control,此前的注入未覆盖这一处。新增检查点在策略函数的定义模块中修改当前调用的局部结果,兼容只读模块导入、策略缓存未加载和重复连接。处理范围仅为本进程的 Remote Control 策略判断,不修改共享策略缓存或磁盘上的组织设置。

验证:

  • 完整测试:216 项通过,14 项跳过;CLI 构建通过。
  • Claude Code 2.1.229 / .238 / .239 / .248 / .309 / .310 的全部 18 个注入点均定位成功。
  • 真实 2.1.310 进程中的临时 Team 拒绝策略验证通过,其他被拒策略仍然拒绝。
  • 尚未完成真实 Team 账号的端到端联调。

更新:

npm install -g control-claude-code@0.2.12

随后通过 control-claude 启动并输入 /rc。官方原生 Remote Control 仍受组织管理员设置约束。

v0.2.11 — Claude Code 2.1.309 compatibility

Choose a tag to compare

@DotRacel DotRacel released this 24 Oct 12:54

Fixes injection compatibility with Claude Code 2.1.309 and 2.1.310. Additional startup code moved the trusted-device check beyond the locator's search window; the window now covers the unchanged guard.

Verified all 17 gates on 2.1.309/2.1.310 and the oldest version of each supported profile (2.1.229, 2.1.238, 2.1.239, 2.1.248). On 2.1.310, verified gate rebinds, environment registration, and the full worker-spawn chain through the data-plane WebSocket connection. Unit tests and CLI build pass.

v0.2.10 — Node.js 安全更新

Choose a tag to compare

@DotRacel DotRacel released this 21 Oct 16:05

修复受 Node.js 2026 年 10 月安全公告影响的运行环境,包括 Brotli 解码器越界写入(CVE-2026-111497)、TLS 主机名验证和 DNS 空字节校验问题。

  • 服务端及前端构建镜像固定到 Node.js 24.22.1;开发及发布流程通过 .nvmrc 使用同一版本。
  • CLI 支持的 Node.js 安全版本下限调整为 22.23.4、24.22.1、26.12.1;CI 覆盖这三个版本。
  • 升级 Vite 至 8.2.4、source-map-js 至 1.2.2,并更新相关构建依赖锁文件。
  • 发版前验证镜像内的 Node.js 版本和服务健康状态。

验证:本地 Node.js 24.22.1 下 228 项测试全部通过(包含 PostgreSQL 持久化测试);前端类型检查、生产构建、桌面布局检查、CLI 打包和容器健康检查通过;根目录及 web 的 npm audit 均为 0 漏洞。

远端三个 Node.js 版本的测试、前端构建与布局检查,以及 Claude 注入兼容检查均通过。

升级 CLI 前,请先将宿主机 Node.js 更新到上述安全版本。npm 包不包含 Node.js 运行时。

npm 发布状态: 发布请求已被 npm 接受,公开注册表仍在异步处理(latest 暂为 0.2.9)。当前请使用下方 Release 附件安装;注册表处理结束后可通过包名安装。

npm i -g control-claude-code@0.2.10

也可以安装 Release 附件中的同一份 npm tarball:

npm i -g https://github.com/DotRacel/control-claude-code/releases/download/v0.2.10/control-claude-code-0.2.10.tgz

已有自部署后端需要拉取并重建应用容器:

docker compose pull app
docker compose up -d --no-deps app
docker compose exec app node --version # v24.22.1

版本镜像:ghcr.io/dotracel/control-claude-code:0.2.10(同时更新 latest)。

Node.js 官方安全公告