dsh-mesh
LAN task mesh for DeepSeek Harness: durable task ledger, leases, load-aware dispatch, crash recovery
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Myco-Lee/dsh-meshREADME
Read the full README ↗配置项
| 键 | 默认 | 说明 |
|---|---|---|
root | 空 | 共享目录(空则插件不启动,只记日志) |
node | 主机名 | 节点标识,必须唯一 |
role | auto | auto 谁先抢到协调器谁当;worker 只干活;client 只提交 |
workerProfile | mesh-worker | 执行步骤用的 profile |
maxConcurrent | 2 | 本机同时跑几步 |
leaseMs / leaseRenewMs | 45000 / 10000 | 步骤租约时长与续期间隔 |
coordLeaseMs | 15000 | 协调器租约(15s 一续) |
maxAttempts | 3 | 单步重试上限,超过标记 blocked |
stepTimeoutMs | 900000 | 单步硬超时(超时 kill 进程树并按失败处理) |
maxContextChars | 6000 | 依赖产物内联进指令的上限 |
apiKeyFile | 空 | 执行端 API key 文件(YAML/JSON 里有 DEEPSEEK_API_KEY 即可) |
dshExe / dshCli | 自动 | 桌面端自动推导 Electron + cli.js;CLI 端需要显式传 |
caps | ['text'] | 本机能接的通道,如 ['text','image','code'] |
capSlots | {} | 每通道并发上限,如 { image: 1 };未列出的通道只受 maxConcurrent 约束 |
maxQueuedSteps | 200 | 未完成步骤总数上限,超过则暂停派单(背压) |
heartbeatMs | 30000 | 节点心跳间隔(写 nodes/.json) |
nodeTtlMs | 90000 | 心跳超时即视为离线,不再派单给它 |
address / httpPort | 空 / 0 | 广播自己的控制面地址(可选,供后续远程调用) |