opencode-swarm 7.178.0 → 7.179.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 (117) hide show
  1. package/.opencode/skills/deep-dive/SKILL.md +1 -1
  2. package/.opencode/skills/running-tests/SKILL.md +30 -24
  3. package/.opencode/skills/swarm-plan/SKILL.md +1 -1
  4. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  5. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  6. package/dist/agents/critic.d.ts +6 -6
  7. package/dist/agents/explorer.d.ts +1 -1
  8. package/dist/cli/{coder-settlement-d2bfb25j.js → coder-settlement-7pt3a0y0.js} +12 -12
  9. package/dist/cli/{config-doctor-905x2s1c.js → config-doctor-82w4bp4b.js} +3 -3
  10. package/dist/cli/{core-k7wfx1wx.js → core-9rqzs794.js} +4 -4
  11. package/dist/cli/{curation-policy-n4hd2wsa.js → curation-policy-c7mdsf7m.js} +5 -5
  12. package/dist/cli/{curator-drift-smqmej5v.js → curator-drift-d93pwt8h.js} +5 -5
  13. package/dist/cli/curator-llm-factory-cbm1ny30.js +72 -0
  14. package/dist/cli/{curator-wyadq69k.js → curator-m8act07j.js} +40 -40
  15. package/dist/cli/{dispatch-9yqqqfr6.js → dispatch-3rwdxpp2.js} +1 -1
  16. package/dist/cli/{evidence-summary-service-r3wcprfk.js → evidence-summary-service-a99bgje1.js} +17 -17
  17. package/dist/cli/{explorer-2cv64zfj.js → explorer-z0cf5cz0.js} +1 -1
  18. package/dist/cli/{gate-evidence-tq9rb2aj.js → gate-evidence-yssmxba5.js} +7 -7
  19. package/dist/cli/guardrail-explain-ffwmhf7s.js +73 -0
  20. package/dist/cli/{guardrail-log-m6twga6x.js → guardrail-log-j2wtq7p2.js} +8 -8
  21. package/dist/cli/{guardrail-reset-86esv8cr.js → guardrail-reset-07byr7nr.js} +40 -40
  22. package/dist/cli/{hive-promoter-s87hkb40.js → hive-promoter-ewrz7vh1.js} +40 -40
  23. package/dist/cli/{index-ke3m026z.js → index-09wm3963.js} +14 -7
  24. package/dist/cli/{index-vfc7d22n.js → index-0bc8jdnv.js} +2 -2
  25. package/dist/cli/{index-ffqy30e5.js → index-0h3cr7pn.js} +1 -1
  26. package/dist/cli/{index-fyfbpz4f.js → index-1c1dbwze.js} +1 -0
  27. package/dist/cli/{index-zex7644g.js → index-1rwyfvq2.js} +2 -2
  28. package/dist/cli/{index-18hjycr1.js → index-1sz02k85.js} +30 -2
  29. package/dist/cli/{index-pm7c6f66.js → index-2b0ktpbf.js} +2 -2
  30. package/dist/cli/{index-yj1kr0ft.js → index-34bwqcea.js} +1 -1
  31. package/dist/cli/{index-wkde35ej.js → index-3hne91yd.js} +8 -8
  32. package/dist/cli/{index-2b1whj28.js → index-3pzwsesm.js} +2 -2
  33. package/dist/cli/{index-y74n1sy8.js → index-6r92fw88.js} +7 -7
  34. package/dist/cli/{index-p27az2hc.js → index-6tnkvqr9.js} +4 -4
  35. package/dist/cli/{index-qs8eth8h.js → index-7zmbtxw1.js} +4 -4
  36. package/dist/cli/{index-azy3tw6c.js → index-80q47hpw.js} +2 -2
  37. package/dist/cli/{index-zsm8h8y1.js → index-8815e95e.js} +4 -4
  38. package/dist/cli/{index-gg44hytk.js → index-9p1pqykb.js} +33 -8
  39. package/dist/cli/{index-w4yjy3vp.js → index-a11ztzs5.js} +19 -2
  40. package/dist/cli/{index-sqngtwyq.js → index-amf88k1e.js} +1 -1
  41. package/dist/cli/{index-y6a2bkp1.js → index-cvg402ha.js} +2 -2
  42. package/dist/cli/{index-heg4em8j.js → index-d66zb40k.js} +3499 -2832
  43. package/dist/cli/{index-swxaa0zs.js → index-etmwjgre.js} +40 -40
  44. package/dist/cli/{index-j3rkh9mp.js → index-f2v90gfc.js} +2 -2
  45. package/dist/cli/{index-mpcp6rmj.js → index-g6nyk713.js} +1 -1
  46. package/dist/cli/{index-bfz1jvcn.js → index-h4nh6s8b.js} +1 -1
  47. package/dist/cli/{index-j1v54ahd.js → index-h59vsbch.js} +2 -2
  48. package/dist/cli/{index-29begjkp.js → index-hwcra3y9.js} +8 -8
  49. package/dist/cli/{index-2vhkwy6v.js → index-kanxpgf8.js} +3 -3
  50. package/dist/cli/{index-kfk403mc.js → index-kmhnkn6t.js} +4 -4
  51. package/dist/cli/{index-2mdk6nt9.js → index-ndwbb3xm.js} +7 -7
  52. package/dist/cli/{index-zsp9de3k.js → index-ne9zamcs.js} +7 -7
  53. package/dist/cli/{index-tnjmn0dn.js → index-nzekzzs2.js} +4 -4
  54. package/dist/cli/{index-q9vb5e7n.js → index-pskba939.js} +1 -1
  55. package/dist/cli/{index-qk29b7s4.js → index-pxtye2ng.js} +42 -42
  56. package/dist/cli/{index-wfbh1bx8.js → index-qt0793qm.js} +7 -7
  57. package/dist/cli/{index-at0ygwwp.js → index-qxk5qkfh.js} +5 -5
  58. package/dist/cli/{index-zmb8fjp5.js → index-s4bkey0q.js} +1 -1
  59. package/dist/cli/{index-rp0jk48x.js → index-sv4y1cma.js} +7 -7
  60. package/dist/cli/{index-2bmhe2jn.js → index-tmy46dtd.js} +4 -4
  61. package/dist/cli/{index-wbkxbgk8.js → index-twtez316.js} +2 -2
  62. package/dist/cli/{index-m2n1rhgv.js → index-w872yykk.js} +1 -1
  63. package/dist/cli/{index-jzxeymr0.js → index-wvpsm8ja.js} +93 -227
  64. package/dist/cli/{index-d5dexrv1.js → index-yagqxt2p.js} +4 -4
  65. package/dist/cli/{index-yeh78c1g.js → index-yfpswnjt.js} +2 -2
  66. package/dist/cli/{index-hnvmj9wx.js → index-zgvzbz48.js} +14 -4
  67. package/dist/cli/index.js +41 -41
  68. package/dist/cli/{knowledge-escalator-rgz471df.js → knowledge-escalator-yx97q9c1.js} +13 -13
  69. package/dist/cli/{knowledge-events-4mq0ypx9.js → knowledge-events-p269fyvv.js} +11 -11
  70. package/dist/cli/{knowledge-link-npk50523.js → knowledge-link-gfz47ves.js} +4 -4
  71. package/dist/cli/{knowledge-store-gft25s5t.js → knowledge-store-36zemyqa.js} +5 -5
  72. package/dist/cli/{knowledge-validator-ejqacbx4.js → knowledge-validator-rd20yq41.js} +7 -7
  73. package/dist/cli/{mcp-emaeeq4s.js → mcp-sg9zrkz2.js} +1 -1
  74. package/dist/cli/{model-preflight-kh9dwts2.js → model-preflight-61xgqwcs.js} +1 -1
  75. package/dist/cli/{pending-delegations-4bhkcykk.js → pending-delegations-8p2gf4kt.js} +12 -12
  76. package/dist/cli/{pr-subscriptions-h1n6dbds.js → pr-subscriptions-4dj9r71h.js} +12 -12
  77. package/dist/cli/{pr-workflow-gate-wn6v5za8.js → pr-workflow-gate-8dgz5z1h.js} +42 -40
  78. package/dist/cli/{runner-ffy5ahhz.js → runner-16b691ba.js} +5 -5
  79. package/dist/cli/{scan-cursor-e63t0g5b.js → scan-cursor-nx0jv9ya.js} +6 -6
  80. package/dist/cli/{schema-4k4hr33y.js → schema-q6gsrxwz.js} +2 -2
  81. package/dist/cli/{scope-persistence-qcw3rtxq.js → scope-persistence-1k4xsyh7.js} +20 -16
  82. package/dist/cli/{server-58s1wwap.js → server-shhxq34t.js} +47 -45
  83. package/dist/cli/{skill-generator-fhj13jmq.js → skill-generator-6j7tq2tb.js} +15 -15
  84. package/dist/cli/{snapshot-coordination-init-5fawrj35.js → snapshot-coordination-init-h8n8w1cm.js} +40 -40
  85. package/dist/cli/{telemetry-ca8dmn26.js → telemetry-qxav5cdk.js} +1 -1
  86. package/dist/cli/{workspace-snapshot-v5qyjxg0.js → workspace-snapshot-rfnn80dg.js} +3 -3
  87. package/dist/cli/{worktree-collision-ownership-hjk0jx19.js → worktree-collision-ownership-97jzh4ra.js} +13 -13
  88. package/dist/cli/{worktree-isolation-aj20bs6q.js → worktree-isolation-g4w74ccb.js} +40 -40
  89. package/dist/commands/registry.d.ts +3 -3
  90. package/dist/config/plan-schema.d.ts +23 -0
  91. package/dist/db/coordination-store.d.ts +10 -0
  92. package/dist/evidence/phase-participation.d.ts +3 -2
  93. package/dist/hooks/delegation-gate.d.ts +1 -1
  94. package/dist/hooks/extractors.d.ts +5 -1
  95. package/dist/hooks/pr-workflow-gate.d.ts +15 -6
  96. package/dist/index.js +535 -520
  97. package/dist/memory/index.d.ts +1 -0
  98. package/dist/memory/memory-family-migration.d.ts +35 -3
  99. package/dist/mutation/engine.d.ts +6 -0
  100. package/dist/mutation/equivalence.d.ts +12 -1
  101. package/dist/plan/ledger.d.ts +14 -0
  102. package/dist/plan/manager.d.ts +0 -2
  103. package/dist/plan/parallel-verdict.d.ts +28 -14
  104. package/dist/pr-review/circuit.d.ts +3 -3
  105. package/dist/pr-review/legacy-transcript-adapter.d.ts +7 -10
  106. package/dist/pr-review/persistence.d.ts +36 -0
  107. package/dist/retention/sweep.d.ts +4 -0
  108. package/dist/scope/scope-persistence.d.ts +41 -0
  109. package/dist/tools/mutation-test.d.ts +6 -0
  110. package/dist/tools/plan-conflict-check.d.ts +7 -6
  111. package/dist/tools/prepare-pr-workflow-checkout.d.ts +19 -0
  112. package/dist/tools/repo-map-action-dispositions.d.ts +23 -0
  113. package/dist/tools/test-runner.d.ts +17 -2
  114. package/package.json +1 -1
  115. package/dist/cli/curator-llm-factory-qhhxev17.js +0 -72
  116. package/dist/cli/guardrail-explain-kvgejh24.js +0 -73
  117. package/dist/pr-review/guardrails.d.ts +0 -67
@@ -1,73 +0,0 @@
1
- // @bun
2
- import {
3
- handleGuardrailExplain
4
- } from "./index-azy3tw6c.js";
5
- import"./index-heg4em8j.js";
6
- import"./index-hnvmj9wx.js";
7
- import"./index-q9vb5e7n.js";
8
- import"./index-qs8eth8h.js";
9
- import"./index-bfz1jvcn.js";
10
- import"./index-vfc7d22n.js";
11
- import"./index-jzxeymr0.js";
12
- import"./index-mpcp6rmj.js";
13
- import"./index-txdagbh7.js";
14
- import"./index-n1tcj1q7.js";
15
- import"./index-6b295cas.js";
16
- import"./index-zsm8h8y1.js";
17
- import"./index-at0ygwwp.js";
18
- import"./index-zex7644g.js";
19
- import"./index-fyfbpz4f.js";
20
- import"./index-y74n1sy8.js";
21
- import"./index-549wxbe1.js";
22
- import"./index-zsrtt42s.js";
23
- import"./index-wkde35ej.js";
24
- import"./index-pm7c6f66.js";
25
- import"./index-2b1whj28.js";
26
- import"./index-pt7h91zc.js";
27
- import"./index-q7sjgr1y.js";
28
- import"./index-kfk403mc.js";
29
- import"./index-p27az2hc.js";
30
- import"./index-rp0jk48x.js";
31
- import"./index-29begjkp.js";
32
- import"./index-zmb8fjp5.js";
33
- import"./index-2s7dvzff.js";
34
- import"./index-d5dexrv1.js";
35
- import"./index-ffqy30e5.js";
36
- import"./index-rtry5xyf.js";
37
- import"./index-2vhkwy6v.js";
38
- import"./index-frcemc0b.js";
39
- import"./index-wrt875kh.js";
40
- import"./index-gg44hytk.js";
41
- import"./index-ke3m026z.js";
42
- import"./index-j1v54ahd.js";
43
- import"./index-y6a2bkp1.js";
44
- import"./index-w4yjy3vp.js";
45
- import"./index-tnjmn0dn.js";
46
- import"./index-rdm3px0g.js";
47
- import"./index-ry16d01s.js";
48
- import"./index-yeh78c1g.js";
49
- import"./index-2mdk6nt9.js";
50
- import"./index-vzm6zre7.js";
51
- import"./index-ae75rja9.js";
52
- import"./index-yj1kr0ft.js";
53
- import"./index-j3rkh9mp.js";
54
- import"./index-7g4c7s5r.js";
55
- import"./index-wfbh1bx8.js";
56
- import"./index-zsp9de3k.js";
57
- import"./index-1xnse449.js";
58
- import"./index-c1ggtmpm.js";
59
- import"./index-18hjycr1.js";
60
- import"./index-zz7gzw57.js";
61
- import"./index-4ddpvd5c.js";
62
- import"./index-wbkxbgk8.js";
63
- import"./index-m2n1rhgv.js";
64
- import"./index-bk5tah7q.js";
65
- import"./index-gknz3bv1.js";
66
- import"./index-zpsr8rpc.js";
67
- import"./index-wvghb3x6.js";
68
- import"./index-9rwhas09.js";
69
- import"./index-zgwm4ryv.js";
70
- import"./index-a76rekgs.js";
71
- export {
72
- handleGuardrailExplain
73
- };
@@ -1,67 +0,0 @@
1
- /**
2
- * PR-review recurrence guardrails (issue #2385).
3
- *
4
- * Exported source scanners implementing the mechanical guardrails the issue
5
- * requires. Each scanner is a PURE function over `{ path, content }` source
6
- * maps; unit tests prove each scanner flags a synthetic violating snippet
7
- * (the guardrail "biting") and then apply it over the real `src/` tree.
8
- *
9
- * 1. `scanObserverTerminalization` — (a) the historical wait-deadline/no-client
10
- * terminalizer may never reappear by name; (b) in
11
- * `src/tools/dispatch-lanes.ts`, durable delegation-transition writes are
12
- * allowed only inside the sanctioned settlement functions.
13
- * 2. `scanParallelCircuitRuleConstruction` — circuit-record construction may
14
- * exist only under `src/pr-review/` (the inline-construction recurrence
15
- * class G-1).
16
- *
17
- * Issue #2385 originally specified a third scanner for transcript-parsing
18
- * locality (the 13 conversion symbols restricted to the legacy adapter),
19
- * but its only test consumer was a synthetic-input bite demo with no
20
- * production caller. The boundary is already enforced structurally
21
- * (the legacy-transcript-adapter is the sole module that owns those symbols,
22
- * and the two retained scanners cover the real recurrence classes). A
23
- * scanner with no caller would create the appearance of a guardrail where
24
- * there is none — per the issue's "no unwired functionality" bar, it was
25
- * removed instead.
26
- */
27
- export interface GuardrailSource {
28
- path: string;
29
- content: string;
30
- }
31
- export interface GuardrailHit {
32
- path: string;
33
- line: number;
34
- rule: string;
35
- excerpt: string;
36
- }
37
- /**
38
- * The historical PR-review wait-deadline terminalizer (issue #2381 deleted
39
- * it). Any reappearance of these names in `src/` is the exact recurrence
40
- * class the issue forbids: a collection wait budget or an unavailable host
41
- * messages client must never write a terminal delegation transition.
42
- */
43
- export declare const FORBIDDEN_OBSERVER_TERMINALIZER_SYMBOLS: readonly string[];
44
- /**
45
- * Enclosing functions in `src/tools/dispatch-lanes.ts` that are allowed to
46
- * write delegation transitions. Every entry is child-evidence-driven
47
- * settlement (typed terminal error, explicit caller cancellation, or the
48
- * age+liveness presumed-stale backstop) — never observer-deadline evidence:
49
- * - `startAsyncLanePrompt`: `running` transition after a successful launch.
50
- * - `appendAsyncLaneLaunchError`: typed `error` for a failed child launch.
51
- * - `collectOnce`: explicit caller `cancelled` transition.
52
- * - `settleCollectedLane`: `completed`/`error` settlement from child evidence.
53
- * - `sweepStaleAsyncLaneRecords`: the presumed-stale `stale` backstop.
54
- * Additions must document their evidence source here.
55
- */
56
- export declare const DELEGATION_WRITE_ALLOWED_FUNCTIONS: ReadonlySet<string>;
57
- /**
58
- * Guardrail 2. (a) flags any forbidden historical-terminalizer symbol;
59
- * (b) for `src/tools/dispatch-lanes.ts`, flags delegation-transition writes
60
- * inside any enclosing function outside the sanctioned allowlist. This
61
- * module itself is exempt from rule (a): it DEFINES the forbidden names
62
- * (the definition site is not a recurrence, same reasoning as the adapter
63
- * allowlist in guardrail 1).
64
- */
65
- export declare function scanObserverTerminalization(sources: readonly GuardrailSource[]): GuardrailHit[];
66
- /** Guardrail 3 (issue #2385 recurrence class G-1). */
67
- export declare function scanParallelCircuitRuleConstruction(sources: readonly GuardrailSource[]): GuardrailHit[];