Repository navigation
v0.12.0 - Reliable Context & Evidence
v0.12.0 — Reliable Context & Evidence
Published v0.12.0 on 2026-11-09. Previous public release: v0.11.2.
Context Packs now recognize common Chinese tasks deterministically, distinguish file paths from explicit symbols, and prioritize relevant implementation source and stronger relationship evidence. English intent words inside paths no longer trigger unrelated change/test analysis.
Optional Evidence Summary adds indexed-file parse status, exact/import-scoped/name-only relationship counts, candidate test status and detected context gaps to Context Packs and change context. Impact X-Ray retains compatible metadata and source inspection.
- Default budget remains 5000 characters, with 300–20000 limits; final text and Pack JSON remain bounded.
- Tool names and parameters stay compatible. Evidence can shrink or be omitted under budget; absence means not provided, not no gaps.
- Normal npm peer resolution now accepts the declared, verified DSH 0.2.1 and 0.2.2 RC groups without
--forceor--legacy-peer-deps.
Static evidence is not runtime proof. Parsed files are not a guarantee of semantic completeness; unscanned files are not assessed. Zero callers means none found in the current index/static resolution. Unresolved targets are not established external calls. Candidate tests have not been run by these tools and do not prove coverage.
Validation: prior Node 22/24 full suites each passed 290 tests, with typecheck and server/DTS/client builds; six original Context Pack replays passed. The same application build passed rc.3 Host and Desktop 0.2.2-rc.1 checks. This final round adds six peer regressions, normal npm installs, a focused normally installed SDK pipeline check and two completed real-Agent rechecks. The full suite was not repeated for metadata-only release changes.
Earlier Agent failures remain in the evidence history: a 2048-token cap, a Host shell permission failure and a transport failure. Focused rechecks completed with a temporary 8192-token cap and only the requested code tools; no global authentication/proxy settings were changed. This does not promise unrestricted shell access or reliable model/network service.
After publication:
dsh plugin --profile desktop add dsh-code-index@0.12.0Keep the Host's first-party DSH packages on a matched version group. See release readiness for exact commands, peer results and remaining limits.
v0.12.0 — Reliable Context & Evidence
2026-11-09 正式发布 v0.12.0;此前正式版为 v0.11.2。
Context Pack 以确定性规则识别常见中文任务,区分文件路径与明确符号,优先选择相关实现源码和强关系证据。路径中的英文意图词不再误触发变更或测试分析。
可选 Evidence Summary 为 Context Pack 和变更上下文补充已索引文件的解析状态、exact/import-scoped/name-only 关系、候选测试状态和实际检测到的缺口。Impact X-Ray 保持兼容的元数据和源码检查。
- 默认仍为 5000 字符,边界为 300~20000,最终文本与 Pack JSON 均受限。
- 工具名称和参数兼容。预算不足时 evidence 可缩减或省略;缺省表示未提供,不表示没有缺口。
- 修复正常 npm peer 解析:已声明并验证的 DSH 0.2.1、0.2.2 RC 版本组无需
--force或--legacy-peer-deps。
静态证据不等于运行时证明。parsed 不保证语义完整,未扫描文件不在判断范围。零调用者只指当前索引和静态解析中未发现;未解析目标不等于确定的外部调用。候选测试没有被这些工具执行,也不代表覆盖已验证。
验证依据:此前 Node 22/24 全量各 290 项通过,typecheck、服务端/DTS/客户端构建通过,六个原始 Context Pack 复放通过;相同应用构建通过 rc.3 Host 和真实 Desktop 0.2.2-rc.1 检查。本轮仅新增六项 peer 回归、正常 npm 安装、安装后 SDK 管线小检查及两项真实 Agent 复验,没有因发布元数据变更重跑整套测试。
此前 Agent 的 2048 token 上限、宿主 shell 权限和传输失败均保留原始记录。复验使用临时 8192 token 上限,仅调用指定代码工具,已完成最终回答;没有改动全局认证或代理。这不保证任意 shell 权限、模型服务或网络始终可用。
正式发布后安装:
dsh plugin --profile desktop add dsh-code-index@0.12.0Host 内第一方 DSH 包应保持同一版本组。具体命令、peer 解析和已知限制见发布就绪记录。
Publication evidence / 发布证据
- PR: #15
- Merge commit:
32f062a85e625198197b20528357e43fe4537d09 - Tag target:
24989f81f7522f6d962f38b255882f43ab6016d6 - CI: https://github.com/lemonxiny55/dsh-code-index/actions/runs/42540955606
- CI Node 22/24: 295 passed + 1 Windows-only test skipped on Linux each; typecheck/build/release smoke passed.
- Original npm tarball SHA256:
318d91bdd82d75b683fe1d1f9635f45169b059248fefdc246d1d2f088bb1296b - This asset is the original validated tarball; it was not rebuilt for publication.
Public installation verified / 公开安装验证
- npm public version and latest: 0.12.0.
- Fresh public registry install without force/legacy-peer overrides: PASS.
- Public tarball SHA256 equals the original validated asset; all 24 installed package files matched.
- Actual SDK 0.2.2-rc.1 / Cordis 4.1.0: 8 tools registered, 7 pipeline calls passed, 0 registrations after disposal.
- Text/Pack JSON, static evidence/zero callers, code_refs, change context and Impact X-Ray metadata verified. This is SDK/runtime smoke, not a repeated Desktop UI gate.
- Post-merge main CI: https://github.com/lemonxiny55/dsh-code-index/actions/runs/42541337560 (success).
- npm: https://www.npmjs.com/package/dsh-code-index/v/0.12.0