Repository navigation
feat(protocol): 适配 auto 模型与 2.1.303/310 出站 - #730
Conversation
share/wrap-cli/cli-node 已替换为 ed9fd21 快照的 UPX 产物。二进制继续由 gitignore 排除,payload 与部署未变。
payload 与线上槽位未更新。
槽进程通过 --group-add 加入控制面组。目录 02770,配置 0640,token 0600。组外用户不能读取 kernel.json、worker.json 或 internal.token。
运行目录和配置不再调用会把 gid 改回 KIN_VM_GID 的归属修正。发布文件采用槽 uid 和控制面 gid。
发布 kernel.json 时把 vm 传给归属修正。缺少 vm 时不再默认成 vm-01。
一键部署以 root 运行时使用槽 uid:gid 和 0700/0600。非 root 控制面继续用控制面组和 --group-add。
root 升级遇到非 root 留下的 kernel.json 和 worker.json 时,即使内容相同也改成槽用户。
per-turn 插到 tool-changes 前面。role=system 不再补 mid-conversation-system-2026-04-07。
UPX 后 27794208 字节,SHA256 3aea7dbcdc721b46cc22cd9e95ffec28c811749e32a1a50bcecf6bc67c86a07c。payload 和线上槽位未动。
不发 per-turn。与 2.1.303 抓包的 13 项差在这一项。
plain ELF 五模型 beta 对齐,压缩后 cli-hop e2e 7/7。SHA256 d9f0ba21f2b12f2b00117e0f2fc8862ac8569477f5a4f5797324d9336c523e0b。
面板没参与的配置刷新不再把 cli 退回 sdk-cli。
UPX 后 27794372 字节,SHA256 02a619ca7c7d8c82b41260a29747daf3ce04753582e7e657d97d1a21ff04790b。
带 -dev 的版本不再被发布标签解析成 0.0.0。
cli-node 只从 kernel.json 读入口。缺字段会一直停在 sdk-cli,抓包无法区分两种入口的 UA 和 billing。
覆盖 official 与 official_full、两种入口、空提示词、纯文本和已包过的提示词。核对最终 CLI 的 UA、billing、system 和 CCH。
thinking、tool_choice、effort 与显式采样字段交给 cli-node。面板 thinking display 仍由 Node 应用,并删除写死的 panelRewrite 分支。
没有 cwd 时删除记忆段和工作目录行,不再回落到 /home/kincli。调用方文本不再留在 303 system。
保留记忆目录和工作目录跟随调用方 cwd。profileForPreset 与 303 渲染回到按档选择,不再把所有档位固定成 303。
persona_guidance_presets 显式 true 才注入 guidance。打开后仍按调用方 cwd 决定是否保留记忆段。
默认只保留 harness。显式打开 persona_guidance_presets 后才拼接 guidance。
auto 作为固定策略模型列出。请求校验保留该 id,不改写成具体 Claude 模型。
worker 列表不含 auto 时追加策略里已启用的 auto。停用后不出现。
temperature 默认 1,stage 2 和 tool 路径的 max_tokens 为 8192。网关继续原样传递。
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: c6749a31-95a1-41ee-9810-bb6ddb3aa8a5) |
说明三种目录模式如何列出 auto,以及网关对分类器字段的透传边界。
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: d8cbdea8-284a-479e-a965-6064f19bd9ba) |
- VERSION 从 1.3.227 撤回至 1.3.226,不抢跑 tip-cut - CHANGELOG 未发布首两条显式 #730,保留 auto/worker_only 与 310 分类器要点 Co-authored-by: ted <kuhlmangarry24@gmail.com>
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: ac295e2c-6f9c-4894-a830-843185efb3c3) |
wrap-cli/sync 检查 kernel、cli-node 和 cc-node。集群槽镜像哈希一致时跳过,字节变化才重建。
系统提示词页不再把记忆目录描述为槽位路径。原生集群槽按 darwin payload digest 判断二进制变化。
只保留 main_prompt_303 和 guidance_303 的调用方 cwd 说明。其余既有模板改动回到工作区。
保留二进制同步、原生槽检查和提示词说明修正。
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: c5ad607e-3a08-40ee-9cff-d43e3890c00a) |
上一个合并提交的树误用了本地 1.3.227。VERSION 和 CHANGELOG 回到 641ba4d。
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: f8966424-59d6-4eba-afe9-c2ac79735a5f) |
Summary
auto,请求原样透传;worker_only也保留已启用的auto。Test plan
node --test test/unit/models.test.mjs test/unit/model-policy-fable51.test.mjsnode --test test/unit/auto-mode.test.mjsNote
High Risk
Changes core outbound persona assembly, billing/UA attribution, beta headers, and cli-hop behavior; misconfiguration can alter what reaches Anthropic across all Claude slots until binaries and routing are aligned.
Overview
Aligns outbound Claude Code traffic with 2.1.303 persona shape and adds panel control over
cc_entrypoint(sdk-clivscli), which drives billing, User-Agent, identity/guidance text, and per-slotkernel.jsonhot-reload without restart.Persona / protocol:
officialandofficial_fullnow use harness + guidance with a cli-hop-only dynamic boundary; environment blocks move tomessages[].role=system.official_303is folded intoofficial_fullviacanonicalPersonaCompat. Third-party system text is wrapped once in the first user<system-reminder>. Beta selection matches 2.1.303--print(includingscope: globalon harness cache). Auto-mode classifier defaults change totemperature: 1and stage-2/toolmax_tokens: 8192.Models & hop path: Catalog adds policy-only
auto(listed when enabled even inworker_only; requests pass through unchanged). cli-hop renders persona from routing on each request (drops the separate leanofficial_303assembler); subagent billing is stripped on main paths;repairedretries skip print-thinking normalization.Ops / VM: wrap-cli sync compares real cluster payload/image digests; install copy mentions cli-node/kernel/cc-node. Egress and slot runtime gain Docker-host/WSL helpers (
KIN_EGRESS_CMD_PREFIX,KIN_SLOT_RUN_ROOT) and safer pid/port handling forkin-egress.Reviewed by Cursor Bugbot for commit c8f99f0. Configure here.