Castor6/dsh-auto-workspace ↗★ 0

dsh-auto-workspace

为无工作区的对话自动创建本地工作目录 适合习惯直接发起对话、希望自动隔离和持久化会话文件的用户。

套件
dsh-auto-workspace
相容性
待驗證
Cordis 依賴範圍
~4.0.4
版本
0.1.0
授權
MIT
最近更新
2026年10月8日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Castor6/dsh-auto-workspace

Configuration

Set on the plugin's loader row in the profile patch (~/.dsh/profiles/ /cordis.patch.yml):

- id: auto-workspace
  config:
    root: '/Volumes/Work/DSH'   # default: /Documents/DSH
    directoryPrefix: 'chat'     # default: chat  →  chat-01, chat-02, ...
    enabled: true               # default: true

/.dsh-auto-workspace.json maps session ids to directories. It is a cache: delete it and the plugin rebuilds it from each session's persisted header. Deleting the whole root removes every project-less chat's files.