dsh-usage-guard
规范化异常的 Token 用量样本,使损坏的会话历史仍可加载。
- 形态
- Plugin 插件
- 安装
- npm 包安装
- 需要密钥
- 否
- 近月下载
- 1,506
- 最近推送
- 23 天前更新
项目说明
From README
📦 @goodandready/dsh-usage-guard Session Token-Usage Sanitizer, History Crash Guard & Arithmetic Protection for DeepSeek Harness 🇬🇧 English • 🇷🇺 Русский • 🇨🇳 中文说明 ⭐ If you like this plugin, please star it on GitHub — it shows me that the plugin is useful to you and motivates me to keep developing it.
🐛 If you find a bug or would like to request a feature , open a GitHub issue in any language — I will review your proposal and implement useful suggestions in a future plugin version.
--- ⚡ The Root Problem: How Upstream Providers Poison Session History In DeepSeek Harness , session projections aggregate cumulative token usage across four core buckets: While DSH core guards cacheReadTokens and cacheWriteTokens with ??
0 , it takes inputTokens and outputTokens as raw numbers without safety checks .When third-party providers, local inference servers, custom proxy gateways, or community
Original description
Session token-usage sanitizer preventing chat history corruption from malformed provider metrics
安装方式
npm 包安装 · 安装无需配置
dsh plugin --profile web add @goodandready/dsh-usage-guard安全能力
静态扫描源码得到的权限画像 —— 回答的是「它要动什么」,而不是「它好不好」
- 执行命令
- 读取文件
- 访问网络
- 读取环境变量
未发现已知红线(明文传输、安装期执行代码、凭据外传等)。
能力与红线来自 awesome-dsh-plugin 的静态扫描结果(CC0 公有领域),本站未逐行复核源码; 它只覆盖能被静态识别的模式,不等于安全审计结论。
为什么是这个分数
近 23 天内有提交;README 给出了可直接复制的安装命令;装完即可用,无需额外配置;近月 npm 下载 1506 次,star 不多但真在被使用。
- 维护活跃
- 86
- 实用度
- 54
- 生态热度
- 64
- 上手便捷
- 100
- 信号质量
- 100
- 数据置信度
- 85%
相关插件
dsh-goal
GooDAnDReaDY/dsh-goal
DeepSeek Harness 的目标模式与自主执行插件:顶部吸附横幅在每轮对话中保持当前目标可见,同时 Agent 自主推进完成目标。
dsh-live-canvas
GooDAnDReaDY/dsh-live-canvas
在隔离的 iframe 沙箱中实时渲染 Agent 生成的 HTML、React (JSX/TSX)、Vue、SVG、Mermaid 和 Markdown,支持 SSE 热重载,并提供 DOM 点击检查器、并排视觉对比、响应式设备矩阵和一键 Vite ZIP 导出。
dsh-grok-xsearch
GooDAnDReaDY/dsh-grok-xsearch
为 DeepSeek Harness 增加用于 X/Twitter 搜索的 x_search 工具,通过独立的 SuperGrok OAuth 账号鉴权,不占用会话所用提供方的配额。