opencode-swarm 7.146.1 → 7.146.2
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-sd7x5bts.js → config-doctor-vstrprja.js} +2 -2
- package/dist/cli/{core-17febkvw.js → core-3wzpwe5z.js} +1 -1
- package/dist/cli/{curator-vghf320v.js → curator-cvy1s7wd.js} +17 -17
- package/dist/cli/{curator-llm-factory-zxbgkjm5.js → curator-llm-factory-6bra0bfd.js} +17 -17
- package/dist/cli/{evidence-summary-service-xma4aagr.js → evidence-summary-service-yhap2xph.js} +6 -6
- package/dist/cli/{gate-evidence-2bznvee8.js → gate-evidence-vxbyq5sb.js} +2 -2
- package/dist/cli/{guardrail-explain-ppzg0xz9.js → guardrail-explain-h8cnwa02.js} +18 -18
- package/dist/cli/{guardrail-log-xexwz93q.js → guardrail-log-syb7tz2w.js} +3 -3
- package/dist/cli/{hive-promoter-j3vw2hj4.js → hive-promoter-3tex870c.js} +17 -17
- package/dist/cli/{index-1c9mfnj0.js → index-01ybcsa5.js} +1 -1
- package/dist/cli/{index-vacrzesw.js → index-42nq97rb.js} +4 -4
- package/dist/cli/{index-zwn2e2pe.js → index-46cypnz3.js} +2 -2
- package/dist/cli/{index-twwb61bh.js → index-4vwn66wk.js} +3 -3
- package/dist/cli/{index-va8a2zrq.js → index-a1febb2k.js} +2 -2
- package/dist/cli/{index-xz0ccakc.js → index-c9jr4j2q.js} +1 -1
- package/dist/cli/{index-k46kg4t6.js → index-cr90rcg3.js} +3 -3
- package/dist/cli/{index-tzyvmkd1.js → index-cx67qa9g.js} +1 -1
- package/dist/cli/{index-bd4g9fvb.js → index-f3x2gsby.js} +1 -1
- package/dist/cli/{index-9qbr27bw.js → index-jv9xs6mb.js} +1 -1
- package/dist/cli/{index-cw96tpy6.js → index-n4k0pt5f.js} +1 -1
- package/dist/cli/{index-g8qbjqqz.js → index-p0m03xa6.js} +1 -1
- package/dist/cli/{index-e3caa7ng.js → index-r46q6996.js} +19 -19
- package/dist/cli/{index-7x00nx8m.js → index-rfph0nhf.js} +45 -45
- package/dist/cli/{index-t7sfrv3v.js → index-tj861zhd.js} +1 -1
- package/dist/cli/{index-txh3h83v.js → index-vj9bba5k.js} +3 -3
- package/dist/cli/{index-fksfxhmx.js → index-vmfaafte.js} +5 -5
- package/dist/cli/{index-19f0zycs.js → index-y3hmyvt6.js} +2 -2
- package/dist/cli/{index-n7trn9wz.js → index-yxhcy5cm.js} +1 -1
- package/dist/cli/{index-4qvsh3m5.js → index-z5ppkn8y.js} +3 -3
- package/dist/cli/{index-h8qed3pr.js → index-z9ed68jt.js} +1 -1
- package/dist/cli/index.js +17 -17
- package/dist/cli/{knowledge-escalator-wj85ppdt.js → knowledge-escalator-mn4sx4qd.js} +6 -6
- package/dist/cli/{knowledge-events-4y9kk2xe.js → knowledge-events-x975ngy4.js} +4 -4
- package/dist/cli/{knowledge-store-kc8dwc14.js → knowledge-store-33p762ey.js} +1 -1
- package/dist/cli/{knowledge-validator-584ga9fb.js → knowledge-validator-q5jc0scs.js} +2 -2
- package/dist/cli/{scan-cursor-rhjym1pn.js → scan-cursor-p7t5mb4x.js} +2 -2
- package/dist/cli/{schema-yb3pvhcs.js → schema-t8bmshhj.js} +1 -1
- package/dist/cli/{scope-persistence-bxwjk9rc.js → scope-persistence-2kyrgsca.js} +4 -4
- package/dist/cli/{skill-generator-3w8w7htr.js → skill-generator-fwvmcv8m.js} +7 -7
- package/dist/cli/{worktree-isolation-av1rshr3.js → worktree-isolation-87j70zg1.js} +17 -17
- package/dist/hooks/knowledge-application-gate.d.ts +23 -0
- package/dist/index.js +17 -16
- package/package.json +1 -1
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
} from "./index-w5r84rd1.js";
|
|
10
10
|
import {
|
|
11
11
|
stableCanonicalStringify
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-c9jr4j2q.js";
|
|
13
13
|
import {
|
|
14
14
|
detectStraySwarmDirs,
|
|
15
15
|
readDoctorArtifact,
|
|
16
16
|
removeStraySwarmDir,
|
|
17
17
|
runConfigDoctor
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-yxhcy5cm.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-z5ppkn8y.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-vmfaafte.js";
|
|
108
108
|
import {
|
|
109
109
|
alreadyCuratedThisGeneration,
|
|
110
110
|
claimNextScanBatch,
|
|
111
111
|
resolveCohortId
|
|
112
|
-
} from "./index-
|
|
112
|
+
} from "./index-jv9xs6mb.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-vj9bba5k.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-n4k0pt5f.js";
|
|
194
194
|
import {
|
|
195
195
|
authorizeCuration,
|
|
196
196
|
buildConfigFingerprintInput
|
|
@@ -246,18 +246,18 @@ import {
|
|
|
246
246
|
transitionTaskWorkflowEvidence,
|
|
247
247
|
withTaskEvidenceTransaction,
|
|
248
248
|
writeWorkflowWalFile
|
|
249
|
-
} from "./index-
|
|
249
|
+
} from "./index-tj861zhd.js";
|
|
250
250
|
import {
|
|
251
251
|
provisionWorktree,
|
|
252
252
|
removeWorktree
|
|
253
|
-
} from "./index-
|
|
253
|
+
} from "./index-cx67qa9g.js";
|
|
254
254
|
import {
|
|
255
255
|
MAX_PENDING_SCOPE_BINDINGS,
|
|
256
256
|
canonicalWorkspaceIdentity,
|
|
257
257
|
clearAllScopes,
|
|
258
258
|
clearScopeBindingFromDisk,
|
|
259
259
|
clearScopeBindings
|
|
260
|
-
} from "./index-
|
|
260
|
+
} from "./index-46cypnz3.js";
|
|
261
261
|
import {
|
|
262
262
|
appendLedgerEvent,
|
|
263
263
|
computePlanHash,
|
|
@@ -271,7 +271,7 @@ import {
|
|
|
271
271
|
readPlanEpochIdentity,
|
|
272
272
|
replayFromLedgerWithStatus,
|
|
273
273
|
takeSnapshotEvent
|
|
274
|
-
} from "./index-
|
|
274
|
+
} from "./index-p0m03xa6.js";
|
|
275
275
|
import {
|
|
276
276
|
isPathWithinDeclaredScope,
|
|
277
277
|
sanitizeDiagnosticText
|
|
@@ -322,7 +322,7 @@ import {
|
|
|
322
322
|
transactFile,
|
|
323
323
|
transactKnowledge,
|
|
324
324
|
wordBigrams
|
|
325
|
-
} from "./index-
|
|
325
|
+
} from "./index-42nq97rb.js";
|
|
326
326
|
import {
|
|
327
327
|
MAX_EVENT_LOG_ENTRIES,
|
|
328
328
|
_internals as _internals2,
|
|
@@ -336,10 +336,10 @@ import {
|
|
|
336
336
|
recordKnowledgeEvent,
|
|
337
337
|
recordPhaseCloseIntent,
|
|
338
338
|
resolveKnowledgeEventsPath
|
|
339
|
-
} from "./index-
|
|
339
|
+
} from "./index-cr90rcg3.js";
|
|
340
340
|
import {
|
|
341
341
|
resolveWorktreeIsolationConfig
|
|
342
|
-
} from "./index-
|
|
342
|
+
} from "./index-y3hmyvt6.js";
|
|
343
343
|
import {
|
|
344
344
|
RetrospectiveEvidenceSchema
|
|
345
345
|
} from "./index-gprxjmm7.js";
|
|
@@ -349,7 +349,7 @@ import {
|
|
|
349
349
|
init_loader,
|
|
350
350
|
loadPluginConfig,
|
|
351
351
|
loadPluginConfigWithMeta
|
|
352
|
-
} from "./index-
|
|
352
|
+
} from "./index-01ybcsa5.js";
|
|
353
353
|
import {
|
|
354
354
|
DEFAULT_SKILL_OPT_CONFIG,
|
|
355
355
|
FALLBACK_MODELS_MAX,
|
|
@@ -363,7 +363,7 @@ import {
|
|
|
363
363
|
package_default,
|
|
364
364
|
resolveAutoReviewConfig,
|
|
365
365
|
stripKnownSwarmPrefix
|
|
366
|
-
} from "./index-
|
|
366
|
+
} from "./index-z9ed68jt.js";
|
|
367
367
|
import {
|
|
368
368
|
AGENT_TOOL_MAP,
|
|
369
369
|
ALL_AGENT_NAMES,
|
|
@@ -4197,7 +4197,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
|
|
|
4197
4197
|
awaitingMergeByCallID,
|
|
4198
4198
|
cleanupStandardWorktreeForCallId,
|
|
4199
4199
|
standardWorktreeByCallID
|
|
4200
|
-
} = await import("./worktree-isolation-
|
|
4200
|
+
} = await import("./worktree-isolation-87j70zg1.js");
|
|
4201
4201
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
4202
4202
|
if (hasResidue)
|
|
4203
4203
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -4299,7 +4299,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
4299
4299
|
awaitingMergeByCallID,
|
|
4300
4300
|
finishStandardWorktreeDispatch,
|
|
4301
4301
|
standardWorktreeByCallID
|
|
4302
|
-
} = await import("./worktree-isolation-
|
|
4302
|
+
} = await import("./worktree-isolation-87j70zg1.js");
|
|
4303
4303
|
const descriptor = wal.worktree;
|
|
4304
4304
|
const reconstructedDispatch = {
|
|
4305
4305
|
callID: descriptor.callID,
|
|
@@ -15598,7 +15598,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
|
|
|
15598
15598
|
};
|
|
15599
15599
|
}
|
|
15600
15600
|
async function sweepActiveNearDuplicates(directory, options = {}) {
|
|
15601
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
15601
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-4vwn66wk.js");
|
|
15602
15602
|
const { config } = loadPluginConfigWithMeta2(directory);
|
|
15603
15603
|
const sweepConfig = config.learning?.dedup_sweep;
|
|
15604
15604
|
if (sweepConfig?.enabled === false)
|
|
@@ -16682,7 +16682,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
|
|
|
16682
16682
|
}
|
|
16683
16683
|
if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
|
|
16684
16684
|
try {
|
|
16685
|
-
const skillModule = await import("./skill-generator-
|
|
16685
|
+
const skillModule = await import("./skill-generator-fwvmcv8m.js");
|
|
16686
16686
|
for (const cand of skillCandidates) {
|
|
16687
16687
|
if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
|
|
16688
16688
|
continue;
|
|
@@ -17142,7 +17142,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
|
|
|
17142
17142
|
} catch {}
|
|
17143
17143
|
}
|
|
17144
17144
|
if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
|
|
17145
|
-
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-
|
|
17145
|
+
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-mn4sx4qd.js");
|
|
17146
17146
|
for (const { id } of contradictedEntries) {
|
|
17147
17147
|
try {
|
|
17148
17148
|
await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
|
|
@@ -17961,7 +17961,7 @@ async function runCuratorPostMortem(directory, options = {}) {
|
|
|
17961
17961
|
warnings.push("Failed to collect knowledge summary.");
|
|
17962
17962
|
}
|
|
17963
17963
|
try {
|
|
17964
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
17964
|
+
const { getScanStatus } = await import("./scan-cursor-p7t5mb4x.js");
|
|
17965
17965
|
const scanStatus = await getScanStatus(directory);
|
|
17966
17966
|
if (scanStatus.remaining_estimate > 0) {
|
|
17967
17967
|
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.`);
|
|
@@ -18133,9 +18133,9 @@ var _internals24 = {
|
|
|
18133
18133
|
verifyPostMortemKnowledgeActions,
|
|
18134
18134
|
repairPostMortemActions,
|
|
18135
18135
|
loadDefaultKnowledgeConfig: async (directory) => {
|
|
18136
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
18136
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-t8bmshhj.js");
|
|
18137
18137
|
try {
|
|
18138
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
18138
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-4vwn66wk.js");
|
|
18139
18139
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
18140
18140
|
return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
18141
18141
|
} catch {
|
|
@@ -18143,11 +18143,11 @@ var _internals24 = {
|
|
|
18143
18143
|
}
|
|
18144
18144
|
},
|
|
18145
18145
|
applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
|
|
18146
|
-
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-
|
|
18146
|
+
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-cvy1s7wd.js");
|
|
18147
18147
|
return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
|
|
18148
18148
|
},
|
|
18149
18149
|
checkHivePromotions: async (entries, knowledgeConfig, directory) => {
|
|
18150
|
-
const { checkHivePromotions } = await import("./hive-promoter-
|
|
18150
|
+
const { checkHivePromotions } = await import("./hive-promoter-3tex870c.js");
|
|
18151
18151
|
return checkHivePromotions(entries, knowledgeConfig, directory);
|
|
18152
18152
|
},
|
|
18153
18153
|
applyProposalTriage: async (directory, triage) => {
|
|
@@ -18156,7 +18156,7 @@ var _internals24 = {
|
|
|
18156
18156
|
activateProposal,
|
|
18157
18157
|
listSkills: listSkills2,
|
|
18158
18158
|
sanitizeSlug
|
|
18159
|
-
} = await import("./skill-generator-
|
|
18159
|
+
} = await import("./skill-generator-fwvmcv8m.js");
|
|
18160
18160
|
const result = {
|
|
18161
18161
|
approved: [],
|
|
18162
18162
|
rejected: [],
|
|
@@ -19492,9 +19492,9 @@ function hashContent(content) {
|
|
|
19492
19492
|
return createHash7("sha1").update(content).digest("hex");
|
|
19493
19493
|
}
|
|
19494
19494
|
async function loadConfigForPolicyCurator(directory) {
|
|
19495
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
19495
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-t8bmshhj.js");
|
|
19496
19496
|
try {
|
|
19497
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
19497
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-4vwn66wk.js");
|
|
19498
19498
|
const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
|
|
19499
19499
|
return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
|
|
19500
19500
|
} catch {
|
|
@@ -30088,7 +30088,7 @@ async function runFinalizeStage(ctx) {
|
|
|
30088
30088
|
}
|
|
30089
30089
|
}
|
|
30090
30090
|
try {
|
|
30091
|
-
const { CuratorConfigSchema: CCS } = await import("./schema-
|
|
30091
|
+
const { CuratorConfigSchema: CCS } = await import("./schema-t8bmshhj.js");
|
|
30092
30092
|
const { config: pmLoadedConfig } = _internals38.loadPluginConfigWithMeta(ctx.directory);
|
|
30093
30093
|
const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
|
|
30094
30094
|
if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
|
|
@@ -32352,9 +32352,9 @@ var _internals43 = {
|
|
|
32352
32352
|
loadPluginConfigWithMeta,
|
|
32353
32353
|
loadCuratorDeps: async () => {
|
|
32354
32354
|
const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
|
|
32355
|
-
import("./schema-
|
|
32356
|
-
import("./curator-
|
|
32357
|
-
import("./curator-llm-factory-
|
|
32355
|
+
import("./schema-t8bmshhj.js"),
|
|
32356
|
+
import("./curator-cvy1s7wd.js"),
|
|
32357
|
+
import("./curator-llm-factory-6bra0bfd.js")
|
|
32358
32358
|
]);
|
|
32359
32359
|
return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
|
|
32360
32360
|
}
|
|
@@ -33308,7 +33308,7 @@ async function computeCurationDiagnostics(directory, entries) {
|
|
|
33308
33308
|
let scanCompleted = false;
|
|
33309
33309
|
let scanRemaining = 0;
|
|
33310
33310
|
try {
|
|
33311
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
33311
|
+
const { getScanStatus } = await import("./scan-cursor-p7t5mb4x.js");
|
|
33312
33312
|
const status = await getScanStatus(directory);
|
|
33313
33313
|
scanGeneration = status.generation;
|
|
33314
33314
|
scanCompleted = status.completed;
|
|
@@ -33318,10 +33318,10 @@ async function computeCurationDiagnostics(directory, entries) {
|
|
|
33318
33318
|
try {
|
|
33319
33319
|
const { isLinked: isLinked2 } = await import("./knowledge-link-8pr02pza.js");
|
|
33320
33320
|
if (isLinked2(directory)) {
|
|
33321
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
33321
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-t8bmshhj.js");
|
|
33322
33322
|
let config;
|
|
33323
33323
|
try {
|
|
33324
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
33324
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-4vwn66wk.js");
|
|
33325
33325
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
33326
33326
|
config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
33327
33327
|
} catch {
|
|
@@ -34604,7 +34604,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
34604
34604
|
const result = runConfigDoctor(config, directory);
|
|
34605
34605
|
let output;
|
|
34606
34606
|
if (enableAutoFix && result.hasAutoFixableIssues) {
|
|
34607
|
-
const { runConfigDoctorWithFixes } = await import("./config-doctor-
|
|
34607
|
+
const { runConfigDoctorWithFixes } = await import("./config-doctor-vstrprja.js");
|
|
34608
34608
|
const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
|
|
34609
34609
|
applyLossy: true
|
|
34610
34610
|
});
|
|
@@ -35544,7 +35544,7 @@ async function handleEvidenceCommand(directory, args) {
|
|
|
35544
35544
|
return formatTaskEvidenceMarkdown(evidenceData);
|
|
35545
35545
|
}
|
|
35546
35546
|
async function handleEvidenceSummaryCommand(directory) {
|
|
35547
|
-
const { buildEvidenceSummary } = await import("./evidence-summary-service-
|
|
35547
|
+
const { buildEvidenceSummary } = await import("./evidence-summary-service-yhap2xph.js");
|
|
35548
35548
|
const artifact = await buildEvidenceSummary(directory);
|
|
35549
35549
|
if (!artifact) {
|
|
35550
35550
|
return "No plan found. Run `/swarm plan` to check plan status.";
|
|
@@ -65335,7 +65335,7 @@ function buildDetailedHelp(commandName, entry) {
|
|
|
65335
65335
|
async function handleHelpCommand(ctx) {
|
|
65336
65336
|
const targetCommand = ctx.args.join(" ");
|
|
65337
65337
|
if (!targetCommand) {
|
|
65338
|
-
const { buildHelpText } = await import("./index-
|
|
65338
|
+
const { buildHelpText } = await import("./index-r46q6996.js");
|
|
65339
65339
|
return buildHelpText();
|
|
65340
65340
|
}
|
|
65341
65341
|
const tokens = targetCommand.split(/\s+/);
|
|
@@ -65344,7 +65344,7 @@ async function handleHelpCommand(ctx) {
|
|
|
65344
65344
|
return _internals94.buildDetailedHelp(resolved.key, resolved.entry);
|
|
65345
65345
|
}
|
|
65346
65346
|
const similar = _internals94.findSimilarCommands(targetCommand);
|
|
65347
|
-
const { buildHelpText: fullHelp } = await import("./index-
|
|
65347
|
+
const { buildHelpText: fullHelp } = await import("./index-r46q6996.js");
|
|
65348
65348
|
if (similar.length > 0) {
|
|
65349
65349
|
return `Command '/swarm ${targetCommand}' not found.
|
|
65350
65350
|
|
|
@@ -65521,7 +65521,7 @@ var COMMAND_REGISTRY = {
|
|
|
65521
65521
|
},
|
|
65522
65522
|
"guardrail explain": {
|
|
65523
65523
|
handler: async (ctx) => {
|
|
65524
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
65524
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-h8cnwa02.js");
|
|
65525
65525
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
65526
65526
|
},
|
|
65527
65527
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -65531,7 +65531,7 @@ var COMMAND_REGISTRY = {
|
|
|
65531
65531
|
},
|
|
65532
65532
|
"guardrail-explain": {
|
|
65533
65533
|
handler: async (ctx) => {
|
|
65534
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
65534
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-h8cnwa02.js");
|
|
65535
65535
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
65536
65536
|
},
|
|
65537
65537
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -65541,7 +65541,7 @@ var COMMAND_REGISTRY = {
|
|
|
65541
65541
|
},
|
|
65542
65542
|
"guardrail-log": {
|
|
65543
65543
|
handler: async (ctx) => {
|
|
65544
|
-
const { handleGuardrailLog } = await import("./guardrail-log-
|
|
65544
|
+
const { handleGuardrailLog } = await import("./guardrail-log-syb7tz2w.js");
|
|
65545
65545
|
return handleGuardrailLog(ctx.directory, ctx.args);
|
|
65546
65546
|
},
|
|
65547
65547
|
description: "Read the guardrail decision log (use --blocks-only for blocks)",
|
|
@@ -73112,7 +73112,7 @@ async function precreateStandardWorktreeSession(args) {
|
|
|
73112
73112
|
const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, provisionResult.worktreePath);
|
|
73113
73113
|
if (laneProfile) {
|
|
73114
73114
|
try {
|
|
73115
|
-
const { writeLaneProfileToDiskReal } = await import("./core-
|
|
73115
|
+
const { writeLaneProfileToDiskReal } = await import("./core-3wzpwe5z.js");
|
|
73116
73116
|
await writeLaneProfileToDiskReal(provisionResult.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
|
|
73117
73117
|
} catch {}
|
|
73118
73118
|
}
|
|
@@ -73770,7 +73770,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
|
|
|
73770
73770
|
}
|
|
73771
73771
|
clearWorktreeMergeStatus(statusKey);
|
|
73772
73772
|
try {
|
|
73773
|
-
const { removeLaneProfileFromDiskReal } = await import("./core-
|
|
73773
|
+
const { removeLaneProfileFromDiskReal } = await import("./core-3wzpwe5z.js");
|
|
73774
73774
|
await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
|
|
73775
73775
|
} catch {}
|
|
73776
73776
|
const state = serializationStateBySessionID.get(dispatch.parentSessionID);
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
4
4
|
validateSkillPath
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-n4k0pt5f.js";
|
|
6
6
|
import {
|
|
7
7
|
computeOutcomeSignal,
|
|
8
8
|
readKnowledge,
|
|
9
9
|
resolveHiveKnowledgePath,
|
|
10
10
|
resolveSwarmKnowledgePath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-42nq97rb.js";
|
|
13
13
|
import {
|
|
14
14
|
effectiveRetrievalOutcomes,
|
|
15
15
|
readAuthoritativeKnowledgeCounterRollups
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-cr90rcg3.js";
|
|
17
17
|
import {
|
|
18
18
|
advisoryWarn,
|
|
19
19
|
init_warning_buffer
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-42nq97rb.js";
|
|
10
10
|
import {
|
|
11
11
|
queryHistoricalOutcomes,
|
|
12
12
|
readKnowledgeEvents,
|
|
13
13
|
recordKnowledgeEvent
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-cr90rcg3.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-q5jc0scs.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-t8bmshhj.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-4vwn66wk.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-01ybcsa5.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-z9ed68jt.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
readTaskEvidence,
|
|
24
24
|
readTaskEvidenceRaw,
|
|
25
25
|
sanitizeTaskId
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-tj861zhd.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-p0m03xa6.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-01ybcsa5.js";
|
|
60
60
|
import {
|
|
61
61
|
GIT_BINARY_ENV_VAR,
|
|
62
62
|
describeGitResolution,
|
|
@@ -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.2",
|
|
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",
|
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-rfph0nhf.js";
|
|
15
15
|
import"./index-w5r84rd1.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
16
|
+
import"./index-c9jr4j2q.js";
|
|
17
|
+
import"./index-yxhcy5cm.js";
|
|
18
|
+
import"./index-z5ppkn8y.js";
|
|
19
19
|
import"./index-zkaz3fhw.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-vmfaafte.js";
|
|
24
|
+
import"./index-jv9xs6mb.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-5e5a1y2r.js";
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
30
|
+
import"./index-vj9bba5k.js";
|
|
31
|
+
import"./index-n4k0pt5f.js";
|
|
32
32
|
import"./index-e1hjd15c.js";
|
|
33
33
|
import"./index-rtry5xyf.js";
|
|
34
34
|
import"./index-zsrtt42s.js";
|
|
35
35
|
import"./index-97psh79d.js";
|
|
36
36
|
import"./index-e1pxav9g.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
37
|
+
import"./index-tj861zhd.js";
|
|
38
|
+
import"./index-cx67qa9g.js";
|
|
39
|
+
import"./index-46cypnz3.js";
|
|
40
|
+
import"./index-p0m03xa6.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-42nq97rb.js";
|
|
47
|
+
import"./index-cr90rcg3.js";
|
|
48
|
+
import"./index-y3hmyvt6.js";
|
|
49
49
|
import"./index-gprxjmm7.js";
|
|
50
50
|
import"./index-n832052r.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-01ybcsa5.js";
|
|
52
52
|
import {
|
|
53
53
|
init_package,
|
|
54
54
|
package_default
|
|
55
|
-
} from "./index-
|
|
55
|
+
} from "./index-z9ed68jt.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-vmfaafte.js";
|
|
13
|
+
import"./index-42nq97rb.js";
|
|
14
|
+
import"./index-cr90rcg3.js";
|
|
15
|
+
import"./index-y3hmyvt6.js";
|
|
16
16
|
import"./index-gprxjmm7.js";
|
|
17
17
|
import"./index-n832052r.js";
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
18
|
+
import"./index-01ybcsa5.js";
|
|
19
|
+
import"./index-z9ed68jt.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-cr90rcg3.js";
|
|
33
|
+
import"./index-y3hmyvt6.js";
|
|
34
34
|
import"./index-gprxjmm7.js";
|
|
35
35
|
import"./index-n832052r.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
36
|
+
import"./index-01ybcsa5.js";
|
|
37
|
+
import"./index-z9ed68jt.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-n4k0pt5f.js";
|
|
27
27
|
import"./index-e1hjd15c.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-42nq97rb.js";
|
|
30
30
|
import"./index-ae75rja9.js";
|
|
31
31
|
import"./index-w0cj7zyd.js";
|
|
32
32
|
import"./index-qbpxrw95.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-jv9xs6mb.js";
|
|
8
|
+
import"./index-42nq97rb.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-z9ed68jt.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-46cypnz3.js";
|
|
27
|
+
import"./index-p0m03xa6.js";
|
|
28
28
|
import"./index-556ja8an.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
29
|
+
import"./index-01ybcsa5.js";
|
|
30
|
+
import"./index-z9ed68jt.js";
|
|
31
31
|
import"./index-cpg98bh1.js";
|
|
32
32
|
import"./index-9e6fdz2h.js";
|
|
33
33
|
import"./index-4rhhvd1a.js";
|