opencode-swarm 7.191.3 → 7.191.4
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/{auto-checkpoint-hzhjkz93.js → auto-checkpoint-mfevgppc.js} +5 -5
- package/dist/cli/{checkpoint-rcszvgf0.js → checkpoint-ft7x9hh4.js} +9 -9
- package/dist/cli/{coder-settlement-xyqg633m.js → coder-settlement-a8v2w1gw.js} +3 -3
- package/dist/cli/{config-doctor-3fmhmr06.js → config-doctor-5jpt3aj0.js} +7 -7
- package/dist/cli/{core-16wgyp5e.js → core-9sekbwxm.js} +1 -1
- package/dist/cli/{curator-drift-eksxa9fp.js → curator-drift-mqcfwm24.js} +5 -5
- package/dist/cli/{curator-llm-factory-ygngs1sz.js → curator-llm-factory-nm91t6p1.js} +26 -26
- package/dist/cli/{curator-ztndrkxb.js → curator-venskykb.js} +26 -26
- package/dist/cli/{doctor-knowledge-receipt-phase-id-ys47kkak.js → doctor-knowledge-receipt-phase-id-0ewtqwxk.js} +5 -5
- package/dist/cli/{evidence-summary-service-67jqzqs8.js → evidence-summary-service-rr3rb5n2.js} +10 -10
- package/dist/cli/{gate-evidence-ytvnsryw.js → gate-evidence-sjp73rfv.js} +2 -2
- package/dist/cli/{guardrail-explain-c7d273s8.js → guardrail-explain-r5x9khp3.js} +27 -27
- package/dist/cli/{guardrail-log-1y95wcs8.js → guardrail-log-87qgtbxw.js} +3 -3
- package/dist/cli/{guardrail-reset-efptt0dd.js → guardrail-reset-z1rhagdh.js} +26 -26
- package/dist/cli/{hive-promoter-1c429hxm.js → hive-promoter-hy0gm4z7.js} +26 -26
- package/dist/cli/{index-5znhb5xh.js → index-02gmv98q.js} +4 -4
- package/dist/cli/{index-7wpdvw9t.js → index-1gv6ja3m.js} +2 -2
- package/dist/cli/{index-p8s1jaxt.js → index-1y1fgtd0.js} +91 -66
- package/dist/cli/{index-yjb4bz8n.js → index-2afvf0hr.js} +2 -2
- package/dist/cli/{index-jehdm4pk.js → index-633j6d5z.js} +1 -1
- package/dist/cli/{index-5hpvw26z.js → index-7tkkhbcw.js} +1 -1
- package/dist/cli/{index-7zkk2jg2.js → index-8nac5633.js} +2 -2
- package/dist/cli/{index-9s7azfyy.js → index-9nh7fhh9.js} +3 -3
- package/dist/cli/{index-cr4zz79g.js → index-9ved57n0.js} +3 -3
- package/dist/cli/{index-8tvne3k7.js → index-bs8yvx1k.js} +1 -1
- package/dist/cli/{index-5wb9rgwk.js → index-ce4skcpr.js} +2 -2
- package/dist/cli/{index-7cwp0ctr.js → index-chdc1wv3.js} +1 -1
- package/dist/cli/{index-czv2q23x.js → index-d4rm6r3c.js} +1 -1
- package/dist/cli/{index-ng2ydjjx.js → index-ez6sczc7.js} +1 -1
- package/dist/cli/{index-j5nhx6e8.js → index-g22dps7x.js} +3 -0
- package/dist/cli/{index-49wjw0ck.js → index-jfk0yzr6.js} +1 -1
- package/dist/cli/{index-0hh6rvj6.js → index-kcx2f95c.js} +6 -6
- package/dist/cli/{index-4999bn4j.js → index-knqvkxc4.js} +26 -26
- package/dist/cli/{index-4mkwppwa.js → index-p4f47xhj.js} +3 -3
- package/dist/cli/{index-sg798y6a.js → index-p4vdas8e.js} +1 -1
- package/dist/cli/{index-p84e7f4q.js → index-q0y8e1db.js} +2 -2
- package/dist/cli/{index-bft3t28s.js → index-qgzyj2vt.js} +5 -5
- package/dist/cli/{index-xhwt7g90.js → index-t775as8a.js} +1 -1
- package/dist/cli/{index-bx8v88ky.js → index-v7bjb1ta.js} +1 -1
- package/dist/cli/{index-kyy4ays9.js → index-w8fbnqhe.js} +1 -1
- package/dist/cli/{index-x50nbnkf.js → index-xbhs0kp0.js} +1 -1
- package/dist/cli/{index-xfyt0bm8.js → index-xgfmzmey.js} +4 -4
- package/dist/cli/{index-zwsxyx8x.js → index-xgy7wakm.js} +28 -28
- package/dist/cli/{index-esv63drs.js → index-xrhhjeas.js} +2 -2
- package/dist/cli/{index-ente7d56.js → index-y7668dn6.js} +3 -3
- package/dist/cli/{index-zywyhw2q.js → index-ydnfnzdq.js} +1 -1
- package/dist/cli/index.js +27 -27
- package/dist/cli/{knowledge-escalator-398a4r2k.js → knowledge-escalator-901znnke.js} +8 -8
- package/dist/cli/{knowledge-events-hwgdqt0t.js → knowledge-events-y2x5c5xe.js} +6 -6
- package/dist/cli/{knowledge-store-t3p01tvz.js → knowledge-store-jkzkgsnw.js} +1 -1
- package/dist/cli/{knowledge-validator-y5s4ppg7.js → knowledge-validator-dar3799k.js} +2 -2
- package/dist/cli/{mcp-62my5s6r.js → mcp-7baqvsr2.js} +1 -1
- package/dist/cli/{model-preflight-v4vrwffw.js → model-preflight-gk2dtfw4.js} +26 -26
- package/dist/cli/{pending-delegations-k50qvt6f.js → pending-delegations-aean4z99.js} +2 -2
- package/dist/cli/{pr-subscriptions-5s0pm800.js → pr-subscriptions-zmv0gtv7.js} +1 -1
- package/dist/cli/{pr-workflow-gate-hf81zjr9.js → pr-workflow-gate-50avx71j.js} +26 -26
- package/dist/cli/{scan-cursor-gh66jjy8.js → scan-cursor-7vnj82v4.js} +2 -2
- package/dist/cli/{schema-xjvvhd3x.js → schema-4v7pnknw.js} +1 -1
- package/dist/cli/{scope-persistence-twqy5vbh.js → scope-persistence-xd30y1ym.js} +5 -5
- package/dist/cli/{server-n74mqqah.js → server-mkvhdc5k.js} +26 -26
- package/dist/cli/{skill-generator-gpsprra6.js → skill-generator-mt61qg5f.js} +9 -9
- package/dist/cli/{snapshot-coordination-init-c2twxn71.js → snapshot-coordination-init-c7r5443q.js} +26 -26
- package/dist/cli/{speckit-checkoff-k2j5s185.js → speckit-checkoff-t17g4ej6.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-h10rm6w4.js → worktree-collision-ownership-negbpp72.js} +2 -2
- package/dist/cli/{worktree-isolation-j2t43rxy.js → worktree-isolation-hhftse76.js} +26 -26
- package/dist/config/evidence-schema.d.ts +9 -0
- package/dist/index.js +8 -8
- package/dist/tools/pre-check-batch.d.ts +64 -1
- package/dist/tools/secretscan.d.ts +15 -0
- package/package.json +1 -1
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
protectedRoots,
|
|
9
9
|
redactDecisionLineForArchive,
|
|
10
10
|
stableCanonicalStringify
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-633j6d5z.js";
|
|
12
12
|
import {
|
|
13
13
|
detectStraySwarmDirs,
|
|
14
14
|
readDoctorArtifact,
|
|
15
15
|
removeStraySwarmDir,
|
|
16
16
|
resolvePlanParallelizationFlag,
|
|
17
17
|
runConfigDoctor
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-y7668dn6.js";
|
|
19
19
|
import {
|
|
20
20
|
archiveEvidence,
|
|
21
21
|
checkRequirementCoverage,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
sanitizeTaskId,
|
|
28
28
|
saveEvidence,
|
|
29
29
|
validateProjectRoot
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-xrhhjeas.js";
|
|
31
31
|
import {
|
|
32
32
|
JAVA_SYMBOL_GRAMMAR,
|
|
33
33
|
LANGUAGE_REGISTRY,
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
alreadyCuratedThisGeneration,
|
|
90
90
|
claimNextScanBatch,
|
|
91
91
|
resolveCohortId
|
|
92
|
-
} from "./index-
|
|
92
|
+
} from "./index-xbhs0kp0.js";
|
|
93
93
|
import {
|
|
94
94
|
CURATOR_CONSOLIDATION_PROMPT,
|
|
95
95
|
CURATOR_INIT_PROMPT,
|
|
@@ -108,13 +108,13 @@ import {
|
|
|
108
108
|
getGroupCommitWriter,
|
|
109
109
|
importLegacyJsonl,
|
|
110
110
|
readPriorDriftReports
|
|
111
|
-
} from "./index-
|
|
111
|
+
} from "./index-jfk0yzr6.js";
|
|
112
112
|
import {
|
|
113
113
|
assertNoUnsettledCoderDispatch,
|
|
114
114
|
listCoderSettlementWalStates,
|
|
115
115
|
recoverCoderSettlement,
|
|
116
116
|
recoverStaleCoderSettlements
|
|
117
|
-
} from "./index-
|
|
117
|
+
} from "./index-p4f47xhj.js";
|
|
118
118
|
import {
|
|
119
119
|
BUNDLED_PROJECT_SKILL_ROOT,
|
|
120
120
|
DEFAULT_SKILL_MIN_CONFIDENCE,
|
|
@@ -135,11 +135,11 @@ import {
|
|
|
135
135
|
retireSkill,
|
|
136
136
|
selectCandidateEntries,
|
|
137
137
|
syncBundledProjectSkillsIfMissingAsync
|
|
138
|
-
} from "./index-
|
|
138
|
+
} from "./index-9nh7fhh9.js";
|
|
139
139
|
import {
|
|
140
140
|
buildEscalationBriefing,
|
|
141
141
|
readRecentEscalations
|
|
142
|
-
} from "./index-
|
|
142
|
+
} from "./index-kcx2f95c.js";
|
|
143
143
|
import {
|
|
144
144
|
parsePorcelainV2Snapshot,
|
|
145
145
|
resolveCommitCountSince,
|
|
@@ -223,7 +223,7 @@ import {
|
|
|
223
223
|
swarmOverwriteCandidates,
|
|
224
224
|
trackedDirtyCandidates,
|
|
225
225
|
transientBackoff
|
|
226
|
-
} from "./index-
|
|
226
|
+
} from "./index-9ved57n0.js";
|
|
227
227
|
import {
|
|
228
228
|
EPIC_MODE_CONFIG_DISABLED_MESSAGE,
|
|
229
229
|
PlanRecoverySupersededError,
|
|
@@ -255,7 +255,7 @@ import {
|
|
|
255
255
|
updateEpicRecord,
|
|
256
256
|
updateTaskStatus,
|
|
257
257
|
withPlanLifecycleLock
|
|
258
|
-
} from "./index-
|
|
258
|
+
} from "./index-qgzyj2vt.js";
|
|
259
259
|
import {
|
|
260
260
|
containsControlChars,
|
|
261
261
|
containsPathTraversal,
|
|
@@ -271,7 +271,7 @@ import {
|
|
|
271
271
|
resolveSpeckitProjection,
|
|
272
272
|
validateSpeckit,
|
|
273
273
|
writeProjectedSpecSync
|
|
274
|
-
} from "./index-
|
|
274
|
+
} from "./index-p4vdas8e.js";
|
|
275
275
|
import {
|
|
276
276
|
clearWorktreeMergeStatus,
|
|
277
277
|
getAllWorktreeMergeFailures,
|
|
@@ -303,7 +303,7 @@ import {
|
|
|
303
303
|
transitionTaskWorkflowEvidenceWithStatus,
|
|
304
304
|
withTaskEvidenceTransaction,
|
|
305
305
|
writeWorkflowWalFile
|
|
306
|
-
} from "./index-
|
|
306
|
+
} from "./index-v7bjb1ta.js";
|
|
307
307
|
import {
|
|
308
308
|
isPathUnderSwarmWorktreeBase,
|
|
309
309
|
listLiveLaneOwners,
|
|
@@ -312,7 +312,7 @@ import {
|
|
|
312
312
|
recordLiveLaneOwner,
|
|
313
313
|
removeWorktree,
|
|
314
314
|
resolveWorktreeBaseDir
|
|
315
|
-
} from "./index-
|
|
315
|
+
} from "./index-w8fbnqhe.js";
|
|
316
316
|
import {
|
|
317
317
|
GitBinaryMissingError,
|
|
318
318
|
GitSpawnCwdError,
|
|
@@ -354,7 +354,7 @@ import {
|
|
|
354
354
|
scanBackgroundCoderReservationsForAdmission,
|
|
355
355
|
scanDelegationsForRecovery,
|
|
356
356
|
sweepStaleDelegations
|
|
357
|
-
} from "./index-
|
|
357
|
+
} from "./index-ydnfnzdq.js";
|
|
358
358
|
import {
|
|
359
359
|
MAX_EVENT_LOG_ENTRIES,
|
|
360
360
|
_internals,
|
|
@@ -366,7 +366,7 @@ import {
|
|
|
366
366
|
recordHiveKnowledgeEvent,
|
|
367
367
|
recordKnowledgeEvent,
|
|
368
368
|
resolveKnowledgeEventsPath
|
|
369
|
-
} from "./index-
|
|
369
|
+
} from "./index-1gv6ja3m.js";
|
|
370
370
|
import {
|
|
371
371
|
commitDisplayedMembership,
|
|
372
372
|
commitEmptyRetrieval,
|
|
@@ -379,7 +379,7 @@ import {
|
|
|
379
379
|
queryLiveMemberships,
|
|
380
380
|
reconcilePhaseClose,
|
|
381
381
|
recordPhaseCloseIntent
|
|
382
|
-
} from "./index-
|
|
382
|
+
} from "./index-8nac5633.js";
|
|
383
383
|
import {
|
|
384
384
|
sanitizeContextText
|
|
385
385
|
} from "./index-m9zzj4ee.js";
|
|
@@ -410,7 +410,7 @@ import {
|
|
|
410
410
|
validateActionableFields,
|
|
411
411
|
validateLesson,
|
|
412
412
|
validateSkillPath
|
|
413
|
-
} from "./index-
|
|
413
|
+
} from "./index-chdc1wv3.js";
|
|
414
414
|
import {
|
|
415
415
|
MAX_CURATION_PROPOSALS,
|
|
416
416
|
authorizeCuration,
|
|
@@ -421,10 +421,10 @@ import {
|
|
|
421
421
|
} from "./index-rtry5xyf.js";
|
|
422
422
|
import {
|
|
423
423
|
resolveWorktreeIsolationConfig
|
|
424
|
-
} from "./index-
|
|
424
|
+
} from "./index-q0y8e1db.js";
|
|
425
425
|
import {
|
|
426
426
|
RetrospectiveEvidenceSchema
|
|
427
|
-
} from "./index-
|
|
427
|
+
} from "./index-g22dps7x.js";
|
|
428
428
|
import {
|
|
429
429
|
MAX_PENDING_SCOPE_BINDINGS,
|
|
430
430
|
canonicalWorkspaceIdentity,
|
|
@@ -433,7 +433,7 @@ import {
|
|
|
433
433
|
clearScopeBindings,
|
|
434
434
|
readAuthoritativeScopeBindingSet,
|
|
435
435
|
readDeclaredScopeFilesFromBindings
|
|
436
|
-
} from "./index-
|
|
436
|
+
} from "./index-7tkkhbcw.js";
|
|
437
437
|
import {
|
|
438
438
|
clearPlanLedgerForReset,
|
|
439
439
|
computePlanStructureHash,
|
|
@@ -449,7 +449,7 @@ import {
|
|
|
449
449
|
replayFromLedgerWithStatus,
|
|
450
450
|
resolvePlanningProfile,
|
|
451
451
|
takeSnapshotEvent
|
|
452
|
-
} from "./index-
|
|
452
|
+
} from "./index-2afvf0hr.js";
|
|
453
453
|
import {
|
|
454
454
|
CORE_EVENT_LOCKED,
|
|
455
455
|
appendCoreEventSync,
|
|
@@ -538,7 +538,7 @@ import {
|
|
|
538
538
|
transactFile,
|
|
539
539
|
transactKnowledge,
|
|
540
540
|
wordBigrams
|
|
541
|
-
} from "./index-
|
|
541
|
+
} from "./index-02gmv98q.js";
|
|
542
542
|
import {
|
|
543
543
|
readTailJsonl,
|
|
544
544
|
readTailJsonlDetailed,
|
|
@@ -623,7 +623,7 @@ import {
|
|
|
623
623
|
loadPluginConfig,
|
|
624
624
|
loadPluginConfigWithMeta,
|
|
625
625
|
resolveEpicConfig
|
|
626
|
-
} from "./index-
|
|
626
|
+
} from "./index-ez6sczc7.js";
|
|
627
627
|
import {
|
|
628
628
|
GIT_BINARY_ENV_VAR,
|
|
629
629
|
addDeferredWarning,
|
|
@@ -656,7 +656,7 @@ import {
|
|
|
656
656
|
resolveContextWindow,
|
|
657
657
|
resolveGeneratedAgentRole,
|
|
658
658
|
stripKnownSwarmPrefix
|
|
659
|
-
} from "./index-
|
|
659
|
+
} from "./index-t775as8a.js";
|
|
660
660
|
import {
|
|
661
661
|
AGENT_TOOL_MAP,
|
|
662
662
|
ALL_AGENT_NAMES,
|
|
@@ -3449,7 +3449,7 @@ async function importLegacyPrWorkflowGateStateIfNeeded(directory, sessionID, all
|
|
|
3449
3449
|
return null;
|
|
3450
3450
|
throw error2;
|
|
3451
3451
|
}
|
|
3452
|
-
const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-
|
|
3452
|
+
const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-50avx71j.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
|
|
3453
3453
|
if (!legacy)
|
|
3454
3454
|
return null;
|
|
3455
3455
|
const namespace = workflowGateStateCoordinationNamespace(sessionID);
|
|
@@ -3536,7 +3536,7 @@ async function deleteStateWhileLocked(directory, sessionID, options = {}) {
|
|
|
3536
3536
|
let recoveryState = null;
|
|
3537
3537
|
if (!currentAuthoritative) {
|
|
3538
3538
|
if (options.allowSalvagedRead) {
|
|
3539
|
-
const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-
|
|
3539
|
+
const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-50avx71j.js");
|
|
3540
3540
|
recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
|
|
3541
3541
|
}
|
|
3542
3542
|
if (!recoveryState) {
|
|
@@ -10334,7 +10334,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
|
|
|
10334
10334
|
return extracted === expectedSessionId;
|
|
10335
10335
|
}
|
|
10336
10336
|
async function inspectStandardWorktreeCollisionOwnership(identity) {
|
|
10337
|
-
const collisionOwnership = await import("./worktree-collision-ownership-
|
|
10337
|
+
const collisionOwnership = await import("./worktree-collision-ownership-negbpp72.js");
|
|
10338
10338
|
return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
|
|
10339
10339
|
}
|
|
10340
10340
|
async function runRecoveryGit(directory, args, timeoutMs = 15000) {
|
|
@@ -10761,7 +10761,7 @@ async function precreateStandardWorktreeSession(args) {
|
|
|
10761
10761
|
const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
|
|
10762
10762
|
if (laneProfile) {
|
|
10763
10763
|
try {
|
|
10764
|
-
const { writeLaneProfileToDiskReal } = await import("./core-
|
|
10764
|
+
const { writeLaneProfileToDiskReal } = await import("./core-9sekbwxm.js");
|
|
10765
10765
|
await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
|
|
10766
10766
|
} catch {}
|
|
10767
10767
|
}
|
|
@@ -11754,7 +11754,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
|
|
|
11754
11754
|
}
|
|
11755
11755
|
clearWorktreeMergeStatus(statusKey);
|
|
11756
11756
|
try {
|
|
11757
|
-
const { removeLaneProfileFromDiskReal } = await import("./core-
|
|
11757
|
+
const { removeLaneProfileFromDiskReal } = await import("./core-9sekbwxm.js");
|
|
11758
11758
|
await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
|
|
11759
11759
|
} catch {}
|
|
11760
11760
|
const state = serializationStateBySessionID.get(dispatch.parentSessionID);
|
|
@@ -27502,7 +27502,7 @@ function clearCriticalShownIds(sessionID) {
|
|
|
27502
27502
|
async function rehydratePrSubscriptions(sessionID, directory) {
|
|
27503
27503
|
const map = new Map;
|
|
27504
27504
|
try {
|
|
27505
|
-
const { listActive: listActive2 } = await import("./pr-subscriptions-
|
|
27505
|
+
const { listActive: listActive2 } = await import("./pr-subscriptions-zmv0gtv7.js");
|
|
27506
27506
|
const records = await listActive2(directory);
|
|
27507
27507
|
for (const record of records) {
|
|
27508
27508
|
if (record.sessionID !== sessionID)
|
|
@@ -44048,9 +44048,9 @@ function hashContent(content) {
|
|
|
44048
44048
|
return createHash29("sha1").update(content).digest("hex");
|
|
44049
44049
|
}
|
|
44050
44050
|
async function loadConfigForPolicyCurator(directory) {
|
|
44051
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
44051
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-4v7pnknw.js");
|
|
44052
44052
|
try {
|
|
44053
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
44053
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-xgfmzmey.js");
|
|
44054
44054
|
const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
|
|
44055
44055
|
return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
|
|
44056
44056
|
} catch {
|
|
@@ -47108,7 +47108,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
|
|
|
47108
47108
|
const seam = _internals46.createCuratorLLMDelegate;
|
|
47109
47109
|
if (seam)
|
|
47110
47110
|
return seam(directory, mode, sessionId);
|
|
47111
|
-
const { createCuratorLLMDelegate } = await import("./curator-llm-factory-
|
|
47111
|
+
const { createCuratorLLMDelegate } = await import("./curator-llm-factory-nm91t6p1.js");
|
|
47112
47112
|
return createCuratorLLMDelegate(directory, mode, sessionId);
|
|
47113
47113
|
}
|
|
47114
47114
|
async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
|
|
@@ -47503,7 +47503,7 @@ async function runFinalizeStage(ctx) {
|
|
|
47503
47503
|
}
|
|
47504
47504
|
}
|
|
47505
47505
|
try {
|
|
47506
|
-
const { CuratorConfigSchema: CCS } = await import("./schema-
|
|
47506
|
+
const { CuratorConfigSchema: CCS } = await import("./schema-4v7pnknw.js");
|
|
47507
47507
|
const { config: pmLoadedConfig } = _internals46.loadPluginConfigWithMeta(ctx.directory);
|
|
47508
47508
|
const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
|
|
47509
47509
|
if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
|
|
@@ -51536,7 +51536,7 @@ function serializeAgentSession(s) {
|
|
|
51536
51536
|
}
|
|
51537
51537
|
async function writeSnapshot(directory, state) {
|
|
51538
51538
|
try {
|
|
51539
|
-
const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-
|
|
51539
|
+
const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-c7r5443q.js");
|
|
51540
51540
|
await ensureSnapshotCoordinationReady(directory);
|
|
51541
51541
|
const snapshot = {
|
|
51542
51542
|
version: 3,
|
|
@@ -54557,7 +54557,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
|
|
|
54557
54557
|
};
|
|
54558
54558
|
}
|
|
54559
54559
|
async function sweepActiveNearDuplicates(directory, options = {}) {
|
|
54560
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
54560
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-xgfmzmey.js");
|
|
54561
54561
|
const { config } = loadPluginConfigWithMeta2(directory);
|
|
54562
54562
|
const sweepConfig = config.learning?.dedup_sweep;
|
|
54563
54563
|
if (sweepConfig?.enabled === false)
|
|
@@ -55681,7 +55681,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
|
|
|
55681
55681
|
}
|
|
55682
55682
|
if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
|
|
55683
55683
|
try {
|
|
55684
|
-
const skillModule = await import("./skill-generator-
|
|
55684
|
+
const skillModule = await import("./skill-generator-mt61qg5f.js");
|
|
55685
55685
|
for (const cand of skillCandidates) {
|
|
55686
55686
|
if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
|
|
55687
55687
|
continue;
|
|
@@ -56153,7 +56153,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
|
|
|
56153
56153
|
} catch {}
|
|
56154
56154
|
}
|
|
56155
56155
|
if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
|
|
56156
|
-
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-
|
|
56156
|
+
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-901znnke.js");
|
|
56157
56157
|
for (const { id } of contradictedEntries) {
|
|
56158
56158
|
try {
|
|
56159
56159
|
await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
|
|
@@ -56985,7 +56985,7 @@ async function runCuratorPostMortem(directory, options = {}) {
|
|
|
56985
56985
|
warnings.push("Failed to collect knowledge summary.");
|
|
56986
56986
|
}
|
|
56987
56987
|
try {
|
|
56988
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
56988
|
+
const { getScanStatus } = await import("./scan-cursor-7vnj82v4.js");
|
|
56989
56989
|
const scanStatus = await getScanStatus(directory);
|
|
56990
56990
|
if (scanStatus.remaining_estimate > 0) {
|
|
56991
56991
|
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.`);
|
|
@@ -57157,9 +57157,9 @@ var _internals68 = {
|
|
|
57157
57157
|
verifyPostMortemKnowledgeActions,
|
|
57158
57158
|
repairPostMortemActions,
|
|
57159
57159
|
loadDefaultKnowledgeConfig: async (directory) => {
|
|
57160
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
57160
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-4v7pnknw.js");
|
|
57161
57161
|
try {
|
|
57162
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
57162
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-xgfmzmey.js");
|
|
57163
57163
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
57164
57164
|
return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
57165
57165
|
} catch {
|
|
@@ -57167,11 +57167,11 @@ var _internals68 = {
|
|
|
57167
57167
|
}
|
|
57168
57168
|
},
|
|
57169
57169
|
applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
|
|
57170
|
-
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-
|
|
57170
|
+
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-venskykb.js");
|
|
57171
57171
|
return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
|
|
57172
57172
|
},
|
|
57173
57173
|
checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
|
|
57174
|
-
const { checkHivePromotions } = await import("./hive-promoter-
|
|
57174
|
+
const { checkHivePromotions } = await import("./hive-promoter-hy0gm4z7.js");
|
|
57175
57175
|
return checkHivePromotions(entries2, knowledgeConfig, directory);
|
|
57176
57176
|
},
|
|
57177
57177
|
applyProposalTriage: async (directory, triage) => {
|
|
@@ -57180,7 +57180,7 @@ var _internals68 = {
|
|
|
57180
57180
|
activateProposal,
|
|
57181
57181
|
listSkills: listSkills2,
|
|
57182
57182
|
sanitizeSlug
|
|
57183
|
-
} = await import("./skill-generator-
|
|
57183
|
+
} = await import("./skill-generator-mt61qg5f.js");
|
|
57184
57184
|
const result = {
|
|
57185
57185
|
approved: [],
|
|
57186
57186
|
rejected: [],
|
|
@@ -57222,7 +57222,7 @@ var _internals68 = {
|
|
|
57222
57222
|
return result;
|
|
57223
57223
|
},
|
|
57224
57224
|
readPriorDriftReports: async (directory) => {
|
|
57225
|
-
const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-
|
|
57225
|
+
const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-mqcfwm24.js");
|
|
57226
57226
|
return readPriorDriftReports2(directory);
|
|
57227
57227
|
},
|
|
57228
57228
|
readSwarmKnowledge: (directory) => readKnowledge(resolveSwarmKnowledgePath(directory))
|
|
@@ -67492,9 +67492,9 @@ var _internals76 = {
|
|
|
67492
67492
|
loadPluginConfigWithMeta,
|
|
67493
67493
|
loadCuratorDeps: async () => {
|
|
67494
67494
|
const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
|
|
67495
|
-
import("./schema-
|
|
67496
|
-
import("./curator-
|
|
67497
|
-
import("./curator-llm-factory-
|
|
67495
|
+
import("./schema-4v7pnknw.js"),
|
|
67496
|
+
import("./curator-venskykb.js"),
|
|
67497
|
+
import("./curator-llm-factory-nm91t6p1.js")
|
|
67498
67498
|
]);
|
|
67499
67499
|
return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
|
|
67500
67500
|
}
|
|
@@ -69371,7 +69371,19 @@ async function hasGreenPostSettlementPreCheck(directory, settledAfterMs) {
|
|
|
69371
69371
|
const policySkipped = last.policy_skipped_files;
|
|
69372
69372
|
const requestedFiles = last.requested_files;
|
|
69373
69373
|
const vacuousCoverage = (last.files_scanned ?? 0) === 0 && typeof policySkipped === "number" && Number.isSafeInteger(policySkipped) && policySkipped >= 0 && typeof requestedFiles === "number" && Number.isSafeInteger(requestedFiles) && requestedFiles > 0 && policySkipped >= requestedFiles && (last.findings_count ?? 0) === 0 && (last.incomplete_files ?? 0) === 0 && last.incomplete_paths.length === 0;
|
|
69374
|
-
if ((last.incomplete_files ?? 0) === 0 && (
|
|
69374
|
+
if ((last.incomplete_files ?? 0) === 0 && (last.incomplete_paths?.length ?? 0) === 0 && ((last.files_scanned ?? 0) > 0 || vacuousCoverage) && (() => {
|
|
69375
|
+
const total = last.findings_count ?? 0;
|
|
69376
|
+
const newFindingsRaw = last.new_findings_count;
|
|
69377
|
+
const preexistingRaw = last.preexisting_findings_count;
|
|
69378
|
+
const newValid = typeof newFindingsRaw === "number" && Number.isSafeInteger(newFindingsRaw) && newFindingsRaw >= 0;
|
|
69379
|
+
if (!newValid)
|
|
69380
|
+
return total === 0;
|
|
69381
|
+
const preValid = typeof preexistingRaw === "number" && Number.isSafeInteger(preexistingRaw) && preexistingRaw >= 0;
|
|
69382
|
+
if (preValid && newFindingsRaw + preexistingRaw !== total) {
|
|
69383
|
+
return total === 0;
|
|
69384
|
+
}
|
|
69385
|
+
return newFindingsRaw === 0;
|
|
69386
|
+
})()) {
|
|
69375
69387
|
sawSecretscanGreen = true;
|
|
69376
69388
|
continue;
|
|
69377
69389
|
}
|
|
@@ -69932,7 +69944,7 @@ async function computeCurationDiagnostics(directory, entries2) {
|
|
|
69932
69944
|
let scanCompleted = false;
|
|
69933
69945
|
let scanRemaining = 0;
|
|
69934
69946
|
try {
|
|
69935
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
69947
|
+
const { getScanStatus } = await import("./scan-cursor-7vnj82v4.js");
|
|
69936
69948
|
const status = await getScanStatus(directory);
|
|
69937
69949
|
scanGeneration = status.generation;
|
|
69938
69950
|
scanCompleted = status.completed;
|
|
@@ -69942,10 +69954,10 @@ async function computeCurationDiagnostics(directory, entries2) {
|
|
|
69942
69954
|
try {
|
|
69943
69955
|
const { isLinked: isLinked2 } = await import("./knowledge-link-6hw3z6wn.js");
|
|
69944
69956
|
if (isLinked2(directory)) {
|
|
69945
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
69957
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-4v7pnknw.js");
|
|
69946
69958
|
let config;
|
|
69947
69959
|
try {
|
|
69948
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
69960
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-xgfmzmey.js");
|
|
69949
69961
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
69950
69962
|
config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
69951
69963
|
} catch {
|
|
@@ -71401,7 +71413,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
71401
71413
|
const result = runConfigDoctor(config, directory, planParallelizationEnabled);
|
|
71402
71414
|
let output;
|
|
71403
71415
|
if (enableAutoFix && result.hasAutoFixableIssues) {
|
|
71404
|
-
const { runConfigDoctorWithFixes } = await import("./config-doctor-
|
|
71416
|
+
const { runConfigDoctorWithFixes } = await import("./config-doctor-5jpt3aj0.js");
|
|
71405
71417
|
const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
|
|
71406
71418
|
applyLossy: true
|
|
71407
71419
|
});
|
|
@@ -71439,7 +71451,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
71439
71451
|
`;
|
|
71440
71452
|
}
|
|
71441
71453
|
try {
|
|
71442
|
-
const { runModelPreflight } = await import("./model-preflight-
|
|
71454
|
+
const { runModelPreflight } = await import("./model-preflight-gk2dtfw4.js");
|
|
71443
71455
|
const preflight = await runModelPreflight(config, swarmState.opencodeClient, { generatedAgentNames: swarmState.generatedAgentNames });
|
|
71444
71456
|
const missingSelection = preflight.resolutions.filter((resolution) => resolution.status === "missing-selection");
|
|
71445
71457
|
const unresolved = preflight.catalogAvailable ? preflight.resolutions.filter((resolution) => resolution.status === "unresolved") : [];
|
|
@@ -71473,7 +71485,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
71473
71485
|
}
|
|
71474
71486
|
} catch {}
|
|
71475
71487
|
try {
|
|
71476
|
-
const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-
|
|
71488
|
+
const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-0ewtqwxk.js");
|
|
71477
71489
|
output += await renderKnowledgeReceiptPhaseIdSection(directory, enableAutoFix);
|
|
71478
71490
|
} catch {}
|
|
71479
71491
|
const strayDirs = detectStraySwarmDirs(directory);
|
|
@@ -73490,7 +73502,7 @@ async function handleEvidenceCommand(directory, args) {
|
|
|
73490
73502
|
return formatTaskEvidenceMarkdown(evidenceData);
|
|
73491
73503
|
}
|
|
73492
73504
|
async function handleEvidenceSummaryCommand(directory) {
|
|
73493
|
-
const { buildEvidenceSummary } = await import("./evidence-summary-service-
|
|
73505
|
+
const { buildEvidenceSummary } = await import("./evidence-summary-service-rr3rb5n2.js");
|
|
73494
73506
|
const artifact = await buildEvidenceSummary(directory);
|
|
73495
73507
|
if (!artifact) {
|
|
73496
73508
|
return "No plan found. Run `/swarm plan` to check plan status.";
|
|
@@ -97956,7 +97968,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
|
|
|
97956
97968
|
}
|
|
97957
97969
|
const sdkOpts = signal ? { signal } : {};
|
|
97958
97970
|
try {
|
|
97959
|
-
const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-
|
|
97971
|
+
const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-knqvkxc4.js");
|
|
97960
97972
|
const createResult = await client.session.create({
|
|
97961
97973
|
...sessionId ? {
|
|
97962
97974
|
body: {
|
|
@@ -100293,7 +100305,7 @@ async function cancelPrFeedbackLoopUnlocked(directory, sessionID, reason) {
|
|
|
100293
100305
|
clearedEvents: []
|
|
100294
100306
|
};
|
|
100295
100307
|
try {
|
|
100296
|
-
const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-
|
|
100308
|
+
const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-50avx71j.js");
|
|
100297
100309
|
await cancelPrFeedbackPublication2(directory, sessionID, reason);
|
|
100298
100310
|
} catch (err) {
|
|
100299
100311
|
warn(`[pr-feedback-loop] cancelPrFeedbackPublication failed (fail-open): ${err instanceof Error ? err.message : String(err)}`);
|
|
@@ -103341,7 +103353,8 @@ var secretscan = createSwarmTool({
|
|
|
103341
103353
|
requested_files: 0,
|
|
103342
103354
|
ignored_files: 0,
|
|
103343
103355
|
incomplete_files: incompleteFiles,
|
|
103344
|
-
incomplete_paths: discovery.incompletePaths
|
|
103356
|
+
incomplete_paths: discovery.incompletePaths,
|
|
103357
|
+
...allFindings.length >= MAX_FINDINGS2 && { truncated: true }
|
|
103345
103358
|
};
|
|
103346
103359
|
const parts = [];
|
|
103347
103360
|
if (discovery.totalCandidates > MAX_FILES_SCANNED2) {
|
|
@@ -103403,6 +103416,7 @@ async function runSecretscanOnFiles(files, directory, rawRequestedFiles) {
|
|
|
103403
103416
|
let skippedFiles = 0;
|
|
103404
103417
|
let policySkippedFiles = 0;
|
|
103405
103418
|
let ignoredFiles = 0;
|
|
103419
|
+
let resultsTruncated = false;
|
|
103406
103420
|
const requestedFiles = Math.max(0, rawRequestedFiles ?? files.length);
|
|
103407
103421
|
const incompletePaths = [];
|
|
103408
103422
|
const rawRoot = path137.resolve(directory);
|
|
@@ -103459,6 +103473,7 @@ async function runSecretscanOnFiles(files, directory, rawRequestedFiles) {
|
|
|
103459
103473
|
break;
|
|
103460
103474
|
}
|
|
103461
103475
|
if (findings.length >= MAX_FINDINGS2) {
|
|
103476
|
+
resultsTruncated = true;
|
|
103462
103477
|
recordIncompletePath(incompletePaths, canonicalRoot, canonicalRoot, "truncated");
|
|
103463
103478
|
incompleteFiles += filesToScan.length - index;
|
|
103464
103479
|
break;
|
|
@@ -103548,8 +103563,10 @@ async function runSecretscanOnFiles(files, directory, rawRequestedFiles) {
|
|
|
103548
103563
|
case "scanned":
|
|
103549
103564
|
filesScanned++;
|
|
103550
103565
|
findings.push(...outcome.findings);
|
|
103551
|
-
if (findings.length > MAX_FINDINGS2)
|
|
103566
|
+
if (findings.length > MAX_FINDINGS2) {
|
|
103552
103567
|
findings.length = MAX_FINDINGS2;
|
|
103568
|
+
resultsTruncated = true;
|
|
103569
|
+
}
|
|
103553
103570
|
break;
|
|
103554
103571
|
case "skipped":
|
|
103555
103572
|
skippedFiles++;
|
|
@@ -103573,6 +103590,10 @@ async function runSecretscanOnFiles(files, directory, rawRequestedFiles) {
|
|
|
103573
103590
|
return 1;
|
|
103574
103591
|
return a.line - b.line;
|
|
103575
103592
|
});
|
|
103593
|
+
const disclosureParts = [];
|
|
103594
|
+
if (resultsTruncated) {
|
|
103595
|
+
disclosureParts.push(`Results limited to ${MAX_FINDINGS2} findings`);
|
|
103596
|
+
}
|
|
103576
103597
|
return {
|
|
103577
103598
|
scan_dir: directory,
|
|
103578
103599
|
findings,
|
|
@@ -103583,7 +103604,11 @@ async function runSecretscanOnFiles(files, directory, rawRequestedFiles) {
|
|
|
103583
103604
|
ignored_files: ignoredFiles,
|
|
103584
103605
|
requested_files: requestedFiles,
|
|
103585
103606
|
incomplete_files: incompleteFiles,
|
|
103586
|
-
incomplete_paths: incompletePaths
|
|
103607
|
+
incomplete_paths: incompletePaths,
|
|
103608
|
+
...resultsTruncated && {
|
|
103609
|
+
truncated: true,
|
|
103610
|
+
message: `${disclosureParts.join("; ")}.`
|
|
103611
|
+
}
|
|
103587
103612
|
};
|
|
103588
103613
|
} catch (e) {
|
|
103589
103614
|
return {
|
|
@@ -116746,7 +116771,7 @@ function buildDetailedHelp(commandName, entry) {
|
|
|
116746
116771
|
async function handleHelpCommand(ctx) {
|
|
116747
116772
|
const targetCommand = ctx.args.join(" ");
|
|
116748
116773
|
if (!targetCommand) {
|
|
116749
|
-
const { buildHelpText } = await import("./index-
|
|
116774
|
+
const { buildHelpText } = await import("./index-xgy7wakm.js");
|
|
116750
116775
|
return buildHelpText();
|
|
116751
116776
|
}
|
|
116752
116777
|
const tokens = targetCommand.split(/\s+/);
|
|
@@ -116760,7 +116785,7 @@ async function handleHelpCommand(ctx) {
|
|
|
116760
116785
|
> Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
|
|
116761
116786
|
}
|
|
116762
116787
|
const similar = _internals35.findSimilarCommands(targetCommand);
|
|
116763
|
-
const { buildHelpText: fullHelp } = await import("./index-
|
|
116788
|
+
const { buildHelpText: fullHelp } = await import("./index-xgy7wakm.js");
|
|
116764
116789
|
if (similar.length > 0) {
|
|
116765
116790
|
return `Command '/swarm ${targetCommand}' not found.
|
|
116766
116791
|
|
|
@@ -117088,7 +117113,7 @@ var COMMAND_REGISTRY = {
|
|
|
117088
117113
|
},
|
|
117089
117114
|
"guardrail explain": {
|
|
117090
117115
|
handler: async (ctx) => {
|
|
117091
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
117116
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-r5x9khp3.js");
|
|
117092
117117
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
117093
117118
|
},
|
|
117094
117119
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -117098,7 +117123,7 @@ var COMMAND_REGISTRY = {
|
|
|
117098
117123
|
},
|
|
117099
117124
|
"guardrail reset": {
|
|
117100
117125
|
handler: async (ctx) => {
|
|
117101
|
-
const { handleGuardrailReset } = await import("./guardrail-reset-
|
|
117126
|
+
const { handleGuardrailReset } = await import("./guardrail-reset-z1rhagdh.js");
|
|
117102
117127
|
return handleGuardrailReset(ctx.args, ctx.sessionID);
|
|
117103
117128
|
},
|
|
117104
117129
|
description: "Reset one exact active invocation/action circuit after repair",
|
|
@@ -117119,7 +117144,7 @@ var COMMAND_REGISTRY = {
|
|
|
117119
117144
|
},
|
|
117120
117145
|
"guardrail-log": {
|
|
117121
117146
|
handler: async (ctx) => {
|
|
117122
|
-
const { handleGuardrailLog } = await import("./guardrail-log-
|
|
117147
|
+
const { handleGuardrailLog } = await import("./guardrail-log-87qgtbxw.js");
|
|
117123
117148
|
return handleGuardrailLog(ctx.directory, ctx.args);
|
|
117124
117149
|
},
|
|
117125
117150
|
description: "Read the guardrail decision log (use --blocks-only for blocks)",
|
|
@@ -27,11 +27,11 @@ import {
|
|
|
27
27
|
import {
|
|
28
28
|
init_loader,
|
|
29
29
|
loadPluginConfig
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-ez6sczc7.js";
|
|
31
31
|
import {
|
|
32
32
|
init_package,
|
|
33
33
|
package_default
|
|
34
|
-
} from "./index-
|
|
34
|
+
} from "./index-t775as8a.js";
|
|
35
35
|
import {
|
|
36
36
|
criticalWarn,
|
|
37
37
|
init_logger,
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
} from "./index-gx2vp8gx.js";
|
|
20
20
|
import {
|
|
21
21
|
loadPluginConfigWithMeta
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-ez6sczc7.js";
|
|
23
23
|
import {
|
|
24
24
|
KnowledgeConfigSchema,
|
|
25
25
|
init_schema
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-t775as8a.js";
|
|
27
27
|
|
|
28
28
|
// src/utils/context-decisions.ts
|
|
29
29
|
function extractContextDecisions(content) {
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
effectiveRetrievalOutcomes,
|
|
7
7
|
readAuthoritativeKnowledgeCounterRollups
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-1gv6ja3m.js";
|
|
9
9
|
import {
|
|
10
10
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
11
11
|
validateSkillPath
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-chdc1wv3.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-02gmv98q.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCappedJsonl,
|
|
22
22
|
resolveRetentionCap
|