@elizaos/plugin-sql 2.0.0-alpha.15 → 2.0.0-alpha.17

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,11 +1,15 @@
1
1
  var __defProp = Object.defineProperty;
2
+ var __returnValue = (v) => v;
3
+ function __exportSetter(name, newValue) {
4
+ this[name] = __returnValue.bind(null, newValue);
5
+ }
2
6
  var __export = (target, all) => {
3
7
  for (var name in all)
4
8
  __defProp(target, name, {
5
9
  get: all[name],
6
10
  enumerable: true,
7
11
  configurable: true,
8
- set: (newValue) => all[name] = () => newValue
12
+ set: __exportSetter.bind(all, name)
9
13
  });
10
14
  };
11
15
  var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
@@ -881,7 +885,10 @@ async function applyEntityRLSToAllTables(adapter) {
881
885
  logger2.warn("[Entity RLS] Failed to apply entity RLS to some tables:", String(error));
882
886
  }
883
887
  }
884
- var init_rls = () => {};
888
+ var init_rls = __esm(() => {
889
+ init_agent();
890
+ init_server();
891
+ });
885
892
 
886
893
  // runtime-migrator/drizzle-adapters/diff-calculator.ts
887
894
  var exports_diff_calculator = {};
@@ -3008,10 +3015,14 @@ var init_runtime_migrator = __esm(() => {
3008
3015
  init_migration_tracker();
3009
3016
  init_snapshot_storage();
3010
3017
  });
3011
-
3012
3018
  // runtime-migrator/index.ts
3013
3019
  var init_runtime_migrator2 = __esm(() => {
3020
+ init_snapshot_generator();
3021
+ init_sql_generator();
3014
3022
  init_runtime_migrator();
3023
+ init_journal_storage();
3024
+ init_migration_tracker();
3025
+ init_snapshot_storage();
3015
3026
  });
3016
3027
 
3017
3028
  // migration-service.ts
@@ -3151,17 +3162,11 @@ import {
3151
3162
  or,
3152
3163
  sql as sql27
3153
3164
  } from "drizzle-orm";
3165
+ // ../node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist/native.js
3166
+ var randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
3167
+ var native_default = { randomUUID };
3154
3168
 
3155
- // node_modules/uuid/dist/stringify.js
3156
- var byteToHex = [];
3157
- for (let i = 0;i < 256; ++i) {
3158
- byteToHex.push((i + 256).toString(16).slice(1));
3159
- }
3160
- function unsafeStringify(arr, offset = 0) {
3161
- return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
3162
- }
3163
-
3164
- // node_modules/uuid/dist/rng.js
3169
+ // ../node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist/rng.js
3165
3170
  var getRandomValues;
3166
3171
  var rnds8 = new Uint8Array(16);
3167
3172
  function rng() {
@@ -3174,11 +3179,16 @@ function rng() {
3174
3179
  return getRandomValues(rnds8);
3175
3180
  }
3176
3181
 
3177
- // node_modules/uuid/dist/native.js
3178
- var randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
3179
- var native_default = { randomUUID };
3182
+ // ../node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist/stringify.js
3183
+ var byteToHex = [];
3184
+ for (let i = 0;i < 256; ++i) {
3185
+ byteToHex.push((i + 256).toString(16).slice(1));
3186
+ }
3187
+ function unsafeStringify(arr, offset = 0) {
3188
+ return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
3189
+ }
3180
3190
 
3181
- // node_modules/uuid/dist/v4.js
3191
+ // ../node_modules/.bun/uuid@13.0.0/node_modules/uuid/dist/v4.js
3182
3192
  function _v4(options, buf, offset) {
3183
3193
  options = options || {};
3184
3194
  const rnds = options.random ?? options.rng?.() ?? rng();
@@ -6705,5 +6715,5 @@ export {
6705
6715
  DatabaseMigrationService
6706
6716
  };
6707
6717
 
6708
- //# debugId=2BF5F5F274B3DB0364756E2164756E21
6718
+ //# debugId=BA2494BACAF2A1BD64756E2164756E21
6709
6719
  //# sourceMappingURL=index.browser.js.map