@c-d-cc/reap 0.7.7 → 0.7.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.js +1 -12
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -10762,17 +10762,6 @@ async function updateProject(projectRoot, dryRun = false) {
|
|
|
10762
10762
|
async function migrateLegacyFiles(paths, dryRun, result) {
|
|
10763
10763
|
await removeDirIfExists(paths.legacyCommands, ".reap/commands/", dryRun, result);
|
|
10764
10764
|
await removeDirIfExists(paths.legacyTemplates, ".reap/templates/", dryRun, result);
|
|
10765
|
-
try {
|
|
10766
|
-
const claudeCmdDir = paths.legacyClaudeCommands;
|
|
10767
|
-
const files = await readdir9(claudeCmdDir);
|
|
10768
|
-
for (const file of files) {
|
|
10769
|
-
if (file.startsWith("reap.") && file.endsWith(".md")) {
|
|
10770
|
-
if (!dryRun)
|
|
10771
|
-
await unlink3(join10(claudeCmdDir, file));
|
|
10772
|
-
result.removed.push(`.claude/commands/${file}`);
|
|
10773
|
-
}
|
|
10774
|
-
}
|
|
10775
|
-
} catch {}
|
|
10776
10765
|
try {
|
|
10777
10766
|
const legacyHooksJson = paths.legacyClaudeHooksJson;
|
|
10778
10767
|
const fileContent = await readTextFile(legacyHooksJson);
|
|
@@ -10906,7 +10895,7 @@ async function fixProject(projectRoot) {
|
|
|
10906
10895
|
// src/cli/index.ts
|
|
10907
10896
|
init_fs();
|
|
10908
10897
|
import { join as join11 } from "path";
|
|
10909
|
-
program.name("reap").description("REAP — Recursive Evolutionary Autonomous Pipeline").version("0.7.
|
|
10898
|
+
program.name("reap").description("REAP — Recursive Evolutionary Autonomous Pipeline").version("0.7.8");
|
|
10910
10899
|
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) => {
|
|
10911
10900
|
try {
|
|
10912
10901
|
const cwd = process.cwd();
|