brainbank 0.9.0 → 0.9.3
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 +1 -1
- package/dist/{chunk-Z54MHEYW.js → chunk-6NM6WRDX.js} +6 -1
- package/dist/chunk-6NM6WRDX.js.map +1 -0
- package/dist/cli.js +339 -63
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/cli/commands/help.ts +3 -0
- package/src/cli/commands/index.ts +37 -6
- package/src/cli/commands/mcp-export.ts +311 -0
- package/src/cli/index.ts +7 -0
- package/src/constants.ts +8 -0
- package/dist/chunk-Z54MHEYW.js.map +0 -1
package/bin/brainbank
CHANGED
|
@@ -11,7 +11,7 @@ ROOT="$DIR/.."
|
|
|
11
11
|
|
|
12
12
|
# Use compiled dist if available (npm install), fall back to tsx for development
|
|
13
13
|
if [ -f "$ROOT/dist/cli.js" ]; then
|
|
14
|
-
exec node "$ROOT/dist/cli.js" "$@"
|
|
14
|
+
exec node --disable-warning=ExperimentalWarning "$ROOT/dist/cli.js" "$@"
|
|
15
15
|
else
|
|
16
16
|
export TSX_TSCONFIG_PATH="$ROOT/tsconfig.json"
|
|
17
17
|
exec "$ROOT/node_modules/.bin/tsx" "$ROOT/src/cli/index.ts" "$@"
|
|
@@ -60,6 +60,10 @@ function resolveConfig(partial = {}) {
|
|
|
60
60
|
__name(resolveConfig, "resolveConfig");
|
|
61
61
|
|
|
62
62
|
// src/constants.ts
|
|
63
|
+
import { createRequire } from "module";
|
|
64
|
+
var require2 = createRequire(import.meta.url);
|
|
65
|
+
var pkg = require2("../package.json");
|
|
66
|
+
var VERSION = pkg.version;
|
|
63
67
|
var HNSW = {
|
|
64
68
|
KV: "kv"
|
|
65
69
|
};
|
|
@@ -3267,6 +3271,7 @@ __name(createBrain, "createBrain");
|
|
|
3267
3271
|
export {
|
|
3268
3272
|
DEFAULTS,
|
|
3269
3273
|
resolveConfig,
|
|
3274
|
+
VERSION,
|
|
3270
3275
|
HNSW,
|
|
3271
3276
|
SQLiteAdapter,
|
|
3272
3277
|
createTracker,
|
|
@@ -3315,4 +3320,4 @@ export {
|
|
|
3315
3320
|
resetFactoryCache,
|
|
3316
3321
|
createBrain
|
|
3317
3322
|
};
|
|
3318
|
-
//# sourceMappingURL=chunk-
|
|
3323
|
+
//# sourceMappingURL=chunk-6NM6WRDX.js.map
|