project-brain 0.11.0 → 0.11.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/bin/project-brain +9 -1
- package/package.json +6 -6
package/bin/project-brain
CHANGED
|
@@ -35,7 +35,15 @@ const ext = process.platform === "win32" ? ".exe" : "";
|
|
|
35
35
|
// Propagate the child's exit code/signal quietly instead of letting Node
|
|
36
36
|
// print a stack trace that buries the child's own error message.
|
|
37
37
|
try {
|
|
38
|
-
execFileSync(join(pkgDir, "bin", `project-brain-native${ext}`), process.argv.slice(2), {
|
|
38
|
+
execFileSync(join(pkgDir, "bin", `project-brain-native${ext}`), process.argv.slice(2), {
|
|
39
|
+
stdio: "inherit",
|
|
40
|
+
// lancedb's native addon reads this once at process start, not lazily —
|
|
41
|
+
// it must already be in the CHILD's OS environment before it boots.
|
|
42
|
+
// Setting process.env mid-process (in this parent, or inside cli.ts)
|
|
43
|
+
// is too late and the "vector index statistics include centroids" WARN
|
|
44
|
+
// still fires.
|
|
45
|
+
env: { ...process.env, LANCE_INCLUDE_VECTOR_CENTROIDS: process.env.LANCE_INCLUDE_VECTOR_CENTROIDS ?? "false" },
|
|
46
|
+
});
|
|
39
47
|
} catch (err) {
|
|
40
48
|
if (err && typeof err.status === "number") process.exit(err.status);
|
|
41
49
|
if (err && err.signal) process.exit(1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "project-brain",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Local-first MCP server that gives AI tools semantic memory of your codebase.",
|
|
6
6
|
"author": "jcsoftdev",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"zod": "^4.4.3"
|
|
45
45
|
},
|
|
46
46
|
"optionalDependencies": {
|
|
47
|
-
"project-brain-darwin-arm64": "0.11.
|
|
48
|
-
"project-brain-linux-x64": "0.11.
|
|
49
|
-
"project-brain-linux-arm64": "0.11.
|
|
50
|
-
"project-brain-windows-x64": "0.11.
|
|
51
|
-
"project-brain-windows-arm64": "0.11.
|
|
47
|
+
"project-brain-darwin-arm64": "0.11.1",
|
|
48
|
+
"project-brain-linux-x64": "0.11.1",
|
|
49
|
+
"project-brain-linux-arm64": "0.11.1",
|
|
50
|
+
"project-brain-windows-x64": "0.11.1",
|
|
51
|
+
"project-brain-windows-arm64": "0.11.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/bun": "latest",
|