QoderAI/dsh-qoder-cloud-agents ↗★ 3
dsh-qoder-cloud-agents
DeepSeek Harness plugin that runs sessions and delegated tasks on Qoder Cloud Agents sandboxes
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:QoderAI/dsh-qoder-cloud-agents安装与配置
-
克隆仓库并构建安装包(
npm pack会先执行构建):git clone https://github.com/QoderAI/dsh-qoder-cloud-agents.git cd dsh-qoder-cloud-agents npm ci npm pack得到
dsh-qoder-cloud-agents-0.1.0.tgz。把它放到一个固定目录(例如~/dsh-plugins/),profile 里记录的是这个路径。 -
安装到 dsh 的 web profile(其他 profile 换成对应名字),路径必须是绝对路径:
dsh plugin --profile web add ~/dsh-plugins/dsh-qoder-cloud-agents-0.1.0.tgzMac / Windows 客户端:在侧边栏「插件」→ 安装插件,填 tgz 的绝对路径。
安装时 dsh 会用 pnpm 从 npm 源拉取插件的运行时依赖 Qoder Cloud Agents TypeScript SDK,需要能访问 npm 源或其镜像。
-
把令牌写进
~/.dsh/.env,不要写进仓库或 yml 配置:echo 'QODER_PAT=pt-' >> ~/.dsh/.env echo 'QODER_GIT_TOKEN=' >> ~/.dsh/.env # 公开仓库、只读可以不配 chmod 600 ~/.dsh/.env -
通用 Git(GitHub 跳过):打开
~/.dsh/profiles/web/cordis.patch.yml,加上用户名。文件里已有id: qoder-cloud-agents时只在它的config下补字段;文件只有一行[]时先删掉它:- id: qoder-cloud-agents name: dsh-qoder-cloud-agents config: gitUsername: your-git-user -
其他可选配置也写在同一段
config下(patch 会整体替换config,已有字段要一起保留):- id: qoder-cloud-agents name: dsh-qoder-cloud-agents config: baseURL: https://api.qoder.com/api/v1/cloud environmentId: env_xxx # 不填:首次使用时弹窗选择并记住 agentId: agent_xxx # 不填:自动选择或新建插件管理的 Agent repository: auto # auto | none branchPrefix: qoder-cloud-agents/ archiveOnFinish: false # true:子代理回合结束后归档云端 session timeoutMs: 7200000 # 单次委派上限,超时会取消云端回合全部字段见 src/index.ts 中的
Config。 -
重启 dsh:在
dsh web的终端按Ctrl+C停掉再运行dsh web;客户端用户完全退出(⌘Q)后重新打开。dsh 只在启动时读取插件和令牌。