@c-d-cc/reap 0.13.3 → 0.13.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/dist/cli.js +8 -7
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -12094,9 +12094,9 @@ async function execute15(paths) {
|
|
|
12094
12094
|
const gm = new GenerationManager(paths);
|
|
12095
12095
|
const state = await gm.current();
|
|
12096
12096
|
const configContent = await readTextFile(paths.config);
|
|
12097
|
-
const
|
|
12097
|
+
const installedVersion = "0.13.4";
|
|
12098
12098
|
const autoUpdate = configContent?.match(/autoUpdate:\s*(true|false)/)?.[1] === "true";
|
|
12099
|
-
const versionDisplay = formatVersionLine(
|
|
12099
|
+
const versionDisplay = formatVersionLine(installedVersion, !autoUpdate);
|
|
12100
12100
|
const rawLang = detectLanguage(configContent);
|
|
12101
12101
|
const supported = isSupportedLanguage(rawLang);
|
|
12102
12102
|
const lang = supported ? rawLang : "en";
|
|
@@ -13619,7 +13619,7 @@ async function runCommand(command, phase, argv = []) {
|
|
|
13619
13619
|
try {
|
|
13620
13620
|
const config = await ConfigManager.read(paths);
|
|
13621
13621
|
if (config.autoIssueReport) {
|
|
13622
|
-
const version = "0.13.
|
|
13622
|
+
const version = "0.13.4";
|
|
13623
13623
|
const errMsg = err instanceof Error ? err.message : String(err);
|
|
13624
13624
|
const title = `[auto] reap run ${command}: ${errMsg.slice(0, 80)}`;
|
|
13625
13625
|
const body = [
|
|
@@ -14205,7 +14205,7 @@ async function initProject(projectRoot, projectName, entryMode, preset, onProgre
|
|
|
14205
14205
|
}
|
|
14206
14206
|
const detectedLanguage = await AgentRegistry.readLanguage();
|
|
14207
14207
|
const config = {
|
|
14208
|
-
version: "0.13.
|
|
14208
|
+
version: "0.13.4",
|
|
14209
14209
|
project: projectName,
|
|
14210
14210
|
entryMode,
|
|
14211
14211
|
strict: false,
|
|
@@ -14804,7 +14804,7 @@ async function updateProject(projectRoot, dryRun = false) {
|
|
|
14804
14804
|
result.skipped.push(`.claude/commands/ (${reapCmdFiles.length} unchanged)`);
|
|
14805
14805
|
}
|
|
14806
14806
|
await migrateLegacyFiles(paths, dryRun, result);
|
|
14807
|
-
const currentVersion = "0.13.
|
|
14807
|
+
const currentVersion = "0.13.4";
|
|
14808
14808
|
const migrationResult = await MigrationRunner.run(paths, currentVersion, dryRun);
|
|
14809
14809
|
for (const m of migrationResult.migrated) {
|
|
14810
14810
|
result.updated.push(`[migration] ${m}`);
|
|
@@ -15002,7 +15002,7 @@ init_fs();
|
|
|
15002
15002
|
init_version();
|
|
15003
15003
|
init_config();
|
|
15004
15004
|
import { join as join26 } from "path";
|
|
15005
|
-
program.name("reap").description("REAP — Recursive Evolutionary Autonomous Pipeline").version("0.13.
|
|
15005
|
+
program.name("reap").description("REAP — Recursive Evolutionary Autonomous Pipeline").version("0.13.4");
|
|
15006
15006
|
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) => {
|
|
15007
15007
|
try {
|
|
15008
15008
|
const cwd = process.cwd();
|
|
@@ -15058,7 +15058,8 @@ program.command("status").description("Show current project and Generation statu
|
|
|
15058
15058
|
const paths = new ReapPaths(cwd);
|
|
15059
15059
|
const config = await ConfigManager.read(paths);
|
|
15060
15060
|
const skipCheck = config.autoUpdate === false;
|
|
15061
|
-
const
|
|
15061
|
+
const installedVersion = "0.13.4";
|
|
15062
|
+
const versionLine = formatVersionLine(installedVersion, skipCheck);
|
|
15062
15063
|
console.log(`${versionLine} | Project: ${status.project} (${status.entryMode})`);
|
|
15063
15064
|
console.log(`Completed Generations: ${status.totalGenerations}`);
|
|
15064
15065
|
if (status.generation) {
|