mazov2love/dsh-remote-control ↗★ 1
@mazov2love/dsh-remote-control
DSH tools for operating other DSH instances through authenticated backend APIs. 适合需要跨机器或跨实例控制、配置和调度其他 DSH 节点的进阶用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:mazov2love/dsh-remote-controlREADME
Read the full README ↗手动连接配置(可选)
默认读取 $DSH_HOME/remote-control/connections.json:
{"targets":[{"id":"technical","url":"http://127.0.0.1:3080","authFile":"C:/path/your-dsh-home/remote-control/technical.auth.json"}]}
私有 authFile 内容:
{"origin":"http://127.0.0.1:3080","token":"目标启动链接中 token 参数的值"}
合法启动 token 换取 Cookie 并写回私有认证文件;失效时用最新 token 重新认证。也可用 tokenEnv 指定环境变量名。URL 不含 token,工具不会返回认证文件内容。多个目标通过 id 选择;仅一个目标时可省略 instance。
配置与维护
插件 row 支持 config.connectionsFile、config.targets、config.stateFile、config.returnBudgetChars(默认 6000)、config.maxReturnChars(默认 100000)、config.maxHistoryPages(默认 20)。配置变更后重载或重启。
npm ci --ignore-scripts
npm run verify
node scripts/verify-host-contract.mjs C:/path/to/deepseek-harness
npm pack
测试与维护脚本在 Git 源码项目中;安装内容包括运行源码、自带 Skill 和通用文档,无需构建,也没有必须批准的安装脚本。本项目以源码/Git 安装为主要方式,不要求 npm 发布或 GitHub Release。维护前读 AGENTS.md、ARCHITECTURE.md、CONTRIBUTING.md、TESTING.md 和 CHANGELOG.md。