@elizaos/core 1.6.1-alpha.5 → 1.6.1-alpha.6

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.
@@ -10499,6 +10499,24 @@ var require_get_proto = __commonJS((exports, module) => {
10499
10499
  } : null;
10500
10500
  });
10501
10501
 
10502
+ // ../../node_modules/async-function/index.js
10503
+ var require_async_function = __commonJS((exports, module) => {
10504
+ var cached = async function() {}.constructor;
10505
+ module.exports = () => cached;
10506
+ });
10507
+
10508
+ // ../../node_modules/generator-function/index.js
10509
+ var require_generator_function = __commonJS((exports, module) => {
10510
+ var cached = function* () {}.constructor;
10511
+ module.exports = () => cached;
10512
+ });
10513
+
10514
+ // ../../node_modules/async-generator-function/index.js
10515
+ var require_async_generator_function = __commonJS((exports, module) => {
10516
+ var cached = async function* () {}.constructor;
10517
+ module.exports = () => cached;
10518
+ });
10519
+
10502
10520
  // ../../node_modules/hasown/index.js
10503
10521
  var require_hasown = __commonJS((exports, module) => {
10504
10522
  var call = Function.prototype.call;
@@ -10525,12 +10543,6 @@ var require_get_intrinsic = __commonJS((exports, module) => {
10525
10543
  var pow = require_pow();
10526
10544
  var round = require_round();
10527
10545
  var sign = require_sign();
10528
- var $Function = Function;
10529
- var getEvalledConstructor = function(expressionSyntax) {
10530
- try {
10531
- return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
10532
- } catch (e) {}
10533
- };
10534
10546
  var $gOPD = require_gopd();
10535
10547
  var $defineProperty = require_es_define_property();
10536
10548
  var throwTypeError = function() {
@@ -10585,7 +10597,7 @@ var require_get_intrinsic = __commonJS((exports, module) => {
10585
10597
  "%Float32Array%": typeof Float32Array === "undefined" ? undefined3 : Float32Array,
10586
10598
  "%Float64Array%": typeof Float64Array === "undefined" ? undefined3 : Float64Array,
10587
10599
  "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined3 : FinalizationRegistry,
10588
- "%Function%": $Function,
10600
+ "%Function%": Function,
10589
10601
  "%GeneratorFunction%": needsEval,
10590
10602
  "%Int8Array%": typeof Int8Array === "undefined" ? undefined3 : Int8Array,
10591
10603
  "%Int16Array%": typeof Int16Array === "undefined" ? undefined3 : Int16Array,
@@ -10648,14 +10660,17 @@ var require_get_intrinsic = __commonJS((exports, module) => {
10648
10660
  }
10649
10661
  }
10650
10662
  var errorProto;
10663
+ var getAsyncFunction = require_async_function();
10664
+ var getGeneratorFunction = require_generator_function();
10665
+ var getAsyncGeneratorFunction = require_async_generator_function();
10651
10666
  var doEval = function doEval(name) {
10652
10667
  var value;
10653
10668
  if (name === "%AsyncFunction%") {
10654
- value = getEvalledConstructor("async function () {}");
10669
+ value = getAsyncFunction() || undefined;
10655
10670
  } else if (name === "%GeneratorFunction%") {
10656
- value = getEvalledConstructor("function* () {}");
10671
+ value = getGeneratorFunction() || undefined;
10657
10672
  } else if (name === "%AsyncGeneratorFunction%") {
10658
- value = getEvalledConstructor("async function* () {}");
10673
+ value = getAsyncGeneratorFunction() || undefined;
10659
10674
  } else if (name === "%AsyncGenerator%") {
10660
10675
  var fn = doEval("%AsyncGeneratorFunction%");
10661
10676
  if (fn) {
@@ -39520,7 +39535,7 @@ function formatAssert(expression, withEmoji) {
39520
39535
  function formatIf(expression, withEmoji) {
39521
39536
  return expression !== undefined && expression ? `${withEmoji ? "✅ " : ""}Expression passed:` : "";
39522
39537
  }
39523
- // ../../node_modules/adze/node_modules/@ungap/structured-clone/esm/types.js
39538
+ // ../../node_modules/@ungap/structured-clone/esm/types.js
39524
39539
  var VOID = -1;
39525
39540
  var PRIMITIVE = 0;
39526
39541
  var ARRAY = 1;
@@ -39532,7 +39547,7 @@ var SET = 6;
39532
39547
  var ERROR = 7;
39533
39548
  var BIGINT = 8;
39534
39549
 
39535
- // ../../node_modules/adze/node_modules/@ungap/structured-clone/esm/deserialize.js
39550
+ // ../../node_modules/@ungap/structured-clone/esm/deserialize.js
39536
39551
  var env = typeof self === "object" ? self : globalThis;
39537
39552
  var deserializer = ($, _) => {
39538
39553
  const as = (out, index) => {
@@ -39592,7 +39607,7 @@ var deserializer = ($, _) => {
39592
39607
  };
39593
39608
  var deserialize = (serialized) => deserializer(new Map, serialized)(0);
39594
39609
 
39595
- // ../../node_modules/adze/node_modules/@ungap/structured-clone/esm/serialize.js
39610
+ // ../../node_modules/@ungap/structured-clone/esm/serialize.js
39596
39611
  var EMPTY = "";
39597
39612
  var { toString } = {};
39598
39613
  var { keys } = Object;
@@ -39716,7 +39731,7 @@ var serialize2 = (value, { json, lossy } = {}) => {
39716
39731
  return serializer(!(json || lossy), !!json, new Map, _)(value), _;
39717
39732
  };
39718
39733
 
39719
- // ../../node_modules/adze/node_modules/@ungap/structured-clone/esm/index.js
39734
+ // ../../node_modules/@ungap/structured-clone/esm/index.js
39720
39735
  var esm_default = typeof structuredClone === "function" ? (any2, options) => options && (("json" in options) || ("lossy" in options)) ? deserialize(serialize2(any2, options)) : structuredClone(any2) : (any2, options) => deserialize(serialize2(any2, options));
39721
39736
 
39722
39737
  // ../../node_modules/adze/dist/functions/seal.js
@@ -42774,7 +42789,7 @@ async function findWorldsForOwner(runtime, entityId) {
42774
42789
  return ownerWorlds.length ? ownerWorlds : null;
42775
42790
  }
42776
42791
 
42777
- // ../../node_modules/uuid/dist/esm/stringify.js
42792
+ // ../../node_modules/uuid/dist-node/stringify.js
42778
42793
  var byteToHex = [];
42779
42794
  for (let i = 0;i < 256; ++i) {
42780
42795
  byteToHex.push((i + 256).toString(16).slice(1));
@@ -42783,8 +42798,8 @@ function unsafeStringify(arr2, offset = 0) {
42783
42798
  return (byteToHex[arr2[offset + 0]] + byteToHex[arr2[offset + 1]] + byteToHex[arr2[offset + 2]] + byteToHex[arr2[offset + 3]] + "-" + byteToHex[arr2[offset + 4]] + byteToHex[arr2[offset + 5]] + "-" + byteToHex[arr2[offset + 6]] + byteToHex[arr2[offset + 7]] + "-" + byteToHex[arr2[offset + 8]] + byteToHex[arr2[offset + 9]] + "-" + byteToHex[arr2[offset + 10]] + byteToHex[arr2[offset + 11]] + byteToHex[arr2[offset + 12]] + byteToHex[arr2[offset + 13]] + byteToHex[arr2[offset + 14]] + byteToHex[arr2[offset + 15]]).toLowerCase();
42784
42799
  }
42785
42800
 
42786
- // ../../node_modules/uuid/dist/esm/rng.js
42787
- import { randomFillSync } from "crypto";
42801
+ // ../../node_modules/uuid/dist-node/rng.js
42802
+ import { randomFillSync } from "node:crypto";
42788
42803
  var rnds8Pool = new Uint8Array(256);
42789
42804
  var poolPtr = rnds8Pool.length;
42790
42805
  function rng() {
@@ -42795,15 +42810,12 @@ function rng() {
42795
42810
  return rnds8Pool.slice(poolPtr, poolPtr += 16);
42796
42811
  }
42797
42812
 
42798
- // ../../node_modules/uuid/dist/esm/native.js
42799
- import { randomUUID } from "crypto";
42813
+ // ../../node_modules/uuid/dist-node/native.js
42814
+ import { randomUUID } from "node:crypto";
42800
42815
  var native_default = { randomUUID };
42801
42816
 
42802
- // ../../node_modules/uuid/dist/esm/v4.js
42803
- function v43(options, buf, offset) {
42804
- if (native_default.randomUUID && !buf && !options) {
42805
- return native_default.randomUUID();
42806
- }
42817
+ // ../../node_modules/uuid/dist-node/v4.js
42818
+ function _v4(options, buf, offset) {
42807
42819
  options = options || {};
42808
42820
  const rnds = options.random ?? options.rng?.() ?? rng();
42809
42821
  if (rnds.length < 16) {
@@ -42823,6 +42835,12 @@ function v43(options, buf, offset) {
42823
42835
  }
42824
42836
  return unsafeStringify(rnds);
42825
42837
  }
42838
+ function v43(options, buf, offset) {
42839
+ if (native_default.randomUUID && !buf && !options) {
42840
+ return native_default.randomUUID();
42841
+ }
42842
+ return _v4(options, buf, offset);
42843
+ }
42826
42844
  var v4_default = v43;
42827
42845
  // src/search.ts
42828
42846
  var isV = (char) => {
@@ -46379,5 +46397,5 @@ export {
46379
46397
  AgentRuntime
46380
46398
  };
46381
46399
 
46382
- //# debugId=035853C750FD369764756E2164756E21
46400
+ //# debugId=3543CB8DED6FC42564756E2164756E21
46383
46401
  //# sourceMappingURL=index.node.js.map