opencode-swarm 7.191.4 → 7.192.0

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 (74) hide show
  1. package/.opencode/skills/swarm-pr-review/SKILL.md +5 -6
  2. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  3. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  4. package/dist/cli/{auto-checkpoint-mfevgppc.js → auto-checkpoint-fzybxf58.js} +5 -5
  5. package/dist/cli/{checkpoint-ft7x9hh4.js → checkpoint-6fr9tc3h.js} +9 -9
  6. package/dist/cli/{coder-settlement-a8v2w1gw.js → coder-settlement-1t0r6q0r.js} +4 -4
  7. package/dist/cli/{config-doctor-5jpt3aj0.js → config-doctor-0kd6w45h.js} +8 -8
  8. package/dist/cli/{core-9sekbwxm.js → core-dxraa2ss.js} +2 -2
  9. package/dist/cli/{curator-drift-mqcfwm24.js → curator-drift-6qb0c363.js} +6 -6
  10. package/dist/cli/{curator-venskykb.js → curator-hwwp7e2g.js} +26 -26
  11. package/dist/cli/{curator-llm-factory-nm91t6p1.js → curator-llm-factory-w6hvns5a.js} +26 -26
  12. package/dist/cli/{doctor-knowledge-receipt-phase-id-0ewtqwxk.js → doctor-knowledge-receipt-phase-id-ay2ngn4a.js} +5 -5
  13. package/dist/cli/{evidence-summary-service-rr3rb5n2.js → evidence-summary-service-fyyzhbsc.js} +10 -10
  14. package/dist/cli/{gate-evidence-sjp73rfv.js → gate-evidence-zt2vj631.js} +3 -3
  15. package/dist/cli/{guardrail-explain-r5x9khp3.js → guardrail-explain-ddtj3djc.js} +27 -27
  16. package/dist/cli/{guardrail-log-87qgtbxw.js → guardrail-log-ppgfsfzt.js} +4 -4
  17. package/dist/cli/{guardrail-reset-z1rhagdh.js → guardrail-reset-4psprskt.js} +26 -26
  18. package/dist/cli/{hive-promoter-hy0gm4z7.js → hive-promoter-vxrwvhga.js} +26 -26
  19. package/dist/cli/{index-knqvkxc4.js → index-05t8f1bj.js} +26 -26
  20. package/dist/cli/{index-xgy7wakm.js → index-1ajj6zbq.js} +28 -28
  21. package/dist/cli/{index-jfk0yzr6.js → index-3c8v05x1.js} +1 -1
  22. package/dist/cli/{index-ydnfnzdq.js → index-3pkeqcxe.js} +1 -1
  23. package/dist/cli/{index-w8fbnqhe.js → index-4d04qzw5.js} +2 -2
  24. package/dist/cli/{index-8nac5633.js → index-646s7gp9.js} +2 -2
  25. package/dist/cli/{index-633j6d5z.js → index-6v42d116.js} +2 -2
  26. package/dist/cli/{index-7tkkhbcw.js → index-93zvq6wn.js} +1 -1
  27. package/dist/cli/{index-ez6sczc7.js → index-9qwmx95b.js} +1 -1
  28. package/dist/cli/{index-d4rm6r3c.js → index-aazwrwy1.js} +1 -1
  29. package/dist/cli/{index-ce4skcpr.js → index-bx6x9ee7.js} +2 -2
  30. package/dist/cli/{index-kcx2f95c.js → index-c5644p1y.js} +6 -6
  31. package/dist/cli/{index-xrhhjeas.js → index-d5dwf6q6.js} +1 -1
  32. package/dist/cli/{index-v7bjb1ta.js → index-dexj54h2.js} +1 -1
  33. package/dist/cli/{index-xbhs0kp0.js → index-ecx8jh7s.js} +1 -1
  34. package/dist/cli/{index-chdc1wv3.js → index-egkph2cs.js} +1 -1
  35. package/dist/cli/{index-xgfmzmey.js → index-gv63kdd3.js} +4 -4
  36. package/dist/cli/{index-p4vdas8e.js → index-hqqfxytt.js} +1 -1
  37. package/dist/cli/{index-p4f47xhj.js → index-mj237f76.js} +3 -3
  38. package/dist/cli/{index-qgzyj2vt.js → index-mqf06fyy.js} +5 -5
  39. package/dist/cli/{index-bs8yvx1k.js → index-ngjjwcam.js} +1 -1
  40. package/dist/cli/{index-q0y8e1db.js → index-p1z7pafk.js} +3 -3
  41. package/dist/cli/{index-pksy4nzv.js → index-py8wpe81.js} +4 -0
  42. package/dist/cli/{index-1y1fgtd0.js → index-rehvfgre.js} +62 -62
  43. package/dist/cli/{index-9nh7fhh9.js → index-sx3g9nwg.js} +3 -3
  44. package/dist/cli/{index-1gv6ja3m.js → index-sxw0jbyc.js} +2 -2
  45. package/dist/cli/{index-t775as8a.js → index-tv0m2css.js} +2 -2
  46. package/dist/cli/{index-2afvf0hr.js → index-v9geqn2t.js} +2 -2
  47. package/dist/cli/{index-y7668dn6.js → index-x00ghp37.js} +4 -4
  48. package/dist/cli/{index-02gmv98q.js → index-ywmz75rj.js} +4 -4
  49. package/dist/cli/{index-9ved57n0.js → index-zv71frp3.js} +3 -3
  50. package/dist/cli/index.js +27 -27
  51. package/dist/cli/{knowledge-escalator-901znnke.js → knowledge-escalator-b45xccz8.js} +8 -8
  52. package/dist/cli/{knowledge-events-y2x5c5xe.js → knowledge-events-rtmavbyy.js} +6 -6
  53. package/dist/cli/{knowledge-store-jkzkgsnw.js → knowledge-store-0beaqdxd.js} +1 -1
  54. package/dist/cli/{knowledge-validator-dar3799k.js → knowledge-validator-r1kjxt80.js} +2 -2
  55. package/dist/cli/{mcp-7baqvsr2.js → mcp-gq7gy5qm.js} +1 -1
  56. package/dist/cli/{model-preflight-gk2dtfw4.js → model-preflight-za9f75h1.js} +26 -26
  57. package/dist/cli/{pending-delegations-aean4z99.js → pending-delegations-ba4bbh3d.js} +2 -2
  58. package/dist/cli/{pr-subscriptions-zmv0gtv7.js → pr-subscriptions-9ge667xn.js} +1 -1
  59. package/dist/cli/{pr-workflow-gate-50avx71j.js → pr-workflow-gate-p1sv3vp7.js} +26 -26
  60. package/dist/cli/{scan-cursor-7vnj82v4.js → scan-cursor-hrn48cja.js} +2 -2
  61. package/dist/cli/{schema-4v7pnknw.js → schema-6cwam61t.js} +2 -2
  62. package/dist/cli/{scope-persistence-xd30y1ym.js → scope-persistence-z8b0cj5e.js} +6 -6
  63. package/dist/cli/{server-mkvhdc5k.js → server-sqxa4vjy.js} +26 -26
  64. package/dist/cli/{skill-generator-mt61qg5f.js → skill-generator-6dfgb9hj.js} +9 -9
  65. package/dist/cli/{snapshot-coordination-init-c7r5443q.js → snapshot-coordination-init-rt4xyayx.js} +26 -26
  66. package/dist/cli/{speckit-checkoff-t17g4ej6.js → speckit-checkoff-q1zqzwbw.js} +4 -4
  67. package/dist/cli/{worktree-collision-ownership-negbpp72.js → worktree-collision-ownership-ge241a9e.js} +2 -2
  68. package/dist/cli/{worktree-isolation-hhftse76.js → worktree-isolation-c9x73qrk.js} +26 -26
  69. package/dist/index.js +66 -61
  70. package/dist/tools/export-pr-review-partial-results.d.ts +38 -0
  71. package/dist/tools/index.d.ts +1 -0
  72. package/dist/tools/manifest.d.ts +1 -0
  73. package/dist/tools/tool-metadata.d.ts +4 -0
  74. package/package.json +1 -1
@@ -0,0 +1,38 @@
1
+ import { readPrWorkflowGateState } from '../hooks/pr-workflow-gate.js';
2
+ import { createSwarmTool } from './create-tool.js';
3
+ interface AbortEvent {
4
+ timestamp: string;
5
+ /** Undefined means the event did not record a count — disclosed as unknown. */
6
+ openLanes?: number;
7
+ presumedStaleLanes?: string[];
8
+ }
9
+ /**
10
+ * Bounded abort scan over the retained core-events window (the
11
+ * `hasAbortAfterSettlement` predicates of #3118, inverted: an abort is the
12
+ * PRECONDITION). Returns the newest matching event. `truncated` coverage
13
+ * fails closed: history beyond the read bound is unverifiable, so an abort
14
+ * outside the retained window can neither be confirmed nor ruled out. An
15
+ * existing-but-unreadable events file is likewise indeterminate; a missing
16
+ * file is a definitive not-aborted.
17
+ */
18
+ export declare function findAbortEventForHead(directory: string, sessionID: string, headSha: string): {
19
+ event: AbortEvent | null;
20
+ indeterminate: boolean;
21
+ };
22
+ /**
23
+ * The export write goes through the canonical swarm writer (fsync, bounded
24
+ * rename retry, cache invalidation); the local wrapper only ensures the
25
+ * parent directory exists. Keeping the same `_internals.atomicWrite` seam
26
+ * preserves the io-error test seam.
27
+ */
28
+ declare function atomicWrite(filePath: string, content: string): Promise<void>;
29
+ export declare const _internals: {
30
+ atomicWrite: typeof atomicWrite;
31
+ findAbortEventForHead: typeof findAbortEventForHead;
32
+ readGateState: typeof readPrWorkflowGateState;
33
+ };
34
+ export declare function executeExportPrReviewPartialResults(args: unknown, directory: string, context?: {
35
+ sessionID?: string;
36
+ }): Promise<string>;
37
+ export declare const export_pr_review_partial_results: ReturnType<typeof createSwarmTool>;
38
+ export {};
@@ -106,6 +106,7 @@ export { CancelLaneBatchArgsSchema, cancel_lane_batch, executeCancelLaneBatch, }
106
106
  export { complete_pr_workflow, executeCompletePrWorkflow, } from './complete-pr-workflow';
107
107
  export { epic_next_wave } from './epic-next-wave';
108
108
  export { epic_phase_review } from './epic-phase-review';
109
+ export { executeExportPrReviewPartialResults, export_pr_review_partial_results, } from './export-pr-review-partial-results';
109
110
  export { generate_mutants } from './generate-mutants';
110
111
  export { executeInvalidatePrFeedbackPublication, invalidate_pr_feedback_publication, } from './invalidate-pr-feedback-publication';
111
112
  export { lean_turbo_acquire_locks } from './lean-turbo-acquire-locks';
@@ -73,6 +73,7 @@ export declare const TOOL_MANIFEST: {
73
73
  prepare_pr_feedback_scope: () => ToolDefinition;
74
74
  write_pr_review_artifact: () => ToolDefinition;
75
75
  pr_review_submission: () => ToolDefinition;
76
+ export_pr_review_partial_results: () => ToolDefinition;
76
77
  write_pr_review_trigger_eval: () => ToolDefinition;
77
78
  test_runner: () => ToolDefinition;
78
79
  test_impact: () => ToolDefinition;
@@ -277,6 +277,10 @@ export declare const TOOL_METADATA: {
277
277
  description: string;
278
278
  agents: "architect"[];
279
279
  };
280
+ export_pr_review_partial_results: {
281
+ description: string;
282
+ agents: "architect"[];
283
+ };
280
284
  prepare_pr_feedback_scope: {
281
285
  description: string;
282
286
  agents: "architect"[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.191.4",
3
+ "version": "7.192.0",
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",