dsh-window:在 DSH 里按会话切换上下文窗口

dsh-window(@rayadesu/dsh-window)是 rayadesune 维护的 DSH 客户端插件,延续 dsh-context-window-picker。在输入框工具行按会话临时覆盖 contextWindow,新建会话恢复 Profile 默认;缩窗时同步调整压缩阈值。安装:npm i @rayadesu/dsh-window。MIT,适用于 DSH 0.2.1-rc.x。

Read More
DSH Window: Added Close Strategy and Subwindow Support to DeepSeek Harness Desktop

The third-party client plugin `dsh-window`, maintained by lczment (npm: @lczment/dsh-window@0.1.0, MIT), adds two native actions missing in DeepSeek Harness Desktop: optional behavior when closing the main window (minimizing to background, quitting completely, or asking every time), and the ability to open a single session or the entire workspace into a separate child window. The project is divided into two parts: a plugin (index.js / client.js, handling the settings page, sidebar buttons, session row buttons, and close dialog UI) and a shell extension (shell/install.mjs, injecting into the Electron main process to take over window closing, creation, and configuration I/O). Installation involves two steps: first install the plugin using `dsh plugin add @lczment/dsh-window`, then install the shell extension by running `node tools/install-shell-extension.mjs --stage-only` and `register-completion-task.ps1` in PowerShell (which unpacks resources/app.asar and patches lib/main.js, with a cleanup task handling post-exit operations). It is supported only on Windows, functions as a directory patch rather than an official extension point, requires reinstalling the scripts after DSH upgrades, and provides corresponding scripts to restore app.asar.orig during uninstallation.

Read More