@openclaw/memory-lancedb 2026.11.1 → 2026.11.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,49 +1,50 @@
1
- import { a as __toCommonJS, i as __require, n as __esmMin, r as __exportAll, t as __commonJSMin } from "./rolldown-runtime-C1I3wEg2.mjs";
2
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/arrow_type.js
1
+ import { a as __toCommonJS, i as __require, n as __esmMin, r as __exportAll, t as __commonJSMin } from "./rolldown-runtime-BMI-E3GI.mjs";
2
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/arrow_type.js
3
3
  var require_arrow_type = /* @__PURE__ */ __commonJSMin(((exports) => {
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.typedArrayToArrowType = typedArrayToArrowType;
6
- const apache_arrow_1 = __require("apache-arrow");
6
+ const apache_arrow_1$5 = __require("apache-arrow");
7
7
  /**
8
8
  * Map a JS TypedArray instance to the corresponding Arrow element type and
9
9
  * length. Returns undefined when the view is not a supported TypedArray.
10
10
  */
11
11
  function typedArrayToArrowType(value) {
12
12
  if (value instanceof Float32Array) return {
13
- elementType: new apache_arrow_1.Float32(),
13
+ elementType: new apache_arrow_1$5.Float32(),
14
14
  length: value.length
15
15
  };
16
16
  if (value instanceof Float64Array) return {
17
- elementType: new apache_arrow_1.Float64(),
17
+ elementType: new apache_arrow_1$5.Float64(),
18
18
  length: value.length
19
19
  };
20
20
  if (value instanceof Uint8Array) return {
21
- elementType: new apache_arrow_1.Uint8(),
21
+ elementType: new apache_arrow_1$5.Uint8(),
22
22
  length: value.length
23
23
  };
24
24
  if (value instanceof Uint16Array) return {
25
- elementType: new apache_arrow_1.Uint16(),
25
+ elementType: new apache_arrow_1$5.Uint16(),
26
26
  length: value.length
27
27
  };
28
28
  if (value instanceof Uint32Array) return {
29
- elementType: new apache_arrow_1.Uint32(),
29
+ elementType: new apache_arrow_1$5.Uint32(),
30
30
  length: value.length
31
31
  };
32
32
  if (value instanceof Int8Array) return {
33
- elementType: new apache_arrow_1.Int8(),
33
+ elementType: new apache_arrow_1$5.Int8(),
34
34
  length: value.length
35
35
  };
36
36
  if (value instanceof Int16Array) return {
37
- elementType: new apache_arrow_1.Int16(),
37
+ elementType: new apache_arrow_1$5.Int16(),
38
38
  length: value.length
39
39
  };
40
40
  if (value instanceof Int32Array) return {
41
- elementType: new apache_arrow_1.Int32(),
41
+ elementType: new apache_arrow_1$5.Int32(),
42
42
  length: value.length
43
43
  };
44
44
  }
45
45
  }));
46
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/native.js
46
+ //#endregion
47
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/native.js
47
48
  var require_native = /* @__PURE__ */ __commonJSMin(((exports, module) => {
48
49
  const { readFileSync } = __require("node:fs");
49
50
  let nativeBinding = null;
@@ -542,14 +543,15 @@ var require_native = /* @__PURE__ */ __commonJSMin(((exports, module) => {
542
543
  module.exports.snapshotLancedbMetrics = nativeBinding.snapshotLancedbMetrics;
543
544
  module.exports.tokenize = nativeBinding.tokenize;
544
545
  }));
545
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/blob.js
546
+ //#endregion
547
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/blob.js
546
548
  var require_blob = /* @__PURE__ */ __commonJSMin(((exports) => {
547
549
  Object.defineProperty(exports, "__esModule", { value: true });
548
550
  exports.BlobFile = void 0;
549
551
  exports.blob = blob;
550
552
  exports.isBlobField = isBlobField;
551
553
  exports.coerceBlobValue = coerceBlobValue;
552
- const apache_arrow_1 = __require("apache-arrow");
554
+ const apache_arrow_1$4 = __require("apache-arrow");
553
555
  const native_1 = require_native();
554
556
  const BLOB_V2_EXTENSION_NAME = "lance.blob.v2";
555
557
  const INLINE_SIZE_THRESHOLD_KEY = "lance-encoding:blob-inline-size-threshold";
@@ -594,7 +596,7 @@ var require_blob = /* @__PURE__ */ __commonJSMin(((exports) => {
594
596
  setThreshold(metadata, INLINE_SIZE_THRESHOLD_KEY, "inlineSizeThreshold", options.inlineSizeThreshold, 0);
595
597
  setThreshold(metadata, DEDICATED_SIZE_THRESHOLD_KEY, "dedicatedSizeThreshold", options.dedicatedSizeThreshold, 1);
596
598
  setThreshold(metadata, PACK_FILE_SIZE_THRESHOLD_KEY, "packFileSizeThreshold", options.packFileSizeThreshold, 1);
597
- return new apache_arrow_1.Field(name, new apache_arrow_1.Struct([new apache_arrow_1.Field("data", new apache_arrow_1.LargeBinary(), true), new apache_arrow_1.Field("uri", new apache_arrow_1.Utf8(), true)]), options.nullable ?? true, metadata);
599
+ return new apache_arrow_1$4.Field(name, new apache_arrow_1$4.Struct([new apache_arrow_1$4.Field("data", new apache_arrow_1$4.LargeBinary(), true), new apache_arrow_1$4.Field("uri", new apache_arrow_1$4.Utf8(), true)]), options.nullable ?? true, metadata);
598
600
  }
599
601
  /**
600
602
  * Checks for the `lance.blob.v2` extension marker. Does not validate the
@@ -677,7 +679,8 @@ var require_blob = /* @__PURE__ */ __commonJSMin(((exports) => {
677
679
  metadata.set(key, String(value));
678
680
  }
679
681
  }));
680
- // node_modules/.pnpm/reflect-metadata@0.2.2/node_modules/reflect-metadata/Reflect.js
682
+ //#endregion
683
+ //#region node_modules/.pnpm/reflect-metadata@0.2.2/node_modules/reflect-metadata/Reflect.js
681
684
  var require_Reflect = /* @__PURE__ */ __commonJSMin((() => {
682
685
  /*! *****************************************************************************
683
686
  Copyright (C) Microsoft. All rights reserved.
@@ -1900,7 +1903,8 @@ var require_Reflect = /* @__PURE__ */ __commonJSMin((() => {
1900
1903
  });
1901
1904
  })(Reflect || (Reflect = {}));
1902
1905
  }));
1903
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/embedding/registry.js
1906
+ //#endregion
1907
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/embedding/registry.js
1904
1908
  var require_registry = /* @__PURE__ */ __commonJSMin(((exports) => {
1905
1909
  Object.defineProperty(exports, "__esModule", { value: true });
1906
1910
  exports.EmbeddingFunctionRegistry = void 0;
@@ -2091,7 +2095,8 @@ var require_registry = /* @__PURE__ */ __commonJSMin(((exports) => {
2091
2095
  });
2092
2096
  }
2093
2097
  }));
2094
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/sanitize.js
2098
+ //#endregion
2099
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/sanitize.js
2095
2100
  var require_sanitize = /* @__PURE__ */ __commonJSMin(((exports) => {
2096
2101
  Object.defineProperty(exports, "__esModule", { value: true });
2097
2102
  exports.sanitizeMetadata = sanitizeMetadata;
@@ -2117,7 +2122,7 @@ var require_sanitize = /* @__PURE__ */ __commonJSMin(((exports) => {
2117
2122
  exports.sanitizeSchema = sanitizeSchema;
2118
2123
  exports.sanitizeTable = sanitizeTable;
2119
2124
  exports.dataTypeFromName = dataTypeFromName;
2120
- const apache_arrow_1 = __require("apache-arrow");
2125
+ const apache_arrow_1$3 = __require("apache-arrow");
2121
2126
  const arrow_1 = require_arrow();
2122
2127
  function createSanitizationContext() {
2123
2128
  return {
@@ -2375,7 +2380,7 @@ var require_sanitize = /* @__PURE__ */ __commonJSMin(((exports) => {
2375
2380
  return new arrow_1.RecordBatch(schema, data);
2376
2381
  }
2377
2382
  function sanitizeData(dataLike, context) {
2378
- if (dataLike instanceof apache_arrow_1.Data) return dataLike;
2383
+ if (dataLike instanceof apache_arrow_1$3.Data) return dataLike;
2379
2384
  const cachedData = context.data.get(dataLike);
2380
2385
  if (cachedData !== void 0) return cachedData;
2381
2386
  const dictionaryLike = dataLike.dictionary;
@@ -2383,15 +2388,15 @@ var require_sanitize = /* @__PURE__ */ __commonJSMin(((exports) => {
2383
2388
  if (dictionaryLike !== void 0) {
2384
2389
  dictionary = context.vectors.get(dictionaryLike);
2385
2390
  if (dictionary === void 0) {
2386
- dictionary = new apache_arrow_1.Vector(dictionaryLike.data.map((data) => sanitizeData(data, context)));
2391
+ dictionary = new apache_arrow_1$3.Vector(dictionaryLike.data.map((data) => sanitizeData(data, context)));
2387
2392
  context.vectors.set(dictionaryLike, dictionary);
2388
2393
  }
2389
2394
  }
2390
- const data = new apache_arrow_1.Data(sanitizeTypeWithContext(dataLike.type, context), dataLike.offset, dataLike.length, dataLike.nullCount, {
2391
- [apache_arrow_1.BufferType.OFFSET]: dataLike.valueOffsets,
2392
- [apache_arrow_1.BufferType.DATA]: dataLike.values,
2393
- [apache_arrow_1.BufferType.VALIDITY]: dataLike.nullBitmap,
2394
- [apache_arrow_1.BufferType.TYPE]: dataLike.typeIds
2395
+ const data = new apache_arrow_1$3.Data(sanitizeTypeWithContext(dataLike.type, context), dataLike.offset, dataLike.length, dataLike.nullCount, {
2396
+ [apache_arrow_1$3.BufferType.OFFSET]: dataLike.valueOffsets,
2397
+ [apache_arrow_1$3.BufferType.DATA]: dataLike.values,
2398
+ [apache_arrow_1$3.BufferType.VALIDITY]: dataLike.nullBitmap,
2399
+ [apache_arrow_1$3.BufferType.TYPE]: dataLike.typeIds
2395
2400
  }, dataLike.children.map((child) => sanitizeData(child, context)), dictionary);
2396
2401
  context.data.set(dataLike, data);
2397
2402
  return data;
@@ -2432,11 +2437,12 @@ var require_sanitize = /* @__PURE__ */ __commonJSMin(((exports) => {
2432
2437
  return _constructor();
2433
2438
  }
2434
2439
  }));
2435
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/schema.js
2440
+ //#endregion
2441
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/schema.js
2436
2442
  var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
2437
2443
  Object.defineProperty(exports, "__esModule", { value: true });
2438
2444
  exports.inferSchema = inferSchema;
2439
- const apache_arrow_1 = __require("apache-arrow");
2445
+ const apache_arrow_1$2 = __require("apache-arrow");
2440
2446
  const arrow_type_1 = require_arrow_type();
2441
2447
  const sanitize_1 = require_sanitize();
2442
2448
  /**
@@ -2459,7 +2465,7 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
2459
2465
  }
2460
2466
  infer(data) {
2461
2467
  for (const [row, record] of data.entries()) for (const [path, value] of recordPathsAndValues(record)) this.observe(path, value, row);
2462
- return this.providedSchema === void 0 ? new apache_arrow_1.Schema(fieldsFromTree(this.fields)) : new apache_arrow_1.Schema(matchingFields(this.providedSchema.fields, this.fields));
2468
+ return this.providedSchema === void 0 ? new apache_arrow_1$2.Schema(fieldsFromTree(this.fields)) : new apache_arrow_1$2.Schema(matchingFields(this.providedSchema.fields, this.fields));
2463
2469
  }
2464
2470
  observe(path, value, row) {
2465
2471
  const current = this.fields.get(path);
@@ -2512,21 +2518,21 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
2512
2518
  throw schemaInferenceError(path, row, current.describe(), describeEvidence(newType));
2513
2519
  }
2514
2520
  inferType(value, path) {
2515
- if (typeof value === "bigint") return new apache_arrow_1.Int64();
2516
- if (typeof value === "number") return new apache_arrow_1.Float64();
2517
- if (typeof value === "string") return this.options.dictionaryEncodeStrings ? new apache_arrow_1.Dictionary(new apache_arrow_1.Utf8(), new apache_arrow_1.Int32()) : new apache_arrow_1.Utf8();
2518
- if (typeof value === "boolean") return new apache_arrow_1.Bool();
2519
- if (value instanceof Buffer) return new apache_arrow_1.Binary();
2521
+ if (typeof value === "bigint") return new apache_arrow_1$2.Int64();
2522
+ if (typeof value === "number") return new apache_arrow_1$2.Float64();
2523
+ if (typeof value === "string") return this.options.dictionaryEncodeStrings ? new apache_arrow_1$2.Dictionary(new apache_arrow_1$2.Utf8(), new apache_arrow_1$2.Int32()) : new apache_arrow_1$2.Utf8();
2524
+ if (typeof value === "boolean") return new apache_arrow_1$2.Bool();
2525
+ if (value instanceof Buffer) return new apache_arrow_1$2.Binary();
2520
2526
  if (ArrayBuffer.isView(value) && !(value instanceof DataView)) {
2521
2527
  const typedArray = (0, arrow_type_1.typedArrayToArrowType)(value);
2522
- return typedArray === void 0 ? void 0 : new apache_arrow_1.FixedSizeList(typedArray.length, new apache_arrow_1.Field("item", typedArray.elementType, true));
2528
+ return typedArray === void 0 ? void 0 : new apache_arrow_1$2.FixedSizeList(typedArray.length, new apache_arrow_1$2.Field("item", typedArray.elementType, true));
2523
2529
  }
2524
2530
  if (!Array.isArray(value) || value.length === 0) return;
2525
2531
  const configuredVector = path.length === 1 ? this.options.vectorColumns[path[0]] : void 0;
2526
- if (configuredVector !== void 0) return new apache_arrow_1.FixedSizeList(value.length, new apache_arrow_1.Field("item", (0, sanitize_1.sanitizeType)(configuredVector.type), true));
2532
+ if (configuredVector !== void 0) return new apache_arrow_1$2.FixedSizeList(value.length, new apache_arrow_1$2.Field("item", (0, sanitize_1.sanitizeType)(configuredVector.type), true));
2527
2533
  const itemType = this.inferArrayItemType(value, path);
2528
2534
  if (itemType === void 0) return;
2529
- return nameSuggestsVectorColumn(path[path.length - 1]) ? new apache_arrow_1.FixedSizeList(value.length, new apache_arrow_1.Field("item", new apache_arrow_1.Float32(), true)) : new apache_arrow_1.List(new apache_arrow_1.Field("item", itemType, true));
2535
+ return nameSuggestsVectorColumn(path[path.length - 1]) ? new apache_arrow_1$2.FixedSizeList(value.length, new apache_arrow_1$2.Field("item", new apache_arrow_1$2.Float32(), true)) : new apache_arrow_1$2.List(new apache_arrow_1$2.Field("item", itemType, true));
2530
2536
  }
2531
2537
  inferArrayItemType(values, path) {
2532
2538
  let itemType;
@@ -2619,9 +2625,9 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
2619
2625
  }
2620
2626
  function fieldsFromTree(tree, path = []) {
2621
2627
  const fields = [];
2622
- for (const [name, value] of tree.entries()) if (value instanceof FieldTree) fields.push(new apache_arrow_1.Field(name, new apache_arrow_1.Struct(fieldsFromTree(value, [...path, name])), true));
2628
+ for (const [name, value] of tree.entries()) if (value instanceof FieldTree) fields.push(new apache_arrow_1$2.Field(name, new apache_arrow_1$2.Struct(fieldsFromTree(value, [...path, name])), true));
2623
2629
  else if (value instanceof DeferredTypeEvidence) throw typeInferenceError([...path, name], value.firstRow());
2624
- else fields.push(new apache_arrow_1.Field(name, value, true));
2630
+ else fields.push(new apache_arrow_1$2.Field(name, value, true));
2625
2631
  return fields;
2626
2632
  }
2627
2633
  function matchingFields(fields, tree) {
@@ -2631,7 +2637,7 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
2631
2637
  const value = tree.get([field.name]);
2632
2638
  if (value instanceof FieldTree) {
2633
2639
  const struct = field.type;
2634
- matches.push(new apache_arrow_1.Field(field.name, new apache_arrow_1.Struct(matchingFields(struct.children, value)), field.nullable, field.metadata));
2640
+ matches.push(new apache_arrow_1$2.Field(field.name, new apache_arrow_1$2.Struct(matchingFields(struct.children, value)), field.nullable, field.metadata));
2635
2641
  } else matches.push(field);
2636
2642
  }
2637
2643
  return matches;
@@ -2649,7 +2655,7 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
2649
2655
  for (const [index, name] of path.entries()) {
2650
2656
  field = fields.find((candidate) => candidate.name === name);
2651
2657
  if (field === void 0 || index === path.length - 1) return field;
2652
- if (!apache_arrow_1.DataType.isStruct(field.type)) return;
2658
+ if (!apache_arrow_1$2.DataType.isStruct(field.type)) return;
2653
2659
  fields = field.type.children;
2654
2660
  }
2655
2661
  return field;
@@ -2660,15 +2666,15 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
2660
2666
  function deferredValueMatchesType(value, type) {
2661
2667
  if (value == null) return true;
2662
2668
  if (!Array.isArray(value)) return false;
2663
- if (apache_arrow_1.DataType.isList(type)) return value.every((item) => deferredValueMatchesType(item, type.valueType));
2664
- if (apache_arrow_1.DataType.isFixedSizeList(type)) return value.length === type.listSize && value.every((item) => deferredValueMatchesType(item, type.valueType));
2669
+ if (apache_arrow_1$2.DataType.isList(type)) return value.every((item) => deferredValueMatchesType(item, type.valueType));
2670
+ if (apache_arrow_1$2.DataType.isFixedSizeList(type)) return value.length === type.listSize && value.every((item) => deferredValueMatchesType(item, type.valueType));
2665
2671
  return false;
2666
2672
  }
2667
2673
  function inferredTypesEqual(current, candidate) {
2668
- if (apache_arrow_1.DataType.isDictionary(current)) return apache_arrow_1.DataType.isDictionary(candidate) && current.isOrdered === candidate.isOrdered && inferredTypesEqual(current.indices, candidate.indices) && inferredTypesEqual(current.dictionary, candidate.dictionary);
2669
- if (apache_arrow_1.DataType.isList(current)) return apache_arrow_1.DataType.isList(candidate) && current.valueField.name === candidate.valueField.name && current.valueField.nullable === candidate.valueField.nullable && inferredTypesEqual(current.valueType, candidate.valueType);
2670
- if (apache_arrow_1.DataType.isFixedSizeList(current)) return apache_arrow_1.DataType.isFixedSizeList(candidate) && current.listSize === candidate.listSize && current.valueField.name === candidate.valueField.name && current.valueField.nullable === candidate.valueField.nullable && inferredTypesEqual(current.valueType, candidate.valueType);
2671
- return apache_arrow_1.util.compareTypes(current, candidate);
2674
+ if (apache_arrow_1$2.DataType.isDictionary(current)) return apache_arrow_1$2.DataType.isDictionary(candidate) && current.isOrdered === candidate.isOrdered && inferredTypesEqual(current.indices, candidate.indices) && inferredTypesEqual(current.dictionary, candidate.dictionary);
2675
+ if (apache_arrow_1$2.DataType.isList(current)) return apache_arrow_1$2.DataType.isList(candidate) && current.valueField.name === candidate.valueField.name && current.valueField.nullable === candidate.valueField.nullable && inferredTypesEqual(current.valueType, candidate.valueType);
2676
+ if (apache_arrow_1$2.DataType.isFixedSizeList(current)) return apache_arrow_1$2.DataType.isFixedSizeList(candidate) && current.listSize === candidate.listSize && current.valueField.name === candidate.valueField.name && current.valueField.nullable === candidate.valueField.nullable && inferredTypesEqual(current.valueType, candidate.valueType);
2677
+ return apache_arrow_1$2.util.compareTypes(current, candidate);
2672
2678
  }
2673
2679
  function describeEvidence(evidence) {
2674
2680
  if (evidence === void 0) return "an unsupported value";
@@ -2688,9 +2694,10 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
2688
2694
  return normalized.includes("vector") || normalized.includes("embedding");
2689
2695
  }
2690
2696
  }));
2691
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/arrow.js
2692
- var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) => {
2693
- var __createBinding = this$2 && this$2.__createBinding || (Object.create ? (function(o, m, k, k2) {
2697
+ //#endregion
2698
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/arrow.js
2699
+ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports) => {
2700
+ var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
2694
2701
  if (k2 === void 0) k2 = k;
2695
2702
  var desc = Object.getOwnPropertyDescriptor(m, k);
2696
2703
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
@@ -2704,8 +2711,8 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
2704
2711
  if (k2 === void 0) k2 = k;
2705
2712
  o[k2] = m[k];
2706
2713
  }));
2707
- var __exportStar = this$2 && this$2.__exportStar || function(m, exports) {
2708
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
2714
+ var __exportStar = exports && exports.__exportStar || function(m, exports$2) {
2715
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$2, p)) __createBinding(exports$2, m, p);
2709
2716
  };
2710
2717
  Object.defineProperty(exports, "__esModule", { value: true });
2711
2718
  exports.MakeArrowTableOptions = exports.VectorColumnOptions = void 0;
@@ -2747,7 +2754,7 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
2747
2754
  exports.createEmptyTable = createEmptyTable;
2748
2755
  exports.ensureNestedFieldsExist = ensureNestedFieldsExist;
2749
2756
  exports.dataTypeToJson = dataTypeToJson;
2750
- const apache_arrow_1 = __require("apache-arrow");
2757
+ const apache_arrow_1$1 = __require("apache-arrow");
2751
2758
  const arrow_type_1 = require_arrow_type();
2752
2759
  const blob_1 = require_blob();
2753
2760
  const registry_1 = require_registry();
@@ -2781,80 +2788,80 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
2781
2788
  return null;
2782
2789
  }
2783
2790
  function isArrowTable(value) {
2784
- if (value instanceof apache_arrow_1.Table) return true;
2791
+ if (value instanceof apache_arrow_1$1.Table) return true;
2785
2792
  return "schema" in value && "batches" in value;
2786
2793
  }
2787
2794
  function isNull(value) {
2788
- return value instanceof apache_arrow_1.Null || apache_arrow_1.DataType.isNull(value);
2795
+ return value instanceof apache_arrow_1$1.Null || apache_arrow_1$1.DataType.isNull(value);
2789
2796
  }
2790
2797
  function isInt(value) {
2791
- return value instanceof apache_arrow_1.Int || apache_arrow_1.DataType.isInt(value);
2798
+ return value instanceof apache_arrow_1$1.Int || apache_arrow_1$1.DataType.isInt(value);
2792
2799
  }
2793
2800
  function isFloat(value) {
2794
- return value instanceof apache_arrow_1.Float || apache_arrow_1.DataType.isFloat(value);
2801
+ return value instanceof apache_arrow_1$1.Float || apache_arrow_1$1.DataType.isFloat(value);
2795
2802
  }
2796
2803
  function isBinary(value) {
2797
- return value instanceof apache_arrow_1.Binary || apache_arrow_1.DataType.isBinary(value);
2804
+ return value instanceof apache_arrow_1$1.Binary || apache_arrow_1$1.DataType.isBinary(value);
2798
2805
  }
2799
2806
  function isLargeBinary(value) {
2800
- return value instanceof apache_arrow_1.LargeBinary || apache_arrow_1.DataType.isLargeBinary(value);
2807
+ return value instanceof apache_arrow_1$1.LargeBinary || apache_arrow_1$1.DataType.isLargeBinary(value);
2801
2808
  }
2802
2809
  function isUtf8(value) {
2803
- return value instanceof apache_arrow_1.Utf8 || apache_arrow_1.DataType.isUtf8(value);
2810
+ return value instanceof apache_arrow_1$1.Utf8 || apache_arrow_1$1.DataType.isUtf8(value);
2804
2811
  }
2805
2812
  function isLargeUtf8(value) {
2806
- return value instanceof apache_arrow_1.Utf8 || apache_arrow_1.DataType.isLargeUtf8(value);
2813
+ return value instanceof apache_arrow_1$1.Utf8 || apache_arrow_1$1.DataType.isLargeUtf8(value);
2807
2814
  }
2808
2815
  function isBool(value) {
2809
- return value instanceof apache_arrow_1.Utf8 || apache_arrow_1.DataType.isBool(value);
2816
+ return value instanceof apache_arrow_1$1.Utf8 || apache_arrow_1$1.DataType.isBool(value);
2810
2817
  }
2811
2818
  function isDecimal(value) {
2812
- return value instanceof apache_arrow_1.Utf8 || apache_arrow_1.DataType.isDecimal(value);
2819
+ return value instanceof apache_arrow_1$1.Utf8 || apache_arrow_1$1.DataType.isDecimal(value);
2813
2820
  }
2814
2821
  function isDate(value) {
2815
- return value instanceof apache_arrow_1.Utf8 || apache_arrow_1.DataType.isDate(value);
2822
+ return value instanceof apache_arrow_1$1.Utf8 || apache_arrow_1$1.DataType.isDate(value);
2816
2823
  }
2817
2824
  function isTime(value) {
2818
- return value instanceof apache_arrow_1.Utf8 || apache_arrow_1.DataType.isTime(value);
2825
+ return value instanceof apache_arrow_1$1.Utf8 || apache_arrow_1$1.DataType.isTime(value);
2819
2826
  }
2820
2827
  function isTimestamp(value) {
2821
- return value instanceof apache_arrow_1.Utf8 || apache_arrow_1.DataType.isTimestamp(value);
2828
+ return value instanceof apache_arrow_1$1.Utf8 || apache_arrow_1$1.DataType.isTimestamp(value);
2822
2829
  }
2823
2830
  function isInterval(value) {
2824
- return value instanceof apache_arrow_1.Utf8 || apache_arrow_1.DataType.isInterval(value);
2831
+ return value instanceof apache_arrow_1$1.Utf8 || apache_arrow_1$1.DataType.isInterval(value);
2825
2832
  }
2826
2833
  function isDuration(value) {
2827
- return value instanceof apache_arrow_1.Utf8 || apache_arrow_1.DataType.isDuration(value);
2834
+ return value instanceof apache_arrow_1$1.Utf8 || apache_arrow_1$1.DataType.isDuration(value);
2828
2835
  }
2829
2836
  function isList(value) {
2830
- return value instanceof apache_arrow_1.List || apache_arrow_1.DataType.isList(value);
2837
+ return value instanceof apache_arrow_1$1.List || apache_arrow_1$1.DataType.isList(value);
2831
2838
  }
2832
2839
  function isStruct(value) {
2833
- return value instanceof apache_arrow_1.Struct || apache_arrow_1.DataType.isStruct(value);
2840
+ return value instanceof apache_arrow_1$1.Struct || apache_arrow_1$1.DataType.isStruct(value);
2834
2841
  }
2835
2842
  function isUnion(value) {
2836
- return value instanceof apache_arrow_1.Struct || apache_arrow_1.DataType.isUnion(value);
2843
+ return value instanceof apache_arrow_1$1.Struct || apache_arrow_1$1.DataType.isUnion(value);
2837
2844
  }
2838
2845
  function isFixedSizeBinary(value) {
2839
- return value instanceof apache_arrow_1.FixedSizeBinary || apache_arrow_1.DataType.isFixedSizeBinary(value);
2846
+ return value instanceof apache_arrow_1$1.FixedSizeBinary || apache_arrow_1$1.DataType.isFixedSizeBinary(value);
2840
2847
  }
2841
2848
  function isFixedSizeList(value) {
2842
- return value instanceof apache_arrow_1.FixedSizeList || apache_arrow_1.DataType.isFixedSizeList(value);
2849
+ return value instanceof apache_arrow_1$1.FixedSizeList || apache_arrow_1$1.DataType.isFixedSizeList(value);
2843
2850
  }
2844
2851
  var VectorColumnOptions = class {
2845
2852
  /** Vector column type. */
2846
- type = new apache_arrow_1.Float32();
2853
+ type = new apache_arrow_1$1.Float32();
2847
2854
  constructor(values) {
2848
2855
  Object.assign(this, values);
2849
2856
  }
2850
2857
  };
2851
2858
  exports.VectorColumnOptions = VectorColumnOptions;
2852
2859
  function vectorFromArray(data, type) {
2853
- if (apache_arrow_1.DataType.isFixedSizeList(type) && apache_arrow_1.DataType.isFloat(type.valueType)) {
2860
+ if (apache_arrow_1$1.DataType.isFixedSizeList(type) && apache_arrow_1$1.DataType.isFloat(type.valueType)) {
2854
2861
  const extendedData = [...data, new Array(type.listSize).fill(0)];
2855
- return (0, apache_arrow_1.vectorFromArray)(extendedData, type).slice(0, data.length);
2856
- } else if (type === void 0) return (0, apache_arrow_1.vectorFromArray)(data);
2857
- else return (0, apache_arrow_1.vectorFromArray)(data, type);
2862
+ return (0, apache_arrow_1$1.vectorFromArray)(extendedData, type).slice(0, data.length);
2863
+ } else if (type === void 0) return (0, apache_arrow_1$1.vectorFromArray)(data);
2864
+ else return (0, apache_arrow_1$1.vectorFromArray)(data, type);
2858
2865
  }
2859
2866
  /** Options to control the makeArrowTable call. */
2860
2867
  var MakeArrowTableOptions = class {
@@ -2983,17 +2990,17 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
2983
2990
  else if (data.length === 0) {
2984
2991
  if (schema === void 0) throw new Error("A schema must be provided if data is empty");
2985
2992
  else {
2986
- schema = new apache_arrow_1.Schema(schema.fields, schemaMetadata);
2993
+ schema = new apache_arrow_1$1.Schema(schema.fields, schemaMetadata);
2987
2994
  validateBlobSchema(schema);
2988
- return new apache_arrow_1.Table(schema);
2995
+ return new apache_arrow_1$1.Table(schema);
2989
2996
  }
2990
2997
  }
2991
2998
  let inferredSchema = (0, schema_1.inferSchema)(data, schema, opt);
2992
- inferredSchema = new apache_arrow_1.Schema(inferredSchema.fields, schemaMetadata);
2999
+ inferredSchema = new apache_arrow_1$1.Schema(inferredSchema.fields, schemaMetadata);
2993
3000
  validateBlobSchema(inferredSchema);
2994
3001
  const finalColumns = {};
2995
3002
  for (const field of inferredSchema.fields) finalColumns[field.name] = transposeData(data, field);
2996
- return new apache_arrow_1.Table(inferredSchema, finalColumns);
3003
+ return new apache_arrow_1$1.Table(inferredSchema, finalColumns);
2997
3004
  }
2998
3005
  function validateBlobSchema(schema) {
2999
3006
  for (const field of schema.fields) validateBlobField(field);
@@ -3020,36 +3027,36 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3020
3027
  }
3021
3028
  function transposeData(data, field, path = []) {
3022
3029
  const valuesPath = [...path, field.name];
3023
- if ((0, blob_1.isBlobField)(field) && field.type instanceof apache_arrow_1.Struct) {
3030
+ if ((0, blob_1.isBlobField)(field) && field.type instanceof apache_arrow_1$1.Struct) {
3024
3031
  const blobRows = data.map((datum) => (0, blob_1.coerceBlobValue)(valueAtPath(datum, valuesPath)));
3025
3032
  const childVectors = field.type.children.map((child) => {
3026
3033
  return makeVector(blobRows.map((row) => row == null ? null : row[child.name] ?? null), child.type, void 0, child.nullable);
3027
3034
  });
3028
3035
  const nullCount = blobRows.filter((row) => row === null).length;
3029
- const structData = (0, apache_arrow_1.makeData)({
3036
+ const structData = (0, apache_arrow_1$1.makeData)({
3030
3037
  type: field.type,
3031
3038
  length: blobRows.length,
3032
3039
  nullCount,
3033
- nullBitmap: nullCount > 0 ? apache_arrow_1.util.packBools(blobRows.map((row) => row !== null)) : void 0,
3040
+ nullBitmap: nullCount > 0 ? apache_arrow_1$1.util.packBools(blobRows.map((row) => row !== null)) : void 0,
3034
3041
  children: childVectors.map((v) => v.data[0])
3035
3042
  });
3036
- return (0, apache_arrow_1.makeVector)(structData);
3043
+ return (0, apache_arrow_1$1.makeVector)(structData);
3037
3044
  }
3038
3045
  if (isList(field.type) && containsBlobField(field.type.children[0])) return transposeListData(data, field, valuesPath);
3039
3046
  const values = data.map((datum) => valueAtPath(datum, valuesPath));
3040
- if (field.type instanceof apache_arrow_1.Struct) {
3047
+ if (field.type instanceof apache_arrow_1$1.Struct) {
3041
3048
  const childVectors = field.type.children.map((child) => {
3042
3049
  return transposeData(data, child, valuesPath);
3043
3050
  });
3044
3051
  const nullCount = values.filter((value) => value === null).length;
3045
- const structData = (0, apache_arrow_1.makeData)({
3052
+ const structData = (0, apache_arrow_1$1.makeData)({
3046
3053
  type: field.type,
3047
3054
  length: values.length,
3048
3055
  nullCount,
3049
- nullBitmap: nullCount > 0 ? apache_arrow_1.util.packBools(values.map((value) => value !== null)) : void 0,
3056
+ nullBitmap: nullCount > 0 ? apache_arrow_1$1.util.packBools(values.map((value) => value !== null)) : void 0,
3050
3057
  children: childVectors.map((v) => v.data[0])
3051
3058
  });
3052
- return (0, apache_arrow_1.makeVector)(structData);
3059
+ return (0, apache_arrow_1$1.makeVector)(structData);
3053
3060
  } else return makeVector(values, field.type, void 0, field.nullable);
3054
3061
  }
3055
3062
  function transposeListData(data, field, valuesPath) {
@@ -3072,11 +3079,11 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3072
3079
  }
3073
3080
  const childVector = transposeData(flattened, childField, []);
3074
3081
  const nullCount = validity.filter((valid) => !valid).length;
3075
- return (0, apache_arrow_1.makeVector)((0, apache_arrow_1.makeData)({
3082
+ return (0, apache_arrow_1$1.makeVector)((0, apache_arrow_1$1.makeData)({
3076
3083
  type: listType,
3077
3084
  length: lists.length,
3078
3085
  nullCount,
3079
- nullBitmap: nullCount > 0 ? apache_arrow_1.util.packBools(validity) : void 0,
3086
+ nullBitmap: nullCount > 0 ? apache_arrow_1$1.util.packBools(validity) : void 0,
3080
3087
  valueOffsets: Int32Array.from(offsets),
3081
3088
  child: childVector.data[0]
3082
3089
  }));
@@ -3099,7 +3106,7 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3099
3106
  } catch (error) {
3100
3107
  throw Error(`Cannot infer list vector. Cannot infer inner type: ${error}`);
3101
3108
  }
3102
- const listBuilder = (0, apache_arrow_1.makeBuilder)({ type: new apache_arrow_1.List(new apache_arrow_1.Field("item", inferredType, true)) });
3109
+ const listBuilder = (0, apache_arrow_1$1.makeBuilder)({ type: new apache_arrow_1$1.List(new apache_arrow_1$1.Field("item", inferredType, true)) });
3103
3110
  for (const list of lists) listBuilder.append(list);
3104
3111
  return listBuilder.finish().toVector();
3105
3112
  }
@@ -3107,20 +3114,20 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3107
3114
  function makeVector(values, type, stringAsDictionary, nullable) {
3108
3115
  if (type !== void 0) {
3109
3116
  if (nullable) values = values.map((v) => v === void 0 ? null : v);
3110
- if (apache_arrow_1.DataType.isBool(type)) {
3117
+ if (apache_arrow_1$1.DataType.isBool(type)) {
3111
3118
  if (!values.some((v) => v !== null && v !== void 0)) {
3112
3119
  const nullBitmap = new Uint8Array(Math.ceil(values.length / 8));
3113
- const data = (0, apache_arrow_1.makeData)({
3120
+ const data = (0, apache_arrow_1$1.makeData)({
3114
3121
  type,
3115
3122
  length: values.length,
3116
3123
  nullCount: values.length,
3117
3124
  nullBitmap
3118
3125
  });
3119
- return (0, apache_arrow_1.makeVector)(data);
3126
+ return (0, apache_arrow_1$1.makeVector)(data);
3120
3127
  }
3121
3128
  }
3122
- if (type instanceof apache_arrow_1.Int) {
3123
- if (apache_arrow_1.DataType.isInt(type) && type.bitWidth === 64) values = values.map((v) => {
3129
+ if (type instanceof apache_arrow_1$1.Int) {
3130
+ if (apache_arrow_1$1.DataType.isInt(type) && type.bitWidth === 64) values = values.map((v) => {
3124
3131
  if (v === null) return v;
3125
3132
  else if (typeof v === "bigint") return v;
3126
3133
  else if (typeof v === "number") return BigInt(v);
@@ -3139,13 +3146,13 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3139
3146
  if (ArrayBuffer.isView(sampleValue) && !(sampleValue instanceof DataView)) {
3140
3147
  const info = (0, arrow_type_1.typedArrayToArrowType)(sampleValue);
3141
3148
  if (info !== void 0) {
3142
- const fslType = new apache_arrow_1.FixedSizeList(info.length, new apache_arrow_1.Field("item", info.elementType, true));
3149
+ const fslType = new apache_arrow_1$1.FixedSizeList(info.length, new apache_arrow_1$1.Field("item", info.elementType, true));
3143
3150
  return vectorFromArray(values, fslType);
3144
3151
  }
3145
3152
  }
3146
3153
  if (Array.isArray(sampleValue)) return makeListVector(values);
3147
- else if (Buffer.isBuffer(sampleValue)) return vectorFromArray(values, new apache_arrow_1.Binary());
3148
- else if (!(stringAsDictionary ?? false) && (typeof sampleValue === "string" || sampleValue instanceof String)) return vectorFromArray(values, new apache_arrow_1.Utf8());
3154
+ else if (Buffer.isBuffer(sampleValue)) return vectorFromArray(values, new apache_arrow_1$1.Binary());
3155
+ else if (!(stringAsDictionary ?? false) && (typeof sampleValue === "string" || sampleValue instanceof String)) return vectorFromArray(values, new apache_arrow_1$1.Utf8());
3149
3156
  else return vectorFromArray(values);
3150
3157
  }
3151
3158
  /** Helper function to apply embeddings from metadata to an input table */
@@ -3174,7 +3181,7 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3174
3181
  const nullValues = new Array(table.numRows).fill(null);
3175
3182
  columns[field.name] = makeVector(nullValues, field.type, void 0, field.nullable);
3176
3183
  }
3177
- return alignTable(new apache_arrow_1.Table(columns), schema);
3184
+ return alignTable(new apache_arrow_1$1.Table(columns), schema);
3178
3185
  }
3179
3186
  /** Helper function to apply embeddings to an input table */
3180
3187
  async function applyEmbeddings(table, embeddings, schema) {
@@ -3192,7 +3199,7 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3192
3199
  const newColumns = Object.fromEntries(colEntries);
3193
3200
  const sourceColumn = newColumns[embeddings.sourceColumn];
3194
3201
  const destColumn = embeddings.vectorColumn ?? "vector";
3195
- const innerDestType = embeddings.function.embeddingDataType() ?? new apache_arrow_1.Float32();
3202
+ const innerDestType = embeddings.function.embeddingDataType() ?? new apache_arrow_1$1.Float32();
3196
3203
  if (sourceColumn === void 0) throw new Error(`Cannot apply embedding function because the source column '${embeddings.sourceColumn}' was not present in the data`);
3197
3204
  if (table.numRows === 0) {
3198
3205
  if (Object.prototype.hasOwnProperty.call(newColumns, destColumn)) return table;
@@ -3207,9 +3214,9 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3207
3214
  if (Object.prototype.hasOwnProperty.call(newColumns, destColumn)) {
3208
3215
  const existingColumn = newColumns[destColumn];
3209
3216
  if (existingColumn.nullCount !== existingColumn.length) {
3210
- let newTable = new apache_arrow_1.Table(newColumns);
3217
+ let newTable = new apache_arrow_1$1.Table(newColumns);
3211
3218
  if (schema != null) newTable = alignTable(newTable, schema);
3212
- return new apache_arrow_1.Table(new apache_arrow_1.Schema(newTable.schema.fields, schemaMetadata), newTable.batches);
3219
+ return new apache_arrow_1$1.Table(new apache_arrow_1$1.Schema(newTable.schema.fields, schemaMetadata), newTable.batches);
3213
3220
  }
3214
3221
  }
3215
3222
  if (table.batches.length > 1) throw new Error("Internal error: `makeArrowTable` unexpectedly created a table with more than one batch");
@@ -3218,12 +3225,12 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3218
3225
  if (vectors.length !== values.length) throw new Error("Embedding function did not return an embedding for each input element");
3219
3226
  newColumns[destColumn] = makeVector(vectors, newVectorType(vectors[0].length, innerDestType));
3220
3227
  }
3221
- let newTable = new apache_arrow_1.Table(newColumns);
3228
+ let newTable = new apache_arrow_1$1.Table(newColumns);
3222
3229
  if (schema != null) {
3223
3230
  if (schema.fields.find((f) => f.name === destColumn) === void 0) throw new Error(`When using embedding functions and specifying a schema the schema should include the embedding column but the column ${destColumn} was missing`);
3224
3231
  newTable = alignTable(newTable, schema);
3225
3232
  }
3226
- newTable = new apache_arrow_1.Table(new apache_arrow_1.Schema(newTable.schema.fields, schemaMetadata), newTable.batches);
3233
+ newTable = new apache_arrow_1$1.Table(new apache_arrow_1$1.Schema(newTable.schema.fields, schemaMetadata), newTable.batches);
3227
3234
  return newTable;
3228
3235
  }
3229
3236
  /**
@@ -3251,8 +3258,8 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3251
3258
  }
3252
3259
  /** Creates the Arrow Type for a Vector column with dimension `dim` */
3253
3260
  function newVectorType(dim, innerType) {
3254
- const children = new apache_arrow_1.Field("item", (0, sanitize_1.sanitizeType)(innerType), true);
3255
- return new apache_arrow_1.FixedSizeList(dim, children);
3261
+ const children = new apache_arrow_1$1.Field("item", (0, sanitize_1.sanitizeType)(innerType), true);
3262
+ return new apache_arrow_1$1.FixedSizeList(dim, children);
3256
3263
  }
3257
3264
  /**
3258
3265
  * Serialize an Array of records into a buffer using the Arrow IPC File serialization
@@ -3264,7 +3271,7 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3264
3271
  async function fromRecordsToBuffer(data, embeddings, schema) {
3265
3272
  if (schema !== void 0 && schema !== null) schema = (0, sanitize_1.sanitizeSchema)(schema);
3266
3273
  const table = await convertToTable(data, embeddings, { schema });
3267
- const writer = apache_arrow_1.RecordBatchFileWriter.writeAll(table);
3274
+ const writer = apache_arrow_1$1.RecordBatchFileWriter.writeAll(table);
3268
3275
  return Buffer.from(await writer.toUint8Array());
3269
3276
  }
3270
3277
  /**
@@ -3277,7 +3284,7 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3277
3284
  async function fromRecordsToStreamBuffer(data, embeddings, schema) {
3278
3285
  if (schema !== void 0 && schema !== null) schema = (0, sanitize_1.sanitizeSchema)(schema);
3279
3286
  const table = await convertToTable(data, embeddings, { schema });
3280
- const writer = apache_arrow_1.RecordBatchStreamWriter.writeAll(table);
3287
+ const writer = apache_arrow_1$1.RecordBatchStreamWriter.writeAll(table);
3281
3288
  return Buffer.from(await writer.toUint8Array());
3282
3289
  }
3283
3290
  /**
@@ -3292,7 +3299,7 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3292
3299
  if (schema !== void 0 && schema !== null) schema = (0, sanitize_1.sanitizeSchema)(schema);
3293
3300
  const tableWithEmbeddings = await applyEmbeddings(table, embeddings, schema);
3294
3301
  validateBlobSchema(tableWithEmbeddings.schema);
3295
- const writer = apache_arrow_1.RecordBatchFileWriter.writeAll(tableWithEmbeddings);
3302
+ const writer = apache_arrow_1$1.RecordBatchFileWriter.writeAll(tableWithEmbeddings);
3296
3303
  return Buffer.from(await writer.toUint8Array());
3297
3304
  }
3298
3305
  /**
@@ -3317,13 +3324,13 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3317
3324
  * Returns null if the buffer does not contain a record batch
3318
3325
  */
3319
3326
  async function fromBufferToRecordBatch(data) {
3320
- return (await apache_arrow_1.RecordBatchFileReader.readAll(Buffer.from(data)).next().value)?.next().value || null;
3327
+ return (await apache_arrow_1$1.RecordBatchFileReader.readAll(Buffer.from(data)).next().value)?.next().value || null;
3321
3328
  }
3322
3329
  /**
3323
3330
  * Create a buffer containing a single record batch
3324
3331
  */
3325
3332
  async function fromRecordBatchToBuffer(batch) {
3326
- const writer = new apache_arrow_1.RecordBatchFileWriter().writeAll([batch]);
3333
+ const writer = new apache_arrow_1$1.RecordBatchFileWriter().writeAll([batch]);
3327
3334
  return Buffer.from(await writer.toUint8Array());
3328
3335
  }
3329
3336
  /**
@@ -3332,7 +3339,7 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3332
3339
  * batch + EOS) suitable for incremental decode by `arrow_ipc::reader::StreamReader`.
3333
3340
  */
3334
3341
  async function fromRecordBatchToStreamBuffer(batch) {
3335
- const writer = apache_arrow_1.RecordBatchStreamWriter.writeAll([batch]);
3342
+ const writer = apache_arrow_1$1.RecordBatchStreamWriter.writeAll([batch]);
3336
3343
  return Buffer.from(await writer.toUint8Array());
3337
3344
  }
3338
3345
  /**
@@ -3345,7 +3352,7 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3345
3352
  */
3346
3353
  async function fromTableToStreamBuffer(table, embeddings, schema) {
3347
3354
  const tableWithEmbeddings = await applyEmbeddings(table, embeddings, schema);
3348
- const writer = apache_arrow_1.RecordBatchStreamWriter.writeAll(tableWithEmbeddings);
3355
+ const writer = apache_arrow_1$1.RecordBatchStreamWriter.writeAll(tableWithEmbeddings);
3349
3356
  return Buffer.from(await writer.toUint8Array());
3350
3357
  }
3351
3358
  /**
@@ -3358,26 +3365,26 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3358
3365
  if (indexInBatch < 0) throw new Error(`The column ${field.name} was not found in the Arrow Table`);
3359
3366
  alignedChildren.push(batch.data.children[indexInBatch]);
3360
3367
  }
3361
- const newData = (0, apache_arrow_1.makeData)({
3362
- type: new apache_arrow_1.Struct(schema.fields),
3368
+ const newData = (0, apache_arrow_1$1.makeData)({
3369
+ type: new apache_arrow_1$1.Struct(schema.fields),
3363
3370
  length: batch.numRows,
3364
3371
  nullCount: batch.nullCount,
3365
3372
  children: alignedChildren
3366
3373
  });
3367
- return new apache_arrow_1.RecordBatch(schema, newData);
3374
+ return new apache_arrow_1$1.RecordBatch(schema, newData);
3368
3375
  }
3369
3376
  /**
3370
3377
  * Reorder the columns in `table` so that they agree with the field order in `schema`
3371
3378
  */
3372
3379
  function alignTable(table, schema) {
3373
3380
  const alignedBatches = table.batches.map((batch) => alignBatch(batch, schema));
3374
- return new apache_arrow_1.Table(schema, alignedBatches);
3381
+ return new apache_arrow_1$1.Table(schema, alignedBatches);
3375
3382
  }
3376
3383
  /**
3377
3384
  * Create an empty table with the given schema
3378
3385
  */
3379
3386
  function createEmptyTable(schema) {
3380
- return new apache_arrow_1.Table((0, sanitize_1.sanitizeSchema)(schema));
3387
+ return new apache_arrow_1$1.Table((0, sanitize_1.sanitizeSchema)(schema));
3381
3388
  }
3382
3389
  function validateSchemaEmbeddings(schema, data, embeddings) {
3383
3390
  const fields = [];
@@ -3396,7 +3403,7 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3396
3403
  } else fields.push(field);
3397
3404
  } else fields.push(field);
3398
3405
  if (missingEmbeddingFields.length > 0 && embeddings === void 0) throw new Error(`Table has embeddings: "${missingEmbeddingFields.map((f) => f.name).join(",")}", but no embedding function was provided`);
3399
- return new apache_arrow_1.Schema(fields, schema.metadata);
3406
+ return new apache_arrow_1$1.Schema(fields, schema.metadata);
3400
3407
  }
3401
3408
  /**
3402
3409
  * Ensures that all nested fields defined in the schema exist in the data,
@@ -3428,39 +3435,39 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3428
3435
  }
3429
3436
  function dataTypeToJson(dataType) {
3430
3437
  switch (dataType.typeId) {
3431
- case apache_arrow_1.Type.Null: return { type: "null" };
3432
- case apache_arrow_1.Type.Bool: return { type: "bool" };
3433
- case apache_arrow_1.Type.Int8: return { type: "int8" };
3434
- case apache_arrow_1.Type.Int16: return { type: "int16" };
3435
- case apache_arrow_1.Type.Int32: return { type: "int32" };
3436
- case apache_arrow_1.Type.Int64: return { type: "int64" };
3437
- case apache_arrow_1.Type.Uint8: return { type: "uint8" };
3438
- case apache_arrow_1.Type.Uint16: return { type: "uint16" };
3439
- case apache_arrow_1.Type.Uint32: return { type: "uint32" };
3440
- case apache_arrow_1.Type.Uint64: return { type: "uint64" };
3441
- case apache_arrow_1.Type.Int: {
3438
+ case apache_arrow_1$1.Type.Null: return { type: "null" };
3439
+ case apache_arrow_1$1.Type.Bool: return { type: "bool" };
3440
+ case apache_arrow_1$1.Type.Int8: return { type: "int8" };
3441
+ case apache_arrow_1$1.Type.Int16: return { type: "int16" };
3442
+ case apache_arrow_1$1.Type.Int32: return { type: "int32" };
3443
+ case apache_arrow_1$1.Type.Int64: return { type: "int64" };
3444
+ case apache_arrow_1$1.Type.Uint8: return { type: "uint8" };
3445
+ case apache_arrow_1$1.Type.Uint16: return { type: "uint16" };
3446
+ case apache_arrow_1$1.Type.Uint32: return { type: "uint32" };
3447
+ case apache_arrow_1$1.Type.Uint64: return { type: "uint64" };
3448
+ case apache_arrow_1$1.Type.Int: {
3442
3449
  const bitWidth = dataType.bitWidth;
3443
3450
  return { type: `${dataType.isSigned ? "" : "u"}int${bitWidth}` };
3444
3451
  }
3445
- case apache_arrow_1.Type.Float:
3452
+ case apache_arrow_1$1.Type.Float:
3446
3453
  switch (dataType.precision) {
3447
- case apache_arrow_1.Precision.HALF: return { type: "halffloat" };
3448
- case apache_arrow_1.Precision.SINGLE: return { type: "float" };
3449
- case apache_arrow_1.Precision.DOUBLE: return { type: "double" };
3454
+ case apache_arrow_1$1.Precision.HALF: return { type: "halffloat" };
3455
+ case apache_arrow_1$1.Precision.SINGLE: return { type: "float" };
3456
+ case apache_arrow_1$1.Precision.DOUBLE: return { type: "double" };
3450
3457
  }
3451
3458
  throw Error("Unsupported float precision");
3452
- case apache_arrow_1.Type.Float16: return { type: "halffloat" };
3453
- case apache_arrow_1.Type.Float32: return { type: "float" };
3454
- case apache_arrow_1.Type.Float64: return { type: "double" };
3455
- case apache_arrow_1.Type.Utf8: return { type: "string" };
3456
- case apache_arrow_1.Type.Binary: return { type: "binary" };
3457
- case apache_arrow_1.Type.LargeUtf8: return { type: "large_string" };
3458
- case apache_arrow_1.Type.LargeBinary: return { type: "large_binary" };
3459
- case apache_arrow_1.Type.List: return {
3459
+ case apache_arrow_1$1.Type.Float16: return { type: "halffloat" };
3460
+ case apache_arrow_1$1.Type.Float32: return { type: "float" };
3461
+ case apache_arrow_1$1.Type.Float64: return { type: "double" };
3462
+ case apache_arrow_1$1.Type.Utf8: return { type: "string" };
3463
+ case apache_arrow_1$1.Type.Binary: return { type: "binary" };
3464
+ case apache_arrow_1$1.Type.LargeUtf8: return { type: "large_string" };
3465
+ case apache_arrow_1$1.Type.LargeBinary: return { type: "large_binary" };
3466
+ case apache_arrow_1$1.Type.List: return {
3460
3467
  type: "list",
3461
3468
  fields: [fieldToJson(dataType.children[0])]
3462
3469
  };
3463
- case apache_arrow_1.Type.FixedSizeList: {
3470
+ case apache_arrow_1$1.Type.FixedSizeList: {
3464
3471
  const fixedSizeList = dataType;
3465
3472
  return {
3466
3473
  type: "fixed_size_list",
@@ -3468,23 +3475,23 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3468
3475
  length: fixedSizeList.listSize
3469
3476
  };
3470
3477
  }
3471
- case apache_arrow_1.Type.Struct: return {
3478
+ case apache_arrow_1$1.Type.Struct: return {
3472
3479
  type: "struct",
3473
3480
  fields: dataType.children.map(fieldToJson)
3474
3481
  };
3475
- case apache_arrow_1.Type.Date: return { type: dataType.unit === apache_arrow_1.DateUnit.DAY ? "date32:day" : "date64:ms" };
3476
- case apache_arrow_1.Type.Timestamp: {
3482
+ case apache_arrow_1$1.Type.Date: return { type: dataType.unit === apache_arrow_1$1.DateUnit.DAY ? "date32:day" : "date64:ms" };
3483
+ case apache_arrow_1$1.Type.Timestamp: {
3477
3484
  const timestamp = dataType;
3478
3485
  const timezone = timestamp.timezone || "-";
3479
3486
  return { type: `timestamp:${timestamp.unit}:${timezone}` };
3480
3487
  }
3481
- case apache_arrow_1.Type.Decimal: {
3488
+ case apache_arrow_1$1.Type.Decimal: {
3482
3489
  const decimal = dataType;
3483
3490
  return { type: `decimal:${decimal.bitWidth}:${decimal.precision}:${decimal.scale}` };
3484
3491
  }
3485
- case apache_arrow_1.Type.Duration: return { type: `duration:${dataType.unit}` };
3486
- case apache_arrow_1.Type.FixedSizeBinary: return { type: `fixed_size_binary:${dataType.byteWidth}` };
3487
- case apache_arrow_1.Type.Dictionary: {
3492
+ case apache_arrow_1$1.Type.Duration: return { type: `duration:${dataType.unit}` };
3493
+ case apache_arrow_1$1.Type.FixedSizeBinary: return { type: `fixed_size_binary:${dataType.byteWidth}` };
3494
+ case apache_arrow_1$1.Type.Dictionary: {
3488
3495
  const dict = dataType;
3489
3496
  const indexType = dataTypeToJson(dict.indices);
3490
3497
  return { type: `dict:${dataTypeToJson(dict.valueType).type}:${indexType.type}:false` };
@@ -3506,32 +3513,33 @@ var require_arrow = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) =>
3506
3513
  const alignedColumns = {};
3507
3514
  for (const field of targetSchema.fields) if (existingColumns.has(field.name)) alignedColumns[field.name] = existingColumns.get(field.name);
3508
3515
  else alignedColumns[field.name] = createNullVector(field, table.numRows);
3509
- return new apache_arrow_1.Table(targetSchema, alignedColumns);
3516
+ return new apache_arrow_1$1.Table(targetSchema, alignedColumns);
3510
3517
  }
3511
3518
  function createNullVector(field, numRows) {
3512
3519
  if (field.type.constructor.name === "Struct") {
3513
3520
  const structType = field.type;
3514
3521
  const childVectors = structType.children.map((childField) => createNullVector(childField, numRows));
3515
- const structData = (0, apache_arrow_1.makeData)({
3522
+ const structData = (0, apache_arrow_1$1.makeData)({
3516
3523
  type: structType,
3517
3524
  length: numRows,
3518
3525
  nullCount: 0,
3519
3526
  children: childVectors.map((v) => v.data[0])
3520
3527
  });
3521
- return (0, apache_arrow_1.makeVector)(structData);
3528
+ return (0, apache_arrow_1$1.makeVector)(structData);
3522
3529
  } else {
3523
3530
  const nullBitmap = new Uint8Array(Math.ceil(numRows / 8));
3524
- const data = (0, apache_arrow_1.makeData)({
3531
+ const data = (0, apache_arrow_1$1.makeData)({
3525
3532
  type: field.type,
3526
3533
  length: numRows,
3527
3534
  nullCount: numRows,
3528
3535
  nullBitmap
3529
3536
  });
3530
- return (0, apache_arrow_1.makeVector)(data);
3537
+ return (0, apache_arrow_1$1.makeVector)(data);
3531
3538
  }
3532
3539
  }
3533
3540
  }));
3534
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/job.js
3541
+ //#endregion
3542
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/job.js
3535
3543
  var require_job = /* @__PURE__ */ __commonJSMin(((exports) => {
3536
3544
  Object.defineProperty(exports, "__esModule", { value: true });
3537
3545
  exports.Job = void 0;
@@ -3670,7 +3678,8 @@ var require_job = /* @__PURE__ */ __commonJSMin(((exports) => {
3670
3678
  return raw === null || raw === void 0 ? null : JSON.parse(raw);
3671
3679
  }
3672
3680
  }));
3673
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/materialized_view.js
3681
+ //#endregion
3682
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/materialized_view.js
3674
3683
  var require_materialized_view = /* @__PURE__ */ __commonJSMin(((exports) => {
3675
3684
  Object.defineProperty(exports, "__esModule", { value: true });
3676
3685
  exports.MaterializedView = exports.DEFINITION_META_KEY = void 0;
@@ -3761,7 +3770,8 @@ var require_materialized_view = /* @__PURE__ */ __commonJSMin(((exports) => {
3761
3770
  };
3762
3771
  exports.MaterializedView = MaterializedView;
3763
3772
  }));
3764
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/merge.js
3773
+ //#endregion
3774
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/merge.js
3765
3775
  var require_merge = /* @__PURE__ */ __commonJSMin(((exports) => {
3766
3776
  Object.defineProperty(exports, "__esModule", { value: true });
3767
3777
  exports.MergeInsertBuilder = void 0;
@@ -3874,7 +3884,8 @@ var require_merge = /* @__PURE__ */ __commonJSMin(((exports) => {
3874
3884
  }
3875
3885
  };
3876
3886
  }));
3877
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/query.js
3887
+ //#endregion
3888
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/query.js
3878
3889
  var require_query = /* @__PURE__ */ __commonJSMin(((exports) => {
3879
3890
  Object.defineProperty(exports, "__esModule", { value: true });
3880
3891
  exports.BooleanQuery = exports.MultiMatchQuery = exports.BoostQuery = exports.PhraseQuery = exports.MatchQuery = exports.Occur = exports.Operator = exports.FullTextQueryType = exports.Query = exports.AutoQuery = exports.TakeQuery = exports.VectorQuery = exports.StandardQueryBase = exports.QueryBase = void 0;
@@ -4759,7 +4770,8 @@ var require_query = /* @__PURE__ */ __commonJSMin(((exports) => {
4759
4770
  };
4760
4771
  exports.BooleanQuery = BooleanQuery;
4761
4772
  }));
4762
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/util.js
4773
+ //#endregion
4774
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/util.js
4763
4775
  var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
4764
4776
  Object.defineProperty(exports, "__esModule", { value: true });
4765
4777
  exports.TTLCache = void 0;
@@ -4816,7 +4828,8 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
4816
4828
  };
4817
4829
  exports.TTLCache = TTLCache;
4818
4830
  }));
4819
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/table.js
4831
+ //#endregion
4832
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/table.js
4820
4833
  var require_table = /* @__PURE__ */ __commonJSMin(((exports) => {
4821
4834
  Object.defineProperty(exports, "__esModule", { value: true });
4822
4835
  exports.Branches = exports.LocalTable = exports.Table = void 0;
@@ -5239,7 +5252,8 @@ var require_table = /* @__PURE__ */ __commonJSMin(((exports) => {
5239
5252
  });
5240
5253
  }
5241
5254
  }));
5242
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/connection.js
5255
+ //#endregion
5256
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/connection.js
5243
5257
  var require_connection = /* @__PURE__ */ __commonJSMin(((exports) => {
5244
5258
  Object.defineProperty(exports, "__esModule", { value: true });
5245
5259
  exports.LocalConnection = exports.Connection = void 0;
@@ -5470,12 +5484,14 @@ var require_connection = /* @__PURE__ */ __commonJSMin(((exports) => {
5470
5484
  };
5471
5485
  }
5472
5486
  }));
5473
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/version.js
5487
+ //#endregion
5488
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/version.js
5474
5489
  var VERSION;
5475
5490
  var init_version = __esmMin((() => {
5476
5491
  VERSION = "1.9.1";
5477
5492
  }));
5478
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/internal/semver.js
5493
+ //#endregion
5494
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/internal/semver.js
5479
5495
  /**
5480
5496
  * Create a function to test an API version to see if it is compatible with the provided ownVersion.
5481
5497
  *
@@ -5541,7 +5557,8 @@ var init_semver = __esmMin((() => {
5541
5557
  re = /^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;
5542
5558
  isCompatible = _makeCompatibilityCheck(VERSION);
5543
5559
  }));
5544
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/internal/global-utils.js
5560
+ //#endregion
5561
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/internal/global-utils.js
5545
5562
  function registerGlobal(type, instance, diag, allowOverride = false) {
5546
5563
  var _a;
5547
5564
  const api = _global[GLOBAL_OPENTELEMETRY_API_KEY] = (_a = _global[GLOBAL_OPENTELEMETRY_API_KEY]) !== null && _a !== void 0 ? _a : { version: VERSION };
@@ -5578,7 +5595,8 @@ var init_global_utils = __esmMin((() => {
5578
5595
  GLOBAL_OPENTELEMETRY_API_KEY = Symbol.for(`opentelemetry.js.api.${major}`);
5579
5596
  _global = typeof globalThis === "object" ? globalThis : typeof self === "object" ? self : typeof window === "object" ? window : typeof global === "object" ? global : {};
5580
5597
  }));
5581
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/diag/ComponentLogger.js
5598
+ //#endregion
5599
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/diag/ComponentLogger.js
5582
5600
  function logProxy(funcName, namespace, args) {
5583
5601
  const logger = getGlobal("diag");
5584
5602
  if (!logger) return;
@@ -5608,7 +5626,8 @@ var init_ComponentLogger = __esmMin((() => {
5608
5626
  }
5609
5627
  };
5610
5628
  }));
5611
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/diag/types.js
5629
+ //#endregion
5630
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/diag/types.js
5612
5631
  var DiagLogLevel;
5613
5632
  var init_types = __esmMin((() => {
5614
5633
  (function(DiagLogLevel) {
@@ -5631,7 +5650,8 @@ var init_types = __esmMin((() => {
5631
5650
  DiagLogLevel[DiagLogLevel["ALL"] = 9999] = "ALL";
5632
5651
  })(DiagLogLevel || (DiagLogLevel = {}));
5633
5652
  }));
5634
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/diag/internal/logLevelLogger.js
5653
+ //#endregion
5654
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/diag/internal/logLevelLogger.js
5635
5655
  function createLogLevelDiagLogger(maxLevel, logger) {
5636
5656
  if (maxLevel < DiagLogLevel.NONE) maxLevel = DiagLogLevel.NONE;
5637
5657
  else if (maxLevel > DiagLogLevel.ALL) maxLevel = DiagLogLevel.ALL;
@@ -5652,7 +5672,8 @@ function createLogLevelDiagLogger(maxLevel, logger) {
5652
5672
  var init_logLevelLogger = __esmMin((() => {
5653
5673
  init_types();
5654
5674
  }));
5655
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/diag.js
5675
+ //#endregion
5676
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/diag.js
5656
5677
  var API_NAME$4, DiagAPI;
5657
5678
  var init_diag = __esmMin((() => {
5658
5679
  init_ComponentLogger();
@@ -5711,7 +5732,8 @@ var init_diag = __esmMin((() => {
5711
5732
  }
5712
5733
  };
5713
5734
  }));
5714
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.js
5735
+ //#endregion
5736
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.js
5715
5737
  var BaggageImpl;
5716
5738
  var init_baggage_impl = __esmMin((() => {
5717
5739
  BaggageImpl = class BaggageImpl {
@@ -5746,12 +5768,14 @@ var init_baggage_impl = __esmMin((() => {
5746
5768
  }
5747
5769
  };
5748
5770
  }));
5749
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.js
5771
+ //#endregion
5772
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.js
5750
5773
  var baggageEntryMetadataSymbol;
5751
5774
  var init_symbol = __esmMin((() => {
5752
5775
  baggageEntryMetadataSymbol = Symbol("BaggageEntryMetadata");
5753
5776
  }));
5754
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/baggage/utils.js
5777
+ //#endregion
5778
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/baggage/utils.js
5755
5779
  /**
5756
5780
  * Create a new Baggage with optional entries
5757
5781
  *
@@ -5786,7 +5810,8 @@ var init_utils$1 = __esmMin((() => {
5786
5810
  init_symbol();
5787
5811
  diag$1 = DiagAPI.instance();
5788
5812
  }));
5789
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/context/context.js
5813
+ //#endregion
5814
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/context/context.js
5790
5815
  /**
5791
5816
  * Get a key to uniquely identify a context value
5792
5817
  *
@@ -5821,7 +5846,8 @@ var init_context$1 = __esmMin((() => {
5821
5846
  };
5822
5847
  ROOT_CONTEXT = new BaseContext();
5823
5848
  }));
5824
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/diag/consoleLogger.js
5849
+ //#endregion
5850
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/diag/consoleLogger.js
5825
5851
  var consoleMap, _originalConsoleMethods, DiagConsoleLogger;
5826
5852
  var init_consoleLogger = __esmMin((() => {
5827
5853
  consoleMap = [
@@ -5874,7 +5900,8 @@ var init_consoleLogger = __esmMin((() => {
5874
5900
  }
5875
5901
  };
5876
5902
  }));
5877
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeter.js
5903
+ //#endregion
5904
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeter.js
5878
5905
  /**
5879
5906
  * Create a no-op Meter
5880
5907
  *
@@ -5967,7 +5994,8 @@ var init_NoopMeter = __esmMin((() => {
5967
5994
  NOOP_OBSERVABLE_GAUGE_METRIC = new NoopObservableGaugeMetric();
5968
5995
  NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC = new NoopObservableUpDownCounterMetric();
5969
5996
  }));
5970
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/metrics/Metric.js
5997
+ //#endregion
5998
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/metrics/Metric.js
5971
5999
  var ValueType;
5972
6000
  var init_Metric = __esmMin((() => {
5973
6001
  (function(ValueType) {
@@ -5975,7 +6003,8 @@ var init_Metric = __esmMin((() => {
5975
6003
  ValueType[ValueType["DOUBLE"] = 1] = "DOUBLE";
5976
6004
  })(ValueType || (ValueType = {}));
5977
6005
  }));
5978
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/propagation/TextMapPropagator.js
6006
+ //#endregion
6007
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/propagation/TextMapPropagator.js
5979
6008
  var defaultTextMapGetter, defaultTextMapSetter;
5980
6009
  var init_TextMapPropagator = __esmMin((() => {
5981
6010
  defaultTextMapGetter = {
@@ -5993,7 +6022,8 @@ var init_TextMapPropagator = __esmMin((() => {
5993
6022
  carrier[key] = value;
5994
6023
  } };
5995
6024
  }));
5996
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/context/NoopContextManager.js
6025
+ //#endregion
6026
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/context/NoopContextManager.js
5997
6027
  var NoopContextManager;
5998
6028
  var init_NoopContextManager = __esmMin((() => {
5999
6029
  init_context$1();
@@ -6015,7 +6045,8 @@ var init_NoopContextManager = __esmMin((() => {
6015
6045
  }
6016
6046
  };
6017
6047
  }));
6018
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/context.js
6048
+ //#endregion
6049
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/context.js
6019
6050
  var API_NAME$3, NOOP_CONTEXT_MANAGER, ContextAPI;
6020
6051
  var init_context = __esmMin((() => {
6021
6052
  init_NoopContextManager();
@@ -6075,7 +6106,8 @@ var init_context = __esmMin((() => {
6075
6106
  }
6076
6107
  };
6077
6108
  }));
6078
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/trace_flags.js
6109
+ //#endregion
6110
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/trace_flags.js
6079
6111
  var TraceFlags;
6080
6112
  var init_trace_flags = __esmMin((() => {
6081
6113
  (function(TraceFlags) {
@@ -6085,7 +6117,8 @@ var init_trace_flags = __esmMin((() => {
6085
6117
  TraceFlags[TraceFlags["SAMPLED"] = 1] = "SAMPLED";
6086
6118
  })(TraceFlags || (TraceFlags = {}));
6087
6119
  }));
6088
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/invalid-span-constants.js
6120
+ //#endregion
6121
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/invalid-span-constants.js
6089
6122
  var INVALID_SPANID, INVALID_TRACEID, INVALID_SPAN_CONTEXT;
6090
6123
  var init_invalid_span_constants = __esmMin((() => {
6091
6124
  init_trace_flags();
@@ -6097,7 +6130,8 @@ var init_invalid_span_constants = __esmMin((() => {
6097
6130
  traceFlags: TraceFlags.NONE
6098
6131
  };
6099
6132
  }));
6100
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/NonRecordingSpan.js
6133
+ //#endregion
6134
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/NonRecordingSpan.js
6101
6135
  var NonRecordingSpan;
6102
6136
  var init_NonRecordingSpan = __esmMin((() => {
6103
6137
  init_invalid_span_constants();
@@ -6136,7 +6170,8 @@ var init_NonRecordingSpan = __esmMin((() => {
6136
6170
  recordException(_exception, _time) {}
6137
6171
  };
6138
6172
  }));
6139
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/context-utils.js
6173
+ //#endregion
6174
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/context-utils.js
6140
6175
  /**
6141
6176
  * Return the span if one exists
6142
6177
  *
@@ -6194,7 +6229,8 @@ var init_context_utils = __esmMin((() => {
6194
6229
  init_context();
6195
6230
  SPAN_KEY = createContextKey("OpenTelemetry Context Key SPAN");
6196
6231
  }));
6197
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/spancontext-utils.js
6232
+ //#endregion
6233
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/spancontext-utils.js
6198
6234
  function isValidHex(id, length) {
6199
6235
  if (typeof id !== "string" || id.length !== length) return false;
6200
6236
  let r = 0;
@@ -6341,7 +6377,8 @@ var init_spancontext_utils = __esmMin((() => {
6341
6377
  1
6342
6378
  ]);
6343
6379
  }));
6344
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/NoopTracer.js
6380
+ //#endregion
6381
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/NoopTracer.js
6345
6382
  function isSpanContext(spanContext) {
6346
6383
  return spanContext !== null && typeof spanContext === "object" && "spanId" in spanContext && typeof spanContext["spanId"] === "string" && "traceId" in spanContext && typeof spanContext["traceId"] === "string" && "traceFlags" in spanContext && typeof spanContext["traceFlags"] === "number";
6347
6384
  }
@@ -6380,7 +6417,8 @@ var init_NoopTracer = __esmMin((() => {
6380
6417
  }
6381
6418
  };
6382
6419
  }));
6383
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracer.js
6420
+ //#endregion
6421
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracer.js
6384
6422
  var NOOP_TRACER, ProxyTracer;
6385
6423
  var init_ProxyTracer = __esmMin((() => {
6386
6424
  init_NoopTracer();
@@ -6412,7 +6450,8 @@ var init_ProxyTracer = __esmMin((() => {
6412
6450
  }
6413
6451
  };
6414
6452
  }));
6415
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/NoopTracerProvider.js
6453
+ //#endregion
6454
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/NoopTracerProvider.js
6416
6455
  var NoopTracerProvider;
6417
6456
  var init_NoopTracerProvider = __esmMin((() => {
6418
6457
  init_NoopTracer();
@@ -6422,7 +6461,8 @@ var init_NoopTracerProvider = __esmMin((() => {
6422
6461
  }
6423
6462
  };
6424
6463
  }));
6425
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracerProvider.js
6464
+ //#endregion
6465
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracerProvider.js
6426
6466
  var NOOP_TRACER_PROVIDER, ProxyTracerProvider;
6427
6467
  var init_ProxyTracerProvider = __esmMin((() => {
6428
6468
  init_ProxyTracer();
@@ -6452,7 +6492,8 @@ var init_ProxyTracerProvider = __esmMin((() => {
6452
6492
  }
6453
6493
  };
6454
6494
  }));
6455
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/SamplingResult.js
6495
+ //#endregion
6496
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/SamplingResult.js
6456
6497
  var SamplingDecision;
6457
6498
  var init_SamplingResult = __esmMin((() => {
6458
6499
  (function(SamplingDecision) {
@@ -6473,7 +6514,8 @@ var init_SamplingResult = __esmMin((() => {
6473
6514
  SamplingDecision[SamplingDecision["RECORD_AND_SAMPLED"] = 2] = "RECORD_AND_SAMPLED";
6474
6515
  })(SamplingDecision || (SamplingDecision = {}));
6475
6516
  }));
6476
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/span_kind.js
6517
+ //#endregion
6518
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/span_kind.js
6477
6519
  var SpanKind;
6478
6520
  var init_span_kind = __esmMin((() => {
6479
6521
  (function(SpanKind) {
@@ -6503,7 +6545,8 @@ var init_span_kind = __esmMin((() => {
6503
6545
  SpanKind[SpanKind["CONSUMER"] = 4] = "CONSUMER";
6504
6546
  })(SpanKind || (SpanKind = {}));
6505
6547
  }));
6506
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/status.js
6548
+ //#endregion
6549
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/status.js
6507
6550
  var SpanStatusCode;
6508
6551
  var init_status = __esmMin((() => {
6509
6552
  (function(SpanStatusCode) {
@@ -6522,7 +6565,8 @@ var init_status = __esmMin((() => {
6522
6565
  SpanStatusCode[SpanStatusCode["ERROR"] = 2] = "ERROR";
6523
6566
  })(SpanStatusCode || (SpanStatusCode = {}));
6524
6567
  }));
6525
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-validators.js
6568
+ //#endregion
6569
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-validators.js
6526
6570
  /**
6527
6571
  * Key is opaque string up to 256 characters printable. It MUST begin with a
6528
6572
  * lowercase letter, and can only contain lowercase letters a-z, digits 0-9,
@@ -6548,7 +6592,8 @@ var init_tracestate_validators = __esmMin((() => {
6548
6592
  VALID_VALUE_BASE_REGEX = /^[ -~]{0,255}[!-~]$/;
6549
6593
  INVALID_VALUE_COMMA_EQUAL_REGEX = /,|=/;
6550
6594
  }));
6551
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-impl.js
6595
+ //#endregion
6596
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-impl.js
6552
6597
  var MAX_TRACE_STATE_ITEMS, MAX_TRACE_STATE_LEN, LIST_MEMBERS_SEPARATOR, LIST_MEMBER_KEY_VALUE_SPLITTER, TraceStateImpl;
6553
6598
  var init_tracestate_impl = __esmMin((() => {
6554
6599
  init_tracestate_validators();
@@ -6605,7 +6650,8 @@ var init_tracestate_impl = __esmMin((() => {
6605
6650
  }
6606
6651
  };
6607
6652
  }));
6608
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/internal/utils.js
6653
+ //#endregion
6654
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/internal/utils.js
6609
6655
  /**
6610
6656
  * @since 1.1.0
6611
6657
  */
@@ -6615,19 +6661,22 @@ function createTraceState(rawTraceState) {
6615
6661
  var init_utils = __esmMin((() => {
6616
6662
  init_tracestate_impl();
6617
6663
  }));
6618
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/context-api.js
6664
+ //#endregion
6665
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/context-api.js
6619
6666
  var context;
6620
6667
  var init_context_api = __esmMin((() => {
6621
6668
  init_context();
6622
6669
  context = ContextAPI.getInstance();
6623
6670
  }));
6624
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/diag-api.js
6671
+ //#endregion
6672
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/diag-api.js
6625
6673
  var diag;
6626
6674
  var init_diag_api = __esmMin((() => {
6627
6675
  init_diag();
6628
6676
  diag = DiagAPI.instance();
6629
6677
  }));
6630
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeterProvider.js
6678
+ //#endregion
6679
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeterProvider.js
6631
6680
  var NoopMeterProvider, NOOP_METER_PROVIDER;
6632
6681
  var init_NoopMeterProvider = __esmMin((() => {
6633
6682
  init_NoopMeter();
@@ -6638,7 +6687,8 @@ var init_NoopMeterProvider = __esmMin((() => {
6638
6687
  };
6639
6688
  NOOP_METER_PROVIDER = new NoopMeterProvider();
6640
6689
  }));
6641
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/metrics.js
6690
+ //#endregion
6691
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/metrics.js
6642
6692
  var API_NAME$2, MetricsAPI;
6643
6693
  var init_metrics = __esmMin((() => {
6644
6694
  init_NoopMeterProvider();
@@ -6678,13 +6728,15 @@ var init_metrics = __esmMin((() => {
6678
6728
  }
6679
6729
  };
6680
6730
  }));
6681
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/metrics-api.js
6731
+ //#endregion
6732
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/metrics-api.js
6682
6733
  var metrics;
6683
6734
  var init_metrics_api = __esmMin((() => {
6684
6735
  init_metrics();
6685
6736
  metrics = MetricsAPI.getInstance();
6686
6737
  }));
6687
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/propagation/NoopTextMapPropagator.js
6738
+ //#endregion
6739
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/propagation/NoopTextMapPropagator.js
6688
6740
  var NoopTextMapPropagator;
6689
6741
  var init_NoopTextMapPropagator = __esmMin((() => {
6690
6742
  NoopTextMapPropagator = class {
@@ -6699,7 +6751,8 @@ var init_NoopTextMapPropagator = __esmMin((() => {
6699
6751
  }
6700
6752
  };
6701
6753
  }));
6702
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/baggage/context-helpers.js
6754
+ //#endregion
6755
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/baggage/context-helpers.js
6703
6756
  /**
6704
6757
  * Retrieve the current baggage from the given context
6705
6758
  *
@@ -6740,7 +6793,8 @@ var init_context_helpers = __esmMin((() => {
6740
6793
  init_context$1();
6741
6794
  BAGGAGE_KEY = createContextKey("OpenTelemetry Baggage Key");
6742
6795
  }));
6743
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/propagation.js
6796
+ //#endregion
6797
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/propagation.js
6744
6798
  var API_NAME$1, NOOP_TEXT_MAP_PROPAGATOR, PropagationAPI;
6745
6799
  var init_propagation = __esmMin((() => {
6746
6800
  init_global_utils();
@@ -6808,13 +6862,15 @@ var init_propagation = __esmMin((() => {
6808
6862
  }
6809
6863
  };
6810
6864
  }));
6811
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/propagation-api.js
6865
+ //#endregion
6866
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/propagation-api.js
6812
6867
  var propagation;
6813
6868
  var init_propagation_api = __esmMin((() => {
6814
6869
  init_propagation();
6815
6870
  propagation = PropagationAPI.getInstance();
6816
6871
  }));
6817
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/trace.js
6872
+ //#endregion
6873
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/trace.js
6818
6874
  var API_NAME, TraceAPI;
6819
6875
  var init_trace = __esmMin((() => {
6820
6876
  init_global_utils();
@@ -6870,13 +6926,15 @@ var init_trace = __esmMin((() => {
6870
6926
  }
6871
6927
  };
6872
6928
  }));
6873
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace-api.js
6929
+ //#endregion
6930
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace-api.js
6874
6931
  var trace;
6875
6932
  var init_trace_api = __esmMin((() => {
6876
6933
  init_trace();
6877
6934
  trace = TraceAPI.getInstance();
6878
6935
  }));
6879
- // node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/index.js
6936
+ //#endregion
6937
+ //#region node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/index.js
6880
6938
  var esm_exports = /* @__PURE__ */ __exportAll({
6881
6939
  DiagConsoleLogger: () => DiagConsoleLogger,
6882
6940
  DiagLogLevel: () => DiagLogLevel,
@@ -6938,7 +6996,8 @@ var init_esm = __esmMin((() => {
6938
6996
  trace
6939
6997
  };
6940
6998
  }));
6941
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/otel.js
6999
+ //#endregion
7000
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/otel.js
6942
7001
  var require_otel = /* @__PURE__ */ __commonJSMin(((exports) => {
6943
7002
  Object.defineProperty(exports, "__esModule", { value: true });
6944
7003
  exports.instrumentLanceDbMetrics = instrumentLanceDbMetrics;
@@ -7021,7 +7080,8 @@ var require_otel = /* @__PURE__ */ __commonJSMin(((exports) => {
7021
7080
  return true;
7022
7081
  }
7023
7082
  }));
7024
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/indices.js
7083
+ //#endregion
7084
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/indices.js
7025
7085
  var require_indices = /* @__PURE__ */ __commonJSMin(((exports) => {
7026
7086
  Object.defineProperty(exports, "__esModule", { value: true });
7027
7087
  exports.Index = void 0;
@@ -7186,7 +7246,8 @@ var require_indices = /* @__PURE__ */ __commonJSMin(((exports) => {
7186
7246
  }
7187
7247
  };
7188
7248
  }));
7189
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/header.js
7249
+ //#endregion
7250
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/header.js
7190
7251
  var require_header = /* @__PURE__ */ __commonJSMin(((exports) => {
7191
7252
  Object.defineProperty(exports, "__esModule", { value: true });
7192
7253
  exports.OAuthHeaderProvider = exports.StaticHeaderProvider = exports.HeaderProvider = void 0;
@@ -7375,7 +7436,8 @@ var require_header = /* @__PURE__ */ __commonJSMin(((exports) => {
7375
7436
  };
7376
7437
  exports.OAuthHeaderProvider = OAuthHeaderProvider;
7377
7438
  }));
7378
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/oauth.js
7439
+ //#endregion
7440
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/oauth.js
7379
7441
  var require_oauth = /* @__PURE__ */ __commonJSMin(((exports) => {
7380
7442
  Object.defineProperty(exports, "__esModule", { value: true });
7381
7443
  exports.OAuthFlowType = void 0;
@@ -7390,7 +7452,8 @@ var require_oauth = /* @__PURE__ */ __commonJSMin(((exports) => {
7390
7452
  OAuthFlowType["AzureManagedIdentity"] = "azure_managed_identity";
7391
7453
  })(OAuthFlowType || (exports.OAuthFlowType = OAuthFlowType = {}));
7392
7454
  }));
7393
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/embedding/embedding_function.js
7455
+ //#endregion
7456
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/embedding/embedding_function.js
7394
7457
  var require_embedding_function = /* @__PURE__ */ __commonJSMin(((exports) => {
7395
7458
  Object.defineProperty(exports, "__esModule", { value: true });
7396
7459
  exports.TextEmbeddingFunction = exports.EmbeddingFunction = void 0;
@@ -7537,7 +7600,8 @@ var require_embedding_function = /* @__PURE__ */ __commonJSMin(((exports) => {
7537
7600
  };
7538
7601
  exports.TextEmbeddingFunction = TextEmbeddingFunction;
7539
7602
  }));
7540
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/embedding/openai.js
7603
+ //#endregion
7604
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/embedding/openai.js
7541
7605
  var require_openai = /* @__PURE__ */ __commonJSMin(((exports) => {
7542
7606
  Object.defineProperty(exports, "__esModule", { value: true });
7543
7607
  exports.OpenAIEmbeddingFunction = void 0;
@@ -7600,7 +7664,8 @@ var require_openai = /* @__PURE__ */ __commonJSMin(((exports) => {
7600
7664
  exports.OpenAIEmbeddingFunction = OpenAIEmbeddingFunction;
7601
7665
  (0, registry_1.registerBuiltIn)("openai", OpenAIEmbeddingFunction);
7602
7666
  }));
7603
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/embedding/transformers.js
7667
+ //#endregion
7668
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/embedding/transformers.js
7604
7669
  var require_transformers = /* @__PURE__ */ __commonJSMin(((exports) => {
7605
7670
  Object.defineProperty(exports, "__esModule", { value: true });
7606
7671
  exports.TransformersEmbeddingFunction = void 0;
@@ -7686,7 +7751,8 @@ var require_transformers = /* @__PURE__ */ __commonJSMin(((exports) => {
7686
7751
  return src;
7687
7752
  };
7688
7753
  }));
7689
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/embedding/index.js
7754
+ //#endregion
7755
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/embedding/index.js
7690
7756
  var require_embedding = /* @__PURE__ */ __commonJSMin(((exports) => {
7691
7757
  Object.defineProperty(exports, "__esModule", { value: true });
7692
7758
  exports.register = exports.parseEmbeddingMetadata = exports.EmbeddingFunctionRegistry = exports.TextEmbeddingFunction = exports.EmbeddingFunction = void 0;
@@ -7805,7 +7871,8 @@ var require_embedding = /* @__PURE__ */ __commonJSMin(((exports) => {
7805
7871
  }
7806
7872
  }
7807
7873
  }));
7808
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/permutation.js
7874
+ //#endregion
7875
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/permutation.js
7809
7876
  var require_permutation = /* @__PURE__ */ __commonJSMin(((exports) => {
7810
7877
  Object.defineProperty(exports, "__esModule", { value: true });
7811
7878
  exports.PermutationBuilder = void 0;
@@ -7984,7 +8051,8 @@ var require_permutation = /* @__PURE__ */ __commonJSMin(((exports) => {
7984
8051
  return new PermutationBuilder((0, native_js_1.permutationBuilder)(localTable.inner));
7985
8052
  }
7986
8053
  }));
7987
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/scannable.js
8054
+ //#endregion
8055
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/scannable.js
7988
8056
  var require_scannable = /* @__PURE__ */ __commonJSMin(((exports) => {
7989
8057
  Object.defineProperty(exports, "__esModule", { value: true });
7990
8058
  exports.Scannable = void 0;
@@ -8118,7 +8186,8 @@ var require_scannable = /* @__PURE__ */ __commonJSMin(((exports) => {
8118
8186
  return false;
8119
8187
  }
8120
8188
  }));
8121
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/rerankers/rrf.js
8189
+ //#endregion
8190
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/rerankers/rrf.js
8122
8191
  var require_rrf = /* @__PURE__ */ __commonJSMin(((exports) => {
8123
8192
  Object.defineProperty(exports, "__esModule", { value: true });
8124
8193
  exports.RRFReranker = void 0;
@@ -8139,9 +8208,10 @@ var require_rrf = /* @__PURE__ */ __commonJSMin(((exports) => {
8139
8208
  }
8140
8209
  };
8141
8210
  }));
8142
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/rerankers/index.js
8143
- var require_rerankers = /* @__PURE__ */ __commonJSMin(((exports, module, this$1) => {
8144
- var __createBinding = this$1 && this$1.__createBinding || (Object.create ? (function(o, m, k, k2) {
8211
+ //#endregion
8212
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/rerankers/index.js
8213
+ var require_rerankers = /* @__PURE__ */ __commonJSMin(((exports) => {
8214
+ var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
8145
8215
  if (k2 === void 0) k2 = k;
8146
8216
  var desc = Object.getOwnPropertyDescriptor(m, k);
8147
8217
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
@@ -8155,13 +8225,14 @@ var require_rerankers = /* @__PURE__ */ __commonJSMin(((exports, module, this$1)
8155
8225
  if (k2 === void 0) k2 = k;
8156
8226
  o[k2] = m[k];
8157
8227
  }));
8158
- var __exportStar = this$1 && this$1.__exportStar || function(m, exports) {
8159
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
8228
+ var __exportStar = exports && exports.__exportStar || function(m, exports$1) {
8229
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$1, p)) __createBinding(exports$1, m, p);
8160
8230
  };
8161
8231
  Object.defineProperty(exports, "__esModule", { value: true });
8162
8232
  __exportStar(require_rrf(), exports);
8163
8233
  }));
8164
- // node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/index.js
8234
+ //#endregion
8235
+ //#region node_modules/.pnpm/@lancedb+lancedb@0.39.0_@types+node@26.6.4_apache-arrow@21.2.0/node_modules/@lancedb/lancedb/dist/index.js
8165
8236
  var require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {
8166
8237
  Object.defineProperty(exports, "__esModule", { value: true });
8167
8238
  exports.packBits = exports.rerankers = exports.Scannable = exports.PermutationBuilder = exports.permutationBuilder = exports.embedding = exports.MergeInsertBuilder = exports.OAuthFlowType = exports.OAuthHeaderProvider = exports.StaticHeaderProvider = exports.HeaderProvider = exports.Branches = exports.Table = exports.Index = exports.Occur = exports.Operator = exports.FullTextQueryType = exports.BooleanQuery = exports.MultiMatchQuery = exports.BoostQuery = exports.PhraseQuery = exports.MatchQuery = exports.RecordBatchIterator = exports.TakeQuery = exports.VectorQuery = exports.QueryBase = exports.Query = exports.AutoQuery = exports.Job = exports.Session = exports.Connection = exports.BlobFile = exports.isBlobField = exports.blob = exports.VectorColumnOptions = exports.MakeArrowTableOptions = exports.makeArrowTable = exports.BranchContents = exports.TagContents = exports.Tags = exports.instrumentLanceDbMetrics = exports.NativeJsHeaderProvider = exports.MaterializedView = void 0;
@@ -8500,5 +8571,6 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {
8500
8571
  return new connection_1.LocalConnection(nativeConn);
8501
8572
  }
8502
8573
  }));
8574
+ //#endregion
8503
8575
  export default require_dist();
8504
8576
  export {};