Skip to content

DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.

feat(preset): 新增推荐预设 DSH Bridge,dsh-im 新核心代改钉 latest

hairyfa12822f75b05
diff --git a/README.en.md b/README.en.md
index ae81754a..efeacf1a 100644
--- a/README.en.md
+++ b/README.en.md
@@ -57,6 +57,7 @@ Plugins offered in the first-run wizard; select what you need and install on dem
- [DSH Market](https://github.com/dsh-market/dsh-market) — browse, search, and one-click install community plugins (Recommended)
- [DSH Better Sidebar](https://github.com/omdsh-dev/DSH-better-sidebar) — a VSCode-like right sidebar, isolated per session (Recommended)
- [DSH Rewind](https://github.com/SiriLee/dsh-rewind) — in-window conversation rewind that never forks a new session, plus a lightweight workspace backup that restores files along with the rewind (Recommended)
+- [DSH Bridge](https://github.com/wenbin-wb/dsh-bridge) — LAN QR-code connect, Cloudflare and self-hosted public tunnels, plus WeChat / QQ / Feishu / Telegram bot conversations so you can keep working on your local Harness from anywhere; includes built-in access authentication and tamper safeguards (Recommended)
- [DSH-IM](https://github.com/xmanrui/dsh-im) — connect WeChat, Feishu, DingTalk, WeCom, QQ, Slack, Telegram, Discord, WhatsApp, iMessage and more to your local Harness, managed from an "IM" sidebar panel (Recommended)
> The preset list is maintained by the desktop project. To request a new or updated preset, open an issue in [deepseek-harness-desktop](https://github.com/dsh-tauri/deepseek-harness-desktop/issues).
diff --git a/README.md b/README.md
index e2b51739..f3b299f6 100644
--- a/README.md
+++ b/README.md
@@ -52,6 +52,7 @@
- [DSH Market](https://github.com/dsh-market/dsh-market) — 浏览、搜索并一键安装社区插件(推荐)
- [DSH Better Sidebar](https://github.com/omdsh-dev/DSH-better-sidebar) — 类 VSCode 右侧栏,按会话隔离(推荐)
- [DSH Rewind](https://github.com/SiriLee/dsh-rewind) — 同窗口内对话回退,从不新建会话分支;自带轻量工作区备份,回退时可一并还原文件(推荐)
+- [DSH Bridge](https://github.com/wenbin-wb/dsh-bridge) — 手机扫码局域网直连、Cloudflare 与自建公网隧道,以及微信 / QQ / 飞书 / Telegram 机器人对话,人不在电脑前也能接着用本机 Harness;内置访问安全认证与防篡改守护(推荐)
- [DSH-IM](https://github.com/xmanrui/dsh-im) — 让微信、飞书、钉钉、企业微信、QQ、Slack、Telegram、Discord、WhatsApp、iMessage 等渠道接入本机 Harness,并在左侧栏「IM」面板中统一管理(推荐)
> 预设插件清单由桌面端维护。为避免不稳定的预设插件导致软件异常,如需新增或更新预设,请在 [deepseek-harness-desktop/issues](https://github.com/dsh-tauri/deepseek-harness-desktop/issues) 提起请求。
diff --git a/src-tauri/resources/manifest.jsonc b/src-tauri/resources/manifest.jsonc
index f5317c16..2a0f2a5f 100644
--- a/src-tauri/resources/manifest.jsonc
+++ b/src-tauri/resources/manifest.jsonc
@@ -195,6 +195,16 @@
}
]
},
+ {
+ "id": "@wenbin_wb/dsh-bridge",
+ "spec": "@wenbin_wb/dsh-bridge",
+ "name": "DSH Bridge",
+ "description": "Remote access and security guard for a local DeepSeek Harness: LAN QR-code connect, Cloudflare or self-hosted public tunnels, and full-lifecycle WeChat / QQ / Feishu / Telegram bot conversations, with built-in access authentication and tamper safeguards.",
+ "repo": "https://github.com/wenbin-wb/dsh-bridge",
+ "recommended": true,
+ "checked": false,
+ "version": "latest"
+ },
{
"id": "@xmanrui/dsh-im",
"spec": "@xmanrui/dsh-im",
@@ -209,7 +219,7 @@
"dsh": "^0.1.5-rc.1"
},
{
- "version": "^4.28.0",
+ "version": "latest",
"dsh": "^0.1.7-rc.1"
}
]
diff --git a/src-tauri/src/service/plugin/preset.rs b/src-tauri/src/service/plugin/preset.rs
index 9e90ed18..de528743 100644
--- a/src-tauri/src/service/plugin/preset.rs
+++ b/src-tauri/src/service/plugin/preset.rs
@@ -602,7 +602,7 @@ mod tests {
#[test]
fn preset_manifest_declares_version_matrix_per_core() {
let presets = load_presets_for_test();
- let expected: [(&str, PluginVersion); 4] = [
+ let expected: [(&str, PluginVersion); 5] = [
("dshmarket", PluginVersion::Declared("latest".into())),
(
"dsh-better-sidebar",
@@ -615,9 +615,13 @@ mod tests {
("^0.14.0-beta.1", "^0.1.7-rc.1"),
]),
),
+ (
+ "@wenbin_wb/dsh-bridge",
+ PluginVersion::Declared("latest".into()),
+ ),
(
"@xmanrui/dsh-im",
- matrix(&[("^4.25.0", "^0.1.5-rc.1"), ("^4.28.0", "^0.1.7-rc.1")]),
+ matrix(&[("^4.25.0", "^0.1.5-rc.1"), ("latest", "^0.1.7-rc.1")]),
),
];
assert_eq!(presets.len(), expected.len());
@@ -693,6 +697,9 @@ mod tests {
/// 回归:核心换代后,落在**上一代**推荐区间的已装插件必须退役,由安装流程按当前
/// 那一代区间钉版本重装(核心 0.1.7-rc.1 上装着的 0.19.x 属于 `^0.1.5-rc.1` 一代);
/// 已经装成当前那一代的版本则必须保留。
+ ///
+ /// dsh-im 当前代声明 `latest`:字符串声明没有下界语义,判定恒为「不过期」,因此
+ /// 这一代不再退役旧版本(升级交由插件面板与 registry 解析)。
#[test]
fn covered_core_retires_previous_generation_preset() {
for (id, core, installed, retire) in [
@@ -700,7 +707,7 @@ mod tests {
("dsh-better-sidebar", "0.1.7-rc.1", "0.21.3", false),
("dsh-rewind-plugin", "0.1.7-rc.1", "0.12.2", true),
("dsh-rewind-plugin", "0.1.7-rc.1", "0.14.0", false),
- ("@xmanrui/dsh-im", "0.1.7-rc.1", "4.26.0", true),
+ ("@xmanrui/dsh-im", "0.1.7-rc.1", "4.26.0", false),
("@xmanrui/dsh-im", "0.1.7-rc.1", "4.28.1", false),
("dsh-better-sidebar", "0.1.5-rc.3", "0.19.1", false),
] {
diff --git a/test/preinstall-uncheck.test.ts b/test/preinstall-uncheck.test.ts
index 2ddfe438..e917cd2f 100644
--- a/test/preinstall-uncheck.test.ts
+++ b/test/preinstall-uncheck.test.ts
@@ -56,12 +56,15 @@ describe('unchecked preset suppresses first-run preselection', () => {
expect(source.indexOf('p.defaultUnchecked')).toBeLessThan(source.indexOf('p.recommended || p.fix'))
})
- it('declares the DSH IM preset as recommended but not pre-checked', () => {
- const im = readManifest().plugins.preset.find(p => p.id === '@xmanrui/dsh-im')
- expect(im).toBeDefined()
- expect(im?.recommended).toBe(true)
- // 资源清单是唯一真值:Rust 侧据此派生 defaultUnchecked(checked === false)
- expect(im?.checked).toBe(false)
+ it('declares DSH Bridge and DSH IM as recommended but not pre-checked', () => {
+ const preset = readManifest().plugins.preset
+ for (const id of ['@wenbin_wb/dsh-bridge', '@xmanrui/dsh-im']) {
+ const entry = preset.find(p => p.id === id)
+ expect(entry, id).toBeDefined()
+ expect(entry?.recommended, id).toBe(true)
+ // 资源清单是唯一真值:Rust 侧据此派生 defaultUnchecked(checked === false)
+ expect(entry?.checked, id).toBe(false)
+ }
})
})