SnowCrescenter-tech/dsh-desktop--packages-dsh-desktop-client ↗★ 6
@dsh-desktop/client
dsh-desktop 浏览器侧桌面桥接插件(随 desktop profile 加载进 dsh Web UI) 使用桌面版并需托盘命令或原生通知的开发者适用。
설치
검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗
@dsh-desktop/client
dsh-desktop 浏览器侧桌面桥接插件 —— 随 desktop profile 加载进 DeepSeek Harness 的 Web UI。
The desktop bridge plugin for dsh-desktop. It is loaded into the DeepSeek Harness Web UI by the desktop profile and bridges the native Electron shell with the web page.
What it does
- 原生 → Web:暴露托盘命令处理器(
show-about/reload),preload 在收到主进程广播时调用它路由命令。 - Web → 原生:暴露
notifyNative()助手(window.dshDesktopNotify),让页面能发送 Windows 原生通知。
本插件不注入任何视觉样式;在纯浏览器环境(无 window.dshDesktop)下优雅降级。
Install
This package is meant to be installed as a DeepSeek Harness plugin. Inside a DeepSeek Harness project, run:
dsh plugin add @dsh-desktop/client
It is a Cordis plugin that exposes name / inject / Config / apply and is loaded automatically by the desktop profile. You normally do not need to install it manually — the dsh-desktop app bundles it and mounts it with the desktop profile.
Development
npm run build # tsc → lib/
npm test # vitest
License
MIT