你的 Mac、你的浏览器、你的手机 —— 一个 DSH

原生 macOS 与 Android 客户端、复用登录态的 Chrome 控制,以及不抢你鼠标的计算机使用能力。

最新版本 v0.1.68 · 14.0 MB · 全部平台与安装说明

macOS 14+ · Apple Silicon Android · Kotlin + Compose Chrome 120+ · Manifest V3 任意 DSH 实例
dsh-macapp / 参考这个站点 https://linear.app/ main

No existing script. So the "random unique app id" pattern is something the agent does ad hoc: modify Info.plist bundle id and install to a temp location. That implies the harness has no built-in way to run more than one instance.

Now screenshot capture. Let me check what CU returns and the Chrome bridge state.

Inspect CU output shape and Chrome status

tools-ptc

The CU screenshot works and the harness normalizes it to a path I can read. The image shows the DSH Mac app with the sidebar. Nice.

CU works. Now I need pixel-perfect files — checking the best capture path.

Check tooling for window screenshot capture

swift is available. Let me write a small Swift helper that lists windows (id, owner pid, name, bounds) using CGWindowListCopyWindowInfo, and prints JSON. Then I can pick the window and capture just that rect.

Build window lister to find window IDs

The window lister works. Note the user's app (pid 67414) window id 49316 at 1280x800, and a test instance pid 91280 (new, launched recently — ids 49784, 49777).

The window lister works. Capturing the Mac app window now.

Error: code run failed (exception): ToolCallError: cannot read "/Users/user/dshapp/dsh-site/static/img/shots/macos-app.png"

"could not create image from window" — Screen Recording permission may be missing for the process running bash, or window id changed. Let me check: the window list still shows the same id.

Check CU attachment resolution

1229x768 JPEG. That's the CU output resolution. Usable but soft for a hero image.

Test screen capture permission

Full-screen capture is blocked (TCC). So `screencapture` is unusable. I'll use CU's screenshots (which work) as the image source, via a Swift window-capture helper.

8 待处理 · 1 进行中 用双语文案搭建 Hugo 站点
还要突出开源、安全和审核这个特性,把所有的 GitHub 仓库仓库链接贴上去
完全访问 DeepSeek-V4.1-Flash
DSH macOS 原生应用:侧边栏会话列表、对话轨迹与输入区

DSH for macOS · 原生 SwiftUI,Apple Silicon 原生构建

在你的设备上原生运行

macOS 14+ · Apple Silicon Android · Kotlin + Compose Chrome 120+ · Manifest V3 任意 DSH 实例

macOS 原生

为 Mac 用户做的桌面端

不是套壳网页。窗口、侧边栏、菜单栏、快捷键全部走 macOS 原生规范,滚动手感和系统一致。

  • 丝滑:原生 SwiftUI 渲染与滚动,长会话轨迹也不掉帧。
  • 极速:Apple Silicon 原生构建,冷启动即用,长会话滚动依然稳。
  • 快捷键:新建会话、查找、会话切换、快捷键面板一应俱全,符合肌肉记忆。
  • Mac 习惯:遵循系统外观与辅助功能设置,尊重「减少动态效果」与高对比度。

Chrome 扩展与控制

复用你的 Chrome,帮你把网页上的活干完

Agent 直接操作你日常使用的那只 Chrome —— 同一个配置文件、同一批登录态、同一组已打开的标签页。不需要重新登录,也不需要另开一个干净浏览器。

  • 复用登录态:后台管理系统、内部工具、需要登录的页面都能直接上手。
  • 圈选元素:在页面上框出目标元素,连同它的选择器、文本与结构一起交给 Agent,比描述位置可靠得多。
  • 真实输入:点击与键盘走的是受信任事件,页面无法区分是人还是 Agent。
  • 随时切断:扩展弹窗里的「允许 Agent 控制」开关一关,控制立即中断。
在网页中圈选元素:高亮框与元素摘要气泡
Chrome 侧边栏中的 DSH 面板

扩展连上后,Agent 获得 27 个 mcp__chrome__* 工具。

文档

CU 能力

看得懂界面,也点得准控件

通过辅助功能树与截图理解当前界面,再用后台键鼠完成操作 —— 不需要把窗口抢到前台,也不碰你的鼠标指针。

  • 看得懂:辅助功能树给出结构与文本,截图补齐视觉信息。
  • 点得准:按控件定位而不是硬编码坐标,窗口挪位置也不失效。
  • 不抢前台:操作在后台投递,你可以继续用电脑做别的事。
  • 危险动作先确认:发送、删除、购买、发布这类不可逆操作,先说明再做。
通过计算机使用能力操作 macOS 应用

KimiCU 连接后注册为 mcp__cu__* 工具。

文档

现在就把 DSH 装到你的 Mac 上

原生应用、Chrome 扩展、手机端,装好即用。