Skip to content

Releases: PlxloYzb/dsh-context-management

v0.1.1 — DSH Context Management / 上下文管理

Choose a tag to compare

@PlxloYzb PlxloYzb released this 08 Sep 06:51

简体中文

DSH 上下文管理插件 0.1.1,适配 DSH 0.1.2-rc.1(Node.js ≥ 22.12)。

  • 默认采用上下文换窗,支持可逆压缩、会话历史搜索和分页原文取回。
  • 自动接管目标 profile 中已有的原生 Basic 压缩;支持预设切换、重启和卸载恢复。minimal 等无压缩预设保持原样。
  • 提供中文说明设计思路测试报告

验证:184 项单元测试、50 项真实宿主集成测试;包名安装/卸载通过。历史预设矩阵 24/24;历史模型实验共 27 次,默认 windowed 在 9 次运行中重启前、后均为 108/108 精确召回。in-place 重启后为 98/108,后续更正保留 4/9,均如实保留。仅为固定合成样本,不主张通用准确率或成本优势;真实供应商物理上下文溢出未触发验证。

附件 tarball 与公共 npm 的 dsh-context-management@0.1.1 完全一致。GitHub 源码补充了双语文档及包元数据,运行时产物与该 npm 包逐字节一致。模型和预设数据来自明确标注的历史候选包,并非在本次文档提交上重跑。

English

Context management 0.1.1 for DSH 0.1.2-rc.1 (Node.js ≥ 22.12).

  • Default context windows, reversible compression, session history search, and paginated source retrieval.
  • Replaces existing native Basic compaction in the target profile, with preset switching, restart, and uninstall restoration. Presets without compaction, including minimal, remain unchanged.
  • English README, design, and test report.

Validation: 184 unit and 50 real-host integration tests, plus package-name install/remove. Historical preset matrix: 24/24. Historical model cohort: 27 runs; default windowed achieved 108/108 exact recall before and after restart across nine runs. In-place achieved 98/108 after restart and retained both later corrections in 4/9 runs. These fixed synthetic samples establish no general accuracy or cost advantage. Real provider physical context overflow was not exercised.

The attached tarball is identical to public npm dsh-context-management@0.1.1. GitHub source adds bilingual documentation and package metadata; built runtime files match that npm package byte-for-byte. Model and preset evidence belongs to explicitly identified historical candidates, not a rerun on this documentation commit.

Assets

  • dsh-context-management-0.1.1.tgz: published npm package.
  • results-0.1.1.json: historical measurements and provenance.
  • model-samples-0.1.1.csv: all 27 selected model samples.
  • release-checks-0.1.1.json: current checks and package identity.
  • SHA256SUMS: SHA-256 checksums for the four assets above.