dsh-task-runner
DSH plugin: project/task dual-mode workspaces. Tasks skip the workspace picker — every task conversation gets a fresh scratch directory under D:\dsh_working\<name>-<timestamp> (Codex-style), while projects keep the existing workspace flow.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jing-hy/dsh-task-runner说明文档
阅读完整 README ↗使用
任务面板(推荐)
- 点侧边栏底部的「▦ 任务」按钮打开任务面板;
- 输入任务名称(可留空,留空自动命名
task-),点「新建」; - 新会话立即打开,工作目录为
D:\dsh_working\-\; - 面板里每个任务可「打开」(恢复其会话;会话已删除则在原目录新开)或「清理」(删除目录与登记);
- 「清理全部已结束任务」只清理
finished/missing状态的任务;活跃任务需先结束其会话,面板不会误删。
/task 命令(会话内管理)
/task list # 列出所有任务
/task new # 创建任务目录并登记
/task open # 查看任务信息(从面板打开会话)
/task clean [名称|id] # 清理已结束任务(不带参数=清理全部)
配置
默认值开箱即用(Windows 任务根目录为 D:\dsh_working,其他平台为 ~/.dsh/tasks)。
需要覆盖时,在 profile 的 cordis.patch.yml 里给插件行加 config:
- insert:
- id: task-runner
name: 'dsh-task-runner'
config:
rootDir: 'E:\\dsh_tasks' # 自定义任务根目录
nameMaxLength: 60 # 名称长度上限(默认 40)