@sentry/server-utils 10.68.0 → 11.0.0-alpha.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 (1233) hide show
  1. package/README.md +1 -1
  2. package/build/THIRD-PARTY-LICENSES.txt +976 -0
  3. package/build/cjs/_virtual/_commonjsHelpers.js +8 -0
  4. package/build/cjs/_virtual/_commonjsHelpers.js.map +1 -0
  5. package/build/cjs/_virtual/array-set.js +6 -0
  6. package/build/cjs/_virtual/array-set.js.map +1 -0
  7. package/build/cjs/_virtual/astring.js +6 -0
  8. package/build/cjs/_virtual/astring.js.map +1 -0
  9. package/build/cjs/_virtual/base64-vlq.js +6 -0
  10. package/build/cjs/_virtual/base64-vlq.js.map +1 -0
  11. package/build/cjs/_virtual/base64.js +6 -0
  12. package/build/cjs/_virtual/base64.js.map +1 -0
  13. package/build/cjs/_virtual/binary-search.js +6 -0
  14. package/build/cjs/_virtual/binary-search.js.map +1 -0
  15. package/build/cjs/_virtual/mapping-list.js +6 -0
  16. package/build/cjs/_virtual/mapping-list.js.map +1 -0
  17. package/build/cjs/_virtual/meriyah.js +6 -0
  18. package/build/cjs/_virtual/meriyah.js.map +1 -0
  19. package/build/cjs/_virtual/node.js +6 -0
  20. package/build/cjs/_virtual/node.js.map +1 -0
  21. package/build/cjs/_virtual/quick-sort.js +6 -0
  22. package/build/cjs/_virtual/quick-sort.js.map +1 -0
  23. package/build/cjs/_virtual/source-map-consumer.js +6 -0
  24. package/build/cjs/_virtual/source-map-consumer.js.map +1 -0
  25. package/build/cjs/_virtual/source-map-generator.js +6 -0
  26. package/build/cjs/_virtual/source-map-generator.js.map +1 -0
  27. package/build/cjs/_virtual/source-map.js +6 -0
  28. package/build/cjs/_virtual/source-map.js.map +1 -0
  29. package/build/cjs/_virtual/source-node.js +6 -0
  30. package/build/cjs/_virtual/source-node.js.map +1 -0
  31. package/build/cjs/_virtual/util.js +6 -0
  32. package/build/cjs/_virtual/util.js.map +1 -0
  33. package/build/cjs/ai/anthropic-ai/constants.js +16 -0
  34. package/build/cjs/ai/anthropic-ai/constants.js.map +1 -0
  35. package/build/cjs/ai/anthropic-ai/index.js +250 -0
  36. package/build/cjs/ai/anthropic-ai/index.js.map +1 -0
  37. package/build/cjs/ai/anthropic-ai/streaming.js +154 -0
  38. package/build/cjs/ai/anthropic-ai/streaming.js.map +1 -0
  39. package/build/cjs/ai/anthropic-ai/utils.js +61 -0
  40. package/build/cjs/ai/anthropic-ai/utils.js.map +1 -0
  41. package/build/cjs/ai/core/gen-ai-attributes.js +20 -0
  42. package/build/cjs/ai/core/gen-ai-attributes.js.map +1 -0
  43. package/build/cjs/ai/core/utils.js +134 -0
  44. package/build/cjs/ai/core/utils.js.map +1 -0
  45. package/build/cjs/ai/google-genai/constants.js +17 -0
  46. package/build/cjs/ai/google-genai/constants.js.map +1 -0
  47. package/build/cjs/ai/google-genai/index.js +251 -0
  48. package/build/cjs/ai/google-genai/index.js.map +1 -0
  49. package/build/cjs/ai/google-genai/streaming.js +71 -0
  50. package/build/cjs/ai/google-genai/streaming.js.map +1 -0
  51. package/build/cjs/ai/google-genai/utils.js +21 -0
  52. package/build/cjs/ai/google-genai/utils.js.map +1 -0
  53. package/build/cjs/ai/langchain/constants.js +17 -0
  54. package/build/cjs/ai/langchain/constants.js.map +1 -0
  55. package/build/cjs/ai/langchain/embeddings.js +85 -0
  56. package/build/cjs/ai/langchain/embeddings.js.map +1 -0
  57. package/build/cjs/ai/langchain/index.js +257 -0
  58. package/build/cjs/ai/langchain/index.js.map +1 -0
  59. package/build/cjs/ai/langchain/utils.js +272 -0
  60. package/build/cjs/ai/langchain/utils.js.map +1 -0
  61. package/build/cjs/ai/langgraph/constants.js +8 -0
  62. package/build/cjs/ai/langgraph/constants.js.map +1 -0
  63. package/build/cjs/ai/langgraph/index.js +176 -0
  64. package/build/cjs/ai/langgraph/index.js.map +1 -0
  65. package/build/cjs/ai/langgraph/utils.js +231 -0
  66. package/build/cjs/ai/langgraph/utils.js.map +1 -0
  67. package/build/cjs/ai/openai/constants.js +33 -0
  68. package/build/cjs/ai/openai/constants.js.map +1 -0
  69. package/build/cjs/ai/openai/index.js +173 -0
  70. package/build/cjs/ai/openai/index.js.map +1 -0
  71. package/build/cjs/ai/openai/streaming.js +126 -0
  72. package/build/cjs/ai/openai/streaming.js.map +1 -0
  73. package/build/cjs/ai/openai/utils.js +111 -0
  74. package/build/cjs/ai/openai/utils.js.map +1 -0
  75. package/build/cjs/ai/vercel-ai/constants.js +23 -0
  76. package/build/cjs/ai/vercel-ai/constants.js.map +1 -0
  77. package/build/cjs/ai/vercel-ai/index.js +343 -0
  78. package/build/cjs/ai/vercel-ai/index.js.map +1 -0
  79. package/build/cjs/ai/vercel-ai/utils.js +171 -0
  80. package/build/cjs/ai/vercel-ai/utils.js.map +1 -0
  81. package/build/cjs/ai/vercel-ai/vercel-ai-attributes.js +50 -0
  82. package/build/cjs/ai/vercel-ai/vercel-ai-attributes.js.map +1 -0
  83. package/build/cjs/ai/workers-ai/constants.js +10 -0
  84. package/build/cjs/ai/workers-ai/constants.js.map +1 -0
  85. package/build/cjs/ai/workers-ai/index.js +83 -0
  86. package/build/cjs/ai/workers-ai/index.js.map +1 -0
  87. package/build/cjs/ai/workers-ai/streaming.js +150 -0
  88. package/build/cjs/ai/workers-ai/streaming.js.map +1 -0
  89. package/build/cjs/ai/workers-ai/utils.js +132 -0
  90. package/build/cjs/ai/workers-ai/utils.js.map +1 -0
  91. package/build/cjs/async-context.js +64 -0
  92. package/build/cjs/async-context.js.map +1 -0
  93. package/build/cjs/debug-build.js.map +1 -1
  94. package/build/cjs/graphql/graphql-dc-subscriber.js.map +1 -1
  95. package/build/cjs/graphql/index.js +15 -2
  96. package/build/cjs/graphql/index.js.map +1 -1
  97. package/build/cjs/graphql/utils.js +2 -0
  98. package/build/cjs/graphql/utils.js.map +1 -1
  99. package/build/cjs/index.js +42 -17
  100. package/build/cjs/index.js.map +1 -1
  101. package/build/cjs/index.no-diagnostic-channels.js +31 -0
  102. package/build/cjs/index.no-diagnostic-channels.js.map +1 -0
  103. package/build/cjs/integrations/tracing-channel/amqplib.js +46 -35
  104. package/build/cjs/integrations/tracing-channel/amqplib.js.map +1 -1
  105. package/build/cjs/integrations/tracing-channel/anthropic.js +53 -41
  106. package/build/cjs/integrations/tracing-channel/anthropic.js.map +1 -1
  107. package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js +3 -1
  108. package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js.map +1 -1
  109. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js +114 -115
  110. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js.map +1 -1
  111. package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +1 -1
  112. package/build/cjs/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +1 -1
  113. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +8 -4
  114. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +1 -1
  115. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js +0 -2
  116. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +1 -1
  117. package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js +1 -3
  118. package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +1 -1
  119. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js +0 -1
  120. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js.map +1 -1
  121. package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js +1 -3
  122. package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js.map +1 -1
  123. package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js +1 -3
  124. package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +1 -1
  125. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js +3 -4
  126. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js.map +1 -1
  127. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js +4 -5
  128. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js.map +1 -1
  129. package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js +1 -3
  130. package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +1 -1
  131. package/build/cjs/integrations/tracing-channel/aws-sdk/utils.js.map +1 -1
  132. package/build/cjs/integrations/tracing-channel/dataloader.js +25 -12
  133. package/build/cjs/integrations/tracing-channel/dataloader.js.map +1 -1
  134. package/build/cjs/integrations/tracing-channel/express/index.js +24 -11
  135. package/build/cjs/integrations/tracing-channel/express/index.js.map +1 -1
  136. package/build/cjs/integrations/tracing-channel/express/instrumentation.js +11 -16
  137. package/build/cjs/integrations/tracing-channel/express/instrumentation.js.map +1 -1
  138. package/build/cjs/integrations/tracing-channel/express/route.js.map +1 -1
  139. package/build/cjs/integrations/tracing-channel/fastify/errors.js +14 -1
  140. package/build/cjs/integrations/tracing-channel/fastify/errors.js.map +1 -1
  141. package/build/cjs/integrations/tracing-channel/fastify/index.js.map +1 -1
  142. package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js +25 -10
  143. package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js.map +1 -1
  144. package/build/cjs/integrations/tracing-channel/fastify/utils.js.map +1 -1
  145. package/build/cjs/integrations/tracing-channel/firebase/firestore.js +16 -3
  146. package/build/cjs/integrations/tracing-channel/firebase/firestore.js.map +1 -1
  147. package/build/cjs/integrations/tracing-channel/firebase/functions.js +6 -4
  148. package/build/cjs/integrations/tracing-channel/firebase/functions.js.map +1 -1
  149. package/build/cjs/integrations/tracing-channel/firebase/index.js +8 -12
  150. package/build/cjs/integrations/tracing-channel/firebase/index.js.map +1 -1
  151. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js +17 -14
  152. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js.map +1 -1
  153. package/build/cjs/integrations/tracing-channel/generic-pool.js +22 -10
  154. package/build/cjs/integrations/tracing-channel/generic-pool.js.map +1 -1
  155. package/build/cjs/integrations/tracing-channel/google-genai.js +54 -42
  156. package/build/cjs/integrations/tracing-channel/google-genai.js.map +1 -1
  157. package/build/cjs/integrations/tracing-channel/graphql/constants.js.map +1 -1
  158. package/build/cjs/integrations/tracing-channel/graphql/index.js +40 -36
  159. package/build/cjs/integrations/tracing-channel/graphql/index.js.map +1 -1
  160. package/build/cjs/integrations/tracing-channel/graphql/resolvers.js.map +1 -1
  161. package/build/cjs/integrations/tracing-channel/graphql/spans.js.map +1 -1
  162. package/build/cjs/integrations/tracing-channel/hapi-types.js.map +1 -1
  163. package/build/cjs/integrations/tracing-channel/hapi-utils.js +13 -21
  164. package/build/cjs/integrations/tracing-channel/hapi-utils.js.map +1 -1
  165. package/build/cjs/integrations/tracing-channel/hapi.js +51 -36
  166. package/build/cjs/integrations/tracing-channel/hapi.js.map +1 -1
  167. package/build/cjs/integrations/tracing-channel/ioredis.js +52 -41
  168. package/build/cjs/integrations/tracing-channel/ioredis.js.map +1 -1
  169. package/build/cjs/integrations/tracing-channel/kafkajs/consumer.js.map +1 -1
  170. package/build/cjs/integrations/tracing-channel/kafkajs/index.js +28 -15
  171. package/build/cjs/integrations/tracing-channel/kafkajs/index.js.map +1 -1
  172. package/build/cjs/integrations/tracing-channel/kafkajs/semconv.js.map +1 -1
  173. package/build/cjs/integrations/tracing-channel/kafkajs/spans.js +8 -7
  174. package/build/cjs/integrations/tracing-channel/kafkajs/spans.js.map +1 -1
  175. package/build/cjs/integrations/tracing-channel/knex.js +24 -10
  176. package/build/cjs/integrations/tracing-channel/knex.js.map +1 -1
  177. package/build/cjs/integrations/tracing-channel/koa.js +42 -39
  178. package/build/cjs/integrations/tracing-channel/koa.js.map +1 -1
  179. package/build/cjs/integrations/tracing-channel/langchain.js +59 -40
  180. package/build/cjs/integrations/tracing-channel/langchain.js.map +1 -1
  181. package/build/cjs/integrations/tracing-channel/langgraph.js +64 -64
  182. package/build/cjs/integrations/tracing-channel/langgraph.js.map +1 -1
  183. package/build/cjs/integrations/tracing-channel/lru-memoizer.js +27 -16
  184. package/build/cjs/integrations/tracing-channel/lru-memoizer.js.map +1 -1
  185. package/build/cjs/integrations/tracing-channel/mongodb.js +29 -16
  186. package/build/cjs/integrations/tracing-channel/mongodb.js.map +1 -1
  187. package/build/cjs/integrations/tracing-channel/mongoose.js +25 -13
  188. package/build/cjs/integrations/tracing-channel/mongoose.js.map +1 -1
  189. package/build/cjs/integrations/tracing-channel/mysql.js +65 -53
  190. package/build/cjs/integrations/tracing-channel/mysql.js.map +1 -1
  191. package/build/cjs/integrations/tracing-channel/mysql2.js +27 -10
  192. package/build/cjs/integrations/tracing-channel/mysql2.js.map +1 -1
  193. package/build/cjs/integrations/tracing-channel/openai.js +46 -34
  194. package/build/cjs/integrations/tracing-channel/openai.js.map +1 -1
  195. package/build/cjs/integrations/tracing-channel/postgres-js.js +96 -84
  196. package/build/cjs/integrations/tracing-channel/postgres-js.js.map +1 -1
  197. package/build/cjs/integrations/tracing-channel/postgres.js +35 -19
  198. package/build/cjs/integrations/tracing-channel/postgres.js.map +1 -1
  199. package/build/cjs/integrations/tracing-channel/redis.js +52 -31
  200. package/build/cjs/integrations/tracing-channel/redis.js.map +1 -1
  201. package/build/cjs/integrations/tracing-channel/tedious.js +35 -22
  202. package/build/cjs/integrations/tracing-channel/tedious.js.map +1 -1
  203. package/build/cjs/integrations/tracing-channel/vercel-ai.js +23 -10
  204. package/build/cjs/integrations/tracing-channel/vercel-ai.js.map +1 -1
  205. package/build/cjs/mongodb/mongodb-span.js +15 -18
  206. package/build/cjs/mongodb/mongodb-span.js.map +1 -1
  207. package/build/cjs/mongoose/index.js +15 -2
  208. package/build/cjs/mongoose/index.js.map +1 -1
  209. package/build/cjs/mongoose/mongoose-dc-subscriber.js.map +1 -1
  210. package/build/cjs/mongoose/mongoose-legacy-span.js +4 -3
  211. package/build/cjs/mongoose/mongoose-legacy-span.js.map +1 -1
  212. package/build/cjs/mysql2/index.js +15 -2
  213. package/build/cjs/mysql2/index.js.map +1 -1
  214. package/build/cjs/mysql2/mysql2-dc-subscriber.js.map +1 -1
  215. package/build/cjs/orchestrion/bundler/esbuild.js +22 -6
  216. package/build/cjs/orchestrion/bundler/esbuild.js.map +1 -1
  217. package/build/cjs/orchestrion/bundler/moduleInjectedTransform.js +43 -0
  218. package/build/cjs/orchestrion/bundler/moduleInjectedTransform.js.map +1 -0
  219. package/build/cjs/orchestrion/bundler/options.js +5 -19
  220. package/build/cjs/orchestrion/bundler/options.js.map +1 -1
  221. package/build/cjs/orchestrion/bundler/resolve.js +23 -0
  222. package/build/cjs/orchestrion/bundler/resolve.js.map +1 -0
  223. package/build/cjs/orchestrion/bundler/rollup.js +21 -6
  224. package/build/cjs/orchestrion/bundler/rollup.js.map +1 -1
  225. package/build/cjs/orchestrion/bundler/vite.js +45 -7
  226. package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
  227. package/build/cjs/orchestrion/bundler/webpack-loader.js +22 -0
  228. package/build/cjs/orchestrion/bundler/webpack-loader.js.map +1 -0
  229. package/build/cjs/orchestrion/bundler/webpack.js +45 -24
  230. package/build/cjs/orchestrion/bundler/webpack.js.map +1 -1
  231. package/build/cjs/orchestrion/channels.js.map +1 -1
  232. package/build/cjs/orchestrion/config/amqplib.js +3 -3
  233. package/build/cjs/orchestrion/config/amqplib.js.map +1 -1
  234. package/build/cjs/orchestrion/config/anthropic-ai.js +3 -3
  235. package/build/cjs/orchestrion/config/anthropic-ai.js.map +1 -1
  236. package/build/cjs/orchestrion/config/aws-sdk.js +3 -3
  237. package/build/cjs/orchestrion/config/aws-sdk.js.map +1 -1
  238. package/build/cjs/orchestrion/config/channel-integration-definitions.js +16 -16
  239. package/build/cjs/orchestrion/config/channel-integration-definitions.js.map +1 -1
  240. package/build/cjs/orchestrion/config/dataloader.js +0 -4
  241. package/build/cjs/orchestrion/config/dataloader.js.map +1 -1
  242. package/build/cjs/orchestrion/config/express.js +4 -4
  243. package/build/cjs/orchestrion/config/express.js.map +1 -1
  244. package/build/cjs/orchestrion/config/firebase.js +3 -3
  245. package/build/cjs/orchestrion/config/firebase.js.map +1 -1
  246. package/build/cjs/orchestrion/config/generic-pool.js +3 -3
  247. package/build/cjs/orchestrion/config/generic-pool.js.map +1 -1
  248. package/build/cjs/orchestrion/config/google-genai.js +8 -7
  249. package/build/cjs/orchestrion/config/google-genai.js.map +1 -1
  250. package/build/cjs/orchestrion/config/graphql.js +3 -3
  251. package/build/cjs/orchestrion/config/graphql.js.map +1 -1
  252. package/build/cjs/orchestrion/config/hapi.js +3 -3
  253. package/build/cjs/orchestrion/config/hapi.js.map +1 -1
  254. package/build/cjs/orchestrion/config/index.js +3 -32
  255. package/build/cjs/orchestrion/config/index.js.map +1 -1
  256. package/build/cjs/orchestrion/config/ioredis.js +3 -3
  257. package/build/cjs/orchestrion/config/ioredis.js.map +1 -1
  258. package/build/cjs/orchestrion/config/kafkajs.js +3 -3
  259. package/build/cjs/orchestrion/config/kafkajs.js.map +1 -1
  260. package/build/cjs/orchestrion/config/knex.js +0 -4
  261. package/build/cjs/orchestrion/config/knex.js.map +1 -1
  262. package/build/cjs/orchestrion/config/koa.js +3 -3
  263. package/build/cjs/orchestrion/config/koa.js.map +1 -1
  264. package/build/cjs/orchestrion/config/langchain.js +3 -3
  265. package/build/cjs/orchestrion/config/langchain.js.map +1 -1
  266. package/build/cjs/orchestrion/config/langgraph.js +3 -3
  267. package/build/cjs/orchestrion/config/langgraph.js.map +1 -1
  268. package/build/cjs/orchestrion/config/lru-memoizer.js +3 -3
  269. package/build/cjs/orchestrion/config/lru-memoizer.js.map +1 -1
  270. package/build/cjs/orchestrion/config/module-names.js +8 -0
  271. package/build/cjs/orchestrion/config/module-names.js.map +1 -0
  272. package/build/cjs/orchestrion/config/mongodb.js +3 -3
  273. package/build/cjs/orchestrion/config/mongodb.js.map +1 -1
  274. package/build/cjs/orchestrion/config/mongoose.js +3 -3
  275. package/build/cjs/orchestrion/config/mongoose.js.map +1 -1
  276. package/build/cjs/orchestrion/config/mysql.js +3 -3
  277. package/build/cjs/orchestrion/config/mysql.js.map +1 -1
  278. package/build/cjs/orchestrion/config/mysql2.js +3 -3
  279. package/build/cjs/orchestrion/config/mysql2.js.map +1 -1
  280. package/build/cjs/orchestrion/config/nestjs.js +0 -4
  281. package/build/cjs/orchestrion/config/nestjs.js.map +1 -1
  282. package/build/cjs/orchestrion/config/openai.js +3 -3
  283. package/build/cjs/orchestrion/config/openai.js.map +1 -1
  284. package/build/cjs/orchestrion/config/pg.js +3 -3
  285. package/build/cjs/orchestrion/config/pg.js.map +1 -1
  286. package/build/cjs/orchestrion/config/postgres.js +3 -3
  287. package/build/cjs/orchestrion/config/postgres.js.map +1 -1
  288. package/build/cjs/orchestrion/config/redis.js +3 -3
  289. package/build/cjs/orchestrion/config/redis.js.map +1 -1
  290. package/build/cjs/orchestrion/config/remix.js +0 -4
  291. package/build/cjs/orchestrion/config/remix.js.map +1 -1
  292. package/build/cjs/orchestrion/config/tedious.js +3 -3
  293. package/build/cjs/orchestrion/config/tedious.js.map +1 -1
  294. package/build/cjs/orchestrion/config/vercel-ai.js +3 -3
  295. package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -1
  296. package/build/cjs/orchestrion/detect.js +7 -1
  297. package/build/cjs/orchestrion/detect.js.map +1 -1
  298. package/build/cjs/orchestrion/index.js +51 -50
  299. package/build/cjs/orchestrion/index.js.map +1 -1
  300. package/build/cjs/orchestrion/instrumentation.js +86 -0
  301. package/build/cjs/orchestrion/instrumentation.js.map +1 -0
  302. package/build/cjs/orchestrion/moduleInjected.js +21 -0
  303. package/build/cjs/orchestrion/moduleInjected.js.map +1 -0
  304. package/build/cjs/orchestrion/runtime/hook.js +17 -0
  305. package/build/cjs/orchestrion/runtime/hook.js.map +1 -0
  306. package/build/cjs/orchestrion/runtime/register.js +46 -43
  307. package/build/cjs/orchestrion/runtime/register.js.map +1 -1
  308. package/build/cjs/otlp.js +45 -0
  309. package/build/cjs/otlp.js.map +1 -0
  310. package/build/cjs/prisma/global.js.map +1 -1
  311. package/build/cjs/prisma/index.js.map +1 -1
  312. package/build/cjs/prisma/tracing-helper.js +18 -10
  313. package/build/cjs/prisma/tracing-helper.js.map +1 -1
  314. package/build/cjs/redis/index.js +15 -2
  315. package/build/cjs/redis/index.js.map +1 -1
  316. package/build/cjs/redis/redis-dc-subscriber.js +5 -3
  317. package/build/cjs/redis/redis-dc-subscriber.js.map +1 -1
  318. package/build/cjs/redis/redis-statement-serializer.js.map +1 -1
  319. package/build/cjs/tracing-channel.js +9 -0
  320. package/build/cjs/tracing-channel.js.map +1 -1
  321. package/build/cjs/utils/setHttpServerSpanRouteAttribute.js +26 -0
  322. package/build/cjs/utils/setHttpServerSpanRouteAttribute.js.map +1 -0
  323. package/build/cjs/vendored/@apm-js-collab/code-transformer/index.js +8 -0
  324. package/build/cjs/vendored/@apm-js-collab/code-transformer/index.js.map +1 -0
  325. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/index.js +12 -0
  326. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/index.js.map +1 -0
  327. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/matcher.js +86 -0
  328. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/matcher.js.map +1 -0
  329. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transformer.js +316 -0
  330. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transformer.js.map +1 -0
  331. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transforms.js +442 -0
  332. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transforms.js.map +1 -0
  333. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js +219 -0
  334. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js.map +1 -0
  335. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js +98 -0
  336. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js.map +1 -0
  337. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js +52 -0
  338. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -0
  339. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js +1069 -0
  340. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js.map +1 -0
  341. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js +14 -0
  342. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js.map +1 -0
  343. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js +117 -0
  344. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js.map +1 -0
  345. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js +104 -0
  346. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -0
  347. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/hook.js +166 -0
  348. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/hook.js.map +1 -0
  349. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/index.js +88 -0
  350. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/index.js.map +1 -0
  351. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js +15 -0
  352. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js.map +1 -0
  353. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js +30 -0
  354. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js.map +1 -0
  355. package/build/cjs/vendored/astring/dist/astring.js +1068 -0
  356. package/build/cjs/vendored/astring/dist/astring.js.map +1 -0
  357. package/build/cjs/vendored/debug/src/common.js +178 -0
  358. package/build/cjs/vendored/debug/src/common.js.map +1 -0
  359. package/build/cjs/vendored/debug/src/node.js +186 -0
  360. package/build/cjs/vendored/debug/src/node.js.map +1 -0
  361. package/build/cjs/vendored/esquery/dist/esquery.esm.min.js +847 -0
  362. package/build/cjs/vendored/esquery/dist/esquery.esm.min.js.map +1 -0
  363. package/build/cjs/vendored/has-flag/index.js +11 -0
  364. package/build/cjs/vendored/has-flag/index.js.map +1 -0
  365. package/build/cjs/vendored/meriyah/dist/meriyah.js +9192 -0
  366. package/build/cjs/vendored/meriyah/dist/meriyah.js.map +1 -0
  367. package/build/cjs/vendored/meriyah/dist/meriyah2.js +9209 -0
  368. package/build/cjs/vendored/meriyah/dist/meriyah2.js.map +1 -0
  369. package/build/cjs/vendored/module-details-from-path/index.js +44 -0
  370. package/build/cjs/vendored/module-details-from-path/index.js.map +1 -0
  371. package/build/cjs/vendored/ms/index.js +115 -0
  372. package/build/cjs/vendored/ms/index.js.map +1 -0
  373. package/build/cjs/vendored/semifies/index.js +111 -0
  374. package/build/cjs/vendored/semifies/index.js.map +1 -0
  375. package/build/cjs/vendored/source-map/lib/array-set.js +73 -0
  376. package/build/cjs/vendored/source-map/lib/array-set.js.map +1 -0
  377. package/build/cjs/vendored/source-map/lib/base64-vlq.js +57 -0
  378. package/build/cjs/vendored/source-map/lib/base64-vlq.js.map +1 -0
  379. package/build/cjs/vendored/source-map/lib/base64.js +42 -0
  380. package/build/cjs/vendored/source-map/lib/base64.js.map +1 -0
  381. package/build/cjs/vendored/source-map/lib/binary-search.js +55 -0
  382. package/build/cjs/vendored/source-map/lib/binary-search.js.map +1 -0
  383. package/build/cjs/vendored/source-map/lib/mapping-list.js +42 -0
  384. package/build/cjs/vendored/source-map/lib/mapping-list.js.map +1 -0
  385. package/build/cjs/vendored/source-map/lib/quick-sort.js +36 -0
  386. package/build/cjs/vendored/source-map/lib/quick-sort.js.map +1 -0
  387. package/build/cjs/vendored/source-map/lib/source-map-consumer.js +612 -0
  388. package/build/cjs/vendored/source-map/lib/source-map-consumer.js.map +1 -0
  389. package/build/cjs/vendored/source-map/lib/source-map-generator.js +285 -0
  390. package/build/cjs/vendored/source-map/lib/source-map-generator.js.map +1 -0
  391. package/build/cjs/vendored/source-map/lib/source-node.js +270 -0
  392. package/build/cjs/vendored/source-map/lib/source-node.js.map +1 -0
  393. package/build/cjs/vendored/source-map/lib/util.js +300 -0
  394. package/build/cjs/vendored/source-map/lib/util.js.map +1 -0
  395. package/build/cjs/vendored/source-map/source-map.js +16 -0
  396. package/build/cjs/vendored/source-map/source-map.js.map +1 -0
  397. package/build/cjs/vendored/supports-color/index.js +104 -0
  398. package/build/cjs/vendored/supports-color/index.js.map +1 -0
  399. package/build/cjs/vercel-ai/index.js +15 -2
  400. package/build/cjs/vercel-ai/index.js.map +1 -1
  401. package/build/cjs/vercel-ai/util.js.map +1 -1
  402. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js +19 -19
  403. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
  404. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js +1 -1
  405. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
  406. package/build/esm/_virtual/_commonjsHelpers.js +6 -0
  407. package/build/esm/_virtual/_commonjsHelpers.js.map +1 -0
  408. package/build/esm/_virtual/array-set.js +4 -0
  409. package/build/esm/_virtual/array-set.js.map +1 -0
  410. package/build/esm/_virtual/astring.js +4 -0
  411. package/build/esm/_virtual/astring.js.map +1 -0
  412. package/build/esm/_virtual/base64-vlq.js +4 -0
  413. package/build/esm/_virtual/base64-vlq.js.map +1 -0
  414. package/build/esm/_virtual/base64.js +4 -0
  415. package/build/esm/_virtual/base64.js.map +1 -0
  416. package/build/esm/_virtual/binary-search.js +4 -0
  417. package/build/esm/_virtual/binary-search.js.map +1 -0
  418. package/build/esm/_virtual/mapping-list.js +4 -0
  419. package/build/esm/_virtual/mapping-list.js.map +1 -0
  420. package/build/esm/_virtual/meriyah.js +4 -0
  421. package/build/esm/_virtual/meriyah.js.map +1 -0
  422. package/build/esm/_virtual/node.js +4 -0
  423. package/build/esm/_virtual/node.js.map +1 -0
  424. package/build/esm/_virtual/quick-sort.js +4 -0
  425. package/build/esm/_virtual/quick-sort.js.map +1 -0
  426. package/build/esm/_virtual/source-map-consumer.js +4 -0
  427. package/build/esm/_virtual/source-map-consumer.js.map +1 -0
  428. package/build/esm/_virtual/source-map-generator.js +4 -0
  429. package/build/esm/_virtual/source-map-generator.js.map +1 -0
  430. package/build/esm/_virtual/source-map.js +4 -0
  431. package/build/esm/_virtual/source-map.js.map +1 -0
  432. package/build/esm/_virtual/source-node.js +4 -0
  433. package/build/esm/_virtual/source-node.js.map +1 -0
  434. package/build/esm/_virtual/util.js +4 -0
  435. package/build/esm/_virtual/util.js.map +1 -0
  436. package/build/esm/ai/anthropic-ai/constants.js +13 -0
  437. package/build/esm/ai/anthropic-ai/constants.js.map +1 -0
  438. package/build/esm/ai/anthropic-ai/index.js +245 -0
  439. package/build/esm/ai/anthropic-ai/index.js.map +1 -0
  440. package/build/esm/ai/anthropic-ai/streaming.js +151 -0
  441. package/build/esm/ai/anthropic-ai/streaming.js.map +1 -0
  442. package/build/esm/ai/anthropic-ai/utils.js +56 -0
  443. package/build/esm/ai/anthropic-ai/utils.js.map +1 -0
  444. package/build/esm/ai/core/gen-ai-attributes.js +11 -0
  445. package/build/esm/ai/core/gen-ai-attributes.js.map +1 -0
  446. package/build/esm/ai/core/utils.js +126 -0
  447. package/build/esm/ai/core/utils.js.map +1 -0
  448. package/build/esm/ai/google-genai/constants.js +13 -0
  449. package/build/esm/ai/google-genai/constants.js.map +1 -0
  450. package/build/esm/ai/google-genai/index.js +245 -0
  451. package/build/esm/ai/google-genai/index.js.map +1 -0
  452. package/build/esm/ai/google-genai/streaming.js +69 -0
  453. package/build/esm/ai/google-genai/streaming.js.map +1 -0
  454. package/build/esm/ai/google-genai/utils.js +19 -0
  455. package/build/esm/ai/google-genai/utils.js.map +1 -0
  456. package/build/esm/ai/langchain/constants.js +13 -0
  457. package/build/esm/ai/langchain/constants.js.map +1 -0
  458. package/build/esm/ai/langchain/embeddings.js +81 -0
  459. package/build/esm/ai/langchain/embeddings.js.map +1 -0
  460. package/build/esm/ai/langchain/index.js +255 -0
  461. package/build/esm/ai/langchain/index.js.map +1 -0
  462. package/build/esm/ai/langchain/utils.js +263 -0
  463. package/build/esm/ai/langchain/utils.js.map +1 -0
  464. package/build/esm/ai/langgraph/constants.js +5 -0
  465. package/build/esm/ai/langgraph/constants.js.map +1 -0
  466. package/build/esm/ai/langgraph/index.js +171 -0
  467. package/build/esm/ai/langgraph/index.js.map +1 -0
  468. package/build/esm/ai/langgraph/utils.js +222 -0
  469. package/build/esm/ai/langgraph/utils.js.map +1 -0
  470. package/build/esm/ai/openai/constants.js +28 -0
  471. package/build/esm/ai/openai/constants.js.map +1 -0
  472. package/build/esm/ai/openai/index.js +169 -0
  473. package/build/esm/ai/openai/index.js.map +1 -0
  474. package/build/esm/ai/openai/streaming.js +124 -0
  475. package/build/esm/ai/openai/streaming.js.map +1 -0
  476. package/build/esm/ai/openai/utils.js +106 -0
  477. package/build/esm/ai/openai/utils.js.map +1 -0
  478. package/build/esm/ai/vercel-ai/constants.js +19 -0
  479. package/build/esm/ai/vercel-ai/constants.js.map +1 -0
  480. package/build/esm/ai/vercel-ai/index.js +339 -0
  481. package/build/esm/ai/vercel-ai/index.js.map +1 -0
  482. package/build/esm/ai/vercel-ai/utils.js +164 -0
  483. package/build/esm/ai/vercel-ai/utils.js.map +1 -0
  484. package/build/esm/ai/vercel-ai/vercel-ai-attributes.js +26 -0
  485. package/build/esm/ai/vercel-ai/vercel-ai-attributes.js.map +1 -0
  486. package/build/esm/ai/workers-ai/constants.js +6 -0
  487. package/build/esm/ai/workers-ai/constants.js.map +1 -0
  488. package/build/esm/ai/workers-ai/index.js +81 -0
  489. package/build/esm/ai/workers-ai/index.js.map +1 -0
  490. package/build/esm/ai/workers-ai/streaming.js +148 -0
  491. package/build/esm/ai/workers-ai/streaming.js.map +1 -0
  492. package/build/esm/ai/workers-ai/utils.js +126 -0
  493. package/build/esm/ai/workers-ai/utils.js.map +1 -0
  494. package/build/esm/async-context.js +62 -0
  495. package/build/esm/async-context.js.map +1 -0
  496. package/build/esm/debug-build.js.map +1 -1
  497. package/build/esm/graphql/graphql-dc-subscriber.js.map +1 -1
  498. package/build/esm/graphql/index.js.map +1 -1
  499. package/build/esm/graphql/utils.js +3 -1
  500. package/build/esm/graphql/utils.js.map +1 -1
  501. package/build/esm/index.js +11 -0
  502. package/build/esm/index.js.map +1 -1
  503. package/build/esm/index.no-diagnostic-channels.js +12 -0
  504. package/build/esm/index.no-diagnostic-channels.js.map +1 -0
  505. package/build/esm/integrations/tracing-channel/amqplib.js +25 -27
  506. package/build/esm/integrations/tracing-channel/amqplib.js.map +1 -1
  507. package/build/esm/integrations/tracing-channel/anthropic.js +35 -36
  508. package/build/esm/integrations/tracing-channel/anthropic.js.map +1 -1
  509. package/build/esm/integrations/tracing-channel/aws-sdk/constants.js +3 -2
  510. package/build/esm/integrations/tracing-channel/aws-sdk/constants.js.map +1 -1
  511. package/build/esm/integrations/tracing-channel/aws-sdk/index.js +105 -119
  512. package/build/esm/integrations/tracing-channel/aws-sdk/index.js.map +1 -1
  513. package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +1 -1
  514. package/build/esm/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +1 -1
  515. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +10 -6
  516. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +1 -1
  517. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js +0 -2
  518. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +1 -1
  519. package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js +1 -3
  520. package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +1 -1
  521. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js +1 -2
  522. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js.map +1 -1
  523. package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js +1 -3
  524. package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js.map +1 -1
  525. package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js +1 -3
  526. package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +1 -1
  527. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js +5 -6
  528. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js.map +1 -1
  529. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js +6 -7
  530. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js.map +1 -1
  531. package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js +1 -3
  532. package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +1 -1
  533. package/build/esm/integrations/tracing-channel/aws-sdk/utils.js.map +1 -1
  534. package/build/esm/integrations/tracing-channel/dataloader.js +10 -10
  535. package/build/esm/integrations/tracing-channel/dataloader.js.map +1 -1
  536. package/build/esm/integrations/tracing-channel/express/index.js +11 -11
  537. package/build/esm/integrations/tracing-channel/express/index.js.map +1 -1
  538. package/build/esm/integrations/tracing-channel/express/instrumentation.js +13 -18
  539. package/build/esm/integrations/tracing-channel/express/instrumentation.js.map +1 -1
  540. package/build/esm/integrations/tracing-channel/express/route.js.map +1 -1
  541. package/build/esm/integrations/tracing-channel/fastify/errors.js.map +1 -1
  542. package/build/esm/integrations/tracing-channel/fastify/index.js.map +1 -1
  543. package/build/esm/integrations/tracing-channel/fastify/instrumentation.js +13 -11
  544. package/build/esm/integrations/tracing-channel/fastify/instrumentation.js.map +1 -1
  545. package/build/esm/integrations/tracing-channel/fastify/utils.js.map +1 -1
  546. package/build/esm/integrations/tracing-channel/firebase/firestore.js +4 -4
  547. package/build/esm/integrations/tracing-channel/firebase/firestore.js.map +1 -1
  548. package/build/esm/integrations/tracing-channel/firebase/functions.js +8 -6
  549. package/build/esm/integrations/tracing-channel/firebase/functions.js.map +1 -1
  550. package/build/esm/integrations/tracing-channel/firebase/index.js +8 -12
  551. package/build/esm/integrations/tracing-channel/firebase/index.js.map +1 -1
  552. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js +3 -13
  553. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js.map +1 -1
  554. package/build/esm/integrations/tracing-channel/generic-pool.js +9 -10
  555. package/build/esm/integrations/tracing-channel/generic-pool.js.map +1 -1
  556. package/build/esm/integrations/tracing-channel/google-genai.js +38 -39
  557. package/build/esm/integrations/tracing-channel/google-genai.js.map +1 -1
  558. package/build/esm/integrations/tracing-channel/graphql/constants.js.map +1 -1
  559. package/build/esm/integrations/tracing-channel/graphql/index.js +30 -39
  560. package/build/esm/integrations/tracing-channel/graphql/index.js.map +1 -1
  561. package/build/esm/integrations/tracing-channel/graphql/resolvers.js.map +1 -1
  562. package/build/esm/integrations/tracing-channel/graphql/spans.js.map +1 -1
  563. package/build/esm/integrations/tracing-channel/hapi-types.js.map +1 -1
  564. package/build/esm/integrations/tracing-channel/hapi-utils.js +14 -22
  565. package/build/esm/integrations/tracing-channel/hapi-utils.js.map +1 -1
  566. package/build/esm/integrations/tracing-channel/hapi.js +39 -37
  567. package/build/esm/integrations/tracing-channel/hapi.js.map +1 -1
  568. package/build/esm/integrations/tracing-channel/ioredis.js +40 -42
  569. package/build/esm/integrations/tracing-channel/ioredis.js.map +1 -1
  570. package/build/esm/integrations/tracing-channel/kafkajs/consumer.js.map +1 -1
  571. package/build/esm/integrations/tracing-channel/kafkajs/index.js +14 -14
  572. package/build/esm/integrations/tracing-channel/kafkajs/index.js.map +1 -1
  573. package/build/esm/integrations/tracing-channel/kafkajs/semconv.js.map +1 -1
  574. package/build/esm/integrations/tracing-channel/kafkajs/spans.js +10 -9
  575. package/build/esm/integrations/tracing-channel/kafkajs/spans.js.map +1 -1
  576. package/build/esm/integrations/tracing-channel/knex.js +10 -9
  577. package/build/esm/integrations/tracing-channel/knex.js.map +1 -1
  578. package/build/esm/integrations/tracing-channel/koa.js +30 -40
  579. package/build/esm/integrations/tracing-channel/koa.js.map +1 -1
  580. package/build/esm/integrations/tracing-channel/langchain.js +45 -39
  581. package/build/esm/integrations/tracing-channel/langchain.js.map +1 -1
  582. package/build/esm/integrations/tracing-channel/langgraph.js +50 -63
  583. package/build/esm/integrations/tracing-channel/langgraph.js.map +1 -1
  584. package/build/esm/integrations/tracing-channel/lru-memoizer.js +15 -17
  585. package/build/esm/integrations/tracing-channel/lru-memoizer.js.map +1 -1
  586. package/build/esm/integrations/tracing-channel/mongodb.js +14 -14
  587. package/build/esm/integrations/tracing-channel/mongodb.js.map +1 -1
  588. package/build/esm/integrations/tracing-channel/mongoose.js +11 -12
  589. package/build/esm/integrations/tracing-channel/mongoose.js.map +1 -1
  590. package/build/esm/integrations/tracing-channel/mysql.js +53 -54
  591. package/build/esm/integrations/tracing-channel/mysql.js.map +1 -1
  592. package/build/esm/integrations/tracing-channel/mysql2.js +14 -10
  593. package/build/esm/integrations/tracing-channel/mysql2.js.map +1 -1
  594. package/build/esm/integrations/tracing-channel/openai.js +32 -33
  595. package/build/esm/integrations/tracing-channel/openai.js.map +1 -1
  596. package/build/esm/integrations/tracing-channel/postgres-js.js +85 -86
  597. package/build/esm/integrations/tracing-channel/postgres-js.js.map +1 -1
  598. package/build/esm/integrations/tracing-channel/postgres.js +22 -19
  599. package/build/esm/integrations/tracing-channel/postgres.js.map +1 -1
  600. package/build/esm/integrations/tracing-channel/redis.js +37 -29
  601. package/build/esm/integrations/tracing-channel/redis.js.map +1 -1
  602. package/build/esm/integrations/tracing-channel/tedious.js +22 -22
  603. package/build/esm/integrations/tracing-channel/tedious.js.map +1 -1
  604. package/build/esm/integrations/tracing-channel/vercel-ai.js +13 -13
  605. package/build/esm/integrations/tracing-channel/vercel-ai.js.map +1 -1
  606. package/build/esm/mongodb/mongodb-span.js +13 -16
  607. package/build/esm/mongodb/mongodb-span.js.map +1 -1
  608. package/build/esm/mongoose/index.js.map +1 -1
  609. package/build/esm/mongoose/mongoose-dc-subscriber.js.map +1 -1
  610. package/build/esm/mongoose/mongoose-legacy-span.js +3 -2
  611. package/build/esm/mongoose/mongoose-legacy-span.js.map +1 -1
  612. package/build/esm/mysql2/index.js.map +1 -1
  613. package/build/esm/mysql2/mysql2-dc-subscriber.js.map +1 -1
  614. package/build/esm/orchestrion/bundler/esbuild.js +22 -2
  615. package/build/esm/orchestrion/bundler/esbuild.js.map +1 -1
  616. package/build/esm/orchestrion/bundler/moduleInjectedTransform.js +40 -0
  617. package/build/esm/orchestrion/bundler/moduleInjectedTransform.js.map +1 -0
  618. package/build/esm/orchestrion/bundler/options.js +5 -20
  619. package/build/esm/orchestrion/bundler/options.js.map +1 -1
  620. package/build/esm/orchestrion/bundler/resolve.js +20 -0
  621. package/build/esm/orchestrion/bundler/resolve.js.map +1 -0
  622. package/build/esm/orchestrion/bundler/rollup.js +21 -2
  623. package/build/esm/orchestrion/bundler/rollup.js.map +1 -1
  624. package/build/esm/orchestrion/bundler/vite.js +46 -4
  625. package/build/esm/orchestrion/bundler/vite.js.map +1 -1
  626. package/build/esm/orchestrion/bundler/webpack-loader.js +20 -0
  627. package/build/esm/orchestrion/bundler/webpack-loader.js.map +1 -0
  628. package/build/esm/orchestrion/bundler/webpack.js +43 -18
  629. package/build/esm/orchestrion/bundler/webpack.js.map +1 -1
  630. package/build/esm/orchestrion/channels.js.map +1 -1
  631. package/build/esm/orchestrion/config/amqplib.js +3 -3
  632. package/build/esm/orchestrion/config/amqplib.js.map +1 -1
  633. package/build/esm/orchestrion/config/anthropic-ai.js +3 -3
  634. package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -1
  635. package/build/esm/orchestrion/config/aws-sdk.js +3 -3
  636. package/build/esm/orchestrion/config/aws-sdk.js.map +1 -1
  637. package/build/esm/orchestrion/config/channel-integration-definitions.js +16 -16
  638. package/build/esm/orchestrion/config/channel-integration-definitions.js.map +1 -1
  639. package/build/esm/orchestrion/config/dataloader.js +1 -4
  640. package/build/esm/orchestrion/config/dataloader.js.map +1 -1
  641. package/build/esm/orchestrion/config/express.js +4 -4
  642. package/build/esm/orchestrion/config/express.js.map +1 -1
  643. package/build/esm/orchestrion/config/firebase.js +3 -3
  644. package/build/esm/orchestrion/config/firebase.js.map +1 -1
  645. package/build/esm/orchestrion/config/generic-pool.js +3 -3
  646. package/build/esm/orchestrion/config/generic-pool.js.map +1 -1
  647. package/build/esm/orchestrion/config/google-genai.js +8 -7
  648. package/build/esm/orchestrion/config/google-genai.js.map +1 -1
  649. package/build/esm/orchestrion/config/graphql.js +3 -3
  650. package/build/esm/orchestrion/config/graphql.js.map +1 -1
  651. package/build/esm/orchestrion/config/hapi.js +3 -3
  652. package/build/esm/orchestrion/config/hapi.js.map +1 -1
  653. package/build/esm/orchestrion/config/index.js +31 -61
  654. package/build/esm/orchestrion/config/index.js.map +1 -1
  655. package/build/esm/orchestrion/config/ioredis.js +3 -3
  656. package/build/esm/orchestrion/config/ioredis.js.map +1 -1
  657. package/build/esm/orchestrion/config/kafkajs.js +3 -3
  658. package/build/esm/orchestrion/config/kafkajs.js.map +1 -1
  659. package/build/esm/orchestrion/config/knex.js +1 -4
  660. package/build/esm/orchestrion/config/knex.js.map +1 -1
  661. package/build/esm/orchestrion/config/koa.js +3 -3
  662. package/build/esm/orchestrion/config/koa.js.map +1 -1
  663. package/build/esm/orchestrion/config/langchain.js +3 -3
  664. package/build/esm/orchestrion/config/langchain.js.map +1 -1
  665. package/build/esm/orchestrion/config/langgraph.js +3 -3
  666. package/build/esm/orchestrion/config/langgraph.js.map +1 -1
  667. package/build/esm/orchestrion/config/lru-memoizer.js +3 -3
  668. package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -1
  669. package/build/esm/orchestrion/config/module-names.js +6 -0
  670. package/build/esm/orchestrion/config/module-names.js.map +1 -0
  671. package/build/esm/orchestrion/config/mongodb.js +3 -3
  672. package/build/esm/orchestrion/config/mongodb.js.map +1 -1
  673. package/build/esm/orchestrion/config/mongoose.js +3 -3
  674. package/build/esm/orchestrion/config/mongoose.js.map +1 -1
  675. package/build/esm/orchestrion/config/mysql.js +3 -3
  676. package/build/esm/orchestrion/config/mysql.js.map +1 -1
  677. package/build/esm/orchestrion/config/mysql2.js +3 -3
  678. package/build/esm/orchestrion/config/mysql2.js.map +1 -1
  679. package/build/esm/orchestrion/config/nestjs.js +1 -4
  680. package/build/esm/orchestrion/config/nestjs.js.map +1 -1
  681. package/build/esm/orchestrion/config/openai.js +3 -3
  682. package/build/esm/orchestrion/config/openai.js.map +1 -1
  683. package/build/esm/orchestrion/config/pg.js +3 -3
  684. package/build/esm/orchestrion/config/pg.js.map +1 -1
  685. package/build/esm/orchestrion/config/postgres.js +3 -3
  686. package/build/esm/orchestrion/config/postgres.js.map +1 -1
  687. package/build/esm/orchestrion/config/redis.js +3 -3
  688. package/build/esm/orchestrion/config/redis.js.map +1 -1
  689. package/build/esm/orchestrion/config/remix.js +1 -4
  690. package/build/esm/orchestrion/config/remix.js.map +1 -1
  691. package/build/esm/orchestrion/config/tedious.js +3 -3
  692. package/build/esm/orchestrion/config/tedious.js.map +1 -1
  693. package/build/esm/orchestrion/config/vercel-ai.js +3 -3
  694. package/build/esm/orchestrion/config/vercel-ai.js.map +1 -1
  695. package/build/esm/orchestrion/detect.js +7 -2
  696. package/build/esm/orchestrion/detect.js.map +1 -1
  697. package/build/esm/orchestrion/index.js +51 -51
  698. package/build/esm/orchestrion/index.js.map +1 -1
  699. package/build/esm/orchestrion/instrumentation.js +71 -0
  700. package/build/esm/orchestrion/instrumentation.js.map +1 -0
  701. package/build/esm/orchestrion/moduleInjected.js +19 -0
  702. package/build/esm/orchestrion/moduleInjected.js.map +1 -0
  703. package/build/esm/orchestrion/runtime/hook.js +8 -0
  704. package/build/esm/orchestrion/runtime/hook.js.map +1 -0
  705. package/build/esm/orchestrion/runtime/register.js +34 -45
  706. package/build/esm/orchestrion/runtime/register.js.map +1 -1
  707. package/build/esm/otlp.js +42 -0
  708. package/build/esm/otlp.js.map +1 -0
  709. package/build/esm/package.json +1 -1
  710. package/build/esm/prisma/global.js.map +1 -1
  711. package/build/esm/prisma/index.js.map +1 -1
  712. package/build/esm/prisma/tracing-helper.js +14 -6
  713. package/build/esm/prisma/tracing-helper.js.map +1 -1
  714. package/build/esm/redis/index.js.map +1 -1
  715. package/build/esm/redis/redis-dc-subscriber.js +7 -5
  716. package/build/esm/redis/redis-dc-subscriber.js.map +1 -1
  717. package/build/esm/redis/redis-statement-serializer.js.map +1 -1
  718. package/build/esm/tracing-channel.js +9 -1
  719. package/build/esm/tracing-channel.js.map +1 -1
  720. package/build/esm/utils/setHttpServerSpanRouteAttribute.js +24 -0
  721. package/build/esm/utils/setHttpServerSpanRouteAttribute.js.map +1 -0
  722. package/build/esm/vendored/@apm-js-collab/code-transformer/index.js +6 -0
  723. package/build/esm/vendored/@apm-js-collab/code-transformer/index.js.map +1 -0
  724. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/index.js +10 -0
  725. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/index.js.map +1 -0
  726. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/matcher.js +84 -0
  727. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/matcher.js.map +1 -0
  728. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js +314 -0
  729. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js.map +1 -0
  730. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transforms.js +440 -0
  731. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transforms.js.map +1 -0
  732. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js +213 -0
  733. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js.map +1 -0
  734. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js +96 -0
  735. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js.map +1 -0
  736. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js +49 -0
  737. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -0
  738. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js +1067 -0
  739. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-OTS4ktWb.js.map +1 -0
  740. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js +12 -0
  741. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js.map +1 -0
  742. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js +116 -0
  743. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js.map +1 -0
  744. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js +101 -0
  745. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -0
  746. package/build/esm/vendored/@apm-js-collab/tracing-hooks/hook.js +157 -0
  747. package/build/esm/vendored/@apm-js-collab/tracing-hooks/hook.js.map +1 -0
  748. package/build/esm/vendored/@apm-js-collab/tracing-hooks/index.js +86 -0
  749. package/build/esm/vendored/@apm-js-collab/tracing-hooks/index.js.map +1 -0
  750. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js +13 -0
  751. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js.map +1 -0
  752. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js +27 -0
  753. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js.map +1 -0
  754. package/build/esm/vendored/astring/dist/astring.js +1066 -0
  755. package/build/esm/vendored/astring/dist/astring.js.map +1 -0
  756. package/build/esm/vendored/debug/src/common.js +176 -0
  757. package/build/esm/vendored/debug/src/common.js.map +1 -0
  758. package/build/esm/vendored/debug/src/node.js +183 -0
  759. package/build/esm/vendored/debug/src/node.js.map +1 -0
  760. package/build/esm/vendored/esquery/dist/esquery.esm.min.js +845 -0
  761. package/build/esm/vendored/esquery/dist/esquery.esm.min.js.map +1 -0
  762. package/build/esm/vendored/has-flag/index.js +9 -0
  763. package/build/esm/vendored/has-flag/index.js.map +1 -0
  764. package/build/esm/vendored/meriyah/dist/meriyah.js +9190 -0
  765. package/build/esm/vendored/meriyah/dist/meriyah.js.map +1 -0
  766. package/build/esm/vendored/meriyah/dist/meriyah2.js +9207 -0
  767. package/build/esm/vendored/meriyah/dist/meriyah2.js.map +1 -0
  768. package/build/esm/vendored/module-details-from-path/index.js +41 -0
  769. package/build/esm/vendored/module-details-from-path/index.js.map +1 -0
  770. package/build/esm/vendored/ms/index.js +113 -0
  771. package/build/esm/vendored/ms/index.js.map +1 -0
  772. package/build/esm/vendored/semifies/index.js +109 -0
  773. package/build/esm/vendored/semifies/index.js.map +1 -0
  774. package/build/esm/vendored/source-map/lib/array-set.js +71 -0
  775. package/build/esm/vendored/source-map/lib/array-set.js.map +1 -0
  776. package/build/esm/vendored/source-map/lib/base64-vlq.js +55 -0
  777. package/build/esm/vendored/source-map/lib/base64-vlq.js.map +1 -0
  778. package/build/esm/vendored/source-map/lib/base64.js +40 -0
  779. package/build/esm/vendored/source-map/lib/base64.js.map +1 -0
  780. package/build/esm/vendored/source-map/lib/binary-search.js +55 -0
  781. package/build/esm/vendored/source-map/lib/binary-search.js.map +1 -0
  782. package/build/esm/vendored/source-map/lib/mapping-list.js +40 -0
  783. package/build/esm/vendored/source-map/lib/mapping-list.js.map +1 -0
  784. package/build/esm/vendored/source-map/lib/quick-sort.js +34 -0
  785. package/build/esm/vendored/source-map/lib/quick-sort.js.map +1 -0
  786. package/build/esm/vendored/source-map/lib/source-map-consumer.js +610 -0
  787. package/build/esm/vendored/source-map/lib/source-map-consumer.js.map +1 -0
  788. package/build/esm/vendored/source-map/lib/source-map-generator.js +283 -0
  789. package/build/esm/vendored/source-map/lib/source-map-generator.js.map +1 -0
  790. package/build/esm/vendored/source-map/lib/source-node.js +268 -0
  791. package/build/esm/vendored/source-map/lib/source-node.js.map +1 -0
  792. package/build/esm/vendored/source-map/lib/util.js +300 -0
  793. package/build/esm/vendored/source-map/lib/util.js.map +1 -0
  794. package/build/esm/vendored/source-map/source-map.js +14 -0
  795. package/build/esm/vendored/source-map/source-map.js.map +1 -0
  796. package/build/esm/vendored/supports-color/index.js +102 -0
  797. package/build/esm/vendored/supports-color/index.js.map +1 -0
  798. package/build/esm/vercel-ai/index.js.map +1 -1
  799. package/build/esm/vercel-ai/util.js.map +1 -1
  800. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js +20 -20
  801. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
  802. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js +1 -1
  803. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
  804. package/build/orchestrion/import-hook.mjs +1 -1
  805. package/build/types/ai/anthropic-ai/constants.d.ts +26 -0
  806. package/build/types/ai/anthropic-ai/constants.d.ts.map +1 -0
  807. package/build/types/ai/anthropic-ai/index.d.ts +26 -0
  808. package/build/types/ai/anthropic-ai/index.d.ts.map +1 -0
  809. package/build/types/ai/anthropic-ai/streaming.d.ts +15 -0
  810. package/build/types/ai/anthropic-ai/streaming.d.ts.map +1 -0
  811. package/build/types/ai/anthropic-ai/types.d.ts +127 -0
  812. package/build/types/ai/anthropic-ai/types.d.ts.map +1 -0
  813. package/build/types/ai/anthropic-ai/utils.d.ts +21 -0
  814. package/build/types/ai/anthropic-ai/utils.d.ts.map +1 -0
  815. package/build/types/ai/core/gen-ai-attributes.d.ts +44 -0
  816. package/build/types/ai/core/gen-ai-attributes.d.ts.map +1 -0
  817. package/build/types/ai/core/utils.d.ts +84 -0
  818. package/build/types/ai/core/utils.d.ts.map +1 -0
  819. package/build/types/ai/google-genai/constants.d.ts +25 -0
  820. package/build/types/ai/google-genai/constants.d.ts.map +1 -0
  821. package/build/types/ai/google-genai/index.d.ts +47 -0
  822. package/build/types/ai/google-genai/index.d.ts.map +1 -0
  823. package/build/types/ai/google-genai/streaming.d.ts +9 -0
  824. package/build/types/ai/google-genai/streaming.d.ts.map +1 -0
  825. package/build/types/ai/google-genai/types.d.ts +177 -0
  826. package/build/types/ai/google-genai/types.d.ts.map +1 -0
  827. package/build/types/ai/google-genai/utils.d.ts +26 -0
  828. package/build/types/ai/google-genai/utils.d.ts.map +1 -0
  829. package/build/types/ai/index.d.ts +13 -0
  830. package/build/types/ai/index.d.ts.map +1 -0
  831. package/build/types/ai/langchain/constants.d.ts +4 -0
  832. package/build/types/ai/langchain/constants.d.ts.map +1 -0
  833. package/build/types/ai/langchain/embeddings.d.ts +39 -0
  834. package/build/types/ai/langchain/embeddings.d.ts.map +1 -0
  835. package/build/types/ai/langchain/index.d.ts +10 -0
  836. package/build/types/ai/langchain/index.d.ts.map +1 -0
  837. package/build/types/ai/langchain/types.d.ts +155 -0
  838. package/build/types/ai/langchain/types.d.ts.map +1 -0
  839. package/build/types/ai/langchain/utils.d.ts +67 -0
  840. package/build/types/ai/langchain/utils.d.ts.map +1 -0
  841. package/build/types/ai/langgraph/constants.d.ts +3 -0
  842. package/build/types/ai/langgraph/constants.d.ts.map +1 -0
  843. package/build/types/ai/langgraph/index.d.ts +44 -0
  844. package/build/types/ai/langgraph/index.d.ts.map +1 -0
  845. package/build/types/ai/langgraph/types.d.ts +78 -0
  846. package/build/types/ai/langgraph/types.d.ts.map +1 -0
  847. package/build/types/ai/langgraph/utils.d.ts +45 -0
  848. package/build/types/ai/langgraph/utils.d.ts.map +1 -0
  849. package/build/types/ai/openai/constants.d.ts +18 -0
  850. package/build/types/ai/openai/constants.d.ts.map +1 -0
  851. package/build/types/ai/openai/index.d.ts +13 -0
  852. package/build/types/ai/openai/index.d.ts.map +1 -0
  853. package/build/types/ai/openai/streaming.d.ts +13 -0
  854. package/build/types/ai/openai/streaming.d.ts.map +1 -0
  855. package/build/types/ai/openai/types.d.ts +321 -0
  856. package/build/types/ai/openai/types.d.ts.map +1 -0
  857. package/build/types/ai/openai/utils.d.ts +20 -0
  858. package/build/types/ai/openai/utils.d.ts.map +1 -0
  859. package/build/types/ai/vercel-ai/constants.d.ts +6 -0
  860. package/build/types/ai/vercel-ai/constants.d.ts.map +1 -0
  861. package/build/types/ai/vercel-ai/index.d.ts +24 -0
  862. package/build/types/ai/vercel-ai/index.d.ts.map +1 -0
  863. package/build/types/ai/vercel-ai/types.d.ts +9 -0
  864. package/build/types/ai/vercel-ai/types.d.ts.map +1 -0
  865. package/build/types/ai/vercel-ai/utils.d.ts +47 -0
  866. package/build/types/ai/vercel-ai/utils.d.ts.map +1 -0
  867. package/build/types/ai/vercel-ai/vercel-ai-attributes.d.ts +432 -0
  868. package/build/types/ai/vercel-ai/vercel-ai-attributes.d.ts.map +1 -0
  869. package/build/types/ai/workers-ai/constants.d.ts +16 -0
  870. package/build/types/ai/workers-ai/constants.d.ts.map +1 -0
  871. package/build/types/ai/workers-ai/index.d.ts +18 -0
  872. package/build/types/ai/workers-ai/index.d.ts.map +1 -0
  873. package/build/types/ai/workers-ai/streaming.d.ts +9 -0
  874. package/build/types/ai/workers-ai/streaming.d.ts.map +1 -0
  875. package/build/types/ai/workers-ai/types.d.ts +50 -0
  876. package/build/types/ai/workers-ai/types.d.ts.map +1 -0
  877. package/build/types/ai/workers-ai/utils.d.ts +34 -0
  878. package/build/types/ai/workers-ai/utils.d.ts.map +1 -0
  879. package/build/types/async-context.d.ts +15 -0
  880. package/build/types/async-context.d.ts.map +1 -0
  881. package/build/types/exports.d.ts +5 -0
  882. package/build/types/exports.d.ts.map +1 -0
  883. package/build/types/graphql/utils.d.ts.map +1 -1
  884. package/build/types/index.d.ts +1 -5
  885. package/build/types/index.d.ts.map +1 -1
  886. package/build/types/index.no-diagnostic-channels.d.ts +2 -0
  887. package/build/types/index.no-diagnostic-channels.d.ts.map +1 -0
  888. package/build/types/integrations/tracing-channel/amqplib.d.ts +2 -2
  889. package/build/types/integrations/tracing-channel/amqplib.d.ts.map +1 -1
  890. package/build/types/integrations/tracing-channel/anthropic.d.ts +3 -3
  891. package/build/types/integrations/tracing-channel/anthropic.d.ts.map +1 -1
  892. package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts +3 -2
  893. package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts.map +1 -1
  894. package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts +4 -7
  895. package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts.map +1 -1
  896. package/build/types/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts.map +1 -1
  897. package/build/types/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts.map +1 -1
  898. package/build/types/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts.map +1 -1
  899. package/build/types/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts.map +1 -1
  900. package/build/types/integrations/tracing-channel/aws-sdk/services/lambda.d.ts.map +1 -1
  901. package/build/types/integrations/tracing-channel/aws-sdk/services/s3.d.ts.map +1 -1
  902. package/build/types/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts.map +1 -1
  903. package/build/types/integrations/tracing-channel/aws-sdk/services/sns.d.ts.map +1 -1
  904. package/build/types/integrations/tracing-channel/aws-sdk/services/sqs.d.ts.map +1 -1
  905. package/build/types/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts.map +1 -1
  906. package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts +0 -2
  907. package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts.map +1 -1
  908. package/build/types/integrations/tracing-channel/dataloader.d.ts +2 -2
  909. package/build/types/integrations/tracing-channel/dataloader.d.ts.map +1 -1
  910. package/build/types/integrations/tracing-channel/express/index.d.ts +3 -4
  911. package/build/types/integrations/tracing-channel/express/index.d.ts.map +1 -1
  912. package/build/types/integrations/tracing-channel/express/instrumentation.d.ts.map +1 -1
  913. package/build/types/integrations/tracing-channel/fastify/instrumentation.d.ts.map +1 -1
  914. package/build/types/integrations/tracing-channel/fastify/utils.d.ts +1 -1
  915. package/build/types/integrations/tracing-channel/firebase/firestore.d.ts +1 -2
  916. package/build/types/integrations/tracing-channel/firebase/firestore.d.ts.map +1 -1
  917. package/build/types/integrations/tracing-channel/firebase/functions.d.ts.map +1 -1
  918. package/build/types/integrations/tracing-channel/firebase/index.d.ts +3 -6
  919. package/build/types/integrations/tracing-channel/firebase/index.d.ts.map +1 -1
  920. package/build/types/integrations/tracing-channel/firebase/instrumentation.d.ts.map +1 -1
  921. package/build/types/integrations/tracing-channel/generic-pool.d.ts +2 -2
  922. package/build/types/integrations/tracing-channel/generic-pool.d.ts.map +1 -1
  923. package/build/types/integrations/tracing-channel/google-genai.d.ts +3 -3
  924. package/build/types/integrations/tracing-channel/google-genai.d.ts.map +1 -1
  925. package/build/types/integrations/tracing-channel/graphql/index.d.ts +7 -8
  926. package/build/types/integrations/tracing-channel/graphql/index.d.ts.map +1 -1
  927. package/build/types/integrations/tracing-channel/hapi-types.d.ts +4 -4
  928. package/build/types/integrations/tracing-channel/hapi-types.d.ts.map +1 -1
  929. package/build/types/integrations/tracing-channel/hapi-utils.d.ts.map +1 -1
  930. package/build/types/integrations/tracing-channel/hapi.d.ts +2 -2
  931. package/build/types/integrations/tracing-channel/hapi.d.ts.map +1 -1
  932. package/build/types/integrations/tracing-channel/ioredis.d.ts +1 -1
  933. package/build/types/integrations/tracing-channel/ioredis.d.ts.map +1 -1
  934. package/build/types/integrations/tracing-channel/kafkajs/index.d.ts +3 -4
  935. package/build/types/integrations/tracing-channel/kafkajs/index.d.ts.map +1 -1
  936. package/build/types/integrations/tracing-channel/kafkajs/semconv.d.ts +9 -9
  937. package/build/types/integrations/tracing-channel/kafkajs/spans.d.ts.map +1 -1
  938. package/build/types/integrations/tracing-channel/knex.d.ts +2 -2
  939. package/build/types/integrations/tracing-channel/knex.d.ts.map +1 -1
  940. package/build/types/integrations/tracing-channel/koa.d.ts +3 -3
  941. package/build/types/integrations/tracing-channel/koa.d.ts.map +1 -1
  942. package/build/types/integrations/tracing-channel/langchain.d.ts +3 -3
  943. package/build/types/integrations/tracing-channel/langchain.d.ts.map +1 -1
  944. package/build/types/integrations/tracing-channel/langgraph.d.ts +3 -3
  945. package/build/types/integrations/tracing-channel/langgraph.d.ts.map +1 -1
  946. package/build/types/integrations/tracing-channel/lru-memoizer.d.ts +2 -2
  947. package/build/types/integrations/tracing-channel/lru-memoizer.d.ts.map +1 -1
  948. package/build/types/integrations/tracing-channel/mongodb.d.ts +2 -2
  949. package/build/types/integrations/tracing-channel/mongodb.d.ts.map +1 -1
  950. package/build/types/integrations/tracing-channel/mongoose.d.ts +2 -2
  951. package/build/types/integrations/tracing-channel/mongoose.d.ts.map +1 -1
  952. package/build/types/integrations/tracing-channel/mysql.d.ts +3 -3
  953. package/build/types/integrations/tracing-channel/mysql.d.ts.map +1 -1
  954. package/build/types/integrations/tracing-channel/mysql2.d.ts +9 -7
  955. package/build/types/integrations/tracing-channel/mysql2.d.ts.map +1 -1
  956. package/build/types/integrations/tracing-channel/openai.d.ts +3 -3
  957. package/build/types/integrations/tracing-channel/openai.d.ts.map +1 -1
  958. package/build/types/integrations/tracing-channel/postgres-js.d.ts +3 -3
  959. package/build/types/integrations/tracing-channel/postgres-js.d.ts.map +1 -1
  960. package/build/types/integrations/tracing-channel/postgres.d.ts +2 -2
  961. package/build/types/integrations/tracing-channel/postgres.d.ts.map +1 -1
  962. package/build/types/integrations/tracing-channel/redis.d.ts +1 -1
  963. package/build/types/integrations/tracing-channel/redis.d.ts.map +1 -1
  964. package/build/types/integrations/tracing-channel/tedious.d.ts +2 -2
  965. package/build/types/integrations/tracing-channel/tedious.d.ts.map +1 -1
  966. package/build/types/integrations/tracing-channel/vercel-ai.d.ts +1 -1
  967. package/build/types/integrations/tracing-channel/vercel-ai.d.ts.map +1 -1
  968. package/build/types/mongodb/mongodb-span.d.ts.map +1 -1
  969. package/build/types/mongoose/mongoose-legacy-span.d.ts +0 -1
  970. package/build/types/mongoose/mongoose-legacy-span.d.ts.map +1 -1
  971. package/build/types/orchestrion/apmTypes.d.ts +173 -0
  972. package/build/types/orchestrion/apmTypes.d.ts.map +1 -0
  973. package/build/types/orchestrion/bundler/esbuild.d.ts +2 -2
  974. package/build/types/orchestrion/bundler/esbuild.d.ts.map +1 -1
  975. package/build/types/orchestrion/bundler/moduleInjectedTransform.d.ts +27 -0
  976. package/build/types/orchestrion/bundler/moduleInjectedTransform.d.ts.map +1 -0
  977. package/build/types/orchestrion/bundler/options.d.ts +19 -29
  978. package/build/types/orchestrion/bundler/options.d.ts.map +1 -1
  979. package/build/types/orchestrion/bundler/resolve.d.ts +22 -0
  980. package/build/types/orchestrion/bundler/resolve.d.ts.map +1 -0
  981. package/build/types/orchestrion/bundler/rollup.d.ts +2 -2
  982. package/build/types/orchestrion/bundler/rollup.d.ts.map +1 -1
  983. package/build/types/orchestrion/bundler/vite.d.ts +2 -2
  984. package/build/types/orchestrion/bundler/vite.d.ts.map +1 -1
  985. package/build/types/orchestrion/bundler/webpack-loader.d.ts +28 -0
  986. package/build/types/orchestrion/bundler/webpack-loader.d.ts.map +1 -0
  987. package/build/types/orchestrion/bundler/webpack.d.ts +9 -13
  988. package/build/types/orchestrion/bundler/webpack.d.ts.map +1 -1
  989. package/build/types/orchestrion/channels.d.ts +125 -125
  990. package/build/types/orchestrion/config/amqplib.d.ts +21 -22
  991. package/build/types/orchestrion/config/amqplib.d.ts.map +1 -1
  992. package/build/types/orchestrion/config/anthropic-ai.d.ts +6 -7
  993. package/build/types/orchestrion/config/anthropic-ai.d.ts.map +1 -1
  994. package/build/types/orchestrion/config/aws-sdk.d.ts +4 -5
  995. package/build/types/orchestrion/config/aws-sdk.d.ts.map +1 -1
  996. package/build/types/orchestrion/config/channel-integration-definitions.d.ts +20 -20
  997. package/build/types/orchestrion/config/channel-integration-definitions.d.ts.map +1 -1
  998. package/build/types/orchestrion/config/dataloader.d.ts +17 -19
  999. package/build/types/orchestrion/config/dataloader.d.ts.map +1 -1
  1000. package/build/types/orchestrion/config/express.d.ts +5 -6
  1001. package/build/types/orchestrion/config/express.d.ts.map +1 -1
  1002. package/build/types/orchestrion/config/firebase.d.ts +23 -24
  1003. package/build/types/orchestrion/config/firebase.d.ts.map +1 -1
  1004. package/build/types/orchestrion/config/generic-pool.d.ts +4 -5
  1005. package/build/types/orchestrion/config/generic-pool.d.ts.map +1 -1
  1006. package/build/types/orchestrion/config/google-genai.d.ts +6 -7
  1007. package/build/types/orchestrion/config/google-genai.d.ts.map +1 -1
  1008. package/build/types/orchestrion/config/graphql.d.ts +4 -5
  1009. package/build/types/orchestrion/config/graphql.d.ts.map +1 -1
  1010. package/build/types/orchestrion/config/hapi.d.ts +3 -4
  1011. package/build/types/orchestrion/config/hapi.d.ts.map +1 -1
  1012. package/build/types/orchestrion/config/index.d.ts +1 -12
  1013. package/build/types/orchestrion/config/index.d.ts.map +1 -1
  1014. package/build/types/orchestrion/config/ioredis.d.ts +3 -3
  1015. package/build/types/orchestrion/config/ioredis.d.ts.map +1 -1
  1016. package/build/types/orchestrion/config/kafkajs.d.ts +3 -4
  1017. package/build/types/orchestrion/config/kafkajs.d.ts.map +1 -1
  1018. package/build/types/orchestrion/config/knex.d.ts +4 -5
  1019. package/build/types/orchestrion/config/knex.d.ts.map +1 -1
  1020. package/build/types/orchestrion/config/koa.d.ts +2 -3
  1021. package/build/types/orchestrion/config/koa.d.ts.map +1 -1
  1022. package/build/types/orchestrion/config/langchain.d.ts +4 -5
  1023. package/build/types/orchestrion/config/langchain.d.ts.map +1 -1
  1024. package/build/types/orchestrion/config/langgraph.d.ts +7 -8
  1025. package/build/types/orchestrion/config/langgraph.d.ts.map +1 -1
  1026. package/build/types/orchestrion/config/lru-memoizer.d.ts +2 -3
  1027. package/build/types/orchestrion/config/lru-memoizer.d.ts.map +1 -1
  1028. package/build/types/orchestrion/config/module-names.d.ts +8 -0
  1029. package/build/types/orchestrion/config/module-names.d.ts.map +1 -0
  1030. package/build/types/orchestrion/config/mongodb.d.ts +20 -21
  1031. package/build/types/orchestrion/config/mongodb.d.ts.map +1 -1
  1032. package/build/types/orchestrion/config/mongoose.d.ts +12 -13
  1033. package/build/types/orchestrion/config/mongoose.d.ts.map +1 -1
  1034. package/build/types/orchestrion/config/mysql.d.ts +2 -3
  1035. package/build/types/orchestrion/config/mysql.d.ts.map +1 -1
  1036. package/build/types/orchestrion/config/mysql2.d.ts +3 -4
  1037. package/build/types/orchestrion/config/mysql2.d.ts.map +1 -1
  1038. package/build/types/orchestrion/config/nestjs.d.ts +9 -10
  1039. package/build/types/orchestrion/config/nestjs.d.ts.map +1 -1
  1040. package/build/types/orchestrion/config/openai.d.ts +4 -5
  1041. package/build/types/orchestrion/config/openai.d.ts.map +1 -1
  1042. package/build/types/orchestrion/config/pg.d.ts +7 -8
  1043. package/build/types/orchestrion/config/pg.d.ts.map +1 -1
  1044. package/build/types/orchestrion/config/postgres.d.ts +5 -5
  1045. package/build/types/orchestrion/config/postgres.d.ts.map +1 -1
  1046. package/build/types/orchestrion/config/redis.d.ts +10 -11
  1047. package/build/types/orchestrion/config/redis.d.ts.map +1 -1
  1048. package/build/types/orchestrion/config/remix.d.ts +4 -5
  1049. package/build/types/orchestrion/config/remix.d.ts.map +1 -1
  1050. package/build/types/orchestrion/config/tedious.d.ts +8 -8
  1051. package/build/types/orchestrion/config/tedious.d.ts.map +1 -1
  1052. package/build/types/orchestrion/config/vercel-ai.d.ts +8 -8
  1053. package/build/types/orchestrion/config/vercel-ai.d.ts.map +1 -1
  1054. package/build/types/orchestrion/detect.d.ts +14 -1
  1055. package/build/types/orchestrion/detect.d.ts.map +1 -1
  1056. package/build/types/orchestrion/index.d.ts +41 -48
  1057. package/build/types/orchestrion/index.d.ts.map +1 -1
  1058. package/build/types/orchestrion/instrumentation.d.ts +37 -0
  1059. package/build/types/orchestrion/instrumentation.d.ts.map +1 -0
  1060. package/build/types/orchestrion/moduleInjected.d.ts +25 -0
  1061. package/build/types/orchestrion/moduleInjected.d.ts.map +1 -0
  1062. package/build/types/orchestrion/runtime/register.d.ts +1 -12
  1063. package/build/types/orchestrion/runtime/register.d.ts.map +1 -1
  1064. package/build/types/otlp.d.ts +49 -0
  1065. package/build/types/otlp.d.ts.map +1 -0
  1066. package/build/types/prisma/index.d.ts +0 -4
  1067. package/build/types/prisma/index.d.ts.map +1 -1
  1068. package/build/types/prisma/tracing-helper.d.ts.map +1 -1
  1069. package/build/types/prisma/types.d.ts +2 -2
  1070. package/build/types/prisma/types.d.ts.map +1 -1
  1071. package/build/types/redis/redis-dc-subscriber.d.ts.map +1 -1
  1072. package/build/types/redis/redis-statement-serializer.d.ts.map +1 -1
  1073. package/build/types/tracing-channel.d.ts +2 -0
  1074. package/build/types/tracing-channel.d.ts.map +1 -1
  1075. package/build/types/utils/setHttpServerSpanRouteAttribute.d.ts +9 -0
  1076. package/build/types/utils/setHttpServerSpanRouteAttribute.d.ts.map +1 -0
  1077. package/build/types/vercel-ai/index.d.ts +2 -7
  1078. package/build/types/vercel-ai/index.d.ts.map +1 -1
  1079. package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts +0 -1
  1080. package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts.map +1 -1
  1081. package/package.json +22 -37
  1082. package/build/cjs/orchestrion/bundler/subscribeInjection.js +0 -40
  1083. package/build/cjs/orchestrion/bundler/subscribeInjection.js.map +0 -1
  1084. package/build/cjs/orchestrion/config/subscribe-injection.js +0 -25
  1085. package/build/cjs/orchestrion/config/subscribe-injection.js.map +0 -1
  1086. package/build/cjs/orchestrion/registerChannelIntegration.js +0 -13
  1087. package/build/cjs/orchestrion/registerChannelIntegration.js.map +0 -1
  1088. package/build/esm/orchestrion/bundler/subscribeInjection.js +0 -38
  1089. package/build/esm/orchestrion/bundler/subscribeInjection.js.map +0 -1
  1090. package/build/esm/orchestrion/config/subscribe-injection.js +0 -22
  1091. package/build/esm/orchestrion/config/subscribe-injection.js.map +0 -1
  1092. package/build/esm/orchestrion/registerChannelIntegration.js +0 -11
  1093. package/build/esm/orchestrion/registerChannelIntegration.js.map +0 -1
  1094. package/build/types/orchestrion/bundler/subscribeInjection.d.ts +0 -13
  1095. package/build/types/orchestrion/bundler/subscribeInjection.d.ts.map +0 -1
  1096. package/build/types/orchestrion/config/subscribe-injection.d.ts +0 -31
  1097. package/build/types/orchestrion/config/subscribe-injection.d.ts.map +0 -1
  1098. package/build/types/orchestrion/registerChannelIntegration.d.ts +0 -33
  1099. package/build/types/orchestrion/registerChannelIntegration.d.ts.map +0 -1
  1100. package/build/types-ts3.8/debug-build.d.ts +0 -7
  1101. package/build/types-ts3.8/graphql/graphql-dc-subscriber.d.ts +0 -94
  1102. package/build/types-ts3.8/graphql/index.d.ts +0 -12
  1103. package/build/types-ts3.8/graphql/utils.d.ts +0 -36
  1104. package/build/types-ts3.8/index.d.ts +0 -23
  1105. package/build/types-ts3.8/integrations/tracing-channel/amqplib.d.ts +0 -11
  1106. package/build/types-ts3.8/integrations/tracing-channel/anthropic.d.ts +0 -10
  1107. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts +0 -43
  1108. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/constants.d.ts +0 -15
  1109. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/index.d.ts +0 -15
  1110. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts +0 -23
  1111. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts +0 -9
  1112. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts +0 -10
  1113. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts +0 -14
  1114. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts +0 -8
  1115. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/index.d.ts +0 -2
  1116. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts +0 -6
  1117. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/lambda.d.ts +0 -9
  1118. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/s3.d.ts +0 -6
  1119. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts +0 -8
  1120. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/sns.d.ts +0 -9
  1121. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/sqs.d.ts +0 -9
  1122. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts +0 -6
  1123. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/types.d.ts +0 -26
  1124. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/utils.d.ts +0 -5
  1125. package/build/types-ts3.8/integrations/tracing-channel/dataloader.d.ts +0 -11
  1126. package/build/types-ts3.8/integrations/tracing-channel/express/index.d.ts +0 -18
  1127. package/build/types-ts3.8/integrations/tracing-channel/express/instrumentation.d.ts +0 -4
  1128. package/build/types-ts3.8/integrations/tracing-channel/express/route.d.ts +0 -28
  1129. package/build/types-ts3.8/integrations/tracing-channel/express/types.d.ts +0 -64
  1130. package/build/types-ts3.8/integrations/tracing-channel/fastify/errors.d.ts +0 -12
  1131. package/build/types-ts3.8/integrations/tracing-channel/fastify/index.d.ts +0 -66
  1132. package/build/types-ts3.8/integrations/tracing-channel/fastify/instrumentation.d.ts +0 -10
  1133. package/build/types-ts3.8/integrations/tracing-channel/fastify/types.d.ts +0 -32
  1134. package/build/types-ts3.8/integrations/tracing-channel/fastify/utils.d.ts +0 -9
  1135. package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore-types.d.ts +0 -38
  1136. package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore.d.ts +0 -18
  1137. package/build/types-ts3.8/integrations/tracing-channel/firebase/functions.d.ts +0 -15
  1138. package/build/types-ts3.8/integrations/tracing-channel/firebase/index.d.ts +0 -15
  1139. package/build/types-ts3.8/integrations/tracing-channel/firebase/instrumentation.d.ts +0 -2
  1140. package/build/types-ts3.8/integrations/tracing-channel/generic-pool.d.ts +0 -10
  1141. package/build/types-ts3.8/integrations/tracing-channel/google-genai.d.ts +0 -12
  1142. package/build/types-ts3.8/integrations/tracing-channel/graphql/constants.d.ts +0 -12
  1143. package/build/types-ts3.8/integrations/tracing-channel/graphql/graphql-types.d.ts +0 -135
  1144. package/build/types-ts3.8/integrations/tracing-channel/graphql/index.d.ts +0 -30
  1145. package/build/types-ts3.8/integrations/tracing-channel/graphql/resolvers.d.ts +0 -13
  1146. package/build/types-ts3.8/integrations/tracing-channel/graphql/spans.d.ts +0 -17
  1147. package/build/types-ts3.8/integrations/tracing-channel/graphql/types.d.ts +0 -25
  1148. package/build/types-ts3.8/integrations/tracing-channel/hapi-types.d.ts +0 -65
  1149. package/build/types-ts3.8/integrations/tracing-channel/hapi-utils.d.ts +0 -25
  1150. package/build/types-ts3.8/integrations/tracing-channel/hapi.d.ts +0 -9
  1151. package/build/types-ts3.8/integrations/tracing-channel/ioredis.d.ts +0 -37
  1152. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/consumer.d.ts +0 -8
  1153. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/index.d.ts +0 -17
  1154. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/semconv.d.ts +0 -10
  1155. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/spans.d.ts +0 -38
  1156. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/types.d.ts +0 -40
  1157. package/build/types-ts3.8/integrations/tracing-channel/knex.d.ts +0 -11
  1158. package/build/types-ts3.8/integrations/tracing-channel/koa.d.ts +0 -14
  1159. package/build/types-ts3.8/integrations/tracing-channel/langchain.d.ts +0 -10
  1160. package/build/types-ts3.8/integrations/tracing-channel/langgraph.d.ts +0 -10
  1161. package/build/types-ts3.8/integrations/tracing-channel/lru-memoizer.d.ts +0 -10
  1162. package/build/types-ts3.8/integrations/tracing-channel/mongodb.d.ts +0 -12
  1163. package/build/types-ts3.8/integrations/tracing-channel/mongoose.d.ts +0 -15
  1164. package/build/types-ts3.8/integrations/tracing-channel/mysql.d.ts +0 -12
  1165. package/build/types-ts3.8/integrations/tracing-channel/mysql2.d.ts +0 -15
  1166. package/build/types-ts3.8/integrations/tracing-channel/openai.d.ts +0 -10
  1167. package/build/types-ts3.8/integrations/tracing-channel/postgres-js.d.ts +0 -26
  1168. package/build/types-ts3.8/integrations/tracing-channel/postgres.d.ts +0 -15
  1169. package/build/types-ts3.8/integrations/tracing-channel/redis.d.ts +0 -16
  1170. package/build/types-ts3.8/integrations/tracing-channel/tedious.d.ts +0 -11
  1171. package/build/types-ts3.8/integrations/tracing-channel/vercel-ai.d.ts +0 -9
  1172. package/build/types-ts3.8/mongodb/mongodb-span.d.ts +0 -66
  1173. package/build/types-ts3.8/mongoose/index.d.ts +0 -13
  1174. package/build/types-ts3.8/mongoose/mongoose-dc-subscriber.d.ts +0 -63
  1175. package/build/types-ts3.8/mongoose/mongoose-legacy-span.d.ts +0 -29
  1176. package/build/types-ts3.8/mysql2/index.d.ts +0 -11
  1177. package/build/types-ts3.8/mysql2/mysql2-dc-subscriber.d.ts +0 -59
  1178. package/build/types-ts3.8/node-diagnostics-channel.d.ts +0 -19
  1179. package/build/types-ts3.8/orchestrion/bundler/esbuild.d.ts +0 -20
  1180. package/build/types-ts3.8/orchestrion/bundler/options.d.ts +0 -63
  1181. package/build/types-ts3.8/orchestrion/bundler/rollup.d.ts +0 -17
  1182. package/build/types-ts3.8/orchestrion/bundler/subscribeInjection.d.ts +0 -13
  1183. package/build/types-ts3.8/orchestrion/bundler/vite.d.ts +0 -18
  1184. package/build/types-ts3.8/orchestrion/bundler/webpack.d.ts +0 -24
  1185. package/build/types-ts3.8/orchestrion/channels.d.ts +0 -145
  1186. package/build/types-ts3.8/orchestrion/config/amqplib.d.ts +0 -68
  1187. package/build/types-ts3.8/orchestrion/config/anthropic-ai.d.ts +0 -33
  1188. package/build/types-ts3.8/orchestrion/config/aws-sdk.d.ts +0 -21
  1189. package/build/types-ts3.8/orchestrion/config/channel-integration-definitions.d.ts +0 -139
  1190. package/build/types-ts3.8/orchestrion/config/dataloader.d.ts +0 -48
  1191. package/build/types-ts3.8/orchestrion/config/express.d.ts +0 -32
  1192. package/build/types-ts3.8/orchestrion/config/firebase.d.ts +0 -43
  1193. package/build/types-ts3.8/orchestrion/config/generic-pool.d.ts +0 -33
  1194. package/build/types-ts3.8/orchestrion/config/google-genai.d.ts +0 -32
  1195. package/build/types-ts3.8/orchestrion/config/graphql.d.ts +0 -31
  1196. package/build/types-ts3.8/orchestrion/config/hapi.d.ts +0 -19
  1197. package/build/types-ts3.8/orchestrion/config/index.d.ts +0 -49
  1198. package/build/types-ts3.8/orchestrion/config/ioredis.d.ts +0 -8
  1199. package/build/types-ts3.8/orchestrion/config/kafkajs.d.ts +0 -19
  1200. package/build/types-ts3.8/orchestrion/config/knex.d.ts +0 -10
  1201. package/build/types-ts3.8/orchestrion/config/koa.d.ts +0 -19
  1202. package/build/types-ts3.8/orchestrion/config/langchain.d.ts +0 -20
  1203. package/build/types-ts3.8/orchestrion/config/langgraph.d.ts +0 -23
  1204. package/build/types-ts3.8/orchestrion/config/lru-memoizer.d.ts +0 -18
  1205. package/build/types-ts3.8/orchestrion/config/mongodb.d.ts +0 -61
  1206. package/build/types-ts3.8/orchestrion/config/mongoose.d.ts +0 -42
  1207. package/build/types-ts3.8/orchestrion/config/mysql.d.ts +0 -18
  1208. package/build/types-ts3.8/orchestrion/config/mysql2.d.ts +0 -20
  1209. package/build/types-ts3.8/orchestrion/config/nestjs.d.ts +0 -25
  1210. package/build/types-ts3.8/orchestrion/config/openai.d.ts +0 -20
  1211. package/build/types-ts3.8/orchestrion/config/pg.d.ts +0 -35
  1212. package/build/types-ts3.8/orchestrion/config/postgres.d.ts +0 -10
  1213. package/build/types-ts3.8/orchestrion/config/redis.d.ts +0 -39
  1214. package/build/types-ts3.8/orchestrion/config/remix.d.ts +0 -10
  1215. package/build/types-ts3.8/orchestrion/config/subscribe-injection.d.ts +0 -31
  1216. package/build/types-ts3.8/orchestrion/config/tedious.d.ts +0 -13
  1217. package/build/types-ts3.8/orchestrion/config/vercel-ai.d.ts +0 -13
  1218. package/build/types-ts3.8/orchestrion/detect.d.ts +0 -26
  1219. package/build/types-ts3.8/orchestrion/index.d.ts +0 -139
  1220. package/build/types-ts3.8/orchestrion/registerChannelIntegration.d.ts +0 -33
  1221. package/build/types-ts3.8/orchestrion/runtime/register.d.ts +0 -25
  1222. package/build/types-ts3.8/prisma/global.d.ts +0 -5
  1223. package/build/types-ts3.8/prisma/index.d.ts +0 -45
  1224. package/build/types-ts3.8/prisma/tracing-helper.d.ts +0 -52
  1225. package/build/types-ts3.8/prisma/types.d.ts +0 -40
  1226. package/build/types-ts3.8/redis/index.d.ts +0 -18
  1227. package/build/types-ts3.8/redis/redis-dc-subscriber.d.ts +0 -89
  1228. package/build/types-ts3.8/redis/redis-statement-serializer.d.ts +0 -6
  1229. package/build/types-ts3.8/tracing-channel.d.ts +0 -73
  1230. package/build/types-ts3.8/vercel-ai/index.d.ts +0 -26
  1231. package/build/types-ts3.8/vercel-ai/util.d.ts +0 -30
  1232. package/build/types-ts3.8/vercel-ai/vercel-ai-dc-subscriber.d.ts +0 -72
  1233. package/build/types-ts3.8/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts +0 -12
@@ -1,40 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const meriyah = require('meriyah');
4
- const index = require('../config/index.js');
5
- const channelIntegrationDefinitions = require('../config/channel-integration-definitions.js');
6
- const subscribeInjection = require('../config/subscribe-injection.js');
7
-
8
- const injectedPrograms = /* @__PURE__ */ new WeakSet();
9
- function subscribeSnippet(exportName, esm) {
10
- const importStmt = esm ? `import { ${exportName}, registerOrchestrionChannelIntegration } from '@sentry/server-utils/orchestrion';` : `const { ${exportName}, registerOrchestrionChannelIntegration } = require('@sentry/server-utils/orchestrion');`;
11
- return `${importStmt}
12
- registerOrchestrionChannelIntegration(${JSON.stringify(exportName)}, ${exportName});`;
13
- }
14
- const injectSubscribe = (state, program) => {
15
- const node = program;
16
- if (injectedPrograms.has(node)) {
17
- return;
18
- }
19
- const { moduleType, channelName } = state;
20
- const exportName = channelName ? channelIntegrationDefinitions.subscriberExportForModule(channelName) : void 0;
21
- if (!exportName) {
22
- return;
23
- }
24
- injectedPrograms.add(node);
25
- const statements = meriyah.parse(subscribeSnippet(exportName, moduleType === "esm"), {
26
- module: moduleType === "esm",
27
- next: true
28
- }).body;
29
- const directiveIndex = node.body.findIndex((n) => n.type === "ExpressionStatement" && n.directive === "use strict");
30
- node.body.splice(directiveIndex + 1, 0, ...statements);
31
- };
32
- function subscribeInjectionOptions() {
33
- return {
34
- instrumentations: index.SUBSCRIBE_INJECTIONS,
35
- customTransforms: { [subscribeInjection.SUBSCRIBE_TRANSFORM_NAME]: injectSubscribe }
36
- };
37
- }
38
-
39
- exports.subscribeInjectionOptions = subscribeInjectionOptions;
40
- //# sourceMappingURL=subscribeInjection.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subscribeInjection.js","sources":["../../../../src/orchestrion/bundler/subscribeInjection.ts"],"sourcesContent":["import type { CustomTransform } from '@apm-js-collab/code-transformer';\nimport { parse } from 'meriyah';\nimport { SUBSCRIBE_INJECTIONS } from '../config';\nimport { subscriberExportForModule } from '../config/channel-integration-definitions';\nimport { SUBSCRIBE_TRANSFORM_NAME } from '../config/subscribe-injection';\nimport type { PluginOptions } from './options';\n\n// Tracks Program nodes we already injected into, so a package with several\n// instrumented files (or several configs pointing at one file) is injected only\n// once per file. A `WeakSet` keyed by the node avoids mutating the emitted AST.\nconst injectedPrograms = new WeakSet<object>();\n\ninterface ProgramNode {\n type: string;\n body: Array<{ type: string; directive?: string }>;\n}\n\n/**\n * Snippet injected into each instrumented module. It imports ONLY that package's\n * channel-subscriber factory (plus the `registerOrchestrionChannelIntegration`\n * helper) from `@sentry/server-utils/orchestrion`, and hands both to the helper,\n * which stores the factory on the global marker and live-registers it on any\n * existing client (see that helper for the load-order and dedup rationale).\n *\n * Importing the single named factory (rather than a central dispatch that pulls\n * in every subscriber) is what makes this tree-shake: a bundle carries only the\n * subscriber code for packages actually transformed into it. The same\n * \"only-active-when-bundled\" property the runtime module hook gives unbundled\n * Node, but without a hook (workerd can't monkey-patch requires). The helper is\n * generic (references no factory), so importing it alongside doesn't pull siblings.\n */\nfunction subscribeSnippet(exportName: string, esm: boolean): string {\n const importStmt = esm\n ? `import { ${exportName}, registerOrchestrionChannelIntegration } from '@sentry/server-utils/orchestrion';`\n : `const { ${exportName}, registerOrchestrionChannelIntegration } = require('@sentry/server-utils/orchestrion');`;\n\n return `${importStmt}\\nregisterOrchestrionChannelIntegration(${JSON.stringify(exportName)}, ${exportName});`;\n}\n\n/**\n * The custom transform registered under {@link SUBSCRIBE_TRANSFORM_NAME}. It is\n * invoked with the matched `Program` node and mutates it in place, splicing the\n * marker-push snippet in after any `'use strict'` directive.\n *\n * `state` carries the matched config spread with `{ moduleType }`; the config's\n * `channelName` carries the package name (see `toSubscribeInjections`), which\n * maps to the subscriber's export name.\n */\nconst injectSubscribe: CustomTransform = (state, program) => {\n const node = program as ProgramNode;\n if (injectedPrograms.has(node)) {\n return;\n }\n\n const { moduleType, channelName } = state as { moduleType?: string; channelName?: string };\n const exportName = channelName ? subscriberExportForModule(channelName) : undefined;\n if (!exportName) {\n return;\n }\n\n injectedPrograms.add(node);\n\n const statements = parse(subscribeSnippet(exportName, moduleType === 'esm'), {\n module: moduleType === 'esm',\n next: true,\n }).body as ProgramNode['body'];\n\n const directiveIndex = node.body.findIndex(n => n.type === 'ExpressionStatement' && n.directive === 'use strict');\n node.body.splice(directiveIndex + 1, 0, ...statements);\n};\n\n/**\n * The `instrumentations` + `customTransforms` a bundler plugin passes to\n * {@link orchestrionTransformOptions} to enable the marker-push subscribe\n * injection used by bundler-only SDKs (e.g. `@sentry/cloudflare`).\n *\n * The `SUBSCRIBE_INJECTIONS` configs ride alongside the real channel-publishing\n * configs, and `injectSubscribe` runs on each matched module, so every\n * transformed package self-registers its subscriber on the global marker\n * without a runtime module hook.\n */\nexport function subscribeInjectionOptions(): Pick<PluginOptions, 'instrumentations' | 'customTransforms'> {\n return {\n instrumentations: SUBSCRIBE_INJECTIONS,\n customTransforms: { [SUBSCRIBE_TRANSFORM_NAME]: injectSubscribe },\n };\n}\n"],"names":["subscriberExportForModule","parse","SUBSCRIBE_INJECTIONS","SUBSCRIBE_TRANSFORM_NAME"],"mappings":";;;;;;;AAUA,MAAM,gBAAA,uBAAuB,OAAA,EAAgB;AAqB7C,SAAS,gBAAA,CAAiB,YAAoB,GAAA,EAAsB;AAClE,EAAA,MAAM,aAAa,GAAA,GACf,CAAA,SAAA,EAAY,UAAU,CAAA,kFAAA,CAAA,GACtB,WAAW,UAAU,CAAA,wFAAA,CAAA;AAEzB,EAAA,OAAO,GAAG,UAAU;AAAA,sCAAA,EAA2C,IAAA,CAAK,SAAA,CAAU,UAAU,CAAC,KAAK,UAAU,CAAA,EAAA,CAAA;AAC1G;AAWA,MAAM,eAAA,GAAmC,CAAC,KAAA,EAAO,OAAA,KAAY;AAC3D,EAAA,MAAM,IAAA,GAAO,OAAA;AACb,EAAA,IAAI,gBAAA,CAAiB,GAAA,CAAI,IAAI,CAAA,EAAG;AAC9B,IAAA;AAAA,EACF;AAEA,EAAA,MAAM,EAAE,UAAA,EAAY,WAAA,EAAY,GAAI,KAAA;AACpC,EAAA,MAAM,UAAA,GAAa,WAAA,GAAcA,uDAAA,CAA0B,WAAW,CAAA,GAAI,MAAA;AAC1E,EAAA,IAAI,CAAC,UAAA,EAAY;AACf,IAAA;AAAA,EACF;AAEA,EAAA,gBAAA,CAAiB,IAAI,IAAI,CAAA;AAEzB,EAAA,MAAM,aAAaC,aAAA,CAAM,gBAAA,CAAiB,UAAA,EAAY,UAAA,KAAe,KAAK,CAAA,EAAG;AAAA,IAC3E,QAAQ,UAAA,KAAe,KAAA;AAAA,IACvB,IAAA,EAAM;AAAA,GACP,CAAA,CAAE,IAAA;AAEH,EAAA,MAAM,cAAA,GAAiB,IAAA,CAAK,IAAA,CAAK,SAAA,CAAU,CAAA,CAAA,KAAK,EAAE,IAAA,KAAS,qBAAA,IAAyB,CAAA,CAAE,SAAA,KAAc,YAAY,CAAA;AAChH,EAAA,IAAA,CAAK,KAAK,MAAA,CAAO,cAAA,GAAiB,CAAA,EAAG,CAAA,EAAG,GAAG,UAAU,CAAA;AACvD,CAAA;AAYO,SAAS,yBAAA,GAA0F;AACxG,EAAA,OAAO;AAAA,IACL,gBAAA,EAAkBC,0BAAA;AAAA,IAClB,gBAAA,EAAkB,EAAE,CAACC,2CAAwB,GAAG,eAAA;AAAgB,GAClE;AACF;;;;"}
@@ -1,25 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const SUBSCRIBE_TRANSFORM_NAME = "sentrySubscribeOrchestrionChannel";
4
- function toSubscribeInjections(configs) {
5
- const seen = /* @__PURE__ */ new Set();
6
- const injections = [];
7
- for (const { module } of configs) {
8
- const key = `${module.name}\0${module.versionRange}\0${String(module.filePath)}`;
9
- if (seen.has(key)) {
10
- continue;
11
- }
12
- seen.add(key);
13
- injections.push({
14
- channelName: module.name,
15
- module,
16
- astQuery: "Program",
17
- transform: SUBSCRIBE_TRANSFORM_NAME
18
- });
19
- }
20
- return injections;
21
- }
22
-
23
- exports.SUBSCRIBE_TRANSFORM_NAME = SUBSCRIBE_TRANSFORM_NAME;
24
- exports.toSubscribeInjections = toSubscribeInjections;
25
- //# sourceMappingURL=subscribe-injection.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subscribe-injection.js","sources":["../../../../src/orchestrion/config/subscribe-injection.ts"],"sourcesContent":["import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';\n\n/**\n * Name shared by the `Program` injection configs (their `transform` field) and\n * the custom transform registered on the bundler plugin (its `customTransforms`\n * key). Any unique string works — it only has to match on both sides.\n *\n * Lives in this dependency-free leaf so the per-library config files can build\n * their injection configs without importing the transform implementation (which\n * pulls in `meriyah` and must never reach the runtime `--import` path).\n */\nexport const SUBSCRIBE_TRANSFORM_NAME = 'sentrySubscribeOrchestrionChannel';\n\n/**\n * Turn a library's channel-publishing configs into the `Program`-matching\n * injection configs that make each instrumented file self-register its channel\n * subscriber (via the {@link SUBSCRIBE_TRANSFORM_NAME} custom transform).\n *\n * Emits one injection per distinct instrumented file (deduped by module\n * matcher), so the subscribe snippet lands in exactly the files that receive\n * channels and inherits their precise version ranges. `channelName` carries the\n * package name (not a real channel — nothing is wrapped here) so the transform\n * can look up which subscriber to import.\n *\n * Co-located with each library's config (e.g. `mysqlSubscribeInjection`) but\n * kept OUT of `SENTRY_INSTRUMENTATIONS`: the runtime `--import` hook consumes\n * that list and can't register the custom transform, and an unregistered\n * `transform` makes the code-transformer drop the whole file. They are\n * aggregated separately into `SUBSCRIBE_INJECTIONS` and only handed to a bundler\n * plugin that opts in (and registers the transform).\n */\nexport function toSubscribeInjections(configs: InstrumentationConfig[]): InstrumentationConfig[] {\n const seen = new Set<string>();\n const injections: InstrumentationConfig[] = [];\n\n for (const { module } of configs) {\n const key = `${module.name}\\0${module.versionRange}\\0${String(module.filePath)}`;\n\n if (seen.has(key)) {\n continue;\n }\n\n seen.add(key);\n\n injections.push({\n channelName: module.name,\n module,\n astQuery: 'Program',\n transform: SUBSCRIBE_TRANSFORM_NAME,\n });\n }\n\n return injections;\n}\n"],"names":[],"mappings":";;AAWO,MAAM,wBAAA,GAA2B;AAoBjC,SAAS,sBAAsB,OAAA,EAA2D;AAC/F,EAAA,MAAM,IAAA,uBAAW,GAAA,EAAY;AAC7B,EAAA,MAAM,aAAsC,EAAC;AAE7C,EAAA,KAAA,MAAW,EAAE,MAAA,EAAO,IAAK,OAAA,EAAS;AAChC,IAAA,MAAM,GAAA,GAAM,CAAA,EAAG,MAAA,CAAO,IAAI,CAAA,EAAA,EAAK,MAAA,CAAO,YAAY,CAAA,EAAA,EAAK,MAAA,CAAO,MAAA,CAAO,QAAQ,CAAC,CAAA,CAAA;AAE9E,IAAA,IAAI,IAAA,CAAK,GAAA,CAAI,GAAG,CAAA,EAAG;AACjB,MAAA;AAAA,IACF;AAEA,IAAA,IAAA,CAAK,IAAI,GAAG,CAAA;AAEZ,IAAA,UAAA,CAAW,IAAA,CAAK;AAAA,MACd,aAAa,MAAA,CAAO,IAAA;AAAA,MACpB,MAAA;AAAA,MACA,QAAA,EAAU,SAAA;AAAA,MACV,SAAA,EAAW;AAAA,KACZ,CAAA;AAAA,EACH;AAEA,EAAA,OAAO,UAAA;AACT;;;;;"}
@@ -1,13 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const core = require('@sentry/core');
4
-
5
- function registerOrchestrionChannelIntegration(name, integrationFn) {
6
- var _a;
7
- const marker = (_a = core.GLOBAL_OBJ).__SENTRY_ORCHESTRION__ ?? (_a.__SENTRY_ORCHESTRION__ = {});
8
- (marker.integrations ?? (marker.integrations = /* @__PURE__ */ new Map())).set(name, integrationFn);
9
- core.getClient()?.addIntegration(integrationFn());
10
- }
11
-
12
- exports.registerOrchestrionChannelIntegration = registerOrchestrionChannelIntegration;
13
- //# sourceMappingURL=registerChannelIntegration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"registerChannelIntegration.js","sources":["../../../src/orchestrion/registerChannelIntegration.ts"],"sourcesContent":["import type { Integration } from '@sentry/core';\nimport { getClient, GLOBAL_OBJ } from '@sentry/core';\n\n/**\n * Register an orchestrion channel-subscriber integration from an instrumented\n * module. This is the runtime target of the snippet the subscribe-injection\n * transform splices into each transformed package (see\n * `bundler/subscribeInjection.ts`), so a bundler-only SDK (e.g.\n * `@sentry/cloudflare`, running in workerd where requires can't be\n * monkey-patched) wires up subscribers with no runtime module hook.\n *\n * It does two things, covering the two disjoint timing cases:\n *\n * 1. Stores the factory on the global orchestrion marker under `name`, so a\n * later `init()` (a fresh isolate, or a client created after this module\n * loads) picks it up via `getDefaultIntegrations()`.\n * 2. If a client already exists, registers the integration on it right away.\n * This is what makes the mechanism robust against module load order:\n * bundler-only SDKs call `init()` per request, but a package like `mysql`\n * loads its instrumented file lazily on first use, i.e. AFTER that request's\n * `init()` already snapshotted the marker. Without the live add, the first\n * request that touches such a package would publish to a channel nobody\n * subscribed to yet.\n *\n * `addIntegration` dedupes by integration name and only runs `setupOnce` once,\n * so storing AND live-adding never double-subscribes.\n *\n * The marker is a `Map` keyed by `name` (the factory's export name) so a package\n * split across several instrumented files (e.g. `pg`'s JS and native clients, or\n * openai's per-resource `.js`/`.mjs` files) registers its one subscriber once,\n * no matter how many of its files land in the bundle. `.set` on the shared key\n * is idempotent.\n */\nexport function registerOrchestrionChannelIntegration(name: string, integrationFn: () => Integration): void {\n const marker = (GLOBAL_OBJ.__SENTRY_ORCHESTRION__ ??= {});\n (marker.integrations ??= new Map()).set(name, integrationFn);\n getClient()?.addIntegration(integrationFn());\n}\n"],"names":["GLOBAL_OBJ","getClient"],"mappings":";;;;AAiCO,SAAS,qCAAA,CAAsC,MAAc,aAAA,EAAwC;AAjC5G,EAAA,IAAA,EAAA;AAkCE,EAAA,MAAM,MAAA,GAAA,CAAU,EAAA,GAAAA,eAAA,EAAW,sBAAA,KAAX,EAAA,CAAW,yBAA2B,EAAC,CAAA;AACvD,EAAA,CAAC,MAAA,CAAO,iBAAP,MAAA,CAAO,YAAA,uBAAqB,GAAA,EAAI,CAAA,EAAG,GAAA,CAAI,IAAA,EAAM,aAAa,CAAA;AAC3D,EAAAC,cAAA,EAAU,EAAG,cAAA,CAAe,aAAA,EAAe,CAAA;AAC7C;;;;"}
@@ -1,38 +0,0 @@
1
- import { parse } from 'meriyah';
2
- import { SUBSCRIBE_INJECTIONS } from '../config/index.js';
3
- import { subscriberExportForModule } from '../config/channel-integration-definitions.js';
4
- import { SUBSCRIBE_TRANSFORM_NAME } from '../config/subscribe-injection.js';
5
-
6
- const injectedPrograms = /* @__PURE__ */ new WeakSet();
7
- function subscribeSnippet(exportName, esm) {
8
- const importStmt = esm ? `import { ${exportName}, registerOrchestrionChannelIntegration } from '@sentry/server-utils/orchestrion';` : `const { ${exportName}, registerOrchestrionChannelIntegration } = require('@sentry/server-utils/orchestrion');`;
9
- return `${importStmt}
10
- registerOrchestrionChannelIntegration(${JSON.stringify(exportName)}, ${exportName});`;
11
- }
12
- const injectSubscribe = (state, program) => {
13
- const node = program;
14
- if (injectedPrograms.has(node)) {
15
- return;
16
- }
17
- const { moduleType, channelName } = state;
18
- const exportName = channelName ? subscriberExportForModule(channelName) : void 0;
19
- if (!exportName) {
20
- return;
21
- }
22
- injectedPrograms.add(node);
23
- const statements = parse(subscribeSnippet(exportName, moduleType === "esm"), {
24
- module: moduleType === "esm",
25
- next: true
26
- }).body;
27
- const directiveIndex = node.body.findIndex((n) => n.type === "ExpressionStatement" && n.directive === "use strict");
28
- node.body.splice(directiveIndex + 1, 0, ...statements);
29
- };
30
- function subscribeInjectionOptions() {
31
- return {
32
- instrumentations: SUBSCRIBE_INJECTIONS,
33
- customTransforms: { [SUBSCRIBE_TRANSFORM_NAME]: injectSubscribe }
34
- };
35
- }
36
-
37
- export { subscribeInjectionOptions };
38
- //# sourceMappingURL=subscribeInjection.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subscribeInjection.js","sources":["../../../../src/orchestrion/bundler/subscribeInjection.ts"],"sourcesContent":["import type { CustomTransform } from '@apm-js-collab/code-transformer';\nimport { parse } from 'meriyah';\nimport { SUBSCRIBE_INJECTIONS } from '../config';\nimport { subscriberExportForModule } from '../config/channel-integration-definitions';\nimport { SUBSCRIBE_TRANSFORM_NAME } from '../config/subscribe-injection';\nimport type { PluginOptions } from './options';\n\n// Tracks Program nodes we already injected into, so a package with several\n// instrumented files (or several configs pointing at one file) is injected only\n// once per file. A `WeakSet` keyed by the node avoids mutating the emitted AST.\nconst injectedPrograms = new WeakSet<object>();\n\ninterface ProgramNode {\n type: string;\n body: Array<{ type: string; directive?: string }>;\n}\n\n/**\n * Snippet injected into each instrumented module. It imports ONLY that package's\n * channel-subscriber factory (plus the `registerOrchestrionChannelIntegration`\n * helper) from `@sentry/server-utils/orchestrion`, and hands both to the helper,\n * which stores the factory on the global marker and live-registers it on any\n * existing client (see that helper for the load-order and dedup rationale).\n *\n * Importing the single named factory (rather than a central dispatch that pulls\n * in every subscriber) is what makes this tree-shake: a bundle carries only the\n * subscriber code for packages actually transformed into it. The same\n * \"only-active-when-bundled\" property the runtime module hook gives unbundled\n * Node, but without a hook (workerd can't monkey-patch requires). The helper is\n * generic (references no factory), so importing it alongside doesn't pull siblings.\n */\nfunction subscribeSnippet(exportName: string, esm: boolean): string {\n const importStmt = esm\n ? `import { ${exportName}, registerOrchestrionChannelIntegration } from '@sentry/server-utils/orchestrion';`\n : `const { ${exportName}, registerOrchestrionChannelIntegration } = require('@sentry/server-utils/orchestrion');`;\n\n return `${importStmt}\\nregisterOrchestrionChannelIntegration(${JSON.stringify(exportName)}, ${exportName});`;\n}\n\n/**\n * The custom transform registered under {@link SUBSCRIBE_TRANSFORM_NAME}. It is\n * invoked with the matched `Program` node and mutates it in place, splicing the\n * marker-push snippet in after any `'use strict'` directive.\n *\n * `state` carries the matched config spread with `{ moduleType }`; the config's\n * `channelName` carries the package name (see `toSubscribeInjections`), which\n * maps to the subscriber's export name.\n */\nconst injectSubscribe: CustomTransform = (state, program) => {\n const node = program as ProgramNode;\n if (injectedPrograms.has(node)) {\n return;\n }\n\n const { moduleType, channelName } = state as { moduleType?: string; channelName?: string };\n const exportName = channelName ? subscriberExportForModule(channelName) : undefined;\n if (!exportName) {\n return;\n }\n\n injectedPrograms.add(node);\n\n const statements = parse(subscribeSnippet(exportName, moduleType === 'esm'), {\n module: moduleType === 'esm',\n next: true,\n }).body as ProgramNode['body'];\n\n const directiveIndex = node.body.findIndex(n => n.type === 'ExpressionStatement' && n.directive === 'use strict');\n node.body.splice(directiveIndex + 1, 0, ...statements);\n};\n\n/**\n * The `instrumentations` + `customTransforms` a bundler plugin passes to\n * {@link orchestrionTransformOptions} to enable the marker-push subscribe\n * injection used by bundler-only SDKs (e.g. `@sentry/cloudflare`).\n *\n * The `SUBSCRIBE_INJECTIONS` configs ride alongside the real channel-publishing\n * configs, and `injectSubscribe` runs on each matched module, so every\n * transformed package self-registers its subscriber on the global marker\n * without a runtime module hook.\n */\nexport function subscribeInjectionOptions(): Pick<PluginOptions, 'instrumentations' | 'customTransforms'> {\n return {\n instrumentations: SUBSCRIBE_INJECTIONS,\n customTransforms: { [SUBSCRIBE_TRANSFORM_NAME]: injectSubscribe },\n };\n}\n"],"names":[],"mappings":";;;;;AAUA,MAAM,gBAAA,uBAAuB,OAAA,EAAgB;AAqB7C,SAAS,gBAAA,CAAiB,YAAoB,GAAA,EAAsB;AAClE,EAAA,MAAM,aAAa,GAAA,GACf,CAAA,SAAA,EAAY,UAAU,CAAA,kFAAA,CAAA,GACtB,WAAW,UAAU,CAAA,wFAAA,CAAA;AAEzB,EAAA,OAAO,GAAG,UAAU;AAAA,sCAAA,EAA2C,IAAA,CAAK,SAAA,CAAU,UAAU,CAAC,KAAK,UAAU,CAAA,EAAA,CAAA;AAC1G;AAWA,MAAM,eAAA,GAAmC,CAAC,KAAA,EAAO,OAAA,KAAY;AAC3D,EAAA,MAAM,IAAA,GAAO,OAAA;AACb,EAAA,IAAI,gBAAA,CAAiB,GAAA,CAAI,IAAI,CAAA,EAAG;AAC9B,IAAA;AAAA,EACF;AAEA,EAAA,MAAM,EAAE,UAAA,EAAY,WAAA,EAAY,GAAI,KAAA;AACpC,EAAA,MAAM,UAAA,GAAa,WAAA,GAAc,yBAAA,CAA0B,WAAW,CAAA,GAAI,MAAA;AAC1E,EAAA,IAAI,CAAC,UAAA,EAAY;AACf,IAAA;AAAA,EACF;AAEA,EAAA,gBAAA,CAAiB,IAAI,IAAI,CAAA;AAEzB,EAAA,MAAM,aAAa,KAAA,CAAM,gBAAA,CAAiB,UAAA,EAAY,UAAA,KAAe,KAAK,CAAA,EAAG;AAAA,IAC3E,QAAQ,UAAA,KAAe,KAAA;AAAA,IACvB,IAAA,EAAM;AAAA,GACP,CAAA,CAAE,IAAA;AAEH,EAAA,MAAM,cAAA,GAAiB,IAAA,CAAK,IAAA,CAAK,SAAA,CAAU,CAAA,CAAA,KAAK,EAAE,IAAA,KAAS,qBAAA,IAAyB,CAAA,CAAE,SAAA,KAAc,YAAY,CAAA;AAChH,EAAA,IAAA,CAAK,KAAK,MAAA,CAAO,cAAA,GAAiB,CAAA,EAAG,CAAA,EAAG,GAAG,UAAU,CAAA;AACvD,CAAA;AAYO,SAAS,yBAAA,GAA0F;AACxG,EAAA,OAAO;AAAA,IACL,gBAAA,EAAkB,oBAAA;AAAA,IAClB,gBAAA,EAAkB,EAAE,CAAC,wBAAwB,GAAG,eAAA;AAAgB,GAClE;AACF;;;;"}
@@ -1,22 +0,0 @@
1
- const SUBSCRIBE_TRANSFORM_NAME = "sentrySubscribeOrchestrionChannel";
2
- function toSubscribeInjections(configs) {
3
- const seen = /* @__PURE__ */ new Set();
4
- const injections = [];
5
- for (const { module } of configs) {
6
- const key = `${module.name}\0${module.versionRange}\0${String(module.filePath)}`;
7
- if (seen.has(key)) {
8
- continue;
9
- }
10
- seen.add(key);
11
- injections.push({
12
- channelName: module.name,
13
- module,
14
- astQuery: "Program",
15
- transform: SUBSCRIBE_TRANSFORM_NAME
16
- });
17
- }
18
- return injections;
19
- }
20
-
21
- export { SUBSCRIBE_TRANSFORM_NAME, toSubscribeInjections };
22
- //# sourceMappingURL=subscribe-injection.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subscribe-injection.js","sources":["../../../../src/orchestrion/config/subscribe-injection.ts"],"sourcesContent":["import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';\n\n/**\n * Name shared by the `Program` injection configs (their `transform` field) and\n * the custom transform registered on the bundler plugin (its `customTransforms`\n * key). Any unique string works — it only has to match on both sides.\n *\n * Lives in this dependency-free leaf so the per-library config files can build\n * their injection configs without importing the transform implementation (which\n * pulls in `meriyah` and must never reach the runtime `--import` path).\n */\nexport const SUBSCRIBE_TRANSFORM_NAME = 'sentrySubscribeOrchestrionChannel';\n\n/**\n * Turn a library's channel-publishing configs into the `Program`-matching\n * injection configs that make each instrumented file self-register its channel\n * subscriber (via the {@link SUBSCRIBE_TRANSFORM_NAME} custom transform).\n *\n * Emits one injection per distinct instrumented file (deduped by module\n * matcher), so the subscribe snippet lands in exactly the files that receive\n * channels and inherits their precise version ranges. `channelName` carries the\n * package name (not a real channel — nothing is wrapped here) so the transform\n * can look up which subscriber to import.\n *\n * Co-located with each library's config (e.g. `mysqlSubscribeInjection`) but\n * kept OUT of `SENTRY_INSTRUMENTATIONS`: the runtime `--import` hook consumes\n * that list and can't register the custom transform, and an unregistered\n * `transform` makes the code-transformer drop the whole file. They are\n * aggregated separately into `SUBSCRIBE_INJECTIONS` and only handed to a bundler\n * plugin that opts in (and registers the transform).\n */\nexport function toSubscribeInjections(configs: InstrumentationConfig[]): InstrumentationConfig[] {\n const seen = new Set<string>();\n const injections: InstrumentationConfig[] = [];\n\n for (const { module } of configs) {\n const key = `${module.name}\\0${module.versionRange}\\0${String(module.filePath)}`;\n\n if (seen.has(key)) {\n continue;\n }\n\n seen.add(key);\n\n injections.push({\n channelName: module.name,\n module,\n astQuery: 'Program',\n transform: SUBSCRIBE_TRANSFORM_NAME,\n });\n }\n\n return injections;\n}\n"],"names":[],"mappings":"AAWO,MAAM,wBAAA,GAA2B;AAoBjC,SAAS,sBAAsB,OAAA,EAA2D;AAC/F,EAAA,MAAM,IAAA,uBAAW,GAAA,EAAY;AAC7B,EAAA,MAAM,aAAsC,EAAC;AAE7C,EAAA,KAAA,MAAW,EAAE,MAAA,EAAO,IAAK,OAAA,EAAS;AAChC,IAAA,MAAM,GAAA,GAAM,CAAA,EAAG,MAAA,CAAO,IAAI,CAAA,EAAA,EAAK,MAAA,CAAO,YAAY,CAAA,EAAA,EAAK,MAAA,CAAO,MAAA,CAAO,QAAQ,CAAC,CAAA,CAAA;AAE9E,IAAA,IAAI,IAAA,CAAK,GAAA,CAAI,GAAG,CAAA,EAAG;AACjB,MAAA;AAAA,IACF;AAEA,IAAA,IAAA,CAAK,IAAI,GAAG,CAAA;AAEZ,IAAA,UAAA,CAAW,IAAA,CAAK;AAAA,MACd,aAAa,MAAA,CAAO,IAAA;AAAA,MACpB,MAAA;AAAA,MACA,QAAA,EAAU,SAAA;AAAA,MACV,SAAA,EAAW;AAAA,KACZ,CAAA;AAAA,EACH;AAEA,EAAA,OAAO,UAAA;AACT;;;;"}
@@ -1,11 +0,0 @@
1
- import { GLOBAL_OBJ, getClient } from '@sentry/core';
2
-
3
- function registerOrchestrionChannelIntegration(name, integrationFn) {
4
- var _a;
5
- const marker = (_a = GLOBAL_OBJ).__SENTRY_ORCHESTRION__ ?? (_a.__SENTRY_ORCHESTRION__ = {});
6
- (marker.integrations ?? (marker.integrations = /* @__PURE__ */ new Map())).set(name, integrationFn);
7
- getClient()?.addIntegration(integrationFn());
8
- }
9
-
10
- export { registerOrchestrionChannelIntegration };
11
- //# sourceMappingURL=registerChannelIntegration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"registerChannelIntegration.js","sources":["../../../src/orchestrion/registerChannelIntegration.ts"],"sourcesContent":["import type { Integration } from '@sentry/core';\nimport { getClient, GLOBAL_OBJ } from '@sentry/core';\n\n/**\n * Register an orchestrion channel-subscriber integration from an instrumented\n * module. This is the runtime target of the snippet the subscribe-injection\n * transform splices into each transformed package (see\n * `bundler/subscribeInjection.ts`), so a bundler-only SDK (e.g.\n * `@sentry/cloudflare`, running in workerd where requires can't be\n * monkey-patched) wires up subscribers with no runtime module hook.\n *\n * It does two things, covering the two disjoint timing cases:\n *\n * 1. Stores the factory on the global orchestrion marker under `name`, so a\n * later `init()` (a fresh isolate, or a client created after this module\n * loads) picks it up via `getDefaultIntegrations()`.\n * 2. If a client already exists, registers the integration on it right away.\n * This is what makes the mechanism robust against module load order:\n * bundler-only SDKs call `init()` per request, but a package like `mysql`\n * loads its instrumented file lazily on first use, i.e. AFTER that request's\n * `init()` already snapshotted the marker. Without the live add, the first\n * request that touches such a package would publish to a channel nobody\n * subscribed to yet.\n *\n * `addIntegration` dedupes by integration name and only runs `setupOnce` once,\n * so storing AND live-adding never double-subscribes.\n *\n * The marker is a `Map` keyed by `name` (the factory's export name) so a package\n * split across several instrumented files (e.g. `pg`'s JS and native clients, or\n * openai's per-resource `.js`/`.mjs` files) registers its one subscriber once,\n * no matter how many of its files land in the bundle. `.set` on the shared key\n * is idempotent.\n */\nexport function registerOrchestrionChannelIntegration(name: string, integrationFn: () => Integration): void {\n const marker = (GLOBAL_OBJ.__SENTRY_ORCHESTRION__ ??= {});\n (marker.integrations ??= new Map()).set(name, integrationFn);\n getClient()?.addIntegration(integrationFn());\n}\n"],"names":[],"mappings":";;AAiCO,SAAS,qCAAA,CAAsC,MAAc,aAAA,EAAwC;AAjC5G,EAAA,IAAA,EAAA;AAkCE,EAAA,MAAM,MAAA,GAAA,CAAU,EAAA,GAAA,UAAA,EAAW,sBAAA,KAAX,EAAA,CAAW,yBAA2B,EAAC,CAAA;AACvD,EAAA,CAAC,MAAA,CAAO,iBAAP,MAAA,CAAO,YAAA,uBAAqB,GAAA,EAAI,CAAA,EAAG,GAAA,CAAI,IAAA,EAAM,aAAa,CAAA;AAC3D,EAAA,SAAA,EAAU,EAAG,cAAA,CAAe,aAAA,EAAe,CAAA;AAC7C;;;;"}
@@ -1,13 +0,0 @@
1
- import type { PluginOptions } from './options';
2
- /**
3
- * The `instrumentations` + `customTransforms` a bundler plugin passes to
4
- * {@link orchestrionTransformOptions} to enable the marker-push subscribe
5
- * injection used by bundler-only SDKs (e.g. `@sentry/cloudflare`).
6
- *
7
- * The `SUBSCRIBE_INJECTIONS` configs ride alongside the real channel-publishing
8
- * configs, and `injectSubscribe` runs on each matched module, so every
9
- * transformed package self-registers its subscriber on the global marker
10
- * without a runtime module hook.
11
- */
12
- export declare function subscribeInjectionOptions(): Pick<PluginOptions, 'instrumentations' | 'customTransforms'>;
13
- //# sourceMappingURL=subscribeInjection.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subscribeInjection.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/subscribeInjection.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAkE/C;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,IAAI,IAAI,CAAC,aAAa,EAAE,kBAAkB,GAAG,kBAAkB,CAAC,CAKxG"}
@@ -1,31 +0,0 @@
1
- import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';
2
- /**
3
- * Name shared by the `Program` injection configs (their `transform` field) and
4
- * the custom transform registered on the bundler plugin (its `customTransforms`
5
- * key). Any unique string works — it only has to match on both sides.
6
- *
7
- * Lives in this dependency-free leaf so the per-library config files can build
8
- * their injection configs without importing the transform implementation (which
9
- * pulls in `meriyah` and must never reach the runtime `--import` path).
10
- */
11
- export declare const SUBSCRIBE_TRANSFORM_NAME = "sentrySubscribeOrchestrionChannel";
12
- /**
13
- * Turn a library's channel-publishing configs into the `Program`-matching
14
- * injection configs that make each instrumented file self-register its channel
15
- * subscriber (via the {@link SUBSCRIBE_TRANSFORM_NAME} custom transform).
16
- *
17
- * Emits one injection per distinct instrumented file (deduped by module
18
- * matcher), so the subscribe snippet lands in exactly the files that receive
19
- * channels and inherits their precise version ranges. `channelName` carries the
20
- * package name (not a real channel — nothing is wrapped here) so the transform
21
- * can look up which subscriber to import.
22
- *
23
- * Co-located with each library's config (e.g. `mysqlSubscribeInjection`) but
24
- * kept OUT of `SENTRY_INSTRUMENTATIONS`: the runtime `--import` hook consumes
25
- * that list and can't register the custom transform, and an unregistered
26
- * `transform` makes the code-transformer drop the whole file. They are
27
- * aggregated separately into `SUBSCRIBE_INJECTIONS` and only handed to a bundler
28
- * plugin that opts in (and registers the transform).
29
- */
30
- export declare function toSubscribeInjections(configs: InstrumentationConfig[]): InstrumentationConfig[];
31
- //# sourceMappingURL=subscribe-injection.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subscribe-injection.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/subscribe-injection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAE7E;;;;;;;;GAQG;AACH,eAAO,MAAM,wBAAwB,sCAAsC,CAAC;AAE5E;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,qBAAqB,EAAE,GAAG,qBAAqB,EAAE,CAsB/F"}
@@ -1,33 +0,0 @@
1
- import type { Integration } from '@sentry/core';
2
- /**
3
- * Register an orchestrion channel-subscriber integration from an instrumented
4
- * module. This is the runtime target of the snippet the subscribe-injection
5
- * transform splices into each transformed package (see
6
- * `bundler/subscribeInjection.ts`), so a bundler-only SDK (e.g.
7
- * `@sentry/cloudflare`, running in workerd where requires can't be
8
- * monkey-patched) wires up subscribers with no runtime module hook.
9
- *
10
- * It does two things, covering the two disjoint timing cases:
11
- *
12
- * 1. Stores the factory on the global orchestrion marker under `name`, so a
13
- * later `init()` (a fresh isolate, or a client created after this module
14
- * loads) picks it up via `getDefaultIntegrations()`.
15
- * 2. If a client already exists, registers the integration on it right away.
16
- * This is what makes the mechanism robust against module load order:
17
- * bundler-only SDKs call `init()` per request, but a package like `mysql`
18
- * loads its instrumented file lazily on first use, i.e. AFTER that request's
19
- * `init()` already snapshotted the marker. Without the live add, the first
20
- * request that touches such a package would publish to a channel nobody
21
- * subscribed to yet.
22
- *
23
- * `addIntegration` dedupes by integration name and only runs `setupOnce` once,
24
- * so storing AND live-adding never double-subscribes.
25
- *
26
- * The marker is a `Map` keyed by `name` (the factory's export name) so a package
27
- * split across several instrumented files (e.g. `pg`'s JS and native clients, or
28
- * openai's per-resource `.js`/`.mjs` files) registers its one subscriber once,
29
- * no matter how many of its files land in the bundle. `.set` on the shared key
30
- * is idempotent.
31
- */
32
- export declare function registerOrchestrionChannelIntegration(name: string, integrationFn: () => Integration): void;
33
- //# sourceMappingURL=registerChannelIntegration.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"registerChannelIntegration.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/registerChannelIntegration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,WAAW,GAAG,IAAI,CAI1G"}
@@ -1,7 +0,0 @@
1
- /**
2
- * This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__SENTRY_DEBUG__` in their generated code.
3
- *
4
- * ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.
5
- */
6
- export declare const DEBUG_BUILD: boolean;
7
- //# sourceMappingURL=debug-build.d.ts.map
@@ -1,94 +0,0 @@
1
- import { TracingChannel } from 'node:diagnostics_channel';
2
- import { GraphqlDocumentNode } from './utils';
3
- export declare const GRAPHQL_DC_CHANNEL_PARSE = "graphql:parse";
4
- export declare const GRAPHQL_DC_CHANNEL_VALIDATE = "graphql:validate";
5
- export declare const GRAPHQL_DC_CHANNEL_EXECUTE = "graphql:execute";
6
- export declare const GRAPHQL_DC_CHANNEL_SUBSCRIBE = "graphql:subscribe";
7
- export declare const GRAPHQL_DC_CHANNEL_RESOLVE = "graphql:resolve";
8
- /** Context published on the sync-only `graphql:parse` channel. */
9
- export interface GraphqlParseData {
10
- source: string | {
11
- body?: string;
12
- };
13
- result?: GraphqlDocumentNode;
14
- error?: unknown;
15
- }
16
- /** Context published on the sync-only `graphql:validate` channel. */
17
- export interface GraphqlValidateData {
18
- document: GraphqlDocumentNode;
19
- /** Validation errors returned by validation; an empty array means the document is valid. */
20
- result?: ReadonlyArray<unknown>;
21
- error?: unknown;
22
- }
23
- /**
24
- * Context published on the `graphql:execute` and `graphql:subscribe` channels.
25
- *
26
- * `result` carries an `ExecutionResult` (or, for subscriptions, an async generator); GraphQL errors
27
- * collected during execution surface on `result.errors` rather than as the channel's `error`
28
- * lifecycle event, which only fires on an abrupt throw.
29
- */
30
- export interface GraphqlOperationData {
31
- document: GraphqlDocumentNode;
32
- operationName?: string;
33
- operationType?: string;
34
- result?: unknown;
35
- error?: unknown;
36
- }
37
- /**
38
- * Context published on the per-field `graphql:resolve` channel.
39
- *
40
- * A resolver throw or rejection publishes the `error` lifecycle event here; the same failure also
41
- * surfaces in the enclosing execution result.
42
- */
43
- export interface GraphqlResolveData {
44
- fieldName: string;
45
- parentType: string;
46
- fieldType: string;
47
- fieldPath: string;
48
- /** Whether the field is handled by graphql's default property resolver (vs. a user resolver). */
49
- isDefaultResolver: boolean;
50
- alias?: string;
51
- args?: unknown;
52
- result?: unknown;
53
- error?: unknown;
54
- }
55
- /** Options controlling which graphql channels the subscriber emits spans for. */
56
- export interface GraphqlDiagnosticChannelsOptions {
57
- /**
58
- * Do not create spans for resolvers. Resolver spans are per-field and can be very high volume.
59
- * Defaults to `true`.
60
- */
61
- ignoreResolveSpans?: boolean;
62
- /**
63
- * When resolver spans are enabled, do not create them for graphql's default property resolver
64
- * (fields without a user-defined resolver), which are rarely interesting. Defaults to `true`.
65
- */
66
- ignoreTrivialResolveSpans?: boolean;
67
- /**
68
- * Rename the enclosing root span to include the operation name(s), e.g.
69
- * `GET /graphql` -> `GET /graphql (query GetUser)`. Defaults to `true`.
70
- */
71
- useOperationNameForRootSpan?: boolean;
72
- }
73
- /**
74
- * Platform-provided factory that creates a native tracing channel for the given name. The
75
- * subscriber binds the span and its lifecycle onto the channel via `bindTracingChannelToSpan`,
76
- * which propagates the active span through the runtime's async context.
77
- *
78
- * Node passes `node:diagnostics_channel`'s `tracingChannel` directly.
79
- */
80
- export type GraphqlTracingChannelFactory = <T extends object>(name: string) => TracingChannel<T, T>;
81
- /**
82
- * Subscribe Sentry span handlers to graphql's diagnostics-channel events
83
- * (`graphql:parse`, `:validate`, `:execute`, `:subscribe`), published by graphql >= 17.0.0.
84
- *
85
- * On older graphql versions the channels are never published to, so the subscribers are inert —
86
- * there is no double-instrumentation against the vendored OTel patcher, which is gated to `< 17`.
87
- *
88
- * The per-field `graphql:resolve` channel is only subscribed when `ignoreResolveSpans` is `false`:
89
- * resolver spans are per-field and can be extremely high-volume, so they are off by default (matching
90
- * the legacy OTel path). When enabled, `ignoreTrivialResolveSpans` (default `true`) additionally skips
91
- * graphql's default property resolver.
92
- */
93
- export declare function subscribeGraphqlDiagnosticChannels(tracingChannel: GraphqlTracingChannelFactory, options?: GraphqlDiagnosticChannelsOptions): void;
94
- //# sourceMappingURL=graphql-dc-subscriber.d.ts.map
@@ -1,12 +0,0 @@
1
- import { GraphqlDiagnosticChannelsOptions } from './graphql-dc-subscriber';
2
- /**
3
- * Auto-instrument the [graphql](https://www.npmjs.com/package/graphql) library via its native
4
- * `node:diagnostics_channel` tracing channels (graphql >= 17).
5
- *
6
- * On older graphql versions the channels are never published to, so this integration is inert and
7
- * the vendored OTel instrumentation (gated to `< 17`) handles instrumentation instead.
8
- */
9
- export declare const graphqlIntegration: (options?: GraphqlDiagnosticChannelsOptions | undefined) => import("@sentry/core").Integration & {
10
- name: "Graphql";
11
- };
12
- //# sourceMappingURL=index.d.ts.map
@@ -1,36 +0,0 @@
1
- import { Span } from '@sentry/core';
2
- /** Minimal shape of a graphql-js lexer token, enough to locate literal spans for redaction. */
3
- interface GraphqlToken {
4
- kind: string;
5
- start: number;
6
- end: number;
7
- next?: GraphqlToken | null;
8
- }
9
- /** Minimal shape of a parsed graphql-js `DocumentNode`, enough to read its source and tokens. */
10
- export interface GraphqlDocumentNode {
11
- loc?: {
12
- startToken?: GraphqlToken;
13
- source?: {
14
- body?: string;
15
- };
16
- };
17
- }
18
- /**
19
- * Rename the enclosing root span to include the operation name(s), e.g. `GET /graphql (query GetUser)`.
20
- * Mirrors the legacy OTel `useOperationNameForRootSpan` behavior; `parseSpanDescription` reads the same
21
- * `sentry.graphql.operation` attribute on the OTel export path.
22
- */
23
- export declare function renameRootSpanWithOperation(span: Span, operationType: string, operationName?: string): void;
24
- /**
25
- * Span name follows the GraphQL semantic conventions: `<operation.type> <operation.name>` when both
26
- * are available, `<operation.type>` when only the type is, otherwise a static fallback.
27
- */
28
- export declare function getOperationSpanName(operationType: string | undefined, operationName: string | undefined, fallbackName: string): string;
29
- /** Whether a graphql execution result carries GraphQL errors (returned on `result.errors`). */
30
- export declare function hasResultErrors(result: unknown): boolean;
31
- /**
32
- * Returns the redacted document if `dataCollection.graphQL.document` is enabled, `undefined` otherwise.
33
- */
34
- export declare function collectGraphqlDocument(document: GraphqlDocumentNode | undefined): string | undefined;
35
- export {};
36
- //# sourceMappingURL=utils.d.ts.map
@@ -1,23 +0,0 @@
1
- /// <reference path="./node-diagnostics-channel.d.ts" />
2
- /**
3
- * Server-only utilities shared across Sentry server SDKs.
4
- *
5
- * @module
6
- */
7
- export { graphqlIntegration } from './graphql';
8
- export { mongooseIntegration, startMongooseLegacySpan } from './mongoose';
9
- export { MongooseLegacyCollection, StartMongooseLegacySpanOptions } from './mongoose';
10
- export { getV3CommandOperation, getV3SpanAttributes, getV4SpanAttributes, startMongoSpan, } from './mongodb/mongodb-span';
11
- export { MongodbNamespace, MongoV3Topology } from './mongodb/mongodb-span';
12
- export { mysql2Integration } from './mysql2';
13
- export { instrumentPrisma, prismaIntegration } from './prisma';
14
- export { PrismaInstrumentationConfig, PrismaOptions } from './prisma';
15
- export { redisIntegration, RedisDiagnosticChannelsOptions } from './redis';
16
- export { RedisDiagnosticChannelResponseHook } from './redis/redis-dc-subscriber';
17
- export { defaultDbStatementSerializer } from './redis/redis-statement-serializer';
18
- export { bindTracingChannelToSpan } from './tracing-channel';
19
- export { SentryTracingChannel, TracingChannelLifeCycleOptions, TracingChannelBindingHandle, TracingChannelPayloadWithSpan, } from './tracing-channel';
20
- export { InstrumentationConfig } from './orchestrion';
21
- export { vercelAiIntegration, VercelAiOptions } from './vercel-ai';
22
- export { fastifyIntegration, handleFastifyError, instrumentFastify, } from './integrations/tracing-channel/fastify';
23
- //# sourceMappingURL=index.d.ts.map
@@ -1,11 +0,0 @@
1
- /**
2
- * EXPERIMENTAL: orchestrion-driven `amqplib` integration.
3
- *
4
- * Subscribes to the `orchestrion:amqplib:*` diagnostics_channels that the orchestrion code transform
5
- * injects into `amqplib`'s channel/connection methods. Requires the orchestrion runtime hook or
6
- * bundler plugin to be active.
7
- */
8
- export declare const amqplibChannelIntegration: () => import("@sentry/core").Integration & {
9
- name: "Amqplib";
10
- };
11
- //# sourceMappingURL=amqplib.d.ts.map
@@ -1,10 +0,0 @@
1
- import { AnthropicAiOptions } from '@sentry/core';
2
- /**
3
- * EXPERIMENTAL — orchestrion-driven Anthropic integration. Subscribes to the `orchestrion:@anthropic-ai/sdk:*`
4
- * diagnostics_channels injected into the SDK's chat (`messages`/`completions`/beta `messages`), `models`, and
5
- * `messages.stream()` methods, so it requires the orchestrion runtime hook or bundler plugin.
6
- */
7
- export declare const anthropicChannelIntegration: (options?: AnthropicAiOptions | undefined) => import("@sentry/core").Integration & {
8
- name: "Anthropic_AI";
9
- };
10
- //# sourceMappingURL=anthropic.d.ts.map
@@ -1,43 +0,0 @@
1
- interface Blob {
2
- }
3
- type Binary = Buffer | Uint8Array | Blob | string;
4
- export declare namespace SNS {
5
- interface MessageAttributeValue {
6
- DataType: string;
7
- StringValue?: string;
8
- BinaryValue?: Binary;
9
- }
10
- export type MessageAttributeMap = {
11
- [key: string]: MessageAttributeValue;
12
- };
13
- export {};
14
- }
15
- export declare namespace SQS {
16
- type StringList = string[];
17
- type BinaryList = Binary[];
18
- interface MessageAttributeValue {
19
- StringValue?: string;
20
- BinaryValue?: Binary;
21
- StringListValues?: StringList;
22
- BinaryListValues?: BinaryList;
23
- DataType: string;
24
- }
25
- export type MessageBodyAttributeMap = {
26
- [key: string]: MessageAttributeValue;
27
- };
28
- type MessageSystemAttributeMap = {
29
- [key: string]: string;
30
- };
31
- export interface Message {
32
- MessageId?: string;
33
- ReceiptHandle?: string;
34
- MD5OfBody?: string;
35
- Body?: string;
36
- Attributes?: MessageSystemAttributeMap;
37
- MD5OfMessageAttributes?: string;
38
- MessageAttributes?: MessageBodyAttributeMap;
39
- }
40
- export {};
41
- }
42
- export {};
43
- //# sourceMappingURL=aws-sdk.types.d.ts.map
@@ -1,15 +0,0 @@
1
- /**
2
- * AWS-specific span constants used by the aws-sdk channel integration that are NOT covered by
3
- * `@sentry/conventions/attributes` (attribute names that exist there are imported from there
4
- * directly). These are either Sentry-specific (the span origin), attribute *values* (not keys), or
5
- * obsolete OTel conventions with no `@sentry/conventions` export.
6
- */
7
- /** The span origin every aws-sdk channel span carries, mirroring the uniform OTel `auto.otel.aws`. */
8
- export declare const AWS_SDK_ORIGIN = "auto.aws.orchestrion.aws_sdk";
9
- /** DynamoDB `db.system` value (an attribute value, not a key, so not covered by conventions). */
10
- export declare const DB_SYSTEM_VALUE_DYNAMODB = "dynamodb";
11
- export declare const ATTR_MESSAGING_DESTINATION_KIND = "messaging.destination_kind";
12
- export declare const MESSAGING_DESTINATION_KIND_VALUE_TOPIC = "topic";
13
- export declare const GEN_AI_OPERATION_NAME_VALUE_CHAT = "chat";
14
- export declare const GEN_AI_SYSTEM_VALUE_AWS_BEDROCK = "aws.bedrock";
15
- //# sourceMappingURL=constants.d.ts.map
@@ -1,15 +0,0 @@
1
- /**
2
- * EXPERIMENTAL — orchestrion-driven aws-sdk (v3) integration.
3
- *
4
- * Subscribes to the `orchestrion:@smithy/smithy-client:send` (and equivalent) diagnostics_channel
5
- * the orchestrion code transform injects into the AWS SDK's smithy `Client.prototype.send`, emitting
6
- * spans identical to the OTel `@opentelemetry/instrumentation-aws-sdk` integration (with a distinct
7
- * `auto.aws.orchestrion.aws_sdk` origin). Requires the orchestrion runtime hook or bundler plugin —
8
- * wire it up via `experimentalUseDiagnosticsChannelInjection()`.
9
- *
10
- * @experimental
11
- */
12
- export declare const awsChannelIntegration: () => import("@sentry/core").Integration & {
13
- name: "Aws";
14
- };
15
- //# sourceMappingURL=index.d.ts.map
@@ -1,23 +0,0 @@
1
- import { SerializedTraceData } from '@sentry/core';
2
- import { SNS, SQS } from '../aws-sdk.types';
3
- export declare const MAX_MESSAGE_ATTRIBUTES = 10;
4
- export interface AwsSdkContextObject {
5
- [key: string]: {
6
- StringValue?: string;
7
- Value?: string;
8
- };
9
- }
10
- /**
11
- * Inject trace-propagation headers (from `getTraceData({ span })`) into an SQS/SNS message-attribute
12
- * map, so the consumer can continue the trace. Respects the SQS 10-attribute quota. Mirrors the OTel
13
- * integration's `injectPropagationContext`, but writes Sentry's `sentry-trace`/`baggage` instead of
14
- * W3C headers. Callers pass the precomputed headers so batch sends serialize them only once.
15
- */
16
- export declare function injectPropagationContext(attributesMap: SQS.MessageBodyAttributeMap | SNS.MessageAttributeMap | undefined, traceData: SerializedTraceData): SQS.MessageBodyAttributeMap | SNS.MessageAttributeMap;
17
- /** Read the propagation headers back off a received SQS message, if present. */
18
- export declare function extractPropagationHeaders(message: SQS.Message): {
19
- sentryTrace?: string;
20
- baggage?: string;
21
- } | undefined;
22
- export declare function addPropagationFieldsToAttributeNames(messageAttributeNames?: string[]): string[];
23
- //# sourceMappingURL=MessageAttributes.d.ts.map
@@ -1,9 +0,0 @@
1
- import { Span } from '@sentry/core';
2
- import { NormalizedRequest, NormalizedResponse, RequestMetadata } from '../types';
3
- export { RequestMetadata };
4
- export interface ServiceExtension {
5
- requestPreSpanHook: (request: NormalizedRequest) => RequestMetadata;
6
- requestPostSpanHook?: (request: NormalizedRequest, span: Span) => void;
7
- responseHook?: (response: NormalizedResponse, span: Span) => void;
8
- }
9
- //# sourceMappingURL=ServiceExtension.d.ts.map