Skip to content

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

docs: mark dsh compatibility hardcodes

hairyfae7548c6cada
diff --git a/src-tauri/src/service/workflow/client_hmr_patch.rs b/src-tauri/src/service/workflow/client_hmr_patch.rs
index f679ad32..001ec556 100644
--- a/src-tauri/src/service/workflow/client_hmr_patch.rs
+++ b/src-tauri/src/service/workflow/client_hmr_patch.rs
@@ -11,6 +11,7 @@ use std::path::PathBuf;
use crate::config;
use crate::service::core::{active_source, local_core_package_dir, CoreSource};
+// HARDCODE:以下锚点绑定内置 DSH 0.1.1-rc.2 的 client-HMR bundle;仅 debug 生效。
const PATCH_MARKER: &str = "dsh-tauri-desktop: debug client plugin reload fallback";
const ORIGINAL: &str = r#"case "rebuilt":
queue = queue.then(() => reload(frame.id)).catch((error) => {
diff --git a/src-tauri/src/service/workflow/workspace_patch.rs b/src-tauri/src/service/workflow/workspace_patch.rs
index de62b47e..30b3d864 100644
--- a/src-tauri/src/service/workflow/workspace_patch.rs
+++ b/src-tauri/src/service/workflow/workspace_patch.rs
@@ -11,6 +11,7 @@ use std::path::PathBuf;
use crate::config;
use crate::service::core::{active_source, local_core_package_dir, CoreSource};
+// HARDCODE:以下锚点绑定内置 DSH 0.1.1-rc.2 的压缩后源码;锚点变化时安全跳过并告警。
const PATCH_MARKER: &str = "dsh-tauri-worktree: relaxed explicit workspace membership";
const GETTER_ORIGINAL: &str =
"return this.record.sessionIds.filter((id) => this.host.sessionPath(id) === this.record.path);";