opencode-swarm 7.167.0 → 7.167.1
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/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/cli/{coder-settlement-j5e1pz2k.js → coder-settlement-2ye4s5xr.js} +3 -3
- package/dist/cli/{config-doctor-35pd2khv.js → config-doctor-b0k8eyd6.js} +2 -2
- package/dist/cli/{core-92m54spz.js → core-xgzgjk8s.js} +1 -1
- package/dist/cli/{curator-pd098ytk.js → curator-jpvzrxcv.js} +19 -19
- package/dist/cli/{curator-llm-factory-vj5aqyd1.js → curator-llm-factory-zeb0pe2j.js} +19 -19
- package/dist/cli/{evidence-summary-service-kwcme5fz.js → evidence-summary-service-74az43cb.js} +6 -6
- package/dist/cli/{gate-evidence-msn4kya1.js → gate-evidence-f26h2gn3.js} +2 -2
- package/dist/cli/{guardrail-explain-2h9m8s4j.js → guardrail-explain-5vhveypz.js} +20 -20
- package/dist/cli/{guardrail-log-p6trrsvy.js → guardrail-log-pnye3xw8.js} +3 -3
- package/dist/cli/{guardrail-reset-v6ds2t78.js → guardrail-reset-0da7q8ap.js} +19 -19
- package/dist/cli/{hive-promoter-j2pjzrdh.js → hive-promoter-2vj54xc4.js} +19 -19
- package/dist/cli/{index-wyca2c0w.js → index-32bxwzw0.js} +50 -50
- package/dist/cli/{index-hdkt3n2k.js → index-54vzqy47.js} +3 -3
- package/dist/cli/{index-tnb4jf94.js → index-69y9p6dh.js} +2 -2
- package/dist/cli/{index-t6hdjtfy.js → index-79wnzc8q.js} +1 -1
- package/dist/cli/{index-mqbgkv5h.js → index-87agfprq.js} +1 -1
- package/dist/cli/{index-zs0nyasy.js → index-8x4zwk0t.js} +21 -21
- package/dist/cli/{index-r09mpxtp.js → index-9bhzbwa4.js} +4 -4
- package/dist/cli/{index-jhna6xnb.js → index-bf6zx8cq.js} +1 -1
- package/dist/cli/{index-qmqn59mw.js → index-bv8ha57q.js} +1 -1
- package/dist/cli/{index-chdyjg3s.js → index-bzdc4b7t.js} +3 -3
- package/dist/cli/{index-kg74hnbc.js → index-emwezg3y.js} +1 -1
- package/dist/cli/{index-wkj8m6wh.js → index-eretcr6t.js} +3 -3
- package/dist/cli/{index-d9vbyb5a.js → index-es13aqdb.js} +1 -1
- package/dist/cli/{index-7yax969v.js → index-f8xk5q5j.js} +1 -1
- package/dist/cli/{index-va2m1y35.js → index-fenasyvr.js} +1 -1
- package/dist/cli/{index-gw2d37dz.js → index-fmzz6aw7.js} +1 -1
- package/dist/cli/{index-d2phtxg2.js → index-hdsg7yf6.js} +2 -2
- package/dist/cli/{index-dczrrnzp.js → index-mgc3c483.js} +2 -2
- package/dist/cli/{index-9qceke8g.js → index-q265ytw6.js} +1 -1
- package/dist/cli/{index-ywa4jvg9.js → index-qtd3hrk8.js} +5 -5
- package/dist/cli/{index-n5bqrkgw.js → index-qyr17fbz.js} +3 -3
- package/dist/cli/{index-gbbahxhw.js → index-z5gdgdkp.js} +3 -3
- package/dist/cli/{index-zq0btxga.js → index-zwsbegc1.js} +1 -1
- package/dist/cli/index.js +19 -19
- package/dist/cli/{knowledge-escalator-skbk8tq8.js → knowledge-escalator-p2a8xh8x.js} +6 -6
- package/dist/cli/{knowledge-events-czaxq8hg.js → knowledge-events-jmh28m8d.js} +4 -4
- package/dist/cli/{knowledge-store-wztr2gwz.js → knowledge-store-8gmabtsn.js} +1 -1
- package/dist/cli/{knowledge-validator-0eq5evs6.js → knowledge-validator-yk579vs4.js} +2 -2
- package/dist/cli/{pending-delegations-2bran18p.js → pending-delegations-nw7ph53z.js} +2 -2
- package/dist/cli/{pr-subscriptions-rdp58505.js → pr-subscriptions-9815fxbc.js} +1 -1
- package/dist/cli/{pr-workflow-gate-dgk3zzgs.js → pr-workflow-gate-98a7b6py.js} +19 -19
- package/dist/cli/{scan-cursor-ag6y6c14.js → scan-cursor-6zcs0frg.js} +2 -2
- package/dist/cli/{schema-qmh504jp.js → schema-warvhy9h.js} +1 -1
- package/dist/cli/{scope-persistence-c1ctykah.js → scope-persistence-c2ck77cv.js} +5 -5
- package/dist/cli/{skill-generator-yqgwds3s.js → skill-generator-jamm1cna.js} +7 -7
- package/dist/cli/{snapshot-coordination-init-62pxgka1.js → snapshot-coordination-init-st0xsn3f.js} +19 -19
- package/dist/cli/{worktree-collision-ownership-81773mwf.js → worktree-collision-ownership-qra7r8pw.js} +2 -2
- package/dist/cli/{worktree-isolation-j2ewvha7.js → worktree-isolation-yr9gnf64.js} +19 -19
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
protectedRoots,
|
|
26
26
|
redactDecisionLineForArchive,
|
|
27
27
|
stableCanonicalStringify
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-q265ytw6.js";
|
|
29
29
|
import {
|
|
30
30
|
detectStraySwarmDirs,
|
|
31
31
|
readDoctorArtifact,
|
|
32
32
|
removeStraySwarmDir,
|
|
33
33
|
runConfigDoctor
|
|
34
|
-
} from "./index-
|
|
34
|
+
} from "./index-bf6zx8cq.js";
|
|
35
35
|
import {
|
|
36
36
|
MAX_TRANSIENT_RETRIES,
|
|
37
37
|
archiveEvidence,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
updateTaskCheckpointReceipt,
|
|
73
73
|
updateTaskStatus,
|
|
74
74
|
validateProjectRoot
|
|
75
|
-
} from "./index-
|
|
75
|
+
} from "./index-qyr17fbz.js";
|
|
76
76
|
import {
|
|
77
77
|
EvaluationTaskV1Schema,
|
|
78
78
|
GateAuditManifestV1Schema,
|
|
@@ -128,15 +128,15 @@ import {
|
|
|
128
128
|
retireSkill,
|
|
129
129
|
selectCandidateEntries,
|
|
130
130
|
syncBundledProjectSkillsIfMissingAsync
|
|
131
|
-
} from "./index-
|
|
131
|
+
} from "./index-bzdc4b7t.js";
|
|
132
132
|
import {
|
|
133
133
|
readRecentEscalations
|
|
134
|
-
} from "./index-
|
|
134
|
+
} from "./index-qtd3hrk8.js";
|
|
135
135
|
import {
|
|
136
136
|
alreadyCuratedThisGeneration,
|
|
137
137
|
claimNextScanBatch,
|
|
138
138
|
resolveCohortId
|
|
139
|
-
} from "./index-
|
|
139
|
+
} from "./index-79wnzc8q.js";
|
|
140
140
|
import {
|
|
141
141
|
CURATOR_INIT_PROMPT,
|
|
142
142
|
CURATOR_PHASE_PROMPT,
|
|
@@ -179,7 +179,7 @@ import {
|
|
|
179
179
|
listCoderSettlementWalStates,
|
|
180
180
|
recoverCoderSettlement,
|
|
181
181
|
recoverStaleCoderSettlements
|
|
182
|
-
} from "./index-
|
|
182
|
+
} from "./index-eretcr6t.js";
|
|
183
183
|
import {
|
|
184
184
|
parsePorcelainV2Snapshot,
|
|
185
185
|
resolveCommitCountSince,
|
|
@@ -248,13 +248,13 @@ import {
|
|
|
248
248
|
transitionTaskWorkflowEvidence,
|
|
249
249
|
withTaskEvidenceTransaction,
|
|
250
250
|
writeWorkflowWalFile
|
|
251
|
-
} from "./index-
|
|
251
|
+
} from "./index-bv8ha57q.js";
|
|
252
252
|
import {
|
|
253
253
|
isPathUnderSwarmWorktreeBase,
|
|
254
254
|
makeWorktreeBranchName,
|
|
255
255
|
provisionWorktree,
|
|
256
256
|
removeWorktree
|
|
257
|
-
} from "./index-
|
|
257
|
+
} from "./index-fmzz6aw7.js";
|
|
258
258
|
import {
|
|
259
259
|
DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
|
|
260
260
|
DELEGATION_COMPACTION_HIGH_WATER_BYTES,
|
|
@@ -288,7 +288,7 @@ import {
|
|
|
288
288
|
scanBackgroundCoderReservationsForAdmission,
|
|
289
289
|
scanDelegationsForRecovery,
|
|
290
290
|
sweepStaleDelegations
|
|
291
|
-
} from "./index-
|
|
291
|
+
} from "./index-zwsbegc1.js";
|
|
292
292
|
import {
|
|
293
293
|
MAX_EVENT_LOG_ENTRIES,
|
|
294
294
|
_internals,
|
|
@@ -304,7 +304,7 @@ import {
|
|
|
304
304
|
recordKnowledgeEvent,
|
|
305
305
|
recordPhaseCloseIntent,
|
|
306
306
|
resolveKnowledgeEventsPath
|
|
307
|
-
} from "./index-
|
|
307
|
+
} from "./index-z5gdgdkp.js";
|
|
308
308
|
import {
|
|
309
309
|
estimateTokens,
|
|
310
310
|
readSwarmFileAsync,
|
|
@@ -330,7 +330,7 @@ import {
|
|
|
330
330
|
validateActionableFields,
|
|
331
331
|
validateLesson,
|
|
332
332
|
validateSkillPath
|
|
333
|
-
} from "./index-
|
|
333
|
+
} from "./index-f8xk5q5j.js";
|
|
334
334
|
import {
|
|
335
335
|
MAX_CURATION_PROPOSALS,
|
|
336
336
|
authorizeCuration,
|
|
@@ -341,7 +341,7 @@ import {
|
|
|
341
341
|
} from "./index-rtry5xyf.js";
|
|
342
342
|
import {
|
|
343
343
|
resolveWorktreeIsolationConfig
|
|
344
|
-
} from "./index-
|
|
344
|
+
} from "./index-hdsg7yf6.js";
|
|
345
345
|
import {
|
|
346
346
|
RetrospectiveEvidenceSchema
|
|
347
347
|
} from "./index-3qf1vxtb.js";
|
|
@@ -351,7 +351,7 @@ import {
|
|
|
351
351
|
clearAllScopes,
|
|
352
352
|
clearScopeBindingFromDisk,
|
|
353
353
|
clearScopeBindings
|
|
354
|
-
} from "./index-
|
|
354
|
+
} from "./index-mgc3c483.js";
|
|
355
355
|
import {
|
|
356
356
|
appendLedgerEvent,
|
|
357
357
|
computePlanLedgerHash,
|
|
@@ -364,7 +364,7 @@ import {
|
|
|
364
364
|
readPlanEpochIdentity,
|
|
365
365
|
replayFromLedgerWithStatus,
|
|
366
366
|
takeSnapshotEvent
|
|
367
|
-
} from "./index-
|
|
367
|
+
} from "./index-fenasyvr.js";
|
|
368
368
|
import {
|
|
369
369
|
CORE_EVENT_LOCKED,
|
|
370
370
|
appendCoreEventSync,
|
|
@@ -447,7 +447,7 @@ import {
|
|
|
447
447
|
transactFile,
|
|
448
448
|
transactKnowledge,
|
|
449
449
|
wordBigrams
|
|
450
|
-
} from "./index-
|
|
450
|
+
} from "./index-9bhzbwa4.js";
|
|
451
451
|
import {
|
|
452
452
|
readTailJsonl,
|
|
453
453
|
readTailJsonlDetailed,
|
|
@@ -510,7 +510,7 @@ import {
|
|
|
510
510
|
loadGateOverrides,
|
|
511
511
|
loadPluginConfig,
|
|
512
512
|
loadPluginConfigWithMeta
|
|
513
|
-
} from "./index-
|
|
513
|
+
} from "./index-emwezg3y.js";
|
|
514
514
|
import {
|
|
515
515
|
init_git_executable,
|
|
516
516
|
resolveGitExecutable,
|
|
@@ -538,7 +538,7 @@ import {
|
|
|
538
538
|
resolveAutoReviewConfig,
|
|
539
539
|
resolveGeneratedAgentRole,
|
|
540
540
|
stripKnownSwarmPrefix
|
|
541
|
-
} from "./index-
|
|
541
|
+
} from "./index-87agfprq.js";
|
|
542
542
|
import {
|
|
543
543
|
AGENT_TOOL_MAP,
|
|
544
544
|
ALL_AGENT_NAMES,
|
|
@@ -9489,7 +9489,7 @@ async function importLegacyPrWorkflowGateStateIfNeeded(directory, sessionID, all
|
|
|
9489
9489
|
return null;
|
|
9490
9490
|
throw error2;
|
|
9491
9491
|
}
|
|
9492
|
-
const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-
|
|
9492
|
+
const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-98a7b6py.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
|
|
9493
9493
|
if (!legacy)
|
|
9494
9494
|
return null;
|
|
9495
9495
|
const namespace = workflowGateStateCoordinationNamespace(sessionID);
|
|
@@ -9559,7 +9559,7 @@ async function deleteStateWhileLocked(directory, sessionID, options = {}) {
|
|
|
9559
9559
|
let recoveryState = null;
|
|
9560
9560
|
if (!currentAuthoritative) {
|
|
9561
9561
|
if (options.allowSalvagedRead) {
|
|
9562
|
-
const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-
|
|
9562
|
+
const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-98a7b6py.js");
|
|
9563
9563
|
recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
|
|
9564
9564
|
}
|
|
9565
9565
|
if (!recoveryState) {
|
|
@@ -26625,7 +26625,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
|
|
|
26625
26625
|
};
|
|
26626
26626
|
}
|
|
26627
26627
|
async function sweepActiveNearDuplicates(directory, options = {}) {
|
|
26628
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
26628
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-54vzqy47.js");
|
|
26629
26629
|
const { config } = loadPluginConfigWithMeta2(directory);
|
|
26630
26630
|
const sweepConfig = config.learning?.dedup_sweep;
|
|
26631
26631
|
if (sweepConfig?.enabled === false)
|
|
@@ -27749,7 +27749,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
|
|
|
27749
27749
|
}
|
|
27750
27750
|
if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
|
|
27751
27751
|
try {
|
|
27752
|
-
const skillModule = await import("./skill-generator-
|
|
27752
|
+
const skillModule = await import("./skill-generator-jamm1cna.js");
|
|
27753
27753
|
for (const cand of skillCandidates) {
|
|
27754
27754
|
if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
|
|
27755
27755
|
continue;
|
|
@@ -28221,7 +28221,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
|
|
|
28221
28221
|
} catch {}
|
|
28222
28222
|
}
|
|
28223
28223
|
if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
|
|
28224
|
-
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-
|
|
28224
|
+
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-p2a8xh8x.js");
|
|
28225
28225
|
for (const { id } of contradictedEntries) {
|
|
28226
28226
|
try {
|
|
28227
28227
|
await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
|
|
@@ -29053,7 +29053,7 @@ async function runCuratorPostMortem(directory, options = {}) {
|
|
|
29053
29053
|
warnings.push("Failed to collect knowledge summary.");
|
|
29054
29054
|
}
|
|
29055
29055
|
try {
|
|
29056
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
29056
|
+
const { getScanStatus } = await import("./scan-cursor-6zcs0frg.js");
|
|
29057
29057
|
const scanStatus = await getScanStatus(directory);
|
|
29058
29058
|
if (scanStatus.remaining_estimate > 0) {
|
|
29059
29059
|
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.`);
|
|
@@ -29225,9 +29225,9 @@ var _internals27 = {
|
|
|
29225
29225
|
verifyPostMortemKnowledgeActions,
|
|
29226
29226
|
repairPostMortemActions,
|
|
29227
29227
|
loadDefaultKnowledgeConfig: async (directory) => {
|
|
29228
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
29228
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-warvhy9h.js");
|
|
29229
29229
|
try {
|
|
29230
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
29230
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-54vzqy47.js");
|
|
29231
29231
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
29232
29232
|
return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
29233
29233
|
} catch {
|
|
@@ -29235,11 +29235,11 @@ var _internals27 = {
|
|
|
29235
29235
|
}
|
|
29236
29236
|
},
|
|
29237
29237
|
applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
|
|
29238
|
-
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-
|
|
29238
|
+
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-jpvzrxcv.js");
|
|
29239
29239
|
return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
|
|
29240
29240
|
},
|
|
29241
29241
|
checkHivePromotions: async (entries, knowledgeConfig, directory) => {
|
|
29242
|
-
const { checkHivePromotions } = await import("./hive-promoter-
|
|
29242
|
+
const { checkHivePromotions } = await import("./hive-promoter-2vj54xc4.js");
|
|
29243
29243
|
return checkHivePromotions(entries, knowledgeConfig, directory);
|
|
29244
29244
|
},
|
|
29245
29245
|
applyProposalTriage: async (directory, triage) => {
|
|
@@ -29248,7 +29248,7 @@ var _internals27 = {
|
|
|
29248
29248
|
activateProposal,
|
|
29249
29249
|
listSkills: listSkills2,
|
|
29250
29250
|
sanitizeSlug
|
|
29251
|
-
} = await import("./skill-generator-
|
|
29251
|
+
} = await import("./skill-generator-jamm1cna.js");
|
|
29252
29252
|
const result = {
|
|
29253
29253
|
approved: [],
|
|
29254
29254
|
rejected: [],
|
|
@@ -30656,9 +30656,9 @@ function hashContent(content) {
|
|
|
30656
30656
|
return createHash18("sha1").update(content).digest("hex");
|
|
30657
30657
|
}
|
|
30658
30658
|
async function loadConfigForPolicyCurator(directory) {
|
|
30659
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
30659
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-warvhy9h.js");
|
|
30660
30660
|
try {
|
|
30661
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
30661
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-54vzqy47.js");
|
|
30662
30662
|
const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
|
|
30663
30663
|
return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
|
|
30664
30664
|
} catch {
|
|
@@ -32141,7 +32141,7 @@ function serializeAgentSession(s) {
|
|
|
32141
32141
|
}
|
|
32142
32142
|
async function writeSnapshot(directory, state) {
|
|
32143
32143
|
try {
|
|
32144
|
-
const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-
|
|
32144
|
+
const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-st0xsn3f.js");
|
|
32145
32145
|
await ensureSnapshotCoordinationReady(directory);
|
|
32146
32146
|
const snapshot = {
|
|
32147
32147
|
version: 3,
|
|
@@ -45650,7 +45650,7 @@ async function runFinalizeStage(ctx) {
|
|
|
45650
45650
|
}
|
|
45651
45651
|
}
|
|
45652
45652
|
try {
|
|
45653
|
-
const { CuratorConfigSchema: CCS } = await import("./schema-
|
|
45653
|
+
const { CuratorConfigSchema: CCS } = await import("./schema-warvhy9h.js");
|
|
45654
45654
|
const { config: pmLoadedConfig } = _internals44.loadPluginConfigWithMeta(ctx.directory);
|
|
45655
45655
|
const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
|
|
45656
45656
|
if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
|
|
@@ -47938,9 +47938,9 @@ var _internals48 = {
|
|
|
47938
47938
|
loadPluginConfigWithMeta,
|
|
47939
47939
|
loadCuratorDeps: async () => {
|
|
47940
47940
|
const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
|
|
47941
|
-
import("./schema-
|
|
47942
|
-
import("./curator-
|
|
47943
|
-
import("./curator-llm-factory-
|
|
47941
|
+
import("./schema-warvhy9h.js"),
|
|
47942
|
+
import("./curator-jpvzrxcv.js"),
|
|
47943
|
+
import("./curator-llm-factory-zeb0pe2j.js")
|
|
47944
47944
|
]);
|
|
47945
47945
|
return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
|
|
47946
47946
|
}
|
|
@@ -48991,7 +48991,7 @@ async function computeCurationDiagnostics(directory, entries2) {
|
|
|
48991
48991
|
let scanCompleted = false;
|
|
48992
48992
|
let scanRemaining = 0;
|
|
48993
48993
|
try {
|
|
48994
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
48994
|
+
const { getScanStatus } = await import("./scan-cursor-6zcs0frg.js");
|
|
48995
48995
|
const status = await getScanStatus(directory);
|
|
48996
48996
|
scanGeneration = status.generation;
|
|
48997
48997
|
scanCompleted = status.completed;
|
|
@@ -49001,10 +49001,10 @@ async function computeCurationDiagnostics(directory, entries2) {
|
|
|
49001
49001
|
try {
|
|
49002
49002
|
const { isLinked: isLinked2 } = await import("./knowledge-link-w1fwqts4.js");
|
|
49003
49003
|
if (isLinked2(directory)) {
|
|
49004
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
49004
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-warvhy9h.js");
|
|
49005
49005
|
let config;
|
|
49006
49006
|
try {
|
|
49007
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
49007
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-54vzqy47.js");
|
|
49008
49008
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
49009
49009
|
config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
49010
49010
|
} catch {
|
|
@@ -50402,7 +50402,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
50402
50402
|
const result = runConfigDoctor(config, directory);
|
|
50403
50403
|
let output;
|
|
50404
50404
|
if (enableAutoFix && result.hasAutoFixableIssues) {
|
|
50405
|
-
const { runConfigDoctorWithFixes } = await import("./config-doctor-
|
|
50405
|
+
const { runConfigDoctorWithFixes } = await import("./config-doctor-b0k8eyd6.js");
|
|
50406
50406
|
const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
|
|
50407
50407
|
applyLossy: true
|
|
50408
50408
|
});
|
|
@@ -51356,7 +51356,7 @@ async function handleEvidenceCommand(directory, args) {
|
|
|
51356
51356
|
return formatTaskEvidenceMarkdown(evidenceData);
|
|
51357
51357
|
}
|
|
51358
51358
|
async function handleEvidenceSummaryCommand(directory) {
|
|
51359
|
-
const { buildEvidenceSummary } = await import("./evidence-summary-service-
|
|
51359
|
+
const { buildEvidenceSummary } = await import("./evidence-summary-service-74az43cb.js");
|
|
51360
51360
|
const artifact = await buildEvidenceSummary(directory);
|
|
51361
51361
|
if (!artifact) {
|
|
51362
51362
|
return "No plan found. Run `/swarm plan` to check plan status.";
|
|
@@ -89917,7 +89917,7 @@ function buildDetailedHelp(commandName, entry) {
|
|
|
89917
89917
|
async function handleHelpCommand(ctx) {
|
|
89918
89918
|
const targetCommand = ctx.args.join(" ");
|
|
89919
89919
|
if (!targetCommand) {
|
|
89920
|
-
const { buildHelpText } = await import("./index-
|
|
89920
|
+
const { buildHelpText } = await import("./index-8x4zwk0t.js");
|
|
89921
89921
|
return buildHelpText();
|
|
89922
89922
|
}
|
|
89923
89923
|
const tokens = targetCommand.split(/\s+/);
|
|
@@ -89931,7 +89931,7 @@ async function handleHelpCommand(ctx) {
|
|
|
89931
89931
|
> Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
|
|
89932
89932
|
}
|
|
89933
89933
|
const similar = _internals105.findSimilarCommands(targetCommand);
|
|
89934
|
-
const { buildHelpText: fullHelp } = await import("./index-
|
|
89934
|
+
const { buildHelpText: fullHelp } = await import("./index-8x4zwk0t.js");
|
|
89935
89935
|
if (similar.length > 0) {
|
|
89936
89936
|
return `Command '/swarm ${targetCommand}' not found.
|
|
89937
89937
|
|
|
@@ -90246,7 +90246,7 @@ var COMMAND_REGISTRY = {
|
|
|
90246
90246
|
},
|
|
90247
90247
|
"guardrail explain": {
|
|
90248
90248
|
handler: async (ctx) => {
|
|
90249
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
90249
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-5vhveypz.js");
|
|
90250
90250
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
90251
90251
|
},
|
|
90252
90252
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -90256,7 +90256,7 @@ var COMMAND_REGISTRY = {
|
|
|
90256
90256
|
},
|
|
90257
90257
|
"guardrail reset": {
|
|
90258
90258
|
handler: async (ctx) => {
|
|
90259
|
-
const { handleGuardrailReset } = await import("./guardrail-reset-
|
|
90259
|
+
const { handleGuardrailReset } = await import("./guardrail-reset-0da7q8ap.js");
|
|
90260
90260
|
return handleGuardrailReset(ctx.args, ctx.sessionID);
|
|
90261
90261
|
},
|
|
90262
90262
|
description: "Reset one exact active invocation/action circuit after repair",
|
|
@@ -90277,7 +90277,7 @@ var COMMAND_REGISTRY = {
|
|
|
90277
90277
|
},
|
|
90278
90278
|
"guardrail-log": {
|
|
90279
90279
|
handler: async (ctx) => {
|
|
90280
|
-
const { handleGuardrailLog } = await import("./guardrail-log-
|
|
90280
|
+
const { handleGuardrailLog } = await import("./guardrail-log-pnye3xw8.js");
|
|
90281
90281
|
return handleGuardrailLog(ctx.directory, ctx.args);
|
|
90282
90282
|
},
|
|
90283
90283
|
description: "Read the guardrail decision log (use --blocks-only for blocks)",
|
|
@@ -96323,7 +96323,7 @@ function getDisplayFinalPromptPressure() {
|
|
|
96323
96323
|
async function rehydratePrSubscriptions(sessionID, directory) {
|
|
96324
96324
|
const map = new Map;
|
|
96325
96325
|
try {
|
|
96326
|
-
const { listActive: listActive2 } = await import("./pr-subscriptions-
|
|
96326
|
+
const { listActive: listActive2 } = await import("./pr-subscriptions-9815fxbc.js");
|
|
96327
96327
|
const records = await listActive2(directory);
|
|
96328
96328
|
for (const record of records) {
|
|
96329
96329
|
if (record.sessionID !== sessionID)
|
|
@@ -96769,7 +96769,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
|
|
|
96769
96769
|
return extracted === expectedSessionId;
|
|
96770
96770
|
}
|
|
96771
96771
|
async function inspectStandardWorktreeCollisionOwnership(identity) {
|
|
96772
|
-
const collisionOwnership = await import("./worktree-collision-ownership-
|
|
96772
|
+
const collisionOwnership = await import("./worktree-collision-ownership-qra7r8pw.js");
|
|
96773
96773
|
return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
|
|
96774
96774
|
}
|
|
96775
96775
|
async function runRecoveryGit(directory, args, timeoutMs = 15000) {
|
|
@@ -97182,7 +97182,7 @@ async function precreateStandardWorktreeSession(args) {
|
|
|
97182
97182
|
const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
|
|
97183
97183
|
if (laneProfile) {
|
|
97184
97184
|
try {
|
|
97185
|
-
const { writeLaneProfileToDiskReal } = await import("./core-
|
|
97185
|
+
const { writeLaneProfileToDiskReal } = await import("./core-xgzgjk8s.js");
|
|
97186
97186
|
await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
|
|
97187
97187
|
} catch {}
|
|
97188
97188
|
}
|
|
@@ -98116,7 +98116,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
|
|
|
98116
98116
|
}
|
|
98117
98117
|
clearWorktreeMergeStatus(statusKey);
|
|
98118
98118
|
try {
|
|
98119
|
-
const { removeLaneProfileFromDiskReal } = await import("./core-
|
|
98119
|
+
const { removeLaneProfileFromDiskReal } = await import("./core-xgzgjk8s.js");
|
|
98120
98120
|
await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
|
|
98121
98121
|
} catch {}
|
|
98122
98122
|
const state = serializationStateBySessionID.get(dispatch.parentSessionID);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-hdsg7yf6.js";
|
|
6
6
|
import {
|
|
7
7
|
ApprovalEvidenceSchema,
|
|
8
8
|
BaseEvidenceSchema,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
loadPluginConfigWithMeta,
|
|
45
45
|
loadPluginConfigWithMetaAsync,
|
|
46
46
|
resetConfigAdvisoryDedup
|
|
47
|
-
} from "./index-
|
|
47
|
+
} from "./index-emwezg3y.js";
|
|
48
48
|
import"./index-9e6fdz2h.js";
|
|
49
49
|
import"./index-4rhhvd1a.js";
|
|
50
50
|
import {
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
TurboConfigSchema,
|
|
71
71
|
WorktreeIsolationConfigSchema,
|
|
72
72
|
resolveAutoReviewConfig
|
|
73
|
-
} from "./index-
|
|
73
|
+
} from "./index-87agfprq.js";
|
|
74
74
|
import {
|
|
75
75
|
ALL_AGENT_NAMES,
|
|
76
76
|
ALL_SUBAGENT_NAMES,
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
detectWindowsWrites,
|
|
15
15
|
getSharedClassifierGuardrailBlock,
|
|
16
16
|
resolveWriteTargets
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-32bxwzw0.js";
|
|
18
18
|
import {
|
|
19
19
|
checkFileAuthority,
|
|
20
20
|
classifyFile,
|
|
21
21
|
isInDeclaredScope,
|
|
22
22
|
redactPath,
|
|
23
23
|
redactShellCommand
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-q265ytw6.js";
|
|
25
25
|
|
|
26
26
|
// src/services/guardrail-explain-service.ts
|
|
27
27
|
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.167.
|
|
24
|
+
version: "7.167.1",
|
|
25
25
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
26
26
|
main: "dist/index.js",
|
|
27
27
|
types: "dist/index.d.ts",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-69y9p6dh.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-es13aqdb.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -94,42 +94,42 @@ import {
|
|
|
94
94
|
handleWriteRetroCommand,
|
|
95
95
|
normalizeSwarmCommandInput,
|
|
96
96
|
resolveCommand
|
|
97
|
-
} from "./index-
|
|
97
|
+
} from "./index-32bxwzw0.js";
|
|
98
98
|
import"./index-d5qf7hvh.js";
|
|
99
99
|
import"./index-m3tx1q9v.js";
|
|
100
|
-
import"./index-
|
|
101
|
-
import"./index-
|
|
102
|
-
import"./index-
|
|
100
|
+
import"./index-q265ytw6.js";
|
|
101
|
+
import"./index-bf6zx8cq.js";
|
|
102
|
+
import"./index-qyr17fbz.js";
|
|
103
103
|
import"./index-5bd84nxc.js";
|
|
104
104
|
import"./index-txdagbh7.js";
|
|
105
105
|
import"./index-cw912re7.js";
|
|
106
|
-
import"./index-
|
|
107
|
-
import"./index-
|
|
108
|
-
import"./index-
|
|
106
|
+
import"./index-bzdc4b7t.js";
|
|
107
|
+
import"./index-qtd3hrk8.js";
|
|
108
|
+
import"./index-79wnzc8q.js";
|
|
109
109
|
import"./index-70ha9e09.js";
|
|
110
110
|
import"./index-1aex5zd9.js";
|
|
111
111
|
import"./index-9ss2m4rs.js";
|
|
112
112
|
import"./index-3nm1b3t2.js";
|
|
113
113
|
import"./index-zsrtt42s.js";
|
|
114
|
-
import"./index-
|
|
114
|
+
import"./index-eretcr6t.js";
|
|
115
115
|
import"./index-251vrmge.js";
|
|
116
116
|
import"./index-9wv6a3jx.js";
|
|
117
117
|
import"./index-b43rt5ph.js";
|
|
118
118
|
import"./index-q7sjgr1y.js";
|
|
119
|
-
import"./index-
|
|
120
|
-
import"./index-
|
|
121
|
-
import"./index-
|
|
122
|
-
import"./index-
|
|
119
|
+
import"./index-bv8ha57q.js";
|
|
120
|
+
import"./index-fmzz6aw7.js";
|
|
121
|
+
import"./index-zwsbegc1.js";
|
|
122
|
+
import"./index-z5gdgdkp.js";
|
|
123
123
|
import"./index-sahf5yz3.js";
|
|
124
124
|
import"./index-p612v1mv.js";
|
|
125
|
-
import"./index-
|
|
125
|
+
import"./index-f8xk5q5j.js";
|
|
126
126
|
import"./index-qww0h314.js";
|
|
127
127
|
import"./index-rtry5xyf.js";
|
|
128
|
-
import"./index-
|
|
128
|
+
import"./index-hdsg7yf6.js";
|
|
129
129
|
import"./index-3qf1vxtb.js";
|
|
130
130
|
import"./index-n832052r.js";
|
|
131
|
-
import"./index-
|
|
132
|
-
import"./index-
|
|
131
|
+
import"./index-mgc3c483.js";
|
|
132
|
+
import"./index-fenasyvr.js";
|
|
133
133
|
import"./index-qd619x3r.js";
|
|
134
134
|
import"./index-75f9jj3h.js";
|
|
135
135
|
import"./index-6d4dc99f.js";
|
|
@@ -137,7 +137,7 @@ import"./index-rk10x4zr.js";
|
|
|
137
137
|
import"./index-ry16d01s.js";
|
|
138
138
|
import"./index-n4fzmqz8.js";
|
|
139
139
|
import"./index-qd726agw.js";
|
|
140
|
-
import"./index-
|
|
140
|
+
import"./index-9bhzbwa4.js";
|
|
141
141
|
import"./index-vzm6zre7.js";
|
|
142
142
|
import"./index-ae75rja9.js";
|
|
143
143
|
import"./index-t8tw1bhs.js";
|
|
@@ -147,13 +147,13 @@ import"./index-f6zgz02s.js";
|
|
|
147
147
|
import"./index-7qefgq4j.js";
|
|
148
148
|
import"./index-ee6ydtfe.js";
|
|
149
149
|
import"./index-7g4c7s5r.js";
|
|
150
|
-
import"./index-
|
|
150
|
+
import"./index-emwezg3y.js";
|
|
151
151
|
import"./index-9e6fdz2h.js";
|
|
152
152
|
import"./index-4rhhvd1a.js";
|
|
153
153
|
import {
|
|
154
154
|
init_schema,
|
|
155
155
|
stripKnownSwarmPrefix
|
|
156
|
-
} from "./index-
|
|
156
|
+
} from "./index-87agfprq.js";
|
|
157
157
|
import {
|
|
158
158
|
AGENT_TOOL_MAP,
|
|
159
159
|
ORCHESTRATOR_NAME,
|
|
@@ -739,7 +739,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
739
739
|
const {
|
|
740
740
|
readAuthoritativeKnowledgeCounterRollups,
|
|
741
741
|
effectiveRetrievalOutcomes
|
|
742
|
-
} = await import("./knowledge-events-
|
|
742
|
+
} = await import("./knowledge-events-jmh28m8d.js");
|
|
743
743
|
const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
|
|
744
744
|
const flagIds = new Set;
|
|
745
745
|
for (const e of atFloor) {
|
|
@@ -806,11 +806,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
806
806
|
});
|
|
807
807
|
}
|
|
808
808
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
809
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
810
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
809
|
+
const { quarantineEntry } = await import("./knowledge-validator-yk579vs4.js");
|
|
810
|
+
const { KnowledgeConfigSchema } = await import("./schema-warvhy9h.js");
|
|
811
811
|
let config;
|
|
812
812
|
try {
|
|
813
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
813
|
+
const { loadPluginConfigWithMeta } = await import("./index-54vzqy47.js");
|
|
814
814
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
815
815
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
816
816
|
} catch {
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
effectiveRetrievalOutcomes,
|
|
7
7
|
readAuthoritativeKnowledgeCounterRollups
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-z5gdgdkp.js";
|
|
9
9
|
import {
|
|
10
10
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
11
11
|
validateSkillPath
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-f8xk5q5j.js";
|
|
13
13
|
import {
|
|
14
14
|
computeOutcomeSignal,
|
|
15
15
|
readKnowledge,
|
|
16
16
|
resolveHiveKnowledgePath,
|
|
17
17
|
resolveSwarmKnowledgePath,
|
|
18
18
|
transactKnowledge
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-9bhzbwa4.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCappedJsonl,
|
|
22
22
|
resolveRetentionCap
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
reconcileLandedMerge,
|
|
15
15
|
withTaskEvidenceTransaction,
|
|
16
16
|
writeWorkflowWalFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-bv8ha57q.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
20
|
} from "./index-sahf5yz3.js";
|
|
@@ -489,7 +489,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
|
|
|
489
489
|
awaitingMergeByCallID,
|
|
490
490
|
cleanupStandardWorktreeForCallId,
|
|
491
491
|
standardWorktreeByCallID
|
|
492
|
-
} = await import("./worktree-isolation-
|
|
492
|
+
} = await import("./worktree-isolation-yr9gnf64.js");
|
|
493
493
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
494
494
|
if (hasResidue)
|
|
495
495
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -613,7 +613,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
613
613
|
awaitingMergeByCallID,
|
|
614
614
|
finishStandardWorktreeDispatch,
|
|
615
615
|
standardWorktreeByCallID
|
|
616
|
-
} = await import("./worktree-isolation-
|
|
616
|
+
} = await import("./worktree-isolation-yr9gnf64.js");
|
|
617
617
|
const descriptor = wal.worktree;
|
|
618
618
|
const reconstructedDispatch = {
|
|
619
619
|
callID: descriptor.callID,
|