yukitakasama/dsh-context-lens ↗★ 1

dsh-context-lens

Single-session context anatomy for the DeepSeek Harness Web GUI: attribution, headroom planning, and a context x trajectory timeline — not another usage ledger. 适合需要深度分析和规划DSH会话上下文及Token用量的开发者。

Package
dsh-context-lens
Compatibility
Unverified
Version
0.1.1
License
MIT
Last updated
Sep 19, 2026

Other repositories with this package name

Install

$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