@c-d-cc/reap 0.10.1 → 0.10.2

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 CHANGED
@@ -9817,7 +9817,7 @@ async function initProject(projectRoot, projectName, entryMode, preset, onProgre
9817
9817
  log("GitHub CLI(gh) not found. Install from https://cli.github.com for auto issue reporting.");
9818
9818
  }
9819
9819
  const config = {
9820
- version: "0.10.1",
9820
+ version: "0.10.2",
9821
9821
  project: projectName,
9822
9822
  entryMode,
9823
9823
  autoUpdate: true,
@@ -10992,7 +10992,7 @@ async function updateProject(projectRoot, dryRun = false) {
10992
10992
  result.skipped.push(`.claude/commands/ (${reapCmdFiles.length} unchanged)`);
10993
10993
  }
10994
10994
  await migrateLegacyFiles(paths, dryRun, result);
10995
- const currentVersion = "0.10.1";
10995
+ const currentVersion = "0.10.2";
10996
10996
  const migrationResult = await MigrationRunner.run(paths, currentVersion, dryRun);
10997
10997
  for (const m of migrationResult.migrated) {
10998
10998
  result.updated.push(`[migration] ${m}`);
@@ -11169,7 +11169,7 @@ async function fixProject(projectRoot) {
11169
11169
  // src/cli/index.ts
11170
11170
  init_fs();
11171
11171
  import { join as join12 } from "path";
11172
- program.name("reap").description("REAP — Recursive Evolutionary Autonomous Pipeline").version("0.10.1");
11172
+ program.name("reap").description("REAP — Recursive Evolutionary Autonomous Pipeline").version("0.10.2");
11173
11173
  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) => {
11174
11174
  try {
11175
11175
  const cwd = process.cwd();
@@ -22,7 +22,11 @@ Check for REAP updates and upgrade to the latest version.
22
22
  - "REAP v{version} is already up to date. (latest)"
23
23
  - Then skip to Step 4.
24
24
 
25
- **If installed < latest:**
25
+ **If installed < latest (patch only — same major.minor, different patch):**
26
+ - Show: "Patch update available: v{installed} → v{latest}. Updating automatically..."
27
+ - Proceed directly to Step 3 (no user confirmation needed)
28
+
29
+ **If installed < latest (minor or major change):**
26
30
  - Show: "Update available: v{installed} → v{latest}"
27
31
  - Ask the user: "Update now? (yes/no)"
28
32
  - If yes: proceed to Step 3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c-d-cc/reap",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "Recursive Evolutionary Autonomous Pipeline — AI and humans evolve software across generations",
5
5
  "type": "module",
6
6
  "license": "MIT",