DSH-Shell
其他 活跃维护

DSH-Shell

DuJunxi1993/DSH-Shell

Windows 版基于 Tauri,macOS 版基于 SwiftUI,将网页界面打包成各自平台的原生桌面应用,补齐系统窗口、菜单与快捷键等桌面交互体验。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
Swift
主要语言
None
开源协议
7.7 MB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:DuJunxi1993/DSH-Shell
git clone https://github.com/DuJunxi1993/DSH-Shell.git
git clone git@github.com:DuJunxi1993/DSH-Shell.git
README.md main

DSH Shell

Native desktop shells for the DeepSeek Harness
(dsh) web UI — a real window instead of a browser tab, and real ownership of
the dsh process behind it.

This repository holds two independent implementations of that idea:

Directory Platform Stack Docs
windows/ Windows 10+ Rust · Tauri 2 · WebView2 windows/README.md
macos/ macOS Swift · SwiftUI · WKWebView macos/README.md

They share the goal and nothing else. Neither wraps the other, they import no
code from each other, and each is built, tested and released on its own — so a
directory's own README is the one to read.

They do, however, have to agree about dsh. That agreement is written down
rather than left to drift:

Document What it is
docs/dsh-shell-contract.md The specification both implementations must satisfy: endpoint resolution, the stub-dsh fixture table, the preflight guards, PID ownership, configuration compatibility. Change a rule here and you change both sides, with a test on each.
docs/dsh-desktop-contract.md A measurement of what the dsh Web UI actually does when a desktop host declares itself, against real dsh@0.2.0-rc.2. Screenshots and raw JSON under docs/probe/. Produced by macos/tools/dsh-probe.

It changed the Windows shell's chrome strategy and it is the reason the macOS
shell's probe-adoption feature was removed rather than tuned.

Building

Windows (Rust and cargo-tauri):

cd windows\src-tauri
cargo test
cargo tauri build      # -> windows\src-tauri\target\release\bundle\{msi,nsis}

macOS (Xcode and Swift Package Manager): see
macos/README.md.

Releases

Git tags share a single namespace across the repository, so each implementation
prefixes its version with its platform:

  • windows-v0.1.0 — the Tauri shell.
  • v0.1.0, v0.1.2, … — the SwiftUI shell, which predates this layout and
    keeps its unprefixed tags.

Each release's notes name the implementation, and its installers are attached to
that release only.

License

MIT, per implementation — see windows/LICENSE and
macos/LICENSE. The two carry different copyright holders, so
there is deliberately no single top-level LICENSE.