opencode-swarm 7.159.0 → 7.159.1

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 (76) hide show
  1. package/dist/cli/{coder-settlement-66mqw0xt.js → coder-settlement-d89tqam8.js} +9 -9
  2. package/dist/cli/{config-doctor-nkx61b9e.js → config-doctor-8zawz3qh.js} +2 -2
  3. package/dist/cli/{core-b3db7gf6.js → core-pp64ys5v.js} +1 -1
  4. package/dist/cli/{curation-policy-vn3m5nq2.js → curation-policy-2gq8307w.js} +6 -6
  5. package/dist/cli/{curator-llm-factory-c4y1mrr5.js → curator-llm-factory-m3yw6sn5.js} +30 -30
  6. package/dist/cli/{curator-w4ntvkz5.js → curator-mpqpbr0r.js} +30 -30
  7. package/dist/cli/{evidence-summary-service-vadgnzk6.js → evidence-summary-service-qaq1eba9.js} +12 -12
  8. package/dist/cli/{gate-evidence-0chatz5e.js → gate-evidence-r0c71n04.js} +6 -6
  9. package/dist/cli/{guardrail-explain-ax2qmsp4.js → guardrail-explain-5z64w3ah.js} +31 -31
  10. package/dist/cli/{guardrail-log-t3c9g8tc.js → guardrail-log-f9nf687y.js} +5 -5
  11. package/dist/cli/{guardrail-reset-wvdb5sv5.js → guardrail-reset-yjwk20rb.js} +30 -30
  12. package/dist/cli/{hive-promoter-mfq3ee0n.js → hive-promoter-zjtgbh4w.js} +30 -30
  13. package/dist/cli/{index-nwkr6tvv.js → index-0zerbq1v.js} +1 -1
  14. package/dist/cli/{index-mc9qgkwd.js → index-1qpagg2t.js} +3 -3
  15. package/dist/cli/{index-fcp41snp.js → index-29wav1x0.js} +4 -4
  16. package/dist/cli/{index-ghjs1n7k.js → index-2z00wqvb.js} +3 -3
  17. package/dist/cli/{index-8kfbdrxa.js → index-36sgq7n9.js} +32 -32
  18. package/dist/cli/{index-9vt2hknx.js → index-3rcqxbwt.js} +1 -1
  19. package/dist/cli/{index-hte1e31d.js → index-3scbg6n2.js} +2 -2
  20. package/dist/cli/{index-e2s08v0q.js → index-4k9pqbxw.js} +2 -2
  21. package/dist/cli/{index-xmz69g65.js → index-4nc9npx5.js} +2 -2
  22. package/dist/cli/{index-pfnj5pvs.js → index-54pkyasv.js} +1 -1
  23. package/dist/cli/{index-6e6qxf5q.js → index-60mzwj91.js} +1 -1
  24. package/dist/cli/{index-8fqb0ynp.js → index-6z53bew2.js} +1 -1
  25. package/dist/cli/{index-tcbjjppb.js → index-7yg4ypyg.js} +1 -1
  26. package/dist/cli/{index-3e8600a7.js → index-86dvzyac.js} +703 -222
  27. package/dist/cli/{index-vywbn766.js → index-8819vcke.js} +4 -4
  28. package/dist/cli/{index-04yrxg0z.js → index-9fphcxes.js} +2 -2
  29. package/dist/cli/{index-1sdb57jv.js → index-9yxyc1gb.js} +6 -6
  30. package/dist/cli/{index-zcmwwp1x.js → index-a5w29k1t.js} +1 -1
  31. package/dist/cli/{index-xagq35tf.js → index-av3gnekk.js} +1 -1
  32. package/dist/cli/{index-erdsawqz.js → index-bea260ta.js} +6 -6
  33. package/dist/cli/{index-ynjy98vv.js → index-bz7ayg01.js} +5 -5
  34. package/dist/cli/{index-k4arrwrz.js → index-f3yphmk6.js} +7 -7
  35. package/dist/cli/{index-5zgf140g.js → index-g6d8xam2.js} +1 -1
  36. package/dist/cli/{index-k48kgm6z.js → index-gkw7kq6z.js} +5 -5
  37. package/dist/cli/{index-b82tq895.js → index-k6y6btb6.js} +3 -3
  38. package/dist/cli/{index-h1g8w4v0.js → index-prknc0xn.js} +129 -44
  39. package/dist/cli/{index-z54qw70y.js → index-tvz43tea.js} +1 -1
  40. package/dist/cli/{index-h52hs4e9.js → index-v3jy0tc6.js} +2 -2
  41. package/dist/cli/{index-pvzaryhr.js → index-ve3v09kq.js} +1 -1
  42. package/dist/cli/{index-b1tenv2s.js → index-wae55z9w.js} +7 -1
  43. package/dist/cli/{index-8jnzp5ct.js → index-wttqayp1.js} +2 -2
  44. package/dist/cli/{index-35grv4jg.js → index-yw26j0q7.js} +7 -7
  45. package/dist/cli/{index-we3nf5as.js → index-zmc8mm7v.js} +4 -4
  46. package/dist/cli/{index-7s1hmrfh.js → index-zxkv8x5n.js} +2 -2
  47. package/dist/cli/index.js +30 -30
  48. package/dist/cli/{knowledge-escalator-x85t1e66.js → knowledge-escalator-585m4927.js} +11 -11
  49. package/dist/cli/{knowledge-events-bwx99mxc.js → knowledge-events-ssegqfmy.js} +9 -9
  50. package/dist/cli/{knowledge-link-cj2abbae.js → knowledge-link-a9fafeb3.js} +5 -5
  51. package/dist/cli/{knowledge-store-21m81zsa.js → knowledge-store-nznky6cv.js} +6 -6
  52. package/dist/cli/{knowledge-validator-yxcadg1p.js → knowledge-validator-3byea8gp.js} +8 -8
  53. package/dist/cli/{pending-delegations-b8qka5nf.js → pending-delegations-qrjq3s29.js} +3 -3
  54. package/dist/cli/{pr-review-reentry-authorization-wv3ck5kh.js → pr-review-reentry-authorization-w8ja0m2p.js} +30 -30
  55. package/dist/cli/{pr-subscriptions-j9j70bmd.js → pr-subscriptions-fvmey1x6.js} +4 -4
  56. package/dist/cli/{runner-sj5sf36c.js → runner-atbehryj.js} +6 -6
  57. package/dist/cli/{scan-cursor-m3w0tapb.js → scan-cursor-kv9scb2v.js} +7 -7
  58. package/dist/cli/{schema-0b0dqn28.js → schema-a7f88yc3.js} +1 -1
  59. package/dist/cli/{scope-persistence-199f7yqc.js → scope-persistence-x6de46s4.js} +8 -8
  60. package/dist/cli/{skill-generator-a2ekcbe2.js → skill-generator-vwcrfrw3.js} +13 -13
  61. package/dist/cli/{telemetry-r8e8zey7.js → telemetry-3rh94wv3.js} +1 -1
  62. package/dist/cli/{worktree-collision-ownership-5qaab3q7.js → worktree-collision-ownership-7kf9mm5z.js} +5 -5
  63. package/dist/cli/{worktree-isolation-esesc842.js → worktree-isolation-6zh5bxrd.js} +30 -30
  64. package/dist/config/schema.d.ts +20 -0
  65. package/dist/evaluation/contracts.d.ts +5 -5
  66. package/dist/evaluation/ephemeral-agent-dispatcher.d.ts +2 -0
  67. package/dist/evaluation/model-dispatcher.d.ts +2 -2
  68. package/dist/index.js +189 -189
  69. package/dist/observability/catalog.d.ts +5 -3
  70. package/dist/review/contracts.d.ts +2 -1
  71. package/dist/review/evidence.d.ts +12 -0
  72. package/dist/services/cost-accounting.d.ts +100 -0
  73. package/dist/services/status-service.d.ts +12 -0
  74. package/dist/telemetry.d.ts +1 -1
  75. package/opencode-swarm.schema.json +40 -0
  76. package/package.json +1 -1
@@ -30,10 +30,16 @@ var FORBID_SESSION = Object.freeze([
30
30
  "hostSessionId"
31
31
  ]);
32
32
  var CONSUMER_COST_ACCOUNTING = Object.freeze([
33
- "src/services/cost-accounting.ts:128"
33
+ "src/services/cost-accounting.ts:429"
34
+ ]);
35
+ var CONSUMER_COST_CORRECTION = Object.freeze([
36
+ "src/services/cost-accounting.ts:426"
37
+ ]);
38
+ var CONSUMER_COST_JOIN = Object.freeze([
39
+ "src/services/cost-accounting.ts:413"
34
40
  ]);
35
41
  var CONSUMER_GATE_STATS = Object.freeze(["src/evaluation/gate-stats.ts:99"]);
36
- var CONSUMER_HEARTBEAT_LISTENER = Object.freeze(["src/telemetry.ts:211"]);
42
+ var CONSUMER_HEARTBEAT_LISTENER = Object.freeze(["src/telemetry.ts:214"]);
37
43
  function defineEntry(kind, input) {
38
44
  const entry = {
39
45
  kind,
@@ -66,7 +72,7 @@ var CATALOG_SOURCE = [
66
72
  category: "lifecycle",
67
73
  severity: "info",
68
74
  privacyClass: "pseudonymous",
69
- producer: "src/telemetry.ts:516",
75
+ producer: "src/telemetry.ts:519",
70
76
  consumers: NO_CONSUMERS,
71
77
  futureOwnerIssue: ISSUE_SINK,
72
78
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -80,7 +86,7 @@ var CATALOG_SOURCE = [
80
86
  category: "lifecycle",
81
87
  severity: "info",
82
88
  privacyClass: "pseudonymous",
83
- producer: "src/telemetry.ts:520",
89
+ producer: "src/telemetry.ts:523",
84
90
  consumers: NO_CONSUMERS,
85
91
  futureOwnerIssue: ISSUE_SINK,
86
92
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -94,7 +100,7 @@ var CATALOG_SOURCE = [
94
100
  category: "lifecycle",
95
101
  severity: "info",
96
102
  privacyClass: "pseudonymous",
97
- producer: "src/telemetry.ts:524",
103
+ producer: "src/telemetry.ts:527",
98
104
  consumers: NO_CONSUMERS,
99
105
  futureOwnerIssue: ISSUE_SINK,
100
106
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -108,7 +114,7 @@ var CATALOG_SOURCE = [
108
114
  category: "lifecycle",
109
115
  severity: "info",
110
116
  privacyClass: "pseudonymous",
111
- producer: "src/telemetry.ts:561",
117
+ producer: "src/telemetry.ts:565",
112
118
  consumers: NO_CONSUMERS,
113
119
  futureOwnerIssue: ISSUE_SINK,
114
120
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -122,7 +128,7 @@ var CATALOG_SOURCE = [
122
128
  category: "lifecycle",
123
129
  severity: "info",
124
130
  privacyClass: "pseudonymous",
125
- producer: "src/telemetry.ts:609",
131
+ producer: "src/telemetry.ts:613",
126
132
  consumers: NO_CONSUMERS,
127
133
  futureOwnerIssue: ISSUE_SINK,
128
134
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -136,7 +142,7 @@ var CATALOG_SOURCE = [
136
142
  category: "lifecycle",
137
143
  severity: "debug",
138
144
  privacyClass: "pseudonymous",
139
- producer: "src/telemetry.ts:791",
145
+ producer: "src/telemetry.ts:795",
140
146
  consumers: CONSUMER_HEARTBEAT_LISTENER,
141
147
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
142
148
  requiredWorkflowIds: REQUIRE_SESSION,
@@ -149,7 +155,7 @@ var CATALOG_SOURCE = [
149
155
  category: "lifecycle",
150
156
  severity: "info",
151
157
  privacyClass: "pseudonymous",
152
- producer: "src/telemetry.ts:799",
158
+ producer: "src/telemetry.ts:803",
153
159
  consumers: NO_CONSUMERS,
154
160
  futureOwnerIssue: ISSUE_SINK,
155
161
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -162,7 +168,7 @@ var CATALOG_SOURCE = [
162
168
  category: "lifecycle",
163
169
  severity: "info",
164
170
  privacyClass: "pseudonymous",
165
- producer: "src/telemetry.ts:824",
171
+ producer: "src/telemetry.ts:828",
166
172
  consumers: NO_CONSUMERS,
167
173
  futureOwnerIssue: ISSUE_SINK,
168
174
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -176,7 +182,7 @@ var CATALOG_SOURCE = [
176
182
  category: "delegation",
177
183
  severity: "info",
178
184
  privacyClass: "pseudonymous",
179
- producer: "src/telemetry.ts:528",
185
+ producer: "src/telemetry.ts:531",
180
186
  consumers: NO_CONSUMERS,
181
187
  futureOwnerIssue: ISSUE_SINK,
182
188
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -190,20 +196,60 @@ var CATALOG_SOURCE = [
190
196
  category: "delegation",
191
197
  severity: "info",
192
198
  privacyClass: "pseudonymous",
193
- producer: "src/telemetry.ts:538",
199
+ producer: "src/telemetry.ts:541",
194
200
  consumers: CONSUMER_COST_ACCOUNTING,
195
201
  retentionOwnerIssue: ISSUE_COST_RETENTION,
196
202
  requiredWorkflowIds: REQUIRE_SESSION_AND_TASK,
197
203
  otelMapping: "genai"
198
204
  }
199
205
  ],
206
+ [
207
+ "delegation_cost_correction",
208
+ {
209
+ category: "delegation",
210
+ severity: "info",
211
+ privacyClass: "pseudonymous",
212
+ producer: "src/index.ts:636",
213
+ consumers: CONSUMER_COST_CORRECTION,
214
+ retentionOwnerIssue: ISSUE_COST_RETENTION,
215
+ requiredWorkflowIds: REQUIRE_SESSION_AND_TASK,
216
+ otelMapping: "genai"
217
+ }
218
+ ],
219
+ [
220
+ "delegation_cost_binding",
221
+ {
222
+ category: "delegation",
223
+ severity: "info",
224
+ privacyClass: "pseudonymous",
225
+ producer: "src/index.ts:1561",
226
+ consumers: NO_CONSUMERS,
227
+ futureOwnerIssue: ISSUE_SINK,
228
+ retentionOwnerIssue: ISSUE_COST_RETENTION,
229
+ requiredWorkflowIds: REQUIRE_SESSION,
230
+ otelMapping: "none"
231
+ }
232
+ ],
233
+ [
234
+ "delegation_cost_join",
235
+ {
236
+ category: "delegation",
237
+ severity: "notice",
238
+ privacyClass: "pseudonymous",
239
+ producer: "src/index.ts:1581",
240
+ consumers: CONSUMER_COST_JOIN,
241
+ retentionOwnerIssue: ISSUE_COST_RETENTION,
242
+ requiredWorkflowIds: REQUIRE_SESSION,
243
+ otelMapping: "none"
244
+ }
245
+ ],
200
246
  [
201
247
  "model_fallback",
202
248
  {
203
249
  category: "delegation",
204
250
  severity: "notice",
205
251
  privacyClass: "pseudonymous",
206
- producer: "src/telemetry.ts:642",
252
+ producer: "src/telemetry.ts:646",
207
253
  consumers: NO_CONSUMERS,
208
254
  futureOwnerIssue: ISSUE_SINK,
209
255
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -217,7 +263,7 @@ var CATALOG_SOURCE = [
217
263
  category: "delegation",
218
264
  severity: "warning",
219
265
  privacyClass: "pseudonymous",
220
- producer: "src/telemetry.ts:656",
266
+ producer: "src/telemetry.ts:660",
221
267
  consumers: NO_CONSUMERS,
222
268
  futureOwnerIssue: ISSUE_SINK,
223
269
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -231,7 +277,7 @@ var CATALOG_SOURCE = [
231
277
  category: "gate",
232
278
  severity: "info",
233
279
  privacyClass: "pseudonymous",
234
- producer: "src/telemetry.ts:570",
280
+ producer: "src/telemetry.ts:574",
235
281
  consumers: NO_CONSUMERS,
236
282
  futureOwnerIssue: ISSUE_SINK,
237
283
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -244,7 +290,7 @@ var CATALOG_SOURCE = [
244
290
  category: "gate",
245
291
  severity: "warning",
246
292
  privacyClass: "pseudonymous",
247
- producer: "src/telemetry.ts:587",
293
+ producer: "src/telemetry.ts:591",
248
294
  consumers: NO_CONSUMERS,
249
295
  futureOwnerIssue: ISSUE_SINK,
250
296
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -257,7 +303,7 @@ var CATALOG_SOURCE = [
257
303
  category: "gate",
258
304
  severity: "warning",
259
305
  privacyClass: "sensitive",
260
- producer: "src/telemetry.ts:574",
306
+ producer: "src/telemetry.ts:578",
261
307
  consumers: NO_CONSUMERS,
262
308
  futureOwnerIssue: ISSUE_SINK,
263
309
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -271,7 +317,7 @@ var CATALOG_SOURCE = [
271
317
  category: "gate",
272
318
  severity: "info",
273
319
  privacyClass: "pseudonymous",
274
- producer: "src/telemetry.ts:597",
320
+ producer: "src/telemetry.ts:601",
275
321
  consumers: CONSUMER_GATE_STATS,
276
322
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
277
323
  requiredWorkflowIds: REQUIRE_SESSION_AND_TASK
@@ -283,7 +329,7 @@ var CATALOG_SOURCE = [
283
329
  category: "cost",
284
330
  severity: "info",
285
331
  privacyClass: "pseudonymous",
286
- producer: "src/telemetry.ts:613",
332
+ producer: "src/telemetry.ts:617",
287
333
  consumers: NO_CONSUMERS,
288
334
  futureOwnerIssue: ISSUE_SINK,
289
335
  retentionOwnerIssue: ISSUE_COST_RETENTION,
@@ -296,7 +342,7 @@ var CATALOG_SOURCE = [
296
342
  category: "guardrail",
297
343
  severity: "notice",
298
344
  privacyClass: "pseudonymous",
299
- producer: "src/telemetry.ts:632",
345
+ producer: "src/telemetry.ts:636",
300
346
  consumers: NO_CONSUMERS,
301
347
  futureOwnerIssue: ISSUE_SINK,
302
348
  retentionOwnerIssue: ISSUE_SINK,
@@ -309,7 +355,7 @@ var CATALOG_SOURCE = [
309
355
  category: "guardrail",
310
356
  severity: "error",
311
357
  privacyClass: "pseudonymous",
312
- producer: "src/telemetry.ts:670",
358
+ producer: "src/telemetry.ts:674",
313
359
  consumers: NO_CONSUMERS,
314
360
  futureOwnerIssue: ISSUE_SINK,
315
361
  retentionOwnerIssue: ISSUE_SINK,
@@ -322,7 +368,7 @@ var CATALOG_SOURCE = [
322
368
  category: "guardrail",
323
369
  severity: "warning",
324
370
  privacyClass: "pseudonymous",
325
- producer: "src/telemetry.ts:679",
371
+ producer: "src/telemetry.ts:683",
326
372
  consumers: NO_CONSUMERS,
327
373
  futureOwnerIssue: ISSUE_SINK,
328
374
  retentionOwnerIssue: ISSUE_SINK,
@@ -335,7 +381,7 @@ var CATALOG_SOURCE = [
335
381
  category: "guardrail",
336
382
  severity: "warning",
337
383
  privacyClass: "sensitive",
338
- producer: "src/telemetry.ts:683",
384
+ producer: "src/telemetry.ts:687",
339
385
  consumers: NO_CONSUMERS,
340
386
  futureOwnerIssue: ISSUE_SINK,
341
387
  retentionOwnerIssue: ISSUE_SINK,
@@ -348,7 +394,7 @@ var CATALOG_SOURCE = [
348
394
  category: "guardrail",
349
395
  severity: "error",
350
396
  privacyClass: "sensitive",
351
- producer: "src/telemetry.ts:779",
397
+ producer: "src/telemetry.ts:783",
352
398
  consumers: NO_CONSUMERS,
353
399
  futureOwnerIssue: ISSUE_SINK,
354
400
  retentionOwnerIssue: ISSUE_SINK,
@@ -361,7 +407,7 @@ var CATALOG_SOURCE = [
361
407
  category: "guardrail",
362
408
  severity: "warning",
363
409
  privacyClass: "pseudonymous",
364
- producer: "src/telemetry.ts:787",
410
+ producer: "src/telemetry.ts:791",
365
411
  consumers: NO_CONSUMERS,
366
412
  futureOwnerIssue: ISSUE_SINK,
367
413
  retentionOwnerIssue: ISSUE_SINK,
@@ -374,7 +420,7 @@ var CATALOG_SOURCE = [
374
420
  category: "guardrail",
375
421
  severity: "warning",
376
422
  privacyClass: "pseudonymous",
377
- producer: "src/telemetry.ts:809",
423
+ producer: "src/telemetry.ts:813",
378
424
  consumers: NO_CONSUMERS,
379
425
  futureOwnerIssue: ISSUE_SINK,
380
426
  retentionOwnerIssue: ISSUE_SINK,
@@ -387,7 +433,7 @@ var CATALOG_SOURCE = [
387
433
  category: "guardrail",
388
434
  severity: "warning",
389
435
  privacyClass: "pseudonymous",
390
- producer: "src/telemetry.ts:697",
436
+ producer: "src/telemetry.ts:701",
391
437
  consumers: NO_CONSUMERS,
392
438
  futureOwnerIssue: ISSUE_SINK,
393
439
  retentionOwnerIssue: ISSUE_SINK,
@@ -400,7 +446,7 @@ var CATALOG_SOURCE = [
400
446
  category: "guardrail",
401
447
  severity: "warning",
402
448
  privacyClass: "pseudonymous",
403
- producer: "src/telemetry.ts:718",
449
+ producer: "src/telemetry.ts:722",
404
450
  consumers: NO_CONSUMERS,
405
451
  futureOwnerIssue: ISSUE_SINK,
406
452
  retentionOwnerIssue: ISSUE_SINK,
@@ -413,7 +459,7 @@ var CATALOG_SOURCE = [
413
459
  category: "guardrail",
414
460
  severity: "warning",
415
461
  privacyClass: "pseudonymous",
416
- producer: "src/telemetry.ts:732",
462
+ producer: "src/telemetry.ts:736",
417
463
  consumers: NO_CONSUMERS,
418
464
  futureOwnerIssue: ISSUE_SINK,
419
465
  retentionOwnerIssue: ISSUE_SINK,
@@ -426,7 +472,7 @@ var CATALOG_SOURCE = [
426
472
  category: "guardrail",
427
473
  severity: "error",
428
474
  privacyClass: "pseudonymous",
429
- producer: "src/telemetry.ts:749",
475
+ producer: "src/telemetry.ts:753",
430
476
  consumers: NO_CONSUMERS,
431
477
  futureOwnerIssue: ISSUE_SINK,
432
478
  retentionOwnerIssue: ISSUE_SINK,
@@ -439,7 +485,7 @@ var CATALOG_SOURCE = [
439
485
  category: "guardrail",
440
486
  severity: "error",
441
487
  privacyClass: "sensitive",
442
- producer: "src/telemetry.ts:766",
488
+ producer: "src/telemetry.ts:770",
443
489
  consumers: NO_CONSUMERS,
444
490
  futureOwnerIssue: ISSUE_SINK,
445
491
  retentionOwnerIssue: ISSUE_SINK,
@@ -452,7 +498,7 @@ var CATALOG_SOURCE = [
452
498
  category: "prm",
453
499
  severity: "error",
454
500
  privacyClass: "pseudonymous",
455
- producer: "src/telemetry.ts:1118",
501
+ producer: "src/telemetry.ts:1122",
456
502
  consumers: NO_CONSUMERS,
457
503
  futureOwnerIssue: ISSUE_SINK,
458
504
  retentionOwnerIssue: ISSUE_SINK,
@@ -465,7 +511,7 @@ var CATALOG_SOURCE = [
465
511
  category: "prm",
466
512
  severity: "notice",
467
513
  privacyClass: "pseudonymous",
468
- producer: "src/telemetry.ts:839",
514
+ producer: "src/telemetry.ts:843",
469
515
  consumers: NO_CONSUMERS,
470
516
  futureOwnerIssue: ISSUE_SINK,
471
517
  retentionOwnerIssue: ISSUE_SINK,
@@ -478,7 +524,7 @@ var CATALOG_SOURCE = [
478
524
  category: "prm",
479
525
  severity: "notice",
480
526
  privacyClass: "pseudonymous",
481
- producer: "src/telemetry.ts:853",
527
+ producer: "src/telemetry.ts:857",
482
528
  consumers: NO_CONSUMERS,
483
529
  futureOwnerIssue: ISSUE_SINK,
484
530
  retentionOwnerIssue: ISSUE_SINK,
@@ -491,7 +537,7 @@ var CATALOG_SOURCE = [
491
537
  category: "prm",
492
538
  severity: "warning",
493
539
  privacyClass: "pseudonymous",
494
- producer: "src/telemetry.ts:866",
540
+ producer: "src/telemetry.ts:870",
495
541
  consumers: NO_CONSUMERS,
496
542
  futureOwnerIssue: ISSUE_SINK,
497
543
  retentionOwnerIssue: ISSUE_SINK,
@@ -504,7 +550,7 @@ var CATALOG_SOURCE = [
504
550
  category: "prm",
505
551
  severity: "critical",
506
552
  privacyClass: "pseudonymous",
507
- producer: "src/telemetry.ts:880",
553
+ producer: "src/telemetry.ts:884",
508
554
  consumers: NO_CONSUMERS,
509
555
  futureOwnerIssue: ISSUE_SINK,
510
556
  retentionOwnerIssue: ISSUE_SINK,
@@ -614,7 +660,7 @@ var CATALOG_SOURCE = [
614
660
  category: "lifecycle",
615
661
  severity: "notice",
616
662
  privacyClass: "operational",
617
- producer: "src/telemetry.ts:917",
663
+ producer: "src/telemetry.ts:921",
618
664
  consumers: NO_CONSUMERS,
619
665
  futureOwnerIssue: ISSUE_SINK,
620
666
  retentionOwnerIssue: ISSUE_SINK
@@ -654,7 +700,7 @@ var CATALOG_SOURCE = [
654
700
  category: "lifecycle",
655
701
  severity: "notice",
656
702
  privacyClass: "operational",
657
- producer: "src/telemetry.ts:939",
703
+ producer: "src/telemetry.ts:943",
658
704
  consumers: NO_CONSUMERS,
659
705
  futureOwnerIssue: ISSUE_SINK,
660
706
  retentionOwnerIssue: ISSUE_SINK,
@@ -668,7 +714,7 @@ var CATALOG_SOURCE = [
668
714
  category: "lifecycle",
669
715
  severity: "notice",
670
716
  privacyClass: "operational",
671
- producer: "src/telemetry.ts:963",
717
+ producer: "src/telemetry.ts:967",
672
718
  consumers: NO_CONSUMERS,
673
719
  futureOwnerIssue: ISSUE_SINK,
674
720
  retentionOwnerIssue: ISSUE_SINK,
@@ -682,7 +728,7 @@ var CATALOG_SOURCE = [
682
728
  category: "lifecycle",
683
729
  severity: "notice",
684
730
  privacyClass: "operational",
685
- producer: "src/telemetry.ts:1000",
731
+ producer: "src/telemetry.ts:1004",
686
732
  consumers: NO_CONSUMERS,
687
733
  futureOwnerIssue: ISSUE_SINK,
688
734
  retentionOwnerIssue: ISSUE_SINK,
@@ -696,7 +742,7 @@ var CATALOG_SOURCE = [
696
742
  category: "lifecycle",
697
743
  severity: "notice",
698
744
  privacyClass: "operational",
699
- producer: "src/telemetry.ts:1026",
745
+ producer: "src/telemetry.ts:1030",
700
746
  consumers: NO_CONSUMERS,
701
747
  futureOwnerIssue: ISSUE_SINK,
702
748
  retentionOwnerIssue: ISSUE_SINK,
@@ -710,7 +756,7 @@ var CATALOG_SOURCE = [
710
756
  category: "lifecycle",
711
757
  severity: "notice",
712
758
  privacyClass: "operational",
713
- producer: "src/telemetry.ts:1050",
759
+ producer: "src/telemetry.ts:1054",
714
760
  consumers: NO_CONSUMERS,
715
761
  futureOwnerIssue: ISSUE_SINK,
716
762
  retentionOwnerIssue: ISSUE_SINK,
@@ -724,7 +770,7 @@ var CATALOG_SOURCE = [
724
770
  category: "lifecycle",
725
771
  severity: "notice",
726
772
  privacyClass: "operational",
727
- producer: "src/telemetry.ts:1073",
773
+ producer: "src/telemetry.ts:1077",
728
774
  consumers: NO_CONSUMERS,
729
775
  futureOwnerIssue: ISSUE_SINK,
730
776
  retentionOwnerIssue: ISSUE_SINK,
@@ -738,7 +784,7 @@ var CATALOG_SOURCE = [
738
784
  category: "lifecycle",
739
785
  severity: "notice",
740
786
  privacyClass: "operational",
741
- producer: "src/telemetry.ts:1102",
787
+ producer: "src/telemetry.ts:1106",
742
788
  consumers: NO_CONSUMERS,
743
789
  futureOwnerIssue: ISSUE_SINK,
744
790
  retentionOwnerIssue: ISSUE_SINK,
@@ -960,8 +1006,46 @@ var KNOWN_TELEMETRY_KEYS = Object.freeze({
960
1006
  "cost_source",
961
1007
  "model",
962
1008
  "gate",
1009
+ "retry_index",
1010
+ "cost_evidence",
1011
+ "evidence_status",
1012
+ "evidence_reason",
1013
+ "currency",
1014
+ "record_id",
1015
+ "identity_fingerprint",
1016
+ "parent_session_digest",
1017
+ "child_session_digest",
1018
+ "version"
1019
+ ]),
1020
+ delegation_cost_correction: Object.freeze([
1021
+ "sessionId",
1022
+ "agentName",
1023
+ "taskId",
1024
+ "parent_session_digest",
1025
+ "record_id",
1026
+ "identity_fingerprint",
1027
+ "version",
1028
+ "cost_evidence",
1029
+ "evidence_status",
1030
+ "evidence_reason",
1031
+ "currency",
1032
+ "cost_usd",
1033
+ "cost_source",
1034
+ "tokens_input",
1035
+ "tokens_output",
1036
+ "tokens_reasoning",
1037
+ "tokens_cache",
1038
+ "model",
1039
+ "gate",
963
1040
  "retry_index"
964
1041
  ]),
1042
+ delegation_cost_binding: Object.freeze([
1043
+ "sessionId",
1044
+ "record_id",
1045
+ "identity_fingerprint",
1046
+ "child_session_digest"
1047
+ ]),
1048
+ delegation_cost_join: Object.freeze(["sessionId", "reason"]),
965
1049
  task_state_changed: Object.freeze([
966
1050
  "sessionId",
967
1051
  "taskId",
@@ -1793,6 +1877,7 @@ var telemetry = {
1793
1877
  tokens_reasoning: costFields?.tokens_reasoning ?? 0,
1794
1878
  tokens_cache: costFields?.tokens_cache ?? 0,
1795
1879
  cost_usd: costFields?.cost_usd ?? null,
1880
+ ...costFields,
1796
1881
  cost_source: costFields?.cost_source ?? "unavailable",
1797
1882
  model: costFields?.model,
1798
1883
  gate: costFields?.gate,
@@ -9,7 +9,7 @@ import {
9
9
  readEvaluationRun,
10
10
  saveEvaluationRun,
11
11
  saveTaskSetSnapshot
12
- } from "./index-7s1hmrfh.js";
12
+ } from "./index-zxkv8x5n.js";
13
13
  import {
14
14
  canonicalHash,
15
15
  computeCandidateInputContentHash,
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  atomicWriteFileAnyRoot
4
- } from "./index-zcmwwp1x.js";
4
+ } from "./index-a5w29k1t.js";
5
5
  import {
6
6
  withEvidenceLock
7
- } from "./index-xagq35tf.js";
7
+ } from "./index-av3gnekk.js";
8
8
 
9
9
  // src/evidence/task-file.ts
10
10
  import * as path from "path";
@@ -92,7 +92,7 @@ var _internals = {
92
92
  symlinkSync: fs.symlinkSync
93
93
  },
94
94
  writeScopeToDisk: async (directory, taskId, files) => {
95
- const { writeScopeToDisk: realWrite } = await import("./scope-persistence-199f7yqc.js");
95
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-x6de46s4.js");
96
96
  return realWrite(directory, taskId, files);
97
97
  },
98
98
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -21,7 +21,7 @@ var package_default;
21
21
  var init_package = __esm(() => {
22
22
  package_default = {
23
23
  name: "opencode-swarm",
24
- version: "7.159.0",
24
+ version: "7.159.1",
25
25
  description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
26
26
  main: "dist/index.js",
27
27
  types: "dist/index.d.ts",
@@ -360,6 +360,12 @@ var init_schema = __esm(() => {
360
360
  cache_per_million: exports_external.number().min(0).optional()
361
361
  });
362
362
  PricingConfigSchema = exports_external.object({
363
+ currency: exports_external.literal("USD").optional().default("USD"),
364
+ version: exports_external.string().min(1).max(128).optional(),
365
+ effective_at: exports_external.string().datetime().optional(),
366
+ billing_basis: exports_external.enum(["token", "request", "subscription"]).optional(),
367
+ reported_cost_currency: exports_external.record(exports_external.string().min(1).max(128), exports_external.literal("USD")).optional().default({}),
368
+ subscription_unbilled: exports_external.boolean().optional().default(false),
363
369
  models: exports_external.record(exports_external.string().min(1), ModelPricingConfigSchema).optional().default({})
364
370
  });
365
371
  HooksConfigSchema = exports_external.object({
@@ -14,14 +14,14 @@ import {
14
14
  detectWindowsWrites,
15
15
  getSharedClassifierGuardrailBlock,
16
16
  resolveWriteTargets
17
- } from "./index-3e8600a7.js";
17
+ } from "./index-86dvzyac.js";
18
18
  import {
19
19
  checkFileAuthority,
20
20
  classifyFile,
21
21
  isInDeclaredScope,
22
22
  redactPath,
23
23
  redactShellCommand
24
- } from "./index-04yrxg0z.js";
24
+ } from "./index-9fphcxes.js";
25
25
 
26
26
  // src/services/guardrail-explain-service.ts
27
27
  import path from "path";
@@ -4,26 +4,26 @@ import {
4
4
  } from "./index-dtn0pne5.js";
5
5
  import {
6
6
  loadPluginConfigWithMeta
7
- } from "./index-tcbjjppb.js";
7
+ } from "./index-7yg4ypyg.js";
8
8
  import {
9
9
  KnowledgeConfigSchema,
10
10
  init_schema
11
- } from "./index-b1tenv2s.js";
11
+ } from "./index-wae55z9w.js";
12
12
  import {
13
13
  resolveHiveEventsPath
14
14
  } from "./index-ae75rja9.js";
15
15
  import {
16
16
  resolveKnowledgeStoreDir
17
- } from "./index-5zgf140g.js";
17
+ } from "./index-g6d8xam2.js";
18
18
  import {
19
19
  atomicWriteFile
20
- } from "./index-h52hs4e9.js";
20
+ } from "./index-v3jy0tc6.js";
21
21
  import {
22
22
  assertProjectRoot
23
- } from "./index-xagq35tf.js";
23
+ } from "./index-av3gnekk.js";
24
24
  import {
25
25
  emit
26
- } from "./index-h1g8w4v0.js";
26
+ } from "./index-prknc0xn.js";
27
27
  import {
28
28
  require_proper_lockfile
29
29
  } from "./index-7g4c7s5r.js";
@@ -2793,7 +2793,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
2793
2793
  }
2794
2794
  let bumps = 0;
2795
2795
  if (deltas.length > 0) {
2796
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-21m81zsa.js");
2796
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-nznky6cv.js");
2797
2797
  bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
2798
2798
  }
2799
2799
  return {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  autoCommitDirty,
4
4
  cleanUntrackedFiles
5
- } from "./index-pvzaryhr.js";
5
+ } from "./index-ve3v09kq.js";
6
6
  import {
7
7
  isPathWithinDeclaredScope,
8
8
  unsafePathTextReason
@@ -26,13 +26,13 @@ import {
26
26
  atomicWriteFile,
27
27
  taskEvidencePath,
28
28
  withTaskEvidenceLock
29
- } from "./index-h52hs4e9.js";
29
+ } from "./index-v3jy0tc6.js";
30
30
  import {
31
31
  assertProjectRoot
32
- } from "./index-xagq35tf.js";
32
+ } from "./index-av3gnekk.js";
33
33
  import {
34
34
  telemetry
35
- } from "./index-h1g8w4v0.js";
35
+ } from "./index-prknc0xn.js";
36
36
  import {
37
37
  exports_external,
38
38
  init_zod
@@ -9,11 +9,11 @@ import {
9
9
  } from "./index-txdagbh7.js";
10
10
  import {
11
11
  atomicWriteFile
12
- } from "./index-h52hs4e9.js";
12
+ } from "./index-v3jy0tc6.js";
13
13
  import {
14
14
  assertProjectRoot,
15
15
  withEvidenceLock
16
- } from "./index-xagq35tf.js";
16
+ } from "./index-av3gnekk.js";
17
17
  import {
18
18
  exports_external,
19
19
  init_zod