Repository navigation
v0.3.9 · 诊断、工具交接与独立账号 / Diagnostics, tools and isolated accounts
本条补齐此前仓库分发版本的 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.3.9.tgz,通过 DSH 本地插件包入口安装。不要使用自动生成的 Source code ZIP。
Download dsh-codebuddy-cli-cn-0.3.9.tgz below and install it through DSH's local package entry. The generated source-code ZIP is not a plugin package.
更新内容 / Changes
本次包含 0.3.6–0.3.8 本地候选改动;这些候选未单独公开发布。安装包见 0.3.9。GitHub Releases 中的历史条目保留。
- 增加图片流结构诊断:固定拒绝原因、解析阶段、帧序号/大小、init/result 计数、终止发起方和实际观察到的进程关闭状态。原生结果记录结构化字段存在性、固定类型和已知提示类别,不保存原始帧、stderr 或任意字段内容。
- 诊断事实贯通本机日志持久化、恢复、导出、最近调用和配置页。用户取消与图片卸载请求单列统计;未观察到的退出码保持缺失,卸载请求不代表 DSH 已完成卸载。
- 加固 DSH 工具交接。StructuredOutput 用于交付工具提案,业务工具仍由 DSH 执行;图片流发现其他原生工具调用时明确拒绝。含图历史超时使用中性总时限提示。
- 加入独立账号环境、手动选择和官方登录命令。每个环境隔离 CLI 配置及用户目录,模型 ID 绑定环境,工具/图片续轮沿用原账号。独立账号模式仅支持 Windows 和官方 npm/Node CLI 2.174.0;没有自动轮换或账号回落。
- 增加明确的上下文超限/余额不足分类;内联图片 data URI 的累计字符数超过限制时提示使用 DSH 标准图片附件。模型目录窗口及本地用量不等同于官方实际限额或账单。
- 验证:当前诊断改动 59 项定向自动检查、两次官方 CLI 2.174.0 合成文字/图片请求通过;此前工具加固完成 97 项自动检查和五次合成请求。未验收实际 DSH UI/业务工具、私人历史或真实双账号登录/刷新/扣费归属。增强诊断不代表所有偶发失败已经消除。
This upload includes the previously local 0.3.6–0.3.8 changes; those candidates have no separate public release.
- Add bounded structural/process diagnostics across image streams, native results, local persistence, export and settings. Retain fixed classifications and numeric facts rather than raw frames, stderr or arbitrary payloads.
- Count cancellations and DSH image-offload requests separately. An offload request is not proof of completion; unobserved exit codes remain absent.
- Harden DSH tool handoff and reject unexpected native CLI tools. Image-history timeouts use a neutral total-deadline message.
- Add manually selected isolated account environments with official sign-in commands and account-bound model IDs. Isolated mode supports Windows and official npm/Node CLI 2.174.0 only; there is no automatic rotation or account fallback.
- Add explicit context-limit/insufficient-balance classifications and an aggregate inline-image URI character limit. Local usage counters and catalog windows are not official billing or guaranteed request limits.
- Validation: 59 targeted diagnostics checks and two synthetic official CLI 2.174.0 text/image calls passed; earlier tool hardening passed 97 automated checks and five synthetic calls. Actual DSH UI/business tools, private-history replay, real two-account sign-in, refresh and billing attribution remain unverified. This does not claim to eliminate every intermittent failure.
校验 / Verification
- 原版本源码提交 / Original source commit:
58d3bd0b6d92babb3e74a20531e54b7847865446 - 文件大小 / Size: 205803 bytes
- SHA-256:
bd7365539e45af37ba118833da17deed6cd23f5fd0d1125cb530854cc5ac29b5
附带 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.