其他
完整应用
deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
在 DeepSeek Harness Web UI 的会话标题栏右侧显示 DeepSeek 账户余额,每 60 秒自动刷新,点击可手动刷新。
GET /api/balance 路由(ctx.webServer),用 ctx.credentials 解析 DEEPSEEK_API_KEY 调 DeepSeek /user/balance;client 半在 conversation.session.header.utilities 插槽渲染余额组件https://api.deepseek.com,可用 DEEPSEEK_BASE_URL 环境变量覆盖# 安装到你的 profile(本插件声明了 dsh.bundle.patch,安装后自动挂载)
dsh plugin --profile web add @sky_sun/dsh-balance
# 或者直接 npm install 到 profile 目录
cd $env:USERPROFILE\.dsh\profiles\web
npm install @sky_sun/dsh-balance
安装后重启 dsh web,标题栏右侧即可看到余额。
| 字段 | 默认 | 说明 |
|---|---|---|
apiKeyEnv |
DEEPSEEK_API_KEY |
凭据引用(环境变量名),host 端解析 |
baseURL |
官方 API | 端点 base,省略时用 $DEEPSEEK_BASE_URL 或官方地址 |
在 profile 的 cordis.patch.yml 里可覆盖:
- id: ui-balance
config:
apiKeyEnv: DEEPSEEK_API_KEY
baseURL: https://api.deepseek.com
需要 DSH 的 host 提供:@deepseek-ai/dsh-host-webserver(web 服务器)、@deepseek-ai/dsh-credentials(凭据 seam)。web profile 均已内置。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。