xraywu/dsh-service-monitor ↗★ 0
dsh-service-monitor
DeepSeek Harness 第三方服务余额监控插件:选择服务、录入 API Key、按 1/5/10/30 分钟定时查询剩余额度,提供主面板看板与侧边栏状态图标。只收录有余额查询接口的服务(Tavily、博查、Firecrawl、SerpAPI、TinyFish)。Third-party service balance monitor for DeepSeek Harness: pick services, enter API keys, refresh quota on a 1/5/10/30-minute schedule, with a main dashboard panel and a sidebar status icon. Only services with a real balance API are included (Tavily, Bocha, Firecrawl, SerpAPI, TinyFish). 适合使用 Tavily、博查等第三方服务并需监控额度的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xraywu/dsh-service-monitor使用
- 打开看板(侧边栏图标,或「设置 → 服务余额监控」)。
- 在卡片上点「填写密钥」,粘贴对应服务的 API Key,回车或点保存。
- 用卡片右上角的开关启用 / 停用服务,用看板顶部的分段控件选择刷新间隔。
- 点「立即刷新」可随时查询;卡片会显示剩余额度、总量、进度条、套餐、耗时。
额度低于 15% 转黄、为 0 转红,并在侧边栏图标的角标上体现。
配置
插件的 cordis.patch.yml 只提供首次启动的默认值;之后用户在面板里的改动写在上面那个状态文件里,不会回写 profile,因此升级插件不会丢配置。
- insert:
- id: service-monitor
name: dsh-service-monitor
config:
intervalMinutes: 10 # 1 | 5 | 10 | 30,其它值回落 10
services: [tavily, bocha, firecrawl, serpapi, tinyfish]
autoRefresh: true
trustedHosts: [] # 额外允许的 Host 头(反代场景)