yukitakasama/dsh-context-lens ↗★ 1
dsh-context-lens
提供单会话上下文归因、规划与轨迹时间线分析 适合需要深度分析和规划DSH会话上下文及Token用量的开发者。
同名包的其他仓库
安装
$
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:
| Key | Default | Range | Meaning |
|---|---|---|---|
sampleStride | 1 | 1–10000 | Log revisions to advance between samples. |
maxSamples | 2000 | 1–50000 | Sample cap per session; overflow is reported as truncated. |
maxNodesPerSample | 500 | 1–10000 | Surface nodes echoed per sample. |
cacheTtlMs | 15000 | 0–600000 | How long a read stays valid. |
paceWindow | 10 | 1–200 | Recent steps averaged for the capacity estimate. |
- insert:
- id: context-lens
name: dsh-context-lens
config:
sampleStride: 2
paceWindow: 20