dsh-web-desktop
为现有 DSH Web profile 提供 Electron 桌面启动器的插件,实现 Web 与桌面端共享相同的配置、插件、会话与模型设置。
AI 分析
核心用途是为 Web 配置无缝增加桌面客户端入口。适合既想保留浏览器访问,又想要一个独立、配置完全同步的桌面窗口的用户。
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ningbonb/dsh-web-desktop说明文档
阅读完整 README ↗dsh-web-desktop
dsh-web-desktop provides an Electron launcher for an existing Web profile.
It does not create or copy a profile. The launcher locates its bundled overlay and starts Electron with the same Web profile, plugin list, and configuration without modifying DSH core.

Benefits
- One more way to work: keep the
pnpm dsh webbrowser entry while adding a dedicated Electron window. - Web and desktop stay aligned: both entries use the same Web profile, installed plugins, sessions, model settings, and
cordis.patch.yml. - Non-invasive extension: install it only as a profile bundle and launcher; it changes no DeepSeek Harness core, agent loop, or Web UI code.
- Follow DSH updates: the launcher still starts the Web profile through the current local
pnpm dsh; after updating DeepSeek Harness, it reuses the updated Web implementation and installed plugins.
Install
Install it into the existing Web profile:
pnpm dsh plugin --profile web add dsh-web-desktop
DSH appends this bundle to the Web profile; it stays disabled during normal dsh web launches.
Run
pnpm dsh plugin --profile web exec dsh-web-desktop
pnpm dsh web continues to use the browser; the launcher command uses Electron. Both use the same Web profile.
pnpm dsh plugin --profile web exec dsh-web-desktop -- --port 8080
Arguments after -- are forwarded to the Web profile; the launcher always adds its overlay and --no-open.
Scope
This first release is a desktop mode bundle, not a native IPC client. The DSH Web Host continues to provide the existing HTTP and WebSocket carriers. Closing Electron leaves the Web Host running, just as closing a normal browser tab does. Electron must remain compatible with the active DeepSeek Harness installation.
Development
pnpm install
pnpm test
pnpm build
pnpm pack:check
License
MIT