blake-r/dsh-plugins--packages-dsh-compaction-micro0

@blake-r/dsh-compaction-micro

针对 kb 预设提供单次请求轨迹重组的 DSH 插件。

AI 分析

核心用途是为 kb 预设提供单次请求级别的轨迹重组优化。适合需要精细化管理知识库检索与推理轨迹、优化上下文结构的 DSH 用户。

套件
@blake-r/dsh-compaction-micro
版本
0.1.0
最近更新
2026年8月29日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:blake-r/dsh-plugins#585c40b34c69d84da20592d9b396bd78b4fafb30&path:packages/dsh-compaction-micro

@blake-r/dsh-compaction-micro

Per-request trajectory re-composition for the kb preset.

Install

From npm (published):

dsh plugin --profile web add @blake-r/dsh-compaction-micro

From the GitHub repo (selective, subdirectory):

dsh plugin --profile web add github:blake-r/dsh-plugins#path:packages/dsh-compaction-micro

What it does

A bundle package in the dsh-plugins monorepo. See the header comment in src/dsh-compaction-micro.mjs for full behavior.

The compiler is vendored (trimmed) from an upstream compaction engine whose algorithm this plugin adapts for per-request trajectory re-composition.