Myco-Lee/dsh-mesh ↗★ 0

dsh-mesh

LAN task mesh for DeepSeek Harness: durable task ledger, leases, load-aware dispatch, crash recovery

套件
dsh-mesh
相容性
待驗證
Harness 依賴範圍
*
版本
0.1.0
授權
MIT
最近更新
2026年11月7日

同名套件的其他儲存庫

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Myco-Lee/dsh-mesh

配置项

键默认说明
root空共享目录(空则插件不启动,只记日志)
node主机名节点标识,必须唯一
roleautoauto 谁先抢到协调器谁当;worker 只干活;client 只提交
workerProfilemesh-worker执行步骤用的 profile
maxConcurrent2本机同时跑几步
leaseMs / leaseRenewMs45000 / 10000步骤租约时长与续期间隔
coordLeaseMs15000协调器租约(15s 一续)
maxAttempts3单步重试上限,超过标记 blocked
stepTimeoutMs900000单步硬超时(超时 kill 进程树并按失败处理)
maxContextChars6000依赖产物内联进指令的上限
apiKeyFile空执行端 API key 文件(YAML/JSON 里有 DEEPSEEK_API_KEY 即可)
dshExe / dshCli自动桌面端自动推导 Electron + cli.js;CLI 端需要显式传
caps['text']本机能接的通道,如 ['text','image','code']
capSlots{}每通道并发上限,如 { image: 1 };未列出的通道只受 maxConcurrent 约束
maxQueuedSteps200未完成步骤总数上限,超过则暂停派单(背压)
heartbeatMs30000节点心跳间隔(写 nodes/.json)
nodeTtlMs90000心跳超时即视为离线,不再派单给它
address / httpPort空 / 0广播自己的控制面地址(可选,供后续远程调用)