dsh-web-search-ddg
aooyoo
Zero-token DuckDuckGo search provider for the DeepSeek Harness (DSH) web seam — local headless browser, no API key, no m…
PROJECT TOPICS
PROJECT README
DeepSeek 账户额度与 Token 用量,一键接入 DeepSeek Harness 的 Web 设置界面。
Real-time DeepSeek account balance and per-session token usage for the DeepSeek Harness web UI, as a standalone installable plugin.

/user/balance 接口)tokenUsage 投影(与内置上下文计费器同一数据源),随会话实时更新安装后在 设置 → 额度 分区查看(Settings → Quota)。
dsh plugin --profile web add dsh-plugin-quota
安装完成后重启 dsh web(或重启桌面 App),在 设置 → 额度 中查看。
也可以直接从 GitHub 安装(等价,不经过 npm):
dsh plugin --profile web add github:ArvenWang/dsh-plugin-quota开发期安装本地副本:
dsh plugin --profile web add /path/to/dsh-plugin-quota
移除:
dsh plugin --profile web remove dsh-plugin-quota
GET /api/plugins/quota/balance。连接事实来自官方 DeepSeek 适配器使用的同一处配置——llm-deepseek settings 命名空间(模型页写入的 apiKeyEnv / baseURL)与凭据服务(credentials),无凭据服务时回退到环境变量。凭据只在宿主进程内用于该次请求,不落盘、不经过浏览器。settings.section 分区。额度卡片同源请求上面的路由;用量卡片经框架 useSessions 钩子读取当前会话的 tokenUsage 投影值。dsh.bundle 声明把自己作为一层组合补丁插入 profile;通过 dsh.client 声明进入 Web 浏览器 roster。零构建:index.js 与 client.js 均为可直接运行的纯 JS。>= 0.1.0-rc.5(Web profile)。DEEPSEEK_API_KEY 环境变量,或经 设置 → 模型 页配置)。未配置时分区会显示明确错误提示。/user/balance 路由,会显示 HTTP 错误信息。/api 网关,因此不引入新的信任面)。本插件零构建、零运行时依赖(peer 依赖为 harness 官方包):
npm test # 语法检查
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。