opencode-swarm 7.176.0 → 7.176.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.
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/cli/{coder-settlement-y3ftsdje.js → coder-settlement-cctwqn8q.js} +10 -10
- package/dist/cli/{config-doctor-3x9d5y3w.js → config-doctor-f2j4t2qg.js} +2 -2
- package/dist/cli/{core-hf9pjm7y.js → core-j1wef1b1.js} +3 -3
- package/dist/cli/{curation-policy-8h25hyf8.js → curation-policy-62k3tfy2.js} +4 -4
- package/dist/cli/{curator-pf4n52b1.js → curator-9bkavyx7.js} +35 -35
- package/dist/cli/{curator-drift-qxgs5ee4.js → curator-drift-j1ggdamr.js} +4 -4
- package/dist/cli/curator-llm-factory-rdmbyw36.js +72 -0
- package/dist/cli/{evidence-summary-service-t4nnvgyz.js → evidence-summary-service-vp1gnmw8.js} +14 -14
- package/dist/cli/{gate-evidence-d6wmarwz.js → gate-evidence-wfc2ypwe.js} +5 -5
- package/dist/cli/guardrail-explain-271bxeve.js +73 -0
- package/dist/cli/{guardrail-log-ehwt0w51.js → guardrail-log-cw6kst05.js} +6 -6
- package/dist/cli/{guardrail-reset-ceqcapzm.js → guardrail-reset-vs77rj7q.js} +35 -35
- package/dist/cli/{hive-promoter-9dgmk5nq.js → hive-promoter-f9zx73na.js} +35 -35
- package/dist/cli/{index-2xm1xtqy.js → index-02sbqp2j.js} +1 -1
- package/dist/cli/{index-bym86sb4.js → index-25aq56s9.js} +1 -1
- package/dist/cli/{index-z9nzrjf7.js → index-36gm5wzh.js} +1 -1
- package/dist/cli/{index-wpae4r9j.js → index-39g9ktkw.js} +5 -5
- package/dist/cli/{index-509g4m8s.js → index-3ac47c51.js} +96 -76
- package/dist/cli/{index-g9pqwf7v.js → index-3mrdcdsw.js} +2 -2
- package/dist/cli/{index-crx99j5b.js → index-85qk65a0.js} +3 -3
- package/dist/cli/{index-r3ftkdvn.js → index-8q6ax18j.js} +1 -1
- package/dist/cli/{index-cfjbrcv7.js → index-9kqtzj67.js} +1 -1
- package/dist/cli/{index-t5t6cqfb.js → index-9rpw0edg.js} +5 -5
- package/dist/cli/{index-n1wean2y.js → index-9xp8cgh3.js} +8 -8
- package/dist/cli/{index-wer28675.js → index-af37hks1.js} +7 -7
- package/dist/cli/{index-twymcfj9.js → index-agwajtws.js} +1 -1
- package/dist/cli/{index-hvt8902r.js → index-axzmpwsp.js} +3 -3
- package/dist/cli/{index-jj09bfnn.js → index-b6xgqf81.js} +2 -2
- package/dist/cli/{index-gtjx3q5h.js → index-bh07vpsw.js} +1 -1
- package/dist/cli/{index-rm1k8ekt.js → index-bmzmxewc.js} +35 -35
- package/dist/cli/{index-wdcsy80q.js → index-cj66fbmz.js} +7 -7
- package/dist/cli/{index-dq0fbb2g.js → index-drdcsxdc.js} +7 -7
- package/dist/cli/{index-s0w34gp3.js → index-dzqarb47.js} +4 -4
- package/dist/cli/{index-zpa6ywts.js → index-ekw3p6a9.js} +10 -10
- package/dist/cli/{index-n5aa7f72.js → index-faqr1jkr.js} +2 -2
- package/dist/cli/{index-kj7h2yfv.js → index-fsrfamds.js} +1 -1
- package/dist/cli/{index-wn00ra10.js → index-fwjenx4w.js} +1 -1
- package/dist/cli/{index-8tn4yx8b.js → index-g4m0t1y4.js} +1 -1
- package/dist/cli/{index-czhbsgdh.js → index-gaa1h7rv.js} +1 -1
- package/dist/cli/{index-dn5kkjfv.js → index-k4r7m6vz.js} +37 -37
- package/dist/cli/{index-5t71wd7j.js → index-mw5k6s43.js} +2 -2
- package/dist/cli/{index-6tbnev6y.js → index-nxgbfgmc.js} +1 -1
- package/dist/cli/{index-2xwavnbg.js → index-p2r8cejw.js} +1 -1
- package/dist/cli/{index-c45zvjeg.js → index-qr5ryazn.js} +2 -2
- package/dist/cli/{index-fh8jh5n1.js → index-r7fz80tj.js} +3 -3
- package/dist/cli/{index-569pn3vz.js → index-sdcybkes.js} +6 -6
- package/dist/cli/{index-pd3yg1mh.js → index-stz507bw.js} +4 -4
- package/dist/cli/{index-t4kwsbhj.js → index-swhxs3n7.js} +1 -1
- package/dist/cli/{index-eawhasqk.js → index-wa6ryk62.js} +1 -1
- package/dist/cli/{index-580v9v50.js → index-xj3j4v3r.js} +2 -2
- package/dist/cli/{index-rekx0gq7.js → index-yj8hn89a.js} +6 -6
- package/dist/cli/{index-9fnjkqsr.js → index-yss54mb9.js} +2 -2
- package/dist/cli/{index-s1cm0jre.js → index-zwvrrwwb.js} +1 -1
- package/dist/cli/index.js +36 -36
- package/dist/cli/{knowledge-escalator-0eyjbhap.js → knowledge-escalator-znzksqjb.js} +11 -11
- package/dist/cli/{knowledge-events-64k22qmf.js → knowledge-events-n77sysfe.js} +9 -9
- package/dist/cli/{knowledge-link-yx57s7zb.js → knowledge-link-1n4kjc0c.js} +3 -3
- package/dist/cli/{knowledge-store-q3k2zf8a.js → knowledge-store-qv2n3q7j.js} +4 -4
- package/dist/cli/{knowledge-validator-ywbk1gpw.js → knowledge-validator-ed7y0c3r.js} +6 -6
- package/dist/cli/{mcp-yas626k0.js → mcp-xpxfwpjq.js} +1 -1
- package/dist/cli/{pending-delegations-91a6nb8z.js → pending-delegations-d1m7ebsd.js} +10 -10
- package/dist/cli/{pr-subscriptions-dyn9hn9g.js → pr-subscriptions-8v66558d.js} +10 -10
- package/dist/cli/{pr-workflow-gate-xwz3f6zm.js → pr-workflow-gate-bx7x5cyh.js} +35 -35
- package/dist/cli/{runner-j4hrfyve.js → runner-91q995mh.js} +4 -4
- package/dist/cli/{scan-cursor-etrpan51.js → scan-cursor-9vp5c7dk.js} +5 -5
- package/dist/cli/{schema-aarfgdn3.js → schema-e0b6nwh6.js} +1 -1
- package/dist/cli/{scope-persistence-j0vzwybd.js → scope-persistence-dd6cwhhc.js} +13 -13
- package/dist/cli/{server-rhpwneb6.js → server-6xqhb2xr.js} +35 -35
- package/dist/cli/{skill-generator-m6yrxy2s.js → skill-generator-k9gvpdq5.js} +13 -13
- package/dist/cli/{snapshot-coordination-init-1yn3fyt4.js → snapshot-coordination-init-8a0cqgzy.js} +35 -35
- package/dist/cli/{workspace-snapshot-07rzjg7s.js → workspace-snapshot-f81xc1vd.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-g6bjm090.js → worktree-collision-ownership-msxze6pq.js} +11 -11
- package/dist/cli/{worktree-isolation-6kebmn1t.js → worktree-isolation-1fxsq65k.js} +35 -35
- package/dist/index.js +5 -5
- package/dist/services/diagnose-service.d.ts +10 -0
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-rs8zyytn.js +0 -72
- package/dist/cli/guardrail-explain-x8n8dtq6.js +0 -73
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
resolveExecutableFromPath,
|
|
17
17
|
runEvaluation,
|
|
18
18
|
runExternalTool
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-02sbqp2j.js";
|
|
20
20
|
import {
|
|
21
21
|
finalizeShellAuditForClose,
|
|
22
22
|
isPolicyProtectedPath,
|
|
@@ -26,20 +26,20 @@ import {
|
|
|
26
26
|
protectedRoots,
|
|
27
27
|
redactDecisionLineForArchive,
|
|
28
28
|
stableCanonicalStringify
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-xj3j4v3r.js";
|
|
30
30
|
import {
|
|
31
31
|
canonicalProjectKey,
|
|
32
32
|
closeGroupCommitWriter,
|
|
33
33
|
getGlobalEventBus,
|
|
34
34
|
getGroupCommitWriter,
|
|
35
35
|
importLegacyJsonl
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-fsrfamds.js";
|
|
37
37
|
import {
|
|
38
38
|
detectStraySwarmDirs,
|
|
39
39
|
readDoctorArtifact,
|
|
40
40
|
removeStraySwarmDir,
|
|
41
41
|
runConfigDoctor
|
|
42
|
-
} from "./index-
|
|
42
|
+
} from "./index-wa6ryk62.js";
|
|
43
43
|
import {
|
|
44
44
|
MAX_TRANSIENT_RETRIES,
|
|
45
45
|
archiveEvidence,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
updateTaskStatus,
|
|
82
82
|
validateProjectRoot,
|
|
83
83
|
withPlanLifecycleLock
|
|
84
|
-
} from "./index-
|
|
84
|
+
} from "./index-ekw3p6a9.js";
|
|
85
85
|
import {
|
|
86
86
|
EvaluationTaskV1Schema,
|
|
87
87
|
GateAuditManifestV1Schema,
|
|
@@ -98,7 +98,7 @@ import {
|
|
|
98
98
|
saveGateAuditResult,
|
|
99
99
|
savePromotionDecision,
|
|
100
100
|
saveTaskSetSnapshot
|
|
101
|
-
} from "./index-
|
|
101
|
+
} from "./index-36gm5wzh.js";
|
|
102
102
|
import {
|
|
103
103
|
canonicalHash,
|
|
104
104
|
canonicalJson,
|
|
@@ -146,15 +146,15 @@ import {
|
|
|
146
146
|
retireSkill,
|
|
147
147
|
selectCandidateEntries,
|
|
148
148
|
syncBundledProjectSkillsIfMissingAsync
|
|
149
|
-
} from "./index-
|
|
149
|
+
} from "./index-dzqarb47.js";
|
|
150
150
|
import {
|
|
151
151
|
readRecentEscalations
|
|
152
|
-
} from "./index-
|
|
152
|
+
} from "./index-39g9ktkw.js";
|
|
153
153
|
import {
|
|
154
154
|
alreadyCuratedThisGeneration,
|
|
155
155
|
claimNextScanBatch,
|
|
156
156
|
resolveCohortId
|
|
157
|
-
} from "./index-
|
|
157
|
+
} from "./index-3mrdcdsw.js";
|
|
158
158
|
import {
|
|
159
159
|
CURATOR_CONSOLIDATION_PROMPT,
|
|
160
160
|
CURATOR_INIT_PROMPT,
|
|
@@ -174,7 +174,7 @@ import {
|
|
|
174
174
|
sweepStale,
|
|
175
175
|
unsubscribe,
|
|
176
176
|
updateSnapshot
|
|
177
|
-
} from "./index-
|
|
177
|
+
} from "./index-yj8hn89a.js";
|
|
178
178
|
import {
|
|
179
179
|
clearWorktreeMergeStatus,
|
|
180
180
|
getAllWorktreeMergeFailures,
|
|
@@ -186,7 +186,7 @@ import {
|
|
|
186
186
|
listCoderSettlementWalStates,
|
|
187
187
|
recoverCoderSettlement,
|
|
188
188
|
recoverStaleCoderSettlements
|
|
189
|
-
} from "./index-
|
|
189
|
+
} from "./index-9xp8cgh3.js";
|
|
190
190
|
import {
|
|
191
191
|
parsePorcelainV2Snapshot,
|
|
192
192
|
resolveCommitCountSince,
|
|
@@ -214,12 +214,12 @@ import {
|
|
|
214
214
|
resolveRemoteUrlIdentity,
|
|
215
215
|
resolveRemoteUrlIdentityAsync,
|
|
216
216
|
switchPrFeedbackTrackingCandidateAsync
|
|
217
|
-
} from "./index-
|
|
217
|
+
} from "./index-yss54mb9.js";
|
|
218
218
|
import {
|
|
219
219
|
WORKTREE_LIFECYCLE_LOCK_FILE,
|
|
220
220
|
recordWorktreeProvisioningOwner,
|
|
221
221
|
removeWorktreeProvisioningOwner
|
|
222
|
-
} from "./index-
|
|
222
|
+
} from "./index-b6xgqf81.js";
|
|
223
223
|
import {
|
|
224
224
|
getLanguageForExtension
|
|
225
225
|
} from "./index-pt7h91zc.js";
|
|
@@ -257,7 +257,7 @@ import {
|
|
|
257
257
|
transitionTaskWorkflowEvidence,
|
|
258
258
|
withTaskEvidenceTransaction,
|
|
259
259
|
writeWorkflowWalFile
|
|
260
|
-
} from "./index-
|
|
260
|
+
} from "./index-r7fz80tj.js";
|
|
261
261
|
import {
|
|
262
262
|
isPathUnderSwarmWorktreeBase,
|
|
263
263
|
listLiveLaneOwners,
|
|
@@ -266,7 +266,7 @@ import {
|
|
|
266
266
|
recordLiveLaneOwner,
|
|
267
267
|
removeWorktree,
|
|
268
268
|
resolveWorktreeBaseDir
|
|
269
|
-
} from "./index-
|
|
269
|
+
} from "./index-85qk65a0.js";
|
|
270
270
|
import {
|
|
271
271
|
DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
|
|
272
272
|
DELEGATION_COMPACTION_HIGH_WATER_BYTES,
|
|
@@ -300,7 +300,7 @@ import {
|
|
|
300
300
|
scanBackgroundCoderReservationsForAdmission,
|
|
301
301
|
scanDelegationsForRecovery,
|
|
302
302
|
sweepStaleDelegations
|
|
303
|
-
} from "./index-
|
|
303
|
+
} from "./index-sdcybkes.js";
|
|
304
304
|
import {
|
|
305
305
|
MAX_EVENT_LOG_ENTRIES,
|
|
306
306
|
_internals,
|
|
@@ -316,13 +316,13 @@ import {
|
|
|
316
316
|
recordKnowledgeEvent,
|
|
317
317
|
recordPhaseCloseIntent,
|
|
318
318
|
resolveKnowledgeEventsPath
|
|
319
|
-
} from "./index-
|
|
319
|
+
} from "./index-af37hks1.js";
|
|
320
320
|
import {
|
|
321
321
|
estimateTokens,
|
|
322
322
|
readSwarmFileAsync,
|
|
323
323
|
safeHook,
|
|
324
324
|
validateSwarmPath
|
|
325
|
-
} from "./index-
|
|
325
|
+
} from "./index-gaa1h7rv.js";
|
|
326
326
|
import {
|
|
327
327
|
bunFile,
|
|
328
328
|
bunSpawn,
|
|
@@ -342,18 +342,18 @@ import {
|
|
|
342
342
|
validateActionableFields,
|
|
343
343
|
validateLesson,
|
|
344
344
|
validateSkillPath
|
|
345
|
-
} from "./index-
|
|
345
|
+
} from "./index-stz507bw.js";
|
|
346
346
|
import {
|
|
347
347
|
MAX_CURATION_PROPOSALS,
|
|
348
348
|
authorizeCuration,
|
|
349
349
|
buildConfigFingerprintInput
|
|
350
|
-
} from "./index-
|
|
350
|
+
} from "./index-agwajtws.js";
|
|
351
351
|
import {
|
|
352
352
|
cohortConfigFingerprint
|
|
353
353
|
} from "./index-rtry5xyf.js";
|
|
354
354
|
import {
|
|
355
355
|
resolveWorktreeIsolationConfig
|
|
356
|
-
} from "./index-
|
|
356
|
+
} from "./index-qr5ryazn.js";
|
|
357
357
|
import {
|
|
358
358
|
RetrospectiveEvidenceSchema
|
|
359
359
|
} from "./index-frcemc0b.js";
|
|
@@ -364,7 +364,7 @@ import {
|
|
|
364
364
|
clearScopeBindingFromDisk,
|
|
365
365
|
clearScopeBindings,
|
|
366
366
|
readScopeFromDisk
|
|
367
|
-
} from "./index-
|
|
367
|
+
} from "./index-drdcsxdc.js";
|
|
368
368
|
import {
|
|
369
369
|
clearPlanLedgerForReset,
|
|
370
370
|
computePlanStructureHash,
|
|
@@ -380,7 +380,7 @@ import {
|
|
|
380
380
|
replayFromLedgerWithStatus,
|
|
381
381
|
resolvePlanningProfile,
|
|
382
382
|
takeSnapshotEvent
|
|
383
|
-
} from "./index-
|
|
383
|
+
} from "./index-9rpw0edg.js";
|
|
384
384
|
import {
|
|
385
385
|
CORE_EVENT_LOCKED,
|
|
386
386
|
appendCoreEventSync,
|
|
@@ -390,7 +390,7 @@ import {
|
|
|
390
390
|
hasSpecDriftAuditEvent,
|
|
391
391
|
hasTaskRepairAuditEvent,
|
|
392
392
|
readCoreEvents
|
|
393
|
-
} from "./index-
|
|
393
|
+
} from "./index-fwjenx4w.js";
|
|
394
394
|
import {
|
|
395
395
|
DEFAULT_QA_GATES,
|
|
396
396
|
computeProfileHash,
|
|
@@ -398,7 +398,7 @@ import {
|
|
|
398
398
|
getEffectiveGates,
|
|
399
399
|
getProfileLookupForIdentity,
|
|
400
400
|
setGatesForIdentity
|
|
401
|
-
} from "./index-
|
|
401
|
+
} from "./index-mw5k6s43.js";
|
|
402
402
|
import {
|
|
403
403
|
MAX_COORDINATION_STATE_LIST_ROWS,
|
|
404
404
|
deleteCoordinationImports,
|
|
@@ -410,7 +410,7 @@ import {
|
|
|
410
410
|
listCoordinationStates,
|
|
411
411
|
transitionCoordinationState,
|
|
412
412
|
withCoordinationTransaction
|
|
413
|
-
} from "./index-
|
|
413
|
+
} from "./index-p2r8cejw.js";
|
|
414
414
|
import {
|
|
415
415
|
DURABILITY_CLASSES,
|
|
416
416
|
closeAllProjectDbs,
|
|
@@ -418,7 +418,7 @@ import {
|
|
|
418
418
|
getProjectDb,
|
|
419
419
|
projectDbExists,
|
|
420
420
|
projectDbPath
|
|
421
|
-
} from "./index-
|
|
421
|
+
} from "./index-nxgbfgmc.js";
|
|
422
422
|
import {
|
|
423
423
|
loadDatabaseCtor
|
|
424
424
|
} from "./index-rdm3px0g.js";
|
|
@@ -433,7 +433,7 @@ import {
|
|
|
433
433
|
observeCuratorCompliance,
|
|
434
434
|
observeStoreHealth,
|
|
435
435
|
readLearningHealth
|
|
436
|
-
} from "./index-
|
|
436
|
+
} from "./index-swhxs3n7.js";
|
|
437
437
|
import {
|
|
438
438
|
appendKnowledge,
|
|
439
439
|
appendRejectedLesson,
|
|
@@ -463,7 +463,7 @@ import {
|
|
|
463
463
|
transactFile,
|
|
464
464
|
transactKnowledge,
|
|
465
465
|
wordBigrams
|
|
466
|
-
} from "./index-
|
|
466
|
+
} from "./index-cj66fbmz.js";
|
|
467
467
|
import {
|
|
468
468
|
readTailJsonl,
|
|
469
469
|
readTailJsonlDetailed,
|
|
@@ -484,7 +484,7 @@ import {
|
|
|
484
484
|
resolveLinkDir,
|
|
485
485
|
sanitizeLinkId,
|
|
486
486
|
writeLinkPointer
|
|
487
|
-
} from "./index-
|
|
487
|
+
} from "./index-bh07vpsw.js";
|
|
488
488
|
import {
|
|
489
489
|
assertProjectRoot,
|
|
490
490
|
atomicWriteFile,
|
|
@@ -493,7 +493,7 @@ import {
|
|
|
493
493
|
listActiveLocks,
|
|
494
494
|
tryAcquireLock,
|
|
495
495
|
withEvidenceLock
|
|
496
|
-
} from "./index-
|
|
496
|
+
} from "./index-25aq56s9.js";
|
|
497
497
|
import {
|
|
498
498
|
require_proper_lockfile
|
|
499
499
|
} from "./index-7g4c7s5r.js";
|
|
@@ -515,7 +515,7 @@ import {
|
|
|
515
515
|
matchTempGrammar,
|
|
516
516
|
parseTargetBasename,
|
|
517
517
|
resetSwarmArtifactCache
|
|
518
|
-
} from "./index-
|
|
518
|
+
} from "./index-g4m0t1y4.js";
|
|
519
519
|
import {
|
|
520
520
|
canonicalRootKey,
|
|
521
521
|
canonicalRootKeyFresh,
|
|
@@ -532,7 +532,7 @@ import {
|
|
|
532
532
|
loadGateOverrides,
|
|
533
533
|
loadPluginConfig,
|
|
534
534
|
loadPluginConfigWithMeta
|
|
535
|
-
} from "./index-
|
|
535
|
+
} from "./index-9kqtzj67.js";
|
|
536
536
|
import {
|
|
537
537
|
init_git_executable,
|
|
538
538
|
resolveGitExecutable,
|
|
@@ -561,7 +561,7 @@ import {
|
|
|
561
561
|
resolveAutoReviewConfig,
|
|
562
562
|
resolveGeneratedAgentRole,
|
|
563
563
|
stripKnownSwarmPrefix
|
|
564
|
-
} from "./index-
|
|
564
|
+
} from "./index-zwvrrwwb.js";
|
|
565
565
|
import {
|
|
566
566
|
AGENT_TOOL_MAP,
|
|
567
567
|
ALL_AGENT_NAMES,
|
|
@@ -3175,7 +3175,7 @@ async function importLegacyPrWorkflowGateStateIfNeeded(directory, sessionID, all
|
|
|
3175
3175
|
return null;
|
|
3176
3176
|
throw error2;
|
|
3177
3177
|
}
|
|
3178
|
-
const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-
|
|
3178
|
+
const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-bx7x5cyh.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
|
|
3179
3179
|
if (!legacy)
|
|
3180
3180
|
return null;
|
|
3181
3181
|
const namespace = workflowGateStateCoordinationNamespace(sessionID);
|
|
@@ -3245,7 +3245,7 @@ async function deleteStateWhileLocked(directory, sessionID, options = {}) {
|
|
|
3245
3245
|
let recoveryState = null;
|
|
3246
3246
|
if (!currentAuthoritative) {
|
|
3247
3247
|
if (options.allowSalvagedRead) {
|
|
3248
|
-
const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-
|
|
3248
|
+
const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-bx7x5cyh.js");
|
|
3249
3249
|
recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
|
|
3250
3250
|
}
|
|
3251
3251
|
if (!recoveryState) {
|
|
@@ -14210,7 +14210,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
|
|
|
14210
14210
|
return extracted === expectedSessionId;
|
|
14211
14211
|
}
|
|
14212
14212
|
async function inspectStandardWorktreeCollisionOwnership(identity) {
|
|
14213
|
-
const collisionOwnership = await import("./worktree-collision-ownership-
|
|
14213
|
+
const collisionOwnership = await import("./worktree-collision-ownership-msxze6pq.js");
|
|
14214
14214
|
return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
|
|
14215
14215
|
}
|
|
14216
14216
|
async function runRecoveryGit(directory, args, timeoutMs = 15000) {
|
|
@@ -14636,7 +14636,7 @@ async function precreateStandardWorktreeSession(args) {
|
|
|
14636
14636
|
const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
|
|
14637
14637
|
if (laneProfile) {
|
|
14638
14638
|
try {
|
|
14639
|
-
const { writeLaneProfileToDiskReal } = await import("./core-
|
|
14639
|
+
const { writeLaneProfileToDiskReal } = await import("./core-j1wef1b1.js");
|
|
14640
14640
|
await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
|
|
14641
14641
|
} catch {}
|
|
14642
14642
|
}
|
|
@@ -15615,7 +15615,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
|
|
|
15615
15615
|
}
|
|
15616
15616
|
clearWorktreeMergeStatus(statusKey);
|
|
15617
15617
|
try {
|
|
15618
|
-
const { removeLaneProfileFromDiskReal } = await import("./core-
|
|
15618
|
+
const { removeLaneProfileFromDiskReal } = await import("./core-j1wef1b1.js");
|
|
15619
15619
|
await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
|
|
15620
15620
|
} catch {}
|
|
15621
15621
|
const state = serializationStateBySessionID.get(dispatch.parentSessionID);
|
|
@@ -22232,7 +22232,7 @@ function getDisplayFinalPromptPressure() {
|
|
|
22232
22232
|
async function rehydratePrSubscriptions(sessionID, directory) {
|
|
22233
22233
|
const map = new Map;
|
|
22234
22234
|
try {
|
|
22235
|
-
const { listActive: listActive2 } = await import("./pr-subscriptions-
|
|
22235
|
+
const { listActive: listActive2 } = await import("./pr-subscriptions-8v66558d.js");
|
|
22236
22236
|
const records = await listActive2(directory);
|
|
22237
22237
|
for (const record of records) {
|
|
22238
22238
|
if (record.sessionID !== sessionID)
|
|
@@ -39107,9 +39107,9 @@ function hashContent(content) {
|
|
|
39107
39107
|
return createHash24("sha1").update(content).digest("hex");
|
|
39108
39108
|
}
|
|
39109
39109
|
async function loadConfigForPolicyCurator(directory) {
|
|
39110
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
39110
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-e0b6nwh6.js");
|
|
39111
39111
|
try {
|
|
39112
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
39112
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-axzmpwsp.js");
|
|
39113
39113
|
const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
|
|
39114
39114
|
return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
|
|
39115
39115
|
} catch {
|
|
@@ -42167,7 +42167,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
|
|
|
42167
42167
|
const seam = _internals36.createCuratorLLMDelegate;
|
|
42168
42168
|
if (seam)
|
|
42169
42169
|
return seam(directory, mode, sessionId);
|
|
42170
|
-
const { createCuratorLLMDelegate } = await import("./curator-llm-factory-
|
|
42170
|
+
const { createCuratorLLMDelegate } = await import("./curator-llm-factory-rdmbyw36.js");
|
|
42171
42171
|
return createCuratorLLMDelegate(directory, mode, sessionId);
|
|
42172
42172
|
}
|
|
42173
42173
|
async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
|
|
@@ -42562,7 +42562,7 @@ async function runFinalizeStage(ctx) {
|
|
|
42562
42562
|
}
|
|
42563
42563
|
}
|
|
42564
42564
|
try {
|
|
42565
|
-
const { CuratorConfigSchema: CCS } = await import("./schema-
|
|
42565
|
+
const { CuratorConfigSchema: CCS } = await import("./schema-e0b6nwh6.js");
|
|
42566
42566
|
const { config: pmLoadedConfig } = _internals36.loadPluginConfigWithMeta(ctx.directory);
|
|
42567
42567
|
const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
|
|
42568
42568
|
if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
|
|
@@ -44406,7 +44406,7 @@ function serializeAgentSession(s) {
|
|
|
44406
44406
|
}
|
|
44407
44407
|
async function writeSnapshot(directory, state) {
|
|
44408
44408
|
try {
|
|
44409
|
-
const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-
|
|
44409
|
+
const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-8a0cqgzy.js");
|
|
44410
44410
|
await ensureSnapshotCoordinationReady(directory);
|
|
44411
44411
|
const snapshot = {
|
|
44412
44412
|
version: 3,
|
|
@@ -47332,7 +47332,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
|
|
|
47332
47332
|
};
|
|
47333
47333
|
}
|
|
47334
47334
|
async function sweepActiveNearDuplicates(directory, options = {}) {
|
|
47335
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
47335
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-axzmpwsp.js");
|
|
47336
47336
|
const { config } = loadPluginConfigWithMeta2(directory);
|
|
47337
47337
|
const sweepConfig = config.learning?.dedup_sweep;
|
|
47338
47338
|
if (sweepConfig?.enabled === false)
|
|
@@ -48456,7 +48456,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
|
|
|
48456
48456
|
}
|
|
48457
48457
|
if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
|
|
48458
48458
|
try {
|
|
48459
|
-
const skillModule = await import("./skill-generator-
|
|
48459
|
+
const skillModule = await import("./skill-generator-k9gvpdq5.js");
|
|
48460
48460
|
for (const cand of skillCandidates) {
|
|
48461
48461
|
if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
|
|
48462
48462
|
continue;
|
|
@@ -48928,7 +48928,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
|
|
|
48928
48928
|
} catch {}
|
|
48929
48929
|
}
|
|
48930
48930
|
if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
|
|
48931
|
-
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-
|
|
48931
|
+
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-znzksqjb.js");
|
|
48932
48932
|
for (const { id } of contradictedEntries) {
|
|
48933
48933
|
try {
|
|
48934
48934
|
await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
|
|
@@ -49760,7 +49760,7 @@ async function runCuratorPostMortem(directory, options = {}) {
|
|
|
49760
49760
|
warnings.push("Failed to collect knowledge summary.");
|
|
49761
49761
|
}
|
|
49762
49762
|
try {
|
|
49763
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
49763
|
+
const { getScanStatus } = await import("./scan-cursor-9vp5c7dk.js");
|
|
49764
49764
|
const scanStatus = await getScanStatus(directory);
|
|
49765
49765
|
if (scanStatus.remaining_estimate > 0) {
|
|
49766
49766
|
warnings.push(`Fair scan: reviewed ${knowledgeSummary.length} entries this sweep (generation ${scanStatus.generation}); ${scanStatus.remaining_estimate} more eligible entries will be visited in future curation sweeps.`);
|
|
@@ -49932,9 +49932,9 @@ var _internals53 = {
|
|
|
49932
49932
|
verifyPostMortemKnowledgeActions,
|
|
49933
49933
|
repairPostMortemActions,
|
|
49934
49934
|
loadDefaultKnowledgeConfig: async (directory) => {
|
|
49935
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
49935
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-e0b6nwh6.js");
|
|
49936
49936
|
try {
|
|
49937
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
49937
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-axzmpwsp.js");
|
|
49938
49938
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
49939
49939
|
return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
49940
49940
|
} catch {
|
|
@@ -49942,11 +49942,11 @@ var _internals53 = {
|
|
|
49942
49942
|
}
|
|
49943
49943
|
},
|
|
49944
49944
|
applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
|
|
49945
|
-
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-
|
|
49945
|
+
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-9bkavyx7.js");
|
|
49946
49946
|
return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
|
|
49947
49947
|
},
|
|
49948
49948
|
checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
|
|
49949
|
-
const { checkHivePromotions } = await import("./hive-promoter-
|
|
49949
|
+
const { checkHivePromotions } = await import("./hive-promoter-f9zx73na.js");
|
|
49950
49950
|
return checkHivePromotions(entries2, knowledgeConfig, directory);
|
|
49951
49951
|
},
|
|
49952
49952
|
applyProposalTriage: async (directory, triage) => {
|
|
@@ -49955,7 +49955,7 @@ var _internals53 = {
|
|
|
49955
49955
|
activateProposal,
|
|
49956
49956
|
listSkills: listSkills2,
|
|
49957
49957
|
sanitizeSlug
|
|
49958
|
-
} = await import("./skill-generator-
|
|
49958
|
+
} = await import("./skill-generator-k9gvpdq5.js");
|
|
49959
49959
|
const result = {
|
|
49960
49960
|
approved: [],
|
|
49961
49961
|
rejected: [],
|
|
@@ -49997,7 +49997,7 @@ var _internals53 = {
|
|
|
49997
49997
|
return result;
|
|
49998
49998
|
},
|
|
49999
49999
|
readPriorDriftReports: async (directory) => {
|
|
50000
|
-
const { readPriorDriftReports } = await import("./curator-drift-
|
|
50000
|
+
const { readPriorDriftReports } = await import("./curator-drift-j1ggdamr.js");
|
|
50001
50001
|
return readPriorDriftReports(directory);
|
|
50002
50002
|
},
|
|
50003
50003
|
readSwarmKnowledge: (directory) => readKnowledge(resolveSwarmKnowledgePath(directory))
|
|
@@ -59793,9 +59793,9 @@ var _internals63 = {
|
|
|
59793
59793
|
loadPluginConfigWithMeta,
|
|
59794
59794
|
loadCuratorDeps: async () => {
|
|
59795
59795
|
const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
|
|
59796
|
-
import("./schema-
|
|
59797
|
-
import("./curator-
|
|
59798
|
-
import("./curator-llm-factory-
|
|
59796
|
+
import("./schema-e0b6nwh6.js"),
|
|
59797
|
+
import("./curator-9bkavyx7.js"),
|
|
59798
|
+
import("./curator-llm-factory-rdmbyw36.js")
|
|
59799
59799
|
]);
|
|
59800
59800
|
return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
|
|
59801
59801
|
}
|
|
@@ -62047,7 +62047,7 @@ async function computeCurationDiagnostics(directory, entries2) {
|
|
|
62047
62047
|
let scanCompleted = false;
|
|
62048
62048
|
let scanRemaining = 0;
|
|
62049
62049
|
try {
|
|
62050
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
62050
|
+
const { getScanStatus } = await import("./scan-cursor-9vp5c7dk.js");
|
|
62051
62051
|
const status = await getScanStatus(directory);
|
|
62052
62052
|
scanGeneration = status.generation;
|
|
62053
62053
|
scanCompleted = status.completed;
|
|
@@ -62055,19 +62055,19 @@ async function computeCurationDiagnostics(directory, entries2) {
|
|
|
62055
62055
|
} catch {}
|
|
62056
62056
|
let configMatch = null;
|
|
62057
62057
|
try {
|
|
62058
|
-
const { isLinked: isLinked2 } = await import("./knowledge-link-
|
|
62058
|
+
const { isLinked: isLinked2 } = await import("./knowledge-link-1n4kjc0c.js");
|
|
62059
62059
|
if (isLinked2(directory)) {
|
|
62060
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
62060
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-e0b6nwh6.js");
|
|
62061
62061
|
let config;
|
|
62062
62062
|
try {
|
|
62063
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
62063
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-axzmpwsp.js");
|
|
62064
62064
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
62065
62065
|
config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
62066
62066
|
} catch {
|
|
62067
62067
|
config = KnowledgeConfigSchema2.parse({});
|
|
62068
62068
|
}
|
|
62069
62069
|
const { cohortConfigFingerprint: cohortConfigFingerprint2 } = await import("./config-fingerprint-v22xh5a2.js");
|
|
62070
|
-
const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-
|
|
62070
|
+
const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-62k3tfy2.js");
|
|
62071
62071
|
const currentFp = cohortConfigFingerprint2(buildConfigFingerprintInput2(config));
|
|
62072
62072
|
const cohortFp = await readCohortConfigFingerprint(directory);
|
|
62073
62073
|
configMatch = cohortFp === null ? null : currentFp === cohortFp;
|
|
@@ -62232,7 +62232,8 @@ var REQUIRED_CACHE_GRAMMAR_ASSETS = [
|
|
|
62232
62232
|
];
|
|
62233
62233
|
var _internals67 = {
|
|
62234
62234
|
detectSandboxCapability: () => sandboxCapabilityProbe.detect(),
|
|
62235
|
-
getSandboxExecutor: getExecutor
|
|
62235
|
+
getSandboxExecutor: getExecutor,
|
|
62236
|
+
execFileSync: (...args) => child_process5.execFileSync(...args)
|
|
62236
62237
|
};
|
|
62237
62238
|
var SWARM_DB_QUICK_CHECK_MAX_BYTES2 = 64 * 1024 * 1024;
|
|
62238
62239
|
function checkSwarmDb(directory) {
|
|
@@ -62514,6 +62515,14 @@ async function checkConfigBackups(directory) {
|
|
|
62514
62515
|
};
|
|
62515
62516
|
}
|
|
62516
62517
|
}
|
|
62518
|
+
var GIT_REPOSITORY_CHECK_TIMEOUT_MS = 5000;
|
|
62519
|
+
var GIT_REPOSITORY_CHECK_MAX_BUFFER_BYTES = 64 * 1024;
|
|
62520
|
+
function isSpawnTimeoutLike(err) {
|
|
62521
|
+
if (typeof err !== "object" || err === null)
|
|
62522
|
+
return false;
|
|
62523
|
+
const e = err;
|
|
62524
|
+
return e.killed === true || e.signal === "SIGKILL" || e.signal === "SIGTERM" || e.code === "ETIMEDOUT";
|
|
62525
|
+
}
|
|
62517
62526
|
async function checkGitRepository(directory) {
|
|
62518
62527
|
try {
|
|
62519
62528
|
if (!existsSync45(directory) || !statSync25(directory).isDirectory()) {
|
|
@@ -62524,16 +62533,27 @@ async function checkGitRepository(directory) {
|
|
|
62524
62533
|
};
|
|
62525
62534
|
}
|
|
62526
62535
|
const gitExecutable = await resolveGitExecutableAsync();
|
|
62527
|
-
|
|
62536
|
+
_internals67.execFileSync(gitExecutable, ["rev-parse", "--git-dir"], {
|
|
62528
62537
|
cwd: directory,
|
|
62529
|
-
stdio: "
|
|
62538
|
+
stdio: ["ignore", "ignore", "ignore"],
|
|
62539
|
+
timeout: GIT_REPOSITORY_CHECK_TIMEOUT_MS,
|
|
62540
|
+
killSignal: "SIGKILL",
|
|
62541
|
+
maxBuffer: GIT_REPOSITORY_CHECK_MAX_BUFFER_BYTES,
|
|
62542
|
+
env: { ...process.env, GIT_TERMINAL_PROMPT: "0" }
|
|
62530
62543
|
});
|
|
62531
62544
|
return {
|
|
62532
62545
|
name: "Git Repository",
|
|
62533
62546
|
status: "\u2705",
|
|
62534
62547
|
detail: "Git repository detected"
|
|
62535
62548
|
};
|
|
62536
|
-
} catch {
|
|
62549
|
+
} catch (err) {
|
|
62550
|
+
if (isSpawnTimeoutLike(err)) {
|
|
62551
|
+
return {
|
|
62552
|
+
name: "Git Repository",
|
|
62553
|
+
status: "\u2B1C",
|
|
62554
|
+
detail: `git rev-parse did not answer within ${GIT_REPOSITORY_CHECK_TIMEOUT_MS} ms \u2014 git state unknown`
|
|
62555
|
+
};
|
|
62556
|
+
}
|
|
62537
62557
|
return {
|
|
62538
62558
|
name: "Git Repository",
|
|
62539
62559
|
status: "\u274C",
|
|
@@ -63483,7 +63503,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
63483
63503
|
const result = runConfigDoctor(config, directory);
|
|
63484
63504
|
let output;
|
|
63485
63505
|
if (enableAutoFix && result.hasAutoFixableIssues) {
|
|
63486
|
-
const { runConfigDoctorWithFixes } = await import("./config-doctor-
|
|
63506
|
+
const { runConfigDoctorWithFixes } = await import("./config-doctor-f2j4t2qg.js");
|
|
63487
63507
|
const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
|
|
63488
63508
|
applyLossy: true
|
|
63489
63509
|
});
|
|
@@ -64437,7 +64457,7 @@ async function handleEvidenceCommand(directory, args) {
|
|
|
64437
64457
|
return formatTaskEvidenceMarkdown(evidenceData);
|
|
64438
64458
|
}
|
|
64439
64459
|
async function handleEvidenceSummaryCommand(directory) {
|
|
64440
|
-
const { buildEvidenceSummary } = await import("./evidence-summary-service-
|
|
64460
|
+
const { buildEvidenceSummary } = await import("./evidence-summary-service-vp1gnmw8.js");
|
|
64441
64461
|
const artifact = await buildEvidenceSummary(directory);
|
|
64442
64462
|
if (!artifact) {
|
|
64443
64463
|
return "No plan found. Run `/swarm plan` to check plan status.";
|
|
@@ -84485,7 +84505,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
|
|
|
84485
84505
|
}
|
|
84486
84506
|
const sdkOpts = signal ? { signal } : {};
|
|
84487
84507
|
try {
|
|
84488
|
-
const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-
|
|
84508
|
+
const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-bmzmxewc.js");
|
|
84489
84509
|
const createResult = await client.session.create({
|
|
84490
84510
|
...sessionId ? {
|
|
84491
84511
|
body: {
|
|
@@ -98403,7 +98423,7 @@ async function runValidationWithTransientRetry(input, candidateContent, baseline
|
|
|
98403
98423
|
if (!input.dispatcher) {
|
|
98404
98424
|
throw new Error("no evaluation dispatcher available (cannot run validation)");
|
|
98405
98425
|
}
|
|
98406
|
-
const { createModelEvaluationExecutor: createModelEvaluationExecutor2 } = await import("./runner-
|
|
98426
|
+
const { createModelEvaluationExecutor: createModelEvaluationExecutor2 } = await import("./runner-91q995mh.js");
|
|
98407
98427
|
const executor = createModelEvaluationExecutor2(input.dispatcher, input.sessionId);
|
|
98408
98428
|
const result = await withProtectedSetIntegrity([evalInputRoot, ...protectedRoots(input.directory)], () => _internals118.evaluateCandidateV1({
|
|
98409
98429
|
projectRoot: input.directory,
|
|
@@ -101032,7 +101052,7 @@ function buildDetailedHelp(commandName, entry) {
|
|
|
101032
101052
|
async function handleHelpCommand(ctx) {
|
|
101033
101053
|
const targetCommand = ctx.args.join(" ");
|
|
101034
101054
|
if (!targetCommand) {
|
|
101035
|
-
const { buildHelpText } = await import("./index-
|
|
101055
|
+
const { buildHelpText } = await import("./index-k4r7m6vz.js");
|
|
101036
101056
|
return buildHelpText();
|
|
101037
101057
|
}
|
|
101038
101058
|
const tokens = targetCommand.split(/\s+/);
|
|
@@ -101046,7 +101066,7 @@ async function handleHelpCommand(ctx) {
|
|
|
101046
101066
|
> Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
|
|
101047
101067
|
}
|
|
101048
101068
|
const similar = _internals24.findSimilarCommands(targetCommand);
|
|
101049
|
-
const { buildHelpText: fullHelp } = await import("./index-
|
|
101069
|
+
const { buildHelpText: fullHelp } = await import("./index-k4r7m6vz.js");
|
|
101050
101070
|
if (similar.length > 0) {
|
|
101051
101071
|
return `Command '/swarm ${targetCommand}' not found.
|
|
101052
101072
|
|
|
@@ -101361,7 +101381,7 @@ var COMMAND_REGISTRY = {
|
|
|
101361
101381
|
},
|
|
101362
101382
|
"guardrail explain": {
|
|
101363
101383
|
handler: async (ctx) => {
|
|
101364
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
101384
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-271bxeve.js");
|
|
101365
101385
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
101366
101386
|
},
|
|
101367
101387
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -101371,7 +101391,7 @@ var COMMAND_REGISTRY = {
|
|
|
101371
101391
|
},
|
|
101372
101392
|
"guardrail reset": {
|
|
101373
101393
|
handler: async (ctx) => {
|
|
101374
|
-
const { handleGuardrailReset } = await import("./guardrail-reset-
|
|
101394
|
+
const { handleGuardrailReset } = await import("./guardrail-reset-vs77rj7q.js");
|
|
101375
101395
|
return handleGuardrailReset(ctx.args, ctx.sessionID);
|
|
101376
101396
|
},
|
|
101377
101397
|
description: "Reset one exact active invocation/action circuit after repair",
|
|
@@ -101392,7 +101412,7 @@ var COMMAND_REGISTRY = {
|
|
|
101392
101412
|
},
|
|
101393
101413
|
"guardrail-log": {
|
|
101394
101414
|
handler: async (ctx) => {
|
|
101395
|
-
const { handleGuardrailLog } = await import("./guardrail-log-
|
|
101415
|
+
const { handleGuardrailLog } = await import("./guardrail-log-cw6kst05.js");
|
|
101396
101416
|
return handleGuardrailLog(ctx.directory, ctx.args);
|
|
101397
101417
|
},
|
|
101398
101418
|
description: "Read the guardrail decision log (use --blocks-only for blocks)",
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-cj66fbmz.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveKnowledgeStoreDir
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-bh07vpsw.js";
|
|
9
9
|
import {
|
|
10
10
|
init_git_executable,
|
|
11
11
|
resolveGitExecutableAsync
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-gaa1h7rv.js";
|
|
5
5
|
import {
|
|
6
6
|
bunSpawn
|
|
7
7
|
} from "./index-2s7dvzff.js";
|
|
8
8
|
import {
|
|
9
9
|
atomicWriteSwarmFileSync
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-g4m0t1y4.js";
|
|
11
11
|
import {
|
|
12
12
|
canonicalRootKeyFresh
|
|
13
13
|
} from "./index-1xnse449.js";
|
|
@@ -244,7 +244,7 @@ var _internals2 = {
|
|
|
244
244
|
symlinkSync: fs2.symlinkSync
|
|
245
245
|
},
|
|
246
246
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
247
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
247
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-dd6cwhhc.js");
|
|
248
248
|
return realWrite(directory, taskId, files);
|
|
249
249
|
},
|
|
250
250
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|