@axiomatic-labs/claudeflow 2.12.262 → 2.12.264
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 +12 -1
- package/package.json +1 -1
package/lib/install.js
CHANGED
|
@@ -639,8 +639,19 @@ function commandExists(cmd) {
|
|
|
639
639
|
}
|
|
640
640
|
|
|
641
641
|
function indexSerenaProject(projectRoot) {
|
|
642
|
-
ui.step('Indexing project for Serena...');
|
|
643
642
|
const statusPath = path.join(projectRoot, '.claudeflow', 'tmp', 'tooling', 'serena-status.json');
|
|
643
|
+
|
|
644
|
+
// Idempotent reinstall: skip indexing if a previous install already indexed
|
|
645
|
+
// the project successfully. To force a reindex, delete the marker file.
|
|
646
|
+
try {
|
|
647
|
+
const existing = JSON.parse(fs.readFileSync(statusPath, 'utf8'));
|
|
648
|
+
if (existing && existing.indexed === true) {
|
|
649
|
+
ui.success('Serena project index already present (delete .claudeflow/tmp/tooling/serena-status.json to force reindex)');
|
|
650
|
+
return;
|
|
651
|
+
}
|
|
652
|
+
} catch {}
|
|
653
|
+
|
|
654
|
+
ui.step('Indexing project for Serena...');
|
|
644
655
|
const attempts = [
|
|
645
656
|
{ command: 'uvx', args: ['--from', SERENA_REPO, 'serena', 'project', 'index', projectRoot] },
|
|
646
657
|
{ command: 'uv', args: ['run', '--with', SERENA_REPO, 'serena', 'project', 'index', projectRoot] },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axiomatic-labs/claudeflow",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.264",
|
|
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"
|