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.

Package
dsh-window-state
Compatibility
Unverified
Harness peer range
>=0.2.2-rc.1
Version
0.2.0
License
MIT
Last updated
Nov 6, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:china-wkz/dsh-window-state

配置

插件行的 config 全部可选:

字段默认说明
enabledtrue设 false 时完全不启动辅助进程
stateFile$DSH_HOME/desktop-window-state.json自定义状态文件位置
intervalMs2000心跳间隔;窗口事件本身会立即写盘,这个只做兜底,最小 500
exeNameDeepSeek Harness.exe目标进程映像名;桌面端改名后可在这里覆盖
titleHintDeepSeek Harness窗口标题匹配串,用于在同进程的多个窗口间打分

在 profile 的 cordis.patch.yml 里覆盖某一项:

- id: window-state
  name: dsh-window-state
  config:
    intervalMs: 400