@elizaos/server 1.4.2 → 1.4.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.
@@ -1,5 +1,5 @@
1
- import { d as distExports, o as getAugmentedNamespace, g as getDefaultExportFromCjs } from './vendor-BDSOQlwO.js';
2
- import { r as requireStreamBrowserify, a as requireString_decoder, b as requireUtil, c as requireShams, d as requireCallBound$1, e as requireEsObjectAtoms, f as requireCallBind, g as requireGetIntrinsic, h as requireDefineDataProperty, i as requireHasPropertyDescriptors, j as requireEvents } from './index-ofROTcnX.js';
1
+ import { p as process$1, l as getAugmentedNamespace, g as getDefaultExportFromCjs } from './vendor-CYMI9NgM.js';
2
+ import { r as requireStreamBrowserify, a as requireString_decoder, b as requireUtil, c as requireShams, d as requireCallBound$1, e as requireEsObjectAtoms, f as requireCallBind, g as requireGetIntrinsic, h as requireDefineDataProperty, i as requireHasPropertyDescriptors, j as requireEvents, B as Buffer } from './index-DoJ_ycRG.js';
3
3
 
4
4
  function _mergeNamespaces(n, m) {
5
5
  for (var i = 0; i < m.length; i++) {
@@ -78,7 +78,7 @@ function requireColorette () {
78
78
  env = {},
79
79
  argv = [],
80
80
  platform = "",
81
- } = typeof distExports.process === "undefined" ? {} : distExports.process;
81
+ } = typeof process$1 === "undefined" ? {} : process$1;
82
82
 
83
83
  const isDisabled = "NO_COLOR" in env || argv.includes("--no-color");
84
84
  const isForced = "FORCE_COLOR" in env || argv.includes("--color");
@@ -372,7 +372,7 @@ function requireEndOfStream () {
372
372
  var once = requireOnce();
373
373
  var noop = function() {
374
374
  };
375
- var qnt = globalThis.Bare ? queueMicrotask : distExports.process.nextTick.bind(distExports.process);
375
+ var qnt = globalThis.Bare ? queueMicrotask : process$1.nextTick.bind(process$1);
376
376
  var isRequest = function(stream) {
377
377
  return stream.setHeader && typeof stream.abort === "function";
378
378
  };
@@ -473,7 +473,7 @@ function requirePump () {
473
473
  } catch (e) {}
474
474
 
475
475
  var noop = function () {};
476
- var ancient = typeof distExports.process === 'undefined' ? false : /^v?\.0/.test(distExports.process.version);
476
+ var ancient = typeof process$1 === 'undefined' ? false : /^v?\.0/.test(process$1.version);
477
477
 
478
478
  var isFn = function (fn) {
479
479
  return typeof fn === 'function'
@@ -842,7 +842,7 @@ function requirePinoAbstractTransport () {
842
842
  };
843
843
 
844
844
  function defaultClose (err, cb) {
845
- distExports.process.nextTick(cb, err);
845
+ process$1.nextTick(cb, err);
846
846
  }
847
847
  return pinoAbstractTransport;
848
848
  }
@@ -1190,7 +1190,7 @@ function requirePathBrowserify () {
1190
1190
  path = arguments[i];
1191
1191
  else {
1192
1192
  if (cwd === undefined)
1193
- cwd = distExports.process.cwd();
1193
+ cwd = process$1.cwd();
1194
1194
  path = cwd;
1195
1195
  }
1196
1196
 
@@ -1947,7 +1947,7 @@ function requireAssertion_error () {
1947
1947
  // If the stderr is a tty and the input length is lower than the current
1948
1948
  // columns per line, add a mismatch indicator below the output. If it is
1949
1949
  // not a tty, use a default value of 80 characters.
1950
- var maxLength = distExports.process.stderr && distExports.process.stderr.isTTY ? distExports.process.stderr.columns : 80;
1950
+ var maxLength = process$1.stderr && process$1.stderr.isTTY ? process$1.stderr.columns : 80;
1951
1951
  if (inputLength < maxLength) {
1952
1952
  while (actualLines[0][i] === expectedLines[0][i]) {
1953
1953
  i++;
@@ -2134,10 +2134,10 @@ function requireAssertion_error () {
2134
2134
  if (message != null) {
2135
2135
  _this = _super.call(this, String(message));
2136
2136
  } else {
2137
- if (distExports.process.stderr && distExports.process.stderr.isTTY) {
2137
+ if (process$1.stderr && process$1.stderr.isTTY) {
2138
2138
  // Reset on each call to make sure we handle dynamically set environment
2139
2139
  // variables correct.
2140
- if (distExports.process.stderr && distExports.process.stderr.getColorDepth && distExports.process.stderr.getColorDepth() !== 1) {
2140
+ if (process$1.stderr && process$1.stderr.getColorDepth && process$1.stderr.getColorDepth() !== 1) {
2141
2141
  blue = "\x1B[34m";
2142
2142
  green = "\x1B[32m";
2143
2143
  white = "\x1B[39m";
@@ -2334,7 +2334,7 @@ function requireImplementation$3 () {
2334
2334
  $webkitStorageInfo: true,
2335
2335
  $window: true
2336
2336
  };
2337
- var hasAutomationEqualityBug = function() {
2337
+ var hasAutomationEqualityBug = (function() {
2338
2338
  if (typeof window === "undefined") {
2339
2339
  return false;
2340
2340
  }
@@ -2352,7 +2352,7 @@ function requireImplementation$3 () {
2352
2352
  }
2353
2353
  }
2354
2354
  return false;
2355
- }();
2355
+ })();
2356
2356
  var equalsConstructorPrototypeIfNotBuggy = function(o) {
2357
2357
  if (typeof window === "undefined" || !hasAutomationEqualityBug) {
2358
2358
  return equalsConstructorPrototype(o);
@@ -3454,7 +3454,7 @@ function requireAssert () {
3454
3454
  } else {
3455
3455
  if (warned === false) {
3456
3456
  warned = true;
3457
- var warn = distExports.process.emitWarning ? distExports.process.emitWarning : console.warn.bind(console);
3457
+ var warn = process$1.emitWarning ? process$1.emitWarning : console.warn.bind(console);
3458
3458
  warn('assert.fail() with more than one argument is deprecated. ' + 'Please use assert.strictEqual() instead or only pass a message.', 'DeprecationWarning', 'DEP0094');
3459
3459
  }
3460
3460
  if (argsLen === 2) operator = '!=';
@@ -3965,7 +3965,7 @@ function requireSonicBoom () {
3965
3965
  const assert = requireAssert();
3966
3966
 
3967
3967
  const BUSY_WRITE_TIMEOUT = 100;
3968
- const kEmptyBuffer = distExports.Buffer.allocUnsafe(0);
3968
+ const kEmptyBuffer = Buffer.allocUnsafe(0);
3969
3969
 
3970
3970
  // 16 KB. Don't write more than docker buffer size.
3971
3971
  // https://github.com/moby/moby/blob/513ec73831269947d38a644c278ce3cac36783b2/daemon/logger/copier.go#L13
@@ -3974,7 +3974,7 @@ function requireSonicBoom () {
3974
3974
  const kContentModeBuffer = 'buffer';
3975
3975
  const kContentModeUtf8 = 'utf8';
3976
3976
 
3977
- const [major, minor] = (distExports.process.versions.node || '0.0').split('.').map(Number);
3977
+ const [major, minor] = (process$1.versions.node || '0.0').split('.').map(Number);
3978
3978
  const kCopyBuffer = major >= 22 && minor >= 7;
3979
3979
 
3980
3980
  function openFile (file, sonic) {
@@ -3992,7 +3992,7 @@ function requireSonicBoom () {
3992
3992
  sonic._opening = false;
3993
3993
 
3994
3994
  if (sonic.sync) {
3995
- distExports.process.nextTick(() => {
3995
+ process$1.nextTick(() => {
3996
3996
  if (sonic.listenerCount('error') > 0) {
3997
3997
  sonic.emit('error', err);
3998
3998
  }
@@ -4012,7 +4012,7 @@ function requireSonicBoom () {
4012
4012
  sonic._writing = false;
4013
4013
 
4014
4014
  if (sonic.sync) {
4015
- distExports.process.nextTick(() => sonic.emit('ready'));
4015
+ process$1.nextTick(() => sonic.emit('ready'));
4016
4016
  } else {
4017
4017
  sonic.emit('ready');
4018
4018
  }
@@ -4025,7 +4025,7 @@ function requireSonicBoom () {
4025
4025
  if ((!sonic._writing && sonic._len > sonic.minLength) || sonic._flushPending) {
4026
4026
  sonic._actualWrite();
4027
4027
  } else if (reopening) {
4028
- distExports.process.nextTick(() => sonic.emit('drain'));
4028
+ process$1.nextTick(() => sonic.emit('drain'));
4029
4029
  }
4030
4030
  }
4031
4031
 
@@ -4109,7 +4109,7 @@ function requireSonicBoom () {
4109
4109
 
4110
4110
  if (typeof fd === 'number') {
4111
4111
  this.fd = fd;
4112
- distExports.process.nextTick(() => this.emit('ready'));
4112
+ process$1.nextTick(() => this.emit('ready'));
4113
4113
  } else if (typeof fd === 'string') {
4114
4114
  openFile(fd, this);
4115
4115
  } else {
@@ -4192,7 +4192,7 @@ function requireSonicBoom () {
4192
4192
  if (this.sync) {
4193
4193
  if (!this._asyncDrainScheduled) {
4194
4194
  this._asyncDrainScheduled = true;
4195
- distExports.process.nextTick(emitDrain, this);
4195
+ process$1.nextTick(emitDrain, this);
4196
4196
  }
4197
4197
  } else {
4198
4198
  this.emit('drain');
@@ -4221,10 +4221,10 @@ function requireSonicBoom () {
4221
4221
  */
4222
4222
  function releaseWritingBuf (writingBuf, len, n) {
4223
4223
  // if Buffer.byteLength is equal to n, that means writingBuf contains no multi-byte character
4224
- if (typeof writingBuf === 'string' && distExports.Buffer.byteLength(writingBuf) !== n) {
4224
+ if (typeof writingBuf === 'string' && Buffer.byteLength(writingBuf) !== n) {
4225
4225
  // Since the fs.write callback parameter `n` means how many bytes the passed of string
4226
4226
  // We calculate the original string length for avoiding the multi-byte character issue
4227
- n = distExports.Buffer.from(writingBuf).subarray(0, n).toString().length;
4227
+ n = Buffer.from(writingBuf).subarray(0, n).toString().length;
4228
4228
  }
4229
4229
  len = Math.max(len - n, 0);
4230
4230
  writingBuf = writingBuf.slice(n);
@@ -4249,7 +4249,7 @@ function requireSonicBoom () {
4249
4249
  return bufs[0]
4250
4250
  }
4251
4251
 
4252
- return distExports.Buffer.concat(bufs, len)
4252
+ return Buffer.concat(bufs, len)
4253
4253
  }
4254
4254
 
4255
4255
  function write (data) {
@@ -4612,7 +4612,7 @@ function requireSonicBoom () {
4612
4612
  // we do it here to avoid the overhead of calculating the buffer size
4613
4613
  // in releaseWritingBuf.
4614
4614
  if (kCopyBuffer) {
4615
- this._writingBuf = distExports.Buffer.from(this._writingBuf);
4615
+ this._writingBuf = Buffer.from(this._writingBuf);
4616
4616
  }
4617
4617
  fs.write(this.fd, this._writingBuf, release);
4618
4618
  }
@@ -4717,14 +4717,14 @@ function requireOnExitLeakFree () {
4717
4717
  return
4718
4718
  }
4719
4719
 
4720
- distExports.process.on(event, functions[event]);
4720
+ process$1.on(event, functions[event]);
4721
4721
  }
4722
4722
 
4723
4723
  function uninstall (event) {
4724
4724
  if (refs[event].length > 0) {
4725
4725
  return
4726
4726
  }
4727
- distExports.process.removeListener(event, functions[event]);
4727
+ process$1.removeListener(event, functions[event]);
4728
4728
  if (refs.exit.length === 0 && refs.beforeExit.length === 0) {
4729
4729
  registry = undefined;
4730
4730
  }
@@ -5057,7 +5057,7 @@ function requireCjs () {
5057
5057
  var toStringObject = Object.prototype.toString;
5058
5058
  var LegacyCache = (
5059
5059
  /** @class */
5060
- function() {
5060
+ (function() {
5061
5061
  function LegacyCache2() {
5062
5062
  this._keys = [];
5063
5063
  this._values = [];
@@ -5073,7 +5073,7 @@ function requireCjs () {
5073
5073
  this._values.push(value);
5074
5074
  };
5075
5075
  return LegacyCache2;
5076
- }()
5076
+ })()
5077
5077
  );
5078
5078
  function createCacheLegacy() {
5079
5079
  return new LegacyCache();
@@ -5252,9 +5252,9 @@ function requireCjs () {
5252
5252
  }
5253
5253
  var isArray = Array.isArray;
5254
5254
  var assign = Object.assign;
5255
- var getPrototypeOf = Object.getPrototypeOf || function(obj) {
5255
+ var getPrototypeOf = Object.getPrototypeOf || (function(obj) {
5256
5256
  return obj.__proto__;
5257
- };
5257
+ });
5258
5258
  var DEFAULT_LOOSE_OPTIONS = {
5259
5259
  array: copyArrayLoose,
5260
5260
  arrayBuffer: copyArrayBuffer,
@@ -5427,7 +5427,7 @@ function requireDateformat () {
5427
5427
  }
5428
5428
  (function(global) {
5429
5429
  var _arguments = arguments;
5430
- var dateFormat = /* @__PURE__ */ function() {
5430
+ var dateFormat = /* @__PURE__ */ (function() {
5431
5431
  var token = /d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g;
5432
5432
  var timezone = /\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g;
5433
5433
  var timezoneClip = /[^-+\dA-Z]/g;
@@ -5562,7 +5562,7 @@ function requireDateformat () {
5562
5562
  return match.slice(1, match.length - 1);
5563
5563
  });
5564
5564
  };
5565
- }();
5565
+ })();
5566
5566
  dateFormat.masks = { default: "ddd mmm dd yyyy HH:MM:ss", shortDate: "m/d/yy", paddedShortDate: "mm/dd/yyyy", mediumDate: "mmm d, yyyy", longDate: "mmmm d, yyyy", fullDate: "dddd, mmmm d, yyyy", shortTime: "h:MM TT", mediumTime: "h:MM:ss TT", longTime: "h:MM:ss TT Z", isoDate: "yyyy-mm-dd", isoTime: "HH:MM:ss", isoDateTime: "yyyy-mm-dd'T'HH:MM:sso", isoUtcDateTime: "UTC:yyyy-mm-dd'T'HH:MM:ss'Z'", expiresHeaderFormat: "ddd, dd mmm yyyy HH:MM:ss Z" };
5567
5567
  dateFormat.i18n = { dayNames: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], timeNames: ["a", "p", "am", "pm", "A", "P", "AM", "PM"] };
5568
5568
  var pad = function pad2(val, len) {
@@ -6973,7 +6973,7 @@ function requireSecureJsonParse () {
6973
6973
  if (hasRequiredSecureJsonParse) return secureJsonParse.exports;
6974
6974
  hasRequiredSecureJsonParse = 1;
6975
6975
 
6976
- const hasBuffer = typeof distExports.Buffer !== 'undefined';
6976
+ const hasBuffer = typeof Buffer !== 'undefined';
6977
6977
  const suspectProtoRx = /"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/;
6978
6978
  const suspectConstructorRx = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;
6979
6979
 
@@ -6986,7 +6986,7 @@ function requireSecureJsonParse () {
6986
6986
  }
6987
6987
  }
6988
6988
 
6989
- if (hasBuffer && distExports.Buffer.isBuffer(text)) {
6989
+ if (hasBuffer && Buffer.isBuffer(text)) {
6990
6990
  text = text.toString();
6991
6991
  }
6992
6992
 
@@ -7380,7 +7380,7 @@ function requirePinoPretty () {
7380
7380
  messageFormat: null,
7381
7381
  messageKey: MESSAGE_KEY,
7382
7382
  minimumLevel: undefined,
7383
- outputStream: distExports.process.stdout,
7383
+ outputStream: process$1.stdout,
7384
7384
  singleLine: false,
7385
7385
  timestampKey: TIMESTAMP_KEY,
7386
7386
  translateTime: true,
@@ -7484,4 +7484,4 @@ const index$1 = /*#__PURE__*/_mergeNamespaces({
7484
7484
  }, [pinoPrettyExports]);
7485
7485
 
7486
7486
  export { index$1 as i };
7487
- //# sourceMappingURL=index-BgxiIYf2.js.map
7487
+ //# sourceMappingURL=index-Bh9jT4fx.js.map