跳到主要内容
Plugin

dsh-usage-guard

GooDAnDReaDY/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 包安装 · 安装无需配置

README 解析
shell
dsh plugin --profile web add @goodandready/dsh-usage-guard

安全能力

静态扫描源码得到的权限画像 —— 回答的是「它要动什么」,而不是「它好不好」

  • 执行命令
  • 读取文件
  • 访问网络
  • 读取环境变量

未发现已知红线(明文传输、安装期执行代码、凭据外传等)。

能力与红线来自 awesome-dsh-plugin 的静态扫描结果(CC0 公有领域),本站未逐行复核源码; 它只覆盖能被静态识别的模式,不等于安全审计结论。

为什么是这个分数

近 23 天内有提交;README 给出了可直接复制的安装命令;装完即可用,无需额外配置;近月 npm 下载 1506 次,star 不多但真在被使用。

维护活跃
86
实用度
54
生态热度
64
上手便捷
100
信号质量
100
数据置信度
85%
评分怎么算