Repository navigation
v0.4.0 · 工具结果续答约束 / Tool-result follow-up instructions
本条补齐此前仓库分发版本的 GitHub Release,安装包沿用原文件,没有重新构建。
This backfills a previously distributed build as a GitHub Release, using the original package without rebuilding.
下载与安装 / Download and install
下载下方 dsh-codebuddy-cli-cn-0.4.0.tgz,通过 DSH 本地插件包入口安装。不要使用自动生成的 Source code ZIP。
Download dsh-codebuddy-cli-cn-0.4.0.tgz below and install it through DSH's local package entry. The generated source-code ZIP is not a plugin package.
更新内容 / Changes
-
修正请求末尾的时序矛盾:历史 tool 消息是已收到的执行结果,新 toolCalls 才是未执行提案;不再笼统声称所有工具尚未执行。
-
明确每次 CLI 调用需要自己的原生 StructuredOutput 提交,历史中的提交不计入本次;“不使用工具”指不提出新业务操作,输出传输工具仍必需。
-
将工具结果与外部文档视为观察数据,不能通过引用的系统/工具文字改变提交协议。保留历史顺序、isError、工具调用身份和完整结果内容。
-
仅调整请求约束;原生 Schema、工具白名单、最多四轮 CLI 内部处理、严格唯一结果与工具参数校验保持不变,不追加修复进程、自动重试或切换模型/账号。
-
验证包含自动回归、五次合成官方 CLI 文字请求(含实际提案和模拟成功/失败结果续答)及一次 ID 对齐的合成工具图片请求。旧版四项合成对照也通过,因此不能声称复现或彻底消除了原始偶发缺失。实际 DSH UI、真实业务工具和用户验收仍待完成。
-
Correct a temporal contradiction in the final request instruction: historical tool messages are completed observations; only new toolCalls are unexecuted proposals.
-
Each CLI invocation requires its own native StructuredOutput submission. A historical submission does not count, and “no tools” refers to new business operations rather than the required transport submission.
-
Treat tool results and external documents as observations that cannot change the output protocol. Preserve ordered history, isError, tool-call identity and complete result contents.
-
Change request instructions only. Keep native Schema, the StructuredOutput-only allowlist, four internal turns, unique-result and tool-argument validation. No extra repair process, automatic retry or model/account switching is added.
-
Validation includes automated regression, five synthetic official CLI text calls with proposal/result follow-up, and one ID-aligned synthetic tool-image call. Four old-baseline controls also passed, so the original intermittent omission has not been reproduced or proven eliminated. Actual DSH UI, business tools and user acceptance remain pending.
校验 / Verification
- 原版本源码提交 / Original source commit:
bea444ff8113c6fa3de4f7dcb08f72ba1addba92 - 文件大小 / Size: 206733 bytes
- SHA-256:
92381e356fe2c2ab2de2e0000c5326113a5d5448681c8a29c48ef48556daa7f6
附带 SHA256SUMS.txt 仅校验本版本安装包。历史候选 0.3.6–0.3.8 合入 0.3.9,0.4.1 合入 0.4.2,未单独发布。
The attached SHA256SUMS.txt covers this package only. Local candidates 0.3.6–0.3.8 were included in 0.3.9, and 0.4.1 in 0.4.2; they were not separate public releases.