opencode-swarm 7.144.7 → 7.144.8
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/{capability-probe-976tt4ba.js → capability-probe-va4kk8vg.js} +2 -2
- package/dist/cli/{config-doctor-zdvaq4nb.js → config-doctor-zbqfp0v6.js} +2 -2
- package/dist/cli/{core-j7f118a5.js → core-pz9gwatq.js} +1 -1
- package/dist/cli/{curator-llm-factory-eny079d1.js → curator-llm-factory-3nq3p02z.js} +19 -19
- package/dist/cli/{curator-97sm8wn0.js → curator-sk0dyvke.js} +19 -19
- package/dist/cli/{evidence-summary-service-kwtb2d14.js → evidence-summary-service-abwrjqd0.js} +7 -7
- package/dist/cli/{gate-evidence-rk9j0hc4.js → gate-evidence-aa7vvtcd.js} +2 -2
- package/dist/cli/{guardrail-explain-8gggptqj.js → guardrail-explain-hvtyr2fz.js} +20 -20
- package/dist/cli/{guardrail-log-zbqf4ws6.js → guardrail-log-jw5mzs0d.js} +3 -3
- package/dist/cli/{hive-promoter-qzvtp5wx.js → hive-promoter-m20j63yg.js} +19 -19
- package/dist/cli/{index-bx20cv1v.js → index-0v1f2sdb.js} +2 -2
- package/dist/cli/{index-b44qqqt2.js → index-3g0xk6tk.js} +1 -1
- package/dist/cli/{index-77h4xjn5.js → index-3k3nbs52.js} +4 -4
- package/dist/cli/{index-zq9gs0yk.js → index-7qb0hn8n.js} +1 -1
- package/dist/cli/{index-zy7f84cs.js → index-85gkedsf.js} +14 -5
- package/dist/cli/{index-c1cfsg9y.js → index-8dbzaf0m.js} +1 -1
- package/dist/cli/{index-xjgwr4c6.js → index-bv44950t.js} +1 -1
- package/dist/cli/{index-x4q96ejx.js → index-c2rpht77.js} +50 -47
- package/dist/cli/{index-qm0mz7rj.js → index-cx51wy0c.js} +3 -3
- package/dist/cli/{index-d879g58v.js → index-d1dbpxxk.js} +1 -1
- package/dist/cli/{index-x4eqd82b.js → index-gfvkttvd.js} +1 -1
- package/dist/cli/{index-grkev1g6.js → index-jdxnzbah.js} +1 -1
- package/dist/cli/{index-jszgrk71.js → index-k7fk9fjs.js} +2 -2
- package/dist/cli/{index-gmdgap01.js → index-nmy6rss1.js} +1 -1
- package/dist/cli/{index-00fk9c3b.js → index-r14qx363.js} +1 -1
- package/dist/cli/{index-yz0hfa4g.js → index-r2rkwvzq.js} +2 -2
- package/dist/cli/{index-w9bnt74s.js → index-sxe5nyq4.js} +3 -3
- package/dist/cli/{index-r2q0nd0a.js → index-t2ntgzts.js} +3 -3
- package/dist/cli/{index-39jbnhar.js → index-t72g4a7y.js} +21 -21
- package/dist/cli/{index-7bvd5nh2.js → index-tffg4mwr.js} +1 -1
- package/dist/cli/{index-q7zy6dej.js → index-xp5g9eps.js} +1 -1
- package/dist/cli/{index-pzsezhek.js → index-xx8tm58n.js} +5 -5
- package/dist/cli/{index-s1xefrx7.js → index-z4fssj97.js} +7 -4
- package/dist/cli/index.js +19 -19
- package/dist/cli/{knowledge-escalator-fhc6ecbv.js → knowledge-escalator-mg8qb7tm.js} +6 -6
- package/dist/cli/{knowledge-events-31g69mx2.js → knowledge-events-3zxf8xpb.js} +4 -4
- package/dist/cli/{knowledge-store-g389c1cy.js → knowledge-store-awnm8s6c.js} +1 -1
- package/dist/cli/{knowledge-validator-sng5xt5a.js → knowledge-validator-3ke5scx3.js} +2 -2
- package/dist/cli/{scan-cursor-qm3tsvvw.js → scan-cursor-00rbxkb4.js} +2 -2
- package/dist/cli/{schema-vnghba3d.js → schema-5nmkp1pc.js} +1 -1
- package/dist/cli/{scope-persistence-k9mqd414.js → scope-persistence-6m79atw9.js} +4 -4
- package/dist/cli/{skill-generator-v1wdh3ne.js → skill-generator-gv70s796.js} +7 -7
- package/dist/cli/{worktree-isolation-bxt3rftm.js → worktree-isolation-bne0p54w.js} +19 -19
- package/dist/git/branch.d.ts +9 -0
- package/dist/hooks/delegation-gate/worktree-isolation.d.ts +5 -0
- package/dist/index.js +4 -4
- package/dist/sandbox/executor.d.ts +6 -0
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
stableCanonicalStringify
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-nmy6rss1.js";
|
|
5
5
|
import {
|
|
6
6
|
detectStraySwarmDirs,
|
|
7
7
|
readDoctorArtifact,
|
|
8
8
|
removeStraySwarmDir,
|
|
9
9
|
runConfigDoctor
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-r14qx363.js";
|
|
11
11
|
import {
|
|
12
12
|
MAX_TRANSIENT_RETRIES,
|
|
13
13
|
archiveEvidence,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
updateTaskStatus,
|
|
53
53
|
validateProjectRoot,
|
|
54
54
|
validateSymlinkBoundary
|
|
55
|
-
} from "./index-
|
|
55
|
+
} from "./index-z4fssj97.js";
|
|
56
56
|
import {
|
|
57
57
|
loadDatabaseCtor
|
|
58
58
|
} from "./index-134d35c1.js";
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
alreadyCuratedThisGeneration,
|
|
106
106
|
claimNextScanBatch,
|
|
107
107
|
resolveCohortId
|
|
108
|
-
} from "./index-
|
|
108
|
+
} from "./index-d1dbpxxk.js";
|
|
109
109
|
import {
|
|
110
110
|
CURATOR_INIT_PROMPT,
|
|
111
111
|
CURATOR_PHASE_PROMPT,
|
|
@@ -175,10 +175,10 @@ import {
|
|
|
175
175
|
retireSkill,
|
|
176
176
|
selectCandidateEntries,
|
|
177
177
|
syncBundledProjectSkillsIfMissingAsync
|
|
178
|
-
} from "./index-
|
|
178
|
+
} from "./index-sxe5nyq4.js";
|
|
179
179
|
import {
|
|
180
180
|
readRecentEscalations
|
|
181
|
-
} from "./index-
|
|
181
|
+
} from "./index-xx8tm58n.js";
|
|
182
182
|
import {
|
|
183
183
|
appendUnactionable,
|
|
184
184
|
quarantineEntry,
|
|
@@ -189,7 +189,7 @@ import {
|
|
|
189
189
|
validateActionableFields,
|
|
190
190
|
validateLesson,
|
|
191
191
|
validateSkillPath
|
|
192
|
-
} from "./index-
|
|
192
|
+
} from "./index-8dbzaf0m.js";
|
|
193
193
|
import {
|
|
194
194
|
authorizeCuration,
|
|
195
195
|
buildConfigFingerprintInput
|
|
@@ -242,18 +242,18 @@ import {
|
|
|
242
242
|
startupOrphanRecovery,
|
|
243
243
|
withTaskEvidenceTransaction,
|
|
244
244
|
writeWorkflowWalFile
|
|
245
|
-
} from "./index-
|
|
245
|
+
} from "./index-jdxnzbah.js";
|
|
246
246
|
import {
|
|
247
247
|
provisionWorktree,
|
|
248
248
|
removeWorktree
|
|
249
|
-
} from "./index-
|
|
249
|
+
} from "./index-xp5g9eps.js";
|
|
250
250
|
import {
|
|
251
251
|
MAX_PENDING_SCOPE_BINDINGS,
|
|
252
252
|
canonicalWorkspaceIdentity,
|
|
253
253
|
clearAllScopes,
|
|
254
254
|
clearScopeBindingFromDisk,
|
|
255
255
|
clearScopeBindings
|
|
256
|
-
} from "./index-
|
|
256
|
+
} from "./index-k7fk9fjs.js";
|
|
257
257
|
import {
|
|
258
258
|
appendLedgerEvent,
|
|
259
259
|
computePlanHash,
|
|
@@ -266,7 +266,7 @@ import {
|
|
|
266
266
|
readPlanEpochIdentity,
|
|
267
267
|
replayFromLedgerWithStatus,
|
|
268
268
|
takeSnapshotEvent
|
|
269
|
-
} from "./index-
|
|
269
|
+
} from "./index-tffg4mwr.js";
|
|
270
270
|
import {
|
|
271
271
|
isPathWithinDeclaredScope,
|
|
272
272
|
sanitizeDiagnosticText
|
|
@@ -281,12 +281,13 @@ import {
|
|
|
281
281
|
import {
|
|
282
282
|
SandboxCapabilityProbe,
|
|
283
283
|
init_capability_probe
|
|
284
|
-
} from "./index-
|
|
284
|
+
} from "./index-3g0xk6tk.js";
|
|
285
285
|
import {
|
|
286
286
|
getExecutor,
|
|
287
287
|
init_executor,
|
|
288
|
+
isUntrustedEnvKey,
|
|
288
289
|
isValidEnvKey
|
|
289
|
-
} from "./index-
|
|
290
|
+
} from "./index-85gkedsf.js";
|
|
290
291
|
import {
|
|
291
292
|
appendKnowledge,
|
|
292
293
|
appendRejectedLesson,
|
|
@@ -316,7 +317,7 @@ import {
|
|
|
316
317
|
transactFile,
|
|
317
318
|
transactKnowledge,
|
|
318
319
|
wordBigrams
|
|
319
|
-
} from "./index-
|
|
320
|
+
} from "./index-3k3nbs52.js";
|
|
320
321
|
import {
|
|
321
322
|
MAX_EVENT_LOG_ENTRIES,
|
|
322
323
|
_internals as _internals2,
|
|
@@ -330,10 +331,10 @@ import {
|
|
|
330
331
|
recordKnowledgeEvent,
|
|
331
332
|
recordPhaseCloseIntent,
|
|
332
333
|
resolveKnowledgeEventsPath
|
|
333
|
-
} from "./index-
|
|
334
|
+
} from "./index-cx51wy0c.js";
|
|
334
335
|
import {
|
|
335
336
|
resolveWorktreeIsolationConfig
|
|
336
|
-
} from "./index-
|
|
337
|
+
} from "./index-0v1f2sdb.js";
|
|
337
338
|
import {
|
|
338
339
|
RetrospectiveEvidenceSchema
|
|
339
340
|
} from "./index-gprxjmm7.js";
|
|
@@ -348,7 +349,7 @@ import {
|
|
|
348
349
|
init_loader,
|
|
349
350
|
loadPluginConfig,
|
|
350
351
|
loadPluginConfigWithMeta
|
|
351
|
-
} from "./index-
|
|
352
|
+
} from "./index-7qb0hn8n.js";
|
|
352
353
|
import {
|
|
353
354
|
DEFAULT_SKILL_OPT_CONFIG,
|
|
354
355
|
FALLBACK_MODELS_MAX,
|
|
@@ -362,7 +363,7 @@ import {
|
|
|
362
363
|
package_default,
|
|
363
364
|
resolveAutoReviewConfig,
|
|
364
365
|
stripKnownSwarmPrefix
|
|
365
|
-
} from "./index-
|
|
366
|
+
} from "./index-gfvkttvd.js";
|
|
366
367
|
import {
|
|
367
368
|
AGENT_TOOL_MAP,
|
|
368
369
|
ALL_AGENT_NAMES,
|
|
@@ -4182,7 +4183,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
|
|
|
4182
4183
|
awaitingMergeByCallID,
|
|
4183
4184
|
cleanupStandardWorktreeForCallId,
|
|
4184
4185
|
standardWorktreeByCallID
|
|
4185
|
-
} = await import("./worktree-isolation-
|
|
4186
|
+
} = await import("./worktree-isolation-bne0p54w.js");
|
|
4186
4187
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
4187
4188
|
if (hasResidue)
|
|
4188
4189
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -4284,7 +4285,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
4284
4285
|
awaitingMergeByCallID,
|
|
4285
4286
|
finishStandardWorktreeDispatch,
|
|
4286
4287
|
standardWorktreeByCallID
|
|
4287
|
-
} = await import("./worktree-isolation-
|
|
4288
|
+
} = await import("./worktree-isolation-bne0p54w.js");
|
|
4288
4289
|
const descriptor = wal.worktree;
|
|
4289
4290
|
const reconstructedDispatch = {
|
|
4290
4291
|
callID: descriptor.callID,
|
|
@@ -15547,7 +15548,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
|
|
|
15547
15548
|
};
|
|
15548
15549
|
}
|
|
15549
15550
|
async function sweepActiveNearDuplicates(directory, options = {}) {
|
|
15550
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
15551
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-t2ntgzts.js");
|
|
15551
15552
|
const { config } = loadPluginConfigWithMeta2(directory);
|
|
15552
15553
|
const sweepConfig = config.learning?.dedup_sweep;
|
|
15553
15554
|
if (sweepConfig?.enabled === false)
|
|
@@ -16631,7 +16632,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
|
|
|
16631
16632
|
}
|
|
16632
16633
|
if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
|
|
16633
16634
|
try {
|
|
16634
|
-
const skillModule = await import("./skill-generator-
|
|
16635
|
+
const skillModule = await import("./skill-generator-gv70s796.js");
|
|
16635
16636
|
for (const cand of skillCandidates) {
|
|
16636
16637
|
if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
|
|
16637
16638
|
continue;
|
|
@@ -17091,7 +17092,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
|
|
|
17091
17092
|
} catch {}
|
|
17092
17093
|
}
|
|
17093
17094
|
if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
|
|
17094
|
-
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-
|
|
17095
|
+
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-mg8qb7tm.js");
|
|
17095
17096
|
for (const { id } of contradictedEntries) {
|
|
17096
17097
|
try {
|
|
17097
17098
|
await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
|
|
@@ -17910,7 +17911,7 @@ async function runCuratorPostMortem(directory, options = {}) {
|
|
|
17910
17911
|
warnings.push("Failed to collect knowledge summary.");
|
|
17911
17912
|
}
|
|
17912
17913
|
try {
|
|
17913
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
17914
|
+
const { getScanStatus } = await import("./scan-cursor-00rbxkb4.js");
|
|
17914
17915
|
const scanStatus = await getScanStatus(directory);
|
|
17915
17916
|
if (scanStatus.remaining_estimate > 0) {
|
|
17916
17917
|
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.`);
|
|
@@ -18082,9 +18083,9 @@ var _internals24 = {
|
|
|
18082
18083
|
verifyPostMortemKnowledgeActions,
|
|
18083
18084
|
repairPostMortemActions,
|
|
18084
18085
|
loadDefaultKnowledgeConfig: async (directory) => {
|
|
18085
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
18086
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-5nmkp1pc.js");
|
|
18086
18087
|
try {
|
|
18087
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
18088
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-t2ntgzts.js");
|
|
18088
18089
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
18089
18090
|
return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
18090
18091
|
} catch {
|
|
@@ -18092,11 +18093,11 @@ var _internals24 = {
|
|
|
18092
18093
|
}
|
|
18093
18094
|
},
|
|
18094
18095
|
applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
|
|
18095
|
-
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-
|
|
18096
|
+
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-sk0dyvke.js");
|
|
18096
18097
|
return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
|
|
18097
18098
|
},
|
|
18098
18099
|
checkHivePromotions: async (entries, knowledgeConfig, directory) => {
|
|
18099
|
-
const { checkHivePromotions } = await import("./hive-promoter-
|
|
18100
|
+
const { checkHivePromotions } = await import("./hive-promoter-m20j63yg.js");
|
|
18100
18101
|
return checkHivePromotions(entries, knowledgeConfig, directory);
|
|
18101
18102
|
},
|
|
18102
18103
|
applyProposalTriage: async (directory, triage) => {
|
|
@@ -18105,7 +18106,7 @@ var _internals24 = {
|
|
|
18105
18106
|
activateProposal,
|
|
18106
18107
|
listSkills: listSkills2,
|
|
18107
18108
|
sanitizeSlug
|
|
18108
|
-
} = await import("./skill-generator-
|
|
18109
|
+
} = await import("./skill-generator-gv70s796.js");
|
|
18109
18110
|
const result = {
|
|
18110
18111
|
approved: [],
|
|
18111
18112
|
rejected: [],
|
|
@@ -19441,9 +19442,9 @@ function hashContent(content) {
|
|
|
19441
19442
|
return createHash7("sha1").update(content).digest("hex");
|
|
19442
19443
|
}
|
|
19443
19444
|
async function loadConfigForPolicyCurator(directory) {
|
|
19444
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
19445
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-5nmkp1pc.js");
|
|
19445
19446
|
try {
|
|
19446
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
19447
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-t2ntgzts.js");
|
|
19447
19448
|
const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
|
|
19448
19449
|
return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
|
|
19449
19450
|
} catch {
|
|
@@ -29105,7 +29106,7 @@ async function runFinalizeStage(ctx) {
|
|
|
29105
29106
|
}
|
|
29106
29107
|
}
|
|
29107
29108
|
try {
|
|
29108
|
-
const { CuratorConfigSchema: CCS } = await import("./schema-
|
|
29109
|
+
const { CuratorConfigSchema: CCS } = await import("./schema-5nmkp1pc.js");
|
|
29109
29110
|
const { config: pmLoadedConfig } = _internals37.loadPluginConfigWithMeta(ctx.directory);
|
|
29110
29111
|
const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
|
|
29111
29112
|
if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
|
|
@@ -31385,9 +31386,9 @@ var _internals42 = {
|
|
|
31385
31386
|
loadPluginConfigWithMeta,
|
|
31386
31387
|
loadCuratorDeps: async () => {
|
|
31387
31388
|
const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
|
|
31388
|
-
import("./schema-
|
|
31389
|
-
import("./curator-
|
|
31390
|
-
import("./curator-llm-factory-
|
|
31389
|
+
import("./schema-5nmkp1pc.js"),
|
|
31390
|
+
import("./curator-sk0dyvke.js"),
|
|
31391
|
+
import("./curator-llm-factory-3nq3p02z.js")
|
|
31391
31392
|
]);
|
|
31392
31393
|
return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
|
|
31393
31394
|
}
|
|
@@ -32341,7 +32342,7 @@ async function computeCurationDiagnostics(directory, entries) {
|
|
|
32341
32342
|
let scanCompleted = false;
|
|
32342
32343
|
let scanRemaining = 0;
|
|
32343
32344
|
try {
|
|
32344
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
32345
|
+
const { getScanStatus } = await import("./scan-cursor-00rbxkb4.js");
|
|
32345
32346
|
const status = await getScanStatus(directory);
|
|
32346
32347
|
scanGeneration = status.generation;
|
|
32347
32348
|
scanCompleted = status.completed;
|
|
@@ -32351,10 +32352,10 @@ async function computeCurationDiagnostics(directory, entries) {
|
|
|
32351
32352
|
try {
|
|
32352
32353
|
const { isLinked: isLinked2 } = await import("./knowledge-link-4cg4776a.js");
|
|
32353
32354
|
if (isLinked2(directory)) {
|
|
32354
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
32355
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-5nmkp1pc.js");
|
|
32355
32356
|
let config;
|
|
32356
32357
|
try {
|
|
32357
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
32358
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-t2ntgzts.js");
|
|
32358
32359
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
32359
32360
|
config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
32360
32361
|
} catch {
|
|
@@ -33611,7 +33612,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
33611
33612
|
const result = runConfigDoctor(config, directory);
|
|
33612
33613
|
let output;
|
|
33613
33614
|
if (enableAutoFix && result.hasAutoFixableIssues) {
|
|
33614
|
-
const { runConfigDoctorWithFixes } = await import("./config-doctor-
|
|
33615
|
+
const { runConfigDoctorWithFixes } = await import("./config-doctor-zbqfp0v6.js");
|
|
33615
33616
|
const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
|
|
33616
33617
|
applyLossy: true
|
|
33617
33618
|
});
|
|
@@ -34448,7 +34449,7 @@ async function handleEvidenceCommand(directory, args) {
|
|
|
34448
34449
|
return formatTaskEvidenceMarkdown(evidenceData);
|
|
34449
34450
|
}
|
|
34450
34451
|
async function handleEvidenceSummaryCommand(directory) {
|
|
34451
|
-
const { buildEvidenceSummary } = await import("./evidence-summary-service-
|
|
34452
|
+
const { buildEvidenceSummary } = await import("./evidence-summary-service-abwrjqd0.js");
|
|
34452
34453
|
const artifact = await buildEvidenceSummary(directory);
|
|
34453
34454
|
if (!artifact) {
|
|
34454
34455
|
return "No plan found. Run `/swarm plan` to check plan status.";
|
|
@@ -63678,7 +63679,7 @@ function buildDetailedHelp(commandName, entry) {
|
|
|
63678
63679
|
async function handleHelpCommand(ctx) {
|
|
63679
63680
|
const targetCommand = ctx.args.join(" ");
|
|
63680
63681
|
if (!targetCommand) {
|
|
63681
|
-
const { buildHelpText } = await import("./index-
|
|
63682
|
+
const { buildHelpText } = await import("./index-t72g4a7y.js");
|
|
63682
63683
|
return buildHelpText();
|
|
63683
63684
|
}
|
|
63684
63685
|
const tokens = targetCommand.split(/\s+/);
|
|
@@ -63687,7 +63688,7 @@ async function handleHelpCommand(ctx) {
|
|
|
63687
63688
|
return _internals93.buildDetailedHelp(resolved.key, resolved.entry);
|
|
63688
63689
|
}
|
|
63689
63690
|
const similar = _internals93.findSimilarCommands(targetCommand);
|
|
63690
|
-
const { buildHelpText: fullHelp } = await import("./index-
|
|
63691
|
+
const { buildHelpText: fullHelp } = await import("./index-t72g4a7y.js");
|
|
63691
63692
|
if (similar.length > 0) {
|
|
63692
63693
|
return `Command '/swarm ${targetCommand}' not found.
|
|
63693
63694
|
|
|
@@ -63864,7 +63865,7 @@ var COMMAND_REGISTRY = {
|
|
|
63864
63865
|
},
|
|
63865
63866
|
"guardrail explain": {
|
|
63866
63867
|
handler: async (ctx) => {
|
|
63867
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
63868
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-hvtyr2fz.js");
|
|
63868
63869
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
63869
63870
|
},
|
|
63870
63871
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -63874,7 +63875,7 @@ var COMMAND_REGISTRY = {
|
|
|
63874
63875
|
},
|
|
63875
63876
|
"guardrail-explain": {
|
|
63876
63877
|
handler: async (ctx) => {
|
|
63877
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
63878
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-hvtyr2fz.js");
|
|
63878
63879
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
63879
63880
|
},
|
|
63880
63881
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -63884,7 +63885,7 @@ var COMMAND_REGISTRY = {
|
|
|
63884
63885
|
},
|
|
63885
63886
|
"guardrail-log": {
|
|
63886
63887
|
handler: async (ctx) => {
|
|
63887
|
-
const { handleGuardrailLog } = await import("./guardrail-log-
|
|
63888
|
+
const { handleGuardrailLog } = await import("./guardrail-log-jw5mzs0d.js");
|
|
63888
63889
|
return handleGuardrailLog(ctx.directory, ctx.args);
|
|
63889
63890
|
},
|
|
63890
63891
|
description: "Read the guardrail decision log (use --blocks-only for blocks)",
|
|
@@ -71431,7 +71432,7 @@ async function precreateStandardWorktreeSession(args) {
|
|
|
71431
71432
|
const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, provisionResult.worktreePath);
|
|
71432
71433
|
if (laneProfile) {
|
|
71433
71434
|
try {
|
|
71434
|
-
const { writeLaneProfileToDiskReal } = await import("./core-
|
|
71435
|
+
const { writeLaneProfileToDiskReal } = await import("./core-pz9gwatq.js");
|
|
71435
71436
|
await writeLaneProfileToDiskReal(provisionResult.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
|
|
71436
71437
|
} catch {}
|
|
71437
71438
|
}
|
|
@@ -72087,7 +72088,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
|
|
|
72087
72088
|
}
|
|
72088
72089
|
clearWorktreeMergeStatus(statusKey);
|
|
72089
72090
|
try {
|
|
72090
|
-
const { removeLaneProfileFromDiskReal } = await import("./core-
|
|
72091
|
+
const { removeLaneProfileFromDiskReal } = await import("./core-pz9gwatq.js");
|
|
72091
72092
|
await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
|
|
72092
72093
|
} catch {}
|
|
72093
72094
|
const state = serializationStateBySessionID.get(dispatch.parentSessionID);
|
|
@@ -72199,6 +72200,8 @@ async function readLaneEnvFileFromDisk(worktreePath, laneIndex) {
|
|
|
72199
72200
|
const v = line.slice(eqIdx + 1);
|
|
72200
72201
|
if (!isValidEnvKey(k))
|
|
72201
72202
|
continue;
|
|
72203
|
+
if (isUntrustedEnvKey(k))
|
|
72204
|
+
continue;
|
|
72202
72205
|
result[k] = v;
|
|
72203
72206
|
}
|
|
72204
72207
|
return result;
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
} from "./index-fv0s19g9.js";
|
|
5
5
|
import {
|
|
6
6
|
loadPluginConfigWithMeta
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-7qb0hn8n.js";
|
|
8
8
|
import {
|
|
9
9
|
KnowledgeConfigSchema,
|
|
10
10
|
init_schema
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-gfvkttvd.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveHiveEventsPath
|
|
14
14
|
} from "./index-ae75rja9.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-awnm8s6c.js");
|
|
2549
2549
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2550
2550
|
}
|
|
2551
2551
|
return {
|
|
@@ -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.144.
|
|
24
|
+
version: "7.144.8",
|
|
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,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-tffg4mwr.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-7qb0hn8n.js";
|
|
12
12
|
import {
|
|
13
13
|
assertProjectRoot
|
|
14
14
|
} from "./index-f9vvg5xb.js";
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
detectPosixWrites,
|
|
13
13
|
detectWindowsWrites,
|
|
14
14
|
resolveWriteTargets
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-c2rpht77.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-nmy6rss1.js";
|
|
23
23
|
|
|
24
24
|
// src/services/guardrail-explain-service.ts
|
|
25
25
|
import path from "path";
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
4
4
|
validateSkillPath
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-8dbzaf0m.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-3k3nbs52.js";
|
|
13
13
|
import {
|
|
14
14
|
effectiveRetrievalOutcomes,
|
|
15
15
|
readAuthoritativeKnowledgeCounterRollups
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-cx51wy0c.js";
|
|
17
17
|
import {
|
|
18
18
|
advisoryWarn,
|
|
19
19
|
init_warning_buffer
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-0v1f2sdb.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-7qb0hn8n.js";
|
|
46
46
|
import {
|
|
47
47
|
AUTO_REVIEW_V8_BURN_IN_DECISION,
|
|
48
48
|
AgentOverrideConfigSchema,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
TurboConfigSchema,
|
|
65
65
|
WorktreeIsolationConfigSchema,
|
|
66
66
|
resolveAutoReviewConfig
|
|
67
|
-
} from "./index-
|
|
67
|
+
} from "./index-gfvkttvd.js";
|
|
68
68
|
import {
|
|
69
69
|
ALL_AGENT_NAMES,
|
|
70
70
|
ALL_SUBAGENT_NAMES,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-r2rkwvzq.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-bv44950t.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -85,50 +85,50 @@ import {
|
|
|
85
85
|
handleWriteRetroCommand,
|
|
86
86
|
normalizeSwarmCommandInput,
|
|
87
87
|
resolveCommand
|
|
88
|
-
} from "./index-
|
|
89
|
-
import"./index-
|
|
90
|
-
import"./index-
|
|
91
|
-
import"./index-
|
|
88
|
+
} from "./index-c2rpht77.js";
|
|
89
|
+
import"./index-nmy6rss1.js";
|
|
90
|
+
import"./index-r14qx363.js";
|
|
91
|
+
import"./index-z4fssj97.js";
|
|
92
92
|
import"./index-134d35c1.js";
|
|
93
93
|
import"./index-abtrcs16.js";
|
|
94
94
|
import"./index-6z5jtf7d.js";
|
|
95
95
|
import"./index-wknz5c8q.js";
|
|
96
96
|
import"./index-y8552snf.js";
|
|
97
|
-
import"./index-
|
|
97
|
+
import"./index-d1dbpxxk.js";
|
|
98
98
|
import"./index-70ha9e09.js";
|
|
99
99
|
import"./index-c8s9a3zh.js";
|
|
100
100
|
import"./index-9ss2m4rs.js";
|
|
101
101
|
import"./index-f36ybbsv.js";
|
|
102
102
|
import"./index-hkdgkkhb.js";
|
|
103
|
-
import"./index-
|
|
104
|
-
import"./index-
|
|
105
|
-
import"./index-
|
|
103
|
+
import"./index-sxe5nyq4.js";
|
|
104
|
+
import"./index-xx8tm58n.js";
|
|
105
|
+
import"./index-8dbzaf0m.js";
|
|
106
106
|
import"./index-vdha477y.js";
|
|
107
107
|
import"./index-rtry5xyf.js";
|
|
108
108
|
import"./index-zsrtt42s.js";
|
|
109
109
|
import"./index-n4hwcsbd.js";
|
|
110
110
|
import"./index-cwtpqm5f.js";
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
114
|
-
import"./index-
|
|
111
|
+
import"./index-jdxnzbah.js";
|
|
112
|
+
import"./index-xp5g9eps.js";
|
|
113
|
+
import"./index-k7fk9fjs.js";
|
|
114
|
+
import"./index-tffg4mwr.js";
|
|
115
115
|
import"./index-556ja8an.js";
|
|
116
116
|
import"./index-7sy3aa9m.js";
|
|
117
117
|
import"./index-wx8zdh4a.js";
|
|
118
|
-
import"./index-
|
|
119
|
-
import"./index-
|
|
120
|
-
import"./index-
|
|
121
|
-
import"./index-
|
|
122
|
-
import"./index-
|
|
118
|
+
import"./index-3g0xk6tk.js";
|
|
119
|
+
import"./index-85gkedsf.js";
|
|
120
|
+
import"./index-3k3nbs52.js";
|
|
121
|
+
import"./index-cx51wy0c.js";
|
|
122
|
+
import"./index-0v1f2sdb.js";
|
|
123
123
|
import"./index-gprxjmm7.js";
|
|
124
124
|
import"./index-n832052r.js";
|
|
125
125
|
import"./index-fv0s19g9.js";
|
|
126
126
|
import"./index-z6xqpmqg.js";
|
|
127
|
-
import"./index-
|
|
127
|
+
import"./index-7qb0hn8n.js";
|
|
128
128
|
import {
|
|
129
129
|
init_schema,
|
|
130
130
|
stripKnownSwarmPrefix
|
|
131
|
-
} from "./index-
|
|
131
|
+
} from "./index-gfvkttvd.js";
|
|
132
132
|
import {
|
|
133
133
|
AGENT_TOOL_MAP,
|
|
134
134
|
ORCHESTRATOR_NAME,
|
|
@@ -92,7 +92,7 @@ var _internals = {
|
|
|
92
92
|
symlinkSync: fs.symlinkSync
|
|
93
93
|
},
|
|
94
94
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
95
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
95
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-6m79atw9.js");
|
|
96
96
|
return realWrite(directory, taskId, files);
|
|
97
97
|
},
|
|
98
98
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-3k3nbs52.js";
|
|
10
10
|
import {
|
|
11
11
|
queryHistoricalOutcomes,
|
|
12
12
|
readKnowledgeEvents,
|
|
13
13
|
recordKnowledgeEvent
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-cx51wy0c.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-3ke5scx3.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-5nmkp1pc.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-t2ntgzts.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|