@sentry/server-utils 11.12.0 → 11.13.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.
- package/build/THIRD-PARTY-LICENSES.txt +94 -94
- package/build/cjs/chunks/config.js +3388 -0
- package/build/cjs/chunks/config.js.map +1 -0
- package/build/cjs/{vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-Bd0h-mo3.js → chunks/core-BiWIBBjf.js} +40 -23
- package/build/cjs/chunks/core-BiWIBBjf.js.map +1 -0
- package/build/cjs/chunks/core.js +2 -0
- package/build/cjs/chunks/debug-build.js +15 -0
- package/build/cjs/chunks/debug-build.js.map +1 -0
- package/build/cjs/{vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm → chunks}/esbuild.js +20 -18
- package/build/cjs/chunks/esbuild.js.map +1 -0
- package/build/cjs/chunks/exports.js +7012 -0
- package/build/cjs/chunks/exports.js.map +1 -0
- package/build/cjs/{vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm → chunks}/instrumentation-serde-C-Xxv-jj.js +14 -6
- package/build/cjs/chunks/instrumentation-serde-C-Xxv-jj.js.map +1 -0
- package/build/cjs/chunks/module-details-from-path.js +15969 -0
- package/build/cjs/chunks/module-details-from-path.js.map +1 -0
- package/build/cjs/chunks/moduleInjectedTransform.js +10882 -0
- package/build/cjs/chunks/moduleInjectedTransform.js.map +1 -0
- package/build/cjs/chunks/options.js +66 -0
- package/build/cjs/chunks/options.js.map +1 -0
- package/build/cjs/chunks/pi-ai.js +80 -0
- package/build/cjs/chunks/pi-ai.js.map +1 -0
- package/build/cjs/chunks/registration-only.js +38 -0
- package/build/cjs/chunks/registration-only.js.map +1 -0
- package/build/cjs/chunks/resolve.js +75 -0
- package/build/cjs/chunks/resolve.js.map +1 -0
- package/build/cjs/chunks/rolldown-runtime.js +48 -0
- package/build/cjs/{vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-DCG8HLmh.js → chunks/rollup-CzqrjlS4.js} +17 -19
- package/build/cjs/chunks/rollup-CzqrjlS4.js.map +1 -0
- package/build/cjs/index.js +10409 -167
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.no-diagnostic-channels.js +30 -53
- package/build/cjs/index.request-handler.js +240 -7
- package/build/cjs/index.request-handler.js.map +1 -1
- package/build/cjs/orchestrion/bundler/bun.js +102 -35
- package/build/cjs/orchestrion/bundler/bun.js.map +1 -1
- package/build/cjs/orchestrion/bundler/esbuild.js +59 -50
- package/build/cjs/orchestrion/bundler/esbuild.js.map +1 -1
- package/build/cjs/orchestrion/bundler/load-hook.js +24 -21
- package/build/cjs/orchestrion/bundler/load-hook.js.map +1 -1
- package/build/cjs/orchestrion/bundler/rollup.js +79 -70
- package/build/cjs/orchestrion/bundler/rollup.js.map +1 -1
- package/build/cjs/orchestrion/bundler/vite.js +212 -165
- package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
- package/build/cjs/orchestrion/bundler/webpack-loader.js +134 -16
- package/build/cjs/orchestrion/bundler/webpack-loader.js.map +1 -1
- package/build/cjs/orchestrion/bundler/webpack.js +157 -77
- package/build/cjs/orchestrion/bundler/webpack.js.map +1 -1
- package/build/cjs/orchestrion/config/index.js +12 -129
- package/build/esm/_virtual/_@oxc-project_runtime@0.158.0/helpers/defineProperty.js +17 -0
- package/build/esm/_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/assertClassBrand.js +9 -0
- package/build/esm/_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/checkPrivateRedeclaration.js +8 -0
- package/build/esm/_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/classPrivateFieldGet2.js +9 -0
- package/build/esm/_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/classPrivateFieldInitSpec.js +9 -0
- package/build/esm/_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/classPrivateFieldSet2.js +9 -0
- package/build/esm/_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/classPrivateMethodInitSpec.js +9 -0
- package/build/esm/_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/defineProperty.js +11 -0
- package/build/esm/_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/toPrimitive.js +13 -0
- package/build/esm/_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/toPropertyKey.js +8 -0
- package/build/esm/_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/typeof.js +10 -0
- package/build/esm/_virtual/_@oxc-project_runtime@0.158.0/helpers/toPrimitive.js +19 -0
- package/build/esm/_virtual/_@oxc-project_runtime@0.158.0/helpers/toPropertyKey.js +15 -0
- package/build/esm/_virtual/_@oxc-project_runtime@0.158.0/helpers/typeof.js +15 -0
- package/build/esm/_virtual/_cjs/require_array_set.js +2 -0
- package/build/esm/_virtual/_cjs/require_astring.js +2 -0
- package/build/esm/_virtual/_cjs/require_base64.js +2 -0
- package/build/esm/_virtual/_cjs/require_base64_vlq.js +2 -0
- package/build/esm/_virtual/_cjs/require_binary_search.js +2 -0
- package/build/esm/_virtual/_cjs/require_esquery_min.js +2 -0
- package/build/esm/_virtual/_cjs/require_mapping_list.js +2 -0
- package/build/esm/_virtual/_cjs/require_meriyah.js +2 -0
- package/build/esm/_virtual/_cjs/require_quick_sort.js +2 -0
- package/build/esm/_virtual/_cjs/require_source_map.js +2 -0
- package/build/esm/_virtual/_cjs/require_source_map_consumer.js +2 -0
- package/build/esm/_virtual/_cjs/require_source_map_generator.js +2 -0
- package/build/esm/_virtual/_cjs/require_source_node.js +2 -0
- package/build/esm/_virtual/_cjs/require_util.js +2 -0
- package/build/esm/_virtual/_rolldown/runtime.js +35 -0
- package/build/esm/ai/anthropic-ai/constants.js +10 -6
- package/build/esm/ai/anthropic-ai/constants.js.map +1 -1
- package/build/esm/ai/anthropic-ai/index.js +183 -199
- package/build/esm/ai/anthropic-ai/index.js.map +1 -1
- package/build/esm/ai/anthropic-ai/streaming.js +176 -140
- package/build/esm/ai/anthropic-ai/streaming.js.map +1 -1
- package/build/esm/ai/anthropic-ai/tool-runner.js +99 -125
- package/build/esm/ai/anthropic-ai/tool-runner.js.map +1 -1
- package/build/esm/ai/anthropic-ai/utils.js +72 -52
- package/build/esm/ai/anthropic-ai/utils.js.map +1 -1
- package/build/esm/ai/core/apiPromise.js +35 -47
- package/build/esm/ai/core/apiPromise.js.map +1 -1
- package/build/esm/ai/core/gen-ai-attributes.js +29 -2
- package/build/esm/ai/core/gen-ai-attributes.js.map +1 -1
- package/build/esm/ai/core/streaming-tool-calls.js +37 -0
- package/build/esm/ai/core/streaming-tool-calls.js.map +1 -0
- package/build/esm/ai/core/utils.js +200 -144
- package/build/esm/ai/core/utils.js.map +1 -1
- package/build/esm/ai/flue/constants.js +31 -6
- package/build/esm/ai/flue/constants.js.map +1 -1
- package/build/esm/ai/flue/index.js +140 -134
- package/build/esm/ai/flue/index.js.map +1 -1
- package/build/esm/ai/flue/utils.js +93 -179
- package/build/esm/ai/flue/utils.js.map +1 -1
- package/build/esm/ai/google-genai/constants.js +15 -8
- package/build/esm/ai/google-genai/constants.js.map +1 -1
- package/build/esm/ai/google-genai/index.js +240 -254
- package/build/esm/ai/google-genai/index.js.map +1 -1
- package/build/esm/ai/google-genai/streaming.js +89 -66
- package/build/esm/ai/google-genai/streaming.js.map +1 -1
- package/build/esm/ai/google-genai/utils.js +115 -102
- package/build/esm/ai/google-genai/utils.js.map +1 -1
- package/build/esm/ai/index.js +12 -0
- package/build/esm/ai/langchain/constants.js +9 -8
- package/build/esm/ai/langchain/constants.js.map +1 -1
- package/build/esm/ai/langchain/embeddings.js +83 -67
- package/build/esm/ai/langchain/embeddings.js.map +1 -1
- package/build/esm/ai/langchain/index.js +249 -307
- package/build/esm/ai/langchain/index.js.map +1 -1
- package/build/esm/ai/langchain/typesafe-classifier.js +43 -43
- package/build/esm/ai/langchain/typesafe-classifier.js.map +1 -1
- package/build/esm/ai/langchain/utils.js +323 -288
- package/build/esm/ai/langchain/utils.js.map +1 -1
- package/build/esm/ai/langgraph/agent-span.js +73 -79
- package/build/esm/ai/langgraph/agent-span.js.map +1 -1
- package/build/esm/ai/langgraph/constants.js +3 -2
- package/build/esm/ai/langgraph/constants.js.map +1 -1
- package/build/esm/ai/langgraph/index.js +111 -109
- package/build/esm/ai/langgraph/index.js.map +1 -1
- package/build/esm/ai/langgraph/stream.js +84 -110
- package/build/esm/ai/langgraph/stream.js.map +1 -1
- package/build/esm/ai/langgraph/utils.js +171 -195
- package/build/esm/ai/langgraph/utils.js.map +1 -1
- package/build/esm/ai/mastra/classifier-evaluation.js +25 -18
- package/build/esm/ai/mastra/classifier-evaluation.js.map +1 -1
- package/build/esm/ai/mastra/constants.js +63 -18
- package/build/esm/ai/mastra/constants.js.map +1 -1
- package/build/esm/ai/mastra/index.js +164 -190
- package/build/esm/ai/mastra/index.js.map +1 -1
- package/build/esm/ai/mastra/span-registry.js +17 -8
- package/build/esm/ai/mastra/span-registry.js.map +1 -1
- package/build/esm/ai/mastra/utils.js +110 -137
- package/build/esm/ai/mastra/utils.js.map +1 -1
- package/build/esm/ai/mistral/constants.js +19 -9
- package/build/esm/ai/mistral/constants.js.map +1 -1
- package/build/esm/ai/mistral/index.js +111 -113
- package/build/esm/ai/mistral/index.js.map +1 -1
- package/build/esm/ai/mistral/streaming.js +183 -186
- package/build/esm/ai/mistral/streaming.js.map +1 -1
- package/build/esm/ai/mistral/utils.js +67 -73
- package/build/esm/ai/mistral/utils.js.map +1 -1
- package/build/esm/ai/openai/constants.js +20 -22
- package/build/esm/ai/openai/constants.js.map +1 -1
- package/build/esm/ai/openai/index.js +151 -159
- package/build/esm/ai/openai/index.js.map +1 -1
- package/build/esm/ai/openai/mapping.js +76 -53
- package/build/esm/ai/openai/mapping.js.map +1 -1
- package/build/esm/ai/openai/streaming.js +151 -155
- package/build/esm/ai/openai/streaming.js.map +1 -1
- package/build/esm/ai/openai/utils.js +94 -110
- package/build/esm/ai/openai/utils.js.map +1 -1
- package/build/esm/ai/pi-ai/chat.js +74 -0
- package/build/esm/ai/pi-ai/chat.js.map +1 -0
- package/build/esm/ai/pi-ai/constants.js +6 -0
- package/build/esm/ai/pi-ai/constants.js.map +1 -0
- package/build/esm/ai/pi-ai/messages.js +114 -107
- package/build/esm/ai/pi-ai/messages.js.map +1 -1
- package/build/esm/ai/pi-ai/providers.js +21 -18
- package/build/esm/ai/pi-ai/providers.js.map +1 -1
- package/build/esm/ai/pi-ai/recording.js +28 -0
- package/build/esm/ai/pi-ai/recording.js.map +1 -0
- package/build/esm/ai/pi-ai/usage.js +31 -27
- package/build/esm/ai/pi-ai/usage.js.map +1 -1
- package/build/esm/ai/pi-durable/constants.js +15 -5
- package/build/esm/ai/pi-durable/constants.js.map +1 -1
- package/build/esm/ai/pi-durable/index.js +164 -165
- package/build/esm/ai/pi-durable/index.js.map +1 -1
- package/build/esm/ai/pi-durable/runs.js +134 -136
- package/build/esm/ai/pi-durable/runs.js.map +1 -1
- package/build/esm/ai/pi-durable/tools.js +152 -160
- package/build/esm/ai/pi-durable/tools.js.map +1 -1
- package/build/esm/ai/pi-durable/utils.js +6 -4
- package/build/esm/ai/pi-durable/utils.js.map +1 -1
- package/build/esm/ai/typesafe/constants.js +3 -2
- package/build/esm/ai/typesafe/constants.js.map +1 -1
- package/build/esm/ai/typesafe/index.js +82 -94
- package/build/esm/ai/typesafe/index.js.map +1 -1
- package/build/esm/ai/vercel-ai/index.js +55 -60
- package/build/esm/ai/vercel-ai/index.js.map +1 -1
- package/build/esm/ai/workers-ai/constants.js +15 -2
- package/build/esm/ai/workers-ai/constants.js.map +1 -1
- package/build/esm/ai/workers-ai/index.js +82 -78
- package/build/esm/ai/workers-ai/index.js.map +1 -1
- package/build/esm/ai/workers-ai/streaming.js +136 -140
- package/build/esm/ai/workers-ai/streaming.js.map +1 -1
- package/build/esm/ai/workers-ai/utils.js +131 -143
- package/build/esm/ai/workers-ai/utils.js.map +1 -1
- package/build/esm/async-context.js +74 -63
- package/build/esm/async-context.js.map +1 -1
- package/build/esm/debug-build.js +9 -3
- package/build/esm/debug-build.js.map +1 -1
- package/build/esm/eve.js +61 -22
- package/build/esm/eve.js.map +1 -1
- package/build/esm/exports.js +21 -0
- package/build/esm/index.js +82 -76
- package/build/esm/index.js.map +1 -1
- package/build/esm/index.no-diagnostic-channels.js +21 -20
- package/build/esm/index.request-handler.js +1 -2
- package/build/esm/integrations/amqplib.js +338 -349
- package/build/esm/integrations/amqplib.js.map +1 -1
- package/build/esm/integrations/anthropic.js +154 -120
- package/build/esm/integrations/anthropic.js.map +1 -1
- package/build/esm/integrations/aws-sdk/constants.js +11 -2
- package/build/esm/integrations/aws-sdk/constants.js.map +1 -1
- package/build/esm/integrations/aws-sdk/index.js +118 -134
- package/build/esm/integrations/aws-sdk/index.js.map +1 -1
- package/build/esm/integrations/aws-sdk/services/MessageAttributes.js +30 -31
- package/build/esm/integrations/aws-sdk/services/MessageAttributes.js.map +1 -1
- package/build/esm/integrations/aws-sdk/services/ServicesExtensions.js +38 -44
- package/build/esm/integrations/aws-sdk/services/ServicesExtensions.js.map +1 -1
- package/build/esm/integrations/aws-sdk/services/bedrock-runtime-content.js +144 -0
- package/build/esm/integrations/aws-sdk/services/bedrock-runtime-content.js.map +1 -0
- package/build/esm/integrations/aws-sdk/services/bedrock-runtime.js +316 -454
- package/build/esm/integrations/aws-sdk/services/bedrock-runtime.js.map +1 -1
- package/build/esm/integrations/aws-sdk/services/dynamodb.js +67 -125
- package/build/esm/integrations/aws-sdk/services/dynamodb.js.map +1 -1
- package/build/esm/integrations/aws-sdk/services/index.js +1 -0
- package/build/esm/integrations/aws-sdk/services/kinesis.js +12 -16
- package/build/esm/integrations/aws-sdk/services/kinesis.js.map +1 -1
- package/build/esm/integrations/aws-sdk/services/lambda.js +51 -57
- package/build/esm/integrations/aws-sdk/services/lambda.js.map +1 -1
- package/build/esm/integrations/aws-sdk/services/s3.js +12 -16
- package/build/esm/integrations/aws-sdk/services/s3.js.map +1 -1
- package/build/esm/integrations/aws-sdk/services/secretsmanager.js +16 -22
- package/build/esm/integrations/aws-sdk/services/secretsmanager.js.map +1 -1
- package/build/esm/integrations/aws-sdk/services/sns.js +66 -70
- package/build/esm/integrations/aws-sdk/services/sns.js.map +1 -1
- package/build/esm/integrations/aws-sdk/services/sqs.js +104 -124
- package/build/esm/integrations/aws-sdk/services/sqs.js.map +1 -1
- package/build/esm/integrations/aws-sdk/services/stepfunctions.js +14 -20
- package/build/esm/integrations/aws-sdk/services/stepfunctions.js.map +1 -1
- package/build/esm/integrations/aws-sdk/utils.js +18 -19
- package/build/esm/integrations/aws-sdk/utils.js.map +1 -1
- package/build/esm/integrations/cron.js +33 -35
- package/build/esm/integrations/cron.js.map +1 -1
- package/build/esm/integrations/dataloader.js +101 -93
- package/build/esm/integrations/dataloader.js.map +1 -1
- package/build/esm/integrations/express/error-handled.js +13 -8
- package/build/esm/integrations/express/error-handled.js.map +1 -1
- package/build/esm/integrations/express/error-handler.js +49 -31
- package/build/esm/integrations/express/error-handler.js.map +1 -1
- package/build/esm/integrations/express/index.js +26 -17
- package/build/esm/integrations/express/index.js.map +1 -1
- package/build/esm/integrations/express/instrumentation.js +182 -196
- package/build/esm/integrations/express/instrumentation.js.map +1 -1
- package/build/esm/integrations/express/route.js +70 -45
- package/build/esm/integrations/express/route.js.map +1 -1
- package/build/esm/integrations/express/utils.js +11 -5
- package/build/esm/integrations/express/utils.js.map +1 -1
- package/build/esm/integrations/fastify/errors.js +33 -26
- package/build/esm/integrations/fastify/errors.js.map +1 -1
- package/build/esm/integrations/fastify/index.js +41 -21
- package/build/esm/integrations/fastify/index.js.map +1 -1
- package/build/esm/integrations/fastify/instrumentation.js +188 -208
- package/build/esm/integrations/fastify/instrumentation.js.map +1 -1
- package/build/esm/integrations/fastify/utils.js +21 -15
- package/build/esm/integrations/fastify/utils.js.map +1 -1
- package/build/esm/integrations/firebase/firestore.js +69 -70
- package/build/esm/integrations/firebase/firestore.js.map +1 -1
- package/build/esm/integrations/firebase/functions.js +66 -68
- package/build/esm/integrations/firebase/functions.js.map +1 -1
- package/build/esm/integrations/firebase/index.js +21 -13
- package/build/esm/integrations/firebase/index.js.map +1 -1
- package/build/esm/integrations/firebase/instrumentation.js +86 -47
- package/build/esm/integrations/firebase/instrumentation.js.map +1 -1
- package/build/esm/integrations/flue.js +46 -33
- package/build/esm/integrations/flue.js.map +1 -1
- package/build/esm/integrations/generic-pool.js +30 -27
- package/build/esm/integrations/generic-pool.js.map +1 -1
- package/build/esm/integrations/google-genai.js +89 -87
- package/build/esm/integrations/google-genai.js.map +1 -1
- package/build/esm/integrations/graphql/constants.js +6 -4
- package/build/esm/integrations/graphql/constants.js.map +1 -1
- package/build/esm/integrations/graphql/graphql-dc-subscriber.js +95 -99
- package/build/esm/integrations/graphql/graphql-dc-subscriber.js.map +1 -1
- package/build/esm/integrations/graphql/index.js +38 -47
- package/build/esm/integrations/graphql/index.js.map +1 -1
- package/build/esm/integrations/graphql/resolvers.js +117 -142
- package/build/esm/integrations/graphql/resolvers.js.map +1 -1
- package/build/esm/integrations/graphql/spans.js +110 -93
- package/build/esm/integrations/graphql/spans.js.map +1 -1
- package/build/esm/integrations/graphql/utils.js +84 -79
- package/build/esm/integrations/graphql/utils.js.map +1 -1
- package/build/esm/integrations/groq.js +22 -16
- package/build/esm/integrations/groq.js.map +1 -1
- package/build/esm/integrations/hapi/hapi-error-handler.js +47 -38
- package/build/esm/integrations/hapi/hapi-error-handler.js.map +1 -1
- package/build/esm/integrations/hapi/hapi-types.js +20 -13
- package/build/esm/integrations/hapi/hapi-types.js.map +1 -1
- package/build/esm/integrations/hapi/hapi-utils.js +165 -166
- package/build/esm/integrations/hapi/hapi-utils.js.map +1 -1
- package/build/esm/integrations/hapi/index.js +53 -64
- package/build/esm/integrations/hapi/index.js.map +1 -1
- package/build/esm/integrations/hono/applyPatches.js +43 -26
- package/build/esm/integrations/hono/applyPatches.js.map +1 -1
- package/build/esm/integrations/hono/connInfo.js +39 -30
- package/build/esm/integrations/hono/connInfo.js.map +1 -1
- package/build/esm/integrations/hono/constants.js +3 -2
- package/build/esm/integrations/hono/constants.js.map +1 -1
- package/build/esm/integrations/hono/createHonoMiddleware.js +59 -36
- package/build/esm/integrations/hono/createHonoMiddleware.js.map +1 -1
- package/build/esm/integrations/hono/defaultShouldHandleError.js +17 -9
- package/build/esm/integrations/hono/defaultShouldHandleError.js.map +1 -1
- package/build/esm/integrations/hono/hono-context.js +13 -9
- package/build/esm/integrations/hono/hono-context.js.map +1 -1
- package/build/esm/integrations/hono/honoIntegration.js +114 -78
- package/build/esm/integrations/hono/honoIntegration.js.map +1 -1
- package/build/esm/integrations/hono/index.js +3 -0
- package/build/esm/integrations/hono/isMiddleware.js +26 -13
- package/build/esm/integrations/hono/isMiddleware.js.map +1 -1
- package/build/esm/integrations/hono/matchResult.js +59 -64
- package/build/esm/integrations/hono/matchResult.js.map +1 -1
- package/build/esm/integrations/hono/middlewareHandlers.js +88 -82
- package/build/esm/integrations/hono/middlewareHandlers.js.map +1 -1
- package/build/esm/integrations/hono/patchAppRequest.js +77 -62
- package/build/esm/integrations/hono/patchAppRequest.js.map +1 -1
- package/build/esm/integrations/hono/patchAppUse.js +71 -56
- package/build/esm/integrations/hono/patchAppUse.js.map +1 -1
- package/build/esm/integrations/hono/patchRoute.js +73 -59
- package/build/esm/integrations/hono/patchRoute.js.map +1 -1
- package/build/esm/integrations/hono/resolveRouteName.js +19 -22
- package/build/esm/integrations/hono/resolveRouteName.js.map +1 -1
- package/build/esm/integrations/hono/sentryOriginalTraps.js +23 -16
- package/build/esm/integrations/hono/sentryOriginalTraps.js.map +1 -1
- package/build/esm/integrations/hono/wrapMiddlewareSpan.js +45 -42
- package/build/esm/integrations/hono/wrapMiddlewareSpan.js.map +1 -1
- package/build/esm/integrations/index.js +92 -85
- package/build/esm/integrations/index.js.map +1 -1
- package/build/esm/integrations/kafkajs/consumer.js +58 -60
- package/build/esm/integrations/kafkajs/consumer.js.map +1 -1
- package/build/esm/integrations/kafkajs/index.js +53 -57
- package/build/esm/integrations/kafkajs/index.js.map +1 -1
- package/build/esm/integrations/kafkajs/semconv.js +4 -2
- package/build/esm/integrations/kafkajs/semconv.js.map +1 -1
- package/build/esm/integrations/kafkajs/spans.js +107 -101
- package/build/esm/integrations/kafkajs/spans.js.map +1 -1
- package/build/esm/integrations/knex.js +133 -157
- package/build/esm/integrations/knex.js.map +1 -1
- package/build/esm/integrations/koa/index.js +122 -133
- package/build/esm/integrations/koa/index.js.map +1 -1
- package/build/esm/integrations/koa/koa-error-handler.js +43 -25
- package/build/esm/integrations/koa/koa-error-handler.js.map +1 -1
- package/build/esm/integrations/langchain.js +66 -75
- package/build/esm/integrations/langchain.js.map +1 -1
- package/build/esm/integrations/langgraph.js +55 -61
- package/build/esm/integrations/langgraph.js.map +1 -1
- package/build/esm/integrations/lru-memoizer.js +22 -20
- package/build/esm/integrations/lru-memoizer.js.map +1 -1
- package/build/esm/integrations/mastra-classifier.js +47 -50
- package/build/esm/integrations/mastra-classifier.js.map +1 -1
- package/build/esm/integrations/mastra.js +208 -209
- package/build/esm/integrations/mastra.js.map +1 -1
- package/build/esm/integrations/mcp-server.js +28 -28
- package/build/esm/integrations/mcp-server.js.map +1 -1
- package/build/esm/integrations/mistral.js +73 -56
- package/build/esm/integrations/mistral.js.map +1 -1
- package/build/esm/integrations/mongodb/index.js +101 -76
- package/build/esm/integrations/mongodb/index.js.map +1 -1
- package/build/esm/integrations/mongodb/mongodb-span.js +110 -106
- package/build/esm/integrations/mongodb/mongodb-span.js.map +1 -1
- package/build/esm/integrations/mongoose/index.js +82 -89
- package/build/esm/integrations/mongoose/index.js.map +1 -1
- package/build/esm/integrations/mongoose/mongoose-dc-subscriber.js +85 -72
- package/build/esm/integrations/mongoose/mongoose-dc-subscriber.js.map +1 -1
- package/build/esm/integrations/mongoose/mongoose-legacy-span.js +39 -36
- package/build/esm/integrations/mongoose/mongoose-legacy-span.js.map +1 -1
- package/build/esm/integrations/mysql.js +74 -83
- package/build/esm/integrations/mysql.js.map +1 -1
- package/build/esm/integrations/mysql2/index.js +86 -61
- package/build/esm/integrations/mysql2/index.js.map +1 -1
- package/build/esm/integrations/mysql2/mysql2-dc-subscriber.js +51 -38
- package/build/esm/integrations/mysql2/mysql2-dc-subscriber.js.map +1 -1
- package/build/esm/integrations/neon.js +84 -86
- package/build/esm/integrations/neon.js.map +1 -1
- package/build/esm/integrations/nitro/captureStorageEvents.js +97 -111
- package/build/esm/integrations/nitro/captureStorageEvents.js.map +1 -1
- package/build/esm/integrations/nitro/captureTracingEvents.js +139 -181
- package/build/esm/integrations/nitro/captureTracingEvents.js.map +1 -1
- package/build/esm/integrations/nitro/index.js +26 -20
- package/build/esm/integrations/nitro/index.js.map +1 -1
- package/build/esm/integrations/nitro/setServerTimingHeaders.js +31 -33
- package/build/esm/integrations/nitro/setServerTimingHeaders.js.map +1 -1
- package/build/esm/integrations/node-cron.js +53 -48
- package/build/esm/integrations/node-cron.js.map +1 -1
- package/build/esm/integrations/node-schedule.js +45 -51
- package/build/esm/integrations/node-schedule.js.map +1 -1
- package/build/esm/integrations/openai-compatible.js +84 -79
- package/build/esm/integrations/openai-compatible.js.map +1 -1
- package/build/esm/integrations/openai.js +85 -75
- package/build/esm/integrations/openai.js.map +1 -1
- package/build/esm/integrations/pg.js +147 -130
- package/build/esm/integrations/pg.js.map +1 -1
- package/build/esm/integrations/pi-ai.js +69 -0
- package/build/esm/integrations/pi-ai.js.map +1 -0
- package/build/esm/integrations/pi-durable.js +46 -42
- package/build/esm/integrations/pi-durable.js.map +1 -1
- package/build/esm/integrations/postgresjs/index.js +124 -126
- package/build/esm/integrations/postgresjs/index.js.map +1 -1
- package/build/esm/integrations/postgresjs/postgresjs-dc-subscriber.js +72 -64
- package/build/esm/integrations/postgresjs/postgresjs-dc-subscriber.js.map +1 -1
- package/build/esm/integrations/postgresjs-wrapper.js +232 -187
- package/build/esm/integrations/postgresjs-wrapper.js.map +1 -1
- package/build/esm/integrations/prisma/global.js +6 -5
- package/build/esm/integrations/prisma/global.js.map +1 -1
- package/build/esm/integrations/prisma/index.js +44 -26
- package/build/esm/integrations/prisma/index.js.map +1 -1
- package/build/esm/integrations/prisma/orchestrion.js +96 -115
- package/build/esm/integrations/prisma/orchestrion.js.map +1 -1
- package/build/esm/integrations/prisma/tracing-helper.js +192 -208
- package/build/esm/integrations/prisma/tracing-helper.js.map +1 -1
- package/build/esm/integrations/redis/index.js +173 -190
- package/build/esm/integrations/redis/index.js.map +1 -1
- package/build/esm/integrations/redis/ioredis-channel-subscriber.js +78 -72
- package/build/esm/integrations/redis/ioredis-channel-subscriber.js.map +1 -1
- package/build/esm/integrations/redis/redis-cache.js +110 -111
- package/build/esm/integrations/redis/redis-cache.js.map +1 -1
- package/build/esm/integrations/redis/redis-dc-subscriber.js +79 -84
- package/build/esm/integrations/redis/redis-dc-subscriber.js.map +1 -1
- package/build/esm/integrations/redis/redis-span-name.js +31 -21
- package/build/esm/integrations/redis/redis-span-name.js.map +1 -1
- package/build/esm/integrations/redis/redis-statement-serializer.js +38 -27
- package/build/esm/integrations/redis/redis-statement-serializer.js.map +1 -1
- package/build/esm/integrations/serveTunnel.js +30 -24
- package/build/esm/integrations/serveTunnel.js.map +1 -1
- package/build/esm/integrations/tedious.js +132 -132
- package/build/esm/integrations/tedious.js.map +1 -1
- package/build/esm/integrations/together-ai.js +22 -16
- package/build/esm/integrations/together-ai.js.map +1 -1
- package/build/esm/integrations/typesafe.js +32 -37
- package/build/esm/integrations/typesafe.js.map +1 -1
- package/build/esm/integrations/vercel-ai/gen-ai-recording-mode.js +20 -4
- package/build/esm/integrations/vercel-ai/gen-ai-recording-mode.js.map +1 -1
- package/build/esm/integrations/vercel-ai/index.js +29 -26
- package/build/esm/integrations/vercel-ai/index.js.map +1 -1
- package/build/esm/integrations/vercel-ai/util.js +86 -92
- package/build/esm/integrations/vercel-ai/util.js.map +1 -1
- package/build/esm/integrations/vercel-ai/vercel-ai-dc-subscriber.js +507 -514
- package/build/esm/integrations/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
- package/build/esm/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js +386 -361
- package/build/esm/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
- package/build/esm/integrations/vercel-ai/vercel-ai-tool-telemetry.js +61 -34
- package/build/esm/integrations/vercel-ai/vercel-ai-tool-telemetry.js.map +1 -1
- package/build/esm/opentelemetry.js +70 -35
- package/build/esm/opentelemetry.js.map +1 -1
- package/build/esm/orchestrion/bundler/bun.js +42 -32
- package/build/esm/orchestrion/bundler/bun.js.map +1 -1
- package/build/esm/orchestrion/bundler/esbuild.js +57 -47
- package/build/esm/orchestrion/bundler/esbuild.js.map +1 -1
- package/build/esm/orchestrion/bundler/externalRequire.js +65 -62
- package/build/esm/orchestrion/bundler/externalRequire.js.map +1 -1
- package/build/esm/orchestrion/bundler/load-hook.js +23 -19
- package/build/esm/orchestrion/bundler/load-hook.js.map +1 -1
- package/build/esm/orchestrion/bundler/moduleInjectedTransform.js +118 -44
- package/build/esm/orchestrion/bundler/moduleInjectedTransform.js.map +1 -1
- package/build/esm/orchestrion/bundler/options.js +42 -13
- package/build/esm/orchestrion/bundler/options.js.map +1 -1
- package/build/esm/orchestrion/bundler/resolve.js +43 -13
- package/build/esm/orchestrion/bundler/resolve.js.map +1 -1
- package/build/esm/orchestrion/bundler/rollup.js +78 -67
- package/build/esm/orchestrion/bundler/rollup.js.map +1 -1
- package/build/esm/orchestrion/bundler/vite.js +122 -160
- package/build/esm/orchestrion/bundler/vite.js.map +1 -1
- package/build/esm/orchestrion/bundler/webpack-loader.js +18 -14
- package/build/esm/orchestrion/bundler/webpack-loader.js.map +1 -1
- package/build/esm/orchestrion/bundler/webpack.js +57 -71
- package/build/esm/orchestrion/bundler/webpack.js.map +1 -1
- package/build/esm/orchestrion/channels.js +105 -87
- package/build/esm/orchestrion/channels.js.map +1 -1
- package/build/esm/orchestrion/config/amqplib.js +152 -83
- package/build/esm/orchestrion/config/amqplib.js.map +1 -1
- package/build/esm/orchestrion/config/anthropic-ai.js +96 -43
- package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -1
- package/build/esm/orchestrion/config/aws-sdk.js +46 -22
- package/build/esm/orchestrion/config/aws-sdk.js.map +1 -1
- package/build/esm/orchestrion/config/channel-integration-definitions.js +193 -51
- package/build/esm/orchestrion/config/channel-integration-definitions.js.map +1 -1
- package/build/esm/orchestrion/config/cron.js +27 -18
- package/build/esm/orchestrion/config/cron.js.map +1 -1
- package/build/esm/orchestrion/config/dataloader.js +62 -45
- package/build/esm/orchestrion/config/dataloader.js.map +1 -1
- package/build/esm/orchestrion/config/express.js +80 -71
- package/build/esm/orchestrion/config/express.js.map +1 -1
- package/build/esm/orchestrion/config/firebase.js +133 -70
- package/build/esm/orchestrion/config/firebase.js.map +1 -1
- package/build/esm/orchestrion/config/flue.js +15 -7
- package/build/esm/orchestrion/config/flue.js.map +1 -1
- package/build/esm/orchestrion/config/generic-pool.js +29 -19
- package/build/esm/orchestrion/config/generic-pool.js.map +1 -1
- package/build/esm/orchestrion/config/google-genai.js +50 -33
- package/build/esm/orchestrion/config/google-genai.js.map +1 -1
- package/build/esm/orchestrion/config/graphql.js +43 -22
- package/build/esm/orchestrion/config/graphql.js.map +1 -1
- package/build/esm/orchestrion/config/groq.js +9 -9
- package/build/esm/orchestrion/config/groq.js.map +1 -1
- package/build/esm/orchestrion/config/hapi.js +56 -38
- package/build/esm/orchestrion/config/hapi.js.map +1 -1
- package/build/esm/orchestrion/config/hono.js +23 -26
- package/build/esm/orchestrion/config/hono.js.map +1 -1
- package/build/esm/orchestrion/config/index.js +177 -111
- package/build/esm/orchestrion/config/index.js.map +1 -1
- package/build/esm/orchestrion/config/ioredis.js +65 -31
- package/build/esm/orchestrion/config/ioredis.js.map +1 -1
- package/build/esm/orchestrion/config/kafkajs.js +29 -26
- package/build/esm/orchestrion/config/kafkajs.js.map +1 -1
- package/build/esm/orchestrion/config/knex.js +57 -29
- package/build/esm/orchestrion/config/knex.js.map +1 -1
- package/build/esm/orchestrion/config/koa.js +31 -24
- package/build/esm/orchestrion/config/koa.js.map +1 -1
- package/build/esm/orchestrion/config/langchain.js +78 -49
- package/build/esm/orchestrion/config/langchain.js.map +1 -1
- package/build/esm/orchestrion/config/langgraph.js +25 -20
- package/build/esm/orchestrion/config/langgraph.js.map +1 -1
- package/build/esm/orchestrion/config/lru-memoizer.js +17 -15
- package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -1
- package/build/esm/orchestrion/config/mastra.js +44 -44
- package/build/esm/orchestrion/config/mastra.js.map +1 -1
- package/build/esm/orchestrion/config/mcp-server.js +24 -32
- package/build/esm/orchestrion/config/mcp-server.js.map +1 -1
- package/build/esm/orchestrion/config/mistral.js +87 -47
- package/build/esm/orchestrion/config/mistral.js.map +1 -1
- package/build/esm/orchestrion/config/module-names.js +9 -3
- package/build/esm/orchestrion/config/module-names.js.map +1 -1
- package/build/esm/orchestrion/config/mongodb.js +101 -61
- package/build/esm/orchestrion/config/mongodb.js.map +1 -1
- package/build/esm/orchestrion/config/mongoose.js +131 -100
- package/build/esm/orchestrion/config/mongoose.js.map +1 -1
- package/build/esm/orchestrion/config/mysql.js +17 -14
- package/build/esm/orchestrion/config/mysql.js.map +1 -1
- package/build/esm/orchestrion/config/mysql2.js +64 -28
- package/build/esm/orchestrion/config/mysql2.js.map +1 -1
- package/build/esm/orchestrion/config/neon.js +33 -36
- package/build/esm/orchestrion/config/neon.js.map +1 -1
- package/build/esm/orchestrion/config/nestjs.js +151 -120
- package/build/esm/orchestrion/config/nestjs.js.map +1 -1
- package/build/esm/orchestrion/config/nitro.js +25 -7
- package/build/esm/orchestrion/config/nitro.js.map +1 -1
- package/build/esm/orchestrion/config/node-cron.js +74 -43
- package/build/esm/orchestrion/config/node-cron.js.map +1 -1
- package/build/esm/orchestrion/config/node-schedule.js +26 -21
- package/build/esm/orchestrion/config/node-schedule.js.map +1 -1
- package/build/esm/orchestrion/config/openai-compatible.js +42 -15
- package/build/esm/orchestrion/config/openai-compatible.js.map +1 -1
- package/build/esm/orchestrion/config/openai.js +72 -39
- package/build/esm/orchestrion/config/openai.js.map +1 -1
- package/build/esm/orchestrion/config/pg.js +70 -45
- package/build/esm/orchestrion/config/pg.js.map +1 -1
- package/build/esm/orchestrion/config/pi-ai.js +49 -0
- package/build/esm/orchestrion/config/pi-ai.js.map +1 -0
- package/build/esm/orchestrion/config/pi-durable.js +36 -26
- package/build/esm/orchestrion/config/pi-durable.js.map +1 -1
- package/build/esm/orchestrion/config/postgres.js +63 -48
- package/build/esm/orchestrion/config/postgres.js.map +1 -1
- package/build/esm/orchestrion/config/prisma.js +46 -36
- package/build/esm/orchestrion/config/prisma.js.map +1 -1
- package/build/esm/orchestrion/config/redis.js +133 -72
- package/build/esm/orchestrion/config/redis.js.map +1 -1
- package/build/esm/orchestrion/config/registration-only.js +23 -8
- package/build/esm/orchestrion/config/registration-only.js.map +1 -1
- package/build/esm/orchestrion/config/remix-v3.js +68 -47
- package/build/esm/orchestrion/config/remix-v3.js.map +1 -1
- package/build/esm/orchestrion/config/remix.js +77 -45
- package/build/esm/orchestrion/config/remix.js.map +1 -1
- package/build/esm/orchestrion/config/tedious.js +31 -16
- package/build/esm/orchestrion/config/tedious.js.map +1 -1
- package/build/esm/orchestrion/config/together-ai.js +17 -15
- package/build/esm/orchestrion/config/together-ai.js.map +1 -1
- package/build/esm/orchestrion/config/typesafe.js +16 -10
- package/build/esm/orchestrion/config/typesafe.js.map +1 -1
- package/build/esm/orchestrion/config/vercel-ai.js +54 -44
- package/build/esm/orchestrion/config/vercel-ai.js.map +1 -1
- package/build/esm/orchestrion/detect.js +50 -34
- package/build/esm/orchestrion/detect.js.map +1 -1
- package/build/esm/orchestrion/instrumentation.js +90 -70
- package/build/esm/orchestrion/instrumentation.js.map +1 -1
- package/build/esm/package.json +1 -1
- package/build/esm/tracing-channel.js +143 -135
- package/build/esm/tracing-channel.js.map +1 -1
- package/build/esm/utils/cronMonitoring.js +152 -125
- package/build/esm/utils/cronMonitoring.js.map +1 -1
- package/build/esm/utils/diagnosticsChannel.js +26 -21
- package/build/esm/utils/diagnosticsChannel.js.map +1 -1
- package/build/esm/utils/moduleInjected.js +35 -13
- package/build/esm/utils/moduleInjected.js.map +1 -1
- package/build/esm/utils/monitorStream.js +52 -58
- package/build/esm/utils/monitorStream.js.map +1 -1
- package/build/esm/utils/runtime.js +10 -8
- package/build/esm/utils/runtime.js.map +1 -1
- package/build/esm/utils/setHttpServerSpanRouteAttribute.js +22 -21
- package/build/esm/utils/setHttpServerSpanRouteAttribute.js.map +1 -1
- package/build/esm/utils/sql.js +260 -225
- package/build/esm/utils/sql.js.map +1 -1
- package/build/esm/utils/tunnelServer.js +27 -23
- package/build/esm/utils/tunnelServer.js.map +1 -1
- package/build/esm/utils/withCleanScopes.js +17 -12
- package/build/esm/utils/withCleanScopes.js.map +1 -1
- package/build/esm/utils/wrapServerRequestHandler.js +180 -208
- package/build/esm/utils/wrapServerRequestHandler.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer/index.js +9 -5
- package/build/esm/vendored/@apm-js-collab/code-transformer/index.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/index.js +21 -9
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/index.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/matcher.js +80 -83
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/matcher.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js +289 -313
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transforms.js +488 -284
- package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transforms.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js +5 -6
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/{core-Bd0h-mo3.js → core-BiWIBBjf.js} +15 -14
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-BiWIBBjf.js.map +1 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core.js +3 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js +6 -7
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js +3 -3
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/{rollup-DCG8HLmh.js → rollup-CzqrjlS4.js} +8 -13
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-CzqrjlS4.js.map +1 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup.js +1 -0
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js +4 -5
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js +13 -12
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js.map +1 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js +7 -8
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -1
- package/build/esm/vendored/astring/dist/astring.js +910 -1065
- package/build/esm/vendored/astring/dist/astring.js.map +1 -1
- package/build/esm/vendored/esquery/dist/esquery.min.js +1312 -0
- package/build/esm/vendored/esquery/dist/esquery.min.js.map +1 -0
- package/build/esm/vendored/meriyah/dist/meriyah.js +10539 -9189
- package/build/esm/vendored/meriyah/dist/meriyah.js.map +1 -1
- package/build/esm/vendored/meriyah/dist/meriyah2.js +10122 -8806
- package/build/esm/vendored/meriyah/dist/meriyah2.js.map +1 -1
- package/build/esm/vendored/module-details-from-path/index.js +31 -40
- package/build/esm/vendored/module-details-from-path/index.js.map +1 -1
- package/build/esm/vendored/semifies/index.js +106 -108
- package/build/esm/vendored/semifies/index.js.map +1 -1
- package/build/esm/vendored/source-map/lib/array-set.js +100 -70
- package/build/esm/vendored/source-map/lib/array-set.js.map +1 -1
- package/build/esm/vendored/source-map/lib/base64-vlq.js +71 -54
- package/build/esm/vendored/source-map/lib/base64-vlq.js.map +1 -1
- package/build/esm/vendored/source-map/lib/base64.js +38 -39
- package/build/esm/vendored/source-map/lib/base64.js.map +1 -1
- package/build/esm/vendored/source-map/lib/binary-search.js +61 -50
- package/build/esm/vendored/source-map/lib/binary-search.js.map +1 -1
- package/build/esm/vendored/source-map/lib/mapping-list.js +75 -39
- package/build/esm/vendored/source-map/lib/mapping-list.js.map +1 -1
- package/build/esm/vendored/source-map/lib/quick-sort.js +73 -33
- package/build/esm/vendored/source-map/lib/quick-sort.js.map +1 -1
- package/build/esm/vendored/source-map/lib/source-map-consumer.js +763 -609
- package/build/esm/vendored/source-map/lib/source-map-consumer.js.map +1 -1
- package/build/esm/vendored/source-map/lib/source-map-generator.js +281 -282
- package/build/esm/vendored/source-map/lib/source-map-generator.js.map +1 -1
- package/build/esm/vendored/source-map/lib/source-node.js +294 -267
- package/build/esm/vendored/source-map/lib/source-node.js.map +1 -1
- package/build/esm/vendored/source-map/lib/util.js +241 -252
- package/build/esm/vendored/source-map/lib/util.js.map +1 -1
- package/build/esm/vendored/source-map/source-map.js +17 -13
- package/build/esm/vendored/source-map/source-map.js.map +1 -1
- package/build/types/ai/anthropic-ai/index.d.ts +1 -1
- package/build/types/ai/anthropic-ai/index.d.ts.map +1 -1
- package/build/types/ai/anthropic-ai/streaming.d.ts +2 -1
- package/build/types/ai/anthropic-ai/streaming.d.ts.map +1 -1
- package/build/types/ai/anthropic-ai/utils.d.ts +7 -2
- package/build/types/ai/anthropic-ai/utils.d.ts.map +1 -1
- package/build/types/ai/core/streaming-tool-calls.d.ts +19 -0
- package/build/types/ai/core/streaming-tool-calls.d.ts.map +1 -0
- package/build/types/ai/core/utils.d.ts +18 -1
- package/build/types/ai/core/utils.d.ts.map +1 -1
- package/build/types/ai/flue/constants.d.ts +5 -7
- package/build/types/ai/flue/constants.d.ts.map +1 -1
- package/build/types/ai/flue/index.d.ts +7 -4
- package/build/types/ai/flue/index.d.ts.map +1 -1
- package/build/types/ai/flue/types.d.ts +1 -38
- package/build/types/ai/flue/types.d.ts.map +1 -1
- package/build/types/ai/flue/utils.d.ts +1 -13
- package/build/types/ai/flue/utils.d.ts.map +1 -1
- package/build/types/ai/google-genai/index.d.ts +4 -0
- package/build/types/ai/google-genai/index.d.ts.map +1 -1
- package/build/types/ai/google-genai/streaming.d.ts.map +1 -1
- package/build/types/ai/openai/index.d.ts.map +1 -1
- package/build/types/ai/openai/streaming.d.ts.map +1 -1
- package/build/types/ai/pi-ai/chat.d.ts +20 -0
- package/build/types/ai/pi-ai/chat.d.ts.map +1 -0
- package/build/types/ai/pi-ai/constants.d.ts +3 -0
- package/build/types/ai/pi-ai/constants.d.ts.map +1 -0
- package/build/types/ai/pi-ai/providers.d.ts +9 -6
- package/build/types/ai/pi-ai/providers.d.ts.map +1 -1
- package/build/types/ai/pi-ai/recording.d.ts +15 -0
- package/build/types/ai/pi-ai/recording.d.ts.map +1 -0
- package/build/types/ai/pi-ai/types.d.ts +31 -0
- package/build/types/ai/pi-ai/types.d.ts.map +1 -0
- package/build/types/ai/pi-durable/index.d.ts +5 -5
- package/build/types/ai/pi-durable/index.d.ts.map +1 -1
- package/build/types/ai/pi-durable/types.d.ts +3 -43
- package/build/types/ai/pi-durable/types.d.ts.map +1 -1
- package/build/types/ai/workers-ai/index.d.ts.map +1 -1
- package/build/types/ai/workers-ai/streaming.d.ts.map +1 -1
- package/build/types/ai/workers-ai/types.d.ts +13 -0
- package/build/types/ai/workers-ai/types.d.ts.map +1 -1
- package/build/types/ai/workers-ai/utils.d.ts.map +1 -1
- package/build/types/eve.d.ts +13 -0
- package/build/types/eve.d.ts.map +1 -1
- package/build/types/index.d.ts +2 -1
- package/build/types/index.d.ts.map +1 -1
- package/build/types/integrations/anthropic.d.ts.map +1 -1
- package/build/types/integrations/aws-sdk/index.d.ts +3 -1
- package/build/types/integrations/aws-sdk/index.d.ts.map +1 -1
- package/build/types/integrations/aws-sdk/services/ServicesExtensions.d.ts +2 -0
- package/build/types/integrations/aws-sdk/services/ServicesExtensions.d.ts.map +1 -1
- package/build/types/integrations/aws-sdk/services/bedrock-runtime-content.d.ts +30 -0
- package/build/types/integrations/aws-sdk/services/bedrock-runtime-content.d.ts.map +1 -0
- package/build/types/integrations/aws-sdk/services/bedrock-runtime.d.ts +5 -0
- package/build/types/integrations/aws-sdk/services/bedrock-runtime.d.ts.map +1 -1
- package/build/types/integrations/flue.d.ts.map +1 -1
- package/build/types/integrations/google-genai.d.ts.map +1 -1
- package/build/types/integrations/index.d.ts.map +1 -1
- package/build/types/integrations/mistral.d.ts.map +1 -1
- package/build/types/integrations/nitro/captureStorageEvents.d.ts.map +1 -1
- package/build/types/integrations/nitro/captureTracingEvents.d.ts.map +1 -1
- package/build/types/integrations/nitro/setServerTimingHeaders.d.ts.map +1 -1
- package/build/types/integrations/openai-compatible.d.ts.map +1 -1
- package/build/types/integrations/openai.d.ts.map +1 -1
- package/build/types/integrations/pi-ai.d.ts +19 -0
- package/build/types/integrations/pi-ai.d.ts.map +1 -0
- package/build/types/integrations/pi-durable.d.ts +3 -4
- package/build/types/integrations/pi-durable.d.ts.map +1 -1
- package/build/types/integrations/vercel-ai/gen-ai-recording-mode.d.ts +5 -1
- package/build/types/integrations/vercel-ai/gen-ai-recording-mode.d.ts.map +1 -1
- package/build/types/integrations/vercel-ai/vercel-ai-dc-subscriber.d.ts +6 -4
- package/build/types/integrations/vercel-ai/vercel-ai-dc-subscriber.d.ts.map +1 -1
- package/build/types/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts.map +1 -1
- package/build/types/integrations/vercel-ai/vercel-ai-tool-telemetry.d.ts +3 -3
- package/build/types/integrations/vercel-ai/vercel-ai-tool-telemetry.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/moduleInjectedTransform.d.ts +5 -1
- package/build/types/orchestrion/bundler/moduleInjectedTransform.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/options.d.ts +6 -0
- package/build/types/orchestrion/bundler/options.d.ts.map +1 -1
- package/build/types/orchestrion/channels.d.ts +4 -0
- package/build/types/orchestrion/channels.d.ts.map +1 -1
- package/build/types/orchestrion/config/anthropic-ai.d.ts +1 -0
- package/build/types/orchestrion/config/anthropic-ai.d.ts.map +1 -1
- package/build/types/orchestrion/config/channel-integration-definitions.d.ts +3 -0
- package/build/types/orchestrion/config/channel-integration-definitions.d.ts.map +1 -1
- package/build/types/orchestrion/config/flue.d.ts +1 -1
- package/build/types/orchestrion/config/index.d.ts.map +1 -1
- package/build/types/orchestrion/config/pi-ai.d.ts +8 -0
- package/build/types/orchestrion/config/pi-ai.d.ts.map +1 -0
- package/build/types/orchestrion/config/vercel-ai.d.ts +1 -0
- package/build/types/orchestrion/config/vercel-ai.d.ts.map +1 -1
- package/build/types/utils/wrapServerRequestHandler.d.ts +5 -0
- package/build/types/utils/wrapServerRequestHandler.d.ts.map +1 -1
- package/package.json +9 -12
- package/build/cjs/_virtual/_commonjsHelpers.js +0 -8
- package/build/cjs/_virtual/_commonjsHelpers.js.map +0 -1
- package/build/cjs/_virtual/array-set.js +0 -6
- package/build/cjs/_virtual/array-set.js.map +0 -1
- package/build/cjs/_virtual/astring.js +0 -6
- package/build/cjs/_virtual/astring.js.map +0 -1
- package/build/cjs/_virtual/base64-vlq.js +0 -6
- package/build/cjs/_virtual/base64-vlq.js.map +0 -1
- package/build/cjs/_virtual/base64.js +0 -6
- package/build/cjs/_virtual/base64.js.map +0 -1
- package/build/cjs/_virtual/binary-search.js +0 -6
- package/build/cjs/_virtual/binary-search.js.map +0 -1
- package/build/cjs/_virtual/mapping-list.js +0 -6
- package/build/cjs/_virtual/mapping-list.js.map +0 -1
- package/build/cjs/_virtual/meriyah.js +0 -6
- package/build/cjs/_virtual/meriyah.js.map +0 -1
- package/build/cjs/_virtual/quick-sort.js +0 -6
- package/build/cjs/_virtual/quick-sort.js.map +0 -1
- package/build/cjs/_virtual/source-map-consumer.js +0 -6
- package/build/cjs/_virtual/source-map-consumer.js.map +0 -1
- package/build/cjs/_virtual/source-map-generator.js +0 -6
- package/build/cjs/_virtual/source-map-generator.js.map +0 -1
- package/build/cjs/_virtual/source-map.js +0 -6
- package/build/cjs/_virtual/source-map.js.map +0 -1
- package/build/cjs/_virtual/source-node.js +0 -6
- package/build/cjs/_virtual/source-node.js.map +0 -1
- package/build/cjs/_virtual/util.js +0 -6
- package/build/cjs/_virtual/util.js.map +0 -1
- package/build/cjs/ai/anthropic-ai/constants.js +0 -15
- package/build/cjs/ai/anthropic-ai/constants.js.map +0 -1
- package/build/cjs/ai/anthropic-ai/index.js +0 -225
- package/build/cjs/ai/anthropic-ai/index.js.map +0 -1
- package/build/cjs/ai/anthropic-ai/streaming.js +0 -161
- package/build/cjs/ai/anthropic-ai/streaming.js.map +0 -1
- package/build/cjs/ai/anthropic-ai/tool-runner.js +0 -148
- package/build/cjs/ai/anthropic-ai/tool-runner.js.map +0 -1
- package/build/cjs/ai/anthropic-ai/utils.js +0 -69
- package/build/cjs/ai/anthropic-ai/utils.js.map +0 -1
- package/build/cjs/ai/core/apiPromise.js +0 -54
- package/build/cjs/ai/core/apiPromise.js.map +0 -1
- package/build/cjs/ai/core/gen-ai-attributes.js +0 -14
- package/build/cjs/ai/core/gen-ai-attributes.js.map +0 -1
- package/build/cjs/ai/core/utils.js +0 -182
- package/build/cjs/ai/core/utils.js.map +0 -1
- package/build/cjs/ai/flue/constants.js +0 -20
- package/build/cjs/ai/flue/constants.js.map +0 -1
- package/build/cjs/ai/flue/index.js +0 -141
- package/build/cjs/ai/flue/index.js.map +0 -1
- package/build/cjs/ai/flue/utils.js +0 -200
- package/build/cjs/ai/flue/utils.js.map +0 -1
- package/build/cjs/ai/google-genai/constants.js +0 -17
- package/build/cjs/ai/google-genai/constants.js.map +0 -1
- package/build/cjs/ai/google-genai/index.js +0 -280
- package/build/cjs/ai/google-genai/index.js.map +0 -1
- package/build/cjs/ai/google-genai/streaming.js +0 -79
- package/build/cjs/ai/google-genai/streaming.js.map +0 -1
- package/build/cjs/ai/google-genai/utils.js +0 -131
- package/build/cjs/ai/google-genai/utils.js.map +0 -1
- package/build/cjs/ai/langchain/constants.js +0 -19
- package/build/cjs/ai/langchain/constants.js.map +0 -1
- package/build/cjs/ai/langchain/embeddings.js +0 -82
- package/build/cjs/ai/langchain/embeddings.js.map +0 -1
- package/build/cjs/ai/langchain/index.js +0 -312
- package/build/cjs/ai/langchain/index.js.map +0 -1
- package/build/cjs/ai/langchain/typesafe-classifier.js +0 -62
- package/build/cjs/ai/langchain/typesafe-classifier.js.map +0 -1
- package/build/cjs/ai/langchain/utils.js +0 -355
- package/build/cjs/ai/langchain/utils.js.map +0 -1
- package/build/cjs/ai/langgraph/agent-span.js +0 -94
- package/build/cjs/ai/langgraph/agent-span.js.map +0 -1
- package/build/cjs/ai/langgraph/constants.js +0 -8
- package/build/cjs/ai/langgraph/constants.js.map +0 -1
- package/build/cjs/ai/langgraph/index.js +0 -134
- package/build/cjs/ai/langgraph/index.js.map +0 -1
- package/build/cjs/ai/langgraph/stream.js +0 -117
- package/build/cjs/ai/langgraph/stream.js.map +0 -1
- package/build/cjs/ai/langgraph/utils.js +0 -221
- package/build/cjs/ai/langgraph/utils.js.map +0 -1
- package/build/cjs/ai/mastra/classifier-evaluation.js +0 -30
- package/build/cjs/ai/mastra/classifier-evaluation.js.map +0 -1
- package/build/cjs/ai/mastra/constants.js +0 -41
- package/build/cjs/ai/mastra/constants.js.map +0 -1
- package/build/cjs/ai/mastra/index.js +0 -195
- package/build/cjs/ai/mastra/index.js.map +0 -1
- package/build/cjs/ai/mastra/span-registry.js +0 -20
- package/build/cjs/ai/mastra/span-registry.js.map +0 -1
- package/build/cjs/ai/mastra/utils.js +0 -177
- package/build/cjs/ai/mastra/utils.js.map +0 -1
- package/build/cjs/ai/mistral/constants.js +0 -20
- package/build/cjs/ai/mistral/constants.js.map +0 -1
- package/build/cjs/ai/mistral/index.js +0 -130
- package/build/cjs/ai/mistral/index.js.map +0 -1
- package/build/cjs/ai/mistral/streaming.js +0 -208
- package/build/cjs/ai/mistral/streaming.js.map +0 -1
- package/build/cjs/ai/mistral/utils.js +0 -87
- package/build/cjs/ai/mistral/utils.js.map +0 -1
- package/build/cjs/ai/openai/constants.js +0 -35
- package/build/cjs/ai/openai/constants.js.map +0 -1
- package/build/cjs/ai/openai/index.js +0 -176
- package/build/cjs/ai/openai/index.js.map +0 -1
- package/build/cjs/ai/openai/mapping.js +0 -67
- package/build/cjs/ai/openai/mapping.js.map +0 -1
- package/build/cjs/ai/openai/streaming.js +0 -166
- package/build/cjs/ai/openai/streaming.js.map +0 -1
- package/build/cjs/ai/openai/utils.js +0 -128
- package/build/cjs/ai/openai/utils.js.map +0 -1
- package/build/cjs/ai/pi-ai/messages.js +0 -135
- package/build/cjs/ai/pi-ai/messages.js.map +0 -1
- package/build/cjs/ai/pi-ai/providers.js +0 -22
- package/build/cjs/ai/pi-ai/providers.js.map +0 -1
- package/build/cjs/ai/pi-ai/usage.js +0 -34
- package/build/cjs/ai/pi-ai/usage.js.map +0 -1
- package/build/cjs/ai/pi-durable/constants.js +0 -22
- package/build/cjs/ai/pi-durable/constants.js.map +0 -1
- package/build/cjs/ai/pi-durable/index.js +0 -176
- package/build/cjs/ai/pi-durable/index.js.map +0 -1
- package/build/cjs/ai/pi-durable/models.js +0 -140
- package/build/cjs/ai/pi-durable/models.js.map +0 -1
- package/build/cjs/ai/pi-durable/runs.js +0 -159
- package/build/cjs/ai/pi-durable/runs.js.map +0 -1
- package/build/cjs/ai/pi-durable/tools.js +0 -178
- package/build/cjs/ai/pi-durable/tools.js.map +0 -1
- package/build/cjs/ai/pi-durable/utils.js +0 -9
- package/build/cjs/ai/pi-durable/utils.js.map +0 -1
- package/build/cjs/ai/typesafe/constants.js +0 -10
- package/build/cjs/ai/typesafe/constants.js.map +0 -1
- package/build/cjs/ai/typesafe/index.js +0 -112
- package/build/cjs/ai/typesafe/index.js.map +0 -1
- package/build/cjs/ai/vercel-ai/index.js +0 -70
- package/build/cjs/ai/vercel-ai/index.js.map +0 -1
- package/build/cjs/ai/workers-ai/constants.js +0 -10
- package/build/cjs/ai/workers-ai/constants.js.map +0 -1
- package/build/cjs/ai/workers-ai/index.js +0 -85
- package/build/cjs/ai/workers-ai/index.js.map +0 -1
- package/build/cjs/ai/workers-ai/streaming.js +0 -149
- package/build/cjs/ai/workers-ai/streaming.js.map +0 -1
- package/build/cjs/ai/workers-ai/utils.js +0 -166
- package/build/cjs/ai/workers-ai/utils.js.map +0 -1
- package/build/cjs/async-context.js +0 -68
- package/build/cjs/async-context.js.map +0 -1
- package/build/cjs/debug-build.js +0 -6
- package/build/cjs/debug-build.js.map +0 -1
- package/build/cjs/eve.js +0 -30
- package/build/cjs/eve.js.map +0 -1
- package/build/cjs/index.no-diagnostic-channels.js.map +0 -1
- package/build/cjs/integrations/amqplib.js +0 -417
- package/build/cjs/integrations/amqplib.js.map +0 -1
- package/build/cjs/integrations/anthropic.js +0 -145
- package/build/cjs/integrations/anthropic.js.map +0 -1
- package/build/cjs/integrations/aws-sdk/constants.js +0 -16
- package/build/cjs/integrations/aws-sdk/constants.js.map +0 -1
- package/build/cjs/integrations/aws-sdk/index.js +0 -146
- package/build/cjs/integrations/aws-sdk/index.js.map +0 -1
- package/build/cjs/integrations/aws-sdk/services/MessageAttributes.js +0 -46
- package/build/cjs/integrations/aws-sdk/services/MessageAttributes.js.map +0 -1
- package/build/cjs/integrations/aws-sdk/services/ServicesExtensions.js +0 -47
- package/build/cjs/integrations/aws-sdk/services/ServicesExtensions.js.map +0 -1
- package/build/cjs/integrations/aws-sdk/services/bedrock-runtime.js +0 -477
- package/build/cjs/integrations/aws-sdk/services/bedrock-runtime.js.map +0 -1
- package/build/cjs/integrations/aws-sdk/services/dynamodb.js +0 -130
- package/build/cjs/integrations/aws-sdk/services/dynamodb.js.map +0 -1
- package/build/cjs/integrations/aws-sdk/services/kinesis.js +0 -19
- package/build/cjs/integrations/aws-sdk/services/kinesis.js.map +0 -1
- package/build/cjs/integrations/aws-sdk/services/lambda.js +0 -63
- package/build/cjs/integrations/aws-sdk/services/lambda.js.map +0 -1
- package/build/cjs/integrations/aws-sdk/services/s3.js +0 -19
- package/build/cjs/integrations/aws-sdk/services/s3.js.map +0 -1
- package/build/cjs/integrations/aws-sdk/services/secretsmanager.js +0 -25
- package/build/cjs/integrations/aws-sdk/services/secretsmanager.js.map +0 -1
- package/build/cjs/integrations/aws-sdk/services/sns.js +0 -79
- package/build/cjs/integrations/aws-sdk/services/sns.js.map +0 -1
- package/build/cjs/integrations/aws-sdk/services/sqs.js +0 -135
- package/build/cjs/integrations/aws-sdk/services/sqs.js.map +0 -1
- package/build/cjs/integrations/aws-sdk/services/stepfunctions.js +0 -23
- package/build/cjs/integrations/aws-sdk/services/stepfunctions.js.map +0 -1
- package/build/cjs/integrations/aws-sdk/utils.js +0 -30
- package/build/cjs/integrations/aws-sdk/utils.js.map +0 -1
- package/build/cjs/integrations/cron.js +0 -49
- package/build/cjs/integrations/cron.js.map +0 -1
- package/build/cjs/integrations/dataloader.js +0 -118
- package/build/cjs/integrations/dataloader.js.map +0 -1
- package/build/cjs/integrations/express/error-handled.js +0 -17
- package/build/cjs/integrations/express/error-handled.js.map +0 -1
- package/build/cjs/integrations/express/error-handler.js +0 -43
- package/build/cjs/integrations/express/error-handler.js.map +0 -1
- package/build/cjs/integrations/express/index.js +0 -24
- package/build/cjs/integrations/express/index.js.map +0 -1
- package/build/cjs/integrations/express/instrumentation.js +0 -222
- package/build/cjs/integrations/express/instrumentation.js.map +0 -1
- package/build/cjs/integrations/express/route.js +0 -76
- package/build/cjs/integrations/express/route.js.map +0 -1
- package/build/cjs/integrations/express/utils.js +0 -12
- package/build/cjs/integrations/express/utils.js.map +0 -1
- package/build/cjs/integrations/fastify/errors.js +0 -36
- package/build/cjs/integrations/fastify/errors.js.map +0 -1
- package/build/cjs/integrations/fastify/index.js +0 -28
- package/build/cjs/integrations/fastify/index.js.map +0 -1
- package/build/cjs/integrations/fastify/instrumentation.js +0 -252
- package/build/cjs/integrations/fastify/instrumentation.js.map +0 -1
- package/build/cjs/integrations/fastify/utils.js +0 -26
- package/build/cjs/integrations/fastify/utils.js.map +0 -1
- package/build/cjs/integrations/firebase/firestore.js +0 -93
- package/build/cjs/integrations/firebase/firestore.js.map +0 -1
- package/build/cjs/integrations/firebase/functions.js +0 -79
- package/build/cjs/integrations/firebase/functions.js.map +0 -1
- package/build/cjs/integrations/firebase/index.js +0 -20
- package/build/cjs/integrations/firebase/index.js.map +0 -1
- package/build/cjs/integrations/firebase/instrumentation.js +0 -56
- package/build/cjs/integrations/firebase/instrumentation.js.map +0 -1
- package/build/cjs/integrations/flue.js +0 -40
- package/build/cjs/integrations/flue.js.map +0 -1
- package/build/cjs/integrations/generic-pool.js +0 -36
- package/build/cjs/integrations/generic-pool.js.map +0 -1
- package/build/cjs/integrations/google-genai.js +0 -105
- package/build/cjs/integrations/google-genai.js.map +0 -1
- package/build/cjs/integrations/graphql/constants.js +0 -36
- package/build/cjs/integrations/graphql/constants.js.map +0 -1
- package/build/cjs/integrations/graphql/graphql-dc-subscriber.js +0 -122
- package/build/cjs/integrations/graphql/graphql-dc-subscriber.js.map +0 -1
- package/build/cjs/integrations/graphql/index.js +0 -60
- package/build/cjs/integrations/graphql/index.js.map +0 -1
- package/build/cjs/integrations/graphql/resolvers.js +0 -175
- package/build/cjs/integrations/graphql/resolvers.js.map +0 -1
- package/build/cjs/integrations/graphql/spans.js +0 -114
- package/build/cjs/integrations/graphql/spans.js.map +0 -1
- package/build/cjs/integrations/graphql/utils.js +0 -98
- package/build/cjs/integrations/graphql/utils.js.map +0 -1
- package/build/cjs/integrations/groq.js +0 -21
- package/build/cjs/integrations/groq.js.map +0 -1
- package/build/cjs/integrations/hapi/hapi-error-handler.js +0 -46
- package/build/cjs/integrations/hapi/hapi-error-handler.js.map +0 -1
- package/build/cjs/integrations/hapi/hapi-types.js +0 -23
- package/build/cjs/integrations/hapi/hapi-types.js.map +0 -1
- package/build/cjs/integrations/hapi/hapi-utils.js +0 -202
- package/build/cjs/integrations/hapi/hapi-utils.js.map +0 -1
- package/build/cjs/integrations/hapi/index.js +0 -73
- package/build/cjs/integrations/hapi/index.js.map +0 -1
- package/build/cjs/integrations/hono/applyPatches.js +0 -38
- package/build/cjs/integrations/hono/applyPatches.js.map +0 -1
- package/build/cjs/integrations/hono/connInfo.js +0 -37
- package/build/cjs/integrations/hono/connInfo.js.map +0 -1
- package/build/cjs/integrations/hono/constants.js +0 -8
- package/build/cjs/integrations/hono/constants.js.map +0 -1
- package/build/cjs/integrations/hono/createHonoMiddleware.js +0 -43
- package/build/cjs/integrations/hono/createHonoMiddleware.js.map +0 -1
- package/build/cjs/integrations/hono/defaultShouldHandleError.js +0 -14
- package/build/cjs/integrations/hono/defaultShouldHandleError.js.map +0 -1
- package/build/cjs/integrations/hono/hono-context.js +0 -14
- package/build/cjs/integrations/hono/hono-context.js.map +0 -1
- package/build/cjs/integrations/hono/honoIntegration.js +0 -98
- package/build/cjs/integrations/hono/honoIntegration.js.map +0 -1
- package/build/cjs/integrations/hono/isMiddleware.js +0 -22
- package/build/cjs/integrations/hono/isMiddleware.js.map +0 -1
- package/build/cjs/integrations/hono/matchResult.js +0 -85
- package/build/cjs/integrations/hono/matchResult.js.map +0 -1
- package/build/cjs/integrations/hono/middlewareHandlers.js +0 -101
- package/build/cjs/integrations/hono/middlewareHandlers.js.map +0 -1
- package/build/cjs/integrations/hono/patchAppRequest.js +0 -78
- package/build/cjs/integrations/hono/patchAppRequest.js.map +0 -1
- package/build/cjs/integrations/hono/patchAppUse.js +0 -70
- package/build/cjs/integrations/hono/patchAppUse.js.map +0 -1
- package/build/cjs/integrations/hono/patchRoute.js +0 -69
- package/build/cjs/integrations/hono/patchRoute.js.map +0 -1
- package/build/cjs/integrations/hono/resolveRouteName.js +0 -29
- package/build/cjs/integrations/hono/resolveRouteName.js.map +0 -1
- package/build/cjs/integrations/hono/sentryOriginalTraps.js +0 -21
- package/build/cjs/integrations/hono/sentryOriginalTraps.js.map +0 -1
- package/build/cjs/integrations/hono/wrapMiddlewareSpan.js +0 -48
- package/build/cjs/integrations/hono/wrapMiddlewareSpan.js.map +0 -1
- package/build/cjs/integrations/index.js +0 -93
- package/build/cjs/integrations/index.js.map +0 -1
- package/build/cjs/integrations/kafkajs/consumer.js +0 -71
- package/build/cjs/integrations/kafkajs/consumer.js.map +0 -1
- package/build/cjs/integrations/kafkajs/index.js +0 -70
- package/build/cjs/integrations/kafkajs/index.js.map +0 -1
- package/build/cjs/integrations/kafkajs/semconv.js +0 -14
- package/build/cjs/integrations/kafkajs/semconv.js.map +0 -1
- package/build/cjs/integrations/kafkajs/spans.js +0 -127
- package/build/cjs/integrations/kafkajs/spans.js.map +0 -1
- package/build/cjs/integrations/knex.js +0 -187
- package/build/cjs/integrations/knex.js.map +0 -1
- package/build/cjs/integrations/koa/index.js +0 -155
- package/build/cjs/integrations/koa/index.js.map +0 -1
- package/build/cjs/integrations/koa/koa-error-handler.js +0 -33
- package/build/cjs/integrations/koa/koa-error-handler.js.map +0 -1
- package/build/cjs/integrations/langchain.js +0 -92
- package/build/cjs/integrations/langchain.js.map +0 -1
- package/build/cjs/integrations/langgraph.js +0 -73
- package/build/cjs/integrations/langgraph.js.map +0 -1
- package/build/cjs/integrations/lru-memoizer.js +0 -29
- package/build/cjs/integrations/lru-memoizer.js.map +0 -1
- package/build/cjs/integrations/mastra-classifier.js +0 -57
- package/build/cjs/integrations/mastra-classifier.js.map +0 -1
- package/build/cjs/integrations/mastra.js +0 -247
- package/build/cjs/integrations/mastra.js.map +0 -1
- package/build/cjs/integrations/mcp-server.js +0 -37
- package/build/cjs/integrations/mcp-server.js.map +0 -1
- package/build/cjs/integrations/mistral.js +0 -69
- package/build/cjs/integrations/mistral.js.map +0 -1
- package/build/cjs/integrations/mongodb/index.js +0 -94
- package/build/cjs/integrations/mongodb/index.js.map +0 -1
- package/build/cjs/integrations/mongodb/mongodb-span.js +0 -135
- package/build/cjs/integrations/mongodb/mongodb-span.js.map +0 -1
- package/build/cjs/integrations/mongoose/index.js +0 -109
- package/build/cjs/integrations/mongoose/index.js.map +0 -1
- package/build/cjs/integrations/mongoose/mongoose-dc-subscriber.js +0 -101
- package/build/cjs/integrations/mongoose/mongoose-dc-subscriber.js.map +0 -1
- package/build/cjs/integrations/mongoose/mongoose-legacy-span.js +0 -41
- package/build/cjs/integrations/mongoose/mongoose-legacy-span.js.map +0 -1
- package/build/cjs/integrations/mysql.js +0 -101
- package/build/cjs/integrations/mysql.js.map +0 -1
- package/build/cjs/integrations/mysql2/index.js +0 -80
- package/build/cjs/integrations/mysql2/index.js.map +0 -1
- package/build/cjs/integrations/mysql2/mysql2-dc-subscriber.js +0 -57
- package/build/cjs/integrations/mysql2/mysql2-dc-subscriber.js.map +0 -1
- package/build/cjs/integrations/neon.js +0 -107
- package/build/cjs/integrations/neon.js.map +0 -1
- package/build/cjs/integrations/nitro/captureStorageEvents.js +0 -132
- package/build/cjs/integrations/nitro/captureStorageEvents.js.map +0 -1
- package/build/cjs/integrations/nitro/captureTracingEvents.js +0 -202
- package/build/cjs/integrations/nitro/captureTracingEvents.js.map +0 -1
- package/build/cjs/integrations/nitro/index.js +0 -27
- package/build/cjs/integrations/nitro/index.js.map +0 -1
- package/build/cjs/integrations/nitro/setServerTimingHeaders.js +0 -40
- package/build/cjs/integrations/nitro/setServerTimingHeaders.js.map +0 -1
- package/build/cjs/integrations/node-cron.js +0 -68
- package/build/cjs/integrations/node-cron.js.map +0 -1
- package/build/cjs/integrations/node-schedule.js +0 -76
- package/build/cjs/integrations/node-schedule.js.map +0 -1
- package/build/cjs/integrations/openai-compatible.js +0 -90
- package/build/cjs/integrations/openai-compatible.js.map +0 -1
- package/build/cjs/integrations/openai.js +0 -93
- package/build/cjs/integrations/openai.js.map +0 -1
- package/build/cjs/integrations/pg.js +0 -171
- package/build/cjs/integrations/pg.js.map +0 -1
- package/build/cjs/integrations/pi-durable.js +0 -50
- package/build/cjs/integrations/pi-durable.js.map +0 -1
- package/build/cjs/integrations/postgresjs/index.js +0 -147
- package/build/cjs/integrations/postgresjs/index.js.map +0 -1
- package/build/cjs/integrations/postgresjs/postgresjs-dc-subscriber.js +0 -81
- package/build/cjs/integrations/postgresjs/postgresjs-dc-subscriber.js.map +0 -1
- package/build/cjs/integrations/postgresjs-wrapper.js +0 -219
- package/build/cjs/integrations/postgresjs-wrapper.js.map +0 -1
- package/build/cjs/integrations/prisma/global.js +0 -14
- package/build/cjs/integrations/prisma/global.js.map +0 -1
- package/build/cjs/integrations/prisma/index.js +0 -36
- package/build/cjs/integrations/prisma/index.js.map +0 -1
- package/build/cjs/integrations/prisma/orchestrion.js +0 -137
- package/build/cjs/integrations/prisma/orchestrion.js.map +0 -1
- package/build/cjs/integrations/prisma/tracing-helper.js +0 -241
- package/build/cjs/integrations/prisma/tracing-helper.js.map +0 -1
- package/build/cjs/integrations/redis/index.js +0 -223
- package/build/cjs/integrations/redis/index.js.map +0 -1
- package/build/cjs/integrations/redis/ioredis-channel-subscriber.js +0 -87
- package/build/cjs/integrations/redis/ioredis-channel-subscriber.js.map +0 -1
- package/build/cjs/integrations/redis/redis-cache.js +0 -144
- package/build/cjs/integrations/redis/redis-cache.js.map +0 -1
- package/build/cjs/integrations/redis/redis-dc-subscriber.js +0 -107
- package/build/cjs/integrations/redis/redis-dc-subscriber.js.map +0 -1
- package/build/cjs/integrations/redis/redis-span-name.js +0 -32
- package/build/cjs/integrations/redis/redis-span-name.js.map +0 -1
- package/build/cjs/integrations/redis/redis-statement-serializer.js +0 -34
- package/build/cjs/integrations/redis/redis-statement-serializer.js.map +0 -1
- package/build/cjs/integrations/serveTunnel.js +0 -33
- package/build/cjs/integrations/serveTunnel.js.map +0 -1
- package/build/cjs/integrations/tedious.js +0 -160
- package/build/cjs/integrations/tedious.js.map +0 -1
- package/build/cjs/integrations/together-ai.js +0 -19
- package/build/cjs/integrations/together-ai.js.map +0 -1
- package/build/cjs/integrations/typesafe.js +0 -45
- package/build/cjs/integrations/typesafe.js.map +0 -1
- package/build/cjs/integrations/vercel-ai/gen-ai-recording-mode.js +0 -13
- package/build/cjs/integrations/vercel-ai/gen-ai-recording-mode.js.map +0 -1
- package/build/cjs/integrations/vercel-ai/index.js +0 -34
- package/build/cjs/integrations/vercel-ai/index.js.map +0 -1
- package/build/cjs/integrations/vercel-ai/util.js +0 -108
- package/build/cjs/integrations/vercel-ai/util.js.map +0 -1
- package/build/cjs/integrations/vercel-ai/vercel-ai-dc-subscriber.js +0 -589
- package/build/cjs/integrations/vercel-ai/vercel-ai-dc-subscriber.js.map +0 -1
- package/build/cjs/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js +0 -409
- package/build/cjs/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +0 -1
- package/build/cjs/integrations/vercel-ai/vercel-ai-tool-telemetry.js +0 -40
- package/build/cjs/integrations/vercel-ai/vercel-ai-tool-telemetry.js.map +0 -1
- package/build/cjs/opentelemetry.js +0 -45
- package/build/cjs/opentelemetry.js.map +0 -1
- package/build/cjs/orchestrion/bundler/externalRequire.js +0 -82
- package/build/cjs/orchestrion/bundler/externalRequire.js.map +0 -1
- package/build/cjs/orchestrion/bundler/moduleInjectedTransform.js +0 -55
- package/build/cjs/orchestrion/bundler/moduleInjectedTransform.js.map +0 -1
- package/build/cjs/orchestrion/bundler/options.js +0 -25
- package/build/cjs/orchestrion/bundler/options.js.map +0 -1
- package/build/cjs/orchestrion/bundler/resolve.js +0 -27
- package/build/cjs/orchestrion/bundler/resolve.js.map +0 -1
- package/build/cjs/orchestrion/channels.js +0 -92
- package/build/cjs/orchestrion/channels.js.map +0 -1
- package/build/cjs/orchestrion/config/amqplib.js +0 -93
- package/build/cjs/orchestrion/config/amqplib.js.map +0 -1
- package/build/cjs/orchestrion/config/anthropic-ai.js +0 -53
- package/build/cjs/orchestrion/config/anthropic-ai.js.map +0 -1
- package/build/cjs/orchestrion/config/aws-sdk.js +0 -32
- package/build/cjs/orchestrion/config/aws-sdk.js.map +0 -1
- package/build/cjs/orchestrion/config/channel-integration-definitions.js +0 -59
- package/build/cjs/orchestrion/config/channel-integration-definitions.js.map +0 -1
- package/build/cjs/orchestrion/config/cron.js +0 -26
- package/build/cjs/orchestrion/config/cron.js.map +0 -1
- package/build/cjs/orchestrion/config/dataloader.js +0 -53
- package/build/cjs/orchestrion/config/dataloader.js.map +0 -1
- package/build/cjs/orchestrion/config/express.js +0 -81
- package/build/cjs/orchestrion/config/express.js.map +0 -1
- package/build/cjs/orchestrion/config/firebase.js +0 -85
- package/build/cjs/orchestrion/config/firebase.js.map +0 -1
- package/build/cjs/orchestrion/config/flue.js +0 -10
- package/build/cjs/orchestrion/config/flue.js.map +0 -1
- package/build/cjs/orchestrion/config/generic-pool.js +0 -25
- package/build/cjs/orchestrion/config/generic-pool.js.map +0 -1
- package/build/cjs/orchestrion/config/google-genai.js +0 -43
- package/build/cjs/orchestrion/config/google-genai.js.map +0 -1
- package/build/cjs/orchestrion/config/graphql.js +0 -32
- package/build/cjs/orchestrion/config/graphql.js.map +0 -1
- package/build/cjs/orchestrion/config/groq.js +0 -19
- package/build/cjs/orchestrion/config/groq.js.map +0 -1
- package/build/cjs/orchestrion/config/hapi.js +0 -48
- package/build/cjs/orchestrion/config/hapi.js.map +0 -1
- package/build/cjs/orchestrion/config/hono.js +0 -34
- package/build/cjs/orchestrion/config/hono.js.map +0 -1
- package/build/cjs/orchestrion/config/index.js.map +0 -1
- package/build/cjs/orchestrion/config/ioredis.js +0 -41
- package/build/cjs/orchestrion/config/ioredis.js.map +0 -1
- package/build/cjs/orchestrion/config/kafkajs.js +0 -34
- package/build/cjs/orchestrion/config/kafkajs.js.map +0 -1
- package/build/cjs/orchestrion/config/knex.js +0 -43
- package/build/cjs/orchestrion/config/knex.js.map +0 -1
- package/build/cjs/orchestrion/config/koa.js +0 -32
- package/build/cjs/orchestrion/config/koa.js.map +0 -1
- package/build/cjs/orchestrion/config/langchain.js +0 -66
- package/build/cjs/orchestrion/config/langchain.js.map +0 -1
- package/build/cjs/orchestrion/config/langgraph.js +0 -32
- package/build/cjs/orchestrion/config/langgraph.js.map +0 -1
- package/build/cjs/orchestrion/config/lru-memoizer.js +0 -21
- package/build/cjs/orchestrion/config/lru-memoizer.js.map +0 -1
- package/build/cjs/orchestrion/config/mastra.js +0 -54
- package/build/cjs/orchestrion/config/mastra.js.map +0 -1
- package/build/cjs/orchestrion/config/mcp-server.js +0 -41
- package/build/cjs/orchestrion/config/mcp-server.js.map +0 -1
- package/build/cjs/orchestrion/config/mistral.js +0 -57
- package/build/cjs/orchestrion/config/mistral.js.map +0 -1
- package/build/cjs/orchestrion/config/module-names.js +0 -8
- package/build/cjs/orchestrion/config/module-names.js.map +0 -1
- package/build/cjs/orchestrion/config/mongodb.js +0 -71
- package/build/cjs/orchestrion/config/mongodb.js.map +0 -1
- package/build/cjs/orchestrion/config/mongoose.js +0 -113
- package/build/cjs/orchestrion/config/mongoose.js.map +0 -1
- package/build/cjs/orchestrion/config/mysql.js +0 -20
- package/build/cjs/orchestrion/config/mysql.js.map +0 -1
- package/build/cjs/orchestrion/config/mysql2.js +0 -38
- package/build/cjs/orchestrion/config/mysql2.js.map +0 -1
- package/build/cjs/orchestrion/config/neon.js +0 -46
- package/build/cjs/orchestrion/config/neon.js.map +0 -1
- package/build/cjs/orchestrion/config/nestjs.js +0 -130
- package/build/cjs/orchestrion/config/nestjs.js.map +0 -1
- package/build/cjs/orchestrion/config/nitro.js +0 -10
- package/build/cjs/orchestrion/config/nitro.js.map +0 -1
- package/build/cjs/orchestrion/config/node-cron.js +0 -53
- package/build/cjs/orchestrion/config/node-cron.js.map +0 -1
- package/build/cjs/orchestrion/config/node-schedule.js +0 -29
- package/build/cjs/orchestrion/config/node-schedule.js.map +0 -1
- package/build/cjs/orchestrion/config/openai-compatible.js +0 -19
- package/build/cjs/orchestrion/config/openai-compatible.js.map +0 -1
- package/build/cjs/orchestrion/config/openai.js +0 -49
- package/build/cjs/orchestrion/config/openai.js.map +0 -1
- package/build/cjs/orchestrion/config/pg.js +0 -55
- package/build/cjs/orchestrion/config/pg.js.map +0 -1
- package/build/cjs/orchestrion/config/pi-durable.js +0 -34
- package/build/cjs/orchestrion/config/pi-durable.js.map +0 -1
- package/build/cjs/orchestrion/config/postgres.js +0 -58
- package/build/cjs/orchestrion/config/postgres.js.map +0 -1
- package/build/cjs/orchestrion/config/prisma.js +0 -53
- package/build/cjs/orchestrion/config/prisma.js.map +0 -1
- package/build/cjs/orchestrion/config/redis.js +0 -82
- package/build/cjs/orchestrion/config/redis.js.map +0 -1
- package/build/cjs/orchestrion/config/registration-only.js +0 -15
- package/build/cjs/orchestrion/config/registration-only.js.map +0 -1
- package/build/cjs/orchestrion/config/remix-v3.js +0 -55
- package/build/cjs/orchestrion/config/remix-v3.js.map +0 -1
- package/build/cjs/orchestrion/config/remix.js +0 -54
- package/build/cjs/orchestrion/config/remix.js.map +0 -1
- package/build/cjs/orchestrion/config/tedious.js +0 -28
- package/build/cjs/orchestrion/config/tedious.js.map +0 -1
- package/build/cjs/orchestrion/config/together-ai.js +0 -23
- package/build/cjs/orchestrion/config/together-ai.js.map +0 -1
- package/build/cjs/orchestrion/config/typesafe.js +0 -18
- package/build/cjs/orchestrion/config/typesafe.js.map +0 -1
- package/build/cjs/orchestrion/config/vercel-ai.js +0 -56
- package/build/cjs/orchestrion/config/vercel-ai.js.map +0 -1
- package/build/cjs/orchestrion/detect.js +0 -42
- package/build/cjs/orchestrion/detect.js.map +0 -1
- package/build/cjs/orchestrion/instrumentation.js +0 -80
- package/build/cjs/orchestrion/instrumentation.js.map +0 -1
- package/build/cjs/tracing-channel.js +0 -152
- package/build/cjs/tracing-channel.js.map +0 -1
- package/build/cjs/utils/cronMonitoring.js +0 -160
- package/build/cjs/utils/cronMonitoring.js.map +0 -1
- package/build/cjs/utils/diagnosticsChannel.js +0 -48
- package/build/cjs/utils/diagnosticsChannel.js.map +0 -1
- package/build/cjs/utils/moduleInjected.js +0 -18
- package/build/cjs/utils/moduleInjected.js.map +0 -1
- package/build/cjs/utils/monitorStream.js +0 -63
- package/build/cjs/utils/monitorStream.js.map +0 -1
- package/build/cjs/utils/runtime.js +0 -19
- package/build/cjs/utils/runtime.js.map +0 -1
- package/build/cjs/utils/setHttpServerSpanRouteAttribute.js +0 -26
- package/build/cjs/utils/setHttpServerSpanRouteAttribute.js.map +0 -1
- package/build/cjs/utils/sql.js +0 -285
- package/build/cjs/utils/sql.js.map +0 -1
- package/build/cjs/utils/tunnelServer.js +0 -29
- package/build/cjs/utils/tunnelServer.js.map +0 -1
- package/build/cjs/utils/withCleanScopes.js +0 -17
- package/build/cjs/utils/withCleanScopes.js.map +0 -1
- package/build/cjs/utils/wrapServerRequestHandler.js +0 -221
- package/build/cjs/utils/wrapServerRequestHandler.js.map +0 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer/index.js +0 -8
- package/build/cjs/vendored/@apm-js-collab/code-transformer/index.js.map +0 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/index.js +0 -12
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/index.js.map +0 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/matcher.js +0 -86
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/matcher.js.map +0 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transformer.js +0 -316
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transformer.js.map +0 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transforms.js +0 -470
- package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transforms.js.map +0 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js +0 -65
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js.map +0 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-Bd0h-mo3.js.map +0 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js.map +0 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +0 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-DCG8HLmh.js.map +0 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js +0 -14
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/vite.js.map +0 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js +0 -117
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js.map +0 -1
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js +0 -103
- package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +0 -1
- package/build/cjs/vendored/astring/dist/astring.js +0 -1068
- package/build/cjs/vendored/astring/dist/astring.js.map +0 -1
- package/build/cjs/vendored/esquery/dist/esquery.esm.min.js +0 -847
- package/build/cjs/vendored/esquery/dist/esquery.esm.min.js.map +0 -1
- package/build/cjs/vendored/meriyah/dist/meriyah.js +0 -9192
- package/build/cjs/vendored/meriyah/dist/meriyah.js.map +0 -1
- package/build/cjs/vendored/meriyah/dist/meriyah2.js +0 -9209
- package/build/cjs/vendored/meriyah/dist/meriyah2.js.map +0 -1
- package/build/cjs/vendored/module-details-from-path/index.js +0 -43
- package/build/cjs/vendored/module-details-from-path/index.js.map +0 -1
- package/build/cjs/vendored/semifies/index.js +0 -111
- package/build/cjs/vendored/semifies/index.js.map +0 -1
- package/build/cjs/vendored/source-map/lib/array-set.js +0 -73
- package/build/cjs/vendored/source-map/lib/array-set.js.map +0 -1
- package/build/cjs/vendored/source-map/lib/base64-vlq.js +0 -57
- package/build/cjs/vendored/source-map/lib/base64-vlq.js.map +0 -1
- package/build/cjs/vendored/source-map/lib/base64.js +0 -42
- package/build/cjs/vendored/source-map/lib/base64.js.map +0 -1
- package/build/cjs/vendored/source-map/lib/binary-search.js +0 -55
- package/build/cjs/vendored/source-map/lib/binary-search.js.map +0 -1
- package/build/cjs/vendored/source-map/lib/mapping-list.js +0 -42
- package/build/cjs/vendored/source-map/lib/mapping-list.js.map +0 -1
- package/build/cjs/vendored/source-map/lib/quick-sort.js +0 -36
- package/build/cjs/vendored/source-map/lib/quick-sort.js.map +0 -1
- package/build/cjs/vendored/source-map/lib/source-map-consumer.js +0 -612
- package/build/cjs/vendored/source-map/lib/source-map-consumer.js.map +0 -1
- package/build/cjs/vendored/source-map/lib/source-map-generator.js +0 -285
- package/build/cjs/vendored/source-map/lib/source-map-generator.js.map +0 -1
- package/build/cjs/vendored/source-map/lib/source-node.js +0 -270
- package/build/cjs/vendored/source-map/lib/source-node.js.map +0 -1
- package/build/cjs/vendored/source-map/lib/util.js +0 -300
- package/build/cjs/vendored/source-map/lib/util.js.map +0 -1
- package/build/cjs/vendored/source-map/source-map.js +0 -16
- package/build/cjs/vendored/source-map/source-map.js.map +0 -1
- package/build/esm/_virtual/_commonjsHelpers.js +0 -6
- package/build/esm/_virtual/_commonjsHelpers.js.map +0 -1
- package/build/esm/_virtual/array-set.js +0 -4
- package/build/esm/_virtual/array-set.js.map +0 -1
- package/build/esm/_virtual/astring.js +0 -4
- package/build/esm/_virtual/astring.js.map +0 -1
- package/build/esm/_virtual/base64-vlq.js +0 -4
- package/build/esm/_virtual/base64-vlq.js.map +0 -1
- package/build/esm/_virtual/base64.js +0 -4
- package/build/esm/_virtual/base64.js.map +0 -1
- package/build/esm/_virtual/binary-search.js +0 -4
- package/build/esm/_virtual/binary-search.js.map +0 -1
- package/build/esm/_virtual/mapping-list.js +0 -4
- package/build/esm/_virtual/mapping-list.js.map +0 -1
- package/build/esm/_virtual/meriyah.js +0 -4
- package/build/esm/_virtual/meriyah.js.map +0 -1
- package/build/esm/_virtual/quick-sort.js +0 -4
- package/build/esm/_virtual/quick-sort.js.map +0 -1
- package/build/esm/_virtual/source-map-consumer.js +0 -4
- package/build/esm/_virtual/source-map-consumer.js.map +0 -1
- package/build/esm/_virtual/source-map-generator.js +0 -4
- package/build/esm/_virtual/source-map-generator.js.map +0 -1
- package/build/esm/_virtual/source-map.js +0 -4
- package/build/esm/_virtual/source-map.js.map +0 -1
- package/build/esm/_virtual/source-node.js +0 -4
- package/build/esm/_virtual/source-node.js.map +0 -1
- package/build/esm/_virtual/util.js +0 -4
- package/build/esm/_virtual/util.js.map +0 -1
- package/build/esm/ai/pi-durable/models.js +0 -138
- package/build/esm/ai/pi-durable/models.js.map +0 -1
- package/build/esm/index.no-diagnostic-channels.js.map +0 -1
- package/build/esm/index.request-handler.js.map +0 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-Bd0h-mo3.js.map +0 -1
- package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/rollup-DCG8HLmh.js.map +0 -1
- package/build/esm/vendored/esquery/dist/esquery.esm.min.js +0 -845
- package/build/esm/vendored/esquery/dist/esquery.esm.min.js.map +0 -1
- package/build/types/ai/pi-durable/models.d.ts +0 -10
- package/build/types/ai/pi-durable/models.d.ts.map +0 -1
|
@@ -1,30 +1,75 @@
|
|
|
1
|
-
import { GEN_AI_DECIDE, GEN_AI_EMBEDDINGS, GEN_AI_EXECUTE_TOOL,
|
|
2
|
-
|
|
1
|
+
import { GEN_AI_CHAT, GEN_AI_DECIDE, GEN_AI_EMBEDDINGS, GEN_AI_EXECUTE_TOOL, GEN_AI_INVOKE_AGENT } from "@sentry/conventions/op";
|
|
2
|
+
// src/ai/mastra/constants.ts
|
|
3
3
|
const MASTRA_INTEGRATION_NAME = "Mastra";
|
|
4
|
+
/** Cap on tracked spans, matching `MAX_TRACKED_PRISMA_SPANS`. Spans that never end would otherwise leak. */
|
|
4
5
|
const MAX_TRACKED_MASTRA_SPANS = 1e3;
|
|
5
6
|
const MASTRA_ORIGIN = "auto.ai.mastra";
|
|
7
|
+
/** Not `sentry` — that is the community `@mastra/sentry` exporter name. */
|
|
6
8
|
const MASTRA_EXPORTER_NAME = "sentry-sdk";
|
|
9
|
+
/** Name used by the community `@mastra/sentry` package. */
|
|
7
10
|
const COMMUNITY_MASTRA_SENTRY_EXPORTER_NAME = "sentry";
|
|
8
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Distinguishes our exporter from the community one. `Symbol.for` so the check still matches if
|
|
13
|
+
* two copies of `@sentry/server-utils` are loaded (`instanceof` would not).
|
|
14
|
+
*/
|
|
15
|
+
const MASTRA_EXPORTER_BRAND = Symbol.for("sentry.mastra.exporter");
|
|
16
|
+
/**
|
|
17
|
+
* Only conventional `gen_ai` ops. Unmapped Mastra types (workflow steps, processors, scorers, …)
|
|
18
|
+
* are dropped; their children re-parent onto the nearest mapped ancestor.
|
|
19
|
+
*
|
|
20
|
+
* `op` comes from `@sentry/conventions/op`. `operationName` is a `gen_ai.operation.name` literal —
|
|
21
|
+
* the conventions package has no constants for those.
|
|
22
|
+
*/
|
|
9
23
|
const SPAN_TYPE_OPS = {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
24
|
+
agent_run: {
|
|
25
|
+
op: GEN_AI_INVOKE_AGENT,
|
|
26
|
+
operationName: "invoke_agent"
|
|
27
|
+
},
|
|
28
|
+
workflow_run: {
|
|
29
|
+
op: GEN_AI_INVOKE_AGENT,
|
|
30
|
+
operationName: "invoke_agent"
|
|
31
|
+
},
|
|
32
|
+
model_generation: {
|
|
33
|
+
op: GEN_AI_CHAT,
|
|
34
|
+
operationName: "chat"
|
|
35
|
+
},
|
|
36
|
+
tool_call: {
|
|
37
|
+
op: GEN_AI_EXECUTE_TOOL,
|
|
38
|
+
operationName: "execute_tool"
|
|
39
|
+
},
|
|
40
|
+
mcp_tool_call: {
|
|
41
|
+
op: GEN_AI_EXECUTE_TOOL,
|
|
42
|
+
operationName: "execute_tool"
|
|
43
|
+
},
|
|
44
|
+
provider_tool_call: {
|
|
45
|
+
op: GEN_AI_EXECUTE_TOOL,
|
|
46
|
+
operationName: "execute_tool"
|
|
47
|
+
},
|
|
48
|
+
client_tool_call: {
|
|
49
|
+
op: GEN_AI_EXECUTE_TOOL,
|
|
50
|
+
operationName: "execute_tool"
|
|
51
|
+
},
|
|
52
|
+
rag_embedding: {
|
|
53
|
+
op: GEN_AI_EMBEDDINGS,
|
|
54
|
+
operationName: "embeddings"
|
|
55
|
+
},
|
|
56
|
+
classifier_evaluation: {
|
|
57
|
+
op: GEN_AI_DECIDE,
|
|
58
|
+
operationName: "decide"
|
|
59
|
+
}
|
|
19
60
|
};
|
|
20
61
|
const TOOL_SPAN_TYPES = /* @__PURE__ */ new Set([
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
62
|
+
"tool_call",
|
|
63
|
+
"mcp_tool_call",
|
|
64
|
+
"provider_tool_call",
|
|
65
|
+
"client_tool_call"
|
|
25
66
|
]);
|
|
67
|
+
/**
|
|
68
|
+
* `model_inference` is omitted: Mastra nests `model_generation > model_step > model_inference`,
|
|
69
|
+
* and the inference span repeats the generation — mapping both to `gen_ai.chat` duplicates it.
|
|
70
|
+
*/
|
|
26
71
|
const MODEL_SPAN_TYPES = /* @__PURE__ */ new Set(["model_generation"]);
|
|
27
72
|
const AGENT_SPAN_TYPES = /* @__PURE__ */ new Set(["agent_run", "workflow_run"]);
|
|
28
|
-
|
|
29
73
|
export { AGENT_SPAN_TYPES, COMMUNITY_MASTRA_SENTRY_EXPORTER_NAME, MASTRA_EXPORTER_BRAND, MASTRA_EXPORTER_NAME, MASTRA_INTEGRATION_NAME, MASTRA_ORIGIN, MAX_TRACKED_MASTRA_SPANS, MODEL_SPAN_TYPES, SPAN_TYPE_OPS, TOOL_SPAN_TYPES };
|
|
30
|
-
|
|
74
|
+
|
|
75
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sources":["../../../../src/ai/mastra/constants.ts"],"sourcesContent":["import {\n GEN_AI_CHAT,\n GEN_AI_DECIDE,\n GEN_AI_EMBEDDINGS,\n GEN_AI_EXECUTE_TOOL,\n GEN_AI_INVOKE_AGENT,\n} from '@sentry/conventions/op';\nimport type { MastraSpanType } from './types';\n\nexport const MASTRA_INTEGRATION_NAME = 'Mastra' as const;\n\n/** Cap on tracked spans, matching `MAX_TRACKED_PRISMA_SPANS`. Spans that never end would otherwise leak. */\nexport const MAX_TRACKED_MASTRA_SPANS = 1000;\n\nexport const MASTRA_ORIGIN = 'auto.ai.mastra';\n\n/** Not `sentry` — that is the community `@mastra/sentry` exporter name. */\nexport const MASTRA_EXPORTER_NAME = 'sentry-sdk';\n\n/** Name used by the community `@mastra/sentry` package. */\nexport const COMMUNITY_MASTRA_SENTRY_EXPORTER_NAME = 'sentry';\n\n/**\n * Distinguishes our exporter from the community one. `Symbol.for` so the check still matches if\n * two copies of `@sentry/server-utils` are loaded (`instanceof` would not).\n */\nexport const MASTRA_EXPORTER_BRAND = Symbol.for('sentry.mastra.exporter');\n\n/**\n * Only conventional `gen_ai` ops. Unmapped Mastra types (workflow steps, processors, scorers, …)\n * are dropped; their children re-parent onto the nearest mapped ancestor.\n *\n * `op` comes from `@sentry/conventions/op`. `operationName` is a `gen_ai.operation.name` literal —\n * the conventions package has no constants for those.\n */\nexport const SPAN_TYPE_OPS: Readonly<Record<string, { op: string; operationName: string }>> = {\n agent_run: { op: GEN_AI_INVOKE_AGENT, operationName: 'invoke_agent' },\n workflow_run: { op: GEN_AI_INVOKE_AGENT, operationName: 'invoke_agent' },\n model_generation: { op: GEN_AI_CHAT, operationName: 'chat' },\n tool_call: { op: GEN_AI_EXECUTE_TOOL, operationName: 'execute_tool' },\n mcp_tool_call: { op: GEN_AI_EXECUTE_TOOL, operationName: 'execute_tool' },\n provider_tool_call: { op: GEN_AI_EXECUTE_TOOL, operationName: 'execute_tool' },\n client_tool_call: { op: GEN_AI_EXECUTE_TOOL, operationName: 'execute_tool' },\n rag_embedding: { op: GEN_AI_EMBEDDINGS, operationName: 'embeddings' },\n classifier_evaluation: { op: GEN_AI_DECIDE, operationName: 'decide' },\n};\n\nexport const TOOL_SPAN_TYPES: ReadonlySet<string> = new Set<MastraSpanType>([\n 'tool_call',\n 'mcp_tool_call',\n 'provider_tool_call',\n 'client_tool_call',\n]);\n\n/**\n * `model_inference` is omitted: Mastra nests `model_generation > model_step > model_inference`,\n * and the inference span repeats the generation — mapping both to `gen_ai.chat` duplicates it.\n */\nexport const MODEL_SPAN_TYPES: ReadonlySet<string> = new Set<MastraSpanType>(['model_generation']);\n\nexport const AGENT_SPAN_TYPES: ReadonlySet<string> = new Set<MastraSpanType>(['agent_run', 'workflow_run']);\n"],"
|
|
1
|
+
{"version":3,"file":"constants.js","names":[],"sources":["../../../../src/ai/mastra/constants.ts"],"sourcesContent":["import {\n GEN_AI_CHAT,\n GEN_AI_DECIDE,\n GEN_AI_EMBEDDINGS,\n GEN_AI_EXECUTE_TOOL,\n GEN_AI_INVOKE_AGENT,\n} from '@sentry/conventions/op';\nimport type { MastraSpanType } from './types';\n\nexport const MASTRA_INTEGRATION_NAME = 'Mastra' as const;\n\n/** Cap on tracked spans, matching `MAX_TRACKED_PRISMA_SPANS`. Spans that never end would otherwise leak. */\nexport const MAX_TRACKED_MASTRA_SPANS = 1000;\n\nexport const MASTRA_ORIGIN = 'auto.ai.mastra';\n\n/** Not `sentry` — that is the community `@mastra/sentry` exporter name. */\nexport const MASTRA_EXPORTER_NAME = 'sentry-sdk';\n\n/** Name used by the community `@mastra/sentry` package. */\nexport const COMMUNITY_MASTRA_SENTRY_EXPORTER_NAME = 'sentry';\n\n/**\n * Distinguishes our exporter from the community one. `Symbol.for` so the check still matches if\n * two copies of `@sentry/server-utils` are loaded (`instanceof` would not).\n */\nexport const MASTRA_EXPORTER_BRAND = Symbol.for('sentry.mastra.exporter');\n\n/**\n * Only conventional `gen_ai` ops. Unmapped Mastra types (workflow steps, processors, scorers, …)\n * are dropped; their children re-parent onto the nearest mapped ancestor.\n *\n * `op` comes from `@sentry/conventions/op`. `operationName` is a `gen_ai.operation.name` literal —\n * the conventions package has no constants for those.\n */\nexport const SPAN_TYPE_OPS: Readonly<Record<string, { op: string; operationName: string }>> = {\n agent_run: { op: GEN_AI_INVOKE_AGENT, operationName: 'invoke_agent' },\n workflow_run: { op: GEN_AI_INVOKE_AGENT, operationName: 'invoke_agent' },\n model_generation: { op: GEN_AI_CHAT, operationName: 'chat' },\n tool_call: { op: GEN_AI_EXECUTE_TOOL, operationName: 'execute_tool' },\n mcp_tool_call: { op: GEN_AI_EXECUTE_TOOL, operationName: 'execute_tool' },\n provider_tool_call: { op: GEN_AI_EXECUTE_TOOL, operationName: 'execute_tool' },\n client_tool_call: { op: GEN_AI_EXECUTE_TOOL, operationName: 'execute_tool' },\n rag_embedding: { op: GEN_AI_EMBEDDINGS, operationName: 'embeddings' },\n classifier_evaluation: { op: GEN_AI_DECIDE, operationName: 'decide' },\n};\n\nexport const TOOL_SPAN_TYPES: ReadonlySet<string> = new Set<MastraSpanType>([\n 'tool_call',\n 'mcp_tool_call',\n 'provider_tool_call',\n 'client_tool_call',\n]);\n\n/**\n * `model_inference` is omitted: Mastra nests `model_generation > model_step > model_inference`,\n * and the inference span repeats the generation — mapping both to `gen_ai.chat` duplicates it.\n */\nexport const MODEL_SPAN_TYPES: ReadonlySet<string> = new Set<MastraSpanType>(['model_generation']);\n\nexport const AGENT_SPAN_TYPES: ReadonlySet<string> = new Set<MastraSpanType>(['agent_run', 'workflow_run']);\n"],"mappings":";;AASA,MAAa,0BAA0B;;AAGvC,MAAa,2BAA2B;AAExC,MAAa,gBAAgB;;AAG7B,MAAa,uBAAuB;;AAGpC,MAAa,wCAAwC;;;;;AAMrD,MAAa,wBAAwB,OAAO,IAAI,wBAAwB;;;;;;;;AASxE,MAAa,gBAAiF;CAC5F,WAAW;EAAE,IAAI;EAAqB,eAAe;CAAe;CACpE,cAAc;EAAE,IAAI;EAAqB,eAAe;CAAe;CACvE,kBAAkB;EAAE,IAAI;EAAa,eAAe;CAAO;CAC3D,WAAW;EAAE,IAAI;EAAqB,eAAe;CAAe;CACpE,eAAe;EAAE,IAAI;EAAqB,eAAe;CAAe;CACxE,oBAAoB;EAAE,IAAI;EAAqB,eAAe;CAAe;CAC7E,kBAAkB;EAAE,IAAI;EAAqB,eAAe;CAAe;CAC3E,eAAe;EAAE,IAAI;EAAmB,eAAe;CAAa;CACpE,uBAAuB;EAAE,IAAI;EAAe,eAAe;CAAS;AACtE;AAEA,MAAa,kCAAuC,IAAI,IAAoB;CAC1E;CACA;CACA;CACA;AACF,CAAC;;;;;AAMD,MAAa,mCAAwC,IAAI,IAAoB,CAAC,kBAAkB,CAAC;AAEjG,MAAa,mCAAwC,IAAI,IAAoB,CAAC,aAAa,cAAc,CAAC"}
|
|
@@ -1,193 +1,167 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
var _a;
|
|
1
|
+
import { DEBUG_BUILD } from "../../debug-build.js";
|
|
2
|
+
import { resolveAIRecordingOptions } from "../core/utils.js";
|
|
3
|
+
import { getOperation, getSpanAttributes, getSpanName, getUsageAttributes, isExportedSpanType, mergeUsageAttributes } from "./utils.js";
|
|
4
|
+
import { AGENT_SPAN_TYPES, MASTRA_EXPORTER_BRAND, MASTRA_EXPORTER_NAME, MASTRA_ORIGIN, MAX_TRACKED_MASTRA_SPANS, MODEL_SPAN_TYPES } from "./constants.js";
|
|
5
|
+
import { takeStartingClassifierEvaluation } from "./classifier-evaluation.js";
|
|
6
|
+
import { registerMastraSpan, unregisterMastraSpan } from "./span-registry.js";
|
|
7
|
+
import { GEN_AI_RESPONSE_MODEL, SENTRY_OP, SENTRY_ORIGIN } from "@sentry/conventions/attributes";
|
|
8
|
+
import { LRUMap, SPAN_STATUS_ERROR, debug, flush, getActiveSpan, getClient, startInactiveSpan, timestampInSeconds } from "@sentry/core";
|
|
9
|
+
// src/ai/mastra/index.ts
|
|
11
10
|
const FLUSH_TIMEOUT_MS = 2e3;
|
|
11
|
+
/** Bound on the skipped-span parent walk; a cyclic chain from Mastra would otherwise hang the process. */
|
|
12
12
|
const MAX_PARENT_WALK_DEPTH = 100;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
const attrs = span.attributes ?? {};
|
|
166
|
-
const rolled = mergeUsageAttributes(parent.usage, getUsageAttributes(attrs.usage));
|
|
167
|
-
parent.usage = rolled;
|
|
168
|
-
const model = attrs.responseModel ?? attrs.model;
|
|
169
|
-
if (model !== void 0) {
|
|
170
|
-
rolled[GEN_AI_RESPONSE_MODEL] = model;
|
|
171
|
-
}
|
|
172
|
-
parent.span.setAttributes(rolled);
|
|
173
|
-
}
|
|
174
|
-
/** Nearest exported ancestor of a dropped span. */
|
|
175
|
-
_resolveParentId(parentSpanId) {
|
|
176
|
-
let current = parentSpanId;
|
|
177
|
-
for (let depth = 0; current; depth++) {
|
|
178
|
-
const parentOfSkipped = this._skipped.get(current);
|
|
179
|
-
if (parentOfSkipped === void 0) {
|
|
180
|
-
return current;
|
|
181
|
-
}
|
|
182
|
-
if (depth >= MAX_PARENT_WALK_DEPTH) {
|
|
183
|
-
DEBUG_BUILD && debug.warn("[Mastra] gave up walking a parent chain that is too deep or cyclic");
|
|
184
|
-
return void 0;
|
|
185
|
-
}
|
|
186
|
-
current = parentOfSkipped === current ? void 0 : parentOfSkipped;
|
|
187
|
-
}
|
|
188
|
-
return void 0;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Mastra `ObservabilityExporter` that turns tracing events into Sentry spans.
|
|
15
|
+
*
|
|
16
|
+
* Never calls `Sentry.init()` / `Sentry.close()` — the community `@mastra/sentry` package does both
|
|
17
|
+
* and replaces the app's client. No `@mastra/*` or `node:` imports.
|
|
18
|
+
*/
|
|
19
|
+
var SentryMastraExporter = class {
|
|
20
|
+
constructor(options = {}) {
|
|
21
|
+
this.name = MASTRA_EXPORTER_NAME;
|
|
22
|
+
this[MASTRA_EXPORTER_BRAND] = true;
|
|
23
|
+
this._spans = new LRUMap(MAX_TRACKED_MASTRA_SPANS);
|
|
24
|
+
this._skipped = new LRUMap(MAX_TRACKED_MASTRA_SPANS);
|
|
25
|
+
this._spanOutputProcessors = [];
|
|
26
|
+
this._options = options;
|
|
27
|
+
}
|
|
28
|
+
/** Called by Mastra with the config of the observability instance this exporter belongs to. */
|
|
29
|
+
init(options) {
|
|
30
|
+
this._spanOutputProcessors = options.config?.spanOutputProcessors ?? [];
|
|
31
|
+
}
|
|
32
|
+
/** Mastra's interface is async; the work is synchronous. */
|
|
33
|
+
async exportTracingEvent(event) {
|
|
34
|
+
if (!getClient()) return;
|
|
35
|
+
try {
|
|
36
|
+
this._handleEvent(event);
|
|
37
|
+
} catch (error) {
|
|
38
|
+
DEBUG_BUILD && debug.error("[Mastra] failed to export tracing event", error);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
/** Flush without closing the client — the app still owns it. */
|
|
42
|
+
async flush() {
|
|
43
|
+
await flush(FLUSH_TIMEOUT_MS);
|
|
44
|
+
}
|
|
45
|
+
/** End open spans, then flush. Does not close the Sentry client. */
|
|
46
|
+
async shutdown() {
|
|
47
|
+
for (const id of this._spans.keys()) unregisterMastraSpan(id);
|
|
48
|
+
for (const { span } of this._spans.values()) span.end();
|
|
49
|
+
this._spans.clear();
|
|
50
|
+
this._skipped.clear();
|
|
51
|
+
await this.flush();
|
|
52
|
+
}
|
|
53
|
+
_handleEvent(event) {
|
|
54
|
+
const span = event.exportedSpan;
|
|
55
|
+
if (span.isEvent) return;
|
|
56
|
+
if (!isExportedSpanType(span.type)) {
|
|
57
|
+
if (event.type === "span_started") this._skipped.set(span.id, span.parentSpanId ?? span.id);
|
|
58
|
+
else if (event.type === "span_ended") this._skipped.remove(span.id);
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
const recordingOptions = resolveAIRecordingOptions(this._options);
|
|
62
|
+
switch (event.type) {
|
|
63
|
+
case "span_started":
|
|
64
|
+
this._onSpanStarted(span, recordingOptions);
|
|
65
|
+
break;
|
|
66
|
+
case "span_updated":
|
|
67
|
+
this._onSpanUpdated(span, recordingOptions);
|
|
68
|
+
break;
|
|
69
|
+
case "span_ended": this._onSpanEnded(span, recordingOptions);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
_onSpanStarted(span, recordingOptions) {
|
|
73
|
+
const parentId = this._resolveParentId(span.parentSpanId);
|
|
74
|
+
const parentSpan = parentId ? this._spans.get(parentId)?.span : void 0;
|
|
75
|
+
const activeSpan = getActiveSpan();
|
|
76
|
+
const sentrySpan = startInactiveSpan({
|
|
77
|
+
name: getSpanName(span),
|
|
78
|
+
startTime: span.startTime,
|
|
79
|
+
parentSpan: parentSpan ?? activeSpan,
|
|
80
|
+
attributes: {
|
|
81
|
+
...getSpanAttributes(span, recordingOptions),
|
|
82
|
+
[SENTRY_OP]: getOperation(span.type)?.op,
|
|
83
|
+
[SENTRY_ORIGIN]: MASTRA_ORIGIN
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
const evaluation = span.type === "classifier_evaluation" ? takeStartingClassifierEvaluation() : void 0;
|
|
87
|
+
if (evaluation) Object.assign(evaluation, {
|
|
88
|
+
span: sentrySpan,
|
|
89
|
+
mastraSpan: span,
|
|
90
|
+
spanOutputProcessors: this._spanOutputProcessors,
|
|
91
|
+
recordInputs: recordingOptions.recordInputs,
|
|
92
|
+
recordOutputs: recordingOptions.recordOutputs
|
|
93
|
+
});
|
|
94
|
+
this._trackSpan(span.id, {
|
|
95
|
+
span: sentrySpan,
|
|
96
|
+
spanType: span.type,
|
|
97
|
+
usage: {},
|
|
98
|
+
evaluation
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
/** Track a started span, ending any Sentry span that would otherwise be dropped without `end()`. */
|
|
102
|
+
_trackSpan(id, tracked) {
|
|
103
|
+
this._removeTracked(id)?.span.end();
|
|
104
|
+
if (this._spans.size >= 1e3) {
|
|
105
|
+
const oldestId = this._spans.keys()[0];
|
|
106
|
+
if (oldestId !== void 0) this._removeTracked(oldestId)?.span.end();
|
|
107
|
+
}
|
|
108
|
+
this._spans.set(id, tracked);
|
|
109
|
+
registerMastraSpan(id, tracked.span);
|
|
110
|
+
}
|
|
111
|
+
/** Remove a tracked span and keep the id→span registry in lockstep. */
|
|
112
|
+
_removeTracked(id) {
|
|
113
|
+
unregisterMastraSpan(id);
|
|
114
|
+
return this._spans.remove(id);
|
|
115
|
+
}
|
|
116
|
+
_onSpanUpdated(span, recordingOptions) {
|
|
117
|
+
const tracked = this._spans.get(span.id);
|
|
118
|
+
if (tracked) tracked.span.setAttributes(getSpanAttributes(span, recordingOptions));
|
|
119
|
+
}
|
|
120
|
+
_onSpanEnded(span, recordingOptions) {
|
|
121
|
+
const tracked = this._spans.get(span.id);
|
|
122
|
+
if (!tracked) {
|
|
123
|
+
DEBUG_BUILD && debug.warn(`[Mastra] no Sentry span open for ended span ${span.id} (${span.name})`);
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
const { span: sentrySpan } = tracked;
|
|
127
|
+
sentrySpan.setAttributes(getSpanAttributes(span, recordingOptions));
|
|
128
|
+
sentrySpan.updateName(getSpanName(span));
|
|
129
|
+
if (MODEL_SPAN_TYPES.has(span.type)) this._rollUpToParentAgent(span);
|
|
130
|
+
if (span.errorInfo) sentrySpan.setStatus({
|
|
131
|
+
code: SPAN_STATUS_ERROR,
|
|
132
|
+
message: span.errorInfo.message
|
|
133
|
+
});
|
|
134
|
+
const { evaluation } = tracked;
|
|
135
|
+
if (evaluation && !evaluation.settled) evaluation.endTime = span.endTime ?? timestampInSeconds();
|
|
136
|
+
else sentrySpan.end(span.endTime);
|
|
137
|
+
this._removeTracked(span.id);
|
|
138
|
+
}
|
|
139
|
+
/** Copy model/usage onto the parent agent so the AI Agents view shows totals. */
|
|
140
|
+
_rollUpToParentAgent(span) {
|
|
141
|
+
const parentId = this._resolveParentId(span.parentSpanId);
|
|
142
|
+
const parent = parentId ? this._spans.get(parentId) : void 0;
|
|
143
|
+
if (!parent || !AGENT_SPAN_TYPES.has(parent.spanType)) return;
|
|
144
|
+
const attrs = span.attributes ?? {};
|
|
145
|
+
const rolled = mergeUsageAttributes(parent.usage, getUsageAttributes(attrs.usage));
|
|
146
|
+
parent.usage = rolled;
|
|
147
|
+
const model = attrs.responseModel ?? attrs.model;
|
|
148
|
+
if (model !== void 0) rolled[GEN_AI_RESPONSE_MODEL] = model;
|
|
149
|
+
parent.span.setAttributes(rolled);
|
|
150
|
+
}
|
|
151
|
+
/** Nearest exported ancestor of a dropped span. */
|
|
152
|
+
_resolveParentId(parentSpanId) {
|
|
153
|
+
let current = parentSpanId;
|
|
154
|
+
for (let depth = 0; current; depth++) {
|
|
155
|
+
const parentOfSkipped = this._skipped.get(current);
|
|
156
|
+
if (parentOfSkipped === void 0) return current;
|
|
157
|
+
if (depth >= MAX_PARENT_WALK_DEPTH) {
|
|
158
|
+
DEBUG_BUILD && debug.warn("[Mastra] gave up walking a parent chain that is too deep or cyclic");
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
current = parentOfSkipped === current ? void 0 : parentOfSkipped;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
};
|
|
192
165
|
export { SentryMastraExporter };
|
|
193
|
-
|
|
166
|
+
|
|
167
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/ai/mastra/index.ts"],"sourcesContent":["import type { Span } from '@sentry/core';\nimport {\n debug,\n flush as sentryFlush,\n getActiveSpan,\n getClient,\n LRUMap,\n SPAN_STATUS_ERROR,\n startInactiveSpan,\n timestampInSeconds,\n} from '@sentry/core';\nimport { GEN_AI_RESPONSE_MODEL, SENTRY_OP, SENTRY_ORIGIN } from '@sentry/conventions/attributes';\nimport { DEBUG_BUILD } from '../../debug-build';\nimport type { GenAiOptions } from '../core/utils';\nimport { resolveAIRecordingOptions } from '../core/utils';\nimport {\n getOperation,\n getSpanAttributes,\n getSpanName,\n getUsageAttributes,\n isExportedSpanType,\n mergeUsageAttributes,\n type AttributeRecordingOptions,\n type SpanAttributes,\n} from './utils';\nimport {\n AGENT_SPAN_TYPES,\n MASTRA_EXPORTER_BRAND,\n MASTRA_EXPORTER_NAME,\n MASTRA_ORIGIN,\n MAX_TRACKED_MASTRA_SPANS,\n MODEL_SPAN_TYPES,\n} from './constants';\nimport type { ClassifierEvaluationCall } from './classifier-evaluation';\nimport { takeStartingClassifierEvaluation } from './classifier-evaluation';\nimport { registerMastraSpan, unregisterMastraSpan } from './span-registry';\nimport type {\n MastraExportedSpan,\n MastraExporterInitOptions,\n MastraObservabilityExporter,\n MastraSpanOutputProcessor,\n MastraSpanType,\n MastraTracingEvent,\n} from './types';\n\nexport type MastraExporterOptions = GenAiOptions;\n\ninterface TrackedSpan {\n span: Span;\n spanType: MastraSpanType;\n usage: SpanAttributes;\n evaluation?: ClassifierEvaluationCall;\n}\n\nconst FLUSH_TIMEOUT_MS = 2000;\n\n/** Bound on the skipped-span parent walk; a cyclic chain from Mastra would otherwise hang the process. */\nconst MAX_PARENT_WALK_DEPTH = 100;\n\n/**\n * Mastra `ObservabilityExporter` that turns tracing events into Sentry spans.\n *\n * Never calls `Sentry.init()` / `Sentry.close()` — the community `@mastra/sentry` package does both\n * and replaces the app's client. No `@mastra/*` or `node:` imports.\n */\nexport class SentryMastraExporter implements MastraObservabilityExporter {\n public name = MASTRA_EXPORTER_NAME;\n\n public readonly [MASTRA_EXPORTER_BRAND] = true;\n\n private readonly _spans = new LRUMap<string, TrackedSpan>(MAX_TRACKED_MASTRA_SPANS);\n /**\n * Dropped span id -> parent id, for re-parenting descendants. A dropped span with no parent maps to\n * its own id: `LRUMap.remove` only deletes truthy values, so an empty-string sentinel would never be\n * evicted and would eventually fill the map, while a self-reference can never be a real parent id.\n */\n private readonly _skipped = new LRUMap<string, string>(MAX_TRACKED_MASTRA_SPANS);\n private readonly _options: MastraExporterOptions;\n private _spanOutputProcessors: MastraSpanOutputProcessor[] = [];\n\n public constructor(options: MastraExporterOptions = {}) {\n this._options = options;\n }\n\n /** Called by Mastra with the config of the observability instance this exporter belongs to. */\n public init(options: MastraExporterInitOptions): void {\n this._spanOutputProcessors = options.config?.spanOutputProcessors ?? [];\n }\n\n /** Mastra's interface is async; the work is synchronous. */\n public async exportTracingEvent(event: MastraTracingEvent): Promise<void> {\n if (!getClient()) {\n return;\n }\n\n try {\n this._handleEvent(event);\n } catch (error) {\n DEBUG_BUILD && debug.error('[Mastra] failed to export tracing event', error);\n }\n }\n\n /** Flush without closing the client — the app still owns it. */\n public async flush(): Promise<void> {\n await sentryFlush(FLUSH_TIMEOUT_MS);\n }\n\n /** End open spans, then flush. Does not close the Sentry client. */\n public async shutdown(): Promise<void> {\n for (const id of this._spans.keys()) {\n unregisterMastraSpan(id);\n }\n for (const { span } of this._spans.values()) {\n span.end();\n }\n this._spans.clear();\n this._skipped.clear();\n await this.flush();\n }\n\n private _handleEvent(event: MastraTracingEvent): void {\n const span = event.exportedSpan;\n\n if (span.isEvent) {\n return;\n }\n\n // Unmapped types are recorded so children re-parent onto a surviving ancestor.\n if (!isExportedSpanType(span.type)) {\n if (event.type === 'span_started') {\n this._skipped.set(span.id, span.parentSpanId ?? span.id);\n } else if (event.type === 'span_ended') {\n this._skipped.remove(span.id);\n }\n return;\n }\n\n // Per event: the exporter can be constructed before `Sentry.init()`, when `dataCollection.genAI` does not exist yet.\n const recordingOptions = resolveAIRecordingOptions(this._options);\n switch (event.type) {\n case 'span_started':\n this._onSpanStarted(span, recordingOptions);\n break;\n case 'span_updated':\n this._onSpanUpdated(span, recordingOptions);\n break;\n case 'span_ended':\n this._onSpanEnded(span, recordingOptions);\n break;\n }\n }\n\n private _onSpanStarted(span: MastraExportedSpan, recordingOptions: AttributeRecordingOptions): void {\n const parentId = this._resolveParentId(span.parentSpanId);\n const parentSpan = parentId ? this._spans.get(parentId)?.span : undefined;\n const activeSpan = getActiveSpan();\n\n const sentrySpan = startInactiveSpan({\n name: getSpanName(span),\n startTime: span.startTime,\n // Prefer the Mastra parent so the tree stays together; else the active request span.\n parentSpan: parentSpan ?? activeSpan,\n attributes: {\n ...getSpanAttributes(span, recordingOptions),\n [SENTRY_OP]: getOperation(span.type)?.op,\n [SENTRY_ORIGIN]: MASTRA_ORIGIN,\n },\n });\n\n const evaluation = span.type === 'classifier_evaluation' ? takeStartingClassifierEvaluation() : undefined;\n if (evaluation) {\n Object.assign(evaluation, {\n span: sentrySpan,\n mastraSpan: span,\n spanOutputProcessors: this._spanOutputProcessors,\n recordInputs: recordingOptions.recordInputs,\n recordOutputs: recordingOptions.recordOutputs,\n });\n }\n\n this._trackSpan(span.id, { span: sentrySpan, spanType: span.type, usage: {}, evaluation });\n }\n\n /** Track a started span, ending any Sentry span that would otherwise be dropped without `end()`. */\n private _trackSpan(id: string, tracked: TrackedSpan): void {\n // A duplicate `span_started` would otherwise overwrite the entry and leak its Sentry span.\n this._removeTracked(id)?.span.end();\n\n // `LRUMap.set` evicts the oldest entry once the map is full, dropping that span without ending it.\n if (this._spans.size >= MAX_TRACKED_MASTRA_SPANS) {\n const oldestId = this._spans.keys()[0];\n if (oldestId !== undefined) {\n this._removeTracked(oldestId)?.span.end();\n }\n }\n\n this._spans.set(id, tracked);\n // Let the `executeWithContext` channel subscriber find this Sentry span by Mastra span id.\n registerMastraSpan(id, tracked.span);\n }\n\n /** Remove a tracked span and keep the id→span registry in lockstep. */\n private _removeTracked(id: string): TrackedSpan | undefined {\n unregisterMastraSpan(id);\n return this._spans.remove(id);\n }\n\n private _onSpanUpdated(span: MastraExportedSpan, recordingOptions: AttributeRecordingOptions): void {\n const tracked = this._spans.get(span.id);\n if (tracked) {\n tracked.span.setAttributes(getSpanAttributes(span, recordingOptions));\n }\n }\n\n private _onSpanEnded(span: MastraExportedSpan, recordingOptions: AttributeRecordingOptions): void {\n const tracked = this._spans.get(span.id);\n if (!tracked) {\n DEBUG_BUILD && debug.warn(`[Mastra] no Sentry span open for ended span ${span.id} (${span.name})`);\n return;\n }\n\n const { span: sentrySpan } = tracked;\n sentrySpan.setAttributes(getSpanAttributes(span, recordingOptions));\n sentrySpan.updateName(getSpanName(span));\n\n if (MODEL_SPAN_TYPES.has(span.type)) {\n this._rollUpToParentAgent(span);\n }\n\n if (span.errorInfo) {\n // Status only — capturing here would duplicate the app's own report with a worse stack.\n sentrySpan.setStatus({ code: SPAN_STATUS_ERROR, message: span.errorInfo.message });\n }\n\n const { evaluation } = tracked;\n if (evaluation && !evaluation.settled) {\n // The integration adds the call's input and answers once `evaluate()` settles, then ends the span.\n evaluation.endTime = span.endTime ?? timestampInSeconds();\n } else {\n sentrySpan.end(span.endTime);\n }\n this._removeTracked(span.id);\n }\n\n /** Copy model/usage onto the parent agent so the AI Agents view shows totals. */\n private _rollUpToParentAgent(span: MastraExportedSpan): void {\n const parentId = this._resolveParentId(span.parentSpanId);\n const parent = parentId ? this._spans.get(parentId) : undefined;\n if (!parent || !AGENT_SPAN_TYPES.has(parent.spanType)) {\n return;\n }\n\n const attrs = span.attributes ?? {};\n const rolled = mergeUsageAttributes(parent.usage, getUsageAttributes(attrs.usage));\n parent.usage = rolled;\n const model = attrs.responseModel ?? attrs.model;\n if (model !== undefined) {\n rolled[GEN_AI_RESPONSE_MODEL] = model;\n }\n parent.span.setAttributes(rolled);\n }\n\n /** Nearest exported ancestor of a dropped span. */\n private _resolveParentId(parentSpanId: string | undefined): string | undefined {\n let current = parentSpanId;\n for (let depth = 0; current; depth++) {\n const parentOfSkipped = this._skipped.get(current);\n if (parentOfSkipped === undefined) {\n return current;\n }\n if (depth >= MAX_PARENT_WALK_DEPTH) {\n DEBUG_BUILD && debug.warn('[Mastra] gave up walking a parent chain that is too deep or cyclic');\n return undefined;\n }\n // Self-reference marks a dropped span with no parent; stop and fall back to the active span.\n current = parentOfSkipped === current ? undefined : parentOfSkipped;\n }\n return undefined;\n }\n}\n"],"names":["sentryFlush"],"mappings":";;;;;;;;;AAAA,CAAA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AA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,OAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACT;AAEA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAoB,UAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CACtD;AACA,CAAA,CAAA,CAAA,CAAA,OAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CACT;AACF;;"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["sentryFlush"],"sources":["../../../../src/ai/mastra/index.ts"],"sourcesContent":["import type { Span } from '@sentry/core';\nimport {\n debug,\n flush as sentryFlush,\n getActiveSpan,\n getClient,\n LRUMap,\n SPAN_STATUS_ERROR,\n startInactiveSpan,\n timestampInSeconds,\n} from '@sentry/core';\nimport { GEN_AI_RESPONSE_MODEL, SENTRY_OP, SENTRY_ORIGIN } from '@sentry/conventions/attributes';\nimport { DEBUG_BUILD } from '../../debug-build';\nimport type { GenAiOptions } from '../core/utils';\nimport { resolveAIRecordingOptions } from '../core/utils';\nimport {\n getOperation,\n getSpanAttributes,\n getSpanName,\n getUsageAttributes,\n isExportedSpanType,\n mergeUsageAttributes,\n type AttributeRecordingOptions,\n type SpanAttributes,\n} from './utils';\nimport {\n AGENT_SPAN_TYPES,\n MASTRA_EXPORTER_BRAND,\n MASTRA_EXPORTER_NAME,\n MASTRA_ORIGIN,\n MAX_TRACKED_MASTRA_SPANS,\n MODEL_SPAN_TYPES,\n} from './constants';\nimport type { ClassifierEvaluationCall } from './classifier-evaluation';\nimport { takeStartingClassifierEvaluation } from './classifier-evaluation';\nimport { registerMastraSpan, unregisterMastraSpan } from './span-registry';\nimport type {\n MastraExportedSpan,\n MastraExporterInitOptions,\n MastraObservabilityExporter,\n MastraSpanOutputProcessor,\n MastraSpanType,\n MastraTracingEvent,\n} from './types';\n\nexport type MastraExporterOptions = GenAiOptions;\n\ninterface TrackedSpan {\n span: Span;\n spanType: MastraSpanType;\n usage: SpanAttributes;\n evaluation?: ClassifierEvaluationCall;\n}\n\nconst FLUSH_TIMEOUT_MS = 2000;\n\n/** Bound on the skipped-span parent walk; a cyclic chain from Mastra would otherwise hang the process. */\nconst MAX_PARENT_WALK_DEPTH = 100;\n\n/**\n * Mastra `ObservabilityExporter` that turns tracing events into Sentry spans.\n *\n * Never calls `Sentry.init()` / `Sentry.close()` — the community `@mastra/sentry` package does both\n * and replaces the app's client. No `@mastra/*` or `node:` imports.\n */\nexport class SentryMastraExporter implements MastraObservabilityExporter {\n public name = MASTRA_EXPORTER_NAME;\n\n public readonly [MASTRA_EXPORTER_BRAND] = true;\n\n private readonly _spans = new LRUMap<string, TrackedSpan>(MAX_TRACKED_MASTRA_SPANS);\n /**\n * Dropped span id -> parent id, for re-parenting descendants. A dropped span with no parent maps to\n * its own id: `LRUMap.remove` only deletes truthy values, so an empty-string sentinel would never be\n * evicted and would eventually fill the map, while a self-reference can never be a real parent id.\n */\n private readonly _skipped = new LRUMap<string, string>(MAX_TRACKED_MASTRA_SPANS);\n private readonly _options: MastraExporterOptions;\n private _spanOutputProcessors: MastraSpanOutputProcessor[] = [];\n\n public constructor(options: MastraExporterOptions = {}) {\n this._options = options;\n }\n\n /** Called by Mastra with the config of the observability instance this exporter belongs to. */\n public init(options: MastraExporterInitOptions): void {\n this._spanOutputProcessors = options.config?.spanOutputProcessors ?? [];\n }\n\n /** Mastra's interface is async; the work is synchronous. */\n public async exportTracingEvent(event: MastraTracingEvent): Promise<void> {\n if (!getClient()) {\n return;\n }\n\n try {\n this._handleEvent(event);\n } catch (error) {\n DEBUG_BUILD && debug.error('[Mastra] failed to export tracing event', error);\n }\n }\n\n /** Flush without closing the client — the app still owns it. */\n public async flush(): Promise<void> {\n await sentryFlush(FLUSH_TIMEOUT_MS);\n }\n\n /** End open spans, then flush. Does not close the Sentry client. */\n public async shutdown(): Promise<void> {\n for (const id of this._spans.keys()) {\n unregisterMastraSpan(id);\n }\n for (const { span } of this._spans.values()) {\n span.end();\n }\n this._spans.clear();\n this._skipped.clear();\n await this.flush();\n }\n\n private _handleEvent(event: MastraTracingEvent): void {\n const span = event.exportedSpan;\n\n if (span.isEvent) {\n return;\n }\n\n // Unmapped types are recorded so children re-parent onto a surviving ancestor.\n if (!isExportedSpanType(span.type)) {\n if (event.type === 'span_started') {\n this._skipped.set(span.id, span.parentSpanId ?? span.id);\n } else if (event.type === 'span_ended') {\n this._skipped.remove(span.id);\n }\n return;\n }\n\n // Per event: the exporter can be constructed before `Sentry.init()`, when `dataCollection.genAI` does not exist yet.\n const recordingOptions = resolveAIRecordingOptions(this._options);\n switch (event.type) {\n case 'span_started':\n this._onSpanStarted(span, recordingOptions);\n break;\n case 'span_updated':\n this._onSpanUpdated(span, recordingOptions);\n break;\n case 'span_ended':\n this._onSpanEnded(span, recordingOptions);\n break;\n }\n }\n\n private _onSpanStarted(span: MastraExportedSpan, recordingOptions: AttributeRecordingOptions): void {\n const parentId = this._resolveParentId(span.parentSpanId);\n const parentSpan = parentId ? this._spans.get(parentId)?.span : undefined;\n const activeSpan = getActiveSpan();\n\n const sentrySpan = startInactiveSpan({\n name: getSpanName(span),\n startTime: span.startTime,\n // Prefer the Mastra parent so the tree stays together; else the active request span.\n parentSpan: parentSpan ?? activeSpan,\n attributes: {\n ...getSpanAttributes(span, recordingOptions),\n [SENTRY_OP]: getOperation(span.type)?.op,\n [SENTRY_ORIGIN]: MASTRA_ORIGIN,\n },\n });\n\n const evaluation = span.type === 'classifier_evaluation' ? takeStartingClassifierEvaluation() : undefined;\n if (evaluation) {\n Object.assign(evaluation, {\n span: sentrySpan,\n mastraSpan: span,\n spanOutputProcessors: this._spanOutputProcessors,\n recordInputs: recordingOptions.recordInputs,\n recordOutputs: recordingOptions.recordOutputs,\n });\n }\n\n this._trackSpan(span.id, { span: sentrySpan, spanType: span.type, usage: {}, evaluation });\n }\n\n /** Track a started span, ending any Sentry span that would otherwise be dropped without `end()`. */\n private _trackSpan(id: string, tracked: TrackedSpan): void {\n // A duplicate `span_started` would otherwise overwrite the entry and leak its Sentry span.\n this._removeTracked(id)?.span.end();\n\n // `LRUMap.set` evicts the oldest entry once the map is full, dropping that span without ending it.\n if (this._spans.size >= MAX_TRACKED_MASTRA_SPANS) {\n const oldestId = this._spans.keys()[0];\n if (oldestId !== undefined) {\n this._removeTracked(oldestId)?.span.end();\n }\n }\n\n this._spans.set(id, tracked);\n // Let the `executeWithContext` channel subscriber find this Sentry span by Mastra span id.\n registerMastraSpan(id, tracked.span);\n }\n\n /** Remove a tracked span and keep the id→span registry in lockstep. */\n private _removeTracked(id: string): TrackedSpan | undefined {\n unregisterMastraSpan(id);\n return this._spans.remove(id);\n }\n\n private _onSpanUpdated(span: MastraExportedSpan, recordingOptions: AttributeRecordingOptions): void {\n const tracked = this._spans.get(span.id);\n if (tracked) {\n tracked.span.setAttributes(getSpanAttributes(span, recordingOptions));\n }\n }\n\n private _onSpanEnded(span: MastraExportedSpan, recordingOptions: AttributeRecordingOptions): void {\n const tracked = this._spans.get(span.id);\n if (!tracked) {\n DEBUG_BUILD && debug.warn(`[Mastra] no Sentry span open for ended span ${span.id} (${span.name})`);\n return;\n }\n\n const { span: sentrySpan } = tracked;\n sentrySpan.setAttributes(getSpanAttributes(span, recordingOptions));\n sentrySpan.updateName(getSpanName(span));\n\n if (MODEL_SPAN_TYPES.has(span.type)) {\n this._rollUpToParentAgent(span);\n }\n\n if (span.errorInfo) {\n // Status only — capturing here would duplicate the app's own report with a worse stack.\n sentrySpan.setStatus({ code: SPAN_STATUS_ERROR, message: span.errorInfo.message });\n }\n\n const { evaluation } = tracked;\n if (evaluation && !evaluation.settled) {\n // The integration adds the call's input and answers once `evaluate()` settles, then ends the span.\n evaluation.endTime = span.endTime ?? timestampInSeconds();\n } else {\n sentrySpan.end(span.endTime);\n }\n this._removeTracked(span.id);\n }\n\n /** Copy model/usage onto the parent agent so the AI Agents view shows totals. */\n private _rollUpToParentAgent(span: MastraExportedSpan): void {\n const parentId = this._resolveParentId(span.parentSpanId);\n const parent = parentId ? this._spans.get(parentId) : undefined;\n if (!parent || !AGENT_SPAN_TYPES.has(parent.spanType)) {\n return;\n }\n\n const attrs = span.attributes ?? {};\n const rolled = mergeUsageAttributes(parent.usage, getUsageAttributes(attrs.usage));\n parent.usage = rolled;\n const model = attrs.responseModel ?? attrs.model;\n if (model !== undefined) {\n rolled[GEN_AI_RESPONSE_MODEL] = model;\n }\n parent.span.setAttributes(rolled);\n }\n\n /** Nearest exported ancestor of a dropped span. */\n private _resolveParentId(parentSpanId: string | undefined): string | undefined {\n let current = parentSpanId;\n for (let depth = 0; current; depth++) {\n const parentOfSkipped = this._skipped.get(current);\n if (parentOfSkipped === undefined) {\n return current;\n }\n if (depth >= MAX_PARENT_WALK_DEPTH) {\n DEBUG_BUILD && debug.warn('[Mastra] gave up walking a parent chain that is too deep or cyclic');\n return undefined;\n }\n // Self-reference marks a dropped span with no parent; stop and fall back to the active span.\n current = parentOfSkipped === current ? undefined : parentOfSkipped;\n }\n return undefined;\n }\n}\n"],"mappings":";;;;;;;;;AAsDA,MAAM,mBAAmB;;AAGzB,MAAM,wBAAwB;;;;;;;AAQ9B,IAAa,uBAAb,MAAyE;CAehE,YAAY,UAAiC,CAAC,GAAG;EAdxD,KAAO,OAAO;EAEd,KAAiB,yBAAyB;EAE1C,KAAiB,SAAS,IAAI,OAA4B,wBAAwB;EAMlF,KAAiB,WAAW,IAAI,OAAuB,wBAAwB;EAE/E,KAAQ,wBAAqD,CAAC;EA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