@sentry/core 10.47.0 → 10.49.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 (413) hide show
  1. package/build/cjs/attributes.js +43 -0
  2. package/build/cjs/attributes.js.map +1 -1
  3. package/build/cjs/client.js +13 -6
  4. package/build/cjs/client.js.map +1 -1
  5. package/build/cjs/envelope.js +4 -3
  6. package/build/cjs/envelope.js.map +1 -1
  7. package/build/cjs/fetch.js +36 -17
  8. package/build/cjs/fetch.js.map +1 -1
  9. package/build/cjs/index.js +53 -18
  10. package/build/cjs/index.js.map +1 -1
  11. package/build/cjs/integration.js +6 -0
  12. package/build/cjs/integration.js.map +1 -1
  13. package/build/cjs/integrations/conversationId.js +11 -0
  14. package/build/cjs/integrations/conversationId.js.map +1 -1
  15. package/build/cjs/integrations/express/index.js +243 -0
  16. package/build/cjs/integrations/express/index.js.map +1 -0
  17. package/build/cjs/integrations/express/patch-layer.js +257 -0
  18. package/build/cjs/integrations/express/patch-layer.js.map +1 -0
  19. package/build/cjs/integrations/express/request-layer-store.js +25 -0
  20. package/build/cjs/integrations/express/request-layer-store.js.map +1 -0
  21. package/build/cjs/integrations/express/set-sdk-processing-metadata.js +17 -0
  22. package/build/cjs/integrations/express/set-sdk-processing-metadata.js.map +1 -0
  23. package/build/cjs/integrations/express/types.js +17 -0
  24. package/build/cjs/integrations/express/types.js.map +1 -0
  25. package/build/cjs/integrations/express/utils.js +238 -0
  26. package/build/cjs/integrations/express/utils.js.map +1 -0
  27. package/build/cjs/integrations/mcp-server/correlation.js +5 -1
  28. package/build/cjs/integrations/mcp-server/correlation.js.map +1 -1
  29. package/build/cjs/integrations/mcp-server/handlers.js +18 -10
  30. package/build/cjs/integrations/mcp-server/handlers.js.map +1 -1
  31. package/build/cjs/integrations/mcp-server/index.js +2 -1
  32. package/build/cjs/integrations/mcp-server/index.js.map +1 -1
  33. package/build/cjs/integrations/mcp-server/transport.js +1 -1
  34. package/build/cjs/integrations/mcp-server/transport.js.map +1 -1
  35. package/build/cjs/integrations/mcp-server/validation.js +7 -5
  36. package/build/cjs/integrations/mcp-server/validation.js.map +1 -1
  37. package/build/cjs/integrations/requestdata.js.map +1 -1
  38. package/build/cjs/integrations/spanStreaming.js +48 -0
  39. package/build/cjs/integrations/spanStreaming.js.map +1 -0
  40. package/build/cjs/semanticAttributes.js +35 -3
  41. package/build/cjs/semanticAttributes.js.map +1 -1
  42. package/build/cjs/tracing/ai/gen-ai-attributes.js +3 -89
  43. package/build/cjs/tracing/ai/gen-ai-attributes.js.map +1 -1
  44. package/build/cjs/tracing/ai/utils.js +74 -0
  45. package/build/cjs/tracing/ai/utils.js.map +1 -1
  46. package/build/cjs/tracing/anthropic-ai/index.js +6 -17
  47. package/build/cjs/tracing/anthropic-ai/index.js.map +1 -1
  48. package/build/cjs/tracing/anthropic-ai/streaming.js +2 -100
  49. package/build/cjs/tracing/anthropic-ai/streaming.js.map +1 -1
  50. package/build/cjs/tracing/anthropic-ai/utils.js +4 -2
  51. package/build/cjs/tracing/anthropic-ai/utils.js.map +1 -1
  52. package/build/cjs/tracing/dynamicSamplingContext.js +2 -1
  53. package/build/cjs/tracing/dynamicSamplingContext.js.map +1 -1
  54. package/build/cjs/tracing/google-genai/constants.js +1 -6
  55. package/build/cjs/tracing/google-genai/constants.js.map +1 -1
  56. package/build/cjs/tracing/google-genai/index.js +40 -35
  57. package/build/cjs/tracing/google-genai/index.js.map +1 -1
  58. package/build/cjs/tracing/google-genai/streaming.js +2 -23
  59. package/build/cjs/tracing/google-genai/streaming.js.map +1 -1
  60. package/build/cjs/tracing/langchain/embeddings.js +132 -0
  61. package/build/cjs/tracing/langchain/embeddings.js.map +1 -0
  62. package/build/cjs/tracing/langchain/index.js +3 -0
  63. package/build/cjs/tracing/langchain/index.js.map +1 -1
  64. package/build/cjs/tracing/langchain/utils.js +12 -4
  65. package/build/cjs/tracing/langchain/utils.js.map +1 -1
  66. package/build/cjs/tracing/langgraph/index.js +4 -3
  67. package/build/cjs/tracing/langgraph/index.js.map +1 -1
  68. package/build/cjs/tracing/openai/index.js +14 -34
  69. package/build/cjs/tracing/openai/index.js.map +1 -1
  70. package/build/cjs/tracing/openai/streaming.js +3 -34
  71. package/build/cjs/tracing/openai/streaming.js.map +1 -1
  72. package/build/cjs/tracing/openai/utils.js +78 -204
  73. package/build/cjs/tracing/openai/utils.js.map +1 -1
  74. package/build/cjs/tracing/sentryNonRecordingSpan.js +7 -0
  75. package/build/cjs/tracing/sentryNonRecordingSpan.js.map +1 -1
  76. package/build/cjs/tracing/sentrySpan.js +39 -0
  77. package/build/cjs/tracing/sentrySpan.js.map +1 -1
  78. package/build/cjs/tracing/spans/beforeSendSpan.js +43 -0
  79. package/build/cjs/tracing/spans/beforeSendSpan.js.map +1 -0
  80. package/build/cjs/tracing/spans/captureSpan.js +126 -0
  81. package/build/cjs/tracing/spans/captureSpan.js.map +1 -0
  82. package/build/cjs/tracing/spans/envelope.js +38 -0
  83. package/build/cjs/tracing/spans/envelope.js.map +1 -0
  84. package/build/cjs/tracing/spans/estimateSize.js +41 -0
  85. package/build/cjs/tracing/spans/estimateSize.js.map +1 -0
  86. package/build/cjs/tracing/spans/hasSpanStreamingEnabled.js +11 -0
  87. package/build/cjs/tracing/spans/hasSpanStreamingEnabled.js.map +1 -0
  88. package/build/cjs/tracing/spans/spanBuffer.js +158 -0
  89. package/build/cjs/tracing/spans/spanBuffer.js.map +1 -0
  90. package/build/cjs/tracing/trace.js +83 -13
  91. package/build/cjs/tracing/trace.js.map +1 -1
  92. package/build/cjs/tracing/utils.js +3 -37
  93. package/build/cjs/tracing/utils.js.map +1 -1
  94. package/build/cjs/tracing/vercel-ai/constants.js +15 -23
  95. package/build/cjs/tracing/vercel-ai/constants.js.map +1 -1
  96. package/build/cjs/tracing/vercel-ai/index.js +32 -45
  97. package/build/cjs/tracing/vercel-ai/index.js.map +1 -1
  98. package/build/cjs/tracing/vercel-ai/utils.js +11 -42
  99. package/build/cjs/tracing/vercel-ai/utils.js.map +1 -1
  100. package/build/cjs/tracing/vercel-ai/vercel-ai-attributes.js +4 -1
  101. package/build/cjs/tracing/vercel-ai/vercel-ai-attributes.js.map +1 -1
  102. package/build/cjs/utils/browser.js +2 -3
  103. package/build/cjs/utils/browser.js.map +1 -1
  104. package/build/cjs/utils/featureFlags.js +6 -0
  105. package/build/cjs/utils/featureFlags.js.map +1 -1
  106. package/build/cjs/utils/object.js +33 -0
  107. package/build/cjs/utils/object.js.map +1 -1
  108. package/build/cjs/utils/spanUtils.js +116 -13
  109. package/build/cjs/utils/spanUtils.js.map +1 -1
  110. package/build/cjs/utils/stacktrace.js +3 -1
  111. package/build/cjs/utils/stacktrace.js.map +1 -1
  112. package/build/cjs/utils/string.js +3 -0
  113. package/build/cjs/utils/string.js.map +1 -1
  114. package/build/cjs/utils/version.js +1 -1
  115. package/build/cjs/utils/weakRef.js +62 -0
  116. package/build/cjs/utils/weakRef.js.map +1 -0
  117. package/build/esm/attributes.js +43 -1
  118. package/build/esm/attributes.js.map +1 -1
  119. package/build/esm/client.js +8 -1
  120. package/build/esm/client.js.map +1 -1
  121. package/build/esm/envelope.js +2 -1
  122. package/build/esm/envelope.js.map +1 -1
  123. package/build/esm/fetch.js +36 -17
  124. package/build/esm/fetch.js.map +1 -1
  125. package/build/esm/index.js +12 -3
  126. package/build/esm/index.js.map +1 -1
  127. package/build/esm/integration.js +6 -0
  128. package/build/esm/integration.js.map +1 -1
  129. package/build/esm/integrations/conversationId.js +11 -0
  130. package/build/esm/integrations/conversationId.js.map +1 -1
  131. package/build/esm/integrations/express/index.js +239 -0
  132. package/build/esm/integrations/express/index.js.map +1 -0
  133. package/build/esm/integrations/express/patch-layer.js +255 -0
  134. package/build/esm/integrations/express/patch-layer.js.map +1 -0
  135. package/build/esm/integrations/express/request-layer-store.js +22 -0
  136. package/build/esm/integrations/express/request-layer-store.js.map +1 -0
  137. package/build/esm/integrations/express/set-sdk-processing-metadata.js +15 -0
  138. package/build/esm/integrations/express/set-sdk-processing-metadata.js.map +1 -0
  139. package/build/esm/integrations/express/types.js +10 -0
  140. package/build/esm/integrations/express/types.js.map +1 -0
  141. package/build/esm/integrations/express/utils.js +225 -0
  142. package/build/esm/integrations/express/utils.js.map +1 -0
  143. package/build/esm/integrations/mcp-server/correlation.js +5 -1
  144. package/build/esm/integrations/mcp-server/correlation.js.map +1 -1
  145. package/build/esm/integrations/mcp-server/handlers.js +18 -10
  146. package/build/esm/integrations/mcp-server/handlers.js.map +1 -1
  147. package/build/esm/integrations/mcp-server/index.js +2 -1
  148. package/build/esm/integrations/mcp-server/index.js.map +1 -1
  149. package/build/esm/integrations/mcp-server/transport.js +1 -1
  150. package/build/esm/integrations/mcp-server/transport.js.map +1 -1
  151. package/build/esm/integrations/mcp-server/validation.js +7 -5
  152. package/build/esm/integrations/mcp-server/validation.js.map +1 -1
  153. package/build/esm/integrations/requestdata.js.map +1 -1
  154. package/build/esm/integrations/spanStreaming.js +46 -0
  155. package/build/esm/integrations/spanStreaming.js.map +1 -0
  156. package/build/esm/package.json +1 -1
  157. package/build/esm/semanticAttributes.js +26 -4
  158. package/build/esm/semanticAttributes.js.map +1 -1
  159. package/build/esm/tracing/ai/gen-ai-attributes.js +3 -76
  160. package/build/esm/tracing/ai/gen-ai-attributes.js.map +1 -1
  161. package/build/esm/tracing/ai/utils.js +73 -2
  162. package/build/esm/tracing/ai/utils.js.map +1 -1
  163. package/build/esm/tracing/anthropic-ai/index.js +8 -19
  164. package/build/esm/tracing/anthropic-ai/index.js.map +1 -1
  165. package/build/esm/tracing/anthropic-ai/streaming.js +3 -101
  166. package/build/esm/tracing/anthropic-ai/streaming.js.map +1 -1
  167. package/build/esm/tracing/anthropic-ai/utils.js +5 -3
  168. package/build/esm/tracing/anthropic-ai/utils.js.map +1 -1
  169. package/build/esm/tracing/dynamicSamplingContext.js +2 -1
  170. package/build/esm/tracing/dynamicSamplingContext.js.map +1 -1
  171. package/build/esm/tracing/google-genai/constants.js +2 -5
  172. package/build/esm/tracing/google-genai/constants.js.map +1 -1
  173. package/build/esm/tracing/google-genai/index.js +42 -37
  174. package/build/esm/tracing/google-genai/index.js.map +1 -1
  175. package/build/esm/tracing/google-genai/streaming.js +2 -23
  176. package/build/esm/tracing/google-genai/streaming.js.map +1 -1
  177. package/build/esm/tracing/langchain/embeddings.js +129 -0
  178. package/build/esm/tracing/langchain/embeddings.js.map +1 -0
  179. package/build/esm/tracing/langchain/index.js +4 -1
  180. package/build/esm/tracing/langchain/index.js.map +1 -1
  181. package/build/esm/tracing/langchain/utils.js +13 -5
  182. package/build/esm/tracing/langchain/utils.js.map +1 -1
  183. package/build/esm/tracing/langgraph/index.js +5 -4
  184. package/build/esm/tracing/langgraph/index.js.map +1 -1
  185. package/build/esm/tracing/openai/index.js +16 -36
  186. package/build/esm/tracing/openai/index.js.map +1 -1
  187. package/build/esm/tracing/openai/streaming.js +4 -35
  188. package/build/esm/tracing/openai/streaming.js.map +1 -1
  189. package/build/esm/tracing/openai/utils.js +79 -196
  190. package/build/esm/tracing/openai/utils.js.map +1 -1
  191. package/build/esm/tracing/sentryNonRecordingSpan.js +7 -0
  192. package/build/esm/tracing/sentryNonRecordingSpan.js.map +1 -1
  193. package/build/esm/tracing/sentrySpan.js +40 -1
  194. package/build/esm/tracing/sentrySpan.js.map +1 -1
  195. package/build/esm/tracing/spans/beforeSendSpan.js +40 -0
  196. package/build/esm/tracing/spans/beforeSendSpan.js.map +1 -0
  197. package/build/esm/tracing/spans/captureSpan.js +122 -0
  198. package/build/esm/tracing/spans/captureSpan.js.map +1 -0
  199. package/build/esm/tracing/spans/envelope.js +36 -0
  200. package/build/esm/tracing/spans/envelope.js.map +1 -0
  201. package/build/esm/tracing/spans/estimateSize.js +39 -0
  202. package/build/esm/tracing/spans/estimateSize.js.map +1 -0
  203. package/build/esm/tracing/spans/hasSpanStreamingEnabled.js +9 -0
  204. package/build/esm/tracing/spans/hasSpanStreamingEnabled.js.map +1 -0
  205. package/build/esm/tracing/spans/spanBuffer.js +156 -0
  206. package/build/esm/tracing/spans/spanBuffer.js.map +1 -0
  207. package/build/esm/tracing/trace.js +84 -14
  208. package/build/esm/tracing/trace.js.map +1 -1
  209. package/build/esm/tracing/utils.js +3 -37
  210. package/build/esm/tracing/utils.js.map +1 -1
  211. package/build/esm/tracing/vercel-ai/constants.js +15 -19
  212. package/build/esm/tracing/vercel-ai/constants.js.map +1 -1
  213. package/build/esm/tracing/vercel-ai/index.js +29 -42
  214. package/build/esm/tracing/vercel-ai/index.js.map +1 -1
  215. package/build/esm/tracing/vercel-ai/utils.js +14 -44
  216. package/build/esm/tracing/vercel-ai/utils.js.map +1 -1
  217. package/build/esm/tracing/vercel-ai/vercel-ai-attributes.js +4 -1
  218. package/build/esm/tracing/vercel-ai/vercel-ai-attributes.js.map +1 -1
  219. package/build/esm/utils/browser.js +2 -3
  220. package/build/esm/utils/browser.js.map +1 -1
  221. package/build/esm/utils/featureFlags.js +6 -0
  222. package/build/esm/utils/featureFlags.js.map +1 -1
  223. package/build/esm/utils/object.js +33 -1
  224. package/build/esm/utils/object.js.map +1 -1
  225. package/build/esm/utils/spanUtils.js +112 -14
  226. package/build/esm/utils/spanUtils.js.map +1 -1
  227. package/build/esm/utils/stacktrace.js +3 -1
  228. package/build/esm/utils/stacktrace.js.map +1 -1
  229. package/build/esm/utils/string.js +3 -0
  230. package/build/esm/utils/string.js.map +1 -1
  231. package/build/esm/utils/version.js +1 -1
  232. package/build/esm/utils/weakRef.js +59 -0
  233. package/build/esm/utils/weakRef.js.map +1 -0
  234. package/build/types/attributes.d.ts +5 -0
  235. package/build/types/attributes.d.ts.map +1 -1
  236. package/build/types/build-time-plugins/buildTimeOptionsBase.d.ts +13 -0
  237. package/build/types/build-time-plugins/buildTimeOptionsBase.d.ts.map +1 -1
  238. package/build/types/client.d.ts +35 -1
  239. package/build/types/client.d.ts.map +1 -1
  240. package/build/types/envelope.d.ts.map +1 -1
  241. package/build/types/fetch.d.ts +12 -8
  242. package/build/types/fetch.d.ts.map +1 -1
  243. package/build/types/index.d.ts +16 -5
  244. package/build/types/index.d.ts.map +1 -1
  245. package/build/types/integration.d.ts.map +1 -1
  246. package/build/types/integrations/conversationId.d.ts.map +1 -1
  247. package/build/types/integrations/express/index.d.ts +82 -0
  248. package/build/types/integrations/express/index.d.ts.map +1 -0
  249. package/build/types/integrations/express/patch-layer.d.ts +32 -0
  250. package/build/types/integrations/express/patch-layer.d.ts.map +1 -0
  251. package/build/types/integrations/express/request-layer-store.d.ts +32 -0
  252. package/build/types/integrations/express/request-layer-store.d.ts.map +1 -0
  253. package/build/types/integrations/express/set-sdk-processing-metadata.d.ts +35 -0
  254. package/build/types/integrations/express/set-sdk-processing-metadata.d.ts.map +1 -0
  255. package/build/types/integrations/express/types.d.ts +158 -0
  256. package/build/types/integrations/express/types.d.ts.map +1 -0
  257. package/build/types/integrations/express/utils.d.ts +93 -0
  258. package/build/types/integrations/express/utils.d.ts.map +1 -0
  259. package/build/types/integrations/mcp-server/correlation.d.ts +2 -1
  260. package/build/types/integrations/mcp-server/correlation.d.ts.map +1 -1
  261. package/build/types/integrations/mcp-server/handlers.d.ts +9 -4
  262. package/build/types/integrations/mcp-server/handlers.d.ts.map +1 -1
  263. package/build/types/integrations/mcp-server/index.d.ts +2 -1
  264. package/build/types/integrations/mcp-server/index.d.ts.map +1 -1
  265. package/build/types/integrations/mcp-server/types.d.ts +40 -7
  266. package/build/types/integrations/mcp-server/types.d.ts.map +1 -1
  267. package/build/types/integrations/mcp-server/validation.d.ts +4 -1
  268. package/build/types/integrations/mcp-server/validation.d.ts.map +1 -1
  269. package/build/types/integrations/requestdata.d.ts.map +1 -1
  270. package/build/types/integrations/spanStreaming.d.ts +2 -0
  271. package/build/types/integrations/spanStreaming.d.ts.map +1 -0
  272. package/build/types/semanticAttributes.d.ts +23 -3
  273. package/build/types/semanticAttributes.d.ts.map +1 -1
  274. package/build/types/tracing/ai/gen-ai-attributes.d.ts +4 -44
  275. package/build/types/tracing/ai/gen-ai-attributes.d.ts.map +1 -1
  276. package/build/types/tracing/ai/utils.d.ts +32 -2
  277. package/build/types/tracing/ai/utils.d.ts.map +1 -1
  278. package/build/types/tracing/anthropic-ai/index.d.ts.map +1 -1
  279. package/build/types/tracing/anthropic-ai/streaming.d.ts.map +1 -1
  280. package/build/types/tracing/anthropic-ai/types.d.ts +5 -0
  281. package/build/types/tracing/anthropic-ai/types.d.ts.map +1 -1
  282. package/build/types/tracing/anthropic-ai/utils.d.ts +1 -1
  283. package/build/types/tracing/anthropic-ai/utils.d.ts.map +1 -1
  284. package/build/types/tracing/dynamicSamplingContext.d.ts.map +1 -1
  285. package/build/types/tracing/google-genai/constants.d.ts +1 -3
  286. package/build/types/tracing/google-genai/constants.d.ts.map +1 -1
  287. package/build/types/tracing/google-genai/index.d.ts.map +1 -1
  288. package/build/types/tracing/google-genai/streaming.d.ts.map +1 -1
  289. package/build/types/tracing/google-genai/types.d.ts +5 -0
  290. package/build/types/tracing/google-genai/types.d.ts.map +1 -1
  291. package/build/types/tracing/index.d.ts +1 -0
  292. package/build/types/tracing/index.d.ts.map +1 -1
  293. package/build/types/tracing/langchain/embeddings.d.ts +27 -0
  294. package/build/types/tracing/langchain/embeddings.d.ts.map +1 -0
  295. package/build/types/tracing/langchain/index.d.ts +1 -0
  296. package/build/types/tracing/langchain/index.d.ts.map +1 -1
  297. package/build/types/tracing/langchain/types.d.ts +5 -0
  298. package/build/types/tracing/langchain/types.d.ts.map +1 -1
  299. package/build/types/tracing/langchain/utils.d.ts +2 -2
  300. package/build/types/tracing/langchain/utils.d.ts.map +1 -1
  301. package/build/types/tracing/langgraph/index.d.ts.map +1 -1
  302. package/build/types/tracing/langgraph/types.d.ts +5 -0
  303. package/build/types/tracing/langgraph/types.d.ts.map +1 -1
  304. package/build/types/tracing/openai/index.d.ts.map +1 -1
  305. package/build/types/tracing/openai/streaming.d.ts.map +1 -1
  306. package/build/types/tracing/openai/types.d.ts +5 -0
  307. package/build/types/tracing/openai/types.d.ts.map +1 -1
  308. package/build/types/tracing/openai/utils.d.ts +4 -49
  309. package/build/types/tracing/openai/utils.d.ts.map +1 -1
  310. package/build/types/tracing/sentryNonRecordingSpan.d.ts +12 -1
  311. package/build/types/tracing/sentryNonRecordingSpan.d.ts.map +1 -1
  312. package/build/types/tracing/sentrySpan.d.ts +10 -1
  313. package/build/types/tracing/sentrySpan.d.ts.map +1 -1
  314. package/build/types/tracing/spans/beforeSendSpan.d.ts +35 -0
  315. package/build/types/tracing/spans/beforeSendSpan.d.ts.map +1 -0
  316. package/build/types/tracing/spans/captureSpan.d.ts +26 -0
  317. package/build/types/tracing/spans/captureSpan.d.ts.map +1 -0
  318. package/build/types/tracing/spans/envelope.d.ts +8 -0
  319. package/build/types/tracing/spans/envelope.d.ts.map +1 -0
  320. package/build/types/tracing/spans/estimateSize.d.ts +12 -0
  321. package/build/types/tracing/spans/estimateSize.d.ts.map +1 -0
  322. package/build/types/tracing/spans/hasSpanStreamingEnabled.d.ts +6 -0
  323. package/build/types/tracing/spans/hasSpanStreamingEnabled.d.ts.map +1 -0
  324. package/build/types/tracing/spans/spanBuffer.d.ts +60 -0
  325. package/build/types/tracing/spans/spanBuffer.d.ts.map +1 -0
  326. package/build/types/tracing/trace.d.ts.map +1 -1
  327. package/build/types/tracing/utils.d.ts.map +1 -1
  328. package/build/types/tracing/vercel-ai/constants.d.ts +2 -5
  329. package/build/types/tracing/vercel-ai/constants.d.ts.map +1 -1
  330. package/build/types/tracing/vercel-ai/index.d.ts.map +1 -1
  331. package/build/types/tracing/vercel-ai/utils.d.ts +1 -5
  332. package/build/types/tracing/vercel-ai/utils.d.ts.map +1 -1
  333. package/build/types/tracing/vercel-ai/vercel-ai-attributes.d.ts +0 -480
  334. package/build/types/tracing/vercel-ai/vercel-ai-attributes.d.ts.map +1 -1
  335. package/build/types/types-hoist/envelope.d.ts +22 -2
  336. package/build/types/types-hoist/envelope.d.ts.map +1 -1
  337. package/build/types/types-hoist/integration.d.ts +8 -0
  338. package/build/types/types-hoist/integration.d.ts.map +1 -1
  339. package/build/types/types-hoist/link.d.ts +2 -2
  340. package/build/types/types-hoist/link.d.ts.map +1 -1
  341. package/build/types/types-hoist/options.d.ts +26 -2
  342. package/build/types/types-hoist/options.d.ts.map +1 -1
  343. package/build/types/types-hoist/span.d.ts +35 -0
  344. package/build/types/types-hoist/span.d.ts.map +1 -1
  345. package/build/types/types-hoist/view-hierarchy.d.ts +1 -0
  346. package/build/types/types-hoist/view-hierarchy.d.ts.map +1 -1
  347. package/build/types/utils/browser.d.ts +1 -1
  348. package/build/types/utils/browser.d.ts.map +1 -1
  349. package/build/types/utils/featureFlags.d.ts.map +1 -1
  350. package/build/types/utils/object.d.ts +10 -0
  351. package/build/types/utils/object.d.ts.map +1 -1
  352. package/build/types/utils/spanUtils.d.ts +27 -2
  353. package/build/types/utils/spanUtils.d.ts.map +1 -1
  354. package/build/types/utils/stacktrace.d.ts.map +1 -1
  355. package/build/types/utils/string.d.ts +2 -2
  356. package/build/types/utils/string.d.ts.map +1 -1
  357. package/build/types/utils/weakRef.d.ts +34 -0
  358. package/build/types/utils/weakRef.d.ts.map +1 -0
  359. package/build/types-ts3.8/attributes.d.ts +5 -0
  360. package/build/types-ts3.8/build-time-plugins/buildTimeOptionsBase.d.ts +13 -0
  361. package/build/types-ts3.8/client.d.ts +35 -1
  362. package/build/types-ts3.8/fetch.d.ts +14 -10
  363. package/build/types-ts3.8/index.d.ts +16 -5
  364. package/build/types-ts3.8/integrations/express/index.d.ts +82 -0
  365. package/build/types-ts3.8/integrations/express/patch-layer.d.ts +32 -0
  366. package/build/types-ts3.8/integrations/express/request-layer-store.d.ts +32 -0
  367. package/build/types-ts3.8/integrations/express/set-sdk-processing-metadata.d.ts +35 -0
  368. package/build/types-ts3.8/integrations/express/types.d.ts +158 -0
  369. package/build/types-ts3.8/integrations/express/utils.d.ts +96 -0
  370. package/build/types-ts3.8/integrations/mcp-server/correlation.d.ts +2 -1
  371. package/build/types-ts3.8/integrations/mcp-server/handlers.d.ts +9 -4
  372. package/build/types-ts3.8/integrations/mcp-server/index.d.ts +2 -1
  373. package/build/types-ts3.8/integrations/mcp-server/types.d.ts +40 -7
  374. package/build/types-ts3.8/integrations/mcp-server/validation.d.ts +4 -1
  375. package/build/types-ts3.8/integrations/spanStreaming.d.ts +2 -0
  376. package/build/types-ts3.8/semanticAttributes.d.ts +23 -3
  377. package/build/types-ts3.8/tracing/ai/gen-ai-attributes.d.ts +4 -44
  378. package/build/types-ts3.8/tracing/ai/utils.d.ts +32 -2
  379. package/build/types-ts3.8/tracing/anthropic-ai/types.d.ts +5 -0
  380. package/build/types-ts3.8/tracing/anthropic-ai/utils.d.ts +1 -1
  381. package/build/types-ts3.8/tracing/google-genai/constants.d.ts +1 -3
  382. package/build/types-ts3.8/tracing/google-genai/types.d.ts +5 -0
  383. package/build/types-ts3.8/tracing/index.d.ts +1 -0
  384. package/build/types-ts3.8/tracing/langchain/embeddings.d.ts +27 -0
  385. package/build/types-ts3.8/tracing/langchain/index.d.ts +1 -0
  386. package/build/types-ts3.8/tracing/langchain/types.d.ts +5 -0
  387. package/build/types-ts3.8/tracing/langchain/utils.d.ts +2 -2
  388. package/build/types-ts3.8/tracing/langgraph/types.d.ts +5 -0
  389. package/build/types-ts3.8/tracing/openai/types.d.ts +5 -0
  390. package/build/types-ts3.8/tracing/openai/utils.d.ts +4 -49
  391. package/build/types-ts3.8/tracing/sentryNonRecordingSpan.d.ts +12 -1
  392. package/build/types-ts3.8/tracing/sentrySpan.d.ts +10 -1
  393. package/build/types-ts3.8/tracing/spans/beforeSendSpan.d.ts +35 -0
  394. package/build/types-ts3.8/tracing/spans/captureSpan.d.ts +26 -0
  395. package/build/types-ts3.8/tracing/spans/envelope.d.ts +8 -0
  396. package/build/types-ts3.8/tracing/spans/estimateSize.d.ts +12 -0
  397. package/build/types-ts3.8/tracing/spans/hasSpanStreamingEnabled.d.ts +6 -0
  398. package/build/types-ts3.8/tracing/spans/spanBuffer.d.ts +60 -0
  399. package/build/types-ts3.8/tracing/vercel-ai/constants.d.ts +2 -5
  400. package/build/types-ts3.8/tracing/vercel-ai/utils.d.ts +1 -5
  401. package/build/types-ts3.8/tracing/vercel-ai/vercel-ai-attributes.d.ts +0 -480
  402. package/build/types-ts3.8/types-hoist/envelope.d.ts +22 -2
  403. package/build/types-ts3.8/types-hoist/integration.d.ts +8 -0
  404. package/build/types-ts3.8/types-hoist/link.d.ts +2 -2
  405. package/build/types-ts3.8/types-hoist/options.d.ts +26 -2
  406. package/build/types-ts3.8/types-hoist/span.d.ts +35 -0
  407. package/build/types-ts3.8/types-hoist/view-hierarchy.d.ts +1 -0
  408. package/build/types-ts3.8/utils/browser.d.ts +1 -1
  409. package/build/types-ts3.8/utils/object.d.ts +10 -0
  410. package/build/types-ts3.8/utils/spanUtils.d.ts +27 -2
  411. package/build/types-ts3.8/utils/string.d.ts +2 -2
  412. package/build/types-ts3.8/utils/weakRef.d.ts +34 -0
  413. package/package.json +1 -1
@@ -30,24 +30,6 @@ export declare const AI_PROMPT_ATTRIBUTE = "ai.prompt";
30
30
  * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#streamobject-function
31
31
  */
32
32
  export declare const AI_SCHEMA_ATTRIBUTE = "ai.schema";
33
- /**
34
- * `generateObject` function - `ai.generateObject` span
35
- * `streamObject` function - `ai.streamObject` span
36
- *
37
- * The name of the schema that was passed into the function
38
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#generateobject-function
39
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#streamobject-function
40
- */
41
- export declare const AI_SCHEMA_NAME_ATTRIBUTE = "ai.schema.name";
42
- /**
43
- * `generateObject` function - `ai.generateObject` span
44
- * `streamObject` function - `ai.streamObject` span
45
- *
46
- * The description of the schema that was passed into the function
47
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#generateobject-function
48
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#streamobject-function
49
- */
50
- export declare const AI_SCHEMA_DESCRIPTION_ATTRIBUTE = "ai.schema.description";
51
33
  /**
52
34
  * `generateObject` function - `ai.generateObject` span
53
35
  * `streamObject` function - `ai.streamObject` span
@@ -57,24 +39,6 @@ export declare const AI_SCHEMA_DESCRIPTION_ATTRIBUTE = "ai.schema.description";
57
39
  * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#streamobject-function
58
40
  */
59
41
  export declare const AI_RESPONSE_OBJECT_ATTRIBUTE = "ai.response.object";
60
- /**
61
- * `generateObject` function - `ai.generateObject` span
62
- * `streamObject` function - `ai.streamObject` span
63
- *
64
- * The object generation mode, e.g. `json`
65
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#generateobject-function
66
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#streamobject-function
67
- */
68
- export declare const AI_SETTINGS_MODE_ATTRIBUTE = "ai.settings.mode";
69
- /**
70
- * `generateObject` function - `ai.generateObject` span
71
- * `streamObject` function - `ai.streamObject` span
72
- *
73
- * The output type that was used, e.g. `object` or `no-schema`
74
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#generateobject-function
75
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#streamobject-function
76
- */
77
- export declare const AI_SETTINGS_OUTPUT_ATTRIBUTE = "ai.settings.output";
78
42
  /**
79
43
  * `embed` function - `ai.embed.doEmbed` span
80
44
  * `embedMany` function - `ai.embedMany` span
@@ -84,15 +48,6 @@ export declare const AI_SETTINGS_OUTPUT_ATTRIBUTE = "ai.settings.output";
84
48
  * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#embedmany-function
85
49
  */
86
50
  export declare const AI_VALUES_ATTRIBUTE = "ai.values";
87
- /**
88
- * `embed` function - `ai.embed.doEmbed` span
89
- * `embedMany` function - `ai.embedMany` span
90
- *
91
- * An array of JSON-stringified embeddings
92
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#embed-function
93
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#embedmany-function
94
- */
95
- export declare const AI_EMBEDDINGS_ATTRIBUTE = "ai.embeddings";
96
51
  /**
97
52
  * `generateText` function - `ai.generateText` span
98
53
  *
@@ -121,13 +76,6 @@ export declare const AI_RESPONSE_FINISH_REASON_ATTRIBUTE = "ai.response.finishRe
121
76
  * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#generatetext-function
122
77
  */
123
78
  export declare const AI_SETTINGS_MAX_STEPS_ATTRIBUTE = "ai.settings.maxSteps";
124
- /**
125
- * `generateText` function - `ai.generateText.doGenerate` span
126
- *
127
- * The format of the prompt
128
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#generatetext-function
129
- */
130
- export declare const AI_PROMPT_FORMAT_ATTRIBUTE = "ai.prompt.format";
131
79
  /**
132
80
  * `generateText` function - `ai.generateText.doGenerate` span
133
81
  *
@@ -142,56 +90,6 @@ export declare const AI_PROMPT_MESSAGES_ATTRIBUTE = "ai.prompt.messages";
142
90
  * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#generatetext-function
143
91
  */
144
92
  export declare const AI_PROMPT_TOOLS_ATTRIBUTE = "ai.prompt.tools";
145
- /**
146
- * `generateText` function - `ai.generateText.doGenerate` span
147
- *
148
- * The stringified tool choice setting (JSON)
149
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#generatetext-function
150
- */
151
- export declare const AI_PROMPT_TOOL_CHOICE_ATTRIBUTE = "ai.prompt.toolChoice";
152
- /**
153
- * `streamText` function - `ai.streamText.doStream` span
154
- *
155
- * The time it took to receive the first chunk in milliseconds
156
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#streamtext-function
157
- */
158
- export declare const AI_RESPONSE_MS_TO_FIRST_CHUNK_ATTRIBUTE = "ai.response.msToFirstChunk";
159
- /**
160
- * `streamText` function - `ai.streamText.doStream` span
161
- *
162
- * The time it took to receive the finish part of the LLM stream in milliseconds
163
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#streamtext-function
164
- */
165
- export declare const AI_RESPONSE_MS_TO_FINISH_ATTRIBUTE = "ai.response.msToFinish";
166
- /**
167
- * `streamText` function - `ai.streamText.doStream` span
168
- *
169
- * The average completion tokens per second
170
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#streamtext-function
171
- */
172
- export declare const AI_RESPONSE_AVG_COMPLETION_TOKENS_PER_SECOND_ATTRIBUTE = "ai.response.avgCompletionTokensPerSecond";
173
- /**
174
- * `embed` function - `ai.embed` span
175
- *
176
- * The value that was passed into the `embed` function
177
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#embed-function
178
- */
179
- export declare const AI_VALUE_ATTRIBUTE = "ai.value";
180
- /**
181
- * `embed` function - `ai.embed` span
182
- *
183
- * A JSON-stringified embedding
184
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#embed-function
185
- */
186
- export declare const AI_EMBEDDING_ATTRIBUTE = "ai.embedding";
187
- /**
188
- * Basic LLM span information
189
- * Multiple spans
190
- *
191
- * The functionId that was set through `telemetry.functionId`
192
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#basic-llm-span-information
193
- */
194
- export declare const RESOURCE_NAME_ATTRIBUTE = "resource.name";
195
93
  /**
196
94
  * Basic LLM span information
197
95
  * Multiple spans
@@ -200,22 +98,6 @@ export declare const RESOURCE_NAME_ATTRIBUTE = "resource.name";
200
98
  * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#basic-llm-span-information
201
99
  */
202
100
  export declare const AI_MODEL_ID_ATTRIBUTE = "ai.model.id";
203
- /**
204
- * Basic LLM span information
205
- * Multiple spans
206
- *
207
- * The provider of the model
208
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#basic-llm-span-information
209
- */
210
- export declare const AI_MODEL_PROVIDER_ATTRIBUTE = "ai.model.provider";
211
- /**
212
- * Basic LLM span information
213
- * Multiple spans
214
- *
215
- * The request headers that were passed in through `headers`
216
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#basic-llm-span-information
217
- */
218
- export declare const AI_REQUEST_HEADERS_ATTRIBUTE = "ai.request.headers";
219
101
  /**
220
102
  * Basic LLM span information
221
103
  * Multiple spans
@@ -224,14 +106,6 @@ export declare const AI_REQUEST_HEADERS_ATTRIBUTE = "ai.request.headers";
224
106
  * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#basic-llm-span-information
225
107
  */
226
108
  export declare const AI_RESPONSE_PROVIDER_METADATA_ATTRIBUTE = "ai.response.providerMetadata";
227
- /**
228
- * Basic LLM span information
229
- * Multiple spans
230
- *
231
- * The maximum number of retries that were set
232
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#basic-llm-span-information
233
- */
234
- export declare const AI_SETTINGS_MAX_RETRIES_ATTRIBUTE = "ai.settings.maxRetries";
235
109
  /**
236
110
  * Basic LLM span information
237
111
  * Multiple spans
@@ -248,14 +122,6 @@ export declare const AI_USAGE_CACHED_INPUT_TOKENS_ATTRIBUTE = "ai.usage.cachedIn
248
122
  * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#basic-llm-span-information
249
123
  */
250
124
  export declare const AI_TELEMETRY_FUNCTION_ID_ATTRIBUTE = "ai.telemetry.functionId";
251
- /**
252
- * Basic LLM span information
253
- * Multiple spans
254
- *
255
- * The metadata that was passed in through `telemetry.metadata`
256
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#basic-llm-span-information
257
- */
258
- export declare const AI_TELEMETRY_METADATA_ATTRIBUTE = "ai.telemetry.metadata";
259
125
  /**
260
126
  * Basic LLM span information
261
127
  * Multiple spans
@@ -296,118 +162,6 @@ export declare const AI_RESPONSE_ID_ATTRIBUTE = "ai.response.id";
296
162
  * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#call-llm-span-information
297
163
  */
298
164
  export declare const AI_RESPONSE_TIMESTAMP_ATTRIBUTE = "ai.response.timestamp";
299
- /**
300
- * Semantic Conventions for GenAI operations
301
- * Individual LLM call spans
302
- *
303
- * The provider that was used
304
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#call-llm-span-information
305
- */
306
- export declare const GEN_AI_SYSTEM_ATTRIBUTE = "gen_ai.system";
307
- /**
308
- * Semantic Conventions for GenAI operations
309
- * Individual LLM call spans
310
- *
311
- * The model that was requested
312
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#call-llm-span-information
313
- */
314
- export declare const GEN_AI_REQUEST_MODEL_ATTRIBUTE = "gen_ai.request.model";
315
- /**
316
- * Semantic Conventions for GenAI operations
317
- * Individual LLM call spans
318
- *
319
- * The temperature that was set
320
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#call-llm-span-information
321
- */
322
- export declare const GEN_AI_REQUEST_TEMPERATURE_ATTRIBUTE = "gen_ai.request.temperature";
323
- /**
324
- * Semantic Conventions for GenAI operations
325
- * Individual LLM call spans
326
- *
327
- * The maximum number of tokens that were set
328
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#call-llm-span-information
329
- */
330
- export declare const GEN_AI_REQUEST_MAX_TOKENS_ATTRIBUTE = "gen_ai.request.max_tokens";
331
- /**
332
- * Semantic Conventions for GenAI operations
333
- * Individual LLM call spans
334
- *
335
- * The frequency penalty that was set
336
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#call-llm-span-information
337
- */
338
- export declare const GEN_AI_REQUEST_FREQUENCY_PENALTY_ATTRIBUTE = "gen_ai.request.frequency_penalty";
339
- /**
340
- * Semantic Conventions for GenAI operations
341
- * Individual LLM call spans
342
- *
343
- * The presence penalty that was set
344
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#call-llm-span-information
345
- */
346
- export declare const GEN_AI_REQUEST_PRESENCE_PENALTY_ATTRIBUTE = "gen_ai.request.presence_penalty";
347
- /**
348
- * Semantic Conventions for GenAI operations
349
- * Individual LLM call spans
350
- *
351
- * The topK parameter value that was set
352
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#call-llm-span-information
353
- */
354
- export declare const GEN_AI_REQUEST_TOP_K_ATTRIBUTE = "gen_ai.request.top_k";
355
- /**
356
- * Semantic Conventions for GenAI operations
357
- * Individual LLM call spans
358
- *
359
- * The topP parameter value that was set
360
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#call-llm-span-information
361
- */
362
- export declare const GEN_AI_REQUEST_TOP_P_ATTRIBUTE = "gen_ai.request.top_p";
363
- /**
364
- * Semantic Conventions for GenAI operations
365
- * Individual LLM call spans
366
- *
367
- * The stop sequences
368
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#call-llm-span-information
369
- */
370
- export declare const GEN_AI_REQUEST_STOP_SEQUENCES_ATTRIBUTE = "gen_ai.request.stop_sequences";
371
- /**
372
- * Semantic Conventions for GenAI operations
373
- * Individual LLM call spans
374
- *
375
- * The finish reasons that were returned by the provider
376
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#call-llm-span-information
377
- */
378
- export declare const GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE = "gen_ai.response.finish_reasons";
379
- /**
380
- * Semantic Conventions for GenAI operations
381
- * Individual LLM call spans
382
- *
383
- * The model that was used to generate the response
384
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#call-llm-span-information
385
- */
386
- export declare const GEN_AI_RESPONSE_MODEL_ATTRIBUTE = "gen_ai.response.model";
387
- /**
388
- * Semantic Conventions for GenAI operations
389
- * Individual LLM call spans
390
- *
391
- * The id of the response
392
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#call-llm-span-information
393
- */
394
- export declare const GEN_AI_RESPONSE_ID_ATTRIBUTE = "gen_ai.response.id";
395
- /**
396
- * Semantic Conventions for GenAI operations
397
- * Individual LLM call spans
398
- *
399
- * The number of prompt tokens that were used
400
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#call-llm-span-information
401
- */
402
- export declare const GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE = "gen_ai.usage.input_tokens";
403
- /**
404
- * Semantic Conventions for GenAI operations
405
- * Individual LLM call spans
406
- *
407
- * The number of completion tokens that were used
408
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#call-llm-span-information
409
- */
410
- export declare const GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE = "gen_ai.usage.output_tokens";
411
165
  /**
412
166
  * Basic embedding span information
413
167
  * Embedding spans
@@ -448,240 +202,6 @@ export declare const AI_TOOL_CALL_ARGS_ATTRIBUTE = "ai.toolCall.args";
448
202
  * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#tool-call-spans
449
203
  */
450
204
  export declare const AI_TOOL_CALL_RESULT_ATTRIBUTE = "ai.toolCall.result";
451
- /**
452
- * Attributes collected for `ai.generateText` span
453
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#generatetext-function
454
- */
455
- export declare const AI_GENERATE_TEXT_SPAN_ATTRIBUTES: {
456
- readonly OPERATION_NAME: "operation.name";
457
- readonly AI_OPERATION_ID: "ai.operationId";
458
- readonly AI_PROMPT: "ai.prompt";
459
- readonly AI_RESPONSE_TEXT: "ai.response.text";
460
- readonly AI_RESPONSE_TOOL_CALLS: "ai.response.toolCalls";
461
- readonly AI_RESPONSE_FINISH_REASON: "ai.response.finishReason";
462
- readonly AI_SETTINGS_MAX_STEPS: "ai.settings.maxSteps";
463
- readonly RESOURCE_NAME: "resource.name";
464
- readonly AI_MODEL_ID: "ai.model.id";
465
- readonly AI_MODEL_PROVIDER: "ai.model.provider";
466
- readonly AI_REQUEST_HEADERS: "ai.request.headers";
467
- readonly AI_SETTINGS_MAX_RETRIES: "ai.settings.maxRetries";
468
- readonly AI_TELEMETRY_FUNCTION_ID: "ai.telemetry.functionId";
469
- readonly AI_TELEMETRY_METADATA: "ai.telemetry.metadata";
470
- readonly AI_USAGE_COMPLETION_TOKENS: "ai.usage.completionTokens";
471
- readonly AI_USAGE_PROMPT_TOKENS: "ai.usage.promptTokens";
472
- };
473
- /**
474
- * Attributes collected for `ai.generateText.doGenerate` span
475
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#generatetext-function
476
- */
477
- export declare const AI_GENERATE_TEXT_DO_GENERATE_SPAN_ATTRIBUTES: {
478
- readonly OPERATION_NAME: "operation.name";
479
- readonly AI_OPERATION_ID: "ai.operationId";
480
- readonly AI_PROMPT_FORMAT: "ai.prompt.format";
481
- readonly AI_PROMPT_MESSAGES: "ai.prompt.messages";
482
- readonly AI_PROMPT_TOOLS: "ai.prompt.tools";
483
- readonly AI_PROMPT_TOOL_CHOICE: "ai.prompt.toolChoice";
484
- readonly RESOURCE_NAME: "resource.name";
485
- readonly AI_MODEL_ID: "ai.model.id";
486
- readonly AI_MODEL_PROVIDER: "ai.model.provider";
487
- readonly AI_REQUEST_HEADERS: "ai.request.headers";
488
- readonly AI_SETTINGS_MAX_RETRIES: "ai.settings.maxRetries";
489
- readonly AI_TELEMETRY_FUNCTION_ID: "ai.telemetry.functionId";
490
- readonly AI_TELEMETRY_METADATA: "ai.telemetry.metadata";
491
- readonly AI_USAGE_COMPLETION_TOKENS: "ai.usage.completionTokens";
492
- readonly AI_USAGE_PROMPT_TOKENS: "ai.usage.promptTokens";
493
- readonly AI_RESPONSE_MODEL: "ai.response.model";
494
- readonly AI_RESPONSE_ID: "ai.response.id";
495
- readonly AI_RESPONSE_TIMESTAMP: "ai.response.timestamp";
496
- readonly GEN_AI_SYSTEM: "gen_ai.system";
497
- readonly GEN_AI_REQUEST_MODEL: "gen_ai.request.model";
498
- readonly GEN_AI_REQUEST_TEMPERATURE: "gen_ai.request.temperature";
499
- readonly GEN_AI_REQUEST_MAX_TOKENS: "gen_ai.request.max_tokens";
500
- readonly GEN_AI_REQUEST_FREQUENCY_PENALTY: "gen_ai.request.frequency_penalty";
501
- readonly GEN_AI_REQUEST_PRESENCE_PENALTY: "gen_ai.request.presence_penalty";
502
- readonly GEN_AI_REQUEST_TOP_K: "gen_ai.request.top_k";
503
- readonly GEN_AI_REQUEST_TOP_P: "gen_ai.request.top_p";
504
- readonly GEN_AI_REQUEST_STOP_SEQUENCES: "gen_ai.request.stop_sequences";
505
- readonly GEN_AI_RESPONSE_FINISH_REASONS: "gen_ai.response.finish_reasons";
506
- readonly GEN_AI_RESPONSE_MODEL: "gen_ai.response.model";
507
- readonly GEN_AI_RESPONSE_ID: "gen_ai.response.id";
508
- readonly GEN_AI_USAGE_INPUT_TOKENS: "gen_ai.usage.input_tokens";
509
- readonly GEN_AI_USAGE_OUTPUT_TOKENS: "gen_ai.usage.output_tokens";
510
- };
511
- /**
512
- * Attributes collected for `ai.streamText` span
513
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#streamtext-function
514
- */
515
- export declare const AI_STREAM_TEXT_SPAN_ATTRIBUTES: {
516
- readonly OPERATION_NAME: "operation.name";
517
- readonly AI_OPERATION_ID: "ai.operationId";
518
- readonly AI_PROMPT: "ai.prompt";
519
- readonly RESOURCE_NAME: "resource.name";
520
- readonly AI_MODEL_ID: "ai.model.id";
521
- readonly AI_MODEL_PROVIDER: "ai.model.provider";
522
- readonly AI_REQUEST_HEADERS: "ai.request.headers";
523
- readonly AI_SETTINGS_MAX_RETRIES: "ai.settings.maxRetries";
524
- readonly AI_TELEMETRY_FUNCTION_ID: "ai.telemetry.functionId";
525
- readonly AI_TELEMETRY_METADATA: "ai.telemetry.metadata";
526
- readonly AI_USAGE_COMPLETION_TOKENS: "ai.usage.completionTokens";
527
- readonly AI_USAGE_PROMPT_TOKENS: "ai.usage.promptTokens";
528
- };
529
- /**
530
- * Attributes collected for `ai.streamText.doStream` span
531
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#streamtext-function
532
- */
533
- export declare const AI_STREAM_TEXT_DO_STREAM_SPAN_ATTRIBUTES: {
534
- readonly OPERATION_NAME: "operation.name";
535
- readonly AI_OPERATION_ID: "ai.operationId";
536
- readonly AI_RESPONSE_MS_TO_FIRST_CHUNK: "ai.response.msToFirstChunk";
537
- readonly AI_RESPONSE_MS_TO_FINISH: "ai.response.msToFinish";
538
- readonly AI_RESPONSE_AVG_COMPLETION_TOKENS_PER_SECOND: "ai.response.avgCompletionTokensPerSecond";
539
- readonly RESOURCE_NAME: "resource.name";
540
- readonly AI_MODEL_ID: "ai.model.id";
541
- readonly AI_MODEL_PROVIDER: "ai.model.provider";
542
- readonly AI_REQUEST_HEADERS: "ai.request.headers";
543
- readonly AI_SETTINGS_MAX_RETRIES: "ai.settings.maxRetries";
544
- readonly AI_TELEMETRY_FUNCTION_ID: "ai.telemetry.functionId";
545
- readonly AI_TELEMETRY_METADATA: "ai.telemetry.metadata";
546
- readonly AI_USAGE_COMPLETION_TOKENS: "ai.usage.completionTokens";
547
- readonly AI_USAGE_PROMPT_TOKENS: "ai.usage.promptTokens";
548
- readonly AI_RESPONSE_MODEL: "ai.response.model";
549
- readonly AI_RESPONSE_ID: "ai.response.id";
550
- readonly AI_RESPONSE_TIMESTAMP: "ai.response.timestamp";
551
- readonly GEN_AI_SYSTEM: "gen_ai.system";
552
- readonly GEN_AI_REQUEST_MODEL: "gen_ai.request.model";
553
- readonly GEN_AI_REQUEST_TEMPERATURE: "gen_ai.request.temperature";
554
- readonly GEN_AI_REQUEST_MAX_TOKENS: "gen_ai.request.max_tokens";
555
- readonly GEN_AI_REQUEST_FREQUENCY_PENALTY: "gen_ai.request.frequency_penalty";
556
- readonly GEN_AI_REQUEST_PRESENCE_PENALTY: "gen_ai.request.presence_penalty";
557
- readonly GEN_AI_REQUEST_TOP_K: "gen_ai.request.top_k";
558
- readonly GEN_AI_REQUEST_TOP_P: "gen_ai.request.top_p";
559
- readonly GEN_AI_REQUEST_STOP_SEQUENCES: "gen_ai.request.stop_sequences";
560
- readonly GEN_AI_RESPONSE_FINISH_REASONS: "gen_ai.response.finish_reasons";
561
- readonly GEN_AI_RESPONSE_MODEL: "gen_ai.response.model";
562
- readonly GEN_AI_RESPONSE_ID: "gen_ai.response.id";
563
- readonly GEN_AI_USAGE_INPUT_TOKENS: "gen_ai.usage.input_tokens";
564
- readonly GEN_AI_USAGE_OUTPUT_TOKENS: "gen_ai.usage.output_tokens";
565
- };
566
- /**
567
- * Attributes collected for `ai.generateObject` span
568
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#generateobject-function
569
- */
570
- export declare const AI_GENERATE_OBJECT_SPAN_ATTRIBUTES: {
571
- readonly OPERATION_NAME: "operation.name";
572
- readonly AI_OPERATION_ID: "ai.operationId";
573
- readonly AI_SCHEMA: "ai.schema";
574
- readonly AI_SCHEMA_NAME: "ai.schema.name";
575
- readonly AI_SCHEMA_DESCRIPTION: "ai.schema.description";
576
- readonly AI_RESPONSE_OBJECT: "ai.response.object";
577
- readonly AI_SETTINGS_MODE: "ai.settings.mode";
578
- readonly AI_SETTINGS_OUTPUT: "ai.settings.output";
579
- readonly RESOURCE_NAME: "resource.name";
580
- readonly AI_MODEL_ID: "ai.model.id";
581
- readonly AI_MODEL_PROVIDER: "ai.model.provider";
582
- readonly AI_REQUEST_HEADERS: "ai.request.headers";
583
- readonly AI_SETTINGS_MAX_RETRIES: "ai.settings.maxRetries";
584
- readonly AI_TELEMETRY_FUNCTION_ID: "ai.telemetry.functionId";
585
- readonly AI_TELEMETRY_METADATA: "ai.telemetry.metadata";
586
- readonly AI_USAGE_COMPLETION_TOKENS: "ai.usage.completionTokens";
587
- readonly AI_USAGE_PROMPT_TOKENS: "ai.usage.promptTokens";
588
- };
589
- /**
590
- * Attributes collected for `ai.streamObject` span
591
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#streamobject-function
592
- */
593
- export declare const AI_STREAM_OBJECT_SPAN_ATTRIBUTES: {
594
- readonly OPERATION_NAME: "operation.name";
595
- readonly AI_OPERATION_ID: "ai.operationId";
596
- readonly AI_SCHEMA: "ai.schema";
597
- readonly AI_SCHEMA_NAME: "ai.schema.name";
598
- readonly AI_SCHEMA_DESCRIPTION: "ai.schema.description";
599
- readonly AI_RESPONSE_OBJECT: "ai.response.object";
600
- readonly AI_SETTINGS_MODE: "ai.settings.mode";
601
- readonly AI_SETTINGS_OUTPUT: "ai.settings.output";
602
- readonly RESOURCE_NAME: "resource.name";
603
- readonly AI_MODEL_ID: "ai.model.id";
604
- readonly AI_MODEL_PROVIDER: "ai.model.provider";
605
- readonly AI_REQUEST_HEADERS: "ai.request.headers";
606
- readonly AI_SETTINGS_MAX_RETRIES: "ai.settings.maxRetries";
607
- readonly AI_TELEMETRY_FUNCTION_ID: "ai.telemetry.functionId";
608
- readonly AI_TELEMETRY_METADATA: "ai.telemetry.metadata";
609
- readonly AI_USAGE_COMPLETION_TOKENS: "ai.usage.completionTokens";
610
- readonly AI_USAGE_PROMPT_TOKENS: "ai.usage.promptTokens";
611
- };
612
- /**
613
- * Attributes collected for `ai.embed` span
614
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#embed-function
615
- */
616
- export declare const AI_EMBED_SPAN_ATTRIBUTES: {
617
- readonly OPERATION_NAME: "operation.name";
618
- readonly AI_OPERATION_ID: "ai.operationId";
619
- readonly AI_VALUE: "ai.value";
620
- readonly AI_EMBEDDING: "ai.embedding";
621
- readonly RESOURCE_NAME: "resource.name";
622
- readonly AI_MODEL_ID: "ai.model.id";
623
- readonly AI_MODEL_PROVIDER: "ai.model.provider";
624
- readonly AI_REQUEST_HEADERS: "ai.request.headers";
625
- readonly AI_SETTINGS_MAX_RETRIES: "ai.settings.maxRetries";
626
- readonly AI_TELEMETRY_FUNCTION_ID: "ai.telemetry.functionId";
627
- readonly AI_TELEMETRY_METADATA: "ai.telemetry.metadata";
628
- readonly AI_USAGE_TOKENS: "ai.usage.tokens";
629
- };
630
- /**
631
- * Attributes collected for `ai.embed.doEmbed` span
632
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#embed-function
633
- */
634
- export declare const AI_EMBED_DO_EMBED_SPAN_ATTRIBUTES: {
635
- readonly OPERATION_NAME: "operation.name";
636
- readonly AI_OPERATION_ID: "ai.operationId";
637
- readonly AI_VALUES: "ai.values";
638
- readonly AI_EMBEDDINGS: "ai.embeddings";
639
- readonly RESOURCE_NAME: "resource.name";
640
- readonly AI_MODEL_ID: "ai.model.id";
641
- readonly AI_MODEL_PROVIDER: "ai.model.provider";
642
- readonly AI_REQUEST_HEADERS: "ai.request.headers";
643
- readonly AI_SETTINGS_MAX_RETRIES: "ai.settings.maxRetries";
644
- readonly AI_TELEMETRY_FUNCTION_ID: "ai.telemetry.functionId";
645
- readonly AI_TELEMETRY_METADATA: "ai.telemetry.metadata";
646
- readonly AI_USAGE_TOKENS: "ai.usage.tokens";
647
- };
648
- /**
649
- * Attributes collected for `ai.embedMany` span
650
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#embedmany-function
651
- */
652
- export declare const AI_EMBED_MANY_SPAN_ATTRIBUTES: {
653
- readonly OPERATION_NAME: "operation.name";
654
- readonly AI_OPERATION_ID: "ai.operationId";
655
- readonly AI_VALUES: "ai.values";
656
- readonly AI_EMBEDDINGS: "ai.embeddings";
657
- readonly RESOURCE_NAME: "resource.name";
658
- readonly AI_MODEL_ID: "ai.model.id";
659
- readonly AI_MODEL_PROVIDER: "ai.model.provider";
660
- readonly AI_REQUEST_HEADERS: "ai.request.headers";
661
- readonly AI_SETTINGS_MAX_RETRIES: "ai.settings.maxRetries";
662
- readonly AI_TELEMETRY_FUNCTION_ID: "ai.telemetry.functionId";
663
- readonly AI_TELEMETRY_METADATA: "ai.telemetry.metadata";
664
- readonly AI_USAGE_TOKENS: "ai.usage.tokens";
665
- };
666
- /**
667
- * Attributes collected for `ai.toolCall` span
668
- * @see https://ai-sdk.dev/docs/ai-sdk-core/telemetry#tool-call-spans
669
- */
670
- export declare const AI_TOOL_CALL_SPAN_ATTRIBUTES: {
671
- readonly OPERATION_NAME: "operation.name";
672
- readonly AI_OPERATION_ID: "ai.operationId";
673
- readonly AI_TOOL_CALL_NAME: "ai.toolCall.name";
674
- readonly AI_TOOL_CALL_ID: "ai.toolCall.id";
675
- readonly AI_TOOL_CALL_ARGS: "ai.toolCall.args";
676
- readonly AI_TOOL_CALL_RESULT: "ai.toolCall.result";
677
- readonly RESOURCE_NAME: "resource.name";
678
- readonly AI_MODEL_ID: "ai.model.id";
679
- readonly AI_MODEL_PROVIDER: "ai.model.provider";
680
- readonly AI_REQUEST_HEADERS: "ai.request.headers";
681
- readonly AI_SETTINGS_MAX_RETRIES: "ai.settings.maxRetries";
682
- readonly AI_TELEMETRY_FUNCTION_ID: "ai.telemetry.functionId";
683
- readonly AI_TELEMETRY_METADATA: "ai.telemetry.metadata";
684
- };
685
205
  /**
686
206
  * OpenAI Provider Metadata
687
207
  * @see https://ai-sdk.dev/providers/ai-sdk-providers/openai
@@ -1 +1 @@
1
- {"version":3,"file":"vercel-ai-attributes.d.ts","sourceRoot":"","sources":["../../../../src/tracing/vercel-ai/vercel-ai-attributes.ts"],"names":[],"mappings":"AACA;;;GAGG;AAMH;;;GAGG;AACH,eAAO,MAAM,wBAAwB,mBAAmB,CAAC;AAEzD;;;GAGG;AACH,eAAO,MAAM,yBAAyB,mBAAmB,CAAC;AAM1D;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,cAAc,CAAC;AAE/C;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,cAAc,CAAC;AAE/C;;;;;;;GAOG;AACH,eAAO,MAAM,wBAAwB,mBAAmB,CAAC;AAEzD;;;;;;;GAOG;AACH,eAAO,MAAM,+BAA+B,0BAA0B,CAAC;AAEvE;;;;;;;GAOG;AACH,eAAO,MAAM,4BAA4B,uBAAuB,CAAC;AAEjE;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,qBAAqB,CAAC;AAE7D;;;;;;;GAOG;AACH,eAAO,MAAM,4BAA4B,uBAAuB,CAAC;AAEjE;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,cAAc,CAAC;AAE/C;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,kBAAkB,CAAC;AAMvD;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,qBAAqB,CAAC;AAE7D;;;;;GAKG;AACH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,UAAU,0BAA0B;IAClC;;OAEG;IACH,KAAK,CAAC,EAAE;QACN,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;KAC3B,CAAC;IACF;;;;;OAKG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC;QACb,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC,CAAC;CACJ;AAED,MAAM,WAAW,gBAAgB;IAC/B,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC,KAAK,CAAC,EAAE,sBAAsB,CAAC;IAC/B,SAAS,CAAC,EAAE,yBAAyB,CAAC;IACtC,OAAO,CAAC,EAAE,6BAA6B,CAAC;IACxC,MAAM,CAAC,EAAE,kCAAkC,CAAC;IAC5C,MAAM,CAAC,EAAE,kCAAkC,CAAC;IAC5C,QAAQ,CAAC,EAAE,wBAAwB,CAAC;IACpC,UAAU,CAAC,EAAE,0BAA0B,CAAC;CACzC"}
@@ -11,7 +11,7 @@ import type { Profile, ProfileChunk } from './profiling';
11
11
  import type { ReplayEvent, ReplayRecordingData } from './replay';
12
12
  import type { SdkInfo } from './sdkinfo';
13
13
  import type { SerializedSession, SessionAggregates } from './session';
14
- import type { SpanJSON } from './span';
14
+ import type { SerializedStreamedSpanContainer, SpanJSON } from './span';
15
15
  export type DynamicSamplingContext = {
16
16
  trace_id: string;
17
17
  public_key: DsnComponents['publicKey'];
@@ -84,6 +84,21 @@ type ProfileChunkItemHeaders = {
84
84
  type SpanItemHeaders = {
85
85
  type: 'span';
86
86
  };
87
+ type SpanContainerItemHeaders = {
88
+ /**
89
+ * Same as v1 span item type but this envelope is distinguished by {@link SpanContainerItemHeaders.content_type}.
90
+ */
91
+ type: 'span';
92
+ /**
93
+ * The number of span items in the container. This must be the same as the number of span items in the payload.
94
+ */
95
+ item_count: number;
96
+ /**
97
+ * The content type of the span items. This must be `application/vnd.sentry.items.span.v2+json`.
98
+ * (the presence of this field also distinguishes the span item from the v1 span item)
99
+ */
100
+ content_type: 'application/vnd.sentry.items.span.v2+json';
101
+ };
87
102
  type LogContainerItemHeaders = {
88
103
  type: 'log';
89
104
  /**
@@ -117,6 +132,7 @@ export type FeedbackItem = BaseEnvelopeItem<FeedbackItemHeaders, FeedbackEvent>;
117
132
  export type ProfileItem = BaseEnvelopeItem<ProfileItemHeaders, Profile>;
118
133
  export type ProfileChunkItem = BaseEnvelopeItem<ProfileChunkItemHeaders, ProfileChunk>;
119
134
  export type SpanItem = BaseEnvelopeItem<SpanItemHeaders, Partial<SpanJSON>>;
135
+ export type SpanContainerItem = BaseEnvelopeItem<SpanContainerItemHeaders, SerializedStreamedSpanContainer>;
120
136
  export type LogContainerItem = BaseEnvelopeItem<LogContainerItemHeaders, SerializedLogContainer>;
121
137
  export type MetricContainerItem = BaseEnvelopeItem<MetricContainerItemHeaders, SerializedMetricContainer>;
122
138
  export type RawSecurityItem = BaseEnvelopeItem<RawSecurityHeaders, LegacyCSPReport>;
@@ -136,6 +152,9 @@ type ReplayEnvelopeHeaders = BaseEnvelopeHeaders;
136
152
  type SpanEnvelopeHeaders = BaseEnvelopeHeaders & {
137
153
  trace?: DynamicSamplingContext;
138
154
  };
155
+ type StreamedSpanEnvelopeHeaders = BaseEnvelopeHeaders & {
156
+ trace?: DynamicSamplingContext;
157
+ };
139
158
  type LogEnvelopeHeaders = BaseEnvelopeHeaders;
140
159
  type MetricEnvelopeHeaders = BaseEnvelopeHeaders;
141
160
  export type EventEnvelope = BaseEnvelope<EventEnvelopeHeaders, EventItem | AttachmentItem | UserFeedbackItem | FeedbackItem | ProfileItem>;
@@ -144,11 +163,12 @@ export type ClientReportEnvelope = BaseEnvelope<ClientReportEnvelopeHeaders, Cli
144
163
  export type ReplayEnvelope = [ReplayEnvelopeHeaders, [ReplayEventItem, ReplayRecordingItem]];
145
164
  export type CheckInEnvelope = BaseEnvelope<CheckInEnvelopeHeaders, CheckInItem>;
146
165
  export type SpanEnvelope = BaseEnvelope<SpanEnvelopeHeaders, SpanItem>;
166
+ export type StreamedSpanEnvelope = BaseEnvelope<StreamedSpanEnvelopeHeaders, SpanContainerItem>;
147
167
  export type ProfileChunkEnvelope = BaseEnvelope<BaseEnvelopeHeaders, ProfileChunkItem>;
148
168
  export type RawSecurityEnvelope = BaseEnvelope<BaseEnvelopeHeaders, RawSecurityItem>;
149
169
  export type LogEnvelope = BaseEnvelope<LogEnvelopeHeaders, LogContainerItem>;
150
170
  export type MetricEnvelope = BaseEnvelope<MetricEnvelopeHeaders, MetricContainerItem>;
151
- export type Envelope = EventEnvelope | SessionEnvelope | ClientReportEnvelope | ProfileChunkEnvelope | ReplayEnvelope | CheckInEnvelope | SpanEnvelope | RawSecurityEnvelope | LogEnvelope | MetricEnvelope;
171
+ export type Envelope = EventEnvelope | SessionEnvelope | ClientReportEnvelope | ProfileChunkEnvelope | ReplayEnvelope | CheckInEnvelope | SpanEnvelope | StreamedSpanEnvelope | RawSecurityEnvelope | LogEnvelope | MetricEnvelope;
152
172
  export type EnvelopeItem = Envelope[1][number];
153
173
  export {};
154
174
  //# sourceMappingURL=envelope.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"envelope.d.ts","sourceRoot":"","sources":["../../../src/types-hoist/envelope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,EAAE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