@sentry/server-utils 10.64.0 → 10.65.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 (279) hide show
  1. package/build/cjs/graphql/graphql-dc-subscriber.js +125 -0
  2. package/build/cjs/graphql/graphql-dc-subscriber.js.map +1 -0
  3. package/build/cjs/graphql/index.js +23 -0
  4. package/build/cjs/graphql/index.js.map +1 -0
  5. package/build/cjs/graphql/utils.js +86 -0
  6. package/build/cjs/graphql/utils.js.map +1 -0
  7. package/build/cjs/index.js +10 -11
  8. package/build/cjs/index.js.map +1 -1
  9. package/build/cjs/integrations/tracing-channel/amqplib.js +420 -0
  10. package/build/cjs/integrations/tracing-channel/amqplib.js.map +1 -0
  11. package/build/cjs/integrations/tracing-channel/express/index.js +24 -0
  12. package/build/cjs/integrations/tracing-channel/express/index.js.map +1 -0
  13. package/build/cjs/integrations/tracing-channel/express/instrumentation.js +173 -0
  14. package/build/cjs/integrations/tracing-channel/express/instrumentation.js.map +1 -0
  15. package/build/cjs/integrations/tracing-channel/express/route.js +76 -0
  16. package/build/cjs/integrations/tracing-channel/express/route.js.map +1 -0
  17. package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js +1 -1
  18. package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js.map +1 -1
  19. package/build/cjs/integrations/tracing-channel/google-genai.js +96 -0
  20. package/build/cjs/integrations/tracing-channel/google-genai.js.map +1 -0
  21. package/build/cjs/integrations/tracing-channel/graphql/constants.js +26 -0
  22. package/build/cjs/integrations/tracing-channel/graphql/constants.js.map +1 -0
  23. package/build/cjs/integrations/tracing-channel/graphql/index.js +66 -0
  24. package/build/cjs/integrations/tracing-channel/graphql/index.js.map +1 -0
  25. package/build/cjs/integrations/tracing-channel/graphql/resolvers.js +168 -0
  26. package/build/cjs/integrations/tracing-channel/graphql/resolvers.js.map +1 -0
  27. package/build/cjs/integrations/tracing-channel/graphql/spans.js +102 -0
  28. package/build/cjs/integrations/tracing-channel/graphql/spans.js.map +1 -0
  29. package/build/cjs/integrations/tracing-channel/ioredis.js +14 -14
  30. package/build/cjs/integrations/tracing-channel/ioredis.js.map +1 -1
  31. package/build/cjs/integrations/tracing-channel/mysql.js +1 -1
  32. package/build/cjs/integrations/tracing-channel/mysql.js.map +1 -1
  33. package/build/cjs/integrations/tracing-channel/openai.js.map +1 -1
  34. package/build/cjs/integrations/tracing-channel/postgres-js.js +191 -0
  35. package/build/cjs/integrations/tracing-channel/postgres-js.js.map +1 -0
  36. package/build/cjs/integrations/tracing-channel/postgres.js +5 -5
  37. package/build/cjs/integrations/tracing-channel/postgres.js.map +1 -1
  38. package/build/cjs/integrations/tracing-channel/redis.js +227 -0
  39. package/build/cjs/integrations/tracing-channel/redis.js.map +1 -0
  40. package/build/cjs/integrations/tracing-channel/vercel-ai.js +2 -2
  41. package/build/cjs/integrations/tracing-channel/vercel-ai.js.map +1 -1
  42. package/build/cjs/mongoose/mongoose-dc-subscriber.js +1 -1
  43. package/build/cjs/mongoose/mongoose-dc-subscriber.js.map +1 -1
  44. package/build/cjs/mysql2/index.js +23 -0
  45. package/build/cjs/mysql2/index.js.map +1 -0
  46. package/build/cjs/mysql2/mysql2-dc-subscriber.js +68 -0
  47. package/build/cjs/mysql2/mysql2-dc-subscriber.js.map +1 -0
  48. package/build/cjs/orchestrion/channels.js +13 -1
  49. package/build/cjs/orchestrion/channels.js.map +1 -1
  50. package/build/cjs/orchestrion/config/amqplib.js +81 -0
  51. package/build/cjs/orchestrion/config/amqplib.js.map +1 -0
  52. package/build/cjs/orchestrion/config/express.js +76 -0
  53. package/build/cjs/orchestrion/config/express.js.map +1 -0
  54. package/build/cjs/orchestrion/config/google-genai.js +38 -0
  55. package/build/cjs/orchestrion/config/google-genai.js.map +1 -0
  56. package/build/cjs/orchestrion/config/graphql.js +28 -0
  57. package/build/cjs/orchestrion/config/graphql.js.map +1 -0
  58. package/build/cjs/orchestrion/config/index.js +15 -2
  59. package/build/cjs/orchestrion/config/index.js.map +1 -1
  60. package/build/cjs/orchestrion/config/postgres.js +50 -0
  61. package/build/cjs/orchestrion/config/postgres.js.map +1 -0
  62. package/build/cjs/orchestrion/config/redis.js +76 -0
  63. package/build/cjs/orchestrion/config/redis.js.map +1 -0
  64. package/build/cjs/orchestrion/config/vercel-ai.js +18 -14
  65. package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -1
  66. package/build/cjs/orchestrion/index.js +18 -1
  67. package/build/cjs/orchestrion/index.js.map +1 -1
  68. package/build/cjs/redis/index.js +23 -0
  69. package/build/cjs/redis/index.js.map +1 -0
  70. package/build/cjs/redis/redis-dc-subscriber.js +23 -35
  71. package/build/cjs/redis/redis-dc-subscriber.js.map +1 -1
  72. package/build/cjs/tracing-channel.js +7 -6
  73. package/build/cjs/tracing-channel.js.map +1 -1
  74. package/build/cjs/vercel-ai/util.js +123 -0
  75. package/build/cjs/vercel-ai/util.js.map +1 -0
  76. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js +138 -74
  77. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
  78. package/build/cjs/vercel-ai/{vercel-ai-orchestrion-v6-subscriber.js → vercel-ai-orchestrion-subscriber.js} +153 -23
  79. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -0
  80. package/build/esm/graphql/graphql-dc-subscriber.js +118 -0
  81. package/build/esm/graphql/graphql-dc-subscriber.js.map +1 -0
  82. package/build/esm/graphql/index.js +21 -0
  83. package/build/esm/graphql/index.js.map +1 -0
  84. package/build/esm/graphql/utils.js +81 -0
  85. package/build/esm/graphql/utils.js.map +1 -0
  86. package/build/esm/index.js +3 -1
  87. package/build/esm/index.js.map +1 -1
  88. package/build/esm/integrations/tracing-channel/amqplib.js +418 -0
  89. package/build/esm/integrations/tracing-channel/amqplib.js.map +1 -0
  90. package/build/esm/integrations/tracing-channel/anthropic.js +1 -1
  91. package/build/esm/integrations/tracing-channel/express/index.js +22 -0
  92. package/build/esm/integrations/tracing-channel/express/index.js.map +1 -0
  93. package/build/esm/integrations/tracing-channel/express/instrumentation.js +171 -0
  94. package/build/esm/integrations/tracing-channel/express/instrumentation.js.map +1 -0
  95. package/build/esm/integrations/tracing-channel/express/route.js +68 -0
  96. package/build/esm/integrations/tracing-channel/express/route.js.map +1 -0
  97. package/build/esm/integrations/tracing-channel/fastify/instrumentation.js +2 -2
  98. package/build/esm/integrations/tracing-channel/fastify/instrumentation.js.map +1 -1
  99. package/build/esm/integrations/tracing-channel/google-genai.js +94 -0
  100. package/build/esm/integrations/tracing-channel/google-genai.js.map +1 -0
  101. package/build/esm/integrations/tracing-channel/graphql/constants.js +14 -0
  102. package/build/esm/integrations/tracing-channel/graphql/constants.js.map +1 -0
  103. package/build/esm/integrations/tracing-channel/graphql/index.js +63 -0
  104. package/build/esm/integrations/tracing-channel/graphql/index.js.map +1 -0
  105. package/build/esm/integrations/tracing-channel/graphql/resolvers.js +164 -0
  106. package/build/esm/integrations/tracing-channel/graphql/resolvers.js.map +1 -0
  107. package/build/esm/integrations/tracing-channel/graphql/spans.js +96 -0
  108. package/build/esm/integrations/tracing-channel/graphql/spans.js.map +1 -0
  109. package/build/esm/integrations/tracing-channel/ioredis.js +15 -15
  110. package/build/esm/integrations/tracing-channel/ioredis.js.map +1 -1
  111. package/build/esm/integrations/tracing-channel/mysql.js +2 -2
  112. package/build/esm/integrations/tracing-channel/mysql.js.map +1 -1
  113. package/build/esm/integrations/tracing-channel/openai.js +1 -1
  114. package/build/esm/integrations/tracing-channel/openai.js.map +1 -1
  115. package/build/esm/integrations/tracing-channel/postgres-js.js +189 -0
  116. package/build/esm/integrations/tracing-channel/postgres-js.js.map +1 -0
  117. package/build/esm/integrations/tracing-channel/postgres.js +6 -6
  118. package/build/esm/integrations/tracing-channel/postgres.js.map +1 -1
  119. package/build/esm/integrations/tracing-channel/redis.js +225 -0
  120. package/build/esm/integrations/tracing-channel/redis.js.map +1 -0
  121. package/build/esm/integrations/tracing-channel/vercel-ai.js +1 -1
  122. package/build/esm/integrations/tracing-channel/vercel-ai.js.map +1 -1
  123. package/build/esm/mongoose/mongoose-dc-subscriber.js +2 -2
  124. package/build/esm/mongoose/mongoose-dc-subscriber.js.map +1 -1
  125. package/build/esm/mysql2/index.js +21 -0
  126. package/build/esm/mysql2/index.js.map +1 -0
  127. package/build/esm/mysql2/mysql2-dc-subscriber.js +62 -0
  128. package/build/esm/mysql2/mysql2-dc-subscriber.js.map +1 -0
  129. package/build/esm/orchestrion/channels.js +13 -1
  130. package/build/esm/orchestrion/channels.js.map +1 -1
  131. package/build/esm/orchestrion/config/amqplib.js +78 -0
  132. package/build/esm/orchestrion/config/amqplib.js.map +1 -0
  133. package/build/esm/orchestrion/config/express.js +73 -0
  134. package/build/esm/orchestrion/config/express.js.map +1 -0
  135. package/build/esm/orchestrion/config/google-genai.js +35 -0
  136. package/build/esm/orchestrion/config/google-genai.js.map +1 -0
  137. package/build/esm/orchestrion/config/graphql.js +25 -0
  138. package/build/esm/orchestrion/config/graphql.js.map +1 -0
  139. package/build/esm/orchestrion/config/index.js +15 -2
  140. package/build/esm/orchestrion/config/index.js.map +1 -1
  141. package/build/esm/orchestrion/config/postgres.js +47 -0
  142. package/build/esm/orchestrion/config/postgres.js.map +1 -0
  143. package/build/esm/orchestrion/config/redis.js +73 -0
  144. package/build/esm/orchestrion/config/redis.js.map +1 -0
  145. package/build/esm/orchestrion/config/vercel-ai.js +18 -14
  146. package/build/esm/orchestrion/config/vercel-ai.js.map +1 -1
  147. package/build/esm/orchestrion/index.js +14 -2
  148. package/build/esm/orchestrion/index.js.map +1 -1
  149. package/build/esm/package.json +1 -1
  150. package/build/esm/redis/index.js +21 -0
  151. package/build/esm/redis/index.js.map +1 -0
  152. package/build/esm/redis/redis-dc-subscriber.js +24 -36
  153. package/build/esm/redis/redis-dc-subscriber.js.map +1 -1
  154. package/build/esm/tracing-channel.js +8 -7
  155. package/build/esm/tracing-channel.js.map +1 -1
  156. package/build/esm/vercel-ai/util.js +116 -0
  157. package/build/esm/vercel-ai/util.js.map +1 -0
  158. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js +112 -50
  159. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
  160. package/build/esm/vercel-ai/{vercel-ai-orchestrion-v6-subscriber.js → vercel-ai-orchestrion-subscriber.js} +153 -23
  161. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -0
  162. package/build/types/graphql/graphql-dc-subscriber.d.ts +94 -0
  163. package/build/types/graphql/graphql-dc-subscriber.d.ts.map +1 -0
  164. package/build/types/graphql/index.d.ts +12 -0
  165. package/build/types/graphql/index.d.ts.map +1 -0
  166. package/build/types/graphql/utils.d.ts +40 -0
  167. package/build/types/graphql/utils.d.ts.map +1 -0
  168. package/build/types/index.d.ts +4 -2
  169. package/build/types/index.d.ts.map +1 -1
  170. package/build/types/integrations/tracing-channel/amqplib.d.ts +11 -0
  171. package/build/types/integrations/tracing-channel/amqplib.d.ts.map +1 -0
  172. package/build/types/integrations/tracing-channel/express/index.d.ts +18 -0
  173. package/build/types/integrations/tracing-channel/express/index.d.ts.map +1 -0
  174. package/build/types/integrations/tracing-channel/express/instrumentation.d.ts +4 -0
  175. package/build/types/integrations/tracing-channel/express/instrumentation.d.ts.map +1 -0
  176. package/build/types/integrations/tracing-channel/express/route.d.ts +28 -0
  177. package/build/types/integrations/tracing-channel/express/route.d.ts.map +1 -0
  178. package/build/types/integrations/tracing-channel/express/types.d.ts +64 -0
  179. package/build/types/integrations/tracing-channel/express/types.d.ts.map +1 -0
  180. package/build/types/integrations/tracing-channel/fastify/instrumentation.d.ts.map +1 -1
  181. package/build/types/integrations/tracing-channel/google-genai.d.ts +12 -0
  182. package/build/types/integrations/tracing-channel/google-genai.d.ts.map +1 -0
  183. package/build/types/integrations/tracing-channel/graphql/constants.d.ts +12 -0
  184. package/build/types/integrations/tracing-channel/graphql/constants.d.ts.map +1 -0
  185. package/build/types/integrations/tracing-channel/graphql/graphql-types.d.ts +135 -0
  186. package/build/types/integrations/tracing-channel/graphql/graphql-types.d.ts.map +1 -0
  187. package/build/types/integrations/tracing-channel/graphql/index.d.ts +28 -0
  188. package/build/types/integrations/tracing-channel/graphql/index.d.ts.map +1 -0
  189. package/build/types/integrations/tracing-channel/graphql/resolvers.d.ts +13 -0
  190. package/build/types/integrations/tracing-channel/graphql/resolvers.d.ts.map +1 -0
  191. package/build/types/integrations/tracing-channel/graphql/spans.d.ts +17 -0
  192. package/build/types/integrations/tracing-channel/graphql/spans.d.ts.map +1 -0
  193. package/build/types/integrations/tracing-channel/graphql/types.d.ts +25 -0
  194. package/build/types/integrations/tracing-channel/graphql/types.d.ts.map +1 -0
  195. package/build/types/integrations/tracing-channel/ioredis.d.ts.map +1 -1
  196. package/build/types/integrations/tracing-channel/mysql.d.ts.map +1 -1
  197. package/build/types/integrations/tracing-channel/openai.d.ts.map +1 -1
  198. package/build/types/integrations/tracing-channel/postgres-js.d.ts +26 -0
  199. package/build/types/integrations/tracing-channel/postgres-js.d.ts.map +1 -0
  200. package/build/types/integrations/tracing-channel/postgres.d.ts.map +1 -1
  201. package/build/types/integrations/tracing-channel/redis.d.ts +16 -0
  202. package/build/types/integrations/tracing-channel/redis.d.ts.map +1 -0
  203. package/build/types/integrations/tracing-channel/vercel-ai.d.ts +1 -1
  204. package/build/types/mongoose/mongoose-dc-subscriber.d.ts.map +1 -1
  205. package/build/types/mysql2/index.d.ts +11 -0
  206. package/build/types/mysql2/index.d.ts.map +1 -0
  207. package/build/types/mysql2/mysql2-dc-subscriber.d.ts +59 -0
  208. package/build/types/mysql2/mysql2-dc-subscriber.d.ts.map +1 -0
  209. package/build/types/orchestrion/channels.d.ts +34 -0
  210. package/build/types/orchestrion/channels.d.ts.map +1 -1
  211. package/build/types/orchestrion/config/amqplib.d.ts +66 -0
  212. package/build/types/orchestrion/config/amqplib.d.ts.map +1 -0
  213. package/build/types/orchestrion/config/express.d.ts +32 -0
  214. package/build/types/orchestrion/config/express.d.ts.map +1 -0
  215. package/build/types/orchestrion/config/google-genai.d.ts +30 -0
  216. package/build/types/orchestrion/config/google-genai.d.ts.map +1 -0
  217. package/build/types/orchestrion/config/graphql.d.ts +29 -0
  218. package/build/types/orchestrion/config/graphql.d.ts.map +1 -0
  219. package/build/types/orchestrion/config/index.d.ts.map +1 -1
  220. package/build/types/orchestrion/config/postgres.d.ts +9 -0
  221. package/build/types/orchestrion/config/postgres.d.ts.map +1 -0
  222. package/build/types/orchestrion/config/redis.d.ts +37 -0
  223. package/build/types/orchestrion/config/redis.d.ts.map +1 -0
  224. package/build/types/orchestrion/config/vercel-ai.d.ts +1 -0
  225. package/build/types/orchestrion/config/vercel-ai.d.ts.map +1 -1
  226. package/build/types/orchestrion/index.d.ts +31 -4
  227. package/build/types/orchestrion/index.d.ts.map +1 -1
  228. package/build/types/redis/index.d.ts +18 -0
  229. package/build/types/redis/index.d.ts.map +1 -0
  230. package/build/types/redis/redis-dc-subscriber.d.ts +0 -5
  231. package/build/types/redis/redis-dc-subscriber.d.ts.map +1 -1
  232. package/build/types/tracing-channel.d.ts +5 -0
  233. package/build/types/tracing-channel.d.ts.map +1 -1
  234. package/build/types/vercel-ai/util.d.ts +32 -0
  235. package/build/types/vercel-ai/util.d.ts.map +1 -0
  236. package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts +6 -2
  237. package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts.map +1 -1
  238. package/build/types/vercel-ai/{vercel-ai-orchestrion-v6-subscriber.d.ts → vercel-ai-orchestrion-subscriber.d.ts} +1 -1
  239. package/build/types/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts.map +1 -0
  240. package/build/types-ts3.8/graphql/graphql-dc-subscriber.d.ts +94 -0
  241. package/build/types-ts3.8/graphql/index.d.ts +12 -0
  242. package/build/types-ts3.8/graphql/utils.d.ts +40 -0
  243. package/build/types-ts3.8/index.d.ts +4 -2
  244. package/build/types-ts3.8/integrations/tracing-channel/amqplib.d.ts +11 -0
  245. package/build/types-ts3.8/integrations/tracing-channel/express/index.d.ts +18 -0
  246. package/build/types-ts3.8/integrations/tracing-channel/express/instrumentation.d.ts +4 -0
  247. package/build/types-ts3.8/integrations/tracing-channel/express/route.d.ts +28 -0
  248. package/build/types-ts3.8/integrations/tracing-channel/express/types.d.ts +64 -0
  249. package/build/types-ts3.8/integrations/tracing-channel/google-genai.d.ts +12 -0
  250. package/build/types-ts3.8/integrations/tracing-channel/graphql/constants.d.ts +12 -0
  251. package/build/types-ts3.8/integrations/tracing-channel/graphql/graphql-types.d.ts +135 -0
  252. package/build/types-ts3.8/integrations/tracing-channel/graphql/index.d.ts +30 -0
  253. package/build/types-ts3.8/integrations/tracing-channel/graphql/resolvers.d.ts +13 -0
  254. package/build/types-ts3.8/integrations/tracing-channel/graphql/spans.d.ts +17 -0
  255. package/build/types-ts3.8/integrations/tracing-channel/graphql/types.d.ts +25 -0
  256. package/build/types-ts3.8/integrations/tracing-channel/postgres-js.d.ts +26 -0
  257. package/build/types-ts3.8/integrations/tracing-channel/redis.d.ts +16 -0
  258. package/build/types-ts3.8/integrations/tracing-channel/vercel-ai.d.ts +1 -1
  259. package/build/types-ts3.8/mysql2/index.d.ts +11 -0
  260. package/build/types-ts3.8/mysql2/mysql2-dc-subscriber.d.ts +59 -0
  261. package/build/types-ts3.8/orchestrion/channels.d.ts +34 -0
  262. package/build/types-ts3.8/orchestrion/config/amqplib.d.ts +66 -0
  263. package/build/types-ts3.8/orchestrion/config/express.d.ts +32 -0
  264. package/build/types-ts3.8/orchestrion/config/google-genai.d.ts +30 -0
  265. package/build/types-ts3.8/orchestrion/config/graphql.d.ts +29 -0
  266. package/build/types-ts3.8/orchestrion/config/postgres.d.ts +9 -0
  267. package/build/types-ts3.8/orchestrion/config/redis.d.ts +37 -0
  268. package/build/types-ts3.8/orchestrion/config/vercel-ai.d.ts +1 -0
  269. package/build/types-ts3.8/orchestrion/index.d.ts +33 -4
  270. package/build/types-ts3.8/redis/index.d.ts +18 -0
  271. package/build/types-ts3.8/redis/redis-dc-subscriber.d.ts +0 -5
  272. package/build/types-ts3.8/tracing-channel.d.ts +5 -0
  273. package/build/types-ts3.8/vercel-ai/util.d.ts +32 -0
  274. package/build/types-ts3.8/vercel-ai/vercel-ai-dc-subscriber.d.ts +6 -2
  275. package/build/types-ts3.8/vercel-ai/{vercel-ai-orchestrion-v6-subscriber.d.ts → vercel-ai-orchestrion-subscriber.d.ts} +1 -1
  276. package/package.json +2 -2
  277. package/build/cjs/vercel-ai/vercel-ai-orchestrion-v6-subscriber.js.map +0 -1
  278. package/build/esm/vercel-ai/vercel-ai-orchestrion-v6-subscriber.js.map +0 -1
  279. package/build/types/vercel-ai/vercel-ai-orchestrion-v6-subscriber.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ioredis.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/ioredis.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAiB,IAAI,EAAE,MAAM,cAAc,CAAC;AAwBxD,uGAAuG;AACvG,MAAM,MAAM,mBAAmB,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;AAEvH,MAAM,WAAW,gCAAgC;IAC/C,YAAY,CAAC,EAAE,mBAAmB,CAAC;CACpC;AAoHD;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB;;CAAgD,CAAC"}
1
+ {"version":3,"file":"ioredis.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/ioredis.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAiB,IAAI,EAAE,MAAM,cAAc,CAAC;AAuBxD,uGAAuG;AACvG,MAAM,MAAM,mBAAmB,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;AAEvH,MAAM,WAAW,gCAAgC;IAC/C,YAAY,CAAC,EAAE,mBAAmB,CAAC;CACpC;AAmHD;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB;;CAAgD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"mysql.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/mysql.ts"],"names":[],"mappings":"AAyKA;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB;;CAA8C,CAAC"}
1
+ {"version":3,"file":"mysql.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/mysql.ts"],"names":[],"mappings":"AA0KA;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB;;CAA8C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"openai.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/openai.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAiB,aAAa,EAA4B,MAAM,cAAc,CAAC;AA6I3F;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;CAA+C,CAAC"}
1
+ {"version":3,"file":"openai.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/openai.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAiB,aAAa,EAA4B,MAAM,cAAc,CAAC;AA8I3F;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;CAA+C,CAAC"}
@@ -0,0 +1,26 @@
1
+ import type { PostgresConnectionContext, Span } from '@sentry/core';
2
+ export interface PostgresJsChannelIntegrationOptions {
3
+ /**
4
+ * Only create spans when there's already an active parent span. Defaults to
5
+ * `true`, matching the OTel `postgresJsIntegration`.
6
+ */
7
+ requireParentSpan?: boolean;
8
+ /**
9
+ * Hook to modify the query span before the query runs. Receives the span, the
10
+ * sanitized SQL, and (when resolvable) the connection context.
11
+ */
12
+ requestHook?: (span: Span, sanitizedSqlQuery: string, postgresConnectionContext?: PostgresConnectionContext) => void;
13
+ }
14
+ /**
15
+ * EXPERIMENTAL — orchestrion-driven postgres.js (`postgres` v3.x) integration.
16
+ *
17
+ * Subscribes to the `orchestrion:postgres:handle` / `:connection` / `:execute` /
18
+ * `:connect` diagnostics channels injected into postgres.js' `Query.prototype.handle`
19
+ * and `Connection`/`execute`/`connect` (in `src/*` and `cjs/src/*`) and creates db
20
+ * spans matching the OTel `postgresJsIntegration`. Requires the orchestrion runtime
21
+ * hook or bundler plugin.
22
+ */
23
+ export declare const postgresJsChannelIntegration: (options?: PostgresJsChannelIntegrationOptions | undefined) => import("@sentry/core").Integration & {
24
+ name: "PostgresJs";
25
+ };
26
+ //# sourceMappingURL=postgres-js.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgres-js.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/postgres-js.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAiB,yBAAyB,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AA4CnF,MAAM,WAAW,mCAAmC;IAClD;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,EAAE,yBAAyB,CAAC,EAAE,yBAAyB,KAAK,IAAI,CAAC;CACtH;AA6QD;;;;;;;;GAQG;AACH,eAAO,MAAM,4BAA4B;;CAAmD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"postgres.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/postgres.ts"],"names":[],"mappings":"AAsRA;;;;;;;;GAQG;AACH,eAAO,MAAM,0BAA0B;yBA9M+B,OAAO;;;CA8MW,CAAC"}
1
+ {"version":3,"file":"postgres.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/postgres.ts"],"names":[],"mappings":"AAmRA;;;;;;;;GAQG;AACH,eAAO,MAAM,0BAA0B;yBA3M+B,OAAO;;;CA2MW,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { Span } from '@sentry/core';
2
+ /** Mirrors `@opentelemetry/instrumentation-redis`' response hook. Not called for failed commands. */
3
+ export type RedisResponseHook = (span: Span, command: string, args: Array<string | Buffer>, result: unknown) => void;
4
+ export interface RedisChannelIntegrationOptions {
5
+ responseHook?: RedisResponseHook;
6
+ }
7
+ /**
8
+ * EXPERIMENTAL — orchestrion-driven redis integration for `redis` v2-v3 and
9
+ * node-redis v4/v5 `<5.12.0` (`@redis/client`). Covers single commands, `connect`,
10
+ * and multi/pipeline batches, fully replacing `@opentelemetry/instrumentation-redis`.
11
+ * Requires the orchestrion runtime hook or bundler plugin.
12
+ */
13
+ export declare const redisChannelIntegration: (options?: RedisChannelIntegrationOptions | undefined) => import("@sentry/core").Integration & {
14
+ name: "RedisChannel";
15
+ };
16
+ //# sourceMappingURL=redis.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redis.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/redis.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAiB,IAAI,EAAkB,MAAM,cAAc,CAAC;AA+BxE,qGAAqG;AACrG,MAAM,MAAM,iBAAiB,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;AAErH,MAAM,WAAW,8BAA8B;IAC7C,YAAY,CAAC,EAAE,iBAAiB,CAAC;CAClC;AAsSD;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;CAA8C,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Auto-instrument the `ai` SDK. Supported are:
3
3
  * - v7 via native `ai:telemetry` tracing channel
4
- * - v6 via orchestrion `orchestrion:ai:*` channels
4
+ * - v4, v5 & v6 via orchestrion `orchestrion:ai:*` channels
5
5
  */
6
6
  export declare const vercelAiChannelIntegration: (options?: {
7
7
  recordInputs?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"mongoose-dc-subscriber.d.ts","sourceRoot":"","sources":["../../../src/mongoose/mongoose-dc-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAmB/D,eAAO,MAAM,yBAAyB,mBAAmB,CAAC;AAC1D,eAAO,MAAM,6BAA6B,uBAAuB,CAAC;AAClE,eAAO,MAAM,8BAA8B,wBAAwB,CAAC;AACpE,eAAO,MAAM,qCAAqC,8BAA8B,CAAC;AACjF,eAAO,MAAM,oCAAoC,6BAA6B,CAAC;AAC/E,eAAO,MAAM,+BAA+B,yBAAyB,CAAC;AAStE;;;;;;;;;;GAUG;AACH,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,uFAAuF;IACvF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6EAA6E;IAC7E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE;QACL,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,GAAG,CAAC,EAAE,OAAO,CAAC;QACd,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CAAC;IACF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED;;;;;;GAMG;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,SAAS,MAAM,EAAE,IAAI,EAAE,MAAM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6B,GAAG,CAAC,CAAC,SAAS,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAIrG;;;;;;;;;;GAUG;AACH,wBAAgB,mCAAmC,CAAC,cAAc,EAAE,6BAA6B,GAAG,IAAI,CAkBvG"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Auto-instrument the [mysql2](https://www.npmjs.com/package/mysql2) library via its native
3
+ * `node:diagnostics_channel` tracing channels (mysql2 >= 3.20.0).
4
+ *
5
+ * On older mysql2 versions the channels are never published to, so this integration is inert and
6
+ * the vendored OTel instrumentation (gated to `< 3.20.0`) handles instrumentation instead.
7
+ */
8
+ export declare const mysql2Integration: () => import("@sentry/core").Integration & {
9
+ name: string;
10
+ };
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/mysql2/index.ts"],"names":[],"mappings":"AAsBA;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;CAAwC,CAAC"}
@@ -0,0 +1,59 @@
1
+ import type { TracingChannel } from 'node:diagnostics_channel';
2
+ export declare const MYSQL2_DC_CHANNEL_QUERY = "mysql2:query";
3
+ export declare const MYSQL2_DC_CHANNEL_EXECUTE = "mysql2:execute";
4
+ export declare const MYSQL2_DC_CHANNEL_CONNECT = "mysql2:connect";
5
+ export declare const MYSQL2_DC_CHANNEL_POOL_CONNECT = "mysql2:pool:connect";
6
+ /**
7
+ * Shape of the context object mysql2 >= 3.20.0 publishes on its query/execute
8
+ * tracing channels (see mysql2 `lib/base/connection.js`).
9
+ *
10
+ * Node's `traceCallback`/`tracePromise` mutate this same object with
11
+ * `result`/`error` once the operation settles, which `bindTracingChannelToSpan`
12
+ * reads in its lifecycle handlers — hence both are declared optional here.
13
+ *
14
+ * `query` is the SQL statement. On the `query` channel mysql2 has already
15
+ * inlined `values` into it (`Connection.format`), so it carries raw user data;
16
+ * on the `execute` channel it keeps `?` placeholders. Either way we sanitize it
17
+ * before emitting `db.query.text` and never attach `values`.
18
+ */
19
+ export interface MySQL2QueryData {
20
+ query?: string;
21
+ values?: unknown;
22
+ database?: string;
23
+ serverAddress?: string;
24
+ /** Absent for unix-socket connections, where `serverAddress` is the socket path. */
25
+ serverPort?: number;
26
+ result?: unknown;
27
+ error?: Error;
28
+ }
29
+ /**
30
+ * Shape of the context object mysql2 >= 3.20.0 publishes on its
31
+ * `connect`/`pool:connect` channels.
32
+ */
33
+ export interface MySQL2ConnectData {
34
+ database?: string;
35
+ serverAddress?: string;
36
+ serverPort?: number;
37
+ user?: string;
38
+ result?: unknown;
39
+ error?: Error;
40
+ }
41
+ /**
42
+ * Platform-provided factory that creates a native tracing channel for the given name. The
43
+ * subscriber binds the span and its lifecycle onto the channel via `bindTracingChannelToSpan`,
44
+ * which propagates the active span through the runtime's async context.
45
+ *
46
+ * Node passes `node:diagnostics_channel`'s `tracingChannel` directly.
47
+ */
48
+ export type MySQL2TracingChannelFactory = <T extends object>(name: string) => TracingChannel<T, T>;
49
+ /**
50
+ * Subscribe Sentry span handlers to mysql2's diagnostics-channel events
51
+ * (`mysql2:query`, `:execute`, `:connect`, `:pool:connect`), published by
52
+ * mysql2 >= 3.20.0.
53
+ *
54
+ * On older mysql2 versions the channels are never published to, so the
55
+ * subscribers are inert — there is no double-instrumentation against the
56
+ * vendored OTel patcher, which is gated to `< 3.20.0`.
57
+ */
58
+ export declare function subscribeMysql2DiagnosticChannels(tracingChannel: MySQL2TracingChannelFactory): void;
59
+ //# sourceMappingURL=mysql2-dc-subscriber.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mysql2-dc-subscriber.d.ts","sourceRoot":"","sources":["../../../src/mysql2/mysql2-dc-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAoB/D,eAAO,MAAM,uBAAuB,iBAAiB,CAAC;AACtD,eAAO,MAAM,yBAAyB,mBAAmB,CAAC;AAC1D,eAAO,MAAM,yBAAyB,mBAAmB,CAAC;AAC1D,eAAO,MAAM,8BAA8B,wBAAwB,CAAC;AAQpE;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oFAAoF;IACpF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED;;;;;;GAMG;AACH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,SAAS,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAEnG;;;;;;;;GAQG;AACH,wBAAgB,iCAAiC,CAAC,cAAc,EAAE,2BAA2B,GAAG,IAAI,CAKnG"}
@@ -12,14 +12,44 @@
12
12
  * they don't drift apart and silently stop firing.
13
13
  */
14
14
  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";
24
+ readonly REDIS_COMMAND: "orchestrion:redis:command";
25
+ readonly NODE_REDIS_COMMAND: "orchestrion:@redis/client:command";
26
+ readonly NODE_REDIS_EXECUTOR: "orchestrion:@redis/client:executor";
27
+ readonly NODE_REDIS_CONNECT: "orchestrion:@redis/client:connect";
28
+ readonly NODE_REDIS_MULTI: "orchestrion:@redis/client:multi";
29
+ readonly NODE_REDIS_PIPELINE: "orchestrion:@redis/client:pipeline";
30
+ readonly NODE_REDIS_BATCH: "orchestrion:@redis/client:batch";
15
31
  readonly HAPI_ROUTE: "orchestrion:@hapi/hapi:route";
16
32
  readonly HAPI_EXT: "orchestrion:@hapi/hapi:ext";
33
+ readonly AMQPLIB_PUBLISH: "orchestrion:amqplib:publish";
34
+ readonly AMQPLIB_CONFIRM_PUBLISH: "orchestrion:amqplib:confirmPublish";
35
+ readonly AMQPLIB_CONSUME: "orchestrion:amqplib:consume";
36
+ readonly AMQPLIB_DISPATCH: "orchestrion:amqplib:dispatch";
37
+ readonly AMQPLIB_ACK: "orchestrion:amqplib:ack";
38
+ readonly AMQPLIB_NACK: "orchestrion:amqplib:nack";
39
+ readonly AMQPLIB_REJECT: "orchestrion:amqplib:reject";
40
+ readonly AMQPLIB_ACK_ALL: "orchestrion:amqplib:ackAll";
41
+ readonly AMQPLIB_NACK_ALL: "orchestrion:amqplib:nackAll";
42
+ readonly AMQPLIB_CONNECT: "orchestrion:amqplib:connect";
17
43
  readonly VERCEL_AI_GENERATE_TEXT: "orchestrion:ai:generateText";
18
44
  readonly VERCEL_AI_STREAM_TEXT: "orchestrion:ai:streamText";
45
+ readonly VERCEL_AI_GENERATE_OBJECT: "orchestrion:ai:generateObject";
19
46
  readonly VERCEL_AI_EMBED: "orchestrion:ai:embed";
20
47
  readonly VERCEL_AI_EMBED_MANY: "orchestrion:ai:embedMany";
21
48
  readonly VERCEL_AI_EXECUTE_TOOL_CALL: "orchestrion:ai:executeToolCall";
22
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";
23
53
  readonly ANTHROPIC_CHAT: "orchestrion:@anthropic-ai/sdk:chat";
24
54
  readonly ANTHROPIC_MODELS: "orchestrion:@anthropic-ai/sdk:models";
25
55
  readonly ANTHROPIC_MESSAGES_STREAM: "orchestrion:@anthropic-ai/sdk:messages-stream";
@@ -27,6 +57,10 @@ export declare const CHANNELS: {
27
57
  readonly OPENAI_RESPONSES: "orchestrion:openai:responses";
28
58
  readonly OPENAI_EMBEDDINGS: "orchestrion:openai:embeddings";
29
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";
30
64
  readonly PG_QUERY: "orchestrion:pg:query";
31
65
  readonly PG_CONNECT: "orchestrion:pg:connect";
32
66
  readonly PGPOOL_CONNECT: "orchestrion:pg-pool:connect";
@@ -1 +1 @@
1
- {"version":3,"file":"channels.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/channels.ts"],"names":[],"mappings":"AASA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;CASX,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":"AAeA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAeX,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC"}
@@ -0,0 +1,66 @@
1
+ export declare const amqplibConfig: ({
2
+ channelName: string;
3
+ module: {
4
+ filePath: string;
5
+ name: "amqplib";
6
+ versionRange: ">=0.5.5 <2";
7
+ };
8
+ functionQuery: {
9
+ className: string;
10
+ methodName: string;
11
+ kind: "Sync";
12
+ functionName?: undefined;
13
+ };
14
+ } | {
15
+ channelName: string;
16
+ module: {
17
+ filePath: string;
18
+ name: "amqplib";
19
+ versionRange: ">=0.5.5 <2";
20
+ };
21
+ functionQuery: {
22
+ className: string;
23
+ methodName: string;
24
+ kind: "Callback";
25
+ functionName?: undefined;
26
+ };
27
+ } | {
28
+ channelName: string;
29
+ module: {
30
+ filePath: string;
31
+ name: "amqplib";
32
+ versionRange: ">=0.5.5 <2";
33
+ };
34
+ functionQuery: {
35
+ className: string;
36
+ methodName: string;
37
+ kind: "Async";
38
+ functionName?: undefined;
39
+ };
40
+ } | {
41
+ channelName: string;
42
+ module: {
43
+ filePath: string;
44
+ name: "amqplib";
45
+ versionRange: ">=0.5.5 <2";
46
+ };
47
+ functionQuery: {
48
+ functionName: string;
49
+ kind: "Callback";
50
+ className?: undefined;
51
+ methodName?: undefined;
52
+ };
53
+ })[];
54
+ export declare const amqplibChannels: {
55
+ readonly AMQPLIB_PUBLISH: "orchestrion:amqplib:publish";
56
+ readonly AMQPLIB_CONFIRM_PUBLISH: "orchestrion:amqplib:confirmPublish";
57
+ readonly AMQPLIB_CONSUME: "orchestrion:amqplib:consume";
58
+ readonly AMQPLIB_DISPATCH: "orchestrion:amqplib:dispatch";
59
+ readonly AMQPLIB_ACK: "orchestrion:amqplib:ack";
60
+ readonly AMQPLIB_NACK: "orchestrion:amqplib:nack";
61
+ readonly AMQPLIB_REJECT: "orchestrion:amqplib:reject";
62
+ readonly AMQPLIB_ACK_ALL: "orchestrion:amqplib:ackAll";
63
+ readonly AMQPLIB_NACK_ALL: "orchestrion:amqplib:nackAll";
64
+ readonly AMQPLIB_CONNECT: "orchestrion:amqplib:connect";
65
+ };
66
+ //# sourceMappingURL=amqplib.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"amqplib.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/amqplib.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6DS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;;;;;;;;;CAWlB,CAAC"}
@@ -0,0 +1,32 @@
1
+ export declare const expressConfig: ({
2
+ channelName: string;
3
+ module: {
4
+ name: string;
5
+ versionRange: string;
6
+ filePath: string;
7
+ };
8
+ functionQuery: {
9
+ expressionName: string;
10
+ kind: "Callback";
11
+ };
12
+ } | {
13
+ channelName: string;
14
+ module: {
15
+ name: string;
16
+ versionRange: string;
17
+ filePath: string;
18
+ };
19
+ functionQuery: {
20
+ expressionName: string;
21
+ kind: "Sync";
22
+ };
23
+ })[];
24
+ export declare const expressChannels: {
25
+ readonly EXPRESS_HANDLE: "orchestrion:express:handle";
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";
31
+ };
32
+ //# sourceMappingURL=express.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,30 @@
1
+ export declare const googleGenAiConfig: ({
2
+ channelName: string;
3
+ module: {
4
+ name: string;
5
+ versionRange: string;
6
+ filePath: string;
7
+ };
8
+ functionQuery: {
9
+ expressionName: "generateContent" | "generateContentStream";
10
+ kind: "Auto";
11
+ };
12
+ } | {
13
+ channelName: string;
14
+ module: {
15
+ name: string;
16
+ versionRange: string;
17
+ filePath: string;
18
+ };
19
+ functionQuery: {
20
+ className: string;
21
+ methodName: string;
22
+ kind: "Auto";
23
+ };
24
+ })[];
25
+ export declare const googleGenAiChannels: {
26
+ readonly GOOGLE_GENAI_GENERATE_CONTENT: "orchestrion:@google/genai:generate-content";
27
+ readonly GOOGLE_GENAI_EMBED_CONTENT: "orchestrion:@google/genai:embed-content";
28
+ readonly GOOGLE_GENAI_CHAT: "orchestrion:@google/genai:chat";
29
+ };
30
+ //# sourceMappingURL=google-genai.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google-genai.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/google-genai.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;IAyBK,CAAC;AAEpC,eAAO,MAAM,mBAAmB;;;;CAItB,CAAC"}
@@ -0,0 +1,29 @@
1
+ export declare const graphqlConfig: ({
2
+ channelName: string;
3
+ module: {
4
+ name: string;
5
+ versionRange: string;
6
+ filePath: string;
7
+ };
8
+ functionQuery: {
9
+ functionName: string;
10
+ kind: "Sync";
11
+ };
12
+ } | {
13
+ channelName: string;
14
+ module: {
15
+ name: string;
16
+ versionRange: string;
17
+ filePath: string;
18
+ };
19
+ functionQuery: {
20
+ functionName: string;
21
+ kind: "Auto";
22
+ };
23
+ })[];
24
+ export declare const graphqlChannels: {
25
+ readonly GRAPHQL_PARSE: "orchestrion:graphql:parse";
26
+ readonly GRAPHQL_VALIDATE: "orchestrion:graphql:validate";
27
+ readonly GRAPHQL_EXECUTE: "orchestrion:graphql:execute";
28
+ };
29
+ //# sourceMappingURL=graphql.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graphql.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/graphql.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;IAgBS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;;CAIlB,CAAC"}
@@ -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;AAU7E,eAAO,MAAM,uBAAuB,EAAE,qBAAqB,EAS1D,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB,EAAE,MAAM,EAAyE,CAAC;AAExH;;;;;;;;;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,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"}
@@ -0,0 +1,9 @@
1
+ import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';
2
+ export declare const postgresJsConfig: InstrumentationConfig[];
3
+ export declare const postgresJsChannels: {
4
+ readonly POSTGRESJS_HANDLE: "orchestrion:postgres:handle";
5
+ readonly POSTGRESJS_CONNECTION: "orchestrion:postgres:connection";
6
+ readonly POSTGRESJS_EXECUTE: "orchestrion:postgres:execute";
7
+ readonly POSTGRESJS_CONNECT: "orchestrion:postgres:connect";
8
+ };
9
+ //# sourceMappingURL=postgres.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgres.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/postgres.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AA+C7E,eAAO,MAAM,gBAAgB,yBAA8D,CAAC;AAE5F,eAAO,MAAM,kBAAkB;;;;;CAKrB,CAAC"}
@@ -0,0 +1,37 @@
1
+ export declare const redisConfig: ({
2
+ channelName: string;
3
+ module: {
4
+ name: string;
5
+ versionRange: string;
6
+ filePath: string;
7
+ };
8
+ functionQuery: {
9
+ expressionName: string;
10
+ kind: "Sync";
11
+ className?: undefined;
12
+ methodName?: undefined;
13
+ };
14
+ } | {
15
+ channelName: string;
16
+ module: {
17
+ name: string;
18
+ versionRange: string;
19
+ filePath: string;
20
+ };
21
+ functionQuery: {
22
+ className: string;
23
+ methodName: string;
24
+ kind: "Async";
25
+ expressionName?: undefined;
26
+ };
27
+ })[];
28
+ export declare const redisChannels: {
29
+ readonly REDIS_COMMAND: "orchestrion:redis:command";
30
+ readonly NODE_REDIS_COMMAND: "orchestrion:@redis/client:command";
31
+ readonly NODE_REDIS_EXECUTOR: "orchestrion:@redis/client:executor";
32
+ readonly NODE_REDIS_CONNECT: "orchestrion:@redis/client:connect";
33
+ readonly NODE_REDIS_MULTI: "orchestrion:@redis/client:multi";
34
+ readonly NODE_REDIS_PIPELINE: "orchestrion:@redis/client:pipeline";
35
+ readonly NODE_REDIS_BATCH: "orchestrion:@redis/client:batch";
36
+ };
37
+ //# sourceMappingURL=redis.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redis.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/redis.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;IA4DW,CAAC;AAEpC,eAAO,MAAM,aAAa;;;;;;;;CAQhB,CAAC"}
@@ -3,6 +3,7 @@ export declare const vercelAiConfig: InstrumentationConfig[];
3
3
  export declare const vercelAiChannels: {
4
4
  readonly VERCEL_AI_GENERATE_TEXT: "orchestrion:ai:generateText";
5
5
  readonly VERCEL_AI_STREAM_TEXT: "orchestrion:ai:streamText";
6
+ readonly VERCEL_AI_GENERATE_OBJECT: "orchestrion:ai:generateObject";
6
7
  readonly VERCEL_AI_EMBED: "orchestrion:ai:embed";
7
8
  readonly VERCEL_AI_EMBED_MANY: "orchestrion:ai:embedMany";
8
9
  readonly VERCEL_AI_EXECUTE_TOOL_CALL: "orchestrion:ai:executeToolCall";
@@ -1 +1 @@
1
- {"version":3,"file":"vercel-ai.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/vercel-ai.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAE7E,eAAO,MAAM,cAAc,yBAeQ,CAAC;AAEpC,eAAO,MAAM,gBAAgB;;;;;;;CAcnB,CAAC"}
1
+ {"version":3,"file":"vercel-ai.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/vercel-ai.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAE7E,eAAO,MAAM,cAAc,yBAsBQ,CAAC;AAEpC,eAAO,MAAM,gBAAgB;;;;;;;;CAcnB,CAAC"}
@@ -1,14 +1,23 @@
1
+ import { amqplibChannelIntegration } from '../integrations/tracing-channel/amqplib';
1
2
  import { anthropicChannelIntegration } from '../integrations/tracing-channel/anthropic';
3
+ import { googleGenAIChannelIntegration } from '../integrations/tracing-channel/google-genai';
4
+ import { graphqlChannelIntegration } from '../integrations/tracing-channel/graphql';
2
5
  import { hapiChannelIntegration } from '../integrations/tracing-channel/hapi';
3
6
  import { ioredisChannelIntegration } from '../integrations/tracing-channel/ioredis';
4
7
  import { lruMemoizerChannelIntegration } from '../integrations/tracing-channel/lru-memoizer';
5
8
  import { mysqlChannelIntegration } from '../integrations/tracing-channel/mysql';
6
9
  import { openaiChannelIntegration } from '../integrations/tracing-channel/openai';
7
10
  import { postgresChannelIntegration } from '../integrations/tracing-channel/postgres';
11
+ import { postgresJsChannelIntegration } from '../integrations/tracing-channel/postgres-js';
8
12
  import { vercelAiChannelIntegration } from '../integrations/tracing-channel/vercel-ai';
13
+ import { expressChannelIntegration } from '../integrations/tracing-channel/express';
9
14
  export { detectOrchestrionSetup, isOrchestrionInjected } from './detect';
10
- export { anthropicChannelIntegration, hapiChannelIntegration, ioredisChannelIntegration, lruMemoizerChannelIntegration, mysqlChannelIntegration, openaiChannelIntegration, postgresChannelIntegration, vercelAiChannelIntegration, };
15
+ export { amqplibChannelIntegration, anthropicChannelIntegration, googleGenAIChannelIntegration, graphqlChannelIntegration, hapiChannelIntegration, ioredisChannelIntegration, lruMemoizerChannelIntegration, mysqlChannelIntegration, openaiChannelIntegration, postgresChannelIntegration, postgresJsChannelIntegration, vercelAiChannelIntegration, expressChannelIntegration, };
11
16
  export type { IORedisChannelIntegrationOptions, IORedisResponseHook } from '../integrations/tracing-channel/ioredis';
17
+ export type { PostgresJsChannelIntegrationOptions } from '../integrations/tracing-channel/postgres-js';
18
+ export { redisChannelIntegration } from '../integrations/tracing-channel/redis';
19
+ export type { RedisChannelIntegrationOptions, RedisResponseHook } from '../integrations/tracing-channel/redis';
20
+ export type * from '../integrations/tracing-channel/graphql/graphql-types';
12
21
  /**
13
22
  * The canonical set of orchestrion diagnostics-channel integrations, keyed by their public
14
23
  * (OTel-parity) factory name.
@@ -18,9 +27,9 @@ export type { IORedisChannelIntegrationOptions, IORedisResponseHook } from '../i
18
27
  * `diagnosticsChannelInjectionIntegrations()` map — picks it up automatically, so there's no separate
19
28
  * list to keep in sync.
20
29
  *
21
- * NOTE: `ioredisChannelIntegration` is intentionally NOT here. It only partially replaces the
22
- * composite OTel `Redis` integration and needs the node SDK's redis cache `responseHook` (which
23
- * can't live in `server-utils`), so `@sentry/node` wires it up separately.
30
+ * NOTE: `ioredisChannelIntegration` and `redisChannelIntegration` are intentionally NOT here. They
31
+ * only partially replace the composite OTel `Redis` integration and need the node SDK's redis cache
32
+ * `responseHook` (which can't live in `server-utils`), so `@sentry/node` wires them up separately.
24
33
  */
25
34
  export declare const channelIntegrations: {
26
35
  readonly postgresIntegration: (options?: {
@@ -28,6 +37,9 @@ export declare const channelIntegrations: {
28
37
  } | undefined) => import("@sentry/core").Integration & {
29
38
  name: "Postgres";
30
39
  };
40
+ readonly postgresJsIntegration: (options?: import(".").PostgresJsChannelIntegrationOptions | undefined) => import("@sentry/core").Integration & {
41
+ name: "PostgresJs";
42
+ };
31
43
  readonly mysqlIntegration: () => import("@sentry/core").Integration & {
32
44
  name: "Mysql";
33
45
  };
@@ -40,6 +52,9 @@ export declare const channelIntegrations: {
40
52
  readonly anthropicIntegration: (options?: import("@sentry/core").AnthropicAiOptions | undefined) => import("@sentry/core").Integration & {
41
53
  name: "Anthropic_AI";
42
54
  };
55
+ readonly googleGenAIIntegration: (options?: import("@sentry/core").GoogleGenAIOptions | undefined) => import("@sentry/core").Integration & {
56
+ name: "Google_GenAI";
57
+ };
43
58
  readonly vercelAiIntegration: (options?: {
44
59
  recordInputs?: boolean;
45
60
  recordOutputs?: boolean;
@@ -47,8 +62,20 @@ export declare const channelIntegrations: {
47
62
  } | undefined) => import("@sentry/core").Integration & {
48
63
  name: "VercelAI";
49
64
  };
65
+ readonly amqplibIntegration: () => import("@sentry/core").Integration & {
66
+ name: "Amqplib";
67
+ };
50
68
  readonly hapiIntegration: () => import("@sentry/core").Integration & {
51
69
  name: "Hapi";
52
70
  };
71
+ readonly expressIntegration: (options?: import("../integrations/tracing-channel/express/types").ExpressIntegrationOptions | undefined) => import("@sentry/core").Integration & {
72
+ name: "Express";
73
+ };
74
+ readonly graphqlIntegration: (options?: import("../graphql/graphql-dc-subscriber").GraphqlDiagnosticChannelsOptions) => Omit<import("@sentry/core").Integration & {
75
+ name: "Graphql";
76
+ }, "name" | "setupOnce"> & {
77
+ name: "Graphql";
78
+ setupOnce: () => void | undefined;
79
+ };
53
80
  };
54
81
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AAEvF,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AACzE,OAAO,EACL,2BAA2B,EAC3B,sBAAsB,EACtB,yBAAyB,EACzB,6BAA6B,EAC7B,uBAAuB,EACvB,wBAAwB,EACxB,0BAA0B,EAC1B,0BAA0B,GAC3B,CAAC;AACF,YAAY,EAAE,gCAAgC,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAErH;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;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AAM,uCAAuC,CAAC;AAChF,YAAY,EAAE,8BAA8B,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAI/G,mBAAmB,uDAAuD,CAAC;AAE3E;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAatB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { type RedisDiagnosticChannelResponseHook } from './redis-dc-subscriber';
2
+ /** Options controlling the redis diagnostics-channel subscription. */
3
+ export interface RedisDiagnosticChannelsOptions {
4
+ /**
5
+ * Optional hook invoked once the redis command response arrives. Useful for attaching
6
+ * response-derived attributes (e.g. cache hit/miss, payload size).
7
+ */
8
+ responseHook?: RedisDiagnosticChannelResponseHook;
9
+ }
10
+ /**
11
+ * Auto-instrument the [redis](https://www.npmjs.com/package/redis) and
12
+ * [ioredis](https://www.npmjs.com/package/ioredis) libraries via their native
13
+ * `node:diagnostics_channel` tracing channels (node-redis >= 5.12.0, ioredis >= 5.11.0).
14
+ */
15
+ export declare const redisIntegration: (options?: RedisDiagnosticChannelsOptions | undefined) => import("@sentry/core").Integration & {
16
+ name: string;
17
+ };
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/redis/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,kCAAkC,EAAoC,MAAM,uBAAuB,CAAC;AAElH,sEAAsE;AACtE,MAAM,WAAW,8BAA8B;IAC7C;;;OAGG;IACH,YAAY,CAAC,EAAE,kCAAkC,CAAC;CACnD;AAkBD;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;;CAAuC,CAAC"}
@@ -84,11 +84,6 @@ export type RedisTracingChannelFactory = <T extends object>(name: string) => Tra
84
84
  * On older client versions the channels are never published to, so subscribers
85
85
  * are inert — there is no double-instrumentation against any IITM-based
86
86
  * patcher gated to those older versions.
87
- *
88
- * Idempotent: subsequent calls update the response hook but do not
89
- * re-subscribe.
90
87
  */
91
88
  export declare function subscribeRedisDiagnosticChannels(tracingChannel: RedisTracingChannelFactory, responseHook?: RedisDiagnosticChannelResponseHook): void;
92
- /** Test-only: detach all channel bindings and reset module-local subscribe state. */
93
- export declare function _resetRedisDiagnosticChannelsForTesting(): void;
94
89
  //# sourceMappingURL=redis-dc-subscriber.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"redis-dc-subscriber.d.ts","sourceRoot":"","sources":["../../../src/redis/redis-dc-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAQ/D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AASzC,eAAO,MAAM,wBAAwB,uBAAuB,CAAC;AAC7D,eAAO,MAAM,sBAAsB,qBAAqB,CAAC;AACzD,eAAO,MAAM,wBAAwB,uBAAuB,CAAC;AAC7D,eAAO,MAAM,0BAA0B,oBAAoB,CAAC;AAC5D,eAAO,MAAM,0BAA0B,oBAAoB,CAAC;AAK5D;;;;;;;;GAQG;AACH,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,2EAA2E;IAC3E,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED;;;;;;GAMG;AACH,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,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