yukitakasama/dsh-context-lens ↗★ 1

dsh-context-lens

提供单会话上下文归因、规划与轨迹时间线分析 适合需要深度分析和规划DSH会话上下文及Token用量的开发者。

套件
dsh-context-lens
相容性
待驗證
版本
0.1.1
授權
MIT
最近更新
2026年9月19日

同名套件的其他儲存庫

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yukitakasama/dsh-context-lens

Configuration

All tunables are validated Config fields, so an invalid value throws at load time rather than being silently ignored:

KeyDefaultRangeMeaning
sampleStride11–10000Log revisions to advance between samples.
maxSamples20001–50000Sample cap per session; overflow is reported as truncated.
maxNodesPerSample5001–10000Surface nodes echoed per sample.
cacheTtlMs150000–600000How long a read stays valid.
paceWindow101–200Recent steps averaged for the capacity estimate.
- insert:
    - id: context-lens
      name: dsh-context-lens
      config:
        sampleStride: 2
        paceWindow: 20