opencode-swarm 7.164.5 → 7.164.6

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 (78) hide show
  1. package/.opencode/skills/swarm-pr-review/SKILL.md +12 -12
  2. package/dist/background/pending-delegations.d.ts +9 -2
  3. package/dist/background/pr-review-contract.d.ts +9 -0
  4. package/dist/cli/{coder-settlement-x9wbqx46.js → coder-settlement-6qgvzx40.js} +9 -9
  5. package/dist/cli/{config-doctor-axd9d6hs.js → config-doctor-d1cbh67h.js} +2 -2
  6. package/dist/cli/{core-f1a1fk13.js → core-g0cvvj3b.js} +1 -1
  7. package/dist/cli/{curation-policy-2cy7wejw.js → curation-policy-7f8x9yg6.js} +4 -4
  8. package/dist/cli/{curator-drift-3s3q4wsy.js → curator-drift-0r0scc8r.js} +4 -4
  9. package/dist/cli/curator-llm-factory-dw7md4nr.js +66 -0
  10. package/dist/cli/{curator-b104f7a7.js → curator-q3qn89wn.js} +32 -32
  11. package/dist/cli/{evidence-summary-service-5xsjs3x3.js → evidence-summary-service-3meyb8rc.js} +13 -13
  12. package/dist/cli/{gate-evidence-ypja4156.js → gate-evidence-mhc0w7vp.js} +5 -5
  13. package/dist/cli/guardrail-explain-6cbszhw1.js +67 -0
  14. package/dist/cli/{guardrail-log-6t4e2j5f.js → guardrail-log-0nd1eqvz.js} +6 -6
  15. package/dist/cli/{guardrail-reset-es0bg976.js → guardrail-reset-mzeyd6jh.js} +32 -32
  16. package/dist/cli/{hive-promoter-yzv5g7jy.js → hive-promoter-w7g879cm.js} +32 -32
  17. package/dist/cli/{index-ea7sehgy.js → index-12xzj0hm.js} +2 -2
  18. package/dist/cli/{index-rz87mx1c.js → index-2c3np82d.js} +1 -1
  19. package/dist/cli/{index-fwebva1m.js → index-4k16cz8r.js} +6 -6
  20. package/dist/cli/{index-7rat6nyh.js → index-59hvr3f4.js} +4 -4
  21. package/dist/cli/{index-yrsag0vs.js → index-5p1tzpwh.js} +1 -1
  22. package/dist/cli/{index-aaqbhn9h.js → index-6f9yvd67.js} +2 -2
  23. package/dist/cli/{index-25jze7sf.js → index-7v3bb0h3.js} +1 -1
  24. package/dist/cli/{index-3gb7bw7h.js → index-935ww10s.js} +165 -93
  25. package/dist/cli/{index-4krjn1gn.js → index-9qvmsyab.js} +1 -1
  26. package/dist/cli/{index-aper29nf.js → index-ay9cr8tr.js} +1 -1
  27. package/dist/cli/{index-xj4kbtdw.js → index-b0m3efpf.js} +2 -2
  28. package/dist/cli/{index-tfa2p4y4.js → index-cyhw0der.js} +1 -1
  29. package/dist/cli/{index-553veay1.js → index-ew99d4y6.js} +1 -1
  30. package/dist/cli/{index-wbnyc50b.js → index-g5714mpv.js} +3 -3
  31. package/dist/cli/{index-3rrc5x4v.js → index-g94qqwnz.js} +2 -2
  32. package/dist/cli/{index-0trtcm9n.js → index-gwg7a00b.js} +7 -7
  33. package/dist/cli/{index-4jmtdtm9.js → index-hdapetg1.js} +2 -2
  34. package/dist/cli/{index-8h9nng7f.js → index-j3hsjynw.js} +4 -4
  35. package/dist/cli/{index-xm7dc14y.js → index-j645xpsm.js} +1 -1
  36. package/dist/cli/{index-rc6hec4j.js → index-jzvrvdmr.js} +4 -4
  37. package/dist/cli/{index-1q2dwv69.js → index-kvb4dwgf.js} +1 -1
  38. package/dist/cli/{index-164m995b.js → index-p56xc59p.js} +1 -1
  39. package/dist/cli/{index-50s9q4c1.js → index-pvp5tnn2.js} +1 -1
  40. package/dist/cli/{index-er8ba9be.js → index-qdbgc16x.js} +39 -6
  41. package/dist/cli/{index-q0gtgwyr.js → index-rysxqae0.js} +7 -7
  42. package/dist/cli/{index-j9a4fsxg.js → index-t1nkr7cz.js} +1 -1
  43. package/dist/cli/{index-25z5qwkk.js → index-tegp2mny.js} +1 -1
  44. package/dist/cli/{index-ywtcznk2.js → index-ty3vtqe2.js} +3 -3
  45. package/dist/cli/{index-hnjkpk57.js → index-x6zyc38w.js} +1 -1
  46. package/dist/cli/{index-maxz22c1.js → index-x76mprg2.js} +8 -8
  47. package/dist/cli/{index-ssb67ff6.js → index-y4z0rhsa.js} +34 -34
  48. package/dist/cli/{index-1f4nandk.js → index-yh8wxegw.js} +1 -1
  49. package/dist/cli/{index-4emx8hhh.js → index-ze5zyv28.js} +1 -1
  50. package/dist/cli/{index-y42pra05.js → index-zfwd65c2.js} +3 -3
  51. package/dist/cli/{index-0zbze3n6.js → index-zjg5ajf5.js} +1 -1
  52. package/dist/cli/{index-s09b63xg.js → index-zypacgjc.js} +5 -5
  53. package/dist/cli/index.js +32 -32
  54. package/dist/cli/{knowledge-escalator-evjd8g7y.js → knowledge-escalator-aca0nhqg.js} +11 -11
  55. package/dist/cli/{knowledge-events-q46z1wy6.js → knowledge-events-n5t313ht.js} +9 -9
  56. package/dist/cli/{knowledge-link-ffmzf72f.js → knowledge-link-8ea4ksda.js} +3 -3
  57. package/dist/cli/{knowledge-store-z82f5x9k.js → knowledge-store-j97ejf6a.js} +4 -4
  58. package/dist/cli/{knowledge-validator-19gbnxx2.js → knowledge-validator-01evhydg.js} +6 -6
  59. package/dist/cli/{pending-delegations-t4cqk5ha.js → pending-delegations-w73abdk3.js} +4 -4
  60. package/dist/cli/{pr-subscriptions-3enjtq0k.js → pr-subscriptions-05dzvavk.js} +4 -4
  61. package/dist/cli/{pr-workflow-gate-3ecgfsge.js → pr-workflow-gate-t0tnkx5f.js} +34 -32
  62. package/dist/cli/{runner-wqy2hbxn.js → runner-fh7t0mn9.js} +4 -4
  63. package/dist/cli/{scan-cursor-8wcy0dvf.js → scan-cursor-63zx2qd8.js} +5 -5
  64. package/dist/cli/{schema-hsw9r2tm.js → schema-t1scx08g.js} +1 -1
  65. package/dist/cli/{scope-persistence-mbwt4grd.js → scope-persistence-1a5qmchf.js} +7 -7
  66. package/dist/cli/{skill-generator-kg32a5jy.js → skill-generator-7werbwgv.js} +13 -13
  67. package/dist/cli/{worktree-collision-ownership-0rfw6kp3.js → worktree-collision-ownership-wzdzky33.js} +5 -5
  68. package/dist/cli/{worktree-isolation-qcwt09ve.js → worktree-isolation-m02ay3kg.js} +32 -32
  69. package/dist/hooks/delegation-gate.d.ts +3 -1
  70. package/dist/hooks/pr-workflow-gate.d.ts +10 -2
  71. package/dist/index.js +27 -24
  72. package/dist/pr-review/authorization.d.ts +13 -3
  73. package/dist/tools/authorize-pr-review-reentry.d.ts +5 -4
  74. package/dist/tools/dispatch-lanes.d.ts +1 -0
  75. package/dist/tools/pr-workflow-status.d.ts +2 -0
  76. package/package.json +1 -1
  77. package/dist/cli/curator-llm-factory-cv7ft0mb.js +0 -66
  78. package/dist/cli/guardrail-explain-cvha7b9p.js +0 -67
@@ -21,63 +21,63 @@ import {
21
21
  sanitizeWorktreeTaskId,
22
22
  standardWorktreeByCallID,
23
23
  standardWorktreeSerializationSessions
24
- } from "./index-3gb7bw7h.js";
25
- import"./index-25jze7sf.js";
26
- import"./index-ea7sehgy.js";
27
- import"./index-1q2dwv69.js";
28
- import"./index-maxz22c1.js";
29
- import"./index-4krjn1gn.js";
24
+ } from "./index-935ww10s.js";
25
+ import"./index-7v3bb0h3.js";
26
+ import"./index-12xzj0hm.js";
27
+ import"./index-kvb4dwgf.js";
28
+ import"./index-x76mprg2.js";
29
+ import"./index-9qvmsyab.js";
30
30
  import"./index-txdagbh7.js";
31
31
  import"./index-3146wmgv.js";
32
- import"./index-7rat6nyh.js";
33
- import"./index-s09b63xg.js";
34
- import"./index-aaqbhn9h.js";
32
+ import"./index-59hvr3f4.js";
33
+ import"./index-zypacgjc.js";
34
+ import"./index-6f9yvd67.js";
35
35
  import"./index-70ha9e09.js";
36
- import"./index-1f4nandk.js";
37
- import"./index-0zbze3n6.js";
36
+ import"./index-yh8wxegw.js";
37
+ import"./index-zjg5ajf5.js";
38
38
  import"./index-zaab1wz9.js";
39
- import"./index-y42pra05.js";
39
+ import"./index-zfwd65c2.js";
40
40
  import"./index-zsrtt42s.js";
41
- import"./index-fwebva1m.js";
41
+ import"./index-4k16cz8r.js";
42
42
  import"./index-3f7hqtgg.js";
43
- import"./index-xj4kbtdw.js";
44
- import"./index-rc6hec4j.js";
45
- import"./index-hnjkpk57.js";
43
+ import"./index-b0m3efpf.js";
44
+ import"./index-jzvrvdmr.js";
45
+ import"./index-x6zyc38w.js";
46
46
  import"./index-rtry5xyf.js";
47
- import"./index-wbnyc50b.js";
48
- import"./index-j9a4fsxg.js";
49
- import"./index-er8ba9be.js";
47
+ import"./index-g5714mpv.js";
48
+ import"./index-t1nkr7cz.js";
49
+ import"./index-qdbgc16x.js";
50
50
  import"./index-ddszzne4.js";
51
- import"./index-8h9nng7f.js";
52
- import"./index-xm7dc14y.js";
53
- import"./index-50s9q4c1.js";
51
+ import"./index-j3hsjynw.js";
52
+ import"./index-j645xpsm.js";
53
+ import"./index-pvp5tnn2.js";
54
54
  import"./index-556ja8an.js";
55
55
  import"./index-4fwbbad3.js";
56
56
  import"./index-b43rt5ph.js";
57
57
  import"./index-q7sjgr1y.js";
58
- import"./index-q0gtgwyr.js";
59
- import"./index-0trtcm9n.js";
58
+ import"./index-rysxqae0.js";
59
+ import"./index-gwg7a00b.js";
60
60
  import {
61
61
  resolveWorktreeIsolationConfig
62
- } from "./index-4jmtdtm9.js";
62
+ } from "./index-hdapetg1.js";
63
63
  import"./index-zg9d392c.js";
64
64
  import"./index-n832052r.js";
65
- import"./index-rz87mx1c.js";
65
+ import"./index-2c3np82d.js";
66
66
  import"./index-z6xqpmqg.js";
67
67
  import"./index-r3mvsbtq.js";
68
- import"./index-553veay1.js";
69
- import"./index-yrsag0vs.js";
68
+ import"./index-ew99d4y6.js";
69
+ import"./index-5p1tzpwh.js";
70
70
  import"./index-9e6fdz2h.js";
71
71
  import"./index-4rhhvd1a.js";
72
- import"./index-164m995b.js";
72
+ import"./index-p56xc59p.js";
73
73
  import"./index-m1nrd3yd.js";
74
74
  import"./index-zjygnfay.js";
75
75
  import"./index-ae75rja9.js";
76
- import"./index-25z5qwkk.js";
77
- import"./index-4emx8hhh.js";
76
+ import"./index-tegp2mny.js";
77
+ import"./index-ze5zyv28.js";
78
78
  import"./index-bk5tah7q.js";
79
79
  import"./index-fxxja498.js";
80
- import"./index-tfa2p4y4.js";
80
+ import"./index-cyhw0der.js";
81
81
  import"./index-1dz8hv7p.js";
82
82
  import"./index-7g4c7s5r.js";
83
83
  import"./index-bpmtbmy9.js";
@@ -476,7 +476,9 @@ declare function buildParallelExecutionGuidance(directory: string | undefined, s
476
476
  * agents are dispatched for different tasks from the same architect session.
477
477
  * Issue #970.
478
478
  */
479
- declare function resolveEvidenceTaskId(args: Record<string, unknown> | undefined, session: AgentSessionState, directory: string): Promise<string | null>;
479
+ declare function resolveEvidenceTaskId(args: Record<string, unknown> | undefined, session: AgentSessionState, directory: string, options?: {
480
+ allowSessionFallback?: boolean;
481
+ }): Promise<string | null>;
480
482
  /**
481
483
  * _internals export for testing — do not use in production code.
482
484
  * Exposes resolveEvidenceTaskId, resolveDelegatedPlanTaskId,
@@ -603,8 +603,8 @@ export type SubmitPrReviewResultOutcome = {
603
603
  * lock and terminalization takes the same inner lock.
604
604
  */
605
605
  export declare function submitPrReviewResult(directory: string, childSessionId: string, input: {
606
- batchId: string;
607
- laneId: string;
606
+ batchId?: string;
607
+ laneId?: string;
608
608
  revisionDigest: string;
609
609
  result: PrReviewLaneResultEnvelope;
610
610
  }): Promise<SubmitPrReviewResultOutcome>;
@@ -1272,6 +1272,14 @@ export declare function enforcePrWorkflowToolBefore(directory: string, sessionID
1272
1272
  * head-bound PR_REVIEW gate exists for the session.
1273
1273
  */
1274
1274
  export declare function readPrReviewReentryBindingContext(directory: string, sessionID: string): Promise<PrReviewReentryBindingContext | null>;
1275
+ /**
1276
+ * Read-only admission check for direct PR-review re-entry. It deliberately
1277
+ * does not consume the token: the delegation gate performs the one-use
1278
+ * reservation only after its own Task acceptance checks have passed.
1279
+ */
1280
+ export declare function hasActivePrReviewReentryAuthorization(directory: string, sessionID: string, request: {
1281
+ role: PrReviewReentryRole;
1282
+ }): Promise<boolean>;
1275
1283
  /**
1276
1284
  * Sole production reservation/verification path for direct PR-review re-entry.
1277
1285
  * Lock order is fixed: workflow-session first, authorization store second. The