opencode-swarm 7.139.7 → 7.139.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/{config-doctor-pc48vfzg.js → config-doctor-9p18410e.js} +2 -2
- package/dist/cli/{curation-policy-2rh3zysm.js → curation-policy-csqy6sxv.js} +2 -2
- package/dist/cli/{curator-llm-factory-de10hnhj.js → curator-llm-factory-9jx0967z.js} +12 -12
- package/dist/cli/{curator-tm9rp9yx.js → curator-nm119d34.js} +12 -12
- package/dist/cli/{guardrail-explain-979dxbd5.js → guardrail-explain-jcw3c310.js} +13 -13
- package/dist/cli/{guardrail-log-wxa8janm.js → guardrail-log-kezxpmcr.js} +3 -3
- package/dist/cli/{hive-promoter-w4ezne1c.js → hive-promoter-pjyx3wy7.js} +12 -12
- package/dist/cli/{index-f7wq4q9r.js → index-0gre0ke3.js} +5 -5
- package/dist/cli/{index-3w0kxqyy.js → index-2y3kqsrj.js} +1 -1
- package/dist/cli/{index-4tjk6k4a.js → index-61hxp7jc.js} +2 -2
- package/dist/cli/{index-j0gy1ggg.js → index-82q5cn2m.js} +1 -1
- package/dist/cli/{index-sd7ajhb5.js → index-8rzgy9eq.js} +1 -1
- package/dist/cli/{index-92j14gdt.js → index-bdvbjh9n.js} +1 -1
- package/dist/cli/{index-vx6mwms2.js → index-c5t1dz4k.js} +14 -14
- package/dist/cli/{index-cp592623.js → index-cdkp8p0d.js} +4 -4
- package/dist/cli/{index-n4x9racs.js → index-fsrsvn0j.js} +1 -1
- package/dist/cli/{index-6d60gctc.js → index-fzf15czt.js} +2 -2
- package/dist/cli/{index-nxs7r6sd.js → index-g5dfrs6s.js} +36 -36
- package/dist/cli/{index-rvr1p73g.js → index-j358ngpt.js} +1 -1
- package/dist/cli/{index-ssjm3458.js → index-mejjza6g.js} +1 -1
- package/dist/cli/{index-7f4jhdhw.js → index-nxfwwsdh.js} +1 -1
- package/dist/cli/{index-k4tcdnvd.js → index-t3wschfh.js} +3 -3
- package/dist/cli/{index-3r61js2q.js → index-z6je7zhk.js} +2 -2
- package/dist/cli/index.js +12 -12
- package/dist/cli/{knowledge-escalator-kyejsd7z.js → knowledge-escalator-tzv6e9cb.js} +3 -3
- package/dist/cli/{knowledge-events-n5z7w8x2.js → knowledge-events-g5t9m5y3.js} +1 -1
- package/dist/cli/{knowledge-store-s65wnc1m.js → knowledge-store-azpephvt.js} +1 -1
- package/dist/cli/{knowledge-validator-cgtmhqya.js → knowledge-validator-eqd7kywp.js} +4 -4
- package/dist/cli/{scan-cursor-6z3rbdxp.js → scan-cursor-mq7g3a95.js} +2 -2
- package/dist/cli/{schema-fvj8smjz.js → schema-dcjtwyvf.js} +1 -1
- package/dist/cli/{skill-generator-9kzsefn1.js → skill-generator-npzqnyac.js} +5 -5
- package/dist/hooks/compaction-customizer.d.ts +11 -0
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
} from "./index-1m1ksyqt.js";
|
|
17
17
|
import {
|
|
18
18
|
stableCanonicalStringify
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-82q5cn2m.js";
|
|
20
20
|
import {
|
|
21
21
|
detectStraySwarmDirs,
|
|
22
22
|
readDoctorArtifact,
|
|
23
23
|
removeStraySwarmDir,
|
|
24
24
|
runConfigDoctor
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-j358ngpt.js";
|
|
26
26
|
import {
|
|
27
27
|
MAX_TRANSIENT_RETRIES,
|
|
28
28
|
archiveEvidence,
|
|
@@ -122,15 +122,15 @@ import {
|
|
|
122
122
|
retireSkill,
|
|
123
123
|
selectCandidateEntries,
|
|
124
124
|
syncBundledProjectSkillsIfMissingAsync
|
|
125
|
-
} from "./index-
|
|
125
|
+
} from "./index-t3wschfh.js";
|
|
126
126
|
import {
|
|
127
127
|
readRecentEscalations
|
|
128
|
-
} from "./index-
|
|
128
|
+
} from "./index-0gre0ke3.js";
|
|
129
129
|
import {
|
|
130
130
|
alreadyCuratedThisGeneration,
|
|
131
131
|
claimNextScanBatch,
|
|
132
132
|
resolveCohortId
|
|
133
|
-
} from "./index-
|
|
133
|
+
} from "./index-2y3kqsrj.js";
|
|
134
134
|
import {
|
|
135
135
|
CURATOR_INIT_PROMPT,
|
|
136
136
|
CURATOR_PHASE_PROMPT,
|
|
@@ -222,11 +222,11 @@ import {
|
|
|
222
222
|
validateActionableFields,
|
|
223
223
|
validateLesson,
|
|
224
224
|
validateSkillPath
|
|
225
|
-
} from "./index-
|
|
225
|
+
} from "./index-61hxp7jc.js";
|
|
226
226
|
import {
|
|
227
227
|
authorizeCuration,
|
|
228
228
|
buildConfigFingerprintInput
|
|
229
|
-
} from "./index-
|
|
229
|
+
} from "./index-nxfwwsdh.js";
|
|
230
230
|
import {
|
|
231
231
|
cohortConfigFingerprint
|
|
232
232
|
} from "./index-rtry5xyf.js";
|
|
@@ -259,7 +259,7 @@ import {
|
|
|
259
259
|
transactFile,
|
|
260
260
|
transactKnowledge,
|
|
261
261
|
wordBigrams
|
|
262
|
-
} from "./index-
|
|
262
|
+
} from "./index-cdkp8p0d.js";
|
|
263
263
|
import {
|
|
264
264
|
MAX_EVENT_LOG_ENTRIES,
|
|
265
265
|
_internals,
|
|
@@ -269,7 +269,7 @@ import {
|
|
|
269
269
|
recordHiveKnowledgeEvent,
|
|
270
270
|
recordKnowledgeEvent,
|
|
271
271
|
resolveKnowledgeEventsPath
|
|
272
|
-
} from "./index-
|
|
272
|
+
} from "./index-fsrsvn0j.js";
|
|
273
273
|
import {
|
|
274
274
|
resolveHiveDataDir,
|
|
275
275
|
resolveHiveEventsPath,
|
|
@@ -313,7 +313,7 @@ import {
|
|
|
313
313
|
init_loader,
|
|
314
314
|
loadPluginConfig,
|
|
315
315
|
loadPluginConfigWithMeta
|
|
316
|
-
} from "./index-
|
|
316
|
+
} from "./index-mejjza6g.js";
|
|
317
317
|
import {
|
|
318
318
|
RetrospectiveEvidenceSchema
|
|
319
319
|
} from "./index-gprxjmm7.js";
|
|
@@ -345,7 +345,7 @@ import {
|
|
|
345
345
|
package_default,
|
|
346
346
|
resolveAutoReviewConfig,
|
|
347
347
|
stripKnownSwarmPrefix
|
|
348
|
-
} from "./index-
|
|
348
|
+
} from "./index-bdvbjh9n.js";
|
|
349
349
|
import {
|
|
350
350
|
AGENT_TOOL_MAP,
|
|
351
351
|
ALL_AGENT_NAMES,
|
|
@@ -21991,7 +21991,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
|
|
|
21991
21991
|
};
|
|
21992
21992
|
}
|
|
21993
21993
|
async function sweepActiveNearDuplicates(directory, options = {}) {
|
|
21994
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
21994
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-z6je7zhk.js");
|
|
21995
21995
|
const { config } = loadPluginConfigWithMeta2(directory);
|
|
21996
21996
|
const sweepConfig = config.learning?.dedup_sweep;
|
|
21997
21997
|
if (sweepConfig?.enabled === false)
|
|
@@ -23075,7 +23075,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
|
|
|
23075
23075
|
}
|
|
23076
23076
|
if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
|
|
23077
23077
|
try {
|
|
23078
|
-
const skillModule = await import("./skill-generator-
|
|
23078
|
+
const skillModule = await import("./skill-generator-npzqnyac.js");
|
|
23079
23079
|
for (const cand of skillCandidates) {
|
|
23080
23080
|
if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
|
|
23081
23081
|
continue;
|
|
@@ -23535,7 +23535,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
|
|
|
23535
23535
|
} catch {}
|
|
23536
23536
|
}
|
|
23537
23537
|
if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
|
|
23538
|
-
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-
|
|
23538
|
+
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-tzv6e9cb.js");
|
|
23539
23539
|
for (const { id } of contradictedEntries) {
|
|
23540
23540
|
try {
|
|
23541
23541
|
await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
|
|
@@ -24354,7 +24354,7 @@ async function runCuratorPostMortem(directory, options = {}) {
|
|
|
24354
24354
|
warnings.push("Failed to collect knowledge summary.");
|
|
24355
24355
|
}
|
|
24356
24356
|
try {
|
|
24357
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
24357
|
+
const { getScanStatus } = await import("./scan-cursor-mq7g3a95.js");
|
|
24358
24358
|
const scanStatus = await getScanStatus(directory);
|
|
24359
24359
|
if (scanStatus.remaining_estimate > 0) {
|
|
24360
24360
|
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.`);
|
|
@@ -24526,9 +24526,9 @@ var _internals28 = {
|
|
|
24526
24526
|
verifyPostMortemKnowledgeActions,
|
|
24527
24527
|
repairPostMortemActions,
|
|
24528
24528
|
loadDefaultKnowledgeConfig: async (directory) => {
|
|
24529
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
24529
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-dcjtwyvf.js");
|
|
24530
24530
|
try {
|
|
24531
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
24531
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-z6je7zhk.js");
|
|
24532
24532
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
24533
24533
|
return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
24534
24534
|
} catch {
|
|
@@ -24536,11 +24536,11 @@ var _internals28 = {
|
|
|
24536
24536
|
}
|
|
24537
24537
|
},
|
|
24538
24538
|
applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
|
|
24539
|
-
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-
|
|
24539
|
+
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-nm119d34.js");
|
|
24540
24540
|
return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
|
|
24541
24541
|
},
|
|
24542
24542
|
checkHivePromotions: async (entries, knowledgeConfig, directory) => {
|
|
24543
|
-
const { checkHivePromotions } = await import("./hive-promoter-
|
|
24543
|
+
const { checkHivePromotions } = await import("./hive-promoter-pjyx3wy7.js");
|
|
24544
24544
|
return checkHivePromotions(entries, knowledgeConfig, directory);
|
|
24545
24545
|
},
|
|
24546
24546
|
applyProposalTriage: async (directory, triage) => {
|
|
@@ -24549,7 +24549,7 @@ var _internals28 = {
|
|
|
24549
24549
|
activateProposal,
|
|
24550
24550
|
listSkills: listSkills2,
|
|
24551
24551
|
sanitizeSlug
|
|
24552
|
-
} = await import("./skill-generator-
|
|
24552
|
+
} = await import("./skill-generator-npzqnyac.js");
|
|
24553
24553
|
const result = {
|
|
24554
24554
|
approved: [],
|
|
24555
24555
|
rejected: [],
|
|
@@ -25774,9 +25774,9 @@ function hashContent(content) {
|
|
|
25774
25774
|
return createHash9("sha1").update(content).digest("hex");
|
|
25775
25775
|
}
|
|
25776
25776
|
async function loadConfigForPolicyCurator(directory) {
|
|
25777
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
25777
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-dcjtwyvf.js");
|
|
25778
25778
|
try {
|
|
25779
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
25779
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-z6je7zhk.js");
|
|
25780
25780
|
const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
|
|
25781
25781
|
return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
|
|
25782
25782
|
} catch {
|
|
@@ -29785,7 +29785,7 @@ async function runFinalizeStage(ctx) {
|
|
|
29785
29785
|
}
|
|
29786
29786
|
}
|
|
29787
29787
|
try {
|
|
29788
|
-
const { CuratorConfigSchema: CCS } = await import("./schema-
|
|
29788
|
+
const { CuratorConfigSchema: CCS } = await import("./schema-dcjtwyvf.js");
|
|
29789
29789
|
const { config: pmLoadedConfig } = _internals39.loadPluginConfigWithMeta(ctx.directory);
|
|
29790
29790
|
const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
|
|
29791
29791
|
if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
|
|
@@ -32058,9 +32058,9 @@ var _internals44 = {
|
|
|
32058
32058
|
loadPluginConfigWithMeta,
|
|
32059
32059
|
loadCuratorDeps: async () => {
|
|
32060
32060
|
const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
|
|
32061
|
-
import("./schema-
|
|
32062
|
-
import("./curator-
|
|
32063
|
-
import("./curator-llm-factory-
|
|
32061
|
+
import("./schema-dcjtwyvf.js"),
|
|
32062
|
+
import("./curator-nm119d34.js"),
|
|
32063
|
+
import("./curator-llm-factory-9jx0967z.js")
|
|
32064
32064
|
]);
|
|
32065
32065
|
return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
|
|
32066
32066
|
}
|
|
@@ -32965,7 +32965,7 @@ async function computeCurationDiagnostics(directory, entries) {
|
|
|
32965
32965
|
let scanCompleted = false;
|
|
32966
32966
|
let scanRemaining = 0;
|
|
32967
32967
|
try {
|
|
32968
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
32968
|
+
const { getScanStatus } = await import("./scan-cursor-mq7g3a95.js");
|
|
32969
32969
|
const status = await getScanStatus(directory);
|
|
32970
32970
|
scanGeneration = status.generation;
|
|
32971
32971
|
scanCompleted = status.completed;
|
|
@@ -32975,17 +32975,17 @@ async function computeCurationDiagnostics(directory, entries) {
|
|
|
32975
32975
|
try {
|
|
32976
32976
|
const { isLinked: isLinked2 } = await import("./knowledge-link-q46k9adx.js");
|
|
32977
32977
|
if (isLinked2(directory)) {
|
|
32978
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
32978
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-dcjtwyvf.js");
|
|
32979
32979
|
let config;
|
|
32980
32980
|
try {
|
|
32981
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
32981
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-z6je7zhk.js");
|
|
32982
32982
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
32983
32983
|
config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
32984
32984
|
} catch {
|
|
32985
32985
|
config = KnowledgeConfigSchema2.parse({});
|
|
32986
32986
|
}
|
|
32987
32987
|
const { cohortConfigFingerprint: cohortConfigFingerprint2 } = await import("./config-fingerprint-v22xh5a2.js");
|
|
32988
|
-
const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-
|
|
32988
|
+
const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-csqy6sxv.js");
|
|
32989
32989
|
const currentFp = cohortConfigFingerprint2(buildConfigFingerprintInput2(config));
|
|
32990
32990
|
const cohortFp = await readCohortConfigFingerprint(directory);
|
|
32991
32991
|
configMatch = cohortFp === null ? null : currentFp === cohortFp;
|
|
@@ -34196,7 +34196,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
34196
34196
|
const result = runConfigDoctor(config, directory);
|
|
34197
34197
|
let output;
|
|
34198
34198
|
if (enableAutoFix && result.hasAutoFixableIssues) {
|
|
34199
|
-
const { runConfigDoctorWithFixes } = await import("./config-doctor-
|
|
34199
|
+
const { runConfigDoctorWithFixes } = await import("./config-doctor-9p18410e.js");
|
|
34200
34200
|
const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
|
|
34201
34201
|
applyLossy: true
|
|
34202
34202
|
});
|
|
@@ -57533,7 +57533,7 @@ function buildDetailedHelp(commandName, entry) {
|
|
|
57533
57533
|
async function handleHelpCommand(ctx) {
|
|
57534
57534
|
const targetCommand = ctx.args.join(" ");
|
|
57535
57535
|
if (!targetCommand) {
|
|
57536
|
-
const { buildHelpText } = await import("./index-
|
|
57536
|
+
const { buildHelpText } = await import("./index-c5t1dz4k.js");
|
|
57537
57537
|
return buildHelpText();
|
|
57538
57538
|
}
|
|
57539
57539
|
const tokens = targetCommand.split(/\s+/);
|
|
@@ -57542,7 +57542,7 @@ async function handleHelpCommand(ctx) {
|
|
|
57542
57542
|
return _internals18.buildDetailedHelp(resolved.key, resolved.entry);
|
|
57543
57543
|
}
|
|
57544
57544
|
const similar = _internals18.findSimilarCommands(targetCommand);
|
|
57545
|
-
const { buildHelpText: fullHelp } = await import("./index-
|
|
57545
|
+
const { buildHelpText: fullHelp } = await import("./index-c5t1dz4k.js");
|
|
57546
57546
|
if (similar.length > 0) {
|
|
57547
57547
|
return `Command '/swarm ${targetCommand}' not found.
|
|
57548
57548
|
|
|
@@ -57719,7 +57719,7 @@ var COMMAND_REGISTRY = {
|
|
|
57719
57719
|
},
|
|
57720
57720
|
"guardrail explain": {
|
|
57721
57721
|
handler: async (ctx) => {
|
|
57722
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
57722
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-jcw3c310.js");
|
|
57723
57723
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
57724
57724
|
},
|
|
57725
57725
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -57729,7 +57729,7 @@ var COMMAND_REGISTRY = {
|
|
|
57729
57729
|
},
|
|
57730
57730
|
"guardrail-explain": {
|
|
57731
57731
|
handler: async (ctx) => {
|
|
57732
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
57732
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-jcw3c310.js");
|
|
57733
57733
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
57734
57734
|
},
|
|
57735
57735
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -57739,7 +57739,7 @@ var COMMAND_REGISTRY = {
|
|
|
57739
57739
|
},
|
|
57740
57740
|
"guardrail-log": {
|
|
57741
57741
|
handler: async (ctx) => {
|
|
57742
|
-
const { handleGuardrailLog } = await import("./guardrail-log-
|
|
57742
|
+
const { handleGuardrailLog } = await import("./guardrail-log-kezxpmcr.js");
|
|
57743
57743
|
return handleGuardrailLog(ctx.directory, ctx.args);
|
|
57744
57744
|
},
|
|
57745
57745
|
description: "Read the guardrail decision log (use --blocks-only for blocks)",
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
4
4
|
validateSkillPath
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-61hxp7jc.js";
|
|
6
6
|
import {
|
|
7
7
|
computeOutcomeSignal,
|
|
8
8
|
readKnowledge,
|
|
9
9
|
resolveHiveKnowledgePath,
|
|
10
10
|
resolveSwarmKnowledgePath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-cdkp8p0d.js";
|
|
13
13
|
import {
|
|
14
14
|
effectiveRetrievalOutcomes,
|
|
15
15
|
readKnowledgeCounterRollups
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-fsrsvn0j.js";
|
|
17
17
|
import {
|
|
18
18
|
advisoryWarn,
|
|
19
19
|
init_warning_buffer
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
loadPluginConfigWithMeta,
|
|
8
8
|
loadPluginConfigWithMetaAsync,
|
|
9
9
|
resolveWorktreeIsolationConfig
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-mejjza6g.js";
|
|
11
11
|
import {
|
|
12
12
|
ApprovalEvidenceSchema,
|
|
13
13
|
BaseEvidenceSchema,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
TurboConfigSchema,
|
|
66
66
|
WorktreeIsolationConfigSchema,
|
|
67
67
|
resolveAutoReviewConfig
|
|
68
|
-
} from "./index-
|
|
68
|
+
} from "./index-bdvbjh9n.js";
|
|
69
69
|
import {
|
|
70
70
|
ALL_AGENT_NAMES,
|
|
71
71
|
ALL_SUBAGENT_NAMES,
|
package/dist/cli/index.js
CHANGED
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
getPluginConfigDir,
|
|
7
7
|
getPluginLockFilePaths,
|
|
8
8
|
resolveCommand
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-g5dfrs6s.js";
|
|
10
10
|
import"./index-41hkt36g.js";
|
|
11
11
|
import"./index-1m1ksyqt.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
12
|
+
import"./index-82q5cn2m.js";
|
|
13
|
+
import"./index-j358ngpt.js";
|
|
14
14
|
import"./index-brh827g0.js";
|
|
15
15
|
import"./index-yyyk63kk.js";
|
|
16
16
|
import"./index-y8552snf.js";
|
|
17
17
|
import"./index-4905hd2m.js";
|
|
18
18
|
import"./index-134d35c1.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
19
|
+
import"./index-t3wschfh.js";
|
|
20
|
+
import"./index-0gre0ke3.js";
|
|
21
|
+
import"./index-2y3kqsrj.js";
|
|
22
22
|
import"./index-v2xrer41.js";
|
|
23
23
|
import"./index-c8s9a3zh.js";
|
|
24
24
|
import"./index-9ss2m4rs.js";
|
|
@@ -36,11 +36,11 @@ import"./index-74hpm6sh.js";
|
|
|
36
36
|
import"./index-n0pja0qs.js";
|
|
37
37
|
import"./index-8fwhhayc.js";
|
|
38
38
|
import"./index-q1exe2b3.js";
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
39
|
+
import"./index-61hxp7jc.js";
|
|
40
|
+
import"./index-nxfwwsdh.js";
|
|
41
41
|
import"./index-rtry5xyf.js";
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
42
|
+
import"./index-cdkp8p0d.js";
|
|
43
|
+
import"./index-fsrsvn0j.js";
|
|
44
44
|
import"./index-ae75rja9.js";
|
|
45
45
|
import"./index-rs1f1bh0.js";
|
|
46
46
|
import"./index-h2waehqq.js";
|
|
@@ -48,7 +48,7 @@ import"./index-ed5ykebp.js";
|
|
|
48
48
|
import"./index-hfvxhk4z.js";
|
|
49
49
|
import"./index-7g4c7s5r.js";
|
|
50
50
|
import"./index-4nt52yr9.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-mejjza6g.js";
|
|
52
52
|
import"./index-gprxjmm7.js";
|
|
53
53
|
import"./index-n832052r.js";
|
|
54
54
|
import"./index-d181x9zr.js";
|
|
@@ -57,7 +57,7 @@ import"./index-zgwm4ryv.js";
|
|
|
57
57
|
import {
|
|
58
58
|
init_package,
|
|
59
59
|
package_default
|
|
60
|
-
} from "./index-
|
|
60
|
+
} from "./index-bdvbjh9n.js";
|
|
61
61
|
import {
|
|
62
62
|
DEFAULT_AGENT_CONFIGS,
|
|
63
63
|
init_constants
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
maybeEscalateOnViolation,
|
|
9
9
|
maybeQuarantineOnContradiction,
|
|
10
10
|
readRecentEscalations
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
11
|
+
} from "./index-0gre0ke3.js";
|
|
12
|
+
import"./index-cdkp8p0d.js";
|
|
13
|
+
import"./index-fsrsvn0j.js";
|
|
14
14
|
import"./index-ae75rja9.js";
|
|
15
15
|
import"./index-rs1f1bh0.js";
|
|
16
16
|
import"./index-h2waehqq.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
resolveKnowledgeCounterBaselinePath,
|
|
29
29
|
resolveKnowledgeEventsPath,
|
|
30
30
|
resolveLegacyApplicationLogPath
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-fsrsvn0j.js";
|
|
32
32
|
import"./index-ae75rja9.js";
|
|
33
33
|
import"./index-rs1f1bh0.js";
|
|
34
34
|
import"./index-h2waehqq.js";
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-61hxp7jc.js";
|
|
27
|
+
import"./index-nxfwwsdh.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
29
|
+
import"./index-cdkp8p0d.js";
|
|
30
|
+
import"./index-fsrsvn0j.js";
|
|
31
31
|
import"./index-ae75rja9.js";
|
|
32
32
|
import"./index-rs1f1bh0.js";
|
|
33
33
|
import"./index-h2waehqq.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-2y3kqsrj.js";
|
|
8
|
+
import"./index-cdkp8p0d.js";
|
|
9
9
|
import"./index-ae75rja9.js";
|
|
10
10
|
import"./index-rs1f1bh0.js";
|
|
11
11
|
import"./index-h2waehqq.js";
|
|
@@ -33,12 +33,12 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
} from "./index-t3wschfh.js";
|
|
37
|
+
import"./index-61hxp7jc.js";
|
|
38
|
+
import"./index-nxfwwsdh.js";
|
|
39
39
|
import"./index-rtry5xyf.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
40
|
+
import"./index-cdkp8p0d.js";
|
|
41
|
+
import"./index-fsrsvn0j.js";
|
|
42
42
|
import"./index-ae75rja9.js";
|
|
43
43
|
import"./index-rs1f1bh0.js";
|
|
44
44
|
import"./index-h2waehqq.js";
|
|
@@ -5,6 +5,16 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import * as fs from 'node:fs';
|
|
7
7
|
import type { PluginConfig } from '../config';
|
|
8
|
+
/**
|
|
9
|
+
* The summary-generation turn is tool-disabled, so an action affordance like
|
|
10
|
+
* ` ← CURRENT` ("do this next") would instruct the model to act where acting is
|
|
11
|
+
* forbidden. Strip it from on-disk task rendering while keeping the factual
|
|
12
|
+
* pending-task line. The marker is emitted by `extractIncompleteTasksFromPlan`
|
|
13
|
+
* (`- [ ] <id>: ... ← CURRENT`), and the legacy `extractIncompleteTasks` path
|
|
14
|
+
* relays it verbatim whenever plan.md was derived from or hand-written in the
|
|
15
|
+
* canonical ` ← CURRENT` format, so the strip is applied to both paths.
|
|
16
|
+
*/
|
|
17
|
+
declare function stripTaskActionMarkers(value: string): string;
|
|
8
18
|
interface CompactionFact {
|
|
9
19
|
label: string;
|
|
10
20
|
value: string;
|
|
@@ -30,6 +40,7 @@ export declare const _test_exports: {
|
|
|
30
40
|
opendir: typeof fs.promises.opendir;
|
|
31
41
|
};
|
|
32
42
|
countStoredOutputs: typeof countStoredOutputs;
|
|
43
|
+
stripTaskActionMarkers: typeof stripTaskActionMarkers;
|
|
33
44
|
MAX_COMPACTION_FACT_CHARS: number;
|
|
34
45
|
MAX_COMPACTION_CONTEXT_CHARS: number;
|
|
35
46
|
MAX_STORED_OUTPUTS_TO_COUNT: number;
|