dsh-whale-btn
其他 活跃维护

dsh-whale-btn

hhj2714/dsh-whale-btn

桌面悬浮鲸鱼按钮:置顶可拖动,单击聚焦/打开 DeepSeek Harness 窗口 (DSH host plugin, macOS arm64)

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
Objective-C
主要语言
MIT
开源协议
19 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:hhj2714/dsh-whale-btn
git clone https://github.com/hhj2714/dsh-whale-btn.git
git clone git@github.com:hhj2714/dsh-whale-btn.git
README.md main

dsh-whale-btn 🐳 桌面悬浮鲸鱼按钮

DSH host 插件:在桌面显示一个置顶、可拖动、全桌面空间可见的 🐳 悬浮按钮。

⚠️ 平台限制:仅支持 macOS + Apple Silicon(arm64)(bin/whale-btn 为 arm64 原生二进制)。Intel Mac / Windows / Linux 不适用。

操作 行为
单击 聚焦已打开的 DeepSeek Harness 应用窗口;没开则启动它(不新开浏览器标签)
拖动 1:1 跟手移动
右键 退出鲸鱼(下次启动 dsh 时自动回来)

文件结构

dsh-whale-btn/
├── package.json          # dsh.bundle.patch 声明
├── cordis.patch.yml      # 向 Loader 插入 whale-btn 行
├── bin/whale-btn         # 编译好的原生悬浮窗程序(AppKit)
├── src/whale.m           # 源码;修改后重新编译到 bin/
└── lib/index.js          # host 半身:子进程生命周期管理

重新编译

clang -fobjc-arc -fno-modules -O2 -framework Cocoa -framework CoreServices \
  src/whale.m -o bin/whale-btn

安装 / 卸载

dsh plugin --profile web add https://github.com/hhj2714/dsh-whale-btn   # 安装
dsh plugin --profile web remove dsh-whale-btn                             # 卸载

安装后重启 dsh 生效。

License

MIT