dsh-web-desktop
开发工具 活跃维护

dsh-web-desktop

ningbonb/dsh-web-desktop

Electron构建的桌面启动工具,可将Web端配置档封装为独立桌面应用,无需打开浏览器即可快速调用对应配置,使用轻便快捷。

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

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.

Electron window started from the same Web profile

Benefits

  • One more way to work: keep the pnpm dsh web browser 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