17-qxm/dsh-virtual-coding-plan ↗★ 3
dsh-virtual-coding-plan
A local, simulated (virtual) coding plan for DeepSeek Harness: tracks spend in CNY against rolling and weekly caps, refuses requests when a cap is reached, and shows a plan strip under the composer. 适合需要本地监控CNY消费额度、设置滚动和周限额以防超支的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:17-qxm/dsh-virtual-coding-planREADME
Read the full README ↗配置
写在 cordis.patch.yml 的 row config 里:
| 键 | 默认 | 说明 |
|---|---|---|
preset | simulated | presets/.json |
planFile | 空 | 绝对路径,优先于 preset;指向自定义计划文件 |
enforcement | block | block / warn / off,仅首次启动的默认值,之后以账本里保存的为准 |
ledgerFile | ~/.dsh/.dshvcp-ledger.json | 账本路径 |