HEO-Club/DSH-DAG--packages-dag-core ↗★ 2
dsh-dag-core
无框架确定性 DAG 编排核心:llm-router 规划器、调度器、验证器和融合流水线的 TypeScript 移植版本。
AI 分析
核心用途是提供不依赖特定框架的确定性有向无环图(DAG)任务调度与规划能力,适合需要构建复杂、高并发多智能体工作流的开发者。
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗Configuration
| Key | Default | Meaning |
|---|---|---|
toolName | dag_run | The model-facing tool name |
subagentProvider | spawn | ctx.subagents provider used for every node (and fusion) call |
globalLimit | 4 | Global node concurrency (0 = unlimited) |
perModelLimits | {} | Per-model node concurrency (0 = unlimited) |
retryPolicy.maxRetries | 2 | Per-node retry ceiling |
retryPolicy.baseDelaySeconds | 1 | Exponential backoff base |
retryPolicy.maxDelaySeconds | 30 | Backoff cap |
nodeTimeoutSeconds | 300 | Per-node timeout (0 disables) |
maxTotalNodes | 32 | Hard node-count cap per run |
maxResultChars | 100000 | Cap on dependency outputs injected into downstream prompts |
fusion | auto | auto: single result passes through, many fuse via LLM; llm: always fuse; none: deterministic concatenation |
emitSessionEvents | true | Record dag/* events into the calling agent's session |