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能够检索过去会话笔记和历史记录的用户。
同名パッケージの別リポジトリ
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:r-ayin/dsh-context-budgetドキュメント
README 全文を読む ↗配置(loader config)
enabled(true) / injectBudgetLine(true) / reminderRemainingPct(30) / maxSearchHits(20) / notesDir(默认 ~/.dsh/context-budget/notes)