Skip to content

dsh-balance v0.1.2

Latest

Choose a tag to compare

@Mystery-God Mystery-God released this 15 Aug 12:00
· 1 commit to main since this release

功能版 · Feature release

新增 API Key 填写入口:web profile 中 credentials 服务可能解析不到 DEEPSEEK_API_KEY,现在可以直接在「设置 → 插件 → 模型余额悬浮窗」页粘贴并保存 API key。

Adds an API key entry on the Plugins-settings page: the web profile's credentials seam may not resolve DEEPSEEK_API_KEY, so the key can now be entered and saved directly.

变更 · Changes

  • 🔑 设置页新增 Key 输入框(密码框、回车/按钮保存、一键清除)· password input + save/clear
  • 🛡️ Key 仅存于 ~/.dsh/balance/settings.json,接口只回传脱敏预览(如 sk-…7890)· masked responses, never echoes the key
  • ⚖️ 解析优先级:本插件保存的 Key > credentials 服务(env / .credentials.yaml / .env)· local key first, credentials fallback
  • 🧪 冒烟测试扩至 13 项 · smoke test extended to 13 checks

升级 · Upgrade

dsh plugin --profile web add github:Mystery-God/dsh-balance

附件 · Assets

  • linxin666-dsh-balance-0.1.2.tgz — npm 打包产物 · npm tarball