opencode-swarm 7.137.3 → 7.137.5

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 (42) hide show
  1. package/.opencode/skills/test-file-split/SKILL.md +2 -2
  2. package/.opencode/skills/writing-tests/SKILL.md +15 -1
  3. package/dist/background/pending-delegations.d.ts +23 -3
  4. package/dist/cli/{config-doctor-t560ks5q.js → config-doctor-kv6hgx4a.js} +2 -2
  5. package/dist/cli/{curation-policy-r1ddgn8c.js → curation-policy-92ecp6y6.js} +2 -2
  6. package/dist/cli/{curator-zcg176y4.js → curator-dwnsf527.js} +13 -13
  7. package/dist/cli/{curator-llm-factory-ny0hcz11.js → curator-llm-factory-9p2eajyj.js} +13 -13
  8. package/dist/cli/{guardrail-explain-wmc2c89t.js → guardrail-explain-8r62kbz8.js} +14 -14
  9. package/dist/cli/{guardrail-log-m7th4yac.js → guardrail-log-evq3pke7.js} +3 -3
  10. package/dist/cli/{hive-promoter-m9fbm8hg.js → hive-promoter-9f8e7csh.js} +13 -13
  11. package/dist/cli/{index-c2v79596.js → index-0s4gr6qh.js} +53 -6
  12. package/dist/cli/{index-amf649jq.js → index-5ykb4nfj.js} +4 -4
  13. package/dist/cli/{index-cqsxdb6f.js → index-891ym5hz.js} +1 -1
  14. package/dist/cli/{index-2xvtskcg.js → index-a2xw89st.js} +1 -1
  15. package/dist/cli/{index-hsc81cfm.js → index-ahkb1nty.js} +1 -1
  16. package/dist/cli/{index-ab7p3gq6.js → index-akka5gyb.js} +2 -2
  17. package/dist/cli/{index-kbksjvte.js → index-cyew7vak.js} +5 -5
  18. package/dist/cli/{index-ky1kr5my.js → index-fc3pppmj.js} +15 -15
  19. package/dist/cli/{index-j215fc3r.js → index-g691qtx1.js} +3 -3
  20. package/dist/cli/{index-d39q5r1s.js → index-gmkjwk07.js} +1 -1
  21. package/dist/cli/{index-9b1vtdpm.js → index-k7m0q2nz.js} +2 -2
  22. package/dist/cli/{index-ryw98ynn.js → index-qdk110fr.js} +4 -2
  23. package/dist/cli/{index-897js8x8.js → index-s1d1k64e.js} +37 -37
  24. package/dist/cli/{index-es88kmrz.js → index-sww6s8r5.js} +1 -1
  25. package/dist/cli/{index-3zj70fr9.js → index-w8kddryz.js} +1 -1
  26. package/dist/cli/{index-e1xt3r6c.js → index-yrqf3b44.js} +2 -2
  27. package/dist/cli/{index-dkzct23a.js → index-ywyxtq1a.js} +1 -1
  28. package/dist/cli/index.js +13 -13
  29. package/dist/cli/{knowledge-escalator-6bw0gxkh.js → knowledge-escalator-av6ve14j.js} +3 -3
  30. package/dist/cli/{knowledge-events-cdwbxkr2.js → knowledge-events-3h7a1edr.js} +1 -1
  31. package/dist/cli/{knowledge-store-5y46n3as.js → knowledge-store-595cq24n.js} +1 -1
  32. package/dist/cli/{knowledge-validator-bekm8t70.js → knowledge-validator-cvdj3atv.js} +4 -4
  33. package/dist/cli/{pending-delegations-gee019ec.js → pending-delegations-ztb67amh.js} +3 -1
  34. package/dist/cli/{scan-cursor-jqwzvkw9.js → scan-cursor-0sbrsd5q.js} +2 -2
  35. package/dist/cli/{schema-zgrd42bf.js → schema-8gp25rde.js} +1 -1
  36. package/dist/cli/{skill-generator-q1jh5agj.js → skill-generator-gdqvy68y.js} +5 -5
  37. package/dist/cli/{worktree-collision-ownership-y1c7yx14.js → worktree-collision-ownership-rc6pe17g.js} +1 -1
  38. package/dist/context/role-filter.d.ts +21 -2
  39. package/dist/hooks/delegation-gate.d.ts +1 -1
  40. package/dist/index.js +130 -129
  41. package/dist/tools/dispatch-lanes.d.ts +4 -0
  42. package/package.json +4 -2
@@ -104,6 +104,8 @@ export interface DispatchLaneResult {
104
104
  session_id?: string;
105
105
  slot_id?: string;
106
106
  run_id?: string;
107
+ /** One-based session.create attempt that produced this result. */
108
+ generation?: number;
107
109
  started_at: string;
108
110
  completed_at: string;
109
111
  output?: string;
@@ -291,6 +293,7 @@ export declare const _test_exports: {
291
293
  formatError: typeof formatError;
292
294
  nextCollectPollInterval: typeof nextCollectPollInterval;
293
295
  promptHash: typeof promptHash;
296
+ isRetryableSessionCreateFailure: typeof isRetryableSessionCreateFailure;
294
297
  DispatchLanesArgsSchema: z.ZodObject<{
295
298
  lanes: z.ZodArray<z.ZodObject<{
296
299
  id: z.ZodString;
@@ -384,6 +387,7 @@ interface DispatchLanesExecutionContext {
384
387
  export declare function executeDispatchLanes(args: unknown, directory: string, context?: DispatchLanesExecutionContext): Promise<DispatchLanesResult>;
385
388
  export declare function executeDispatchLanesAsync(args: unknown, directory: string, context?: DispatchLanesExecutionContext): Promise<DispatchLanesAsyncResult>;
386
389
  export declare function executeCollectLaneResults(args: unknown, directory: string, context?: Pick<DispatchLanesExecutionContext, 'sessionID'>): Promise<CollectLaneResultsResult>;
390
+ declare function isRetryableSessionCreateFailure(error: unknown): boolean;
387
391
  declare function extractAssistantTranscript(messages: Array<{
388
392
  info?: {
389
393
  role?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.137.3",
3
+ "version": "7.137.5",
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",
@@ -105,7 +105,9 @@
105
105
  "repro:704": "node scripts/repro-704.mjs",
106
106
  "repro:1144": "bun scripts/repro-1144.mjs",
107
107
  "repro:1873": "bun build scripts/repro-1873-entry.ts --outdir dist-build-test/repro-1873 --target node --format esm && node scripts/repro-1873.mjs",
108
- "check:events": "bun run scripts/check-event-contract.ts"
108
+ "check:events": "bun run scripts/check-event-contract.ts",
109
+ "check:test-file-cap": "bun run scripts/check-test-file-cap.ts",
110
+ "check:gate-portability": "bun run scripts/check-gate-portability.ts"
109
111
  },
110
112
  "dependencies": {
111
113
  "@opencode-ai/plugin": "^1.18.3",