@morebeans/cli 2.0.1 → 2.0.3

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 +13 -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.0.1";
18
+ const VERSION = "2.0.3";
19
19
  const BEANS_HOME = join(homedir(), ".beans");
20
20
  const BEANS_CONFIG = join(BEANS_HOME, "config.json");
21
21
 
@@ -101,10 +101,10 @@ async function cmdInit() {
101
101
  const dirs = [
102
102
  ".claude/plugins",
103
103
  ".claude/agents",
104
- ".beads/analysis",
105
- ".beads/context",
106
- ".beads/cache",
107
- ".beads/logs",
104
+ ".beans/analysis",
105
+ ".beans/context",
106
+ ".beans/cache",
107
+ ".beans/logs",
108
108
  ];
109
109
 
110
110
  for (const dir of dirs) {
@@ -276,8 +276,8 @@ async function cmdDoctor() {
276
276
 
277
277
  // Check directories
278
278
  log(`\n${c.bold}Directories${c.reset}`);
279
- const dirs = [".claude/plugins/beans", ".beads", ".claude/agents"];
280
- for (const dir of dirs) {
279
+ const requiredDirs = [".claude/plugins/beans", ".beans", ".claude/agents"];
280
+ for (const dir of requiredDirs) {
281
281
  if (existsSync(join(cwd, dir))) {
282
282
  success(dir);
283
283
  } else {
@@ -285,6 +285,12 @@ async function cmdDoctor() {
285
285
  issues++;
286
286
  }
287
287
  }
288
+ // Optional: .beads (created by bd init)
289
+ if (existsSync(join(cwd, ".beads"))) {
290
+ success(".beads (beads issue tracker)");
291
+ } else {
292
+ warn(".beads not initialized (run 'bd init' to enable issue tracking)");
293
+ }
288
294
 
289
295
  // Check config
290
296
  log(`\n${c.bold}Configuration${c.reset}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morebeans/cli",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "BEANS CLI - Setup and configure autonomous development for Claude Code",
5
5
  "type": "module",
6
6
  "main": "index.ts",