Skip to content

dsh-tauri-ui

Verified

dsh-tauri-ui · v0.1.1 · MIT · Web UI

Customized Tauri UI plugin for the DeepSeek Harness desktop shell: registers the frame-wide shell.overlay seat where the future desktop chrome renders. Minimal skeleton — UI filled in later.

Install

dsh plugin add dsh-tauri-ui

Confirm the layer applied with dsh --profile default --dump-config — see the install guide.

Source

Tags

Creators

Readme

dsh-tauri-ui — DeepSeek Harness 桌面端定制化 Tauri UI 插件

UI half of the DeepSeek Harness desktop shell, loaded as a normal web client plugin. Companion to dsh-tauri (message bridge, no UI): 本插件是它的 UI 半区,桌面风格的自定义 chrome 随 插件系统加载、更新与开关,无需改动 Tauri 宿主。

Features

  • shell.overlay 座位(id dsh-tauri-ui):帧级浮动层注册点,未来桌面 chrome(顶部导航 / 窗口控件 / 状态胶囊等)的落点;层默认 click-through。
  • 设置弹窗 → 停靠侧边栏settings-trigger / settings-sidebar / settings-store / settings-sections / settings-locale 五件套,全部 slot-shadow 实现(零结构补丁、零新增依赖)。
  • 优雅降级:核心无 renderer <SlotOutlet> 补丁时(旧安装)不注册侧边栏, 官方设置 dialog 原样工作,绝不白屏。

Install

dsh plugin --profile web add github:dsh-tauri-desk/dsh-tauri-ui

安装后重启服务。桌面端内置:在 deepseek-harness-desktoppreset-plugins.jsoninternal: true 引用本仓库,构建期 prebuild 拉取产物 随安装包分发。

Develop

pnpm install
pnpm lint        # ESLint
pnpm typecheck   # tsc --noEmit
pnpm build       # 产物 lib/client.js + lib/index.js(随仓库提交,安装无需构建)
pnpm test        # Vitest:lib/client.js loader 冒烟测试

Bundle 合约:单文件 CJS,经共享模块 loader 注册工厂 (window.__ModuleLoader__.load({ id: 'dsh-tauri-ui', factory })); vite.config.tsLOADER_EXTERNALS 列出由 loader 模块表运行时提供的模块 (react、react-dom、cordis、@deepseek-ai/dsh-client-*),其余依赖内联。