agency-orchestrator 0.6.7 → 0.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -233,12 +233,14 @@ async function executeStep(node, opts) {
233
233
  // timeout 策略:
234
234
  // - 用户显式设置(含 timeout: 0 表示不限时)→ 第一次按此值
235
235
  // - 未设置 → provider 默认(API 120s / CLI/ollama 600s)
236
- // - 因超时触发 retry 时,下一轮 timeout x1.5(上限 900s
236
+ // - 因超时触发 retry 时,下一轮 timeout x1.5(上限 3600s / 60min
237
237
  // 非超时类错误(429/500/ECONNRESET 等)保持原 timeout,避免无谓放大
238
+ // - 上限是防误配置放飞的保险丝(retry 10 次可能放大到几十小时),
239
+ // 真要超过 1 小时单步请用 timeout: 0 / --timeout 0 完全不限时
238
240
  const defaultTimeout = effectiveIsCLI ? 600_000 : effectiveIsLocal ? 600_000 : 120_000;
239
241
  const baseTimeout = effectiveConfig.timeout !== undefined ? effectiveConfig.timeout : defaultTimeout;
240
242
  const effectiveMaxRetry = effectiveConfig.retry ?? opts.maxRetry;
241
- const TIMEOUT_CAP = 900_000;
243
+ const TIMEOUT_CAP = 3_600_000;
242
244
  // 带重试的 LLM 调用(timeout 在网络超时类错误重试时自动延长)
243
245
  let lastError = null;
244
246
  let attemptTimeout = baseTimeout;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agency-orchestrator",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "Multi-agent YAML workflow engine — 211 AI roles, auto DAG parallelism, zero code. One sentence → multiple AI roles collaborate → complete plan in minutes. 10 LLM providers, 7 need no API key.",
5
5
  "keywords": [
6
6
  "multi-agent",