DSH Agent 纪律卫士:在 harness 边界强制四道闸门(循环熔断、Token 成本熔断、路由切换警示、计划审批卡),模型无法用文字绕过;🛡 芯片一键解除,daily 档对有缓存路由零打扰,把无缓存失控从每回合数百万 token 封顶到约 50 万。
- 许可证
- MIT
- 收录日期
- 2026-08-30
GitHub 信息
- 许可证
- MIT
- 主要语言
- JavaScript
- 最近推送
- 2026年8月29日 20:46
- 维护者
- haozheou
- 收录日期
- 2026-08-30
README 演示图
从仓库 README 提取的截图/GIF(已过滤徽章、头像等装饰图)。

Header chip
https://raw.githubusercontent.com/haozheou/dsh-discipline-guard/main/docs/screenshots/01-header-chip.png

Settings menu
https://raw.githubusercontent.com/haozheou/dsh-discipline-guard/main/docs/screenshots/02-settings-menu.png

Settings detail
https://raw.githubusercontent.com/haozheou/dsh-discipline-guard/main/docs/screenshots/03-settings-detail.png
安装
dsh plugin --profile web add "https://github.com/haozheou/dsh-discipline-guard/releases/download/v1.0.0/dsh-discipline-guard-1.0.0.tgz"README 徽章
将这段 Markdown 添加到插件 README,链接到对应的详情页。
[](https://dshget.com/plugins/haozheou/dsh-discipline-guard)相关插件
用量与计费dsh-context
★ 1176DSH 上下文洞察面板:Context 仪表盘 + /context命令 + Context 浏览器,查看 Context的分类组成、内容详情、演进趋势、压缩/注入事件、统计等一站式 Context 全生命周期管理。
dsh-cost-meter
★ 224会话与当日 API 费用统计、预算图框(已用%)、官方余额、历史看板,支持峰谷计价与官方价格一键同步。
TokenLedger
★ 189侧边栏用量面板:把 Token 归属到实际服务该请求的中转站,站点从已有的 provider 配置中读出,无需额外配置;含今日/本月/累计三窗口、按站点与模型下钻、一年活跃度热力图,以及 New API / Sub2API / DeepSeek 余额。