Skip to content

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

test(ssh): openSession 重连窗口拒绝断言 + JSDoc @throws 补全(复审备忘闭合)

Menghuan19180c7fb9b1f011
diff --git a/packages/dsh-tauri-ssh/src/host/service/manager.ts b/packages/dsh-tauri-ssh/src/host/service/manager.ts
index 977757ab..62c4a74a 100644
--- a/packages/dsh-tauri-ssh/src/host/service/manager.ts
+++ b/packages/dsh-tauri-ssh/src/host/service/manager.ts
@@ -199,7 +199,8 @@ export class SshManager {
* @param machineId - the machine to reach.
* @param signal - aborts the handshake.
* @returns the authenticated session; the caller owns closing it.
- * @throws {SshError} `machine-not-found` for an unknown id.
+ * @throws {SshError} `machine-not-found` for an unknown id, or
+ * `machine-reconnecting` while the reconnect loop owns the machine.
*/
async openSession(machineId: MachineId, signal?: AbortSignal): Promise<SshSession> {
const profile = this.requireProfile(machineId)