opencode-swarm 7.188.10 → 7.188.11
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/{auto-checkpoint-c4nesm12.js → auto-checkpoint-kyb5rw8j.js} +4 -4
- package/dist/cli/{checkpoint-sfnz4843.js → checkpoint-9e3f8ers.js} +8 -8
- package/dist/cli/{coder-settlement-y7wjm4w3.js → coder-settlement-9j4ejab4.js} +3 -3
- package/dist/cli/{config-doctor-d01gbn5x.js → config-doctor-jd5yckkb.js} +7 -7
- package/dist/cli/{core-1ymsg83x.js → core-eyzqvwpk.js} +1 -1
- package/dist/cli/{curator-drift-9tnm8jdz.js → curator-drift-wyt8jf7r.js} +5 -5
- package/dist/cli/{curator-llm-factory-9z688c52.js → curator-llm-factory-3b0jvvkd.js} +25 -25
- package/dist/cli/{curator-5ynapye5.js → curator-q6f0e79e.js} +25 -25
- package/dist/cli/{doctor-knowledge-receipt-phase-id-tkkznw6t.js → doctor-knowledge-receipt-phase-id-19qdy72k.js} +4 -4
- package/dist/cli/{evidence-summary-service-jsg0x7q1.js → evidence-summary-service-k5ztgaca.js} +9 -9
- package/dist/cli/{gate-evidence-6r2qbk89.js → gate-evidence-6gw4w2e8.js} +2 -2
- package/dist/cli/{guardrail-explain-7m0h7db3.js → guardrail-explain-ewgj1gyw.js} +26 -26
- package/dist/cli/{guardrail-log-p6s1sbxh.js → guardrail-log-vp628cge.js} +3 -3
- package/dist/cli/{guardrail-reset-shvx8e8g.js → guardrail-reset-qycc0pns.js} +25 -25
- package/dist/cli/{hive-promoter-f5cd2d49.js → hive-promoter-z8r9xc9r.js} +25 -25
- package/dist/cli/{index-d7m9qhpe.js → index-03syhrv4.js} +2 -2
- package/dist/cli/{index-14d4cyxj.js → index-0r1nrgq3.js} +1 -1
- package/dist/cli/{index-hzezk176.js → index-0rd6br4q.js} +2 -2
- package/dist/cli/{index-8xxk1gv4.js → index-0tazb5m3.js} +1 -1
- package/dist/cli/{index-w11m4vrb.js → index-1dhbk164.js} +1 -1
- package/dist/cli/{index-rpb18d3f.js → index-1yx34x6m.js} +3 -3
- package/dist/cli/{index-zwn2w04v.js → index-2262zz0m.js} +2 -2
- package/dist/cli/{index-qq95qr3b.js → index-3jx1yhqk.js} +3 -3
- package/dist/cli/{index-53t4xt8f.js → index-4paxe7hp.js} +1 -1
- package/dist/cli/{index-6yrx7ggm.js → index-58pk41rj.js} +4 -4
- package/dist/cli/{index-scjtkt0e.js → index-5kcjrkme.js} +27 -27
- package/dist/cli/{index-gjjn069b.js → index-5m77ayzt.js} +1 -1
- package/dist/cli/{index-9cqw29er.js → index-66e6yba5.js} +2 -2
- package/dist/cli/{index-ks6s6pmk.js → index-6xppxtfc.js} +3 -3
- package/dist/cli/{index-rrs4vj8e.js → index-8ndndvcw.js} +5 -5
- package/dist/cli/{index-tegqnetn.js → index-axreszvd.js} +2 -2
- package/dist/cli/{index-hjpspz6z.js → index-bgv93ngx.js} +25 -25
- package/dist/cli/{index-562bdvys.js → index-c562pan0.js} +1 -1
- package/dist/cli/{index-7cxtwt5e.js → index-m0e1xjee.js} +6 -6
- package/dist/cli/{index-vz1ze26j.js → index-m1v2qd3z.js} +1 -1
- package/dist/cli/{index-n3h6rwpf.js → index-mzyvv3hz.js} +1 -1
- package/dist/cli/{index-e7t7b5xs.js → index-n1pntydp.js} +3 -3
- package/dist/cli/{index-b0jte72h.js → index-pqx85rk1.js} +1 -1
- package/dist/cli/{index-hxfsxkb8.js → index-rbgg2q19.js} +61 -61
- package/dist/cli/{index-drpz069k.js → index-sgawa007.js} +1 -1
- package/dist/cli/{index-3j27qc81.js → index-wh9h5vj1.js} +1 -1
- package/dist/cli/{index-mbqaxnsy.js → index-xr1bfzee.js} +1 -1
- package/dist/cli/{index-3ad6fs6v.js → index-yvp5c2e2.js} +1 -1
- package/dist/cli/{index-jna86fsj.js → index-z55btbf2.js} +2 -2
- package/dist/cli/{index-sjh07rja.js → index-zpsc691s.js} +1 -1
- package/dist/cli/index.js +26 -26
- package/dist/cli/{knowledge-escalator-rjwqcj4c.js → knowledge-escalator-1hk1sxaj.js} +7 -7
- package/dist/cli/{knowledge-events-0f3tf23t.js → knowledge-events-12jxfydt.js} +5 -5
- package/dist/cli/{knowledge-store-azahpegn.js → knowledge-store-xr64wqmj.js} +1 -1
- package/dist/cli/{knowledge-validator-9yvg7gn9.js → knowledge-validator-978b1j5n.js} +2 -2
- package/dist/cli/{mcp-mxgxbdd2.js → mcp-qxwxzchp.js} +1 -1
- package/dist/cli/{model-preflight-c9qb1630.js → model-preflight-b9mbnymf.js} +25 -25
- package/dist/cli/{pending-delegations-rm86drz1.js → pending-delegations-0ej13k7z.js} +2 -2
- package/dist/cli/{pr-subscriptions-0y73v5dw.js → pr-subscriptions-c35gt902.js} +1 -1
- package/dist/cli/{pr-workflow-gate-f1wr818p.js → pr-workflow-gate-a17sdc22.js} +25 -25
- package/dist/cli/{scan-cursor-abq3sdt6.js → scan-cursor-a9y3qfj0.js} +2 -2
- package/dist/cli/{schema-0c4cddzy.js → schema-dn0247wt.js} +1 -1
- package/dist/cli/{scope-persistence-f8ss7vna.js → scope-persistence-v62cew31.js} +5 -5
- package/dist/cli/{server-bc0s1v3y.js → server-tna0jzhz.js} +25 -25
- package/dist/cli/{skill-generator-2z0p2rjb.js → skill-generator-yr4dc37y.js} +8 -8
- package/dist/cli/{snapshot-coordination-init-sn7red7a.js → snapshot-coordination-init-f2dsrgvy.js} +25 -25
- package/dist/cli/{speckit-checkoff-t3pm0yn0.js → speckit-checkoff-gwjz28vf.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-g14dwsby.js → worktree-collision-ownership-p7g40dpp.js} +2 -2
- package/dist/cli/{worktree-isolation-av55nenq.js → worktree-isolation-f76g3j4v.js} +25 -25
- package/dist/index.js +4 -4
- package/dist/turbo/lean/phase-ready.d.ts +15 -1
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
reconcileLandedMerge,
|
|
15
15
|
withTaskEvidenceTransaction,
|
|
16
16
|
writeWorkflowWalFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-sgawa007.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
20
|
} from "./index-7hr5m7yp.js";
|
|
@@ -512,7 +512,7 @@ async function cleanupRecoveredWorktree(directory, descriptor, options) {
|
|
|
512
512
|
awaitingMergeByCallID,
|
|
513
513
|
cleanupStandardWorktreeForCallId,
|
|
514
514
|
standardWorktreeByCallID
|
|
515
|
-
} = await import("./worktree-isolation-
|
|
515
|
+
} = await import("./worktree-isolation-f76g3j4v.js");
|
|
516
516
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
517
517
|
if (hasResidue)
|
|
518
518
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -648,7 +648,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
648
648
|
awaitingMergeByCallID,
|
|
649
649
|
finishStandardWorktreeDispatch,
|
|
650
650
|
standardWorktreeByCallID
|
|
651
|
-
} = await import("./worktree-isolation-
|
|
651
|
+
} = await import("./worktree-isolation-f76g3j4v.js");
|
|
652
652
|
const descriptor = wal.worktree;
|
|
653
653
|
const reconstructedDispatch = {
|
|
654
654
|
callID: descriptor.callID,
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
protectedRoots,
|
|
9
9
|
redactDecisionLineForArchive,
|
|
10
10
|
stableCanonicalStringify
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-pqx85rk1.js";
|
|
12
12
|
import {
|
|
13
13
|
detectStraySwarmDirs,
|
|
14
14
|
readDoctorArtifact,
|
|
15
15
|
removeStraySwarmDir,
|
|
16
16
|
resolvePlanParallelizationFlag,
|
|
17
17
|
runConfigDoctor
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-axreszvd.js";
|
|
19
19
|
import {
|
|
20
20
|
archiveEvidence,
|
|
21
21
|
checkRequirementCoverage,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
sanitizeTaskId,
|
|
28
28
|
saveEvidence,
|
|
29
29
|
validateProjectRoot
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-mzyvv3hz.js";
|
|
31
31
|
import {
|
|
32
32
|
JAVA_SYMBOL_GRAMMAR,
|
|
33
33
|
LANGUAGE_REGISTRY,
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
alreadyCuratedThisGeneration,
|
|
90
90
|
claimNextScanBatch,
|
|
91
91
|
resolveCohortId
|
|
92
|
-
} from "./index-
|
|
92
|
+
} from "./index-zpsc691s.js";
|
|
93
93
|
import {
|
|
94
94
|
CURATOR_CONSOLIDATION_PROMPT,
|
|
95
95
|
CURATOR_INIT_PROMPT,
|
|
@@ -108,13 +108,13 @@ import {
|
|
|
108
108
|
getGroupCommitWriter,
|
|
109
109
|
importLegacyJsonl,
|
|
110
110
|
readPriorDriftReports
|
|
111
|
-
} from "./index-
|
|
111
|
+
} from "./index-4paxe7hp.js";
|
|
112
112
|
import {
|
|
113
113
|
assertNoUnsettledCoderDispatch,
|
|
114
114
|
listCoderSettlementWalStates,
|
|
115
115
|
recoverCoderSettlement,
|
|
116
116
|
recoverStaleCoderSettlements
|
|
117
|
-
} from "./index-
|
|
117
|
+
} from "./index-n1pntydp.js";
|
|
118
118
|
import {
|
|
119
119
|
BUNDLED_PROJECT_SKILL_ROOT,
|
|
120
120
|
DEFAULT_SKILL_MIN_CONFIDENCE,
|
|
@@ -135,11 +135,11 @@ import {
|
|
|
135
135
|
retireSkill,
|
|
136
136
|
selectCandidateEntries,
|
|
137
137
|
syncBundledProjectSkillsIfMissingAsync
|
|
138
|
-
} from "./index-
|
|
138
|
+
} from "./index-3jx1yhqk.js";
|
|
139
139
|
import {
|
|
140
140
|
buildEscalationBriefing,
|
|
141
141
|
readRecentEscalations
|
|
142
|
-
} from "./index-
|
|
142
|
+
} from "./index-m0e1xjee.js";
|
|
143
143
|
import {
|
|
144
144
|
parsePorcelainV2Snapshot,
|
|
145
145
|
resolveCommitCountSince,
|
|
@@ -219,7 +219,7 @@ import {
|
|
|
219
219
|
resolveWorkingDirectory,
|
|
220
220
|
swarmOverwriteCandidates,
|
|
221
221
|
trackedDirtyCandidates
|
|
222
|
-
} from "./index-
|
|
222
|
+
} from "./index-1yx34x6m.js";
|
|
223
223
|
import {
|
|
224
224
|
MAX_TRANSIENT_RETRIES,
|
|
225
225
|
PlanRecoverySupersededError,
|
|
@@ -246,7 +246,7 @@ import {
|
|
|
246
246
|
transientBackoff,
|
|
247
247
|
updateTaskStatus,
|
|
248
248
|
withPlanLifecycleLock
|
|
249
|
-
} from "./index-
|
|
249
|
+
} from "./index-8ndndvcw.js";
|
|
250
250
|
import {
|
|
251
251
|
containsControlChars,
|
|
252
252
|
containsPathTraversal,
|
|
@@ -262,7 +262,7 @@ import {
|
|
|
262
262
|
resolveSpeckitProjection,
|
|
263
263
|
validateSpeckit,
|
|
264
264
|
writeProjectedSpecSync
|
|
265
|
-
} from "./index-
|
|
265
|
+
} from "./index-0r1nrgq3.js";
|
|
266
266
|
import {
|
|
267
267
|
clearWorktreeMergeStatus,
|
|
268
268
|
getAllWorktreeMergeFailures,
|
|
@@ -293,7 +293,7 @@ import {
|
|
|
293
293
|
transitionTaskWorkflowEvidenceWithStatus,
|
|
294
294
|
withTaskEvidenceTransaction,
|
|
295
295
|
writeWorkflowWalFile
|
|
296
|
-
} from "./index-
|
|
296
|
+
} from "./index-sgawa007.js";
|
|
297
297
|
import {
|
|
298
298
|
isPathUnderSwarmWorktreeBase,
|
|
299
299
|
listLiveLaneOwners,
|
|
@@ -302,7 +302,7 @@ import {
|
|
|
302
302
|
recordLiveLaneOwner,
|
|
303
303
|
removeWorktree,
|
|
304
304
|
resolveWorktreeBaseDir
|
|
305
|
-
} from "./index-
|
|
305
|
+
} from "./index-xr1bfzee.js";
|
|
306
306
|
import {
|
|
307
307
|
DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
|
|
308
308
|
DELEGATION_COMPACTION_HIGH_WATER_BYTES,
|
|
@@ -336,7 +336,7 @@ import {
|
|
|
336
336
|
scanBackgroundCoderReservationsForAdmission,
|
|
337
337
|
scanDelegationsForRecovery,
|
|
338
338
|
sweepStaleDelegations
|
|
339
|
-
} from "./index-
|
|
339
|
+
} from "./index-0tazb5m3.js";
|
|
340
340
|
import {
|
|
341
341
|
MAX_EVENT_LOG_ENTRIES,
|
|
342
342
|
_internals,
|
|
@@ -348,7 +348,7 @@ import {
|
|
|
348
348
|
recordHiveKnowledgeEvent,
|
|
349
349
|
recordKnowledgeEvent,
|
|
350
350
|
resolveKnowledgeEventsPath
|
|
351
|
-
} from "./index-
|
|
351
|
+
} from "./index-z55btbf2.js";
|
|
352
352
|
import {
|
|
353
353
|
commitDisplayedMembership,
|
|
354
354
|
commitEmptyRetrieval,
|
|
@@ -361,7 +361,7 @@ import {
|
|
|
361
361
|
queryLiveMemberships,
|
|
362
362
|
reconcilePhaseClose,
|
|
363
363
|
recordPhaseCloseIntent
|
|
364
|
-
} from "./index-
|
|
364
|
+
} from "./index-2262zz0m.js";
|
|
365
365
|
import {
|
|
366
366
|
sanitizeContextText
|
|
367
367
|
} from "./index-m9zzj4ee.js";
|
|
@@ -392,7 +392,7 @@ import {
|
|
|
392
392
|
validateActionableFields,
|
|
393
393
|
validateLesson,
|
|
394
394
|
validateSkillPath
|
|
395
|
-
} from "./index-
|
|
395
|
+
} from "./index-wh9h5vj1.js";
|
|
396
396
|
import {
|
|
397
397
|
MAX_CURATION_PROPOSALS,
|
|
398
398
|
authorizeCuration,
|
|
@@ -403,7 +403,7 @@ import {
|
|
|
403
403
|
} from "./index-rtry5xyf.js";
|
|
404
404
|
import {
|
|
405
405
|
resolveWorktreeIsolationConfig
|
|
406
|
-
} from "./index-
|
|
406
|
+
} from "./index-0rd6br4q.js";
|
|
407
407
|
import {
|
|
408
408
|
RetrospectiveEvidenceSchema
|
|
409
409
|
} from "./index-pkhbd2t5.js";
|
|
@@ -415,7 +415,7 @@ import {
|
|
|
415
415
|
clearScopeBindings,
|
|
416
416
|
readAuthoritativeScopeBindingSet,
|
|
417
417
|
readDeclaredScopeFilesFromBindings
|
|
418
|
-
} from "./index-
|
|
418
|
+
} from "./index-1dhbk164.js";
|
|
419
419
|
import {
|
|
420
420
|
clearPlanLedgerForReset,
|
|
421
421
|
computePlanStructureHash,
|
|
@@ -431,7 +431,7 @@ import {
|
|
|
431
431
|
replayFromLedgerWithStatus,
|
|
432
432
|
resolvePlanningProfile,
|
|
433
433
|
takeSnapshotEvent
|
|
434
|
-
} from "./index-
|
|
434
|
+
} from "./index-03syhrv4.js";
|
|
435
435
|
import {
|
|
436
436
|
CORE_EVENT_LOCKED,
|
|
437
437
|
appendCoreEventSync,
|
|
@@ -520,7 +520,7 @@ import {
|
|
|
520
520
|
transactFile,
|
|
521
521
|
transactKnowledge,
|
|
522
522
|
wordBigrams
|
|
523
|
-
} from "./index-
|
|
523
|
+
} from "./index-58pk41rj.js";
|
|
524
524
|
import {
|
|
525
525
|
readTailJsonl,
|
|
526
526
|
readTailJsonlDetailed,
|
|
@@ -601,7 +601,7 @@ import {
|
|
|
601
601
|
loadGateOverrides,
|
|
602
602
|
loadPluginConfig,
|
|
603
603
|
loadPluginConfigWithMeta
|
|
604
|
-
} from "./index-
|
|
604
|
+
} from "./index-m1v2qd3z.js";
|
|
605
605
|
import {
|
|
606
606
|
addDeferredWarning,
|
|
607
607
|
advisoryWarn,
|
|
@@ -633,7 +633,7 @@ import {
|
|
|
633
633
|
resolveContextWindow,
|
|
634
634
|
resolveGeneratedAgentRole,
|
|
635
635
|
stripKnownSwarmPrefix
|
|
636
|
-
} from "./index-
|
|
636
|
+
} from "./index-c562pan0.js";
|
|
637
637
|
import {
|
|
638
638
|
AGENT_TOOL_MAP,
|
|
639
639
|
ALL_AGENT_NAMES,
|
|
@@ -3422,7 +3422,7 @@ async function importLegacyPrWorkflowGateStateIfNeeded(directory, sessionID, all
|
|
|
3422
3422
|
return null;
|
|
3423
3423
|
throw error2;
|
|
3424
3424
|
}
|
|
3425
|
-
const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-
|
|
3425
|
+
const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-a17sdc22.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
|
|
3426
3426
|
if (!legacy)
|
|
3427
3427
|
return null;
|
|
3428
3428
|
const namespace = workflowGateStateCoordinationNamespace(sessionID);
|
|
@@ -3509,7 +3509,7 @@ async function deleteStateWhileLocked(directory, sessionID, options = {}) {
|
|
|
3509
3509
|
let recoveryState = null;
|
|
3510
3510
|
if (!currentAuthoritative) {
|
|
3511
3511
|
if (options.allowSalvagedRead) {
|
|
3512
|
-
const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-
|
|
3512
|
+
const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-a17sdc22.js");
|
|
3513
3513
|
recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
|
|
3514
3514
|
}
|
|
3515
3515
|
if (!recoveryState) {
|
|
@@ -15082,7 +15082,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
|
|
|
15082
15082
|
return extracted === expectedSessionId;
|
|
15083
15083
|
}
|
|
15084
15084
|
async function inspectStandardWorktreeCollisionOwnership(identity) {
|
|
15085
|
-
const collisionOwnership = await import("./worktree-collision-ownership-
|
|
15085
|
+
const collisionOwnership = await import("./worktree-collision-ownership-p7g40dpp.js");
|
|
15086
15086
|
return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
|
|
15087
15087
|
}
|
|
15088
15088
|
async function runRecoveryGit(directory, args, timeoutMs = 15000) {
|
|
@@ -15508,7 +15508,7 @@ async function precreateStandardWorktreeSession(args) {
|
|
|
15508
15508
|
const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
|
|
15509
15509
|
if (laneProfile) {
|
|
15510
15510
|
try {
|
|
15511
|
-
const { writeLaneProfileToDiskReal } = await import("./core-
|
|
15511
|
+
const { writeLaneProfileToDiskReal } = await import("./core-eyzqvwpk.js");
|
|
15512
15512
|
await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
|
|
15513
15513
|
} catch {}
|
|
15514
15514
|
}
|
|
@@ -16487,7 +16487,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
|
|
|
16487
16487
|
}
|
|
16488
16488
|
clearWorktreeMergeStatus(statusKey);
|
|
16489
16489
|
try {
|
|
16490
|
-
const { removeLaneProfileFromDiskReal } = await import("./core-
|
|
16490
|
+
const { removeLaneProfileFromDiskReal } = await import("./core-eyzqvwpk.js");
|
|
16491
16491
|
await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
|
|
16492
16492
|
} catch {}
|
|
16493
16493
|
const state = serializationStateBySessionID.get(dispatch.parentSessionID);
|
|
@@ -24125,7 +24125,7 @@ function clearCriticalShownIds(sessionID) {
|
|
|
24125
24125
|
async function rehydratePrSubscriptions(sessionID, directory) {
|
|
24126
24126
|
const map = new Map;
|
|
24127
24127
|
try {
|
|
24128
|
-
const { listActive: listActive2 } = await import("./pr-subscriptions-
|
|
24128
|
+
const { listActive: listActive2 } = await import("./pr-subscriptions-c35gt902.js");
|
|
24129
24129
|
const records = await listActive2(directory);
|
|
24130
24130
|
for (const record of records) {
|
|
24131
24131
|
if (record.sessionID !== sessionID)
|
|
@@ -40672,9 +40672,9 @@ function hashContent(content) {
|
|
|
40672
40672
|
return createHash27("sha1").update(content).digest("hex");
|
|
40673
40673
|
}
|
|
40674
40674
|
async function loadConfigForPolicyCurator(directory) {
|
|
40675
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
40675
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-dn0247wt.js");
|
|
40676
40676
|
try {
|
|
40677
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
40677
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-6xppxtfc.js");
|
|
40678
40678
|
const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
|
|
40679
40679
|
return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
|
|
40680
40680
|
} catch {
|
|
@@ -43732,7 +43732,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
|
|
|
43732
43732
|
const seam = _internals38.createCuratorLLMDelegate;
|
|
43733
43733
|
if (seam)
|
|
43734
43734
|
return seam(directory, mode, sessionId);
|
|
43735
|
-
const { createCuratorLLMDelegate } = await import("./curator-llm-factory-
|
|
43735
|
+
const { createCuratorLLMDelegate } = await import("./curator-llm-factory-3b0jvvkd.js");
|
|
43736
43736
|
return createCuratorLLMDelegate(directory, mode, sessionId);
|
|
43737
43737
|
}
|
|
43738
43738
|
async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
|
|
@@ -44127,7 +44127,7 @@ async function runFinalizeStage(ctx) {
|
|
|
44127
44127
|
}
|
|
44128
44128
|
}
|
|
44129
44129
|
try {
|
|
44130
|
-
const { CuratorConfigSchema: CCS } = await import("./schema-
|
|
44130
|
+
const { CuratorConfigSchema: CCS } = await import("./schema-dn0247wt.js");
|
|
44131
44131
|
const { config: pmLoadedConfig } = _internals38.loadPluginConfigWithMeta(ctx.directory);
|
|
44132
44132
|
const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
|
|
44133
44133
|
if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
|
|
@@ -46364,7 +46364,7 @@ function serializeAgentSession(s) {
|
|
|
46364
46364
|
}
|
|
46365
46365
|
async function writeSnapshot(directory, state) {
|
|
46366
46366
|
try {
|
|
46367
|
-
const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-
|
|
46367
|
+
const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-f2dsrgvy.js");
|
|
46368
46368
|
await ensureSnapshotCoordinationReady(directory);
|
|
46369
46369
|
const snapshot = {
|
|
46370
46370
|
version: 3,
|
|
@@ -49374,7 +49374,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
|
|
|
49374
49374
|
};
|
|
49375
49375
|
}
|
|
49376
49376
|
async function sweepActiveNearDuplicates(directory, options = {}) {
|
|
49377
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
49377
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-6xppxtfc.js");
|
|
49378
49378
|
const { config } = loadPluginConfigWithMeta2(directory);
|
|
49379
49379
|
const sweepConfig = config.learning?.dedup_sweep;
|
|
49380
49380
|
if (sweepConfig?.enabled === false)
|
|
@@ -50498,7 +50498,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
|
|
|
50498
50498
|
}
|
|
50499
50499
|
if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
|
|
50500
50500
|
try {
|
|
50501
|
-
const skillModule = await import("./skill-generator-
|
|
50501
|
+
const skillModule = await import("./skill-generator-yr4dc37y.js");
|
|
50502
50502
|
for (const cand of skillCandidates) {
|
|
50503
50503
|
if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
|
|
50504
50504
|
continue;
|
|
@@ -50970,7 +50970,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
|
|
|
50970
50970
|
} catch {}
|
|
50971
50971
|
}
|
|
50972
50972
|
if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
|
|
50973
|
-
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-
|
|
50973
|
+
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-1hk1sxaj.js");
|
|
50974
50974
|
for (const { id } of contradictedEntries) {
|
|
50975
50975
|
try {
|
|
50976
50976
|
await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
|
|
@@ -51802,7 +51802,7 @@ async function runCuratorPostMortem(directory, options = {}) {
|
|
|
51802
51802
|
warnings.push("Failed to collect knowledge summary.");
|
|
51803
51803
|
}
|
|
51804
51804
|
try {
|
|
51805
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
51805
|
+
const { getScanStatus } = await import("./scan-cursor-a9y3qfj0.js");
|
|
51806
51806
|
const scanStatus = await getScanStatus(directory);
|
|
51807
51807
|
if (scanStatus.remaining_estimate > 0) {
|
|
51808
51808
|
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.`);
|
|
@@ -51974,9 +51974,9 @@ var _internals56 = {
|
|
|
51974
51974
|
verifyPostMortemKnowledgeActions,
|
|
51975
51975
|
repairPostMortemActions,
|
|
51976
51976
|
loadDefaultKnowledgeConfig: async (directory) => {
|
|
51977
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
51977
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-dn0247wt.js");
|
|
51978
51978
|
try {
|
|
51979
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
51979
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-6xppxtfc.js");
|
|
51980
51980
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
51981
51981
|
return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
51982
51982
|
} catch {
|
|
@@ -51984,11 +51984,11 @@ var _internals56 = {
|
|
|
51984
51984
|
}
|
|
51985
51985
|
},
|
|
51986
51986
|
applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
|
|
51987
|
-
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-
|
|
51987
|
+
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-q6f0e79e.js");
|
|
51988
51988
|
return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
|
|
51989
51989
|
},
|
|
51990
51990
|
checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
|
|
51991
|
-
const { checkHivePromotions } = await import("./hive-promoter-
|
|
51991
|
+
const { checkHivePromotions } = await import("./hive-promoter-z8r9xc9r.js");
|
|
51992
51992
|
return checkHivePromotions(entries2, knowledgeConfig, directory);
|
|
51993
51993
|
},
|
|
51994
51994
|
applyProposalTriage: async (directory, triage) => {
|
|
@@ -51997,7 +51997,7 @@ var _internals56 = {
|
|
|
51997
51997
|
activateProposal,
|
|
51998
51998
|
listSkills: listSkills2,
|
|
51999
51999
|
sanitizeSlug
|
|
52000
|
-
} = await import("./skill-generator-
|
|
52000
|
+
} = await import("./skill-generator-yr4dc37y.js");
|
|
52001
52001
|
const result = {
|
|
52002
52002
|
approved: [],
|
|
52003
52003
|
rejected: [],
|
|
@@ -52039,7 +52039,7 @@ var _internals56 = {
|
|
|
52039
52039
|
return result;
|
|
52040
52040
|
},
|
|
52041
52041
|
readPriorDriftReports: async (directory) => {
|
|
52042
|
-
const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-
|
|
52042
|
+
const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-wyt8jf7r.js");
|
|
52043
52043
|
return readPriorDriftReports2(directory);
|
|
52044
52044
|
},
|
|
52045
52045
|
readSwarmKnowledge: (directory) => readKnowledge(resolveSwarmKnowledgePath(directory))
|
|
@@ -61842,9 +61842,9 @@ var _internals66 = {
|
|
|
61842
61842
|
loadPluginConfigWithMeta,
|
|
61843
61843
|
loadCuratorDeps: async () => {
|
|
61844
61844
|
const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
|
|
61845
|
-
import("./schema-
|
|
61846
|
-
import("./curator-
|
|
61847
|
-
import("./curator-llm-factory-
|
|
61845
|
+
import("./schema-dn0247wt.js"),
|
|
61846
|
+
import("./curator-q6f0e79e.js"),
|
|
61847
|
+
import("./curator-llm-factory-3b0jvvkd.js")
|
|
61848
61848
|
]);
|
|
61849
61849
|
return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
|
|
61850
61850
|
}
|
|
@@ -64282,7 +64282,7 @@ async function computeCurationDiagnostics(directory, entries2) {
|
|
|
64282
64282
|
let scanCompleted = false;
|
|
64283
64283
|
let scanRemaining = 0;
|
|
64284
64284
|
try {
|
|
64285
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
64285
|
+
const { getScanStatus } = await import("./scan-cursor-a9y3qfj0.js");
|
|
64286
64286
|
const status = await getScanStatus(directory);
|
|
64287
64287
|
scanGeneration = status.generation;
|
|
64288
64288
|
scanCompleted = status.completed;
|
|
@@ -64292,10 +64292,10 @@ async function computeCurationDiagnostics(directory, entries2) {
|
|
|
64292
64292
|
try {
|
|
64293
64293
|
const { isLinked: isLinked2 } = await import("./knowledge-link-h4pdcnya.js");
|
|
64294
64294
|
if (isLinked2(directory)) {
|
|
64295
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
64295
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-dn0247wt.js");
|
|
64296
64296
|
let config;
|
|
64297
64297
|
try {
|
|
64298
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
64298
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-6xppxtfc.js");
|
|
64299
64299
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
64300
64300
|
config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
64301
64301
|
} catch {
|
|
@@ -65751,7 +65751,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
65751
65751
|
const result = runConfigDoctor(config, directory, planParallelizationEnabled);
|
|
65752
65752
|
let output;
|
|
65753
65753
|
if (enableAutoFix && result.hasAutoFixableIssues) {
|
|
65754
|
-
const { runConfigDoctorWithFixes } = await import("./config-doctor-
|
|
65754
|
+
const { runConfigDoctorWithFixes } = await import("./config-doctor-jd5yckkb.js");
|
|
65755
65755
|
const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
|
|
65756
65756
|
applyLossy: true
|
|
65757
65757
|
});
|
|
@@ -65789,7 +65789,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
65789
65789
|
`;
|
|
65790
65790
|
}
|
|
65791
65791
|
try {
|
|
65792
|
-
const { runModelPreflight } = await import("./model-preflight-
|
|
65792
|
+
const { runModelPreflight } = await import("./model-preflight-b9mbnymf.js");
|
|
65793
65793
|
const preflight = await runModelPreflight(config, swarmState.opencodeClient, { generatedAgentNames: swarmState.generatedAgentNames });
|
|
65794
65794
|
const missingSelection = preflight.resolutions.filter((resolution) => resolution.status === "missing-selection");
|
|
65795
65795
|
const unresolved = preflight.catalogAvailable ? preflight.resolutions.filter((resolution) => resolution.status === "unresolved") : [];
|
|
@@ -65823,7 +65823,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
65823
65823
|
}
|
|
65824
65824
|
} catch {}
|
|
65825
65825
|
try {
|
|
65826
|
-
const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-
|
|
65826
|
+
const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-19qdy72k.js");
|
|
65827
65827
|
output += await renderKnowledgeReceiptPhaseIdSection(directory, enableAutoFix);
|
|
65828
65828
|
} catch {}
|
|
65829
65829
|
const strayDirs = detectStraySwarmDirs(directory);
|
|
@@ -66720,7 +66720,7 @@ async function handleEvidenceCommand(directory, args) {
|
|
|
66720
66720
|
return formatTaskEvidenceMarkdown(evidenceData);
|
|
66721
66721
|
}
|
|
66722
66722
|
async function handleEvidenceSummaryCommand(directory) {
|
|
66723
|
-
const { buildEvidenceSummary } = await import("./evidence-summary-service-
|
|
66723
|
+
const { buildEvidenceSummary } = await import("./evidence-summary-service-k5ztgaca.js");
|
|
66724
66724
|
const artifact = await buildEvidenceSummary(directory);
|
|
66725
66725
|
if (!artifact) {
|
|
66726
66726
|
return "No plan found. Run `/swarm plan` to check plan status.";
|
|
@@ -91167,7 +91167,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
|
|
|
91167
91167
|
}
|
|
91168
91168
|
const sdkOpts = signal ? { signal } : {};
|
|
91169
91169
|
try {
|
|
91170
|
-
const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-
|
|
91170
|
+
const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-bgv93ngx.js");
|
|
91171
91171
|
const createResult = await client.session.create({
|
|
91172
91172
|
...sessionId ? {
|
|
91173
91173
|
body: {
|
|
@@ -93504,7 +93504,7 @@ async function cancelPrFeedbackLoopUnlocked(directory, sessionID, reason) {
|
|
|
93504
93504
|
clearedEvents: []
|
|
93505
93505
|
};
|
|
93506
93506
|
try {
|
|
93507
|
-
const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-
|
|
93507
|
+
const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-a17sdc22.js");
|
|
93508
93508
|
await cancelPrFeedbackPublication2(directory, sessionID, reason);
|
|
93509
93509
|
} catch (err) {
|
|
93510
93510
|
warn(`[pr-feedback-loop] cancelPrFeedbackPublication failed (fail-open): ${err instanceof Error ? err.message : String(err)}`);
|
|
@@ -109898,7 +109898,7 @@ function buildDetailedHelp(commandName, entry) {
|
|
|
109898
109898
|
async function handleHelpCommand(ctx) {
|
|
109899
109899
|
const targetCommand = ctx.args.join(" ");
|
|
109900
109900
|
if (!targetCommand) {
|
|
109901
|
-
const { buildHelpText } = await import("./index-
|
|
109901
|
+
const { buildHelpText } = await import("./index-5kcjrkme.js");
|
|
109902
109902
|
return buildHelpText();
|
|
109903
109903
|
}
|
|
109904
109904
|
const tokens = targetCommand.split(/\s+/);
|
|
@@ -109912,7 +109912,7 @@ async function handleHelpCommand(ctx) {
|
|
|
109912
109912
|
> Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
|
|
109913
109913
|
}
|
|
109914
109914
|
const similar = _internals27.findSimilarCommands(targetCommand);
|
|
109915
|
-
const { buildHelpText: fullHelp } = await import("./index-
|
|
109915
|
+
const { buildHelpText: fullHelp } = await import("./index-5kcjrkme.js");
|
|
109916
109916
|
if (similar.length > 0) {
|
|
109917
109917
|
return `Command '/swarm ${targetCommand}' not found.
|
|
109918
109918
|
|
|
@@ -110240,7 +110240,7 @@ var COMMAND_REGISTRY = {
|
|
|
110240
110240
|
},
|
|
110241
110241
|
"guardrail explain": {
|
|
110242
110242
|
handler: async (ctx) => {
|
|
110243
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
110243
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-ewgj1gyw.js");
|
|
110244
110244
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
110245
110245
|
},
|
|
110246
110246
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -110250,7 +110250,7 @@ var COMMAND_REGISTRY = {
|
|
|
110250
110250
|
},
|
|
110251
110251
|
"guardrail reset": {
|
|
110252
110252
|
handler: async (ctx) => {
|
|
110253
|
-
const { handleGuardrailReset } = await import("./guardrail-reset-
|
|
110253
|
+
const { handleGuardrailReset } = await import("./guardrail-reset-qycc0pns.js");
|
|
110254
110254
|
return handleGuardrailReset(ctx.args, ctx.sessionID);
|
|
110255
110255
|
},
|
|
110256
110256
|
description: "Reset one exact active invocation/action circuit after repair",
|
|
@@ -110271,7 +110271,7 @@ var COMMAND_REGISTRY = {
|
|
|
110271
110271
|
},
|
|
110272
110272
|
"guardrail-log": {
|
|
110273
110273
|
handler: async (ctx) => {
|
|
110274
|
-
const { handleGuardrailLog } = await import("./guardrail-log-
|
|
110274
|
+
const { handleGuardrailLog } = await import("./guardrail-log-vp628cge.js");
|
|
110275
110275
|
return handleGuardrailLog(ctx.directory, ctx.args);
|
|
110276
110276
|
},
|
|
110277
110277
|
description: "Read the guardrail decision log (use --blocks-only for blocks)",
|
|
@@ -242,7 +242,7 @@ var _internals2 = {
|
|
|
242
242
|
symlinkSync: fs2.symlinkSync
|
|
243
243
|
},
|
|
244
244
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
245
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
245
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-v62cew31.js");
|
|
246
246
|
return realWrite(directory, taskId, files);
|
|
247
247
|
},
|
|
248
248
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
queryHistoricalOutcomes
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-2262zz0m.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveHiveEventsPath
|
|
7
7
|
} from "./index-ae75rja9.js";
|
|
@@ -708,7 +708,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
708
708
|
}
|
|
709
709
|
let bumps = 0;
|
|
710
710
|
if (deltas.length > 0) {
|
|
711
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
711
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-xr64wqmj.js");
|
|
712
712
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
713
713
|
}
|
|
714
714
|
return {
|