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 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-Z54MHEYW.js.map
3323
+ //# sourceMappingURL=chunk-6NM6WRDX.js.map