opencode-swarm 7.148.2 → 7.148.3
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/dist/cli/{config-doctor-6danhdcy.js → config-doctor-q3fw9744.js} +2 -2
- package/dist/cli/{core-0ghwny8q.js → core-y72nw57z.js} +1 -1
- package/dist/cli/{curator-wvm7qbkk.js → curator-bsr0xx05.js} +17 -17
- package/dist/cli/{curator-llm-factory-6n47j5qn.js → curator-llm-factory-sdxsn88r.js} +17 -17
- package/dist/cli/{evidence-summary-service-0xwrkmf9.js → evidence-summary-service-rk5exnrk.js} +6 -6
- package/dist/cli/{gate-evidence-6e5yhcy6.js → gate-evidence-cn0dvw8m.js} +2 -2
- package/dist/cli/{guardrail-explain-tgv7rvap.js → guardrail-explain-fnnka0vt.js} +18 -18
- package/dist/cli/{guardrail-log-k0zk6rbs.js → guardrail-log-gsx9kj51.js} +3 -3
- package/dist/cli/{guardrail-reset-4fw16xmb.js → guardrail-reset-kk1rdmm0.js} +17 -17
- package/dist/cli/{hive-promoter-zemwxxw1.js → hive-promoter-w7cr6qym.js} +17 -17
- package/dist/cli/{index-nqwn8sf0.js → index-08d3pb9a.js} +1 -1
- package/dist/cli/{index-q6kscnts.js → index-2d582j6q.js} +1 -1
- package/dist/cli/{index-wgrvq2bc.js → index-3vescfdb.js} +4 -4
- package/dist/cli/{index-3pbvdde0.js → index-4aqnb12y.js} +2 -2
- package/dist/cli/{index-mgcffsk0.js → index-65jw48eb.js} +1 -1
- package/dist/cli/{index-hsq8nyen.js → index-7a41ca8k.js} +47 -47
- package/dist/cli/{index-x9jppg8b.js → index-8sz9t8s2.js} +1 -1
- package/dist/cli/{index-mbcyz77e.js → index-8w63kj4x.js} +1 -1
- package/dist/cli/{index-nxydm56k.js → index-8y79znpe.js} +1 -1
- package/dist/cli/{index-crpkb5x6.js → index-afwwz4py.js} +5 -5
- package/dist/cli/{index-k2ad2vtb.js → index-b0703hjg.js} +1 -1
- package/dist/cli/{index-5vyej8pc.js → index-c9xfy8yj.js} +3 -3
- package/dist/cli/{index-x9q0b3a8.js → index-dh85aep3.js} +2 -2
- package/dist/cli/{index-s0s1e5jp.js → index-dmbvep3q.js} +3 -3
- package/dist/cli/{index-s0nss8c4.js → index-et35gcph.js} +1 -1
- package/dist/cli/{index-7jaq84cg.js → index-fp9d0e6f.js} +1 -1
- package/dist/cli/{index-84ytts36.js → index-harsx832.js} +2 -2
- package/dist/cli/{index-xn7h24x4.js → index-hwfs0ze1.js} +3 -3
- package/dist/cli/{index-03wz9h63.js → index-kn36sxj0.js} +19 -19
- package/dist/cli/{index-pzt7ed53.js → index-xq8eydnk.js} +3 -3
- package/dist/cli/{index-ndqhtgrc.js → index-y8kppv1z.js} +1 -1
- package/dist/cli/index.js +17 -17
- package/dist/cli/{knowledge-escalator-rfw35yt1.js → knowledge-escalator-jxpz0mv5.js} +6 -6
- package/dist/cli/{knowledge-events-wmjm5wn6.js → knowledge-events-kjwmc21q.js} +4 -4
- package/dist/cli/{knowledge-store-f2ev6s5p.js → knowledge-store-j9bzs7zx.js} +1 -1
- package/dist/cli/{knowledge-validator-6cmwpx9e.js → knowledge-validator-56w52rwr.js} +2 -2
- package/dist/cli/{scan-cursor-x1ma7edk.js → scan-cursor-7xbrxm2c.js} +2 -2
- package/dist/cli/{schema-g5ggmb47.js → schema-gcjdpfr9.js} +1 -1
- package/dist/cli/{scope-persistence-gt0zpp6a.js → scope-persistence-2n9nk833.js} +4 -4
- package/dist/cli/{skill-generator-q6m110d5.js → skill-generator-z70bhhx9.js} +7 -7
- package/dist/cli/{worktree-isolation-akwwt8n5.js → worktree-isolation-vg6g00mq.js} +17 -17
- package/dist/index.js +2 -2
- package/package.json +1 -1
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
normalizeToolNameLowerCase,
|
|
12
12
|
stableCanonicalStringify
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-et35gcph.js";
|
|
14
14
|
import {
|
|
15
15
|
detectStraySwarmDirs,
|
|
16
16
|
readDoctorArtifact,
|
|
17
17
|
removeStraySwarmDir,
|
|
18
18
|
runConfigDoctor
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-fp9d0e6f.js";
|
|
20
20
|
import {
|
|
21
21
|
MAX_TRANSIENT_RETRIES,
|
|
22
22
|
archiveEvidence,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
updateTaskStatus,
|
|
63
63
|
validateProjectRoot,
|
|
64
64
|
validateSymlinkBoundary
|
|
65
|
-
} from "./index-
|
|
65
|
+
} from "./index-c9xfy8yj.js";
|
|
66
66
|
import {
|
|
67
67
|
EvaluationTaskV1Schema,
|
|
68
68
|
GateAuditManifestV1Schema,
|
|
@@ -105,12 +105,12 @@ import {
|
|
|
105
105
|
} from "./index-y8552snf.js";
|
|
106
106
|
import {
|
|
107
107
|
readRecentEscalations
|
|
108
|
-
} from "./index-
|
|
108
|
+
} from "./index-afwwz4py.js";
|
|
109
109
|
import {
|
|
110
110
|
alreadyCuratedThisGeneration,
|
|
111
111
|
claimNextScanBatch,
|
|
112
112
|
resolveCohortId
|
|
113
|
-
} from "./index-
|
|
113
|
+
} from "./index-8y79znpe.js";
|
|
114
114
|
import {
|
|
115
115
|
CURATOR_INIT_PROMPT,
|
|
116
116
|
CURATOR_PHASE_PROMPT,
|
|
@@ -180,7 +180,7 @@ import {
|
|
|
180
180
|
retireSkill,
|
|
181
181
|
selectCandidateEntries,
|
|
182
182
|
syncBundledProjectSkillsIfMissingAsync
|
|
183
|
-
} from "./index-
|
|
183
|
+
} from "./index-xq8eydnk.js";
|
|
184
184
|
import {
|
|
185
185
|
appendUnactionable,
|
|
186
186
|
quarantineEntry,
|
|
@@ -191,7 +191,7 @@ import {
|
|
|
191
191
|
validateActionableFields,
|
|
192
192
|
validateLesson,
|
|
193
193
|
validateSkillPath
|
|
194
|
-
} from "./index-
|
|
194
|
+
} from "./index-8w63kj4x.js";
|
|
195
195
|
import {
|
|
196
196
|
authorizeCuration,
|
|
197
197
|
buildConfigFingerprintInput
|
|
@@ -248,18 +248,18 @@ import {
|
|
|
248
248
|
transitionTaskWorkflowEvidence,
|
|
249
249
|
withTaskEvidenceTransaction,
|
|
250
250
|
writeWorkflowWalFile
|
|
251
|
-
} from "./index-
|
|
251
|
+
} from "./index-2d582j6q.js";
|
|
252
252
|
import {
|
|
253
253
|
provisionWorktree,
|
|
254
254
|
removeWorktree
|
|
255
|
-
} from "./index-
|
|
255
|
+
} from "./index-y8kppv1z.js";
|
|
256
256
|
import {
|
|
257
257
|
MAX_PENDING_SCOPE_BINDINGS,
|
|
258
258
|
canonicalWorkspaceIdentity,
|
|
259
259
|
clearAllScopes,
|
|
260
260
|
clearScopeBindingFromDisk,
|
|
261
261
|
clearScopeBindings
|
|
262
|
-
} from "./index-
|
|
262
|
+
} from "./index-harsx832.js";
|
|
263
263
|
import {
|
|
264
264
|
appendLedgerEvent,
|
|
265
265
|
computePlanHash,
|
|
@@ -274,7 +274,7 @@ import {
|
|
|
274
274
|
readPlanEpochIdentity,
|
|
275
275
|
replayFromLedgerWithStatus,
|
|
276
276
|
takeSnapshotEvent
|
|
277
|
-
} from "./index-
|
|
277
|
+
} from "./index-8sz9t8s2.js";
|
|
278
278
|
import {
|
|
279
279
|
isPathWithinDeclaredScope,
|
|
280
280
|
sanitizeDiagnosticText
|
|
@@ -326,7 +326,7 @@ import {
|
|
|
326
326
|
transactFile,
|
|
327
327
|
transactKnowledge,
|
|
328
328
|
wordBigrams
|
|
329
|
-
} from "./index-
|
|
329
|
+
} from "./index-3vescfdb.js";
|
|
330
330
|
import {
|
|
331
331
|
MAX_EVENT_LOG_ENTRIES,
|
|
332
332
|
_internals as _internals2,
|
|
@@ -340,10 +340,10 @@ import {
|
|
|
340
340
|
recordKnowledgeEvent,
|
|
341
341
|
recordPhaseCloseIntent,
|
|
342
342
|
resolveKnowledgeEventsPath
|
|
343
|
-
} from "./index-
|
|
343
|
+
} from "./index-dmbvep3q.js";
|
|
344
344
|
import {
|
|
345
345
|
resolveWorktreeIsolationConfig
|
|
346
|
-
} from "./index-
|
|
346
|
+
} from "./index-dh85aep3.js";
|
|
347
347
|
import {
|
|
348
348
|
RetrospectiveEvidenceSchema
|
|
349
349
|
} from "./index-gprxjmm7.js";
|
|
@@ -353,7 +353,7 @@ import {
|
|
|
353
353
|
init_loader,
|
|
354
354
|
loadPluginConfig,
|
|
355
355
|
loadPluginConfigWithMeta
|
|
356
|
-
} from "./index-
|
|
356
|
+
} from "./index-08d3pb9a.js";
|
|
357
357
|
import {
|
|
358
358
|
DEFAULT_SKILL_OPT_CONFIG,
|
|
359
359
|
FALLBACK_MODELS_MAX,
|
|
@@ -367,7 +367,7 @@ import {
|
|
|
367
367
|
package_default,
|
|
368
368
|
resolveAutoReviewConfig,
|
|
369
369
|
stripKnownSwarmPrefix
|
|
370
|
-
} from "./index-
|
|
370
|
+
} from "./index-65jw48eb.js";
|
|
371
371
|
import {
|
|
372
372
|
AGENT_TOOL_MAP,
|
|
373
373
|
ALL_AGENT_NAMES,
|
|
@@ -5604,7 +5604,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
|
|
|
5604
5604
|
awaitingMergeByCallID,
|
|
5605
5605
|
cleanupStandardWorktreeForCallId,
|
|
5606
5606
|
standardWorktreeByCallID
|
|
5607
|
-
} = await import("./worktree-isolation-
|
|
5607
|
+
} = await import("./worktree-isolation-vg6g00mq.js");
|
|
5608
5608
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
5609
5609
|
if (hasResidue)
|
|
5610
5610
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -5706,7 +5706,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
5706
5706
|
awaitingMergeByCallID,
|
|
5707
5707
|
finishStandardWorktreeDispatch,
|
|
5708
5708
|
standardWorktreeByCallID
|
|
5709
|
-
} = await import("./worktree-isolation-
|
|
5709
|
+
} = await import("./worktree-isolation-vg6g00mq.js");
|
|
5710
5710
|
const descriptor = wal.worktree;
|
|
5711
5711
|
const reconstructedDispatch = {
|
|
5712
5712
|
callID: descriptor.callID,
|
|
@@ -18382,7 +18382,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
|
|
|
18382
18382
|
};
|
|
18383
18383
|
}
|
|
18384
18384
|
async function sweepActiveNearDuplicates(directory, options = {}) {
|
|
18385
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
18385
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-hwfs0ze1.js");
|
|
18386
18386
|
const { config } = loadPluginConfigWithMeta2(directory);
|
|
18387
18387
|
const sweepConfig = config.learning?.dedup_sweep;
|
|
18388
18388
|
if (sweepConfig?.enabled === false)
|
|
@@ -19500,7 +19500,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
|
|
|
19500
19500
|
}
|
|
19501
19501
|
if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
|
|
19502
19502
|
try {
|
|
19503
|
-
const skillModule = await import("./skill-generator-
|
|
19503
|
+
const skillModule = await import("./skill-generator-z70bhhx9.js");
|
|
19504
19504
|
for (const cand of skillCandidates) {
|
|
19505
19505
|
if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
|
|
19506
19506
|
continue;
|
|
@@ -19972,7 +19972,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
|
|
|
19972
19972
|
} catch {}
|
|
19973
19973
|
}
|
|
19974
19974
|
if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
|
|
19975
|
-
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-
|
|
19975
|
+
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-jxpz0mv5.js");
|
|
19976
19976
|
for (const { id } of contradictedEntries) {
|
|
19977
19977
|
try {
|
|
19978
19978
|
await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
|
|
@@ -20791,7 +20791,7 @@ async function runCuratorPostMortem(directory, options = {}) {
|
|
|
20791
20791
|
warnings.push("Failed to collect knowledge summary.");
|
|
20792
20792
|
}
|
|
20793
20793
|
try {
|
|
20794
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
20794
|
+
const { getScanStatus } = await import("./scan-cursor-7xbrxm2c.js");
|
|
20795
20795
|
const scanStatus = await getScanStatus(directory);
|
|
20796
20796
|
if (scanStatus.remaining_estimate > 0) {
|
|
20797
20797
|
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.`);
|
|
@@ -20963,9 +20963,9 @@ var _internals26 = {
|
|
|
20963
20963
|
verifyPostMortemKnowledgeActions,
|
|
20964
20964
|
repairPostMortemActions,
|
|
20965
20965
|
loadDefaultKnowledgeConfig: async (directory) => {
|
|
20966
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
20966
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-gcjdpfr9.js");
|
|
20967
20967
|
try {
|
|
20968
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
20968
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-hwfs0ze1.js");
|
|
20969
20969
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
20970
20970
|
return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
20971
20971
|
} catch {
|
|
@@ -20973,11 +20973,11 @@ var _internals26 = {
|
|
|
20973
20973
|
}
|
|
20974
20974
|
},
|
|
20975
20975
|
applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
|
|
20976
|
-
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-
|
|
20976
|
+
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-bsr0xx05.js");
|
|
20977
20977
|
return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
|
|
20978
20978
|
},
|
|
20979
20979
|
checkHivePromotions: async (entries, knowledgeConfig, directory) => {
|
|
20980
|
-
const { checkHivePromotions } = await import("./hive-promoter-
|
|
20980
|
+
const { checkHivePromotions } = await import("./hive-promoter-w7cr6qym.js");
|
|
20981
20981
|
return checkHivePromotions(entries, knowledgeConfig, directory);
|
|
20982
20982
|
},
|
|
20983
20983
|
applyProposalTriage: async (directory, triage) => {
|
|
@@ -20986,7 +20986,7 @@ var _internals26 = {
|
|
|
20986
20986
|
activateProposal,
|
|
20987
20987
|
listSkills: listSkills2,
|
|
20988
20988
|
sanitizeSlug
|
|
20989
|
-
} = await import("./skill-generator-
|
|
20989
|
+
} = await import("./skill-generator-z70bhhx9.js");
|
|
20990
20990
|
const result = {
|
|
20991
20991
|
approved: [],
|
|
20992
20992
|
rejected: [],
|
|
@@ -22322,9 +22322,9 @@ function hashContent(content) {
|
|
|
22322
22322
|
return createHash10("sha1").update(content).digest("hex");
|
|
22323
22323
|
}
|
|
22324
22324
|
async function loadConfigForPolicyCurator(directory) {
|
|
22325
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
22325
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-gcjdpfr9.js");
|
|
22326
22326
|
try {
|
|
22327
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
22327
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-hwfs0ze1.js");
|
|
22328
22328
|
const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
|
|
22329
22329
|
return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
|
|
22330
22330
|
} catch {
|
|
@@ -33520,7 +33520,7 @@ async function runFinalizeStage(ctx) {
|
|
|
33520
33520
|
}
|
|
33521
33521
|
}
|
|
33522
33522
|
try {
|
|
33523
|
-
const { CuratorConfigSchema: CCS } = await import("./schema-
|
|
33523
|
+
const { CuratorConfigSchema: CCS } = await import("./schema-gcjdpfr9.js");
|
|
33524
33524
|
const { config: pmLoadedConfig } = _internals41.loadPluginConfigWithMeta(ctx.directory);
|
|
33525
33525
|
const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
|
|
33526
33526
|
if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
|
|
@@ -35713,9 +35713,9 @@ var _internals45 = {
|
|
|
35713
35713
|
loadPluginConfigWithMeta,
|
|
35714
35714
|
loadCuratorDeps: async () => {
|
|
35715
35715
|
const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
|
|
35716
|
-
import("./schema-
|
|
35717
|
-
import("./curator-
|
|
35718
|
-
import("./curator-llm-factory-
|
|
35716
|
+
import("./schema-gcjdpfr9.js"),
|
|
35717
|
+
import("./curator-bsr0xx05.js"),
|
|
35718
|
+
import("./curator-llm-factory-sdxsn88r.js")
|
|
35719
35719
|
]);
|
|
35720
35720
|
return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
|
|
35721
35721
|
}
|
|
@@ -36705,7 +36705,7 @@ async function computeCurationDiagnostics(directory, entries) {
|
|
|
36705
36705
|
let scanCompleted = false;
|
|
36706
36706
|
let scanRemaining = 0;
|
|
36707
36707
|
try {
|
|
36708
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
36708
|
+
const { getScanStatus } = await import("./scan-cursor-7xbrxm2c.js");
|
|
36709
36709
|
const status = await getScanStatus(directory);
|
|
36710
36710
|
scanGeneration = status.generation;
|
|
36711
36711
|
scanCompleted = status.completed;
|
|
@@ -36715,10 +36715,10 @@ async function computeCurationDiagnostics(directory, entries) {
|
|
|
36715
36715
|
try {
|
|
36716
36716
|
const { isLinked: isLinked2 } = await import("./knowledge-link-5dctq0ax.js");
|
|
36717
36717
|
if (isLinked2(directory)) {
|
|
36718
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
36718
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-gcjdpfr9.js");
|
|
36719
36719
|
let config;
|
|
36720
36720
|
try {
|
|
36721
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
36721
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-hwfs0ze1.js");
|
|
36722
36722
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
36723
36723
|
config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
36724
36724
|
} catch {
|
|
@@ -38029,7 +38029,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
38029
38029
|
const result = runConfigDoctor(config, directory);
|
|
38030
38030
|
let output;
|
|
38031
38031
|
if (enableAutoFix && result.hasAutoFixableIssues) {
|
|
38032
|
-
const { runConfigDoctorWithFixes } = await import("./config-doctor-
|
|
38032
|
+
const { runConfigDoctorWithFixes } = await import("./config-doctor-q3fw9744.js");
|
|
38033
38033
|
const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
|
|
38034
38034
|
applyLossy: true
|
|
38035
38035
|
});
|
|
@@ -38969,7 +38969,7 @@ async function handleEvidenceCommand(directory, args) {
|
|
|
38969
38969
|
return formatTaskEvidenceMarkdown(evidenceData);
|
|
38970
38970
|
}
|
|
38971
38971
|
async function handleEvidenceSummaryCommand(directory) {
|
|
38972
|
-
const { buildEvidenceSummary } = await import("./evidence-summary-service-
|
|
38972
|
+
const { buildEvidenceSummary } = await import("./evidence-summary-service-rk5exnrk.js");
|
|
38973
38973
|
const artifact = await buildEvidenceSummary(directory);
|
|
38974
38974
|
if (!artifact) {
|
|
38975
38975
|
return "No plan found. Run `/swarm plan` to check plan status.";
|
|
@@ -70227,7 +70227,7 @@ function buildDetailedHelp(commandName, entry) {
|
|
|
70227
70227
|
async function handleHelpCommand(ctx) {
|
|
70228
70228
|
const targetCommand = ctx.args.join(" ");
|
|
70229
70229
|
if (!targetCommand) {
|
|
70230
|
-
const { buildHelpText } = await import("./index-
|
|
70230
|
+
const { buildHelpText } = await import("./index-kn36sxj0.js");
|
|
70231
70231
|
return buildHelpText();
|
|
70232
70232
|
}
|
|
70233
70233
|
const tokens = targetCommand.split(/\s+/);
|
|
@@ -70236,7 +70236,7 @@ async function handleHelpCommand(ctx) {
|
|
|
70236
70236
|
return _internals98.buildDetailedHelp(resolved.key, resolved.entry);
|
|
70237
70237
|
}
|
|
70238
70238
|
const similar = _internals98.findSimilarCommands(targetCommand);
|
|
70239
|
-
const { buildHelpText: fullHelp } = await import("./index-
|
|
70239
|
+
const { buildHelpText: fullHelp } = await import("./index-kn36sxj0.js");
|
|
70240
70240
|
if (similar.length > 0) {
|
|
70241
70241
|
return `Command '/swarm ${targetCommand}' not found.
|
|
70242
70242
|
|
|
@@ -70416,7 +70416,7 @@ var COMMAND_REGISTRY = {
|
|
|
70416
70416
|
},
|
|
70417
70417
|
"guardrail explain": {
|
|
70418
70418
|
handler: async (ctx) => {
|
|
70419
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
70419
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-fnnka0vt.js");
|
|
70420
70420
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
70421
70421
|
},
|
|
70422
70422
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -70426,7 +70426,7 @@ var COMMAND_REGISTRY = {
|
|
|
70426
70426
|
},
|
|
70427
70427
|
"guardrail reset": {
|
|
70428
70428
|
handler: async (ctx) => {
|
|
70429
|
-
const { handleGuardrailReset } = await import("./guardrail-reset-
|
|
70429
|
+
const { handleGuardrailReset } = await import("./guardrail-reset-kk1rdmm0.js");
|
|
70430
70430
|
return handleGuardrailReset(ctx.args, ctx.sessionID);
|
|
70431
70431
|
},
|
|
70432
70432
|
description: "Reset one exact active invocation/action circuit after repair",
|
|
@@ -70435,7 +70435,7 @@ var COMMAND_REGISTRY = {
|
|
|
70435
70435
|
},
|
|
70436
70436
|
"guardrail-explain": {
|
|
70437
70437
|
handler: async (ctx) => {
|
|
70438
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
70438
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-fnnka0vt.js");
|
|
70439
70439
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
70440
70440
|
},
|
|
70441
70441
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -70445,7 +70445,7 @@ var COMMAND_REGISTRY = {
|
|
|
70445
70445
|
},
|
|
70446
70446
|
"guardrail-reset": {
|
|
70447
70447
|
handler: async (ctx) => {
|
|
70448
|
-
const { handleGuardrailReset } = await import("./guardrail-reset-
|
|
70448
|
+
const { handleGuardrailReset } = await import("./guardrail-reset-kk1rdmm0.js");
|
|
70449
70449
|
return handleGuardrailReset(ctx.args, ctx.sessionID);
|
|
70450
70450
|
},
|
|
70451
70451
|
description: "Reset one exact active invocation/action circuit after repair",
|
|
@@ -70455,7 +70455,7 @@ var COMMAND_REGISTRY = {
|
|
|
70455
70455
|
},
|
|
70456
70456
|
"guardrail-log": {
|
|
70457
70457
|
handler: async (ctx) => {
|
|
70458
|
-
const { handleGuardrailLog } = await import("./guardrail-log-
|
|
70458
|
+
const { handleGuardrailLog } = await import("./guardrail-log-gsx9kj51.js");
|
|
70459
70459
|
return handleGuardrailLog(ctx.directory, ctx.args);
|
|
70460
70460
|
},
|
|
70461
70461
|
description: "Read the guardrail decision log (use --blocks-only for blocks)",
|
|
@@ -77446,7 +77446,7 @@ async function precreateStandardWorktreeSession(args) {
|
|
|
77446
77446
|
const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, provisionResult.worktreePath);
|
|
77447
77447
|
if (laneProfile) {
|
|
77448
77448
|
try {
|
|
77449
|
-
const { writeLaneProfileToDiskReal } = await import("./core-
|
|
77449
|
+
const { writeLaneProfileToDiskReal } = await import("./core-y72nw57z.js");
|
|
77450
77450
|
await writeLaneProfileToDiskReal(provisionResult.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
|
|
77451
77451
|
} catch {}
|
|
77452
77452
|
}
|
|
@@ -78104,7 +78104,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
|
|
|
78104
78104
|
}
|
|
78105
78105
|
clearWorktreeMergeStatus(statusKey);
|
|
78106
78106
|
try {
|
|
78107
|
-
const { removeLaneProfileFromDiskReal } = await import("./core-
|
|
78107
|
+
const { removeLaneProfileFromDiskReal } = await import("./core-y72nw57z.js");
|
|
78108
78108
|
await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
|
|
78109
78109
|
} catch {}
|
|
78110
78110
|
const state = serializationStateBySessionID.get(dispatch.parentSessionID);
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-3vescfdb.js";
|
|
10
10
|
import {
|
|
11
11
|
queryHistoricalOutcomes,
|
|
12
12
|
readKnowledgeEvents,
|
|
13
13
|
recordKnowledgeEvent
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-dmbvep3q.js";
|
|
15
15
|
import {
|
|
16
16
|
init_knowledge_types,
|
|
17
17
|
isActiveStatus
|
|
@@ -224,11 +224,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
224
224
|
alreadyInactive: true
|
|
225
225
|
};
|
|
226
226
|
}
|
|
227
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
227
|
+
const { quarantineEntry } = await import("./knowledge-validator-56w52rwr.js");
|
|
228
228
|
let policyConfig;
|
|
229
229
|
try {
|
|
230
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
231
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
230
|
+
const { KnowledgeConfigSchema } = await import("./schema-gcjdpfr9.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-hwfs0ze1.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
readTaskEvidence,
|
|
24
24
|
readTaskEvidenceRaw,
|
|
25
25
|
sanitizeTaskId
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-2d582j6q.js";
|
|
27
27
|
import {
|
|
28
28
|
LedgerStaleWriterError,
|
|
29
29
|
appendLedgerEvent,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
replayFromLedgerWithStatus,
|
|
44
44
|
takeSnapshotEvent,
|
|
45
45
|
takeSnapshotWithRetry
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-8sz9t8s2.js";
|
|
47
47
|
import {
|
|
48
48
|
init_executor,
|
|
49
49
|
isUntrustedEnvKey,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
} from "./index-gprxjmm7.js";
|
|
57
57
|
import {
|
|
58
58
|
PlanSchema
|
|
59
|
-
} from "./index-
|
|
59
|
+
} from "./index-08d3pb9a.js";
|
|
60
60
|
import {
|
|
61
61
|
GIT_BINARY_ENV_VAR,
|
|
62
62
|
describeGitResolution,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-08d3pb9a.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-65jw48eb.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
loadPluginConfigWithMeta
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-08d3pb9a.js";
|
|
5
5
|
import {
|
|
6
6
|
KnowledgeConfigSchema,
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-65jw48eb.js";
|
|
9
9
|
import {
|
|
10
10
|
validateSwarmPath
|
|
11
11
|
} from "./index-4cgee5vh.js";
|
|
@@ -2693,7 +2693,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2693
2693
|
}
|
|
2694
2694
|
let bumps = 0;
|
|
2695
2695
|
if (deltas.length > 0) {
|
|
2696
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2696
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-j9bzs7zx.js");
|
|
2697
2697
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2698
2698
|
}
|
|
2699
2699
|
return {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-8sz9t8s2.js";
|
|
6
6
|
import {
|
|
7
7
|
unsafePathTextReason
|
|
8
8
|
} from "./index-556ja8an.js";
|
|
9
9
|
import {
|
|
10
10
|
PlanSchema
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-08d3pb9a.js";
|
|
12
12
|
import {
|
|
13
13
|
validateSwarmPath
|
|
14
14
|
} from "./index-4cgee5vh.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-dh85aep3.js";
|
|
6
6
|
import {
|
|
7
7
|
ApprovalEvidenceSchema,
|
|
8
8
|
BaseEvidenceSchema,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
loadPluginConfig,
|
|
43
43
|
loadPluginConfigWithMeta,
|
|
44
44
|
loadPluginConfigWithMetaAsync
|
|
45
|
-
} from "./index-
|
|
45
|
+
} from "./index-08d3pb9a.js";
|
|
46
46
|
import {
|
|
47
47
|
AUTO_REVIEW_V8_BURN_IN_DECISION,
|
|
48
48
|
AgentOverrideConfigSchema,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
TurboConfigSchema,
|
|
65
65
|
WorktreeIsolationConfigSchema,
|
|
66
66
|
resolveAutoReviewConfig
|
|
67
|
-
} from "./index-
|
|
67
|
+
} from "./index-65jw48eb.js";
|
|
68
68
|
import {
|
|
69
69
|
ALL_AGENT_NAMES,
|
|
70
70
|
ALL_SUBAGENT_NAMES,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-4aqnb12y.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-b0703hjg.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -85,48 +85,48 @@ import {
|
|
|
85
85
|
handleWriteRetroCommand,
|
|
86
86
|
normalizeSwarmCommandInput,
|
|
87
87
|
resolveCommand
|
|
88
|
-
} from "./index-
|
|
88
|
+
} from "./index-7a41ca8k.js";
|
|
89
89
|
import"./index-ebt47fnp.js";
|
|
90
|
-
import"./index-
|
|
91
|
-
import"./index-
|
|
92
|
-
import"./index-
|
|
90
|
+
import"./index-et35gcph.js";
|
|
91
|
+
import"./index-fp9d0e6f.js";
|
|
92
|
+
import"./index-c9xfy8yj.js";
|
|
93
93
|
import"./index-x4kgn37c.js";
|
|
94
94
|
import"./index-134d35c1.js";
|
|
95
95
|
import"./index-nj6rmyeh.js";
|
|
96
96
|
import"./index-y8552snf.js";
|
|
97
|
-
import"./index-
|
|
98
|
-
import"./index-
|
|
97
|
+
import"./index-afwwz4py.js";
|
|
98
|
+
import"./index-8y79znpe.js";
|
|
99
99
|
import"./index-70ha9e09.js";
|
|
100
100
|
import"./index-c8s9a3zh.js";
|
|
101
101
|
import"./index-9ss2m4rs.js";
|
|
102
102
|
import"./index-g8wwj0sz.js";
|
|
103
103
|
import"./index-2n9rwvcc.js";
|
|
104
|
-
import"./index-
|
|
105
|
-
import"./index-
|
|
104
|
+
import"./index-xq8eydnk.js";
|
|
105
|
+
import"./index-8w63kj4x.js";
|
|
106
106
|
import"./index-r9g7ymv2.js";
|
|
107
107
|
import"./index-rtry5xyf.js";
|
|
108
108
|
import"./index-zsrtt42s.js";
|
|
109
109
|
import"./index-092deqxs.js";
|
|
110
110
|
import"./index-fxvgaeq4.js";
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
114
|
-
import"./index-
|
|
111
|
+
import"./index-2d582j6q.js";
|
|
112
|
+
import"./index-y8kppv1z.js";
|
|
113
|
+
import"./index-harsx832.js";
|
|
114
|
+
import"./index-8sz9t8s2.js";
|
|
115
115
|
import"./index-556ja8an.js";
|
|
116
116
|
import"./index-b43rt5ph.js";
|
|
117
117
|
import"./index-q7sjgr1y.js";
|
|
118
118
|
import"./index-3g0xk6tk.js";
|
|
119
119
|
import"./index-85gkedsf.js";
|
|
120
|
-
import"./index-
|
|
121
|
-
import"./index-
|
|
122
|
-
import"./index-
|
|
120
|
+
import"./index-3vescfdb.js";
|
|
121
|
+
import"./index-dmbvep3q.js";
|
|
122
|
+
import"./index-dh85aep3.js";
|
|
123
123
|
import"./index-gprxjmm7.js";
|
|
124
124
|
import"./index-n832052r.js";
|
|
125
|
-
import"./index-
|
|
125
|
+
import"./index-08d3pb9a.js";
|
|
126
126
|
import {
|
|
127
127
|
init_schema,
|
|
128
128
|
stripKnownSwarmPrefix
|
|
129
|
-
} from "./index-
|
|
129
|
+
} from "./index-65jw48eb.js";
|
|
130
130
|
import {
|
|
131
131
|
AGENT_TOOL_MAP,
|
|
132
132
|
ORCHESTRATOR_NAME,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
4
4
|
validateSkillPath
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-8w63kj4x.js";
|
|
6
6
|
import {
|
|
7
7
|
withTimeoutSignal
|
|
8
8
|
} from "./index-q7sjgr1y.js";
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
resolveHiveKnowledgePath,
|
|
13
13
|
resolveSwarmKnowledgePath,
|
|
14
14
|
transactKnowledge
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-3vescfdb.js";
|
|
16
16
|
import {
|
|
17
17
|
effectiveRetrievalOutcomes,
|
|
18
18
|
readAuthoritativeKnowledgeCounterRollups
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-dmbvep3q.js";
|
|
20
20
|
import {
|
|
21
21
|
advisoryWarn,
|
|
22
22
|
init_warning_buffer
|