@morebeans/cli 2.0.4 → 2.1.1
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 -6
- package/package.json +2 -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.5";
|
|
19
19
|
const BEANS_HOME = join(homedir(), ".beans");
|
|
20
20
|
const BEANS_CONFIG = join(BEANS_HOME, "config.json");
|
|
21
21
|
|
|
@@ -179,10 +179,13 @@ async function cmdInit() {
|
|
|
179
179
|
const commandsDir = join(cwd, ".claude/commands");
|
|
180
180
|
mkdirSync(commandsDir, { recursive: true });
|
|
181
181
|
|
|
182
|
-
//
|
|
183
|
-
const
|
|
184
|
-
|
|
185
|
-
|
|
182
|
+
// Register only the clean BEANS commands (not all 44 underlying commands)
|
|
183
|
+
const beansCommands = ["beans.md", "beans-status.md", "beans-land.md"];
|
|
184
|
+
for (const cmd of beansCommands) {
|
|
185
|
+
const src = join(pluginSource, "commands", cmd);
|
|
186
|
+
if (existsSync(src)) {
|
|
187
|
+
await $`ln -sf ${src} ${join(commandsDir, cmd)}`.nothrow();
|
|
188
|
+
}
|
|
186
189
|
}
|
|
187
190
|
|
|
188
191
|
// Symlink CLAUDE.md for project docs
|
|
@@ -190,7 +193,7 @@ async function cmdInit() {
|
|
|
190
193
|
if (existsSync(claudeMd)) {
|
|
191
194
|
await $`ln -sf ${claudeMd} ${join(cwd, ".claude/CLAUDE.md")}`.nothrow();
|
|
192
195
|
}
|
|
193
|
-
success("Commands registered");
|
|
196
|
+
success("Commands registered (3 BEANS commands)");
|
|
194
197
|
|
|
195
198
|
// Track installation
|
|
196
199
|
config.installed_at = config.installed_at || [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@morebeans/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "BEANS CLI - Setup and configure autonomous development for Claude Code",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
@@ -44,3 +44,4 @@
|
|
|
44
44
|
"access": "public"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
+
|