Skip to content

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

374 B
Raw Blame
import type { RemoteBridge } from '../types/index'
import { invoke } from 'dsh-tauri/client'
import { REMOTE_BRIDGE_PING_COMMAND, REMOTE_OPEN_WINDOW_COMMAND } from '../constants/index'

export const desktopBridge: RemoteBridge = {
  probe: () => invoke(REMOTE_BRIDGE_PING_COMMAND),
  openWindow: (machineId, url) => invoke(REMOTE_OPEN_WINDOW_COMMAND, { machineId, url }),
}