@morebeans/cli 2.0.2 → 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.
- package/index.ts +9 -3
- 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.
|
|
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
|
|
|
@@ -276,8 +276,8 @@ async function cmdDoctor() {
|
|
|
276
276
|
|
|
277
277
|
// Check directories
|
|
278
278
|
log(`\n${c.bold}Directories${c.reset}`);
|
|
279
|
-
const
|
|
280
|
-
for (const dir of
|
|
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}`);
|