Skip to content

Releases: RAFOLIE/dsh-desktop-windowos

v1.4.3 - 托盘图标固定任务栏 Pin tray icon

Choose a tag to compare

@RAFOLIE RAFOLIE released this 15 Aug 08:14

改进 Improvement

托盘图标固定显示在任务栏,不再每次启动都被收进溢出区 / The tray icon is pinned to the taskbar instead of falling into the overflow on every launch.

  • 现象:Windows 11 默认把新识别的托盘图标收进角溢出,且不记住上次摆放
  • 修法:启动后按本程序路径在 HKCU\Control Panel\NotifyIconSettings 写入 IsPromoted=1(即用户手动取消隐藏时 Windows 写的值),注册后短暂重试,失败不影响启动
  • 插件版本线同步:dsh-desktop-plugin@1.4.3

下载 dsh-desktop-windowos-v1.4.3.exe 即用 — Download the exe and run it directly.

v1.4.2 - 修复重启后窗口恢复 Fix restart window recovery

Choose a tag to compare

@RAFOLIE RAFOLIE released this 14 Aug 14:18

修复 Fix

托盘「重启 DSH」后窗口未回到 webchat / After tray "重启 DSH" the window never returned to the webchat.

  • 根因:boot 页 URL 在窗口构建时捕获(彼时还在 about:blank),「回到启动页」导航到空白页;且启动页若错过 ready 事件便无人驱动跳转

  • 修法:URL 改在页面真正加载完成时捕获(on_page_load);重启完成后轮询窗口状态,5 秒内未到 webchat 则强制导航——双保险

  • 体验:点击「重启 DSH」立即弹出并聚焦主窗口,窗口藏在托盘时重启不再毫无反馈

  • Root cause: the boot URL was captured at window build time (still about:blank), and a reloaded boot page that missed the ready event had nothing to drive the handoff

  • Fix: capture the URL on actual page load; after restart, poll the window and force-navigate to the webchat if the handoff hasn't happened within 5s

  • UX: clicking "重启 DSH" now shows and focuses the main window immediately

下载 dsh-desktop-windowos-v1.4.2.exe 即用 — Download the exe and run it directly.

v1.4.1 - 修复空格路径 Fix space-in-path

Choose a tag to compare

@RAFOLIE RAFOLIE released this 14 Aug 13:23

修复 Fix

本地安装候选在路径含空格时启动失败 / The project-local install candidate failed when its path contained spaces.

  • 根因:命令串经 std 自动参数转义(整体包引号+内部引号反斜杠转义)后再交 cmd /C 解析,多层引号规则冲突,空格路径被切碎

  • 修法:raw_arg 走标准 cmd /S /C "整条命令"——只剥最外层引号,内部引号原样保留;所有候选统一受益

  • 已实测:…\dsh space test 目录下的本地安装一次命中、10 秒就绪

  • Root cause: the command string went through std's automatic quoting and then cmd's own parsing — the layers conflict and mangle space-containing paths

  • Fix: spawn via raw_arg with the canonical cmd /S /C "whole command" form; all candidates benefit

  • Verified: a local install under …\dsh space test starts on the first hit, ready in ~10s

下载 dsh-desktop-windowos-v1.4.1.exe 即用 — Download the exe and run it directly.

v1.4.0 - 本地优先启动 Local-first launch

Choose a tag to compare

@RAFOLIE RAFOLIE released this 14 Aug 12:52

新增 Features

本地优先启动,下载需确认 Local-first launch, download with consent

  • 新增本地搜索:除 PATH 全局安装外,还按序搜索 exe 同目录、工作目录、用户目录下的 node_modules\.bin\dsh.cmd——pnpm add @deepseek-ai/dsh 装在 exe 旁边或项目里即可被自动发现使用
  • 本地什么都没有时不再静默下载:启动页弹出选择「下载并启动(首次约几分钟)」「重新检测」「退出」,并提示 npm i -g @deepseek-ai/dsh 一劳永逸
  • 选过「下载并启动」后记住选择(%LOCALAPPDATA%\dsh-desktop\settings.json),下次冷启动自动接 npx 候选;本地候选命中时仍优先本地
  • 启动失败页新增「改用 npx 下载启动」兜底按钮

English

  • Local search: besides a PATH-global install, node_modules\.bin\dsh.cmd is searched in the exe's directory, the working directory, then the user profile (pnpm add @deepseek-ai/dsh next to the exe just works)
  • No silent downloads: with nothing local, the boot page offers download / re-detect / exit, plus a hint that a global install removes the question permanently
  • The download choice persists; later cold starts run npx automatically, local installs still win when present
  • The error page gains an npx fallback button

下载 dsh-desktop-windowos-v1.4.0.exe 即用(免安装单文件) — Download the exe and run it directly.

v1.3.0 - 托盘重启 DSH Tray Restart DSH

Choose a tag to compare

@RAFOLIE RAFOLIE released this 14 Aug 12:30

新增 Features

托盘「重启 DSH」Tray Restart DSH

托盘右键菜单新增「重启 DSH」:窗口回到启动页 → 杀掉 3080 上的 DSH 进程树(自己拉起的或附加的均处理,附加实例经 netstat 定位)→ 等旧实例退出 → 重走启动候选链。无需退出应用再点桌面快捷方式;会话数据在 ~/.dsh 持久化,不丢失。

Tray right-click gains "重启 DSH" (Restart DSH): the window returns to the boot page, the DSH process tree on 3080 is killed (spawned or attached alike), startup re-runs the candidate chain — no more quitting and re-launching. Sessions persist in ~/.dsh.

其它改进 Other improvements

  • 修复 DSH_CWD 指向已删除目录时全部候选报 os error 267 的问题,现在回退到用户主目录 / A stale DSH_CWD now falls back to the user profile dir instead of failing every candidate
  • npx 首次安装等待上限 120s → 300s,启动页显示首装提示 / npx first-install window raised to 300s with a boot-page hint
  • README Node.js 要求修正为 ^22.19 或 ≥ 24(与 DSH 源码一致)/ README Node.js requirement corrected to ^22.19 or ≥ 24

v1.2.1 - 修复浏览器打开 Fix open-in-browser

Choose a tag to compare

@RAFOLIE RAFOLIE released this 14 Aug 08:36

DSH Desktop v1.2.1(windowos)

中文 | English below

中文

修复:链接的「在浏览器中打开」与左键点击外链现在真正打开系统默认浏览器。

v1.2.0 的菜单项无反应,根因是 WebView2 新窗口请求在未注册处理器时被 wry 静默拒绝。本版把主窗口改为 Rust 侧创建并注册 on_new_window 处理器:所有新窗口请求(target=_blank 链接、菜单的 window.open)统一经 opener 插件交给系统默认浏览器。

右键链接仍是简洁两项菜单:「在浏览器中打开」 / 「复制链接」

快速开始:解压 zip,双击 dsh-desktop-windowos.exe。首次运行 SmartScreen 可能拦截(未签名):「更多信息 → 仍要运行」。

English

Fix: "Open in browser" on links and left-click on external links now actually open the system default browser.

The v1.2.0 menu item did nothing — WebView2 new-window requests are silently denied by wry when no handler is registered. This release builds the main window in Rust with an on_new_window handler: every new-window request (target=_blank links, the menu's window.open) is routed to the system default browser via the opener plugin.

Right-clicking a link still shows the clean two-item menu: "Open in browser" / "Copy link".

Quick start: unzip and double-click dsh-desktop-windowos.exe. Windows SmartScreen may warn on first run (unsigned exe): "More info" → "Run anyway".

v1.2.0 - 链接右键菜单 Link context menu

Choose a tag to compare

@RAFOLIE RAFOLIE released this 14 Aug 08:21

DSH Desktop v1.2.0(windowos)

中文 | English below

中文

本版重点:链接右键菜单重做。

在 webchat 聊天里的链接上右键,现在显示简洁的两项菜单:

  • 「在浏览器中打开」 —— 用系统默认浏览器打开该链接
  • 「复制链接」 —— 复制 URL 到剪贴板

替换掉了 WebView2 默认的 Edge 菜单(其「在新窗口中打开链接」实际跳系统浏览器、文案误导,「发送标签页到你的设备」等项无效)。左键点击外链行为不变(仍由系统默认浏览器打开)。

快速开始:解压 zip,双击 dsh-desktop-windowos.exe。首次运行 SmartScreen 可能拦截(未签名):「更多信息 → 仍要运行」。

English

Highlight: reworked right-click menu for links.

Right-clicking a link in the webchat now shows a clean two-item menu:

  • "Open in browser" — open the link in the system default browser
  • "Copy link" — copy the URL to the clipboard

This replaces the default WebView2 Edge menu (whose "open in new window" actually shelled out to the system browser, plus dead entries like "send tab to your devices"). Left-click on external links is unchanged (still opens in the system default browser).

Quick start: unzip and double-click dsh-desktop-windowos.exe. Windows SmartScreen may warn on first run (unsigned exe): "More info" → "Run anyway".

v1.1.1 - 项目更名 windowos

Choose a tag to compare

@RAFOLIE RAFOLIE released this 14 Aug 08:00

DSH Desktop v1.1.1(windowos)

中文 | English below

中文

本版重点:项目更名 dsh-desktopdsh-desktop-windowos(与同名第三方项目区分)。产物 exe 为 dsh-desktop-windowos.exe(约 4.5 MB,免安装单文件);运行时行为与 v1.1.0 完全一致。

启动候选链(自动降级):DSH_CMD 环境变量 → dsh web(全局安装)→ npx --yes @deepseek-ai/dsh web(官方零安装命令,仅需 Node)。

快速开始:解压 zip,双击 dsh-desktop-windowos.exe。首次运行 SmartScreen 可能拦截(未签名):「更多信息 → 仍要运行」。

English

Highlight: project renamed dsh-desktopdsh-desktop-windowos (disambiguation from a same-name third-party project). The built artifact is dsh-desktop-windowos.exe (~4.5 MB, portable single file); runtime behavior is identical to v1.1.0.

Launch candidate chain (automatic fallback): DSH_CMD env var → dsh web (global install) → npx --yes @deepseek-ai/dsh web (official zero-install, Node.js only).

Quick start: unzip and double-click dsh-desktop-windowos.exe. Windows SmartScreen may warn on first run (unsigned exe): "More info" → "Run anyway".

v1.1.0 - 启动解耦:官方命令行 Official CLI launch

Choose a tag to compare

@RAFOLIE RAFOLIE released this 14 Aug 07:01

DSH Desktop v1.1.0

中文 | English below

中文

DeepSeek Harness 的 Windows 桌面壳(Tauri v2 + React 18 + TS),交付单个免安装裸 exe(约 4.5 MB)。

启动与文件路径解耦,走官方命令行候选链(自动降级):

  1. DSH_CMD 环境变量(可配 DSH_CWD)——完全自定义,面向源码开发者
  2. dsh web —— 已全局安装 npm i -g @deepseek-ai/dsh 的用户,启动最快
  3. npx --yes @deepseek-ai/dsh web —— 官方零安装命令,仅需 Node.js

其它功能:窗口直连 3080 原生 webchat;托盘常驻,X 只隐藏(DSH 继续运行),双击托盘/右键 Open DSH 唤回;任务完成弹系统通知(「打开窗口」/「明白」两按钮,超时自动收起);已有 DSH 在跑则附加连接、退出不动;托盘退出整树清理零孤儿;单实例保护。

快速开始:解压 zip,双击 dsh-desktop.exe

English

A Windows desktop shell for DeepSeek Harness (Tauri v2 + React 18 + TS), shipped as a single portable bare exe (~4.5 MB).

Launch decoupled from file paths via an official-CLI candidate chain (automatic fallback):

  1. DSH_CMD env var (optional DSH_CWD) — full customization, for source developers
  2. dsh web — for users with a global npm i -g @deepseek-ai/dsh (fastest)
  3. npx --yes @deepseek-ai/dsh web — the official zero-install command; Node.js only

Other features: window shows the native webchat at 3080; tray-resident with X = hide (DSH keeps running), tray double-click / Open DSH restores; task-done toast with "Open Window" / "Got it" buttons (auto-collapses); attaches to an already-running DSH without touching it on exit; tray quit tears down the spawned tree with zero orphans; single-instance guard.

Quick start: unzip and double-click dsh-desktop.exe.

⚠️ 首次运行 Windows SmartScreen 可能拦截(exe 未签名):点「更多信息 → 仍要运行」。
Windows SmartScreen may warn on first run (unsigned exe): "More info" → "Run anyway".