opencode-swarm 7.141.1 → 7.141.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-xs2p0xy3.js → config-doctor-weqs97sa.js} +2 -2
- package/dist/cli/{core-znrxk8gw.js → core-zg7fqfsm.js} +1 -1
- package/dist/cli/{curator-llm-factory-ak7p0scv.js → curator-llm-factory-8p86mgye.js} +16 -16
- package/dist/cli/{curator-a95x81ek.js → curator-v1tnrt93.js} +16 -16
- package/dist/cli/{evidence-summary-service-2gk48s5s.js → evidence-summary-service-a4w0yc8h.js} +4 -4
- package/dist/cli/{guardrail-explain-4st3vc3d.js → guardrail-explain-8yrznk98.js} +17 -17
- package/dist/cli/{guardrail-log-vjexgpfm.js → guardrail-log-7hj4x9yt.js} +3 -3
- package/dist/cli/{hive-promoter-g9ad9vad.js → hive-promoter-6zcnyh1j.js} +16 -16
- package/dist/cli/{index-8s4vnqts.js → index-6bp1jecx.js} +1 -1
- package/dist/cli/{index-dx1mdsrj.js → index-73sxchez.js} +42 -42
- package/dist/cli/{index-ry609ctr.js → index-76651erq.js} +3 -3
- package/dist/cli/{index-2ygp3pnx.js → index-aqzvjhb7.js} +5 -5
- package/dist/cli/{index-mr397tze.js → index-bxjhn3t3.js} +1 -1
- package/dist/cli/{index-hjf8pjd4.js → index-h3vk67wp.js} +3 -3
- package/dist/cli/{index-w9613ace.js → index-hwxcdrv9.js} +4 -4
- package/dist/cli/{index-5ykn39wq.js → index-jpt07f2k.js} +2 -2
- package/dist/cli/{index-39xs96mk.js → index-kkn2jxda.js} +1 -1
- package/dist/cli/{index-pkxt2rg2.js → index-mqqmant3.js} +1 -1
- package/dist/cli/{index-zqshpey0.js → index-mxtt4x8r.js} +1 -1
- package/dist/cli/{index-vnr917xf.js → index-p5y72gtj.js} +3 -3
- package/dist/cli/{index-wbf8sv70.js → index-qa50yyeh.js} +1 -1
- package/dist/cli/{index-ysapwztd.js → index-r6pdts5c.js} +2 -2
- package/dist/cli/{index-8056f16v.js → index-szrcxvr7.js} +2 -2
- package/dist/cli/{index-g29r600w.js → index-vts5e84g.js} +18 -18
- package/dist/cli/{index-c6m3t5n2.js → index-why8n7cr.js} +2 -2
- package/dist/cli/{index-3gfdb0t9.js → index-xx0q37xb.js} +1 -1
- package/dist/cli/{index-z8yr1yra.js → index-y6k6x197.js} +1 -1
- package/dist/cli/{index-44nf5s90.js → index-zf5nkkdd.js} +1 -1
- package/dist/cli/index.js +16 -16
- package/dist/cli/{knowledge-escalator-5xg6vmr4.js → knowledge-escalator-xjkbek46.js} +6 -6
- package/dist/cli/{knowledge-events-qvzpqt5b.js → knowledge-events-hsdx5prn.js} +4 -4
- package/dist/cli/{knowledge-store-k5td1vqx.js → knowledge-store-vt059r81.js} +1 -1
- package/dist/cli/{knowledge-validator-zz26gk5d.js → knowledge-validator-jr5694jb.js} +2 -2
- package/dist/cli/{scan-cursor-nhcpebh5.js → scan-cursor-6nrkcfbr.js} +2 -2
- package/dist/cli/{schema-6ecb0xhn.js → schema-f6pt0zjy.js} +1 -1
- package/dist/cli/{scope-persistence-yet1hvmq.js → scope-persistence-jc0mtp7g.js} +4 -4
- package/dist/cli/{skill-generator-j0mbd2pp.js → skill-generator-4vp33gjb.js} +7 -7
- package/dist/cli/{worktree-isolation-445zjngp.js → worktree-isolation-a3hkz665.js} +16 -16
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./index-f1hsrgw1.js";
|
|
21
21
|
import {
|
|
22
22
|
stableCanonicalStringify
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-kkn2jxda.js";
|
|
24
24
|
import {
|
|
25
25
|
getGlobalEventBus
|
|
26
26
|
} from "./index-c8s9a3zh.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
readDoctorArtifact,
|
|
30
30
|
removeStraySwarmDir,
|
|
31
31
|
runConfigDoctor
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-xx0q37xb.js";
|
|
33
33
|
import {
|
|
34
34
|
MAX_TRANSIENT_RETRIES,
|
|
35
35
|
archiveEvidence,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
transientBackoff,
|
|
76
76
|
updateTaskCheckpointReceipt,
|
|
77
77
|
validateProjectRoot
|
|
78
|
-
} from "./index-
|
|
78
|
+
} from "./index-why8n7cr.js";
|
|
79
79
|
import {
|
|
80
80
|
loadDatabaseCtor
|
|
81
81
|
} from "./index-134d35c1.js";
|
|
@@ -161,15 +161,15 @@ import {
|
|
|
161
161
|
retireSkill,
|
|
162
162
|
selectCandidateEntries,
|
|
163
163
|
syncBundledProjectSkillsIfMissingAsync
|
|
164
|
-
} from "./index-
|
|
164
|
+
} from "./index-h3vk67wp.js";
|
|
165
165
|
import {
|
|
166
166
|
readRecentEscalations
|
|
167
|
-
} from "./index-
|
|
167
|
+
} from "./index-aqzvjhb7.js";
|
|
168
168
|
import {
|
|
169
169
|
alreadyCuratedThisGeneration,
|
|
170
170
|
claimNextScanBatch,
|
|
171
171
|
resolveCohortId
|
|
172
|
-
} from "./index-
|
|
172
|
+
} from "./index-bxjhn3t3.js";
|
|
173
173
|
import {
|
|
174
174
|
CURATOR_INIT_PROMPT,
|
|
175
175
|
CURATOR_PHASE_PROMPT,
|
|
@@ -186,7 +186,7 @@ import {
|
|
|
186
186
|
clearAllScopes,
|
|
187
187
|
clearScopeBindingFromDisk,
|
|
188
188
|
clearScopeBindings
|
|
189
|
-
} from "./index-
|
|
189
|
+
} from "./index-szrcxvr7.js";
|
|
190
190
|
import {
|
|
191
191
|
appendLedgerEvent,
|
|
192
192
|
computePlanHash,
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
initLedger,
|
|
197
197
|
readLedgerEvents,
|
|
198
198
|
takeSnapshotEvent
|
|
199
|
-
} from "./index-
|
|
199
|
+
} from "./index-mxtt4x8r.js";
|
|
200
200
|
import {
|
|
201
201
|
clearWorktreeMergeStatus,
|
|
202
202
|
getAllWorktreeMergeFailures,
|
|
@@ -208,7 +208,7 @@ import {
|
|
|
208
208
|
cleanUntrackedFiles,
|
|
209
209
|
provisionWorktree,
|
|
210
210
|
removeWorktree
|
|
211
|
-
} from "./index-
|
|
211
|
+
} from "./index-qa50yyeh.js";
|
|
212
212
|
import {
|
|
213
213
|
WORKTREE_LIFECYCLE_LOCK_FILE,
|
|
214
214
|
recordWorktreeProvisioningOwner,
|
|
@@ -241,7 +241,7 @@ import {
|
|
|
241
241
|
recordKnowledgeEvent,
|
|
242
242
|
recordPhaseCloseIntent,
|
|
243
243
|
resolveKnowledgeEventsPath
|
|
244
|
-
} from "./index-
|
|
244
|
+
} from "./index-76651erq.js";
|
|
245
245
|
import {
|
|
246
246
|
readSwarmFileAsync,
|
|
247
247
|
safeHook,
|
|
@@ -257,7 +257,7 @@ import {
|
|
|
257
257
|
validateActionableFields,
|
|
258
258
|
validateLesson,
|
|
259
259
|
validateSkillPath
|
|
260
|
-
} from "./index-
|
|
260
|
+
} from "./index-6bp1jecx.js";
|
|
261
261
|
import {
|
|
262
262
|
authorizeCuration,
|
|
263
263
|
buildConfigFingerprintInput
|
|
@@ -294,7 +294,7 @@ import {
|
|
|
294
294
|
transactFile,
|
|
295
295
|
transactKnowledge,
|
|
296
296
|
wordBigrams
|
|
297
|
-
} from "./index-
|
|
297
|
+
} from "./index-hwxcdrv9.js";
|
|
298
298
|
import {
|
|
299
299
|
resolveHiveDataDir,
|
|
300
300
|
resolveHiveEventsPath,
|
|
@@ -335,7 +335,7 @@ import {
|
|
|
335
335
|
} from "./index-4nt52yr9.js";
|
|
336
336
|
import {
|
|
337
337
|
resolveWorktreeIsolationConfig
|
|
338
|
-
} from "./index-
|
|
338
|
+
} from "./index-r6pdts5c.js";
|
|
339
339
|
import {
|
|
340
340
|
RetrospectiveEvidenceSchema
|
|
341
341
|
} from "./index-gprxjmm7.js";
|
|
@@ -345,7 +345,7 @@ import {
|
|
|
345
345
|
init_loader,
|
|
346
346
|
loadPluginConfig,
|
|
347
347
|
loadPluginConfigWithMeta
|
|
348
|
-
} from "./index-
|
|
348
|
+
} from "./index-y6k6x197.js";
|
|
349
349
|
import {
|
|
350
350
|
advisoryWarn,
|
|
351
351
|
getDeferredWarnings,
|
|
@@ -371,7 +371,7 @@ import {
|
|
|
371
371
|
package_default,
|
|
372
372
|
resolveAutoReviewConfig,
|
|
373
373
|
stripKnownSwarmPrefix
|
|
374
|
-
} from "./index-
|
|
374
|
+
} from "./index-mqqmant3.js";
|
|
375
375
|
import {
|
|
376
376
|
AGENT_TOOL_MAP,
|
|
377
377
|
ALL_AGENT_NAMES,
|
|
@@ -14524,7 +14524,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
|
|
|
14524
14524
|
};
|
|
14525
14525
|
}
|
|
14526
14526
|
async function sweepActiveNearDuplicates(directory, options = {}) {
|
|
14527
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
14527
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-p5y72gtj.js");
|
|
14528
14528
|
const { config } = loadPluginConfigWithMeta2(directory);
|
|
14529
14529
|
const sweepConfig = config.learning?.dedup_sweep;
|
|
14530
14530
|
if (sweepConfig?.enabled === false)
|
|
@@ -15608,7 +15608,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
|
|
|
15608
15608
|
}
|
|
15609
15609
|
if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
|
|
15610
15610
|
try {
|
|
15611
|
-
const skillModule = await import("./skill-generator-
|
|
15611
|
+
const skillModule = await import("./skill-generator-4vp33gjb.js");
|
|
15612
15612
|
for (const cand of skillCandidates) {
|
|
15613
15613
|
if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
|
|
15614
15614
|
continue;
|
|
@@ -16068,7 +16068,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
|
|
|
16068
16068
|
} catch {}
|
|
16069
16069
|
}
|
|
16070
16070
|
if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
|
|
16071
|
-
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-
|
|
16071
|
+
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-xjkbek46.js");
|
|
16072
16072
|
for (const { id } of contradictedEntries) {
|
|
16073
16073
|
try {
|
|
16074
16074
|
await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
|
|
@@ -16887,7 +16887,7 @@ async function runCuratorPostMortem(directory, options = {}) {
|
|
|
16887
16887
|
warnings.push("Failed to collect knowledge summary.");
|
|
16888
16888
|
}
|
|
16889
16889
|
try {
|
|
16890
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
16890
|
+
const { getScanStatus } = await import("./scan-cursor-6nrkcfbr.js");
|
|
16891
16891
|
const scanStatus = await getScanStatus(directory);
|
|
16892
16892
|
if (scanStatus.remaining_estimate > 0) {
|
|
16893
16893
|
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.`);
|
|
@@ -17059,9 +17059,9 @@ var _internals22 = {
|
|
|
17059
17059
|
verifyPostMortemKnowledgeActions,
|
|
17060
17060
|
repairPostMortemActions,
|
|
17061
17061
|
loadDefaultKnowledgeConfig: async (directory) => {
|
|
17062
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
17062
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-f6pt0zjy.js");
|
|
17063
17063
|
try {
|
|
17064
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
17064
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-p5y72gtj.js");
|
|
17065
17065
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
17066
17066
|
return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
17067
17067
|
} catch {
|
|
@@ -17069,11 +17069,11 @@ var _internals22 = {
|
|
|
17069
17069
|
}
|
|
17070
17070
|
},
|
|
17071
17071
|
applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
|
|
17072
|
-
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-
|
|
17072
|
+
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-v1tnrt93.js");
|
|
17073
17073
|
return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
|
|
17074
17074
|
},
|
|
17075
17075
|
checkHivePromotions: async (entries, knowledgeConfig, directory) => {
|
|
17076
|
-
const { checkHivePromotions } = await import("./hive-promoter-
|
|
17076
|
+
const { checkHivePromotions } = await import("./hive-promoter-6zcnyh1j.js");
|
|
17077
17077
|
return checkHivePromotions(entries, knowledgeConfig, directory);
|
|
17078
17078
|
},
|
|
17079
17079
|
applyProposalTriage: async (directory, triage) => {
|
|
@@ -17082,7 +17082,7 @@ var _internals22 = {
|
|
|
17082
17082
|
activateProposal,
|
|
17083
17083
|
listSkills: listSkills2,
|
|
17084
17084
|
sanitizeSlug
|
|
17085
|
-
} = await import("./skill-generator-
|
|
17085
|
+
} = await import("./skill-generator-4vp33gjb.js");
|
|
17086
17086
|
const result = {
|
|
17087
17087
|
approved: [],
|
|
17088
17088
|
rejected: [],
|
|
@@ -18357,9 +18357,9 @@ function hashContent(content) {
|
|
|
18357
18357
|
return createHash7("sha1").update(content).digest("hex");
|
|
18358
18358
|
}
|
|
18359
18359
|
async function loadConfigForPolicyCurator(directory) {
|
|
18360
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
18360
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-f6pt0zjy.js");
|
|
18361
18361
|
try {
|
|
18362
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
18362
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-p5y72gtj.js");
|
|
18363
18363
|
const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
|
|
18364
18364
|
return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
|
|
18365
18365
|
} catch {
|
|
@@ -26953,7 +26953,7 @@ async function runFinalizeStage(ctx) {
|
|
|
26953
26953
|
}
|
|
26954
26954
|
}
|
|
26955
26955
|
try {
|
|
26956
|
-
const { CuratorConfigSchema: CCS } = await import("./schema-
|
|
26956
|
+
const { CuratorConfigSchema: CCS } = await import("./schema-f6pt0zjy.js");
|
|
26957
26957
|
const { config: pmLoadedConfig } = _internals35.loadPluginConfigWithMeta(ctx.directory);
|
|
26958
26958
|
const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
|
|
26959
26959
|
if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
|
|
@@ -29226,9 +29226,9 @@ var _internals40 = {
|
|
|
29226
29226
|
loadPluginConfigWithMeta,
|
|
29227
29227
|
loadCuratorDeps: async () => {
|
|
29228
29228
|
const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
|
|
29229
|
-
import("./schema-
|
|
29230
|
-
import("./curator-
|
|
29231
|
-
import("./curator-llm-factory-
|
|
29229
|
+
import("./schema-f6pt0zjy.js"),
|
|
29230
|
+
import("./curator-v1tnrt93.js"),
|
|
29231
|
+
import("./curator-llm-factory-8p86mgye.js")
|
|
29232
29232
|
]);
|
|
29233
29233
|
return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
|
|
29234
29234
|
}
|
|
@@ -30133,7 +30133,7 @@ async function computeCurationDiagnostics(directory, entries) {
|
|
|
30133
30133
|
let scanCompleted = false;
|
|
30134
30134
|
let scanRemaining = 0;
|
|
30135
30135
|
try {
|
|
30136
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
30136
|
+
const { getScanStatus } = await import("./scan-cursor-6nrkcfbr.js");
|
|
30137
30137
|
const status = await getScanStatus(directory);
|
|
30138
30138
|
scanGeneration = status.generation;
|
|
30139
30139
|
scanCompleted = status.completed;
|
|
@@ -30143,10 +30143,10 @@ async function computeCurationDiagnostics(directory, entries) {
|
|
|
30143
30143
|
try {
|
|
30144
30144
|
const { isLinked: isLinked2 } = await import("./knowledge-link-x86ebng8.js");
|
|
30145
30145
|
if (isLinked2(directory)) {
|
|
30146
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
30146
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-f6pt0zjy.js");
|
|
30147
30147
|
let config;
|
|
30148
30148
|
try {
|
|
30149
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
30149
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-p5y72gtj.js");
|
|
30150
30150
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
30151
30151
|
config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
30152
30152
|
} catch {
|
|
@@ -31364,7 +31364,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
31364
31364
|
const result = runConfigDoctor(config, directory);
|
|
31365
31365
|
let output;
|
|
31366
31366
|
if (enableAutoFix && result.hasAutoFixableIssues) {
|
|
31367
|
-
const { runConfigDoctorWithFixes } = await import("./config-doctor-
|
|
31367
|
+
const { runConfigDoctorWithFixes } = await import("./config-doctor-weqs97sa.js");
|
|
31368
31368
|
const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
|
|
31369
31369
|
applyLossy: true
|
|
31370
31370
|
});
|
|
@@ -32201,7 +32201,7 @@ async function handleEvidenceCommand(directory, args) {
|
|
|
32201
32201
|
return formatTaskEvidenceMarkdown(evidenceData);
|
|
32202
32202
|
}
|
|
32203
32203
|
async function handleEvidenceSummaryCommand(directory) {
|
|
32204
|
-
const { buildEvidenceSummary } = await import("./evidence-summary-service-
|
|
32204
|
+
const { buildEvidenceSummary } = await import("./evidence-summary-service-a4w0yc8h.js");
|
|
32205
32205
|
const artifact = await buildEvidenceSummary(directory);
|
|
32206
32206
|
if (!artifact) {
|
|
32207
32207
|
return "No plan found. Run `/swarm plan` to check plan status.";
|
|
@@ -55886,7 +55886,7 @@ function buildDetailedHelp(commandName, entry) {
|
|
|
55886
55886
|
async function handleHelpCommand(ctx) {
|
|
55887
55887
|
const targetCommand = ctx.args.join(" ");
|
|
55888
55888
|
if (!targetCommand) {
|
|
55889
|
-
const { buildHelpText } = await import("./index-
|
|
55889
|
+
const { buildHelpText } = await import("./index-vts5e84g.js");
|
|
55890
55890
|
return buildHelpText();
|
|
55891
55891
|
}
|
|
55892
55892
|
const tokens = targetCommand.split(/\s+/);
|
|
@@ -55895,7 +55895,7 @@ async function handleHelpCommand(ctx) {
|
|
|
55895
55895
|
return _internals85.buildDetailedHelp(resolved.key, resolved.entry);
|
|
55896
55896
|
}
|
|
55897
55897
|
const similar = _internals85.findSimilarCommands(targetCommand);
|
|
55898
|
-
const { buildHelpText: fullHelp } = await import("./index-
|
|
55898
|
+
const { buildHelpText: fullHelp } = await import("./index-vts5e84g.js");
|
|
55899
55899
|
if (similar.length > 0) {
|
|
55900
55900
|
return `Command '/swarm ${targetCommand}' not found.
|
|
55901
55901
|
|
|
@@ -56072,7 +56072,7 @@ var COMMAND_REGISTRY = {
|
|
|
56072
56072
|
},
|
|
56073
56073
|
"guardrail explain": {
|
|
56074
56074
|
handler: async (ctx) => {
|
|
56075
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
56075
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-8yrznk98.js");
|
|
56076
56076
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
56077
56077
|
},
|
|
56078
56078
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -56082,7 +56082,7 @@ var COMMAND_REGISTRY = {
|
|
|
56082
56082
|
},
|
|
56083
56083
|
"guardrail-explain": {
|
|
56084
56084
|
handler: async (ctx) => {
|
|
56085
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
56085
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-8yrznk98.js");
|
|
56086
56086
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
56087
56087
|
},
|
|
56088
56088
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -56092,7 +56092,7 @@ var COMMAND_REGISTRY = {
|
|
|
56092
56092
|
},
|
|
56093
56093
|
"guardrail-log": {
|
|
56094
56094
|
handler: async (ctx) => {
|
|
56095
|
-
const { handleGuardrailLog } = await import("./guardrail-log-
|
|
56095
|
+
const { handleGuardrailLog } = await import("./guardrail-log-7hj4x9yt.js");
|
|
56096
56096
|
return handleGuardrailLog(ctx.directory, ctx.args);
|
|
56097
56097
|
},
|
|
56098
56098
|
description: "Read the guardrail decision log (use --blocks-only for blocks)",
|
|
@@ -63416,7 +63416,7 @@ async function precreateStandardWorktreeSession(args) {
|
|
|
63416
63416
|
const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, provisionResult.worktreePath);
|
|
63417
63417
|
if (laneProfile) {
|
|
63418
63418
|
try {
|
|
63419
|
-
const { writeLaneProfileToDiskReal } = await import("./core-
|
|
63419
|
+
const { writeLaneProfileToDiskReal } = await import("./core-zg7fqfsm.js");
|
|
63420
63420
|
await writeLaneProfileToDiskReal(provisionResult.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
|
|
63421
63421
|
} catch {}
|
|
63422
63422
|
}
|
|
@@ -63915,7 +63915,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
|
|
|
63915
63915
|
}
|
|
63916
63916
|
clearWorktreeMergeStatus(statusKey);
|
|
63917
63917
|
try {
|
|
63918
|
-
const { removeLaneProfileFromDiskReal } = await import("./core-
|
|
63918
|
+
const { removeLaneProfileFromDiskReal } = await import("./core-zg7fqfsm.js");
|
|
63919
63919
|
await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
|
|
63920
63920
|
} catch {}
|
|
63921
63921
|
const state = serializationStateBySessionID.get(dispatch.parentSessionID);
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./index-7g4c7s5r.js";
|
|
20
20
|
import {
|
|
21
21
|
loadPluginConfigWithMeta
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-y6k6x197.js";
|
|
23
23
|
import {
|
|
24
24
|
init_logger,
|
|
25
25
|
warn
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
import {
|
|
28
28
|
KnowledgeConfigSchema,
|
|
29
29
|
init_schema
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-mqqmant3.js";
|
|
31
31
|
import {
|
|
32
32
|
emit
|
|
33
33
|
} from "./index-9d4gck4e.js";
|
|
@@ -2545,7 +2545,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2545
2545
|
}
|
|
2546
2546
|
let bumps = 0;
|
|
2547
2547
|
if (deltas.length > 0) {
|
|
2548
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2548
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-vt059r81.js");
|
|
2549
2549
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2550
2550
|
}
|
|
2551
2551
|
return {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
queryHistoricalOutcomes,
|
|
4
4
|
readKnowledgeEvents,
|
|
5
5
|
recordKnowledgeEvent
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-76651erq.js";
|
|
7
7
|
import {
|
|
8
8
|
jaccardBigram,
|
|
9
9
|
readKnowledge,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
resolveSwarmKnowledgePath,
|
|
12
12
|
transactKnowledge,
|
|
13
13
|
wordBigrams
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-hwxcdrv9.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-jr5694jb.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-f6pt0zjy.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-p5y72gtj.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import {
|
|
3
3
|
effectiveRetrievalOutcomes,
|
|
4
4
|
readAuthoritativeKnowledgeCounterRollups
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-76651erq.js";
|
|
6
6
|
import {
|
|
7
7
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
8
8
|
validateSkillPath
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-6bp1jecx.js";
|
|
10
10
|
import {
|
|
11
11
|
computeOutcomeSignal,
|
|
12
12
|
readKnowledge,
|
|
13
13
|
resolveHiveKnowledgePath,
|
|
14
14
|
resolveSwarmKnowledgePath,
|
|
15
15
|
transactKnowledge
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-hwxcdrv9.js";
|
|
17
17
|
import {
|
|
18
18
|
advisoryWarn,
|
|
19
19
|
init_warning_buffer
|
|
@@ -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-hsdx5prn.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-jr5694jb.js");
|
|
780
|
+
const { KnowledgeConfigSchema } = await import("./schema-f6pt0zjy.js");
|
|
781
781
|
let config;
|
|
782
782
|
try {
|
|
783
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
783
|
+
const { loadPluginConfigWithMeta } = await import("./index-p5y72gtj.js");
|
|
784
784
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
785
785
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
786
786
|
} catch {
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
detectPosixWrites,
|
|
13
13
|
detectWindowsWrites,
|
|
14
14
|
resolveWriteTargets
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-73sxchez.js";
|
|
16
16
|
import {
|
|
17
17
|
checkFileAuthority,
|
|
18
18
|
classifyFile,
|
|
19
19
|
isInDeclaredScope,
|
|
20
20
|
redactPath,
|
|
21
21
|
redactShellCommand
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-kkn2jxda.js";
|
|
23
23
|
|
|
24
24
|
// src/services/guardrail-explain-service.ts
|
|
25
25
|
import path from "path";
|
|
@@ -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.141.
|
|
24
|
+
version: "7.141.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",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-r6pdts5c.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-y6k6x197.js";
|
|
46
46
|
import"./index-4rhhvd1a.js";
|
|
47
47
|
import"./index-zgwm4ryv.js";
|
|
48
48
|
import {
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
TurboConfigSchema,
|
|
67
67
|
WorktreeIsolationConfigSchema,
|
|
68
68
|
resolveAutoReviewConfig
|
|
69
|
-
} from "./index-
|
|
69
|
+
} from "./index-mqqmant3.js";
|
|
70
70
|
import {
|
|
71
71
|
ALL_AGENT_NAMES,
|
|
72
72
|
ALL_SUBAGENT_NAMES,
|
|
@@ -86,7 +86,7 @@ var _internals = {
|
|
|
86
86
|
symlinkSync: fs.symlinkSync
|
|
87
87
|
},
|
|
88
88
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
89
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
89
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-jc0mtp7g.js");
|
|
90
90
|
return realWrite(directory, taskId, files);
|
|
91
91
|
},
|
|
92
92
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-y6k6x197.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-mqqmant3.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
computePlanStructureHash,
|
|
7
7
|
derivePlanId
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-mxtt4x8r.js";
|
|
9
9
|
import {
|
|
10
10
|
assertProjectRoot
|
|
11
11
|
} from "./index-zbj3yrrd.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./index-4nt52yr9.js";
|
|
18
18
|
import {
|
|
19
19
|
PlanSchema
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-y6k6x197.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./index-a76rekgs.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-jpt07f2k.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-zf5nkkdd.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -84,41 +84,41 @@ import {
|
|
|
84
84
|
handleWriteRetroCommand,
|
|
85
85
|
normalizeSwarmCommandInput,
|
|
86
86
|
resolveCommand
|
|
87
|
-
} from "./index-
|
|
87
|
+
} from "./index-73sxchez.js";
|
|
88
88
|
import"./index-4905hd2m.js";
|
|
89
89
|
import"./index-ebwznsfy.js";
|
|
90
90
|
import"./index-f1hsrgw1.js";
|
|
91
|
-
import"./index-
|
|
91
|
+
import"./index-kkn2jxda.js";
|
|
92
92
|
import"./index-c8s9a3zh.js";
|
|
93
|
-
import"./index-
|
|
94
|
-
import"./index-
|
|
93
|
+
import"./index-xx0q37xb.js";
|
|
94
|
+
import"./index-why8n7cr.js";
|
|
95
95
|
import"./index-134d35c1.js";
|
|
96
96
|
import"./index-q4vaar2b.js";
|
|
97
97
|
import"./index-y8552snf.js";
|
|
98
98
|
import"./index-9ss2m4rs.js";
|
|
99
99
|
import"./index-74hpm6sh.js";
|
|
100
|
-
import"./index-
|
|
101
|
-
import"./index-
|
|
102
|
-
import"./index-
|
|
100
|
+
import"./index-h3vk67wp.js";
|
|
101
|
+
import"./index-aqzvjhb7.js";
|
|
102
|
+
import"./index-bxjhn3t3.js";
|
|
103
103
|
import"./index-xmzmeknp.js";
|
|
104
104
|
import"./index-qskz8j2z.js";
|
|
105
|
-
import"./index-
|
|
105
|
+
import"./index-szrcxvr7.js";
|
|
106
106
|
import"./index-556ja8an.js";
|
|
107
|
-
import"./index-
|
|
107
|
+
import"./index-mxtt4x8r.js";
|
|
108
108
|
import"./index-zsrtt42s.js";
|
|
109
|
-
import"./index-
|
|
109
|
+
import"./index-qa50yyeh.js";
|
|
110
110
|
import"./index-qwm6vdyv.js";
|
|
111
111
|
import"./index-3d13jkzq.js";
|
|
112
112
|
import"./index-nse60anv.js";
|
|
113
113
|
import"./index-8fwhhayc.js";
|
|
114
114
|
import"./index-q1exe2b3.js";
|
|
115
|
-
import"./index-
|
|
115
|
+
import"./index-76651erq.js";
|
|
116
116
|
import"./index-k46me75h.js";
|
|
117
117
|
import"./index-ee3x66a5.js";
|
|
118
|
-
import"./index-
|
|
118
|
+
import"./index-6bp1jecx.js";
|
|
119
119
|
import"./index-v250345n.js";
|
|
120
120
|
import"./index-rtry5xyf.js";
|
|
121
|
-
import"./index-
|
|
121
|
+
import"./index-hwxcdrv9.js";
|
|
122
122
|
import"./index-ae75rja9.js";
|
|
123
123
|
import"./index-kq5p3nm3.js";
|
|
124
124
|
import"./index-c2hczjhp.js";
|
|
@@ -126,16 +126,16 @@ import"./index-zbj3yrrd.js";
|
|
|
126
126
|
import"./index-7g4c7s5r.js";
|
|
127
127
|
import"./index-ed5ykebp.js";
|
|
128
128
|
import"./index-4nt52yr9.js";
|
|
129
|
-
import"./index-
|
|
129
|
+
import"./index-r6pdts5c.js";
|
|
130
130
|
import"./index-gprxjmm7.js";
|
|
131
131
|
import"./index-n832052r.js";
|
|
132
|
-
import"./index-
|
|
132
|
+
import"./index-y6k6x197.js";
|
|
133
133
|
import"./index-4rhhvd1a.js";
|
|
134
134
|
import"./index-zgwm4ryv.js";
|
|
135
135
|
import {
|
|
136
136
|
init_schema,
|
|
137
137
|
stripKnownSwarmPrefix
|
|
138
|
-
} from "./index-
|
|
138
|
+
} from "./index-mqqmant3.js";
|
|
139
139
|
import {
|
|
140
140
|
AGENT_TOOL_MAP,
|
|
141
141
|
ORCHESTRATOR_NAME,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
replayFromLedgerWithStatus,
|
|
30
30
|
takeSnapshotEvent,
|
|
31
31
|
takeSnapshotWithRetry
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-mxtt4x8r.js";
|
|
33
33
|
import {
|
|
34
34
|
getWorktreeMergeFailure
|
|
35
35
|
} from "./index-zsrtt42s.js";
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
} from "./index-gprxjmm7.js";
|
|
72
72
|
import {
|
|
73
73
|
PlanSchema
|
|
74
|
-
} from "./index-
|
|
74
|
+
} from "./index-y6k6x197.js";
|
|
75
75
|
import {
|
|
76
76
|
criticalWarn,
|
|
77
77
|
error,
|