@morebeans/cli 2.1.3 → 2.2.0

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.
Files changed (2) hide show
  1. package/index.ts +10 -7
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -15,7 +15,7 @@ import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
15
15
  import { join, resolve } from "path";
16
16
  import { homedir } from "os";
17
17
 
18
- const VERSION = "2.1.3";
18
+ const VERSION = "2.2.0";
19
19
  const BEANS_HOME = join(homedir(), ".beans");
20
20
  const BEANS_CONFIG = join(BEANS_HOME, "config.json");
21
21
 
@@ -348,9 +348,12 @@ async function cmdDoctor(args: string[]) {
348
348
  }
349
349
  }
350
350
 
351
- // Check .beads (created by bd init)
352
- if (existsSync(join(cwd, ".beads"))) {
353
- success(".beads (beads issue tracker)");
351
+ // Check beads database (now in .beans, created by bd init)
352
+ const beansDir = join(cwd, ".beans");
353
+ const hasBeadsDb = existsSync(join(beansDir, "beads.db")) || existsSync(join(beansDir, "issues.jsonl"));
354
+
355
+ if (hasBeadsDb) {
356
+ success(".beans/beads.db (issue tracker)");
354
357
 
355
358
  // Run bd doctor if --fix
356
359
  if (fix) {
@@ -368,16 +371,16 @@ async function cmdDoctor(args: string[]) {
368
371
  }
369
372
  } else {
370
373
  if (fix) {
371
- info("Initializing beads...");
374
+ info("Initializing beads (bd init)...");
372
375
  try {
373
376
  await $`bd init`.nothrow();
374
- success(".beads initialized");
377
+ success("beads initialized in .beans/");
375
378
  fixed++;
376
379
  } catch {
377
380
  warn("bd init failed - run manually");
378
381
  }
379
382
  } else {
380
- warn(".beads not initialized (run 'beans doctor --fix' or 'bd init')");
383
+ warn("beads not initialized (run 'beans doctor --fix' or 'bd init')");
381
384
  }
382
385
  }
383
386
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morebeans/cli",
3
- "version": "2.1.3",
3
+ "version": "2.2.0",
4
4
  "description": "BEANS CLI - Setup and configure autonomous development for Claude Code",
5
5
  "type": "module",
6
6
  "main": "index.ts",