@sentry/server-utils 10.65.0 → 10.67.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 (557) hide show
  1. package/build/cjs/graphql/graphql-dc-subscriber.js +2 -4
  2. package/build/cjs/graphql/graphql-dc-subscriber.js.map +1 -1
  3. package/build/cjs/graphql/utils.js +7 -1
  4. package/build/cjs/graphql/utils.js.map +1 -1
  5. package/build/cjs/index.js +18 -8
  6. package/build/cjs/index.js.map +1 -1
  7. package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js +16 -0
  8. package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js.map +1 -0
  9. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js +154 -0
  10. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js.map +1 -0
  11. package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js +46 -0
  12. package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +1 -0
  13. package/build/cjs/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js +47 -0
  14. package/build/cjs/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +1 -0
  15. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +419 -0
  16. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +1 -0
  17. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js +131 -0
  18. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +1 -0
  19. package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js +21 -0
  20. package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +1 -0
  21. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js +64 -0
  22. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js.map +1 -0
  23. package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js +21 -0
  24. package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js.map +1 -0
  25. package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js +27 -0
  26. package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +1 -0
  27. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js +63 -0
  28. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js.map +1 -0
  29. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js +116 -0
  30. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js.map +1 -0
  31. package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js +25 -0
  32. package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +1 -0
  33. package/build/cjs/integrations/tracing-channel/aws-sdk/utils.js +30 -0
  34. package/build/cjs/integrations/tracing-channel/aws-sdk/utils.js.map +1 -0
  35. package/build/cjs/integrations/tracing-channel/dataloader.js +95 -0
  36. package/build/cjs/integrations/tracing-channel/dataloader.js.map +1 -0
  37. package/build/cjs/integrations/tracing-channel/express/instrumentation.js +1 -6
  38. package/build/cjs/integrations/tracing-channel/express/instrumentation.js.map +1 -1
  39. package/build/cjs/integrations/tracing-channel/generic-pool.js +34 -0
  40. package/build/cjs/integrations/tracing-channel/generic-pool.js.map +1 -0
  41. package/build/cjs/integrations/tracing-channel/graphql/spans.js +2 -2
  42. package/build/cjs/integrations/tracing-channel/graphql/spans.js.map +1 -1
  43. package/build/cjs/integrations/tracing-channel/ioredis.js +29 -26
  44. package/build/cjs/integrations/tracing-channel/ioredis.js.map +1 -1
  45. package/build/cjs/integrations/tracing-channel/kafkajs/consumer.js +71 -0
  46. package/build/cjs/integrations/tracing-channel/kafkajs/consumer.js.map +1 -0
  47. package/build/cjs/integrations/tracing-channel/kafkajs/index.js +70 -0
  48. package/build/cjs/integrations/tracing-channel/kafkajs/index.js.map +1 -0
  49. package/build/cjs/integrations/tracing-channel/kafkajs/semconv.js +22 -0
  50. package/build/cjs/integrations/tracing-channel/kafkajs/semconv.js.map +1 -0
  51. package/build/cjs/integrations/tracing-channel/kafkajs/spans.js +119 -0
  52. package/build/cjs/integrations/tracing-channel/kafkajs/spans.js.map +1 -0
  53. package/build/cjs/integrations/tracing-channel/knex.js +188 -0
  54. package/build/cjs/integrations/tracing-channel/knex.js.map +1 -0
  55. package/build/cjs/integrations/tracing-channel/koa.js +146 -0
  56. package/build/cjs/integrations/tracing-channel/koa.js.map +1 -0
  57. package/build/cjs/integrations/tracing-channel/langchain.js +63 -0
  58. package/build/cjs/integrations/tracing-channel/langchain.js.map +1 -0
  59. package/build/cjs/integrations/tracing-channel/langgraph.js +100 -0
  60. package/build/cjs/integrations/tracing-channel/langgraph.js.map +1 -0
  61. package/build/cjs/integrations/tracing-channel/mongodb.js +104 -0
  62. package/build/cjs/integrations/tracing-channel/mongodb.js.map +1 -0
  63. package/build/cjs/integrations/tracing-channel/mongoose.js +110 -0
  64. package/build/cjs/integrations/tracing-channel/mongoose.js.map +1 -0
  65. package/build/cjs/integrations/tracing-channel/mysql2.js +83 -0
  66. package/build/cjs/integrations/tracing-channel/mysql2.js.map +1 -0
  67. package/build/cjs/integrations/tracing-channel/openai.js +1 -3
  68. package/build/cjs/integrations/tracing-channel/openai.js.map +1 -1
  69. package/build/cjs/integrations/tracing-channel/redis.js +25 -34
  70. package/build/cjs/integrations/tracing-channel/redis.js.map +1 -1
  71. package/build/cjs/integrations/tracing-channel/tedious.js +145 -0
  72. package/build/cjs/integrations/tracing-channel/tedious.js.map +1 -0
  73. package/build/cjs/mongodb/mongodb-span.js +133 -0
  74. package/build/cjs/mongodb/mongodb-span.js.map +1 -0
  75. package/build/cjs/mongoose/index.js.map +1 -1
  76. package/build/cjs/mongoose/mongoose-legacy-span.js +40 -0
  77. package/build/cjs/mongoose/mongoose-legacy-span.js.map +1 -0
  78. package/build/cjs/orchestrion/bundler/esbuild.js +15 -0
  79. package/build/cjs/orchestrion/bundler/esbuild.js.map +1 -0
  80. package/build/cjs/orchestrion/bundler/options.js +24 -0
  81. package/build/cjs/orchestrion/bundler/options.js.map +1 -0
  82. package/build/cjs/orchestrion/bundler/rollup.js +15 -0
  83. package/build/cjs/orchestrion/bundler/rollup.js.map +1 -0
  84. package/build/cjs/orchestrion/bundler/vite.js +8 -21
  85. package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
  86. package/build/cjs/orchestrion/bundler/webpack.js +36 -0
  87. package/build/cjs/orchestrion/bundler/webpack.js.map +1 -0
  88. package/build/cjs/orchestrion/channels.js +54 -20
  89. package/build/cjs/orchestrion/channels.js.map +1 -1
  90. package/build/cjs/orchestrion/config/amqplib.js.map +1 -1
  91. package/build/cjs/orchestrion/config/anthropic-ai.js.map +1 -1
  92. package/build/cjs/orchestrion/config/aws-sdk.js +28 -0
  93. package/build/cjs/orchestrion/config/aws-sdk.js.map +1 -0
  94. package/build/cjs/orchestrion/config/dataloader.js +53 -0
  95. package/build/cjs/orchestrion/config/dataloader.js.map +1 -0
  96. package/build/cjs/orchestrion/config/express.js +9 -8
  97. package/build/cjs/orchestrion/config/express.js.map +1 -1
  98. package/build/cjs/orchestrion/config/firebase.js +8 -0
  99. package/build/cjs/orchestrion/config/firebase.js.map +1 -0
  100. package/build/cjs/orchestrion/config/generic-pool.js +21 -0
  101. package/build/cjs/orchestrion/config/generic-pool.js.map +1 -0
  102. package/build/cjs/orchestrion/config/google-genai.js.map +1 -1
  103. package/build/cjs/orchestrion/config/graphql.js.map +1 -1
  104. package/build/cjs/orchestrion/config/hapi.js.map +1 -1
  105. package/build/cjs/orchestrion/config/index.js +64 -23
  106. package/build/cjs/orchestrion/config/index.js.map +1 -1
  107. package/build/cjs/orchestrion/config/ioredis.js.map +1 -1
  108. package/build/cjs/orchestrion/config/kafkajs.js +30 -0
  109. package/build/cjs/orchestrion/config/kafkajs.js.map +1 -0
  110. package/build/cjs/orchestrion/config/knex.js +43 -0
  111. package/build/cjs/orchestrion/config/knex.js.map +1 -0
  112. package/build/cjs/orchestrion/config/koa.js +16 -0
  113. package/build/cjs/orchestrion/config/koa.js.map +1 -0
  114. package/build/cjs/orchestrion/config/langchain.js +52 -0
  115. package/build/cjs/orchestrion/config/langchain.js.map +1 -0
  116. package/build/cjs/orchestrion/config/langgraph.js +28 -0
  117. package/build/cjs/orchestrion/config/langgraph.js.map +1 -0
  118. package/build/cjs/orchestrion/config/lru-memoizer.js.map +1 -1
  119. package/build/cjs/orchestrion/config/mongodb.js +67 -0
  120. package/build/cjs/orchestrion/config/mongodb.js.map +1 -0
  121. package/build/cjs/orchestrion/config/mongoose.js +107 -0
  122. package/build/cjs/orchestrion/config/mongoose.js.map +1 -0
  123. package/build/cjs/orchestrion/config/mysql.js.map +1 -1
  124. package/build/cjs/orchestrion/config/mysql2.js +32 -0
  125. package/build/cjs/orchestrion/config/mysql2.js.map +1 -0
  126. package/build/cjs/orchestrion/config/nestjs.js +122 -0
  127. package/build/cjs/orchestrion/config/nestjs.js.map +1 -0
  128. package/build/cjs/orchestrion/config/openai.js +5 -5
  129. package/build/cjs/orchestrion/config/openai.js.map +1 -1
  130. package/build/cjs/orchestrion/config/pg.js.map +1 -1
  131. package/build/cjs/orchestrion/config/postgres.js.map +1 -1
  132. package/build/cjs/orchestrion/config/prisma.js +8 -0
  133. package/build/cjs/orchestrion/config/prisma.js.map +1 -0
  134. package/build/cjs/orchestrion/config/react-router.js +8 -0
  135. package/build/cjs/orchestrion/config/react-router.js.map +1 -0
  136. package/build/cjs/orchestrion/config/redis.js.map +1 -1
  137. package/build/cjs/orchestrion/config/remix.js +54 -0
  138. package/build/cjs/orchestrion/config/remix.js.map +1 -0
  139. package/build/cjs/orchestrion/config/tedious.js +24 -0
  140. package/build/cjs/orchestrion/config/tedious.js.map +1 -0
  141. package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -1
  142. package/build/cjs/orchestrion/detect.js +12 -11
  143. package/build/cjs/orchestrion/detect.js.map +1 -1
  144. package/build/cjs/orchestrion/index.js +44 -6
  145. package/build/cjs/orchestrion/index.js.map +1 -1
  146. package/build/cjs/orchestrion/runtime/register.js +45 -21
  147. package/build/cjs/orchestrion/runtime/register.js.map +1 -1
  148. package/build/cjs/prisma/global.js +14 -0
  149. package/build/cjs/prisma/global.js.map +1 -0
  150. package/build/cjs/prisma/index.js +27 -0
  151. package/build/cjs/prisma/index.js.map +1 -0
  152. package/build/cjs/prisma/tracing-helper.js +211 -0
  153. package/build/cjs/prisma/tracing-helper.js.map +1 -0
  154. package/build/cjs/redis/redis-dc-subscriber.js +27 -38
  155. package/build/cjs/redis/redis-dc-subscriber.js.map +1 -1
  156. package/build/cjs/vercel-ai/util.js +0 -11
  157. package/build/cjs/vercel-ai/util.js.map +1 -1
  158. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js +9 -9
  159. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
  160. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js +16 -3
  161. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
  162. package/build/esm/graphql/graphql-dc-subscriber.js +3 -5
  163. package/build/esm/graphql/graphql-dc-subscriber.js.map +1 -1
  164. package/build/esm/graphql/utils.js +8 -2
  165. package/build/esm/graphql/utils.js.map +1 -1
  166. package/build/esm/index.js +3 -0
  167. package/build/esm/index.js.map +1 -1
  168. package/build/esm/integrations/tracing-channel/aws-sdk/constants.js +9 -0
  169. package/build/esm/integrations/tracing-channel/aws-sdk/constants.js.map +1 -0
  170. package/build/esm/integrations/tracing-channel/aws-sdk/index.js +152 -0
  171. package/build/esm/integrations/tracing-channel/aws-sdk/index.js.map +1 -0
  172. package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js +41 -0
  173. package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +1 -0
  174. package/build/esm/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js +45 -0
  175. package/build/esm/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +1 -0
  176. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +417 -0
  177. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +1 -0
  178. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js +129 -0
  179. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +1 -0
  180. package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js +19 -0
  181. package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +1 -0
  182. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js +62 -0
  183. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js.map +1 -0
  184. package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js +19 -0
  185. package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js.map +1 -0
  186. package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js +25 -0
  187. package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +1 -0
  188. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js +61 -0
  189. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js.map +1 -0
  190. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js +114 -0
  191. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js.map +1 -0
  192. package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js +23 -0
  193. package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +1 -0
  194. package/build/esm/integrations/tracing-channel/aws-sdk/utils.js +26 -0
  195. package/build/esm/integrations/tracing-channel/aws-sdk/utils.js.map +1 -0
  196. package/build/esm/integrations/tracing-channel/dataloader.js +93 -0
  197. package/build/esm/integrations/tracing-channel/dataloader.js.map +1 -0
  198. package/build/esm/integrations/tracing-channel/express/instrumentation.js +1 -6
  199. package/build/esm/integrations/tracing-channel/express/instrumentation.js.map +1 -1
  200. package/build/esm/integrations/tracing-channel/generic-pool.js +32 -0
  201. package/build/esm/integrations/tracing-channel/generic-pool.js.map +1 -0
  202. package/build/esm/integrations/tracing-channel/graphql/spans.js +3 -3
  203. package/build/esm/integrations/tracing-channel/graphql/spans.js.map +1 -1
  204. package/build/esm/integrations/tracing-channel/ioredis.js +29 -27
  205. package/build/esm/integrations/tracing-channel/ioredis.js.map +1 -1
  206. package/build/esm/integrations/tracing-channel/kafkajs/consumer.js +67 -0
  207. package/build/esm/integrations/tracing-channel/kafkajs/consumer.js.map +1 -0
  208. package/build/esm/integrations/tracing-channel/kafkajs/index.js +68 -0
  209. package/build/esm/integrations/tracing-channel/kafkajs/index.js.map +1 -0
  210. package/build/esm/integrations/tracing-channel/kafkajs/semconv.js +12 -0
  211. package/build/esm/integrations/tracing-channel/kafkajs/semconv.js.map +1 -0
  212. package/build/esm/integrations/tracing-channel/kafkajs/spans.js +112 -0
  213. package/build/esm/integrations/tracing-channel/kafkajs/spans.js.map +1 -0
  214. package/build/esm/integrations/tracing-channel/knex.js +186 -0
  215. package/build/esm/integrations/tracing-channel/knex.js.map +1 -0
  216. package/build/esm/integrations/tracing-channel/koa.js +144 -0
  217. package/build/esm/integrations/tracing-channel/koa.js.map +1 -0
  218. package/build/esm/integrations/tracing-channel/langchain.js +61 -0
  219. package/build/esm/integrations/tracing-channel/langchain.js.map +1 -0
  220. package/build/esm/integrations/tracing-channel/langgraph.js +98 -0
  221. package/build/esm/integrations/tracing-channel/langgraph.js.map +1 -0
  222. package/build/esm/integrations/tracing-channel/mongodb.js +102 -0
  223. package/build/esm/integrations/tracing-channel/mongodb.js.map +1 -0
  224. package/build/esm/integrations/tracing-channel/mongoose.js +108 -0
  225. package/build/esm/integrations/tracing-channel/mongoose.js.map +1 -0
  226. package/build/esm/integrations/tracing-channel/mysql2.js +81 -0
  227. package/build/esm/integrations/tracing-channel/mysql2.js.map +1 -0
  228. package/build/esm/integrations/tracing-channel/openai.js +1 -3
  229. package/build/esm/integrations/tracing-channel/openai.js.map +1 -1
  230. package/build/esm/integrations/tracing-channel/redis.js +25 -34
  231. package/build/esm/integrations/tracing-channel/redis.js.map +1 -1
  232. package/build/esm/integrations/tracing-channel/tedious.js +143 -0
  233. package/build/esm/integrations/tracing-channel/tedious.js.map +1 -0
  234. package/build/esm/mongodb/mongodb-span.js +126 -0
  235. package/build/esm/mongodb/mongodb-span.js.map +1 -0
  236. package/build/esm/mongoose/index.js.map +1 -1
  237. package/build/esm/mongoose/mongoose-legacy-span.js +38 -0
  238. package/build/esm/mongoose/mongoose-legacy-span.js.map +1 -0
  239. package/build/esm/orchestrion/bundler/esbuild.js +9 -0
  240. package/build/esm/orchestrion/bundler/esbuild.js.map +1 -0
  241. package/build/esm/orchestrion/bundler/options.js +22 -0
  242. package/build/esm/orchestrion/bundler/options.js.map +1 -0
  243. package/build/esm/orchestrion/bundler/rollup.js +9 -0
  244. package/build/esm/orchestrion/bundler/rollup.js.map +1 -0
  245. package/build/esm/orchestrion/bundler/vite.js +5 -22
  246. package/build/esm/orchestrion/bundler/vite.js.map +1 -1
  247. package/build/esm/orchestrion/bundler/webpack.js +27 -0
  248. package/build/esm/orchestrion/bundler/webpack.js.map +1 -0
  249. package/build/esm/orchestrion/channels.js +54 -20
  250. package/build/esm/orchestrion/channels.js.map +1 -1
  251. package/build/esm/orchestrion/config/amqplib.js.map +1 -1
  252. package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -1
  253. package/build/esm/orchestrion/config/aws-sdk.js +25 -0
  254. package/build/esm/orchestrion/config/aws-sdk.js.map +1 -0
  255. package/build/esm/orchestrion/config/dataloader.js +50 -0
  256. package/build/esm/orchestrion/config/dataloader.js.map +1 -0
  257. package/build/esm/orchestrion/config/express.js +9 -8
  258. package/build/esm/orchestrion/config/express.js.map +1 -1
  259. package/build/esm/orchestrion/config/firebase.js +5 -0
  260. package/build/esm/orchestrion/config/firebase.js.map +1 -0
  261. package/build/esm/orchestrion/config/generic-pool.js +18 -0
  262. package/build/esm/orchestrion/config/generic-pool.js.map +1 -0
  263. package/build/esm/orchestrion/config/google-genai.js.map +1 -1
  264. package/build/esm/orchestrion/config/graphql.js.map +1 -1
  265. package/build/esm/orchestrion/config/hapi.js.map +1 -1
  266. package/build/esm/orchestrion/config/index.js +64 -24
  267. package/build/esm/orchestrion/config/index.js.map +1 -1
  268. package/build/esm/orchestrion/config/ioredis.js.map +1 -1
  269. package/build/esm/orchestrion/config/kafkajs.js +27 -0
  270. package/build/esm/orchestrion/config/kafkajs.js.map +1 -0
  271. package/build/esm/orchestrion/config/knex.js +40 -0
  272. package/build/esm/orchestrion/config/knex.js.map +1 -0
  273. package/build/esm/orchestrion/config/koa.js +13 -0
  274. package/build/esm/orchestrion/config/koa.js.map +1 -0
  275. package/build/esm/orchestrion/config/langchain.js +48 -0
  276. package/build/esm/orchestrion/config/langchain.js.map +1 -0
  277. package/build/esm/orchestrion/config/langgraph.js +25 -0
  278. package/build/esm/orchestrion/config/langgraph.js.map +1 -0
  279. package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -1
  280. package/build/esm/orchestrion/config/mongodb.js +64 -0
  281. package/build/esm/orchestrion/config/mongodb.js.map +1 -0
  282. package/build/esm/orchestrion/config/mongoose.js +103 -0
  283. package/build/esm/orchestrion/config/mongoose.js.map +1 -0
  284. package/build/esm/orchestrion/config/mysql.js.map +1 -1
  285. package/build/esm/orchestrion/config/mysql2.js +29 -0
  286. package/build/esm/orchestrion/config/mysql2.js.map +1 -0
  287. package/build/esm/orchestrion/config/nestjs.js +119 -0
  288. package/build/esm/orchestrion/config/nestjs.js.map +1 -0
  289. package/build/esm/orchestrion/config/openai.js +5 -5
  290. package/build/esm/orchestrion/config/openai.js.map +1 -1
  291. package/build/esm/orchestrion/config/pg.js.map +1 -1
  292. package/build/esm/orchestrion/config/postgres.js.map +1 -1
  293. package/build/esm/orchestrion/config/prisma.js +5 -0
  294. package/build/esm/orchestrion/config/prisma.js.map +1 -0
  295. package/build/esm/orchestrion/config/react-router.js +5 -0
  296. package/build/esm/orchestrion/config/react-router.js.map +1 -0
  297. package/build/esm/orchestrion/config/redis.js.map +1 -1
  298. package/build/esm/orchestrion/config/remix.js +51 -0
  299. package/build/esm/orchestrion/config/remix.js.map +1 -0
  300. package/build/esm/orchestrion/config/tedious.js +21 -0
  301. package/build/esm/orchestrion/config/tedious.js.map +1 -0
  302. package/build/esm/orchestrion/config/vercel-ai.js.map +1 -1
  303. package/build/esm/orchestrion/detect.js +13 -12
  304. package/build/esm/orchestrion/detect.js.map +1 -1
  305. package/build/esm/orchestrion/index.js +26 -2
  306. package/build/esm/orchestrion/index.js.map +1 -1
  307. package/build/esm/orchestrion/runtime/register.js +47 -23
  308. package/build/esm/orchestrion/runtime/register.js.map +1 -1
  309. package/build/esm/package.json +1 -1
  310. package/build/esm/prisma/global.js +12 -0
  311. package/build/esm/prisma/global.js.map +1 -0
  312. package/build/esm/prisma/index.js +24 -0
  313. package/build/esm/prisma/index.js.map +1 -0
  314. package/build/esm/prisma/tracing-helper.js +209 -0
  315. package/build/esm/prisma/tracing-helper.js.map +1 -0
  316. package/build/esm/redis/redis-dc-subscriber.js +27 -38
  317. package/build/esm/redis/redis-dc-subscriber.js.map +1 -1
  318. package/build/esm/vercel-ai/util.js +1 -11
  319. package/build/esm/vercel-ai/util.js.map +1 -1
  320. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js +11 -11
  321. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
  322. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js +17 -4
  323. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
  324. package/build/types/graphql/utils.d.ts +2 -6
  325. package/build/types/graphql/utils.d.ts.map +1 -1
  326. package/build/types/index.d.ts +7 -1
  327. package/build/types/index.d.ts.map +1 -1
  328. package/build/types/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts +43 -0
  329. package/build/types/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts.map +1 -0
  330. package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts +15 -0
  331. package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts.map +1 -0
  332. package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts +15 -0
  333. package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts.map +1 -0
  334. package/build/types/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts +23 -0
  335. package/build/types/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts.map +1 -0
  336. package/build/types/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts +9 -0
  337. package/build/types/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts.map +1 -0
  338. package/build/types/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts +10 -0
  339. package/build/types/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts.map +1 -0
  340. package/build/types/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts +14 -0
  341. package/build/types/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts.map +1 -0
  342. package/build/types/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts +8 -0
  343. package/build/types/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts.map +1 -0
  344. package/build/types/integrations/tracing-channel/aws-sdk/services/index.d.ts +2 -0
  345. package/build/types/integrations/tracing-channel/aws-sdk/services/index.d.ts.map +1 -0
  346. package/build/types/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts +6 -0
  347. package/build/types/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts.map +1 -0
  348. package/build/types/integrations/tracing-channel/aws-sdk/services/lambda.d.ts +9 -0
  349. package/build/types/integrations/tracing-channel/aws-sdk/services/lambda.d.ts.map +1 -0
  350. package/build/types/integrations/tracing-channel/aws-sdk/services/s3.d.ts +6 -0
  351. package/build/types/integrations/tracing-channel/aws-sdk/services/s3.d.ts.map +1 -0
  352. package/build/types/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts +8 -0
  353. package/build/types/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts.map +1 -0
  354. package/build/types/integrations/tracing-channel/aws-sdk/services/sns.d.ts +9 -0
  355. package/build/types/integrations/tracing-channel/aws-sdk/services/sns.d.ts.map +1 -0
  356. package/build/types/integrations/tracing-channel/aws-sdk/services/sqs.d.ts +9 -0
  357. package/build/types/integrations/tracing-channel/aws-sdk/services/sqs.d.ts.map +1 -0
  358. package/build/types/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts +6 -0
  359. package/build/types/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts.map +1 -0
  360. package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts +26 -0
  361. package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts.map +1 -0
  362. package/build/types/integrations/tracing-channel/aws-sdk/utils.d.ts +5 -0
  363. package/build/types/integrations/tracing-channel/aws-sdk/utils.d.ts.map +1 -0
  364. package/build/types/integrations/tracing-channel/dataloader.d.ts +11 -0
  365. package/build/types/integrations/tracing-channel/dataloader.d.ts.map +1 -0
  366. package/build/types/integrations/tracing-channel/express/instrumentation.d.ts.map +1 -1
  367. package/build/types/integrations/tracing-channel/generic-pool.d.ts +10 -0
  368. package/build/types/integrations/tracing-channel/generic-pool.d.ts.map +1 -0
  369. package/build/types/integrations/tracing-channel/ioredis.d.ts +20 -0
  370. package/build/types/integrations/tracing-channel/ioredis.d.ts.map +1 -1
  371. package/build/types/integrations/tracing-channel/kafkajs/consumer.d.ts +8 -0
  372. package/build/types/integrations/tracing-channel/kafkajs/consumer.d.ts.map +1 -0
  373. package/build/types/integrations/tracing-channel/kafkajs/index.d.ts +17 -0
  374. package/build/types/integrations/tracing-channel/kafkajs/index.d.ts.map +1 -0
  375. package/build/types/integrations/tracing-channel/kafkajs/semconv.d.ts +10 -0
  376. package/build/types/integrations/tracing-channel/kafkajs/semconv.d.ts.map +1 -0
  377. package/build/types/integrations/tracing-channel/kafkajs/spans.d.ts +38 -0
  378. package/build/types/integrations/tracing-channel/kafkajs/spans.d.ts.map +1 -0
  379. package/build/types/integrations/tracing-channel/kafkajs/types.d.ts +40 -0
  380. package/build/types/integrations/tracing-channel/kafkajs/types.d.ts.map +1 -0
  381. package/build/types/integrations/tracing-channel/knex.d.ts +11 -0
  382. package/build/types/integrations/tracing-channel/knex.d.ts.map +1 -0
  383. package/build/types/integrations/tracing-channel/koa.d.ts +14 -0
  384. package/build/types/integrations/tracing-channel/koa.d.ts.map +1 -0
  385. package/build/types/integrations/tracing-channel/langchain.d.ts +10 -0
  386. package/build/types/integrations/tracing-channel/langchain.d.ts.map +1 -0
  387. package/build/types/integrations/tracing-channel/langgraph.d.ts +10 -0
  388. package/build/types/integrations/tracing-channel/langgraph.d.ts.map +1 -0
  389. package/build/types/integrations/tracing-channel/mongodb.d.ts +12 -0
  390. package/build/types/integrations/tracing-channel/mongodb.d.ts.map +1 -0
  391. package/build/types/integrations/tracing-channel/mongoose.d.ts +15 -0
  392. package/build/types/integrations/tracing-channel/mongoose.d.ts.map +1 -0
  393. package/build/types/integrations/tracing-channel/mysql2.d.ts +15 -0
  394. package/build/types/integrations/tracing-channel/mysql2.d.ts.map +1 -0
  395. package/build/types/integrations/tracing-channel/openai.d.ts.map +1 -1
  396. package/build/types/integrations/tracing-channel/redis.d.ts.map +1 -1
  397. package/build/types/integrations/tracing-channel/tedious.d.ts +11 -0
  398. package/build/types/integrations/tracing-channel/tedious.d.ts.map +1 -0
  399. package/build/types/mongodb/mongodb-span.d.ts +66 -0
  400. package/build/types/mongodb/mongodb-span.d.ts.map +1 -0
  401. package/build/types/mongoose/index.d.ts +2 -0
  402. package/build/types/mongoose/index.d.ts.map +1 -1
  403. package/build/types/mongoose/mongoose-legacy-span.d.ts +29 -0
  404. package/build/types/mongoose/mongoose-legacy-span.d.ts.map +1 -0
  405. package/build/types/orchestrion/bundler/esbuild.d.ts +21 -0
  406. package/build/types/orchestrion/bundler/esbuild.d.ts.map +1 -0
  407. package/build/types/orchestrion/bundler/options.d.ts +29 -0
  408. package/build/types/orchestrion/bundler/options.d.ts.map +1 -0
  409. package/build/types/orchestrion/bundler/rollup.d.ts +17 -0
  410. package/build/types/orchestrion/bundler/rollup.d.ts.map +1 -0
  411. package/build/types/orchestrion/bundler/vite.d.ts +4 -17
  412. package/build/types/orchestrion/bundler/vite.d.ts.map +1 -1
  413. package/build/types/orchestrion/bundler/webpack.d.ts +19 -0
  414. package/build/types/orchestrion/bundler/webpack.d.ts.map +1 -0
  415. package/build/types/orchestrion/channels.d.ts +94 -37
  416. package/build/types/orchestrion/channels.d.ts.map +1 -1
  417. package/build/types/orchestrion/config/aws-sdk.d.ts +19 -0
  418. package/build/types/orchestrion/config/aws-sdk.d.ts.map +1 -0
  419. package/build/types/orchestrion/config/dataloader.d.ts +46 -0
  420. package/build/types/orchestrion/config/dataloader.d.ts.map +1 -0
  421. package/build/types/orchestrion/config/express.d.ts +2 -4
  422. package/build/types/orchestrion/config/express.d.ts.map +1 -1
  423. package/build/types/orchestrion/config/firebase.d.ts +4 -0
  424. package/build/types/orchestrion/config/firebase.d.ts.map +1 -0
  425. package/build/types/orchestrion/config/generic-pool.d.ts +31 -0
  426. package/build/types/orchestrion/config/generic-pool.d.ts.map +1 -0
  427. package/build/types/orchestrion/config/index.d.ts +19 -6
  428. package/build/types/orchestrion/config/index.d.ts.map +1 -1
  429. package/build/types/orchestrion/config/ioredis.d.ts +1 -1
  430. package/build/types/orchestrion/config/ioredis.d.ts.map +1 -1
  431. package/build/types/orchestrion/config/kafkajs.d.ts +17 -0
  432. package/build/types/orchestrion/config/kafkajs.d.ts.map +1 -0
  433. package/build/types/orchestrion/config/knex.d.ts +9 -0
  434. package/build/types/orchestrion/config/knex.d.ts.map +1 -0
  435. package/build/types/orchestrion/config/koa.d.ts +17 -0
  436. package/build/types/orchestrion/config/koa.d.ts.map +1 -0
  437. package/build/types/orchestrion/config/langchain.d.ts +18 -0
  438. package/build/types/orchestrion/config/langchain.d.ts.map +1 -0
  439. package/build/types/orchestrion/config/langgraph.d.ts +21 -0
  440. package/build/types/orchestrion/config/langgraph.d.ts.map +1 -0
  441. package/build/types/orchestrion/config/mongodb.d.ts +59 -0
  442. package/build/types/orchestrion/config/mongodb.d.ts.map +1 -0
  443. package/build/types/orchestrion/config/mongoose.d.ts +40 -0
  444. package/build/types/orchestrion/config/mongoose.d.ts.map +1 -0
  445. package/build/types/orchestrion/config/mysql2.d.ts +18 -0
  446. package/build/types/orchestrion/config/mysql2.d.ts.map +1 -0
  447. package/build/types/orchestrion/config/nestjs.d.ts +24 -0
  448. package/build/types/orchestrion/config/nestjs.d.ts.map +1 -0
  449. package/build/types/orchestrion/config/openai.d.ts +0 -2
  450. package/build/types/orchestrion/config/openai.d.ts.map +1 -1
  451. package/build/types/orchestrion/config/postgres.d.ts +1 -1
  452. package/build/types/orchestrion/config/postgres.d.ts.map +1 -1
  453. package/build/types/orchestrion/config/prisma.d.ts +4 -0
  454. package/build/types/orchestrion/config/prisma.d.ts.map +1 -0
  455. package/build/types/orchestrion/config/react-router.d.ts +4 -0
  456. package/build/types/orchestrion/config/react-router.d.ts.map +1 -0
  457. package/build/types/orchestrion/config/remix.d.ts +9 -0
  458. package/build/types/orchestrion/config/remix.d.ts.map +1 -0
  459. package/build/types/orchestrion/config/tedious.d.ts +12 -0
  460. package/build/types/orchestrion/config/tedious.d.ts.map +1 -0
  461. package/build/types/orchestrion/config/vercel-ai.d.ts +1 -1
  462. package/build/types/orchestrion/config/vercel-ai.d.ts.map +1 -1
  463. package/build/types/orchestrion/detect.d.ts +3 -10
  464. package/build/types/orchestrion/detect.d.ts.map +1 -1
  465. package/build/types/orchestrion/index.d.ts +56 -1
  466. package/build/types/orchestrion/index.d.ts.map +1 -1
  467. package/build/types/orchestrion/runtime/register.d.ts +11 -9
  468. package/build/types/orchestrion/runtime/register.d.ts.map +1 -1
  469. package/build/types/prisma/global.d.ts +5 -0
  470. package/build/types/prisma/global.d.ts.map +1 -0
  471. package/build/types/prisma/index.d.ts +45 -0
  472. package/build/types/prisma/index.d.ts.map +1 -0
  473. package/build/types/prisma/tracing-helper.d.ts +46 -0
  474. package/build/types/prisma/tracing-helper.d.ts.map +1 -0
  475. package/build/types/prisma/types.d.ts +37 -0
  476. package/build/types/prisma/types.d.ts.map +1 -0
  477. package/build/types/vercel-ai/util.d.ts +0 -2
  478. package/build/types/vercel-ai/util.d.ts.map +1 -1
  479. package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts.map +1 -1
  480. package/build/types/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts.map +1 -1
  481. package/build/types-ts3.8/graphql/utils.d.ts +2 -6
  482. package/build/types-ts3.8/index.d.ts +7 -1
  483. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts +43 -0
  484. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/constants.d.ts +15 -0
  485. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/index.d.ts +15 -0
  486. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts +23 -0
  487. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts +9 -0
  488. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts +10 -0
  489. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts +14 -0
  490. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts +8 -0
  491. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/index.d.ts +2 -0
  492. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts +6 -0
  493. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/lambda.d.ts +9 -0
  494. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/s3.d.ts +6 -0
  495. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts +8 -0
  496. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/sns.d.ts +9 -0
  497. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/sqs.d.ts +9 -0
  498. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts +6 -0
  499. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/types.d.ts +26 -0
  500. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/utils.d.ts +5 -0
  501. package/build/types-ts3.8/integrations/tracing-channel/dataloader.d.ts +11 -0
  502. package/build/types-ts3.8/integrations/tracing-channel/generic-pool.d.ts +10 -0
  503. package/build/types-ts3.8/integrations/tracing-channel/ioredis.d.ts +20 -0
  504. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/consumer.d.ts +8 -0
  505. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/index.d.ts +17 -0
  506. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/semconv.d.ts +10 -0
  507. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/spans.d.ts +38 -0
  508. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/types.d.ts +40 -0
  509. package/build/types-ts3.8/integrations/tracing-channel/knex.d.ts +11 -0
  510. package/build/types-ts3.8/integrations/tracing-channel/koa.d.ts +14 -0
  511. package/build/types-ts3.8/integrations/tracing-channel/langchain.d.ts +10 -0
  512. package/build/types-ts3.8/integrations/tracing-channel/langgraph.d.ts +10 -0
  513. package/build/types-ts3.8/integrations/tracing-channel/mongodb.d.ts +12 -0
  514. package/build/types-ts3.8/integrations/tracing-channel/mongoose.d.ts +15 -0
  515. package/build/types-ts3.8/integrations/tracing-channel/mysql2.d.ts +15 -0
  516. package/build/types-ts3.8/integrations/tracing-channel/tedious.d.ts +11 -0
  517. package/build/types-ts3.8/mongodb/mongodb-span.d.ts +66 -0
  518. package/build/types-ts3.8/mongoose/index.d.ts +2 -0
  519. package/build/types-ts3.8/mongoose/mongoose-legacy-span.d.ts +29 -0
  520. package/build/types-ts3.8/orchestrion/bundler/esbuild.d.ts +21 -0
  521. package/build/types-ts3.8/orchestrion/bundler/options.d.ts +29 -0
  522. package/build/types-ts3.8/orchestrion/bundler/rollup.d.ts +17 -0
  523. package/build/types-ts3.8/orchestrion/bundler/vite.d.ts +4 -17
  524. package/build/types-ts3.8/orchestrion/bundler/webpack.d.ts +19 -0
  525. package/build/types-ts3.8/orchestrion/channels.d.ts +94 -37
  526. package/build/types-ts3.8/orchestrion/config/aws-sdk.d.ts +19 -0
  527. package/build/types-ts3.8/orchestrion/config/dataloader.d.ts +46 -0
  528. package/build/types-ts3.8/orchestrion/config/express.d.ts +2 -4
  529. package/build/types-ts3.8/orchestrion/config/firebase.d.ts +4 -0
  530. package/build/types-ts3.8/orchestrion/config/generic-pool.d.ts +31 -0
  531. package/build/types-ts3.8/orchestrion/config/index.d.ts +19 -6
  532. package/build/types-ts3.8/orchestrion/config/ioredis.d.ts +1 -1
  533. package/build/types-ts3.8/orchestrion/config/kafkajs.d.ts +17 -0
  534. package/build/types-ts3.8/orchestrion/config/knex.d.ts +9 -0
  535. package/build/types-ts3.8/orchestrion/config/koa.d.ts +17 -0
  536. package/build/types-ts3.8/orchestrion/config/langchain.d.ts +18 -0
  537. package/build/types-ts3.8/orchestrion/config/langgraph.d.ts +21 -0
  538. package/build/types-ts3.8/orchestrion/config/mongodb.d.ts +59 -0
  539. package/build/types-ts3.8/orchestrion/config/mongoose.d.ts +40 -0
  540. package/build/types-ts3.8/orchestrion/config/mysql2.d.ts +18 -0
  541. package/build/types-ts3.8/orchestrion/config/nestjs.d.ts +24 -0
  542. package/build/types-ts3.8/orchestrion/config/openai.d.ts +0 -2
  543. package/build/types-ts3.8/orchestrion/config/postgres.d.ts +1 -1
  544. package/build/types-ts3.8/orchestrion/config/prisma.d.ts +4 -0
  545. package/build/types-ts3.8/orchestrion/config/react-router.d.ts +4 -0
  546. package/build/types-ts3.8/orchestrion/config/remix.d.ts +9 -0
  547. package/build/types-ts3.8/orchestrion/config/tedious.d.ts +12 -0
  548. package/build/types-ts3.8/orchestrion/config/vercel-ai.d.ts +1 -1
  549. package/build/types-ts3.8/orchestrion/detect.d.ts +3 -10
  550. package/build/types-ts3.8/orchestrion/index.d.ts +56 -1
  551. package/build/types-ts3.8/orchestrion/runtime/register.d.ts +11 -9
  552. package/build/types-ts3.8/prisma/global.d.ts +5 -0
  553. package/build/types-ts3.8/prisma/index.d.ts +45 -0
  554. package/build/types-ts3.8/prisma/tracing-helper.d.ts +52 -0
  555. package/build/types-ts3.8/prisma/types.d.ts +40 -0
  556. package/build/types-ts3.8/vercel-ai/util.d.ts +0 -2
  557. package/package.json +40 -8
@@ -1,4 +1,5 @@
1
- type UnknownPlugin = any;
1
+ import codeTransformer from '@apm-js-collab/code-transformer-bundler-plugins/vite';
2
+ import type { PluginOptions } from './options';
2
3
  /**
3
4
  * Vite plugin that runs the orchestrion code transform on the bundled output.
4
5
  *
@@ -6,26 +7,12 @@ type UnknownPlugin = any;
6
7
  * pipeline, SvelteKit). For unbundled Node processes use the runtime hook
7
8
  * instead (`node --import @sentry/node/orchestrion app.js`).
8
9
  *
9
- * Returns two plugins:
10
- * 1. `sentry-orchestrion-marker` — a `renderChunk` hook that prepends a
11
- * single-line banner to entry chunks. The banner sets
12
- * `globalThis.__SENTRY_ORCHESTRION__.bundler = true` at app boot, so the
13
- * `_experimentalSetupOrchestrion()` detector can confirm the bundler path
14
- * ran (rather than relying on a build-time flag that wouldn't be visible
15
- * to the runtime).
16
- * Also injects every instrumented package name into `ssr.noExternal` via
17
- * the `config` hook, since externalized deps are `require()`d at runtime
18
- * from `node_modules` and never pass through the transform.
19
- * 2. The upstream `@apm-js-collab/code-transformer-bundler-plugins/vite`
20
- * plugin, fed our central `SENTRY_INSTRUMENTATIONS` config.
21
- *
22
10
  * @example
23
11
  * ```ts
24
12
  * // vite.config.ts
25
- * import { sentryOrchestrionPlugin } from '@sentry/node/orchestrion/vite';
13
+ * import { sentryOrchestrionPlugin } from '@sentry/server-utils/orchestrion/vite';
26
14
  * export default { plugins: [sentryOrchestrionPlugin()] };
27
15
  * ```
28
16
  */
29
- export declare function sentryOrchestrionPlugin(): UnknownPlugin[];
30
- export {};
17
+ export declare function sentryOrchestrionPlugin(options?: PluginOptions): ReturnType<typeof codeTransformer>;
31
18
  //# sourceMappingURL=vite.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vite.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/vite.ts"],"names":[],"mappings":"AAaA,KAAK,aAAa,GAAG,GAAG,CAAC;AAWzB;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,uBAAuB,IAAI,aAAa,EAAE,CAMzD"}
1
+ {"version":3,"file":"vite.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/vite.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,sDAAsD,CAAC;AAEnF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAG/C;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,GAAE,aAAkB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAcvG"}
@@ -0,0 +1,19 @@
1
+ import type { InstrumentationConfig } from '..';
2
+ import codeTransformerWebpack from '@apm-js-collab/code-transformer-bundler-plugins/webpack';
3
+ import type { PluginOptions } from './options';
4
+ /** Absolute path to the code-transform loader (a webpack loader; also usable as a Turbopack loader). */
5
+ export declare function getOrchestrionLoaderPath(): string;
6
+ /**
7
+ * Absolute path to the `@apm-js-collab/tracing-hooks` package directory, resolved from this
8
+ * package's own dependency graph. SDKs inject it at build time so the runtime module hook can
9
+ * load the package even where the bare specifier doesn't resolve (bundled SDK code under
10
+ * isolated installs, e.g. pnpm).
11
+ */
12
+ export declare function getTracingHooksDirectory(): string;
13
+ /** The central instrumentation config, to pass as the loader's `instrumentations` option. */
14
+ export declare function getSentryInstrumentations(): InstrumentationConfig[];
15
+ /**
16
+ * The code-transform webpack plugin, pre-fed the instrumentation config
17
+ */
18
+ export declare function sentryOrchestrionWebpackPlugin(options?: PluginOptions): ReturnType<typeof codeTransformerWebpack>;
19
+ //# sourceMappingURL=webpack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webpack.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/webpack.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAEhD,OAAO,sBAAsB,MAAM,yDAAyD,CAAC;AAC7F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAgB/C,wGAAwG;AACxG,wBAAgB,wBAAwB,IAAI,MAAM,CAEjD;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,IAAI,MAAM,CAIjD;AAED,6FAA6F;AAC7F,wBAAgB,yBAAyB,IAAI,qBAAqB,EAAE,CAEnE;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,OAAO,GAAE,aAAkB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAErH"}
@@ -10,17 +10,29 @@
10
10
  * prefixed string from this map; the config files set only the unprefixed
11
11
  * suffix in `channelName`. Keeping both pieces in one file is what guarantees
12
12
  * they don't drift apart and silently stop firing.
13
+ *
14
+ * Kept sorted alphabetically by module so concurrent additions insert at different
15
+ * points rather than all appending to the end (fewer merge conflicts).
13
16
  */
14
17
  export declare const CHANNELS: {
15
- readonly GRAPHQL_PARSE: "orchestrion:graphql:parse";
16
- readonly GRAPHQL_VALIDATE: "orchestrion:graphql:validate";
17
- readonly GRAPHQL_EXECUTE: "orchestrion:graphql:execute";
18
- readonly EXPRESS_HANDLE: "orchestrion:express:handle";
19
- readonly ROUTER_HANDLE: "orchestrion:router:handle";
20
- readonly EXPRESS_ROUTE: "orchestrion:express:route";
21
- readonly EXPRESS_USE: "orchestrion:express:use";
22
- readonly ROUTER_ROUTE: "orchestrion:router:route";
23
- readonly ROUTER_USE: "orchestrion:router:use";
18
+ readonly VERCEL_AI_GENERATE_TEXT: "orchestrion:ai:generateText";
19
+ readonly VERCEL_AI_STREAM_TEXT: "orchestrion:ai:streamText";
20
+ readonly VERCEL_AI_GENERATE_OBJECT: "orchestrion:ai:generateObject";
21
+ readonly VERCEL_AI_EMBED: "orchestrion:ai:embed";
22
+ readonly VERCEL_AI_EMBED_MANY: "orchestrion:ai:embedMany";
23
+ readonly VERCEL_AI_EXECUTE_TOOL_CALL: "orchestrion:ai:executeToolCall";
24
+ readonly VERCEL_AI_RESOLVE_LANGUAGE_MODEL: "orchestrion:ai:resolveLanguageModel";
25
+ readonly TEDIOUS_CONNECT: "orchestrion:tedious:connect";
26
+ readonly TEDIOUS_EXEC_SQL: "orchestrion:tedious:execSql";
27
+ readonly TEDIOUS_EXEC_SQL_BATCH: "orchestrion:tedious:execSqlBatch";
28
+ readonly TEDIOUS_CALL_PROCEDURE: "orchestrion:tedious:callProcedure";
29
+ readonly TEDIOUS_EXEC_BULK_LOAD: "orchestrion:tedious:execBulkLoad";
30
+ readonly TEDIOUS_PREPARE: "orchestrion:tedious:prepare";
31
+ readonly TEDIOUS_EXECUTE: "orchestrion:tedious:execute";
32
+ readonly REMIX_REQUEST_HANDLER: "orchestrion:@remix-run/server-runtime:requestHandler";
33
+ readonly REMIX_MATCH_SERVER_ROUTES: "orchestrion:@remix-run/server-runtime:matchServerRoutes";
34
+ readonly REMIX_CALL_ROUTE_LOADER: "orchestrion:@remix-run/server-runtime:callRouteLoader";
35
+ readonly REMIX_CALL_ROUTE_ACTION: "orchestrion:@remix-run/server-runtime:callRouteAction";
24
36
  readonly REDIS_COMMAND: "orchestrion:redis:command";
25
37
  readonly NODE_REDIS_COMMAND: "orchestrion:@redis/client:command";
26
38
  readonly NODE_REDIS_EXECUTOR: "orchestrion:@redis/client:executor";
@@ -28,8 +40,81 @@ export declare const CHANNELS: {
28
40
  readonly NODE_REDIS_MULTI: "orchestrion:@redis/client:multi";
29
41
  readonly NODE_REDIS_PIPELINE: "orchestrion:@redis/client:pipeline";
30
42
  readonly NODE_REDIS_BATCH: "orchestrion:@redis/client:batch";
43
+ readonly POSTGRESJS_HANDLE: "orchestrion:postgres:handle";
44
+ readonly POSTGRESJS_CONNECTION: "orchestrion:postgres:connection";
45
+ readonly POSTGRESJS_EXECUTE: "orchestrion:postgres:execute";
46
+ readonly POSTGRESJS_CONNECT: "orchestrion:postgres:connect";
47
+ readonly PG_QUERY: "orchestrion:pg:query";
48
+ readonly PG_CONNECT: "orchestrion:pg:connect";
49
+ readonly PGPOOL_CONNECT: "orchestrion:pg-pool:connect";
50
+ readonly OPENAI_CHAT: "orchestrion:openai:chat";
51
+ readonly OPENAI_EMBEDDINGS: "orchestrion:openai:embeddings";
52
+ readonly NESTJS_APP_CREATION: "orchestrion:@nestjs/core:nestFactoryCreate";
53
+ readonly NESTJS_ROUTER_CONTEXT: "orchestrion:@nestjs/core:routerExecutionContextCreate";
54
+ readonly NESTJS_INJECTABLE: "orchestrion:@nestjs/common:injectableDecorator";
55
+ readonly NESTJS_CATCH: "orchestrion:@nestjs/common:catchDecorator";
56
+ readonly NESTJS_SCHEDULE_CRON: "orchestrion:@nestjs/schedule:cronDecorator";
57
+ readonly NESTJS_SCHEDULE_INTERVAL: "orchestrion:@nestjs/schedule:intervalDecorator";
58
+ readonly NESTJS_SCHEDULE_TIMEOUT: "orchestrion:@nestjs/schedule:timeoutDecorator";
59
+ readonly NESTJS_ONEVENT: "orchestrion:@nestjs/event-emitter:onEventDecorator";
60
+ readonly NESTJS_PROCESSOR: "orchestrion:@nestjs/bullmq:processorDecorator";
61
+ readonly MYSQL_QUERY: "orchestrion:mysql:query";
62
+ readonly MYSQL2_QUERY: "orchestrion:mysql2:query";
63
+ readonly MYSQL2_EXECUTE: "orchestrion:mysql2:execute";
64
+ readonly MONGOOSE_QUERY_EXEC: "orchestrion:mongoose:query_exec";
65
+ readonly MONGOOSE_AGGREGATE_EXEC: "orchestrion:mongoose:aggregate_exec";
66
+ readonly MONGOOSE_MODEL_SAVE: "orchestrion:mongoose:model_save";
67
+ readonly MONGOOSE_MODEL_INSERT_MANY: "orchestrion:mongoose:model_insert_many";
68
+ readonly MONGOOSE_MODEL_BULK_WRITE: "orchestrion:mongoose:model_bulk_write";
69
+ readonly MONGOOSE_MODEL_REMOVE: "orchestrion:mongoose:model_remove";
70
+ readonly MONGOOSE_MODEL_AGGREGATE: "orchestrion:mongoose:model_aggregate";
71
+ readonly MONGODB_COMMAND: "orchestrion:mongodb:command";
72
+ readonly MONGODB_CHECKOUT: "orchestrion:mongodb:checkout";
73
+ readonly MONGODB_V3_INSERT: "orchestrion:mongodb:v3_insert";
74
+ readonly MONGODB_V3_UPDATE: "orchestrion:mongodb:v3_update";
75
+ readonly MONGODB_V3_REMOVE: "orchestrion:mongodb:v3_remove";
76
+ readonly MONGODB_V3_COMMAND: "orchestrion:mongodb:v3_command";
77
+ readonly MONGODB_V3_QUERY: "orchestrion:mongodb:v3_query";
78
+ readonly MONGODB_V3_GET_MORE: "orchestrion:mongodb:v3_get_more";
79
+ readonly LRU_MEMOIZER_LOAD: "orchestrion:lru-memoizer:load";
80
+ readonly LANGGRAPH_STATE_GRAPH_COMPILE: "orchestrion:@langchain/langgraph:stateGraphCompile";
81
+ readonly LANGGRAPH_CREATE_REACT_AGENT: "orchestrion:@langchain/langgraph:createReactAgent";
82
+ readonly LANGCHAIN_CHAT_MODEL_INVOKE: "orchestrion:@langchain/core:chatModelInvoke";
83
+ readonly LANGCHAIN_CHAT_MODEL_STREAM: "orchestrion:@langchain/core:chatModelStream";
84
+ readonly KOA_USE: "orchestrion:koa:use";
85
+ readonly KNEX_QUERY: "orchestrion:knex:query";
86
+ readonly KNEX_QUERY_BUILDER: "orchestrion:knex:queryBuilder";
87
+ readonly KNEX_SCHEMA_BUILDER: "orchestrion:knex:schemaBuilder";
88
+ readonly KNEX_RAW: "orchestrion:knex:raw";
89
+ readonly KAFKAJS_SEND_BATCH: "orchestrion:kafkajs:send_batch";
90
+ readonly KAFKAJS_CONSUMER_RUN: "orchestrion:kafkajs:consumer_run";
91
+ readonly IOREDIS_COMMAND: "orchestrion:ioredis:command";
92
+ readonly IOREDIS_CONNECT: "orchestrion:ioredis:connect";
31
93
  readonly HAPI_ROUTE: "orchestrion:@hapi/hapi:route";
32
94
  readonly HAPI_EXT: "orchestrion:@hapi/hapi:ext";
95
+ readonly GRAPHQL_PARSE: "orchestrion:graphql:parse";
96
+ readonly GRAPHQL_VALIDATE: "orchestrion:graphql:validate";
97
+ readonly GRAPHQL_EXECUTE: "orchestrion:graphql:execute";
98
+ readonly GOOGLE_GENAI_GENERATE_CONTENT: "orchestrion:@google/genai:generate-content";
99
+ readonly GOOGLE_GENAI_EMBED_CONTENT: "orchestrion:@google/genai:embed-content";
100
+ readonly GOOGLE_GENAI_CHAT: "orchestrion:@google/genai:chat";
101
+ readonly GENERIC_POOL_ACQUIRE: "orchestrion:generic-pool:acquire";
102
+ readonly EXPRESS_HANDLE: "orchestrion:express:handle";
103
+ readonly ROUTER_HANDLE: "orchestrion:router:handle";
104
+ readonly EXPRESS_REGISTER: "orchestrion:express:register";
105
+ readonly ROUTER_REGISTER: "orchestrion:router:register";
106
+ readonly DATALOADER_CONSTRUCT: "orchestrion:dataloader:construct";
107
+ readonly DATALOADER_LOAD: "orchestrion:dataloader:load";
108
+ readonly DATALOADER_LOAD_MANY: "orchestrion:dataloader:loadMany";
109
+ readonly DATALOADER_PRIME: "orchestrion:dataloader:prime";
110
+ readonly DATALOADER_CLEAR: "orchestrion:dataloader:clear";
111
+ readonly DATALOADER_CLEAR_ALL: "orchestrion:dataloader:clearAll";
112
+ readonly AWS_SMITHY_CORE_SEND: "orchestrion:@smithy/core:send";
113
+ readonly AWS_SMITHY_CLIENT_SEND: "orchestrion:@smithy/smithy-client:send";
114
+ readonly AWS_SDK_SMITHY_CLIENT_SEND: "orchestrion:@aws-sdk/smithy-client:send";
115
+ readonly ANTHROPIC_CHAT: "orchestrion:@anthropic-ai/sdk:chat";
116
+ readonly ANTHROPIC_MODELS: "orchestrion:@anthropic-ai/sdk:models";
117
+ readonly ANTHROPIC_MESSAGES_STREAM: "orchestrion:@anthropic-ai/sdk:messages-stream";
33
118
  readonly AMQPLIB_PUBLISH: "orchestrion:amqplib:publish";
34
119
  readonly AMQPLIB_CONFIRM_PUBLISH: "orchestrion:amqplib:confirmPublish";
35
120
  readonly AMQPLIB_CONSUME: "orchestrion:amqplib:consume";
@@ -40,34 +125,6 @@ export declare const CHANNELS: {
40
125
  readonly AMQPLIB_ACK_ALL: "orchestrion:amqplib:ackAll";
41
126
  readonly AMQPLIB_NACK_ALL: "orchestrion:amqplib:nackAll";
42
127
  readonly AMQPLIB_CONNECT: "orchestrion:amqplib:connect";
43
- readonly VERCEL_AI_GENERATE_TEXT: "orchestrion:ai:generateText";
44
- readonly VERCEL_AI_STREAM_TEXT: "orchestrion:ai:streamText";
45
- readonly VERCEL_AI_GENERATE_OBJECT: "orchestrion:ai:generateObject";
46
- readonly VERCEL_AI_EMBED: "orchestrion:ai:embed";
47
- readonly VERCEL_AI_EMBED_MANY: "orchestrion:ai:embedMany";
48
- readonly VERCEL_AI_EXECUTE_TOOL_CALL: "orchestrion:ai:executeToolCall";
49
- readonly VERCEL_AI_RESOLVE_LANGUAGE_MODEL: "orchestrion:ai:resolveLanguageModel";
50
- readonly GOOGLE_GENAI_GENERATE_CONTENT: "orchestrion:@google/genai:generate-content";
51
- readonly GOOGLE_GENAI_EMBED_CONTENT: "orchestrion:@google/genai:embed-content";
52
- readonly GOOGLE_GENAI_CHAT: "orchestrion:@google/genai:chat";
53
- readonly ANTHROPIC_CHAT: "orchestrion:@anthropic-ai/sdk:chat";
54
- readonly ANTHROPIC_MODELS: "orchestrion:@anthropic-ai/sdk:models";
55
- readonly ANTHROPIC_MESSAGES_STREAM: "orchestrion:@anthropic-ai/sdk:messages-stream";
56
- readonly OPENAI_CHAT: "orchestrion:openai:chat";
57
- readonly OPENAI_RESPONSES: "orchestrion:openai:responses";
58
- readonly OPENAI_EMBEDDINGS: "orchestrion:openai:embeddings";
59
- readonly OPENAI_CONVERSATIONS: "orchestrion:openai:conversations";
60
- readonly POSTGRESJS_HANDLE: "orchestrion:postgres:handle";
61
- readonly POSTGRESJS_CONNECTION: "orchestrion:postgres:connection";
62
- readonly POSTGRESJS_EXECUTE: "orchestrion:postgres:execute";
63
- readonly POSTGRESJS_CONNECT: "orchestrion:postgres:connect";
64
- readonly PG_QUERY: "orchestrion:pg:query";
65
- readonly PG_CONNECT: "orchestrion:pg:connect";
66
- readonly PGPOOL_CONNECT: "orchestrion:pg-pool:connect";
67
- readonly IOREDIS_COMMAND: "orchestrion:ioredis:command";
68
- readonly IOREDIS_CONNECT: "orchestrion:ioredis:connect";
69
- readonly LRU_MEMOIZER_LOAD: "orchestrion:lru-memoizer:load";
70
- readonly MYSQL_QUERY: "orchestrion:mysql:query";
71
128
  };
72
129
  export type ChannelName = (typeof CHANNELS)[keyof typeof CHANNELS];
73
130
  //# sourceMappingURL=channels.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"channels.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/channels.ts"],"names":[],"mappings":"AAeA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAeX,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC"}
1
+ {"version":3,"file":"channels.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/channels.ts"],"names":[],"mappings":"AAgCA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCX,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC"}
@@ -0,0 +1,19 @@
1
+ export declare const awsSdkConfig: {
2
+ channelName: string;
3
+ module: {
4
+ name: string;
5
+ versionRange: string;
6
+ filePath: string;
7
+ };
8
+ functionQuery: {
9
+ className: string;
10
+ methodName: string;
11
+ kind: "Async";
12
+ };
13
+ }[];
14
+ export declare const awsSdkChannels: {
15
+ readonly AWS_SMITHY_CORE_SEND: "orchestrion:@smithy/core:send";
16
+ readonly AWS_SMITHY_CLIENT_SEND: "orchestrion:@smithy/smithy-client:send";
17
+ readonly AWS_SDK_SMITHY_CLIENT_SEND: "orchestrion:@aws-sdk/smithy-client:send";
18
+ };
19
+ //# sourceMappingURL=aws-sdk.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aws-sdk.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/aws-sdk.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,YAAY;;;;;;;;;;;;GAgBU,CAAC;AAEpC,eAAO,MAAM,cAAc;;;;CAIjB,CAAC"}
@@ -0,0 +1,46 @@
1
+ export declare const dataloaderConfig: ({
2
+ channelName: string;
3
+ module: {
4
+ readonly name: "dataloader";
5
+ readonly versionRange: ">=2.0.0 <3";
6
+ readonly filePath: "index.js";
7
+ };
8
+ functionQuery: {
9
+ functionName: string;
10
+ kind: "Sync";
11
+ expressionName?: undefined;
12
+ };
13
+ } | {
14
+ channelName: string;
15
+ module: {
16
+ readonly name: "dataloader";
17
+ readonly versionRange: ">=2.0.0 <3";
18
+ readonly filePath: "index.js";
19
+ };
20
+ functionQuery: {
21
+ expressionName: string;
22
+ kind: "Async";
23
+ functionName?: undefined;
24
+ };
25
+ } | {
26
+ channelName: string;
27
+ module: {
28
+ readonly name: "dataloader";
29
+ readonly versionRange: ">=2.0.0 <3";
30
+ readonly filePath: "index.js";
31
+ };
32
+ functionQuery: {
33
+ expressionName: string;
34
+ kind: "Sync";
35
+ functionName?: undefined;
36
+ };
37
+ })[];
38
+ export declare const dataloaderChannels: {
39
+ readonly DATALOADER_CONSTRUCT: "orchestrion:dataloader:construct";
40
+ readonly DATALOADER_LOAD: "orchestrion:dataloader:load";
41
+ readonly DATALOADER_LOAD_MANY: "orchestrion:dataloader:loadMany";
42
+ readonly DATALOADER_PRIME: "orchestrion:dataloader:prime";
43
+ readonly DATALOADER_CLEAR: "orchestrion:dataloader:clear";
44
+ readonly DATALOADER_CLEAR_ALL: "orchestrion:dataloader:clearAll";
45
+ };
46
+ //# sourceMappingURL=dataloader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataloader.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/dataloader.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqCM,CAAC;AAEpC,eAAO,MAAM,kBAAkB;;;;;;;CAOrB,CAAC"}
@@ -24,9 +24,7 @@ export declare const expressConfig: ({
24
24
  export declare const expressChannels: {
25
25
  readonly EXPRESS_HANDLE: "orchestrion:express:handle";
26
26
  readonly ROUTER_HANDLE: "orchestrion:router:handle";
27
- readonly EXPRESS_ROUTE: "orchestrion:express:route";
28
- readonly EXPRESS_USE: "orchestrion:express:use";
29
- readonly ROUTER_ROUTE: "orchestrion:router:route";
30
- readonly ROUTER_USE: "orchestrion:router:use";
27
+ readonly EXPRESS_REGISTER: "orchestrion:express:register";
28
+ readonly ROUTER_REGISTER: "orchestrion:router:register";
31
29
  };
32
30
  //# sourceMappingURL=express.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"express.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/express.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;IAsDS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;;;;;CAclB,CAAC"}
1
+ {"version":3,"file":"express.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/express.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;IAyDS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;;;CAYlB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { InstrumentationConfig } from '..';
2
+ export declare const firebaseConfig: InstrumentationConfig[];
3
+ export declare const firebaseChannels: {};
4
+ //# sourceMappingURL=firebase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"firebase.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/firebase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAGhD,eAAO,MAAM,cAAc,EAAE,qBAAqB,EAAO,CAAC;AAE1D,eAAO,MAAM,gBAAgB,IAAc,CAAC"}
@@ -0,0 +1,31 @@
1
+ export declare const genericPoolConfig: ({
2
+ channelName: string;
3
+ module: {
4
+ name: string;
5
+ versionRange: string;
6
+ filePath: string;
7
+ };
8
+ functionQuery: {
9
+ className: string;
10
+ methodName: string;
11
+ kind: "Auto";
12
+ expressionName?: undefined;
13
+ };
14
+ } | {
15
+ channelName: string;
16
+ module: {
17
+ name: string;
18
+ versionRange: string;
19
+ filePath: string;
20
+ };
21
+ functionQuery: {
22
+ expressionName: string;
23
+ kind: "Callback";
24
+ className?: undefined;
25
+ methodName?: undefined;
26
+ };
27
+ })[];
28
+ export declare const genericPoolChannels: {
29
+ readonly GENERIC_POOL_ACQUIRE: "orchestrion:generic-pool:acquire";
30
+ };
31
+ //# sourceMappingURL=generic-pool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generic-pool.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/generic-pool.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;IAWK,CAAC;AAEpC,eAAO,MAAM,mBAAmB;;CAEtB,CAAC"}
@@ -1,14 +1,25 @@
1
- import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';
1
+ import type { InstrumentationConfig } from '..';
2
+ /**
3
+ * The orchestrion code-transform configs. Every instrumentable library is here
4
+ * so the transform is all-or-nothing: whenever orchestrion is enabled, all of
5
+ * these are injected. The channel LISTENERS may live elsewhere (e.g. the NestJS
6
+ * one lives in `@sentry/nestjs`), but the config that decides what gets
7
+ * transformed is centralized here.
8
+ */
2
9
  export declare const SENTRY_INSTRUMENTATIONS: InstrumentationConfig[];
3
10
  /**
4
11
  * The unique set of package names instrumented by `SENTRY_INSTRUMENTATIONS`
5
- * (e.g. `['mysql']`).
12
+ * merged with any caller-provided `instrumentations` (e.g. `['mysql']`).
6
13
  *
7
14
  * Bundler plugins MUST ensure these are actually bundled rather than
8
15
  * externalized: an externalized dependency is resolved from `node_modules` at
9
16
  * runtime and never passes through the code transform's `onLoad`, so its
10
- * diagnostics_channel calls are silently never injected.
17
+ * diagnostics_channel calls are silently never injected. This includes a
18
+ * plugin's custom `instrumentations`, otherwise those extra packages can stay
19
+ * externalized and their transform never runs.
11
20
  */
21
+ export declare function instrumentedModuleNames(instrumentations?: InstrumentationConfig[]): string[];
22
+ /** The instrumented module names from the default Sentry config, with no custom additions. */
12
23
  export declare const INSTRUMENTED_MODULE_NAMES: string[];
13
24
  /**
14
25
  * Returns `external` with any instrumented packages removed, so a bundler that
@@ -17,8 +28,10 @@ export declare const INSTRUMENTED_MODULE_NAMES: string[];
17
28
  * (`'mysql/lib/...'`); wildcard/other patterns are left untouched. `undefined`
18
29
  * is returned unchanged.
19
30
  *
20
- * (Vite uses an `ssr.noExternal` allowlist instead, so it consumes
21
- * `INSTRUMENTED_MODULE_NAMES` directly rather than this helper.)
31
+ * Pass `moduleNames` from `instrumentedModuleNames(options.instrumentations)` so
32
+ * custom instrumentations are stripped too; it defaults to the Sentry config
33
+ * list. (Vite uses an `ssr.noExternal` allowlist instead, so it consumes
34
+ * `instrumentedModuleNames` directly rather than this helper.)
22
35
  */
23
- export declare function withoutInstrumentedExternals(external: readonly string[] | undefined): string[] | undefined;
36
+ export declare function withoutInstrumentedExternals(external: readonly string[] | undefined, moduleNames?: string[]): string[] | undefined;
24
37
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAiB7E,eAAO,MAAM,uBAAuB,EAAE,qBAAqB,EAe1D,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB,EAAE,MAAM,EAA0D,CAAC;AAEzG;;;;;;;;;GASG;AACH,wBAAgB,4BAA4B,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,GAAG,MAAM,EAAE,GAAG,SAAS,CAO1G"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAqChD;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,EAAE,qBAAqB,EAgC1D,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CAAC,gBAAgB,GAAE,qBAAqB,EAAO,GAAG,MAAM,EAAE,CAOhG;AAED,8FAA8F;AAC9F,eAAO,MAAM,yBAAyB,EAAE,MAAM,EAA8B,CAAC;AAE7E;;;;;;;;;;;GAWG;AACH,wBAAgB,4BAA4B,CAC1C,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,EACvC,WAAW,GAAE,MAAM,EAA8B,GAChD,MAAM,EAAE,GAAG,SAAS,CAKtB"}
@@ -1,4 +1,4 @@
1
- import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';
1
+ import type { InstrumentationConfig } from '..';
2
2
  export declare const ioredisConfig: InstrumentationConfig[];
3
3
  export declare const ioredisChannels: {
4
4
  readonly IOREDIS_COMMAND: "orchestrion:ioredis:command";
@@ -1 +1 @@
1
- {"version":3,"file":"ioredis.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/ioredis.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAE7E,eAAO,MAAM,aAAa,yBAwBS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;CAGlB,CAAC"}
1
+ {"version":3,"file":"ioredis.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/ioredis.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAEhD,eAAO,MAAM,aAAa,yBAwBS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;CAGlB,CAAC"}
@@ -0,0 +1,17 @@
1
+ export declare const kafkajsConfig: {
2
+ channelName: string;
3
+ module: {
4
+ name: string;
5
+ versionRange: string;
6
+ filePath: string;
7
+ };
8
+ functionQuery: {
9
+ expressionName: string;
10
+ kind: "Async";
11
+ };
12
+ }[];
13
+ export declare const kafkajsChannels: {
14
+ readonly KAFKAJS_SEND_BATCH: "orchestrion:kafkajs:send_batch";
15
+ readonly KAFKAJS_CONSUMER_RUN: "orchestrion:kafkajs:consumer_run";
16
+ };
17
+ //# sourceMappingURL=kafkajs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kafkajs.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/kafkajs.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;GAmBS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;CAGlB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { InstrumentationConfig } from '..';
2
+ export declare const knexConfig: InstrumentationConfig[];
3
+ export declare const knexChannels: {
4
+ readonly KNEX_QUERY: "orchestrion:knex:query";
5
+ readonly KNEX_QUERY_BUILDER: "orchestrion:knex:queryBuilder";
6
+ readonly KNEX_SCHEMA_BUILDER: "orchestrion:knex:schemaBuilder";
7
+ readonly KNEX_RAW: "orchestrion:knex:raw";
8
+ };
9
+ //# sourceMappingURL=knex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"knex.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/knex.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAwChD,eAAO,MAAM,UAAU,EAAE,qBAAqB,EAK7C,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;CAKf,CAAC"}
@@ -0,0 +1,17 @@
1
+ export declare const koaConfig: {
2
+ channelName: string;
3
+ module: {
4
+ name: string;
5
+ versionRange: string;
6
+ filePath: string;
7
+ };
8
+ functionQuery: {
9
+ className: string;
10
+ methodName: string;
11
+ kind: "Sync";
12
+ };
13
+ }[];
14
+ export declare const koaChannels: {
15
+ readonly KOA_USE: "orchestrion:koa:use";
16
+ };
17
+ //# sourceMappingURL=koa.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"koa.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/koa.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;GAMa,CAAC;AAEpC,eAAO,MAAM,WAAW;;CAEd,CAAC"}
@@ -0,0 +1,18 @@
1
+ export declare const langchainConfig: {
2
+ channelName: string;
3
+ module: {
4
+ name: string;
5
+ versionRange: string;
6
+ filePath: string;
7
+ };
8
+ functionQuery: {
9
+ methodName: string;
10
+ kind: "Async";
11
+ };
12
+ }[];
13
+ export declare const langchainEmbeddingsChannels: string[];
14
+ export declare const langchainChannels: {
15
+ readonly LANGCHAIN_CHAT_MODEL_INVOKE: "orchestrion:@langchain/core:chatModelInvoke";
16
+ readonly LANGCHAIN_CHAT_MODEL_STREAM: "orchestrion:@langchain/core:chatModelStream";
17
+ };
18
+ //# sourceMappingURL=langchain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"langchain.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/langchain.ts"],"names":[],"mappings":"AA6DA,eAAO,MAAM,eAAe;;;;;;;;;;;GAA8E,CAAC;AAI3G,eAAO,MAAM,2BAA2B,UAEvC,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC"}
@@ -0,0 +1,21 @@
1
+ export declare const langgraphConfig: ({
2
+ channelName: string;
3
+ module: import("@apm-js-collab/code-transformer").ModuleMatcher;
4
+ functionQuery: {
5
+ className: string;
6
+ methodName: string;
7
+ kind: "Sync";
8
+ };
9
+ } | {
10
+ channelName: string;
11
+ module: import("@apm-js-collab/code-transformer").ModuleMatcher;
12
+ functionQuery: {
13
+ functionName: string;
14
+ kind: "Sync";
15
+ };
16
+ })[];
17
+ export declare const langgraphChannels: {
18
+ readonly LANGGRAPH_STATE_GRAPH_COMPILE: "orchestrion:@langchain/langgraph:stateGraphCompile";
19
+ readonly LANGGRAPH_CREATE_REACT_AGENT: "orchestrion:@langchain/langgraph:createReactAgent";
20
+ };
21
+ //# sourceMappingURL=langgraph.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"langgraph.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/langgraph.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;IAAkF,CAAC;AAE/G,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC"}
@@ -0,0 +1,59 @@
1
+ export declare const mongodbConfig: ({
2
+ channelName: string;
3
+ module: {
4
+ versionRange: string;
5
+ filePath: string;
6
+ name: "mongodb";
7
+ };
8
+ functionQuery: {
9
+ expressionName: "insert" | "update" | "remove";
10
+ kind: "Callback";
11
+ };
12
+ } | {
13
+ channelName: string;
14
+ module: {
15
+ versionRange: string;
16
+ filePath: string;
17
+ name: "mongodb";
18
+ };
19
+ functionQuery: {
20
+ methodName: string;
21
+ kind: "Async";
22
+ functionName?: undefined;
23
+ };
24
+ } | {
25
+ channelName: string;
26
+ module: {
27
+ versionRange: string;
28
+ filePath: string;
29
+ name: "mongodb";
30
+ };
31
+ functionQuery: {
32
+ methodName: string;
33
+ kind: "Callback";
34
+ functionName?: undefined;
35
+ };
36
+ } | {
37
+ channelName: string;
38
+ module: {
39
+ versionRange: string;
40
+ filePath: string;
41
+ name: "mongodb";
42
+ };
43
+ functionQuery: {
44
+ functionName: string;
45
+ kind: "Callback";
46
+ methodName?: undefined;
47
+ };
48
+ })[];
49
+ export declare const mongodbChannels: {
50
+ readonly MONGODB_COMMAND: "orchestrion:mongodb:command";
51
+ readonly MONGODB_CHECKOUT: "orchestrion:mongodb:checkout";
52
+ readonly MONGODB_V3_INSERT: "orchestrion:mongodb:v3_insert";
53
+ readonly MONGODB_V3_UPDATE: "orchestrion:mongodb:v3_update";
54
+ readonly MONGODB_V3_REMOVE: "orchestrion:mongodb:v3_remove";
55
+ readonly MONGODB_V3_COMMAND: "orchestrion:mongodb:v3_command";
56
+ readonly MONGODB_V3_QUERY: "orchestrion:mongodb:v3_query";
57
+ readonly MONGODB_V3_GET_MORE: "orchestrion:mongodb:v3_get_more";
58
+ };
59
+ //# sourceMappingURL=mongodb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mongodb.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/mongodb.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiDS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;;;;;;;CASlB,CAAC"}