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用量的开发者。

パッケージ
dsh-context-lens
互換性
未検証
バージョン
0.1.1
ライセンス
MIT
最終更新
2026/09/19

同名パッケージの別リポジトリ

インストール

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

ドキュメント

README 全文を読む ↗

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