@depup/sentry__server-utils 10.75.1-depup.0 → 11.0.0-depup.0

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 (1857) hide show
  1. package/README.md +4 -4
  2. package/build/THIRD-PARTY-LICENSES.txt +35 -362
  3. package/build/cjs/ai/anthropic-ai/constants.js +13 -0
  4. package/build/cjs/ai/anthropic-ai/constants.js.map +1 -0
  5. package/build/cjs/ai/anthropic-ai/index.js +216 -0
  6. package/build/cjs/ai/anthropic-ai/index.js.map +1 -0
  7. package/build/cjs/ai/anthropic-ai/streaming.js +148 -0
  8. package/build/cjs/ai/anthropic-ai/streaming.js.map +1 -0
  9. package/build/cjs/ai/anthropic-ai/utils.js +62 -0
  10. package/build/cjs/ai/anthropic-ai/utils.js.map +1 -0
  11. package/build/cjs/ai/core/gen-ai-attributes.js +14 -0
  12. package/build/cjs/ai/core/gen-ai-attributes.js.map +1 -0
  13. package/build/cjs/ai/core/utils.js +165 -0
  14. package/build/cjs/ai/core/utils.js.map +1 -0
  15. package/build/cjs/ai/flue/constants.js +20 -0
  16. package/build/cjs/ai/flue/constants.js.map +1 -0
  17. package/build/cjs/ai/flue/index.js +115 -0
  18. package/build/cjs/ai/flue/index.js.map +1 -0
  19. package/build/cjs/ai/flue/utils.js +202 -0
  20. package/build/cjs/ai/flue/utils.js.map +1 -0
  21. package/build/cjs/ai/google-genai/constants.js +17 -0
  22. package/build/cjs/ai/google-genai/constants.js.map +1 -0
  23. package/build/cjs/ai/google-genai/index.js +262 -0
  24. package/build/cjs/ai/google-genai/index.js.map +1 -0
  25. package/build/cjs/ai/google-genai/streaming.js +79 -0
  26. package/build/cjs/ai/google-genai/streaming.js.map +1 -0
  27. package/build/cjs/ai/google-genai/utils.js +131 -0
  28. package/build/cjs/ai/google-genai/utils.js.map +1 -0
  29. package/build/cjs/ai/langchain/constants.js +17 -0
  30. package/build/cjs/ai/langchain/constants.js.map +1 -0
  31. package/build/cjs/ai/langchain/embeddings.js +82 -0
  32. package/build/cjs/ai/langchain/embeddings.js.map +1 -0
  33. package/build/cjs/ai/langchain/index.js +246 -0
  34. package/build/cjs/ai/langchain/index.js.map +1 -0
  35. package/build/cjs/ai/langchain/utils.js +272 -0
  36. package/build/cjs/ai/langchain/utils.js.map +1 -0
  37. package/build/cjs/ai/langgraph/constants.js +8 -0
  38. package/build/cjs/ai/langgraph/constants.js.map +1 -0
  39. package/build/cjs/ai/langgraph/index.js +170 -0
  40. package/build/cjs/ai/langgraph/index.js.map +1 -0
  41. package/build/cjs/ai/langgraph/utils.js +225 -0
  42. package/build/cjs/ai/langgraph/utils.js.map +1 -0
  43. package/build/cjs/ai/mastra/constants.js +40 -0
  44. package/build/cjs/ai/mastra/constants.js.map +1 -0
  45. package/build/cjs/ai/mastra/index.js +176 -0
  46. package/build/cjs/ai/mastra/index.js.map +1 -0
  47. package/build/cjs/ai/mastra/span-registry.js +20 -0
  48. package/build/cjs/ai/mastra/span-registry.js.map +1 -0
  49. package/build/cjs/ai/mastra/utils.js +159 -0
  50. package/build/cjs/ai/mastra/utils.js.map +1 -0
  51. package/build/cjs/ai/mistral/constants.js +20 -0
  52. package/build/cjs/ai/mistral/constants.js.map +1 -0
  53. package/build/cjs/ai/mistral/index.js +130 -0
  54. package/build/cjs/ai/mistral/index.js.map +1 -0
  55. package/build/cjs/ai/mistral/streaming.js +208 -0
  56. package/build/cjs/ai/mistral/streaming.js.map +1 -0
  57. package/build/cjs/ai/mistral/utils.js +87 -0
  58. package/build/cjs/ai/mistral/utils.js.map +1 -0
  59. package/build/cjs/ai/openai/constants.js +33 -0
  60. package/build/cjs/ai/openai/constants.js.map +1 -0
  61. package/build/cjs/ai/openai/index.js +156 -0
  62. package/build/cjs/ai/openai/index.js.map +1 -0
  63. package/build/cjs/ai/openai/streaming.js +126 -0
  64. package/build/cjs/ai/openai/streaming.js.map +1 -0
  65. package/build/cjs/ai/openai/utils.js +111 -0
  66. package/build/cjs/ai/openai/utils.js.map +1 -0
  67. package/build/cjs/ai/vercel-ai/index.js +71 -0
  68. package/build/cjs/ai/vercel-ai/index.js.map +1 -0
  69. package/build/cjs/ai/workers-ai/constants.js +10 -0
  70. package/build/cjs/ai/workers-ai/constants.js.map +1 -0
  71. package/build/cjs/ai/workers-ai/index.js +85 -0
  72. package/build/cjs/ai/workers-ai/index.js.map +1 -0
  73. package/build/cjs/ai/workers-ai/streaming.js +149 -0
  74. package/build/cjs/ai/workers-ai/streaming.js.map +1 -0
  75. package/build/cjs/ai/workers-ai/utils.js +113 -0
  76. package/build/cjs/ai/workers-ai/utils.js.map +1 -0
  77. package/build/cjs/async-context.js +68 -0
  78. package/build/cjs/async-context.js.map +1 -0
  79. package/build/cjs/eve.js +30 -0
  80. package/build/cjs/eve.js.map +1 -0
  81. package/build/cjs/index.js +122 -27
  82. package/build/cjs/index.js.map +1 -1
  83. package/build/cjs/index.no-diagnostic-channels.js +41 -0
  84. package/build/cjs/index.no-diagnostic-channels.js.map +1 -0
  85. package/build/cjs/integrations/amqplib.js +402 -0
  86. package/build/cjs/integrations/amqplib.js.map +1 -0
  87. package/build/cjs/integrations/anthropic.js +113 -0
  88. package/build/cjs/integrations/anthropic.js.map +1 -0
  89. package/build/cjs/integrations/aws-sdk/constants.js +16 -0
  90. package/build/cjs/integrations/aws-sdk/constants.js.map +1 -0
  91. package/build/cjs/integrations/aws-sdk/index.js +154 -0
  92. package/build/cjs/integrations/aws-sdk/index.js.map +1 -0
  93. package/build/cjs/integrations/aws-sdk/services/MessageAttributes.js +46 -0
  94. package/build/cjs/integrations/aws-sdk/services/MessageAttributes.js.map +1 -0
  95. package/build/cjs/integrations/aws-sdk/services/ServicesExtensions.js.map +1 -0
  96. package/build/cjs/integrations/aws-sdk/services/bedrock-runtime.js +424 -0
  97. package/build/cjs/integrations/aws-sdk/services/bedrock-runtime.js.map +1 -0
  98. package/build/cjs/integrations/aws-sdk/services/dynamodb.js +130 -0
  99. package/build/cjs/integrations/aws-sdk/services/dynamodb.js.map +1 -0
  100. package/build/cjs/integrations/aws-sdk/services/kinesis.js +19 -0
  101. package/build/cjs/integrations/aws-sdk/services/kinesis.js.map +1 -0
  102. package/build/cjs/integrations/aws-sdk/services/lambda.js +63 -0
  103. package/build/cjs/integrations/aws-sdk/services/lambda.js.map +1 -0
  104. package/build/cjs/integrations/aws-sdk/services/s3.js +19 -0
  105. package/build/cjs/integrations/aws-sdk/services/s3.js.map +1 -0
  106. package/build/cjs/integrations/aws-sdk/services/secretsmanager.js +25 -0
  107. package/build/cjs/integrations/aws-sdk/services/secretsmanager.js.map +1 -0
  108. package/build/cjs/integrations/aws-sdk/services/sns.js +79 -0
  109. package/build/cjs/integrations/aws-sdk/services/sns.js.map +1 -0
  110. package/build/cjs/integrations/aws-sdk/services/sqs.js +135 -0
  111. package/build/cjs/integrations/aws-sdk/services/sqs.js.map +1 -0
  112. package/build/cjs/integrations/aws-sdk/services/stepfunctions.js +23 -0
  113. package/build/cjs/integrations/aws-sdk/services/stepfunctions.js.map +1 -0
  114. package/build/cjs/integrations/aws-sdk/utils.js.map +1 -0
  115. package/build/cjs/integrations/dataloader.js +134 -0
  116. package/build/cjs/integrations/dataloader.js.map +1 -0
  117. package/build/cjs/integrations/express/error-handled.js +17 -0
  118. package/build/cjs/integrations/express/error-handled.js.map +1 -0
  119. package/build/cjs/integrations/express/error-handler.js +43 -0
  120. package/build/cjs/integrations/express/error-handler.js.map +1 -0
  121. package/build/cjs/integrations/express/index.js +37 -0
  122. package/build/cjs/integrations/express/index.js.map +1 -0
  123. package/build/cjs/integrations/express/instrumentation.js +200 -0
  124. package/build/cjs/integrations/express/instrumentation.js.map +1 -0
  125. package/build/cjs/integrations/express/route.js.map +1 -0
  126. package/build/cjs/integrations/express/utils.js +12 -0
  127. package/build/cjs/integrations/express/utils.js.map +1 -0
  128. package/build/cjs/integrations/fastify/errors.js +49 -0
  129. package/build/cjs/integrations/fastify/errors.js.map +1 -0
  130. package/build/cjs/integrations/fastify/index.js +28 -0
  131. package/build/cjs/integrations/fastify/index.js.map +1 -0
  132. package/build/cjs/integrations/fastify/instrumentation.js +265 -0
  133. package/build/cjs/integrations/fastify/instrumentation.js.map +1 -0
  134. package/build/cjs/integrations/fastify/utils.js.map +1 -0
  135. package/build/cjs/integrations/firebase/firestore.js +92 -0
  136. package/build/cjs/integrations/firebase/firestore.js.map +1 -0
  137. package/build/cjs/integrations/firebase/functions.js +79 -0
  138. package/build/cjs/integrations/firebase/functions.js.map +1 -0
  139. package/build/cjs/integrations/firebase/index.js +20 -0
  140. package/build/cjs/integrations/firebase/index.js.map +1 -0
  141. package/build/cjs/integrations/firebase/instrumentation.js +69 -0
  142. package/build/cjs/integrations/firebase/instrumentation.js.map +1 -0
  143. package/build/cjs/integrations/flue.js +40 -0
  144. package/build/cjs/integrations/flue.js.map +1 -0
  145. package/build/cjs/integrations/generic-pool.js +49 -0
  146. package/build/cjs/integrations/generic-pool.js.map +1 -0
  147. package/build/cjs/integrations/google-genai.js +112 -0
  148. package/build/cjs/integrations/google-genai.js.map +1 -0
  149. package/build/cjs/integrations/graphql/constants.js +38 -0
  150. package/build/cjs/integrations/graphql/constants.js.map +1 -0
  151. package/build/cjs/integrations/graphql/graphql-dc-subscriber.js +122 -0
  152. package/build/cjs/integrations/graphql/graphql-dc-subscriber.js.map +1 -0
  153. package/build/cjs/integrations/graphql/index.js +73 -0
  154. package/build/cjs/integrations/graphql/index.js.map +1 -0
  155. package/build/cjs/integrations/graphql/resolvers.js +174 -0
  156. package/build/cjs/integrations/graphql/resolvers.js.map +1 -0
  157. package/build/cjs/integrations/graphql/spans.js +114 -0
  158. package/build/cjs/integrations/graphql/spans.js.map +1 -0
  159. package/build/cjs/integrations/graphql/utils.js +98 -0
  160. package/build/cjs/integrations/graphql/utils.js.map +1 -0
  161. package/build/cjs/integrations/groq.js +21 -0
  162. package/build/cjs/integrations/groq.js.map +1 -0
  163. package/build/cjs/integrations/hapi/hapi-error-handler.js +46 -0
  164. package/build/cjs/integrations/hapi/hapi-error-handler.js.map +1 -0
  165. package/build/cjs/integrations/hapi/hapi-types.js.map +1 -0
  166. package/build/cjs/integrations/hapi/hapi-utils.js +197 -0
  167. package/build/cjs/integrations/hapi/hapi-utils.js.map +1 -0
  168. package/build/cjs/integrations/hapi/index.js +86 -0
  169. package/build/cjs/integrations/hapi/index.js.map +1 -0
  170. package/build/cjs/integrations/index.js +76 -0
  171. package/build/cjs/integrations/index.js.map +1 -0
  172. package/build/cjs/integrations/kafkajs/consumer.js.map +1 -0
  173. package/build/cjs/integrations/kafkajs/index.js +83 -0
  174. package/build/cjs/integrations/kafkajs/index.js.map +1 -0
  175. package/build/cjs/integrations/kafkajs/semconv.js.map +1 -0
  176. package/build/cjs/integrations/kafkajs/spans.js +127 -0
  177. package/build/cjs/integrations/kafkajs/spans.js.map +1 -0
  178. package/build/cjs/integrations/knex.js +230 -0
  179. package/build/cjs/integrations/knex.js.map +1 -0
  180. package/build/cjs/integrations/koa/index.js +168 -0
  181. package/build/cjs/integrations/koa/index.js.map +1 -0
  182. package/build/cjs/integrations/koa/koa-error-handler.js +33 -0
  183. package/build/cjs/integrations/koa/koa-error-handler.js.map +1 -0
  184. package/build/cjs/integrations/langchain.js +90 -0
  185. package/build/cjs/integrations/langchain.js.map +1 -0
  186. package/build/cjs/integrations/langgraph.js +100 -0
  187. package/build/cjs/integrations/langgraph.js.map +1 -0
  188. package/build/cjs/integrations/lru-memoizer.js +42 -0
  189. package/build/cjs/integrations/lru-memoizer.js.map +1 -0
  190. package/build/cjs/integrations/mastra.js +258 -0
  191. package/build/cjs/integrations/mastra.js.map +1 -0
  192. package/build/cjs/integrations/mistral.js +81 -0
  193. package/build/cjs/integrations/mistral.js.map +1 -0
  194. package/build/cjs/integrations/mongodb/index.js +117 -0
  195. package/build/cjs/integrations/mongodb/index.js.map +1 -0
  196. package/build/cjs/integrations/mongodb/mongodb-span.js +134 -0
  197. package/build/cjs/integrations/mongodb/mongodb-span.js.map +1 -0
  198. package/build/cjs/integrations/mongoose/index.js +122 -0
  199. package/build/cjs/integrations/mongoose/index.js.map +1 -0
  200. package/build/cjs/integrations/mongoose/mongoose-dc-subscriber.js +101 -0
  201. package/build/cjs/integrations/mongoose/mongoose-dc-subscriber.js.map +1 -0
  202. package/build/cjs/integrations/mongoose/mongoose-legacy-span.js +41 -0
  203. package/build/cjs/integrations/mongoose/mongoose-legacy-span.js.map +1 -0
  204. package/build/cjs/integrations/mysql.js +120 -0
  205. package/build/cjs/integrations/mysql.js.map +1 -0
  206. package/build/cjs/integrations/mysql2/index.js +104 -0
  207. package/build/cjs/integrations/mysql2/index.js.map +1 -0
  208. package/build/cjs/integrations/mysql2/mysql2-dc-subscriber.js +73 -0
  209. package/build/cjs/integrations/mysql2/mysql2-dc-subscriber.js.map +1 -0
  210. package/build/cjs/integrations/openai-compatible.js +94 -0
  211. package/build/cjs/integrations/openai-compatible.js.map +1 -0
  212. package/build/cjs/integrations/openai.js +95 -0
  213. package/build/cjs/integrations/openai.js.map +1 -0
  214. package/build/cjs/integrations/postgres-js.js +213 -0
  215. package/build/cjs/integrations/postgres-js.js.map +1 -0
  216. package/build/cjs/integrations/postgres.js +185 -0
  217. package/build/cjs/integrations/postgres.js.map +1 -0
  218. package/build/cjs/integrations/postgresjs.js +226 -0
  219. package/build/cjs/integrations/postgresjs.js.map +1 -0
  220. package/build/cjs/integrations/prisma/global.js.map +1 -0
  221. package/build/cjs/integrations/prisma/index.js.map +1 -0
  222. package/build/cjs/integrations/prisma/tracing-helper.js +238 -0
  223. package/build/cjs/integrations/prisma/tracing-helper.js.map +1 -0
  224. package/build/cjs/integrations/redis/index.js +234 -0
  225. package/build/cjs/integrations/redis/index.js.map +1 -0
  226. package/build/cjs/integrations/redis/ioredis-channel-subscriber.js +104 -0
  227. package/build/cjs/integrations/redis/ioredis-channel-subscriber.js.map +1 -0
  228. package/build/cjs/integrations/redis/redis-cache.js +144 -0
  229. package/build/cjs/integrations/redis/redis-cache.js.map +1 -0
  230. package/build/cjs/integrations/redis/redis-dc-subscriber.js +107 -0
  231. package/build/cjs/integrations/redis/redis-dc-subscriber.js.map +1 -0
  232. package/build/cjs/integrations/redis/redis-span-name.js +32 -0
  233. package/build/cjs/integrations/redis/redis-span-name.js.map +1 -0
  234. package/build/cjs/integrations/redis/redis-statement-serializer.js.map +1 -0
  235. package/build/cjs/integrations/tedious.js +170 -0
  236. package/build/cjs/integrations/tedious.js.map +1 -0
  237. package/build/cjs/integrations/together-ai.js +19 -0
  238. package/build/cjs/integrations/together-ai.js.map +1 -0
  239. package/build/cjs/integrations/vercel-ai/gen-ai-recording-mode.js +13 -0
  240. package/build/cjs/integrations/vercel-ai/gen-ai-recording-mode.js.map +1 -0
  241. package/build/cjs/integrations/vercel-ai/index.js +45 -0
  242. package/build/cjs/integrations/vercel-ai/index.js.map +1 -0
  243. package/build/cjs/integrations/vercel-ai/util.js +108 -0
  244. package/build/cjs/integrations/vercel-ai/util.js.map +1 -0
  245. package/build/cjs/integrations/vercel-ai/vercel-ai-dc-subscriber.js +482 -0
  246. package/build/cjs/integrations/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -0
  247. package/build/cjs/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js +400 -0
  248. package/build/cjs/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -0
  249. package/build/cjs/opentelemetry.js +45 -0
  250. package/build/cjs/opentelemetry.js.map +1 -0
  251. package/build/cjs/orchestrion/bundler/bun.js +37 -0
  252. package/build/cjs/orchestrion/bundler/bun.js.map +1 -0
  253. package/build/cjs/orchestrion/bundler/esbuild.js +20 -0
  254. package/build/cjs/orchestrion/bundler/esbuild.js.map +1 -1
  255. package/build/cjs/orchestrion/bundler/moduleInjectedTransform.js +55 -0
  256. package/build/cjs/orchestrion/bundler/moduleInjectedTransform.js.map +1 -0
  257. package/build/cjs/orchestrion/bundler/options.js +7 -20
  258. package/build/cjs/orchestrion/bundler/options.js.map +1 -1
  259. package/build/cjs/orchestrion/bundler/resolve.js +27 -0
  260. package/build/cjs/orchestrion/bundler/resolve.js.map +1 -0
  261. package/build/cjs/orchestrion/bundler/rollup.js +40 -1
  262. package/build/cjs/orchestrion/bundler/rollup.js.map +1 -1
  263. package/build/cjs/orchestrion/bundler/vite.js +66 -3
  264. package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
  265. package/build/cjs/orchestrion/bundler/webpack-loader.js +16 -2
  266. package/build/cjs/orchestrion/bundler/webpack-loader.js.map +1 -1
  267. package/build/cjs/orchestrion/bundler/webpack.js +36 -29
  268. package/build/cjs/orchestrion/bundler/webpack.js.map +1 -1
  269. package/build/cjs/orchestrion/channels.js +8 -0
  270. package/build/cjs/orchestrion/channels.js.map +1 -1
  271. package/build/cjs/orchestrion/config/amqplib.js +3 -3
  272. package/build/cjs/orchestrion/config/amqplib.js.map +1 -1
  273. package/build/cjs/orchestrion/config/anthropic-ai.js +8 -16
  274. package/build/cjs/orchestrion/config/anthropic-ai.js.map +1 -1
  275. package/build/cjs/orchestrion/config/aws-sdk.js +3 -3
  276. package/build/cjs/orchestrion/config/aws-sdk.js.map +1 -1
  277. package/build/cjs/orchestrion/config/channel-integration-definitions.js +40 -18
  278. package/build/cjs/orchestrion/config/channel-integration-definitions.js.map +1 -1
  279. package/build/cjs/orchestrion/config/dataloader.js +0 -4
  280. package/build/cjs/orchestrion/config/dataloader.js.map +1 -1
  281. package/build/cjs/orchestrion/config/express.js +4 -4
  282. package/build/cjs/orchestrion/config/express.js.map +1 -1
  283. package/build/cjs/orchestrion/config/firebase.js +3 -3
  284. package/build/cjs/orchestrion/config/firebase.js.map +1 -1
  285. package/build/cjs/orchestrion/config/flue.js +10 -0
  286. package/build/cjs/orchestrion/config/flue.js.map +1 -0
  287. package/build/cjs/orchestrion/config/generic-pool.js +3 -3
  288. package/build/cjs/orchestrion/config/generic-pool.js.map +1 -1
  289. package/build/cjs/orchestrion/config/google-genai.js +8 -7
  290. package/build/cjs/orchestrion/config/google-genai.js.map +1 -1
  291. package/build/cjs/orchestrion/config/graphql.js +12 -12
  292. package/build/cjs/orchestrion/config/graphql.js.map +1 -1
  293. package/build/cjs/orchestrion/config/groq.js +19 -0
  294. package/build/cjs/orchestrion/config/groq.js.map +1 -0
  295. package/build/cjs/orchestrion/config/hapi.js +22 -4
  296. package/build/cjs/orchestrion/config/hapi.js.map +1 -1
  297. package/build/cjs/orchestrion/config/index.js +20 -32
  298. package/build/cjs/orchestrion/config/index.js.map +1 -1
  299. package/build/cjs/orchestrion/config/ioredis.js +5 -3
  300. package/build/cjs/orchestrion/config/ioredis.js.map +1 -1
  301. package/build/cjs/orchestrion/config/kafkajs.js +3 -3
  302. package/build/cjs/orchestrion/config/kafkajs.js.map +1 -1
  303. package/build/cjs/orchestrion/config/knex.js +0 -4
  304. package/build/cjs/orchestrion/config/knex.js.map +1 -1
  305. package/build/cjs/orchestrion/config/koa.js +16 -4
  306. package/build/cjs/orchestrion/config/koa.js.map +1 -1
  307. package/build/cjs/orchestrion/config/langchain.js +3 -3
  308. package/build/cjs/orchestrion/config/langchain.js.map +1 -1
  309. package/build/cjs/orchestrion/config/langgraph.js +3 -3
  310. package/build/cjs/orchestrion/config/langgraph.js.map +1 -1
  311. package/build/cjs/orchestrion/config/lru-memoizer.js +3 -3
  312. package/build/cjs/orchestrion/config/lru-memoizer.js.map +1 -1
  313. package/build/cjs/orchestrion/config/mastra.js +38 -0
  314. package/build/cjs/orchestrion/config/mastra.js.map +1 -0
  315. package/build/cjs/orchestrion/config/mistral.js +57 -0
  316. package/build/cjs/orchestrion/config/mistral.js.map +1 -0
  317. package/build/cjs/orchestrion/config/module-names.js +8 -0
  318. package/build/cjs/orchestrion/config/module-names.js.map +1 -0
  319. package/build/cjs/orchestrion/config/mongodb.js +3 -3
  320. package/build/cjs/orchestrion/config/mongodb.js.map +1 -1
  321. package/build/cjs/orchestrion/config/mongoose.js +5 -3
  322. package/build/cjs/orchestrion/config/mongoose.js.map +1 -1
  323. package/build/cjs/orchestrion/config/mysql.js +3 -3
  324. package/build/cjs/orchestrion/config/mysql.js.map +1 -1
  325. package/build/cjs/orchestrion/config/mysql2.js +5 -3
  326. package/build/cjs/orchestrion/config/mysql2.js.map +1 -1
  327. package/build/cjs/orchestrion/config/nestjs.js +4 -8
  328. package/build/cjs/orchestrion/config/nestjs.js.map +1 -1
  329. package/build/cjs/orchestrion/config/openai-compatible.js +19 -0
  330. package/build/cjs/orchestrion/config/openai-compatible.js.map +1 -0
  331. package/build/cjs/orchestrion/config/openai.js +3 -3
  332. package/build/cjs/orchestrion/config/openai.js.map +1 -1
  333. package/build/cjs/orchestrion/config/pg.js +3 -3
  334. package/build/cjs/orchestrion/config/pg.js.map +1 -1
  335. package/build/cjs/orchestrion/config/postgres.js +3 -3
  336. package/build/cjs/orchestrion/config/postgres.js.map +1 -1
  337. package/build/cjs/orchestrion/config/redis.js +5 -3
  338. package/build/cjs/orchestrion/config/redis.js.map +1 -1
  339. package/build/cjs/orchestrion/config/registration-only.js +15 -0
  340. package/build/cjs/orchestrion/config/registration-only.js.map +1 -0
  341. package/build/cjs/orchestrion/config/remix.js +0 -4
  342. package/build/cjs/orchestrion/config/remix.js.map +1 -1
  343. package/build/cjs/orchestrion/config/tedious.js +3 -3
  344. package/build/cjs/orchestrion/config/tedious.js.map +1 -1
  345. package/build/cjs/orchestrion/config/together-ai.js +19 -0
  346. package/build/cjs/orchestrion/config/together-ai.js.map +1 -0
  347. package/build/cjs/orchestrion/config/vercel-ai.js +7 -3
  348. package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -1
  349. package/build/cjs/orchestrion/detect.js +7 -4
  350. package/build/cjs/orchestrion/detect.js.map +1 -1
  351. package/build/cjs/orchestrion/instrumentation.js +86 -0
  352. package/build/cjs/orchestrion/instrumentation.js.map +1 -0
  353. package/build/cjs/tracing-channel.js +20 -1
  354. package/build/cjs/tracing-channel.js.map +1 -1
  355. package/build/cjs/utils/moduleInjected.js +18 -0
  356. package/build/cjs/utils/moduleInjected.js.map +1 -0
  357. package/build/cjs/utils/setHttpServerSpanRouteAttribute.js +26 -0
  358. package/build/cjs/utils/setHttpServerSpanRouteAttribute.js.map +1 -0
  359. package/build/cjs/utils/sql.js +236 -0
  360. package/build/cjs/utils/sql.js.map +1 -0
  361. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/matcher.js +5 -2
  362. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/matcher.js.map +1 -1
  363. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transformer.js +5 -3
  364. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transformer.js.map +1 -1
  365. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transforms.js +51 -15
  366. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transforms.js.map +1 -1
  367. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js +65 -0
  368. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js.map +1 -0
  369. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js +2 -2
  370. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js.map +1 -1
  371. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js +4 -4
  372. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js.map +1 -1
  373. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js +23 -0
  374. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -1
  375. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js +117 -0
  376. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js.map +1 -0
  377. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js +34 -5
  378. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -1
  379. package/build/cjs/vendored/module-details-from-path/index.js +2 -3
  380. package/build/cjs/vendored/module-details-from-path/index.js.map +1 -1
  381. package/build/esm/ai/anthropic-ai/constants.js +10 -0
  382. package/build/esm/ai/anthropic-ai/constants.js.map +1 -0
  383. package/build/esm/ai/anthropic-ai/index.js +211 -0
  384. package/build/esm/ai/anthropic-ai/index.js.map +1 -0
  385. package/build/esm/ai/anthropic-ai/streaming.js +145 -0
  386. package/build/esm/ai/anthropic-ai/streaming.js.map +1 -0
  387. package/build/esm/ai/anthropic-ai/utils.js +57 -0
  388. package/build/esm/ai/anthropic-ai/utils.js.map +1 -0
  389. package/build/esm/ai/core/gen-ai-attributes.js +8 -0
  390. package/build/esm/ai/core/gen-ai-attributes.js.map +1 -0
  391. package/build/esm/ai/core/utils.js +155 -0
  392. package/build/esm/ai/core/utils.js.map +1 -0
  393. package/build/esm/ai/flue/constants.js +13 -0
  394. package/build/esm/ai/flue/constants.js.map +1 -0
  395. package/build/esm/ai/flue/index.js +113 -0
  396. package/build/esm/ai/flue/index.js.map +1 -0
  397. package/build/esm/ai/flue/utils.js +193 -0
  398. package/build/esm/ai/flue/utils.js.map +1 -0
  399. package/build/esm/ai/google-genai/constants.js +13 -0
  400. package/build/esm/ai/google-genai/constants.js.map +1 -0
  401. package/build/esm/ai/google-genai/index.js +255 -0
  402. package/build/esm/ai/google-genai/index.js.map +1 -0
  403. package/build/esm/ai/google-genai/streaming.js +77 -0
  404. package/build/esm/ai/google-genai/streaming.js.map +1 -0
  405. package/build/esm/ai/google-genai/utils.js +125 -0
  406. package/build/esm/ai/google-genai/utils.js.map +1 -0
  407. package/build/esm/ai/langchain/constants.js +13 -0
  408. package/build/esm/ai/langchain/constants.js.map +1 -0
  409. package/build/esm/ai/langchain/embeddings.js +78 -0
  410. package/build/esm/ai/langchain/embeddings.js.map +1 -0
  411. package/build/esm/ai/langchain/index.js +244 -0
  412. package/build/esm/ai/langchain/index.js.map +1 -0
  413. package/build/esm/ai/langchain/utils.js +263 -0
  414. package/build/esm/ai/langchain/utils.js.map +1 -0
  415. package/build/esm/ai/langgraph/constants.js +5 -0
  416. package/build/esm/ai/langgraph/constants.js.map +1 -0
  417. package/build/esm/ai/langgraph/index.js +165 -0
  418. package/build/esm/ai/langgraph/index.js.map +1 -0
  419. package/build/esm/ai/langgraph/utils.js +216 -0
  420. package/build/esm/ai/langgraph/utils.js.map +1 -0
  421. package/build/esm/ai/mastra/constants.js +29 -0
  422. package/build/esm/ai/mastra/constants.js.map +1 -0
  423. package/build/esm/ai/mastra/index.js +174 -0
  424. package/build/esm/ai/mastra/index.js.map +1 -0
  425. package/build/esm/ai/mastra/span-registry.js +16 -0
  426. package/build/esm/ai/mastra/span-registry.js.map +1 -0
  427. package/build/esm/ai/mastra/utils.js +152 -0
  428. package/build/esm/ai/mastra/utils.js.map +1 -0
  429. package/build/esm/ai/mistral/constants.js +15 -0
  430. package/build/esm/ai/mistral/constants.js.map +1 -0
  431. package/build/esm/ai/mistral/index.js +126 -0
  432. package/build/esm/ai/mistral/index.js.map +1 -0
  433. package/build/esm/ai/mistral/streaming.js +205 -0
  434. package/build/esm/ai/mistral/streaming.js.map +1 -0
  435. package/build/esm/ai/mistral/utils.js +82 -0
  436. package/build/esm/ai/mistral/utils.js.map +1 -0
  437. package/build/esm/ai/openai/constants.js +28 -0
  438. package/build/esm/ai/openai/constants.js.map +1 -0
  439. package/build/esm/ai/openai/index.js +152 -0
  440. package/build/esm/ai/openai/index.js.map +1 -0
  441. package/build/esm/ai/openai/streaming.js +124 -0
  442. package/build/esm/ai/openai/streaming.js.map +1 -0
  443. package/build/esm/ai/openai/utils.js +106 -0
  444. package/build/esm/ai/openai/utils.js.map +1 -0
  445. package/build/esm/ai/vercel-ai/index.js +68 -0
  446. package/build/esm/ai/vercel-ai/index.js.map +1 -0
  447. package/build/esm/ai/workers-ai/constants.js +6 -0
  448. package/build/esm/ai/workers-ai/constants.js.map +1 -0
  449. package/build/esm/ai/workers-ai/index.js +83 -0
  450. package/build/esm/ai/workers-ai/index.js.map +1 -0
  451. package/build/esm/ai/workers-ai/streaming.js +147 -0
  452. package/build/esm/ai/workers-ai/streaming.js.map +1 -0
  453. package/build/esm/ai/workers-ai/utils.js +106 -0
  454. package/build/esm/ai/workers-ai/utils.js.map +1 -0
  455. package/build/esm/async-context.js +66 -0
  456. package/build/esm/async-context.js.map +1 -0
  457. package/build/esm/eve.js +27 -0
  458. package/build/esm/eve.js.map +1 -0
  459. package/build/esm/index.js +60 -10
  460. package/build/esm/index.js.map +1 -1
  461. package/build/esm/index.no-diagnostic-channels.js +16 -0
  462. package/build/esm/index.no-diagnostic-channels.js.map +1 -0
  463. package/build/esm/integrations/amqplib.js +386 -0
  464. package/build/esm/integrations/amqplib.js.map +1 -0
  465. package/build/esm/integrations/anthropic.js +98 -0
  466. package/build/esm/integrations/anthropic.js.map +1 -0
  467. package/build/esm/integrations/aws-sdk/constants.js +9 -0
  468. package/build/esm/integrations/aws-sdk/constants.js.map +1 -0
  469. package/build/esm/integrations/aws-sdk/index.js +139 -0
  470. package/build/esm/integrations/aws-sdk/index.js.map +1 -0
  471. package/build/esm/integrations/aws-sdk/services/MessageAttributes.js +41 -0
  472. package/build/esm/integrations/aws-sdk/services/MessageAttributes.js.map +1 -0
  473. package/build/esm/integrations/aws-sdk/services/ServicesExtensions.js.map +1 -0
  474. package/build/esm/integrations/aws-sdk/services/bedrock-runtime.js +422 -0
  475. package/build/esm/integrations/aws-sdk/services/bedrock-runtime.js.map +1 -0
  476. package/build/esm/integrations/aws-sdk/services/dynamodb.js +128 -0
  477. package/build/esm/integrations/aws-sdk/services/dynamodb.js.map +1 -0
  478. package/build/esm/integrations/aws-sdk/services/kinesis.js +17 -0
  479. package/build/esm/integrations/aws-sdk/services/kinesis.js.map +1 -0
  480. package/build/esm/integrations/aws-sdk/services/lambda.js +61 -0
  481. package/build/esm/integrations/aws-sdk/services/lambda.js.map +1 -0
  482. package/build/esm/integrations/aws-sdk/services/s3.js +17 -0
  483. package/build/esm/integrations/aws-sdk/services/s3.js.map +1 -0
  484. package/build/esm/integrations/aws-sdk/services/secretsmanager.js +23 -0
  485. package/build/esm/integrations/aws-sdk/services/secretsmanager.js.map +1 -0
  486. package/build/esm/integrations/aws-sdk/services/sns.js +77 -0
  487. package/build/esm/integrations/aws-sdk/services/sns.js.map +1 -0
  488. package/build/esm/integrations/aws-sdk/services/sqs.js +133 -0
  489. package/build/esm/integrations/aws-sdk/services/sqs.js.map +1 -0
  490. package/build/esm/integrations/aws-sdk/services/stepfunctions.js +21 -0
  491. package/build/esm/integrations/aws-sdk/services/stepfunctions.js.map +1 -0
  492. package/build/esm/integrations/aws-sdk/utils.js.map +1 -0
  493. package/build/esm/integrations/dataloader.js +119 -0
  494. package/build/esm/integrations/dataloader.js.map +1 -0
  495. package/build/esm/integrations/express/error-handled.js +14 -0
  496. package/build/esm/integrations/express/error-handled.js.map +1 -0
  497. package/build/esm/integrations/express/error-handler.js +40 -0
  498. package/build/esm/integrations/express/error-handler.js.map +1 -0
  499. package/build/esm/integrations/express/index.js +22 -0
  500. package/build/esm/integrations/express/index.js.map +1 -0
  501. package/build/esm/integrations/express/instrumentation.js +197 -0
  502. package/build/esm/integrations/express/instrumentation.js.map +1 -0
  503. package/build/esm/integrations/express/route.js.map +1 -0
  504. package/build/esm/integrations/express/utils.js +10 -0
  505. package/build/esm/integrations/express/utils.js.map +1 -0
  506. package/build/esm/integrations/fastify/errors.js +33 -0
  507. package/build/esm/integrations/fastify/errors.js.map +1 -0
  508. package/build/esm/integrations/fastify/index.js +25 -0
  509. package/build/esm/integrations/fastify/index.js.map +1 -0
  510. package/build/esm/integrations/fastify/instrumentation.js +250 -0
  511. package/build/esm/integrations/fastify/instrumentation.js.map +1 -0
  512. package/build/esm/integrations/fastify/utils.js.map +1 -0
  513. package/build/esm/integrations/firebase/firestore.js +76 -0
  514. package/build/esm/integrations/firebase/firestore.js.map +1 -0
  515. package/build/esm/integrations/firebase/functions.js +77 -0
  516. package/build/esm/integrations/firebase/functions.js.map +1 -0
  517. package/build/esm/integrations/firebase/index.js +18 -0
  518. package/build/esm/integrations/firebase/index.js.map +1 -0
  519. package/build/esm/integrations/firebase/instrumentation.js +54 -0
  520. package/build/esm/integrations/firebase/instrumentation.js.map +1 -0
  521. package/build/esm/integrations/flue.js +38 -0
  522. package/build/esm/integrations/flue.js.map +1 -0
  523. package/build/esm/integrations/generic-pool.js +34 -0
  524. package/build/esm/integrations/generic-pool.js.map +1 -0
  525. package/build/esm/integrations/google-genai.js +97 -0
  526. package/build/esm/integrations/google-genai.js.map +1 -0
  527. package/build/esm/integrations/graphql/constants.js +20 -0
  528. package/build/esm/integrations/graphql/constants.js.map +1 -0
  529. package/build/esm/integrations/graphql/graphql-dc-subscriber.js +115 -0
  530. package/build/esm/integrations/graphql/graphql-dc-subscriber.js.map +1 -0
  531. package/build/esm/integrations/graphql/index.js +58 -0
  532. package/build/esm/integrations/graphql/index.js.map +1 -0
  533. package/build/esm/integrations/graphql/resolvers.js +170 -0
  534. package/build/esm/integrations/graphql/resolvers.js.map +1 -0
  535. package/build/esm/integrations/graphql/spans.js +108 -0
  536. package/build/esm/integrations/graphql/spans.js.map +1 -0
  537. package/build/esm/integrations/graphql/utils.js +93 -0
  538. package/build/esm/integrations/graphql/utils.js.map +1 -0
  539. package/build/esm/integrations/groq.js +18 -0
  540. package/build/esm/integrations/groq.js.map +1 -0
  541. package/build/esm/integrations/hapi/hapi-error-handler.js +44 -0
  542. package/build/esm/integrations/hapi/hapi-error-handler.js.map +1 -0
  543. package/build/esm/integrations/hapi/hapi-types.js.map +1 -0
  544. package/build/esm/integrations/hapi/hapi-utils.js +191 -0
  545. package/build/esm/integrations/hapi/hapi-utils.js.map +1 -0
  546. package/build/esm/integrations/hapi/index.js +71 -0
  547. package/build/esm/integrations/hapi/index.js.map +1 -0
  548. package/build/esm/integrations/index.js +73 -0
  549. package/build/esm/integrations/index.js.map +1 -0
  550. package/build/esm/integrations/kafkajs/consumer.js.map +1 -0
  551. package/build/esm/integrations/kafkajs/index.js +68 -0
  552. package/build/esm/integrations/kafkajs/index.js.map +1 -0
  553. package/build/esm/integrations/kafkajs/semconv.js.map +1 -0
  554. package/build/esm/integrations/kafkajs/spans.js +120 -0
  555. package/build/esm/integrations/kafkajs/spans.js.map +1 -0
  556. package/build/esm/integrations/knex.js +215 -0
  557. package/build/esm/integrations/knex.js.map +1 -0
  558. package/build/esm/integrations/koa/index.js +153 -0
  559. package/build/esm/integrations/koa/index.js.map +1 -0
  560. package/build/esm/integrations/koa/koa-error-handler.js +30 -0
  561. package/build/esm/integrations/koa/koa-error-handler.js.map +1 -0
  562. package/build/esm/integrations/langchain.js +75 -0
  563. package/build/esm/integrations/langchain.js.map +1 -0
  564. package/build/esm/integrations/langgraph.js +85 -0
  565. package/build/esm/integrations/langgraph.js.map +1 -0
  566. package/build/esm/integrations/lru-memoizer.js +27 -0
  567. package/build/esm/integrations/lru-memoizer.js.map +1 -0
  568. package/build/esm/integrations/mastra.js +243 -0
  569. package/build/esm/integrations/mastra.js.map +1 -0
  570. package/build/esm/integrations/mistral.js +66 -0
  571. package/build/esm/integrations/mistral.js.map +1 -0
  572. package/build/esm/integrations/mongodb/index.js +102 -0
  573. package/build/esm/integrations/mongodb/index.js.map +1 -0
  574. package/build/esm/integrations/mongodb/mongodb-span.js +127 -0
  575. package/build/esm/integrations/mongodb/mongodb-span.js.map +1 -0
  576. package/build/esm/integrations/mongoose/index.js +107 -0
  577. package/build/esm/integrations/mongoose/index.js.map +1 -0
  578. package/build/esm/integrations/mongoose/mongoose-dc-subscriber.js +93 -0
  579. package/build/esm/integrations/mongoose/mongoose-dc-subscriber.js.map +1 -0
  580. package/build/esm/integrations/mongoose/mongoose-legacy-span.js +39 -0
  581. package/build/esm/integrations/mongoose/mongoose-legacy-span.js.map +1 -0
  582. package/build/esm/integrations/mysql.js +105 -0
  583. package/build/esm/integrations/mysql.js.map +1 -0
  584. package/build/esm/integrations/mysql2/index.js +89 -0
  585. package/build/esm/integrations/mysql2/index.js.map +1 -0
  586. package/build/esm/integrations/mysql2/mysql2-dc-subscriber.js +67 -0
  587. package/build/esm/integrations/mysql2/mysql2-dc-subscriber.js.map +1 -0
  588. package/build/esm/integrations/openai-compatible.js +79 -0
  589. package/build/esm/integrations/openai-compatible.js.map +1 -0
  590. package/build/esm/integrations/openai.js +80 -0
  591. package/build/esm/integrations/openai.js.map +1 -0
  592. package/build/esm/integrations/postgres-js.js +198 -0
  593. package/build/esm/integrations/postgres-js.js.map +1 -0
  594. package/build/esm/integrations/postgres.js +170 -0
  595. package/build/esm/integrations/postgres.js.map +1 -0
  596. package/build/esm/integrations/postgresjs.js +220 -0
  597. package/build/esm/integrations/postgresjs.js.map +1 -0
  598. package/build/esm/integrations/prisma/global.js.map +1 -0
  599. package/build/esm/integrations/prisma/index.js.map +1 -0
  600. package/build/esm/integrations/prisma/tracing-helper.js +236 -0
  601. package/build/esm/integrations/prisma/tracing-helper.js.map +1 -0
  602. package/build/esm/integrations/redis/index.js +219 -0
  603. package/build/esm/integrations/redis/index.js.map +1 -0
  604. package/build/esm/integrations/redis/ioredis-channel-subscriber.js +88 -0
  605. package/build/esm/integrations/redis/ioredis-channel-subscriber.js.map +1 -0
  606. package/build/esm/integrations/redis/redis-cache.js +133 -0
  607. package/build/esm/integrations/redis/redis-cache.js.map +1 -0
  608. package/build/esm/integrations/redis/redis-dc-subscriber.js +100 -0
  609. package/build/esm/integrations/redis/redis-dc-subscriber.js.map +1 -0
  610. package/build/esm/integrations/redis/redis-span-name.js +30 -0
  611. package/build/esm/integrations/redis/redis-span-name.js.map +1 -0
  612. package/build/esm/integrations/redis/redis-statement-serializer.js.map +1 -0
  613. package/build/esm/integrations/tedious.js +155 -0
  614. package/build/esm/integrations/tedious.js.map +1 -0
  615. package/build/esm/integrations/together-ai.js +17 -0
  616. package/build/esm/integrations/together-ai.js.map +1 -0
  617. package/build/esm/integrations/vercel-ai/gen-ai-recording-mode.js +10 -0
  618. package/build/esm/integrations/vercel-ai/gen-ai-recording-mode.js.map +1 -0
  619. package/build/esm/integrations/vercel-ai/index.js +30 -0
  620. package/build/esm/integrations/vercel-ai/index.js.map +1 -0
  621. package/build/esm/integrations/vercel-ai/util.js +103 -0
  622. package/build/esm/integrations/vercel-ai/util.js.map +1 -0
  623. package/build/esm/integrations/vercel-ai/vercel-ai-dc-subscriber.js +474 -0
  624. package/build/esm/integrations/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -0
  625. package/build/esm/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js +398 -0
  626. package/build/esm/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -0
  627. package/build/esm/opentelemetry.js +42 -0
  628. package/build/esm/opentelemetry.js.map +1 -0
  629. package/build/esm/orchestrion/bundler/bun.js +35 -0
  630. package/build/esm/orchestrion/bundler/bun.js.map +1 -0
  631. package/build/esm/orchestrion/bundler/esbuild.js +20 -0
  632. package/build/esm/orchestrion/bundler/esbuild.js.map +1 -1
  633. package/build/esm/orchestrion/bundler/moduleInjectedTransform.js +52 -0
  634. package/build/esm/orchestrion/bundler/moduleInjectedTransform.js.map +1 -0
  635. package/build/esm/orchestrion/bundler/options.js +7 -21
  636. package/build/esm/orchestrion/bundler/options.js.map +1 -1
  637. package/build/esm/orchestrion/bundler/resolve.js +22 -0
  638. package/build/esm/orchestrion/bundler/resolve.js.map +1 -0
  639. package/build/esm/orchestrion/bundler/rollup.js +41 -2
  640. package/build/esm/orchestrion/bundler/rollup.js.map +1 -1
  641. package/build/esm/orchestrion/bundler/vite.js +67 -4
  642. package/build/esm/orchestrion/bundler/vite.js.map +1 -1
  643. package/build/esm/orchestrion/bundler/webpack-loader.js +16 -2
  644. package/build/esm/orchestrion/bundler/webpack-loader.js.map +1 -1
  645. package/build/esm/orchestrion/bundler/webpack.js +34 -27
  646. package/build/esm/orchestrion/bundler/webpack.js.map +1 -1
  647. package/build/esm/orchestrion/channels.js +8 -0
  648. package/build/esm/orchestrion/channels.js.map +1 -1
  649. package/build/esm/orchestrion/config/amqplib.js +3 -3
  650. package/build/esm/orchestrion/config/amqplib.js.map +1 -1
  651. package/build/esm/orchestrion/config/anthropic-ai.js +8 -16
  652. package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -1
  653. package/build/esm/orchestrion/config/aws-sdk.js +3 -3
  654. package/build/esm/orchestrion/config/aws-sdk.js.map +1 -1
  655. package/build/esm/orchestrion/config/channel-integration-definitions.js +40 -18
  656. package/build/esm/orchestrion/config/channel-integration-definitions.js.map +1 -1
  657. package/build/esm/orchestrion/config/dataloader.js +1 -4
  658. package/build/esm/orchestrion/config/dataloader.js.map +1 -1
  659. package/build/esm/orchestrion/config/express.js +4 -4
  660. package/build/esm/orchestrion/config/express.js.map +1 -1
  661. package/build/esm/orchestrion/config/firebase.js +3 -3
  662. package/build/esm/orchestrion/config/firebase.js.map +1 -1
  663. package/build/esm/orchestrion/config/flue.js +8 -0
  664. package/build/esm/orchestrion/config/flue.js.map +1 -0
  665. package/build/esm/orchestrion/config/generic-pool.js +3 -3
  666. package/build/esm/orchestrion/config/generic-pool.js.map +1 -1
  667. package/build/esm/orchestrion/config/google-genai.js +8 -7
  668. package/build/esm/orchestrion/config/google-genai.js.map +1 -1
  669. package/build/esm/orchestrion/config/graphql.js +12 -12
  670. package/build/esm/orchestrion/config/graphql.js.map +1 -1
  671. package/build/esm/orchestrion/config/groq.js +15 -0
  672. package/build/esm/orchestrion/config/groq.js.map +1 -0
  673. package/build/esm/orchestrion/config/hapi.js +22 -4
  674. package/build/esm/orchestrion/config/hapi.js.map +1 -1
  675. package/build/esm/orchestrion/config/index.js +48 -61
  676. package/build/esm/orchestrion/config/index.js.map +1 -1
  677. package/build/esm/orchestrion/config/ioredis.js +5 -3
  678. package/build/esm/orchestrion/config/ioredis.js.map +1 -1
  679. package/build/esm/orchestrion/config/kafkajs.js +3 -3
  680. package/build/esm/orchestrion/config/kafkajs.js.map +1 -1
  681. package/build/esm/orchestrion/config/knex.js +1 -4
  682. package/build/esm/orchestrion/config/knex.js.map +1 -1
  683. package/build/esm/orchestrion/config/koa.js +16 -4
  684. package/build/esm/orchestrion/config/koa.js.map +1 -1
  685. package/build/esm/orchestrion/config/langchain.js +3 -3
  686. package/build/esm/orchestrion/config/langchain.js.map +1 -1
  687. package/build/esm/orchestrion/config/langgraph.js +3 -3
  688. package/build/esm/orchestrion/config/langgraph.js.map +1 -1
  689. package/build/esm/orchestrion/config/lru-memoizer.js +3 -3
  690. package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -1
  691. package/build/esm/orchestrion/config/mastra.js +34 -0
  692. package/build/esm/orchestrion/config/mastra.js.map +1 -0
  693. package/build/esm/orchestrion/config/mistral.js +53 -0
  694. package/build/esm/orchestrion/config/mistral.js.map +1 -0
  695. package/build/esm/orchestrion/config/module-names.js +6 -0
  696. package/build/esm/orchestrion/config/module-names.js.map +1 -0
  697. package/build/esm/orchestrion/config/mongodb.js +3 -3
  698. package/build/esm/orchestrion/config/mongodb.js.map +1 -1
  699. package/build/esm/orchestrion/config/mongoose.js +5 -3
  700. package/build/esm/orchestrion/config/mongoose.js.map +1 -1
  701. package/build/esm/orchestrion/config/mysql.js +3 -3
  702. package/build/esm/orchestrion/config/mysql.js.map +1 -1
  703. package/build/esm/orchestrion/config/mysql2.js +5 -3
  704. package/build/esm/orchestrion/config/mysql2.js.map +1 -1
  705. package/build/esm/orchestrion/config/nestjs.js +5 -8
  706. package/build/esm/orchestrion/config/nestjs.js.map +1 -1
  707. package/build/esm/orchestrion/config/openai-compatible.js +17 -0
  708. package/build/esm/orchestrion/config/openai-compatible.js.map +1 -0
  709. package/build/esm/orchestrion/config/openai.js +3 -3
  710. package/build/esm/orchestrion/config/openai.js.map +1 -1
  711. package/build/esm/orchestrion/config/pg.js +3 -3
  712. package/build/esm/orchestrion/config/pg.js.map +1 -1
  713. package/build/esm/orchestrion/config/postgres.js +3 -3
  714. package/build/esm/orchestrion/config/postgres.js.map +1 -1
  715. package/build/esm/orchestrion/config/redis.js +5 -3
  716. package/build/esm/orchestrion/config/redis.js.map +1 -1
  717. package/build/esm/orchestrion/config/registration-only.js +12 -0
  718. package/build/esm/orchestrion/config/registration-only.js.map +1 -0
  719. package/build/esm/orchestrion/config/remix.js +1 -4
  720. package/build/esm/orchestrion/config/remix.js.map +1 -1
  721. package/build/esm/orchestrion/config/tedious.js +3 -3
  722. package/build/esm/orchestrion/config/tedious.js.map +1 -1
  723. package/build/esm/orchestrion/config/together-ai.js +15 -0
  724. package/build/esm/orchestrion/config/together-ai.js.map +1 -0
  725. package/build/esm/orchestrion/config/vercel-ai.js +7 -3
  726. package/build/esm/orchestrion/config/vercel-ai.js.map +1 -1
  727. package/build/esm/orchestrion/detect.js +7 -4
  728. package/build/esm/orchestrion/detect.js.map +1 -1
  729. package/build/esm/orchestrion/instrumentation.js +71 -0
  730. package/build/esm/orchestrion/instrumentation.js.map +1 -0
  731. package/build/esm/package.json +1 -1
  732. package/build/esm/tracing-channel.js +20 -3
  733. package/build/esm/tracing-channel.js.map +1 -1
  734. package/build/esm/utils/moduleInjected.js +16 -0
  735. package/build/esm/utils/moduleInjected.js.map +1 -0
  736. package/build/esm/utils/setHttpServerSpanRouteAttribute.js +24 -0
  737. package/build/esm/utils/setHttpServerSpanRouteAttribute.js.map +1 -0
  738. package/build/esm/utils/sql.js +231 -0
  739. package/build/esm/utils/sql.js.map +1 -0
  740. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/matcher.js +5 -2
  741. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/matcher.js.map +1 -1
  742. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js +6 -4
  743. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js.map +1 -1
  744. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transforms.js +51 -15
  745. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transforms.js.map +1 -1
  746. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js +63 -0
  747. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js.map +1 -0
  748. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js +2 -2
  749. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js.map +1 -1
  750. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js +23 -1
  751. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -1
  752. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js +116 -0
  753. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js.map +1 -0
  754. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js +34 -5
  755. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -1
  756. package/build/esm/vendored/module-details-from-path/index.js +2 -2
  757. package/build/types/ai/anthropic-ai/constants.d.ts +17 -0
  758. package/build/types/ai/anthropic-ai/constants.d.ts.map +1 -0
  759. package/build/types/ai/anthropic-ai/index.d.ts +26 -0
  760. package/build/types/ai/anthropic-ai/index.d.ts.map +1 -0
  761. package/build/types/ai/anthropic-ai/streaming.d.ts +15 -0
  762. package/build/types/ai/anthropic-ai/streaming.d.ts.map +1 -0
  763. package/build/types/ai/anthropic-ai/types.d.ts +89 -0
  764. package/build/types/ai/anthropic-ai/types.d.ts.map +1 -0
  765. package/build/types/ai/anthropic-ai/utils.d.ts +21 -0
  766. package/build/types/ai/anthropic-ai/utils.d.ts.map +1 -0
  767. package/build/types/ai/core/gen-ai-attributes.d.ts +32 -0
  768. package/build/types/ai/core/gen-ai-attributes.d.ts.map +1 -0
  769. package/build/types/ai/core/utils.d.ts +120 -0
  770. package/build/types/ai/core/utils.d.ts.map +1 -0
  771. package/build/types/ai/flue/constants.d.ts +37 -0
  772. package/build/types/ai/flue/constants.d.ts.map +1 -0
  773. package/build/types/ai/flue/index.d.ts +18 -0
  774. package/build/types/ai/flue/index.d.ts.map +1 -0
  775. package/build/types/ai/flue/types.d.ts +118 -0
  776. package/build/types/ai/flue/types.d.ts.map +1 -0
  777. package/build/types/ai/flue/utils.d.ts +38 -0
  778. package/build/types/ai/flue/utils.d.ts.map +1 -0
  779. package/build/types/ai/google-genai/constants.d.ts +25 -0
  780. package/build/types/ai/google-genai/constants.d.ts.map +1 -0
  781. package/build/types/ai/google-genai/index.d.ts +61 -0
  782. package/build/types/ai/google-genai/index.d.ts.map +1 -0
  783. package/build/types/ai/google-genai/streaming.d.ts +9 -0
  784. package/build/types/ai/google-genai/streaming.d.ts.map +1 -0
  785. package/build/types/ai/google-genai/types.d.ts +141 -0
  786. package/build/types/ai/google-genai/types.d.ts.map +1 -0
  787. package/build/types/ai/google-genai/utils.d.ts +50 -0
  788. package/build/types/ai/google-genai/utils.d.ts.map +1 -0
  789. package/build/types/ai/index.d.ts +16 -0
  790. package/build/types/ai/index.d.ts.map +1 -0
  791. package/build/types/ai/langchain/constants.d.ts +4 -0
  792. package/build/types/ai/langchain/constants.d.ts.map +1 -0
  793. package/build/types/ai/langchain/embeddings.d.ts +38 -0
  794. package/build/types/ai/langchain/embeddings.d.ts.map +1 -0
  795. package/build/types/ai/langchain/index.d.ts +10 -0
  796. package/build/types/ai/langchain/index.d.ts.map +1 -0
  797. package/build/types/ai/langchain/types.d.ts +136 -0
  798. package/build/types/ai/langchain/types.d.ts.map +1 -0
  799. package/build/types/ai/langchain/utils.d.ts +67 -0
  800. package/build/types/ai/langchain/utils.d.ts.map +1 -0
  801. package/build/types/ai/langgraph/constants.d.ts +3 -0
  802. package/build/types/ai/langgraph/constants.d.ts.map +1 -0
  803. package/build/types/ai/langgraph/index.d.ts +44 -0
  804. package/build/types/ai/langgraph/index.d.ts.map +1 -0
  805. package/build/types/ai/langgraph/types.d.ts +64 -0
  806. package/build/types/ai/langgraph/types.d.ts.map +1 -0
  807. package/build/types/ai/langgraph/utils.d.ts +45 -0
  808. package/build/types/ai/langgraph/utils.d.ts.map +1 -0
  809. package/build/types/ai/mastra/constants.d.ts +32 -0
  810. package/build/types/ai/mastra/constants.d.ts.map +1 -0
  811. package/build/types/ai/mastra/index.d.ts +43 -0
  812. package/build/types/ai/mastra/index.d.ts.map +1 -0
  813. package/build/types/ai/mastra/span-registry.d.ts +5 -0
  814. package/build/types/ai/mastra/span-registry.d.ts.map +1 -0
  815. package/build/types/ai/mastra/types.d.ts +84 -0
  816. package/build/types/ai/mastra/types.d.ts.map +1 -0
  817. package/build/types/ai/mastra/utils.d.ts +23 -0
  818. package/build/types/ai/mastra/utils.d.ts.map +1 -0
  819. package/build/types/ai/mistral/constants.d.ts +30 -0
  820. package/build/types/ai/mistral/constants.d.ts.map +1 -0
  821. package/build/types/ai/mistral/index.d.ts +20 -0
  822. package/build/types/ai/mistral/index.d.ts.map +1 -0
  823. package/build/types/ai/mistral/streaming.d.ts +24 -0
  824. package/build/types/ai/mistral/streaming.d.ts.map +1 -0
  825. package/build/types/ai/mistral/types.d.ts +39 -0
  826. package/build/types/ai/mistral/types.d.ts.map +1 -0
  827. package/build/types/ai/mistral/utils.d.ts +20 -0
  828. package/build/types/ai/mistral/utils.d.ts.map +1 -0
  829. package/build/types/ai/openai/constants.d.ts +18 -0
  830. package/build/types/ai/openai/constants.d.ts.map +1 -0
  831. package/build/types/ai/openai/index.d.ts +13 -0
  832. package/build/types/ai/openai/index.d.ts.map +1 -0
  833. package/build/types/ai/openai/streaming.d.ts +13 -0
  834. package/build/types/ai/openai/streaming.d.ts.map +1 -0
  835. package/build/types/ai/openai/types.d.ts +217 -0
  836. package/build/types/ai/openai/types.d.ts.map +1 -0
  837. package/build/types/ai/openai/utils.d.ts +20 -0
  838. package/build/types/ai/openai/utils.d.ts.map +1 -0
  839. package/build/types/ai/vercel-ai/index.d.ts +15 -0
  840. package/build/types/ai/vercel-ai/index.d.ts.map +1 -0
  841. package/build/types/ai/vercel-ai/vercel-ai-attributes.d.ts +239 -0
  842. package/build/types/ai/vercel-ai/vercel-ai-attributes.d.ts.map +1 -0
  843. package/build/types/ai/workers-ai/constants.d.ts +16 -0
  844. package/build/types/ai/workers-ai/constants.d.ts.map +1 -0
  845. package/build/types/ai/workers-ai/index.d.ts +18 -0
  846. package/build/types/ai/workers-ai/index.d.ts.map +1 -0
  847. package/build/types/ai/workers-ai/streaming.d.ts +9 -0
  848. package/build/types/ai/workers-ai/streaming.d.ts.map +1 -0
  849. package/build/types/ai/workers-ai/types.d.ts +41 -0
  850. package/build/types/ai/workers-ai/types.d.ts.map +1 -0
  851. package/build/types/ai/workers-ai/utils.d.ts +24 -0
  852. package/build/types/ai/workers-ai/utils.d.ts.map +1 -0
  853. package/build/types/async-context.d.ts +15 -0
  854. package/build/types/async-context.d.ts.map +1 -0
  855. package/build/types/eve.d.ts +53 -0
  856. package/build/types/eve.d.ts.map +1 -0
  857. package/build/types/exports.d.ts +9 -0
  858. package/build/types/exports.d.ts.map +1 -0
  859. package/build/types/index.d.ts +51 -19
  860. package/build/types/index.d.ts.map +1 -1
  861. package/build/types/index.no-diagnostic-channels.d.ts +2 -0
  862. package/build/types/index.no-diagnostic-channels.d.ts.map +1 -0
  863. package/build/types/integrations/amqplib.d.ts +20 -0
  864. package/build/types/integrations/amqplib.d.ts.map +1 -0
  865. package/build/types/integrations/anthropic.d.ts +9 -0
  866. package/build/types/integrations/anthropic.d.ts.map +1 -0
  867. package/build/types/integrations/aws-sdk/aws-sdk.types.d.ts.map +1 -0
  868. package/build/types/integrations/aws-sdk/constants.d.ts +15 -0
  869. package/build/types/integrations/aws-sdk/constants.d.ts.map +1 -0
  870. package/build/types/integrations/aws-sdk/index.d.ts +12 -0
  871. package/build/types/integrations/aws-sdk/index.d.ts.map +1 -0
  872. package/build/types/integrations/aws-sdk/services/MessageAttributes.d.ts.map +1 -0
  873. package/build/types/integrations/aws-sdk/services/ServiceExtension.d.ts.map +1 -0
  874. package/build/types/integrations/aws-sdk/services/ServicesExtensions.d.ts.map +1 -0
  875. package/build/types/integrations/aws-sdk/services/bedrock-runtime.d.ts.map +1 -0
  876. package/build/types/integrations/aws-sdk/services/dynamodb.d.ts.map +1 -0
  877. package/build/types/integrations/aws-sdk/services/index.d.ts.map +1 -0
  878. package/build/types/integrations/aws-sdk/services/kinesis.d.ts.map +1 -0
  879. package/build/types/integrations/aws-sdk/services/lambda.d.ts.map +1 -0
  880. package/build/types/integrations/aws-sdk/services/s3.d.ts.map +1 -0
  881. package/build/types/integrations/aws-sdk/services/secretsmanager.d.ts.map +1 -0
  882. package/build/types/integrations/aws-sdk/services/sns.d.ts.map +1 -0
  883. package/build/types/integrations/aws-sdk/services/sqs.d.ts.map +1 -0
  884. package/build/types/integrations/aws-sdk/services/stepfunctions.d.ts.map +1 -0
  885. package/build/types/integrations/aws-sdk/types.d.ts +24 -0
  886. package/build/types/integrations/aws-sdk/types.d.ts.map +1 -0
  887. package/build/types/integrations/aws-sdk/utils.d.ts.map +1 -0
  888. package/build/types/integrations/dataloader.d.ts +11 -0
  889. package/build/types/integrations/dataloader.d.ts.map +1 -0
  890. package/build/types/integrations/express/error-handled.d.ts +10 -0
  891. package/build/types/integrations/express/error-handled.d.ts.map +1 -0
  892. package/build/types/integrations/express/error-handler.d.ts +25 -0
  893. package/build/types/integrations/express/error-handler.d.ts.map +1 -0
  894. package/build/types/integrations/express/index.d.ts +17 -0
  895. package/build/types/integrations/express/index.d.ts.map +1 -0
  896. package/build/types/integrations/express/instrumentation.d.ts +23 -0
  897. package/build/types/integrations/express/instrumentation.d.ts.map +1 -0
  898. package/build/types/integrations/express/route.d.ts.map +1 -0
  899. package/build/types/integrations/express/types.d.ts +107 -0
  900. package/build/types/integrations/express/types.d.ts.map +1 -0
  901. package/build/types/integrations/express/utils.d.ts +8 -0
  902. package/build/types/integrations/express/utils.d.ts.map +1 -0
  903. package/build/types/integrations/fastify/errors.d.ts +17 -0
  904. package/build/types/integrations/fastify/errors.d.ts.map +1 -0
  905. package/build/types/integrations/fastify/index.d.ts +57 -0
  906. package/build/types/integrations/fastify/index.d.ts.map +1 -0
  907. package/build/types/integrations/fastify/instrumentation.d.ts +6 -0
  908. package/build/types/integrations/fastify/instrumentation.d.ts.map +1 -0
  909. package/build/types/integrations/fastify/types.d.ts +31 -0
  910. package/build/types/integrations/fastify/types.d.ts.map +1 -0
  911. package/build/types/integrations/fastify/utils.d.ts +9 -0
  912. package/build/types/integrations/fastify/utils.d.ts.map +1 -0
  913. package/build/types/integrations/firebase/firestore-types.d.ts.map +1 -0
  914. package/build/types/integrations/firebase/firestore.d.ts +17 -0
  915. package/build/types/integrations/firebase/firestore.d.ts.map +1 -0
  916. package/build/types/integrations/firebase/functions.d.ts.map +1 -0
  917. package/build/types/integrations/firebase/index.d.ts +12 -0
  918. package/build/types/integrations/firebase/index.d.ts.map +1 -0
  919. package/build/types/integrations/firebase/instrumentation.d.ts.map +1 -0
  920. package/build/types/integrations/flue.d.ts +4 -0
  921. package/build/types/integrations/flue.d.ts.map +1 -0
  922. package/build/types/integrations/generic-pool.d.ts +10 -0
  923. package/build/types/integrations/generic-pool.d.ts.map +1 -0
  924. package/build/types/integrations/google-genai.d.ts +11 -0
  925. package/build/types/integrations/google-genai.d.ts.map +1 -0
  926. package/build/types/integrations/graphql/constants.d.ts +18 -0
  927. package/build/types/integrations/graphql/constants.d.ts.map +1 -0
  928. package/build/types/integrations/graphql/graphql-dc-subscriber.d.ts +98 -0
  929. package/build/types/integrations/graphql/graphql-dc-subscriber.d.ts.map +1 -0
  930. package/build/types/integrations/graphql/graphql-types.d.ts.map +1 -0
  931. package/build/types/integrations/graphql/index.d.ts +9 -0
  932. package/build/types/integrations/graphql/index.d.ts.map +1 -0
  933. package/build/types/integrations/graphql/resolvers.d.ts.map +1 -0
  934. package/build/types/integrations/graphql/spans.d.ts.map +1 -0
  935. package/build/types/integrations/graphql/types.d.ts +41 -0
  936. package/build/types/integrations/graphql/types.d.ts.map +1 -0
  937. package/build/types/integrations/graphql/utils.d.ts +19 -0
  938. package/build/types/integrations/graphql/utils.d.ts.map +1 -0
  939. package/build/types/integrations/groq.d.ts +10 -0
  940. package/build/types/integrations/groq.d.ts.map +1 -0
  941. package/build/types/integrations/hapi/hapi-error-handler.d.ts +21 -0
  942. package/build/types/integrations/hapi/hapi-error-handler.d.ts.map +1 -0
  943. package/build/types/integrations/hapi/hapi-types.d.ts +99 -0
  944. package/build/types/integrations/hapi/hapi-types.d.ts.map +1 -0
  945. package/build/types/integrations/hapi/hapi-utils.d.ts +34 -0
  946. package/build/types/integrations/hapi/hapi-utils.d.ts.map +1 -0
  947. package/build/types/integrations/hapi/index.d.ts +35 -0
  948. package/build/types/integrations/hapi/index.d.ts.map +1 -0
  949. package/build/types/integrations/index.d.ts +6 -0
  950. package/build/types/integrations/index.d.ts.map +1 -0
  951. package/build/types/integrations/kafkajs/consumer.d.ts.map +1 -0
  952. package/build/types/integrations/kafkajs/index.d.ts +16 -0
  953. package/build/types/integrations/kafkajs/index.d.ts.map +1 -0
  954. package/build/types/integrations/kafkajs/semconv.d.ts +10 -0
  955. package/build/types/integrations/kafkajs/semconv.d.ts.map +1 -0
  956. package/build/types/integrations/kafkajs/spans.d.ts +38 -0
  957. package/build/types/integrations/kafkajs/spans.d.ts.map +1 -0
  958. package/build/types/integrations/kafkajs/types.d.ts.map +1 -0
  959. package/build/types/integrations/knex.d.ts +11 -0
  960. package/build/types/integrations/knex.d.ts.map +1 -0
  961. package/build/types/integrations/koa/index.d.ts +14 -0
  962. package/build/types/integrations/koa/index.d.ts.map +1 -0
  963. package/build/types/integrations/koa/koa-error-handler.d.ts +33 -0
  964. package/build/types/integrations/koa/koa-error-handler.d.ts.map +1 -0
  965. package/build/types/integrations/langchain.d.ts +9 -0
  966. package/build/types/integrations/langchain.d.ts.map +1 -0
  967. package/build/types/integrations/langgraph.d.ts +9 -0
  968. package/build/types/integrations/langgraph.d.ts.map +1 -0
  969. package/build/types/integrations/lru-memoizer.d.ts +10 -0
  970. package/build/types/integrations/lru-memoizer.d.ts.map +1 -0
  971. package/build/types/integrations/mastra.d.ts +18 -0
  972. package/build/types/integrations/mastra.d.ts.map +1 -0
  973. package/build/types/integrations/mistral.d.ts +7 -0
  974. package/build/types/integrations/mistral.d.ts.map +1 -0
  975. package/build/types/integrations/mongodb/index.d.ts +12 -0
  976. package/build/types/integrations/mongodb/index.d.ts.map +1 -0
  977. package/build/types/integrations/mongodb/mongodb-span.d.ts +65 -0
  978. package/build/types/integrations/mongodb/mongodb-span.d.ts.map +1 -0
  979. package/build/types/integrations/mongoose/index.d.ts +15 -0
  980. package/build/types/integrations/mongoose/index.d.ts.map +1 -0
  981. package/build/types/integrations/mongoose/mongoose-dc-subscriber.d.ts.map +1 -0
  982. package/build/types/integrations/mongoose/mongoose-legacy-span.d.ts +30 -0
  983. package/build/types/integrations/mongoose/mongoose-legacy-span.d.ts.map +1 -0
  984. package/build/types/integrations/mysql.d.ts +12 -0
  985. package/build/types/integrations/mysql.d.ts.map +1 -0
  986. package/build/types/integrations/mysql2/index.d.ts +17 -0
  987. package/build/types/integrations/mysql2/index.d.ts.map +1 -0
  988. package/build/types/integrations/mysql2/mysql2-dc-subscriber.d.ts.map +1 -0
  989. package/build/types/integrations/openai-compatible.d.ts +32 -0
  990. package/build/types/integrations/openai-compatible.d.ts.map +1 -0
  991. package/build/types/integrations/openai.d.ts +9 -0
  992. package/build/types/integrations/openai.d.ts.map +1 -0
  993. package/build/types/integrations/postgres-js.d.ts +27 -0
  994. package/build/types/integrations/postgres-js.d.ts.map +1 -0
  995. package/build/types/integrations/postgres.d.ts +15 -0
  996. package/build/types/integrations/postgres.d.ts.map +1 -0
  997. package/build/types/integrations/postgresjs.d.ts +75 -0
  998. package/build/types/integrations/postgresjs.d.ts.map +1 -0
  999. package/build/types/integrations/prisma/global.d.ts.map +1 -0
  1000. package/build/types/integrations/prisma/index.d.ts +41 -0
  1001. package/build/types/integrations/prisma/index.d.ts.map +1 -0
  1002. package/build/types/integrations/prisma/tracing-helper.d.ts.map +1 -0
  1003. package/build/types/integrations/prisma/types.d.ts +37 -0
  1004. package/build/types/integrations/prisma/types.d.ts.map +1 -0
  1005. package/build/types/integrations/redis/index.d.ts +25 -0
  1006. package/build/types/integrations/redis/index.d.ts.map +1 -0
  1007. package/build/types/integrations/redis/ioredis-channel-subscriber.d.ts +30 -0
  1008. package/build/types/integrations/redis/ioredis-channel-subscriber.d.ts.map +1 -0
  1009. package/build/types/integrations/redis/redis-cache.d.ts +61 -0
  1010. package/build/types/integrations/redis/redis-cache.d.ts.map +1 -0
  1011. package/build/types/integrations/redis/redis-dc-subscriber.d.ts +81 -0
  1012. package/build/types/integrations/redis/redis-dc-subscriber.d.ts.map +1 -0
  1013. package/build/types/integrations/redis/redis-span-name.d.ts +24 -0
  1014. package/build/types/integrations/redis/redis-span-name.d.ts.map +1 -0
  1015. package/build/types/integrations/redis/redis-statement-serializer.d.ts.map +1 -0
  1016. package/build/types/integrations/tedious.d.ts +11 -0
  1017. package/build/types/integrations/tedious.d.ts.map +1 -0
  1018. package/build/types/integrations/together-ai.d.ts +9 -0
  1019. package/build/types/integrations/together-ai.d.ts.map +1 -0
  1020. package/build/types/integrations/vercel-ai/gen-ai-recording-mode.d.ts +15 -0
  1021. package/build/types/integrations/vercel-ai/gen-ai-recording-mode.d.ts.map +1 -0
  1022. package/build/types/integrations/vercel-ai/index.d.ts +12 -0
  1023. package/build/types/integrations/vercel-ai/index.d.ts.map +1 -0
  1024. package/build/types/integrations/vercel-ai/util.d.ts +30 -0
  1025. package/build/types/integrations/vercel-ai/util.d.ts.map +1 -0
  1026. package/build/types/integrations/vercel-ai/vercel-ai-dc-subscriber.d.ts +69 -0
  1027. package/build/types/integrations/vercel-ai/vercel-ai-dc-subscriber.d.ts.map +1 -0
  1028. package/build/types/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts.map +1 -0
  1029. package/build/types/opentelemetry.d.ts +49 -0
  1030. package/build/types/opentelemetry.d.ts.map +1 -0
  1031. package/build/types/orchestrion/apmTypes.d.ts +4 -0
  1032. package/build/types/orchestrion/apmTypes.d.ts.map +1 -1
  1033. package/build/types/orchestrion/bundler/bun.d.ts +21 -0
  1034. package/build/types/orchestrion/bundler/bun.d.ts.map +1 -0
  1035. package/build/types/orchestrion/bundler/esbuild.d.ts +1 -0
  1036. package/build/types/orchestrion/bundler/esbuild.d.ts.map +1 -1
  1037. package/build/types/orchestrion/bundler/moduleInjectedTransform.d.ts +31 -0
  1038. package/build/types/orchestrion/bundler/moduleInjectedTransform.d.ts.map +1 -0
  1039. package/build/types/orchestrion/bundler/options.d.ts +36 -31
  1040. package/build/types/orchestrion/bundler/options.d.ts.map +1 -1
  1041. package/build/types/orchestrion/bundler/resolve.d.ts +35 -0
  1042. package/build/types/orchestrion/bundler/resolve.d.ts.map +1 -0
  1043. package/build/types/orchestrion/bundler/rollup.d.ts +1 -0
  1044. package/build/types/orchestrion/bundler/rollup.d.ts.map +1 -1
  1045. package/build/types/orchestrion/bundler/vite.d.ts +1 -0
  1046. package/build/types/orchestrion/bundler/vite.d.ts.map +1 -1
  1047. package/build/types/orchestrion/bundler/webpack-loader.d.ts +26 -1
  1048. package/build/types/orchestrion/bundler/webpack-loader.d.ts.map +1 -1
  1049. package/build/types/orchestrion/bundler/webpack.d.ts +3 -18
  1050. package/build/types/orchestrion/bundler/webpack.d.ts.map +1 -1
  1051. package/build/types/orchestrion/channels.d.ts +138 -125
  1052. package/build/types/orchestrion/channels.d.ts.map +1 -1
  1053. package/build/types/orchestrion/config/amqplib.d.ts +21 -22
  1054. package/build/types/orchestrion/config/amqplib.d.ts.map +1 -1
  1055. package/build/types/orchestrion/config/anthropic-ai.d.ts +5 -7
  1056. package/build/types/orchestrion/config/anthropic-ai.d.ts.map +1 -1
  1057. package/build/types/orchestrion/config/aws-sdk.d.ts +4 -5
  1058. package/build/types/orchestrion/config/aws-sdk.d.ts.map +1 -1
  1059. package/build/types/orchestrion/config/channel-integration-definitions.d.ts +68 -35
  1060. package/build/types/orchestrion/config/channel-integration-definitions.d.ts.map +1 -1
  1061. package/build/types/orchestrion/config/dataloader.d.ts +17 -19
  1062. package/build/types/orchestrion/config/dataloader.d.ts.map +1 -1
  1063. package/build/types/orchestrion/config/express.d.ts +5 -6
  1064. package/build/types/orchestrion/config/express.d.ts.map +1 -1
  1065. package/build/types/orchestrion/config/firebase.d.ts +23 -24
  1066. package/build/types/orchestrion/config/firebase.d.ts.map +1 -1
  1067. package/build/types/orchestrion/config/flue.d.ts +9 -0
  1068. package/build/types/orchestrion/config/flue.d.ts.map +1 -0
  1069. package/build/types/orchestrion/config/generic-pool.d.ts +4 -5
  1070. package/build/types/orchestrion/config/generic-pool.d.ts.map +1 -1
  1071. package/build/types/orchestrion/config/google-genai.d.ts +6 -7
  1072. package/build/types/orchestrion/config/google-genai.d.ts.map +1 -1
  1073. package/build/types/orchestrion/config/graphql.d.ts +6 -7
  1074. package/build/types/orchestrion/config/graphql.d.ts.map +1 -1
  1075. package/build/types/orchestrion/config/groq.d.ts +8 -0
  1076. package/build/types/orchestrion/config/groq.d.ts.map +1 -0
  1077. package/build/types/orchestrion/config/hapi.d.ts +5 -4
  1078. package/build/types/orchestrion/config/hapi.d.ts.map +1 -1
  1079. package/build/types/orchestrion/config/index.d.ts +47 -10
  1080. package/build/types/orchestrion/config/index.d.ts.map +1 -1
  1081. package/build/types/orchestrion/config/ioredis.d.ts +4 -4
  1082. package/build/types/orchestrion/config/ioredis.d.ts.map +1 -1
  1083. package/build/types/orchestrion/config/kafkajs.d.ts +3 -4
  1084. package/build/types/orchestrion/config/kafkajs.d.ts.map +1 -1
  1085. package/build/types/orchestrion/config/knex.d.ts +5 -6
  1086. package/build/types/orchestrion/config/knex.d.ts.map +1 -1
  1087. package/build/types/orchestrion/config/koa.d.ts +3 -3
  1088. package/build/types/orchestrion/config/koa.d.ts.map +1 -1
  1089. package/build/types/orchestrion/config/langchain.d.ts +4 -5
  1090. package/build/types/orchestrion/config/langchain.d.ts.map +1 -1
  1091. package/build/types/orchestrion/config/langgraph.d.ts +5 -6
  1092. package/build/types/orchestrion/config/langgraph.d.ts.map +1 -1
  1093. package/build/types/orchestrion/config/lru-memoizer.d.ts +2 -3
  1094. package/build/types/orchestrion/config/lru-memoizer.d.ts.map +1 -1
  1095. package/build/types/orchestrion/config/mastra.d.ts +8 -0
  1096. package/build/types/orchestrion/config/mastra.d.ts.map +1 -0
  1097. package/build/types/orchestrion/config/mistral.d.ts +46 -0
  1098. package/build/types/orchestrion/config/mistral.d.ts.map +1 -0
  1099. package/build/types/orchestrion/config/module-names.d.ts +8 -0
  1100. package/build/types/orchestrion/config/module-names.d.ts.map +1 -0
  1101. package/build/types/orchestrion/config/mongodb.d.ts +21 -22
  1102. package/build/types/orchestrion/config/mongodb.d.ts.map +1 -1
  1103. package/build/types/orchestrion/config/mongoose.d.ts +10 -32
  1104. package/build/types/orchestrion/config/mongoose.d.ts.map +1 -1
  1105. package/build/types/orchestrion/config/mysql.d.ts +2 -3
  1106. package/build/types/orchestrion/config/mysql.d.ts.map +1 -1
  1107. package/build/types/orchestrion/config/mysql2.d.ts +5 -17
  1108. package/build/types/orchestrion/config/mysql2.d.ts.map +1 -1
  1109. package/build/types/orchestrion/config/nestjs.d.ts +10 -11
  1110. package/build/types/orchestrion/config/nestjs.d.ts.map +1 -1
  1111. package/build/types/orchestrion/config/openai-compatible.d.ts +17 -0
  1112. package/build/types/orchestrion/config/openai-compatible.d.ts.map +1 -0
  1113. package/build/types/orchestrion/config/openai.d.ts +4 -5
  1114. package/build/types/orchestrion/config/openai.d.ts.map +1 -1
  1115. package/build/types/orchestrion/config/pg.d.ts +6 -7
  1116. package/build/types/orchestrion/config/pg.d.ts.map +1 -1
  1117. package/build/types/orchestrion/config/postgres.d.ts +6 -6
  1118. package/build/types/orchestrion/config/postgres.d.ts.map +1 -1
  1119. package/build/types/orchestrion/config/redis.d.ts +10 -36
  1120. package/build/types/orchestrion/config/redis.d.ts.map +1 -1
  1121. package/build/types/orchestrion/config/registration-only.d.ts +22 -0
  1122. package/build/types/orchestrion/config/registration-only.d.ts.map +1 -0
  1123. package/build/types/orchestrion/config/remix.d.ts +5 -6
  1124. package/build/types/orchestrion/config/remix.d.ts.map +1 -1
  1125. package/build/types/orchestrion/config/tedious.d.ts +9 -9
  1126. package/build/types/orchestrion/config/tedious.d.ts.map +1 -1
  1127. package/build/types/orchestrion/config/together-ai.d.ts +8 -0
  1128. package/build/types/orchestrion/config/together-ai.d.ts.map +1 -0
  1129. package/build/types/orchestrion/config/vercel-ai.d.ts +9 -9
  1130. package/build/types/orchestrion/config/vercel-ai.d.ts.map +1 -1
  1131. package/build/types/orchestrion/detect.d.ts +12 -9
  1132. package/build/types/orchestrion/detect.d.ts.map +1 -1
  1133. package/build/types/orchestrion/instrumentation.d.ts +37 -0
  1134. package/build/types/orchestrion/instrumentation.d.ts.map +1 -0
  1135. package/build/types/tracing-channel.d.ts +13 -1
  1136. package/build/types/tracing-channel.d.ts.map +1 -1
  1137. package/build/types/utils/moduleInjected.d.ts +30 -0
  1138. package/build/types/utils/moduleInjected.d.ts.map +1 -0
  1139. package/build/types/utils/setHttpServerSpanRouteAttribute.d.ts +9 -0
  1140. package/build/types/utils/setHttpServerSpanRouteAttribute.d.ts.map +1 -0
  1141. package/build/types/utils/sql.d.ts +53 -0
  1142. package/build/types/utils/sql.d.ts.map +1 -0
  1143. package/changes.json +3 -3
  1144. package/package.json +27 -63
  1145. package/build/cjs/_virtual/chunk-D6vf50IK.js +0 -6
  1146. package/build/cjs/_virtual/chunk-D6vf50IK.js.map +0 -1
  1147. package/build/cjs/_virtual/instrumentation-serde-BFky_HG6.js +0 -6
  1148. package/build/cjs/_virtual/instrumentation-serde-BFky_HG6.js.map +0 -1
  1149. package/build/cjs/_virtual/node.js +0 -6
  1150. package/build/cjs/_virtual/node.js.map +0 -1
  1151. package/build/cjs/_virtual/transforms.js +0 -6
  1152. package/build/cjs/_virtual/transforms.js.map +0 -1
  1153. package/build/cjs/graphql/graphql-dc-subscriber.js +0 -123
  1154. package/build/cjs/graphql/graphql-dc-subscriber.js.map +0 -1
  1155. package/build/cjs/graphql/index.js +0 -36
  1156. package/build/cjs/graphql/index.js.map +0 -1
  1157. package/build/cjs/graphql/utils.js +0 -92
  1158. package/build/cjs/graphql/utils.js.map +0 -1
  1159. package/build/cjs/integrations/tracing-channel/amqplib.js +0 -433
  1160. package/build/cjs/integrations/tracing-channel/amqplib.js.map +0 -1
  1161. package/build/cjs/integrations/tracing-channel/anthropic.js +0 -114
  1162. package/build/cjs/integrations/tracing-channel/anthropic.js.map +0 -1
  1163. package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js +0 -16
  1164. package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js.map +0 -1
  1165. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js +0 -167
  1166. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js.map +0 -1
  1167. package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js +0 -46
  1168. package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +0 -1
  1169. package/build/cjs/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +0 -1
  1170. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +0 -419
  1171. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +0 -1
  1172. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js +0 -131
  1173. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +0 -1
  1174. package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js +0 -21
  1175. package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +0 -1
  1176. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js +0 -64
  1177. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js.map +0 -1
  1178. package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js +0 -21
  1179. package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js.map +0 -1
  1180. package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js +0 -27
  1181. package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +0 -1
  1182. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js +0 -63
  1183. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js.map +0 -1
  1184. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js +0 -116
  1185. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js.map +0 -1
  1186. package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js +0 -25
  1187. package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +0 -1
  1188. package/build/cjs/integrations/tracing-channel/aws-sdk/utils.js.map +0 -1
  1189. package/build/cjs/integrations/tracing-channel/dataloader.js +0 -118
  1190. package/build/cjs/integrations/tracing-channel/dataloader.js.map +0 -1
  1191. package/build/cjs/integrations/tracing-channel/express/index.js +0 -41
  1192. package/build/cjs/integrations/tracing-channel/express/index.js.map +0 -1
  1193. package/build/cjs/integrations/tracing-channel/express/instrumentation.js +0 -168
  1194. package/build/cjs/integrations/tracing-channel/express/instrumentation.js.map +0 -1
  1195. package/build/cjs/integrations/tracing-channel/express/route.js.map +0 -1
  1196. package/build/cjs/integrations/tracing-channel/fastify/errors.js +0 -55
  1197. package/build/cjs/integrations/tracing-channel/fastify/errors.js.map +0 -1
  1198. package/build/cjs/integrations/tracing-channel/fastify/index.js +0 -32
  1199. package/build/cjs/integrations/tracing-channel/fastify/index.js.map +0 -1
  1200. package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js +0 -292
  1201. package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js.map +0 -1
  1202. package/build/cjs/integrations/tracing-channel/fastify/utils.js.map +0 -1
  1203. package/build/cjs/integrations/tracing-channel/firebase/firestore.js +0 -91
  1204. package/build/cjs/integrations/tracing-channel/firebase/firestore.js.map +0 -1
  1205. package/build/cjs/integrations/tracing-channel/firebase/functions.js +0 -67
  1206. package/build/cjs/integrations/tracing-channel/firebase/functions.js.map +0 -1
  1207. package/build/cjs/integrations/tracing-channel/firebase/index.js +0 -37
  1208. package/build/cjs/integrations/tracing-channel/firebase/index.js.map +0 -1
  1209. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js +0 -79
  1210. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js.map +0 -1
  1211. package/build/cjs/integrations/tracing-channel/generic-pool.js +0 -47
  1212. package/build/cjs/integrations/tracing-channel/generic-pool.js.map +0 -1
  1213. package/build/cjs/integrations/tracing-channel/google-genai.js +0 -109
  1214. package/build/cjs/integrations/tracing-channel/google-genai.js.map +0 -1
  1215. package/build/cjs/integrations/tracing-channel/graphql/constants.js +0 -26
  1216. package/build/cjs/integrations/tracing-channel/graphql/constants.js.map +0 -1
  1217. package/build/cjs/integrations/tracing-channel/graphql/index.js +0 -79
  1218. package/build/cjs/integrations/tracing-channel/graphql/index.js.map +0 -1
  1219. package/build/cjs/integrations/tracing-channel/graphql/resolvers.js +0 -168
  1220. package/build/cjs/integrations/tracing-channel/graphql/resolvers.js.map +0 -1
  1221. package/build/cjs/integrations/tracing-channel/graphql/spans.js +0 -102
  1222. package/build/cjs/integrations/tracing-channel/graphql/spans.js.map +0 -1
  1223. package/build/cjs/integrations/tracing-channel/hapi-types.js.map +0 -1
  1224. package/build/cjs/integrations/tracing-channel/hapi-utils.js +0 -177
  1225. package/build/cjs/integrations/tracing-channel/hapi-utils.js.map +0 -1
  1226. package/build/cjs/integrations/tracing-channel/hapi.js +0 -65
  1227. package/build/cjs/integrations/tracing-channel/hapi.js.map +0 -1
  1228. package/build/cjs/integrations/tracing-channel/ioredis.js +0 -112
  1229. package/build/cjs/integrations/tracing-channel/ioredis.js.map +0 -1
  1230. package/build/cjs/integrations/tracing-channel/kafkajs/consumer.js.map +0 -1
  1231. package/build/cjs/integrations/tracing-channel/kafkajs/index.js +0 -83
  1232. package/build/cjs/integrations/tracing-channel/kafkajs/index.js.map +0 -1
  1233. package/build/cjs/integrations/tracing-channel/kafkajs/semconv.js.map +0 -1
  1234. package/build/cjs/integrations/tracing-channel/kafkajs/spans.js +0 -119
  1235. package/build/cjs/integrations/tracing-channel/kafkajs/spans.js.map +0 -1
  1236. package/build/cjs/integrations/tracing-channel/knex.js +0 -201
  1237. package/build/cjs/integrations/tracing-channel/knex.js.map +0 -1
  1238. package/build/cjs/integrations/tracing-channel/koa.js +0 -159
  1239. package/build/cjs/integrations/tracing-channel/koa.js.map +0 -1
  1240. package/build/cjs/integrations/tracing-channel/langchain.js +0 -75
  1241. package/build/cjs/integrations/tracing-channel/langchain.js.map +0 -1
  1242. package/build/cjs/integrations/tracing-channel/langgraph.js +0 -113
  1243. package/build/cjs/integrations/tracing-channel/langgraph.js.map +0 -1
  1244. package/build/cjs/integrations/tracing-channel/lru-memoizer.js +0 -44
  1245. package/build/cjs/integrations/tracing-channel/lru-memoizer.js.map +0 -1
  1246. package/build/cjs/integrations/tracing-channel/mongodb.js +0 -117
  1247. package/build/cjs/integrations/tracing-channel/mongodb.js.map +0 -1
  1248. package/build/cjs/integrations/tracing-channel/mongoose.js +0 -123
  1249. package/build/cjs/integrations/tracing-channel/mongoose.js.map +0 -1
  1250. package/build/cjs/integrations/tracing-channel/mysql.js +0 -120
  1251. package/build/cjs/integrations/tracing-channel/mysql.js.map +0 -1
  1252. package/build/cjs/integrations/tracing-channel/mysql2.js +0 -96
  1253. package/build/cjs/integrations/tracing-channel/mysql2.js.map +0 -1
  1254. package/build/cjs/integrations/tracing-channel/openai.js +0 -94
  1255. package/build/cjs/integrations/tracing-channel/openai.js.map +0 -1
  1256. package/build/cjs/integrations/tracing-channel/postgres-js.js +0 -204
  1257. package/build/cjs/integrations/tracing-channel/postgres-js.js.map +0 -1
  1258. package/build/cjs/integrations/tracing-channel/postgres.js +0 -183
  1259. package/build/cjs/integrations/tracing-channel/postgres.js.map +0 -1
  1260. package/build/cjs/integrations/tracing-channel/redis.js +0 -231
  1261. package/build/cjs/integrations/tracing-channel/redis.js.map +0 -1
  1262. package/build/cjs/integrations/tracing-channel/tedious.js +0 -158
  1263. package/build/cjs/integrations/tracing-channel/tedious.js.map +0 -1
  1264. package/build/cjs/integrations/tracing-channel/vercel-ai.js +0 -38
  1265. package/build/cjs/integrations/tracing-channel/vercel-ai.js.map +0 -1
  1266. package/build/cjs/mongodb/mongodb-span.js +0 -133
  1267. package/build/cjs/mongodb/mongodb-span.js.map +0 -1
  1268. package/build/cjs/mongoose/index.js +0 -36
  1269. package/build/cjs/mongoose/index.js.map +0 -1
  1270. package/build/cjs/mongoose/mongoose-dc-subscriber.js +0 -97
  1271. package/build/cjs/mongoose/mongoose-dc-subscriber.js.map +0 -1
  1272. package/build/cjs/mongoose/mongoose-legacy-span.js +0 -40
  1273. package/build/cjs/mongoose/mongoose-legacy-span.js.map +0 -1
  1274. package/build/cjs/mysql2/index.js +0 -36
  1275. package/build/cjs/mysql2/index.js.map +0 -1
  1276. package/build/cjs/mysql2/mysql2-dc-subscriber.js +0 -68
  1277. package/build/cjs/mysql2/mysql2-dc-subscriber.js.map +0 -1
  1278. package/build/cjs/orchestrion/bundler/subscribeInjection.js +0 -41
  1279. package/build/cjs/orchestrion/bundler/subscribeInjection.js.map +0 -1
  1280. package/build/cjs/orchestrion/config/subscribe-injection.js +0 -25
  1281. package/build/cjs/orchestrion/config/subscribe-injection.js.map +0 -1
  1282. package/build/cjs/orchestrion/index.js +0 -94
  1283. package/build/cjs/orchestrion/index.js.map +0 -1
  1284. package/build/cjs/orchestrion/registerChannelIntegration.js +0 -13
  1285. package/build/cjs/orchestrion/registerChannelIntegration.js.map +0 -1
  1286. package/build/cjs/orchestrion/runtime/hook.js +0 -17
  1287. package/build/cjs/orchestrion/runtime/hook.js.map +0 -1
  1288. package/build/cjs/orchestrion/runtime/register.js +0 -84
  1289. package/build/cjs/orchestrion/runtime/register.js.map +0 -1
  1290. package/build/cjs/prisma/global.js.map +0 -1
  1291. package/build/cjs/prisma/index.js.map +0 -1
  1292. package/build/cjs/prisma/tracing-helper.js +0 -211
  1293. package/build/cjs/prisma/tracing-helper.js.map +0 -1
  1294. package/build/cjs/redis/index.js +0 -36
  1295. package/build/cjs/redis/index.js.map +0 -1
  1296. package/build/cjs/redis/redis-dc-subscriber.js +0 -101
  1297. package/build/cjs/redis/redis-dc-subscriber.js.map +0 -1
  1298. package/build/cjs/redis/redis-statement-serializer.js.map +0 -1
  1299. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/chunk-D6vf50IK.js +0 -33
  1300. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/chunk-D6vf50IK.js.map +0 -1
  1301. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/instrumentation-serde-BFky_HG6.js +0 -66
  1302. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/instrumentation-serde-BFky_HG6.js.map +0 -1
  1303. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.js +0 -90
  1304. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.js.map +0 -1
  1305. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/hook.js +0 -166
  1306. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/hook.js.map +0 -1
  1307. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/index.js +0 -88
  1308. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/index.js.map +0 -1
  1309. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js +0 -15
  1310. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js.map +0 -1
  1311. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js +0 -30
  1312. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js.map +0 -1
  1313. package/build/cjs/vendored/debug/src/common.js +0 -178
  1314. package/build/cjs/vendored/debug/src/common.js.map +0 -1
  1315. package/build/cjs/vendored/debug/src/node.js +0 -186
  1316. package/build/cjs/vendored/debug/src/node.js.map +0 -1
  1317. package/build/cjs/vendored/has-flag/index.js +0 -11
  1318. package/build/cjs/vendored/has-flag/index.js.map +0 -1
  1319. package/build/cjs/vendored/ms/index.js +0 -115
  1320. package/build/cjs/vendored/ms/index.js.map +0 -1
  1321. package/build/cjs/vendored/supports-color/index.js +0 -104
  1322. package/build/cjs/vendored/supports-color/index.js.map +0 -1
  1323. package/build/cjs/vercel-ai/index.js +0 -36
  1324. package/build/cjs/vercel-ai/index.js.map +0 -1
  1325. package/build/cjs/vercel-ai/util.js +0 -112
  1326. package/build/cjs/vercel-ai/util.js.map +0 -1
  1327. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js +0 -444
  1328. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js.map +0 -1
  1329. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js +0 -399
  1330. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +0 -1
  1331. package/build/esm/_virtual/chunk-D6vf50IK.js +0 -4
  1332. package/build/esm/_virtual/chunk-D6vf50IK.js.map +0 -1
  1333. package/build/esm/_virtual/instrumentation-serde-BFky_HG6.js +0 -4
  1334. package/build/esm/_virtual/instrumentation-serde-BFky_HG6.js.map +0 -1
  1335. package/build/esm/_virtual/node.js +0 -4
  1336. package/build/esm/_virtual/node.js.map +0 -1
  1337. package/build/esm/_virtual/transforms.js +0 -4
  1338. package/build/esm/_virtual/transforms.js.map +0 -1
  1339. package/build/esm/graphql/graphql-dc-subscriber.js +0 -116
  1340. package/build/esm/graphql/graphql-dc-subscriber.js.map +0 -1
  1341. package/build/esm/graphql/index.js +0 -21
  1342. package/build/esm/graphql/index.js.map +0 -1
  1343. package/build/esm/graphql/utils.js +0 -87
  1344. package/build/esm/graphql/utils.js.map +0 -1
  1345. package/build/esm/integrations/tracing-channel/amqplib.js +0 -418
  1346. package/build/esm/integrations/tracing-channel/amqplib.js.map +0 -1
  1347. package/build/esm/integrations/tracing-channel/anthropic.js +0 -99
  1348. package/build/esm/integrations/tracing-channel/anthropic.js.map +0 -1
  1349. package/build/esm/integrations/tracing-channel/aws-sdk/constants.js +0 -9
  1350. package/build/esm/integrations/tracing-channel/aws-sdk/constants.js.map +0 -1
  1351. package/build/esm/integrations/tracing-channel/aws-sdk/index.js +0 -152
  1352. package/build/esm/integrations/tracing-channel/aws-sdk/index.js.map +0 -1
  1353. package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js +0 -41
  1354. package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +0 -1
  1355. package/build/esm/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +0 -1
  1356. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +0 -417
  1357. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +0 -1
  1358. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js +0 -129
  1359. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +0 -1
  1360. package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js +0 -19
  1361. package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +0 -1
  1362. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js +0 -62
  1363. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js.map +0 -1
  1364. package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js +0 -19
  1365. package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js.map +0 -1
  1366. package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js +0 -25
  1367. package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +0 -1
  1368. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js +0 -61
  1369. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js.map +0 -1
  1370. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js +0 -114
  1371. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js.map +0 -1
  1372. package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js +0 -23
  1373. package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +0 -1
  1374. package/build/esm/integrations/tracing-channel/aws-sdk/utils.js.map +0 -1
  1375. package/build/esm/integrations/tracing-channel/dataloader.js +0 -103
  1376. package/build/esm/integrations/tracing-channel/dataloader.js.map +0 -1
  1377. package/build/esm/integrations/tracing-channel/express/index.js +0 -26
  1378. package/build/esm/integrations/tracing-channel/express/index.js.map +0 -1
  1379. package/build/esm/integrations/tracing-channel/express/instrumentation.js +0 -166
  1380. package/build/esm/integrations/tracing-channel/express/instrumentation.js.map +0 -1
  1381. package/build/esm/integrations/tracing-channel/express/route.js.map +0 -1
  1382. package/build/esm/integrations/tracing-channel/fastify/errors.js +0 -39
  1383. package/build/esm/integrations/tracing-channel/fastify/errors.js.map +0 -1
  1384. package/build/esm/integrations/tracing-channel/fastify/index.js +0 -28
  1385. package/build/esm/integrations/tracing-channel/fastify/index.js.map +0 -1
  1386. package/build/esm/integrations/tracing-channel/fastify/instrumentation.js +0 -277
  1387. package/build/esm/integrations/tracing-channel/fastify/instrumentation.js.map +0 -1
  1388. package/build/esm/integrations/tracing-channel/fastify/utils.js.map +0 -1
  1389. package/build/esm/integrations/tracing-channel/firebase/firestore.js +0 -75
  1390. package/build/esm/integrations/tracing-channel/firebase/firestore.js.map +0 -1
  1391. package/build/esm/integrations/tracing-channel/firebase/functions.js +0 -65
  1392. package/build/esm/integrations/tracing-channel/firebase/functions.js.map +0 -1
  1393. package/build/esm/integrations/tracing-channel/firebase/index.js +0 -22
  1394. package/build/esm/integrations/tracing-channel/firebase/index.js.map +0 -1
  1395. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js +0 -64
  1396. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js.map +0 -1
  1397. package/build/esm/integrations/tracing-channel/generic-pool.js +0 -32
  1398. package/build/esm/integrations/tracing-channel/generic-pool.js.map +0 -1
  1399. package/build/esm/integrations/tracing-channel/google-genai.js +0 -94
  1400. package/build/esm/integrations/tracing-channel/google-genai.js.map +0 -1
  1401. package/build/esm/integrations/tracing-channel/graphql/constants.js +0 -14
  1402. package/build/esm/integrations/tracing-channel/graphql/constants.js.map +0 -1
  1403. package/build/esm/integrations/tracing-channel/graphql/index.js +0 -63
  1404. package/build/esm/integrations/tracing-channel/graphql/index.js.map +0 -1
  1405. package/build/esm/integrations/tracing-channel/graphql/resolvers.js +0 -164
  1406. package/build/esm/integrations/tracing-channel/graphql/resolvers.js.map +0 -1
  1407. package/build/esm/integrations/tracing-channel/graphql/spans.js +0 -96
  1408. package/build/esm/integrations/tracing-channel/graphql/spans.js.map +0 -1
  1409. package/build/esm/integrations/tracing-channel/hapi-types.js.map +0 -1
  1410. package/build/esm/integrations/tracing-channel/hapi-utils.js +0 -172
  1411. package/build/esm/integrations/tracing-channel/hapi-utils.js.map +0 -1
  1412. package/build/esm/integrations/tracing-channel/hapi.js +0 -50
  1413. package/build/esm/integrations/tracing-channel/hapi.js.map +0 -1
  1414. package/build/esm/integrations/tracing-channel/ioredis.js +0 -96
  1415. package/build/esm/integrations/tracing-channel/ioredis.js.map +0 -1
  1416. package/build/esm/integrations/tracing-channel/kafkajs/consumer.js.map +0 -1
  1417. package/build/esm/integrations/tracing-channel/kafkajs/index.js +0 -68
  1418. package/build/esm/integrations/tracing-channel/kafkajs/index.js.map +0 -1
  1419. package/build/esm/integrations/tracing-channel/kafkajs/semconv.js.map +0 -1
  1420. package/build/esm/integrations/tracing-channel/kafkajs/spans.js +0 -112
  1421. package/build/esm/integrations/tracing-channel/kafkajs/spans.js.map +0 -1
  1422. package/build/esm/integrations/tracing-channel/knex.js +0 -186
  1423. package/build/esm/integrations/tracing-channel/knex.js.map +0 -1
  1424. package/build/esm/integrations/tracing-channel/koa.js +0 -144
  1425. package/build/esm/integrations/tracing-channel/koa.js.map +0 -1
  1426. package/build/esm/integrations/tracing-channel/langchain.js +0 -60
  1427. package/build/esm/integrations/tracing-channel/langchain.js.map +0 -1
  1428. package/build/esm/integrations/tracing-channel/langgraph.js +0 -98
  1429. package/build/esm/integrations/tracing-channel/langgraph.js.map +0 -1
  1430. package/build/esm/integrations/tracing-channel/lru-memoizer.js +0 -29
  1431. package/build/esm/integrations/tracing-channel/lru-memoizer.js.map +0 -1
  1432. package/build/esm/integrations/tracing-channel/mongodb.js +0 -102
  1433. package/build/esm/integrations/tracing-channel/mongodb.js.map +0 -1
  1434. package/build/esm/integrations/tracing-channel/mongoose.js +0 -108
  1435. package/build/esm/integrations/tracing-channel/mongoose.js.map +0 -1
  1436. package/build/esm/integrations/tracing-channel/mysql.js +0 -105
  1437. package/build/esm/integrations/tracing-channel/mysql.js.map +0 -1
  1438. package/build/esm/integrations/tracing-channel/mysql2.js +0 -81
  1439. package/build/esm/integrations/tracing-channel/mysql2.js.map +0 -1
  1440. package/build/esm/integrations/tracing-channel/openai.js +0 -79
  1441. package/build/esm/integrations/tracing-channel/openai.js.map +0 -1
  1442. package/build/esm/integrations/tracing-channel/postgres-js.js +0 -189
  1443. package/build/esm/integrations/tracing-channel/postgres-js.js.map +0 -1
  1444. package/build/esm/integrations/tracing-channel/postgres.js +0 -168
  1445. package/build/esm/integrations/tracing-channel/postgres.js.map +0 -1
  1446. package/build/esm/integrations/tracing-channel/redis.js +0 -216
  1447. package/build/esm/integrations/tracing-channel/redis.js.map +0 -1
  1448. package/build/esm/integrations/tracing-channel/tedious.js +0 -143
  1449. package/build/esm/integrations/tracing-channel/tedious.js.map +0 -1
  1450. package/build/esm/integrations/tracing-channel/vercel-ai.js +0 -23
  1451. package/build/esm/integrations/tracing-channel/vercel-ai.js.map +0 -1
  1452. package/build/esm/mongodb/mongodb-span.js +0 -126
  1453. package/build/esm/mongodb/mongodb-span.js.map +0 -1
  1454. package/build/esm/mongoose/index.js +0 -21
  1455. package/build/esm/mongoose/index.js.map +0 -1
  1456. package/build/esm/mongoose/mongoose-dc-subscriber.js +0 -89
  1457. package/build/esm/mongoose/mongoose-dc-subscriber.js.map +0 -1
  1458. package/build/esm/mongoose/mongoose-legacy-span.js +0 -38
  1459. package/build/esm/mongoose/mongoose-legacy-span.js.map +0 -1
  1460. package/build/esm/mysql2/index.js +0 -21
  1461. package/build/esm/mysql2/index.js.map +0 -1
  1462. package/build/esm/mysql2/mysql2-dc-subscriber.js +0 -62
  1463. package/build/esm/mysql2/mysql2-dc-subscriber.js.map +0 -1
  1464. package/build/esm/orchestrion/bundler/subscribeInjection.js +0 -39
  1465. package/build/esm/orchestrion/bundler/subscribeInjection.js.map +0 -1
  1466. package/build/esm/orchestrion/config/subscribe-injection.js +0 -22
  1467. package/build/esm/orchestrion/config/subscribe-injection.js.map +0 -1
  1468. package/build/esm/orchestrion/index.js +0 -61
  1469. package/build/esm/orchestrion/index.js.map +0 -1
  1470. package/build/esm/orchestrion/registerChannelIntegration.js +0 -11
  1471. package/build/esm/orchestrion/registerChannelIntegration.js.map +0 -1
  1472. package/build/esm/orchestrion/runtime/hook.js +0 -8
  1473. package/build/esm/orchestrion/runtime/hook.js.map +0 -1
  1474. package/build/esm/orchestrion/runtime/register.js +0 -69
  1475. package/build/esm/orchestrion/runtime/register.js.map +0 -1
  1476. package/build/esm/prisma/global.js.map +0 -1
  1477. package/build/esm/prisma/index.js.map +0 -1
  1478. package/build/esm/prisma/tracing-helper.js +0 -209
  1479. package/build/esm/prisma/tracing-helper.js.map +0 -1
  1480. package/build/esm/redis/index.js +0 -21
  1481. package/build/esm/redis/index.js.map +0 -1
  1482. package/build/esm/redis/redis-dc-subscriber.js +0 -94
  1483. package/build/esm/redis/redis-dc-subscriber.js.map +0 -1
  1484. package/build/esm/redis/redis-statement-serializer.js.map +0 -1
  1485. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/chunk-D6vf50IK.js +0 -33
  1486. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/chunk-D6vf50IK.js.map +0 -1
  1487. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/instrumentation-serde-BFky_HG6.js +0 -66
  1488. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/instrumentation-serde-BFky_HG6.js.map +0 -1
  1489. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.js +0 -88
  1490. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.js.map +0 -1
  1491. package/build/esm/vendored/@apm-js-collab/tracing-hooks/hook.js +0 -157
  1492. package/build/esm/vendored/@apm-js-collab/tracing-hooks/hook.js.map +0 -1
  1493. package/build/esm/vendored/@apm-js-collab/tracing-hooks/index.js +0 -86
  1494. package/build/esm/vendored/@apm-js-collab/tracing-hooks/index.js.map +0 -1
  1495. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js +0 -13
  1496. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js.map +0 -1
  1497. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js +0 -27
  1498. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js.map +0 -1
  1499. package/build/esm/vendored/debug/src/common.js +0 -176
  1500. package/build/esm/vendored/debug/src/common.js.map +0 -1
  1501. package/build/esm/vendored/debug/src/node.js +0 -183
  1502. package/build/esm/vendored/debug/src/node.js.map +0 -1
  1503. package/build/esm/vendored/has-flag/index.js +0 -9
  1504. package/build/esm/vendored/has-flag/index.js.map +0 -1
  1505. package/build/esm/vendored/ms/index.js +0 -113
  1506. package/build/esm/vendored/ms/index.js.map +0 -1
  1507. package/build/esm/vendored/supports-color/index.js +0 -102
  1508. package/build/esm/vendored/supports-color/index.js.map +0 -1
  1509. package/build/esm/vercel-ai/index.js +0 -21
  1510. package/build/esm/vercel-ai/index.js.map +0 -1
  1511. package/build/esm/vercel-ai/util.js +0 -106
  1512. package/build/esm/vercel-ai/util.js.map +0 -1
  1513. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js +0 -436
  1514. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js.map +0 -1
  1515. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js +0 -397
  1516. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +0 -1
  1517. package/build/orchestrion/import-hook.mjs +0 -19
  1518. package/build/types/graphql/graphql-dc-subscriber.d.ts +0 -94
  1519. package/build/types/graphql/graphql-dc-subscriber.d.ts.map +0 -1
  1520. package/build/types/graphql/index.d.ts +0 -12
  1521. package/build/types/graphql/index.d.ts.map +0 -1
  1522. package/build/types/graphql/utils.d.ts +0 -36
  1523. package/build/types/graphql/utils.d.ts.map +0 -1
  1524. package/build/types/integrations/tracing-channel/amqplib.d.ts +0 -11
  1525. package/build/types/integrations/tracing-channel/amqplib.d.ts.map +0 -1
  1526. package/build/types/integrations/tracing-channel/anthropic.d.ts +0 -10
  1527. package/build/types/integrations/tracing-channel/anthropic.d.ts.map +0 -1
  1528. package/build/types/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts.map +0 -1
  1529. package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts +0 -15
  1530. package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts.map +0 -1
  1531. package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts +0 -15
  1532. package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts.map +0 -1
  1533. package/build/types/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts.map +0 -1
  1534. package/build/types/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts.map +0 -1
  1535. package/build/types/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts.map +0 -1
  1536. package/build/types/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts.map +0 -1
  1537. package/build/types/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts.map +0 -1
  1538. package/build/types/integrations/tracing-channel/aws-sdk/services/index.d.ts.map +0 -1
  1539. package/build/types/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts.map +0 -1
  1540. package/build/types/integrations/tracing-channel/aws-sdk/services/lambda.d.ts.map +0 -1
  1541. package/build/types/integrations/tracing-channel/aws-sdk/services/s3.d.ts.map +0 -1
  1542. package/build/types/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts.map +0 -1
  1543. package/build/types/integrations/tracing-channel/aws-sdk/services/sns.d.ts.map +0 -1
  1544. package/build/types/integrations/tracing-channel/aws-sdk/services/sqs.d.ts.map +0 -1
  1545. package/build/types/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts.map +0 -1
  1546. package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts +0 -26
  1547. package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts.map +0 -1
  1548. package/build/types/integrations/tracing-channel/aws-sdk/utils.d.ts.map +0 -1
  1549. package/build/types/integrations/tracing-channel/dataloader.d.ts +0 -11
  1550. package/build/types/integrations/tracing-channel/dataloader.d.ts.map +0 -1
  1551. package/build/types/integrations/tracing-channel/express/index.d.ts +0 -18
  1552. package/build/types/integrations/tracing-channel/express/index.d.ts.map +0 -1
  1553. package/build/types/integrations/tracing-channel/express/instrumentation.d.ts +0 -4
  1554. package/build/types/integrations/tracing-channel/express/instrumentation.d.ts.map +0 -1
  1555. package/build/types/integrations/tracing-channel/express/route.d.ts.map +0 -1
  1556. package/build/types/integrations/tracing-channel/express/types.d.ts +0 -76
  1557. package/build/types/integrations/tracing-channel/express/types.d.ts.map +0 -1
  1558. package/build/types/integrations/tracing-channel/fastify/errors.d.ts +0 -12
  1559. package/build/types/integrations/tracing-channel/fastify/errors.d.ts.map +0 -1
  1560. package/build/types/integrations/tracing-channel/fastify/index.d.ts +0 -66
  1561. package/build/types/integrations/tracing-channel/fastify/index.d.ts.map +0 -1
  1562. package/build/types/integrations/tracing-channel/fastify/instrumentation.d.ts +0 -10
  1563. package/build/types/integrations/tracing-channel/fastify/instrumentation.d.ts.map +0 -1
  1564. package/build/types/integrations/tracing-channel/fastify/types.d.ts +0 -32
  1565. package/build/types/integrations/tracing-channel/fastify/types.d.ts.map +0 -1
  1566. package/build/types/integrations/tracing-channel/fastify/utils.d.ts +0 -9
  1567. package/build/types/integrations/tracing-channel/fastify/utils.d.ts.map +0 -1
  1568. package/build/types/integrations/tracing-channel/firebase/firestore-types.d.ts.map +0 -1
  1569. package/build/types/integrations/tracing-channel/firebase/firestore.d.ts +0 -18
  1570. package/build/types/integrations/tracing-channel/firebase/firestore.d.ts.map +0 -1
  1571. package/build/types/integrations/tracing-channel/firebase/functions.d.ts.map +0 -1
  1572. package/build/types/integrations/tracing-channel/firebase/index.d.ts +0 -15
  1573. package/build/types/integrations/tracing-channel/firebase/index.d.ts.map +0 -1
  1574. package/build/types/integrations/tracing-channel/firebase/instrumentation.d.ts.map +0 -1
  1575. package/build/types/integrations/tracing-channel/generic-pool.d.ts +0 -10
  1576. package/build/types/integrations/tracing-channel/generic-pool.d.ts.map +0 -1
  1577. package/build/types/integrations/tracing-channel/google-genai.d.ts +0 -12
  1578. package/build/types/integrations/tracing-channel/google-genai.d.ts.map +0 -1
  1579. package/build/types/integrations/tracing-channel/graphql/constants.d.ts +0 -12
  1580. package/build/types/integrations/tracing-channel/graphql/constants.d.ts.map +0 -1
  1581. package/build/types/integrations/tracing-channel/graphql/graphql-types.d.ts.map +0 -1
  1582. package/build/types/integrations/tracing-channel/graphql/index.d.ts +0 -28
  1583. package/build/types/integrations/tracing-channel/graphql/index.d.ts.map +0 -1
  1584. package/build/types/integrations/tracing-channel/graphql/resolvers.d.ts.map +0 -1
  1585. package/build/types/integrations/tracing-channel/graphql/spans.d.ts.map +0 -1
  1586. package/build/types/integrations/tracing-channel/graphql/types.d.ts +0 -25
  1587. package/build/types/integrations/tracing-channel/graphql/types.d.ts.map +0 -1
  1588. package/build/types/integrations/tracing-channel/hapi-types.d.ts +0 -53
  1589. package/build/types/integrations/tracing-channel/hapi-types.d.ts.map +0 -1
  1590. package/build/types/integrations/tracing-channel/hapi-utils.d.ts +0 -25
  1591. package/build/types/integrations/tracing-channel/hapi-utils.d.ts.map +0 -1
  1592. package/build/types/integrations/tracing-channel/hapi.d.ts +0 -9
  1593. package/build/types/integrations/tracing-channel/hapi.d.ts.map +0 -1
  1594. package/build/types/integrations/tracing-channel/ioredis.d.ts +0 -37
  1595. package/build/types/integrations/tracing-channel/ioredis.d.ts.map +0 -1
  1596. package/build/types/integrations/tracing-channel/kafkajs/consumer.d.ts.map +0 -1
  1597. package/build/types/integrations/tracing-channel/kafkajs/index.d.ts +0 -17
  1598. package/build/types/integrations/tracing-channel/kafkajs/index.d.ts.map +0 -1
  1599. package/build/types/integrations/tracing-channel/kafkajs/semconv.d.ts +0 -10
  1600. package/build/types/integrations/tracing-channel/kafkajs/semconv.d.ts.map +0 -1
  1601. package/build/types/integrations/tracing-channel/kafkajs/spans.d.ts +0 -38
  1602. package/build/types/integrations/tracing-channel/kafkajs/spans.d.ts.map +0 -1
  1603. package/build/types/integrations/tracing-channel/kafkajs/types.d.ts.map +0 -1
  1604. package/build/types/integrations/tracing-channel/knex.d.ts +0 -11
  1605. package/build/types/integrations/tracing-channel/knex.d.ts.map +0 -1
  1606. package/build/types/integrations/tracing-channel/koa.d.ts +0 -14
  1607. package/build/types/integrations/tracing-channel/koa.d.ts.map +0 -1
  1608. package/build/types/integrations/tracing-channel/langchain.d.ts +0 -10
  1609. package/build/types/integrations/tracing-channel/langchain.d.ts.map +0 -1
  1610. package/build/types/integrations/tracing-channel/langgraph.d.ts +0 -10
  1611. package/build/types/integrations/tracing-channel/langgraph.d.ts.map +0 -1
  1612. package/build/types/integrations/tracing-channel/lru-memoizer.d.ts +0 -10
  1613. package/build/types/integrations/tracing-channel/lru-memoizer.d.ts.map +0 -1
  1614. package/build/types/integrations/tracing-channel/mongodb.d.ts +0 -12
  1615. package/build/types/integrations/tracing-channel/mongodb.d.ts.map +0 -1
  1616. package/build/types/integrations/tracing-channel/mongoose.d.ts +0 -15
  1617. package/build/types/integrations/tracing-channel/mongoose.d.ts.map +0 -1
  1618. package/build/types/integrations/tracing-channel/mysql.d.ts +0 -12
  1619. package/build/types/integrations/tracing-channel/mysql.d.ts.map +0 -1
  1620. package/build/types/integrations/tracing-channel/mysql2.d.ts +0 -15
  1621. package/build/types/integrations/tracing-channel/mysql2.d.ts.map +0 -1
  1622. package/build/types/integrations/tracing-channel/openai.d.ts +0 -10
  1623. package/build/types/integrations/tracing-channel/openai.d.ts.map +0 -1
  1624. package/build/types/integrations/tracing-channel/postgres-js.d.ts +0 -26
  1625. package/build/types/integrations/tracing-channel/postgres-js.d.ts.map +0 -1
  1626. package/build/types/integrations/tracing-channel/postgres.d.ts +0 -15
  1627. package/build/types/integrations/tracing-channel/postgres.d.ts.map +0 -1
  1628. package/build/types/integrations/tracing-channel/redis.d.ts +0 -16
  1629. package/build/types/integrations/tracing-channel/redis.d.ts.map +0 -1
  1630. package/build/types/integrations/tracing-channel/tedious.d.ts +0 -11
  1631. package/build/types/integrations/tracing-channel/tedious.d.ts.map +0 -1
  1632. package/build/types/integrations/tracing-channel/vercel-ai.d.ts +0 -9
  1633. package/build/types/integrations/tracing-channel/vercel-ai.d.ts.map +0 -1
  1634. package/build/types/mongodb/mongodb-span.d.ts +0 -66
  1635. package/build/types/mongodb/mongodb-span.d.ts.map +0 -1
  1636. package/build/types/mongoose/index.d.ts +0 -13
  1637. package/build/types/mongoose/index.d.ts.map +0 -1
  1638. package/build/types/mongoose/mongoose-dc-subscriber.d.ts.map +0 -1
  1639. package/build/types/mongoose/mongoose-legacy-span.d.ts +0 -29
  1640. package/build/types/mongoose/mongoose-legacy-span.d.ts.map +0 -1
  1641. package/build/types/mysql2/index.d.ts +0 -11
  1642. package/build/types/mysql2/index.d.ts.map +0 -1
  1643. package/build/types/mysql2/mysql2-dc-subscriber.d.ts.map +0 -1
  1644. package/build/types/orchestrion/bundler/subscribeInjection.d.ts +0 -13
  1645. package/build/types/orchestrion/bundler/subscribeInjection.d.ts.map +0 -1
  1646. package/build/types/orchestrion/config/subscribe-injection.d.ts +0 -31
  1647. package/build/types/orchestrion/config/subscribe-injection.d.ts.map +0 -1
  1648. package/build/types/orchestrion/index.d.ts +0 -137
  1649. package/build/types/orchestrion/index.d.ts.map +0 -1
  1650. package/build/types/orchestrion/registerChannelIntegration.d.ts +0 -33
  1651. package/build/types/orchestrion/registerChannelIntegration.d.ts.map +0 -1
  1652. package/build/types/orchestrion/runtime/register.d.ts +0 -21
  1653. package/build/types/orchestrion/runtime/register.d.ts.map +0 -1
  1654. package/build/types/prisma/global.d.ts.map +0 -1
  1655. package/build/types/prisma/index.d.ts +0 -45
  1656. package/build/types/prisma/index.d.ts.map +0 -1
  1657. package/build/types/prisma/tracing-helper.d.ts.map +0 -1
  1658. package/build/types/prisma/types.d.ts +0 -37
  1659. package/build/types/prisma/types.d.ts.map +0 -1
  1660. package/build/types/redis/index.d.ts +0 -18
  1661. package/build/types/redis/index.d.ts.map +0 -1
  1662. package/build/types/redis/redis-dc-subscriber.d.ts +0 -89
  1663. package/build/types/redis/redis-dc-subscriber.d.ts.map +0 -1
  1664. package/build/types/redis/redis-statement-serializer.d.ts.map +0 -1
  1665. package/build/types/vercel-ai/index.d.ts +0 -26
  1666. package/build/types/vercel-ai/index.d.ts.map +0 -1
  1667. package/build/types/vercel-ai/util.d.ts +0 -30
  1668. package/build/types/vercel-ai/util.d.ts.map +0 -1
  1669. package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts +0 -72
  1670. package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts.map +0 -1
  1671. package/build/types/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts.map +0 -1
  1672. package/build/types-ts3.8/debug-build.d.ts +0 -7
  1673. package/build/types-ts3.8/graphql/graphql-dc-subscriber.d.ts +0 -94
  1674. package/build/types-ts3.8/graphql/index.d.ts +0 -12
  1675. package/build/types-ts3.8/graphql/utils.d.ts +0 -36
  1676. package/build/types-ts3.8/index.d.ts +0 -23
  1677. package/build/types-ts3.8/integrations/tracing-channel/amqplib.d.ts +0 -11
  1678. package/build/types-ts3.8/integrations/tracing-channel/anthropic.d.ts +0 -10
  1679. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts +0 -43
  1680. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/constants.d.ts +0 -15
  1681. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/index.d.ts +0 -15
  1682. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts +0 -23
  1683. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts +0 -9
  1684. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts +0 -10
  1685. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts +0 -14
  1686. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts +0 -8
  1687. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/index.d.ts +0 -2
  1688. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts +0 -6
  1689. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/lambda.d.ts +0 -9
  1690. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/s3.d.ts +0 -6
  1691. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts +0 -8
  1692. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/sns.d.ts +0 -9
  1693. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/sqs.d.ts +0 -9
  1694. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts +0 -6
  1695. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/types.d.ts +0 -26
  1696. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/utils.d.ts +0 -5
  1697. package/build/types-ts3.8/integrations/tracing-channel/dataloader.d.ts +0 -11
  1698. package/build/types-ts3.8/integrations/tracing-channel/express/index.d.ts +0 -18
  1699. package/build/types-ts3.8/integrations/tracing-channel/express/instrumentation.d.ts +0 -4
  1700. package/build/types-ts3.8/integrations/tracing-channel/express/route.d.ts +0 -28
  1701. package/build/types-ts3.8/integrations/tracing-channel/express/types.d.ts +0 -76
  1702. package/build/types-ts3.8/integrations/tracing-channel/fastify/errors.d.ts +0 -12
  1703. package/build/types-ts3.8/integrations/tracing-channel/fastify/index.d.ts +0 -66
  1704. package/build/types-ts3.8/integrations/tracing-channel/fastify/instrumentation.d.ts +0 -10
  1705. package/build/types-ts3.8/integrations/tracing-channel/fastify/types.d.ts +0 -32
  1706. package/build/types-ts3.8/integrations/tracing-channel/fastify/utils.d.ts +0 -9
  1707. package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore-types.d.ts +0 -38
  1708. package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore.d.ts +0 -18
  1709. package/build/types-ts3.8/integrations/tracing-channel/firebase/functions.d.ts +0 -15
  1710. package/build/types-ts3.8/integrations/tracing-channel/firebase/index.d.ts +0 -15
  1711. package/build/types-ts3.8/integrations/tracing-channel/firebase/instrumentation.d.ts +0 -2
  1712. package/build/types-ts3.8/integrations/tracing-channel/generic-pool.d.ts +0 -10
  1713. package/build/types-ts3.8/integrations/tracing-channel/google-genai.d.ts +0 -12
  1714. package/build/types-ts3.8/integrations/tracing-channel/graphql/constants.d.ts +0 -12
  1715. package/build/types-ts3.8/integrations/tracing-channel/graphql/graphql-types.d.ts +0 -135
  1716. package/build/types-ts3.8/integrations/tracing-channel/graphql/index.d.ts +0 -30
  1717. package/build/types-ts3.8/integrations/tracing-channel/graphql/resolvers.d.ts +0 -13
  1718. package/build/types-ts3.8/integrations/tracing-channel/graphql/spans.d.ts +0 -17
  1719. package/build/types-ts3.8/integrations/tracing-channel/graphql/types.d.ts +0 -25
  1720. package/build/types-ts3.8/integrations/tracing-channel/hapi-types.d.ts +0 -65
  1721. package/build/types-ts3.8/integrations/tracing-channel/hapi-utils.d.ts +0 -25
  1722. package/build/types-ts3.8/integrations/tracing-channel/hapi.d.ts +0 -9
  1723. package/build/types-ts3.8/integrations/tracing-channel/ioredis.d.ts +0 -37
  1724. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/consumer.d.ts +0 -8
  1725. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/index.d.ts +0 -17
  1726. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/semconv.d.ts +0 -10
  1727. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/spans.d.ts +0 -38
  1728. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/types.d.ts +0 -40
  1729. package/build/types-ts3.8/integrations/tracing-channel/knex.d.ts +0 -11
  1730. package/build/types-ts3.8/integrations/tracing-channel/koa.d.ts +0 -14
  1731. package/build/types-ts3.8/integrations/tracing-channel/langchain.d.ts +0 -10
  1732. package/build/types-ts3.8/integrations/tracing-channel/langgraph.d.ts +0 -10
  1733. package/build/types-ts3.8/integrations/tracing-channel/lru-memoizer.d.ts +0 -10
  1734. package/build/types-ts3.8/integrations/tracing-channel/mongodb.d.ts +0 -12
  1735. package/build/types-ts3.8/integrations/tracing-channel/mongoose.d.ts +0 -15
  1736. package/build/types-ts3.8/integrations/tracing-channel/mysql.d.ts +0 -12
  1737. package/build/types-ts3.8/integrations/tracing-channel/mysql2.d.ts +0 -15
  1738. package/build/types-ts3.8/integrations/tracing-channel/openai.d.ts +0 -10
  1739. package/build/types-ts3.8/integrations/tracing-channel/postgres-js.d.ts +0 -26
  1740. package/build/types-ts3.8/integrations/tracing-channel/postgres.d.ts +0 -15
  1741. package/build/types-ts3.8/integrations/tracing-channel/redis.d.ts +0 -16
  1742. package/build/types-ts3.8/integrations/tracing-channel/tedious.d.ts +0 -11
  1743. package/build/types-ts3.8/integrations/tracing-channel/vercel-ai.d.ts +0 -9
  1744. package/build/types-ts3.8/mongodb/mongodb-span.d.ts +0 -66
  1745. package/build/types-ts3.8/mongoose/index.d.ts +0 -13
  1746. package/build/types-ts3.8/mongoose/mongoose-dc-subscriber.d.ts +0 -63
  1747. package/build/types-ts3.8/mongoose/mongoose-legacy-span.d.ts +0 -29
  1748. package/build/types-ts3.8/mysql2/index.d.ts +0 -11
  1749. package/build/types-ts3.8/mysql2/mysql2-dc-subscriber.d.ts +0 -59
  1750. package/build/types-ts3.8/node-diagnostics-channel.d.ts +0 -19
  1751. package/build/types-ts3.8/orchestrion/apmTypes.d.ts +0 -169
  1752. package/build/types-ts3.8/orchestrion/bundler/esbuild.d.ts +0 -20
  1753. package/build/types-ts3.8/orchestrion/bundler/options.d.ts +0 -63
  1754. package/build/types-ts3.8/orchestrion/bundler/rollup.d.ts +0 -17
  1755. package/build/types-ts3.8/orchestrion/bundler/subscribeInjection.d.ts +0 -13
  1756. package/build/types-ts3.8/orchestrion/bundler/vite.d.ts +0 -18
  1757. package/build/types-ts3.8/orchestrion/bundler/webpack-loader.d.ts +0 -3
  1758. package/build/types-ts3.8/orchestrion/bundler/webpack.d.ts +0 -35
  1759. package/build/types-ts3.8/orchestrion/channels.d.ts +0 -145
  1760. package/build/types-ts3.8/orchestrion/config/amqplib.d.ts +0 -68
  1761. package/build/types-ts3.8/orchestrion/config/anthropic-ai.d.ts +0 -33
  1762. package/build/types-ts3.8/orchestrion/config/aws-sdk.d.ts +0 -21
  1763. package/build/types-ts3.8/orchestrion/config/channel-integration-definitions.d.ts +0 -139
  1764. package/build/types-ts3.8/orchestrion/config/dataloader.d.ts +0 -48
  1765. package/build/types-ts3.8/orchestrion/config/express.d.ts +0 -32
  1766. package/build/types-ts3.8/orchestrion/config/firebase.d.ts +0 -43
  1767. package/build/types-ts3.8/orchestrion/config/generic-pool.d.ts +0 -33
  1768. package/build/types-ts3.8/orchestrion/config/google-genai.d.ts +0 -32
  1769. package/build/types-ts3.8/orchestrion/config/graphql.d.ts +0 -31
  1770. package/build/types-ts3.8/orchestrion/config/hapi.d.ts +0 -19
  1771. package/build/types-ts3.8/orchestrion/config/index.d.ts +0 -49
  1772. package/build/types-ts3.8/orchestrion/config/ioredis.d.ts +0 -8
  1773. package/build/types-ts3.8/orchestrion/config/kafkajs.d.ts +0 -19
  1774. package/build/types-ts3.8/orchestrion/config/knex.d.ts +0 -10
  1775. package/build/types-ts3.8/orchestrion/config/koa.d.ts +0 -19
  1776. package/build/types-ts3.8/orchestrion/config/langchain.d.ts +0 -20
  1777. package/build/types-ts3.8/orchestrion/config/langgraph.d.ts +0 -23
  1778. package/build/types-ts3.8/orchestrion/config/lru-memoizer.d.ts +0 -18
  1779. package/build/types-ts3.8/orchestrion/config/mongodb.d.ts +0 -61
  1780. package/build/types-ts3.8/orchestrion/config/mongoose.d.ts +0 -42
  1781. package/build/types-ts3.8/orchestrion/config/mysql.d.ts +0 -18
  1782. package/build/types-ts3.8/orchestrion/config/mysql2.d.ts +0 -20
  1783. package/build/types-ts3.8/orchestrion/config/nestjs.d.ts +0 -25
  1784. package/build/types-ts3.8/orchestrion/config/openai.d.ts +0 -20
  1785. package/build/types-ts3.8/orchestrion/config/pg.d.ts +0 -35
  1786. package/build/types-ts3.8/orchestrion/config/postgres.d.ts +0 -10
  1787. package/build/types-ts3.8/orchestrion/config/redis.d.ts +0 -39
  1788. package/build/types-ts3.8/orchestrion/config/remix.d.ts +0 -10
  1789. package/build/types-ts3.8/orchestrion/config/subscribe-injection.d.ts +0 -31
  1790. package/build/types-ts3.8/orchestrion/config/tedious.d.ts +0 -13
  1791. package/build/types-ts3.8/orchestrion/config/vercel-ai.d.ts +0 -13
  1792. package/build/types-ts3.8/orchestrion/detect.d.ts +0 -26
  1793. package/build/types-ts3.8/orchestrion/index.d.ts +0 -139
  1794. package/build/types-ts3.8/orchestrion/registerChannelIntegration.d.ts +0 -33
  1795. package/build/types-ts3.8/orchestrion/runtime/register.d.ts +0 -21
  1796. package/build/types-ts3.8/prisma/global.d.ts +0 -5
  1797. package/build/types-ts3.8/prisma/index.d.ts +0 -45
  1798. package/build/types-ts3.8/prisma/tracing-helper.d.ts +0 -52
  1799. package/build/types-ts3.8/prisma/types.d.ts +0 -40
  1800. package/build/types-ts3.8/redis/index.d.ts +0 -18
  1801. package/build/types-ts3.8/redis/redis-dc-subscriber.d.ts +0 -89
  1802. package/build/types-ts3.8/redis/redis-statement-serializer.d.ts +0 -6
  1803. package/build/types-ts3.8/tracing-channel.d.ts +0 -73
  1804. package/build/types-ts3.8/vercel-ai/index.d.ts +0 -26
  1805. package/build/types-ts3.8/vercel-ai/util.d.ts +0 -30
  1806. package/build/types-ts3.8/vercel-ai/vercel-ai-dc-subscriber.d.ts +0 -72
  1807. package/build/types-ts3.8/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts +0 -12
  1808. /package/build/cjs/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/ServicesExtensions.js +0 -0
  1809. /package/build/cjs/integrations/{tracing-channel/aws-sdk → aws-sdk}/utils.js +0 -0
  1810. /package/build/cjs/integrations/{tracing-channel/express → express}/route.js +0 -0
  1811. /package/build/cjs/integrations/{tracing-channel/fastify → fastify}/utils.js +0 -0
  1812. /package/build/cjs/integrations/{tracing-channel → hapi}/hapi-types.js +0 -0
  1813. /package/build/cjs/integrations/{tracing-channel/kafkajs → kafkajs}/consumer.js +0 -0
  1814. /package/build/cjs/integrations/{tracing-channel/kafkajs → kafkajs}/semconv.js +0 -0
  1815. /package/build/cjs/{prisma → integrations/prisma}/global.js +0 -0
  1816. /package/build/cjs/{prisma → integrations/prisma}/index.js +0 -0
  1817. /package/build/cjs/{redis → integrations/redis}/redis-statement-serializer.js +0 -0
  1818. /package/build/esm/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/ServicesExtensions.js +0 -0
  1819. /package/build/esm/integrations/{tracing-channel/aws-sdk → aws-sdk}/utils.js +0 -0
  1820. /package/build/esm/integrations/{tracing-channel/express → express}/route.js +0 -0
  1821. /package/build/esm/integrations/{tracing-channel/fastify → fastify}/utils.js +0 -0
  1822. /package/build/esm/integrations/{tracing-channel → hapi}/hapi-types.js +0 -0
  1823. /package/build/esm/integrations/{tracing-channel/kafkajs → kafkajs}/consumer.js +0 -0
  1824. /package/build/esm/integrations/{tracing-channel/kafkajs → kafkajs}/semconv.js +0 -0
  1825. /package/build/esm/{prisma → integrations/prisma}/global.js +0 -0
  1826. /package/build/esm/{prisma → integrations/prisma}/index.js +0 -0
  1827. /package/build/esm/{redis → integrations/redis}/redis-statement-serializer.js +0 -0
  1828. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/aws-sdk.types.d.ts +0 -0
  1829. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/MessageAttributes.d.ts +0 -0
  1830. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/ServiceExtension.d.ts +0 -0
  1831. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/ServicesExtensions.d.ts +0 -0
  1832. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/bedrock-runtime.d.ts +0 -0
  1833. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/dynamodb.d.ts +0 -0
  1834. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/index.d.ts +0 -0
  1835. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/kinesis.d.ts +0 -0
  1836. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/lambda.d.ts +0 -0
  1837. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/s3.d.ts +0 -0
  1838. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/secretsmanager.d.ts +0 -0
  1839. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/sns.d.ts +0 -0
  1840. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/sqs.d.ts +0 -0
  1841. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/stepfunctions.d.ts +0 -0
  1842. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/utils.d.ts +0 -0
  1843. /package/build/types/integrations/{tracing-channel/express → express}/route.d.ts +0 -0
  1844. /package/build/types/integrations/{tracing-channel/firebase → firebase}/firestore-types.d.ts +0 -0
  1845. /package/build/types/integrations/{tracing-channel/firebase → firebase}/functions.d.ts +0 -0
  1846. /package/build/types/integrations/{tracing-channel/firebase → firebase}/instrumentation.d.ts +0 -0
  1847. /package/build/types/integrations/{tracing-channel/graphql → graphql}/graphql-types.d.ts +0 -0
  1848. /package/build/types/integrations/{tracing-channel/graphql → graphql}/resolvers.d.ts +0 -0
  1849. /package/build/types/integrations/{tracing-channel/graphql → graphql}/spans.d.ts +0 -0
  1850. /package/build/types/integrations/{tracing-channel/kafkajs → kafkajs}/consumer.d.ts +0 -0
  1851. /package/build/types/integrations/{tracing-channel/kafkajs → kafkajs}/types.d.ts +0 -0
  1852. /package/build/types/{mongoose → integrations/mongoose}/mongoose-dc-subscriber.d.ts +0 -0
  1853. /package/build/types/{mysql2 → integrations/mysql2}/mysql2-dc-subscriber.d.ts +0 -0
  1854. /package/build/types/{prisma → integrations/prisma}/global.d.ts +0 -0
  1855. /package/build/types/{prisma → integrations/prisma}/tracing-helper.d.ts +0 -0
  1856. /package/build/types/{redis → integrations/redis}/redis-statement-serializer.d.ts +0 -0
  1857. /package/build/types/{vercel-ai → integrations/vercel-ai}/vercel-ai-orchestrion-subscriber.d.ts +0 -0
@@ -0,0 +1,90 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+
3
+ const diagnosticsChannel = require('node:diagnostics_channel');
4
+ const core = require('@sentry/core');
5
+ const constants$2 = require('../ai/anthropic-ai/constants.js');
6
+ const constants$3 = require('../ai/google-genai/constants.js');
7
+ const index = require('../ai/langchain/index.js');
8
+ const constants = require('../ai/langchain/constants.js');
9
+ const embeddings = require('../ai/langchain/embeddings.js');
10
+ const utils = require('../ai/langchain/utils.js');
11
+ const constants$4 = require('../ai/mistral/constants.js');
12
+ const constants$1 = require('../ai/openai/constants.js');
13
+ const groq = require('./groq.js');
14
+ const channels = require('../orchestrion/channels.js');
15
+ const langchain = require('../orchestrion/config/langchain.js');
16
+ const tracingChannel = require('../tracing-channel.js');
17
+ const instrumentation = require('../orchestrion/instrumentation.js');
18
+
19
+ function _interopNamespaceDefault(e) {
20
+ const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
21
+ if (e) {
22
+ for (const k in e) {
23
+ n[k] = e[k];
24
+ }
25
+ }
26
+ n.default = e;
27
+ return n;
28
+ }
29
+
30
+ const diagnosticsChannel__namespace = /*#__PURE__*/_interopNamespaceDefault(diagnosticsChannel);
31
+
32
+ const INTEGRATION_NAME = constants.LANGCHAIN_INTEGRATION_NAME;
33
+ const SKIPPED_PROVIDERS = [
34
+ constants$1.OPENAI_INTEGRATION_NAME,
35
+ constants$2.ANTHROPIC_AI_INTEGRATION_NAME,
36
+ constants$3.GOOGLE_GENAI_INTEGRATION_NAME,
37
+ constants$4.MISTRAL_INTEGRATION_NAME,
38
+ // `@langchain/groq` drives `groq-sdk`, so ChatGroq calls must not also open the Groq integration's span.
39
+ groq.GROQ_INTEGRATION_NAME
40
+ ];
41
+ function markProvidersSkipped() {
42
+ core._INTERNAL_skipAiProviderWrapping(SKIPPED_PROVIDERS);
43
+ }
44
+ const _langChainIntegration = ((options = {}) => {
45
+ return {
46
+ name: INTEGRATION_NAME,
47
+ setup(client) {
48
+ instrumentation.invokeOrchestrionInstrumentation(client, langchain.langchainModuleNames, instrumentChatModels, [options], {
49
+ requiresTracingChannelBinding: false
50
+ });
51
+ instrumentation.invokeOrchestrionInstrumentation(client, langchain.langchainModuleNames, instrumentEmbeddings, [options]);
52
+ }
53
+ };
54
+ });
55
+ function instrumentChatModels(options) {
56
+ const sentryHandler = index.createLangChainCallbackHandler(options);
57
+ const injectHandler = (message) => {
58
+ markProvidersSkipped();
59
+ const args = message.arguments;
60
+ if (!Array.isArray(args)) {
61
+ return;
62
+ }
63
+ let callOptions = args[1];
64
+ if (!callOptions || typeof callOptions !== "object" || Array.isArray(callOptions)) {
65
+ callOptions = {};
66
+ args[1] = callOptions;
67
+ }
68
+ callOptions.callbacks = utils._INTERNAL_mergeLangChainCallbackHandler(callOptions.callbacks, sentryHandler);
69
+ };
70
+ for (const channelName of [channels.CHANNELS.LANGCHAIN_CHAT_MODEL_INVOKE, channels.CHANNELS.LANGCHAIN_CHAT_MODEL_STREAM]) {
71
+ diagnosticsChannel__namespace.tracingChannel(channelName).start.subscribe(injectHandler);
72
+ }
73
+ }
74
+ function instrumentEmbeddings(options) {
75
+ for (const channelName of langchain.langchainEmbeddingsChannels) {
76
+ tracingChannel.bindTracingChannelToSpan(
77
+ diagnosticsChannel__namespace.tracingChannel(channelName),
78
+ (data) => createEmbeddingsSpan(data, options)
79
+ );
80
+ }
81
+ }
82
+ function createEmbeddingsSpan(data, options) {
83
+ markProvidersSkipped();
84
+ const input = (data.arguments ?? [])[0];
85
+ return core.startInactiveSpan(embeddings._INTERNAL_getLangChainEmbeddingsSpanOptions(data.self, input, options));
86
+ }
87
+ const langChainIntegration = core.defineIntegration(_langChainIntegration);
88
+
89
+ exports.langChainIntegration = langChainIntegration;
90
+ //# sourceMappingURL=langchain.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"langchain.js","sources":["../../../src/integrations/langchain.ts"],"sourcesContent":["import * as diagnosticsChannel from 'node:diagnostics_channel';\nimport type { IntegrationFn, Span } from '@sentry/core';\nimport { _INTERNAL_skipAiProviderWrapping, defineIntegration, startInactiveSpan } from '@sentry/core';\nimport { ANTHROPIC_AI_INTEGRATION_NAME } from '../ai/anthropic-ai/constants';\nimport { GOOGLE_GENAI_INTEGRATION_NAME } from '../ai/google-genai/constants';\nimport { createLangChainCallbackHandler } from '../ai/langchain';\nimport { LANGCHAIN_INTEGRATION_NAME } from '../ai/langchain/constants';\nimport { _INTERNAL_getLangChainEmbeddingsSpanOptions } from '../ai/langchain/embeddings';\nimport type { LangChainOptions } from '../ai/langchain/types';\nimport { _INTERNAL_mergeLangChainCallbackHandler } from '../ai/langchain/utils';\nimport { MISTRAL_INTEGRATION_NAME } from '../ai/mistral/constants';\nimport { OPENAI_INTEGRATION_NAME } from '../ai/openai/constants';\nimport { GROQ_INTEGRATION_NAME } from './groq';\nimport { CHANNELS } from '../orchestrion/channels';\nimport { langchainEmbeddingsChannels } from '../orchestrion/config/langchain';\nimport { bindTracingChannelToSpan } from '../tracing-channel';\nimport { langchainModuleNames } from '../orchestrion/config/langchain';\nimport { invokeOrchestrionInstrumentation } from '../orchestrion/instrumentation';\n\n// Same name as the OTel integration by design, so the OTel 'LangChain' integration is\n// deduplicated out of the default set.\nconst INTEGRATION_NAME = LANGCHAIN_INTEGRATION_NAME;\n\n// LangChain drives the underlying AI provider SDKs itself, so while it's active those providers must\n// not also instrument, or every call would produce two spans (mirrors the OTel path's skip list).\nconst SKIPPED_PROVIDERS = [\n OPENAI_INTEGRATION_NAME,\n ANTHROPIC_AI_INTEGRATION_NAME,\n GOOGLE_GENAI_INTEGRATION_NAME,\n MISTRAL_INTEGRATION_NAME,\n // `@langchain/groq` drives `groq-sdk`, so ChatGroq calls must not also open the Groq integration's span.\n GROQ_INTEGRATION_NAME,\n];\n\n// The chat-model channels carry the live args array of `invoke(input, options)` / `_streamIterator(input, options)`.\ninterface RunnableChannelContext {\n arguments: unknown[];\n}\n\n// The embeddings channels carry the instance (`self`) and the `embedQuery(text)` / `embedDocuments(texts)` args.\ninterface EmbeddingsChannelContext {\n self?: unknown;\n arguments: unknown[];\n}\n\n// Registered lazily on the first LangChain call (not at `setupOnce`) so a direct provider call made\n// before any LangChain call still gets its own span — matches the OTel patch-on-import timing. It\n// also stops the underlying SDK from double-instrumenting embeddings, whose `embedQuery`/\n// `embedDocuments` call the provider SDK (e.g. `openai`) internally.\nfunction markProvidersSkipped(): void {\n _INTERNAL_skipAiProviderWrapping(SKIPPED_PROVIDERS);\n}\n\nconst _langChainIntegration = ((options: LangChainOptions = {}) => {\n return {\n name: INTEGRATION_NAME,\n setup(client) {\n // Chat models only mutate the call args, so they subscribe without the\n // async-context binding. Kept separate so a missing binding never defers\n // them: on the bundler path the wait would push subscription past\n // `Sentry.init()` and early calls would run with no subscriber.\n invokeOrchestrionInstrumentation(client, langchainModuleNames, instrumentChatModels, [options], {\n requiresTracingChannelBinding: false,\n });\n // Embeddings open their own spans via `bindTracingChannelToSpan`, which\n // needs the binding.\n invokeOrchestrionInstrumentation(client, langchainModuleNames, instrumentEmbeddings, [options]);\n },\n };\n}) satisfies IntegrationFn;\n\nfunction instrumentChatModels(options: LangChainOptions): void {\n // One stateful handler tracks spans across the whole run tree, just like the OTel path.\n const sentryHandler = createLangChainCallbackHandler(options);\n\n // Chat models: inject the Sentry callback handler into the call options (arg 1). LangChain's own\n // callback dispatch then creates the spans, exactly as in the OTel path, so no span is opened\n // here — a `start` subscriber (which also makes orchestrion wrap the function) is enough.\n const injectHandler = (message: unknown): void => {\n markProvidersSkipped();\n\n const args = (message as RunnableChannelContext).arguments;\n if (!Array.isArray(args)) {\n return;\n }\n\n let callOptions = args[1] as Record<string, unknown> | undefined;\n if (!callOptions || typeof callOptions !== 'object' || Array.isArray(callOptions)) {\n callOptions = {};\n args[1] = callOptions;\n }\n\n callOptions.callbacks = _INTERNAL_mergeLangChainCallbackHandler(callOptions.callbacks, sentryHandler);\n };\n\n for (const channelName of [CHANNELS.LANGCHAIN_CHAT_MODEL_INVOKE, CHANNELS.LANGCHAIN_CHAT_MODEL_STREAM]) {\n diagnosticsChannel.tracingChannel<RunnableChannelContext>(channelName).start.subscribe(injectHandler);\n }\n}\n\n// Embeddings don't use the callback system. Wrap the method in its own span.\n// Embedding errors reject to the caller, so we only open the span (which bindTracingChannelToSpan\n// still marks failed on error) and do not capture them.\nfunction instrumentEmbeddings(options: LangChainOptions): void {\n for (const channelName of langchainEmbeddingsChannels) {\n bindTracingChannelToSpan(diagnosticsChannel.tracingChannel<EmbeddingsChannelContext>(channelName), data =>\n createEmbeddingsSpan(data, options),\n );\n }\n}\n\nfunction createEmbeddingsSpan(data: EmbeddingsChannelContext, options: LangChainOptions): Span {\n // `embedQuery`/`embedDocuments` call the provider SDK internally, so skip that SDK's own\n // instrumentation before its channel fires (the producer runs at the embeddings channel's `start`).\n markProvidersSkipped();\n\n const input = (data.arguments ?? [])[0];\n\n return startInactiveSpan(_INTERNAL_getLangChainEmbeddingsSpanOptions(data.self, input, options));\n}\n\n/**\n * Diagnostics-channel-based LangChain integration. Subscribes to the diagnostics_channels\n * injected into `@langchain/core`'s `BaseChatModel` (to inject the Sentry callback handler) and into\n * `@langchain/openai`'s embedding methods, so it requires the Sentry runtime hook or bundler plugin.\n */\nexport const langChainIntegration = defineIntegration(_langChainIntegration);\n"],"names":["LANGCHAIN_INTEGRATION_NAME","OPENAI_INTEGRATION_NAME","ANTHROPIC_AI_INTEGRATION_NAME","GOOGLE_GENAI_INTEGRATION_NAME","MISTRAL_INTEGRATION_NAME","GROQ_INTEGRATION_NAME","_INTERNAL_skipAiProviderWrapping","invokeOrchestrionInstrumentation","langchainModuleNames","createLangChainCallbackHandler","_INTERNAL_mergeLangChainCallbackHandler","CHANNELS","diagnosticsChannel","langchainEmbeddingsChannels","bindTracingChannelToSpan","startInactiveSpan","_INTERNAL_getLangChainEmbeddingsSpanOptions","defineIntegration"],"mappings":";;;;;;;;;;;;;;;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A,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,CAAC,CAAA;AACjG;AAOO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAuBC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,EAAkB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAqB,CAAA;;"}
@@ -0,0 +1,100 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+
3
+ const diagnosticsChannel = require('node:diagnostics_channel');
4
+ const core = require('@sentry/core');
5
+ const utils = require('../ai/core/utils.js');
6
+ const index = require('../ai/langchain/index.js');
7
+ const index$1 = require('../ai/langgraph/index.js');
8
+ const constants = require('../ai/langgraph/constants.js');
9
+ const utils$1 = require('../ai/langgraph/utils.js');
10
+ const debugBuild = require('../debug-build.js');
11
+ const channels = require('../orchestrion/channels.js');
12
+ const langgraph = require('../orchestrion/config/langgraph.js');
13
+ const instrumentation = require('../orchestrion/instrumentation.js');
14
+
15
+ function _interopNamespaceDefault(e) {
16
+ const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
17
+ if (e) {
18
+ for (const k in e) {
19
+ n[k] = e[k];
20
+ }
21
+ }
22
+ n.default = e;
23
+ return n;
24
+ }
25
+
26
+ const diagnosticsChannel__namespace = /*#__PURE__*/_interopNamespaceDefault(diagnosticsChannel);
27
+
28
+ const INTEGRATION_NAME = constants.LANGGRAPH_INTEGRATION_NAME;
29
+ let insideCreateReactAgent = false;
30
+ const _langGraphIntegration = ((options = {}) => {
31
+ return {
32
+ name: INTEGRATION_NAME,
33
+ setup(client) {
34
+ instrumentation.invokeOrchestrionInstrumentation(client, langgraph.langgraphModuleNames, instrumentLanggraph, [options], {
35
+ requiresTracingChannelBinding: false
36
+ });
37
+ }
38
+ };
39
+ });
40
+ function instrumentLanggraph(options) {
41
+ const resolvedOptions = utils.resolveAIRecordingOptions(options);
42
+ const sentryHandler = index.createLangChainCallbackHandler(resolvedOptions);
43
+ diagnosticsChannel__namespace.tracingChannel(channels.CHANNELS.LANGGRAPH_STATE_GRAPH_COMPILE).end.subscribe((message) => {
44
+ if (insideCreateReactAgent) {
45
+ return;
46
+ }
47
+ const { arguments: args, result } = message;
48
+ wrapCompiledGraphInvoke(result, getFirstArgObject(args) ?? {}, resolvedOptions, null, sentryHandler);
49
+ });
50
+ const reactAgentChannel = diagnosticsChannel__namespace.tracingChannel(
51
+ channels.CHANNELS.LANGGRAPH_CREATE_REACT_AGENT
52
+ );
53
+ reactAgentChannel.start.subscribe((message) => {
54
+ insideCreateReactAgent = true;
55
+ try {
56
+ const { arguments: args } = message;
57
+ const params = getFirstArgObject(args);
58
+ if (params && Array.isArray(params.tools) && params.tools.length > 0) {
59
+ utils$1.wrapToolsWithSpans(params.tools, resolvedOptions, utils$1.extractAgentNameFromParams(args) ?? void 0);
60
+ }
61
+ } catch (error) {
62
+ debugBuild.DEBUG_BUILD && core.debug.error("[instrumentation:langgraph] failed to wrap createReactAgent tools", error);
63
+ }
64
+ });
65
+ reactAgentChannel.end.subscribe((message) => {
66
+ insideCreateReactAgent = false;
67
+ const { arguments: args, result } = message;
68
+ const agentName = utils$1.extractAgentNameFromParams(args) ?? void 0;
69
+ const compileOptions = agentName ? { name: agentName } : {};
70
+ wrapCompiledGraphInvoke(result, compileOptions, resolvedOptions, utils$1.extractLLMFromParams(args), sentryHandler);
71
+ });
72
+ reactAgentChannel.error.subscribe(() => {
73
+ insideCreateReactAgent = false;
74
+ });
75
+ }
76
+ function getFirstArgObject(args) {
77
+ const first = (args ?? [])[0];
78
+ return typeof first === "object" && first !== null ? first : void 0;
79
+ }
80
+ function wrapCompiledGraphInvoke(graph, compileOptions, options, llm, sentryHandler) {
81
+ if (!graph || typeof graph !== "object") {
82
+ return;
83
+ }
84
+ const compiledGraph = graph;
85
+ const originalInvoke = compiledGraph.invoke;
86
+ if (typeof originalInvoke === "function") {
87
+ compiledGraph.invoke = index$1.instrumentCompiledGraphInvoke(
88
+ originalInvoke.bind(compiledGraph),
89
+ compiledGraph,
90
+ compileOptions,
91
+ options,
92
+ llm,
93
+ sentryHandler
94
+ );
95
+ }
96
+ }
97
+ const langGraphIntegration = core.defineIntegration(_langGraphIntegration);
98
+
99
+ exports.langGraphIntegration = langGraphIntegration;
100
+ //# sourceMappingURL=langgraph.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"langgraph.js","sources":["../../../src/integrations/langgraph.ts"],"sourcesContent":["import * as diagnosticsChannel from 'node:diagnostics_channel';\nimport type { IntegrationFn } from '@sentry/core';\nimport { debug, defineIntegration } from '@sentry/core';\nimport { resolveAIRecordingOptions } from '../ai/core/utils';\nimport { createLangChainCallbackHandler } from '../ai/langchain';\nimport { instrumentCompiledGraphInvoke } from '../ai/langgraph';\nimport { LANGGRAPH_INTEGRATION_NAME } from '../ai/langgraph/constants';\nimport type { CompiledGraph, LangGraphOptions } from '../ai/langgraph/types';\nimport { extractAgentNameFromParams, extractLLMFromParams, wrapToolsWithSpans } from '../ai/langgraph/utils';\nimport { DEBUG_BUILD } from '../debug-build';\nimport { CHANNELS } from '../orchestrion/channels';\nimport { langgraphModuleNames } from '../orchestrion/config/langgraph';\nimport { invokeOrchestrionInstrumentation } from '../orchestrion/instrumentation';\n\n// Same name as the OTel integration by design, so the OTel 'LangGraph' integration is\n// deduplicated out of the default set.\nconst INTEGRATION_NAME = LANGGRAPH_INTEGRATION_NAME;\n\ninterface CompileChannelContext {\n arguments: unknown[];\n result?: unknown;\n}\n\ninterface CreateReactAgentChannelContext {\n arguments: unknown[];\n result?: unknown;\n}\n\n// `createReactAgent` compiles a `StateGraph` internally. When set, the compile subscriber skips that\n// nested graph so its `invoke` is wrapped once (by the createReactAgent handler), not twice.\nlet insideCreateReactAgent = false;\n\nconst _langGraphIntegration = ((options: LangGraphOptions = {}) => {\n return {\n name: INTEGRATION_NAME,\n setup(client) {\n // Nothing here opens a span at subscribe time, so a missing async-context\n // binding must never defer the subscription.\n invokeOrchestrionInstrumentation(client, langgraphModuleNames, instrumentLanggraph, [options], {\n requiresTracingChannelBinding: false,\n });\n },\n };\n}) satisfies IntegrationFn;\n\nfunction instrumentLanggraph(options: LangGraphOptions): void {\n const resolvedOptions = resolveAIRecordingOptions(options);\n const sentryHandler = createLangChainCallbackHandler(resolvedOptions);\n\n // StateGraph.compile returns synchronously; wrap the returned graph's `invoke` at `end`.\n diagnosticsChannel\n .tracingChannel<CompileChannelContext>(CHANNELS.LANGGRAPH_STATE_GRAPH_COMPILE)\n .end.subscribe(message => {\n if (insideCreateReactAgent) {\n return;\n }\n const { arguments: args, result } = message as CompileChannelContext;\n wrapCompiledGraphInvoke(result, getFirstArgObject(args) ?? {}, resolvedOptions, null, sentryHandler);\n });\n\n // createReactAgent only wraps tools and the returned graph's `invoke`. Tools are wrapped at\n // `start` (before the agent runs), invoke at `end`.\n const reactAgentChannel = diagnosticsChannel.tracingChannel<CreateReactAgentChannelContext>(\n CHANNELS.LANGGRAPH_CREATE_REACT_AGENT,\n );\n reactAgentChannel.start.subscribe(message => {\n // `createReactAgent` runs synchronously and compiles a `StateGraph` internally, so the flag\n // must be on for the duration and off by `end`. It's set here (never in a branch that can\n // throw) and cleared in both `end` and `error`, so it can neither stick on across calls nor\n // stay off during this call's nested compile. Tool wrapping is guarded for the same reason.\n insideCreateReactAgent = true;\n try {\n const { arguments: args } = message as CreateReactAgentChannelContext;\n const params = getFirstArgObject(args);\n if (params && Array.isArray(params.tools) && params.tools.length > 0) {\n wrapToolsWithSpans(params.tools, resolvedOptions, extractAgentNameFromParams(args) ?? undefined);\n }\n } catch (error) {\n DEBUG_BUILD && debug.error('[instrumentation:langgraph] failed to wrap createReactAgent tools', error);\n }\n });\n reactAgentChannel.end.subscribe(message => {\n insideCreateReactAgent = false;\n const { arguments: args, result } = message as CreateReactAgentChannelContext;\n const agentName = extractAgentNameFromParams(args) ?? undefined;\n const compileOptions = agentName ? { name: agentName } : {};\n wrapCompiledGraphInvoke(result, compileOptions, resolvedOptions, extractLLMFromParams(args), sentryHandler);\n });\n // Make sure a thrown `createReactAgent` doesn't leave the suppression flag stuck on.\n reactAgentChannel.error.subscribe(() => {\n insideCreateReactAgent = false;\n });\n}\n\nfunction getFirstArgObject(args: unknown[] | undefined): Record<string, unknown> | undefined {\n const first = (args ?? [])[0];\n\n return typeof first === 'object' && first !== null ? (first as Record<string, unknown>) : undefined;\n}\n\n/**\n * Wrap the compiled graph's `invoke` with the shared `invoke_agent` instrumentation, exactly as the\n * OTel path does on the returned graph.\n */\nfunction wrapCompiledGraphInvoke(\n graph: unknown,\n compileOptions: Record<string, unknown>,\n options: LangGraphOptions,\n llm: ReturnType<typeof extractLLMFromParams>,\n sentryHandler: unknown,\n): void {\n if (!graph || typeof graph !== 'object') {\n return;\n }\n\n const compiledGraph = graph as CompiledGraph;\n const originalInvoke = compiledGraph.invoke;\n if (typeof originalInvoke === 'function') {\n compiledGraph.invoke = instrumentCompiledGraphInvoke(\n originalInvoke.bind(compiledGraph),\n compiledGraph,\n compileOptions,\n options,\n llm,\n sentryHandler,\n );\n }\n}\n\n/**\n * Diagnostics-channel-based LangGraph integration. Subscribes to the diagnostics_channels\n * injected into `@langchain/langgraph`'s `StateGraph.compile` and `createReactAgent`, so it requires\n * the Sentry runtime hook or bundler plugin.\n */\nexport const langGraphIntegration = defineIntegration(_langGraphIntegration);\n"],"names":["LANGGRAPH_INTEGRATION_NAME","invokeOrchestrionInstrumentation","langgraphModuleNames","resolveAIRecordingOptions","createLangChainCallbackHandler","diagnosticsChannel","CHANNELS","wrapToolsWithSpans","extractAgentNameFromParams","DEBUG_BUILD","debug","extractLLMFromParams","instrumentCompiledGraphInvoke","defineIntegration"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAmBA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAA;AAczB,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAyB,CAAA,CAAA,CAAA,CAAA,CAAA;AAE7B,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,qBAAA,CAAA,CAAA,CAAA,CAAyB,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA4B,EAAC,CAAA,CAAA,CAAA,CAAA,CAAM;AACjE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO;AAAA,CAAA,CAAA,CAAA,CACL,CAAA,CAAA,CAAA,CAAA,EAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA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CAAA;;"}
@@ -0,0 +1,42 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+
3
+ const diagnosticsChannel = require('node:diagnostics_channel');
4
+ const core = require('@sentry/core');
5
+ const channels = require('../orchestrion/channels.js');
6
+ const tracingChannel = require('../tracing-channel.js');
7
+ const lruMemoizer = require('../orchestrion/config/lru-memoizer.js');
8
+ const instrumentation = require('../orchestrion/instrumentation.js');
9
+
10
+ function _interopNamespaceDefault(e) {
11
+ const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
12
+ if (e) {
13
+ for (const k in e) {
14
+ n[k] = e[k];
15
+ }
16
+ }
17
+ n.default = e;
18
+ return n;
19
+ }
20
+
21
+ const diagnosticsChannel__namespace = /*#__PURE__*/_interopNamespaceDefault(diagnosticsChannel);
22
+
23
+ const INTEGRATION_NAME = "LruMemoizer";
24
+ const _lruMemoizerIntegration = (() => {
25
+ return {
26
+ name: INTEGRATION_NAME,
27
+ setup(client) {
28
+ instrumentation.invokeOrchestrionInstrumentation(client, lruMemoizer.lruMemoizerModuleNames, instrumentLruMemoizer, []);
29
+ }
30
+ };
31
+ });
32
+ function instrumentLruMemoizer() {
33
+ tracingChannel.bindTracingChannelToSpan(
34
+ diagnosticsChannel__namespace.tracingChannel(channels.CHANNELS.LRU_MEMOIZER_LOAD),
35
+ // We only want the helper's caller-context restore for the callback lru-memoizer fires from a detached `setImmediate`.
36
+ () => void 0
37
+ );
38
+ }
39
+ const lruMemoizerIntegration = core.defineIntegration(_lruMemoizerIntegration);
40
+
41
+ exports.lruMemoizerIntegration = lruMemoizerIntegration;
42
+ //# sourceMappingURL=lru-memoizer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lru-memoizer.js","sources":["../../../src/integrations/lru-memoizer.ts"],"sourcesContent":["import * as diagnosticsChannel from 'node:diagnostics_channel';\nimport type { IntegrationFn } from '@sentry/core';\nimport { defineIntegration } from '@sentry/core';\nimport { CHANNELS } from '../orchestrion/channels';\nimport { bindTracingChannelToSpan } from '../tracing-channel';\nimport { lruMemoizerModuleNames } from '../orchestrion/config/lru-memoizer';\nimport { invokeOrchestrionInstrumentation } from '../orchestrion/instrumentation';\n\n// Same name as the OTel integration by design — when enabled, the OTel\n// 'LruMemoizer' integration is omitted from the default set.\nconst INTEGRATION_NAME = 'LruMemoizer' as const;\n\ninterface LruMemoizerLoadContext {\n arguments: unknown[];\n}\n\nconst _lruMemoizerIntegration = (() => {\n return {\n name: INTEGRATION_NAME,\n setup(client) {\n invokeOrchestrionInstrumentation(client, lruMemoizerModuleNames, instrumentLruMemoizer, []);\n },\n };\n}) satisfies IntegrationFn;\n\nfunction instrumentLruMemoizer(): void {\n bindTracingChannelToSpan(\n diagnosticsChannel.tracingChannel<LruMemoizerLoadContext>(CHANNELS.LRU_MEMOIZER_LOAD),\n // We only want the helper's caller-context restore for the callback lru-memoizer fires from a detached `setImmediate`.\n () => undefined,\n );\n}\n\n/**\n * Diagnostics-channel-based lru-memoizer integration. Subscribes to\n * `orchestrion:lru-memoizer:load` (injected into `lru-memoizer/lib/async.js`'s\n * `memoizedFunction`). Creates no spans; only re-runs the memoized callback with the\n * caller's scope. Requires the Sentry runtime hook or bundler plugin.\n */\nexport const lruMemoizerIntegration = defineIntegration(_lruMemoizerIntegration);\n"],"names":["invokeOrchestrionInstrumentation","lruMemoizerModuleNames","bindTracingChannelToSpan","diagnosticsChannel","CHANNELS","defineIntegration"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAUA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAmB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAMzB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,C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,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CAEpF,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CACR;AACF;AAQO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAyBC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,EAAkB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAuB,CAAA;;"}
@@ -0,0 +1,258 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+
3
+ const diagnosticsChannel = require('node:diagnostics_channel');
4
+ const node_module = require('node:module');
5
+ const node_path = require('node:path');
6
+ const node_url = require('node:url');
7
+ const core = require('@sentry/core');
8
+ const constants = require('../ai/mastra/constants.js');
9
+ const index = require('../ai/mastra/index.js');
10
+ const spanRegistry = require('../ai/mastra/span-registry.js');
11
+ const debugBuild = require('../debug-build.js');
12
+ const channels = require('../orchestrion/channels.js');
13
+ const mastra = require('../orchestrion/config/mastra.js');
14
+ const instrumentation = require('../orchestrion/instrumentation.js');
15
+ const tracingChannel = require('../tracing-channel.js');
16
+
17
+ function _interopNamespaceDefault(e) {
18
+ const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
19
+ if (e) {
20
+ for (const k in e) {
21
+ n[k] = e[k];
22
+ }
23
+ }
24
+ n.default = e;
25
+ return n;
26
+ }
27
+
28
+ const diagnosticsChannel__namespace = /*#__PURE__*/_interopNamespaceDefault(diagnosticsChannel);
29
+
30
+ function mastraSpanId(span) {
31
+ if (!core.isObjectLike(span)) {
32
+ return void 0;
33
+ }
34
+ const exported = span.getExportedSpanId;
35
+ const id = typeof exported === "function" ? exported.call(span) : span.id;
36
+ return typeof id === "string" ? id : void 0;
37
+ }
38
+ const registered = /* @__PURE__ */ new WeakSet();
39
+ let warnedAboutCommunityExporter = false;
40
+ let warnedAboutMissingObservability = false;
41
+ const _mastraIntegration = ((options = {}) => {
42
+ return {
43
+ name: constants.MASTRA_INTEGRATION_NAME,
44
+ setup(client) {
45
+ instrumentation.invokeOrchestrionInstrumentation(client, mastra.mastraModuleNames, instrumentExporter, [options], {
46
+ requiresTracingChannelBinding: false
47
+ });
48
+ instrumentation.invokeOrchestrionInstrumentation(client, mastra.mastraModuleNames, instrumentExecuteWithContext, []);
49
+ }
50
+ };
51
+ });
52
+ function instrumentExporter(options) {
53
+ diagnosticsChannel__namespace.tracingChannel(channels.CHANNELS.MASTRA_CONSTRUCTOR).end.subscribe((message) => {
54
+ tracingChannel.safeChannelCallback(() => {
55
+ const { self } = message;
56
+ attachExporter(self, options);
57
+ });
58
+ });
59
+ captureExecuteWithContextErrors();
60
+ }
61
+ function captureExecuteWithContextErrors() {
62
+ diagnosticsChannel__namespace.tracingChannel(channels.CHANNELS.MASTRA_EXECUTE_WITH_CONTEXT).error.subscribe((message) => {
63
+ tracingChannel.safeChannelCallback(() => {
64
+ const data = message;
65
+ captureMastraError(data.error, data.arguments?.[0]);
66
+ });
67
+ });
68
+ }
69
+ const MAX_CAUSE_CHAIN_DEPTH = 10;
70
+ const capturedErrors = /* @__PURE__ */ new WeakSet();
71
+ function errorCauseChain(error) {
72
+ const chain = [];
73
+ let current = error;
74
+ for (let depth = 0; depth < MAX_CAUSE_CHAIN_DEPTH && core.isObjectLike(current); depth++) {
75
+ chain.push(current);
76
+ const cause = current.cause;
77
+ if (cause === current) {
78
+ break;
79
+ }
80
+ current = cause;
81
+ }
82
+ return chain;
83
+ }
84
+ function captureMastraError(error, params) {
85
+ const chain = errorCauseChain(error);
86
+ if (chain.some((link) => capturedErrors.has(link))) {
87
+ return;
88
+ }
89
+ chain.forEach((link) => capturedErrors.add(link));
90
+ const id = core.isObjectLike(params) ? mastraSpanId(params.span) : void 0;
91
+ const span = id ? spanRegistry.getSentrySpanForMastraId(id) : void 0;
92
+ const capture = () => core.captureException(error, { mechanism: { type: "auto.ai.mastra", handled: true } });
93
+ if (span) {
94
+ core.withActiveSpan(span, capture);
95
+ } else {
96
+ capture();
97
+ }
98
+ }
99
+ function instrumentExecuteWithContext() {
100
+ tracingChannel.bindSpanToChannelStore(
101
+ diagnosticsChannel__namespace.tracingChannel(channels.CHANNELS.MASTRA_EXECUTE_WITH_CONTEXT),
102
+ (data) => {
103
+ const params = data.arguments?.[0];
104
+ const id = core.isObjectLike(params) ? mastraSpanId(params.span) : void 0;
105
+ return id ? spanRegistry.getSentrySpanForMastraId(id) : void 0;
106
+ }
107
+ );
108
+ }
109
+ function attachExporter(instance, options) {
110
+ if (typeof instance !== "object" || instance === null || registered.has(instance)) {
111
+ return;
112
+ }
113
+ const mastra = instance;
114
+ if (typeof mastra.registerExporter !== "function") {
115
+ debugBuild.DEBUG_BUILD && core.debug.log("[instrumentation:mastra] `Mastra.registerExporter` is missing; needs @mastra/core >= 1.63.2");
116
+ return;
117
+ }
118
+ const { bootstrapObservability: _bootstrapObservability, ...exporterOptions } = options;
119
+ const exporter = new index.SentryMastraExporter(exporterOptions);
120
+ const defaultInstance = mastra.observability?.getDefaultInstance?.();
121
+ if (defaultInstance) {
122
+ const exporters = defaultInstance.getExporters?.() ?? [];
123
+ if (exporters.some((registeredExporter) => registeredExporter?.[constants.MASTRA_EXPORTER_BRAND])) {
124
+ markAttached(instance);
125
+ debugBuild.DEBUG_BUILD && core.debug.log("[instrumentation:mastra] a Sentry exporter is already registered, skipping");
126
+ return;
127
+ }
128
+ if (exporters.some((registeredExporter) => registeredExporter?.name === constants.COMMUNITY_MASTRA_SENTRY_EXPORTER_NAME)) {
129
+ warnAboutCommunityExporter();
130
+ }
131
+ mastra.registerExporter(exporter, void 0, void 0);
132
+ markAttached(instance);
133
+ return;
134
+ }
135
+ if (options.bootstrapObservability === false) {
136
+ debugBuild.DEBUG_BUILD && core.debug.log("[instrumentation:mastra] no observability configured and bootstrapping is disabled, skipping");
137
+ return;
138
+ }
139
+ const bootstrap = createObservabilityBootstrap(exporter);
140
+ if (!bootstrap) {
141
+ return;
142
+ }
143
+ mastra.registerExporter(exporter, bootstrap.instance, bootstrap.entrypoint);
144
+ markAttached(instance);
145
+ }
146
+ function markAttached(instance) {
147
+ registered.add(instance);
148
+ }
149
+ function warnAboutMissingObservability() {
150
+ if (warnedAboutMissingObservability) {
151
+ return;
152
+ }
153
+ warnedAboutMissingObservability = true;
154
+ core.consoleSandbox(() => {
155
+ console.warn(
156
+ "[Sentry] Mastra has no observability pipeline and `@mastra/observability` could not be loaded, so the Mastra integration will not create spans. Install `@mastra/observability`, or pass an `Observability` to the `Mastra` constructor. Disable this with `mastraIntegration({ bootstrapObservability: false })`."
157
+ );
158
+ });
159
+ }
160
+ function warnAboutCommunityExporter() {
161
+ if (warnedAboutCommunityExporter) {
162
+ return;
163
+ }
164
+ warnedAboutCommunityExporter = true;
165
+ core.consoleSandbox(() => {
166
+ console.warn(
167
+ "[Sentry] The `@mastra/sentry` package is registered alongside the built-in Mastra integration, and both are now exporting spans. Its exporter also calls `Sentry.init()` itself: depending on which `@sentry/node` version it resolves to, that either replaces the client configured in your `instrument.ts` \u2014 losing your release, environment, integrations and sampling \u2014 or starts a second, independent SDK whose events never reach yours. Remove `@mastra/sentry` from your Mastra `exporters`; the Sentry SDK instruments Mastra on its own."
168
+ );
169
+ });
170
+ }
171
+ function cwdRequireParent() {
172
+ return node_path.join(process.cwd(), "noop.js");
173
+ }
174
+ function appRequire() {
175
+ return node_module.createRequire(cwdRequireParent());
176
+ }
177
+ function findInjectedMastraCoreFilename() {
178
+ const url = core.GLOBAL_OBJ.__SENTRY_ORCHESTRION__?.runtimeFiles?.["@mastra/core"];
179
+ if (!url) {
180
+ return void 0;
181
+ }
182
+ try {
183
+ return url.startsWith("file:") ? node_url.fileURLToPath(url) : url;
184
+ } catch {
185
+ return void 0;
186
+ }
187
+ }
188
+ function findLoadedMastraCoreFilename() {
189
+ const cache = appRequire().cache;
190
+ if (!cache) {
191
+ return void 0;
192
+ }
193
+ for (const filename of Object.keys(cache)) {
194
+ if (filename.replace(/\\/g, "/").includes("/@mastra/core/")) {
195
+ return filename;
196
+ }
197
+ }
198
+ return void 0;
199
+ }
200
+ function tryRequireObservability(parent) {
201
+ try {
202
+ return node_module.createRequire(parent)("@mastra/observability");
203
+ } catch {
204
+ return void 0;
205
+ }
206
+ }
207
+ function loadMastraObservability() {
208
+ const injected = core.GLOBAL_OBJ.__SENTRY_ORCHESTRION__?.providedModules?.["@mastra/observability"];
209
+ if (injected) {
210
+ return injected;
211
+ }
212
+ const parents = /* @__PURE__ */ new Set();
213
+ const injectedCore = findInjectedMastraCoreFilename();
214
+ if (injectedCore) {
215
+ parents.add(injectedCore);
216
+ }
217
+ const loadedCore = findLoadedMastraCoreFilename();
218
+ if (loadedCore) {
219
+ parents.add(loadedCore);
220
+ }
221
+ try {
222
+ parents.add(appRequire().resolve("@mastra/core"));
223
+ } catch {
224
+ }
225
+ parents.add(cwdRequireParent());
226
+ for (const parent of parents) {
227
+ const observability = tryRequireObservability(parent);
228
+ if (observability) {
229
+ return observability;
230
+ }
231
+ }
232
+ throw new Error("Cannot resolve @mastra/observability");
233
+ }
234
+ function createObservabilityBootstrap(exporter) {
235
+ let observabilityModule;
236
+ try {
237
+ observabilityModule = loadMastraObservability();
238
+ } catch {
239
+ warnAboutMissingObservability();
240
+ return void 0;
241
+ }
242
+ const Observability = observabilityModule.Observability;
243
+ const DefaultObservabilityInstance = observabilityModule.DefaultObservabilityInstance;
244
+ if (!Observability || !DefaultObservabilityInstance) {
245
+ debugBuild.DEBUG_BUILD && core.debug.log("[instrumentation:mastra] `@mastra/observability` is missing expected exports");
246
+ return void 0;
247
+ }
248
+ return {
249
+ instance: new DefaultObservabilityInstance({ serviceName: "mastra", exporters: [exporter] }),
250
+ // Empty registry: `new Observability({ configs: { default } })` already registers
251
+ // `"default"`, and `Mastra.registerExporter` then throws `Tracing instance 'default' already registered`.
252
+ entrypoint: new Observability({})
253
+ };
254
+ }
255
+ const mastraIntegration = core.defineIntegration(_mastraIntegration);
256
+
257
+ exports.mastraIntegration = mastraIntegration;
258
+ //# sourceMappingURL=mastra.js.map