kober-basket/dsh-cachescope2

@kober-basket/dsh-cachescope

Prompt-cache observability and logical-input diagnostics for DeepSeek Harness

包名
@kober-basket/dsh-cachescope
版本
0.1.2
许可证
MIT
最近更新
2026年8月30日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kober-basket/dsh-cachescope

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.

KeySchema defaultInstalled bundleEffect
captureInputmetadatafullRetain fingerprints and metrics only, or bounded complete logical inputs.
maxAttempts500500Maximum attempts retained in process memory. Older attempts are evicted.
rawRetentionAttempts1212Maximum recent attempts that may retain complete inputs.
maxRawInputBytes20000002000000Maximum UTF-8 JSON bytes retained for one complete input.
refreshMs15001500Dashboard polling interval in milliseconds.
logAttemptstruetruePrint one metadata-only summary after each attempt.
includeAuxiliarytruetrueInclude compaction, title generation, and direct calls.
dashboardtruetrueRegister the dashboard when the WebServer is bound to loopback.
pricingunsetunsetOptional 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.