opencode-swarm 7.188.6 → 7.188.7
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-q2xwy0hz.js → auto-checkpoint-1z9d2jrk.js} +4 -4
- package/dist/cli/{checkpoint-9cbytsxe.js → checkpoint-f8165pv4.js} +8 -8
- package/dist/cli/{coder-settlement-a74xcmtn.js → coder-settlement-gaby6spt.js} +3 -3
- package/dist/cli/{config-doctor-jec44ph0.js → config-doctor-4wgw6nak.js} +7 -7
- package/dist/cli/{core-yvx60mhw.js → core-y89texpp.js} +1 -1
- package/dist/cli/{curator-drift-t95vqagz.js → curator-drift-rpwrx355.js} +5 -5
- package/dist/cli/{curator-llm-factory-znjp0g9d.js → curator-llm-factory-1qbcj7vs.js} +25 -25
- package/dist/cli/{curator-wr25srz6.js → curator-tkz65fvw.js} +25 -25
- package/dist/cli/{doctor-knowledge-receipt-phase-id-hxyxqqya.js → doctor-knowledge-receipt-phase-id-11q7en6t.js} +4 -4
- package/dist/cli/{evidence-summary-service-pzr0aw1h.js → evidence-summary-service-hn7vdm45.js} +9 -9
- package/dist/cli/{gate-evidence-0dwbqya4.js → gate-evidence-sxh3r64f.js} +2 -2
- package/dist/cli/{guardrail-explain-etssbwma.js → guardrail-explain-e0wbeyk1.js} +26 -26
- package/dist/cli/{guardrail-log-055340sb.js → guardrail-log-gzrj46h0.js} +3 -3
- package/dist/cli/{guardrail-reset-zdnshfqh.js → guardrail-reset-7z62s1j5.js} +25 -25
- package/dist/cli/{hive-promoter-nphztsfb.js → hive-promoter-88d95wk8.js} +25 -25
- package/dist/cli/{index-fce5drxa.js → index-03ad14qc.js} +2 -2
- package/dist/cli/{index-1pfga0cy.js → index-0j5ggeem.js} +1 -1
- package/dist/cli/{index-6yb7fhah.js → index-2vtrjm19.js} +27 -27
- package/dist/cli/{index-0bf26e0h.js → index-2wctq2hn.js} +1 -1
- package/dist/cli/{index-99h4ez5x.js → index-5102w44y.js} +2 -2
- package/dist/cli/{index-16f28gya.js → index-61kszszd.js} +2 -2
- package/dist/cli/{index-g1avjt26.js → index-7eajwwfg.js} +1 -1
- package/dist/cli/{index-jy33tgeb.js → index-7k9hdn0b.js} +1 -1
- package/dist/cli/{index-71b12k03.js → index-7zyktm9f.js} +5 -5
- package/dist/cli/{index-0gdyd1mx.js → index-8sqyx5rh.js} +1 -1
- package/dist/cli/{index-6p6m98bb.js → index-9tes309n.js} +1 -1
- package/dist/cli/{index-aq962xjf.js → index-a4s5yrdd.js} +3 -3
- package/dist/cli/{index-yn5r962a.js → index-c016phsk.js} +4 -4
- package/dist/cli/{index-hshx5znv.js → index-c937rpbm.js} +3 -3
- package/dist/cli/{index-35ythzj4.js → index-eh0sg1pz.js} +3 -3
- package/dist/cli/{index-qkhssaay.js → index-emh69vk9.js} +61 -61
- package/dist/cli/{index-akg9rdt1.js → index-ffmw6af9.js} +25 -25
- package/dist/cli/{index-9c2t70wh.js → index-g39cmzpj.js} +599 -3
- package/dist/cli/{index-1r5k2b4v.js → index-ghjg1rxe.js} +1 -1
- package/dist/cli/{index-mv2ptr24.js → index-kap459mr.js} +2 -2
- package/dist/cli/{index-xhgq58e1.js → index-m9g7s9ee.js} +1 -1
- package/dist/cli/{index-s0r30djy.js → index-pnfd3s7s.js} +1 -1
- package/dist/cli/{index-jp7qd7r4.js → index-rw0c6qtt.js} +3 -3
- package/dist/cli/{index-15836xvt.js → index-snwj9ptc.js} +1 -1
- package/dist/cli/{index-sqkz9hyj.js → index-xj3k6x1h.js} +1 -1
- package/dist/cli/{index-1cz2j033.js → index-xsdphmet.js} +6 -6
- package/dist/cli/{index-9bdz8cbx.js → index-y3sk68m5.js} +1 -1
- package/dist/cli/{index-06c2j365.js → index-y8z9x87e.js} +1 -1
- package/dist/cli/{index-2sc36smx.js → index-yj1cwps4.js} +1 -1
- package/dist/cli/{index-46zge5zc.js → index-ytms8x1h.js} +2 -2
- package/dist/cli/index.js +26 -26
- package/dist/cli/{knowledge-escalator-h4wqey95.js → knowledge-escalator-ejfb2e7c.js} +7 -7
- package/dist/cli/{knowledge-events-jdj0kg0x.js → knowledge-events-3fzfehwy.js} +5 -5
- package/dist/cli/{knowledge-store-9pkka657.js → knowledge-store-swxk4tr6.js} +1 -1
- package/dist/cli/{knowledge-validator-2hh4838s.js → knowledge-validator-0a1at9gm.js} +2 -2
- package/dist/cli/{mcp-dr2qg42d.js → mcp-0ah7s1j0.js} +1 -1
- package/dist/cli/{model-preflight-t6megn5m.js → model-preflight-nfvapzyj.js} +25 -25
- package/dist/cli/{pending-delegations-96j63y3v.js → pending-delegations-hynywgkj.js} +2 -2
- package/dist/cli/{pr-subscriptions-qrc475pd.js → pr-subscriptions-k86p5qcn.js} +1 -1
- package/dist/cli/{pr-workflow-gate-1hf06vw7.js → pr-workflow-gate-3ett6hjh.js} +25 -25
- package/dist/cli/{scan-cursor-wfa7239s.js → scan-cursor-9961dhv1.js} +2 -2
- package/dist/cli/{schema-v3z4wgje.js → schema-s5zbnzmv.js} +1 -1
- package/dist/cli/{scope-persistence-k2zq1h9h.js → scope-persistence-2w562h83.js} +5 -5
- package/dist/cli/{server-qk8e60ah.js → server-vrk0k61v.js} +25 -25
- package/dist/cli/{skill-generator-q6jzjcer.js → skill-generator-bfcjzp20.js} +8 -8
- package/dist/cli/{snapshot-coordination-init-h8cqcmve.js → snapshot-coordination-init-8ykpp5m6.js} +25 -25
- package/dist/cli/{speckit-checkoff-mh45c204.js → speckit-checkoff-3x52vw64.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-hm5y77hr.js → worktree-collision-ownership-kjw1pqfc.js} +2 -2
- package/dist/cli/{worktree-isolation-tdst4qs1.js → worktree-isolation-xdgm4ekx.js} +25 -25
- package/dist/config/consumers.d.ts +35 -0
- package/dist/index.js +5 -5
- package/package.json +1 -1
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
protectedRoots,
|
|
9
9
|
redactDecisionLineForArchive,
|
|
10
10
|
stableCanonicalStringify
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-7k9hdn0b.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-g39cmzpj.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-y8z9x87e.js";
|
|
31
31
|
import {
|
|
32
32
|
JAVA_SYMBOL_GRAMMAR,
|
|
33
33
|
LANGUAGE_REGISTRY,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
alreadyCuratedThisGeneration,
|
|
82
82
|
claimNextScanBatch,
|
|
83
83
|
resolveCohortId
|
|
84
|
-
} from "./index-
|
|
84
|
+
} from "./index-snwj9ptc.js";
|
|
85
85
|
import {
|
|
86
86
|
CURATOR_CONSOLIDATION_PROMPT,
|
|
87
87
|
CURATOR_INIT_PROMPT,
|
|
@@ -100,13 +100,13 @@ import {
|
|
|
100
100
|
getGroupCommitWriter,
|
|
101
101
|
importLegacyJsonl,
|
|
102
102
|
readPriorDriftReports
|
|
103
|
-
} from "./index-
|
|
103
|
+
} from "./index-pnfd3s7s.js";
|
|
104
104
|
import {
|
|
105
105
|
assertNoUnsettledCoderDispatch,
|
|
106
106
|
listCoderSettlementWalStates,
|
|
107
107
|
recoverCoderSettlement,
|
|
108
108
|
recoverStaleCoderSettlements
|
|
109
|
-
} from "./index-
|
|
109
|
+
} from "./index-rw0c6qtt.js";
|
|
110
110
|
import {
|
|
111
111
|
BUNDLED_PROJECT_SKILL_ROOT,
|
|
112
112
|
DEFAULT_SKILL_MIN_CONFIDENCE,
|
|
@@ -127,11 +127,11 @@ import {
|
|
|
127
127
|
retireSkill,
|
|
128
128
|
selectCandidateEntries,
|
|
129
129
|
syncBundledProjectSkillsIfMissingAsync
|
|
130
|
-
} from "./index-
|
|
130
|
+
} from "./index-c937rpbm.js";
|
|
131
131
|
import {
|
|
132
132
|
buildEscalationBriefing,
|
|
133
133
|
readRecentEscalations
|
|
134
|
-
} from "./index-
|
|
134
|
+
} from "./index-xsdphmet.js";
|
|
135
135
|
import {
|
|
136
136
|
parsePorcelainV2Snapshot,
|
|
137
137
|
resolveCommitCountSince,
|
|
@@ -211,7 +211,7 @@ import {
|
|
|
211
211
|
resolveWorkingDirectory,
|
|
212
212
|
swarmOverwriteCandidates,
|
|
213
213
|
trackedDirtyCandidates
|
|
214
|
-
} from "./index-
|
|
214
|
+
} from "./index-a4s5yrdd.js";
|
|
215
215
|
import {
|
|
216
216
|
MAX_TRANSIENT_RETRIES,
|
|
217
217
|
PlanRecoverySupersededError,
|
|
@@ -238,7 +238,7 @@ import {
|
|
|
238
238
|
transientBackoff,
|
|
239
239
|
updateTaskStatus,
|
|
240
240
|
withPlanLifecycleLock
|
|
241
|
-
} from "./index-
|
|
241
|
+
} from "./index-7zyktm9f.js";
|
|
242
242
|
import {
|
|
243
243
|
containsControlChars,
|
|
244
244
|
containsPathTraversal,
|
|
@@ -254,7 +254,7 @@ import {
|
|
|
254
254
|
resolveSpeckitProjection,
|
|
255
255
|
validateSpeckit,
|
|
256
256
|
writeProjectedSpecSync
|
|
257
|
-
} from "./index-
|
|
257
|
+
} from "./index-2wctq2hn.js";
|
|
258
258
|
import {
|
|
259
259
|
clearWorktreeMergeStatus,
|
|
260
260
|
getAllWorktreeMergeFailures,
|
|
@@ -285,7 +285,7 @@ import {
|
|
|
285
285
|
transitionTaskWorkflowEvidenceWithStatus,
|
|
286
286
|
withTaskEvidenceTransaction,
|
|
287
287
|
writeWorkflowWalFile
|
|
288
|
-
} from "./index-
|
|
288
|
+
} from "./index-8sqyx5rh.js";
|
|
289
289
|
import {
|
|
290
290
|
isPathUnderSwarmWorktreeBase,
|
|
291
291
|
listLiveLaneOwners,
|
|
@@ -294,7 +294,7 @@ import {
|
|
|
294
294
|
recordLiveLaneOwner,
|
|
295
295
|
removeWorktree,
|
|
296
296
|
resolveWorktreeBaseDir
|
|
297
|
-
} from "./index-
|
|
297
|
+
} from "./index-xj3k6x1h.js";
|
|
298
298
|
import {
|
|
299
299
|
DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
|
|
300
300
|
DELEGATION_COMPACTION_HIGH_WATER_BYTES,
|
|
@@ -328,7 +328,7 @@ import {
|
|
|
328
328
|
scanBackgroundCoderReservationsForAdmission,
|
|
329
329
|
scanDelegationsForRecovery,
|
|
330
330
|
sweepStaleDelegations
|
|
331
|
-
} from "./index-
|
|
331
|
+
} from "./index-7eajwwfg.js";
|
|
332
332
|
import {
|
|
333
333
|
MAX_EVENT_LOG_ENTRIES,
|
|
334
334
|
_internals,
|
|
@@ -340,7 +340,7 @@ import {
|
|
|
340
340
|
recordHiveKnowledgeEvent,
|
|
341
341
|
recordKnowledgeEvent,
|
|
342
342
|
resolveKnowledgeEventsPath
|
|
343
|
-
} from "./index-
|
|
343
|
+
} from "./index-kap459mr.js";
|
|
344
344
|
import {
|
|
345
345
|
commitDisplayedMembership,
|
|
346
346
|
commitEmptyRetrieval,
|
|
@@ -353,7 +353,7 @@ import {
|
|
|
353
353
|
queryLiveMemberships,
|
|
354
354
|
reconcilePhaseClose,
|
|
355
355
|
recordPhaseCloseIntent
|
|
356
|
-
} from "./index-
|
|
356
|
+
} from "./index-61kszszd.js";
|
|
357
357
|
import {
|
|
358
358
|
sanitizeContextText
|
|
359
359
|
} from "./index-m9zzj4ee.js";
|
|
@@ -384,7 +384,7 @@ import {
|
|
|
384
384
|
validateActionableFields,
|
|
385
385
|
validateLesson,
|
|
386
386
|
validateSkillPath
|
|
387
|
-
} from "./index-
|
|
387
|
+
} from "./index-m9g7s9ee.js";
|
|
388
388
|
import {
|
|
389
389
|
MAX_CURATION_PROPOSALS,
|
|
390
390
|
authorizeCuration,
|
|
@@ -395,7 +395,7 @@ import {
|
|
|
395
395
|
} from "./index-rtry5xyf.js";
|
|
396
396
|
import {
|
|
397
397
|
resolveWorktreeIsolationConfig
|
|
398
|
-
} from "./index-
|
|
398
|
+
} from "./index-5102w44y.js";
|
|
399
399
|
import {
|
|
400
400
|
RetrospectiveEvidenceSchema
|
|
401
401
|
} from "./index-kbkk7vnh.js";
|
|
@@ -407,7 +407,7 @@ import {
|
|
|
407
407
|
clearScopeBindings,
|
|
408
408
|
readAuthoritativeScopeBindingSet,
|
|
409
409
|
readDeclaredScopeFilesFromBindings
|
|
410
|
-
} from "./index-
|
|
410
|
+
} from "./index-y3sk68m5.js";
|
|
411
411
|
import {
|
|
412
412
|
clearPlanLedgerForReset,
|
|
413
413
|
computePlanStructureHash,
|
|
@@ -423,7 +423,7 @@ import {
|
|
|
423
423
|
replayFromLedgerWithStatus,
|
|
424
424
|
resolvePlanningProfile,
|
|
425
425
|
takeSnapshotEvent
|
|
426
|
-
} from "./index-
|
|
426
|
+
} from "./index-ytms8x1h.js";
|
|
427
427
|
import {
|
|
428
428
|
CORE_EVENT_LOCKED,
|
|
429
429
|
appendCoreEventSync,
|
|
@@ -512,7 +512,7 @@ import {
|
|
|
512
512
|
transactFile,
|
|
513
513
|
transactKnowledge,
|
|
514
514
|
wordBigrams
|
|
515
|
-
} from "./index-
|
|
515
|
+
} from "./index-c016phsk.js";
|
|
516
516
|
import {
|
|
517
517
|
readTailJsonl,
|
|
518
518
|
readTailJsonlDetailed,
|
|
@@ -593,7 +593,7 @@ import {
|
|
|
593
593
|
loadGateOverrides,
|
|
594
594
|
loadPluginConfig,
|
|
595
595
|
loadPluginConfigWithMeta
|
|
596
|
-
} from "./index-
|
|
596
|
+
} from "./index-9tes309n.js";
|
|
597
597
|
import {
|
|
598
598
|
addDeferredWarning,
|
|
599
599
|
advisoryWarn,
|
|
@@ -625,7 +625,7 @@ import {
|
|
|
625
625
|
resolveContextWindow,
|
|
626
626
|
resolveGeneratedAgentRole,
|
|
627
627
|
stripKnownSwarmPrefix
|
|
628
|
-
} from "./index-
|
|
628
|
+
} from "./index-ghjg1rxe.js";
|
|
629
629
|
import {
|
|
630
630
|
AGENT_TOOL_MAP,
|
|
631
631
|
ALL_AGENT_NAMES,
|
|
@@ -3414,7 +3414,7 @@ async function importLegacyPrWorkflowGateStateIfNeeded(directory, sessionID, all
|
|
|
3414
3414
|
return null;
|
|
3415
3415
|
throw error2;
|
|
3416
3416
|
}
|
|
3417
|
-
const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-
|
|
3417
|
+
const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-3ett6hjh.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
|
|
3418
3418
|
if (!legacy)
|
|
3419
3419
|
return null;
|
|
3420
3420
|
const namespace = workflowGateStateCoordinationNamespace(sessionID);
|
|
@@ -3501,7 +3501,7 @@ async function deleteStateWhileLocked(directory, sessionID, options = {}) {
|
|
|
3501
3501
|
let recoveryState = null;
|
|
3502
3502
|
if (!currentAuthoritative) {
|
|
3503
3503
|
if (options.allowSalvagedRead) {
|
|
3504
|
-
const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-
|
|
3504
|
+
const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-3ett6hjh.js");
|
|
3505
3505
|
recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
|
|
3506
3506
|
}
|
|
3507
3507
|
if (!recoveryState) {
|
|
@@ -15074,7 +15074,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
|
|
|
15074
15074
|
return extracted === expectedSessionId;
|
|
15075
15075
|
}
|
|
15076
15076
|
async function inspectStandardWorktreeCollisionOwnership(identity) {
|
|
15077
|
-
const collisionOwnership = await import("./worktree-collision-ownership-
|
|
15077
|
+
const collisionOwnership = await import("./worktree-collision-ownership-kjw1pqfc.js");
|
|
15078
15078
|
return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
|
|
15079
15079
|
}
|
|
15080
15080
|
async function runRecoveryGit(directory, args, timeoutMs = 15000) {
|
|
@@ -15500,7 +15500,7 @@ async function precreateStandardWorktreeSession(args) {
|
|
|
15500
15500
|
const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
|
|
15501
15501
|
if (laneProfile) {
|
|
15502
15502
|
try {
|
|
15503
|
-
const { writeLaneProfileToDiskReal } = await import("./core-
|
|
15503
|
+
const { writeLaneProfileToDiskReal } = await import("./core-y89texpp.js");
|
|
15504
15504
|
await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
|
|
15505
15505
|
} catch {}
|
|
15506
15506
|
}
|
|
@@ -16479,7 +16479,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
|
|
|
16479
16479
|
}
|
|
16480
16480
|
clearWorktreeMergeStatus(statusKey);
|
|
16481
16481
|
try {
|
|
16482
|
-
const { removeLaneProfileFromDiskReal } = await import("./core-
|
|
16482
|
+
const { removeLaneProfileFromDiskReal } = await import("./core-y89texpp.js");
|
|
16483
16483
|
await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
|
|
16484
16484
|
} catch {}
|
|
16485
16485
|
const state = serializationStateBySessionID.get(dispatch.parentSessionID);
|
|
@@ -24059,7 +24059,7 @@ function clearCriticalShownIds(sessionID) {
|
|
|
24059
24059
|
async function rehydratePrSubscriptions(sessionID, directory) {
|
|
24060
24060
|
const map = new Map;
|
|
24061
24061
|
try {
|
|
24062
|
-
const { listActive: listActive2 } = await import("./pr-subscriptions-
|
|
24062
|
+
const { listActive: listActive2 } = await import("./pr-subscriptions-k86p5qcn.js");
|
|
24063
24063
|
const records = await listActive2(directory);
|
|
24064
24064
|
for (const record of records) {
|
|
24065
24065
|
if (record.sessionID !== sessionID)
|
|
@@ -40606,9 +40606,9 @@ function hashContent(content) {
|
|
|
40606
40606
|
return createHash27("sha1").update(content).digest("hex");
|
|
40607
40607
|
}
|
|
40608
40608
|
async function loadConfigForPolicyCurator(directory) {
|
|
40609
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
40609
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-s5zbnzmv.js");
|
|
40610
40610
|
try {
|
|
40611
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
40611
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-eh0sg1pz.js");
|
|
40612
40612
|
const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
|
|
40613
40613
|
return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
|
|
40614
40614
|
} catch {
|
|
@@ -43666,7 +43666,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
|
|
|
43666
43666
|
const seam = _internals38.createCuratorLLMDelegate;
|
|
43667
43667
|
if (seam)
|
|
43668
43668
|
return seam(directory, mode, sessionId);
|
|
43669
|
-
const { createCuratorLLMDelegate } = await import("./curator-llm-factory-
|
|
43669
|
+
const { createCuratorLLMDelegate } = await import("./curator-llm-factory-1qbcj7vs.js");
|
|
43670
43670
|
return createCuratorLLMDelegate(directory, mode, sessionId);
|
|
43671
43671
|
}
|
|
43672
43672
|
async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
|
|
@@ -44061,7 +44061,7 @@ async function runFinalizeStage(ctx) {
|
|
|
44061
44061
|
}
|
|
44062
44062
|
}
|
|
44063
44063
|
try {
|
|
44064
|
-
const { CuratorConfigSchema: CCS } = await import("./schema-
|
|
44064
|
+
const { CuratorConfigSchema: CCS } = await import("./schema-s5zbnzmv.js");
|
|
44065
44065
|
const { config: pmLoadedConfig } = _internals38.loadPluginConfigWithMeta(ctx.directory);
|
|
44066
44066
|
const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
|
|
44067
44067
|
if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
|
|
@@ -46298,7 +46298,7 @@ function serializeAgentSession(s) {
|
|
|
46298
46298
|
}
|
|
46299
46299
|
async function writeSnapshot(directory, state) {
|
|
46300
46300
|
try {
|
|
46301
|
-
const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-
|
|
46301
|
+
const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-8ykpp5m6.js");
|
|
46302
46302
|
await ensureSnapshotCoordinationReady(directory);
|
|
46303
46303
|
const snapshot = {
|
|
46304
46304
|
version: 3,
|
|
@@ -49308,7 +49308,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
|
|
|
49308
49308
|
};
|
|
49309
49309
|
}
|
|
49310
49310
|
async function sweepActiveNearDuplicates(directory, options = {}) {
|
|
49311
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
49311
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-eh0sg1pz.js");
|
|
49312
49312
|
const { config } = loadPluginConfigWithMeta2(directory);
|
|
49313
49313
|
const sweepConfig = config.learning?.dedup_sweep;
|
|
49314
49314
|
if (sweepConfig?.enabled === false)
|
|
@@ -50432,7 +50432,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
|
|
|
50432
50432
|
}
|
|
50433
50433
|
if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
|
|
50434
50434
|
try {
|
|
50435
|
-
const skillModule = await import("./skill-generator-
|
|
50435
|
+
const skillModule = await import("./skill-generator-bfcjzp20.js");
|
|
50436
50436
|
for (const cand of skillCandidates) {
|
|
50437
50437
|
if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
|
|
50438
50438
|
continue;
|
|
@@ -50904,7 +50904,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
|
|
|
50904
50904
|
} catch {}
|
|
50905
50905
|
}
|
|
50906
50906
|
if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
|
|
50907
|
-
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-
|
|
50907
|
+
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-ejfb2e7c.js");
|
|
50908
50908
|
for (const { id } of contradictedEntries) {
|
|
50909
50909
|
try {
|
|
50910
50910
|
await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
|
|
@@ -51736,7 +51736,7 @@ async function runCuratorPostMortem(directory, options = {}) {
|
|
|
51736
51736
|
warnings.push("Failed to collect knowledge summary.");
|
|
51737
51737
|
}
|
|
51738
51738
|
try {
|
|
51739
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
51739
|
+
const { getScanStatus } = await import("./scan-cursor-9961dhv1.js");
|
|
51740
51740
|
const scanStatus = await getScanStatus(directory);
|
|
51741
51741
|
if (scanStatus.remaining_estimate > 0) {
|
|
51742
51742
|
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.`);
|
|
@@ -51908,9 +51908,9 @@ var _internals56 = {
|
|
|
51908
51908
|
verifyPostMortemKnowledgeActions,
|
|
51909
51909
|
repairPostMortemActions,
|
|
51910
51910
|
loadDefaultKnowledgeConfig: async (directory) => {
|
|
51911
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
51911
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-s5zbnzmv.js");
|
|
51912
51912
|
try {
|
|
51913
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
51913
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-eh0sg1pz.js");
|
|
51914
51914
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
51915
51915
|
return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
51916
51916
|
} catch {
|
|
@@ -51918,11 +51918,11 @@ var _internals56 = {
|
|
|
51918
51918
|
}
|
|
51919
51919
|
},
|
|
51920
51920
|
applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
|
|
51921
|
-
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-
|
|
51921
|
+
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-tkz65fvw.js");
|
|
51922
51922
|
return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
|
|
51923
51923
|
},
|
|
51924
51924
|
checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
|
|
51925
|
-
const { checkHivePromotions } = await import("./hive-promoter-
|
|
51925
|
+
const { checkHivePromotions } = await import("./hive-promoter-88d95wk8.js");
|
|
51926
51926
|
return checkHivePromotions(entries2, knowledgeConfig, directory);
|
|
51927
51927
|
},
|
|
51928
51928
|
applyProposalTriage: async (directory, triage) => {
|
|
@@ -51931,7 +51931,7 @@ var _internals56 = {
|
|
|
51931
51931
|
activateProposal,
|
|
51932
51932
|
listSkills: listSkills2,
|
|
51933
51933
|
sanitizeSlug
|
|
51934
|
-
} = await import("./skill-generator-
|
|
51934
|
+
} = await import("./skill-generator-bfcjzp20.js");
|
|
51935
51935
|
const result = {
|
|
51936
51936
|
approved: [],
|
|
51937
51937
|
rejected: [],
|
|
@@ -51973,7 +51973,7 @@ var _internals56 = {
|
|
|
51973
51973
|
return result;
|
|
51974
51974
|
},
|
|
51975
51975
|
readPriorDriftReports: async (directory) => {
|
|
51976
|
-
const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-
|
|
51976
|
+
const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-rpwrx355.js");
|
|
51977
51977
|
return readPriorDriftReports2(directory);
|
|
51978
51978
|
},
|
|
51979
51979
|
readSwarmKnowledge: (directory) => readKnowledge(resolveSwarmKnowledgePath(directory))
|
|
@@ -61776,9 +61776,9 @@ var _internals66 = {
|
|
|
61776
61776
|
loadPluginConfigWithMeta,
|
|
61777
61777
|
loadCuratorDeps: async () => {
|
|
61778
61778
|
const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
|
|
61779
|
-
import("./schema-
|
|
61780
|
-
import("./curator-
|
|
61781
|
-
import("./curator-llm-factory-
|
|
61779
|
+
import("./schema-s5zbnzmv.js"),
|
|
61780
|
+
import("./curator-tkz65fvw.js"),
|
|
61781
|
+
import("./curator-llm-factory-1qbcj7vs.js")
|
|
61782
61782
|
]);
|
|
61783
61783
|
return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
|
|
61784
61784
|
}
|
|
@@ -64176,7 +64176,7 @@ async function computeCurationDiagnostics(directory, entries2) {
|
|
|
64176
64176
|
let scanCompleted = false;
|
|
64177
64177
|
let scanRemaining = 0;
|
|
64178
64178
|
try {
|
|
64179
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
64179
|
+
const { getScanStatus } = await import("./scan-cursor-9961dhv1.js");
|
|
64180
64180
|
const status = await getScanStatus(directory);
|
|
64181
64181
|
scanGeneration = status.generation;
|
|
64182
64182
|
scanCompleted = status.completed;
|
|
@@ -64186,10 +64186,10 @@ async function computeCurationDiagnostics(directory, entries2) {
|
|
|
64186
64186
|
try {
|
|
64187
64187
|
const { isLinked: isLinked2 } = await import("./knowledge-link-h4pdcnya.js");
|
|
64188
64188
|
if (isLinked2(directory)) {
|
|
64189
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
64189
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-s5zbnzmv.js");
|
|
64190
64190
|
let config;
|
|
64191
64191
|
try {
|
|
64192
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
64192
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-eh0sg1pz.js");
|
|
64193
64193
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
64194
64194
|
config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
64195
64195
|
} catch {
|
|
@@ -65645,7 +65645,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
65645
65645
|
const result = runConfigDoctor(config, directory, planParallelizationEnabled);
|
|
65646
65646
|
let output;
|
|
65647
65647
|
if (enableAutoFix && result.hasAutoFixableIssues) {
|
|
65648
|
-
const { runConfigDoctorWithFixes } = await import("./config-doctor-
|
|
65648
|
+
const { runConfigDoctorWithFixes } = await import("./config-doctor-4wgw6nak.js");
|
|
65649
65649
|
const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
|
|
65650
65650
|
applyLossy: true
|
|
65651
65651
|
});
|
|
@@ -65683,7 +65683,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
65683
65683
|
`;
|
|
65684
65684
|
}
|
|
65685
65685
|
try {
|
|
65686
|
-
const { runModelPreflight } = await import("./model-preflight-
|
|
65686
|
+
const { runModelPreflight } = await import("./model-preflight-nfvapzyj.js");
|
|
65687
65687
|
const preflight = await runModelPreflight(config, swarmState.opencodeClient, { generatedAgentNames: swarmState.generatedAgentNames });
|
|
65688
65688
|
const missingSelection = preflight.resolutions.filter((resolution) => resolution.status === "missing-selection");
|
|
65689
65689
|
const unresolved = preflight.catalogAvailable ? preflight.resolutions.filter((resolution) => resolution.status === "unresolved") : [];
|
|
@@ -65717,7 +65717,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
65717
65717
|
}
|
|
65718
65718
|
} catch {}
|
|
65719
65719
|
try {
|
|
65720
|
-
const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-
|
|
65720
|
+
const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-11q7en6t.js");
|
|
65721
65721
|
output += await renderKnowledgeReceiptPhaseIdSection(directory, enableAutoFix);
|
|
65722
65722
|
} catch {}
|
|
65723
65723
|
const strayDirs = detectStraySwarmDirs(directory);
|
|
@@ -66614,7 +66614,7 @@ async function handleEvidenceCommand(directory, args) {
|
|
|
66614
66614
|
return formatTaskEvidenceMarkdown(evidenceData);
|
|
66615
66615
|
}
|
|
66616
66616
|
async function handleEvidenceSummaryCommand(directory) {
|
|
66617
|
-
const { buildEvidenceSummary } = await import("./evidence-summary-service-
|
|
66617
|
+
const { buildEvidenceSummary } = await import("./evidence-summary-service-hn7vdm45.js");
|
|
66618
66618
|
const artifact = await buildEvidenceSummary(directory);
|
|
66619
66619
|
if (!artifact) {
|
|
66620
66620
|
return "No plan found. Run `/swarm plan` to check plan status.";
|
|
@@ -91061,7 +91061,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
|
|
|
91061
91061
|
}
|
|
91062
91062
|
const sdkOpts = signal ? { signal } : {};
|
|
91063
91063
|
try {
|
|
91064
|
-
const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-
|
|
91064
|
+
const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-ffmw6af9.js");
|
|
91065
91065
|
const createResult = await client.session.create({
|
|
91066
91066
|
...sessionId ? {
|
|
91067
91067
|
body: {
|
|
@@ -93398,7 +93398,7 @@ async function cancelPrFeedbackLoopUnlocked(directory, sessionID, reason) {
|
|
|
93398
93398
|
clearedEvents: []
|
|
93399
93399
|
};
|
|
93400
93400
|
try {
|
|
93401
|
-
const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-
|
|
93401
|
+
const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-3ett6hjh.js");
|
|
93402
93402
|
await cancelPrFeedbackPublication2(directory, sessionID, reason);
|
|
93403
93403
|
} catch (err) {
|
|
93404
93404
|
warn(`[pr-feedback-loop] cancelPrFeedbackPublication failed (fail-open): ${err instanceof Error ? err.message : String(err)}`);
|
|
@@ -109768,7 +109768,7 @@ function buildDetailedHelp(commandName, entry) {
|
|
|
109768
109768
|
async function handleHelpCommand(ctx) {
|
|
109769
109769
|
const targetCommand = ctx.args.join(" ");
|
|
109770
109770
|
if (!targetCommand) {
|
|
109771
|
-
const { buildHelpText } = await import("./index-
|
|
109771
|
+
const { buildHelpText } = await import("./index-2vtrjm19.js");
|
|
109772
109772
|
return buildHelpText();
|
|
109773
109773
|
}
|
|
109774
109774
|
const tokens = targetCommand.split(/\s+/);
|
|
@@ -109782,7 +109782,7 @@ async function handleHelpCommand(ctx) {
|
|
|
109782
109782
|
> Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
|
|
109783
109783
|
}
|
|
109784
109784
|
const similar = _internals27.findSimilarCommands(targetCommand);
|
|
109785
|
-
const { buildHelpText: fullHelp } = await import("./index-
|
|
109785
|
+
const { buildHelpText: fullHelp } = await import("./index-2vtrjm19.js");
|
|
109786
109786
|
if (similar.length > 0) {
|
|
109787
109787
|
return `Command '/swarm ${targetCommand}' not found.
|
|
109788
109788
|
|
|
@@ -110110,7 +110110,7 @@ var COMMAND_REGISTRY = {
|
|
|
110110
110110
|
},
|
|
110111
110111
|
"guardrail explain": {
|
|
110112
110112
|
handler: async (ctx) => {
|
|
110113
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
110113
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-e0wbeyk1.js");
|
|
110114
110114
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
110115
110115
|
},
|
|
110116
110116
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -110120,7 +110120,7 @@ var COMMAND_REGISTRY = {
|
|
|
110120
110120
|
},
|
|
110121
110121
|
"guardrail reset": {
|
|
110122
110122
|
handler: async (ctx) => {
|
|
110123
|
-
const { handleGuardrailReset } = await import("./guardrail-reset-
|
|
110123
|
+
const { handleGuardrailReset } = await import("./guardrail-reset-7z62s1j5.js");
|
|
110124
110124
|
return handleGuardrailReset(ctx.args, ctx.sessionID);
|
|
110125
110125
|
},
|
|
110126
110126
|
description: "Reset one exact active invocation/action circuit after repair",
|
|
@@ -110141,7 +110141,7 @@ var COMMAND_REGISTRY = {
|
|
|
110141
110141
|
},
|
|
110142
110142
|
"guardrail-log": {
|
|
110143
110143
|
handler: async (ctx) => {
|
|
110144
|
-
const { handleGuardrailLog } = await import("./guardrail-log-
|
|
110144
|
+
const { handleGuardrailLog } = await import("./guardrail-log-gzrj46h0.js");
|
|
110145
110145
|
return handleGuardrailLog(ctx.directory, ctx.args);
|
|
110146
110146
|
},
|
|
110147
110147
|
description: "Read the guardrail decision log (use --blocks-only for blocks)",
|
|
@@ -23,52 +23,52 @@ import {
|
|
|
23
23
|
resolveFallbackModel,
|
|
24
24
|
resolvePrimaryAgentNames,
|
|
25
25
|
stripSwarmPrefix
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
26
|
+
} from "./index-emh69vk9.js";
|
|
27
|
+
import"./index-7k9hdn0b.js";
|
|
28
|
+
import"./index-g39cmzpj.js";
|
|
29
|
+
import"./index-y8z9x87e.js";
|
|
30
30
|
import"./index-vx8a8w3b.js";
|
|
31
31
|
import"./index-k8sarme1.js";
|
|
32
32
|
import"./index-8xabhfwr.js";
|
|
33
33
|
import"./index-txdagbh7.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-snwj9ptc.js";
|
|
35
35
|
import {
|
|
36
36
|
createExplorerAgent
|
|
37
37
|
} from "./index-rdec0y3z.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
38
|
+
import"./index-pnfd3s7s.js";
|
|
39
|
+
import"./index-rw0c6qtt.js";
|
|
40
|
+
import"./index-c937rpbm.js";
|
|
41
|
+
import"./index-xsdphmet.js";
|
|
42
42
|
import"./index-kaqdzhj3.js";
|
|
43
43
|
import"./index-9czp2dcg.js";
|
|
44
44
|
import"./index-cjapb4hy.js";
|
|
45
45
|
import"./index-f6exny9m.js";
|
|
46
46
|
import"./index-pt7h91zc.js";
|
|
47
47
|
import"./index-q7sjgr1y.js";
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
48
|
+
import"./index-a4s5yrdd.js";
|
|
49
|
+
import"./index-7zyktm9f.js";
|
|
50
50
|
import"./index-6b295cas.js";
|
|
51
51
|
import"./index-9nyqt3kb.js";
|
|
52
|
-
import"./index-
|
|
52
|
+
import"./index-2wctq2hn.js";
|
|
53
53
|
import"./index-zsrtt42s.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
54
|
+
import"./index-yj1cwps4.js";
|
|
55
|
+
import"./index-8sqyx5rh.js";
|
|
56
|
+
import"./index-xj3k6x1h.js";
|
|
57
57
|
import"./index-g4fs6z4e.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
58
|
+
import"./index-7eajwwfg.js";
|
|
59
|
+
import"./index-kap459mr.js";
|
|
60
|
+
import"./index-61kszszd.js";
|
|
61
61
|
import"./index-m9zzj4ee.js";
|
|
62
62
|
import"./index-7hr5m7yp.js";
|
|
63
63
|
import"./index-2s7dvzff.js";
|
|
64
|
-
import"./index-
|
|
64
|
+
import"./index-m9g7s9ee.js";
|
|
65
65
|
import"./index-q9kefh33.js";
|
|
66
66
|
import"./index-rtry5xyf.js";
|
|
67
|
-
import"./index-
|
|
67
|
+
import"./index-5102w44y.js";
|
|
68
68
|
import"./index-kbkk7vnh.js";
|
|
69
69
|
import"./index-0725jpp7.js";
|
|
70
|
-
import"./index-
|
|
71
|
-
import"./index-
|
|
70
|
+
import"./index-y3sk68m5.js";
|
|
71
|
+
import"./index-ytms8x1h.js";
|
|
72
72
|
import"./index-wrdktgpy.js";
|
|
73
73
|
import"./index-x1eh2636.js";
|
|
74
74
|
import"./index-ntda6tje.js";
|
|
@@ -77,7 +77,7 @@ import"./index-ry16d01s.js";
|
|
|
77
77
|
import"./index-rdm3px0g.js";
|
|
78
78
|
import"./index-7pmbnjvj.js";
|
|
79
79
|
import"./index-1xa8wq76.js";
|
|
80
|
-
import"./index-
|
|
80
|
+
import"./index-c016phsk.js";
|
|
81
81
|
import"./index-vzm6zre7.js";
|
|
82
82
|
import"./index-ae75rja9.js";
|
|
83
83
|
import"./index-8q8783g0.js";
|
|
@@ -90,9 +90,9 @@ import"./index-ejhxgyvm.js";
|
|
|
90
90
|
import"./index-7g4c7s5r.js";
|
|
91
91
|
import"./index-p2tqzwh6.js";
|
|
92
92
|
import"./index-gx2vp8gx.js";
|
|
93
|
-
import"./index-
|
|
93
|
+
import"./index-9tes309n.js";
|
|
94
94
|
import"./index-zxdawwc7.js";
|
|
95
|
-
import"./index-
|
|
95
|
+
import"./index-ghjg1rxe.js";
|
|
96
96
|
import"./index-zfbxfm2m.js";
|
|
97
97
|
import"./index-bk5tah7q.js";
|
|
98
98
|
import"./index-gknz3bv1.js";
|