opencode-swarm 7.173.0 → 7.173.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-f60aqxyv.js → coder-settlement-kxxmd9jt.js} +3 -3
- package/dist/cli/{config-doctor-nvw2fwrn.js → config-doctor-nzcya5zr.js} +2 -2
- package/dist/cli/{core-z68xfzar.js → core-s9a9kmcc.js} +1 -1
- package/dist/cli/{curator-93a3pyvv.js → curator-jkp8558s.js} +19 -19
- package/dist/cli/{curator-llm-factory-xkhzrdkk.js → curator-llm-factory-dza1qtwr.js} +19 -19
- package/dist/cli/{evidence-summary-service-s22vfx64.js → evidence-summary-service-ek50h5b3.js} +6 -6
- package/dist/cli/{gate-evidence-kz044xwh.js → gate-evidence-8dk50ten.js} +2 -2
- package/dist/cli/{guardrail-explain-5nyr0vnx.js → guardrail-explain-s29vngen.js} +20 -20
- package/dist/cli/{guardrail-log-sh9ecphn.js → guardrail-log-hq5xpm7g.js} +3 -3
- package/dist/cli/{guardrail-reset-m56x3djm.js → guardrail-reset-gttz1y0h.js} +19 -19
- package/dist/cli/{hive-promoter-1hfyd1gn.js → hive-promoter-44p7ng87.js} +19 -19
- package/dist/cli/{index-gd40ehzt.js → index-18b9snn6.js} +2 -2
- package/dist/cli/{index-sftt3gdv.js → index-1xfxzjq9.js} +1 -1
- package/dist/cli/{index-579nzg03.js → index-53c0ajk4.js} +1 -1
- package/dist/cli/{index-ejrqyrsr.js → index-62pcs7jg.js} +1 -1
- package/dist/cli/{index-915wxcgs.js → index-6z404f7y.js} +3 -3
- package/dist/cli/{index-pserzhck.js → index-90qbc4rp.js} +1 -1
- package/dist/cli/{index-3312a4k1.js → index-c5nrcde1.js} +21 -21
- package/dist/cli/{index-nztmfgvw.js → index-cm0339fe.js} +1 -1
- package/dist/cli/{index-3n16qq3z.js → index-dx9pz5n6.js} +2 -2
- package/dist/cli/{index-nrsnman7.js → index-gwtb07gc.js} +1 -1
- package/dist/cli/{index-tztqvzf5.js → index-gwz9p53s.js} +2 -2
- package/dist/cli/{index-fb5rj8sk.js → index-j0vvq8se.js} +4 -4
- package/dist/cli/{index-fxac6j9v.js → index-m53v442a.js} +19 -19
- package/dist/cli/{index-btxf9k1r.js → index-mjqjbq94.js} +3 -3
- package/dist/cli/{index-m08ee28a.js → index-p36b6t7w.js} +3 -3
- package/dist/cli/{index-e8tscab8.js → index-pjw95rxm.js} +1 -1
- package/dist/cli/{index-mq2y8qpg.js → index-psb9rxt8.js} +5 -5
- package/dist/cli/{index-8xkr8p2b.js → index-pynk60z5.js} +3 -3
- package/dist/cli/{index-1r2avghn.js → index-r8g2meas.js} +3 -3
- package/dist/cli/{index-0y9fqm5d.js → index-r93ptj7j.js} +1 -1
- package/dist/cli/{index-10vr7289.js → index-samx6zgc.js} +1 -1
- package/dist/cli/{index-1pnw3jkr.js → index-vwnd2szd.js} +1 -1
- package/dist/cli/{index-njdy6w9x.js → index-wf3s2t1t.js} +52 -52
- package/dist/cli/{index-z1k5dvn0.js → index-yeehyat1.js} +2 -2
- package/dist/cli/index.js +20 -20
- package/dist/cli/{knowledge-escalator-zeackj4h.js → knowledge-escalator-ttp4x29h.js} +6 -6
- package/dist/cli/{knowledge-events-nfcgfhq2.js → knowledge-events-dx9mjgqb.js} +4 -4
- package/dist/cli/{knowledge-store-jptt6kp5.js → knowledge-store-6sq9rxma.js} +1 -1
- package/dist/cli/{knowledge-validator-e7nten5a.js → knowledge-validator-h49dkw2z.js} +2 -2
- package/dist/cli/{mcp-14kyj73d.js → mcp-kd7w2572.js} +1 -1
- package/dist/cli/{pending-delegations-4jget283.js → pending-delegations-n4qyymj2.js} +2 -2
- package/dist/cli/{pr-subscriptions-qe0j6xyr.js → pr-subscriptions-n8vkm5mv.js} +1 -1
- package/dist/cli/{pr-workflow-gate-2m91qcm6.js → pr-workflow-gate-j67jhtzt.js} +19 -19
- package/dist/cli/{scan-cursor-myzgmzj6.js → scan-cursor-sz8ncpw2.js} +2 -2
- package/dist/cli/{schema-gws3yx52.js → schema-70c0yw8p.js} +1 -1
- package/dist/cli/{scope-persistence-fh1d8vs0.js → scope-persistence-0dzyv0vt.js} +5 -5
- package/dist/cli/{server-v0wfd3rk.js → server-njmemwbm.js} +19 -19
- package/dist/cli/{skill-generator-935cmd3p.js → skill-generator-kf5yqmvk.js} +7 -7
- package/dist/cli/{snapshot-coordination-init-ad8n0977.js → snapshot-coordination-init-ezf5xqy2.js} +19 -19
- package/dist/cli/{worktree-collision-ownership-txzvv5jv.js → worktree-collision-ownership-fe176vyv.js} +2 -2
- package/dist/cli/{worktree-isolation-tv749n96.js → worktree-isolation-c0b1h3f1.js} +19 -19
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
protectedRoots,
|
|
27
27
|
redactDecisionLineForArchive,
|
|
28
28
|
stableCanonicalStringify
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-62pcs7jg.js";
|
|
30
30
|
import {
|
|
31
31
|
canonicalProjectKey,
|
|
32
32
|
closeGroupCommitWriter,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
readDoctorArtifact,
|
|
40
40
|
removeStraySwarmDir,
|
|
41
41
|
runConfigDoctor
|
|
42
|
-
} from "./index-
|
|
42
|
+
} from "./index-r93ptj7j.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-mjqjbq94.js";
|
|
85
85
|
import {
|
|
86
86
|
EvaluationTaskV1Schema,
|
|
87
87
|
GateAuditManifestV1Schema,
|
|
@@ -146,15 +146,15 @@ import {
|
|
|
146
146
|
retireSkill,
|
|
147
147
|
selectCandidateEntries,
|
|
148
148
|
syncBundledProjectSkillsIfMissingAsync
|
|
149
|
-
} from "./index-
|
|
149
|
+
} from "./index-6z404f7y.js";
|
|
150
150
|
import {
|
|
151
151
|
readRecentEscalations
|
|
152
|
-
} from "./index-
|
|
152
|
+
} from "./index-psb9rxt8.js";
|
|
153
153
|
import {
|
|
154
154
|
alreadyCuratedThisGeneration,
|
|
155
155
|
claimNextScanBatch,
|
|
156
156
|
resolveCohortId
|
|
157
|
-
} from "./index-
|
|
157
|
+
} from "./index-1xfxzjq9.js";
|
|
158
158
|
import {
|
|
159
159
|
CURATOR_CONSOLIDATION_PROMPT,
|
|
160
160
|
CURATOR_INIT_PROMPT,
|
|
@@ -186,7 +186,7 @@ import {
|
|
|
186
186
|
listCoderSettlementWalStates,
|
|
187
187
|
recoverCoderSettlement,
|
|
188
188
|
recoverStaleCoderSettlements
|
|
189
|
-
} from "./index-
|
|
189
|
+
} from "./index-p36b6t7w.js";
|
|
190
190
|
import {
|
|
191
191
|
parsePorcelainV2Snapshot,
|
|
192
192
|
resolveCommitCountSince,
|
|
@@ -257,7 +257,7 @@ import {
|
|
|
257
257
|
transitionTaskWorkflowEvidence,
|
|
258
258
|
withTaskEvidenceTransaction,
|
|
259
259
|
writeWorkflowWalFile
|
|
260
|
-
} from "./index-
|
|
260
|
+
} from "./index-pjw95rxm.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-gwtb07gc.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-vwnd2szd.js";
|
|
304
304
|
import {
|
|
305
305
|
MAX_EVENT_LOG_ENTRIES,
|
|
306
306
|
_internals,
|
|
@@ -316,7 +316,7 @@ import {
|
|
|
316
316
|
recordKnowledgeEvent,
|
|
317
317
|
recordPhaseCloseIntent,
|
|
318
318
|
resolveKnowledgeEventsPath
|
|
319
|
-
} from "./index-
|
|
319
|
+
} from "./index-pynk60z5.js";
|
|
320
320
|
import {
|
|
321
321
|
estimateTokens,
|
|
322
322
|
readSwarmFileAsync,
|
|
@@ -342,7 +342,7 @@ import {
|
|
|
342
342
|
validateActionableFields,
|
|
343
343
|
validateLesson,
|
|
344
344
|
validateSkillPath
|
|
345
|
-
} from "./index-
|
|
345
|
+
} from "./index-cm0339fe.js";
|
|
346
346
|
import {
|
|
347
347
|
MAX_CURATION_PROPOSALS,
|
|
348
348
|
authorizeCuration,
|
|
@@ -353,7 +353,7 @@ import {
|
|
|
353
353
|
} from "./index-rtry5xyf.js";
|
|
354
354
|
import {
|
|
355
355
|
resolveWorktreeIsolationConfig
|
|
356
|
-
} from "./index-
|
|
356
|
+
} from "./index-gwz9p53s.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-dx9pz5n6.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-18b9snn6.js";
|
|
384
384
|
import {
|
|
385
385
|
CORE_EVENT_LOCKED,
|
|
386
386
|
appendCoreEventSync,
|
|
@@ -463,7 +463,7 @@ import {
|
|
|
463
463
|
transactFile,
|
|
464
464
|
transactKnowledge,
|
|
465
465
|
wordBigrams
|
|
466
|
-
} from "./index-
|
|
466
|
+
} from "./index-j0vvq8se.js";
|
|
467
467
|
import {
|
|
468
468
|
readTailJsonl,
|
|
469
469
|
readTailJsonlDetailed,
|
|
@@ -532,7 +532,7 @@ import {
|
|
|
532
532
|
loadGateOverrides,
|
|
533
533
|
loadPluginConfig,
|
|
534
534
|
loadPluginConfigWithMeta
|
|
535
|
-
} from "./index-
|
|
535
|
+
} from "./index-53c0ajk4.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-90qbc4rp.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-j67jhtzt.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-j67jhtzt.js");
|
|
3249
3249
|
recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
|
|
3250
3250
|
}
|
|
3251
3251
|
if (!recoveryState) {
|
|
@@ -13995,7 +13995,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
|
|
|
13995
13995
|
return extracted === expectedSessionId;
|
|
13996
13996
|
}
|
|
13997
13997
|
async function inspectStandardWorktreeCollisionOwnership(identity) {
|
|
13998
|
-
const collisionOwnership = await import("./worktree-collision-ownership-
|
|
13998
|
+
const collisionOwnership = await import("./worktree-collision-ownership-fe176vyv.js");
|
|
13999
13999
|
return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
|
|
14000
14000
|
}
|
|
14001
14001
|
async function runRecoveryGit(directory, args, timeoutMs = 15000) {
|
|
@@ -14421,7 +14421,7 @@ async function precreateStandardWorktreeSession(args) {
|
|
|
14421
14421
|
const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
|
|
14422
14422
|
if (laneProfile) {
|
|
14423
14423
|
try {
|
|
14424
|
-
const { writeLaneProfileToDiskReal } = await import("./core-
|
|
14424
|
+
const { writeLaneProfileToDiskReal } = await import("./core-s9a9kmcc.js");
|
|
14425
14425
|
await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
|
|
14426
14426
|
} catch {}
|
|
14427
14427
|
}
|
|
@@ -15400,7 +15400,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
|
|
|
15400
15400
|
}
|
|
15401
15401
|
clearWorktreeMergeStatus(statusKey);
|
|
15402
15402
|
try {
|
|
15403
|
-
const { removeLaneProfileFromDiskReal } = await import("./core-
|
|
15403
|
+
const { removeLaneProfileFromDiskReal } = await import("./core-s9a9kmcc.js");
|
|
15404
15404
|
await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
|
|
15405
15405
|
} catch {}
|
|
15406
15406
|
const state = serializationStateBySessionID.get(dispatch.parentSessionID);
|
|
@@ -22001,7 +22001,7 @@ function getDisplayFinalPromptPressure() {
|
|
|
22001
22001
|
async function rehydratePrSubscriptions(sessionID, directory) {
|
|
22002
22002
|
const map = new Map;
|
|
22003
22003
|
try {
|
|
22004
|
-
const { listActive: listActive2 } = await import("./pr-subscriptions-
|
|
22004
|
+
const { listActive: listActive2 } = await import("./pr-subscriptions-n8vkm5mv.js");
|
|
22005
22005
|
const records = await listActive2(directory);
|
|
22006
22006
|
for (const record of records) {
|
|
22007
22007
|
if (record.sessionID !== sessionID)
|
|
@@ -38686,9 +38686,9 @@ function hashContent(content) {
|
|
|
38686
38686
|
return createHash23("sha1").update(content).digest("hex");
|
|
38687
38687
|
}
|
|
38688
38688
|
async function loadConfigForPolicyCurator(directory) {
|
|
38689
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
38689
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-70c0yw8p.js");
|
|
38690
38690
|
try {
|
|
38691
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
38691
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-r8g2meas.js");
|
|
38692
38692
|
const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
|
|
38693
38693
|
return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
|
|
38694
38694
|
} catch {
|
|
@@ -41746,7 +41746,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
|
|
|
41746
41746
|
const seam = _internals36.createCuratorLLMDelegate;
|
|
41747
41747
|
if (seam)
|
|
41748
41748
|
return seam(directory, mode, sessionId);
|
|
41749
|
-
const { createCuratorLLMDelegate } = await import("./curator-llm-factory-
|
|
41749
|
+
const { createCuratorLLMDelegate } = await import("./curator-llm-factory-dza1qtwr.js");
|
|
41750
41750
|
return createCuratorLLMDelegate(directory, mode, sessionId);
|
|
41751
41751
|
}
|
|
41752
41752
|
async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
|
|
@@ -42141,7 +42141,7 @@ async function runFinalizeStage(ctx) {
|
|
|
42141
42141
|
}
|
|
42142
42142
|
}
|
|
42143
42143
|
try {
|
|
42144
|
-
const { CuratorConfigSchema: CCS } = await import("./schema-
|
|
42144
|
+
const { CuratorConfigSchema: CCS } = await import("./schema-70c0yw8p.js");
|
|
42145
42145
|
const { config: pmLoadedConfig } = _internals36.loadPluginConfigWithMeta(ctx.directory);
|
|
42146
42146
|
const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
|
|
42147
42147
|
if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
|
|
@@ -43976,7 +43976,7 @@ function serializeAgentSession(s) {
|
|
|
43976
43976
|
}
|
|
43977
43977
|
async function writeSnapshot(directory, state) {
|
|
43978
43978
|
try {
|
|
43979
|
-
const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-
|
|
43979
|
+
const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-ezf5xqy2.js");
|
|
43980
43980
|
await ensureSnapshotCoordinationReady(directory);
|
|
43981
43981
|
const snapshot = {
|
|
43982
43982
|
version: 3,
|
|
@@ -46900,7 +46900,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
|
|
|
46900
46900
|
};
|
|
46901
46901
|
}
|
|
46902
46902
|
async function sweepActiveNearDuplicates(directory, options = {}) {
|
|
46903
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
46903
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-r8g2meas.js");
|
|
46904
46904
|
const { config } = loadPluginConfigWithMeta2(directory);
|
|
46905
46905
|
const sweepConfig = config.learning?.dedup_sweep;
|
|
46906
46906
|
if (sweepConfig?.enabled === false)
|
|
@@ -48024,7 +48024,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
|
|
|
48024
48024
|
}
|
|
48025
48025
|
if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
|
|
48026
48026
|
try {
|
|
48027
|
-
const skillModule = await import("./skill-generator-
|
|
48027
|
+
const skillModule = await import("./skill-generator-kf5yqmvk.js");
|
|
48028
48028
|
for (const cand of skillCandidates) {
|
|
48029
48029
|
if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
|
|
48030
48030
|
continue;
|
|
@@ -48496,7 +48496,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
|
|
|
48496
48496
|
} catch {}
|
|
48497
48497
|
}
|
|
48498
48498
|
if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
|
|
48499
|
-
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-
|
|
48499
|
+
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-ttp4x29h.js");
|
|
48500
48500
|
for (const { id } of contradictedEntries) {
|
|
48501
48501
|
try {
|
|
48502
48502
|
await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
|
|
@@ -49328,7 +49328,7 @@ async function runCuratorPostMortem(directory, options = {}) {
|
|
|
49328
49328
|
warnings.push("Failed to collect knowledge summary.");
|
|
49329
49329
|
}
|
|
49330
49330
|
try {
|
|
49331
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
49331
|
+
const { getScanStatus } = await import("./scan-cursor-sz8ncpw2.js");
|
|
49332
49332
|
const scanStatus = await getScanStatus(directory);
|
|
49333
49333
|
if (scanStatus.remaining_estimate > 0) {
|
|
49334
49334
|
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.`);
|
|
@@ -49500,9 +49500,9 @@ var _internals53 = {
|
|
|
49500
49500
|
verifyPostMortemKnowledgeActions,
|
|
49501
49501
|
repairPostMortemActions,
|
|
49502
49502
|
loadDefaultKnowledgeConfig: async (directory) => {
|
|
49503
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
49503
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-70c0yw8p.js");
|
|
49504
49504
|
try {
|
|
49505
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
49505
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-r8g2meas.js");
|
|
49506
49506
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
49507
49507
|
return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
49508
49508
|
} catch {
|
|
@@ -49510,11 +49510,11 @@ var _internals53 = {
|
|
|
49510
49510
|
}
|
|
49511
49511
|
},
|
|
49512
49512
|
applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
|
|
49513
|
-
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-
|
|
49513
|
+
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-jkp8558s.js");
|
|
49514
49514
|
return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
|
|
49515
49515
|
},
|
|
49516
49516
|
checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
|
|
49517
|
-
const { checkHivePromotions } = await import("./hive-promoter-
|
|
49517
|
+
const { checkHivePromotions } = await import("./hive-promoter-44p7ng87.js");
|
|
49518
49518
|
return checkHivePromotions(entries2, knowledgeConfig, directory);
|
|
49519
49519
|
},
|
|
49520
49520
|
applyProposalTriage: async (directory, triage) => {
|
|
@@ -49523,7 +49523,7 @@ var _internals53 = {
|
|
|
49523
49523
|
activateProposal,
|
|
49524
49524
|
listSkills: listSkills2,
|
|
49525
49525
|
sanitizeSlug
|
|
49526
|
-
} = await import("./skill-generator-
|
|
49526
|
+
} = await import("./skill-generator-kf5yqmvk.js");
|
|
49527
49527
|
const result = {
|
|
49528
49528
|
approved: [],
|
|
49529
49529
|
rejected: [],
|
|
@@ -59361,9 +59361,9 @@ var _internals63 = {
|
|
|
59361
59361
|
loadPluginConfigWithMeta,
|
|
59362
59362
|
loadCuratorDeps: async () => {
|
|
59363
59363
|
const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
|
|
59364
|
-
import("./schema-
|
|
59365
|
-
import("./curator-
|
|
59366
|
-
import("./curator-llm-factory-
|
|
59364
|
+
import("./schema-70c0yw8p.js"),
|
|
59365
|
+
import("./curator-jkp8558s.js"),
|
|
59366
|
+
import("./curator-llm-factory-dza1qtwr.js")
|
|
59367
59367
|
]);
|
|
59368
59368
|
return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
|
|
59369
59369
|
}
|
|
@@ -61272,7 +61272,7 @@ async function computeCurationDiagnostics(directory, entries2) {
|
|
|
61272
61272
|
let scanCompleted = false;
|
|
61273
61273
|
let scanRemaining = 0;
|
|
61274
61274
|
try {
|
|
61275
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
61275
|
+
const { getScanStatus } = await import("./scan-cursor-sz8ncpw2.js");
|
|
61276
61276
|
const status = await getScanStatus(directory);
|
|
61277
61277
|
scanGeneration = status.generation;
|
|
61278
61278
|
scanCompleted = status.completed;
|
|
@@ -61282,10 +61282,10 @@ async function computeCurationDiagnostics(directory, entries2) {
|
|
|
61282
61282
|
try {
|
|
61283
61283
|
const { isLinked: isLinked2 } = await import("./knowledge-link-f7bhq7cx.js");
|
|
61284
61284
|
if (isLinked2(directory)) {
|
|
61285
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
61285
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-70c0yw8p.js");
|
|
61286
61286
|
let config;
|
|
61287
61287
|
try {
|
|
61288
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
61288
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-r8g2meas.js");
|
|
61289
61289
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
61290
61290
|
config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
61291
61291
|
} catch {
|
|
@@ -62683,7 +62683,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
62683
62683
|
const result = runConfigDoctor(config, directory);
|
|
62684
62684
|
let output;
|
|
62685
62685
|
if (enableAutoFix && result.hasAutoFixableIssues) {
|
|
62686
|
-
const { runConfigDoctorWithFixes } = await import("./config-doctor-
|
|
62686
|
+
const { runConfigDoctorWithFixes } = await import("./config-doctor-nzcya5zr.js");
|
|
62687
62687
|
const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
|
|
62688
62688
|
applyLossy: true
|
|
62689
62689
|
});
|
|
@@ -63637,7 +63637,7 @@ async function handleEvidenceCommand(directory, args) {
|
|
|
63637
63637
|
return formatTaskEvidenceMarkdown(evidenceData);
|
|
63638
63638
|
}
|
|
63639
63639
|
async function handleEvidenceSummaryCommand(directory) {
|
|
63640
|
-
const { buildEvidenceSummary } = await import("./evidence-summary-service-
|
|
63640
|
+
const { buildEvidenceSummary } = await import("./evidence-summary-service-ek50h5b3.js");
|
|
63641
63641
|
const artifact = await buildEvidenceSummary(directory);
|
|
63642
63642
|
if (!artifact) {
|
|
63643
63643
|
return "No plan found. Run `/swarm plan` to check plan status.";
|
|
@@ -83657,7 +83657,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
|
|
|
83657
83657
|
}
|
|
83658
83658
|
const sdkOpts = signal ? { signal } : {};
|
|
83659
83659
|
try {
|
|
83660
|
-
const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-
|
|
83660
|
+
const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-m53v442a.js");
|
|
83661
83661
|
const createResult = await client.session.create({
|
|
83662
83662
|
...sessionId ? {
|
|
83663
83663
|
body: {
|
|
@@ -100355,7 +100355,7 @@ function buildDetailedHelp(commandName, entry) {
|
|
|
100355
100355
|
async function handleHelpCommand(ctx) {
|
|
100356
100356
|
const targetCommand = ctx.args.join(" ");
|
|
100357
100357
|
if (!targetCommand) {
|
|
100358
|
-
const { buildHelpText } = await import("./index-
|
|
100358
|
+
const { buildHelpText } = await import("./index-c5nrcde1.js");
|
|
100359
100359
|
return buildHelpText();
|
|
100360
100360
|
}
|
|
100361
100361
|
const tokens = targetCommand.split(/\s+/);
|
|
@@ -100369,7 +100369,7 @@ async function handleHelpCommand(ctx) {
|
|
|
100369
100369
|
> Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
|
|
100370
100370
|
}
|
|
100371
100371
|
const similar = _internals24.findSimilarCommands(targetCommand);
|
|
100372
|
-
const { buildHelpText: fullHelp } = await import("./index-
|
|
100372
|
+
const { buildHelpText: fullHelp } = await import("./index-c5nrcde1.js");
|
|
100373
100373
|
if (similar.length > 0) {
|
|
100374
100374
|
return `Command '/swarm ${targetCommand}' not found.
|
|
100375
100375
|
|
|
@@ -100684,7 +100684,7 @@ var COMMAND_REGISTRY = {
|
|
|
100684
100684
|
},
|
|
100685
100685
|
"guardrail explain": {
|
|
100686
100686
|
handler: async (ctx) => {
|
|
100687
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
100687
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-s29vngen.js");
|
|
100688
100688
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
100689
100689
|
},
|
|
100690
100690
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -100694,7 +100694,7 @@ var COMMAND_REGISTRY = {
|
|
|
100694
100694
|
},
|
|
100695
100695
|
"guardrail reset": {
|
|
100696
100696
|
handler: async (ctx) => {
|
|
100697
|
-
const { handleGuardrailReset } = await import("./guardrail-reset-
|
|
100697
|
+
const { handleGuardrailReset } = await import("./guardrail-reset-gttz1y0h.js");
|
|
100698
100698
|
return handleGuardrailReset(ctx.args, ctx.sessionID);
|
|
100699
100699
|
},
|
|
100700
100700
|
description: "Reset one exact active invocation/action circuit after repair",
|
|
@@ -100715,7 +100715,7 @@ var COMMAND_REGISTRY = {
|
|
|
100715
100715
|
},
|
|
100716
100716
|
"guardrail-log": {
|
|
100717
100717
|
handler: async (ctx) => {
|
|
100718
|
-
const { handleGuardrailLog } = await import("./guardrail-log-
|
|
100718
|
+
const { handleGuardrailLog } = await import("./guardrail-log-hq5xpm7g.js");
|
|
100719
100719
|
return handleGuardrailLog(ctx.directory, ctx.args);
|
|
100720
100720
|
},
|
|
100721
100721
|
description: "Read the guardrail decision log (use --blocks-only for blocks)",
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
detectWindowsWrites,
|
|
15
15
|
getSharedClassifierGuardrailBlock,
|
|
16
16
|
resolveWriteTargets
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-wf3s2t1t.js";
|
|
18
18
|
import {
|
|
19
19
|
checkFileAuthority,
|
|
20
20
|
classifyFile,
|
|
21
21
|
isInDeclaredScope,
|
|
22
22
|
redactPath,
|
|
23
23
|
redactShellCommand
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-62pcs7jg.js";
|
|
25
25
|
|
|
26
26
|
// src/services/guardrail-explain-service.ts
|
|
27
27
|
import path from "path";
|
package/dist/cli/index.js
CHANGED
|
@@ -14,43 +14,43 @@ import {
|
|
|
14
14
|
readCachePackageVersion,
|
|
15
15
|
resolveCommand,
|
|
16
16
|
safeRealpathSync
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-wf3s2t1t.js";
|
|
18
18
|
import"./index-hnvmj9wx.js";
|
|
19
19
|
import"./index-hhws1xkc.js";
|
|
20
|
-
import"./index-
|
|
20
|
+
import"./index-62pcs7jg.js";
|
|
21
21
|
import"./index-wr4m11x4.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
22
|
+
import"./index-r93ptj7j.js";
|
|
23
|
+
import"./index-mjqjbq94.js";
|
|
24
24
|
import"./index-z35ynvj4.js";
|
|
25
25
|
import"./index-txdagbh7.js";
|
|
26
26
|
import"./index-z2deqhpp.js";
|
|
27
27
|
import"./index-fpbcxykc.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
28
|
+
import"./index-6z404f7y.js";
|
|
29
|
+
import"./index-psb9rxt8.js";
|
|
30
|
+
import"./index-1xfxzjq9.js";
|
|
31
31
|
import"./index-fyfbpz4f.js";
|
|
32
32
|
import"./index-7gkdxs00.js";
|
|
33
33
|
import"./index-0hgmsyfp.js";
|
|
34
34
|
import"./index-zsrtt42s.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-p36b6t7w.js";
|
|
36
36
|
import"./index-ndvgkxpf.js";
|
|
37
37
|
import"./index-0dfhahxm.js";
|
|
38
38
|
import"./index-pt7h91zc.js";
|
|
39
39
|
import"./index-q7sjgr1y.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
40
|
+
import"./index-pjw95rxm.js";
|
|
41
|
+
import"./index-gwtb07gc.js";
|
|
42
|
+
import"./index-vwnd2szd.js";
|
|
43
|
+
import"./index-pynk60z5.js";
|
|
44
44
|
import"./index-evf5r7bk.js";
|
|
45
45
|
import"./index-2s7dvzff.js";
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-cm0339fe.js";
|
|
47
47
|
import"./index-m51cmzxt.js";
|
|
48
48
|
import"./index-rtry5xyf.js";
|
|
49
|
-
import"./index-
|
|
49
|
+
import"./index-gwz9p53s.js";
|
|
50
50
|
import"./index-frcemc0b.js";
|
|
51
51
|
import"./index-wrt875kh.js";
|
|
52
|
-
import"./index-
|
|
53
|
-
import"./index-
|
|
52
|
+
import"./index-dx9pz5n6.js";
|
|
53
|
+
import"./index-18b9snn6.js";
|
|
54
54
|
import"./index-mt8pbzda.js";
|
|
55
55
|
import"./index-za1kvsa0.js";
|
|
56
56
|
import"./index-fnx0jzf7.js";
|
|
@@ -58,7 +58,7 @@ import"./index-dktpzjy9.js";
|
|
|
58
58
|
import"./index-rdm3px0g.js";
|
|
59
59
|
import"./index-ry16d01s.js";
|
|
60
60
|
import"./index-43dmpa9w.js";
|
|
61
|
-
import"./index-
|
|
61
|
+
import"./index-j0vvq8se.js";
|
|
62
62
|
import"./index-vzm6zre7.js";
|
|
63
63
|
import"./index-ae75rja9.js";
|
|
64
64
|
import"./index-yzwb6ja4.js";
|
|
@@ -68,13 +68,13 @@ import"./index-jmn35na4.js";
|
|
|
68
68
|
import"./index-bsnpv4xd.js";
|
|
69
69
|
import"./index-1xnse449.js";
|
|
70
70
|
import"./index-c1ggtmpm.js";
|
|
71
|
-
import"./index-
|
|
71
|
+
import"./index-53c0ajk4.js";
|
|
72
72
|
import"./index-0mhftbpp.js";
|
|
73
73
|
import"./index-a1w58b47.js";
|
|
74
74
|
import {
|
|
75
75
|
init_package,
|
|
76
76
|
package_default
|
|
77
|
-
} from "./index-
|
|
77
|
+
} from "./index-90qbc4rp.js";
|
|
78
78
|
import {
|
|
79
79
|
DEFAULT_AGENT_CONFIGS,
|
|
80
80
|
init_constants
|
|
@@ -642,7 +642,7 @@ async function main() {
|
|
|
642
642
|
const exitCode = await run(["ci", ...args.slice(1)]);
|
|
643
643
|
process.exit(exitCode);
|
|
644
644
|
} else if (command === "mcp") {
|
|
645
|
-
const { handleMcpCommand } = await import("./mcp-
|
|
645
|
+
const { handleMcpCommand } = await import("./mcp-kd7w2572.js");
|
|
646
646
|
const exitCode = await handleMcpCommand(args.slice(1));
|
|
647
647
|
process.exit(exitCode);
|
|
648
648
|
} else {
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
maybeEscalateOnViolation,
|
|
10
10
|
maybeQuarantineOnContradiction,
|
|
11
11
|
readRecentEscalations
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
12
|
+
} from "./index-psb9rxt8.js";
|
|
13
|
+
import"./index-pynk60z5.js";
|
|
14
14
|
import"./index-evf5r7bk.js";
|
|
15
15
|
import"./index-2s7dvzff.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-gwz9p53s.js";
|
|
17
17
|
import"./index-frcemc0b.js";
|
|
18
18
|
import"./index-wrt875kh.js";
|
|
19
19
|
import"./index-43dmpa9w.js";
|
|
20
|
-
import"./index-
|
|
20
|
+
import"./index-j0vvq8se.js";
|
|
21
21
|
import"./index-vzm6zre7.js";
|
|
22
22
|
import"./index-ae75rja9.js";
|
|
23
23
|
import"./index-yzwb6ja4.js";
|
|
@@ -27,10 +27,10 @@ import"./index-jmn35na4.js";
|
|
|
27
27
|
import"./index-bsnpv4xd.js";
|
|
28
28
|
import"./index-1xnse449.js";
|
|
29
29
|
import"./index-c1ggtmpm.js";
|
|
30
|
-
import"./index-
|
|
30
|
+
import"./index-53c0ajk4.js";
|
|
31
31
|
import"./index-0mhftbpp.js";
|
|
32
32
|
import"./index-a1w58b47.js";
|
|
33
|
-
import"./index-
|
|
33
|
+
import"./index-90qbc4rp.js";
|
|
34
34
|
import"./index-5frh43fj.js";
|
|
35
35
|
import"./index-bk5tah7q.js";
|
|
36
36
|
import"./index-gknz3bv1.js";
|
|
@@ -29,10 +29,10 @@ import {
|
|
|
29
29
|
resolveKnowledgeCounterBaselinePath,
|
|
30
30
|
resolveKnowledgeEventsPath,
|
|
31
31
|
resolveLegacyApplicationLogPath
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-pynk60z5.js";
|
|
33
33
|
import"./index-evf5r7bk.js";
|
|
34
34
|
import"./index-2s7dvzff.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-gwz9p53s.js";
|
|
36
36
|
import"./index-frcemc0b.js";
|
|
37
37
|
import"./index-wrt875kh.js";
|
|
38
38
|
import"./index-43dmpa9w.js";
|
|
@@ -44,10 +44,10 @@ import"./index-jmn35na4.js";
|
|
|
44
44
|
import"./index-bsnpv4xd.js";
|
|
45
45
|
import"./index-1xnse449.js";
|
|
46
46
|
import"./index-c1ggtmpm.js";
|
|
47
|
-
import"./index-
|
|
47
|
+
import"./index-53c0ajk4.js";
|
|
48
48
|
import"./index-0mhftbpp.js";
|
|
49
49
|
import"./index-a1w58b47.js";
|
|
50
|
-
import"./index-
|
|
50
|
+
import"./index-90qbc4rp.js";
|
|
51
51
|
import"./index-5frh43fj.js";
|
|
52
52
|
import"./index-bk5tah7q.js";
|
|
53
53
|
import"./index-gknz3bv1.js";
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-cm0339fe.js";
|
|
27
27
|
import"./index-m51cmzxt.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-j0vvq8se.js";
|
|
30
30
|
import"./index-vzm6zre7.js";
|
|
31
31
|
import"./index-ae75rja9.js";
|
|
32
32
|
import"./index-yzwb6ja4.js";
|
|
@@ -61,7 +61,7 @@ async function handleMcpCommand(argv) {
|
|
|
61
61
|
return 1;
|
|
62
62
|
}
|
|
63
63
|
try {
|
|
64
|
-
const { runMcpServer } = await import("./server-
|
|
64
|
+
const { runMcpServer } = await import("./server-njmemwbm.js");
|
|
65
65
|
return await runMcpServer({
|
|
66
66
|
root: rootResult.root,
|
|
67
67
|
allowWrite: parsed.allowWrite
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
sweepStaleDelegations,
|
|
72
72
|
updateCoderSettlement,
|
|
73
73
|
writeDelegationFallback
|
|
74
|
-
} from "./index-
|
|
74
|
+
} from "./index-vwnd2szd.js";
|
|
75
75
|
import"./index-evf5r7bk.js";
|
|
76
76
|
import"./index-2s7dvzff.js";
|
|
77
77
|
import"./index-za1kvsa0.js";
|
|
@@ -80,7 +80,7 @@ import"./index-dktpzjy9.js";
|
|
|
80
80
|
import"./index-rdm3px0g.js";
|
|
81
81
|
import"./index-ry16d01s.js";
|
|
82
82
|
import"./index-43dmpa9w.js";
|
|
83
|
-
import"./index-
|
|
83
|
+
import"./index-j0vvq8se.js";
|
|
84
84
|
import"./index-vzm6zre7.js";
|
|
85
85
|
import"./index-ae75rja9.js";
|
|
86
86
|
import"./index-yzwb6ja4.js";
|
|
@@ -28,7 +28,7 @@ import"./index-dktpzjy9.js";
|
|
|
28
28
|
import"./index-rdm3px0g.js";
|
|
29
29
|
import"./index-ry16d01s.js";
|
|
30
30
|
import"./index-43dmpa9w.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-j0vvq8se.js";
|
|
32
32
|
import"./index-vzm6zre7.js";
|
|
33
33
|
import"./index-ae75rja9.js";
|
|
34
34
|
import"./index-yzwb6ja4.js";
|