@elizaos/server 1.6.3-alpha.3 → 1.6.3-alpha.4

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/dist/index.js CHANGED
@@ -7804,11 +7804,13 @@ var require_path_parse = __commonJS((exports, module) => {
7804
7804
  var require_node_modules_paths = __commonJS((exports, module) => {
7805
7805
  var path7 = __require("path");
7806
7806
  var parse = path7.parse || require_path_parse();
7807
+ var driveLetterRegex = /^([A-Za-z]:)/;
7808
+ var uncPathRegex = /^\\\\/;
7807
7809
  var getNodeModulesDirs = function getNodeModulesDirs(absoluteStart, modules) {
7808
7810
  var prefix = "/";
7809
- if (/^([A-Za-z]:)/.test(absoluteStart)) {
7811
+ if (driveLetterRegex.test(absoluteStart)) {
7810
7812
  prefix = "";
7811
- } else if (/^\\\\/.test(absoluteStart)) {
7813
+ } else if (uncPathRegex.test(absoluteStart)) {
7812
7814
  prefix = "\\\\";
7813
7815
  }
7814
7816
  var paths = [absoluteStart];
@@ -8154,6 +8156,9 @@ var require_async = __commonJS((exports, module) => {
8154
8156
  var normalizeOptions = require_normalize_options();
8155
8157
  var isCore = require_is_core_module();
8156
8158
  var realpathFS = process.platform !== "win32" && fs6.realpath && typeof fs6.realpath.native === "function" ? fs6.realpath.native : fs6.realpath;
8159
+ var relativePathRegex = /^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/;
8160
+ var windowsDriveRegex = /^\w:[/\\]*$/;
8161
+ var nodeModulesRegex = /[/\\]node_modules[/\\]*$/;
8157
8162
  var homedir = getHomedir();
8158
8163
  var defaultPaths = function() {
8159
8164
  return [
@@ -8257,11 +8262,11 @@ var require_async = __commonJS((exports, module) => {
8257
8262
  });
8258
8263
  var res;
8259
8264
  function init(basedir2) {
8260
- if (/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(x)) {
8265
+ if (relativePathRegex.test(x)) {
8261
8266
  res = path7.resolve(basedir2, x);
8262
8267
  if (x === "." || x === ".." || x.slice(-1) === "/")
8263
8268
  res += "/";
8264
- if (/\/$/.test(x) && res === basedir2) {
8269
+ if (x.slice(-1) === "/" && res === basedir2) {
8265
8270
  loadAsDirectory(res, opts.package, onfile);
8266
8271
  } else
8267
8272
  loadAsFile(res, opts.package, onfile);
@@ -8353,10 +8358,10 @@ var require_async = __commonJS((exports, module) => {
8353
8358
  function loadpkg(dir, cb2) {
8354
8359
  if (dir === "" || dir === "/")
8355
8360
  return cb2(null);
8356
- if (process.platform === "win32" && /^\w:[/\\]*$/.test(dir)) {
8361
+ if (process.platform === "win32" && windowsDriveRegex.test(dir)) {
8357
8362
  return cb2(null);
8358
8363
  }
8359
- if (/[/\\]node_modules[/\\]*$/.test(dir))
8364
+ if (nodeModulesRegex.test(dir))
8360
8365
  return cb2(null);
8361
8366
  maybeRealpath(realpath, dir, opts, function(unwrapErr, pkgdir) {
8362
8367
  if (unwrapErr)
@@ -8563,7 +8568,7 @@ var require_core2 = __commonJS((exports, module) => {
8563
8568
  "node:repl": [">= 14.18 && < 15", ">= 16"],
8564
8569
  "node:sea": [">= 20.12 && < 21", ">= 21.7"],
8565
8570
  smalloc: ">= 0.11.5 && < 3",
8566
- "node:sqlite": ">= 23.4",
8571
+ "node:sqlite": [">= 22.13 && < 23", ">= 23.4"],
8567
8572
  _stream_duplex: ">= 0.9.4",
8568
8573
  "node:_stream_duplex": [">= 14.18 && < 15", ">= 16"],
8569
8574
  _stream_transform: ">= 0.9.4",
@@ -8666,6 +8671,9 @@ var require_sync = __commonJS((exports, module) => {
8666
8671
  var nodeModulesPaths = require_node_modules_paths();
8667
8672
  var normalizeOptions = require_normalize_options();
8668
8673
  var realpathFS = process.platform !== "win32" && fs6.realpathSync && typeof fs6.realpathSync.native === "function" ? fs6.realpathSync.native : fs6.realpathSync;
8674
+ var relativePathRegex = /^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/;
8675
+ var windowsDriveRegex = /^\w:[/\\]*$/;
8676
+ var nodeModulesRegex = /[/\\]node_modules[/\\]*$/;
8669
8677
  var homedir = getHomedir();
8670
8678
  var defaultPaths = function() {
8671
8679
  return [
@@ -8743,7 +8751,7 @@ var require_sync = __commonJS((exports, module) => {
8743
8751
  var parent = opts.filename || basedir;
8744
8752
  opts.paths = opts.paths || defaultPaths();
8745
8753
  var absoluteStart = maybeRealpathSync(realpathSync, path7.resolve(basedir), opts);
8746
- if (/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(x)) {
8754
+ if (relativePathRegex.test(x)) {
8747
8755
  var res = path7.resolve(absoluteStart, x);
8748
8756
  if (x === "." || x === ".." || x.slice(-1) === "/")
8749
8757
  res += "/";
@@ -8782,10 +8790,10 @@ var require_sync = __commonJS((exports, module) => {
8782
8790
  function loadpkg(dir) {
8783
8791
  if (dir === "" || dir === "/")
8784
8792
  return;
8785
- if (process.platform === "win32" && /^\w:[/\\]*$/.test(dir)) {
8793
+ if (process.platform === "win32" && windowsDriveRegex.test(dir)) {
8786
8794
  return;
8787
8795
  }
8788
- if (/[/\\]node_modules[/\\]*$/.test(dir))
8796
+ if (nodeModulesRegex.test(dir))
8789
8797
  return;
8790
8798
  var pkgfile = path7.join(maybeRealpathSync(realpathSync, dir, opts), "package.json");
8791
8799
  if (!isFile(pkgfile)) {
@@ -28866,7 +28874,7 @@ import express30 from "express";
28866
28874
  // package.json
28867
28875
  var package_default = {
28868
28876
  name: "@elizaos/server",
28869
- version: "1.6.3-alpha.3",
28877
+ version: "1.6.3-alpha.4",
28870
28878
  description: "ElizaOS Server - Core server infrastructure for ElizaOS agents",
28871
28879
  publishConfig: {
28872
28880
  access: "public",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/server",
3
- "version": "1.6.3-alpha.3",
3
+ "version": "1.6.3-alpha.4",
4
4
  "description": "ElizaOS Server - Core server infrastructure for ElizaOS agents",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -44,7 +44,7 @@
44
44
  "dev": "bun run build.ts --watch"
45
45
  },
46
46
  "devDependencies": {
47
- "@elizaos/client": "1.6.3-alpha.3",
47
+ "@elizaos/client": "1.6.3-alpha.4",
48
48
  "@types/node": "^24.0.1",
49
49
  "prettier": "3.6.2",
50
50
  "tsx": "4.20.6",
@@ -52,10 +52,10 @@
52
52
  "which": "^5.0.0",
53
53
  "ws": "^8.18.0"
54
54
  },
55
- "gitHead": "b33224d5678e86e7c70f7dc850f46338cd5eb157",
55
+ "gitHead": "243c17dbf799cb37fe82bc0795e260b0d24e851c",
56
56
  "dependencies": {
57
- "@elizaos/core": "1.6.3-alpha.3",
58
- "@elizaos/plugin-sql": "1.6.3-alpha.3",
57
+ "@elizaos/core": "1.6.3-alpha.4",
58
+ "@elizaos/plugin-sql": "1.6.3-alpha.4",
59
59
  "@sentry/node": "^10.16.0",
60
60
  "@types/express": "^5.0.2",
61
61
  "@types/helmet": "^4.0.0",