kober-basket/dsh-cachescope ↗★ 2
@kober-basket/dsh-cachescope
Prompt-cache observability and logical-input diagnostics for DeepSeek Harness
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kober-basket/dsh-cachescope说明文档
阅读完整 README ↗Configuration
The Schema default applies when the plugin is mounted directly. The published installable bundle overrides only captureInput to full; the profile's own patch remains authoritative.
| Key | Schema default | Installed bundle | Effect |
|---|---|---|---|
captureInput | metadata | full | Retain fingerprints and metrics only, or bounded complete logical inputs. |
maxAttempts | 500 | 500 | Maximum attempts retained in process memory. Older attempts are evicted. |
rawRetentionAttempts | 12 | 12 | Maximum recent attempts that may retain complete inputs. |
maxRawInputBytes | 2000000 | 2000000 | Maximum UTF-8 JSON bytes retained for one complete input. |
refreshMs | 1500 | 1500 | Dashboard polling interval in milliseconds. |
logAttempts | true | true | Print one metadata-only summary after each attempt. |
includeAuxiliary | true | true | Include compaction, title generation, and direct calls. |
dashboard | true | true | Register the dashboard when the WebServer is bound to loopback. |
pricing | unset | unset | Optional currency and per-million-token rates for local cost estimates. |
Optional pricing
Supply all four rates from your current provider price sheet; CacheScope does not ship or update a pricing table.
- id: cachescope
name: '@kober-basket/dsh-cachescope'
config:
pricing:
currency: CNY
uncachedInputPerMillion: 0 # replace with your current rate
cacheReadPerMillion: 0 # replace with your current rate
cacheWritePerMillion: 0 # replace with your current rate
outputPerMillion: 0 # replace with your current rate
Replace every zero before relying on cost estimates. CacheScope uses normalized usage fields and the values you supply; the example contains no current or recommended provider rates.