zhqowo/dsh-whale-tray0

dsh-whale-tray

🐳 大肥鱼 — DeepSeek Harness (dsh) launcher: a Windows tray app and a macOS menu-bar app to start/stop the dsh service, summon the web UI, restart and top up — independent of the dsh process. Ships the compiled desktop apps from Releases.

包名
dsh-whale-tray
版本
1.0.0
许可证
MIT
最近更新
2026年9月11日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhqowo/dsh-whale-tray

⚙️ 配置(可选,两个平台都支持)

不配置也能用 —— 默认值就是给标准 DeepSeek + dsh 环境准备的。

「充值」写死指向 DeepSeek?我怎么改成别的?

菜单里的充值默认打开 https://platform.deepseek.com/usage。 但本启动器只管开关 dsh 服务,跟模型供应商无关 —— 你完全可以用别家的模型。

放一个 JSON 配置文件就能改,不用重新编译:

平台路径 macOS~/.config/dsh-whale-tray/config.json Windows%APPDATA%\dsh-whale-tray\config.json

也可以用环境变量 DSH_WHALE_TRAY_CONFIG 指定任意路径(两平台通用)。

{
  // 充值/账单要打开的页面
  "billingUrl":   "https://your-provider.example/billing",
  // 菜单里那一项显示什么字(默认「充值」)
  "billingLabel": "账单",

  // 仅 Windows:你的 dsh 装在哪儿
  // 留空则自动探测 D:\DeepSeekHarness,再退回 %USERPROFILE%\DeepSeekHarness
  "dshHome":      "C:\\DeepSeekHarness"
}
默认值作用
billingUrlhttps://platform.deepseek.com/usage充值项打开的网址
billingLabel充值充值项的显示文字
dshHome自动探测仅 Windows:dsh 安装根目录
  • 所有键都是可选的,给几个生效几个
  • 文件不存在 / JSON 写错 / 类型不对 → 静默回退默认值,绝不让托盘或菜单栏起不来
  • 命令行 macos/dsh-ctl.sh billing 读同一个文件
  • 不支持 JSON 注释 —— 上面只是为了标注才写成 jsonc