@lincoln504/pi-research 1.7.17 → 1.7.19

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.
Files changed (538) hide show
  1. package/README.md +8 -3
  2. package/agent-skill/pi-research/SKILL.md +1 -1
  3. package/agent-skill/pi-research/scripts/run.mjs +122 -34
  4. package/dist/cli-bin.mjs +39 -7
  5. package/dist/host-resolve-hook.mjs +37 -0
  6. package/dist/host-roots.mjs +122 -0
  7. package/dist/thread-worker.mjs +8520 -59
  8. package/docs/ARCHITECTURE.md +3 -2
  9. package/docs/CHANGELOG.md +35 -0
  10. package/docs/THIRD-PARTY-NOTICES.md +16 -2
  11. package/node_modules/@lancedb/lancedb/AGENTS.md +13 -0
  12. package/node_modules/@lancedb/lancedb/CONTRIBUTING.md +78 -0
  13. package/node_modules/@lancedb/lancedb/NODEJS_THIRD_PARTY_LICENSES.md +668 -0
  14. package/node_modules/@lancedb/lancedb/README.md +37 -0
  15. package/node_modules/@lancedb/lancedb/RUST_THIRD_PARTY_LICENSES.html +14607 -0
  16. package/node_modules/@lancedb/lancedb/dist/arrow.d.ts +312 -0
  17. package/node_modules/@lancedb/lancedb/dist/arrow.js +1242 -0
  18. package/node_modules/@lancedb/lancedb/dist/arrow_type.d.ts +9 -0
  19. package/node_modules/@lancedb/lancedb/dist/arrow_type.js +29 -0
  20. package/node_modules/@lancedb/lancedb/dist/blob.d.ts +126 -0
  21. package/node_modules/@lancedb/lancedb/dist/blob.js +219 -0
  22. package/node_modules/@lancedb/lancedb/dist/catalog.d.ts +46 -0
  23. package/node_modules/@lancedb/lancedb/dist/catalog.js +63 -0
  24. package/node_modules/@lancedb/lancedb/dist/connection.d.ts +577 -0
  25. package/node_modules/@lancedb/lancedb/dist/connection.js +316 -0
  26. package/node_modules/@lancedb/lancedb/dist/embedding/embedding_function.d.ts +103 -0
  27. package/node_modules/@lancedb/lancedb/dist/embedding/embedding_function.js +192 -0
  28. package/node_modules/@lancedb/lancedb/dist/embedding/index.d.ts +37 -0
  29. package/node_modules/@lancedb/lancedb/dist/embedding/index.js +108 -0
  30. package/node_modules/@lancedb/lancedb/dist/embedding/openai.d.ts +16 -0
  31. package/node_modules/@lancedb/lancedb/dist/embedding/openai.js +81 -0
  32. package/node_modules/@lancedb/lancedb/dist/embedding/registry.d.ts +94 -0
  33. package/node_modules/@lancedb/lancedb/dist/embedding/registry.js +221 -0
  34. package/node_modules/@lancedb/lancedb/dist/embedding/transformers.d.ts +36 -0
  35. package/node_modules/@lancedb/lancedb/dist/embedding/transformers.js +110 -0
  36. package/node_modules/@lancedb/lancedb/dist/header.d.ts +162 -0
  37. package/node_modules/@lancedb/lancedb/dist/header.js +217 -0
  38. package/node_modules/@lancedb/lancedb/dist/index.d.ts +251 -0
  39. package/node_modules/@lancedb/lancedb/dist/index.js +187 -0
  40. package/node_modules/@lancedb/lancedb/dist/indices.d.ts +721 -0
  41. package/node_modules/@lancedb/lancedb/dist/indices.js +166 -0
  42. package/node_modules/@lancedb/lancedb/dist/job.d.ts +93 -0
  43. package/node_modules/@lancedb/lancedb/dist/job.js +163 -0
  44. package/node_modules/@lancedb/lancedb/dist/materialized_view.d.ts +74 -0
  45. package/node_modules/@lancedb/lancedb/dist/materialized_view.js +150 -0
  46. package/node_modules/@lancedb/lancedb/dist/merge.d.ts +104 -0
  47. package/node_modules/@lancedb/lancedb/dist/merge.js +120 -0
  48. package/node_modules/@lancedb/lancedb/dist/native.d.ts +1466 -0
  49. package/node_modules/@lancedb/lancedb/dist/native.js +691 -0
  50. package/node_modules/@lancedb/lancedb/dist/oauth.d.ts +271 -0
  51. package/node_modules/@lancedb/lancedb/dist/oauth.js +111 -0
  52. package/node_modules/@lancedb/lancedb/dist/otel.d.ts +26 -0
  53. package/node_modules/@lancedb/lancedb/dist/otel.js +114 -0
  54. package/node_modules/@lancedb/lancedb/dist/permutation.d.ts +143 -0
  55. package/node_modules/@lancedb/lancedb/dist/permutation.js +184 -0
  56. package/node_modules/@lancedb/lancedb/dist/query.d.ts +663 -0
  57. package/node_modules/@lancedb/lancedb/dist/query.js +966 -0
  58. package/node_modules/@lancedb/lancedb/dist/rerankers/index.d.ts +5 -0
  59. package/node_modules/@lancedb/lancedb/dist/rerankers/index.js +19 -0
  60. package/node_modules/@lancedb/lancedb/dist/rerankers/rrf.d.ts +14 -0
  61. package/node_modules/@lancedb/lancedb/dist/rerankers/rrf.js +28 -0
  62. package/node_modules/@lancedb/lancedb/dist/sanitize.d.ts +32 -0
  63. package/node_modules/@lancedb/lancedb/dist/sanitize.js +548 -0
  64. package/node_modules/@lancedb/lancedb/dist/scannable.d.ts +92 -0
  65. package/node_modules/@lancedb/lancedb/dist/scannable.js +200 -0
  66. package/node_modules/@lancedb/lancedb/dist/schema.d.ts +16 -0
  67. package/node_modules/@lancedb/lancedb/dist/schema.js +416 -0
  68. package/node_modules/@lancedb/lancedb/dist/table.d.ts +1141 -0
  69. package/node_modules/@lancedb/lancedb/dist/table.js +517 -0
  70. package/node_modules/@lancedb/lancedb/dist/util.d.ts +14 -0
  71. package/node_modules/@lancedb/lancedb/dist/util.js +86 -0
  72. package/node_modules/@lancedb/lancedb/dist/view.d.ts +32 -0
  73. package/node_modules/@lancedb/lancedb/dist/view.js +17 -0
  74. package/node_modules/@lancedb/lancedb/license_header.txt +2 -0
  75. package/node_modules/@lancedb/lancedb/package.json +130 -0
  76. package/node_modules/@lancedb/lancedb/pnpm-workspace.yaml +56 -0
  77. package/node_modules/@opentelemetry/api/LICENSE +201 -0
  78. package/node_modules/@opentelemetry/api/README.md +98 -0
  79. package/node_modules/@opentelemetry/api/dist/api/context.cjs +100 -0
  80. package/node_modules/@opentelemetry/api/dist/api/context.cjs.map +1 -0
  81. package/node_modules/@opentelemetry/api/dist/api/context.d.cts +74 -0
  82. package/node_modules/@opentelemetry/api/dist/api/context.d.cts.map +1 -0
  83. package/node_modules/@opentelemetry/api/dist/api/context.d.mts +74 -0
  84. package/node_modules/@opentelemetry/api/dist/api/context.d.mts.map +1 -0
  85. package/node_modules/@opentelemetry/api/dist/api/context.mjs +100 -0
  86. package/node_modules/@opentelemetry/api/dist/api/context.mjs.map +1 -0
  87. package/node_modules/@opentelemetry/api/dist/api/diag.cjs +68 -0
  88. package/node_modules/@opentelemetry/api/dist/api/diag.cjs.map +1 -0
  89. package/node_modules/@opentelemetry/api/dist/api/diag.d.cts +35 -0
  90. package/node_modules/@opentelemetry/api/dist/api/diag.d.cts.map +1 -0
  91. package/node_modules/@opentelemetry/api/dist/api/diag.d.mts +35 -0
  92. package/node_modules/@opentelemetry/api/dist/api/diag.d.mts.map +1 -0
  93. package/node_modules/@opentelemetry/api/dist/api/diag.mjs +68 -0
  94. package/node_modules/@opentelemetry/api/dist/api/diag.mjs.map +1 -0
  95. package/node_modules/@opentelemetry/api/dist/api/logs.cjs +59 -0
  96. package/node_modules/@opentelemetry/api/dist/api/logs.cjs.map +1 -0
  97. package/node_modules/@opentelemetry/api/dist/api/logs.d.cts +43 -0
  98. package/node_modules/@opentelemetry/api/dist/api/logs.d.cts.map +1 -0
  99. package/node_modules/@opentelemetry/api/dist/api/logs.d.mts +43 -0
  100. package/node_modules/@opentelemetry/api/dist/api/logs.d.mts.map +1 -0
  101. package/node_modules/@opentelemetry/api/dist/api/logs.mjs +59 -0
  102. package/node_modules/@opentelemetry/api/dist/api/logs.mjs.map +1 -0
  103. package/node_modules/@opentelemetry/api/dist/api/metrics.cjs +46 -0
  104. package/node_modules/@opentelemetry/api/dist/api/metrics.cjs.map +1 -0
  105. package/node_modules/@opentelemetry/api/dist/api/metrics.d.cts +33 -0
  106. package/node_modules/@opentelemetry/api/dist/api/metrics.d.cts.map +1 -0
  107. package/node_modules/@opentelemetry/api/dist/api/metrics.d.mts +33 -0
  108. package/node_modules/@opentelemetry/api/dist/api/metrics.d.mts.map +1 -0
  109. package/node_modules/@opentelemetry/api/dist/api/metrics.mjs +46 -0
  110. package/node_modules/@opentelemetry/api/dist/api/metrics.mjs.map +1 -0
  111. package/node_modules/@opentelemetry/api/dist/api/propagation.cjs +74 -0
  112. package/node_modules/@opentelemetry/api/dist/api/propagation.cjs.map +1 -0
  113. package/node_modules/@opentelemetry/api/dist/api/propagation.d.cts +55 -0
  114. package/node_modules/@opentelemetry/api/dist/api/propagation.d.cts.map +1 -0
  115. package/node_modules/@opentelemetry/api/dist/api/propagation.d.mts +55 -0
  116. package/node_modules/@opentelemetry/api/dist/api/propagation.d.mts.map +1 -0
  117. package/node_modules/@opentelemetry/api/dist/api/propagation.mjs +74 -0
  118. package/node_modules/@opentelemetry/api/dist/api/propagation.mjs.map +1 -0
  119. package/node_modules/@opentelemetry/api/dist/api/trace.cjs +62 -0
  120. package/node_modules/@opentelemetry/api/dist/api/trace.cjs.map +1 -0
  121. package/node_modules/@opentelemetry/api/dist/api/trace.d.cts +46 -0
  122. package/node_modules/@opentelemetry/api/dist/api/trace.d.cts.map +1 -0
  123. package/node_modules/@opentelemetry/api/dist/api/trace.d.mts +46 -0
  124. package/node_modules/@opentelemetry/api/dist/api/trace.d.mts.map +1 -0
  125. package/node_modules/@opentelemetry/api/dist/api/trace.mjs +62 -0
  126. package/node_modules/@opentelemetry/api/dist/api/trace.mjs.map +1 -0
  127. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.cjs +48 -0
  128. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.cjs.map +1 -0
  129. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.d.cts +32 -0
  130. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.d.cts.map +1 -0
  131. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.d.mts +32 -0
  132. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.d.mts.map +1 -0
  133. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.mjs +45 -0
  134. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.mjs.map +1 -0
  135. package/node_modules/@opentelemetry/api/dist/baggage/internal/baggage-impl.cjs +36 -0
  136. package/node_modules/@opentelemetry/api/dist/baggage/internal/baggage-impl.cjs.map +1 -0
  137. package/node_modules/@opentelemetry/api/dist/baggage/internal/baggage-impl.mjs +36 -0
  138. package/node_modules/@opentelemetry/api/dist/baggage/internal/baggage-impl.mjs.map +1 -0
  139. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.cjs +9 -0
  140. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.cjs.map +1 -0
  141. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.d.cts +8 -0
  142. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.d.cts.map +1 -0
  143. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.d.mts +8 -0
  144. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.d.mts.map +1 -0
  145. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.mjs +9 -0
  146. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.mjs.map +1 -0
  147. package/node_modules/@opentelemetry/api/dist/baggage/types.d.cts +70 -0
  148. package/node_modules/@opentelemetry/api/dist/baggage/types.d.cts.map +1 -0
  149. package/node_modules/@opentelemetry/api/dist/baggage/types.d.mts +70 -0
  150. package/node_modules/@opentelemetry/api/dist/baggage/types.d.mts.map +1 -0
  151. package/node_modules/@opentelemetry/api/dist/baggage/utils.cjs +37 -0
  152. package/node_modules/@opentelemetry/api/dist/baggage/utils.cjs.map +1 -0
  153. package/node_modules/@opentelemetry/api/dist/baggage/utils.d.cts +19 -0
  154. package/node_modules/@opentelemetry/api/dist/baggage/utils.d.cts.map +1 -0
  155. package/node_modules/@opentelemetry/api/dist/baggage/utils.d.mts +19 -0
  156. package/node_modules/@opentelemetry/api/dist/baggage/utils.d.mts.map +1 -0
  157. package/node_modules/@opentelemetry/api/dist/baggage/utils.mjs +36 -0
  158. package/node_modules/@opentelemetry/api/dist/baggage/utils.mjs.map +1 -0
  159. package/node_modules/@opentelemetry/api/dist/common/AnyValue.d.cts +33 -0
  160. package/node_modules/@opentelemetry/api/dist/common/AnyValue.d.cts.map +1 -0
  161. package/node_modules/@opentelemetry/api/dist/common/AnyValue.d.mts +33 -0
  162. package/node_modules/@opentelemetry/api/dist/common/AnyValue.d.mts.map +1 -0
  163. package/node_modules/@opentelemetry/api/dist/common/Attributes.d.cts +19 -0
  164. package/node_modules/@opentelemetry/api/dist/common/Attributes.d.cts.map +1 -0
  165. package/node_modules/@opentelemetry/api/dist/common/Attributes.d.mts +19 -0
  166. package/node_modules/@opentelemetry/api/dist/common/Attributes.d.mts.map +1 -0
  167. package/node_modules/@opentelemetry/api/dist/common/Exception.d.cts +30 -0
  168. package/node_modules/@opentelemetry/api/dist/common/Exception.d.cts.map +1 -0
  169. package/node_modules/@opentelemetry/api/dist/common/Exception.d.mts +30 -0
  170. package/node_modules/@opentelemetry/api/dist/common/Exception.d.mts.map +1 -0
  171. package/node_modules/@opentelemetry/api/dist/common/Time.d.cts +27 -0
  172. package/node_modules/@opentelemetry/api/dist/common/Time.d.cts.map +1 -0
  173. package/node_modules/@opentelemetry/api/dist/common/Time.d.mts +27 -0
  174. package/node_modules/@opentelemetry/api/dist/common/Time.d.mts.map +1 -0
  175. package/node_modules/@opentelemetry/api/dist/context/NoopContextManager.cjs +27 -0
  176. package/node_modules/@opentelemetry/api/dist/context/NoopContextManager.cjs.map +1 -0
  177. package/node_modules/@opentelemetry/api/dist/context/NoopContextManager.mjs +27 -0
  178. package/node_modules/@opentelemetry/api/dist/context/NoopContextManager.mjs.map +1 -0
  179. package/node_modules/@opentelemetry/api/dist/context/context.cjs +41 -0
  180. package/node_modules/@opentelemetry/api/dist/context/context.cjs.map +1 -0
  181. package/node_modules/@opentelemetry/api/dist/context/context.d.cts +17 -0
  182. package/node_modules/@opentelemetry/api/dist/context/context.d.cts.map +1 -0
  183. package/node_modules/@opentelemetry/api/dist/context/context.d.mts +17 -0
  184. package/node_modules/@opentelemetry/api/dist/context/context.d.mts.map +1 -0
  185. package/node_modules/@opentelemetry/api/dist/context/context.mjs +40 -0
  186. package/node_modules/@opentelemetry/api/dist/context/context.mjs.map +1 -0
  187. package/node_modules/@opentelemetry/api/dist/context/types.d.cts +92 -0
  188. package/node_modules/@opentelemetry/api/dist/context/types.d.cts.map +1 -0
  189. package/node_modules/@opentelemetry/api/dist/context/types.d.mts +92 -0
  190. package/node_modules/@opentelemetry/api/dist/context/types.d.mts.map +1 -0
  191. package/node_modules/@opentelemetry/api/dist/context-api.cjs +10 -0
  192. package/node_modules/@opentelemetry/api/dist/context-api.cjs.map +1 -0
  193. package/node_modules/@opentelemetry/api/dist/context-api.d.cts +10 -0
  194. package/node_modules/@opentelemetry/api/dist/context-api.d.cts.map +1 -0
  195. package/node_modules/@opentelemetry/api/dist/context-api.d.mts +10 -0
  196. package/node_modules/@opentelemetry/api/dist/context-api.d.mts.map +1 -0
  197. package/node_modules/@opentelemetry/api/dist/context-api.mjs +11 -0
  198. package/node_modules/@opentelemetry/api/dist/context-api.mjs.map +1 -0
  199. package/node_modules/@opentelemetry/api/dist/diag/ComponentLogger.cjs +40 -0
  200. package/node_modules/@opentelemetry/api/dist/diag/ComponentLogger.cjs.map +1 -0
  201. package/node_modules/@opentelemetry/api/dist/diag/ComponentLogger.mjs +40 -0
  202. package/node_modules/@opentelemetry/api/dist/diag/ComponentLogger.mjs.map +1 -0
  203. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.cjs +62 -0
  204. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.cjs.map +1 -0
  205. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.d.cts +43 -0
  206. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.d.cts.map +1 -0
  207. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.d.mts +43 -0
  208. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.d.mts.map +1 -0
  209. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.mjs +61 -0
  210. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.mjs.map +1 -0
  211. package/node_modules/@opentelemetry/api/dist/diag/internal/logLevelLogger.cjs +23 -0
  212. package/node_modules/@opentelemetry/api/dist/diag/internal/logLevelLogger.cjs.map +1 -0
  213. package/node_modules/@opentelemetry/api/dist/diag/internal/logLevelLogger.mjs +23 -0
  214. package/node_modules/@opentelemetry/api/dist/diag/internal/logLevelLogger.mjs.map +1 -0
  215. package/node_modules/@opentelemetry/api/dist/diag/types.cjs +32 -0
  216. package/node_modules/@opentelemetry/api/dist/diag/types.cjs.map +1 -0
  217. package/node_modules/@opentelemetry/api/dist/diag/types.d.cts +115 -0
  218. package/node_modules/@opentelemetry/api/dist/diag/types.d.cts.map +1 -0
  219. package/node_modules/@opentelemetry/api/dist/diag/types.d.mts +115 -0
  220. package/node_modules/@opentelemetry/api/dist/diag/types.d.mts.map +1 -0
  221. package/node_modules/@opentelemetry/api/dist/diag/types.mjs +32 -0
  222. package/node_modules/@opentelemetry/api/dist/diag/types.mjs.map +1 -0
  223. package/node_modules/@opentelemetry/api/dist/diag-api.cjs +14 -0
  224. package/node_modules/@opentelemetry/api/dist/diag-api.cjs.map +1 -0
  225. package/node_modules/@opentelemetry/api/dist/diag-api.d.cts +14 -0
  226. package/node_modules/@opentelemetry/api/dist/diag-api.d.cts.map +1 -0
  227. package/node_modules/@opentelemetry/api/dist/diag-api.d.mts +14 -0
  228. package/node_modules/@opentelemetry/api/dist/diag-api.d.mts.map +1 -0
  229. package/node_modules/@opentelemetry/api/dist/diag-api.mjs +15 -0
  230. package/node_modules/@opentelemetry/api/dist/diag-api.mjs.map +1 -0
  231. package/node_modules/@opentelemetry/api/dist/experimental/index.cjs +4 -0
  232. package/node_modules/@opentelemetry/api/dist/experimental/index.d.cts +3 -0
  233. package/node_modules/@opentelemetry/api/dist/experimental/index.d.mts +3 -0
  234. package/node_modules/@opentelemetry/api/dist/experimental/index.mjs +2 -0
  235. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredOptions.d.cts +17 -0
  236. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredOptions.d.cts.map +1 -0
  237. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredOptions.d.mts +17 -0
  238. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredOptions.d.mts.map +1 -0
  239. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.cjs +88 -0
  240. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.cjs.map +1 -0
  241. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.d.cts +69 -0
  242. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.d.cts.map +1 -0
  243. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.d.mts +69 -0
  244. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.d.mts.map +1 -0
  245. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.mjs +87 -0
  246. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.mjs.map +1 -0
  247. package/node_modules/@opentelemetry/api/dist/index.cjs +71 -0
  248. package/node_modules/@opentelemetry/api/dist/index.cjs.map +1 -0
  249. package/node_modules/@opentelemetry/api/dist/index.d.cts +63 -0
  250. package/node_modules/@opentelemetry/api/dist/index.d.cts.map +1 -0
  251. package/node_modules/@opentelemetry/api/dist/index.d.mts +63 -0
  252. package/node_modules/@opentelemetry/api/dist/index.d.mts.map +1 -0
  253. package/node_modules/@opentelemetry/api/dist/index.mjs +37 -0
  254. package/node_modules/@opentelemetry/api/dist/index.mjs.map +1 -0
  255. package/node_modules/@opentelemetry/api/dist/internal/global-utils.cjs +52 -0
  256. package/node_modules/@opentelemetry/api/dist/internal/global-utils.cjs.map +1 -0
  257. package/node_modules/@opentelemetry/api/dist/internal/global-utils.mjs +50 -0
  258. package/node_modules/@opentelemetry/api/dist/internal/global-utils.mjs.map +1 -0
  259. package/node_modules/@opentelemetry/api/dist/internal/semver.cjs +83 -0
  260. package/node_modules/@opentelemetry/api/dist/internal/semver.cjs.map +1 -0
  261. package/node_modules/@opentelemetry/api/dist/internal/semver.mjs +82 -0
  262. package/node_modules/@opentelemetry/api/dist/internal/semver.mjs.map +1 -0
  263. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.cjs +33 -0
  264. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.cjs.map +1 -0
  265. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.d.cts +75 -0
  266. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.d.cts.map +1 -0
  267. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.d.mts +75 -0
  268. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.d.mts.map +1 -0
  269. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.mjs +33 -0
  270. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.mjs.map +1 -0
  271. package/node_modules/@opentelemetry/api/dist/logs/Logger.d.cts +23 -0
  272. package/node_modules/@opentelemetry/api/dist/logs/Logger.d.cts.map +1 -0
  273. package/node_modules/@opentelemetry/api/dist/logs/Logger.d.mts +23 -0
  274. package/node_modules/@opentelemetry/api/dist/logs/Logger.d.mts.map +1 -0
  275. package/node_modules/@opentelemetry/api/dist/logs/LoggerOptions.d.cts +22 -0
  276. package/node_modules/@opentelemetry/api/dist/logs/LoggerOptions.d.cts.map +1 -0
  277. package/node_modules/@opentelemetry/api/dist/logs/LoggerOptions.d.mts +22 -0
  278. package/node_modules/@opentelemetry/api/dist/logs/LoggerOptions.d.mts.map +1 -0
  279. package/node_modules/@opentelemetry/api/dist/logs/LoggerProvider.d.cts +27 -0
  280. package/node_modules/@opentelemetry/api/dist/logs/LoggerProvider.d.cts.map +1 -0
  281. package/node_modules/@opentelemetry/api/dist/logs/LoggerProvider.d.mts +27 -0
  282. package/node_modules/@opentelemetry/api/dist/logs/LoggerProvider.d.mts.map +1 -0
  283. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.cjs +20 -0
  284. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.cjs.map +1 -0
  285. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.d.cts +9 -0
  286. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.d.cts.map +1 -0
  287. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.d.mts +9 -0
  288. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.d.mts.map +1 -0
  289. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.mjs +18 -0
  290. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.mjs.map +1 -0
  291. package/node_modules/@opentelemetry/api/dist/logs/NoopLoggerProvider.cjs +13 -0
  292. package/node_modules/@opentelemetry/api/dist/logs/NoopLoggerProvider.cjs.map +1 -0
  293. package/node_modules/@opentelemetry/api/dist/logs/NoopLoggerProvider.mjs +12 -0
  294. package/node_modules/@opentelemetry/api/dist/logs/NoopLoggerProvider.mjs.map +1 -0
  295. package/node_modules/@opentelemetry/api/dist/logs/ProxyLogger.cjs +36 -0
  296. package/node_modules/@opentelemetry/api/dist/logs/ProxyLogger.cjs.map +1 -0
  297. package/node_modules/@opentelemetry/api/dist/logs/ProxyLogger.mjs +36 -0
  298. package/node_modules/@opentelemetry/api/dist/logs/ProxyLogger.mjs.map +1 -0
  299. package/node_modules/@opentelemetry/api/dist/logs/ProxyLoggerProvider.cjs +36 -0
  300. package/node_modules/@opentelemetry/api/dist/logs/ProxyLoggerProvider.cjs.map +1 -0
  301. package/node_modules/@opentelemetry/api/dist/logs/ProxyLoggerProvider.mjs +36 -0
  302. package/node_modules/@opentelemetry/api/dist/logs/ProxyLoggerProvider.mjs.map +1 -0
  303. package/node_modules/@opentelemetry/api/dist/logs-api.cjs +11 -0
  304. package/node_modules/@opentelemetry/api/dist/logs-api.cjs.map +1 -0
  305. package/node_modules/@opentelemetry/api/dist/logs-api.d.cts +11 -0
  306. package/node_modules/@opentelemetry/api/dist/logs-api.d.cts.map +1 -0
  307. package/node_modules/@opentelemetry/api/dist/logs-api.d.mts +11 -0
  308. package/node_modules/@opentelemetry/api/dist/logs-api.d.mts.map +1 -0
  309. package/node_modules/@opentelemetry/api/dist/logs-api.mjs +12 -0
  310. package/node_modules/@opentelemetry/api/dist/logs-api.mjs.map +1 -0
  311. package/node_modules/@opentelemetry/api/dist/metrics/Meter.d.cts +119 -0
  312. package/node_modules/@opentelemetry/api/dist/metrics/Meter.d.cts.map +1 -0
  313. package/node_modules/@opentelemetry/api/dist/metrics/Meter.d.mts +119 -0
  314. package/node_modules/@opentelemetry/api/dist/metrics/Meter.d.mts.map +1 -0
  315. package/node_modules/@opentelemetry/api/dist/metrics/MeterProvider.d.cts +22 -0
  316. package/node_modules/@opentelemetry/api/dist/metrics/MeterProvider.d.cts.map +1 -0
  317. package/node_modules/@opentelemetry/api/dist/metrics/MeterProvider.d.mts +22 -0
  318. package/node_modules/@opentelemetry/api/dist/metrics/MeterProvider.d.mts.map +1 -0
  319. package/node_modules/@opentelemetry/api/dist/metrics/Metric.cjs +15 -0
  320. package/node_modules/@opentelemetry/api/dist/metrics/Metric.cjs.map +1 -0
  321. package/node_modules/@opentelemetry/api/dist/metrics/Metric.d.cts +188 -0
  322. package/node_modules/@opentelemetry/api/dist/metrics/Metric.d.cts.map +1 -0
  323. package/node_modules/@opentelemetry/api/dist/metrics/Metric.d.mts +188 -0
  324. package/node_modules/@opentelemetry/api/dist/metrics/Metric.d.mts.map +1 -0
  325. package/node_modules/@opentelemetry/api/dist/metrics/Metric.mjs +15 -0
  326. package/node_modules/@opentelemetry/api/dist/metrics/Metric.mjs.map +1 -0
  327. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.cjs +116 -0
  328. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.cjs.map +1 -0
  329. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.d.cts +11 -0
  330. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.d.cts.map +1 -0
  331. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.d.mts +11 -0
  332. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.d.mts.map +1 -0
  333. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.mjs +98 -0
  334. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.mjs.map +1 -0
  335. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeterProvider.cjs +17 -0
  336. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeterProvider.cjs.map +1 -0
  337. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeterProvider.mjs +16 -0
  338. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeterProvider.mjs.map +1 -0
  339. package/node_modules/@opentelemetry/api/dist/metrics-api.cjs +11 -0
  340. package/node_modules/@opentelemetry/api/dist/metrics-api.cjs.map +1 -0
  341. package/node_modules/@opentelemetry/api/dist/metrics-api.d.cts +11 -0
  342. package/node_modules/@opentelemetry/api/dist/metrics-api.d.cts.map +1 -0
  343. package/node_modules/@opentelemetry/api/dist/metrics-api.d.mts +11 -0
  344. package/node_modules/@opentelemetry/api/dist/metrics-api.d.mts.map +1 -0
  345. package/node_modules/@opentelemetry/api/dist/metrics-api.mjs +12 -0
  346. package/node_modules/@opentelemetry/api/dist/metrics-api.mjs.map +1 -0
  347. package/node_modules/@opentelemetry/api/dist/propagation/NoopTextMapPropagator.cjs +19 -0
  348. package/node_modules/@opentelemetry/api/dist/propagation/NoopTextMapPropagator.cjs.map +1 -0
  349. package/node_modules/@opentelemetry/api/dist/propagation/NoopTextMapPropagator.mjs +19 -0
  350. package/node_modules/@opentelemetry/api/dist/propagation/NoopTextMapPropagator.mjs.map +1 -0
  351. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.cjs +26 -0
  352. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.cjs.map +1 -0
  353. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.d.cts +99 -0
  354. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.d.cts.map +1 -0
  355. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.d.mts +99 -0
  356. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.d.mts.map +1 -0
  357. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.mjs +25 -0
  358. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.mjs.map +1 -0
  359. package/node_modules/@opentelemetry/api/dist/propagation-api.cjs +11 -0
  360. package/node_modules/@opentelemetry/api/dist/propagation-api.cjs.map +1 -0
  361. package/node_modules/@opentelemetry/api/dist/propagation-api.d.cts +11 -0
  362. package/node_modules/@opentelemetry/api/dist/propagation-api.d.cts.map +1 -0
  363. package/node_modules/@opentelemetry/api/dist/propagation-api.d.mts +11 -0
  364. package/node_modules/@opentelemetry/api/dist/propagation-api.d.mts.map +1 -0
  365. package/node_modules/@opentelemetry/api/dist/propagation-api.mjs +12 -0
  366. package/node_modules/@opentelemetry/api/dist/propagation-api.mjs.map +1 -0
  367. package/node_modules/@opentelemetry/api/dist/trace/NonRecordingSpan.cjs +45 -0
  368. package/node_modules/@opentelemetry/api/dist/trace/NonRecordingSpan.cjs.map +1 -0
  369. package/node_modules/@opentelemetry/api/dist/trace/NonRecordingSpan.mjs +45 -0
  370. package/node_modules/@opentelemetry/api/dist/trace/NonRecordingSpan.mjs.map +1 -0
  371. package/node_modules/@opentelemetry/api/dist/trace/NoopTracer.cjs +44 -0
  372. package/node_modules/@opentelemetry/api/dist/trace/NoopTracer.cjs.map +1 -0
  373. package/node_modules/@opentelemetry/api/dist/trace/NoopTracer.mjs +44 -0
  374. package/node_modules/@opentelemetry/api/dist/trace/NoopTracer.mjs.map +1 -0
  375. package/node_modules/@opentelemetry/api/dist/trace/NoopTracerProvider.cjs +17 -0
  376. package/node_modules/@opentelemetry/api/dist/trace/NoopTracerProvider.cjs.map +1 -0
  377. package/node_modules/@opentelemetry/api/dist/trace/NoopTracerProvider.mjs +17 -0
  378. package/node_modules/@opentelemetry/api/dist/trace/NoopTracerProvider.mjs.map +1 -0
  379. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.cjs +37 -0
  380. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.cjs.map +1 -0
  381. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.d.cts +36 -0
  382. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.d.cts.map +1 -0
  383. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.d.mts +36 -0
  384. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.d.mts.map +1 -0
  385. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.mjs +38 -0
  386. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.mjs.map +1 -0
  387. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.cjs +41 -0
  388. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.cjs.map +1 -0
  389. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.d.cts +31 -0
  390. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.d.cts.map +1 -0
  391. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.d.mts +31 -0
  392. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.d.mts.map +1 -0
  393. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.mjs +42 -0
  394. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.mjs.map +1 -0
  395. package/node_modules/@opentelemetry/api/dist/trace/Sampler.d.cts +36 -0
  396. package/node_modules/@opentelemetry/api/dist/trace/Sampler.d.cts.map +1 -0
  397. package/node_modules/@opentelemetry/api/dist/trace/Sampler.d.mts +36 -0
  398. package/node_modules/@opentelemetry/api/dist/trace/Sampler.d.mts.map +1 -0
  399. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.cjs +30 -0
  400. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.cjs.map +1 -0
  401. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.d.cts +58 -0
  402. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.d.cts.map +1 -0
  403. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.d.mts +58 -0
  404. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.d.mts.map +1 -0
  405. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.mjs +30 -0
  406. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.mjs.map +1 -0
  407. package/node_modules/@opentelemetry/api/dist/trace/SpanOptions.d.cts +28 -0
  408. package/node_modules/@opentelemetry/api/dist/trace/SpanOptions.d.cts.map +1 -0
  409. package/node_modules/@opentelemetry/api/dist/trace/SpanOptions.d.mts +28 -0
  410. package/node_modules/@opentelemetry/api/dist/trace/SpanOptions.d.mts.map +1 -0
  411. package/node_modules/@opentelemetry/api/dist/trace/attributes.d.cts +15 -0
  412. package/node_modules/@opentelemetry/api/dist/trace/attributes.d.cts.map +1 -0
  413. package/node_modules/@opentelemetry/api/dist/trace/attributes.d.mts +15 -0
  414. package/node_modules/@opentelemetry/api/dist/trace/attributes.d.mts.map +1 -0
  415. package/node_modules/@opentelemetry/api/dist/trace/context-utils.cjs +67 -0
  416. package/node_modules/@opentelemetry/api/dist/trace/context-utils.cjs.map +1 -0
  417. package/node_modules/@opentelemetry/api/dist/trace/context-utils.d.cts +44 -0
  418. package/node_modules/@opentelemetry/api/dist/trace/context-utils.d.cts.map +1 -0
  419. package/node_modules/@opentelemetry/api/dist/trace/context-utils.d.mts +44 -0
  420. package/node_modules/@opentelemetry/api/dist/trace/context-utils.d.mts.map +1 -0
  421. package/node_modules/@opentelemetry/api/dist/trace/context-utils.mjs +62 -0
  422. package/node_modules/@opentelemetry/api/dist/trace/context-utils.mjs.map +1 -0
  423. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-impl.cjs +77 -0
  424. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-impl.cjs.map +1 -0
  425. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-impl.mjs +77 -0
  426. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-impl.mjs.map +1 -0
  427. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-validators.cjs +28 -0
  428. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-validators.cjs.map +1 -0
  429. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-validators.mjs +27 -0
  430. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-validators.mjs.map +1 -0
  431. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.cjs +13 -0
  432. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.cjs.map +1 -0
  433. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.d.cts +10 -0
  434. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.d.cts.map +1 -0
  435. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.d.mts +10 -0
  436. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.d.mts.map +1 -0
  437. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.mjs +13 -0
  438. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.mjs.map +1 -0
  439. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.cjs +24 -0
  440. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.cjs.map +1 -0
  441. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.d.cts +17 -0
  442. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.d.cts.map +1 -0
  443. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.d.mts +17 -0
  444. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.d.mts.map +1 -0
  445. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.mjs +22 -0
  446. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.mjs.map +1 -0
  447. package/node_modules/@opentelemetry/api/dist/trace/link.d.cts +35 -0
  448. package/node_modules/@opentelemetry/api/dist/trace/link.d.cts.map +1 -0
  449. package/node_modules/@opentelemetry/api/dist/trace/link.d.mts +35 -0
  450. package/node_modules/@opentelemetry/api/dist/trace/link.d.mts.map +1 -0
  451. package/node_modules/@opentelemetry/api/dist/trace/span.d.cts +139 -0
  452. package/node_modules/@opentelemetry/api/dist/trace/span.d.cts.map +1 -0
  453. package/node_modules/@opentelemetry/api/dist/trace/span.d.mts +139 -0
  454. package/node_modules/@opentelemetry/api/dist/trace/span.d.mts.map +1 -0
  455. package/node_modules/@opentelemetry/api/dist/trace/span_context.d.cts +58 -0
  456. package/node_modules/@opentelemetry/api/dist/trace/span_context.d.cts.map +1 -0
  457. package/node_modules/@opentelemetry/api/dist/trace/span_context.d.mts +58 -0
  458. package/node_modules/@opentelemetry/api/dist/trace/span_context.d.mts.map +1 -0
  459. package/node_modules/@opentelemetry/api/dist/trace/span_kind.cjs +35 -0
  460. package/node_modules/@opentelemetry/api/dist/trace/span_kind.cjs.map +1 -0
  461. package/node_modules/@opentelemetry/api/dist/trace/span_kind.d.cts +33 -0
  462. package/node_modules/@opentelemetry/api/dist/trace/span_kind.d.cts.map +1 -0
  463. package/node_modules/@opentelemetry/api/dist/trace/span_kind.d.mts +33 -0
  464. package/node_modules/@opentelemetry/api/dist/trace/span_kind.d.mts.map +1 -0
  465. package/node_modules/@opentelemetry/api/dist/trace/span_kind.mjs +35 -0
  466. package/node_modules/@opentelemetry/api/dist/trace/span_kind.mjs.map +1 -0
  467. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.cjs +151 -0
  468. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.cjs.map +1 -0
  469. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.d.cts +28 -0
  470. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.d.cts.map +1 -0
  471. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.d.mts +28 -0
  472. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.d.mts.map +1 -0
  473. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.mjs +148 -0
  474. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.mjs.map +1 -0
  475. package/node_modules/@opentelemetry/api/dist/trace/status.cjs +26 -0
  476. package/node_modules/@opentelemetry/api/dist/trace/status.cjs.map +1 -0
  477. package/node_modules/@opentelemetry/api/dist/trace/status.d.cts +33 -0
  478. package/node_modules/@opentelemetry/api/dist/trace/status.d.cts.map +1 -0
  479. package/node_modules/@opentelemetry/api/dist/trace/status.d.mts +33 -0
  480. package/node_modules/@opentelemetry/api/dist/trace/status.d.mts.map +1 -0
  481. package/node_modules/@opentelemetry/api/dist/trace/status.mjs +26 -0
  482. package/node_modules/@opentelemetry/api/dist/trace/status.mjs.map +1 -0
  483. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.cjs +15 -0
  484. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.cjs.map +1 -0
  485. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.d.cts +13 -0
  486. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.d.cts.map +1 -0
  487. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.d.mts +13 -0
  488. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.d.mts.map +1 -0
  489. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.mjs +15 -0
  490. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.mjs.map +1 -0
  491. package/node_modules/@opentelemetry/api/dist/trace/trace_state.d.cts +44 -0
  492. package/node_modules/@opentelemetry/api/dist/trace/trace_state.d.cts.map +1 -0
  493. package/node_modules/@opentelemetry/api/dist/trace/trace_state.d.mts +44 -0
  494. package/node_modules/@opentelemetry/api/dist/trace/trace_state.d.mts.map +1 -0
  495. package/node_modules/@opentelemetry/api/dist/trace/tracer.d.cts +81 -0
  496. package/node_modules/@opentelemetry/api/dist/trace/tracer.d.cts.map +1 -0
  497. package/node_modules/@opentelemetry/api/dist/trace/tracer.d.mts +81 -0
  498. package/node_modules/@opentelemetry/api/dist/trace/tracer.d.mts.map +1 -0
  499. package/node_modules/@opentelemetry/api/dist/trace/tracer_options.d.cts +15 -0
  500. package/node_modules/@opentelemetry/api/dist/trace/tracer_options.d.cts.map +1 -0
  501. package/node_modules/@opentelemetry/api/dist/trace/tracer_options.d.mts +15 -0
  502. package/node_modules/@opentelemetry/api/dist/trace/tracer_options.d.mts.map +1 -0
  503. package/node_modules/@opentelemetry/api/dist/trace/tracer_provider.d.cts +26 -0
  504. package/node_modules/@opentelemetry/api/dist/trace/tracer_provider.d.cts.map +1 -0
  505. package/node_modules/@opentelemetry/api/dist/trace/tracer_provider.d.mts +26 -0
  506. package/node_modules/@opentelemetry/api/dist/trace/tracer_provider.d.mts.map +1 -0
  507. package/node_modules/@opentelemetry/api/dist/trace-api.cjs +11 -0
  508. package/node_modules/@opentelemetry/api/dist/trace-api.cjs.map +1 -0
  509. package/node_modules/@opentelemetry/api/dist/trace-api.d.cts +11 -0
  510. package/node_modules/@opentelemetry/api/dist/trace-api.d.cts.map +1 -0
  511. package/node_modules/@opentelemetry/api/dist/trace-api.d.mts +11 -0
  512. package/node_modules/@opentelemetry/api/dist/trace-api.d.mts.map +1 -0
  513. package/node_modules/@opentelemetry/api/dist/trace-api.mjs +12 -0
  514. package/node_modules/@opentelemetry/api/dist/trace-api.mjs.map +1 -0
  515. package/node_modules/@opentelemetry/api/dist/version.cjs +6 -0
  516. package/node_modules/@opentelemetry/api/dist/version.cjs.map +1 -0
  517. package/node_modules/@opentelemetry/api/dist/version.mjs +6 -0
  518. package/node_modules/@opentelemetry/api/dist/version.mjs.map +1 -0
  519. package/node_modules/@opentelemetry/api/package.json +94 -0
  520. package/node_modules/reflect-metadata/AUTHORS.md +5 -0
  521. package/node_modules/reflect-metadata/CopyrightNotice.txt +15 -0
  522. package/node_modules/reflect-metadata/LICENSE +55 -0
  523. package/node_modules/reflect-metadata/README.md +232 -0
  524. package/node_modules/reflect-metadata/Reflect.js +1415 -0
  525. package/node_modules/reflect-metadata/ReflectLite.js +1137 -0
  526. package/node_modules/reflect-metadata/ReflectNoConflict.js +1111 -0
  527. package/node_modules/reflect-metadata/index.d.ts +491 -0
  528. package/node_modules/reflect-metadata/no-conflict.d.ts +484 -0
  529. package/node_modules/reflect-metadata/package.json +68 -0
  530. package/node_modules/reflect-metadata/standalone.d.ts +485 -0
  531. package/package.json +22 -9
  532. package/scripts/bare-imports.cjs +61 -0
  533. package/scripts/build.cjs +16 -1
  534. package/src/cli-bin.mjs +39 -7
  535. package/src/host-resolve-hook.mjs +37 -0
  536. package/src/host-roots.d.mts +4 -0
  537. package/src/host-roots.mjs +122 -0
  538. package/src/infrastructure/browser/thread-worker.mjs +8520 -59
@@ -0,0 +1,1141 @@
1
+ import { Table as ArrowTable, Data, DataType, Field, IntoVector, MultiVector, Schema } from "./arrow";
2
+ import { BlobFile, BlobReadOptions } from "./blob";
3
+ import { IndexOptions } from "./indices";
4
+ import { Job } from "./job";
5
+ import { MergeInsertBuilder } from "./merge";
6
+ import { AddColumnsResult, AddColumnsSql, AddResult, AlterColumnsResult, BranchContents, DeleteResult, DropColumnsResult, FunctionErrors, FunctionErrorsOptions, IndexConfig, IndexStatistics, LsmStats, Branches as NativeBranches, OptimizeStats, RefreshColumnResult, RefreshMaterializedViewResult, TableStatistics, Tags, UpdateFieldMetadataResult, UpdateResult, Table as _NativeTable } from "./native";
7
+ import { AutoQuery, FullTextQuery, Query, TakeQuery, VectorQuery } from "./query";
8
+ import { IntoSql } from "./util";
9
+ export { IndexConfig } from "./native";
10
+ export { BucketStats, GenerationStats, LsmStats, MemtableStats, } from "./native";
11
+ /**
12
+ * Progress snapshot for a write operation, delivered to the `progress`
13
+ * callback passed to {@link Table.add}.
14
+ */
15
+ export interface WriteProgress {
16
+ /** Number of rows written so far. */
17
+ outputRows: number;
18
+ /** Number of bytes written so far. */
19
+ outputBytes: number;
20
+ /**
21
+ * Total rows expected, when the input source reports it.
22
+ *
23
+ * Always set on the final callback (the one with `done: true`), falling
24
+ * back to the actual number of rows written when the source could not
25
+ * report a row count up front.
26
+ */
27
+ totalRows?: number;
28
+ /** Wall-clock seconds since the write started. */
29
+ elapsedSeconds: number;
30
+ /** Number of parallel write tasks currently in flight. */
31
+ activeTasks: number;
32
+ /** Total number of parallel write tasks (the write parallelism). */
33
+ totalTasks: number;
34
+ /** `true` for the final callback; `false` otherwise. */
35
+ done: boolean;
36
+ }
37
+ /**
38
+ * Options for adding data to a table.
39
+ */
40
+ export interface AddDataOptions {
41
+ /**
42
+ * If "append" (the default) then the new data will be added to the table
43
+ *
44
+ * If "overwrite" then the new data will replace the existing data in the table.
45
+ */
46
+ mode: "append" | "overwrite";
47
+ /**
48
+ * Optional callback invoked periodically with write progress.
49
+ *
50
+ * The callback is fired once per batch written and once more with
51
+ * `done: true` when the write completes. Calls are dispatched
52
+ * asynchronously to the JS event loop and never block the write — a slow
53
+ * callback will queue events rather than back-pressure the writer.
54
+ *
55
+ * Errors thrown from the callback are logged with `console.warn` and
56
+ * swallowed — they do not abort the write.
57
+ *
58
+ * @example
59
+ * ```ts
60
+ * await table.add(data, {
61
+ * progress: (p) => {
62
+ * console.log(`${p.outputRows}/${p.totalRows ?? "?"} rows`);
63
+ * },
64
+ * });
65
+ * ```
66
+ */
67
+ progress: (progress: WriteProgress) => void;
68
+ /**
69
+ * Whether blob URIs outside registered external bases may be written.
70
+ *
71
+ * Defaults to `false`. This option is supported only for local/native
72
+ * tables; remote tables return an error when it is enabled. An enabled write
73
+ * stores the absolute URI reference without registering a base or copying
74
+ * the external object into the database. The object must remain accessible
75
+ * when the blob is read later.
76
+ */
77
+ allowExternalBlobOutsideBases?: boolean;
78
+ }
79
+ export interface UpdateOptions {
80
+ /**
81
+ * A filter that limits the scope of the update.
82
+ *
83
+ * This should be an SQL filter expression.
84
+ *
85
+ * Only rows that satisfy the expression will be updated.
86
+ *
87
+ * For example, this could be 'my_col == 0' to replace all instances
88
+ * of 0 in a column with some other default value.
89
+ */
90
+ where: string;
91
+ }
92
+ export interface OptimizeOptions {
93
+ /**
94
+ * If set then all versions older than the given date
95
+ * be removed. The current version will never be removed.
96
+ * The default is 7 days
97
+ * @example
98
+ * // Delete all versions older than 1 day
99
+ * const olderThan = new Date();
100
+ * olderThan.setDate(olderThan.getDate() - 1));
101
+ * tbl.optimize({cleanupOlderThan: olderThan});
102
+ *
103
+ * // Delete versions committed before this point. Versions created by the
104
+ * // optimize call itself are newer than the cutoff and will be retained.
105
+ * tbl.optimize({cleanupOlderThan: new Date()});
106
+ */
107
+ cleanupOlderThan: Date;
108
+ /**
109
+ * Because they may be part of an in-progress transaction, files newer than
110
+ * 7 days old are not deleted by default. If you are sure that there are no
111
+ * in-progress transactions, then you can set this to true to delete all
112
+ * files older than `cleanupOlderThan`.
113
+ *
114
+ * **WARNING**: This should only be set to true if you can guarantee that
115
+ * no other process is currently working on this dataset. Otherwise the
116
+ * dataset could be put into a corrupted state.
117
+ */
118
+ deleteUnverified: boolean;
119
+ }
120
+ export interface Version {
121
+ version: number;
122
+ timestamp: Date;
123
+ metadata: Record<string, string>;
124
+ }
125
+ /** Token produced by the tokenizer configured on a full-text search index. */
126
+ export interface FtsToken {
127
+ /** Token text after tokenizer filters have been applied. */
128
+ text: string;
129
+ /** Token position used by full-text query matching. */
130
+ position: number;
131
+ }
132
+ export type TokenizeTableOptions = {
133
+ /** FTS-indexed column whose tokenizer should be used. */
134
+ column: string;
135
+ indexName?: never;
136
+ } | {
137
+ /** Name of the FTS index whose tokenizer should be used. */
138
+ indexName: string;
139
+ column?: never;
140
+ };
141
+ /**
142
+ * Specification selecting Lance's MemWAL LSM-style write path for
143
+ * `mergeInsert`.
144
+ *
145
+ * `specType` is `"bucket"`, `"identity"`, or `"unsharded"`. For `"bucket"`,
146
+ * `column` and `numBuckets` are required; for `"identity"`, `column` is
147
+ * required and must be a deterministic function of the unenforced primary
148
+ * key (every row with a given primary key must always produce the same
149
+ * `column` value, or upserts of that key can land in different shards and a
150
+ * stale version can win).
151
+ */
152
+ export interface LsmWriteSpec {
153
+ /** One of `"bucket"`, `"identity"`, or `"unsharded"`. */
154
+ specType: "bucket" | "identity" | "unsharded";
155
+ /** Bucket and identity variants: the sharding column. */
156
+ column?: string;
157
+ /** Bucket variant: the number of buckets, in `[1, 1024]`. */
158
+ numBuckets?: number;
159
+ /**
160
+ * Indexes the MemWAL keeps up to date. Omit to maintain every supported
161
+ * index, resolved on install — a snapshot, so indexes created later are not
162
+ * maintained. Pass `[]` for none.
163
+ */
164
+ maintainedIndexes?: string[];
165
+ /** Default `ShardWriter` configuration recorded in the MemWAL index. */
166
+ writerConfigDefaults?: Record<string, string>;
167
+ }
168
+ /**
169
+ * A Table is a collection of Records in a LanceDB Database.
170
+ *
171
+ * A Table object is expected to be long lived and reused for multiple operations.
172
+ * Table objects will cache a certain amount of index data in memory. This cache
173
+ * will be freed when the Table is garbage collected. To eagerly free the cache you
174
+ * can call the `close` method. Once the Table is closed, it cannot be used for any
175
+ * further operations.
176
+ *
177
+ * Tables are created using the methods {@link Connection#createTable}
178
+ * and {@link Connection#createEmptyTable}. Existing tables are opened
179
+ * using {@link Connection#openTable}.
180
+ *
181
+ * Closing a table is optional. It not closed, it will be closed when it is garbage
182
+ * collected.
183
+ *
184
+ * @hideconstructor
185
+ */
186
+ export declare abstract class Table {
187
+ /** Returns the name of the table */
188
+ abstract get name(): string;
189
+ /** Return true if the table has not been closed */
190
+ abstract isOpen(): boolean;
191
+ /**
192
+ * Close the table, releasing any underlying resources.
193
+ *
194
+ * It is safe to call this method multiple times.
195
+ *
196
+ * Any attempt to use the table after it is closed will result in an error.
197
+ */
198
+ abstract close(): void;
199
+ /** Return a brief description of the table */
200
+ abstract display(): string;
201
+ /** Get the schema of the table. */
202
+ abstract schema(): Promise<Schema>;
203
+ /**
204
+ * Insert records into this Table.
205
+ * @param {Data} data Records to be inserted into the Table
206
+ * @returns {Promise<AddResult>} A promise that resolves to an object
207
+ * containing the new version number of the table
208
+ */
209
+ abstract add(data: Data, options?: Partial<AddDataOptions>): Promise<AddResult>;
210
+ /**
211
+ * Update existing records in the Table
212
+ * @param opts.values The values to update. The keys are the column names and the values
213
+ * are the values to set.
214
+ * @returns {Promise<UpdateResult>} A promise that resolves to an object containing
215
+ * the number of rows updated and the new version number
216
+ * @example
217
+ * ```ts
218
+ * table.update({where:"x = 2", values:{"vector": [10, 10]}})
219
+ * ```
220
+ */
221
+ abstract update(opts: {
222
+ values: Map<string, IntoSql> | Record<string, IntoSql>;
223
+ } & Partial<UpdateOptions>): Promise<UpdateResult>;
224
+ /**
225
+ * Update existing records in the Table
226
+ * @param opts.valuesSql The values to update. The keys are the column names and the values
227
+ * are the values to set. The values are SQL expressions.
228
+ * @returns {Promise<UpdateResult>} A promise that resolves to an object containing
229
+ * the number of rows updated and the new version number
230
+ * @example
231
+ * ```ts
232
+ * table.update({where:"x = 2", valuesSql:{"x": "x + 1"}})
233
+ * ```
234
+ */
235
+ abstract update(opts: {
236
+ valuesSql: Map<string, string> | Record<string, string>;
237
+ } & Partial<UpdateOptions>): Promise<UpdateResult>;
238
+ /**
239
+ * Update existing records in the Table
240
+ *
241
+ * An update operation can be used to adjust existing values. Use the
242
+ * returned builder to specify which columns to update. The new value
243
+ * can be a literal value (e.g. replacing nulls with some default value)
244
+ * or an expression applied to the old value (e.g. incrementing a value)
245
+ *
246
+ * An optional condition can be specified (e.g. "only update if the old
247
+ * value is 0")
248
+ *
249
+ * Note: if your condition is something like "some_id_column == 7" and
250
+ * you are updating many rows (with different ids) then you will get
251
+ * better performance with a single [`merge_insert`] call instead of
252
+ * repeatedly calling this method.
253
+ * @param {Map<string, string> | Record<string, string>} updates - the
254
+ * columns to update
255
+ * @returns {Promise<UpdateResult>} A promise that resolves to an object
256
+ * containing the number of rows updated and the new version number
257
+ *
258
+ * Keys in the map should specify the name of the column to update.
259
+ * Values in the map provide the new value of the column. These can
260
+ * be SQL literal strings (e.g. "7" or "'foo'") or they can be expressions
261
+ * based on the row being updated (e.g. "my_col + 1")
262
+ * @param {Partial<UpdateOptions>} options - additional options to control
263
+ * the update behavior
264
+ */
265
+ abstract update(updates: Map<string, string> | Record<string, string>, options?: Partial<UpdateOptions>): Promise<UpdateResult>;
266
+ /** Count the total number of rows in the dataset. */
267
+ abstract countRows(filter?: string): Promise<number>;
268
+ /**
269
+ * Delete the rows that satisfy the predicate.
270
+ * @returns {Promise<DeleteResult>} A promise that resolves to an object
271
+ * containing the new version number of the table
272
+ */
273
+ abstract delete(predicate: string): Promise<DeleteResult>;
274
+ /**
275
+ * Create an index to speed up queries.
276
+ *
277
+ * Indices can be created on vector columns or scalar columns.
278
+ * Indices on vector columns will speed up vector searches.
279
+ * Indices on scalar columns will speed up filtering (in both
280
+ * vector and non-vector searches)
281
+ *
282
+ * We currently don't support custom named indexes.
283
+ * The index name will always be `${column}_idx`.
284
+ *
285
+ * @example
286
+ * // If the column has a vector (fixed size list) data type then
287
+ * // an IvfPq vector index will be created.
288
+ * const table = await conn.openTable("my_table");
289
+ * await table.createIndex("vector");
290
+ * @example
291
+ * // For advanced control over vector index creation you can specify
292
+ * // the index type and options.
293
+ * const table = await conn.openTable("my_table");
294
+ * await table.createIndex("vector", {
295
+ * config: lancedb.Index.ivfPq({
296
+ * numPartitions: 128,
297
+ * numSubVectors: 16,
298
+ * }),
299
+ * });
300
+ * @example
301
+ * // Or create a Scalar index
302
+ * await table.createIndex("my_float_col");
303
+ */
304
+ abstract createIndex(column: string, options?: Partial<IndexOptions>): Promise<void>;
305
+ /**
306
+ * Create an index, returning a handle to the indexing job.
307
+ *
308
+ * The job may already be complete when returned; callers must not assume
309
+ * the index exists until {@link Job.wait} resolves.
310
+ */
311
+ abstract createIndexAsync(column: string, options?: Partial<IndexOptions>): Promise<Job>;
312
+ /**
313
+ * Drop an index from the table.
314
+ *
315
+ * @param name The name of the index.
316
+ *
317
+ * This does not delete the index from disk, it just removes it from the table.
318
+ * To delete the index, run {@link Table#optimize} after dropping the index.
319
+ *
320
+ * Use {@link Table.listIndices} to find the names of the indices.
321
+ */
322
+ abstract dropIndex(name: string): Promise<void>;
323
+ /**
324
+ * Prewarm an index in the table.
325
+ *
326
+ * @param name The name of the index.
327
+ *
328
+ * This will load the index into memory. This may reduce the cold-start time for
329
+ * future queries. If the index does not fit in the cache then this call may be
330
+ * wasteful.
331
+ */
332
+ abstract prewarmIndex(name: string): Promise<void>;
333
+ /**
334
+ * Prewarm one or more columns of data in the table.
335
+ *
336
+ * @param columns The columns to prewarm. If undefined, all columns are prewarmed.
337
+ *
338
+ * This will load the column data into the page cache so that future queries that
339
+ * read those columns avoid the initial cold-start latency. This call initiates
340
+ * prewarming and returns once the request is accepted; the warming itself may
341
+ * continue in the background. Calling it on already-prewarmed columns is a
342
+ * no-op on the server.
343
+ *
344
+ * Prewarming is generally useful for columns used in filters or projections.
345
+ * Large columns (e.g. high-dimensional vectors or binary data) may not be
346
+ * practical to prewarm.
347
+ *
348
+ * This feature is currently only supported on remote tables.
349
+ */
350
+ abstract prewarmData(columns?: string[]): Promise<void>;
351
+ /**
352
+ * Waits for asynchronous indexing to complete on the table.
353
+ *
354
+ * @param indexNames The name of the indices to wait for
355
+ * @param timeoutSeconds The number of seconds to wait before timing out
356
+ *
357
+ * This will raise an error if the indices are not created and fully indexed within the timeout.
358
+ */
359
+ abstract waitForIndex(indexNames: string[], timeoutSeconds: number): Promise<void>;
360
+ /**
361
+ * Create a {@link Query} Builder.
362
+ *
363
+ * Queries allow you to search your existing data. By default the query will
364
+ * return all the data in the table in no particular order. The builder
365
+ * returned by this method can be used to control the query using filtering,
366
+ * vector similarity, sorting, and more.
367
+ *
368
+ * Note: By default, all columns are returned. For best performance, you should
369
+ * only fetch the columns you need.
370
+ *
371
+ * When appropriate, various indices and statistics based pruning will be used to
372
+ * accelerate the query.
373
+ * @example
374
+ * // SQL-style filtering
375
+ * //
376
+ * // This query will return up to 1000 rows whose value in the `id` column
377
+ * // is greater than 5. LanceDb supports a broad set of filtering functions.
378
+ * for await (const batch of table
379
+ * .query()
380
+ * .where("id > 1")
381
+ * .select(["id"])
382
+ * .limit(20)) {
383
+ * console.log(batch);
384
+ * }
385
+ * @example
386
+ * // Vector Similarity Search
387
+ * //
388
+ * // This example will find the 10 rows whose value in the "vector" column are
389
+ * // closest to the query vector [1.0, 2.0, 3.0]. If an index has been created
390
+ * // on the "vector" column then this will perform an ANN search.
391
+ * //
392
+ * // The `refineFactor` and `nprobes` methods are used to control the recall /
393
+ * // latency tradeoff of the search.
394
+ * for await (const batch of table
395
+ * .query()
396
+ * .where("id > 1")
397
+ * .select(["id"])
398
+ * .limit(20)) {
399
+ * console.log(batch);
400
+ * }
401
+ * @example
402
+ * // Scan the full dataset
403
+ * //
404
+ * // This query will return everything in the table in no particular order.
405
+ * for await (const batch of table.query()) {
406
+ * console.log(batch);
407
+ * }
408
+ * @returns {Query} A builder that can be used to parameterize the query
409
+ */
410
+ abstract query(): Query;
411
+ /**
412
+ * Create a query that returns a subset of the rows in the table.
413
+ * @param offsets The offsets of the rows to return.
414
+ * @returns A builder that can be used to parameterize the query.
415
+ */
416
+ abstract takeOffsets(offsets: number[]): TakeQuery;
417
+ /**
418
+ * Create a query that returns a subset of the rows in the table.
419
+ * @param rowIds The row ids of the rows to return.
420
+ *
421
+ * Row ids returned by `withRowId()` are `bigint`, so `bigint[]` is supported.
422
+ * For convenience / backwards compatibility, `number[]` is also accepted (for
423
+ * small row ids that fit in a safe integer).
424
+ * @returns A builder that can be used to parameterize the query.
425
+ */
426
+ abstract takeRowIds(rowIds: readonly (bigint | number)[]): TakeQuery;
427
+ /**
428
+ * Blob v2 columns, including nested dotted paths.
429
+ */
430
+ abstract blobColumns(): Promise<string[]>;
431
+ /**
432
+ * Bytes for `column` at row IDs from {@link Query.withRowId}.
433
+ *
434
+ * Reads the table's current checkout. IDs from another version can fail after
435
+ * compaction unless stable row ids are enabled. Results keep input order and
436
+ * duplicates. Null blobs are `null`. Empty blobs are empty buffers.
437
+ * Remote servers limit each request to 1024 row IDs and 64 MiB of blob bytes.
438
+ * The client splits requests automatically and reads an individual larger
439
+ * blob through the Range route. This method still materializes all bytes in
440
+ * memory; use {@link Table.fetchBlobFiles} for large values.
441
+ */
442
+ abstract fetchBlobs(column: string, rowIds: readonly (bigint | number)[], options?: BlobReadOptions): Promise<(Buffer | null)[]>;
443
+ /**
444
+ * Opens lazy blob handles for `column` at the given row IDs using the
445
+ * table's current checkout.
446
+ *
447
+ * Preserves input order, duplicates, and nulls. Use this for large payloads.
448
+ * See {@link Table.fetchBlobs} for row-ID validity across versions.
449
+ */
450
+ abstract fetchBlobFiles(column: string, rowIds: readonly (bigint | number)[], options?: BlobReadOptions): Promise<(BlobFile | null)[]>;
451
+ /**
452
+ * Create a search query to find the nearest neighbors
453
+ * of the given query
454
+ * @param {string | IntoVector} query - the query, a vector or string
455
+ * @param {string} queryType - the type of the query, "vector", "fts", or "auto"
456
+ * @param {string | string[]} ftsColumns - the columns to search in for full text search
457
+ * for now, only one column can be searched at a time.
458
+ *
459
+ * when "auto" is used, if the query is a string and an embedding function is defined, it will be treated as a vector query
460
+ * if the query is a string and no embedding function is defined, it will be treated as a full text search query
461
+ */
462
+ abstract search(query: string | IntoVector | MultiVector | FullTextQuery, queryType?: string, ftsColumns?: string | string[]): VectorQuery | Query | AutoQuery;
463
+ /**
464
+ * Search the table with a given query vector.
465
+ *
466
+ * This is a convenience method for preparing a vector query and
467
+ * is the same thing as calling `nearestTo` on the builder returned
468
+ * by `query`. @see {@link Query#nearestTo} for more details.
469
+ */
470
+ abstract vectorSearch(vector: IntoVector | MultiVector): VectorQuery;
471
+ /**
472
+ * Add new columns with defined values.
473
+ *
474
+ * The `{ computed }` form stores the expression rather than evaluating it
475
+ * now: the column is committed with no values, and rows get them from
476
+ * {@link Table#refreshColumn}. Declaring one therefore costs the same on a
477
+ * large table as on an empty one.
478
+ *
479
+ * A refresh also recomputes the rows whose inputs changed since they were
480
+ * computed, so a mutated input is reflected by the next refresh. While a
481
+ * declaration reads a column, that column cannot be renamed, retyped or
482
+ * dropped.
483
+ *
484
+ * On LanceDB Cloud and Enterprise the expression is planned by the
485
+ * server, and the refresh runs as a server job -- see
486
+ * {@link Table#refreshColumnAsync}.
487
+ * @param {AddColumnsSql[] | Field | Field[] | Schema} newColumnTransforms Either:
488
+ * - An array of objects with column names and SQL expressions to calculate values
489
+ * - A single Arrow Field defining one column with its data type (column will be initialized with null values)
490
+ * - An array of Arrow Fields defining columns with their data types (columns will be initialized with null values)
491
+ * - An Arrow Schema defining columns with their data types (columns will be initialized with null values)
492
+ * - `{ computed }`, declaring columns defined by a SQL expression whose type and inputs are derived from it
493
+ * @returns {Promise<AddColumnsResult>} A promise that resolves to an object
494
+ * containing the new version number of the table after adding the columns.
495
+ * @example
496
+ * ```ts
497
+ * await table.addColumns({ computed: [{ name: "doubled", valueSql: "x * 2" }] });
498
+ * const { rowsFilled } = await table.refreshColumn("doubled");
499
+ * ```
500
+ */
501
+ abstract addColumns(newColumnTransforms: AddColumnsSql[] | Field | Field[] | Schema | {
502
+ computed: AddColumnsSql[];
503
+ }): Promise<AddColumnsResult>;
504
+ /**
505
+ * Fill the rows of a computed column that hold no value yet.
506
+ *
507
+ * Rows appended since the last refresh are filled by the next one, and
508
+ * rows whose inputs changed since they were computed are recomputed;
509
+ * everything else is left as it is. Local tables only: a remote refresh
510
+ * runs as a server job, through {@link Table#refreshColumnAsync}.
511
+ * @param {string} column The name of the computed column to fill.
512
+ * @returns {Promise<RefreshColumnResult>} A promise that resolves to the
513
+ * number of rows filled and the new version number of the table.
514
+ */
515
+ abstract refreshColumn(column: string): Promise<RefreshColumnResult>;
516
+ /**
517
+ * Like {@link Table#refreshColumn}, but returns a handle to the refresh
518
+ * job instead of blocking until it completes.
519
+ *
520
+ * The job may already be complete when returned; callers must not assume
521
+ * the column is filled until {@link Job.wait} resolves. Invalid input --
522
+ * an unknown column, or one that is not computed -- rejects here rather
523
+ * than failing the job. On local tables the job runs in-process; on
524
+ * LanceDB Cloud and Enterprise it is the server's backfill job.
525
+ * @param {string} column The name of the computed column to fill.
526
+ * @example
527
+ * ```ts
528
+ * const job = await table.refreshColumnAsync("doubled");
529
+ * await job.wait();
530
+ * console.log(await job.status()); // "finished"
531
+ * ```
532
+ */
533
+ abstract refreshColumnAsync(column: string): Promise<Job>;
534
+ /**
535
+ * The per-row errors Function refreshes recorded on this table.
536
+ *
537
+ * A refresh running under a skip policy records each row it skipped with
538
+ * the input that failed and the error. This lists those records, newest
539
+ * job first, plus a summary for any fragment whose per-row detail was
540
+ * capped. LanceDB Cloud and Enterprise only; reading errors needs read
541
+ * access to the table, since a message carries the value that failed.
542
+ * @param {FunctionErrorsOptions} options Optional filters: `jobId`,
543
+ * `column`, and `limit` (server default 10000, cap 100000).
544
+ * @returns {Promise<FunctionErrors>} The records, the capped fragments,
545
+ * and whether the listing stopped at its limit.
546
+ * @example
547
+ * ```ts
548
+ * const { records, truncated } = await table.functionErrors({ column: "embedding" });
549
+ * ```
550
+ */
551
+ abstract functionErrors(options?: FunctionErrorsOptions): Promise<FunctionErrors>;
552
+ /**
553
+ * Recompute this table's contents from its materialized-view definition.
554
+ *
555
+ * Plumbing for {@link MaterializedView.refresh}, which is the way to call
556
+ * it: rejects tables that carry no view definition.
557
+ * @ignore
558
+ */
559
+ abstract refreshMaterializedView(full?: boolean, sourceVersion?: number): Promise<RefreshMaterializedViewResult>;
560
+ /** @ignore */
561
+ abstract materializedViewDefinition(): Promise<string>;
562
+ /**
563
+ * Alter the name or nullability of columns.
564
+ * @param {ColumnAlteration[]} columnAlterations One or more alterations to
565
+ * apply to columns.
566
+ * @returns {Promise<AlterColumnsResult>} A promise that resolves to an object
567
+ * containing the new version number of the table after altering the columns.
568
+ */
569
+ abstract alterColumns(columnAlterations: ColumnAlteration[]): Promise<AlterColumnsResult>;
570
+ /**
571
+ * Update per-field (column) metadata.
572
+ *
573
+ * The following keys are treated specially, by convention, and should be
574
+ * used when appropriate:
575
+ *
576
+ * - `lancedb:description`: for a human-readable description of a field.
577
+ * - `lancedb:tag:<name>`: for a user-defined key-value tag, where the suffix
578
+ * names the tag category; e.g. `lancedb:tag:model: "clip"`.
579
+ * - `lancedb:logical-column`: for a column grouping; e.g. `feature_v1` and
580
+ * `feature_v2` might be in the same logical column.
581
+ * - `lancedb:status`: for status options (`production`, `candidate`,
582
+ * `deprecated`, `archived`) to designate the current life cycle state of
583
+ * this column.
584
+ * @param {FieldMetadataUpdate[]} updates One or more per-field updates. Each
585
+ * update's metadata is merged into the field's existing metadata by default;
586
+ * a value of `null` deletes that key, and `replace: true` swaps the whole map.
587
+ * @returns {Promise<UpdateFieldMetadataResult>} resolves to the new table version.
588
+ */
589
+ abstract updateFieldMetadata(updates: FieldMetadataUpdate[]): Promise<UpdateFieldMetadataResult>;
590
+ /**
591
+ * Drop one or more columns from the dataset
592
+ *
593
+ * This is a metadata-only operation and does not remove the data from the
594
+ * underlying storage. In order to remove the data, you must subsequently
595
+ * call ``compact_files`` to rewrite the data without the removed columns and
596
+ * then call ``cleanup_files`` to remove the old files.
597
+ * @param {string[]} columnNames The names of the columns to drop. These can
598
+ * be nested column references (e.g. "a.b.c") or top-level column names
599
+ * (e.g. "a").
600
+ * @returns {Promise<DropColumnsResult>} A promise that resolves to an object
601
+ * containing the new version number of the table after dropping the columns.
602
+ */
603
+ abstract dropColumns(columnNames: string[]): Promise<DropColumnsResult>;
604
+ /**
605
+ * Set the unenforced primary key for this table to a single column.
606
+ *
607
+ * "Unenforced" means LanceDB does not check uniqueness on writes; the
608
+ * column is recorded in the schema as the primary key for use by features
609
+ * such as `merge_insert`. Only single-column primary keys are supported,
610
+ * and the key cannot be changed once set.
611
+ * @param {string | string[]} columns The primary key column. A one-element
612
+ * array is also accepted; passing more than one column is rejected.
613
+ * @returns {Promise<void>}
614
+ */
615
+ abstract setUnenforcedPrimaryKey(columns: string | string[]): Promise<void>;
616
+ /**
617
+ * Install an {@link LsmWriteSpec} on this table, selecting Lance's MemWAL
618
+ * LSM-style write path for future `mergeInsert` calls.
619
+ *
620
+ * `LsmWriteSpec` chooses one of three sharding strategies via `specType`:
621
+ *
622
+ * - `"bucket"` — hash-bucket writes by the single-column unenforced primary
623
+ * key (`column` and `numBuckets` required).
624
+ * - `"identity"` — shard by the raw value of a scalar `column`.
625
+ * - `"unsharded"` — route every write to a single shard.
626
+ *
627
+ * All variants require the table to have an unenforced primary key
628
+ * ({@link Table#setUnenforcedPrimaryKey}); bucket sharding additionally
629
+ * requires it to be the single column being bucketed.
630
+ *
631
+ * Omitting `maintainedIndexes` maintains every index on the table, resolved
632
+ * here, failing if one cannot be maintained — name them to install anyway.
633
+ * Naming them pins an exact set, and a still-building index is rejected
634
+ * rather than quietly omitted.
635
+ * @param {LsmWriteSpec} spec The sharding spec to install.
636
+ * @returns {Promise<void>}
637
+ * @example
638
+ * ```ts
639
+ * await table.setUnenforcedPrimaryKey("id");
640
+ * await table.setLsmWriteSpec({
641
+ * specType: "bucket",
642
+ * column: "id",
643
+ * numBuckets: 16,
644
+ * maintainedIndexes: ["id_idx"],
645
+ * });
646
+ * ```
647
+ */
648
+ abstract setLsmWriteSpec(spec: LsmWriteSpec): Promise<void>;
649
+ /**
650
+ * Remove the {@link LsmWriteSpec} from this table, reverting to the standard
651
+ * `mergeInsert` write path.
652
+ *
653
+ * Errors if no spec is currently set.
654
+ * @returns {Promise<void>}
655
+ */
656
+ abstract unsetLsmWriteSpec(): Promise<void>;
657
+ /**
658
+ * Read the {@link LsmWriteSpec} currently installed on this table.
659
+ *
660
+ * Resolves to `undefined` when the MemWAL LSM write path is not enabled (no
661
+ * spec has been set, or it was removed with {@link Table#unsetLsmWriteSpec}).
662
+ * The returned spec mirrors what was passed to
663
+ * {@link Table#setLsmWriteSpec}, except that `maintainedIndexes` always
664
+ * reports the concrete list resolved when the spec was set — `undefined`
665
+ * never round-trips.
666
+ * @returns {Promise<LsmWriteSpec | undefined>}
667
+ */
668
+ abstract getLsmWriteSpec(): Promise<LsmWriteSpec | undefined>;
669
+ /**
670
+ * Drain and close any cached MemWAL shard writers held for this table.
671
+ *
672
+ * When an {@link LsmWriteSpec} is installed, `mergeInsert` opens MemWAL
673
+ * shard writers and caches them for reuse across calls. This closes them,
674
+ * flushing pending data; writers reopen lazily on the next `mergeInsert`.
675
+ * It is a no-op when no writers are cached.
676
+ * @returns {Promise<void>}
677
+ */
678
+ abstract closeLsmWriters(): Promise<void>;
679
+ /**
680
+ * Seal every bucket's active memtable into a new L0 generation.
681
+ *
682
+ * Returns once the seal is committed. Sealing an empty memtable is a no-op,
683
+ * so this is safe to call repeatedly.
684
+ * @returns {Promise<void>}
685
+ */
686
+ abstract flushLsm(): Promise<void>;
687
+ /**
688
+ * Trigger a background L0 → base compaction pass per bucket.
689
+ *
690
+ * Returns once the passes are *dispatched*, not once they finish — watch
691
+ * {@link Table#getLsmStats} for progress, or use
692
+ * {@link Table#checkpointLsm} to wait for convergence.
693
+ * @returns {Promise<void>}
694
+ */
695
+ abstract compactLsm(): Promise<void>;
696
+ /**
697
+ * Converge this table's LSM write path into its base table.
698
+ *
699
+ * Seals once, then triggers compaction and polls until the L0 that existed
700
+ * at the start is gone. The target set is fixed at the start, so
701
+ * generations created *during* the checkpoint are ignored — that is what
702
+ * lets it terminate under write load, and what makes it best-effort: it
703
+ * converges the fresh tier as of some instant. Idempotent, abandonable at
704
+ * any point, and safe to run on a cadence.
705
+ *
706
+ * There is no liveness bound — the compactor pool is shared across tables,
707
+ * so a checkpoint queued behind unrelated work looks exactly like one that
708
+ * is merging. The caller owns the deadline.
709
+ * @returns {Promise<void>}
710
+ * @example
711
+ * ```ts
712
+ * const before = await table.getLsmStats();
713
+ * await table.checkpointLsm();
714
+ * const after = await table.getLsmStats();
715
+ * ```
716
+ */
717
+ abstract checkpointLsm(): Promise<void>;
718
+ /**
719
+ * Read live per-bucket LSM state.
720
+ *
721
+ * Answers "how far behind is my fresh tier", "which bucket is hot", and
722
+ * "why is my fresh-tier vector search brute-force". Mutates no table state.
723
+ *
724
+ * Resolves to `undefined` only when the LSM write path is not enabled.
725
+ * @param {boolean} includeGenerationRows Also count rows per L0 generation.
726
+ * Off by default because each count opens an uncached Lance dataset.
727
+ * @returns {Promise<LsmStats | undefined>}
728
+ */
729
+ abstract getLsmStats(includeGenerationRows?: boolean): Promise<LsmStats | undefined>;
730
+ /** Retrieve the version of the table */
731
+ abstract version(): Promise<number>;
732
+ /**
733
+ * Checks out a specific version of the table _This is an in-place operation._
734
+ *
735
+ * This allows viewing previous versions of the table. If you wish to
736
+ * keep writing to the dataset starting from an old version, then use
737
+ * the `restore` function.
738
+ *
739
+ * Calling this method will set the table into time-travel mode. If you
740
+ * wish to return to standard mode, call `checkoutLatest`.
741
+ * @param {number | string} version The version to checkout, could be version number or tag
742
+ * @example
743
+ * ```typescript
744
+ * import * as lancedb from "@lancedb/lancedb"
745
+ * const db = await lancedb.connect("./.lancedb");
746
+ * const table = await db.createTable("my_table", [
747
+ * { vector: [1.1, 0.9], type: "vector" },
748
+ * ]);
749
+ *
750
+ * console.log(await table.version()); // 1
751
+ * console.log(table.display());
752
+ * await table.add([{ vector: [0.5, 0.2], type: "vector" }]);
753
+ * await table.checkout(1);
754
+ * console.log(await table.version()); // 2
755
+ * ```
756
+ */
757
+ abstract checkout(version: number | string): Promise<void>;
758
+ /**
759
+ * Checkout the latest version of the table. _This is an in-place operation._
760
+ *
761
+ * The table will be set back into standard mode, and will track the latest
762
+ * version of the table.
763
+ */
764
+ abstract checkoutLatest(): Promise<void>;
765
+ /**
766
+ * List all the versions of the table
767
+ */
768
+ abstract listVersions(): Promise<Version[]>;
769
+ /**
770
+ * Get a tags manager for this table.
771
+ *
772
+ * Tags allow you to label specific versions of a table with a human-readable name.
773
+ * The returned tags manager can be used to list, create, update, or delete tags.
774
+ *
775
+ * @returns {Tags} A tags manager for this table
776
+ * @example
777
+ * ```typescript
778
+ * const tagsManager = await table.tags();
779
+ * await tagsManager.create("v1", 1);
780
+ * const tags = await tagsManager.list();
781
+ * console.log(tags); // { "v1": { version: 1, manifestSize: ... } }
782
+ * ```
783
+ */
784
+ abstract tags(): Promise<Tags>;
785
+ /**
786
+ * Get the branch manager for this table.
787
+ *
788
+ * Branches are isolated, writable lines of history forked from another
789
+ * branch (or version). Writes on a branch do not affect `main`.
790
+ */
791
+ abstract branches(): Promise<Branches>;
792
+ /**
793
+ * The branch this table handle is scoped to, or `null` for the main branch.
794
+ *
795
+ * A handle returned by {@link Branches.create} or {@link Branches.checkout}
796
+ * reports the branch it targets; a handle opened normally reports `null`.
797
+ */
798
+ abstract currentBranch(): string | null;
799
+ /**
800
+ * Restore the table to the currently checked out version
801
+ *
802
+ * This operation will fail if checkout has not been called previously
803
+ *
804
+ * This operation will overwrite the latest version of the table with a
805
+ * previous version. Any changes made since the checked out version will
806
+ * no longer be visible.
807
+ *
808
+ * Once the operation concludes the table will no longer be in a checked
809
+ * out state and the read_consistency_interval, if any, will apply.
810
+ */
811
+ abstract restore(): Promise<void>;
812
+ /**
813
+ * Optimize the on-disk data and indices for better performance.
814
+ *
815
+ * Modeled after ``VACUUM`` in PostgreSQL.
816
+ *
817
+ * Optimization covers three operations:
818
+ *
819
+ * - Compaction: Merges small files into larger ones
820
+ * - Prune: Removes old versions of the dataset
821
+ * - Index: Optimizes the indices, adding new data to existing indices
822
+ *
823
+ *
824
+ * The frequency an application should call optimize is based on the frequency of
825
+ * data modifications. If data is frequently added, deleted, or updated then
826
+ * optimize should be run frequently. A good rule of thumb is to run optimize if
827
+ * you have added or modified 100,000 or more records or run more than 20 data
828
+ * modification operations.
829
+ */
830
+ abstract optimize(options?: Partial<OptimizeOptions>): Promise<OptimizeStats>;
831
+ /** List all indices that have been created with {@link Table.createIndex} */
832
+ abstract listIndices(): Promise<IndexConfig[]>;
833
+ /**
834
+ * Tokenize a full-text search query using the tokenizer configured on an FTS index.
835
+ *
836
+ * Specify exactly one of `column` or `indexName`.
837
+ *
838
+ * Model-backed tokenizers such as `jieba/*` and `lindera/*` are rebuilt in
839
+ * the client process from index metadata. For remote tables, this means the
840
+ * same tokenizer model files must also exist locally.
841
+ */
842
+ abstract tokenize(query: string, options: TokenizeTableOptions): Promise<FtsToken[]>;
843
+ /** Return the table as an arrow table */
844
+ abstract toArrow(): Promise<ArrowTable>;
845
+ /**
846
+ * Create a {@link MergeInsertBuilder}, which combines new data with the
847
+ * existing table in a single transaction — inserting, updating and deleting
848
+ * rows depending on how they match.
849
+ *
850
+ * @param on - The column, or columns, to match source rows against target
851
+ * rows on. Typically a key or id column. Several columns match on the
852
+ * composite key: a source row updates a target row only when it agrees on
853
+ * every one of them.
854
+ */
855
+ abstract mergeInsert(on: string | string[]): MergeInsertBuilder;
856
+ /** List all the stats of a specified index
857
+ *
858
+ * @param {string} name The name of the index.
859
+ * @returns {IndexStatistics | undefined} The stats of the index. If the index does not exist, it will return undefined
860
+ *
861
+ * Use {@link Table.listIndices} to find the names of the indices.
862
+ */
863
+ abstract indexStats(name: string): Promise<IndexStatistics | undefined>;
864
+ /** Returns table and fragment statistics
865
+ *
866
+ * @returns {TableStatistics} The table and fragment statistics
867
+ *
868
+ */
869
+ abstract stats(): Promise<TableStatistics>;
870
+ /**
871
+ * Get the initial storage options that were passed in when opening this table.
872
+ *
873
+ * For dynamically refreshed options (e.g., credential vending), use
874
+ * {@link Table.latestStorageOptions}.
875
+ *
876
+ * Warning: This is an internal API and the return value is subject to change.
877
+ *
878
+ * @returns The storage options, or undefined if no storage options were configured.
879
+ */
880
+ abstract initialStorageOptions(): Promise<Record<string, string> | null | undefined>;
881
+ /**
882
+ * Get the latest storage options, refreshing from provider if configured.
883
+ *
884
+ * This method is useful for credential vending scenarios where storage options
885
+ * may be refreshed dynamically. If no dynamic provider is configured, this
886
+ * returns the initial static options.
887
+ *
888
+ * Warning: This is an internal API and the return value is subject to change.
889
+ *
890
+ * @returns The storage options, or undefined if no storage options were configured.
891
+ */
892
+ abstract latestStorageOptions(): Promise<Record<string, string> | null | undefined>;
893
+ }
894
+ export declare class LocalTable extends Table {
895
+ private readonly inner;
896
+ constructor(inner: _NativeTable);
897
+ get name(): string;
898
+ isOpen(): boolean;
899
+ close(): void;
900
+ display(): string;
901
+ private getEmbeddingFunctions;
902
+ /** Get the schema of the table. */
903
+ schema(): Promise<Schema>;
904
+ add(data: Data, options?: Partial<AddDataOptions>): Promise<AddResult>;
905
+ update(optsOrUpdates: (Map<string, string> | Record<string, string>) | ({
906
+ values: Map<string, IntoSql> | Record<string, IntoSql>;
907
+ } & Partial<UpdateOptions>) | ({
908
+ valuesSql: Map<string, string> | Record<string, string>;
909
+ } & Partial<UpdateOptions>), options?: Partial<UpdateOptions>): Promise<UpdateResult>;
910
+ countRows(filter?: string): Promise<number>;
911
+ delete(predicate: string): Promise<DeleteResult>;
912
+ createIndex(column: string, options?: Partial<IndexOptions>): Promise<void>;
913
+ createIndexAsync(column: string, options?: Partial<IndexOptions>): Promise<Job>;
914
+ dropIndex(name: string): Promise<void>;
915
+ prewarmIndex(name: string): Promise<void>;
916
+ prewarmData(columns?: string[]): Promise<void>;
917
+ waitForIndex(indexNames: string[], timeoutSeconds: number): Promise<void>;
918
+ takeOffsets(offsets: number[]): TakeQuery;
919
+ takeRowIds(rowIds: readonly (bigint | number)[]): TakeQuery;
920
+ blobColumns(): Promise<string[]>;
921
+ fetchBlobs(column: string, rowIds: readonly (bigint | number)[], options?: BlobReadOptions): Promise<(Buffer | null)[]>;
922
+ fetchBlobFiles(column: string, rowIds: readonly (bigint | number)[], options?: BlobReadOptions): Promise<(BlobFile | null)[]>;
923
+ query(): Query;
924
+ search(query: string | IntoVector | MultiVector | FullTextQuery, queryType?: string, ftsColumns?: string | string[]): VectorQuery | Query | AutoQuery;
925
+ vectorSearch(vector: IntoVector | MultiVector): VectorQuery;
926
+ addColumns(newColumnTransforms: AddColumnsSql[] | Field | Field[] | Schema | {
927
+ computed: AddColumnsSql[];
928
+ }): Promise<AddColumnsResult>;
929
+ refreshColumn(column: string): Promise<RefreshColumnResult>;
930
+ refreshColumnAsync(column: string): Promise<Job>;
931
+ functionErrors(options?: FunctionErrorsOptions): Promise<FunctionErrors>;
932
+ refreshMaterializedView(full?: boolean, sourceVersion?: number): Promise<RefreshMaterializedViewResult>;
933
+ materializedViewDefinition(): Promise<string>;
934
+ alterColumns(columnAlterations: ColumnAlteration[]): Promise<AlterColumnsResult>;
935
+ updateFieldMetadata(updates: FieldMetadataUpdate[]): Promise<UpdateFieldMetadataResult>;
936
+ dropColumns(columnNames: string[]): Promise<DropColumnsResult>;
937
+ setUnenforcedPrimaryKey(columns: string | string[]): Promise<void>;
938
+ setLsmWriteSpec(spec: LsmWriteSpec): Promise<void>;
939
+ unsetLsmWriteSpec(): Promise<void>;
940
+ getLsmWriteSpec(): Promise<LsmWriteSpec | undefined>;
941
+ closeLsmWriters(): Promise<void>;
942
+ flushLsm(): Promise<void>;
943
+ compactLsm(): Promise<void>;
944
+ checkpointLsm(): Promise<void>;
945
+ getLsmStats(includeGenerationRows?: boolean): Promise<LsmStats | undefined>;
946
+ version(): Promise<number>;
947
+ checkout(version: number | string): Promise<void>;
948
+ checkoutLatest(): Promise<void>;
949
+ listVersions(): Promise<Version[]>;
950
+ restore(): Promise<void>;
951
+ tags(): Promise<Tags>;
952
+ branches(): Promise<Branches>;
953
+ currentBranch(): string | null;
954
+ optimize(options?: Partial<OptimizeOptions>): Promise<OptimizeStats>;
955
+ listIndices(): Promise<IndexConfig[]>;
956
+ tokenize(query: string, options: TokenizeTableOptions): Promise<FtsToken[]>;
957
+ toArrow(): Promise<ArrowTable>;
958
+ indexStats(name: string): Promise<IndexStatistics | undefined>;
959
+ stats(): Promise<TableStatistics>;
960
+ initialStorageOptions(): Promise<Record<string, string> | null | undefined>;
961
+ latestStorageOptions(): Promise<Record<string, string> | null | undefined>;
962
+ mergeInsert(on: string | string[]): MergeInsertBuilder;
963
+ /**
964
+ * Check if the table uses the new manifest path scheme.
965
+ *
966
+ * This function will return true if the table uses the V2 manifest
967
+ * path scheme.
968
+ */
969
+ usesV2ManifestPaths(): Promise<boolean>;
970
+ /**
971
+ * Migrate the table to use the new manifest path scheme.
972
+ *
973
+ * This function will rename all V1 manifests to V2 manifest paths.
974
+ * These paths provide more efficient opening of datasets with many versions
975
+ * on object stores.
976
+ *
977
+ * This function is idempotent, and can be run multiple times without
978
+ * changing the state of the object store.
979
+ *
980
+ * However, it should not be run while other concurrent operations are happening.
981
+ * And it should also run until completion before resuming other operations.
982
+ */
983
+ migrateManifestPathsV2(): Promise<void>;
984
+ }
985
+ /**
986
+ * A definition of a column alteration. The alteration changes the column at
987
+ * `path` to have the new name `name`, to be nullable if `nullable` is true,
988
+ * and to have the data type `data_type`. At least one of `rename` or `nullable`
989
+ * must be provided.
990
+ */
991
+ export interface ColumnAlteration {
992
+ /**
993
+ * The path to the column to alter. This is a dot-separated path to the column.
994
+ * If it is a top-level column then it is just the name of the column. If it is
995
+ * a nested column then it is the path to the column, e.g. "a.b.c" for a column
996
+ * `c` nested inside a column `b` nested inside a column `a`.
997
+ */
998
+ path: string;
999
+ /**
1000
+ * The new name of the column. If not provided then the name will not be changed.
1001
+ * This must be distinct from the names of all other columns in the table.
1002
+ */
1003
+ rename?: string;
1004
+ /**
1005
+ * A new data type for the column. If not provided then the data type will not be changed.
1006
+ * Changing data types is limited to casting to the same general type. For example, these
1007
+ * changes are valid:
1008
+ * * `int32` -> `int64` (integers)
1009
+ * * `double` -> `float` (floats)
1010
+ * * `string` -> `large_string` (strings)
1011
+ * But these changes are not:
1012
+ * * `int32` -> `double` (mix integers and floats)
1013
+ * * `string` -> `int32` (mix strings and integers)
1014
+ */
1015
+ dataType?: string | DataType;
1016
+ /** Set the new nullability. Note that a nullable column cannot be made non-nullable. */
1017
+ nullable?: boolean;
1018
+ }
1019
+ /** A per-field metadata update, addressed by dot-path. */
1020
+ export interface FieldMetadataUpdate {
1021
+ /**
1022
+ * Dot-separated path to the field. For a top-level column this is just its
1023
+ * name; for a nested field it's the path, e.g. "a.b.c".
1024
+ */
1025
+ path: string;
1026
+ /**
1027
+ * Metadata key/value pairs. Merged into the field's existing metadata by
1028
+ * default; a value of `null` deletes that key. See
1029
+ * {@link Table.updateFieldMetadata} for the conventional `lancedb:*` keys.
1030
+ */
1031
+ metadata: Record<string, string | null>;
1032
+ /** If true, replace the field's entire metadata map instead of merging. */
1033
+ replace?: boolean;
1034
+ }
1035
+ /** Summary of a column in a branch diff. */
1036
+ export interface BranchColumnSummary {
1037
+ name: string;
1038
+ dataType: string;
1039
+ nullable: boolean;
1040
+ }
1041
+ /** A column whose definition differs between main and the branch. */
1042
+ export interface BranchColumnChange {
1043
+ name: string;
1044
+ main: BranchColumnSummary;
1045
+ branch: BranchColumnSummary;
1046
+ }
1047
+ /** Summary of an index in a branch diff. */
1048
+ export interface BranchIndexSummary {
1049
+ indexName: string;
1050
+ columns: string[];
1051
+ indexType?: string;
1052
+ status: string;
1053
+ }
1054
+ /** Row-level comparison between main and the branch. */
1055
+ export interface BranchRowCountSummary {
1056
+ unchanged: number;
1057
+ newOnBase: number;
1058
+ newOnBranch: number;
1059
+ staleRecompute: number;
1060
+ inputsChanged: number;
1061
+ deltaAvailable: boolean;
1062
+ }
1063
+ /** A reason why a cherry-pick cannot currently land. */
1064
+ export interface CherryPickError {
1065
+ code: string;
1066
+ message: string;
1067
+ }
1068
+ /** Read-only comparison of a branch against main. */
1069
+ export interface BranchDiff {
1070
+ fromBranch: string;
1071
+ parentVersion: number;
1072
+ mainVersion: number;
1073
+ branchVersion: number;
1074
+ baseMoved: boolean;
1075
+ rowCountMain: number;
1076
+ rowCountBranch: number;
1077
+ rowSummary: BranchRowCountSummary;
1078
+ addedColumns: BranchColumnSummary[];
1079
+ removedColumns: BranchColumnSummary[];
1080
+ changedColumns: BranchColumnChange[];
1081
+ addedIndexes: BranchIndexSummary[];
1082
+ removedIndexes: BranchIndexSummary[];
1083
+ errors: CherryPickError[];
1084
+ }
1085
+ /** Changes that would be, or were, promoted by a cherry-pick. */
1086
+ export interface CherryPickPreview {
1087
+ promotedColumns: string[];
1088
+ }
1089
+ /** Result of previewing or attempting a cherry-pick. */
1090
+ export interface CherryPickResult {
1091
+ status: "ready" | "failed" | "notImplemented" | "cherryPicked" | "unknown";
1092
+ diff: BranchDiff;
1093
+ preview: CherryPickPreview;
1094
+ mainVersionAfter?: number;
1095
+ }
1096
+ /**
1097
+ * Branch manager for a {@link Table}.
1098
+ *
1099
+ * Unlike tags, `create` and `checkout` return a new {@link Table} handle scoped
1100
+ * to the branch; writes on it do not affect `main`.
1101
+ */
1102
+ export declare class Branches {
1103
+ #private;
1104
+ /**
1105
+ * Construct a Branches manager. Internal use only.
1106
+ * @hidden
1107
+ */
1108
+ constructor(inner: NativeBranches);
1109
+ /** List all branches, mapping name to branch metadata. */
1110
+ list(): Promise<Record<string, BranchContents>>;
1111
+ /**
1112
+ * Create a branch and return a handle scoped to it.
1113
+ *
1114
+ * @param name Name of the new branch.
1115
+ * @param fromRef Source branch to fork from. Defaults to `main`.
1116
+ * @param fromVersion A specific version on `fromRef`. Defaults to latest.
1117
+ */
1118
+ create(name: string, fromRef?: string, fromVersion?: number): Promise<Table>;
1119
+ /**
1120
+ * Check out an existing branch and return a handle scoped to it.
1121
+ *
1122
+ * With `version` set, the returned handle is pinned to that version of the
1123
+ * branch (a read-only, detached view); otherwise it tracks the branch's
1124
+ * latest and stays writable.
1125
+ */
1126
+ checkout(name: string, version?: number): Promise<Table>;
1127
+ /** Delete a branch. */
1128
+ delete(name: string): Promise<void>;
1129
+ /** Compare a branch against main without modifying either branch. */
1130
+ diff(fromBranch: string): Promise<BranchDiff>;
1131
+ /**
1132
+ * Cherry-pick a branch onto main.
1133
+ *
1134
+ * Set `dryRun` to `true` to preview. A failed cherry-pick resolves
1135
+ * with `status: "failed"` instead of throwing.
1136
+ *
1137
+ * @param fromBranch Branch to cherry-pick from.
1138
+ * @param dryRun When true, only preview. Defaults to false.
1139
+ */
1140
+ cherryPick(fromBranch: string, dryRun?: boolean): Promise<CherryPickResult>;
1141
+ }