qingkong143/dsh-cli-workspaces

qingkong143★ 1JavaScriptLast synced: 2026-08-16

Open on GitHub

DeepSeek Harness 插件:带工作区切换的命令行任务模式(-w 切换,ws 子命令管理)

README excerpt

dsh-cli-workspaces 给 dsh 的 cli profile 用的一键命令行模式:预置若干工作区,用 -w 切换 agent 的 运行目录(环境上下文), -c 或位置参数给任务文本,最终回复打到 stdout、退出码 0=完成/1=出错。附带 ws 子命令管理工作区注册表。 这是 dsh 的 bundle 包 :包内 dsh.bundle.patch 声明了补丁层,安装后会自动加入 profile 的 dsh.profile.bundles 层栈。 依赖(bundle 层要求) profile 的 bundles 中 必须先于本包 包含: - @deepseek-ai/dsh-base — 核心运行层 - @deepseek-ai/dsh-headless — 提供 headless-runner(真正的 agent 执行) 本包只替换 headless 层的启动器并补上工作区切换,不自己实现 agent 循环。 安装 首次运行会把示例工作区表复制到 profile 目录,之后用 ws 命令管理: 想省掉 --profile : alias dsh='dsh --profile cli' (launcher 要求 --profile ,插件改不了)。 开发 / 发布 结构 工作区数据文件(workspaces.yml)始终位于 profile 目录 ,由插件按 loader 的 ctx.baseUrl 定位;包目录只装代码与示例,不存用户数据。

View full README on GitHub →
Terminal / TUIdsh-plugindsh-plugin-marketdsh-pluginsagent

Category