@c-d-cc/reap 0.15.4 → 0.15.5
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.js +8 -8
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -10226,7 +10226,7 @@ function checkLatestVersion() {
|
|
|
10226
10226
|
}
|
|
10227
10227
|
}
|
|
10228
10228
|
function getCurrentVersion() {
|
|
10229
|
-
return "0.15.
|
|
10229
|
+
return "0.15.5";
|
|
10230
10230
|
}
|
|
10231
10231
|
function formatVersionLine(current, skipCheck) {
|
|
10232
10232
|
if (skipCheck) {
|
|
@@ -12425,7 +12425,7 @@ async function execute17(paths) {
|
|
|
12425
12425
|
const gm = new GenerationManager(paths);
|
|
12426
12426
|
const state = await gm.current();
|
|
12427
12427
|
const configContent = await readTextFile(paths.config);
|
|
12428
|
-
const installedVersion = "0.15.
|
|
12428
|
+
const installedVersion = "0.15.5";
|
|
12429
12429
|
const autoUpdate = configContent?.match(/autoUpdate:\s*(true|false)/)?.[1] === "true";
|
|
12430
12430
|
const versionDisplay = formatVersionLine(installedVersion, !autoUpdate);
|
|
12431
12431
|
const rawLang = detectLanguage(configContent);
|
|
@@ -14480,7 +14480,7 @@ async function runCommand(command, phase, argv = []) {
|
|
|
14480
14480
|
try {
|
|
14481
14481
|
const config = await ConfigManager.read(paths);
|
|
14482
14482
|
if (config.autoIssueReport) {
|
|
14483
|
-
const version = "0.15.
|
|
14483
|
+
const version = "0.15.5";
|
|
14484
14484
|
const errMsg = err instanceof Error ? err.message : String(err);
|
|
14485
14485
|
const title = `[auto] reap run ${command}: ${errMsg.slice(0, 80)}`;
|
|
14486
14486
|
const body = [
|
|
@@ -15362,7 +15362,7 @@ async function initProject(projectRoot, projectName, entryMode, preset, onProgre
|
|
|
15362
15362
|
}
|
|
15363
15363
|
const detectedLanguage = await AgentRegistry.readLanguage();
|
|
15364
15364
|
const config = {
|
|
15365
|
-
version: "0.15.
|
|
15365
|
+
version: "0.15.5",
|
|
15366
15366
|
project: projectName,
|
|
15367
15367
|
entryMode,
|
|
15368
15368
|
strict: false,
|
|
@@ -15971,7 +15971,7 @@ async function checkGenome(paths, errors, warnings) {
|
|
|
15971
15971
|
continue;
|
|
15972
15972
|
const lines = content.split(`
|
|
15973
15973
|
`).length;
|
|
15974
|
-
if (lines > GENOME_LINE_WARNING_THRESHOLD) {
|
|
15974
|
+
if (gf.name !== "source-map.md" && lines > GENOME_LINE_WARNING_THRESHOLD) {
|
|
15975
15975
|
warnings.push(`genome/${gf.name}: ${lines} lines (exceeds ~${GENOME_LINE_WARNING_THRESHOLD} line guideline)`);
|
|
15976
15976
|
}
|
|
15977
15977
|
const stripped = content.split(`
|
|
@@ -16313,7 +16313,7 @@ async function updateProject(projectRoot, dryRun = false) {
|
|
|
16313
16313
|
}
|
|
16314
16314
|
} catch {}
|
|
16315
16315
|
await migrateLegacyFiles(paths, dryRun, result);
|
|
16316
|
-
const currentVersion = "0.15.
|
|
16316
|
+
const currentVersion = "0.15.5";
|
|
16317
16317
|
const migrationResult = await MigrationRunner.run(paths, currentVersion, dryRun);
|
|
16318
16318
|
for (const m of migrationResult.migrated) {
|
|
16319
16319
|
result.updated.push(`[migration] ${m}`);
|
|
@@ -16799,7 +16799,7 @@ init_fs();
|
|
|
16799
16799
|
init_version();
|
|
16800
16800
|
init_config();
|
|
16801
16801
|
import { join as join34 } from "path";
|
|
16802
|
-
program.name("reap").description("REAP — Recursive Evolutionary Autonomous Pipeline").version("0.15.
|
|
16802
|
+
program.name("reap").description("REAP — Recursive Evolutionary Autonomous Pipeline").version("0.15.5");
|
|
16803
16803
|
program.command("init").description("Initialize a new REAP project (Genesis)").argument("[project-name]", "Project name (defaults to current directory name)").option("-m, --mode <mode>", "Entry mode: greenfield, migration, adoption", "greenfield").option("-p, --preset <preset>", "Bootstrap with a genome preset (e.g., bun-hono-react)").action(async (projectName, options) => {
|
|
16804
16804
|
try {
|
|
16805
16805
|
const cwd = process.cwd();
|
|
@@ -16856,7 +16856,7 @@ program.command("status").description("Show current project and Generation statu
|
|
|
16856
16856
|
const paths = new ReapPaths(cwd);
|
|
16857
16857
|
const config = await ConfigManager.read(paths);
|
|
16858
16858
|
const skipCheck = config.autoUpdate === false;
|
|
16859
|
-
const installedVersion = "0.15.
|
|
16859
|
+
const installedVersion = "0.15.5";
|
|
16860
16860
|
const versionLine = formatVersionLine(installedVersion, skipCheck);
|
|
16861
16861
|
console.log(`${versionLine} | Project: ${status.project} (${status.entryMode})`);
|
|
16862
16862
|
console.log(`Completed Generations: ${status.totalGenerations}`);
|