brainbank 0.8.0 → 0.8.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/brainbank +7 -4
- package/package.json +5 -2
package/bin/brainbank
CHANGED
|
@@ -9,7 +9,10 @@ done
|
|
|
9
9
|
DIR="$(cd "$(dirname "$SCRIPT")" && pwd)"
|
|
10
10
|
ROOT="$DIR/.."
|
|
11
11
|
|
|
12
|
-
#
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
# Use compiled dist if available (npm install), fall back to tsx for development
|
|
13
|
+
if [ -f "$ROOT/dist/cli.js" ]; then
|
|
14
|
+
exec node "$ROOT/dist/cli.js" "$@"
|
|
15
|
+
else
|
|
16
|
+
export TSX_TSCONFIG_PATH="$ROOT/tsconfig.json"
|
|
17
|
+
exec "$ROOT/node_modules/.bin/tsx" "$ROOT/src/cli/index.ts" "$@"
|
|
18
|
+
fi
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brainbank",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "Pluggable semantic memory for AI agents — hybrid search (vector + BM25) in a single SQLite file. Built-in code, git, and docs indexers. Bring your own.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"assets/"
|
|
25
25
|
],
|
|
26
26
|
"scripts": {
|
|
27
|
-
|
|
27
|
+
|
|
28
28
|
"start": "bin/brainbank",
|
|
29
29
|
"build": "rm -rf dist && tsup && npm run build --workspaces --if-present",
|
|
30
30
|
"build:core": "rm -rf dist && tsup",
|
|
@@ -67,6 +67,9 @@
|
|
|
67
67
|
"picomatch": "^4.0.4"
|
|
68
68
|
},
|
|
69
69
|
"optionalDependencies": {
|
|
70
|
+
"@brainbank/code": "^0.1.0",
|
|
71
|
+
"@brainbank/docs": "^0.1.0",
|
|
72
|
+
"@brainbank/git": "^0.1.0",
|
|
70
73
|
"@xenova/transformers": "^2.17.2",
|
|
71
74
|
"node-llama-cpp": "^3.18.1"
|
|
72
75
|
},
|