dshbase

插件目录 / Developer / dsh-llm-guardian

dsh-llm-guardian

未验证 ice-kele

✓ 持续维护 基于 5 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
语言
2026-08-22最近推送
跨平台平台

功能简介

Provider health, quota, account usage, and local model usage statistics for DeepSeek Harness

我们的评价
未验证 — 尚未实测

Provider health, quota, account usage, and local model usage statistics for DeepSeek Harness 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

DSH LLM Guardian

简体中文 | English

dsh-llm-guardian is a community plugin for DeepSeek Harness. It adds provider health checks, local token quotas, and provider-scoped account or plan usage queries to the Models settings page without storing API keys in the plugin settings.

Provider cards

The plugin contributes a health-test action, a model-usage action, and a compact status summary to every configured provider card.

Provider health and usage controls

Local usage dashboard

The optional dashboard aggregates local session logs into 7, 30, or 90-day views. It includes model filtering, summary metrics, an activity heatmap, a responsive daily token chart, model share, and detailed hover values.

Local model usage dashboard

Features

  • Periodic and on-demand provider health checks.
  • Local token counters and optional request blocking after a configured quota is reached.
  • Provider-scoped account or plan usage queries with explicit timeout and refresh controls.
  • Built-in query adapters for DeepSeek balance and Z.AI Coding Plan quotas.
  • Local session-log statistics with model filtering, activity heatmap, daily token trends, and model share.
  • Secret redaction, response-size limits, and same-origin restrictions for custom usage queries.

Install from GitHub

dsh plugin add github:ice-kele/dsh-llm-guardian

Restart DeepSeek Harness or DSH Desktop after installation. The provider controls appear under Settings → Models.

Compatibility

The plugin prefers the typed settings.models.provider.action and settings.models.provider.summary slots. A compatibility adapter is included for current DSH releases that do not expose those slots yet. The proposed upstream slot patch is tracked separately so the DOM compatibility adapter can be removed after the extension points are available.

Privacy and network behavior

  • API keys are resolved through the DSH credentials service and are not persisted by this plugin.
  • Health checks call the configured provider model-discovery endpoint.
  • Usage queries are limited to HTTPS endpoints on the provider origin; loopback HTTP is allowed for local providers.
  • Local counters and query results are stored in the llm-guardian settings namespace.
  • Dashboard statistics are computed locally from DSH session logs and are not uploaded by this plugin.

Plugin marketplace

This project is designed as an ordinary composable DSH plugin and uses no Electron-only API. If DSH Desktop does not bundle or directly reference it, we would appreciate the project being considered for the forthcoming plugin marketplace. Add the repository topic dsh-plugin to keep ecosystem discovery machine-readable.

Development

npm install
npm run check
npm pack --dry-run

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-llm-guardian」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:ice-kele/dsh-llm-guardian

Headless(CLI)profile:

dsh plugin --profile headless add github:ice-kele/dsh-llm-guardian

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending · 最近测试 2026-08-26 · 标记 webonly
备注:验证: web-only;待 L4 web CDP;L4 web CDP runtime-fail on dsh 0.1.0-rc.8. 浏览全部待验证失败 →
安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7789 个插件 →