china-wkz/dsh-window-state ↗★ 0
dsh-window-state
记住 DSH Desktop 主窗口的位置、尺寸与最大化状态,重开原样恢复 / Remembers the DeepSeek Harness desktop window geometry (position, size, maximized) and restores it on the next launch.
同名套件的其他儲存庫
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:china-wkz/dsh-window-state說明文件
閱讀完整 README ↗配置
插件行的 config 全部可选:
| 字段 | 默认 | 说明 |
|---|---|---|
enabled | true | 设 false 时完全不启动辅助进程 |
stateFile | $DSH_HOME/desktop-window-state.json | 自定义状态文件位置 |
intervalMs | 2000 | 心跳间隔;窗口事件本身会立即写盘,这个只做兜底,最小 500 |
exeName | DeepSeek Harness.exe | 目标进程映像名;桌面端改名后可在这里覆盖 |
titleHint | DeepSeek Harness | 窗口标题匹配串,用于在同进程的多个窗口间打分 |
在 profile 的 cordis.patch.yml 里覆盖某一项:
- id: window-state
name: dsh-window-state
config:
intervalMs: 400