@axiomatic-labs/claudeflow 2.10.145 → 2.10.147
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/lib/install.js +31 -2
- package/package.json +1 -1
package/lib/install.js
CHANGED
|
@@ -275,11 +275,40 @@ function showGettingStarted(cwd) {
|
|
|
275
275
|
console.log('');
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
-
// Install ast-grep CLI, uv, and Serena MCP for
|
|
278
|
+
// Install bun, ast-grep CLI, uv, and Serena MCP for runtime and analysis.
|
|
279
279
|
// All steps are best-effort — failures warn but never block the install.
|
|
280
280
|
function installAnalysisTools() {
|
|
281
281
|
console.log('');
|
|
282
|
-
ui.step('Setting up analysis tools...');
|
|
282
|
+
ui.step('Setting up runtime & analysis tools...');
|
|
283
|
+
|
|
284
|
+
// 0. bun (required by runtime observer for browser error detection)
|
|
285
|
+
const hasBun = commandExists('bun');
|
|
286
|
+
if (hasBun) {
|
|
287
|
+
ui.success('bun already installed');
|
|
288
|
+
} else {
|
|
289
|
+
ui.step('Installing bun (runtime for browser observer)...');
|
|
290
|
+
try {
|
|
291
|
+
if (process.platform === 'win32') {
|
|
292
|
+
execSync('powershell -ExecutionPolicy ByPass -c "irm bun.sh/install.ps1 | iex"', {
|
|
293
|
+
stdio: 'pipe',
|
|
294
|
+
timeout: 60000,
|
|
295
|
+
});
|
|
296
|
+
} else {
|
|
297
|
+
execSync('curl -fsSL https://bun.sh/install | bash', {
|
|
298
|
+
stdio: 'pipe',
|
|
299
|
+
timeout: 60000,
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
const bunInstalled = commandExists('bun') || commandExists(path.join(homedir(), '.bun', 'bin', 'bun'));
|
|
303
|
+
if (bunInstalled) {
|
|
304
|
+
ui.success('bun installed');
|
|
305
|
+
} else {
|
|
306
|
+
ui.warn('bun installed but not in PATH — restart your terminal for browser observer to work');
|
|
307
|
+
}
|
|
308
|
+
} catch {
|
|
309
|
+
ui.warn('bun install failed — browser error observer will not be available');
|
|
310
|
+
}
|
|
311
|
+
}
|
|
283
312
|
|
|
284
313
|
// 1. ast-grep CLI
|
|
285
314
|
const hasAstGrep = commandExists('sg');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axiomatic-labs/claudeflow",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.147",
|
|
4
4
|
"description": "Claudeflow — AI-powered development toolkit for Claude Code. Skills, agents, hooks, and quality gates that ship production apps.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"claudeflow": "./bin/cli.js"
|