project-brain 0.10.2 → 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 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), { stdio: "inherit" });
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.10.2",
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",
@@ -36,6 +36,7 @@
36
36
  "build": "bun build ./src/cli.ts ./src/parser/worker.ts --compile --outfile dist/project-brain"
37
37
  },
38
38
  "dependencies": {
39
+ "@anthropic-ai/sdk": "^0.111.0",
39
40
  "@lancedb/lancedb": "^0.30.0",
40
41
  "@modelcontextprotocol/sdk": "^1.29.0",
41
42
  "ollama": "^0.6.3",
@@ -43,11 +44,11 @@
43
44
  "zod": "^4.4.3"
44
45
  },
45
46
  "optionalDependencies": {
46
- "project-brain-darwin-arm64": "0.10.2",
47
- "project-brain-linux-x64": "0.10.2",
48
- "project-brain-linux-arm64": "0.10.2",
49
- "project-brain-windows-x64": "0.10.2",
50
- "project-brain-windows-arm64": "0.10.2"
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"
51
52
  },
52
53
  "devDependencies": {
53
54
  "@types/bun": "latest",