opencode-swarm 7.166.4 → 7.167.1

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.
Files changed (58) hide show
  1. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  2. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  3. package/dist/cli/{coder-settlement-yynntj5j.js → coder-settlement-2ye4s5xr.js} +3 -3
  4. package/dist/cli/{config-doctor-8asc35km.js → config-doctor-b0k8eyd6.js} +2 -2
  5. package/dist/cli/{core-qrbhs2q4.js → core-xgzgjk8s.js} +1 -1
  6. package/dist/cli/{curator-qk4xmkv4.js → curator-jpvzrxcv.js} +19 -19
  7. package/dist/cli/{curator-llm-factory-rs4921ks.js → curator-llm-factory-zeb0pe2j.js} +19 -19
  8. package/dist/cli/{evidence-summary-service-rktcp3s4.js → evidence-summary-service-74az43cb.js} +6 -6
  9. package/dist/cli/{gate-evidence-k6nzqca1.js → gate-evidence-f26h2gn3.js} +2 -2
  10. package/dist/cli/{guardrail-explain-jdspxzjr.js → guardrail-explain-5vhveypz.js} +20 -20
  11. package/dist/cli/{guardrail-log-962pzjev.js → guardrail-log-pnye3xw8.js} +3 -3
  12. package/dist/cli/{guardrail-reset-dv02t0bm.js → guardrail-reset-0da7q8ap.js} +19 -19
  13. package/dist/cli/{hive-promoter-9zzr28p2.js → hive-promoter-2vj54xc4.js} +19 -19
  14. package/dist/cli/{index-5qws47d4.js → index-32bxwzw0.js} +416 -72
  15. package/dist/cli/{index-gsftf6c8.js → index-54vzqy47.js} +3 -3
  16. package/dist/cli/{index-m9q6f3ty.js → index-69y9p6dh.js} +2 -2
  17. package/dist/cli/{index-7g5kdtvw.js → index-79wnzc8q.js} +1 -1
  18. package/dist/cli/{index-shqhq68n.js → index-87agfprq.js} +11 -3
  19. package/dist/cli/{index-x8c42y8s.js → index-8x4zwk0t.js} +21 -21
  20. package/dist/cli/{index-3s194swm.js → index-9bhzbwa4.js} +4 -4
  21. package/dist/cli/{index-gccxen4x.js → index-bf6zx8cq.js} +5 -1
  22. package/dist/cli/{index-bxrxqwce.js → index-bv8ha57q.js} +1 -1
  23. package/dist/cli/{index-qv4byzwp.js → index-bzdc4b7t.js} +3 -3
  24. package/dist/cli/{index-9eswrdp5.js → index-emwezg3y.js} +1 -1
  25. package/dist/cli/{index-z62gdhkd.js → index-eretcr6t.js} +3 -3
  26. package/dist/cli/{index-0v6bf0j9.js → index-es13aqdb.js} +1 -1
  27. package/dist/cli/{index-wd86yj53.js → index-f8xk5q5j.js} +1 -1
  28. package/dist/cli/{index-v5wanchr.js → index-fenasyvr.js} +1 -1
  29. package/dist/cli/{index-8ewgab6z.js → index-fmzz6aw7.js} +1 -1
  30. package/dist/cli/{index-st1zw5ps.js → index-hdsg7yf6.js} +2 -2
  31. package/dist/cli/{index-gr5wg0nj.js → index-mgc3c483.js} +2 -2
  32. package/dist/cli/{index-n189w64j.js → index-q265ytw6.js} +1 -1
  33. package/dist/cli/{index-n65x6e1y.js → index-qtd3hrk8.js} +5 -5
  34. package/dist/cli/{index-kwervbv6.js → index-qyr17fbz.js} +3 -3
  35. package/dist/cli/{index-kz44j3qe.js → index-z5gdgdkp.js} +3 -3
  36. package/dist/cli/{index-3ct7fd75.js → index-zwsbegc1.js} +1 -1
  37. package/dist/cli/index.js +19 -19
  38. package/dist/cli/{knowledge-escalator-w4bfnks3.js → knowledge-escalator-p2a8xh8x.js} +6 -6
  39. package/dist/cli/{knowledge-events-wmnx8m6b.js → knowledge-events-jmh28m8d.js} +4 -4
  40. package/dist/cli/{knowledge-store-5442ph4m.js → knowledge-store-8gmabtsn.js} +1 -1
  41. package/dist/cli/{knowledge-validator-5rmardr4.js → knowledge-validator-yk579vs4.js} +2 -2
  42. package/dist/cli/{pending-delegations-ea6zpqw2.js → pending-delegations-nw7ph53z.js} +2 -2
  43. package/dist/cli/{pr-subscriptions-yqxt0avv.js → pr-subscriptions-9815fxbc.js} +1 -1
  44. package/dist/cli/{pr-workflow-gate-px36rczj.js → pr-workflow-gate-98a7b6py.js} +19 -19
  45. package/dist/cli/{scan-cursor-efrage98.js → scan-cursor-6zcs0frg.js} +2 -2
  46. package/dist/cli/{schema-w2sds948.js → schema-warvhy9h.js} +3 -1
  47. package/dist/cli/{scope-persistence-dd7p3tdv.js → scope-persistence-c2ck77cv.js} +5 -5
  48. package/dist/cli/{skill-generator-c0720k51.js → skill-generator-jamm1cna.js} +7 -7
  49. package/dist/cli/{snapshot-coordination-init-dp42vvme.js → snapshot-coordination-init-st0xsn3f.js} +19 -19
  50. package/dist/cli/{worktree-collision-ownership-emh2yhpx.js → worktree-collision-ownership-qra7r8pw.js} +2 -2
  51. package/dist/cli/{worktree-isolation-a8f1yahq.js → worktree-isolation-yr9gnf64.js} +19 -19
  52. package/dist/config/schema.d.ts +24 -0
  53. package/dist/hooks/lane-liveness-watchdog.d.ts +102 -0
  54. package/dist/hooks/pr-workflow-gate.d.ts +87 -1
  55. package/dist/index.js +12 -11
  56. package/dist/tools/dispatch-lanes.d.ts +9 -0
  57. package/opencode-swarm.schema.json +35 -0
  58. package/package.json +1 -1
@@ -8,6 +8,15 @@ import { createParallelDispatcher } from '../parallel/dispatcher/parallel-dispat
8
8
  import { createSwarmTool } from './create-tool.js';
9
9
  export declare const MAX_LANES = 8;
10
10
  export declare const MAX_PROMPT_CHARS = 80000;
11
+ /**
12
+ * Configured session.create retry cap (issue #1615 / #2473): the 1-based
13
+ * `generation` on a lane result and its delegation record counts create
14
+ * attempts. Exported because the frozen per-scenario launch budget manifest
15
+ * (tests/unit/tools/dispatch-lanes-launch-budget-manifest.ts, issue #2473)
16
+ * derives its integer create-attempt bound from this contract constant
17
+ * instead of re-hardcoding the value.
18
+ */
19
+ export declare const MAX_SESSION_CREATE_GENERATIONS = 2;
11
20
  export declare const BASE_EXPLORER_CANDIDATE_FORMAT_SUFFIX: string;
12
21
  export declare const MICRO_EXPLORER_CANDIDATE_FORMAT_SUFFIX: string;
13
22
  /** Generic non-PR compatibility contract. PR-review modes use one family only. */
@@ -351,6 +351,41 @@
351
351
  },
352
352
  "additionalProperties": false
353
353
  },
354
+ "lane_liveness_watchdog": {
355
+ "description": "Lane liveness watchdog: execution deadline and stall escalation for PR workflow lanes.",
356
+ "type": "object",
357
+ "properties": {
358
+ "enabled": {
359
+ "default": false,
360
+ "type": "boolean"
361
+ },
362
+ "timeout_ms": {
363
+ "default": 1800000,
364
+ "type": "integer",
365
+ "minimum": 0,
366
+ "maximum": 86400000
367
+ },
368
+ "stall_threshold_ms": {
369
+ "default": 300000,
370
+ "type": "integer",
371
+ "minimum": 0,
372
+ "maximum": 86400000
373
+ },
374
+ "stall_min_steps": {
375
+ "default": 5,
376
+ "type": "integer",
377
+ "minimum": 0,
378
+ "maximum": 10000
379
+ },
380
+ "stall_token_threshold": {
381
+ "default": 200,
382
+ "type": "integer",
383
+ "minimum": 0,
384
+ "maximum": 1000000
385
+ }
386
+ },
387
+ "additionalProperties": false
388
+ },
354
389
  "pr_review_legacy_transcript_compatibility": {
355
390
  "description": "Deprecated migration-only opt-in for transcript-row PR-review base and micro discovery lanes.",
356
391
  "type": "boolean"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.166.4",
3
+ "version": "7.167.1",
4
4
  "description": "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",