opencode-swarm 7.164.2 → 7.164.3
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/{coder-settlement-kv1x94w6.js → coder-settlement-m918n7qj.js} +3 -3
- package/dist/cli/{config-doctor-8d7ydxck.js → config-doctor-5kytbwbx.js} +2 -2
- package/dist/cli/{core-7jjgxczp.js → core-anw5khk2.js} +1 -1
- package/dist/cli/{curator-llm-factory-d415s169.js → curator-llm-factory-6swjnnb1.js} +19 -19
- package/dist/cli/{curator-5nyth2rj.js → curator-yq6raqgs.js} +19 -19
- package/dist/cli/{evidence-summary-service-aebn7nb9.js → evidence-summary-service-8sbxvt2x.js} +6 -6
- package/dist/cli/{gate-evidence-es59pysy.js → gate-evidence-53v7e938.js} +2 -2
- package/dist/cli/{guardrail-explain-mn2x7w2y.js → guardrail-explain-jhsqdzxr.js} +20 -20
- package/dist/cli/{guardrail-log-fd3c5rks.js → guardrail-log-q5sj7zby.js} +3 -3
- package/dist/cli/{guardrail-reset-r49rvptv.js → guardrail-reset-dw45p5zc.js} +19 -19
- package/dist/cli/{hive-promoter-qp2kjhhp.js → hive-promoter-0axzw0h5.js} +19 -19
- package/dist/cli/{index-br7q79t2.js → index-0e34njnm.js} +4 -4
- package/dist/cli/{index-pcnhh2vt.js → index-11st3tgy.js} +2 -2
- package/dist/cli/{index-1r6p1wpa.js → index-3fpqmms2.js} +3 -3
- package/dist/cli/{index-6vtm4rd0.js → index-493mxwj5.js} +3 -3
- package/dist/cli/{index-xm6c1tnf.js → index-4wneygfx.js} +1 -1
- package/dist/cli/{index-cm4r8gh2.js → index-5pxdtskj.js} +1 -1
- package/dist/cli/{index-3704v4e6.js → index-84qah5h6.js} +1 -1
- package/dist/cli/{index-kwd09y5a.js → index-88g6q52x.js} +3 -3
- package/dist/cli/{index-qmeewt3g.js → index-8t11vcf5.js} +1 -1
- package/dist/cli/{index-gz5rn6w6.js → index-95hhrw1d.js} +3 -3
- package/dist/cli/{index-92q98ry8.js → index-9pwa798m.js} +3 -3
- package/dist/cli/{index-jw9wbwdh.js → index-aaqzcnb9.js} +21 -21
- package/dist/cli/{index-34exj2e3.js → index-aty2dfmt.js} +1 -1
- package/dist/cli/{index-yjftcanv.js → index-ehf0vjhx.js} +48 -48
- package/dist/cli/{index-q3xn3m3g.js → index-fc153g7b.js} +1 -1
- package/dist/cli/{index-fyt5byhd.js → index-j98116cx.js} +2 -2
- package/dist/cli/{index-h9wnkr2e.js → index-jwc2v92w.js} +1 -1
- package/dist/cli/{index-zgeqwbhw.js → index-kn0y788q.js} +1 -1
- package/dist/cli/{index-hnwg5gt6.js → index-kyayzfxp.js} +1 -1
- package/dist/cli/{index-yqhwrjw9.js → index-rhdwrfgc.js} +5 -5
- package/dist/cli/{index-axtnc0xf.js → index-sn2vm710.js} +2 -2
- package/dist/cli/{index-b85jnfp4.js → index-xkqja15t.js} +1 -1
- package/dist/cli/{index-w8qt2612.js → index-yhpbcrdk.js} +1 -1
- package/dist/cli/index.js +19 -19
- package/dist/cli/{knowledge-escalator-439jajb3.js → knowledge-escalator-atn5tfy2.js} +6 -6
- package/dist/cli/{knowledge-events-wz3h98kk.js → knowledge-events-58ha93tx.js} +4 -4
- package/dist/cli/{knowledge-store-y1cwe80n.js → knowledge-store-2vkn4qyy.js} +1 -1
- package/dist/cli/{knowledge-validator-bk2qfqe2.js → knowledge-validator-gcbfq9er.js} +2 -2
- package/dist/cli/{pending-delegations-kh4mkvzb.js → pending-delegations-esp3gpac.js} +1 -1
- package/dist/cli/{pr-workflow-gate-a9vj11e5.js → pr-workflow-gate-v5wh09wz.js} +19 -19
- package/dist/cli/{scan-cursor-pjek24k7.js → scan-cursor-6x0sqjer.js} +2 -2
- package/dist/cli/{schema-674qw3aj.js → schema-mgpsycrr.js} +1 -1
- package/dist/cli/{scope-persistence-sq331eqh.js → scope-persistence-pwqshfyr.js} +4 -4
- package/dist/cli/{skill-generator-pcw7c50r.js → skill-generator-bywdfza0.js} +7 -7
- package/dist/cli/{worktree-collision-ownership-vnj31rgc.js → worktree-collision-ownership-71x5pqfz.js} +1 -1
- package/dist/cli/{worktree-isolation-tje6p4zt.js → worktree-isolation-e6tym281.js} +19 -19
- package/dist/index.js +1 -1
- package/dist/services/tool-doctor.d.ts +3 -2
- package/dist/tools/tool-metadata.d.ts +5 -4
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
reconcileLandedMerge,
|
|
14
14
|
withTaskEvidenceTransaction,
|
|
15
15
|
writeWorkflowWalFile
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-jwc2v92w.js";
|
|
17
17
|
import {
|
|
18
18
|
canonicalRootKeyFresh
|
|
19
19
|
} from "./index-ddszzne4.js";
|
|
@@ -478,7 +478,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
|
|
|
478
478
|
awaitingMergeByCallID,
|
|
479
479
|
cleanupStandardWorktreeForCallId,
|
|
480
480
|
standardWorktreeByCallID
|
|
481
|
-
} = await import("./worktree-isolation-
|
|
481
|
+
} = await import("./worktree-isolation-e6tym281.js");
|
|
482
482
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
483
483
|
if (hasResidue)
|
|
484
484
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -602,7 +602,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
602
602
|
awaitingMergeByCallID,
|
|
603
603
|
finishStandardWorktreeDispatch,
|
|
604
604
|
standardWorktreeByCallID
|
|
605
|
-
} = await import("./worktree-isolation-
|
|
605
|
+
} = await import("./worktree-isolation-e6tym281.js");
|
|
606
606
|
const descriptor = wal.worktree;
|
|
607
607
|
const reconstructedDispatch = {
|
|
608
608
|
callID: descriptor.callID,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-11st3tgy.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-5pxdtskj.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -94,53 +94,53 @@ import {
|
|
|
94
94
|
handleWriteRetroCommand,
|
|
95
95
|
normalizeSwarmCommandInput,
|
|
96
96
|
resolveCommand
|
|
97
|
-
} from "./index-
|
|
97
|
+
} from "./index-ehf0vjhx.js";
|
|
98
98
|
import"./index-2xj34nkh.js";
|
|
99
|
-
import"./index-
|
|
100
|
-
import"./index-
|
|
101
|
-
import"./index-
|
|
99
|
+
import"./index-8t11vcf5.js";
|
|
100
|
+
import"./index-aty2dfmt.js";
|
|
101
|
+
import"./index-493mxwj5.js";
|
|
102
102
|
import"./index-w5jpjaqe.js";
|
|
103
103
|
import"./index-txdagbh7.js";
|
|
104
104
|
import"./index-3146wmgv.js";
|
|
105
|
-
import"./index-
|
|
106
|
-
import"./index-
|
|
107
|
-
import"./index-
|
|
105
|
+
import"./index-88g6q52x.js";
|
|
106
|
+
import"./index-rhdwrfgc.js";
|
|
107
|
+
import"./index-xkqja15t.js";
|
|
108
108
|
import"./index-70ha9e09.js";
|
|
109
109
|
import"./index-y2f5s2cf.js";
|
|
110
110
|
import"./index-hcn69kp0.js";
|
|
111
111
|
import"./index-zaab1wz9.js";
|
|
112
112
|
import"./index-c8k4cs94.js";
|
|
113
113
|
import"./index-zsrtt42s.js";
|
|
114
|
-
import"./index-
|
|
114
|
+
import"./index-9pwa798m.js";
|
|
115
115
|
import"./index-3f7hqtgg.js";
|
|
116
116
|
import"./index-qbr05tbw.js";
|
|
117
|
-
import"./index-
|
|
117
|
+
import"./index-fc153g7b.js";
|
|
118
118
|
import"./index-sb4eanpv.js";
|
|
119
119
|
import"./index-rtry5xyf.js";
|
|
120
|
-
import"./index-
|
|
121
|
-
import"./index-
|
|
122
|
-
import"./index-
|
|
120
|
+
import"./index-jwc2v92w.js";
|
|
121
|
+
import"./index-kn0y788q.js";
|
|
122
|
+
import"./index-kyayzfxp.js";
|
|
123
123
|
import"./index-ddszzne4.js";
|
|
124
|
-
import"./index-
|
|
125
|
-
import"./index-
|
|
124
|
+
import"./index-sn2vm710.js";
|
|
125
|
+
import"./index-yhpbcrdk.js";
|
|
126
126
|
import"./index-0145kpjr.js";
|
|
127
127
|
import"./index-556ja8an.js";
|
|
128
128
|
import"./index-4fwbbad3.js";
|
|
129
129
|
import"./index-b43rt5ph.js";
|
|
130
130
|
import"./index-q7sjgr1y.js";
|
|
131
|
-
import"./index-
|
|
132
|
-
import"./index-
|
|
133
|
-
import"./index-
|
|
131
|
+
import"./index-0e34njnm.js";
|
|
132
|
+
import"./index-95hhrw1d.js";
|
|
133
|
+
import"./index-j98116cx.js";
|
|
134
134
|
import"./index-zg9d392c.js";
|
|
135
135
|
import"./index-n832052r.js";
|
|
136
136
|
import"./index-v56mhyhs.js";
|
|
137
137
|
import"./index-z6xqpmqg.js";
|
|
138
138
|
import"./index-r3mvsbtq.js";
|
|
139
|
-
import"./index-
|
|
139
|
+
import"./index-4wneygfx.js";
|
|
140
140
|
import {
|
|
141
141
|
init_schema,
|
|
142
142
|
stripKnownSwarmPrefix
|
|
143
|
-
} from "./index-
|
|
143
|
+
} from "./index-84qah5h6.js";
|
|
144
144
|
import"./index-9e6fdz2h.js";
|
|
145
145
|
import"./index-4rhhvd1a.js";
|
|
146
146
|
import"./index-ac39znep.js";
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
protectedRoots,
|
|
16
16
|
redactDecisionLineForArchive,
|
|
17
17
|
stableCanonicalStringify
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-8t11vcf5.js";
|
|
19
19
|
import {
|
|
20
20
|
detectStraySwarmDirs,
|
|
21
21
|
readDoctorArtifact,
|
|
22
22
|
removeStraySwarmDir,
|
|
23
23
|
runConfigDoctor
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-aty2dfmt.js";
|
|
25
25
|
import {
|
|
26
26
|
MAX_TRANSIENT_RETRIES,
|
|
27
27
|
archiveEvidence,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
validateProjectRoot,
|
|
66
66
|
validateSymlinkBoundary,
|
|
67
67
|
validateTargetWithinRoot
|
|
68
|
-
} from "./index-
|
|
68
|
+
} from "./index-493mxwj5.js";
|
|
69
69
|
import {
|
|
70
70
|
EvaluationTaskV1Schema,
|
|
71
71
|
GateAuditManifestV1Schema,
|
|
@@ -124,15 +124,15 @@ import {
|
|
|
124
124
|
retireSkill,
|
|
125
125
|
selectCandidateEntries,
|
|
126
126
|
syncBundledProjectSkillsIfMissingAsync
|
|
127
|
-
} from "./index-
|
|
127
|
+
} from "./index-88g6q52x.js";
|
|
128
128
|
import {
|
|
129
129
|
readRecentEscalations
|
|
130
|
-
} from "./index-
|
|
130
|
+
} from "./index-rhdwrfgc.js";
|
|
131
131
|
import {
|
|
132
132
|
alreadyCuratedThisGeneration,
|
|
133
133
|
claimNextScanBatch,
|
|
134
134
|
resolveCohortId
|
|
135
|
-
} from "./index-
|
|
135
|
+
} from "./index-xkqja15t.js";
|
|
136
136
|
import {
|
|
137
137
|
CURATOR_INIT_PROMPT,
|
|
138
138
|
CURATOR_PHASE_PROMPT,
|
|
@@ -181,7 +181,7 @@ import {
|
|
|
181
181
|
listCoderSettlementWalStates,
|
|
182
182
|
recoverCoderSettlement,
|
|
183
183
|
recoverStaleCoderSettlements
|
|
184
|
-
} from "./index-
|
|
184
|
+
} from "./index-9pwa798m.js";
|
|
185
185
|
import {
|
|
186
186
|
parsePorcelainV2Snapshot,
|
|
187
187
|
resolveCommitCountSince,
|
|
@@ -225,7 +225,7 @@ import {
|
|
|
225
225
|
validateActionableFields,
|
|
226
226
|
validateLesson,
|
|
227
227
|
validateSkillPath
|
|
228
|
-
} from "./index-
|
|
228
|
+
} from "./index-fc153g7b.js";
|
|
229
229
|
import {
|
|
230
230
|
authorizeCuration,
|
|
231
231
|
buildConfigFingerprintInput
|
|
@@ -260,12 +260,12 @@ import {
|
|
|
260
260
|
transitionTaskWorkflowEvidence,
|
|
261
261
|
withTaskEvidenceTransaction,
|
|
262
262
|
writeWorkflowWalFile
|
|
263
|
-
} from "./index-
|
|
263
|
+
} from "./index-jwc2v92w.js";
|
|
264
264
|
import {
|
|
265
265
|
makeWorktreeBranchName,
|
|
266
266
|
provisionWorktree,
|
|
267
267
|
removeWorktree
|
|
268
|
-
} from "./index-
|
|
268
|
+
} from "./index-kn0y788q.js";
|
|
269
269
|
import {
|
|
270
270
|
DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
|
|
271
271
|
DELEGATION_COMPACTION_HIGH_WATER_BYTES,
|
|
@@ -298,7 +298,7 @@ import {
|
|
|
298
298
|
scanBackgroundCoderReservationsForAdmission,
|
|
299
299
|
scanDelegationsForRecovery,
|
|
300
300
|
sweepStaleDelegations
|
|
301
|
-
} from "./index-
|
|
301
|
+
} from "./index-kyayzfxp.js";
|
|
302
302
|
import {
|
|
303
303
|
compositeSessionKey,
|
|
304
304
|
sessionKeySuffix
|
|
@@ -309,7 +309,7 @@ import {
|
|
|
309
309
|
clearAllScopes,
|
|
310
310
|
clearScopeBindingFromDisk,
|
|
311
311
|
clearScopeBindings
|
|
312
|
-
} from "./index-
|
|
312
|
+
} from "./index-sn2vm710.js";
|
|
313
313
|
import {
|
|
314
314
|
appendLedgerEvent,
|
|
315
315
|
computePlanHash,
|
|
@@ -324,7 +324,7 @@ import {
|
|
|
324
324
|
readPlanEpochIdentity,
|
|
325
325
|
replayFromLedgerWithStatus,
|
|
326
326
|
takeSnapshotEvent
|
|
327
|
-
} from "./index-
|
|
327
|
+
} from "./index-yhpbcrdk.js";
|
|
328
328
|
import {
|
|
329
329
|
CORE_EVENT_LOCKED,
|
|
330
330
|
appendCoreEventSync,
|
|
@@ -383,7 +383,7 @@ import {
|
|
|
383
383
|
transactFile,
|
|
384
384
|
transactKnowledge,
|
|
385
385
|
wordBigrams
|
|
386
|
-
} from "./index-
|
|
386
|
+
} from "./index-0e34njnm.js";
|
|
387
387
|
import {
|
|
388
388
|
MAX_EVENT_LOG_ENTRIES,
|
|
389
389
|
_internals as _internals2,
|
|
@@ -399,10 +399,10 @@ import {
|
|
|
399
399
|
recordKnowledgeEvent,
|
|
400
400
|
recordPhaseCloseIntent,
|
|
401
401
|
resolveKnowledgeEventsPath
|
|
402
|
-
} from "./index-
|
|
402
|
+
} from "./index-95hhrw1d.js";
|
|
403
403
|
import {
|
|
404
404
|
resolveWorktreeIsolationConfig
|
|
405
|
-
} from "./index-
|
|
405
|
+
} from "./index-j98116cx.js";
|
|
406
406
|
import {
|
|
407
407
|
RetrospectiveEvidenceSchema
|
|
408
408
|
} from "./index-zg9d392c.js";
|
|
@@ -425,7 +425,7 @@ import {
|
|
|
425
425
|
init_loader,
|
|
426
426
|
loadPluginConfig,
|
|
427
427
|
loadPluginConfigWithMeta
|
|
428
|
-
} from "./index-
|
|
428
|
+
} from "./index-4wneygfx.js";
|
|
429
429
|
import {
|
|
430
430
|
DEFAULT_HARNESS_EVOLUTION_CONFIG,
|
|
431
431
|
DEFAULT_PR_REVIEW_RESILIENCE_CONFIG,
|
|
@@ -442,7 +442,7 @@ import {
|
|
|
442
442
|
resolveAutoReviewConfig,
|
|
443
443
|
resolveGeneratedAgentRole,
|
|
444
444
|
stripKnownSwarmPrefix
|
|
445
|
-
} from "./index-
|
|
445
|
+
} from "./index-84qah5h6.js";
|
|
446
446
|
import {
|
|
447
447
|
init_git_executable,
|
|
448
448
|
resolveGitExecutable,
|
|
@@ -26104,7 +26104,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
|
|
|
26104
26104
|
};
|
|
26105
26105
|
}
|
|
26106
26106
|
async function sweepActiveNearDuplicates(directory, options = {}) {
|
|
26107
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
26107
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-3fpqmms2.js");
|
|
26108
26108
|
const { config } = loadPluginConfigWithMeta2(directory);
|
|
26109
26109
|
const sweepConfig = config.learning?.dedup_sweep;
|
|
26110
26110
|
if (sweepConfig?.enabled === false)
|
|
@@ -27241,7 +27241,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
|
|
|
27241
27241
|
}
|
|
27242
27242
|
if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
|
|
27243
27243
|
try {
|
|
27244
|
-
const skillModule = await import("./skill-generator-
|
|
27244
|
+
const skillModule = await import("./skill-generator-bywdfza0.js");
|
|
27245
27245
|
for (const cand of skillCandidates) {
|
|
27246
27246
|
if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
|
|
27247
27247
|
continue;
|
|
@@ -27713,7 +27713,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
|
|
|
27713
27713
|
} catch {}
|
|
27714
27714
|
}
|
|
27715
27715
|
if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
|
|
27716
|
-
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-
|
|
27716
|
+
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-atn5tfy2.js");
|
|
27717
27717
|
for (const { id } of contradictedEntries) {
|
|
27718
27718
|
try {
|
|
27719
27719
|
await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
|
|
@@ -28545,7 +28545,7 @@ async function runCuratorPostMortem(directory, options = {}) {
|
|
|
28545
28545
|
warnings.push("Failed to collect knowledge summary.");
|
|
28546
28546
|
}
|
|
28547
28547
|
try {
|
|
28548
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
28548
|
+
const { getScanStatus } = await import("./scan-cursor-6x0sqjer.js");
|
|
28549
28549
|
const scanStatus = await getScanStatus(directory);
|
|
28550
28550
|
if (scanStatus.remaining_estimate > 0) {
|
|
28551
28551
|
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.`);
|
|
@@ -28717,9 +28717,9 @@ var _internals28 = {
|
|
|
28717
28717
|
verifyPostMortemKnowledgeActions,
|
|
28718
28718
|
repairPostMortemActions,
|
|
28719
28719
|
loadDefaultKnowledgeConfig: async (directory) => {
|
|
28720
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
28720
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-mgpsycrr.js");
|
|
28721
28721
|
try {
|
|
28722
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
28722
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-3fpqmms2.js");
|
|
28723
28723
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
28724
28724
|
return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
28725
28725
|
} catch {
|
|
@@ -28727,11 +28727,11 @@ var _internals28 = {
|
|
|
28727
28727
|
}
|
|
28728
28728
|
},
|
|
28729
28729
|
applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
|
|
28730
|
-
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-
|
|
28730
|
+
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-yq6raqgs.js");
|
|
28731
28731
|
return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
|
|
28732
28732
|
},
|
|
28733
28733
|
checkHivePromotions: async (entries, knowledgeConfig, directory) => {
|
|
28734
|
-
const { checkHivePromotions } = await import("./hive-promoter-
|
|
28734
|
+
const { checkHivePromotions } = await import("./hive-promoter-0axzw0h5.js");
|
|
28735
28735
|
return checkHivePromotions(entries, knowledgeConfig, directory);
|
|
28736
28736
|
},
|
|
28737
28737
|
applyProposalTriage: async (directory, triage) => {
|
|
@@ -28740,7 +28740,7 @@ var _internals28 = {
|
|
|
28740
28740
|
activateProposal,
|
|
28741
28741
|
listSkills: listSkills2,
|
|
28742
28742
|
sanitizeSlug
|
|
28743
|
-
} = await import("./skill-generator-
|
|
28743
|
+
} = await import("./skill-generator-bywdfza0.js");
|
|
28744
28744
|
const result = {
|
|
28745
28745
|
approved: [],
|
|
28746
28746
|
rejected: [],
|
|
@@ -30069,9 +30069,9 @@ function hashContent(content) {
|
|
|
30069
30069
|
return createHash17("sha1").update(content).digest("hex");
|
|
30070
30070
|
}
|
|
30071
30071
|
async function loadConfigForPolicyCurator(directory) {
|
|
30072
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
30072
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-mgpsycrr.js");
|
|
30073
30073
|
try {
|
|
30074
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
30074
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-3fpqmms2.js");
|
|
30075
30075
|
const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
|
|
30076
30076
|
return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
|
|
30077
30077
|
} catch {
|
|
@@ -42734,7 +42734,7 @@ async function runFinalizeStage(ctx) {
|
|
|
42734
42734
|
}
|
|
42735
42735
|
}
|
|
42736
42736
|
try {
|
|
42737
|
-
const { CuratorConfigSchema: CCS } = await import("./schema-
|
|
42737
|
+
const { CuratorConfigSchema: CCS } = await import("./schema-mgpsycrr.js");
|
|
42738
42738
|
const { config: pmLoadedConfig } = _internals42.loadPluginConfigWithMeta(ctx.directory);
|
|
42739
42739
|
const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
|
|
42740
42740
|
if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
|
|
@@ -44961,9 +44961,9 @@ var _internals46 = {
|
|
|
44961
44961
|
loadPluginConfigWithMeta,
|
|
44962
44962
|
loadCuratorDeps: async () => {
|
|
44963
44963
|
const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
|
|
44964
|
-
import("./schema-
|
|
44965
|
-
import("./curator-
|
|
44966
|
-
import("./curator-llm-factory-
|
|
44964
|
+
import("./schema-mgpsycrr.js"),
|
|
44965
|
+
import("./curator-yq6raqgs.js"),
|
|
44966
|
+
import("./curator-llm-factory-6swjnnb1.js")
|
|
44967
44967
|
]);
|
|
44968
44968
|
return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
|
|
44969
44969
|
}
|
|
@@ -46006,7 +46006,7 @@ async function computeCurationDiagnostics(directory, entries) {
|
|
|
46006
46006
|
let scanCompleted = false;
|
|
46007
46007
|
let scanRemaining = 0;
|
|
46008
46008
|
try {
|
|
46009
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
46009
|
+
const { getScanStatus } = await import("./scan-cursor-6x0sqjer.js");
|
|
46010
46010
|
const status = await getScanStatus(directory);
|
|
46011
46011
|
scanGeneration = status.generation;
|
|
46012
46012
|
scanCompleted = status.completed;
|
|
@@ -46016,10 +46016,10 @@ async function computeCurationDiagnostics(directory, entries) {
|
|
|
46016
46016
|
try {
|
|
46017
46017
|
const { isLinked: isLinked2 } = await import("./knowledge-link-2gh1cnk3.js");
|
|
46018
46018
|
if (isLinked2(directory)) {
|
|
46019
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
46019
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-mgpsycrr.js");
|
|
46020
46020
|
let config;
|
|
46021
46021
|
try {
|
|
46022
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
46022
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-3fpqmms2.js");
|
|
46023
46023
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
46024
46024
|
config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
46025
46025
|
} catch {
|
|
@@ -47415,7 +47415,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
47415
47415
|
const result = runConfigDoctor(config, directory);
|
|
47416
47416
|
let output;
|
|
47417
47417
|
if (enableAutoFix && result.hasAutoFixableIssues) {
|
|
47418
|
-
const { runConfigDoctorWithFixes } = await import("./config-doctor-
|
|
47418
|
+
const { runConfigDoctorWithFixes } = await import("./config-doctor-5kytbwbx.js");
|
|
47419
47419
|
const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
|
|
47420
47420
|
applyLossy: true
|
|
47421
47421
|
});
|
|
@@ -48355,7 +48355,7 @@ async function handleEvidenceCommand(directory, args) {
|
|
|
48355
48355
|
return formatTaskEvidenceMarkdown(evidenceData);
|
|
48356
48356
|
}
|
|
48357
48357
|
async function handleEvidenceSummaryCommand(directory) {
|
|
48358
|
-
const { buildEvidenceSummary } = await import("./evidence-summary-service-
|
|
48358
|
+
const { buildEvidenceSummary } = await import("./evidence-summary-service-8sbxvt2x.js");
|
|
48359
48359
|
const artifact = await buildEvidenceSummary(directory);
|
|
48360
48360
|
if (!artifact) {
|
|
48361
48361
|
return "No plan found. Run `/swarm plan` to check plan status.";
|
|
@@ -85869,7 +85869,7 @@ function buildDetailedHelp(commandName, entry) {
|
|
|
85869
85869
|
async function handleHelpCommand(ctx) {
|
|
85870
85870
|
const targetCommand = ctx.args.join(" ");
|
|
85871
85871
|
if (!targetCommand) {
|
|
85872
|
-
const { buildHelpText } = await import("./index-
|
|
85872
|
+
const { buildHelpText } = await import("./index-aaqzcnb9.js");
|
|
85873
85873
|
return buildHelpText();
|
|
85874
85874
|
}
|
|
85875
85875
|
const tokens = targetCommand.split(/\s+/);
|
|
@@ -85878,7 +85878,7 @@ async function handleHelpCommand(ctx) {
|
|
|
85878
85878
|
return _internals102.buildDetailedHelp(resolved.key, resolved.entry);
|
|
85879
85879
|
}
|
|
85880
85880
|
const similar = _internals102.findSimilarCommands(targetCommand);
|
|
85881
|
-
const { buildHelpText: fullHelp } = await import("./index-
|
|
85881
|
+
const { buildHelpText: fullHelp } = await import("./index-aaqzcnb9.js");
|
|
85882
85882
|
if (similar.length > 0) {
|
|
85883
85883
|
return `Command '/swarm ${targetCommand}' not found.
|
|
85884
85884
|
|
|
@@ -86209,7 +86209,7 @@ var COMMAND_REGISTRY = {
|
|
|
86209
86209
|
},
|
|
86210
86210
|
"guardrail explain": {
|
|
86211
86211
|
handler: async (ctx) => {
|
|
86212
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
86212
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-jhsqdzxr.js");
|
|
86213
86213
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
86214
86214
|
},
|
|
86215
86215
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -86219,7 +86219,7 @@ var COMMAND_REGISTRY = {
|
|
|
86219
86219
|
},
|
|
86220
86220
|
"guardrail reset": {
|
|
86221
86221
|
handler: async (ctx) => {
|
|
86222
|
-
const { handleGuardrailReset } = await import("./guardrail-reset-
|
|
86222
|
+
const { handleGuardrailReset } = await import("./guardrail-reset-dw45p5zc.js");
|
|
86223
86223
|
return handleGuardrailReset(ctx.args, ctx.sessionID);
|
|
86224
86224
|
},
|
|
86225
86225
|
description: "Reset one exact active invocation/action circuit after repair",
|
|
@@ -86228,7 +86228,7 @@ var COMMAND_REGISTRY = {
|
|
|
86228
86228
|
},
|
|
86229
86229
|
"guardrail-explain": {
|
|
86230
86230
|
handler: async (ctx) => {
|
|
86231
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
86231
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-jhsqdzxr.js");
|
|
86232
86232
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
86233
86233
|
},
|
|
86234
86234
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -86238,7 +86238,7 @@ var COMMAND_REGISTRY = {
|
|
|
86238
86238
|
},
|
|
86239
86239
|
"guardrail-reset": {
|
|
86240
86240
|
handler: async (ctx) => {
|
|
86241
|
-
const { handleGuardrailReset } = await import("./guardrail-reset-
|
|
86241
|
+
const { handleGuardrailReset } = await import("./guardrail-reset-dw45p5zc.js");
|
|
86242
86242
|
return handleGuardrailReset(ctx.args, ctx.sessionID);
|
|
86243
86243
|
},
|
|
86244
86244
|
description: "Reset one exact active invocation/action circuit after repair",
|
|
@@ -86248,7 +86248,7 @@ var COMMAND_REGISTRY = {
|
|
|
86248
86248
|
},
|
|
86249
86249
|
"guardrail-log": {
|
|
86250
86250
|
handler: async (ctx) => {
|
|
86251
|
-
const { handleGuardrailLog } = await import("./guardrail-log-
|
|
86251
|
+
const { handleGuardrailLog } = await import("./guardrail-log-q5sj7zby.js");
|
|
86252
86252
|
return handleGuardrailLog(ctx.directory, ctx.args);
|
|
86253
86253
|
},
|
|
86254
86254
|
description: "Read the guardrail decision log (use --blocks-only for blocks)",
|
|
@@ -92693,7 +92693,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
|
|
|
92693
92693
|
return extracted === expectedSessionId;
|
|
92694
92694
|
}
|
|
92695
92695
|
async function inspectStandardWorktreeCollisionOwnership(identity) {
|
|
92696
|
-
const collisionOwnership = await import("./worktree-collision-ownership-
|
|
92696
|
+
const collisionOwnership = await import("./worktree-collision-ownership-71x5pqfz.js");
|
|
92697
92697
|
return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
|
|
92698
92698
|
}
|
|
92699
92699
|
async function runRecoveryGit(directory, args, timeoutMs = 15000) {
|
|
@@ -93102,7 +93102,7 @@ async function precreateStandardWorktreeSession(args) {
|
|
|
93102
93102
|
const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
|
|
93103
93103
|
if (laneProfile) {
|
|
93104
93104
|
try {
|
|
93105
|
-
const { writeLaneProfileToDiskReal } = await import("./core-
|
|
93105
|
+
const { writeLaneProfileToDiskReal } = await import("./core-anw5khk2.js");
|
|
93106
93106
|
await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
|
|
93107
93107
|
} catch {}
|
|
93108
93108
|
}
|
|
@@ -94027,7 +94027,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
|
|
|
94027
94027
|
}
|
|
94028
94028
|
clearWorktreeMergeStatus(statusKey);
|
|
94029
94029
|
try {
|
|
94030
|
-
const { removeLaneProfileFromDiskReal } = await import("./core-
|
|
94030
|
+
const { removeLaneProfileFromDiskReal } = await import("./core-anw5khk2.js");
|
|
94031
94031
|
await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
|
|
94032
94032
|
} catch {}
|
|
94033
94033
|
const state = serializationStateBySessionID.get(dispatch.parentSessionID);
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-4wneygfx.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-84qah5h6.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -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-pwqshfyr.js");
|
|
96
96
|
return realWrite(directory, taskId, files);
|
|
97
97
|
},
|
|
98
98
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -3947,7 +3947,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
|
|
|
3947
3947
|
const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
|
|
3948
3948
|
if (candidates.length === 0)
|
|
3949
3949
|
return 0;
|
|
3950
|
-
const { transferCoderSettlementToBackground } = await import("./coder-settlement-
|
|
3950
|
+
const { transferCoderSettlementToBackground } = await import("./coder-settlement-m918n7qj.js");
|
|
3951
3951
|
let transferred = 0;
|
|
3952
3952
|
for (const record of candidates) {
|
|
3953
3953
|
try {
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-0e34njnm.js";
|
|
10
10
|
import {
|
|
11
11
|
queryHistoricalOutcomes,
|
|
12
12
|
readKnowledgeEvents,
|
|
13
13
|
recordKnowledgeEvent
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-95hhrw1d.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-gcbfq9er.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-mgpsycrr.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-3fpqmms2.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-yhpbcrdk.js";
|
|
6
6
|
import {
|
|
7
7
|
appendCoreEventSync
|
|
8
8
|
} from "./index-0145kpjr.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./index-556ja8an.js";
|
|
12
12
|
import {
|
|
13
13
|
PlanSchema
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-4wneygfx.js";
|
|
15
15
|
import {
|
|
16
16
|
assertProjectRoot
|
|
17
17
|
} from "./index-yep24wn4.js";
|