r-ayin/dsh-context-budget ↗★ 0

dsh-context-budget

Ports the Codex CLI TokenBudget mechanism to dsh: remaining-context awareness, archive rollover, and notes/history retrieval tools for past sessions. 适合需要监控Token余量,并让AI能够检索过去会话笔记和历史记录的用户。

Package
dsh-context-budget
Compatibility
Unverified
Harness peer range
>=0.0.1-rc <2
Version
0.0.1
License
MIT
Last updated
Oct 15, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:r-ayin/dsh-context-budget

配置(loader config)

enabled(true) / injectBudgetLine(true) / reminderRemainingPct(30) / maxSearchHits(20) / notesDir(默认 ~/.dsh/context-budget/notes)