opencode-swarm 7.146.4 → 7.146.5
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-578ebqhn.js → config-doctor-28e6h9ex.js} +2 -2
- package/dist/cli/{core-2ne03a43.js → core-n57ssze0.js} +1 -1
- package/dist/cli/{curator-w52frg17.js → curator-e6p9vysv.js} +17 -17
- package/dist/cli/{curator-llm-factory-6hgn7p6n.js → curator-llm-factory-bzvv3grb.js} +17 -17
- package/dist/cli/{evidence-summary-service-nj4p6a0d.js → evidence-summary-service-b2xp0m26.js} +6 -6
- package/dist/cli/{gate-evidence-4vnjdh9y.js → gate-evidence-fmbx6hp1.js} +2 -2
- package/dist/cli/{guardrail-explain-rq01z1yz.js → guardrail-explain-g1nqbz0j.js} +18 -18
- package/dist/cli/{guardrail-log-ratb651f.js → guardrail-log-1bbg0vx4.js} +3 -3
- package/dist/cli/{hive-promoter-pbm9kee1.js → hive-promoter-trew6apr.js} +17 -17
- package/dist/cli/{index-6eycwm3v.js → index-0pya01vw.js} +3 -3
- package/dist/cli/{index-jgwhpza8.js → index-52460nma.js} +2 -2
- package/dist/cli/{index-g335vrc7.js → index-53asfj0j.js} +1 -1
- package/dist/cli/{index-ffqdah8s.js → index-55g08cg2.js} +5 -5
- package/dist/cli/{index-fp2d44f5.js → index-7pggq9ys.js} +1 -1
- package/dist/cli/{index-5cbbtbvf.js → index-aybph866.js} +3 -3
- package/dist/cli/{index-dp5w9s5z.js → index-cp8jp4cv.js} +3 -3
- package/dist/cli/{index-kjmcp9mf.js → index-cpzra8my.js} +1 -1
- package/dist/cli/{index-bq4mvwht.js → index-cyxdm0v3.js} +2 -2
- package/dist/cli/{index-1mbdwy12.js → index-d3t7q4b8.js} +1 -1
- package/dist/cli/{index-xsxj4vbf.js → index-fjhc8mk2.js} +1 -1
- package/dist/cli/{index-vdrwj7z0.js → index-fymrwjak.js} +3 -3
- package/dist/cli/{index-3neh2mxk.js → index-gqx0rq53.js} +1 -1
- package/dist/cli/{index-df8xj9hr.js → index-hn0hvgtt.js} +1 -1
- package/dist/cli/{index-g2r8nknz.js → index-ktpj357z.js} +1 -1
- package/dist/cli/{index-brb64k96.js → index-npw2xm46.js} +45 -45
- package/dist/cli/{index-wesj94x0.js → index-p4ar0k0n.js} +2 -2
- package/dist/cli/{index-gr3zfcsh.js → index-rqgnad5w.js} +1 -1
- package/dist/cli/{index-96zkay2e.js → index-vjkfhqef.js} +1 -1
- package/dist/cli/{index-t798v5pq.js → index-ymyv4d36.js} +19 -19
- package/dist/cli/{index-kv2j4cnq.js → index-zqmzn9hk.js} +4 -4
- package/dist/cli/index.js +17 -17
- package/dist/cli/{knowledge-escalator-jbazxmk5.js → knowledge-escalator-dyrrftth.js} +6 -6
- package/dist/cli/{knowledge-events-jyqy3st8.js → knowledge-events-hqrwgn29.js} +4 -4
- package/dist/cli/{knowledge-store-e2defagd.js → knowledge-store-fn7whe2j.js} +1 -1
- package/dist/cli/{knowledge-validator-pnmdsw2b.js → knowledge-validator-6zb1j8c4.js} +2 -2
- package/dist/cli/{scan-cursor-snx85enn.js → scan-cursor-m04qgx82.js} +2 -2
- package/dist/cli/{schema-6rmxzg6g.js → schema-40w13gdv.js} +1 -1
- package/dist/cli/{scope-persistence-23cqafkx.js → scope-persistence-fz2r889v.js} +4 -4
- package/dist/cli/{skill-generator-980zjk9q.js → skill-generator-413k36q9.js} +7 -7
- package/dist/cli/{worktree-isolation-4d0nc04c.js → worktree-isolation-50afhbga.js} +17 -17
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
} from "./index-hcb25p12.js";
|
|
10
10
|
import {
|
|
11
11
|
stableCanonicalStringify
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-fjhc8mk2.js";
|
|
13
13
|
import {
|
|
14
14
|
detectStraySwarmDirs,
|
|
15
15
|
readDoctorArtifact,
|
|
16
16
|
removeStraySwarmDir,
|
|
17
17
|
runConfigDoctor
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-d3t7q4b8.js";
|
|
19
19
|
import {
|
|
20
20
|
MAX_TRANSIENT_RETRIES,
|
|
21
21
|
archiveEvidence,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
updateTaskStatus,
|
|
62
62
|
validateProjectRoot,
|
|
63
63
|
validateSymlinkBoundary
|
|
64
|
-
} from "./index-
|
|
64
|
+
} from "./index-0pya01vw.js";
|
|
65
65
|
import {
|
|
66
66
|
EvaluationTaskV1Schema,
|
|
67
67
|
GateAuditManifestV1Schema,
|
|
@@ -104,12 +104,12 @@ import {
|
|
|
104
104
|
} from "./index-y8552snf.js";
|
|
105
105
|
import {
|
|
106
106
|
readRecentEscalations
|
|
107
|
-
} from "./index-
|
|
107
|
+
} from "./index-55g08cg2.js";
|
|
108
108
|
import {
|
|
109
109
|
alreadyCuratedThisGeneration,
|
|
110
110
|
claimNextScanBatch,
|
|
111
111
|
resolveCohortId
|
|
112
|
-
} from "./index-
|
|
112
|
+
} from "./index-ktpj357z.js";
|
|
113
113
|
import {
|
|
114
114
|
CURATOR_INIT_PROMPT,
|
|
115
115
|
CURATOR_PHASE_PROMPT,
|
|
@@ -179,7 +179,7 @@ import {
|
|
|
179
179
|
retireSkill,
|
|
180
180
|
selectCandidateEntries,
|
|
181
181
|
syncBundledProjectSkillsIfMissingAsync
|
|
182
|
-
} from "./index-
|
|
182
|
+
} from "./index-fymrwjak.js";
|
|
183
183
|
import {
|
|
184
184
|
appendUnactionable,
|
|
185
185
|
quarantineEntry,
|
|
@@ -190,7 +190,7 @@ import {
|
|
|
190
190
|
validateActionableFields,
|
|
191
191
|
validateLesson,
|
|
192
192
|
validateSkillPath
|
|
193
|
-
} from "./index-
|
|
193
|
+
} from "./index-53asfj0j.js";
|
|
194
194
|
import {
|
|
195
195
|
authorizeCuration,
|
|
196
196
|
buildConfigFingerprintInput
|
|
@@ -247,18 +247,18 @@ import {
|
|
|
247
247
|
transitionTaskWorkflowEvidence,
|
|
248
248
|
withTaskEvidenceTransaction,
|
|
249
249
|
writeWorkflowWalFile
|
|
250
|
-
} from "./index-
|
|
250
|
+
} from "./index-vjkfhqef.js";
|
|
251
251
|
import {
|
|
252
252
|
provisionWorktree,
|
|
253
253
|
removeWorktree
|
|
254
|
-
} from "./index-
|
|
254
|
+
} from "./index-cpzra8my.js";
|
|
255
255
|
import {
|
|
256
256
|
MAX_PENDING_SCOPE_BINDINGS,
|
|
257
257
|
canonicalWorkspaceIdentity,
|
|
258
258
|
clearAllScopes,
|
|
259
259
|
clearScopeBindingFromDisk,
|
|
260
260
|
clearScopeBindings
|
|
261
|
-
} from "./index-
|
|
261
|
+
} from "./index-p4ar0k0n.js";
|
|
262
262
|
import {
|
|
263
263
|
appendLedgerEvent,
|
|
264
264
|
computePlanHash,
|
|
@@ -273,7 +273,7 @@ import {
|
|
|
273
273
|
readPlanEpochIdentity,
|
|
274
274
|
replayFromLedgerWithStatus,
|
|
275
275
|
takeSnapshotEvent
|
|
276
|
-
} from "./index-
|
|
276
|
+
} from "./index-hn0hvgtt.js";
|
|
277
277
|
import {
|
|
278
278
|
isPathWithinDeclaredScope,
|
|
279
279
|
sanitizeDiagnosticText
|
|
@@ -324,7 +324,7 @@ import {
|
|
|
324
324
|
transactFile,
|
|
325
325
|
transactKnowledge,
|
|
326
326
|
wordBigrams
|
|
327
|
-
} from "./index-
|
|
327
|
+
} from "./index-zqmzn9hk.js";
|
|
328
328
|
import {
|
|
329
329
|
MAX_EVENT_LOG_ENTRIES,
|
|
330
330
|
_internals as _internals2,
|
|
@@ -338,10 +338,10 @@ import {
|
|
|
338
338
|
recordKnowledgeEvent,
|
|
339
339
|
recordPhaseCloseIntent,
|
|
340
340
|
resolveKnowledgeEventsPath
|
|
341
|
-
} from "./index-
|
|
341
|
+
} from "./index-cp8jp4cv.js";
|
|
342
342
|
import {
|
|
343
343
|
resolveWorktreeIsolationConfig
|
|
344
|
-
} from "./index-
|
|
344
|
+
} from "./index-cyxdm0v3.js";
|
|
345
345
|
import {
|
|
346
346
|
RetrospectiveEvidenceSchema
|
|
347
347
|
} from "./index-gprxjmm7.js";
|
|
@@ -351,7 +351,7 @@ import {
|
|
|
351
351
|
init_loader,
|
|
352
352
|
loadPluginConfig,
|
|
353
353
|
loadPluginConfigWithMeta
|
|
354
|
-
} from "./index-
|
|
354
|
+
} from "./index-gqx0rq53.js";
|
|
355
355
|
import {
|
|
356
356
|
DEFAULT_SKILL_OPT_CONFIG,
|
|
357
357
|
FALLBACK_MODELS_MAX,
|
|
@@ -365,7 +365,7 @@ import {
|
|
|
365
365
|
package_default,
|
|
366
366
|
resolveAutoReviewConfig,
|
|
367
367
|
stripKnownSwarmPrefix
|
|
368
|
-
} from "./index-
|
|
368
|
+
} from "./index-rqgnad5w.js";
|
|
369
369
|
import {
|
|
370
370
|
AGENT_TOOL_MAP,
|
|
371
371
|
ALL_AGENT_NAMES,
|
|
@@ -4286,7 +4286,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
|
|
|
4286
4286
|
awaitingMergeByCallID,
|
|
4287
4287
|
cleanupStandardWorktreeForCallId,
|
|
4288
4288
|
standardWorktreeByCallID
|
|
4289
|
-
} = await import("./worktree-isolation-
|
|
4289
|
+
} = await import("./worktree-isolation-50afhbga.js");
|
|
4290
4290
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
4291
4291
|
if (hasResidue)
|
|
4292
4292
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -4388,7 +4388,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
4388
4388
|
awaitingMergeByCallID,
|
|
4389
4389
|
finishStandardWorktreeDispatch,
|
|
4390
4390
|
standardWorktreeByCallID
|
|
4391
|
-
} = await import("./worktree-isolation-
|
|
4391
|
+
} = await import("./worktree-isolation-50afhbga.js");
|
|
4392
4392
|
const descriptor = wal.worktree;
|
|
4393
4393
|
const reconstructedDispatch = {
|
|
4394
4394
|
callID: descriptor.callID,
|
|
@@ -15831,7 +15831,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
|
|
|
15831
15831
|
};
|
|
15832
15832
|
}
|
|
15833
15833
|
async function sweepActiveNearDuplicates(directory, options = {}) {
|
|
15834
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
15834
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-aybph866.js");
|
|
15835
15835
|
const { config } = loadPluginConfigWithMeta2(directory);
|
|
15836
15836
|
const sweepConfig = config.learning?.dedup_sweep;
|
|
15837
15837
|
if (sweepConfig?.enabled === false)
|
|
@@ -16915,7 +16915,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
|
|
|
16915
16915
|
}
|
|
16916
16916
|
if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
|
|
16917
16917
|
try {
|
|
16918
|
-
const skillModule = await import("./skill-generator-
|
|
16918
|
+
const skillModule = await import("./skill-generator-413k36q9.js");
|
|
16919
16919
|
for (const cand of skillCandidates) {
|
|
16920
16920
|
if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
|
|
16921
16921
|
continue;
|
|
@@ -17375,7 +17375,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
|
|
|
17375
17375
|
} catch {}
|
|
17376
17376
|
}
|
|
17377
17377
|
if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
|
|
17378
|
-
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-
|
|
17378
|
+
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-dyrrftth.js");
|
|
17379
17379
|
for (const { id } of contradictedEntries) {
|
|
17380
17380
|
try {
|
|
17381
17381
|
await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
|
|
@@ -18194,7 +18194,7 @@ async function runCuratorPostMortem(directory, options = {}) {
|
|
|
18194
18194
|
warnings.push("Failed to collect knowledge summary.");
|
|
18195
18195
|
}
|
|
18196
18196
|
try {
|
|
18197
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
18197
|
+
const { getScanStatus } = await import("./scan-cursor-m04qgx82.js");
|
|
18198
18198
|
const scanStatus = await getScanStatus(directory);
|
|
18199
18199
|
if (scanStatus.remaining_estimate > 0) {
|
|
18200
18200
|
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.`);
|
|
@@ -18366,9 +18366,9 @@ var _internals24 = {
|
|
|
18366
18366
|
verifyPostMortemKnowledgeActions,
|
|
18367
18367
|
repairPostMortemActions,
|
|
18368
18368
|
loadDefaultKnowledgeConfig: async (directory) => {
|
|
18369
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
18369
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-40w13gdv.js");
|
|
18370
18370
|
try {
|
|
18371
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
18371
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-aybph866.js");
|
|
18372
18372
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
18373
18373
|
return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
18374
18374
|
} catch {
|
|
@@ -18376,11 +18376,11 @@ var _internals24 = {
|
|
|
18376
18376
|
}
|
|
18377
18377
|
},
|
|
18378
18378
|
applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
|
|
18379
|
-
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-
|
|
18379
|
+
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-e6p9vysv.js");
|
|
18380
18380
|
return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
|
|
18381
18381
|
},
|
|
18382
18382
|
checkHivePromotions: async (entries, knowledgeConfig, directory) => {
|
|
18383
|
-
const { checkHivePromotions } = await import("./hive-promoter-
|
|
18383
|
+
const { checkHivePromotions } = await import("./hive-promoter-trew6apr.js");
|
|
18384
18384
|
return checkHivePromotions(entries, knowledgeConfig, directory);
|
|
18385
18385
|
},
|
|
18386
18386
|
applyProposalTriage: async (directory, triage) => {
|
|
@@ -18389,7 +18389,7 @@ var _internals24 = {
|
|
|
18389
18389
|
activateProposal,
|
|
18390
18390
|
listSkills: listSkills2,
|
|
18391
18391
|
sanitizeSlug
|
|
18392
|
-
} = await import("./skill-generator-
|
|
18392
|
+
} = await import("./skill-generator-413k36q9.js");
|
|
18393
18393
|
const result = {
|
|
18394
18394
|
approved: [],
|
|
18395
18395
|
rejected: [],
|
|
@@ -19725,9 +19725,9 @@ function hashContent(content) {
|
|
|
19725
19725
|
return createHash8("sha1").update(content).digest("hex");
|
|
19726
19726
|
}
|
|
19727
19727
|
async function loadConfigForPolicyCurator(directory) {
|
|
19728
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
19728
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-40w13gdv.js");
|
|
19729
19729
|
try {
|
|
19730
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
19730
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-aybph866.js");
|
|
19731
19731
|
const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
|
|
19732
19732
|
return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
|
|
19733
19733
|
} catch {
|
|
@@ -30915,7 +30915,7 @@ async function runFinalizeStage(ctx) {
|
|
|
30915
30915
|
}
|
|
30916
30916
|
}
|
|
30917
30917
|
try {
|
|
30918
|
-
const { CuratorConfigSchema: CCS } = await import("./schema-
|
|
30918
|
+
const { CuratorConfigSchema: CCS } = await import("./schema-40w13gdv.js");
|
|
30919
30919
|
const { config: pmLoadedConfig } = _internals39.loadPluginConfigWithMeta(ctx.directory);
|
|
30920
30920
|
const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
|
|
30921
30921
|
if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
|
|
@@ -33108,9 +33108,9 @@ var _internals43 = {
|
|
|
33108
33108
|
loadPluginConfigWithMeta,
|
|
33109
33109
|
loadCuratorDeps: async () => {
|
|
33110
33110
|
const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
|
|
33111
|
-
import("./schema-
|
|
33112
|
-
import("./curator-
|
|
33113
|
-
import("./curator-llm-factory-
|
|
33111
|
+
import("./schema-40w13gdv.js"),
|
|
33112
|
+
import("./curator-e6p9vysv.js"),
|
|
33113
|
+
import("./curator-llm-factory-bzvv3grb.js")
|
|
33114
33114
|
]);
|
|
33115
33115
|
return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
|
|
33116
33116
|
}
|
|
@@ -34064,7 +34064,7 @@ async function computeCurationDiagnostics(directory, entries) {
|
|
|
34064
34064
|
let scanCompleted = false;
|
|
34065
34065
|
let scanRemaining = 0;
|
|
34066
34066
|
try {
|
|
34067
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
34067
|
+
const { getScanStatus } = await import("./scan-cursor-m04qgx82.js");
|
|
34068
34068
|
const status = await getScanStatus(directory);
|
|
34069
34069
|
scanGeneration = status.generation;
|
|
34070
34070
|
scanCompleted = status.completed;
|
|
@@ -34074,10 +34074,10 @@ async function computeCurationDiagnostics(directory, entries) {
|
|
|
34074
34074
|
try {
|
|
34075
34075
|
const { isLinked: isLinked2 } = await import("./knowledge-link-jkx8xjxp.js");
|
|
34076
34076
|
if (isLinked2(directory)) {
|
|
34077
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
34077
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-40w13gdv.js");
|
|
34078
34078
|
let config;
|
|
34079
34079
|
try {
|
|
34080
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
34080
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-aybph866.js");
|
|
34081
34081
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
34082
34082
|
config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
34083
34083
|
} catch {
|
|
@@ -35360,7 +35360,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
35360
35360
|
const result = runConfigDoctor(config, directory);
|
|
35361
35361
|
let output;
|
|
35362
35362
|
if (enableAutoFix && result.hasAutoFixableIssues) {
|
|
35363
|
-
const { runConfigDoctorWithFixes } = await import("./config-doctor-
|
|
35363
|
+
const { runConfigDoctorWithFixes } = await import("./config-doctor-28e6h9ex.js");
|
|
35364
35364
|
const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
|
|
35365
35365
|
applyLossy: true
|
|
35366
35366
|
});
|
|
@@ -36300,7 +36300,7 @@ async function handleEvidenceCommand(directory, args) {
|
|
|
36300
36300
|
return formatTaskEvidenceMarkdown(evidenceData);
|
|
36301
36301
|
}
|
|
36302
36302
|
async function handleEvidenceSummaryCommand(directory) {
|
|
36303
|
-
const { buildEvidenceSummary } = await import("./evidence-summary-service-
|
|
36303
|
+
const { buildEvidenceSummary } = await import("./evidence-summary-service-b2xp0m26.js");
|
|
36304
36304
|
const artifact = await buildEvidenceSummary(directory);
|
|
36305
36305
|
if (!artifact) {
|
|
36306
36306
|
return "No plan found. Run `/swarm plan` to check plan status.";
|
|
@@ -66091,7 +66091,7 @@ function buildDetailedHelp(commandName, entry) {
|
|
|
66091
66091
|
async function handleHelpCommand(ctx) {
|
|
66092
66092
|
const targetCommand = ctx.args.join(" ");
|
|
66093
66093
|
if (!targetCommand) {
|
|
66094
|
-
const { buildHelpText } = await import("./index-
|
|
66094
|
+
const { buildHelpText } = await import("./index-ymyv4d36.js");
|
|
66095
66095
|
return buildHelpText();
|
|
66096
66096
|
}
|
|
66097
66097
|
const tokens = targetCommand.split(/\s+/);
|
|
@@ -66100,7 +66100,7 @@ async function handleHelpCommand(ctx) {
|
|
|
66100
66100
|
return _internals94.buildDetailedHelp(resolved.key, resolved.entry);
|
|
66101
66101
|
}
|
|
66102
66102
|
const similar = _internals94.findSimilarCommands(targetCommand);
|
|
66103
|
-
const { buildHelpText: fullHelp } = await import("./index-
|
|
66103
|
+
const { buildHelpText: fullHelp } = await import("./index-ymyv4d36.js");
|
|
66104
66104
|
if (similar.length > 0) {
|
|
66105
66105
|
return `Command '/swarm ${targetCommand}' not found.
|
|
66106
66106
|
|
|
@@ -66277,7 +66277,7 @@ var COMMAND_REGISTRY = {
|
|
|
66277
66277
|
},
|
|
66278
66278
|
"guardrail explain": {
|
|
66279
66279
|
handler: async (ctx) => {
|
|
66280
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
66280
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-g1nqbz0j.js");
|
|
66281
66281
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
66282
66282
|
},
|
|
66283
66283
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -66287,7 +66287,7 @@ var COMMAND_REGISTRY = {
|
|
|
66287
66287
|
},
|
|
66288
66288
|
"guardrail-explain": {
|
|
66289
66289
|
handler: async (ctx) => {
|
|
66290
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
66290
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-g1nqbz0j.js");
|
|
66291
66291
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
66292
66292
|
},
|
|
66293
66293
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -66297,7 +66297,7 @@ var COMMAND_REGISTRY = {
|
|
|
66297
66297
|
},
|
|
66298
66298
|
"guardrail-log": {
|
|
66299
66299
|
handler: async (ctx) => {
|
|
66300
|
-
const { handleGuardrailLog } = await import("./guardrail-log-
|
|
66300
|
+
const { handleGuardrailLog } = await import("./guardrail-log-1bbg0vx4.js");
|
|
66301
66301
|
return handleGuardrailLog(ctx.directory, ctx.args);
|
|
66302
66302
|
},
|
|
66303
66303
|
description: "Read the guardrail decision log (use --blocks-only for blocks)",
|
|
@@ -73903,7 +73903,7 @@ async function precreateStandardWorktreeSession(args) {
|
|
|
73903
73903
|
const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, provisionResult.worktreePath);
|
|
73904
73904
|
if (laneProfile) {
|
|
73905
73905
|
try {
|
|
73906
|
-
const { writeLaneProfileToDiskReal } = await import("./core-
|
|
73906
|
+
const { writeLaneProfileToDiskReal } = await import("./core-n57ssze0.js");
|
|
73907
73907
|
await writeLaneProfileToDiskReal(provisionResult.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
|
|
73908
73908
|
} catch {}
|
|
73909
73909
|
}
|
|
@@ -74561,7 +74561,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
|
|
|
74561
74561
|
}
|
|
74562
74562
|
clearWorktreeMergeStatus(statusKey);
|
|
74563
74563
|
try {
|
|
74564
|
-
const { removeLaneProfileFromDiskReal } = await import("./core-
|
|
74564
|
+
const { removeLaneProfileFromDiskReal } = await import("./core-n57ssze0.js");
|
|
74565
74565
|
await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
|
|
74566
74566
|
} catch {}
|
|
74567
74567
|
const state = serializationStateBySessionID.get(dispatch.parentSessionID);
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-hn0hvgtt.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-gqx0rq53.js";
|
|
12
12
|
import {
|
|
13
13
|
validateSwarmPath
|
|
14
14
|
} from "./index-w8pgjr75.js";
|
|
@@ -21,7 +21,7 @@ var package_default;
|
|
|
21
21
|
var init_package = __esm(() => {
|
|
22
22
|
package_default = {
|
|
23
23
|
name: "opencode-swarm",
|
|
24
|
-
version: "7.146.
|
|
24
|
+
version: "7.146.5",
|
|
25
25
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
26
26
|
main: "dist/index.js",
|
|
27
27
|
types: "dist/index.d.ts",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-52460nma.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-7pggq9ys.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-npw2xm46.js";
|
|
89
89
|
import"./index-hcb25p12.js";
|
|
90
|
-
import"./index-
|
|
91
|
-
import"./index-
|
|
92
|
-
import"./index-
|
|
90
|
+
import"./index-fjhc8mk2.js";
|
|
91
|
+
import"./index-d3t7q4b8.js";
|
|
92
|
+
import"./index-0pya01vw.js";
|
|
93
93
|
import"./index-p3k155dv.js";
|
|
94
94
|
import"./index-134d35c1.js";
|
|
95
95
|
import"./index-abtrcs16.js";
|
|
96
96
|
import"./index-y8552snf.js";
|
|
97
|
-
import"./index-
|
|
98
|
-
import"./index-
|
|
97
|
+
import"./index-55g08cg2.js";
|
|
98
|
+
import"./index-ktpj357z.js";
|
|
99
99
|
import"./index-70ha9e09.js";
|
|
100
100
|
import"./index-c8s9a3zh.js";
|
|
101
101
|
import"./index-9ss2m4rs.js";
|
|
102
102
|
import"./index-z9yhhk6q.js";
|
|
103
103
|
import"./index-3p4wgm0d.js";
|
|
104
|
-
import"./index-
|
|
105
|
-
import"./index-
|
|
104
|
+
import"./index-fymrwjak.js";
|
|
105
|
+
import"./index-53asfj0j.js";
|
|
106
106
|
import"./index-tp5ytzzg.js";
|
|
107
107
|
import"./index-rtry5xyf.js";
|
|
108
108
|
import"./index-zsrtt42s.js";
|
|
109
109
|
import"./index-rpy0bent.js";
|
|
110
110
|
import"./index-e1pxav9g.js";
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
114
|
-
import"./index-
|
|
111
|
+
import"./index-vjkfhqef.js";
|
|
112
|
+
import"./index-cpzra8my.js";
|
|
113
|
+
import"./index-p4ar0k0n.js";
|
|
114
|
+
import"./index-hn0hvgtt.js";
|
|
115
115
|
import"./index-556ja8an.js";
|
|
116
116
|
import"./index-7sy3aa9m.js";
|
|
117
117
|
import"./index-wx8zdh4a.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-zqmzn9hk.js";
|
|
121
|
+
import"./index-cp8jp4cv.js";
|
|
122
|
+
import"./index-cyxdm0v3.js";
|
|
123
123
|
import"./index-gprxjmm7.js";
|
|
124
124
|
import"./index-n832052r.js";
|
|
125
|
-
import"./index-
|
|
125
|
+
import"./index-gqx0rq53.js";
|
|
126
126
|
import {
|
|
127
127
|
init_schema,
|
|
128
128
|
stripKnownSwarmPrefix
|
|
129
|
-
} from "./index-
|
|
129
|
+
} from "./index-rqgnad5w.js";
|
|
130
130
|
import {
|
|
131
131
|
AGENT_TOOL_MAP,
|
|
132
132
|
ORCHESTRATOR_NAME,
|
|
@@ -709,7 +709,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
709
709
|
const {
|
|
710
710
|
readAuthoritativeKnowledgeCounterRollups,
|
|
711
711
|
effectiveRetrievalOutcomes
|
|
712
|
-
} = await import("./knowledge-events-
|
|
712
|
+
} = await import("./knowledge-events-hqrwgn29.js");
|
|
713
713
|
const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
|
|
714
714
|
const flagIds = new Set;
|
|
715
715
|
for (const e of atFloor) {
|
|
@@ -776,11 +776,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
776
776
|
});
|
|
777
777
|
}
|
|
778
778
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
779
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
780
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
779
|
+
const { quarantineEntry } = await import("./knowledge-validator-6zb1j8c4.js");
|
|
780
|
+
const { KnowledgeConfigSchema } = await import("./schema-40w13gdv.js");
|
|
781
781
|
let config;
|
|
782
782
|
try {
|
|
783
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
783
|
+
const { loadPluginConfigWithMeta } = await import("./index-aybph866.js");
|
|
784
784
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
785
785
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
786
786
|
} catch {
|
package/dist/cli/index.js
CHANGED
|
@@ -11,48 +11,48 @@ import {
|
|
|
11
11
|
readCachePackageVersion,
|
|
12
12
|
resolveCommand,
|
|
13
13
|
safeRealpathSync
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-npw2xm46.js";
|
|
15
15
|
import"./index-hcb25p12.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
16
|
+
import"./index-fjhc8mk2.js";
|
|
17
|
+
import"./index-d3t7q4b8.js";
|
|
18
|
+
import"./index-0pya01vw.js";
|
|
19
19
|
import"./index-p3k155dv.js";
|
|
20
20
|
import"./index-134d35c1.js";
|
|
21
21
|
import"./index-abtrcs16.js";
|
|
22
22
|
import"./index-y8552snf.js";
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
23
|
+
import"./index-55g08cg2.js";
|
|
24
|
+
import"./index-ktpj357z.js";
|
|
25
25
|
import"./index-70ha9e09.js";
|
|
26
26
|
import"./index-c8s9a3zh.js";
|
|
27
27
|
import"./index-9ss2m4rs.js";
|
|
28
28
|
import"./index-z9yhhk6q.js";
|
|
29
29
|
import"./index-3p4wgm0d.js";
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
30
|
+
import"./index-fymrwjak.js";
|
|
31
|
+
import"./index-53asfj0j.js";
|
|
32
32
|
import"./index-tp5ytzzg.js";
|
|
33
33
|
import"./index-rtry5xyf.js";
|
|
34
34
|
import"./index-zsrtt42s.js";
|
|
35
35
|
import"./index-rpy0bent.js";
|
|
36
36
|
import"./index-e1pxav9g.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
37
|
+
import"./index-vjkfhqef.js";
|
|
38
|
+
import"./index-cpzra8my.js";
|
|
39
|
+
import"./index-p4ar0k0n.js";
|
|
40
|
+
import"./index-hn0hvgtt.js";
|
|
41
41
|
import"./index-556ja8an.js";
|
|
42
42
|
import"./index-7sy3aa9m.js";
|
|
43
43
|
import"./index-wx8zdh4a.js";
|
|
44
44
|
import"./index-3g0xk6tk.js";
|
|
45
45
|
import"./index-85gkedsf.js";
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
46
|
+
import"./index-zqmzn9hk.js";
|
|
47
|
+
import"./index-cp8jp4cv.js";
|
|
48
|
+
import"./index-cyxdm0v3.js";
|
|
49
49
|
import"./index-gprxjmm7.js";
|
|
50
50
|
import"./index-n832052r.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-gqx0rq53.js";
|
|
52
52
|
import {
|
|
53
53
|
init_package,
|
|
54
54
|
package_default
|
|
55
|
-
} from "./index-
|
|
55
|
+
} from "./index-rqgnad5w.js";
|
|
56
56
|
import {
|
|
57
57
|
DEFAULT_AGENT_CONFIGS,
|
|
58
58
|
init_constants
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
maybeEscalateOnViolation,
|
|
10
10
|
maybeQuarantineOnContradiction,
|
|
11
11
|
readRecentEscalations
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
12
|
+
} from "./index-55g08cg2.js";
|
|
13
|
+
import"./index-zqmzn9hk.js";
|
|
14
|
+
import"./index-cp8jp4cv.js";
|
|
15
|
+
import"./index-cyxdm0v3.js";
|
|
16
16
|
import"./index-gprxjmm7.js";
|
|
17
17
|
import"./index-n832052r.js";
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
18
|
+
import"./index-gqx0rq53.js";
|
|
19
|
+
import"./index-rqgnad5w.js";
|
|
20
20
|
import"./index-cpg98bh1.js";
|
|
21
21
|
import"./index-9e6fdz2h.js";
|
|
22
22
|
import"./index-4rhhvd1a.js";
|
|
@@ -29,12 +29,12 @@ import {
|
|
|
29
29
|
resolveKnowledgeCounterBaselinePath,
|
|
30
30
|
resolveKnowledgeEventsPath,
|
|
31
31
|
resolveLegacyApplicationLogPath
|
|
32
|
-
} from "./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
} from "./index-cp8jp4cv.js";
|
|
33
|
+
import"./index-cyxdm0v3.js";
|
|
34
34
|
import"./index-gprxjmm7.js";
|
|
35
35
|
import"./index-n832052r.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
36
|
+
import"./index-gqx0rq53.js";
|
|
37
|
+
import"./index-rqgnad5w.js";
|
|
38
38
|
import"./index-cpg98bh1.js";
|
|
39
39
|
import"./index-9e6fdz2h.js";
|
|
40
40
|
import"./index-4rhhvd1a.js";
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-53asfj0j.js";
|
|
27
27
|
import"./index-tp5ytzzg.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-zqmzn9hk.js";
|
|
30
30
|
import"./index-ae75rja9.js";
|
|
31
31
|
import"./index-f75qjtn5.js";
|
|
32
32
|
import"./index-8py21zn6.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-ktpj357z.js";
|
|
8
|
+
import"./index-zqmzn9hk.js";
|
|
9
9
|
import"./index-9e6fdz2h.js";
|
|
10
10
|
import"./index-4rhhvd1a.js";
|
|
11
11
|
import"./index-ae75rja9.js";
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
resolveGeneratedAgentRole,
|
|
100
100
|
resolveGuardrailsConfig,
|
|
101
101
|
stripKnownSwarmPrefix
|
|
102
|
-
} from "./index-
|
|
102
|
+
} from "./index-rqgnad5w.js";
|
|
103
103
|
import"./index-cpg98bh1.js";
|
|
104
104
|
import"./index-zjygnfay.js";
|
|
105
105
|
import"./index-bk5tah7q.js";
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
tombstoneScopeBinding,
|
|
24
24
|
writeScopeBindingToDisk,
|
|
25
25
|
writeScopeToDisk
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-p4ar0k0n.js";
|
|
27
|
+
import"./index-hn0hvgtt.js";
|
|
28
28
|
import"./index-556ja8an.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
29
|
+
import"./index-gqx0rq53.js";
|
|
30
|
+
import"./index-rqgnad5w.js";
|
|
31
31
|
import"./index-cpg98bh1.js";
|
|
32
32
|
import"./index-9e6fdz2h.js";
|
|
33
33
|
import"./index-4rhhvd1a.js";
|