opencode-swarm 7.137.2 → 7.137.4
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.
- package/.opencode/skills/test-file-split/SKILL.md +2 -2
- package/.opencode/skills/writing-tests/SKILL.md +15 -1
- package/dist/cli/{config-doctor-xrbzq4r0.js → config-doctor-5qymy0bp.js} +2 -2
- package/dist/cli/{core-6w5sd5bc.js → core-v6bte964.js} +1 -1
- package/dist/cli/{curation-policy-xyradeax.js → curation-policy-788qbgwk.js} +6 -6
- package/dist/cli/{curator-h1ea9skz.js → curator-0zebvv5q.js} +25 -25
- package/dist/cli/{curator-llm-factory-rk7pccwc.js → curator-llm-factory-6w7hpfb0.js} +25 -25
- package/dist/cli/{evidence-summary-service-85gw9p2m.js → evidence-summary-service-1azhyeft.js} +7 -7
- package/dist/cli/{gate-evidence-s2kytsrj.js → gate-evidence-ecx4djaw.js} +4 -4
- package/dist/cli/{guardrail-explain-sq1kcah3.js → guardrail-explain-k1a7mwq9.js} +26 -26
- package/dist/cli/{guardrail-log-7anp1z1n.js → guardrail-log-wqsg11xd.js} +3 -3
- package/dist/cli/{hive-promoter-qsymj94z.js → hive-promoter-kxcm4n0n.js} +25 -25
- package/dist/cli/{index-s9at02fn.js → index-01dpavd4.js} +2 -2
- package/dist/cli/{index-h5sbn1zr.js → index-10mz5js6.js} +75 -34
- package/dist/cli/{index-pwx989sa.js → index-2qr7twf5.js} +3 -3
- package/dist/cli/{index-gv00q5gc.js → index-2y4jy0de.js} +1 -1
- package/dist/cli/{index-5r6kkhd7.js → index-39k6y018.js} +2 -2
- package/dist/cli/{index-s3j9fsab.js → index-4fmztnrq.js} +2 -2
- package/dist/cli/{index-9casmxdt.js → index-b2khb7xx.js} +6 -6
- package/dist/cli/{index-02jqxmh8.js → index-b9pgq0fk.js} +5 -5
- package/dist/cli/{index-4t39wzzg.js → index-bma4nwts.js} +3 -3
- package/dist/cli/{index-877ah4kx.js → index-c2v79596.js} +1 -1
- package/dist/cli/{index-ysh3a2nb.js → index-csneb2ph.js} +2 -2
- package/dist/cli/{index-vft1pg34.js → index-en4fb04r.js} +1 -1
- package/dist/cli/{index-kakb2jm0.js → index-eq564d4t.js} +2 -2
- package/dist/cli/{index-jdqayy7h.js → index-fetnv58w.js} +4 -4
- package/dist/cli/{index-1zrb3vt2.js → index-fmh15wxb.js} +5 -5
- package/dist/cli/{index-1da1tvtn.js → index-h353c1xz.js} +1 -1
- package/dist/cli/{index-dxatvs3f.js → index-j0xx9wpj.js} +1 -1
- package/dist/cli/{index-aygnzd04.js → index-m09k3dpz.js} +1 -1
- package/dist/cli/{index-5k0csd2m.js → index-mrwr3kac.js} +2 -2
- package/dist/cli/{index-5wjw05dy.js → index-ngqxzkqm.js} +2 -2
- package/dist/cli/{index-d735dzm7.js → index-nnf41ca1.js} +1409 -1112
- package/dist/cli/{index-gey6qegb.js → index-p9shqpbc.js} +1 -1
- package/dist/cli/{index-vyh2prxv.js → index-pzkn7d2k.js} +4 -2
- package/dist/cli/{index-rfrkt29c.js → index-q9eqty52.js} +1 -1
- package/dist/cli/{index-p0kez6cn.js → index-rdg1tkz4.js} +27 -27
- package/dist/cli/{index-b2s3t517.js → index-rrxcfxrd.js} +1 -1
- package/dist/cli/{index-n3h6rmbe.js → index-tqshdzaw.js} +1 -1
- package/dist/cli/{index-8ehyt3rx.js → index-xybtaph7.js} +1 -1
- package/dist/cli/{index-qy3rgmkc.js → index-z7jgvm9b.js} +1 -1
- package/dist/cli/index.js +25 -25
- package/dist/cli/{knowledge-escalator-e9zk371p.js → knowledge-escalator-dna6s7qy.js} +7 -7
- package/dist/cli/{knowledge-events-dnyc1k78.js → knowledge-events-shy8wgb3.js} +5 -5
- package/dist/cli/{knowledge-link-t94b79qe.js → knowledge-link-xc6yhxmz.js} +4 -4
- package/dist/cli/{knowledge-store-x4vqyhbz.js → knowledge-store-j7xtx4dd.js} +5 -5
- package/dist/cli/{knowledge-validator-72jdx5ze.js → knowledge-validator-zfweje73.js} +8 -8
- package/dist/cli/{pending-delegations-kshh66s2.js → pending-delegations-gee019ec.js} +3 -3
- package/dist/cli/{pr-subscriptions-5fpzz4f3.js → pr-subscriptions-m943zn6g.js} +3 -3
- package/dist/cli/{runner-9rqc8y3m.js → runner-x1hy047y.js} +5 -5
- package/dist/cli/{scan-cursor-z4xpes5f.js → scan-cursor-fessrenj.js} +6 -6
- package/dist/cli/{schema-2dkw18zz.js → schema-36b6sv6b.js} +1 -1
- package/dist/cli/{scope-persistence-sjz200dt.js → scope-persistence-n1bryhzf.js} +4 -4
- package/dist/cli/{skill-generator-0q1jk6xd.js → skill-generator-0ghcwxeb.js} +9 -9
- package/dist/cli/{telemetry-h7h7f0ez.js → telemetry-0yqed3jv.js} +3 -1
- package/dist/cli/{worktree-collision-ownership-xzwab4xt.js → worktree-collision-ownership-y1c7yx14.js} +3 -3
- package/dist/commands/archive-sqlite.d.ts +106 -0
- package/dist/commands/close.d.ts +33 -11
- package/dist/context/role-filter.d.ts +21 -2
- package/dist/db/project-db.d.ts +3 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +322 -322
- package/dist/observability/catalog.d.ts +8 -9
- package/dist/telemetry.d.ts +58 -3
- package/package.json +4 -2
|
@@ -33,7 +33,7 @@ var CONSUMER_COST_ACCOUNTING = Object.freeze([
|
|
|
33
33
|
"src/services/cost-accounting.ts:127"
|
|
34
34
|
]);
|
|
35
35
|
var CONSUMER_GATE_STATS = Object.freeze(["src/evaluation/gate-stats.ts:99"]);
|
|
36
|
-
var CONSUMER_HEARTBEAT_LISTENER = Object.freeze(["src/telemetry.ts:
|
|
36
|
+
var CONSUMER_HEARTBEAT_LISTENER = Object.freeze(["src/telemetry.ts:158"]);
|
|
37
37
|
function defineEntry(kind, input) {
|
|
38
38
|
const entry = {
|
|
39
39
|
kind,
|
|
@@ -66,7 +66,7 @@ var CATALOG_SOURCE = [
|
|
|
66
66
|
category: "lifecycle",
|
|
67
67
|
severity: "info",
|
|
68
68
|
privacyClass: "pseudonymous",
|
|
69
|
-
producer: "src/telemetry.ts:
|
|
69
|
+
producer: "src/telemetry.ts:463",
|
|
70
70
|
consumers: NO_CONSUMERS,
|
|
71
71
|
futureOwnerIssue: ISSUE_SINK,
|
|
72
72
|
retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
|
|
@@ -80,7 +80,7 @@ var CATALOG_SOURCE = [
|
|
|
80
80
|
category: "lifecycle",
|
|
81
81
|
severity: "info",
|
|
82
82
|
privacyClass: "pseudonymous",
|
|
83
|
-
producer: "src/telemetry.ts:
|
|
83
|
+
producer: "src/telemetry.ts:467",
|
|
84
84
|
consumers: NO_CONSUMERS,
|
|
85
85
|
futureOwnerIssue: ISSUE_SINK,
|
|
86
86
|
retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
|
|
@@ -94,7 +94,7 @@ var CATALOG_SOURCE = [
|
|
|
94
94
|
category: "lifecycle",
|
|
95
95
|
severity: "info",
|
|
96
96
|
privacyClass: "pseudonymous",
|
|
97
|
-
producer: "src/telemetry.ts:
|
|
97
|
+
producer: "src/telemetry.ts:471",
|
|
98
98
|
consumers: NO_CONSUMERS,
|
|
99
99
|
futureOwnerIssue: ISSUE_SINK,
|
|
100
100
|
retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
|
|
@@ -108,7 +108,7 @@ var CATALOG_SOURCE = [
|
|
|
108
108
|
category: "lifecycle",
|
|
109
109
|
severity: "info",
|
|
110
110
|
privacyClass: "pseudonymous",
|
|
111
|
-
producer: "src/telemetry.ts:
|
|
111
|
+
producer: "src/telemetry.ts:508",
|
|
112
112
|
consumers: NO_CONSUMERS,
|
|
113
113
|
futureOwnerIssue: ISSUE_SINK,
|
|
114
114
|
retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
|
|
@@ -122,7 +122,7 @@ var CATALOG_SOURCE = [
|
|
|
122
122
|
category: "lifecycle",
|
|
123
123
|
severity: "info",
|
|
124
124
|
privacyClass: "pseudonymous",
|
|
125
|
-
producer: "src/telemetry.ts:
|
|
125
|
+
producer: "src/telemetry.ts:556",
|
|
126
126
|
consumers: NO_CONSUMERS,
|
|
127
127
|
futureOwnerIssue: ISSUE_SINK,
|
|
128
128
|
retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
|
|
@@ -136,7 +136,7 @@ var CATALOG_SOURCE = [
|
|
|
136
136
|
category: "lifecycle",
|
|
137
137
|
severity: "debug",
|
|
138
138
|
privacyClass: "pseudonymous",
|
|
139
|
-
producer: "src/telemetry.ts:
|
|
139
|
+
producer: "src/telemetry.ts:706",
|
|
140
140
|
consumers: CONSUMER_HEARTBEAT_LISTENER,
|
|
141
141
|
retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
|
|
142
142
|
requiredWorkflowIds: REQUIRE_SESSION,
|
|
@@ -149,7 +149,7 @@ var CATALOG_SOURCE = [
|
|
|
149
149
|
category: "lifecycle",
|
|
150
150
|
severity: "info",
|
|
151
151
|
privacyClass: "pseudonymous",
|
|
152
|
-
producer: "src/telemetry.ts:
|
|
152
|
+
producer: "src/telemetry.ts:714",
|
|
153
153
|
consumers: NO_CONSUMERS,
|
|
154
154
|
futureOwnerIssue: ISSUE_SINK,
|
|
155
155
|
retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
|
|
@@ -162,7 +162,7 @@ var CATALOG_SOURCE = [
|
|
|
162
162
|
category: "lifecycle",
|
|
163
163
|
severity: "info",
|
|
164
164
|
privacyClass: "pseudonymous",
|
|
165
|
-
producer: "src/telemetry.ts:
|
|
165
|
+
producer: "src/telemetry.ts:739",
|
|
166
166
|
consumers: NO_CONSUMERS,
|
|
167
167
|
futureOwnerIssue: ISSUE_SINK,
|
|
168
168
|
retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
|
|
@@ -176,7 +176,7 @@ var CATALOG_SOURCE = [
|
|
|
176
176
|
category: "delegation",
|
|
177
177
|
severity: "info",
|
|
178
178
|
privacyClass: "pseudonymous",
|
|
179
|
-
producer: "src/telemetry.ts:
|
|
179
|
+
producer: "src/telemetry.ts:475",
|
|
180
180
|
consumers: NO_CONSUMERS,
|
|
181
181
|
futureOwnerIssue: ISSUE_SINK,
|
|
182
182
|
retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
|
|
@@ -190,7 +190,7 @@ var CATALOG_SOURCE = [
|
|
|
190
190
|
category: "delegation",
|
|
191
191
|
severity: "info",
|
|
192
192
|
privacyClass: "pseudonymous",
|
|
193
|
-
producer: "src/telemetry.ts:
|
|
193
|
+
producer: "src/telemetry.ts:485",
|
|
194
194
|
consumers: CONSUMER_COST_ACCOUNTING,
|
|
195
195
|
retentionOwnerIssue: ISSUE_COST_RETENTION,
|
|
196
196
|
requiredWorkflowIds: REQUIRE_SESSION_AND_TASK,
|
|
@@ -203,7 +203,7 @@ var CATALOG_SOURCE = [
|
|
|
203
203
|
category: "delegation",
|
|
204
204
|
severity: "notice",
|
|
205
205
|
privacyClass: "pseudonymous",
|
|
206
|
-
producer: "src/telemetry.ts:
|
|
206
|
+
producer: "src/telemetry.ts:570",
|
|
207
207
|
consumers: NO_CONSUMERS,
|
|
208
208
|
futureOwnerIssue: ISSUE_SINK,
|
|
209
209
|
retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
|
|
@@ -217,7 +217,7 @@ var CATALOG_SOURCE = [
|
|
|
217
217
|
category: "gate",
|
|
218
218
|
severity: "info",
|
|
219
219
|
privacyClass: "pseudonymous",
|
|
220
|
-
producer: "src/telemetry.ts:
|
|
220
|
+
producer: "src/telemetry.ts:517",
|
|
221
221
|
consumers: NO_CONSUMERS,
|
|
222
222
|
futureOwnerIssue: ISSUE_SINK,
|
|
223
223
|
retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
|
|
@@ -230,7 +230,7 @@ var CATALOG_SOURCE = [
|
|
|
230
230
|
category: "gate",
|
|
231
231
|
severity: "warning",
|
|
232
232
|
privacyClass: "pseudonymous",
|
|
233
|
-
producer: "src/telemetry.ts:
|
|
233
|
+
producer: "src/telemetry.ts:534",
|
|
234
234
|
consumers: NO_CONSUMERS,
|
|
235
235
|
futureOwnerIssue: ISSUE_SINK,
|
|
236
236
|
retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
|
|
@@ -243,7 +243,7 @@ var CATALOG_SOURCE = [
|
|
|
243
243
|
category: "gate",
|
|
244
244
|
severity: "warning",
|
|
245
245
|
privacyClass: "sensitive",
|
|
246
|
-
producer: "src/telemetry.ts:
|
|
246
|
+
producer: "src/telemetry.ts:521",
|
|
247
247
|
consumers: NO_CONSUMERS,
|
|
248
248
|
futureOwnerIssue: ISSUE_SINK,
|
|
249
249
|
retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
|
|
@@ -257,7 +257,7 @@ var CATALOG_SOURCE = [
|
|
|
257
257
|
category: "gate",
|
|
258
258
|
severity: "info",
|
|
259
259
|
privacyClass: "pseudonymous",
|
|
260
|
-
producer: "src/telemetry.ts:
|
|
260
|
+
producer: "src/telemetry.ts:544",
|
|
261
261
|
consumers: CONSUMER_GATE_STATS,
|
|
262
262
|
retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
|
|
263
263
|
requiredWorkflowIds: REQUIRE_SESSION_AND_TASK
|
|
@@ -269,7 +269,7 @@ var CATALOG_SOURCE = [
|
|
|
269
269
|
category: "cost",
|
|
270
270
|
severity: "info",
|
|
271
271
|
privacyClass: "pseudonymous",
|
|
272
|
-
producer: "src/telemetry.ts:
|
|
272
|
+
producer: "src/telemetry.ts:560",
|
|
273
273
|
consumers: NO_CONSUMERS,
|
|
274
274
|
futureOwnerIssue: ISSUE_SINK,
|
|
275
275
|
retentionOwnerIssue: ISSUE_COST_RETENTION,
|
|
@@ -282,7 +282,7 @@ var CATALOG_SOURCE = [
|
|
|
282
282
|
category: "guardrail",
|
|
283
283
|
severity: "error",
|
|
284
284
|
privacyClass: "pseudonymous",
|
|
285
|
-
producer: "src/telemetry.ts:
|
|
285
|
+
producer: "src/telemetry.ts:585",
|
|
286
286
|
consumers: NO_CONSUMERS,
|
|
287
287
|
futureOwnerIssue: ISSUE_SINK,
|
|
288
288
|
retentionOwnerIssue: ISSUE_SINK,
|
|
@@ -295,7 +295,7 @@ var CATALOG_SOURCE = [
|
|
|
295
295
|
category: "guardrail",
|
|
296
296
|
severity: "warning",
|
|
297
297
|
privacyClass: "pseudonymous",
|
|
298
|
-
producer: "src/telemetry.ts:
|
|
298
|
+
producer: "src/telemetry.ts:594",
|
|
299
299
|
consumers: NO_CONSUMERS,
|
|
300
300
|
futureOwnerIssue: ISSUE_SINK,
|
|
301
301
|
retentionOwnerIssue: ISSUE_SINK,
|
|
@@ -308,7 +308,7 @@ var CATALOG_SOURCE = [
|
|
|
308
308
|
category: "guardrail",
|
|
309
309
|
severity: "warning",
|
|
310
310
|
privacyClass: "sensitive",
|
|
311
|
-
producer: "src/telemetry.ts:
|
|
311
|
+
producer: "src/telemetry.ts:598",
|
|
312
312
|
consumers: NO_CONSUMERS,
|
|
313
313
|
futureOwnerIssue: ISSUE_SINK,
|
|
314
314
|
retentionOwnerIssue: ISSUE_SINK,
|
|
@@ -321,7 +321,7 @@ var CATALOG_SOURCE = [
|
|
|
321
321
|
category: "guardrail",
|
|
322
322
|
severity: "error",
|
|
323
323
|
privacyClass: "sensitive",
|
|
324
|
-
producer: "src/telemetry.ts:
|
|
324
|
+
producer: "src/telemetry.ts:694",
|
|
325
325
|
consumers: NO_CONSUMERS,
|
|
326
326
|
futureOwnerIssue: ISSUE_SINK,
|
|
327
327
|
retentionOwnerIssue: ISSUE_SINK,
|
|
@@ -334,7 +334,7 @@ var CATALOG_SOURCE = [
|
|
|
334
334
|
category: "guardrail",
|
|
335
335
|
severity: "warning",
|
|
336
336
|
privacyClass: "pseudonymous",
|
|
337
|
-
producer: "src/telemetry.ts:
|
|
337
|
+
producer: "src/telemetry.ts:702",
|
|
338
338
|
consumers: NO_CONSUMERS,
|
|
339
339
|
futureOwnerIssue: ISSUE_SINK,
|
|
340
340
|
retentionOwnerIssue: ISSUE_SINK,
|
|
@@ -347,7 +347,7 @@ var CATALOG_SOURCE = [
|
|
|
347
347
|
category: "guardrail",
|
|
348
348
|
severity: "warning",
|
|
349
349
|
privacyClass: "pseudonymous",
|
|
350
|
-
producer: "src/telemetry.ts:
|
|
350
|
+
producer: "src/telemetry.ts:724",
|
|
351
351
|
consumers: NO_CONSUMERS,
|
|
352
352
|
futureOwnerIssue: ISSUE_SINK,
|
|
353
353
|
retentionOwnerIssue: ISSUE_SINK,
|
|
@@ -360,7 +360,7 @@ var CATALOG_SOURCE = [
|
|
|
360
360
|
category: "guardrail",
|
|
361
361
|
severity: "warning",
|
|
362
362
|
privacyClass: "pseudonymous",
|
|
363
|
-
producer: "src/telemetry.ts:
|
|
363
|
+
producer: "src/telemetry.ts:612",
|
|
364
364
|
consumers: NO_CONSUMERS,
|
|
365
365
|
futureOwnerIssue: ISSUE_SINK,
|
|
366
366
|
retentionOwnerIssue: ISSUE_SINK,
|
|
@@ -373,7 +373,7 @@ var CATALOG_SOURCE = [
|
|
|
373
373
|
category: "guardrail",
|
|
374
374
|
severity: "warning",
|
|
375
375
|
privacyClass: "pseudonymous",
|
|
376
|
-
producer: "src/telemetry.ts:
|
|
376
|
+
producer: "src/telemetry.ts:633",
|
|
377
377
|
consumers: NO_CONSUMERS,
|
|
378
378
|
futureOwnerIssue: ISSUE_SINK,
|
|
379
379
|
retentionOwnerIssue: ISSUE_SINK,
|
|
@@ -386,7 +386,7 @@ var CATALOG_SOURCE = [
|
|
|
386
386
|
category: "guardrail",
|
|
387
387
|
severity: "warning",
|
|
388
388
|
privacyClass: "pseudonymous",
|
|
389
|
-
producer: "src/telemetry.ts:
|
|
389
|
+
producer: "src/telemetry.ts:647",
|
|
390
390
|
consumers: NO_CONSUMERS,
|
|
391
391
|
futureOwnerIssue: ISSUE_SINK,
|
|
392
392
|
retentionOwnerIssue: ISSUE_SINK,
|
|
@@ -399,7 +399,7 @@ var CATALOG_SOURCE = [
|
|
|
399
399
|
category: "guardrail",
|
|
400
400
|
severity: "error",
|
|
401
401
|
privacyClass: "pseudonymous",
|
|
402
|
-
producer: "src/telemetry.ts:
|
|
402
|
+
producer: "src/telemetry.ts:664",
|
|
403
403
|
consumers: NO_CONSUMERS,
|
|
404
404
|
futureOwnerIssue: ISSUE_SINK,
|
|
405
405
|
retentionOwnerIssue: ISSUE_SINK,
|
|
@@ -412,7 +412,7 @@ var CATALOG_SOURCE = [
|
|
|
412
412
|
category: "guardrail",
|
|
413
413
|
severity: "error",
|
|
414
414
|
privacyClass: "sensitive",
|
|
415
|
-
producer: "src/telemetry.ts:
|
|
415
|
+
producer: "src/telemetry.ts:681",
|
|
416
416
|
consumers: NO_CONSUMERS,
|
|
417
417
|
futureOwnerIssue: ISSUE_SINK,
|
|
418
418
|
retentionOwnerIssue: ISSUE_SINK,
|
|
@@ -425,7 +425,7 @@ var CATALOG_SOURCE = [
|
|
|
425
425
|
category: "prm",
|
|
426
426
|
severity: "error",
|
|
427
427
|
privacyClass: "pseudonymous",
|
|
428
|
-
producer: "src/telemetry.ts:
|
|
428
|
+
producer: "src/telemetry.ts:848",
|
|
429
429
|
consumers: NO_CONSUMERS,
|
|
430
430
|
futureOwnerIssue: ISSUE_SINK,
|
|
431
431
|
retentionOwnerIssue: ISSUE_SINK,
|
|
@@ -438,7 +438,7 @@ var CATALOG_SOURCE = [
|
|
|
438
438
|
category: "prm",
|
|
439
439
|
severity: "notice",
|
|
440
440
|
privacyClass: "pseudonymous",
|
|
441
|
-
producer: "src/telemetry.ts:
|
|
441
|
+
producer: "src/telemetry.ts:754",
|
|
442
442
|
consumers: NO_CONSUMERS,
|
|
443
443
|
futureOwnerIssue: ISSUE_SINK,
|
|
444
444
|
retentionOwnerIssue: ISSUE_SINK,
|
|
@@ -451,7 +451,7 @@ var CATALOG_SOURCE = [
|
|
|
451
451
|
category: "prm",
|
|
452
452
|
severity: "notice",
|
|
453
453
|
privacyClass: "pseudonymous",
|
|
454
|
-
producer: "src/telemetry.ts:
|
|
454
|
+
producer: "src/telemetry.ts:768",
|
|
455
455
|
consumers: NO_CONSUMERS,
|
|
456
456
|
futureOwnerIssue: ISSUE_SINK,
|
|
457
457
|
retentionOwnerIssue: ISSUE_SINK,
|
|
@@ -464,7 +464,7 @@ var CATALOG_SOURCE = [
|
|
|
464
464
|
category: "prm",
|
|
465
465
|
severity: "warning",
|
|
466
466
|
privacyClass: "pseudonymous",
|
|
467
|
-
producer: "src/telemetry.ts:
|
|
467
|
+
producer: "src/telemetry.ts:781",
|
|
468
468
|
consumers: NO_CONSUMERS,
|
|
469
469
|
futureOwnerIssue: ISSUE_SINK,
|
|
470
470
|
retentionOwnerIssue: ISSUE_SINK,
|
|
@@ -477,7 +477,7 @@ var CATALOG_SOURCE = [
|
|
|
477
477
|
category: "prm",
|
|
478
478
|
severity: "critical",
|
|
479
479
|
privacyClass: "pseudonymous",
|
|
480
|
-
producer: "src/telemetry.ts:
|
|
480
|
+
producer: "src/telemetry.ts:795",
|
|
481
481
|
consumers: NO_CONSUMERS,
|
|
482
482
|
futureOwnerIssue: ISSUE_SINK,
|
|
483
483
|
retentionOwnerIssue: ISSUE_SINK,
|
|
@@ -580,6 +580,18 @@ var CATALOG_SOURCE = [
|
|
|
580
580
|
"phaseId"
|
|
581
581
|
])
|
|
582
582
|
}
|
|
583
|
+
],
|
|
584
|
+
[
|
|
585
|
+
"close_archive_result",
|
|
586
|
+
{
|
|
587
|
+
category: "lifecycle",
|
|
588
|
+
severity: "notice",
|
|
589
|
+
privacyClass: "operational",
|
|
590
|
+
producer: "src/telemetry.ts:832",
|
|
591
|
+
consumers: NO_CONSUMERS,
|
|
592
|
+
futureOwnerIssue: ISSUE_SINK,
|
|
593
|
+
retentionOwnerIssue: ISSUE_SINK
|
|
594
|
+
}
|
|
583
595
|
]
|
|
584
596
|
];
|
|
585
597
|
var catalog = {};
|
|
@@ -1464,6 +1476,31 @@ function rotateTelemetryIfNeeded(maxBytes = 10 * 1024 * 1024) {
|
|
|
1464
1476
|
}
|
|
1465
1477
|
} catch {}
|
|
1466
1478
|
}
|
|
1479
|
+
async function flushAndDrainTelemetry() {
|
|
1480
|
+
const stream = _writeStream;
|
|
1481
|
+
if (stream === null || _projectDirectory === null) {
|
|
1482
|
+
return;
|
|
1483
|
+
}
|
|
1484
|
+
let next;
|
|
1485
|
+
try {
|
|
1486
|
+
const telemetryPath = path.join(_projectDirectory, ".swarm", "telemetry.jsonl");
|
|
1487
|
+
next = createWriteStream(telemetryPath, { flags: "a" });
|
|
1488
|
+
next.on("error", () => {
|
|
1489
|
+
if (_writeStream === next) {
|
|
1490
|
+
_disabled = true;
|
|
1491
|
+
_writeStream = null;
|
|
1492
|
+
}
|
|
1493
|
+
});
|
|
1494
|
+
_writeStream = next;
|
|
1495
|
+
} catch {
|
|
1496
|
+
_disabled = true;
|
|
1497
|
+
_writeStream = null;
|
|
1498
|
+
return;
|
|
1499
|
+
}
|
|
1500
|
+
await new Promise((resolve) => {
|
|
1501
|
+
stream.end(() => resolve());
|
|
1502
|
+
});
|
|
1503
|
+
}
|
|
1467
1504
|
var telemetry = {
|
|
1468
1505
|
sessionStarted(sessionId, agentName) {
|
|
1469
1506
|
_internals.emit("session_started", { sessionId, agentName });
|
|
@@ -1649,6 +1686,9 @@ var telemetry = {
|
|
|
1649
1686
|
occurrenceCount
|
|
1650
1687
|
});
|
|
1651
1688
|
},
|
|
1689
|
+
closeArchiveResult(data) {
|
|
1690
|
+
_internals.emit("close_archive_result", data);
|
|
1691
|
+
},
|
|
1652
1692
|
prmHardStopDelivered(sessionId, pattern, level, occurrenceCount) {
|
|
1653
1693
|
_internals.emit("prm_hard_stop_delivered", {
|
|
1654
1694
|
sessionId,
|
|
@@ -1662,9 +1702,10 @@ var _internals = {
|
|
|
1662
1702
|
telemetry,
|
|
1663
1703
|
emit,
|
|
1664
1704
|
rotateTelemetryIfNeeded,
|
|
1705
|
+
flushAndDrainTelemetry,
|
|
1665
1706
|
heartbeatListenerCount: () => _heartbeatListener !== null ? 1 : 0,
|
|
1666
1707
|
createObservation,
|
|
1667
1708
|
toLegacyTelemetryLine
|
|
1668
1709
|
};
|
|
1669
1710
|
|
|
1670
|
-
export { startHeartbeatTracking, getLastHeartbeat, stopHeartbeatTracking, resetHeartbeatTrackingForTesting, ROTATION_CHECK_INTERVAL, resetTelemetryForTesting, initTelemetry, emit, addTelemetryListener, rotateTelemetryIfNeeded, telemetry, _internals };
|
|
1711
|
+
export { startHeartbeatTracking, getLastHeartbeat, stopHeartbeatTracking, resetHeartbeatTrackingForTesting, ROTATION_CHECK_INTERVAL, resetTelemetryForTesting, initTelemetry, emit, addTelemetryListener, rotateTelemetryIfNeeded, flushAndDrainTelemetry, telemetry, _internals };
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
4
4
|
validateSkillPath
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-fetnv58w.js";
|
|
6
6
|
import {
|
|
7
7
|
computeOutcomeSignal,
|
|
8
8
|
readKnowledge,
|
|
9
9
|
resolveHiveKnowledgePath,
|
|
10
10
|
resolveSwarmKnowledgePath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-b2khb7xx.js";
|
|
13
13
|
import {
|
|
14
14
|
effectiveRetrievalOutcomes,
|
|
15
15
|
readKnowledgeCounterRollups
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-bma4nwts.js";
|
|
17
17
|
import {
|
|
18
18
|
init_knowledge_types,
|
|
19
19
|
isActiveStatus
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
atomicWriteFile,
|
|
4
4
|
taskEvidencePath,
|
|
5
5
|
withTaskEvidenceLock
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-tqshdzaw.js";
|
|
7
7
|
import {
|
|
8
8
|
telemetry
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-10mz5js6.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_external,
|
|
12
12
|
init_zod
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./index-1kz6da87.js";
|
|
7
7
|
import {
|
|
8
8
|
withEvidenceLock
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-xybtaph7.js";
|
|
10
10
|
import {
|
|
11
11
|
emit
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-10mz5js6.js";
|
|
13
13
|
import {
|
|
14
14
|
criticalWarn,
|
|
15
15
|
init_logger,
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./index-ae75rja9.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveKnowledgeStoreDir
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-en4fb04r.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-tqshdzaw.js";
|
|
13
13
|
import {
|
|
14
14
|
init_knowledge_types,
|
|
15
15
|
isActiveStatus
|
|
@@ -702,7 +702,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
702
702
|
const recovered = touched.filter((e) => e.confidence > CONFIDENCE_FLOOR + FLOOR_EPSILON && e.confidence_floor_demoted);
|
|
703
703
|
if (atFloor.length === 0 && recovered.length === 0)
|
|
704
704
|
return;
|
|
705
|
-
const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-
|
|
705
|
+
const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-shy8wgb3.js");
|
|
706
706
|
const rollups = await readKnowledgeCounterRollups(directory);
|
|
707
707
|
const flagIds = new Set;
|
|
708
708
|
for (const e of atFloor) {
|
|
@@ -769,11 +769,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
769
769
|
});
|
|
770
770
|
}
|
|
771
771
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
772
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
773
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
772
|
+
const { quarantineEntry } = await import("./knowledge-validator-zfweje73.js");
|
|
773
|
+
const { KnowledgeConfigSchema } = await import("./schema-36b6sv6b.js");
|
|
774
774
|
let config;
|
|
775
775
|
try {
|
|
776
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
776
|
+
const { loadPluginConfigWithMeta } = await import("./index-mrwr3kac.js");
|
|
777
777
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
778
778
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
779
779
|
} catch {
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-b2khb7xx.js";
|
|
10
10
|
import {
|
|
11
11
|
countEntryContradictionsInWindow,
|
|
12
12
|
countEntryViolationsInWindow,
|
|
13
13
|
readKnowledgeEvents,
|
|
14
14
|
recordKnowledgeEvent
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-bma4nwts.js";
|
|
16
16
|
import {
|
|
17
17
|
init_knowledge_types,
|
|
18
18
|
isActiveStatus
|
|
@@ -190,11 +190,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
190
190
|
alreadyInactive: true
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
193
|
+
const { quarantineEntry } = await import("./knowledge-validator-zfweje73.js");
|
|
194
194
|
let policyConfig;
|
|
195
195
|
try {
|
|
196
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
197
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
196
|
+
const { KnowledgeConfigSchema } = await import("./schema-36b6sv6b.js");
|
|
197
|
+
const { loadPluginConfigWithMeta } = await import("./index-mrwr3kac.js");
|
|
198
198
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
199
199
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
200
200
|
} catch {
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./index-ae75rja9.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveKnowledgeStoreDir
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-en4fb04r.js";
|
|
8
8
|
import {
|
|
9
9
|
atomicWriteFile
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-tqshdzaw.js";
|
|
11
11
|
import {
|
|
12
12
|
require_proper_lockfile
|
|
13
13
|
} from "./index-7g4c7s5r.js";
|
|
@@ -625,7 +625,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
625
625
|
deltas.push({ id, delta });
|
|
626
626
|
}
|
|
627
627
|
if (deltas.length > 0) {
|
|
628
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
628
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-j7xtx4dd.js");
|
|
629
629
|
await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
630
630
|
}
|
|
631
631
|
return {
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
detectPosixWrites,
|
|
13
13
|
detectWindowsWrites,
|
|
14
14
|
resolveWriteTargets
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-nnf41ca1.js";
|
|
16
16
|
import {
|
|
17
17
|
checkFileAuthority,
|
|
18
18
|
classifyFile,
|
|
19
19
|
isInDeclaredScope,
|
|
20
20
|
redactPath,
|
|
21
21
|
redactShellCommand
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-m09k3dpz.js";
|
|
23
23
|
|
|
24
24
|
// src/services/guardrail-explain-service.ts
|
|
25
25
|
import path from "path";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-b2khb7xx.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveKnowledgeStoreDir
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-en4fb04r.js";
|
|
9
9
|
import {
|
|
10
10
|
init_knowledge_types,
|
|
11
11
|
isActiveStatus
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-01dpavd4.js";
|
|
5
5
|
import {
|
|
6
6
|
findNearDuplicate,
|
|
7
7
|
inferTags,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
resolveSwarmKnowledgePath,
|
|
10
10
|
resolveSwarmRejectedPath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-b2khb7xx.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-en4fb04r.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-tqshdzaw.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
EvaluationRunV1Schema,
|
|
4
4
|
GateAuditResultV1Schema,
|
|
5
5
|
getProtectedEvaluationRunIds
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-ngqxzkqm.js";
|
|
7
7
|
import {
|
|
8
8
|
readEffectiveSpecSync
|
|
9
9
|
} from "./index-9ss2m4rs.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
readTaskEvidence,
|
|
13
13
|
readTaskEvidenceRaw,
|
|
14
14
|
sanitizeTaskId
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-39k6y018.js";
|
|
16
16
|
import {
|
|
17
17
|
EVIDENCE_MAX_JSON_BYTES,
|
|
18
18
|
EvidenceBundleSchema,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
replayFromLedgerWithStatus,
|
|
41
41
|
takeSnapshotEvent,
|
|
42
42
|
takeSnapshotWithRetry
|
|
43
|
-
} from "./index-
|
|
43
|
+
} from "./index-4fmztnrq.js";
|
|
44
44
|
import {
|
|
45
45
|
PlanSchema
|
|
46
46
|
} from "./index-1kz6da87.js";
|
|
@@ -56,10 +56,10 @@ import {
|
|
|
56
56
|
} from "./index-fsrp8wp3.js";
|
|
57
57
|
import {
|
|
58
58
|
withEvidenceLock
|
|
59
|
-
} from "./index-
|
|
59
|
+
} from "./index-xybtaph7.js";
|
|
60
60
|
import {
|
|
61
61
|
emit
|
|
62
|
-
} from "./index-
|
|
62
|
+
} from "./index-10mz5js6.js";
|
|
63
63
|
import {
|
|
64
64
|
ZodError,
|
|
65
65
|
init_zod
|
|
@@ -86,7 +86,7 @@ var _internals = {
|
|
|
86
86
|
symlinkSync: fs.symlinkSync
|
|
87
87
|
},
|
|
88
88
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
89
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
89
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-n1bryhzf.js");
|
|
90
90
|
return realWrite(directory, taskId, files);
|
|
91
91
|
},
|
|
92
92
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
loadPluginConfigWithMeta,
|
|
8
8
|
loadPluginConfigWithMetaAsync,
|
|
9
9
|
resolveWorktreeIsolationConfig
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-h353c1xz.js";
|
|
11
11
|
import {
|
|
12
12
|
ApprovalEvidenceSchema,
|
|
13
13
|
BaseEvidenceSchema,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
TurboConfigSchema,
|
|
55
55
|
WorktreeIsolationConfigSchema,
|
|
56
56
|
resolveAutoReviewConfig
|
|
57
|
-
} from "./index-
|
|
57
|
+
} from "./index-pzkn7d2k.js";
|
|
58
58
|
import"./index-bk5tah7q.js";
|
|
59
59
|
import {
|
|
60
60
|
MigrationStatusSchema,
|