Taylor-Cat/dsh-macos-desktop

dsh-macos-desktop 把 DSH 的 Web 界面变成一个 macOS 桌面:左侧桌面(多窗口/文件/回收站/便签/Spotlight/天气/深色模式)+ 右侧原生对话(主题化),内置终端、文档(Word/PDF/PPT)、浏览器、知识库、番茄钟、截图、AI 生图与「用 AI 看图」,通过官方 shell.overlay 挂载、卸载即恢复

Project Overview项目介绍

dsh-macos-desktop is a native plugin built exclusively for the DeepSeek Harness (DSH) web client. It adds a macOS-style desktop overlay to the official DSH web interface without replacing any core official functionality, leveraging DSH’s official shell.overlay extension slot to insert the custom overlay on top of the official chat interface. The layout splits the screen into two sections: a full macOS-style desktop with wallpaper, icons, and a multi-window system on the left, and the themed official DSH chat interface on the right, complete with a full-width top menu bar and a floating bottom Dock.

The plugin brings a familiar desktop interaction model to DSH, letting users work with files, terminals, documents, and AI chats all on the same screen without switching contexts. All core DSH functionality is preserved, and users can switch back to the original official interface with one click. Uninstalling the plugin fully restores the original DSH interface, and it is implemented entirely in front-end JavaScript with no native modules or build steps required, working across Windows, macOS, and Linux.

Before installing the plugin, you need to have Node.js version 22.19.0 or higher, npm version 9 or higher, and a recent version of pnpm installed on your system. It supports four installation methods: local directory, tgz archive, GitHub repository, and linked development mode, and also includes standard commands for updating, listing, and uninstalling the plugin. It is released under the open-source MIT license, and after installation you just need to restart DSH web and refresh your browser page to start using it.

这是一款专为 DeepSeek Harness (DSH) Web 端打造的原生插件,它将 DSH 的官方网页界面改造为带有复古情怀和现代 macOS 质感的桌面系统。它不替换官方界面,而是通过 DSH 官方 shell.overlay 槽位,在官方对话之上叠加一整块桌面:左侧是带壁纸、图标的 macOS 风格桌面,右侧是主题化后的原生 DSH 对话界面,顶部有全屏菜单栏、底部有悬浮 Dock。

它支持多窗口管理、文件操作、终端调用、文档编辑、AI 能力整合等全流程同屏协作,沿用用户熟悉的桌面交互心智模型,同时完整保留官方 DSH 的所有核心功能,用户可一键切回原始界面,卸载插件后也能恢复官方界面原样。它采用纯前端 JavaScript 实现,没有原生模块,也无需构建步骤,在 Windows、macOS、Linux 全平台都能正常运行。

安装前需要先准备好 Node.js ≥ 22.19.0、npm ≥ 9 和较新版本的 pnpm,再通过 DSH 的插件命令安装,支持本地目录、tgz 包、GitHub 仓库和链接开发四种安装方式,也支持更新、查看和卸载操作。它采用 MIT 许可开源,安装后重启 DSH Web 并刷新页面即可使用,多数常用社区插件也能和它兼容协同工作。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 2 warnings2 项注意
  • Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
  • Desktop client: installation downloads an executable - verify the publisher and checksums桌面客户端:安装会下载可执行文件,请核对发布者与校验和
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add "@dsh-external/dsh-vision-toolkit"

把 Taylor-Cat/dsh-macos-desktop 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-macos-desktop

把 DeepSeek Harness (DSH) 的 Web 界面改造成一个 复古情怀 + 现代 macOS(Big Sur / Sonoma)质感 的桌面系统。它不替换官方界面,而是通过 DSH 官方 shell.overlay 槽位,在官方对话之上叠加一整块桌面:

  • 左侧 = macOS 桌面(壁纸 / 图标 / 多窗口系统);
  • 右侧 = DSH 原生对话界面(CSS 主题化成 macOS 浅色/深色风,功能全保留);
  • 顶部菜单栏横跨全屏(时钟 / 天气 / 迷你日历 / Spotlight),底部 Dock 悬浮(分组 + 运行指示点 + 角标),中间可拖动分隔条。

一句话:把 DSH 装进一台「Mac」——文件、终端、文档、浏览器、知识库、便签、番茄钟、截图、AI 生图、AI 看图,都在同一个窗口系统里完成,同时官方对话能力一个不丢。

为什么做它

  • 想让 DSH 用起来像一台「电脑」而不是一个聊天框:桌面图标、窗口、Dock、菜单栏、回收站这些熟悉的心智模型,让文件/终端/文档/对话能同屏协作。
  • 官方 UI 功能一个不丢:右侧就是原生对话(实时 mux 流、工具轨迹、token 用量、权限、模型切换),只是被主题化;菜单栏「DSH ▸ 显示原始界面」一键切回,卸载插件后界面原样恢复。
  • 纯前端 + 纯 JS 实现,无原生模块、无构建步骤;Windows / macOS / Linux 全兼容。

核心特性速览

类别 能力
桌面 左右分栏 + 毛玻璃、多窗口、Aero Snap 边缘吸附、Spotlight 搜索(⌘K)、迷你日历、天气、深色模式、开机蓝鲸动画
文件 隔离的 desktop/ 目录、回收站、便签(位置持久化)、拖拽上传、右键菜单(复制路径 / 设为壁纸 / 用 AI)
应用 终端(Win powershell/cmd + POSIX PTY)、多标签浏览器、文档办公(docx/pdf/pptx + 富文本)、知识库、计算器、番茄钟
AI 原生对话、用 AI 看图(modlens)、截图→自动看图→发给 AI、@知识库引用、AI 生图(DashScope 通义万相)、进度条 + Token 组件

快速开始

# 安装(发布到 GitHub 后)
dsh plugin --profile web add github:你的用户名/dsh-macos-desktop
# 或本地开发(改代码重启即生效)
dsh plugin --profile web add link:../dsh-macos-desktop

dsh web   # 重启后打开 http://127.0.0.1:3080,Ctrl/Cmd+Shift+R 硬刷新

详细安装方式、环境变量、验证步骤、安全边界见下文各节。


0. 这是什么 / 不是什么

是:一个符合 DSH 插件规范的 npm 包(dsh.bundle + dsh.client),宿主半侧跑在 DSH Node 进程里提供文件/终端/文档的 HTTP 面,浏览器半侧画出一整块复古桌面。

不是:不修改 DSH 框架源码;不引入 playwright/puppeteer/原生模块/构建步骤;不另起炉灶重写对话(对话复用官方 session 流)。


1. 前置环境

依赖 版本 说明
Node.js ≥ 22.19.0(本仓库在 v24.19.0 上验证过语法) DSH 0.1.x 要求 Node 22+
npm ≥ 9 随 Node 附带
pnpm 任意较新版本 dsh plugin 实际是转发给 pnpm

安装 DSH 并启动 Web(首次会自动初始化 web profile):

# 全局安装 DSH 启动器(如已安装可跳过)
npm install -g @deepseek-ai/dsh

# 启动 Web 界面(默认 http://127.0.0.1:3080)
dsh web

# 换端口启动
dsh web --port 8080

说明:dsh web 是 dsh --profile web 的别名。启动器自己的 flag 要写在最前面;--port 属于 web 应用,写在 web 之后。


2. 插件安装(以本机实际核实的 dsh plugin 子命令为准)

dsh plugin --profile <name> <pnpm 参数> 会在 profile 目录里把后面的参数原样转发给 pnpm,因此子命令就是 pnpm 的子命令。下面用绝对路径 <插件目录> 代指本仓库目录,例如 C:\Users\you\dsh-macos-desktop。

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-rp-composer 下一个 Next dsh-adb-ultimate →