opencode-swarm 7.171.1 → 7.172.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 (125) hide show
  1. package/README.md +5 -0
  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/background/delegation-lifecycle.d.ts +21 -5
  5. package/dist/background/pending-delegations.d.ts +118 -6
  6. package/dist/cli/ast-diff-f2a1y02y.js +13 -0
  7. package/dist/cli/{coder-settlement-vxpmxk46.js → coder-settlement-0k46xqk2.js} +14 -14
  8. package/dist/cli/{config-doctor-vwy3c9g9.js → config-doctor-x41bxjp6.js} +6 -6
  9. package/dist/cli/{core-2znms60v.js → core-3spww0at.js} +5 -5
  10. package/dist/cli/{curation-policy-fakrpw5t.js → curation-policy-92qhvewe.js} +7 -7
  11. package/dist/cli/{curator-drift-r9r8gepb.js → curator-drift-fqvxe2zw.js} +8 -8
  12. package/dist/cli/{curator-kc80aj6d.js → curator-eyz6gg74.js} +45 -45
  13. package/dist/cli/curator-llm-factory-jnsjqq99.js +72 -0
  14. package/dist/cli/{dispatch-hwwj3qrb.js → dispatch-9yqqqfr6.js} +2 -2
  15. package/dist/cli/{evidence-summary-service-g3gr1pfs.js → evidence-summary-service-kf0vb1hf.js} +22 -22
  16. package/dist/cli/{gate-evidence-8mwsj2b7.js → gate-evidence-89wvxgs9.js} +9 -9
  17. package/dist/cli/guardrail-explain-rz4kaqyp.js +73 -0
  18. package/dist/cli/guardrail-log-kfjk62sz.js +23 -0
  19. package/dist/cli/{guardrail-reset-v91p8ca6.js → guardrail-reset-d8m1h5sz.js} +45 -45
  20. package/dist/cli/hive-promoter-0ekf5zp1.js +87 -0
  21. package/dist/cli/{index-xm0131fx.js → index-0y2ygy5f.js} +154 -37
  22. package/dist/cli/{index-aa2eyfvr.js → index-12w05bxk.js} +2 -2
  23. package/dist/cli/{index-95e3a9en.js → index-1s3t3jdc.js} +1 -1
  24. package/dist/cli/{index-xefajbqv.js → index-1vsmh63p.js} +2734 -1433
  25. package/dist/cli/{index-3zzyxs7q.js → index-25fa4krx.js} +8 -8
  26. package/dist/cli/{index-wn9gf91x.js → index-29j9sjbw.js} +3 -3
  27. package/dist/cli/{index-vs7b2pqm.js → index-2rdj9mdh.js} +4 -4
  28. package/dist/cli/{index-4sf357vj.js → index-328eg2bb.js} +4 -4
  29. package/dist/cli/{index-nyn01yrz.js → index-34jdempk.js} +2 -2
  30. package/dist/cli/{index-d6bs0p6d.js → index-39x78qk0.js} +8 -8
  31. package/dist/cli/{index-m1j1rth6.js → index-3kqzzwvd.js} +2 -2
  32. package/dist/cli/{index-5134766r.js → index-53ges0rk.js} +7 -7
  33. package/dist/cli/{index-7pae558g.js → index-5hambjmn.js} +6 -6
  34. package/dist/cli/{index-dr1ym009.js → index-63t4m2t5.js} +16 -16
  35. package/dist/cli/{index-0caqxnby.js → index-677gzqmd.js} +1 -1
  36. package/dist/cli/{index-b3pmzbh1.js → index-6fb3y9pm.js} +2 -2
  37. package/dist/cli/{index-s7h6txsk.js → index-6jshhpjw.js} +3 -3
  38. package/dist/cli/{index-5vgd9st3.js → index-7q1m8rsw.js} +7 -7
  39. package/dist/cli/{index-3jwamrzw.js → index-8k09fkqj.js} +5 -5
  40. package/dist/cli/{index-rdjmbeex.js → index-8wnjcav5.js} +4 -4
  41. package/dist/cli/{index-nbdmdyke.js → index-a2kv054j.js} +1 -1
  42. package/dist/cli/{index-9dz2ee2g.js → index-br3r0y73.js} +67 -47
  43. package/dist/cli/{index-ee6ydtfe.js → index-c1ggtmpm.js} +1 -1
  44. package/dist/cli/{index-evxd1art.js → index-dga9j6s1.js} +2 -2
  45. package/dist/cli/{index-nfs78aqj.js → index-dpb1xs5m.js} +2 -2
  46. package/dist/cli/{index-sxt7fgcw.js → index-ecaws78e.js} +1 -1
  47. package/dist/cli/{index-yqbnsmmv.js → index-efkckdaw.js} +1 -1
  48. package/dist/cli/{index-cw912re7.js → index-fpbcxykc.js} +1 -1
  49. package/dist/cli/{index-3qf1vxtb.js → index-frcemc0b.js} +1 -1
  50. package/dist/cli/{index-bpmtbmy9.js → index-gknz3bv1.js} +1 -1
  51. package/dist/cli/{index-6mjtptnb.js → index-gmw8a1qa.js} +1 -1
  52. package/dist/cli/{index-5400m33a.js → index-hnvmj9wx.js} +1 -1
  53. package/dist/cli/{index-rkj71ej6.js → index-jvg7hvjp.js} +7 -7
  54. package/dist/cli/{index-g6nen3gt.js → index-k441jgzk.js} +1 -1
  55. package/dist/cli/{index-6k5aq7b9.js → index-mj07x42s.js} +2 -2
  56. package/dist/cli/{index-kb66he4e.js → index-nqbmk4b9.js} +1 -1
  57. package/dist/cli/{index-er6sk4e6.js → index-nyrhz1h1.js} +2 -2
  58. package/dist/cli/{index-b43rt5ph.js → index-pt7h91zc.js} +19 -1
  59. package/dist/cli/{ast-diff-b0esr2kf.js → index-qss1s93b.js} +3 -6
  60. package/dist/cli/{index-cdee25pp.js → index-r08tgb71.js} +2 -2
  61. package/dist/cli/{index-3jcp3zb6.js → index-s723hx7z.js} +2 -2
  62. package/dist/cli/{index-2j0pd6sj.js → index-tfmb620d.js} +45 -45
  63. package/dist/cli/{index-7qqwx64h.js → index-v2fge66b.js} +8 -8
  64. package/dist/cli/{index-fhh02gwx.js → index-v6msnkz2.js} +2 -2
  65. package/dist/cli/{index-d5pk5b95.js → index-w1d5nsdc.js} +2 -2
  66. package/dist/cli/{index-n832052r.js → index-wrt875kh.js} +1 -1
  67. package/dist/cli/{index-ztxh3nmf.js → index-xn9tm7sr.js} +47 -47
  68. package/dist/cli/{index-9cp6bhx9.js → index-y8y2bjsy.js} +4 -4
  69. package/dist/cli/{semantic-classifier-ygqk0me1.js → index-ykamkw55.js} +2 -5
  70. package/dist/cli/{index-9br68j86.js → index-z2deqhpp.js} +1 -1
  71. package/dist/cli/{index-8nbzfbjg.js → index-z81mxyhm.js} +5 -5
  72. package/dist/cli/{index-4rq1d5k5.js → index-zbw6h4xn.js} +4 -3
  73. package/dist/cli/index.js +53 -47
  74. package/dist/cli/{knowledge-escalator-4j6xgcvj.js → knowledge-escalator-qtz01ffw.js} +17 -17
  75. package/dist/cli/{knowledge-events-5ax1g356.js → knowledge-events-8w0mvkzc.js} +15 -15
  76. package/dist/cli/{knowledge-link-vh9pfnb9.js → knowledge-link-3xp7h4xn.js} +6 -6
  77. package/dist/cli/{knowledge-store-2nrtfb5x.js → knowledge-store-p5ps09qg.js} +7 -7
  78. package/dist/cli/{knowledge-validator-efcax8g9.js → knowledge-validator-rc63wfkp.js} +9 -9
  79. package/dist/cli/mcp-pmfg7wpk.js +78 -0
  80. package/dist/cli/mcp.d.ts +27 -0
  81. package/dist/cli/{model-preflight-1ycat9jz.js → model-preflight-2mvdbj0c.js} +1 -1
  82. package/dist/cli/{pending-delegations-29qj2kya.js → pending-delegations-1sg6g7et.js} +21 -13
  83. package/dist/cli/{pr-subscriptions-t51vcrvd.js → pr-subscriptions-yd804apk.js} +13 -13
  84. package/dist/cli/{pr-workflow-gate-03367gvd.js → pr-workflow-gate-pf3ssffq.js} +45 -45
  85. package/dist/cli/{runner-8m8qhngm.js → runner-rry4z6j2.js} +7 -7
  86. package/dist/cli/{scan-cursor-nhxpv6tj.js → scan-cursor-j93ek248.js} +8 -8
  87. package/dist/cli/{schema-ht5hmsce.js → schema-hvptm5hf.js} +3 -3
  88. package/dist/cli/{scope-persistence-6qebaksv.js → scope-persistence-3tfvswtk.js} +17 -17
  89. package/dist/cli/semantic-classifier-bjsez0v5.js +8 -0
  90. package/dist/cli/server-rbvx63t6.js +18129 -0
  91. package/dist/cli/{skill-generator-tfm4kawf.js → skill-generator-r9wc6xt1.js} +19 -19
  92. package/dist/cli/snapshot-coordination-init-7w5em40w.js +86 -0
  93. package/dist/cli/{telemetry-0mz37v3h.js → telemetry-vw919tfm.js} +3 -3
  94. package/dist/cli/{workspace-snapshot-hkz2wt1c.js → workspace-snapshot-x54wxr6a.js} +4 -4
  95. package/dist/cli/{worktree-collision-ownership-6mgm8p9g.js → worktree-collision-ownership-yetwf2ch.js} +14 -14
  96. package/dist/cli/{worktree-isolation-02rr7t21.js → worktree-isolation-sxfj78hv.js} +45 -45
  97. package/dist/hooks/pr-workflow-gate.d.ts +14 -2
  98. package/dist/hooks/pr-workflow-session-resolver.d.ts +45 -0
  99. package/dist/hooks/search-knowledge.d.ts +7 -0
  100. package/dist/index.js +103 -103
  101. package/dist/mcp/adapters/knowledge-memory.d.ts +16 -0
  102. package/dist/mcp/adapters/scope-repo.d.ts +14 -0
  103. package/dist/mcp/adapters/verification.d.ts +20 -0
  104. package/dist/mcp/pipeline.d.ts +25 -0
  105. package/dist/mcp/registry.d.ts +47 -0
  106. package/dist/mcp/server.d.ts +35 -0
  107. package/dist/memory/gateway.d.ts +9 -1
  108. package/dist/observability/catalog.d.ts +4 -3
  109. package/dist/pr-review/completion.d.ts +12 -0
  110. package/dist/retention/dir-prune.d.ts +5 -1
  111. package/dist/telemetry.d.ts +11 -1
  112. package/dist/tools/dispatch-lanes.d.ts +5 -1
  113. package/dist/tools/placeholder-scan.d.ts +10 -0
  114. package/dist/tools/pr-workflow-status.d.ts +6 -0
  115. package/dist/tools/quality-budget.d.ts +10 -0
  116. package/dist/tools/repo-map.d.ts +5 -0
  117. package/dist/tools/sast-scan.d.ts +11 -0
  118. package/dist/tools/swarm-memory-recall.d.ts +12 -0
  119. package/dist/tools/syntax-check.d.ts +12 -1
  120. package/package.json +2 -1
  121. package/dist/cli/curator-llm-factory-exke3rag.js +0 -72
  122. package/dist/cli/guardrail-explain-pkbjswtd.js +0 -73
  123. package/dist/cli/guardrail-log-qx1tpeda.js +0 -23
  124. package/dist/cli/hive-promoter-02vxb018.js +0 -87
  125. package/dist/cli/snapshot-coordination-init-zgfjjv9p.js +0 -86
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  exports_external,
7
7
  init_zod
8
- } from "./index-bpmtbmy9.js";
8
+ } from "./index-gknz3bv1.js";
9
9
  import {
10
10
  log
11
11
  } from "./index-zgwm4ryv.js";
@@ -53,7 +53,7 @@ var CONSUMER_COST_JOIN = Object.freeze([
53
53
  "src/services/cost-accounting.ts:415"
54
54
  ]);
55
55
  var CONSUMER_GATE_STATS = Object.freeze(["src/evaluation/gate-stats.ts:99"]);
56
- var CONSUMER_HEARTBEAT_LISTENER = Object.freeze(["src/telemetry.ts:268"]);
56
+ var CONSUMER_HEARTBEAT_LISTENER = Object.freeze(["src/telemetry.ts:269"]);
57
57
  function defineEntry(kind, input) {
58
58
  const entry = {
59
59
  kind,
@@ -86,7 +86,7 @@ var CATALOG_SOURCE = [
86
86
  category: "lifecycle",
87
87
  severity: "info",
88
88
  privacyClass: "pseudonymous",
89
- producer: "src/telemetry.ts:654",
89
+ producer: "src/telemetry.ts:655",
90
90
  consumers: NO_CONSUMERS,
91
91
  futureOwnerIssue: ISSUE_SINK,
92
92
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -100,7 +100,7 @@ var CATALOG_SOURCE = [
100
100
  category: "lifecycle",
101
101
  severity: "info",
102
102
  privacyClass: "pseudonymous",
103
- producer: "src/telemetry.ts:658",
103
+ producer: "src/telemetry.ts:659",
104
104
  consumers: NO_CONSUMERS,
105
105
  futureOwnerIssue: ISSUE_SINK,
106
106
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -114,7 +114,7 @@ var CATALOG_SOURCE = [
114
114
  category: "lifecycle",
115
115
  severity: "info",
116
116
  privacyClass: "pseudonymous",
117
- producer: "src/telemetry.ts:662",
117
+ producer: "src/telemetry.ts:663",
118
118
  consumers: NO_CONSUMERS,
119
119
  futureOwnerIssue: ISSUE_SINK,
120
120
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -128,7 +128,7 @@ var CATALOG_SOURCE = [
128
128
  category: "lifecycle",
129
129
  severity: "info",
130
130
  privacyClass: "pseudonymous",
131
- producer: "src/telemetry.ts:700",
131
+ producer: "src/telemetry.ts:718",
132
132
  consumers: NO_CONSUMERS,
133
133
  futureOwnerIssue: ISSUE_SINK,
134
134
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -142,7 +142,7 @@ var CATALOG_SOURCE = [
142
142
  category: "lifecycle",
143
143
  severity: "info",
144
144
  privacyClass: "pseudonymous",
145
- producer: "src/telemetry.ts:748",
145
+ producer: "src/telemetry.ts:766",
146
146
  consumers: NO_CONSUMERS,
147
147
  futureOwnerIssue: ISSUE_SINK,
148
148
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -156,7 +156,7 @@ var CATALOG_SOURCE = [
156
156
  category: "lifecycle",
157
157
  severity: "debug",
158
158
  privacyClass: "pseudonymous",
159
- producer: "src/telemetry.ts:930",
159
+ producer: "src/telemetry.ts:948",
160
160
  consumers: CONSUMER_HEARTBEAT_LISTENER,
161
161
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
162
162
  requiredWorkflowIds: REQUIRE_SESSION,
@@ -169,7 +169,7 @@ var CATALOG_SOURCE = [
169
169
  category: "lifecycle",
170
170
  severity: "info",
171
171
  privacyClass: "pseudonymous",
172
- producer: "src/telemetry.ts:938",
172
+ producer: "src/telemetry.ts:956",
173
173
  consumers: NO_CONSUMERS,
174
174
  futureOwnerIssue: ISSUE_SINK,
175
175
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -182,7 +182,7 @@ var CATALOG_SOURCE = [
182
182
  category: "lifecycle",
183
183
  severity: "info",
184
184
  privacyClass: "pseudonymous",
185
- producer: "src/telemetry.ts:963",
185
+ producer: "src/telemetry.ts:981",
186
186
  consumers: NO_CONSUMERS,
187
187
  futureOwnerIssue: ISSUE_SINK,
188
188
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -196,7 +196,7 @@ var CATALOG_SOURCE = [
196
196
  category: "delegation",
197
197
  severity: "info",
198
198
  privacyClass: "pseudonymous",
199
- producer: "src/telemetry.ts:666",
199
+ producer: "src/telemetry.ts:667",
200
200
  consumers: NO_CONSUMERS,
201
201
  futureOwnerIssue: ISSUE_SINK,
202
202
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -210,13 +210,26 @@ var CATALOG_SOURCE = [
210
210
  category: "delegation",
211
211
  severity: "info",
212
212
  privacyClass: "pseudonymous",
213
- producer: "src/telemetry.ts:676",
213
+ producer: "src/telemetry.ts:677",
214
214
  consumers: CONSUMER_COST_ACCOUNTING,
215
215
  retentionOwnerIssue: ISSUE_COST_RETENTION,
216
216
  requiredWorkflowIds: REQUIRE_SESSION_AND_TASK,
217
217
  otelMapping: "genai"
218
218
  }
219
219
  ],
220
+ [
221
+ "delegation_read_uncertain",
222
+ {
223
+ category: "delegation",
224
+ severity: "info",
225
+ privacyClass: "pseudonymous",
226
+ producer: "src/telemetry.ts:705",
227
+ consumers: NO_CONSUMERS,
228
+ futureOwnerIssue: 2511,
229
+ retentionOwnerIssue: 2511,
230
+ otelMapping: "none"
231
+ }
232
+ ],
220
233
  [
221
234
  "delegation_cost_correction",
222
235
  {
@@ -263,7 +276,7 @@ var CATALOG_SOURCE = [
263
276
  category: "delegation",
264
277
  severity: "notice",
265
278
  privacyClass: "pseudonymous",
266
- producer: "src/telemetry.ts:781",
279
+ producer: "src/telemetry.ts:799",
267
280
  consumers: NO_CONSUMERS,
268
281
  futureOwnerIssue: ISSUE_SINK,
269
282
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -277,7 +290,7 @@ var CATALOG_SOURCE = [
277
290
  category: "delegation",
278
291
  severity: "warning",
279
292
  privacyClass: "pseudonymous",
280
- producer: "src/telemetry.ts:795",
293
+ producer: "src/telemetry.ts:813",
281
294
  consumers: NO_CONSUMERS,
282
295
  futureOwnerIssue: ISSUE_SINK,
283
296
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -291,7 +304,7 @@ var CATALOG_SOURCE = [
291
304
  category: "gate",
292
305
  severity: "info",
293
306
  privacyClass: "pseudonymous",
294
- producer: "src/telemetry.ts:709",
307
+ producer: "src/telemetry.ts:727",
295
308
  consumers: NO_CONSUMERS,
296
309
  futureOwnerIssue: ISSUE_SINK,
297
310
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -304,7 +317,7 @@ var CATALOG_SOURCE = [
304
317
  category: "gate",
305
318
  severity: "warning",
306
319
  privacyClass: "pseudonymous",
307
- producer: "src/telemetry.ts:726",
320
+ producer: "src/telemetry.ts:744",
308
321
  consumers: NO_CONSUMERS,
309
322
  futureOwnerIssue: ISSUE_SINK,
310
323
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -317,7 +330,7 @@ var CATALOG_SOURCE = [
317
330
  category: "gate",
318
331
  severity: "warning",
319
332
  privacyClass: "sensitive",
320
- producer: "src/telemetry.ts:713",
333
+ producer: "src/telemetry.ts:731",
321
334
  consumers: NO_CONSUMERS,
322
335
  futureOwnerIssue: ISSUE_SINK,
323
336
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -331,7 +344,7 @@ var CATALOG_SOURCE = [
331
344
  category: "gate",
332
345
  severity: "info",
333
346
  privacyClass: "pseudonymous",
334
- producer: "src/telemetry.ts:736",
347
+ producer: "src/telemetry.ts:754",
335
348
  consumers: CONSUMER_GATE_STATS,
336
349
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
337
350
  requiredWorkflowIds: REQUIRE_SESSION_AND_TASK
@@ -407,7 +420,7 @@ var CATALOG_SOURCE = [
407
420
  category: "guardrail",
408
421
  severity: "notice",
409
422
  privacyClass: "pseudonymous",
410
- producer: "src/telemetry.ts:1107",
423
+ producer: "src/telemetry.ts:1125",
411
424
  consumers: NO_CONSUMERS,
412
425
  futureOwnerIssue: ISSUE_SINK,
413
426
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -420,7 +433,7 @@ var CATALOG_SOURCE = [
420
433
  category: "cost",
421
434
  severity: "info",
422
435
  privacyClass: "pseudonymous",
423
- producer: "src/telemetry.ts:752",
436
+ producer: "src/telemetry.ts:770",
424
437
  consumers: NO_CONSUMERS,
425
438
  futureOwnerIssue: ISSUE_SINK,
426
439
  retentionOwnerIssue: ISSUE_COST_RETENTION,
@@ -433,7 +446,7 @@ var CATALOG_SOURCE = [
433
446
  category: "guardrail",
434
447
  severity: "notice",
435
448
  privacyClass: "pseudonymous",
436
- producer: "src/telemetry.ts:771",
449
+ producer: "src/telemetry.ts:789",
437
450
  consumers: NO_CONSUMERS,
438
451
  futureOwnerIssue: ISSUE_SINK,
439
452
  retentionOwnerIssue: ISSUE_SINK,
@@ -446,7 +459,7 @@ var CATALOG_SOURCE = [
446
459
  category: "guardrail",
447
460
  severity: "info",
448
461
  privacyClass: "pseudonymous",
449
- producer: "src/telemetry.ts:1340",
462
+ producer: "src/telemetry.ts:1358",
450
463
  consumers: NO_CONSUMERS,
451
464
  futureOwnerIssue: ISSUE_SINK,
452
465
  retentionOwnerIssue: ISSUE_SINK,
@@ -459,7 +472,7 @@ var CATALOG_SOURCE = [
459
472
  category: "guardrail",
460
473
  severity: "error",
461
474
  privacyClass: "pseudonymous",
462
- producer: "src/telemetry.ts:809",
475
+ producer: "src/telemetry.ts:827",
463
476
  consumers: NO_CONSUMERS,
464
477
  futureOwnerIssue: ISSUE_SINK,
465
478
  retentionOwnerIssue: ISSUE_SINK,
@@ -472,7 +485,7 @@ var CATALOG_SOURCE = [
472
485
  category: "guardrail",
473
486
  severity: "warning",
474
487
  privacyClass: "pseudonymous",
475
- producer: "src/telemetry.ts:818",
488
+ producer: "src/telemetry.ts:836",
476
489
  consumers: NO_CONSUMERS,
477
490
  futureOwnerIssue: ISSUE_SINK,
478
491
  retentionOwnerIssue: ISSUE_SINK,
@@ -485,7 +498,7 @@ var CATALOG_SOURCE = [
485
498
  category: "guardrail",
486
499
  severity: "warning",
487
500
  privacyClass: "sensitive",
488
- producer: "src/telemetry.ts:822",
501
+ producer: "src/telemetry.ts:840",
489
502
  consumers: NO_CONSUMERS,
490
503
  futureOwnerIssue: ISSUE_SINK,
491
504
  retentionOwnerIssue: ISSUE_SINK,
@@ -498,7 +511,7 @@ var CATALOG_SOURCE = [
498
511
  category: "guardrail",
499
512
  severity: "error",
500
513
  privacyClass: "sensitive",
501
- producer: "src/telemetry.ts:918",
514
+ producer: "src/telemetry.ts:936",
502
515
  consumers: NO_CONSUMERS,
503
516
  futureOwnerIssue: ISSUE_SINK,
504
517
  retentionOwnerIssue: ISSUE_SINK,
@@ -511,7 +524,7 @@ var CATALOG_SOURCE = [
511
524
  category: "guardrail",
512
525
  severity: "warning",
513
526
  privacyClass: "pseudonymous",
514
- producer: "src/telemetry.ts:926",
527
+ producer: "src/telemetry.ts:944",
515
528
  consumers: NO_CONSUMERS,
516
529
  futureOwnerIssue: ISSUE_SINK,
517
530
  retentionOwnerIssue: ISSUE_SINK,
@@ -524,7 +537,7 @@ var CATALOG_SOURCE = [
524
537
  category: "guardrail",
525
538
  severity: "warning",
526
539
  privacyClass: "pseudonymous",
527
- producer: "src/telemetry.ts:948",
540
+ producer: "src/telemetry.ts:966",
528
541
  consumers: NO_CONSUMERS,
529
542
  futureOwnerIssue: ISSUE_SINK,
530
543
  retentionOwnerIssue: ISSUE_SINK,
@@ -537,7 +550,7 @@ var CATALOG_SOURCE = [
537
550
  category: "guardrail",
538
551
  severity: "warning",
539
552
  privacyClass: "pseudonymous",
540
- producer: "src/telemetry.ts:836",
553
+ producer: "src/telemetry.ts:854",
541
554
  consumers: NO_CONSUMERS,
542
555
  futureOwnerIssue: ISSUE_SINK,
543
556
  retentionOwnerIssue: ISSUE_SINK,
@@ -550,7 +563,7 @@ var CATALOG_SOURCE = [
550
563
  category: "guardrail",
551
564
  severity: "warning",
552
565
  privacyClass: "pseudonymous",
553
- producer: "src/telemetry.ts:857",
566
+ producer: "src/telemetry.ts:875",
554
567
  consumers: NO_CONSUMERS,
555
568
  futureOwnerIssue: ISSUE_SINK,
556
569
  retentionOwnerIssue: ISSUE_SINK,
@@ -563,7 +576,7 @@ var CATALOG_SOURCE = [
563
576
  category: "guardrail",
564
577
  severity: "warning",
565
578
  privacyClass: "pseudonymous",
566
- producer: "src/telemetry.ts:871",
579
+ producer: "src/telemetry.ts:889",
567
580
  consumers: NO_CONSUMERS,
568
581
  futureOwnerIssue: ISSUE_SINK,
569
582
  retentionOwnerIssue: ISSUE_SINK,
@@ -576,7 +589,7 @@ var CATALOG_SOURCE = [
576
589
  category: "guardrail",
577
590
  severity: "error",
578
591
  privacyClass: "pseudonymous",
579
- producer: "src/telemetry.ts:888",
592
+ producer: "src/telemetry.ts:906",
580
593
  consumers: NO_CONSUMERS,
581
594
  futureOwnerIssue: ISSUE_SINK,
582
595
  retentionOwnerIssue: ISSUE_SINK,
@@ -589,7 +602,7 @@ var CATALOG_SOURCE = [
589
602
  category: "guardrail",
590
603
  severity: "error",
591
604
  privacyClass: "sensitive",
592
- producer: "src/telemetry.ts:905",
605
+ producer: "src/telemetry.ts:923",
593
606
  consumers: NO_CONSUMERS,
594
607
  futureOwnerIssue: ISSUE_SINK,
595
608
  retentionOwnerIssue: ISSUE_SINK,
@@ -602,7 +615,7 @@ var CATALOG_SOURCE = [
602
615
  category: "prm",
603
616
  severity: "error",
604
617
  privacyClass: "pseudonymous",
605
- producer: "src/telemetry.ts:1321",
618
+ producer: "src/telemetry.ts:1339",
606
619
  consumers: NO_CONSUMERS,
607
620
  futureOwnerIssue: ISSUE_SINK,
608
621
  retentionOwnerIssue: ISSUE_SINK,
@@ -615,7 +628,7 @@ var CATALOG_SOURCE = [
615
628
  category: "prm",
616
629
  severity: "notice",
617
630
  privacyClass: "pseudonymous",
618
- producer: "src/telemetry.ts:978",
631
+ producer: "src/telemetry.ts:996",
619
632
  consumers: NO_CONSUMERS,
620
633
  futureOwnerIssue: ISSUE_SINK,
621
634
  retentionOwnerIssue: ISSUE_SINK,
@@ -628,7 +641,7 @@ var CATALOG_SOURCE = [
628
641
  category: "prm",
629
642
  severity: "notice",
630
643
  privacyClass: "pseudonymous",
631
- producer: "src/telemetry.ts:992",
644
+ producer: "src/telemetry.ts:1010",
632
645
  consumers: NO_CONSUMERS,
633
646
  futureOwnerIssue: ISSUE_SINK,
634
647
  retentionOwnerIssue: ISSUE_SINK,
@@ -641,7 +654,7 @@ var CATALOG_SOURCE = [
641
654
  category: "prm",
642
655
  severity: "warning",
643
656
  privacyClass: "pseudonymous",
644
- producer: "src/telemetry.ts:1005",
657
+ producer: "src/telemetry.ts:1023",
645
658
  consumers: NO_CONSUMERS,
646
659
  futureOwnerIssue: ISSUE_SINK,
647
660
  retentionOwnerIssue: ISSUE_SINK,
@@ -654,7 +667,7 @@ var CATALOG_SOURCE = [
654
667
  category: "prm",
655
668
  severity: "critical",
656
669
  privacyClass: "pseudonymous",
657
- producer: "src/telemetry.ts:1019",
670
+ producer: "src/telemetry.ts:1037",
658
671
  consumers: NO_CONSUMERS,
659
672
  futureOwnerIssue: ISSUE_SINK,
660
673
  retentionOwnerIssue: ISSUE_SINK,
@@ -764,7 +777,7 @@ var CATALOG_SOURCE = [
764
777
  category: "lifecycle",
765
778
  severity: "notice",
766
779
  privacyClass: "operational",
767
- producer: "src/telemetry.ts:1056",
780
+ producer: "src/telemetry.ts:1074",
768
781
  consumers: NO_CONSUMERS,
769
782
  futureOwnerIssue: ISSUE_SINK,
770
783
  retentionOwnerIssue: ISSUE_SINK
@@ -804,7 +817,7 @@ var CATALOG_SOURCE = [
804
817
  category: "lifecycle",
805
818
  severity: "notice",
806
819
  privacyClass: "operational",
807
- producer: "src/telemetry.ts:1078",
820
+ producer: "src/telemetry.ts:1096",
808
821
  consumers: NO_CONSUMERS,
809
822
  futureOwnerIssue: ISSUE_SINK,
810
823
  retentionOwnerIssue: ISSUE_SINK,
@@ -818,7 +831,7 @@ var CATALOG_SOURCE = [
818
831
  category: "lifecycle",
819
832
  severity: "notice",
820
833
  privacyClass: "operational",
821
- producer: "src/telemetry.ts:1122",
834
+ producer: "src/telemetry.ts:1140",
822
835
  consumers: NO_CONSUMERS,
823
836
  futureOwnerIssue: ISSUE_SINK,
824
837
  retentionOwnerIssue: ISSUE_SINK,
@@ -832,7 +845,7 @@ var CATALOG_SOURCE = [
832
845
  category: "lifecycle",
833
846
  severity: "notice",
834
847
  privacyClass: "operational",
835
- producer: "src/telemetry.ts:1159",
848
+ producer: "src/telemetry.ts:1177",
836
849
  consumers: NO_CONSUMERS,
837
850
  futureOwnerIssue: ISSUE_SINK,
838
851
  retentionOwnerIssue: ISSUE_SINK,
@@ -846,7 +859,7 @@ var CATALOG_SOURCE = [
846
859
  category: "lifecycle",
847
860
  severity: "notice",
848
861
  privacyClass: "operational",
849
- producer: "src/telemetry.ts:1185",
862
+ producer: "src/telemetry.ts:1203",
850
863
  consumers: NO_CONSUMERS,
851
864
  futureOwnerIssue: ISSUE_SINK,
852
865
  retentionOwnerIssue: ISSUE_SINK,
@@ -860,7 +873,7 @@ var CATALOG_SOURCE = [
860
873
  category: "lifecycle",
861
874
  severity: "notice",
862
875
  privacyClass: "operational",
863
- producer: "src/telemetry.ts:1209",
876
+ producer: "src/telemetry.ts:1227",
864
877
  consumers: NO_CONSUMERS,
865
878
  futureOwnerIssue: ISSUE_SINK,
866
879
  retentionOwnerIssue: ISSUE_SINK,
@@ -874,7 +887,7 @@ var CATALOG_SOURCE = [
874
887
  category: "lifecycle",
875
888
  severity: "notice",
876
889
  privacyClass: "operational",
877
- producer: "src/telemetry.ts:1232",
890
+ producer: "src/telemetry.ts:1250",
878
891
  consumers: NO_CONSUMERS,
879
892
  futureOwnerIssue: ISSUE_SINK,
880
893
  retentionOwnerIssue: ISSUE_SINK,
@@ -888,7 +901,7 @@ var CATALOG_SOURCE = [
888
901
  category: "lifecycle",
889
902
  severity: "notice",
890
903
  privacyClass: "operational",
891
- producer: "src/telemetry.ts:1261",
904
+ producer: "src/telemetry.ts:1279",
892
905
  consumers: NO_CONSUMERS,
893
906
  futureOwnerIssue: ISSUE_SINK,
894
907
  retentionOwnerIssue: ISSUE_SINK,
@@ -902,7 +915,7 @@ var CATALOG_SOURCE = [
902
915
  category: "lifecycle",
903
916
  severity: "warning",
904
917
  privacyClass: "operational",
905
- producer: "src/telemetry.ts:1305",
918
+ producer: "src/telemetry.ts:1323",
906
919
  consumers: NO_CONSUMERS,
907
920
  futureOwnerIssue: ISSUE_SINK,
908
921
  retentionOwnerIssue: 2044,
@@ -2114,6 +2127,13 @@ var telemetry = {
2114
2127
  retry_index: costFields?.retry_index
2115
2128
  });
2116
2129
  },
2130
+ delegationReadUncertain(event) {
2131
+ _internals.emit("delegation_read_uncertain", {
2132
+ attempt: event.attempt,
2133
+ reasonCode: event.reasonCode.slice(0, 64),
2134
+ source: event.source
2135
+ });
2136
+ },
2117
2137
  taskStateChanged(sessionId, taskId, newState, oldState) {
2118
2138
  _internals.emit("task_state_changed", {
2119
2139
  sessionId,
@@ -30,4 +30,4 @@ function simpleGlobToRegex(pattern, flags = "i") {
30
30
  const escaped = pattern.split("*").map((starSegment) => starSegment.split("?").map(escapeRegex).join(".")).join(".*");
31
31
  return new RegExp(`^${escaped}$`, flags);
32
32
  }
33
- export { SwarmError, simpleGlobToRegex };
33
+ export { SwarmError, escapeRegex, simpleGlobToRegex };
@@ -4,10 +4,10 @@ import {
4
4
  } from "./index-7g4c7s5r.js";
5
5
  import {
6
6
  emit
7
- } from "./index-9dz2ee2g.js";
7
+ } from "./index-br3r0y73.js";
8
8
  import {
9
9
  atomicWriteFileAnyRoot
10
- } from "./index-nbdmdyke.js";
10
+ } from "./index-a2kv054j.js";
11
11
  import {
12
12
  init_logger,
13
13
  warn
@@ -3,10 +3,10 @@ import {
3
3
  pseudonymousRef,
4
4
  resolveLineageSalt,
5
5
  telemetry
6
- } from "./index-9dz2ee2g.js";
6
+ } from "./index-br3r0y73.js";
7
7
  import {
8
8
  atomicWriteSwarmFile
9
- } from "./index-nbdmdyke.js";
9
+ } from "./index-a2kv054j.js";
10
10
  import {
11
11
  canonicalRootKeyFresh
12
12
  } from "./index-1xnse449.js";
@@ -1358,4 +1358,4 @@ var init_constants = __esm(() => {
1358
1358
  };
1359
1359
  });
1360
1360
 
1361
- export { QA_AGENTS, PIPELINE_AGENTS, ORCHESTRATOR_NAME, ALL_SUBAGENT_NAMES, ALL_AGENT_NAMES, init_agent_names, TOOL_NAMES, TOOL_NAME_SET, getPrWorkflowToolCapability, TOOL_DESCRIPTIONS, AGENT_TOOL_MAP, init_tool_metadata, MEMORY_AGENT_TOOL_MAP, EXTERNAL_SKILL_AGENT_TOOL_MAP, COUNCIL_AGENT_TOOL_MAP, GENERAL_COUNCIL_AGENT_TOOL_MAP, TURBO_AGENT_TOOL_MAP, SKILL_TOOL_NAMES, SKILL_AGENT_TOOL_MAP, WRITE_TOOL_NAMES, SUMMARIZER_EXEMPT_TOOL_NAMES, DEFAULT_MODELS, DEFAULT_AGENT_CONFIGS, isQAAgent, isSubagent, SWARM_WORKTREE_DIR_NAME, DEFAULT_WORKTREE_ISOLATION_CONFIG, init_constants };
1361
+ export { QA_AGENTS, PIPELINE_AGENTS, ORCHESTRATOR_NAME, ALL_SUBAGENT_NAMES, ALL_AGENT_NAMES, init_agent_names, TOOL_METADATA, TOOL_NAMES, TOOL_NAME_SET, getPrWorkflowToolCapability, TOOL_DESCRIPTIONS, AGENT_TOOL_MAP, init_tool_metadata, MEMORY_AGENT_TOOL_MAP, EXTERNAL_SKILL_AGENT_TOOL_MAP, COUNCIL_AGENT_TOOL_MAP, GENERAL_COUNCIL_AGENT_TOOL_MAP, TURBO_AGENT_TOOL_MAP, SKILL_TOOL_NAMES, SKILL_AGENT_TOOL_MAP, WRITE_TOOL_NAMES, SUMMARIZER_EXEMPT_TOOL_NAMES, DEFAULT_MODELS, DEFAULT_AGENT_CONFIGS, isQAAgent, isSubagent, SWARM_WORKTREE_DIR_NAME, DEFAULT_WORKTREE_ISOLATION_CONFIG, init_constants };
@@ -7,7 +7,7 @@ import {
7
7
  } from "./index-ry16d01s.js";
8
8
  import {
9
9
  atomicWriteSwarmFileSync
10
- } from "./index-nbdmdyke.js";
10
+ } from "./index-a2kv054j.js";
11
11
  import {
12
12
  canonicalRootKeyFresh,
13
13
  lexicalRootAliasKey
@@ -197,4 +197,4 @@ var _internals = {
197
197
  validateTargetWithinRoot
198
198
  };
199
199
 
200
- export { containsPathTraversal, containsControlChars, validateWorkspaceRoot, validateSymlinkBoundary, isCanonicalPathWithinRoot, validateTargetWithinRoot };
200
+ export { containsPathTraversal, containsControlChars, validateWorkspaceRoot, validateProjectDirectory, validateSymlinkBoundary, isCanonicalPathWithinRoot, validateTargetWithinRoot };
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  exports_external,
4
4
  init_zod
5
- } from "./index-bpmtbmy9.js";
5
+ } from "./index-gknz3bv1.js";
6
6
 
7
7
  // src/config/evidence-schema.ts
8
8
  init_zod();
@@ -13873,4 +13873,4 @@ var init_zod = __esm(() => {
13873
13873
  init_external();
13874
13874
  });
13875
13875
 
13876
- export { ZodError, exports_external, init_zod };
13876
+ export { $constructor, defineLazy, clone, normalizeParams, init_util, parse, parseAsync, safeParse, safeParseAsync, $ZodType, $ZodObject, init_locales, toJSONSchema, init_json_schema_processors, init_core2 as init_core, exports_iso, ZodError, string2 as string, number2 as number, boolean2 as boolean, _null3 as _null, unknown, array, object, looseObject, union, discriminatedUnion, intersection, record, _enum2 as _enum, literal, ZodOptional, optional, custom, preprocess, exports_external, init_zod };
@@ -4,7 +4,7 @@ import {
4
4
  readShellAuditTail,
5
5
  redactPath,
6
6
  redactShellCommand
7
- } from "./index-4sf357vj.js";
7
+ } from "./index-328eg2bb.js";
8
8
 
9
9
  // src/services/guardrail-log-service.ts
10
10
  var BLOCK_TYPES = new Set([
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-2s7dvzff.js";
5
5
  import {
6
6
  simpleGlobToRegex
7
- } from "./index-ee6ydtfe.js";
7
+ } from "./index-c1ggtmpm.js";
8
8
  import {
9
9
  warn
10
10
  } from "./index-zgwm4ryv.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  _internals,
4
4
  resolveWorktreeIsolationConfig
5
- } from "./index-s7h6txsk.js";
5
+ } from "./index-6jshhpjw.js";
6
6
  import {
7
7
  ApprovalEvidenceSchema,
8
8
  BaseEvidenceSchema,
@@ -17,7 +17,7 @@ import {
17
17
  NoteEvidenceSchema,
18
18
  ReviewEvidenceSchema,
19
19
  TestEvidenceSchema
20
- } from "./index-3qf1vxtb.js";
20
+ } from "./index-frcemc0b.js";
21
21
  import {
22
22
  DeltaSpecSchema,
23
23
  ObligationSchema,
@@ -27,7 +27,7 @@ import {
27
27
  SpecSectionSchema,
28
28
  SwarmSpecSchema,
29
29
  validateSpecContent
30
- } from "./index-n832052r.js";
30
+ } from "./index-wrt875kh.js";
31
31
  import {
32
32
  ExecutionProfileSchema,
33
33
  MigrationStatusSchema,
@@ -44,7 +44,7 @@ import {
44
44
  loadPluginConfigWithMeta,
45
45
  loadPluginConfigWithMetaAsync,
46
46
  resetConfigAdvisoryDedup
47
- } from "./index-m1j1rth6.js";
47
+ } from "./index-3kqzzwvd.js";
48
48
  import"./index-0mhftbpp.js";
49
49
  import"./index-a1w58b47.js";
50
50
  import {
@@ -70,7 +70,7 @@ import {
70
70
  TurboConfigSchema,
71
71
  WorktreeIsolationConfigSchema,
72
72
  resolveAutoReviewConfig
73
- } from "./index-4rq1d5k5.js";
73
+ } from "./index-zbw6h4xn.js";
74
74
  import {
75
75
  ALL_AGENT_NAMES,
76
76
  ALL_SUBAGENT_NAMES,
@@ -80,9 +80,9 @@ import {
80
80
  QA_AGENTS,
81
81
  isQAAgent,
82
82
  isSubagent
83
- } from "./index-sxt7fgcw.js";
83
+ } from "./index-ecaws78e.js";
84
84
  import"./index-bk5tah7q.js";
85
- import"./index-bpmtbmy9.js";
85
+ import"./index-gknz3bv1.js";
86
86
  import"./index-zpsr8rpc.js";
87
87
  import"./index-zgwm4ryv.js";
88
88
  import"./index-a76rekgs.js";
@@ -4,7 +4,7 @@ import {
4
4
  getProjectDb,
5
5
  projectDbExists,
6
6
  withImmediateTransaction
7
- } from "./index-yqbnsmmv.js";
7
+ } from "./index-efkckdaw.js";
8
8
 
9
9
  // src/db/coordination-store.ts
10
10
  import { createHash } from "crypto";
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  observeStoreHealth
4
- } from "./index-nfs78aqj.js";
4
+ } from "./index-dpb1xs5m.js";
5
5
  import {
6
6
  telemetry
7
- } from "./index-9dz2ee2g.js";
7
+ } from "./index-br3r0y73.js";
8
8
  import {
9
9
  init_logger,
10
10
  warn
@@ -5,7 +5,7 @@ import {
5
5
  batchDurabilityClass,
6
6
  classifyDbWriteError,
7
7
  getProjectDb
8
- } from "./index-yqbnsmmv.js";
8
+ } from "./index-efkckdaw.js";
9
9
  import {
10
10
  _internals,
11
11
  canonicalRootKeyFresh
@@ -9,7 +9,7 @@ import {
9
9
  readEvaluationRun,
10
10
  saveEvaluationRun,
11
11
  saveTaskSetSnapshot
12
- } from "./index-3jcp3zb6.js";
12
+ } from "./index-s723hx7z.js";
13
13
  import {
14
14
  canonicalHash,
15
15
  computeCandidateInputContentHash,
@@ -24,7 +24,7 @@ import {
24
24
  import {
25
25
  exports_external,
26
26
  init_zod
27
- } from "./index-bpmtbmy9.js";
27
+ } from "./index-gknz3bv1.js";
28
28
  import {
29
29
  init_logger,
30
30
  warn
@@ -1,5 +1,10 @@
1
1
  // @bun
2
+ import {
3
+ __require
4
+ } from "./index-a76rekgs.js";
5
+
2
6
  // src/lang/registry.ts
7
+ import { extname } from "path";
3
8
  var languageDefinitions = [
4
9
  {
5
10
  id: "javascript",
@@ -111,5 +116,18 @@ for (const definition of languageDefinitions) {
111
116
  function getLanguageForExtension(extension) {
112
117
  return extensionMap.get(extension.toLowerCase());
113
118
  }
119
+ async function getParserForFile(filePath) {
120
+ const extension = extname(filePath).toLowerCase();
121
+ const language = getLanguageForExtension(extension);
122
+ if (!language) {
123
+ return null;
124
+ }
125
+ try {
126
+ const { loadGrammar } = await import("./runtime-wjwbpp9j.js");
127
+ return await loadGrammar(language.id);
128
+ } catch {
129
+ return null;
130
+ }
131
+ }
114
132
 
115
- export { getLanguageForExtension };
133
+ export { getLanguageForExtension, getParserForFile };