Skip to content

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

chore(ssh): 清理 @module 文档标签与测试夹具里残留的 dsh-tauri-ssh-ui 名称

hairyf2e8e25a6d90a
diff --git a/packages/dsh-tauri-ssh/src/client/components/ssh-section.tsx b/packages/dsh-tauri-ssh/src/client/components/ssh-section.tsx
index abc7c395..be72711f 100644
--- a/packages/dsh-tauri-ssh/src/client/components/ssh-section.tsx
+++ b/packages/dsh-tauri-ssh/src/client/components/ssh-section.tsx
@@ -4,7 +4,7 @@
* renders only the enable hero — no machine list, no sync surface, and no
* connection work on the host. Switching it on reveals the `SSH machines` and
* `Sync to remote` tabs; the desktop shell deep link picks the tab.
- * @module dsh-tauri-ssh-ui/client/components/ssh-section
+ * @module dsh-tauri-ssh/client/components/ssh-section
*/
import type { ReactNode } from 'react'
diff --git a/packages/dsh-tauri-ssh/src/client/components/sync-panel.test.tsx b/packages/dsh-tauri-ssh/src/client/components/sync-panel.test.tsx
index 388039b6..64a4bf8c 100644
--- a/packages/dsh-tauri-ssh/src/client/components/sync-panel.test.tsx
+++ b/packages/dsh-tauri-ssh/src/client/components/sync-panel.test.tsx
@@ -124,12 +124,12 @@ describe('syncPanel', () => {
const store = connectedStore(routeFetch({ 'machine.list': { items: [] } }))
store.store.update((state) => {
state.sync.applying = true
- state.statuses = { a: { state: 'connected', progress: { phase: 'syncing', attempt: 3, total: 5, item: 'dsh-tauri-ssh-ui' } } }
+ state.statuses = { a: { state: 'connected', progress: { phase: 'syncing', attempt: 3, total: 5, item: 'dsh-tauri-pet' } } }
})
render(<SyncPanel store={store} t={t} />)
await waitFor(() => expect(screen.getByTestId('sync-progress')).toBeTruthy())
expect(screen.getByTestId('sync-progress').textContent).toContain('3/5')
- expect(screen.getByTestId('sync-progress').textContent).toContain('dsh-tauri-ssh-ui')
+ expect(screen.getByTestId('sync-progress').textContent).toContain('dsh-tauri-pet')
// 3/5 起跑(已完成 2 项)→ 进度条 40%
const fill = screen.getByTestId('sync-progress').querySelector('[class*="sync-bar-fill"]') as HTMLElement
expect(fill.style.width).toBe('40%')
diff --git a/packages/dsh-tauri-ssh/src/client/components/sync-panel.tsx b/packages/dsh-tauri-ssh/src/client/components/sync-panel.tsx
index 26f6b959..b9cfe3e5 100644
--- a/packages/dsh-tauri-ssh/src/client/components/sync-panel.tsx
+++ b/packages/dsh-tauri-ssh/src/client/components/sync-panel.tsx
@@ -9,7 +9,7 @@
* across runs so a retry keeps the earlier batch visible. All domain state
* lives in the injected {@link MachinesStore}; only the selection and the
* target are local.
- * @module dsh-tauri-ssh-ui/client/components/sync-panel
+ * @module dsh-tauri-ssh/client/components/sync-panel
*/
import type { ReactNode } from 'react'
diff --git a/packages/dsh-tauri-ssh/src/client/constants/index.ts b/packages/dsh-tauri-ssh/src/client/constants/index.ts
index 78c9f3b1..b8ce085c 100644
--- a/packages/dsh-tauri-ssh/src/client/constants/index.ts
+++ b/packages/dsh-tauri-ssh/src/client/constants/index.ts
@@ -2,7 +2,7 @@
* Shared client constants of the SSH-machines settings page: the settings
* slot protocol identifiers, the locale namespace, and the same-origin API
* route the host half (`dsh-tauri-ssh`) mounts.
- * @module dsh-tauri-ssh-ui/client/constants
+ * @module dsh-tauri-ssh/client/constants
*/
/** Dictionary namespace owned by this plugin. */
diff --git a/packages/dsh-tauri-ssh/src/client/index.ts b/packages/dsh-tauri-ssh/src/client/index.ts
index 30492b7f..44c6feee 100644
--- a/packages/dsh-tauri-ssh/src/client/index.ts
+++ b/packages/dsh-tauri-ssh/src/client/index.ts
@@ -7,7 +7,7 @@
* through the host plugin's /api-ssh route). The css-render style tree mounts
* once here via ctx.effect (unmounts with the plugin). Export discipline: thin
* apply, everything else in feature modules.
- * @module dsh-tauri-ssh-ui/client
+ * @module dsh-tauri-ssh/client
*/
import type { UiContext } from './types'
diff --git a/packages/dsh-tauri-ssh/src/client/service/bridge.ts b/packages/dsh-tauri-ssh/src/client/service/bridge.ts
index 93ca1004..5051fc31 100644
--- a/packages/dsh-tauri-ssh/src/client/service/bridge.ts
+++ b/packages/dsh-tauri-ssh/src/client/service/bridge.ts
@@ -4,7 +4,7 @@
* asking the shell to open (or focus) a machine's remote window. Both rides
* go through `invoke` (the dsh-tauri/client bridge) — a timeout or rejection
* on the ping means pure web, where the popup affordance simply never shows.
- * @module dsh-tauri-ssh-ui/client/service/bridge
+ * @module dsh-tauri-ssh/client/service/bridge
*/
import type { RemoteBridge } from '../types/index'
diff --git a/packages/dsh-tauri-ssh/src/client/store/index.ts b/packages/dsh-tauri-ssh/src/client/store/index.ts
index 16a25efd..19185b3e 100644
--- a/packages/dsh-tauri-ssh/src/client/store/index.ts
+++ b/packages/dsh-tauri-ssh/src/client/store/index.ts
@@ -6,7 +6,7 @@
* upstream settings RPC is deliberately NOT used for this namespace — its
* configuration-client allowlist is hard-coded upstream, and the plugin must
* stay zero-upstream-change. Framework-agnostic: tests inject a fake fetch.
- * @module dsh-tauri-ssh-ui/client/store
+ * @module dsh-tauri-ssh/client/store
*/
import type { SshKey } from '../locales/index'
diff --git a/packages/dsh-tauri-ssh/src/client/styles/index.ts b/packages/dsh-tauri-ssh/src/client/styles/index.ts
index 6e5bd307..36733413 100644
--- a/packages/dsh-tauri-ssh/src/client/styles/index.ts
+++ b/packages/dsh-tauri-ssh/src/client/styles/index.ts
@@ -3,7 +3,7 @@
* `index.cssr.ts`), its mount id, and the `cls` map the components consume.
* Class names keep the plugin prefix (`dshp-ssh-*`); components never
* hand-write the prefixed strings.
- * @module dsh-tauri-ssh-ui/client/styles
+ * @module dsh-tauri-ssh/client/styles
*/
import sshStyle from './index.cssr'
diff --git a/packages/dsh-tauri-ssh/src/client/types/index.ts b/packages/dsh-tauri-ssh/src/client/types/index.ts
index a27555b7..a8570741 100644
--- a/packages/dsh-tauri-ssh/src/client/types/index.ts
+++ b/packages/dsh-tauri-ssh/src/client/types/index.ts
@@ -5,7 +5,7 @@
* copied from the harness's own registrants) and never imports the private
* packages at runtime — the loader calls `apply` with the real context and
* duck-typing does the rest.
- * @module dsh-tauri-ssh-ui/client/types
+ * @module dsh-tauri-ssh/client/types
*/
/** One settings-section registration option set. */
diff --git a/packages/dsh-tauri-ssh/src/client/types/sync.ts b/packages/dsh-tauri-ssh/src/client/types/sync.ts
index 07bdb947..3bd01682 100644
--- a/packages/dsh-tauri-ssh/src/client/types/sync.ts
+++ b/packages/dsh-tauri-ssh/src/client/types/sync.ts
@@ -3,7 +3,7 @@
* event channel, and the S3-owned connection-state vocabulary this panel
* consumes (the contracts are drafted by their owners; these shapes are the
* panel's tolerant readers of them).
- * @module dsh-tauri-ssh-ui/client/types/sync
+ * @module dsh-tauri-ssh/client/types/sync
*/
/**
diff --git a/packages/dsh-tauri-ssh/src/client/utils/retry.ts b/packages/dsh-tauri-ssh/src/client/utils/retry.ts
index 5c420b7d..8d425aa9 100644
--- a/packages/dsh-tauri-ssh/src/client/utils/retry.ts
+++ b/packages/dsh-tauri-ssh/src/client/utils/retry.ts
@@ -3,7 +3,7 @@
* reconnect retry as an epoch-ms instant (`nextRetryAt`, S3-owned); the UI
* renders it as a short relative hint, so the clock math lives here as a
* pure function (testable without React or a store).
- * @module dsh-tauri-ssh-ui/client/utils/retry
+ * @module dsh-tauri-ssh/client/utils/retry
*/
/**