@lincoln504/pi-research 1.7.17 → 1.7.18

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 (525) hide show
  1. package/agent-skill/pi-research/SKILL.md +1 -1
  2. package/docs/ARCHITECTURE.md +3 -2
  3. package/docs/CHANGELOG.md +19 -0
  4. package/docs/THIRD-PARTY-NOTICES.md +16 -2
  5. package/node_modules/@lancedb/lancedb/AGENTS.md +13 -0
  6. package/node_modules/@lancedb/lancedb/CONTRIBUTING.md +78 -0
  7. package/node_modules/@lancedb/lancedb/NODEJS_THIRD_PARTY_LICENSES.md +668 -0
  8. package/node_modules/@lancedb/lancedb/README.md +37 -0
  9. package/node_modules/@lancedb/lancedb/RUST_THIRD_PARTY_LICENSES.html +14607 -0
  10. package/node_modules/@lancedb/lancedb/dist/arrow.d.ts +312 -0
  11. package/node_modules/@lancedb/lancedb/dist/arrow.js +1242 -0
  12. package/node_modules/@lancedb/lancedb/dist/arrow_type.d.ts +9 -0
  13. package/node_modules/@lancedb/lancedb/dist/arrow_type.js +29 -0
  14. package/node_modules/@lancedb/lancedb/dist/blob.d.ts +126 -0
  15. package/node_modules/@lancedb/lancedb/dist/blob.js +219 -0
  16. package/node_modules/@lancedb/lancedb/dist/catalog.d.ts +46 -0
  17. package/node_modules/@lancedb/lancedb/dist/catalog.js +63 -0
  18. package/node_modules/@lancedb/lancedb/dist/connection.d.ts +577 -0
  19. package/node_modules/@lancedb/lancedb/dist/connection.js +316 -0
  20. package/node_modules/@lancedb/lancedb/dist/embedding/embedding_function.d.ts +103 -0
  21. package/node_modules/@lancedb/lancedb/dist/embedding/embedding_function.js +192 -0
  22. package/node_modules/@lancedb/lancedb/dist/embedding/index.d.ts +37 -0
  23. package/node_modules/@lancedb/lancedb/dist/embedding/index.js +108 -0
  24. package/node_modules/@lancedb/lancedb/dist/embedding/openai.d.ts +16 -0
  25. package/node_modules/@lancedb/lancedb/dist/embedding/openai.js +81 -0
  26. package/node_modules/@lancedb/lancedb/dist/embedding/registry.d.ts +94 -0
  27. package/node_modules/@lancedb/lancedb/dist/embedding/registry.js +221 -0
  28. package/node_modules/@lancedb/lancedb/dist/embedding/transformers.d.ts +36 -0
  29. package/node_modules/@lancedb/lancedb/dist/embedding/transformers.js +110 -0
  30. package/node_modules/@lancedb/lancedb/dist/header.d.ts +162 -0
  31. package/node_modules/@lancedb/lancedb/dist/header.js +217 -0
  32. package/node_modules/@lancedb/lancedb/dist/index.d.ts +251 -0
  33. package/node_modules/@lancedb/lancedb/dist/index.js +187 -0
  34. package/node_modules/@lancedb/lancedb/dist/indices.d.ts +721 -0
  35. package/node_modules/@lancedb/lancedb/dist/indices.js +166 -0
  36. package/node_modules/@lancedb/lancedb/dist/job.d.ts +93 -0
  37. package/node_modules/@lancedb/lancedb/dist/job.js +163 -0
  38. package/node_modules/@lancedb/lancedb/dist/materialized_view.d.ts +74 -0
  39. package/node_modules/@lancedb/lancedb/dist/materialized_view.js +150 -0
  40. package/node_modules/@lancedb/lancedb/dist/merge.d.ts +104 -0
  41. package/node_modules/@lancedb/lancedb/dist/merge.js +120 -0
  42. package/node_modules/@lancedb/lancedb/dist/native.d.ts +1466 -0
  43. package/node_modules/@lancedb/lancedb/dist/native.js +691 -0
  44. package/node_modules/@lancedb/lancedb/dist/oauth.d.ts +271 -0
  45. package/node_modules/@lancedb/lancedb/dist/oauth.js +111 -0
  46. package/node_modules/@lancedb/lancedb/dist/otel.d.ts +26 -0
  47. package/node_modules/@lancedb/lancedb/dist/otel.js +114 -0
  48. package/node_modules/@lancedb/lancedb/dist/permutation.d.ts +143 -0
  49. package/node_modules/@lancedb/lancedb/dist/permutation.js +184 -0
  50. package/node_modules/@lancedb/lancedb/dist/query.d.ts +663 -0
  51. package/node_modules/@lancedb/lancedb/dist/query.js +966 -0
  52. package/node_modules/@lancedb/lancedb/dist/rerankers/index.d.ts +5 -0
  53. package/node_modules/@lancedb/lancedb/dist/rerankers/index.js +19 -0
  54. package/node_modules/@lancedb/lancedb/dist/rerankers/rrf.d.ts +14 -0
  55. package/node_modules/@lancedb/lancedb/dist/rerankers/rrf.js +28 -0
  56. package/node_modules/@lancedb/lancedb/dist/sanitize.d.ts +32 -0
  57. package/node_modules/@lancedb/lancedb/dist/sanitize.js +548 -0
  58. package/node_modules/@lancedb/lancedb/dist/scannable.d.ts +92 -0
  59. package/node_modules/@lancedb/lancedb/dist/scannable.js +200 -0
  60. package/node_modules/@lancedb/lancedb/dist/schema.d.ts +16 -0
  61. package/node_modules/@lancedb/lancedb/dist/schema.js +416 -0
  62. package/node_modules/@lancedb/lancedb/dist/table.d.ts +1141 -0
  63. package/node_modules/@lancedb/lancedb/dist/table.js +517 -0
  64. package/node_modules/@lancedb/lancedb/dist/util.d.ts +14 -0
  65. package/node_modules/@lancedb/lancedb/dist/util.js +86 -0
  66. package/node_modules/@lancedb/lancedb/dist/view.d.ts +32 -0
  67. package/node_modules/@lancedb/lancedb/dist/view.js +17 -0
  68. package/node_modules/@lancedb/lancedb/license_header.txt +2 -0
  69. package/node_modules/@lancedb/lancedb/package.json +130 -0
  70. package/node_modules/@lancedb/lancedb/pnpm-workspace.yaml +56 -0
  71. package/node_modules/@opentelemetry/api/LICENSE +201 -0
  72. package/node_modules/@opentelemetry/api/README.md +98 -0
  73. package/node_modules/@opentelemetry/api/dist/api/context.cjs +100 -0
  74. package/node_modules/@opentelemetry/api/dist/api/context.cjs.map +1 -0
  75. package/node_modules/@opentelemetry/api/dist/api/context.d.cts +74 -0
  76. package/node_modules/@opentelemetry/api/dist/api/context.d.cts.map +1 -0
  77. package/node_modules/@opentelemetry/api/dist/api/context.d.mts +74 -0
  78. package/node_modules/@opentelemetry/api/dist/api/context.d.mts.map +1 -0
  79. package/node_modules/@opentelemetry/api/dist/api/context.mjs +100 -0
  80. package/node_modules/@opentelemetry/api/dist/api/context.mjs.map +1 -0
  81. package/node_modules/@opentelemetry/api/dist/api/diag.cjs +68 -0
  82. package/node_modules/@opentelemetry/api/dist/api/diag.cjs.map +1 -0
  83. package/node_modules/@opentelemetry/api/dist/api/diag.d.cts +35 -0
  84. package/node_modules/@opentelemetry/api/dist/api/diag.d.cts.map +1 -0
  85. package/node_modules/@opentelemetry/api/dist/api/diag.d.mts +35 -0
  86. package/node_modules/@opentelemetry/api/dist/api/diag.d.mts.map +1 -0
  87. package/node_modules/@opentelemetry/api/dist/api/diag.mjs +68 -0
  88. package/node_modules/@opentelemetry/api/dist/api/diag.mjs.map +1 -0
  89. package/node_modules/@opentelemetry/api/dist/api/logs.cjs +59 -0
  90. package/node_modules/@opentelemetry/api/dist/api/logs.cjs.map +1 -0
  91. package/node_modules/@opentelemetry/api/dist/api/logs.d.cts +43 -0
  92. package/node_modules/@opentelemetry/api/dist/api/logs.d.cts.map +1 -0
  93. package/node_modules/@opentelemetry/api/dist/api/logs.d.mts +43 -0
  94. package/node_modules/@opentelemetry/api/dist/api/logs.d.mts.map +1 -0
  95. package/node_modules/@opentelemetry/api/dist/api/logs.mjs +59 -0
  96. package/node_modules/@opentelemetry/api/dist/api/logs.mjs.map +1 -0
  97. package/node_modules/@opentelemetry/api/dist/api/metrics.cjs +46 -0
  98. package/node_modules/@opentelemetry/api/dist/api/metrics.cjs.map +1 -0
  99. package/node_modules/@opentelemetry/api/dist/api/metrics.d.cts +33 -0
  100. package/node_modules/@opentelemetry/api/dist/api/metrics.d.cts.map +1 -0
  101. package/node_modules/@opentelemetry/api/dist/api/metrics.d.mts +33 -0
  102. package/node_modules/@opentelemetry/api/dist/api/metrics.d.mts.map +1 -0
  103. package/node_modules/@opentelemetry/api/dist/api/metrics.mjs +46 -0
  104. package/node_modules/@opentelemetry/api/dist/api/metrics.mjs.map +1 -0
  105. package/node_modules/@opentelemetry/api/dist/api/propagation.cjs +74 -0
  106. package/node_modules/@opentelemetry/api/dist/api/propagation.cjs.map +1 -0
  107. package/node_modules/@opentelemetry/api/dist/api/propagation.d.cts +55 -0
  108. package/node_modules/@opentelemetry/api/dist/api/propagation.d.cts.map +1 -0
  109. package/node_modules/@opentelemetry/api/dist/api/propagation.d.mts +55 -0
  110. package/node_modules/@opentelemetry/api/dist/api/propagation.d.mts.map +1 -0
  111. package/node_modules/@opentelemetry/api/dist/api/propagation.mjs +74 -0
  112. package/node_modules/@opentelemetry/api/dist/api/propagation.mjs.map +1 -0
  113. package/node_modules/@opentelemetry/api/dist/api/trace.cjs +62 -0
  114. package/node_modules/@opentelemetry/api/dist/api/trace.cjs.map +1 -0
  115. package/node_modules/@opentelemetry/api/dist/api/trace.d.cts +46 -0
  116. package/node_modules/@opentelemetry/api/dist/api/trace.d.cts.map +1 -0
  117. package/node_modules/@opentelemetry/api/dist/api/trace.d.mts +46 -0
  118. package/node_modules/@opentelemetry/api/dist/api/trace.d.mts.map +1 -0
  119. package/node_modules/@opentelemetry/api/dist/api/trace.mjs +62 -0
  120. package/node_modules/@opentelemetry/api/dist/api/trace.mjs.map +1 -0
  121. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.cjs +48 -0
  122. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.cjs.map +1 -0
  123. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.d.cts +32 -0
  124. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.d.cts.map +1 -0
  125. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.d.mts +32 -0
  126. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.d.mts.map +1 -0
  127. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.mjs +45 -0
  128. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.mjs.map +1 -0
  129. package/node_modules/@opentelemetry/api/dist/baggage/internal/baggage-impl.cjs +36 -0
  130. package/node_modules/@opentelemetry/api/dist/baggage/internal/baggage-impl.cjs.map +1 -0
  131. package/node_modules/@opentelemetry/api/dist/baggage/internal/baggage-impl.mjs +36 -0
  132. package/node_modules/@opentelemetry/api/dist/baggage/internal/baggage-impl.mjs.map +1 -0
  133. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.cjs +9 -0
  134. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.cjs.map +1 -0
  135. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.d.cts +8 -0
  136. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.d.cts.map +1 -0
  137. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.d.mts +8 -0
  138. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.d.mts.map +1 -0
  139. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.mjs +9 -0
  140. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.mjs.map +1 -0
  141. package/node_modules/@opentelemetry/api/dist/baggage/types.d.cts +70 -0
  142. package/node_modules/@opentelemetry/api/dist/baggage/types.d.cts.map +1 -0
  143. package/node_modules/@opentelemetry/api/dist/baggage/types.d.mts +70 -0
  144. package/node_modules/@opentelemetry/api/dist/baggage/types.d.mts.map +1 -0
  145. package/node_modules/@opentelemetry/api/dist/baggage/utils.cjs +37 -0
  146. package/node_modules/@opentelemetry/api/dist/baggage/utils.cjs.map +1 -0
  147. package/node_modules/@opentelemetry/api/dist/baggage/utils.d.cts +19 -0
  148. package/node_modules/@opentelemetry/api/dist/baggage/utils.d.cts.map +1 -0
  149. package/node_modules/@opentelemetry/api/dist/baggage/utils.d.mts +19 -0
  150. package/node_modules/@opentelemetry/api/dist/baggage/utils.d.mts.map +1 -0
  151. package/node_modules/@opentelemetry/api/dist/baggage/utils.mjs +36 -0
  152. package/node_modules/@opentelemetry/api/dist/baggage/utils.mjs.map +1 -0
  153. package/node_modules/@opentelemetry/api/dist/common/AnyValue.d.cts +33 -0
  154. package/node_modules/@opentelemetry/api/dist/common/AnyValue.d.cts.map +1 -0
  155. package/node_modules/@opentelemetry/api/dist/common/AnyValue.d.mts +33 -0
  156. package/node_modules/@opentelemetry/api/dist/common/AnyValue.d.mts.map +1 -0
  157. package/node_modules/@opentelemetry/api/dist/common/Attributes.d.cts +19 -0
  158. package/node_modules/@opentelemetry/api/dist/common/Attributes.d.cts.map +1 -0
  159. package/node_modules/@opentelemetry/api/dist/common/Attributes.d.mts +19 -0
  160. package/node_modules/@opentelemetry/api/dist/common/Attributes.d.mts.map +1 -0
  161. package/node_modules/@opentelemetry/api/dist/common/Exception.d.cts +30 -0
  162. package/node_modules/@opentelemetry/api/dist/common/Exception.d.cts.map +1 -0
  163. package/node_modules/@opentelemetry/api/dist/common/Exception.d.mts +30 -0
  164. package/node_modules/@opentelemetry/api/dist/common/Exception.d.mts.map +1 -0
  165. package/node_modules/@opentelemetry/api/dist/common/Time.d.cts +27 -0
  166. package/node_modules/@opentelemetry/api/dist/common/Time.d.cts.map +1 -0
  167. package/node_modules/@opentelemetry/api/dist/common/Time.d.mts +27 -0
  168. package/node_modules/@opentelemetry/api/dist/common/Time.d.mts.map +1 -0
  169. package/node_modules/@opentelemetry/api/dist/context/NoopContextManager.cjs +27 -0
  170. package/node_modules/@opentelemetry/api/dist/context/NoopContextManager.cjs.map +1 -0
  171. package/node_modules/@opentelemetry/api/dist/context/NoopContextManager.mjs +27 -0
  172. package/node_modules/@opentelemetry/api/dist/context/NoopContextManager.mjs.map +1 -0
  173. package/node_modules/@opentelemetry/api/dist/context/context.cjs +41 -0
  174. package/node_modules/@opentelemetry/api/dist/context/context.cjs.map +1 -0
  175. package/node_modules/@opentelemetry/api/dist/context/context.d.cts +17 -0
  176. package/node_modules/@opentelemetry/api/dist/context/context.d.cts.map +1 -0
  177. package/node_modules/@opentelemetry/api/dist/context/context.d.mts +17 -0
  178. package/node_modules/@opentelemetry/api/dist/context/context.d.mts.map +1 -0
  179. package/node_modules/@opentelemetry/api/dist/context/context.mjs +40 -0
  180. package/node_modules/@opentelemetry/api/dist/context/context.mjs.map +1 -0
  181. package/node_modules/@opentelemetry/api/dist/context/types.d.cts +92 -0
  182. package/node_modules/@opentelemetry/api/dist/context/types.d.cts.map +1 -0
  183. package/node_modules/@opentelemetry/api/dist/context/types.d.mts +92 -0
  184. package/node_modules/@opentelemetry/api/dist/context/types.d.mts.map +1 -0
  185. package/node_modules/@opentelemetry/api/dist/context-api.cjs +10 -0
  186. package/node_modules/@opentelemetry/api/dist/context-api.cjs.map +1 -0
  187. package/node_modules/@opentelemetry/api/dist/context-api.d.cts +10 -0
  188. package/node_modules/@opentelemetry/api/dist/context-api.d.cts.map +1 -0
  189. package/node_modules/@opentelemetry/api/dist/context-api.d.mts +10 -0
  190. package/node_modules/@opentelemetry/api/dist/context-api.d.mts.map +1 -0
  191. package/node_modules/@opentelemetry/api/dist/context-api.mjs +11 -0
  192. package/node_modules/@opentelemetry/api/dist/context-api.mjs.map +1 -0
  193. package/node_modules/@opentelemetry/api/dist/diag/ComponentLogger.cjs +40 -0
  194. package/node_modules/@opentelemetry/api/dist/diag/ComponentLogger.cjs.map +1 -0
  195. package/node_modules/@opentelemetry/api/dist/diag/ComponentLogger.mjs +40 -0
  196. package/node_modules/@opentelemetry/api/dist/diag/ComponentLogger.mjs.map +1 -0
  197. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.cjs +62 -0
  198. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.cjs.map +1 -0
  199. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.d.cts +43 -0
  200. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.d.cts.map +1 -0
  201. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.d.mts +43 -0
  202. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.d.mts.map +1 -0
  203. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.mjs +61 -0
  204. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.mjs.map +1 -0
  205. package/node_modules/@opentelemetry/api/dist/diag/internal/logLevelLogger.cjs +23 -0
  206. package/node_modules/@opentelemetry/api/dist/diag/internal/logLevelLogger.cjs.map +1 -0
  207. package/node_modules/@opentelemetry/api/dist/diag/internal/logLevelLogger.mjs +23 -0
  208. package/node_modules/@opentelemetry/api/dist/diag/internal/logLevelLogger.mjs.map +1 -0
  209. package/node_modules/@opentelemetry/api/dist/diag/types.cjs +32 -0
  210. package/node_modules/@opentelemetry/api/dist/diag/types.cjs.map +1 -0
  211. package/node_modules/@opentelemetry/api/dist/diag/types.d.cts +115 -0
  212. package/node_modules/@opentelemetry/api/dist/diag/types.d.cts.map +1 -0
  213. package/node_modules/@opentelemetry/api/dist/diag/types.d.mts +115 -0
  214. package/node_modules/@opentelemetry/api/dist/diag/types.d.mts.map +1 -0
  215. package/node_modules/@opentelemetry/api/dist/diag/types.mjs +32 -0
  216. package/node_modules/@opentelemetry/api/dist/diag/types.mjs.map +1 -0
  217. package/node_modules/@opentelemetry/api/dist/diag-api.cjs +14 -0
  218. package/node_modules/@opentelemetry/api/dist/diag-api.cjs.map +1 -0
  219. package/node_modules/@opentelemetry/api/dist/diag-api.d.cts +14 -0
  220. package/node_modules/@opentelemetry/api/dist/diag-api.d.cts.map +1 -0
  221. package/node_modules/@opentelemetry/api/dist/diag-api.d.mts +14 -0
  222. package/node_modules/@opentelemetry/api/dist/diag-api.d.mts.map +1 -0
  223. package/node_modules/@opentelemetry/api/dist/diag-api.mjs +15 -0
  224. package/node_modules/@opentelemetry/api/dist/diag-api.mjs.map +1 -0
  225. package/node_modules/@opentelemetry/api/dist/experimental/index.cjs +4 -0
  226. package/node_modules/@opentelemetry/api/dist/experimental/index.d.cts +3 -0
  227. package/node_modules/@opentelemetry/api/dist/experimental/index.d.mts +3 -0
  228. package/node_modules/@opentelemetry/api/dist/experimental/index.mjs +2 -0
  229. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredOptions.d.cts +17 -0
  230. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredOptions.d.cts.map +1 -0
  231. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredOptions.d.mts +17 -0
  232. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredOptions.d.mts.map +1 -0
  233. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.cjs +88 -0
  234. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.cjs.map +1 -0
  235. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.d.cts +69 -0
  236. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.d.cts.map +1 -0
  237. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.d.mts +69 -0
  238. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.d.mts.map +1 -0
  239. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.mjs +87 -0
  240. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.mjs.map +1 -0
  241. package/node_modules/@opentelemetry/api/dist/index.cjs +71 -0
  242. package/node_modules/@opentelemetry/api/dist/index.cjs.map +1 -0
  243. package/node_modules/@opentelemetry/api/dist/index.d.cts +63 -0
  244. package/node_modules/@opentelemetry/api/dist/index.d.cts.map +1 -0
  245. package/node_modules/@opentelemetry/api/dist/index.d.mts +63 -0
  246. package/node_modules/@opentelemetry/api/dist/index.d.mts.map +1 -0
  247. package/node_modules/@opentelemetry/api/dist/index.mjs +37 -0
  248. package/node_modules/@opentelemetry/api/dist/index.mjs.map +1 -0
  249. package/node_modules/@opentelemetry/api/dist/internal/global-utils.cjs +52 -0
  250. package/node_modules/@opentelemetry/api/dist/internal/global-utils.cjs.map +1 -0
  251. package/node_modules/@opentelemetry/api/dist/internal/global-utils.mjs +50 -0
  252. package/node_modules/@opentelemetry/api/dist/internal/global-utils.mjs.map +1 -0
  253. package/node_modules/@opentelemetry/api/dist/internal/semver.cjs +83 -0
  254. package/node_modules/@opentelemetry/api/dist/internal/semver.cjs.map +1 -0
  255. package/node_modules/@opentelemetry/api/dist/internal/semver.mjs +82 -0
  256. package/node_modules/@opentelemetry/api/dist/internal/semver.mjs.map +1 -0
  257. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.cjs +33 -0
  258. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.cjs.map +1 -0
  259. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.d.cts +75 -0
  260. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.d.cts.map +1 -0
  261. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.d.mts +75 -0
  262. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.d.mts.map +1 -0
  263. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.mjs +33 -0
  264. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.mjs.map +1 -0
  265. package/node_modules/@opentelemetry/api/dist/logs/Logger.d.cts +23 -0
  266. package/node_modules/@opentelemetry/api/dist/logs/Logger.d.cts.map +1 -0
  267. package/node_modules/@opentelemetry/api/dist/logs/Logger.d.mts +23 -0
  268. package/node_modules/@opentelemetry/api/dist/logs/Logger.d.mts.map +1 -0
  269. package/node_modules/@opentelemetry/api/dist/logs/LoggerOptions.d.cts +22 -0
  270. package/node_modules/@opentelemetry/api/dist/logs/LoggerOptions.d.cts.map +1 -0
  271. package/node_modules/@opentelemetry/api/dist/logs/LoggerOptions.d.mts +22 -0
  272. package/node_modules/@opentelemetry/api/dist/logs/LoggerOptions.d.mts.map +1 -0
  273. package/node_modules/@opentelemetry/api/dist/logs/LoggerProvider.d.cts +27 -0
  274. package/node_modules/@opentelemetry/api/dist/logs/LoggerProvider.d.cts.map +1 -0
  275. package/node_modules/@opentelemetry/api/dist/logs/LoggerProvider.d.mts +27 -0
  276. package/node_modules/@opentelemetry/api/dist/logs/LoggerProvider.d.mts.map +1 -0
  277. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.cjs +20 -0
  278. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.cjs.map +1 -0
  279. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.d.cts +9 -0
  280. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.d.cts.map +1 -0
  281. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.d.mts +9 -0
  282. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.d.mts.map +1 -0
  283. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.mjs +18 -0
  284. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.mjs.map +1 -0
  285. package/node_modules/@opentelemetry/api/dist/logs/NoopLoggerProvider.cjs +13 -0
  286. package/node_modules/@opentelemetry/api/dist/logs/NoopLoggerProvider.cjs.map +1 -0
  287. package/node_modules/@opentelemetry/api/dist/logs/NoopLoggerProvider.mjs +12 -0
  288. package/node_modules/@opentelemetry/api/dist/logs/NoopLoggerProvider.mjs.map +1 -0
  289. package/node_modules/@opentelemetry/api/dist/logs/ProxyLogger.cjs +36 -0
  290. package/node_modules/@opentelemetry/api/dist/logs/ProxyLogger.cjs.map +1 -0
  291. package/node_modules/@opentelemetry/api/dist/logs/ProxyLogger.mjs +36 -0
  292. package/node_modules/@opentelemetry/api/dist/logs/ProxyLogger.mjs.map +1 -0
  293. package/node_modules/@opentelemetry/api/dist/logs/ProxyLoggerProvider.cjs +36 -0
  294. package/node_modules/@opentelemetry/api/dist/logs/ProxyLoggerProvider.cjs.map +1 -0
  295. package/node_modules/@opentelemetry/api/dist/logs/ProxyLoggerProvider.mjs +36 -0
  296. package/node_modules/@opentelemetry/api/dist/logs/ProxyLoggerProvider.mjs.map +1 -0
  297. package/node_modules/@opentelemetry/api/dist/logs-api.cjs +11 -0
  298. package/node_modules/@opentelemetry/api/dist/logs-api.cjs.map +1 -0
  299. package/node_modules/@opentelemetry/api/dist/logs-api.d.cts +11 -0
  300. package/node_modules/@opentelemetry/api/dist/logs-api.d.cts.map +1 -0
  301. package/node_modules/@opentelemetry/api/dist/logs-api.d.mts +11 -0
  302. package/node_modules/@opentelemetry/api/dist/logs-api.d.mts.map +1 -0
  303. package/node_modules/@opentelemetry/api/dist/logs-api.mjs +12 -0
  304. package/node_modules/@opentelemetry/api/dist/logs-api.mjs.map +1 -0
  305. package/node_modules/@opentelemetry/api/dist/metrics/Meter.d.cts +119 -0
  306. package/node_modules/@opentelemetry/api/dist/metrics/Meter.d.cts.map +1 -0
  307. package/node_modules/@opentelemetry/api/dist/metrics/Meter.d.mts +119 -0
  308. package/node_modules/@opentelemetry/api/dist/metrics/Meter.d.mts.map +1 -0
  309. package/node_modules/@opentelemetry/api/dist/metrics/MeterProvider.d.cts +22 -0
  310. package/node_modules/@opentelemetry/api/dist/metrics/MeterProvider.d.cts.map +1 -0
  311. package/node_modules/@opentelemetry/api/dist/metrics/MeterProvider.d.mts +22 -0
  312. package/node_modules/@opentelemetry/api/dist/metrics/MeterProvider.d.mts.map +1 -0
  313. package/node_modules/@opentelemetry/api/dist/metrics/Metric.cjs +15 -0
  314. package/node_modules/@opentelemetry/api/dist/metrics/Metric.cjs.map +1 -0
  315. package/node_modules/@opentelemetry/api/dist/metrics/Metric.d.cts +188 -0
  316. package/node_modules/@opentelemetry/api/dist/metrics/Metric.d.cts.map +1 -0
  317. package/node_modules/@opentelemetry/api/dist/metrics/Metric.d.mts +188 -0
  318. package/node_modules/@opentelemetry/api/dist/metrics/Metric.d.mts.map +1 -0
  319. package/node_modules/@opentelemetry/api/dist/metrics/Metric.mjs +15 -0
  320. package/node_modules/@opentelemetry/api/dist/metrics/Metric.mjs.map +1 -0
  321. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.cjs +116 -0
  322. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.cjs.map +1 -0
  323. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.d.cts +11 -0
  324. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.d.cts.map +1 -0
  325. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.d.mts +11 -0
  326. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.d.mts.map +1 -0
  327. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.mjs +98 -0
  328. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.mjs.map +1 -0
  329. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeterProvider.cjs +17 -0
  330. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeterProvider.cjs.map +1 -0
  331. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeterProvider.mjs +16 -0
  332. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeterProvider.mjs.map +1 -0
  333. package/node_modules/@opentelemetry/api/dist/metrics-api.cjs +11 -0
  334. package/node_modules/@opentelemetry/api/dist/metrics-api.cjs.map +1 -0
  335. package/node_modules/@opentelemetry/api/dist/metrics-api.d.cts +11 -0
  336. package/node_modules/@opentelemetry/api/dist/metrics-api.d.cts.map +1 -0
  337. package/node_modules/@opentelemetry/api/dist/metrics-api.d.mts +11 -0
  338. package/node_modules/@opentelemetry/api/dist/metrics-api.d.mts.map +1 -0
  339. package/node_modules/@opentelemetry/api/dist/metrics-api.mjs +12 -0
  340. package/node_modules/@opentelemetry/api/dist/metrics-api.mjs.map +1 -0
  341. package/node_modules/@opentelemetry/api/dist/propagation/NoopTextMapPropagator.cjs +19 -0
  342. package/node_modules/@opentelemetry/api/dist/propagation/NoopTextMapPropagator.cjs.map +1 -0
  343. package/node_modules/@opentelemetry/api/dist/propagation/NoopTextMapPropagator.mjs +19 -0
  344. package/node_modules/@opentelemetry/api/dist/propagation/NoopTextMapPropagator.mjs.map +1 -0
  345. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.cjs +26 -0
  346. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.cjs.map +1 -0
  347. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.d.cts +99 -0
  348. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.d.cts.map +1 -0
  349. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.d.mts +99 -0
  350. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.d.mts.map +1 -0
  351. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.mjs +25 -0
  352. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.mjs.map +1 -0
  353. package/node_modules/@opentelemetry/api/dist/propagation-api.cjs +11 -0
  354. package/node_modules/@opentelemetry/api/dist/propagation-api.cjs.map +1 -0
  355. package/node_modules/@opentelemetry/api/dist/propagation-api.d.cts +11 -0
  356. package/node_modules/@opentelemetry/api/dist/propagation-api.d.cts.map +1 -0
  357. package/node_modules/@opentelemetry/api/dist/propagation-api.d.mts +11 -0
  358. package/node_modules/@opentelemetry/api/dist/propagation-api.d.mts.map +1 -0
  359. package/node_modules/@opentelemetry/api/dist/propagation-api.mjs +12 -0
  360. package/node_modules/@opentelemetry/api/dist/propagation-api.mjs.map +1 -0
  361. package/node_modules/@opentelemetry/api/dist/trace/NonRecordingSpan.cjs +45 -0
  362. package/node_modules/@opentelemetry/api/dist/trace/NonRecordingSpan.cjs.map +1 -0
  363. package/node_modules/@opentelemetry/api/dist/trace/NonRecordingSpan.mjs +45 -0
  364. package/node_modules/@opentelemetry/api/dist/trace/NonRecordingSpan.mjs.map +1 -0
  365. package/node_modules/@opentelemetry/api/dist/trace/NoopTracer.cjs +44 -0
  366. package/node_modules/@opentelemetry/api/dist/trace/NoopTracer.cjs.map +1 -0
  367. package/node_modules/@opentelemetry/api/dist/trace/NoopTracer.mjs +44 -0
  368. package/node_modules/@opentelemetry/api/dist/trace/NoopTracer.mjs.map +1 -0
  369. package/node_modules/@opentelemetry/api/dist/trace/NoopTracerProvider.cjs +17 -0
  370. package/node_modules/@opentelemetry/api/dist/trace/NoopTracerProvider.cjs.map +1 -0
  371. package/node_modules/@opentelemetry/api/dist/trace/NoopTracerProvider.mjs +17 -0
  372. package/node_modules/@opentelemetry/api/dist/trace/NoopTracerProvider.mjs.map +1 -0
  373. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.cjs +37 -0
  374. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.cjs.map +1 -0
  375. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.d.cts +36 -0
  376. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.d.cts.map +1 -0
  377. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.d.mts +36 -0
  378. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.d.mts.map +1 -0
  379. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.mjs +38 -0
  380. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.mjs.map +1 -0
  381. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.cjs +41 -0
  382. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.cjs.map +1 -0
  383. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.d.cts +31 -0
  384. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.d.cts.map +1 -0
  385. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.d.mts +31 -0
  386. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.d.mts.map +1 -0
  387. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.mjs +42 -0
  388. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.mjs.map +1 -0
  389. package/node_modules/@opentelemetry/api/dist/trace/Sampler.d.cts +36 -0
  390. package/node_modules/@opentelemetry/api/dist/trace/Sampler.d.cts.map +1 -0
  391. package/node_modules/@opentelemetry/api/dist/trace/Sampler.d.mts +36 -0
  392. package/node_modules/@opentelemetry/api/dist/trace/Sampler.d.mts.map +1 -0
  393. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.cjs +30 -0
  394. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.cjs.map +1 -0
  395. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.d.cts +58 -0
  396. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.d.cts.map +1 -0
  397. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.d.mts +58 -0
  398. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.d.mts.map +1 -0
  399. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.mjs +30 -0
  400. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.mjs.map +1 -0
  401. package/node_modules/@opentelemetry/api/dist/trace/SpanOptions.d.cts +28 -0
  402. package/node_modules/@opentelemetry/api/dist/trace/SpanOptions.d.cts.map +1 -0
  403. package/node_modules/@opentelemetry/api/dist/trace/SpanOptions.d.mts +28 -0
  404. package/node_modules/@opentelemetry/api/dist/trace/SpanOptions.d.mts.map +1 -0
  405. package/node_modules/@opentelemetry/api/dist/trace/attributes.d.cts +15 -0
  406. package/node_modules/@opentelemetry/api/dist/trace/attributes.d.cts.map +1 -0
  407. package/node_modules/@opentelemetry/api/dist/trace/attributes.d.mts +15 -0
  408. package/node_modules/@opentelemetry/api/dist/trace/attributes.d.mts.map +1 -0
  409. package/node_modules/@opentelemetry/api/dist/trace/context-utils.cjs +67 -0
  410. package/node_modules/@opentelemetry/api/dist/trace/context-utils.cjs.map +1 -0
  411. package/node_modules/@opentelemetry/api/dist/trace/context-utils.d.cts +44 -0
  412. package/node_modules/@opentelemetry/api/dist/trace/context-utils.d.cts.map +1 -0
  413. package/node_modules/@opentelemetry/api/dist/trace/context-utils.d.mts +44 -0
  414. package/node_modules/@opentelemetry/api/dist/trace/context-utils.d.mts.map +1 -0
  415. package/node_modules/@opentelemetry/api/dist/trace/context-utils.mjs +62 -0
  416. package/node_modules/@opentelemetry/api/dist/trace/context-utils.mjs.map +1 -0
  417. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-impl.cjs +77 -0
  418. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-impl.cjs.map +1 -0
  419. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-impl.mjs +77 -0
  420. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-impl.mjs.map +1 -0
  421. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-validators.cjs +28 -0
  422. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-validators.cjs.map +1 -0
  423. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-validators.mjs +27 -0
  424. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-validators.mjs.map +1 -0
  425. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.cjs +13 -0
  426. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.cjs.map +1 -0
  427. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.d.cts +10 -0
  428. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.d.cts.map +1 -0
  429. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.d.mts +10 -0
  430. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.d.mts.map +1 -0
  431. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.mjs +13 -0
  432. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.mjs.map +1 -0
  433. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.cjs +24 -0
  434. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.cjs.map +1 -0
  435. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.d.cts +17 -0
  436. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.d.cts.map +1 -0
  437. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.d.mts +17 -0
  438. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.d.mts.map +1 -0
  439. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.mjs +22 -0
  440. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.mjs.map +1 -0
  441. package/node_modules/@opentelemetry/api/dist/trace/link.d.cts +35 -0
  442. package/node_modules/@opentelemetry/api/dist/trace/link.d.cts.map +1 -0
  443. package/node_modules/@opentelemetry/api/dist/trace/link.d.mts +35 -0
  444. package/node_modules/@opentelemetry/api/dist/trace/link.d.mts.map +1 -0
  445. package/node_modules/@opentelemetry/api/dist/trace/span.d.cts +139 -0
  446. package/node_modules/@opentelemetry/api/dist/trace/span.d.cts.map +1 -0
  447. package/node_modules/@opentelemetry/api/dist/trace/span.d.mts +139 -0
  448. package/node_modules/@opentelemetry/api/dist/trace/span.d.mts.map +1 -0
  449. package/node_modules/@opentelemetry/api/dist/trace/span_context.d.cts +58 -0
  450. package/node_modules/@opentelemetry/api/dist/trace/span_context.d.cts.map +1 -0
  451. package/node_modules/@opentelemetry/api/dist/trace/span_context.d.mts +58 -0
  452. package/node_modules/@opentelemetry/api/dist/trace/span_context.d.mts.map +1 -0
  453. package/node_modules/@opentelemetry/api/dist/trace/span_kind.cjs +35 -0
  454. package/node_modules/@opentelemetry/api/dist/trace/span_kind.cjs.map +1 -0
  455. package/node_modules/@opentelemetry/api/dist/trace/span_kind.d.cts +33 -0
  456. package/node_modules/@opentelemetry/api/dist/trace/span_kind.d.cts.map +1 -0
  457. package/node_modules/@opentelemetry/api/dist/trace/span_kind.d.mts +33 -0
  458. package/node_modules/@opentelemetry/api/dist/trace/span_kind.d.mts.map +1 -0
  459. package/node_modules/@opentelemetry/api/dist/trace/span_kind.mjs +35 -0
  460. package/node_modules/@opentelemetry/api/dist/trace/span_kind.mjs.map +1 -0
  461. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.cjs +151 -0
  462. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.cjs.map +1 -0
  463. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.d.cts +28 -0
  464. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.d.cts.map +1 -0
  465. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.d.mts +28 -0
  466. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.d.mts.map +1 -0
  467. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.mjs +148 -0
  468. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.mjs.map +1 -0
  469. package/node_modules/@opentelemetry/api/dist/trace/status.cjs +26 -0
  470. package/node_modules/@opentelemetry/api/dist/trace/status.cjs.map +1 -0
  471. package/node_modules/@opentelemetry/api/dist/trace/status.d.cts +33 -0
  472. package/node_modules/@opentelemetry/api/dist/trace/status.d.cts.map +1 -0
  473. package/node_modules/@opentelemetry/api/dist/trace/status.d.mts +33 -0
  474. package/node_modules/@opentelemetry/api/dist/trace/status.d.mts.map +1 -0
  475. package/node_modules/@opentelemetry/api/dist/trace/status.mjs +26 -0
  476. package/node_modules/@opentelemetry/api/dist/trace/status.mjs.map +1 -0
  477. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.cjs +15 -0
  478. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.cjs.map +1 -0
  479. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.d.cts +13 -0
  480. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.d.cts.map +1 -0
  481. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.d.mts +13 -0
  482. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.d.mts.map +1 -0
  483. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.mjs +15 -0
  484. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.mjs.map +1 -0
  485. package/node_modules/@opentelemetry/api/dist/trace/trace_state.d.cts +44 -0
  486. package/node_modules/@opentelemetry/api/dist/trace/trace_state.d.cts.map +1 -0
  487. package/node_modules/@opentelemetry/api/dist/trace/trace_state.d.mts +44 -0
  488. package/node_modules/@opentelemetry/api/dist/trace/trace_state.d.mts.map +1 -0
  489. package/node_modules/@opentelemetry/api/dist/trace/tracer.d.cts +81 -0
  490. package/node_modules/@opentelemetry/api/dist/trace/tracer.d.cts.map +1 -0
  491. package/node_modules/@opentelemetry/api/dist/trace/tracer.d.mts +81 -0
  492. package/node_modules/@opentelemetry/api/dist/trace/tracer.d.mts.map +1 -0
  493. package/node_modules/@opentelemetry/api/dist/trace/tracer_options.d.cts +15 -0
  494. package/node_modules/@opentelemetry/api/dist/trace/tracer_options.d.cts.map +1 -0
  495. package/node_modules/@opentelemetry/api/dist/trace/tracer_options.d.mts +15 -0
  496. package/node_modules/@opentelemetry/api/dist/trace/tracer_options.d.mts.map +1 -0
  497. package/node_modules/@opentelemetry/api/dist/trace/tracer_provider.d.cts +26 -0
  498. package/node_modules/@opentelemetry/api/dist/trace/tracer_provider.d.cts.map +1 -0
  499. package/node_modules/@opentelemetry/api/dist/trace/tracer_provider.d.mts +26 -0
  500. package/node_modules/@opentelemetry/api/dist/trace/tracer_provider.d.mts.map +1 -0
  501. package/node_modules/@opentelemetry/api/dist/trace-api.cjs +11 -0
  502. package/node_modules/@opentelemetry/api/dist/trace-api.cjs.map +1 -0
  503. package/node_modules/@opentelemetry/api/dist/trace-api.d.cts +11 -0
  504. package/node_modules/@opentelemetry/api/dist/trace-api.d.cts.map +1 -0
  505. package/node_modules/@opentelemetry/api/dist/trace-api.d.mts +11 -0
  506. package/node_modules/@opentelemetry/api/dist/trace-api.d.mts.map +1 -0
  507. package/node_modules/@opentelemetry/api/dist/trace-api.mjs +12 -0
  508. package/node_modules/@opentelemetry/api/dist/trace-api.mjs.map +1 -0
  509. package/node_modules/@opentelemetry/api/dist/version.cjs +6 -0
  510. package/node_modules/@opentelemetry/api/dist/version.cjs.map +1 -0
  511. package/node_modules/@opentelemetry/api/dist/version.mjs +6 -0
  512. package/node_modules/@opentelemetry/api/dist/version.mjs.map +1 -0
  513. package/node_modules/@opentelemetry/api/package.json +94 -0
  514. package/node_modules/reflect-metadata/AUTHORS.md +5 -0
  515. package/node_modules/reflect-metadata/CopyrightNotice.txt +15 -0
  516. package/node_modules/reflect-metadata/LICENSE +55 -0
  517. package/node_modules/reflect-metadata/README.md +232 -0
  518. package/node_modules/reflect-metadata/Reflect.js +1415 -0
  519. package/node_modules/reflect-metadata/ReflectLite.js +1137 -0
  520. package/node_modules/reflect-metadata/ReflectNoConflict.js +1111 -0
  521. package/node_modules/reflect-metadata/index.d.ts +491 -0
  522. package/node_modules/reflect-metadata/no-conflict.d.ts +484 -0
  523. package/node_modules/reflect-metadata/package.json +68 -0
  524. package/node_modules/reflect-metadata/standalone.d.ts +485 -0
  525. package/package.json +19 -9
@@ -0,0 +1,130 @@
1
+ {
2
+ "name": "@lancedb/lancedb",
3
+ "description": "LanceDB: A serverless, low-latency vector database for AI applications",
4
+ "keywords": [
5
+ "database",
6
+ "lance",
7
+ "lancedb",
8
+ "search",
9
+ "vector",
10
+ "vector database",
11
+ "ann"
12
+ ],
13
+ "private": false,
14
+ "version": "0.40.0",
15
+ "main": "dist/index.js",
16
+ "exports": {
17
+ ".": "./dist/index.js",
18
+ "./embedding": "./dist/embedding/index.js",
19
+ "./embedding/openai": "./dist/embedding/openai.js",
20
+ "./embedding/transformers": "./dist/embedding/transformers.js"
21
+ },
22
+ "types": "dist/index.d.ts",
23
+ "napi": {
24
+ "binaryName": "lancedb",
25
+ "targets": [
26
+ "aarch64-apple-darwin",
27
+ "x86_64-unknown-linux-gnu",
28
+ "aarch64-unknown-linux-gnu",
29
+ "x86_64-unknown-linux-musl",
30
+ "aarch64-unknown-linux-musl",
31
+ "x86_64-pc-windows-msvc",
32
+ "aarch64-pc-windows-msvc"
33
+ ]
34
+ },
35
+ "license": "Apache-2.0",
36
+ "repository": {
37
+ "type": "git",
38
+ "url": "https://github.com/lancedb/lancedb"
39
+ },
40
+ "devDependencies": {
41
+ "@aws-sdk/client-dynamodb": "3.1003.0",
42
+ "@aws-sdk/client-kms": "3.1003.0",
43
+ "@aws-sdk/client-s3": "3.1003.0",
44
+ "@biomejs/biome": "^1.7.3",
45
+ "@jest/globals": "^29.7.0",
46
+ "@napi-rs/cli": "3.7.0",
47
+ "@opentelemetry/sdk-metrics": "^2.10.0",
48
+ "@types/axios": "^0.14.0",
49
+ "@types/jest": "^29.1.2",
50
+ "@types/node": "22.7.4",
51
+ "@types/tmp": "^0.2.6",
52
+ "apache-arrow-15": "npm:apache-arrow@15.0.0",
53
+ "apache-arrow-16": "npm:apache-arrow@16.0.0",
54
+ "apache-arrow-17": "npm:apache-arrow@17.0.0",
55
+ "apache-arrow-18": "npm:apache-arrow@18.0.0",
56
+ "eslint": "^8.57.0",
57
+ "jest": "^29.7.0",
58
+ "shx": "^0.3.4",
59
+ "tmp": "^0.2.7",
60
+ "ts-jest": "^29.1.2",
61
+ "typedoc": "0.26.4",
62
+ "typedoc-plugin-markdown": "4.2.1",
63
+ "typescript": "5.5.4",
64
+ "typescript-eslint": "^7.1.0"
65
+ },
66
+ "ava": {
67
+ "timeout": "3m"
68
+ },
69
+ "engines": {
70
+ "node": ">= 22"
71
+ },
72
+ "packageManager": "pnpm@11.1.1",
73
+ "cpu": [
74
+ "x64",
75
+ "arm64"
76
+ ],
77
+ "os": [
78
+ "darwin",
79
+ "linux",
80
+ "win32"
81
+ ],
82
+ "scripts": {
83
+ "artifacts": "napi artifacts",
84
+ "build:debug": "napi build --platform --dts ../lancedb/native.d.ts --js ../lancedb/native.js --output-dir lancedb",
85
+ "postbuild:debug": "shx mkdir -p dist && shx cp lancedb/*.node dist/ && node -e \"require('fs').writeFileSync('dist/package.json', JSON.stringify({name:'@lancedb/lancedb',type:'commonjs'}))\"",
86
+ "build:release": "napi build --platform --release --dts ../lancedb/native.d.ts --js ../lancedb/native.js --output-dir dist",
87
+ "build": "pnpm build:debug && pnpm tsc",
88
+ "build-release": "pnpm build:release && pnpm tsc",
89
+ "tsc": "tsc -b",
90
+ "posttsc": "shx cp lancedb/native.d.ts dist/native.d.ts",
91
+ "lint-ci": "biome ci .",
92
+ "docs": "typedoc --plugin typedoc-plugin-markdown --treatWarningsAsErrors --out ../docs/src/js lancedb/index.ts",
93
+ "postdocs": "node typedoc_post_process.js",
94
+ "lint": "biome check . && biome format .",
95
+ "lint-fix": "biome check --write . && biome format --write .",
96
+ "prepublishOnly": "napi prepublish -t npm",
97
+ "test": "jest --verbose",
98
+ "integration": "S3_TEST=1 pnpm test",
99
+ "universal": "napi universalize",
100
+ "version": "napi version"
101
+ },
102
+ "dependencies": {
103
+ "@opentelemetry/api": "^1.9.0",
104
+ "reflect-metadata": "^0.2.2"
105
+ },
106
+ "peerDependencies": {
107
+ "@types/node": ">=22",
108
+ "apache-arrow": ">=15.0.0 <=18.1.0 || 21.1.0"
109
+ },
110
+ "peerDependenciesMeta": {
111
+ "@types/node": {
112
+ "optional": true
113
+ }
114
+ },
115
+ "x-pi-research-original-optionalDependencies": {
116
+ "@huggingface/transformers": "3.0.2",
117
+ "openai": "4.29.2",
118
+ "@lancedb/lancedb-darwin-arm64": "0.40.0",
119
+ "@lancedb/lancedb-linux-x64-gnu": "0.40.0",
120
+ "@lancedb/lancedb-linux-arm64-gnu": "0.40.0",
121
+ "@lancedb/lancedb-linux-x64-musl": "0.40.0",
122
+ "@lancedb/lancedb-linux-arm64-musl": "0.40.0",
123
+ "@lancedb/lancedb-win32-x64-msvc": "0.40.0",
124
+ "@lancedb/lancedb-win32-arm64-msvc": "0.40.0"
125
+ },
126
+ "x-pi-research-original-peerDependencies": {
127
+ "@types/node": ">=22",
128
+ "apache-arrow": ">=15.0.0 <=18.1.0"
129
+ }
130
+ }
@@ -0,0 +1,56 @@
1
+ # Flat node_modules layout. The @napi-rs/cli build step fails to locate
2
+ # the cdylib artifact under pnpm's isolated layout; the hoisted linker
3
+ # mirrors npm's structure and unblocks the native build.
4
+ nodeLinker: hoisted
5
+
6
+ # Block resolution of versions less than 24h old (Shai-Hulud window).
7
+ # This is the pnpm 11 default but pinned here so it's visible to
8
+ # reviewers and survives a future pnpm major flipping the default.
9
+ minimumReleaseAge: 1440
10
+
11
+ # Fail install if a transitive dep tries to run an unapproved script.
12
+ strictDepBuilds: true
13
+
14
+ allowBuilds:
15
+ '@biomejs/biome': true
16
+ onnxruntime-node: true
17
+ protobufjs: true
18
+ sharp: true
19
+
20
+ minimumReleaseAgeExclude:
21
+ - protobufjs@7.5.8
22
+ - tmp@0.2.6
23
+ - form-data@4.0.6
24
+ - tar@7.5.16
25
+ - markdown-it@14.1.2
26
+ - linkify-it@5.0.1
27
+ - js-yaml@3.15.0
28
+ - js-yaml@4.1.2
29
+ - protobufjs@7.6.1
30
+ - protobufjs@7.6.3
31
+ - '@babel/core@7.29.1'
32
+ - axios@1.18.0
33
+ - brace-expansion@2.1.2
34
+ - brace-expansion@1.1.16
35
+ - js-yaml@4.3.0
36
+ - tar@7.5.18
37
+ - tar@7.5.19
38
+ - tar@7.5.17
39
+ - protobufjs@7.6.5
40
+ - linkify-it@5.0.2
41
+ - sharp@0.35.0
42
+ - brace-expansion@1.1.17
43
+ - brace-expansion@2.1.3
44
+ - brace-expansion@2.1.4
45
+ - brace-expansion@1.1.18
46
+ - js-yaml@3.15.1
47
+ - js-yaml@4.3.1
48
+ - tar@7.5.21
49
+ - '@opentelemetry/core@2.8.0'
50
+
51
+ # @huggingface/transformers pins sharp ^0.33.5 and no released version has moved
52
+ # past ^0.34.5, all of which inherit the libvips CVEs in GHSA-f88m-g3jw-g9cj.
53
+ # Force the patched line. sharp is only reached by transformers' image pipeline,
54
+ # which LanceDB's text embedding function never uses.
55
+ overrides:
56
+ sharp: ^0.35.4
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,98 @@
1
+ # OpenTelemetry API for JavaScript
2
+
3
+ <p align="center">
4
+ <strong>
5
+ <a href="https://open-telemetry.github.io/opentelemetry-js/modules/_opentelemetry_api.html">API Reference</a>
6
+ &nbsp;&nbsp;&bull;&nbsp;&nbsp;
7
+ <a href="https://opentelemetry.io/docs/instrumentation/js/">Documentation</a>
8
+ </br>
9
+ <a href="https://github.com/open-telemetry/opentelemetry-js/releases">
10
+ <img alt="NPM Release" src="https://img.shields.io/npm/v/@opentelemetry/api?color=brightgreen&logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAIRlWElmTU0AKgAAAAgABQESAAMAAAABAAEAAAEaAAUAAAABAAAASgEbAAUAAAABAAAAUgEoAAMAAAABAAIAAIdpAAQAAAABAAAAWgAAAAAAAACQAAAAAQAAAJAAAAABAAOgAQADAAAAAQABAACgAgAEAAAAAQAAABigAwAEAAAAAQAAABgAAAAA8A2UOAAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAAVlpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuNC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KTMInWQAABK5JREFUSA2dVm1sFEUYfmd2b%2Ff2Pkqghn5eEQWKrRgjpkYgpoRCLC0oxV5apAiGUDEpJvwxEQ2raWPU%2BKf8INU%2FRtEedwTCR9tYPloxGNJYTTQUwYqJ1aNpaLH3sXu3t7vjvFevpSqt7eSyM%2B%2FczvM8877PzB3APBoLgoDLsNePF56LBwqa07EKlDGg84CcWsI4CEbhNnDpAd951lXE2NkiNknCCTLv4HtzZuvPm1C%2FIKv4oDNXqNDHragety2XVzjECZsJARuBMyRzJrh1O0gQwLXuxofxsPSj4hG8fMLQo7bl9JJD8XZfC1E5yWFOMtd07dvX5kDwg6%2B2%2B%2BChq8txHGtfPoAp0gOFmhYoNFkHjn2TNUmrwRdna7W1QSkU8hvbGk4uThLrapaiLA2E6QY4u%2FlS9ItHfvJkxYsTMVtnAJLipYIWtVrcdX%2B8%2Bb8IVnPl%2FR81prbuPZ1jpYw%2B0aEUGSkdFsgyBIaFTXCm6nyaxMtJ4n%2BTeDhJzGqZtQZcuYDgqDwDbqb0JF9oRpIG1Oea3bC1Y6N3x%2FWV8Zh83emhCs%2B%2BhlaghDw%2B8w5UlYKq2lU7Pl8IkvS9KDqXmKmEwdMppVPKwGSEilmyAwJhRwWcq7wYC6z4wZ1rrEoMWxecdOjZWXeAQClBcYDN3NwVwD9pGwqUSyQgclcmxpNJqCuwLmDh3WtvPqXdlt%2B6Oz70HPGDNSNBee%2FEOen%2BrGbEFqDENBPDbtdCp0ukPANmzO0QQJYUpyS5IJJI3Hqt4maS%2BEB3199ozm8EDU%2F6fVNU2dQpdx3ZnKzeFXyaUTiasEV%2FgZMzJMjr3Z%2BWvAdQ%2Bhs%2Fzw9savimxUntDSaBdZ2f%2BIdbm1rlNY8esFffBit9HtK5%2FMejsrJVxikOXlb1Ukir2X%2BRbdkd1KG2Ixfn2Ql4JRmELnYK9mEM8G36fAA3xEQ89fxXihC8q%2BsAKi9jhHxNqagY2hiaYgRCm0f0QP7H4Fp11LSXiuBY2aYFlh0DeDIVVFUJQn5rCnpiNI2gvLxHnASn9DIVHJJlm5rXvQAGEo4zvKq2w5G1NxENN7jrft1oxMdekETjxdH2Z3x%2BVTVYsPb%2BO0C%2F9%2FauN6v2hNZw5b2UOmSbG5%2FrkC3LBA%2B1PdxFxORjxpQ81GcxKc%2BybVjEBvUJvaGJ7p7n5A5KSwe4AzkasA%2BcrmzFtowoIVTiLjANm8GDsrWW35ScI3JY8Urv83tnkF8JR0yLvEt2hO%2F0qNyy3Jb3YKeHeHeLeOuVLRpNF%2Bpkf85OW7%2FzJxWdXsbsKBUk2TC0BCPwMq5Q%2FCPvaJFkNS%2F1l1qUPe%2BuH3oD59erYGI%2FY4sce6KaXYElAIOLt%2B0O3t2%2B%2FxJDF1XvOlWGC1W1B8VMszbGfOvT5qaRRAIFK3BCO164nZ0uYLH2YjNN8thXS2v2BK9gTfD7jHVxzHr4roOlEvYYz9QIz%2BVl%2FsLDXInsctFsXjqIRnO2ZO387lxmIboLDZCJ59KLFliNIgh9ipt6tLg9SihpRPDO1ia5byw7de1aCQmF5geOQtK509rzfdwxaKOIq%2B73AvwCC5%2F5fcV4vo3%2B3LpMdtWHh0ywsJC%2FZGoCb8%2F9D8F%2FifgLLl8S8QWfU8cAAAAASUVORK5CYII%3D">
11
+ </a>
12
+ </strong>
13
+ </p>
14
+
15
+ This package provides everything needed to interact with the OpenTelemetry API, including all TypeScript interfaces, enums, and no-op implementations. It is intended for use both on the server and in the browser.
16
+
17
+ The methods in this package perform no operations by default. This means they can be safely called by a library or end-user application whether there is an SDK registered or not. In order to generate and export telemetry data, you will also need an SDK such as the [OpenTelemetry JS SDK][opentelemetry-js].
18
+
19
+ ## Tracing Quick Start
20
+
21
+ ### You Will Need
22
+
23
+ - An application you wish to instrument
24
+ - [OpenTelemetry JS SDK][opentelemetry-js]
25
+ - Node.js >=8.5.0 (14+ is preferred) or an ECMAScript 5+ compatible browser
26
+
27
+ **Note:** ECMAScript 5+ compatibility is for this package only. Please refer to the documentation for the SDK you are using to determine its minimum ECMAScript version.
28
+
29
+ **Note for library authors:** Only your end users will need an OpenTelemetry SDK. If you wish to support OpenTelemetry in your library, you only need to use the OpenTelemetry API. For more information, please read the [tracing documentation][docs-tracing].
30
+
31
+ ### Install Dependencies
32
+
33
+ ```sh
34
+ npm install @opentelemetry/api @opentelemetry/sdk-trace
35
+ ```
36
+
37
+ ### Trace Your Application
38
+
39
+ In order to get started with tracing, you will need to first register an SDK. The SDK you are using may provide a convenience method which calls the registration methods for you, but if you would like to call them directly they are documented here: [SDK registration methods][docs-sdk-registration].
40
+
41
+ Once you have registered an SDK, you can start and end spans. A simple example of basic SDK registration and tracing a simple operation is below. The example should export spans to the console once per second. For more information, see the [tracing documentation][docs-tracing].
42
+
43
+ ```javascript
44
+ const { trace } = require("@opentelemetry/api");
45
+ const { TracerProvider, ConsoleSpanExporter, SimpleSpanProcessor } = require("@opentelemetry/sdk-trace");
46
+
47
+ // Create and register an SDK
48
+ const provider = new TracerProvider({
49
+ spanProcessors: [new SimpleSpanProcessor({ exporter: new ConsoleSpanExporter() })]
50
+ });
51
+ trace.setGlobalTracerProvider(provider);
52
+
53
+ // Acquire a tracer from the global tracer provider which will be used to trace the application
54
+ const name = 'my-application-name';
55
+ const version = '0.1.0';
56
+ const tracer = trace.getTracer(name, version);
57
+
58
+ // Trace your application by creating spans
59
+ async function operation() {
60
+ const span = tracer.startSpan("do operation");
61
+
62
+ // mock some work by sleeping 1 second
63
+ await new Promise((resolve, reject) => {
64
+ setTimeout(resolve, 1000);
65
+ })
66
+
67
+ span.end();
68
+ }
69
+
70
+ async function main() {
71
+ while (true) {
72
+ await operation();
73
+ }
74
+ }
75
+
76
+ main();
77
+ ```
78
+
79
+ ## Version Compatibility
80
+
81
+ Because the npm installer and node module resolution algorithm could potentially allow two or more copies of any given package to exist within the same `node_modules` structure, the OpenTelemetry API takes advantage of a variable on the `global` object to store the global API. When an API method in the API package is called, it checks if this `global` API exists and proxies calls to it if and only if it is a compatible API version. This means if a package has a dependency on an OpenTelemetry API version which is not compatible with the API used by the end user, the package will receive a no-op implementation of the API.
82
+
83
+ ## Useful links
84
+
85
+ - For more information on OpenTelemetry, visit: <https://opentelemetry.io/>
86
+ - For more about OpenTelemetry JavaScript: <https://github.com/open-telemetry/opentelemetry-js>
87
+ - For help or feedback on this project, join us in [GitHub Discussions][discussions-url]
88
+
89
+ ## License
90
+
91
+ Apache 2.0 - See [LICENSE][license-url] for more information.
92
+
93
+ [opentelemetry-js]: https://github.com/open-telemetry/opentelemetry-js
94
+
95
+ [discussions-url]: https://github.com/open-telemetry/opentelemetry-js/discussions
96
+ [license-url]: https://github.com/open-telemetry/opentelemetry-js/blob/main/api/LICENSE
97
+ [docs-tracing]: https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/tracing.md
98
+ [docs-sdk-registration]: https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/sdk-registration.md
@@ -0,0 +1,100 @@
1
+ const require_global_utils = require("../internal/global-utils.cjs");
2
+ const require_diag = require("./diag.cjs");
3
+ const require_NoopContextManager = require("../context/NoopContextManager.cjs");
4
+ //#region src/api/context.ts
5
+ const API_NAME = "context";
6
+ const NOOP_CONTEXT_MANAGER = new require_NoopContextManager.NoopContextManager();
7
+ const NOOP_TOKEN = Object.freeze({ dispose: () => {} });
8
+ /**
9
+ * Singleton object which represents the entry point to the OpenTelemetry Context API
10
+ *
11
+ * @since 1.0.0
12
+ */
13
+ var ContextAPI = class ContextAPI {
14
+ /** Empty private constructor prevents end users from constructing a new instance of the API */
15
+ constructor() {
16
+ this._attachUnsupportedWarned = false;
17
+ }
18
+ /** Get the singleton instance of the Context API */
19
+ static getInstance() {
20
+ if (!this._instance) this._instance = new ContextAPI();
21
+ return this._instance;
22
+ }
23
+ /**
24
+ * Set the current context manager.
25
+ *
26
+ * @returns true if the context manager was successfully registered, else false
27
+ */
28
+ setGlobalContextManager(contextManager) {
29
+ return require_global_utils.registerGlobal(API_NAME, contextManager, require_diag.DiagAPI.instance());
30
+ }
31
+ /**
32
+ * Get the currently active context
33
+ */
34
+ active() {
35
+ return this._getContextManager().active();
36
+ }
37
+ /**
38
+ * Execute a function with an active context
39
+ *
40
+ * @param context context to be active during function execution
41
+ * @param fn function to execute in a context
42
+ * @param thisArg optional receiver to be used for calling fn
43
+ * @param args optional arguments forwarded to fn
44
+ */
45
+ with(context, fn, thisArg, ...args) {
46
+ return this._getContextManager().with(context, fn, thisArg, ...args);
47
+ }
48
+ /**
49
+ * Bind a context to a target function or event emitter
50
+ *
51
+ * @param context context to bind to the event emitter or function. Defaults to the currently active context
52
+ * @param target function or event emitter to bind
53
+ */
54
+ bind(context, target) {
55
+ return this._getContextManager().bind(context, target);
56
+ }
57
+ /**
58
+ * Imperatively sets `context` as active, returning a {@link ContextManagementToken} whose
59
+ * {@link ContextManagementToken.dispose} restores the previous context.
60
+ *
61
+ * This is a delicate, low-level API - prefer {@link with}/{@link bind}, which
62
+ * restore context automatically. Use `attach` only to bridge callback
63
+ * boundaries that `with` cannot wrap. Call `token.dispose()` when the
64
+ * operation is done.
65
+ *
66
+ * **Caveat for async functions:** If called inside an async function before
67
+ * the first `await`, the context change may leak into the caller's context
68
+ * and remain active there. Prefer {@link with} for async code.
69
+ *
70
+ * Support is best-effort and varies by the active ContextManager (see
71
+ * {@link ContextManager.attach}); if it does not implement `attach`, this logs
72
+ * a warning and returns a no-op token.
73
+ *
74
+ * @param context The Context to attach
75
+ * @returns A {@link ContextManagementToken} whose dispose() restores the previous Context
76
+ * @since 1.10.0
77
+ * @experimental This API is experimental and may change in minor releases without prior notice.
78
+ */
79
+ attach(context) {
80
+ const contextManager = this._getContextManager();
81
+ if (contextManager.attach) return contextManager.attach(context);
82
+ if (!this._attachUnsupportedWarned) {
83
+ this._attachUnsupportedWarned = true;
84
+ require_diag.DiagAPI.instance().warn("The current ContextManager does not implement attach(). The context will not be attached. Use a ContextManager that supports attach() (e.g. AsyncLocalStorageContextManager) or use with()/bind() instead.");
85
+ }
86
+ return NOOP_TOKEN;
87
+ }
88
+ _getContextManager() {
89
+ return require_global_utils.getGlobal(API_NAME) || NOOP_CONTEXT_MANAGER;
90
+ }
91
+ /** Disable and remove the global context manager */
92
+ disable() {
93
+ this._getContextManager().disable();
94
+ require_global_utils.unregisterGlobal(API_NAME, require_diag.DiagAPI.instance());
95
+ }
96
+ };
97
+ //#endregion
98
+ exports.ContextAPI = ContextAPI;
99
+
100
+ //# sourceMappingURL=context.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.cjs","names":["NoopContextManager","registerGlobal","DiagAPI","getGlobal"],"sources":["../../src/api/context.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { NoopContextManager } from '../context/NoopContextManager';\nimport type {\n Context,\n ContextManager,\n ContextManagementToken,\n} from '../context/types';\nimport {\n getGlobal,\n registerGlobal,\n unregisterGlobal,\n} from '../internal/global-utils';\nimport { DiagAPI } from './diag';\n\nconst API_NAME = 'context';\nconst NOOP_CONTEXT_MANAGER = new NoopContextManager();\nconst NOOP_TOKEN: ContextManagementToken = Object.freeze({\n dispose: () => {},\n});\n\n/**\n * Singleton object which represents the entry point to the OpenTelemetry Context API\n *\n * @since 1.0.0\n */\nexport class ContextAPI {\n private static _instance?: ContextAPI;\n\n /**\n * Tracks whether we have already warned that the active ContextManager does\n * not implement attach(), so we warn at most once instead of on every call.\n */\n private _attachUnsupportedWarned = false;\n\n /** Empty private constructor prevents end users from constructing a new instance of the API */\n private constructor() {}\n\n /** Get the singleton instance of the Context API */\n public static getInstance(): ContextAPI {\n if (!this._instance) {\n this._instance = new ContextAPI();\n }\n\n return this._instance;\n }\n\n /**\n * Set the current context manager.\n *\n * @returns true if the context manager was successfully registered, else false\n */\n public setGlobalContextManager(contextManager: ContextManager): boolean {\n return registerGlobal(API_NAME, contextManager, DiagAPI.instance());\n }\n\n /**\n * Get the currently active context\n */\n public active(): Context {\n return this._getContextManager().active();\n }\n\n /**\n * Execute a function with an active context\n *\n * @param context context to be active during function execution\n * @param fn function to execute in a context\n * @param thisArg optional receiver to be used for calling fn\n * @param args optional arguments forwarded to fn\n */\n public with<A extends unknown[], F extends (...args: A) => ReturnType<F>>(\n context: Context,\n fn: F,\n thisArg?: ThisParameterType<F>,\n ...args: A\n ): ReturnType<F> {\n return this._getContextManager().with(context, fn, thisArg, ...args);\n }\n\n /**\n * Bind a context to a target function or event emitter\n *\n * @param context context to bind to the event emitter or function. Defaults to the currently active context\n * @param target function or event emitter to bind\n */\n public bind<T>(context: Context, target: T): T {\n return this._getContextManager().bind(context, target);\n }\n\n /**\n * Imperatively sets `context` as active, returning a {@link ContextManagementToken} whose\n * {@link ContextManagementToken.dispose} restores the previous context.\n *\n * This is a delicate, low-level API - prefer {@link with}/{@link bind}, which\n * restore context automatically. Use `attach` only to bridge callback\n * boundaries that `with` cannot wrap. Call `token.dispose()` when the\n * operation is done.\n *\n * **Caveat for async functions:** If called inside an async function before\n * the first `await`, the context change may leak into the caller's context\n * and remain active there. Prefer {@link with} for async code.\n *\n * Support is best-effort and varies by the active ContextManager (see\n * {@link ContextManager.attach}); if it does not implement `attach`, this logs\n * a warning and returns a no-op token.\n *\n * @param context The Context to attach\n * @returns A {@link ContextManagementToken} whose dispose() restores the previous Context\n * @since 1.10.0\n * @experimental This API is experimental and may change in minor releases without prior notice.\n */\n public attach(context: Context): ContextManagementToken {\n const contextManager = this._getContextManager();\n if (contextManager.attach) {\n return contextManager.attach(context);\n }\n if (!this._attachUnsupportedWarned) {\n this._attachUnsupportedWarned = true;\n DiagAPI.instance().warn(\n 'The current ContextManager does not implement attach(). The context will not be attached. Use a ContextManager that supports attach() (e.g. AsyncLocalStorageContextManager) or use with()/bind() instead.'\n );\n }\n return NOOP_TOKEN;\n }\n\n private _getContextManager(): ContextManager {\n return getGlobal(API_NAME) || NOOP_CONTEXT_MANAGER;\n }\n\n /** Disable and remove the global context manager */\n public disable() {\n this._getContextManager().disable();\n unregisterGlobal(API_NAME, DiagAPI.instance());\n }\n}\n"],"mappings":";;;;AAkBA,MAAM,WAAW;AACjB,MAAM,uBAAuB,IAAIA,2BAAAA,mBAAmB;AACpD,MAAM,aAAqC,OAAO,OAAO,EACvD,eAAe,CAAC,EAClB,CAAC;;;;;;AAOD,IAAa,aAAb,MAAa,WAAW;;CAUtB,cAAsB;EAHtB,KAAQ,2BAA2B;CAGZ;;CAGvB,OAAc,cAA0B;EACtC,IAAI,CAAC,KAAK,WACR,KAAK,YAAY,IAAI,WAAW;EAGlC,OAAO,KAAK;CACd;;;;;;CAOA,wBAA+B,gBAAyC;EACtE,OAAOC,qBAAAA,eAAe,UAAU,gBAAgBC,aAAAA,QAAQ,SAAS,CAAC;CACpE;;;;CAKA,SAAyB;EACvB,OAAO,KAAK,mBAAmB,CAAC,CAAC,OAAO;CAC1C;;;;;;;;;CAUA,KACE,SACA,IACA,SACA,GAAG,MACY;EACf,OAAO,KAAK,mBAAmB,CAAC,CAAC,KAAK,SAAS,IAAI,SAAS,GAAG,IAAI;CACrE;;;;;;;CAQA,KAAe,SAAkB,QAAc;EAC7C,OAAO,KAAK,mBAAmB,CAAC,CAAC,KAAK,SAAS,MAAM;CACvD;;;;;;;;;;;;;;;;;;;;;;;CAwBA,OAAc,SAA0C;EACtD,MAAM,iBAAiB,KAAK,mBAAmB;EAC/C,IAAI,eAAe,QACjB,OAAO,eAAe,OAAO,OAAO;EAEtC,IAAI,CAAC,KAAK,0BAA0B;GAClC,KAAK,2BAA2B;GAChC,aAAA,QAAQ,SAAS,CAAC,CAAC,KACjB,4MACF;EACF;EACA,OAAO;CACT;CAEA,qBAA6C;EAC3C,OAAOC,qBAAAA,UAAU,QAAQ,KAAK;CAChC;;CAGA,UAAiB;EACf,KAAK,mBAAmB,CAAC,CAAC,QAAQ;EAClC,qBAAA,iBAAiB,UAAUD,aAAAA,QAAQ,SAAS,CAAC;CAC/C;AACF"}