buildanything 1.1.0 → 1.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.
- package/.claude-plugin/plugin.json +1 -1
- package/bin/setup.js +37 -3
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "buildanything",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "One command to build an entire product. 73 specialist agents orchestrated into a full engineering pipeline — from idea to shipped, tested, reviewed code.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Sujit"
|
package/bin/setup.js
CHANGED
|
@@ -5,6 +5,14 @@ const { execFileSync } = require("child_process");
|
|
|
5
5
|
const REPO = "sujitmeka/buildanything";
|
|
6
6
|
const MARKETPLACE = "buildanything-marketplace";
|
|
7
7
|
const PLUGIN = "buildanything";
|
|
8
|
+
const OFFICIAL_MARKETPLACE = "claude-plugins-official";
|
|
9
|
+
|
|
10
|
+
const OFFICIAL_PLUGINS = [
|
|
11
|
+
{ name: "feature-dev", desc: "code-architect, code-explorer, code-reviewer" },
|
|
12
|
+
{ name: "pr-review-toolkit", desc: "silent-failure-hunter, code-simplifier, type-design-analyzer" },
|
|
13
|
+
{ name: "code-review", desc: "final code review passes" },
|
|
14
|
+
{ name: "commit-commands", desc: "clean git commits" },
|
|
15
|
+
];
|
|
8
16
|
|
|
9
17
|
function run(command, args) {
|
|
10
18
|
try {
|
|
@@ -31,7 +39,7 @@ function main() {
|
|
|
31
39
|
}
|
|
32
40
|
console.log(` Found Claude Code ${version}`);
|
|
33
41
|
|
|
34
|
-
// Add marketplace
|
|
42
|
+
// Add marketplace and install buildanything
|
|
35
43
|
console.log(` Adding marketplace from ${REPO}...`);
|
|
36
44
|
const addResult = run("claude", ["plugin", "marketplace", "add", REPO]);
|
|
37
45
|
if (addResult === null) {
|
|
@@ -42,7 +50,6 @@ function main() {
|
|
|
42
50
|
}
|
|
43
51
|
console.log(" Marketplace added.");
|
|
44
52
|
|
|
45
|
-
// Install plugin
|
|
46
53
|
console.log(` Installing ${PLUGIN} plugin...`);
|
|
47
54
|
const installResult = run("claude", [
|
|
48
55
|
"plugin",
|
|
@@ -57,12 +64,39 @@ function main() {
|
|
|
57
64
|
);
|
|
58
65
|
process.exit(1);
|
|
59
66
|
}
|
|
67
|
+
console.log(" buildanything installed.\n");
|
|
68
|
+
|
|
69
|
+
// Install official companion plugins
|
|
70
|
+
console.log(" Installing companion plugins from official marketplace...");
|
|
71
|
+
const installed = [];
|
|
72
|
+
const skipped = [];
|
|
73
|
+
|
|
74
|
+
for (const plugin of OFFICIAL_PLUGINS) {
|
|
75
|
+
const fullName = `${plugin.name}@${OFFICIAL_MARKETPLACE}`;
|
|
76
|
+
process.stdout.write(` ${plugin.name} (${plugin.desc})... `);
|
|
77
|
+
const result = run("claude", ["plugin", "install", fullName]);
|
|
78
|
+
if (result === null) {
|
|
79
|
+
console.log("skipped (may already be installed)");
|
|
80
|
+
skipped.push(plugin.name);
|
|
81
|
+
} else {
|
|
82
|
+
console.log("installed");
|
|
83
|
+
installed.push(plugin.name);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
60
86
|
|
|
61
87
|
console.log(
|
|
62
|
-
"\n
|
|
88
|
+
"\n Setup complete! Start Claude Code and use:\n" +
|
|
63
89
|
" /buildanything:build <your idea> — full product pipeline\n" +
|
|
64
90
|
" /buildanything:idea-sweep <your idea> — parallel research sweep\n"
|
|
65
91
|
);
|
|
92
|
+
|
|
93
|
+
if (installed.length > 0) {
|
|
94
|
+
console.log(` Companion plugins installed: ${installed.join(", ")}`);
|
|
95
|
+
}
|
|
96
|
+
if (skipped.length > 0) {
|
|
97
|
+
console.log(` Already installed: ${skipped.join(", ")}`);
|
|
98
|
+
}
|
|
99
|
+
console.log();
|
|
66
100
|
}
|
|
67
101
|
|
|
68
102
|
main();
|
package/package.json
CHANGED