Skills Plugins MCP Prompt Model 导航 博客 资讯 我的中心

dsh-usage-quota

DeepSeek Harness web plugin for model usage, balance quota, and daily token display

yuuu0109 @yuuu0109 ⬇ 1 ★ 0 main

安装

dsh plugin --profile web add github:yuuu0109/dsh-usage-quota
下载安装清单

需要可复现安装时,可在仓库后追加 #commit 固定提交。

DeepSeek Harness web plugin for model usage, balance quota, and daily token display

该插件未提供要点说明,请参考仓库 README。

  1. 安装并启动 DeepSeek Harness:npx @deepseek-ai/dsh web
  2. 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
  3. 用 dsh plugins list 确认已安装,必要时重启 Harness 生效

插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。

代码仓库github.com/yuuu0109/dsh-usage-quota
许可证MIT
主要语言main
下载量1
GitHub 星标0
最近推送2026-08-20
收录日期2026-09-19
分类工具与能力

事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。

以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。

# dsh-usage-quota

A DeepSeek Harness Web plugin for model usage and balance queries, with a compact quota status above the sidebar Settings button and a durable daily token total.

[中文说明](README.zh.md)

## Features

- Adds a Usage Queries section to DSH settings.
- Lists models currently available from the Models settings.
- Supports the official DeepSeek `GET {baseURL}/user/balance` endpoint.
- Supports custom GET/POST queries with Bearer, custom-header, or no authentication.
- Includes generic OpenAI-compatible and New API presets; remaining values can use a direct JSON path or `total - used`.
- Maps used, remaining, total, and currency values from JSON paths.
- Supports `{{baseUrl}}`, `{{apiKey}}`, `{{model}}`, and `{{provider}}` variables with one-click insertion.
- Auto-refreshes every 1 to 1440 minutes.
- Switches token display between full numbers and compact K/M notation, persisted per browser.
- Rebuilds today's token count from persisted session events, so it survives page reloads and process restarts.

## Install

```sh
dsh plugin --profile web add @yuuu0109/dsh-usage-quota
```

Restart the `dsh web` process and refresh the browser.

## Update

```sh
dsh plugin --profile web update @yuuu0109/dsh-usage-quota
```

Restart `dsh web` and refresh the browser. If a configured npm mirror has not synced the latest version yet, use the official registry:

```sh
dsh plugin --profile web update @yuuu0109/dsh-usage-quota --registry=https://registry.npmjs.org/
```

pnpm 11 may delay newly published versions for 24 hours. To update immediately:

```sh
dsh plugin --profile web update @yuuu0109/dsh-usage-quota --config.minimumReleaseAge=0
```

## Install from source

```sh
git clone https://github.com/Yuuu0109/dsh-usage-quota.git
cd dsh-usage-quota
pnpm install
pnpm build
dsh plugin --profile web add .
```

## Uninstall

```sh
dsh plugin --profile web remove @yuuu0109/dsh-usage-quota
```

Restart `dsh web`.

## Development

```sh
pnpm typecheck
pnpm test
pnpm build
```

Compatibility is pinned to DeepSeek Harness `0.1.0-rc.8` and React 18.

This is an independent community plugin and is not part of the official DeepSeek Harness repository.

数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。