DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.
style: eslint --fix + STEP_KEY_OF 定义序(lint 0 error / 27 warning 全为上游既有)
Menghuan191859be2e84d4d7
diff --git a/packages/dsh-tauri-ssh-ui/src/client/components/machines-section.test.tsx b/packages/dsh-tauri-ssh-ui/src/client/components/machines-section.test.tsxindex 1866c787..0d76b04d 100644--- a/packages/dsh-tauri-ssh-ui/src/client/components/machines-section.test.tsx+++ b/packages/dsh-tauri-ssh-ui/src/client/components/machines-section.test.tsx@@ -9,7 +9,6 @@ import { en } from '../locales/index'import { MachinesStore } from '../store/index'import { MachinesSection } from './machines-section'-// dsh-tauri-ui/client 的 dist bundle 以 ModuleLoader 工厂包裹,脱离宿主加载器// 无法在 node 求值;mock 到同一 cssr 实例的源文件(与 dsh-tauri-panel 同款做法),// 组件渲染只消费 cls 字符串,不需要真实样式。diff --git a/packages/dsh-tauri-ssh-ui/src/client/components/sync-panel.test.tsx b/packages/dsh-tauri-ssh-ui/src/client/components/sync-panel.test.tsxindex c8e429bd..5ba7a98b 100644--- a/packages/dsh-tauri-ssh-ui/src/client/components/sync-panel.test.tsx+++ b/packages/dsh-tauri-ssh-ui/src/client/components/sync-panel.test.tsx@@ -8,7 +8,6 @@ import { en } from '../locales/index'import { MachinesStore } from '../store/index'import { SyncPanel } from './sync-panel'-// dsh-tauri-ui/client 的 dist bundle 以 ModuleLoader 工厂包裹,脱离宿主加载器// 无法在 node 求值;mock 到同一 cssr 实例的源文件(与 dsh-tauri-panel 同款做法),// 组件渲染只消费 cls 字符串,不需要真实样式。diff --git a/packages/dsh-tauri-ssh-ui/src/client/store/index.ts b/packages/dsh-tauri-ssh-ui/src/client/store/index.tsindex d726aaad..ee1c56f2 100644--- a/packages/dsh-tauri-ssh-ui/src/client/store/index.ts+++ b/packages/dsh-tauri-ssh-ui/src/client/store/index.ts@@ -9,8 +9,8 @@* @module dsh-tauri-ssh-ui/client/store*/-import type { MachineLifecycleState, SshMachineEvent, SyncApplyResult, SyncItemResult, SyncPreview } from '../types/index'import type { SshKey } from '../locales/index'+import type { MachineLifecycleState, SshMachineEvent, SyncApplyResult, SyncItemResult, SyncPreview } from '../types/index'import { SSH_API_PATH } from '../constants/index'import { isLifecycleState } from '../types/index'diff --git a/packages/dsh-tauri-ssh/src/host/routes/index.ts b/packages/dsh-tauri-ssh/src/host/routes/index.tsindex ee283dd4..f06e258e 100644--- a/packages/dsh-tauri-ssh/src/host/routes/index.ts+++ b/packages/dsh-tauri-ssh/src/host/routes/index.ts@@ -126,7 +126,7 @@ function shellCorsHeaders(origin: string | undefined): Record<string, string> {'access-control-allow-methods': 'POST, OPTIONS','access-control-allow-headers': 'content-type','access-control-max-age': '86400',- vary: 'Origin',+ 'vary': 'Origin',}}