@depup/sentry__server-utils 10.67.0-depup.0 → 10.68.0-depup.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/README.md +5 -4
- package/build/cjs/integrations/tracing-channel/dataloader.js +17 -7
- package/build/cjs/integrations/tracing-channel/dataloader.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/fastify/index.js +2 -4
- package/build/cjs/integrations/tracing-channel/fastify/index.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/fastify/utils.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/firebase/firestore.js +78 -0
- package/build/cjs/integrations/tracing-channel/firebase/firestore.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/firebase/functions.js +67 -0
- package/build/cjs/integrations/tracing-channel/firebase/functions.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/firebase/index.js +24 -0
- package/build/cjs/integrations/tracing-channel/firebase/index.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js +66 -0
- package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js.map +1 -0
- package/build/cjs/orchestrion/bundler/esbuild.js +24 -1
- package/build/cjs/orchestrion/bundler/esbuild.js.map +1 -1
- package/build/cjs/orchestrion/bundler/options.js +16 -2
- package/build/cjs/orchestrion/bundler/options.js.map +1 -1
- package/build/cjs/orchestrion/bundler/rollup.js +11 -1
- package/build/cjs/orchestrion/bundler/rollup.js.map +1 -1
- package/build/cjs/orchestrion/bundler/subscribeInjection.js +40 -0
- package/build/cjs/orchestrion/bundler/subscribeInjection.js.map +1 -0
- package/build/cjs/orchestrion/bundler/vite.js +13 -0
- package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
- package/build/cjs/orchestrion/bundler/webpack.js +32 -1
- package/build/cjs/orchestrion/bundler/webpack.js.map +1 -1
- package/build/cjs/orchestrion/channels.js +0 -4
- package/build/cjs/orchestrion/channels.js.map +1 -1
- package/build/cjs/orchestrion/config/amqplib.js +4 -0
- package/build/cjs/orchestrion/config/amqplib.js.map +1 -1
- package/build/cjs/orchestrion/config/anthropic-ai.js +4 -0
- package/build/cjs/orchestrion/config/anthropic-ai.js.map +1 -1
- package/build/cjs/orchestrion/config/aws-sdk.js +4 -0
- package/build/cjs/orchestrion/config/aws-sdk.js.map +1 -1
- package/build/cjs/orchestrion/config/channel-integration-definitions.js +29 -0
- package/build/cjs/orchestrion/config/channel-integration-definitions.js.map +1 -0
- package/build/cjs/orchestrion/config/dataloader.js +4 -0
- package/build/cjs/orchestrion/config/dataloader.js.map +1 -1
- package/build/cjs/orchestrion/config/express.js +4 -0
- package/build/cjs/orchestrion/config/express.js.map +1 -1
- package/build/cjs/orchestrion/config/firebase.js +79 -2
- package/build/cjs/orchestrion/config/firebase.js.map +1 -1
- package/build/cjs/orchestrion/config/generic-pool.js +4 -0
- package/build/cjs/orchestrion/config/generic-pool.js.map +1 -1
- package/build/cjs/orchestrion/config/google-genai.js +4 -0
- package/build/cjs/orchestrion/config/google-genai.js.map +1 -1
- package/build/cjs/orchestrion/config/graphql.js +4 -0
- package/build/cjs/orchestrion/config/graphql.js.map +1 -1
- package/build/cjs/orchestrion/config/hapi.js +4 -0
- package/build/cjs/orchestrion/config/hapi.js.map +1 -1
- package/build/cjs/orchestrion/config/index.js +33 -5
- package/build/cjs/orchestrion/config/index.js.map +1 -1
- package/build/cjs/orchestrion/config/ioredis.js +4 -0
- package/build/cjs/orchestrion/config/ioredis.js.map +1 -1
- package/build/cjs/orchestrion/config/kafkajs.js +4 -0
- package/build/cjs/orchestrion/config/kafkajs.js.map +1 -1
- package/build/cjs/orchestrion/config/knex.js +4 -0
- package/build/cjs/orchestrion/config/knex.js.map +1 -1
- package/build/cjs/orchestrion/config/koa.js +4 -0
- package/build/cjs/orchestrion/config/koa.js.map +1 -1
- package/build/cjs/orchestrion/config/langchain.js +4 -0
- package/build/cjs/orchestrion/config/langchain.js.map +1 -1
- package/build/cjs/orchestrion/config/langgraph.js +4 -0
- package/build/cjs/orchestrion/config/langgraph.js.map +1 -1
- package/build/cjs/orchestrion/config/lru-memoizer.js +4 -0
- package/build/cjs/orchestrion/config/lru-memoizer.js.map +1 -1
- package/build/cjs/orchestrion/config/mongodb.js +4 -0
- package/build/cjs/orchestrion/config/mongodb.js.map +1 -1
- package/build/cjs/orchestrion/config/mongoose.js +4 -0
- package/build/cjs/orchestrion/config/mongoose.js.map +1 -1
- package/build/cjs/orchestrion/config/mysql.js +4 -0
- package/build/cjs/orchestrion/config/mysql.js.map +1 -1
- package/build/cjs/orchestrion/config/mysql2.js +4 -0
- package/build/cjs/orchestrion/config/mysql2.js.map +1 -1
- package/build/cjs/orchestrion/config/nestjs.js +4 -0
- package/build/cjs/orchestrion/config/nestjs.js.map +1 -1
- package/build/cjs/orchestrion/config/openai.js +4 -0
- package/build/cjs/orchestrion/config/openai.js.map +1 -1
- package/build/cjs/orchestrion/config/pg.js +4 -0
- package/build/cjs/orchestrion/config/pg.js.map +1 -1
- package/build/cjs/orchestrion/config/postgres.js +4 -0
- package/build/cjs/orchestrion/config/postgres.js.map +1 -1
- package/build/cjs/orchestrion/config/redis.js +4 -0
- package/build/cjs/orchestrion/config/redis.js.map +1 -1
- package/build/cjs/orchestrion/config/remix.js +4 -0
- package/build/cjs/orchestrion/config/remix.js.map +1 -1
- package/build/cjs/orchestrion/config/subscribe-injection.js +25 -0
- package/build/cjs/orchestrion/config/subscribe-injection.js.map +1 -0
- package/build/cjs/orchestrion/config/tedious.js +4 -0
- package/build/cjs/orchestrion/config/tedious.js.map +1 -1
- package/build/cjs/orchestrion/config/vercel-ai.js +4 -0
- package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -1
- package/build/cjs/orchestrion/index.js +12 -7
- package/build/cjs/orchestrion/index.js.map +1 -1
- package/build/cjs/orchestrion/registerChannelIntegration.js +13 -0
- package/build/cjs/orchestrion/registerChannelIntegration.js.map +1 -0
- package/build/cjs/vercel-ai/index.js.map +1 -1
- package/build/esm/integrations/tracing-channel/dataloader.js +17 -7
- package/build/esm/integrations/tracing-channel/dataloader.js.map +1 -1
- package/build/esm/integrations/tracing-channel/fastify/index.js +2 -4
- package/build/esm/integrations/tracing-channel/fastify/index.js.map +1 -1
- package/build/esm/integrations/tracing-channel/fastify/utils.js.map +1 -1
- package/build/esm/integrations/tracing-channel/firebase/firestore.js +75 -0
- package/build/esm/integrations/tracing-channel/firebase/firestore.js.map +1 -0
- package/build/esm/integrations/tracing-channel/firebase/functions.js +65 -0
- package/build/esm/integrations/tracing-channel/firebase/functions.js.map +1 -0
- package/build/esm/integrations/tracing-channel/firebase/index.js +22 -0
- package/build/esm/integrations/tracing-channel/firebase/index.js.map +1 -0
- package/build/esm/integrations/tracing-channel/firebase/instrumentation.js +64 -0
- package/build/esm/integrations/tracing-channel/firebase/instrumentation.js.map +1 -0
- package/build/esm/orchestrion/bundler/esbuild.js +25 -2
- package/build/esm/orchestrion/bundler/esbuild.js.map +1 -1
- package/build/esm/orchestrion/bundler/options.js +15 -3
- package/build/esm/orchestrion/bundler/options.js.map +1 -1
- package/build/esm/orchestrion/bundler/rollup.js +12 -2
- package/build/esm/orchestrion/bundler/rollup.js.map +1 -1
- package/build/esm/orchestrion/bundler/subscribeInjection.js +38 -0
- package/build/esm/orchestrion/bundler/subscribeInjection.js.map +1 -0
- package/build/esm/orchestrion/bundler/vite.js +14 -1
- package/build/esm/orchestrion/bundler/vite.js.map +1 -1
- package/build/esm/orchestrion/bundler/webpack.js +33 -3
- package/build/esm/orchestrion/bundler/webpack.js.map +1 -1
- package/build/esm/orchestrion/channels.js +0 -4
- package/build/esm/orchestrion/channels.js.map +1 -1
- package/build/esm/orchestrion/config/amqplib.js +4 -1
- package/build/esm/orchestrion/config/amqplib.js.map +1 -1
- package/build/esm/orchestrion/config/anthropic-ai.js +4 -1
- package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -1
- package/build/esm/orchestrion/config/aws-sdk.js +4 -1
- package/build/esm/orchestrion/config/aws-sdk.js.map +1 -1
- package/build/esm/orchestrion/config/channel-integration-definitions.js +26 -0
- package/build/esm/orchestrion/config/channel-integration-definitions.js.map +1 -0
- package/build/esm/orchestrion/config/dataloader.js +4 -1
- package/build/esm/orchestrion/config/dataloader.js.map +1 -1
- package/build/esm/orchestrion/config/express.js +4 -1
- package/build/esm/orchestrion/config/express.js.map +1 -1
- package/build/esm/orchestrion/config/firebase.js +79 -3
- package/build/esm/orchestrion/config/firebase.js.map +1 -1
- package/build/esm/orchestrion/config/generic-pool.js +4 -1
- package/build/esm/orchestrion/config/generic-pool.js.map +1 -1
- package/build/esm/orchestrion/config/google-genai.js +4 -1
- package/build/esm/orchestrion/config/google-genai.js.map +1 -1
- package/build/esm/orchestrion/config/graphql.js +4 -1
- package/build/esm/orchestrion/config/graphql.js.map +1 -1
- package/build/esm/orchestrion/config/hapi.js +4 -1
- package/build/esm/orchestrion/config/hapi.js.map +1 -1
- package/build/esm/orchestrion/config/index.js +61 -34
- package/build/esm/orchestrion/config/index.js.map +1 -1
- package/build/esm/orchestrion/config/ioredis.js +4 -1
- package/build/esm/orchestrion/config/ioredis.js.map +1 -1
- package/build/esm/orchestrion/config/kafkajs.js +4 -1
- package/build/esm/orchestrion/config/kafkajs.js.map +1 -1
- package/build/esm/orchestrion/config/knex.js +4 -1
- package/build/esm/orchestrion/config/knex.js.map +1 -1
- package/build/esm/orchestrion/config/koa.js +4 -1
- package/build/esm/orchestrion/config/koa.js.map +1 -1
- package/build/esm/orchestrion/config/langchain.js +4 -1
- package/build/esm/orchestrion/config/langchain.js.map +1 -1
- package/build/esm/orchestrion/config/langgraph.js +4 -1
- package/build/esm/orchestrion/config/langgraph.js.map +1 -1
- package/build/esm/orchestrion/config/lru-memoizer.js +4 -1
- package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -1
- package/build/esm/orchestrion/config/mongodb.js +4 -1
- package/build/esm/orchestrion/config/mongodb.js.map +1 -1
- package/build/esm/orchestrion/config/mongoose.js +4 -1
- package/build/esm/orchestrion/config/mongoose.js.map +1 -1
- package/build/esm/orchestrion/config/mysql.js +4 -1
- package/build/esm/orchestrion/config/mysql.js.map +1 -1
- package/build/esm/orchestrion/config/mysql2.js +4 -1
- package/build/esm/orchestrion/config/mysql2.js.map +1 -1
- package/build/esm/orchestrion/config/nestjs.js +4 -1
- package/build/esm/orchestrion/config/nestjs.js.map +1 -1
- package/build/esm/orchestrion/config/openai.js +4 -1
- package/build/esm/orchestrion/config/openai.js.map +1 -1
- package/build/esm/orchestrion/config/pg.js +4 -1
- package/build/esm/orchestrion/config/pg.js.map +1 -1
- package/build/esm/orchestrion/config/postgres.js +4 -1
- package/build/esm/orchestrion/config/postgres.js.map +1 -1
- package/build/esm/orchestrion/config/redis.js +4 -1
- package/build/esm/orchestrion/config/redis.js.map +1 -1
- package/build/esm/orchestrion/config/remix.js +4 -1
- package/build/esm/orchestrion/config/remix.js.map +1 -1
- package/build/esm/orchestrion/config/subscribe-injection.js +22 -0
- package/build/esm/orchestrion/config/subscribe-injection.js.map +1 -0
- package/build/esm/orchestrion/config/tedious.js +4 -1
- package/build/esm/orchestrion/config/tedious.js.map +1 -1
- package/build/esm/orchestrion/config/vercel-ai.js +4 -1
- package/build/esm/orchestrion/config/vercel-ai.js.map +1 -1
- package/build/esm/orchestrion/index.js +5 -2
- package/build/esm/orchestrion/index.js.map +1 -1
- package/build/esm/orchestrion/registerChannelIntegration.js +11 -0
- package/build/esm/orchestrion/registerChannelIntegration.js.map +1 -0
- package/build/esm/package.json +1 -1
- package/build/esm/vercel-ai/index.js.map +1 -1
- package/build/types/index.d.ts +1 -1
- package/build/types/index.d.ts.map +1 -1
- package/build/types/integrations/tracing-channel/dataloader.d.ts.map +1 -1
- package/build/types/integrations/tracing-channel/fastify/index.d.ts +2 -2
- package/build/types/integrations/tracing-channel/fastify/index.d.ts.map +1 -1
- package/build/types/integrations/tracing-channel/fastify/utils.d.ts +1 -1
- package/build/types/integrations/tracing-channel/fastify/utils.d.ts.map +1 -1
- package/build/types/integrations/tracing-channel/firebase/firestore-types.d.ts +38 -0
- package/build/types/integrations/tracing-channel/firebase/firestore-types.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/firebase/firestore.d.ts +18 -0
- package/build/types/integrations/tracing-channel/firebase/firestore.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/firebase/functions.d.ts +15 -0
- package/build/types/integrations/tracing-channel/firebase/functions.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/firebase/index.d.ts +15 -0
- package/build/types/integrations/tracing-channel/firebase/index.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/firebase/instrumentation.d.ts +2 -0
- package/build/types/integrations/tracing-channel/firebase/instrumentation.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/vercel-ai.d.ts +1 -5
- package/build/types/integrations/tracing-channel/vercel-ai.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/esbuild.d.ts +2 -3
- package/build/types/orchestrion/bundler/esbuild.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/options.d.ts +34 -0
- package/build/types/orchestrion/bundler/options.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/rollup.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/subscribeInjection.d.ts +13 -0
- package/build/types/orchestrion/bundler/subscribeInjection.d.ts.map +1 -0
- package/build/types/orchestrion/bundler/vite.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/webpack.d.ts +6 -1
- package/build/types/orchestrion/bundler/webpack.d.ts.map +1 -1
- package/build/types/orchestrion/channels.d.ts +15 -0
- package/build/types/orchestrion/channels.d.ts.map +1 -1
- package/build/types/orchestrion/config/amqplib.d.ts +2 -0
- package/build/types/orchestrion/config/amqplib.d.ts.map +1 -1
- package/build/types/orchestrion/config/anthropic-ai.d.ts +2 -0
- package/build/types/orchestrion/config/anthropic-ai.d.ts.map +1 -1
- package/build/types/orchestrion/config/aws-sdk.d.ts +2 -0
- package/build/types/orchestrion/config/aws-sdk.d.ts.map +1 -1
- package/build/types/orchestrion/config/channel-integration-definitions.d.ts +81 -0
- package/build/types/orchestrion/config/channel-integration-definitions.d.ts.map +1 -0
- package/build/types/orchestrion/config/dataloader.d.ts +2 -0
- package/build/types/orchestrion/config/dataloader.d.ts.map +1 -1
- package/build/types/orchestrion/config/express.d.ts +2 -0
- package/build/types/orchestrion/config/express.d.ts.map +1 -1
- package/build/types/orchestrion/config/firebase.d.ts +41 -2
- package/build/types/orchestrion/config/firebase.d.ts.map +1 -1
- package/build/types/orchestrion/config/generic-pool.d.ts +2 -0
- package/build/types/orchestrion/config/generic-pool.d.ts.map +1 -1
- package/build/types/orchestrion/config/google-genai.d.ts +2 -0
- package/build/types/orchestrion/config/google-genai.d.ts.map +1 -1
- package/build/types/orchestrion/config/graphql.d.ts +2 -0
- package/build/types/orchestrion/config/graphql.d.ts.map +1 -1
- package/build/types/orchestrion/config/hapi.d.ts +2 -0
- package/build/types/orchestrion/config/hapi.d.ts.map +1 -1
- package/build/types/orchestrion/config/index.d.ts +12 -0
- package/build/types/orchestrion/config/index.d.ts.map +1 -1
- package/build/types/orchestrion/config/ioredis.d.ts +1 -0
- package/build/types/orchestrion/config/ioredis.d.ts.map +1 -1
- package/build/types/orchestrion/config/kafkajs.d.ts +2 -0
- package/build/types/orchestrion/config/kafkajs.d.ts.map +1 -1
- package/build/types/orchestrion/config/knex.d.ts +1 -0
- package/build/types/orchestrion/config/knex.d.ts.map +1 -1
- package/build/types/orchestrion/config/koa.d.ts +2 -0
- package/build/types/orchestrion/config/koa.d.ts.map +1 -1
- package/build/types/orchestrion/config/langchain.d.ts +2 -0
- package/build/types/orchestrion/config/langchain.d.ts.map +1 -1
- package/build/types/orchestrion/config/langgraph.d.ts +2 -0
- package/build/types/orchestrion/config/langgraph.d.ts.map +1 -1
- package/build/types/orchestrion/config/lru-memoizer.d.ts +2 -0
- package/build/types/orchestrion/config/lru-memoizer.d.ts.map +1 -1
- package/build/types/orchestrion/config/mongodb.d.ts +2 -0
- package/build/types/orchestrion/config/mongodb.d.ts.map +1 -1
- package/build/types/orchestrion/config/mongoose.d.ts +2 -0
- package/build/types/orchestrion/config/mongoose.d.ts.map +1 -1
- package/build/types/orchestrion/config/mysql.d.ts +2 -0
- package/build/types/orchestrion/config/mysql.d.ts.map +1 -1
- package/build/types/orchestrion/config/mysql2.d.ts +2 -0
- package/build/types/orchestrion/config/mysql2.d.ts.map +1 -1
- package/build/types/orchestrion/config/nestjs.d.ts +1 -0
- package/build/types/orchestrion/config/nestjs.d.ts.map +1 -1
- package/build/types/orchestrion/config/openai.d.ts +2 -0
- package/build/types/orchestrion/config/openai.d.ts.map +1 -1
- package/build/types/orchestrion/config/pg.d.ts +2 -0
- package/build/types/orchestrion/config/pg.d.ts.map +1 -1
- package/build/types/orchestrion/config/postgres.d.ts +1 -0
- package/build/types/orchestrion/config/postgres.d.ts.map +1 -1
- package/build/types/orchestrion/config/redis.d.ts +2 -0
- package/build/types/orchestrion/config/redis.d.ts.map +1 -1
- package/build/types/orchestrion/config/remix.d.ts +1 -0
- package/build/types/orchestrion/config/remix.d.ts.map +1 -1
- package/build/types/orchestrion/config/subscribe-injection.d.ts +31 -0
- package/build/types/orchestrion/config/subscribe-injection.d.ts.map +1 -0
- package/build/types/orchestrion/config/tedious.d.ts +1 -0
- package/build/types/orchestrion/config/tedious.d.ts.map +1 -1
- 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/orchestrion/index.d.ts +7 -6
- package/build/types/orchestrion/index.d.ts.map +1 -1
- package/build/types/orchestrion/registerChannelIntegration.d.ts +33 -0
- package/build/types/orchestrion/registerChannelIntegration.d.ts.map +1 -0
- package/build/types/vercel-ai/index.d.ts +2 -3
- package/build/types/vercel-ai/index.d.ts.map +1 -1
- package/build/types-ts3.8/index.d.ts +1 -1
- package/build/types-ts3.8/integrations/tracing-channel/fastify/index.d.ts +2 -2
- package/build/types-ts3.8/integrations/tracing-channel/fastify/utils.d.ts +1 -1
- package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore-types.d.ts +38 -0
- package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore.d.ts +18 -0
- package/build/types-ts3.8/integrations/tracing-channel/firebase/functions.d.ts +15 -0
- package/build/types-ts3.8/integrations/tracing-channel/firebase/index.d.ts +15 -0
- package/build/types-ts3.8/integrations/tracing-channel/firebase/instrumentation.d.ts +2 -0
- package/build/types-ts3.8/integrations/tracing-channel/vercel-ai.d.ts +1 -5
- package/build/types-ts3.8/orchestrion/bundler/esbuild.d.ts +2 -3
- package/build/types-ts3.8/orchestrion/bundler/options.d.ts +34 -0
- package/build/types-ts3.8/orchestrion/bundler/subscribeInjection.d.ts +13 -0
- package/build/types-ts3.8/orchestrion/bundler/webpack.d.ts +6 -1
- package/build/types-ts3.8/orchestrion/channels.d.ts +15 -0
- package/build/types-ts3.8/orchestrion/config/amqplib.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/anthropic-ai.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/aws-sdk.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/channel-integration-definitions.d.ts +139 -0
- package/build/types-ts3.8/orchestrion/config/dataloader.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/express.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/firebase.d.ts +41 -2
- package/build/types-ts3.8/orchestrion/config/generic-pool.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/google-genai.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/graphql.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/hapi.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/index.d.ts +12 -0
- package/build/types-ts3.8/orchestrion/config/ioredis.d.ts +1 -0
- package/build/types-ts3.8/orchestrion/config/kafkajs.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/knex.d.ts +1 -0
- package/build/types-ts3.8/orchestrion/config/koa.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/langchain.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/langgraph.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/lru-memoizer.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/mongodb.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/mongoose.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/mysql.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/mysql2.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/nestjs.d.ts +1 -0
- package/build/types-ts3.8/orchestrion/config/openai.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/pg.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/postgres.d.ts +1 -0
- package/build/types-ts3.8/orchestrion/config/redis.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/remix.d.ts +1 -0
- package/build/types-ts3.8/orchestrion/config/subscribe-injection.d.ts +31 -0
- package/build/types-ts3.8/orchestrion/config/tedious.d.ts +1 -0
- package/build/types-ts3.8/orchestrion/config/vercel-ai.d.ts +1 -0
- package/build/types-ts3.8/orchestrion/index.d.ts +7 -6
- package/build/types-ts3.8/orchestrion/registerChannelIntegration.d.ts +33 -0
- package/build/types-ts3.8/vercel-ai/index.d.ts +2 -3
- package/changes.json +7 -3
- package/package.json +11 -6
- package/build/cjs/orchestrion/config/prisma.js +0 -8
- package/build/cjs/orchestrion/config/prisma.js.map +0 -1
- package/build/cjs/orchestrion/config/react-router.js +0 -8
- package/build/cjs/orchestrion/config/react-router.js.map +0 -1
- package/build/esm/orchestrion/config/prisma.js +0 -5
- package/build/esm/orchestrion/config/prisma.js.map +0 -1
- package/build/esm/orchestrion/config/react-router.js +0 -5
- package/build/esm/orchestrion/config/react-router.js.map +0 -1
- package/build/types/orchestrion/config/prisma.d.ts +0 -4
- package/build/types/orchestrion/config/prisma.d.ts.map +0 -1
- package/build/types/orchestrion/config/react-router.d.ts +0 -4
- package/build/types/orchestrion/config/react-router.d.ts.map +0 -1
- package/build/types-ts3.8/orchestrion/config/prisma.d.ts +0 -4
- package/build/types-ts3.8/orchestrion/config/react-router.d.ts +0 -4
|
@@ -1,8 +1,85 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
|
|
3
|
+
const subscribeInjection = require('./subscribe-injection.js');
|
|
4
|
+
|
|
5
|
+
const FIRESTORE_VERSION_RANGE = ">=3.0.0 <5";
|
|
6
|
+
const FIRESTORE_FILE = /dist\/lite\/(index|common-[^/]+)\.node\.(cjs\.js|mjs)$/;
|
|
7
|
+
const FIRESTORE_OPERATIONS = [
|
|
8
|
+
{ functionName: "addDoc", channelName: "add-doc" },
|
|
9
|
+
{ functionName: "getDocs", channelName: "get-docs" },
|
|
10
|
+
{ functionName: "setDoc", channelName: "set-doc" },
|
|
11
|
+
{ functionName: "deleteDoc", channelName: "delete-doc" }
|
|
12
|
+
];
|
|
13
|
+
const FUNCTIONS_VERSION_RANGE = ">=6.0.0 <7";
|
|
14
|
+
const FUNCTIONS_TRIGGERS = [
|
|
15
|
+
{ file: "lib/v2/providers/https.js", functionName: "onRequest", channelName: "http-request" },
|
|
16
|
+
{ file: "lib/v2/providers/https.js", functionName: "onCall", channelName: "http-call" },
|
|
17
|
+
{ file: "lib/v2/providers/firestore.js", functionName: "onDocumentCreated", channelName: "firestore-created" },
|
|
18
|
+
{
|
|
19
|
+
file: "lib/v2/providers/firestore.js",
|
|
20
|
+
functionName: "onDocumentCreatedWithAuthContext",
|
|
21
|
+
channelName: "firestore-created"
|
|
22
|
+
},
|
|
23
|
+
{ file: "lib/v2/providers/firestore.js", functionName: "onDocumentUpdated", channelName: "firestore-updated" },
|
|
24
|
+
{
|
|
25
|
+
file: "lib/v2/providers/firestore.js",
|
|
26
|
+
functionName: "onDocumentUpdatedWithAuthContext",
|
|
27
|
+
channelName: "firestore-updated"
|
|
28
|
+
},
|
|
29
|
+
{ file: "lib/v2/providers/firestore.js", functionName: "onDocumentDeleted", channelName: "firestore-deleted" },
|
|
30
|
+
{
|
|
31
|
+
file: "lib/v2/providers/firestore.js",
|
|
32
|
+
functionName: "onDocumentDeletedWithAuthContext",
|
|
33
|
+
channelName: "firestore-deleted"
|
|
34
|
+
},
|
|
35
|
+
{ file: "lib/v2/providers/firestore.js", functionName: "onDocumentWritten", channelName: "firestore-written" },
|
|
36
|
+
{
|
|
37
|
+
file: "lib/v2/providers/firestore.js",
|
|
38
|
+
functionName: "onDocumentWrittenWithAuthContext",
|
|
39
|
+
channelName: "firestore-written"
|
|
40
|
+
},
|
|
41
|
+
{ file: "lib/v2/providers/scheduler.js", functionName: "onSchedule", channelName: "scheduler" },
|
|
42
|
+
{ file: "lib/v2/providers/storage.js", functionName: "onObjectFinalized", channelName: "storage-finalized" },
|
|
43
|
+
{ file: "lib/v2/providers/storage.js", functionName: "onObjectArchived", channelName: "storage-archived" },
|
|
44
|
+
{ file: "lib/v2/providers/storage.js", functionName: "onObjectDeleted", channelName: "storage-deleted" },
|
|
45
|
+
{
|
|
46
|
+
file: "lib/v2/providers/storage.js",
|
|
47
|
+
functionName: "onObjectMetadataUpdated",
|
|
48
|
+
channelName: "storage-metadata-updated"
|
|
49
|
+
}
|
|
50
|
+
];
|
|
51
|
+
const firebaseConfig = [
|
|
52
|
+
...FIRESTORE_OPERATIONS.map(({ functionName, channelName }) => ({
|
|
53
|
+
channelName,
|
|
54
|
+
module: { name: "@firebase/firestore", versionRange: FIRESTORE_VERSION_RANGE, filePath: FIRESTORE_FILE },
|
|
55
|
+
functionQuery: { functionName, kind: "Auto" }
|
|
56
|
+
})),
|
|
57
|
+
...FUNCTIONS_TRIGGERS.map(({ file, functionName, channelName }) => ({
|
|
58
|
+
channelName,
|
|
59
|
+
module: { name: "firebase-functions", versionRange: FUNCTIONS_VERSION_RANGE, filePath: file },
|
|
60
|
+
functionQuery: { functionName, kind: "Sync" }
|
|
61
|
+
}))
|
|
62
|
+
];
|
|
63
|
+
const firebaseChannels = {
|
|
64
|
+
FIREBASE_FIRESTORE_ADD_DOC: "orchestrion:@firebase/firestore:add-doc",
|
|
65
|
+
FIREBASE_FIRESTORE_GET_DOCS: "orchestrion:@firebase/firestore:get-docs",
|
|
66
|
+
FIREBASE_FIRESTORE_SET_DOC: "orchestrion:@firebase/firestore:set-doc",
|
|
67
|
+
FIREBASE_FIRESTORE_DELETE_DOC: "orchestrion:@firebase/firestore:delete-doc",
|
|
68
|
+
FIREBASE_FUNCTIONS_HTTP_REQUEST: "orchestrion:firebase-functions:http-request",
|
|
69
|
+
FIREBASE_FUNCTIONS_HTTP_CALL: "orchestrion:firebase-functions:http-call",
|
|
70
|
+
FIREBASE_FUNCTIONS_FIRESTORE_CREATED: "orchestrion:firebase-functions:firestore-created",
|
|
71
|
+
FIREBASE_FUNCTIONS_FIRESTORE_UPDATED: "orchestrion:firebase-functions:firestore-updated",
|
|
72
|
+
FIREBASE_FUNCTIONS_FIRESTORE_DELETED: "orchestrion:firebase-functions:firestore-deleted",
|
|
73
|
+
FIREBASE_FUNCTIONS_FIRESTORE_WRITTEN: "orchestrion:firebase-functions:firestore-written",
|
|
74
|
+
FIREBASE_FUNCTIONS_SCHEDULER: "orchestrion:firebase-functions:scheduler",
|
|
75
|
+
FIREBASE_FUNCTIONS_STORAGE_FINALIZED: "orchestrion:firebase-functions:storage-finalized",
|
|
76
|
+
FIREBASE_FUNCTIONS_STORAGE_ARCHIVED: "orchestrion:firebase-functions:storage-archived",
|
|
77
|
+
FIREBASE_FUNCTIONS_STORAGE_DELETED: "orchestrion:firebase-functions:storage-deleted",
|
|
78
|
+
FIREBASE_FUNCTIONS_STORAGE_METADATA_UPDATED: "orchestrion:firebase-functions:storage-metadata-updated"
|
|
79
|
+
};
|
|
80
|
+
const firebaseSubscribeInjection = subscribeInjection.toSubscribeInjections(firebaseConfig);
|
|
5
81
|
|
|
6
82
|
exports.firebaseChannels = firebaseChannels;
|
|
7
83
|
exports.firebaseConfig = firebaseConfig;
|
|
84
|
+
exports.firebaseSubscribeInjection = firebaseSubscribeInjection;
|
|
8
85
|
//# sourceMappingURL=firebase.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firebase.js","sources":["../../../../src/orchestrion/config/firebase.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\n\n//
|
|
1
|
+
{"version":3,"file":"firebase.js","sources":["../../../../src/orchestrion/config/firebase.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\nimport { toSubscribeInjections } from './subscribe-injection';\n\n// firebase 9+ ships firestore as `@firebase/firestore` (matches the OTel integration's range). Only the\n// `lite` SDK exposes the free `addDoc`/`getDocs`/`setDoc`/`deleteDoc` functions we trace, and only the\n// `node` entry points (CJS `require`, ESM `import`) are reachable from `@sentry/node`; the\n// browser/react-native builds are irrelevant here. `addDoc` & co. are top-level `function <name>`\n// declarations, so `functionName` matches; they return promises, so `Auto` settles the span on\n// `asyncEnd`. firebase <12.8 declares them in `index.node.{cjs.js,mjs}`; firebase >=12.8 (firestore\n// >=4.10) moved them into a hash-named shared chunk `common-<hash>.node.{cjs.js,mjs}` — the RegExp\n// matches both, so injection keeps working across the version range without pinning a build hash.\nconst FIRESTORE_VERSION_RANGE = '>=3.0.0 <5';\nconst FIRESTORE_FILE = /dist\\/lite\\/(index|common-[^/]+)\\.node\\.(cjs\\.js|mjs)$/;\nconst FIRESTORE_OPERATIONS = [\n { functionName: 'addDoc', channelName: 'add-doc' },\n { functionName: 'getDocs', channelName: 'get-docs' },\n { functionName: 'setDoc', channelName: 'set-doc' },\n { functionName: 'deleteDoc', channelName: 'delete-doc' },\n] as const;\n\n// firebase-functions v2 (CJS-only). The `onX` provider functions *register* a handler and return a\n// synchronous cloud function, so `Sync` is required — the span itself is opened later, when the handler\n// runs, by rewrapping the handler argument in the channel's `start` (see `./firebase/functions`). One\n// channel per faas trigger so the subscriber knows the trigger type without inspecting arguments.\nconst FUNCTIONS_VERSION_RANGE = '>=6.0.0 <7';\nconst FUNCTIONS_TRIGGERS = [\n { file: 'lib/v2/providers/https.js', functionName: 'onRequest', channelName: 'http-request' },\n { file: 'lib/v2/providers/https.js', functionName: 'onCall', channelName: 'http-call' },\n { file: 'lib/v2/providers/firestore.js', functionName: 'onDocumentCreated', channelName: 'firestore-created' },\n {\n file: 'lib/v2/providers/firestore.js',\n functionName: 'onDocumentCreatedWithAuthContext',\n channelName: 'firestore-created',\n },\n { file: 'lib/v2/providers/firestore.js', functionName: 'onDocumentUpdated', channelName: 'firestore-updated' },\n {\n file: 'lib/v2/providers/firestore.js',\n functionName: 'onDocumentUpdatedWithAuthContext',\n channelName: 'firestore-updated',\n },\n { file: 'lib/v2/providers/firestore.js', functionName: 'onDocumentDeleted', channelName: 'firestore-deleted' },\n {\n file: 'lib/v2/providers/firestore.js',\n functionName: 'onDocumentDeletedWithAuthContext',\n channelName: 'firestore-deleted',\n },\n { file: 'lib/v2/providers/firestore.js', functionName: 'onDocumentWritten', channelName: 'firestore-written' },\n {\n file: 'lib/v2/providers/firestore.js',\n functionName: 'onDocumentWrittenWithAuthContext',\n channelName: 'firestore-written',\n },\n { file: 'lib/v2/providers/scheduler.js', functionName: 'onSchedule', channelName: 'scheduler' },\n { file: 'lib/v2/providers/storage.js', functionName: 'onObjectFinalized', channelName: 'storage-finalized' },\n { file: 'lib/v2/providers/storage.js', functionName: 'onObjectArchived', channelName: 'storage-archived' },\n { file: 'lib/v2/providers/storage.js', functionName: 'onObjectDeleted', channelName: 'storage-deleted' },\n {\n file: 'lib/v2/providers/storage.js',\n functionName: 'onObjectMetadataUpdated',\n channelName: 'storage-metadata-updated',\n },\n] as const;\n\nexport const firebaseConfig = [\n ...FIRESTORE_OPERATIONS.map(({ functionName, channelName }) => ({\n channelName,\n module: { name: '@firebase/firestore', versionRange: FIRESTORE_VERSION_RANGE, filePath: FIRESTORE_FILE },\n functionQuery: { functionName, kind: 'Auto' as const },\n })),\n ...FUNCTIONS_TRIGGERS.map(({ file, functionName, channelName }) => ({\n channelName,\n module: { name: 'firebase-functions', versionRange: FUNCTIONS_VERSION_RANGE, filePath: file },\n functionQuery: { functionName, kind: 'Sync' as const },\n })),\n] satisfies InstrumentationConfig[];\n\nexport const firebaseChannels = {\n FIREBASE_FIRESTORE_ADD_DOC: 'orchestrion:@firebase/firestore:add-doc',\n FIREBASE_FIRESTORE_GET_DOCS: 'orchestrion:@firebase/firestore:get-docs',\n FIREBASE_FIRESTORE_SET_DOC: 'orchestrion:@firebase/firestore:set-doc',\n FIREBASE_FIRESTORE_DELETE_DOC: 'orchestrion:@firebase/firestore:delete-doc',\n FIREBASE_FUNCTIONS_HTTP_REQUEST: 'orchestrion:firebase-functions:http-request',\n FIREBASE_FUNCTIONS_HTTP_CALL: 'orchestrion:firebase-functions:http-call',\n FIREBASE_FUNCTIONS_FIRESTORE_CREATED: 'orchestrion:firebase-functions:firestore-created',\n FIREBASE_FUNCTIONS_FIRESTORE_UPDATED: 'orchestrion:firebase-functions:firestore-updated',\n FIREBASE_FUNCTIONS_FIRESTORE_DELETED: 'orchestrion:firebase-functions:firestore-deleted',\n FIREBASE_FUNCTIONS_FIRESTORE_WRITTEN: 'orchestrion:firebase-functions:firestore-written',\n FIREBASE_FUNCTIONS_SCHEDULER: 'orchestrion:firebase-functions:scheduler',\n FIREBASE_FUNCTIONS_STORAGE_FINALIZED: 'orchestrion:firebase-functions:storage-finalized',\n FIREBASE_FUNCTIONS_STORAGE_ARCHIVED: 'orchestrion:firebase-functions:storage-archived',\n FIREBASE_FUNCTIONS_STORAGE_DELETED: 'orchestrion:firebase-functions:storage-deleted',\n FIREBASE_FUNCTIONS_STORAGE_METADATA_UPDATED: 'orchestrion:firebase-functions:storage-metadata-updated',\n} as const;\n\nexport const firebaseSubscribeInjection = toSubscribeInjections(firebaseConfig);\n"],"names":["toSubscribeInjections"],"mappings":";;;;AAWA,MAAM,uBAAA,GAA0B,YAAA;AAChC,MAAM,cAAA,GAAiB,wDAAA;AACvB,MAAM,oBAAA,GAAuB;AAAA,EAC3B,EAAE,YAAA,EAAc,QAAA,EAAU,WAAA,EAAa,SAAA,EAAU;AAAA,EACjD,EAAE,YAAA,EAAc,SAAA,EAAW,WAAA,EAAa,UAAA,EAAW;AAAA,EACnD,EAAE,YAAA,EAAc,QAAA,EAAU,WAAA,EAAa,SAAA,EAAU;AAAA,EACjD,EAAE,YAAA,EAAc,WAAA,EAAa,WAAA,EAAa,YAAA;AAC5C,CAAA;AAMA,MAAM,uBAAA,GAA0B,YAAA;AAChC,MAAM,kBAAA,GAAqB;AAAA,EACzB,EAAE,IAAA,EAAM,2BAAA,EAA6B,YAAA,EAAc,WAAA,EAAa,aAAa,cAAA,EAAe;AAAA,EAC5F,EAAE,IAAA,EAAM,2BAAA,EAA6B,YAAA,EAAc,QAAA,EAAU,aAAa,WAAA,EAAY;AAAA,EACtF,EAAE,IAAA,EAAM,+BAAA,EAAiC,YAAA,EAAc,mBAAA,EAAqB,aAAa,mBAAA,EAAoB;AAAA,EAC7G;AAAA,IACE,IAAA,EAAM,+BAAA;AAAA,IACN,YAAA,EAAc,kCAAA;AAAA,IACd,WAAA,EAAa;AAAA,GACf;AAAA,EACA,EAAE,IAAA,EAAM,+BAAA,EAAiC,YAAA,EAAc,mBAAA,EAAqB,aAAa,mBAAA,EAAoB;AAAA,EAC7G;AAAA,IACE,IAAA,EAAM,+BAAA;AAAA,IACN,YAAA,EAAc,kCAAA;AAAA,IACd,WAAA,EAAa;AAAA,GACf;AAAA,EACA,EAAE,IAAA,EAAM,+BAAA,EAAiC,YAAA,EAAc,mBAAA,EAAqB,aAAa,mBAAA,EAAoB;AAAA,EAC7G;AAAA,IACE,IAAA,EAAM,+BAAA;AAAA,IACN,YAAA,EAAc,kCAAA;AAAA,IACd,WAAA,EAAa;AAAA,GACf;AAAA,EACA,EAAE,IAAA,EAAM,+BAAA,EAAiC,YAAA,EAAc,mBAAA,EAAqB,aAAa,mBAAA,EAAoB;AAAA,EAC7G;AAAA,IACE,IAAA,EAAM,+BAAA;AAAA,IACN,YAAA,EAAc,kCAAA;AAAA,IACd,WAAA,EAAa;AAAA,GACf;AAAA,EACA,EAAE,IAAA,EAAM,+BAAA,EAAiC,YAAA,EAAc,YAAA,EAAc,aAAa,WAAA,EAAY;AAAA,EAC9F,EAAE,IAAA,EAAM,6BAAA,EAA+B,YAAA,EAAc,mBAAA,EAAqB,aAAa,mBAAA,EAAoB;AAAA,EAC3G,EAAE,IAAA,EAAM,6BAAA,EAA+B,YAAA,EAAc,kBAAA,EAAoB,aAAa,kBAAA,EAAmB;AAAA,EACzG,EAAE,IAAA,EAAM,6BAAA,EAA+B,YAAA,EAAc,iBAAA,EAAmB,aAAa,iBAAA,EAAkB;AAAA,EACvG;AAAA,IACE,IAAA,EAAM,6BAAA;AAAA,IACN,YAAA,EAAc,yBAAA;AAAA,IACd,WAAA,EAAa;AAAA;AAEjB,CAAA;AAEO,MAAM,cAAA,GAAiB;AAAA,EAC5B,GAAG,oBAAA,CAAqB,GAAA,CAAI,CAAC,EAAE,YAAA,EAAc,aAAY,MAAO;AAAA,IAC9D,WAAA;AAAA,IACA,QAAQ,EAAE,IAAA,EAAM,uBAAuB,YAAA,EAAc,uBAAA,EAAyB,UAAU,cAAA,EAAe;AAAA,IACvG,aAAA,EAAe,EAAE,YAAA,EAAc,IAAA,EAAM,MAAA;AAAgB,GACvD,CAAE,CAAA;AAAA,EACF,GAAG,mBAAmB,GAAA,CAAI,CAAC,EAAE,IAAA,EAAM,YAAA,EAAc,aAAY,MAAO;AAAA,IAClE,WAAA;AAAA,IACA,QAAQ,EAAE,IAAA,EAAM,sBAAsB,YAAA,EAAc,uBAAA,EAAyB,UAAU,IAAA,EAAK;AAAA,IAC5F,aAAA,EAAe,EAAE,YAAA,EAAc,IAAA,EAAM,MAAA;AAAgB,GACvD,CAAE;AACJ;AAEO,MAAM,gBAAA,GAAmB;AAAA,EAC9B,0BAAA,EAA4B,yCAAA;AAAA,EAC5B,2BAAA,EAA6B,0CAAA;AAAA,EAC7B,0BAAA,EAA4B,yCAAA;AAAA,EAC5B,6BAAA,EAA+B,4CAAA;AAAA,EAC/B,+BAAA,EAAiC,6CAAA;AAAA,EACjC,4BAAA,EAA8B,0CAAA;AAAA,EAC9B,oCAAA,EAAsC,kDAAA;AAAA,EACtC,oCAAA,EAAsC,kDAAA;AAAA,EACtC,oCAAA,EAAsC,kDAAA;AAAA,EACtC,oCAAA,EAAsC,kDAAA;AAAA,EACtC,4BAAA,EAA8B,0CAAA;AAAA,EAC9B,oCAAA,EAAsC,kDAAA;AAAA,EACtC,mCAAA,EAAqC,iDAAA;AAAA,EACrC,kCAAA,EAAoC,gDAAA;AAAA,EACpC,2CAAA,EAA6C;AAC/C;AAEO,MAAM,0BAAA,GAA6BA,yCAAsB,cAAc;;;;;;"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
|
|
3
|
+
const subscribeInjection = require('./subscribe-injection.js');
|
|
4
|
+
|
|
3
5
|
const genericPoolConfig = [
|
|
4
6
|
{
|
|
5
7
|
channelName: "acquire",
|
|
@@ -15,7 +17,9 @@ const genericPoolConfig = [
|
|
|
15
17
|
const genericPoolChannels = {
|
|
16
18
|
GENERIC_POOL_ACQUIRE: "orchestrion:generic-pool:acquire"
|
|
17
19
|
};
|
|
20
|
+
const genericPoolSubscribeInjection = subscribeInjection.toSubscribeInjections(genericPoolConfig);
|
|
18
21
|
|
|
19
22
|
exports.genericPoolChannels = genericPoolChannels;
|
|
20
23
|
exports.genericPoolConfig = genericPoolConfig;
|
|
24
|
+
exports.genericPoolSubscribeInjection = genericPoolSubscribeInjection;
|
|
21
25
|
//# sourceMappingURL=generic-pool.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generic-pool.js","sources":["../../../../src/orchestrion/config/generic-pool.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\n\n// Two shapes of `acquire`, both publishing to the same `orchestrion:generic-pool:acquire` channel:\n// - v3+: `class Pool { acquire(priority) }` returns a promise, so `kind: 'Auto'` resolves to `wrapPromise`.\n// - v2.4–v3: `Pool.prototype.acquire = function acquire(callback, priority)` is callback-based.\n// Versions before 2.4 assigned an anonymous `acquire` per pool instance (a factory), which a static\n// transform can't target, so they're out of scope (matching how the OTel instrumentation split them).\nexport const genericPoolConfig = [\n {\n channelName: 'acquire',\n module: { name: 'generic-pool', versionRange: '>=3.0.0 <4', filePath: 'lib/Pool.js' },\n functionQuery: { className: 'Pool', methodName: 'acquire', kind: 'Auto' },\n },\n {\n channelName: 'acquire',\n module: { name: 'generic-pool', versionRange: '>=2.4.0 <3', filePath: 'lib/generic-pool.js' },\n functionQuery: { expressionName: 'acquire', kind: 'Callback' },\n },\n] satisfies InstrumentationConfig[];\n\nexport const genericPoolChannels = {\n GENERIC_POOL_ACQUIRE: 'orchestrion:generic-pool:acquire',\n} as const;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"generic-pool.js","sources":["../../../../src/orchestrion/config/generic-pool.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\nimport { toSubscribeInjections } from './subscribe-injection';\n\n// Two shapes of `acquire`, both publishing to the same `orchestrion:generic-pool:acquire` channel:\n// - v3+: `class Pool { acquire(priority) }` returns a promise, so `kind: 'Auto'` resolves to `wrapPromise`.\n// - v2.4–v3: `Pool.prototype.acquire = function acquire(callback, priority)` is callback-based.\n// Versions before 2.4 assigned an anonymous `acquire` per pool instance (a factory), which a static\n// transform can't target, so they're out of scope (matching how the OTel instrumentation split them).\nexport const genericPoolConfig = [\n {\n channelName: 'acquire',\n module: { name: 'generic-pool', versionRange: '>=3.0.0 <4', filePath: 'lib/Pool.js' },\n functionQuery: { className: 'Pool', methodName: 'acquire', kind: 'Auto' },\n },\n {\n channelName: 'acquire',\n module: { name: 'generic-pool', versionRange: '>=2.4.0 <3', filePath: 'lib/generic-pool.js' },\n functionQuery: { expressionName: 'acquire', kind: 'Callback' },\n },\n] satisfies InstrumentationConfig[];\n\nexport const genericPoolChannels = {\n GENERIC_POOL_ACQUIRE: 'orchestrion:generic-pool:acquire',\n} as const;\n\nexport const genericPoolSubscribeInjection = toSubscribeInjections(genericPoolConfig);\n"],"names":["toSubscribeInjections"],"mappings":";;;;AAQO,MAAM,iBAAA,GAAoB;AAAA,EAC/B;AAAA,IACE,WAAA,EAAa,SAAA;AAAA,IACb,QAAQ,EAAE,IAAA,EAAM,gBAAgB,YAAA,EAAc,YAAA,EAAc,UAAU,aAAA,EAAc;AAAA,IACpF,eAAe,EAAE,SAAA,EAAW,QAAQ,UAAA,EAAY,SAAA,EAAW,MAAM,MAAA;AAAO,GAC1E;AAAA,EACA;AAAA,IACE,WAAA,EAAa,SAAA;AAAA,IACb,QAAQ,EAAE,IAAA,EAAM,gBAAgB,YAAA,EAAc,YAAA,EAAc,UAAU,qBAAA,EAAsB;AAAA,IAC5F,aAAA,EAAe,EAAE,cAAA,EAAgB,SAAA,EAAW,MAAM,UAAA;AAAW;AAEjE;AAEO,MAAM,mBAAA,GAAsB;AAAA,EACjC,oBAAA,EAAsB;AACxB;AAEO,MAAM,6BAAA,GAAgCA,yCAAsB,iBAAiB;;;;;;"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
|
|
3
|
+
const subscribeInjection = require('./subscribe-injection.js');
|
|
4
|
+
|
|
3
5
|
const NODE_DIST_FILES = ["dist/node/index.js", "dist/node/index.mjs", "dist/node/index.cjs"];
|
|
4
6
|
const googleGenAiConfig = [
|
|
5
7
|
// `generateContent`/`generateContentStream` are arrow properties assigned in the constructor, not class
|
|
@@ -32,7 +34,9 @@ const googleGenAiChannels = {
|
|
|
32
34
|
GOOGLE_GENAI_EMBED_CONTENT: "orchestrion:@google/genai:embed-content",
|
|
33
35
|
GOOGLE_GENAI_CHAT: "orchestrion:@google/genai:chat"
|
|
34
36
|
};
|
|
37
|
+
const googleGenAiSubscribeInjection = subscribeInjection.toSubscribeInjections(googleGenAiConfig);
|
|
35
38
|
|
|
36
39
|
exports.googleGenAiChannels = googleGenAiChannels;
|
|
37
40
|
exports.googleGenAiConfig = googleGenAiConfig;
|
|
41
|
+
exports.googleGenAiSubscribeInjection = googleGenAiSubscribeInjection;
|
|
38
42
|
//# sourceMappingURL=google-genai.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"google-genai.js","sources":["../../../../src/orchestrion/config/google-genai.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\n\n// `@google/genai` ships one bundled file per module format and the matcher compares `filePath` exactly,\n// so we list every file the `node` export condition resolves to across the supported range: `index.js`\n// (ESM+CJS for <0.15.0, CJS for <1.1.0), `index.mjs` (ESM for >=0.15.0), and `index.cjs` (CJS for >=1.1.0).\n// A file that doesn't exist in a given version simply never matches, so listing all three is safe.\nconst NODE_DIST_FILES = ['dist/node/index.js', 'dist/node/index.mjs', 'dist/node/index.cjs'];\n\nexport const googleGenAiConfig = [\n // `generateContent`/`generateContentStream` are arrow properties assigned in the constructor, not class\n // methods, so they need `expressionName` rather than `className`/`methodName`.\n ...NODE_DIST_FILES.flatMap(filePath =>\n (['generateContent', 'generateContentStream'] as const).map(expressionName => ({\n channelName: 'generate-content',\n module: { name: '@google/genai', versionRange: '>=0.10.0 <2', filePath },\n functionQuery: { expressionName, kind: 'Auto' as const },\n })),\n ),\n // `embedContent` and the `Chat` methods are real class methods.\n ...NODE_DIST_FILES.map(filePath => ({\n channelName: 'embed-content',\n module: { name: '@google/genai', versionRange: '>=0.10.0 <2', filePath },\n functionQuery: { className: 'Models', methodName: 'embedContent', kind: 'Auto' as const },\n })),\n // `sendMessage`/`sendMessageStream` internally delegate to `Models.generateContent(Stream)`; the\n // subscriber suppresses that nested `generate-content` event so a chat call yields a single span.\n ...NODE_DIST_FILES.flatMap(filePath =>\n (['sendMessage', 'sendMessageStream'] as const).map(methodName => ({\n channelName: 'chat',\n module: { name: '@google/genai', versionRange: '>=0.10.0 <2', filePath },\n functionQuery: { className: 'Chat', methodName, kind: 'Auto' as const },\n })),\n ),\n] satisfies InstrumentationConfig[];\n\nexport const googleGenAiChannels = {\n GOOGLE_GENAI_GENERATE_CONTENT: 'orchestrion:@google/genai:generate-content',\n GOOGLE_GENAI_EMBED_CONTENT: 'orchestrion:@google/genai:embed-content',\n GOOGLE_GENAI_CHAT: 'orchestrion:@google/genai:chat',\n} as const;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"google-genai.js","sources":["../../../../src/orchestrion/config/google-genai.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\nimport { toSubscribeInjections } from './subscribe-injection';\n\n// `@google/genai` ships one bundled file per module format and the matcher compares `filePath` exactly,\n// so we list every file the `node` export condition resolves to across the supported range: `index.js`\n// (ESM+CJS for <0.15.0, CJS for <1.1.0), `index.mjs` (ESM for >=0.15.0), and `index.cjs` (CJS for >=1.1.0).\n// A file that doesn't exist in a given version simply never matches, so listing all three is safe.\nconst NODE_DIST_FILES = ['dist/node/index.js', 'dist/node/index.mjs', 'dist/node/index.cjs'];\n\nexport const googleGenAiConfig = [\n // `generateContent`/`generateContentStream` are arrow properties assigned in the constructor, not class\n // methods, so they need `expressionName` rather than `className`/`methodName`.\n ...NODE_DIST_FILES.flatMap(filePath =>\n (['generateContent', 'generateContentStream'] as const).map(expressionName => ({\n channelName: 'generate-content',\n module: { name: '@google/genai', versionRange: '>=0.10.0 <2', filePath },\n functionQuery: { expressionName, kind: 'Auto' as const },\n })),\n ),\n // `embedContent` and the `Chat` methods are real class methods.\n ...NODE_DIST_FILES.map(filePath => ({\n channelName: 'embed-content',\n module: { name: '@google/genai', versionRange: '>=0.10.0 <2', filePath },\n functionQuery: { className: 'Models', methodName: 'embedContent', kind: 'Auto' as const },\n })),\n // `sendMessage`/`sendMessageStream` internally delegate to `Models.generateContent(Stream)`; the\n // subscriber suppresses that nested `generate-content` event so a chat call yields a single span.\n ...NODE_DIST_FILES.flatMap(filePath =>\n (['sendMessage', 'sendMessageStream'] as const).map(methodName => ({\n channelName: 'chat',\n module: { name: '@google/genai', versionRange: '>=0.10.0 <2', filePath },\n functionQuery: { className: 'Chat', methodName, kind: 'Auto' as const },\n })),\n ),\n] satisfies InstrumentationConfig[];\n\nexport const googleGenAiChannels = {\n GOOGLE_GENAI_GENERATE_CONTENT: 'orchestrion:@google/genai:generate-content',\n GOOGLE_GENAI_EMBED_CONTENT: 'orchestrion:@google/genai:embed-content',\n GOOGLE_GENAI_CHAT: 'orchestrion:@google/genai:chat',\n} as const;\n\nexport const googleGenAiSubscribeInjection = toSubscribeInjections(googleGenAiConfig);\n"],"names":["toSubscribeInjections"],"mappings":";;;;AAOA,MAAM,eAAA,GAAkB,CAAC,oBAAA,EAAsB,qBAAA,EAAuB,qBAAqB,CAAA;AAEpF,MAAM,iBAAA,GAAoB;AAAA;AAAA;AAAA,EAG/B,GAAG,eAAA,CAAgB,OAAA;AAAA,IAAQ,cACxB,CAAC,iBAAA,EAAmB,uBAAuB,CAAA,CAAY,IAAI,CAAA,cAAA,MAAmB;AAAA,MAC7E,WAAA,EAAa,kBAAA;AAAA,MACb,QAAQ,EAAE,IAAA,EAAM,eAAA,EAAiB,YAAA,EAAc,eAAe,QAAA,EAAS;AAAA,MACvE,aAAA,EAAe,EAAE,cAAA,EAAgB,IAAA,EAAM,MAAA;AAAgB,KACzD,CAAE;AAAA,GACJ;AAAA;AAAA,EAEA,GAAG,eAAA,CAAgB,GAAA,CAAI,CAAA,QAAA,MAAa;AAAA,IAClC,WAAA,EAAa,eAAA;AAAA,IACb,QAAQ,EAAE,IAAA,EAAM,eAAA,EAAiB,YAAA,EAAc,eAAe,QAAA,EAAS;AAAA,IACvE,eAAe,EAAE,SAAA,EAAW,UAAU,UAAA,EAAY,cAAA,EAAgB,MAAM,MAAA;AAAgB,GAC1F,CAAE,CAAA;AAAA;AAAA;AAAA,EAGF,GAAG,eAAA,CAAgB,OAAA;AAAA,IAAQ,cACxB,CAAC,aAAA,EAAe,mBAAmB,CAAA,CAAY,IAAI,CAAA,UAAA,MAAe;AAAA,MACjE,WAAA,EAAa,MAAA;AAAA,MACb,QAAQ,EAAE,IAAA,EAAM,eAAA,EAAiB,YAAA,EAAc,eAAe,QAAA,EAAS;AAAA,MACvE,eAAe,EAAE,SAAA,EAAW,MAAA,EAAQ,UAAA,EAAY,MAAM,MAAA;AAAgB,KACxE,CAAE;AAAA;AAEN;AAEO,MAAM,mBAAA,GAAsB;AAAA,EACjC,6BAAA,EAA+B,4CAAA;AAAA,EAC/B,0BAAA,EAA4B,yCAAA;AAAA,EAC5B,iBAAA,EAAmB;AACrB;AAEO,MAAM,6BAAA,GAAgCA,yCAAsB,iBAAiB;;;;;;"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
|
|
3
|
+
const subscribeInjection = require('./subscribe-injection.js');
|
|
4
|
+
|
|
3
5
|
const graphqlConfig = [
|
|
4
6
|
{
|
|
5
7
|
channelName: "parse",
|
|
@@ -22,7 +24,9 @@ const graphqlChannels = {
|
|
|
22
24
|
GRAPHQL_VALIDATE: "orchestrion:graphql:validate",
|
|
23
25
|
GRAPHQL_EXECUTE: "orchestrion:graphql:execute"
|
|
24
26
|
};
|
|
27
|
+
const graphqlSubscribeInjection = subscribeInjection.toSubscribeInjections(graphqlConfig);
|
|
25
28
|
|
|
26
29
|
exports.graphqlChannels = graphqlChannels;
|
|
27
30
|
exports.graphqlConfig = graphqlConfig;
|
|
31
|
+
exports.graphqlSubscribeInjection = graphqlSubscribeInjection;
|
|
28
32
|
//# sourceMappingURL=graphql.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphql.js","sources":["../../../../src/orchestrion/config/graphql.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\n\n// `parse`/`validate`/`execute` are top-level named `function` declarations in graphql's compiled\n// files, stable across the supported majors, so `functionName` matches. `execute` returns\n// `PromiseOrValue`, so `Auto` covers both async (settles on `asyncEnd`) and sync (`end`) schemas.\nexport const graphqlConfig = [\n {\n channelName: 'parse',\n module: { name: 'graphql', versionRange: '>=14.0.0 <17', filePath: 'language/parser.js' },\n functionQuery: { functionName: 'parse', kind: 'Sync' },\n },\n {\n channelName: 'validate',\n module: { name: 'graphql', versionRange: '>=14.0.0 <17', filePath: 'validation/validate.js' },\n functionQuery: { functionName: 'validate', kind: 'Sync' },\n },\n {\n channelName: 'execute',\n module: { name: 'graphql', versionRange: '>=14.0.0 <17', filePath: 'execution/execute.js' },\n functionQuery: { functionName: 'execute', kind: 'Auto' },\n },\n] satisfies InstrumentationConfig[];\n\nexport const graphqlChannels = {\n GRAPHQL_PARSE: 'orchestrion:graphql:parse',\n GRAPHQL_VALIDATE: 'orchestrion:graphql:validate',\n GRAPHQL_EXECUTE: 'orchestrion:graphql:execute',\n} as const;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"graphql.js","sources":["../../../../src/orchestrion/config/graphql.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\nimport { toSubscribeInjections } from './subscribe-injection';\n\n// `parse`/`validate`/`execute` are top-level named `function` declarations in graphql's compiled\n// files, stable across the supported majors, so `functionName` matches. `execute` returns\n// `PromiseOrValue`, so `Auto` covers both async (settles on `asyncEnd`) and sync (`end`) schemas.\nexport const graphqlConfig = [\n {\n channelName: 'parse',\n module: { name: 'graphql', versionRange: '>=14.0.0 <17', filePath: 'language/parser.js' },\n functionQuery: { functionName: 'parse', kind: 'Sync' },\n },\n {\n channelName: 'validate',\n module: { name: 'graphql', versionRange: '>=14.0.0 <17', filePath: 'validation/validate.js' },\n functionQuery: { functionName: 'validate', kind: 'Sync' },\n },\n {\n channelName: 'execute',\n module: { name: 'graphql', versionRange: '>=14.0.0 <17', filePath: 'execution/execute.js' },\n functionQuery: { functionName: 'execute', kind: 'Auto' },\n },\n] satisfies InstrumentationConfig[];\n\nexport const graphqlChannels = {\n GRAPHQL_PARSE: 'orchestrion:graphql:parse',\n GRAPHQL_VALIDATE: 'orchestrion:graphql:validate',\n GRAPHQL_EXECUTE: 'orchestrion:graphql:execute',\n} as const;\n\nexport const graphqlSubscribeInjection = toSubscribeInjections(graphqlConfig);\n"],"names":["toSubscribeInjections"],"mappings":";;;;AAMO,MAAM,aAAA,GAAgB;AAAA,EAC3B;AAAA,IACE,WAAA,EAAa,OAAA;AAAA,IACb,QAAQ,EAAE,IAAA,EAAM,WAAW,YAAA,EAAc,cAAA,EAAgB,UAAU,oBAAA,EAAqB;AAAA,IACxF,aAAA,EAAe,EAAE,YAAA,EAAc,OAAA,EAAS,MAAM,MAAA;AAAO,GACvD;AAAA,EACA;AAAA,IACE,WAAA,EAAa,UAAA;AAAA,IACb,QAAQ,EAAE,IAAA,EAAM,WAAW,YAAA,EAAc,cAAA,EAAgB,UAAU,wBAAA,EAAyB;AAAA,IAC5F,aAAA,EAAe,EAAE,YAAA,EAAc,UAAA,EAAY,MAAM,MAAA;AAAO,GAC1D;AAAA,EACA;AAAA,IACE,WAAA,EAAa,SAAA;AAAA,IACb,QAAQ,EAAE,IAAA,EAAM,WAAW,YAAA,EAAc,cAAA,EAAgB,UAAU,sBAAA,EAAuB;AAAA,IAC1F,aAAA,EAAe,EAAE,YAAA,EAAc,SAAA,EAAW,MAAM,MAAA;AAAO;AAE3D;AAEO,MAAM,eAAA,GAAkB;AAAA,EAC7B,aAAA,EAAe,2BAAA;AAAA,EACf,gBAAA,EAAkB,8BAAA;AAAA,EAClB,eAAA,EAAiB;AACnB;AAEO,MAAM,yBAAA,GAA4BA,yCAAsB,aAAa;;;;;;"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
|
|
3
|
+
const subscribeInjection = require('./subscribe-injection.js');
|
|
4
|
+
|
|
3
5
|
const hapiConfig = [
|
|
4
6
|
// hapi's `route`/`ext` live on an anonymous class (`internals.Server = class {}`),
|
|
5
7
|
// so `{className}` can't match — `{methodName}` targets them in lib/server.js. Both
|
|
@@ -20,7 +22,9 @@ const hapiChannels = {
|
|
|
20
22
|
HAPI_ROUTE: "orchestrion:@hapi/hapi:route",
|
|
21
23
|
HAPI_EXT: "orchestrion:@hapi/hapi:ext"
|
|
22
24
|
};
|
|
25
|
+
const hapiSubscribeInjection = subscribeInjection.toSubscribeInjections(hapiConfig);
|
|
23
26
|
|
|
24
27
|
exports.hapiChannels = hapiChannels;
|
|
25
28
|
exports.hapiConfig = hapiConfig;
|
|
29
|
+
exports.hapiSubscribeInjection = hapiSubscribeInjection;
|
|
26
30
|
//# sourceMappingURL=hapi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hapi.js","sources":["../../../../src/orchestrion/config/hapi.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\n\nexport const hapiConfig = [\n // hapi's `route`/`ext` live on an anonymous class (`internals.Server = class {}`),\n // so `{className}` can't match — `{methodName}` targets them in lib/server.js. Both\n // are synchronous void methods, so `Sync` suffices: we only use `start` to swap\n // handlers in `ctx.arguments`. Shape verified across the whole range.\n {\n channelName: 'route',\n module: { name: '@hapi/hapi', versionRange: '>=17.0.0 <22.0.0', filePath: 'lib/server.js' },\n functionQuery: { methodName: 'route', kind: 'Sync' },\n },\n {\n channelName: 'ext',\n module: { name: '@hapi/hapi', versionRange: '>=17.0.0 <22.0.0', filePath: 'lib/server.js' },\n functionQuery: { methodName: 'ext', kind: 'Sync' },\n },\n] satisfies InstrumentationConfig[];\n\nexport const hapiChannels = {\n HAPI_ROUTE: 'orchestrion:@hapi/hapi:route',\n HAPI_EXT: 'orchestrion:@hapi/hapi:ext',\n} as const;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hapi.js","sources":["../../../../src/orchestrion/config/hapi.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\nimport { toSubscribeInjections } from './subscribe-injection';\n\nexport const hapiConfig = [\n // hapi's `route`/`ext` live on an anonymous class (`internals.Server = class {}`),\n // so `{className}` can't match — `{methodName}` targets them in lib/server.js. Both\n // are synchronous void methods, so `Sync` suffices: we only use `start` to swap\n // handlers in `ctx.arguments`. Shape verified across the whole range.\n {\n channelName: 'route',\n module: { name: '@hapi/hapi', versionRange: '>=17.0.0 <22.0.0', filePath: 'lib/server.js' },\n functionQuery: { methodName: 'route', kind: 'Sync' },\n },\n {\n channelName: 'ext',\n module: { name: '@hapi/hapi', versionRange: '>=17.0.0 <22.0.0', filePath: 'lib/server.js' },\n functionQuery: { methodName: 'ext', kind: 'Sync' },\n },\n] satisfies InstrumentationConfig[];\n\nexport const hapiChannels = {\n HAPI_ROUTE: 'orchestrion:@hapi/hapi:route',\n HAPI_EXT: 'orchestrion:@hapi/hapi:ext',\n} as const;\n\nexport const hapiSubscribeInjection = toSubscribeInjections(hapiConfig);\n"],"names":["toSubscribeInjections"],"mappings":";;;;AAGO,MAAM,UAAA,GAAa;AAAA;AAAA;AAAA;AAAA;AAAA,EAKxB;AAAA,IACE,WAAA,EAAa,OAAA;AAAA,IACb,QAAQ,EAAE,IAAA,EAAM,cAAc,YAAA,EAAc,kBAAA,EAAoB,UAAU,eAAA,EAAgB;AAAA,IAC1F,aAAA,EAAe,EAAE,UAAA,EAAY,OAAA,EAAS,MAAM,MAAA;AAAO,GACrD;AAAA,EACA;AAAA,IACE,WAAA,EAAa,KAAA;AAAA,IACb,QAAQ,EAAE,IAAA,EAAM,cAAc,YAAA,EAAc,kBAAA,EAAoB,UAAU,eAAA,EAAgB;AAAA,IAC1F,aAAA,EAAe,EAAE,UAAA,EAAY,KAAA,EAAO,MAAM,MAAA;AAAO;AAErD;AAEO,MAAM,YAAA,GAAe;AAAA,EAC1B,UAAA,EAAY,8BAAA;AAAA,EACZ,QAAA,EAAU;AACZ;AAEO,MAAM,sBAAA,GAAyBA,yCAAsB,UAAU;;;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
|
|
3
3
|
const core = require('@sentry/core');
|
|
4
|
+
const awsSdk = require('./aws-sdk.js');
|
|
4
5
|
const amqplib = require('./amqplib.js');
|
|
5
6
|
const anthropicAi = require('./anthropic-ai.js');
|
|
6
|
-
const awsSdk = require('./aws-sdk.js');
|
|
7
7
|
const dataloader = require('./dataloader.js');
|
|
8
8
|
const express = require('./express.js');
|
|
9
9
|
const firebase = require('./firebase.js');
|
|
@@ -26,8 +26,6 @@ const nestjs = require('./nestjs.js');
|
|
|
26
26
|
const openai = require('./openai.js');
|
|
27
27
|
const pg = require('./pg.js');
|
|
28
28
|
const postgres = require('./postgres.js');
|
|
29
|
-
const prisma = require('./prisma.js');
|
|
30
|
-
const reactRouter = require('./react-router.js');
|
|
31
29
|
const redis = require('./redis.js');
|
|
32
30
|
const remix = require('./remix.js');
|
|
33
31
|
const tedious = require('./tedious.js');
|
|
@@ -59,13 +57,42 @@ const SENTRY_INSTRUMENTATIONS = [
|
|
|
59
57
|
...openai.openaiConfig,
|
|
60
58
|
...pg.pgConfig,
|
|
61
59
|
...postgres.postgresJsConfig,
|
|
62
|
-
...prisma.prismaConfig,
|
|
63
|
-
...reactRouter.reactRouterConfig,
|
|
64
60
|
...redis.redisConfig,
|
|
65
61
|
...remix.remixConfig,
|
|
66
62
|
...tedious.tediousConfig,
|
|
67
63
|
...vercelAi.vercelAiConfig
|
|
68
64
|
];
|
|
65
|
+
const SUBSCRIBE_INJECTIONS = [
|
|
66
|
+
...amqplib.amqplibSubscribeInjection,
|
|
67
|
+
...anthropicAi.anthropicAiSubscribeInjection,
|
|
68
|
+
...awsSdk.awsSdkSubscribeInjection,
|
|
69
|
+
...dataloader.dataloaderSubscribeInjection,
|
|
70
|
+
...express.expressSubscribeInjection,
|
|
71
|
+
...firebase.firebaseSubscribeInjection,
|
|
72
|
+
...genericPool.genericPoolSubscribeInjection,
|
|
73
|
+
...googleGenai.googleGenAiSubscribeInjection,
|
|
74
|
+
...graphql.graphqlSubscribeInjection,
|
|
75
|
+
...hapi.hapiSubscribeInjection,
|
|
76
|
+
...ioredis.ioredisSubscribeInjection,
|
|
77
|
+
...kafkajs.kafkajsSubscribeInjection,
|
|
78
|
+
...knex.knexSubscribeInjection,
|
|
79
|
+
...koa.koaSubscribeInjection,
|
|
80
|
+
...langchain.langchainSubscribeInjection,
|
|
81
|
+
...langgraph.langgraphSubscribeInjection,
|
|
82
|
+
...lruMemoizer.lruMemoizerSubscribeInjection,
|
|
83
|
+
...mongodb.mongodbSubscribeInjection,
|
|
84
|
+
...mongoose.mongooseSubscribeInjection,
|
|
85
|
+
...mysql2.mysql2SubscribeInjection,
|
|
86
|
+
...mysql.mysqlSubscribeInjection,
|
|
87
|
+
...nestjs.nestjsSubscribeInjection,
|
|
88
|
+
...openai.openaiSubscribeInjection,
|
|
89
|
+
...pg.pgSubscribeInjection,
|
|
90
|
+
...postgres.postgresJsSubscribeInjection,
|
|
91
|
+
...redis.redisSubscribeInjection,
|
|
92
|
+
...remix.remixSubscribeInjection,
|
|
93
|
+
...tedious.tediousSubscribeInjection,
|
|
94
|
+
...vercelAi.vercelAiSubscribeInjection
|
|
95
|
+
];
|
|
69
96
|
function instrumentedModuleNames(instrumentations = []) {
|
|
70
97
|
return [
|
|
71
98
|
...core.uniq([...SENTRY_INSTRUMENTATIONS, ...instrumentations].map((i) => i.module.name)),
|
|
@@ -84,6 +111,7 @@ function withoutInstrumentedExternals(external, moduleNames = INSTRUMENTED_MODUL
|
|
|
84
111
|
|
|
85
112
|
exports.INSTRUMENTED_MODULE_NAMES = INSTRUMENTED_MODULE_NAMES;
|
|
86
113
|
exports.SENTRY_INSTRUMENTATIONS = SENTRY_INSTRUMENTATIONS;
|
|
114
|
+
exports.SUBSCRIBE_INJECTIONS = SUBSCRIBE_INJECTIONS;
|
|
87
115
|
exports.instrumentedModuleNames = instrumentedModuleNames;
|
|
88
116
|
exports.withoutInstrumentedExternals = withoutInstrumentedExternals;
|
|
89
117
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/orchestrion/config/index.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\nimport { uniq } from '@sentry/core';\n\nimport { amqplibConfig } from './amqplib';\nimport { anthropicAiConfig } from './anthropic-ai';\nimport { awsSdkConfig } from './aws-sdk';\nimport { dataloaderConfig } from './dataloader';\nimport { expressConfig } from './express';\nimport { firebaseConfig } from './firebase';\nimport { genericPoolConfig } from './generic-pool';\nimport { googleGenAiConfig } from './google-genai';\nimport { graphqlConfig } from './graphql';\nimport { hapiConfig } from './hapi';\nimport { ioredisConfig } from './ioredis';\nimport { kafkajsConfig } from './kafkajs';\nimport { knexConfig } from './knex';\nimport { koaConfig } from './koa';\nimport { langchainConfig } from './langchain';\nimport { langgraphConfig } from './langgraph';\nimport { lruMemoizerConfig } from './lru-memoizer';\nimport { mongodbConfig } from './mongodb';\nimport { mongooseConfig } from './mongoose';\nimport { mysql2Config } from './mysql2';\nimport { mysqlConfig } from './mysql';\nimport { nestjsConfig } from './nestjs';\nimport { openaiConfig } from './openai';\nimport { pgConfig } from './pg';\nimport { postgresJsConfig } from './postgres';\nimport { prismaConfig } from './prisma';\nimport { reactRouterConfig } from './react-router';\nimport { redisConfig } from './redis';\nimport { remixConfig } from './remix';\nimport { tediousConfig } from './tedious';\nimport { vercelAiConfig } from './vercel-ai';\n// Kept sorted alphabetically by module so concurrent additions insert at different\n// points rather than all appending to the end (fewer merge conflicts).\n\n/**\n * The orchestrion code-transform configs. Every instrumentable library is here\n * so the transform is all-or-nothing: whenever orchestrion is enabled, all of\n * these are injected. The channel LISTENERS may live elsewhere (e.g. the NestJS\n * one lives in `@sentry/nestjs`), but the config that decides what gets\n * transformed is centralized here.\n */\nexport const SENTRY_INSTRUMENTATIONS: InstrumentationConfig[] = [\n ...amqplibConfig,\n ...anthropicAiConfig,\n ...awsSdkConfig,\n ...dataloaderConfig,\n ...expressConfig,\n ...firebaseConfig,\n ...genericPoolConfig,\n ...googleGenAiConfig,\n ...graphqlConfig,\n ...hapiConfig,\n ...ioredisConfig,\n ...kafkajsConfig,\n ...knexConfig,\n ...koaConfig,\n ...langchainConfig,\n ...langgraphConfig,\n ...lruMemoizerConfig,\n ...mongodbConfig,\n ...mongooseConfig,\n ...mysql2Config,\n ...mysqlConfig,\n ...nestjsConfig,\n ...openaiConfig,\n ...pgConfig,\n ...postgresJsConfig,\n ...prismaConfig,\n ...reactRouterConfig,\n ...redisConfig,\n ...remixConfig,\n ...tediousConfig,\n ...vercelAiConfig,\n];\n\n/**\n * The unique set of package names instrumented by `SENTRY_INSTRUMENTATIONS`\n * merged with any caller-provided `instrumentations` (e.g. `['mysql']`).\n *\n * Bundler plugins MUST ensure these are actually bundled rather than\n * externalized: an externalized dependency is resolved from `node_modules` at\n * runtime and never passes through the code transform's `onLoad`, so its\n * diagnostics_channel calls are silently never injected. This includes a\n * plugin's custom `instrumentations`, otherwise those extra packages can stay\n * externalized and their transform never runs.\n */\nexport function instrumentedModuleNames(instrumentations: InstrumentationConfig[] = []): string[] {\n return [\n ...uniq([...SENTRY_INSTRUMENTATIONS, ...instrumentations].map(i => i.module.name)),\n // Additional things that need to be bundled but are not covered by the above\n // Remix needs to bundle this so @remix-run/server-runtime is _also_ bundled\n '@remix-run/node',\n ];\n}\n\n/** The instrumented module names from the default Sentry config, with no custom additions. */\nexport const INSTRUMENTED_MODULE_NAMES: string[] = instrumentedModuleNames();\n\n/**\n * Returns `external` with any instrumented packages removed, so a bundler that\n * uses an \"external\" denylist (esbuild, Bun, Rollup) still bundles — and thus\n * transforms — them. Matches an exact package name (`'mysql'`) or a subpath\n * (`'mysql/lib/...'`); wildcard/other patterns are left untouched. `undefined`\n * is returned unchanged.\n *\n * Pass `moduleNames` from `instrumentedModuleNames(options.instrumentations)` so\n * custom instrumentations are stripped too; it defaults to the Sentry config\n * list. (Vite uses an `ssr.noExternal` allowlist instead, so it consumes\n * `instrumentedModuleNames` directly rather than this helper.)\n */\nexport function withoutInstrumentedExternals(\n external: readonly string[] | undefined,\n moduleNames: string[] = INSTRUMENTED_MODULE_NAMES,\n): string[] | undefined {\n if (!external) {\n return undefined;\n }\n return external.filter(entry => !moduleNames.some(name => entry === name || entry.startsWith(`${name}/`)));\n}\n"],"names":["amqplibConfig","anthropicAiConfig","awsSdkConfig","dataloaderConfig","expressConfig","firebaseConfig","genericPoolConfig","googleGenAiConfig","graphqlConfig","hapiConfig","ioredisConfig","kafkajsConfig","knexConfig","koaConfig","langchainConfig","langgraphConfig","lruMemoizerConfig","mongodbConfig","mongooseConfig","mysql2Config","mysqlConfig","nestjsConfig","openaiConfig","pgConfig","postgresJsConfig","prismaConfig","reactRouterConfig","redisConfig","remixConfig","tediousConfig","vercelAiConfig","uniq"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CO,MAAM,uBAAA,GAAmD;AAAA,EAC9D,GAAGA,qBAAA;AAAA,EACH,GAAGC,6BAAA;AAAA,EACH,GAAGC,mBAAA;AAAA,EACH,GAAGC,2BAAA;AAAA,EACH,GAAGC,qBAAA;AAAA,EACH,GAAGC,uBAAA;AAAA,EACH,GAAGC,6BAAA;AAAA,EACH,GAAGC,6BAAA;AAAA,EACH,GAAGC,qBAAA;AAAA,EACH,GAAGC,eAAA;AAAA,EACH,GAAGC,qBAAA;AAAA,EACH,GAAGC,qBAAA;AAAA,EACH,GAAGC,eAAA;AAAA,EACH,GAAGC,aAAA;AAAA,EACH,GAAGC,yBAAA;AAAA,EACH,GAAGC,yBAAA;AAAA,EACH,GAAGC,6BAAA;AAAA,EACH,GAAGC,qBAAA;AAAA,EACH,GAAGC,uBAAA;AAAA,EACH,GAAGC,mBAAA;AAAA,EACH,GAAGC,iBAAA;AAAA,EACH,GAAGC,mBAAA;AAAA,EACH,GAAGC,mBAAA;AAAA,EACH,GAAGC,WAAA;AAAA,EACH,GAAGC,yBAAA;AAAA,EACH,GAAGC,mBAAA;AAAA,EACH,GAAGC,6BAAA;AAAA,EACH,GAAGC,iBAAA;AAAA,EACH,GAAGC,iBAAA;AAAA,EACH,GAAGC,qBAAA;AAAA,EACH,GAAGC;AACL;AAaO,SAAS,uBAAA,CAAwB,gBAAA,GAA4C,EAAC,EAAa;AAChG,EAAA,OAAO;AAAA,IACL,GAAGC,SAAA,CAAK,CAAC,GAAG,uBAAA,EAAyB,GAAG,gBAAgB,CAAA,CAAE,GAAA,CAAI,CAAA,CAAA,KAAK,CAAA,CAAE,MAAA,CAAO,IAAI,CAAC,CAAA;AAAA;AAAA;AAAA,IAGjF;AAAA,GACF;AACF;AAGO,MAAM,4BAAsC,uBAAA;AAc5C,SAAS,4BAAA,CACd,QAAA,EACA,WAAA,GAAwB,yBAAA,EACF;AACtB,EAAA,IAAI,CAAC,QAAA,EAAU;AACb,IAAA,OAAO,MAAA;AAAA,EACT;AACA,EAAA,OAAO,QAAA,CAAS,MAAA,CAAO,CAAA,KAAA,KAAS,CAAC,YAAY,IAAA,CAAK,CAAA,IAAA,KAAQ,KAAA,KAAU,IAAA,IAAQ,MAAM,UAAA,CAAW,CAAA,EAAG,IAAI,CAAA,CAAA,CAAG,CAAC,CAAC,CAAA;AAC3G;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/orchestrion/config/index.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\nimport { uniq } from '@sentry/core';\n\nimport { awsSdkConfig, awsSdkSubscribeInjection } from './aws-sdk';\nimport { amqplibConfig, amqplibSubscribeInjection } from './amqplib';\nimport { anthropicAiConfig, anthropicAiSubscribeInjection } from './anthropic-ai';\nimport { dataloaderConfig, dataloaderSubscribeInjection } from './dataloader';\nimport { expressConfig, expressSubscribeInjection } from './express';\nimport { firebaseConfig, firebaseSubscribeInjection } from './firebase';\nimport { genericPoolConfig, genericPoolSubscribeInjection } from './generic-pool';\nimport { googleGenAiConfig, googleGenAiSubscribeInjection } from './google-genai';\nimport { graphqlConfig, graphqlSubscribeInjection } from './graphql';\nimport { hapiConfig, hapiSubscribeInjection } from './hapi';\nimport { ioredisConfig, ioredisSubscribeInjection } from './ioredis';\nimport { kafkajsConfig, kafkajsSubscribeInjection } from './kafkajs';\nimport { knexConfig, knexSubscribeInjection } from './knex';\nimport { koaConfig, koaSubscribeInjection } from './koa';\nimport { langchainConfig, langchainSubscribeInjection } from './langchain';\nimport { langgraphConfig, langgraphSubscribeInjection } from './langgraph';\nimport { lruMemoizerConfig, lruMemoizerSubscribeInjection } from './lru-memoizer';\nimport { mongodbConfig, mongodbSubscribeInjection } from './mongodb';\nimport { mongooseConfig, mongooseSubscribeInjection } from './mongoose';\nimport { mysql2Config, mysql2SubscribeInjection } from './mysql2';\nimport { mysqlConfig, mysqlSubscribeInjection } from './mysql';\nimport { nestjsConfig, nestjsSubscribeInjection } from './nestjs';\nimport { openaiConfig, openaiSubscribeInjection } from './openai';\nimport { pgConfig, pgSubscribeInjection } from './pg';\nimport { postgresJsConfig, postgresJsSubscribeInjection } from './postgres';\nimport { redisConfig, redisSubscribeInjection } from './redis';\nimport { remixConfig, remixSubscribeInjection } from './remix';\nimport { tediousConfig, tediousSubscribeInjection } from './tedious';\nimport { vercelAiConfig, vercelAiSubscribeInjection } from './vercel-ai';\n// Kept sorted alphabetically by module so concurrent additions insert at different\n// points rather than all appending to the end (fewer merge conflicts).\n\n/**\n * The orchestrion code-transform configs. Every instrumentable library is here\n * so the transform is all-or-nothing: whenever orchestrion is enabled, all of\n * these are injected. The channel LISTENERS may live elsewhere (e.g. the NestJS\n * one lives in `@sentry/nestjs`), but the config that decides what gets\n * transformed is centralized here.\n */\nexport const SENTRY_INSTRUMENTATIONS: InstrumentationConfig[] = [\n ...amqplibConfig,\n ...anthropicAiConfig,\n ...awsSdkConfig,\n ...dataloaderConfig,\n ...expressConfig,\n ...firebaseConfig,\n ...genericPoolConfig,\n ...googleGenAiConfig,\n ...graphqlConfig,\n ...hapiConfig,\n ...ioredisConfig,\n ...kafkajsConfig,\n ...knexConfig,\n ...koaConfig,\n ...langchainConfig,\n ...langgraphConfig,\n ...lruMemoizerConfig,\n ...mongodbConfig,\n ...mongooseConfig,\n ...mysql2Config,\n ...mysqlConfig,\n ...nestjsConfig,\n ...openaiConfig,\n ...pgConfig,\n ...postgresJsConfig,\n ...redisConfig,\n ...remixConfig,\n ...tediousConfig,\n ...vercelAiConfig,\n];\n\n/**\n * The `Program`-matching injection configs that make each instrumented file\n * self-register its channel subscriber at load (used by bundler-only SDKs like\n * `@sentry/cloudflare`).\n *\n * Deliberately separate from `SENTRY_INSTRUMENTATIONS`: these reference a custom\n * transform that only the opted-in bundler plugin registers, so feeding them to\n * the runtime `--import` hook (which can't register it) would make the\n * code-transformer drop the whole file. Each library owns its own\n * `*SubscribeInjection` (derived from its channel configs), collected here.\n */\nexport const SUBSCRIBE_INJECTIONS: InstrumentationConfig[] = [\n ...amqplibSubscribeInjection,\n ...anthropicAiSubscribeInjection,\n ...awsSdkSubscribeInjection,\n ...dataloaderSubscribeInjection,\n ...expressSubscribeInjection,\n ...firebaseSubscribeInjection,\n ...genericPoolSubscribeInjection,\n ...googleGenAiSubscribeInjection,\n ...graphqlSubscribeInjection,\n ...hapiSubscribeInjection,\n ...ioredisSubscribeInjection,\n ...kafkajsSubscribeInjection,\n ...knexSubscribeInjection,\n ...koaSubscribeInjection,\n ...langchainSubscribeInjection,\n ...langgraphSubscribeInjection,\n ...lruMemoizerSubscribeInjection,\n ...mongodbSubscribeInjection,\n ...mongooseSubscribeInjection,\n ...mysql2SubscribeInjection,\n ...mysqlSubscribeInjection,\n ...nestjsSubscribeInjection,\n ...openaiSubscribeInjection,\n ...pgSubscribeInjection,\n ...postgresJsSubscribeInjection,\n ...redisSubscribeInjection,\n ...remixSubscribeInjection,\n ...tediousSubscribeInjection,\n ...vercelAiSubscribeInjection,\n];\n\n/**\n * The unique set of package names instrumented by `SENTRY_INSTRUMENTATIONS`\n * merged with any caller-provided `instrumentations` (e.g. `['mysql']`).\n *\n * Bundler plugins MUST ensure these are actually bundled rather than\n * externalized: an externalized dependency is resolved from `node_modules` at\n * runtime and never passes through the code transform's `onLoad`, so its\n * diagnostics_channel calls are silently never injected. This includes a\n * plugin's custom `instrumentations`, otherwise those extra packages can stay\n * externalized and their transform never runs.\n */\nexport function instrumentedModuleNames(instrumentations: InstrumentationConfig[] = []): string[] {\n return [\n ...uniq([...SENTRY_INSTRUMENTATIONS, ...instrumentations].map(i => i.module.name)),\n // Additional things that need to be bundled but are not covered by the above\n // Remix needs to bundle this so @remix-run/server-runtime is _also_ bundled\n '@remix-run/node',\n ];\n}\n\n/** The instrumented module names from the default Sentry config, with no custom additions. */\nexport const INSTRUMENTED_MODULE_NAMES: string[] = instrumentedModuleNames();\n\n/**\n * Returns `external` with any instrumented packages removed, so a bundler that\n * uses an \"external\" denylist (esbuild, Bun, Rollup) still bundles — and thus\n * transforms — them. Matches an exact package name (`'mysql'`) or a subpath\n * (`'mysql/lib/...'`); wildcard/other patterns are left untouched. `undefined`\n * is returned unchanged.\n *\n * Pass `moduleNames` from `instrumentedModuleNames(options.instrumentations)` so\n * custom instrumentations are stripped too; it defaults to the Sentry config\n * list. (Vite uses an `ssr.noExternal` allowlist instead, so it consumes\n * `instrumentedModuleNames` directly rather than this helper.)\n */\nexport function withoutInstrumentedExternals(\n external: readonly string[] | undefined,\n moduleNames: string[] = INSTRUMENTED_MODULE_NAMES,\n): string[] | undefined {\n if (!external) {\n return undefined;\n }\n return external.filter(entry => !moduleNames.some(name => entry === name || entry.startsWith(`${name}/`)));\n}\n"],"names":["amqplibConfig","anthropicAiConfig","awsSdkConfig","dataloaderConfig","expressConfig","firebaseConfig","genericPoolConfig","googleGenAiConfig","graphqlConfig","hapiConfig","ioredisConfig","kafkajsConfig","knexConfig","koaConfig","langchainConfig","langgraphConfig","lruMemoizerConfig","mongodbConfig","mongooseConfig","mysql2Config","mysqlConfig","nestjsConfig","openaiConfig","pgConfig","postgresJsConfig","redisConfig","remixConfig","tediousConfig","vercelAiConfig","amqplibSubscribeInjection","anthropicAiSubscribeInjection","awsSdkSubscribeInjection","dataloaderSubscribeInjection","expressSubscribeInjection","firebaseSubscribeInjection","genericPoolSubscribeInjection","googleGenAiSubscribeInjection","graphqlSubscribeInjection","hapiSubscribeInjection","ioredisSubscribeInjection","kafkajsSubscribeInjection","knexSubscribeInjection","koaSubscribeInjection","langchainSubscribeInjection","langgraphSubscribeInjection","lruMemoizerSubscribeInjection","mongodbSubscribeInjection","mongooseSubscribeInjection","mysql2SubscribeInjection","mysqlSubscribeInjection","nestjsSubscribeInjection","openaiSubscribeInjection","pgSubscribeInjection","postgresJsSubscribeInjection","redisSubscribeInjection","remixSubscribeInjection","tediousSubscribeInjection","vercelAiSubscribeInjection","uniq"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CO,MAAM,uBAAA,GAAmD;AAAA,EAC9D,GAAGA,qBAAA;AAAA,EACH,GAAGC,6BAAA;AAAA,EACH,GAAGC,mBAAA;AAAA,EACH,GAAGC,2BAAA;AAAA,EACH,GAAGC,qBAAA;AAAA,EACH,GAAGC,uBAAA;AAAA,EACH,GAAGC,6BAAA;AAAA,EACH,GAAGC,6BAAA;AAAA,EACH,GAAGC,qBAAA;AAAA,EACH,GAAGC,eAAA;AAAA,EACH,GAAGC,qBAAA;AAAA,EACH,GAAGC,qBAAA;AAAA,EACH,GAAGC,eAAA;AAAA,EACH,GAAGC,aAAA;AAAA,EACH,GAAGC,yBAAA;AAAA,EACH,GAAGC,yBAAA;AAAA,EACH,GAAGC,6BAAA;AAAA,EACH,GAAGC,qBAAA;AAAA,EACH,GAAGC,uBAAA;AAAA,EACH,GAAGC,mBAAA;AAAA,EACH,GAAGC,iBAAA;AAAA,EACH,GAAGC,mBAAA;AAAA,EACH,GAAGC,mBAAA;AAAA,EACH,GAAGC,WAAA;AAAA,EACH,GAAGC,yBAAA;AAAA,EACH,GAAGC,iBAAA;AAAA,EACH,GAAGC,iBAAA;AAAA,EACH,GAAGC,qBAAA;AAAA,EACH,GAAGC;AACL;AAaO,MAAM,oBAAA,GAAgD;AAAA,EAC3D,GAAGC,iCAAA;AAAA,EACH,GAAGC,yCAAA;AAAA,EACH,GAAGC,+BAAA;AAAA,EACH,GAAGC,uCAAA;AAAA,EACH,GAAGC,iCAAA;AAAA,EACH,GAAGC,mCAAA;AAAA,EACH,GAAGC,yCAAA;AAAA,EACH,GAAGC,yCAAA;AAAA,EACH,GAAGC,iCAAA;AAAA,EACH,GAAGC,2BAAA;AAAA,EACH,GAAGC,iCAAA;AAAA,EACH,GAAGC,iCAAA;AAAA,EACH,GAAGC,2BAAA;AAAA,EACH,GAAGC,yBAAA;AAAA,EACH,GAAGC,qCAAA;AAAA,EACH,GAAGC,qCAAA;AAAA,EACH,GAAGC,yCAAA;AAAA,EACH,GAAGC,iCAAA;AAAA,EACH,GAAGC,mCAAA;AAAA,EACH,GAAGC,+BAAA;AAAA,EACH,GAAGC,6BAAA;AAAA,EACH,GAAGC,+BAAA;AAAA,EACH,GAAGC,+BAAA;AAAA,EACH,GAAGC,uBAAA;AAAA,EACH,GAAGC,qCAAA;AAAA,EACH,GAAGC,6BAAA;AAAA,EACH,GAAGC,6BAAA;AAAA,EACH,GAAGC,iCAAA;AAAA,EACH,GAAGC;AACL;AAaO,SAAS,uBAAA,CAAwB,gBAAA,GAA4C,EAAC,EAAa;AAChG,EAAA,OAAO;AAAA,IACL,GAAGC,SAAA,CAAK,CAAC,GAAG,uBAAA,EAAyB,GAAG,gBAAgB,CAAA,CAAE,GAAA,CAAI,CAAA,CAAA,KAAK,CAAA,CAAE,MAAA,CAAO,IAAI,CAAC,CAAA;AAAA;AAAA;AAAA,IAGjF;AAAA,GACF;AACF;AAGO,MAAM,4BAAsC,uBAAA;AAc5C,SAAS,4BAAA,CACd,QAAA,EACA,WAAA,GAAwB,yBAAA,EACF;AACtB,EAAA,IAAI,CAAC,QAAA,EAAU;AACb,IAAA,OAAO,MAAA;AAAA,EACT;AACA,EAAA,OAAO,QAAA,CAAS,MAAA,CAAO,CAAA,KAAA,KAAS,CAAC,YAAY,IAAA,CAAK,CAAA,IAAA,KAAQ,KAAA,KAAU,IAAA,IAAQ,MAAM,UAAA,CAAW,CAAA,EAAG,IAAI,CAAA,CAAA,CAAG,CAAC,CAAC,CAAA;AAC3G;;;;;;;;"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
|
|
3
|
+
const subscribeInjection = require('./subscribe-injection.js');
|
|
4
|
+
|
|
3
5
|
const ioredisConfig = [
|
|
4
6
|
// ioredis `<5.11.0` (>=5.11.0 publishes its own `ioredis:*` diagnostics_channel)
|
|
5
7
|
...["lib/redis.js", "built/redis.js", "built/redis/index.js"].flatMap((filePath) => [
|
|
@@ -29,7 +31,9 @@ const ioredisChannels = {
|
|
|
29
31
|
IOREDIS_COMMAND: "orchestrion:ioredis:command",
|
|
30
32
|
IOREDIS_CONNECT: "orchestrion:ioredis:connect"
|
|
31
33
|
};
|
|
34
|
+
const ioredisSubscribeInjection = subscribeInjection.toSubscribeInjections(ioredisConfig);
|
|
32
35
|
|
|
33
36
|
exports.ioredisChannels = ioredisChannels;
|
|
34
37
|
exports.ioredisConfig = ioredisConfig;
|
|
38
|
+
exports.ioredisSubscribeInjection = ioredisSubscribeInjection;
|
|
35
39
|
//# sourceMappingURL=ioredis.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ioredis.js","sources":["../../../../src/orchestrion/config/ioredis.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\n\nexport const ioredisConfig = [\n // ioredis `<5.11.0` (>=5.11.0 publishes its own `ioredis:*` diagnostics_channel)\n ...['lib/redis.js', 'built/redis.js', 'built/redis/index.js'].flatMap((filePath): InstrumentationConfig[] => [\n {\n channelName: 'command',\n module: { name: 'ioredis', versionRange: '>=2.0.0 <5.0.0', filePath },\n functionQuery: { expressionName: 'sendCommand', kind: 'Async' },\n },\n {\n channelName: 'connect',\n module: { name: 'ioredis', versionRange: '>=2.0.0 <5.0.0', filePath },\n functionQuery: { expressionName: 'connect', kind: 'Async' },\n },\n ]),\n {\n channelName: 'command',\n module: { name: 'ioredis', versionRange: '>=5.0.0 <5.11.0', filePath: 'built/Redis.js' },\n functionQuery: { className: 'Redis', methodName: 'sendCommand', kind: 'Async' },\n },\n {\n channelName: 'connect',\n module: { name: 'ioredis', versionRange: '>=5.0.0 <5.11.0', filePath: 'built/Redis.js' },\n functionQuery: { className: 'Redis', methodName: 'connect', kind: 'Async' },\n },\n] satisfies InstrumentationConfig[];\n\nexport const ioredisChannels = {\n IOREDIS_COMMAND: 'orchestrion:ioredis:command',\n IOREDIS_CONNECT: 'orchestrion:ioredis:connect',\n} as const;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ioredis.js","sources":["../../../../src/orchestrion/config/ioredis.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\nimport { toSubscribeInjections } from './subscribe-injection';\n\nexport const ioredisConfig = [\n // ioredis `<5.11.0` (>=5.11.0 publishes its own `ioredis:*` diagnostics_channel)\n ...['lib/redis.js', 'built/redis.js', 'built/redis/index.js'].flatMap((filePath): InstrumentationConfig[] => [\n {\n channelName: 'command',\n module: { name: 'ioredis', versionRange: '>=2.0.0 <5.0.0', filePath },\n functionQuery: { expressionName: 'sendCommand', kind: 'Async' },\n },\n {\n channelName: 'connect',\n module: { name: 'ioredis', versionRange: '>=2.0.0 <5.0.0', filePath },\n functionQuery: { expressionName: 'connect', kind: 'Async' },\n },\n ]),\n {\n channelName: 'command',\n module: { name: 'ioredis', versionRange: '>=5.0.0 <5.11.0', filePath: 'built/Redis.js' },\n functionQuery: { className: 'Redis', methodName: 'sendCommand', kind: 'Async' },\n },\n {\n channelName: 'connect',\n module: { name: 'ioredis', versionRange: '>=5.0.0 <5.11.0', filePath: 'built/Redis.js' },\n functionQuery: { className: 'Redis', methodName: 'connect', kind: 'Async' },\n },\n] satisfies InstrumentationConfig[];\n\nexport const ioredisChannels = {\n IOREDIS_COMMAND: 'orchestrion:ioredis:command',\n IOREDIS_CONNECT: 'orchestrion:ioredis:connect',\n} as const;\n\nexport const ioredisSubscribeInjection = toSubscribeInjections(ioredisConfig);\n"],"names":["toSubscribeInjections"],"mappings":";;;;AAGO,MAAM,aAAA,GAAgB;AAAA;AAAA,EAE3B,GAAG,CAAC,cAAA,EAAgB,gBAAA,EAAkB,sBAAsB,CAAA,CAAE,OAAA,CAAQ,CAAC,QAAA,KAAsC;AAAA,IAC3G;AAAA,MACE,WAAA,EAAa,SAAA;AAAA,MACb,QAAQ,EAAE,IAAA,EAAM,SAAA,EAAW,YAAA,EAAc,kBAAkB,QAAA,EAAS;AAAA,MACpE,aAAA,EAAe,EAAE,cAAA,EAAgB,aAAA,EAAe,MAAM,OAAA;AAAQ,KAChE;AAAA,IACA;AAAA,MACE,WAAA,EAAa,SAAA;AAAA,MACb,QAAQ,EAAE,IAAA,EAAM,SAAA,EAAW,YAAA,EAAc,kBAAkB,QAAA,EAAS;AAAA,MACpE,aAAA,EAAe,EAAE,cAAA,EAAgB,SAAA,EAAW,MAAM,OAAA;AAAQ;AAC5D,GACD,CAAA;AAAA,EACD;AAAA,IACE,WAAA,EAAa,SAAA;AAAA,IACb,QAAQ,EAAE,IAAA,EAAM,WAAW,YAAA,EAAc,iBAAA,EAAmB,UAAU,gBAAA,EAAiB;AAAA,IACvF,eAAe,EAAE,SAAA,EAAW,SAAS,UAAA,EAAY,aAAA,EAAe,MAAM,OAAA;AAAQ,GAChF;AAAA,EACA;AAAA,IACE,WAAA,EAAa,SAAA;AAAA,IACb,QAAQ,EAAE,IAAA,EAAM,WAAW,YAAA,EAAc,iBAAA,EAAmB,UAAU,gBAAA,EAAiB;AAAA,IACvF,eAAe,EAAE,SAAA,EAAW,SAAS,UAAA,EAAY,SAAA,EAAW,MAAM,OAAA;AAAQ;AAE9E;AAEO,MAAM,eAAA,GAAkB;AAAA,EAC7B,eAAA,EAAiB,6BAAA;AAAA,EACjB,eAAA,EAAiB;AACnB;AAEO,MAAM,yBAAA,GAA4BA,yCAAsB,aAAa;;;;;;"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
|
|
3
|
+
const subscribeInjection = require('./subscribe-injection.js');
|
|
4
|
+
|
|
3
5
|
const kafkajsConfig = [
|
|
4
6
|
{
|
|
5
7
|
channelName: "send_batch",
|
|
@@ -24,7 +26,9 @@ const kafkajsChannels = {
|
|
|
24
26
|
KAFKAJS_SEND_BATCH: "orchestrion:kafkajs:send_batch",
|
|
25
27
|
KAFKAJS_CONSUMER_RUN: "orchestrion:kafkajs:consumer_run"
|
|
26
28
|
};
|
|
29
|
+
const kafkajsSubscribeInjection = subscribeInjection.toSubscribeInjections(kafkajsConfig);
|
|
27
30
|
|
|
28
31
|
exports.kafkajsChannels = kafkajsChannels;
|
|
29
32
|
exports.kafkajsConfig = kafkajsConfig;
|
|
33
|
+
exports.kafkajsSubscribeInjection = kafkajsSubscribeInjection;
|
|
30
34
|
//# sourceMappingURL=kafkajs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kafkajs.js","sources":["../../../../src/orchestrion/config/kafkajs.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\n\nexport const kafkajsConfig = [\n {\n channelName: 'send_batch',\n module: { name: 'kafkajs', versionRange: '>=2.0.0 <3', filePath: 'src/producer/messageProducer.js' },\n // `const sendBatch = async (...) => {...}` — `expressionName` matches the `const` assignment.\n // We instrument ONLY `sendBatch`: `send` funnels into it internally, so `producer.send`,\n // `producer.sendBatch` and their transactional variants all flow through this one channel.\n // Instrumenting `send` too would double-count spans.\n functionQuery: { expressionName: 'sendBatch', kind: 'Async' },\n },\n {\n channelName: 'consumer_run',\n module: { name: 'kafkajs', versionRange: '>=2.0.0 <3', filePath: 'src/consumer/index.js' },\n // `const run = async (config) => {...}` — matched by `expressionName`. We don't span `run` itself:\n // the `start` subscriber swaps `config.eachMessage`/`eachBatch` (on `ctx.arguments[0]`) for\n // span-creating wrappers before the original runs. This works because the transform re-reads\n // `ctx.arguments` when invoking the original.\n functionQuery: { expressionName: 'run', kind: 'Async' },\n },\n] satisfies InstrumentationConfig[];\n\nexport const kafkajsChannels = {\n KAFKAJS_SEND_BATCH: 'orchestrion:kafkajs:send_batch',\n KAFKAJS_CONSUMER_RUN: 'orchestrion:kafkajs:consumer_run',\n} as const;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"kafkajs.js","sources":["../../../../src/orchestrion/config/kafkajs.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\nimport { toSubscribeInjections } from './subscribe-injection';\n\nexport const kafkajsConfig = [\n {\n channelName: 'send_batch',\n module: { name: 'kafkajs', versionRange: '>=2.0.0 <3', filePath: 'src/producer/messageProducer.js' },\n // `const sendBatch = async (...) => {...}` — `expressionName` matches the `const` assignment.\n // We instrument ONLY `sendBatch`: `send` funnels into it internally, so `producer.send`,\n // `producer.sendBatch` and their transactional variants all flow through this one channel.\n // Instrumenting `send` too would double-count spans.\n functionQuery: { expressionName: 'sendBatch', kind: 'Async' },\n },\n {\n channelName: 'consumer_run',\n module: { name: 'kafkajs', versionRange: '>=2.0.0 <3', filePath: 'src/consumer/index.js' },\n // `const run = async (config) => {...}` — matched by `expressionName`. We don't span `run` itself:\n // the `start` subscriber swaps `config.eachMessage`/`eachBatch` (on `ctx.arguments[0]`) for\n // span-creating wrappers before the original runs. This works because the transform re-reads\n // `ctx.arguments` when invoking the original.\n functionQuery: { expressionName: 'run', kind: 'Async' },\n },\n] satisfies InstrumentationConfig[];\n\nexport const kafkajsChannels = {\n KAFKAJS_SEND_BATCH: 'orchestrion:kafkajs:send_batch',\n KAFKAJS_CONSUMER_RUN: 'orchestrion:kafkajs:consumer_run',\n} as const;\n\nexport const kafkajsSubscribeInjection = toSubscribeInjections(kafkajsConfig);\n"],"names":["toSubscribeInjections"],"mappings":";;;;AAGO,MAAM,aAAA,GAAgB;AAAA,EAC3B;AAAA,IACE,WAAA,EAAa,YAAA;AAAA,IACb,QAAQ,EAAE,IAAA,EAAM,WAAW,YAAA,EAAc,YAAA,EAAc,UAAU,iCAAA,EAAkC;AAAA;AAAA;AAAA;AAAA;AAAA,IAKnG,aAAA,EAAe,EAAE,cAAA,EAAgB,WAAA,EAAa,MAAM,OAAA;AAAQ,GAC9D;AAAA,EACA;AAAA,IACE,WAAA,EAAa,cAAA;AAAA,IACb,QAAQ,EAAE,IAAA,EAAM,WAAW,YAAA,EAAc,YAAA,EAAc,UAAU,uBAAA,EAAwB;AAAA;AAAA;AAAA;AAAA;AAAA,IAKzF,aAAA,EAAe,EAAE,cAAA,EAAgB,KAAA,EAAO,MAAM,OAAA;AAAQ;AAE1D;AAEO,MAAM,eAAA,GAAkB;AAAA,EAC7B,kBAAA,EAAoB,gCAAA;AAAA,EACpB,oBAAA,EAAsB;AACxB;AAEO,MAAM,yBAAA,GAA4BA,yCAAsB,aAAa;;;;;;"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
|
|
3
|
+
const subscribeInjection = require('./subscribe-injection.js');
|
|
4
|
+
|
|
3
5
|
const MODULE_NAME = "knex";
|
|
4
6
|
const RUNNER_FILES = [
|
|
5
7
|
{ filePath: "lib/execution/runner.js", versionRange: ">=0.22.0 <4" },
|
|
@@ -37,7 +39,9 @@ const knexChannels = {
|
|
|
37
39
|
KNEX_SCHEMA_BUILDER: "orchestrion:knex:schemaBuilder",
|
|
38
40
|
KNEX_RAW: "orchestrion:knex:raw"
|
|
39
41
|
};
|
|
42
|
+
const knexSubscribeInjection = subscribeInjection.toSubscribeInjections(knexConfig);
|
|
40
43
|
|
|
41
44
|
exports.knexChannels = knexChannels;
|
|
42
45
|
exports.knexConfig = knexConfig;
|
|
46
|
+
exports.knexSubscribeInjection = knexSubscribeInjection;
|
|
43
47
|
//# sourceMappingURL=knex.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"knex.js","sources":["../../../../src/orchestrion/config/knex.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\n\nconst MODULE_NAME = 'knex';\n\n// knex ships different file layouts across versions (see `SUPPORTED_VERSIONS` in the vendored OTel\n// instrumentation). Modern builds keep the runner under `lib/execution`, older ones under `lib`, and\n// the source-tree build under `src`. A file that doesn't exist for a given version simply never\n// matches, so overlapping ranges are safe.\nconst RUNNER_FILES = [\n { filePath: 'lib/execution/runner.js', versionRange: '>=0.22.0 <4' },\n { filePath: 'lib/runner.js', versionRange: '>=0.10.0 <0.22.0' },\n { filePath: 'src/runner.js', versionRange: '>=0.18.0 <0.19.0' },\n];\n\nconst CLIENT_FILES = [\n { filePath: 'lib/client.js', versionRange: '>=0.10.0 <4' },\n { filePath: 'src/client.js', versionRange: '>=0.18.0 <0.19.0' },\n];\n\n// The three `Client` methods that create a builder. Wrapping them lets the subscriber capture the\n// span active at builder-creation time, which is reused as the parent when the query runs later\n// (often in a different async context).\nconst CLIENT_METHODS = ['queryBuilder', 'schemaBuilder', 'raw'] as const;\n\nfunction runnerQuery(filePath: string, versionRange: string): InstrumentationConfig {\n return {\n channelName: 'query',\n module: { name: MODULE_NAME, versionRange, filePath },\n functionQuery: { className: 'Runner', methodName: 'query', kind: 'Async' },\n };\n}\n\nfunction clientMethod(methodName: string, filePath: string, versionRange: string): InstrumentationConfig {\n return {\n channelName: methodName,\n module: { name: MODULE_NAME, versionRange, filePath },\n functionQuery: { className: 'Client', methodName, kind: 'Sync' },\n };\n}\n\nexport const knexConfig: InstrumentationConfig[] = [\n ...RUNNER_FILES.map(({ filePath, versionRange }) => runnerQuery(filePath, versionRange)),\n ...CLIENT_FILES.flatMap(({ filePath, versionRange }) =>\n CLIENT_METHODS.map(methodName => clientMethod(methodName, filePath, versionRange)),\n ),\n];\n\nexport const knexChannels = {\n KNEX_QUERY: 'orchestrion:knex:query',\n KNEX_QUERY_BUILDER: 'orchestrion:knex:queryBuilder',\n KNEX_SCHEMA_BUILDER: 'orchestrion:knex:schemaBuilder',\n KNEX_RAW: 'orchestrion:knex:raw',\n} as const;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"knex.js","sources":["../../../../src/orchestrion/config/knex.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\nimport { toSubscribeInjections } from './subscribe-injection';\n\nconst MODULE_NAME = 'knex';\n\n// knex ships different file layouts across versions (see `SUPPORTED_VERSIONS` in the vendored OTel\n// instrumentation). Modern builds keep the runner under `lib/execution`, older ones under `lib`, and\n// the source-tree build under `src`. A file that doesn't exist for a given version simply never\n// matches, so overlapping ranges are safe.\nconst RUNNER_FILES = [\n { filePath: 'lib/execution/runner.js', versionRange: '>=0.22.0 <4' },\n { filePath: 'lib/runner.js', versionRange: '>=0.10.0 <0.22.0' },\n { filePath: 'src/runner.js', versionRange: '>=0.18.0 <0.19.0' },\n];\n\nconst CLIENT_FILES = [\n { filePath: 'lib/client.js', versionRange: '>=0.10.0 <4' },\n { filePath: 'src/client.js', versionRange: '>=0.18.0 <0.19.0' },\n];\n\n// The three `Client` methods that create a builder. Wrapping them lets the subscriber capture the\n// span active at builder-creation time, which is reused as the parent when the query runs later\n// (often in a different async context).\nconst CLIENT_METHODS = ['queryBuilder', 'schemaBuilder', 'raw'] as const;\n\nfunction runnerQuery(filePath: string, versionRange: string): InstrumentationConfig {\n return {\n channelName: 'query',\n module: { name: MODULE_NAME, versionRange, filePath },\n functionQuery: { className: 'Runner', methodName: 'query', kind: 'Async' },\n };\n}\n\nfunction clientMethod(methodName: string, filePath: string, versionRange: string): InstrumentationConfig {\n return {\n channelName: methodName,\n module: { name: MODULE_NAME, versionRange, filePath },\n functionQuery: { className: 'Client', methodName, kind: 'Sync' },\n };\n}\n\nexport const knexConfig: InstrumentationConfig[] = [\n ...RUNNER_FILES.map(({ filePath, versionRange }) => runnerQuery(filePath, versionRange)),\n ...CLIENT_FILES.flatMap(({ filePath, versionRange }) =>\n CLIENT_METHODS.map(methodName => clientMethod(methodName, filePath, versionRange)),\n ),\n];\n\nexport const knexChannels = {\n KNEX_QUERY: 'orchestrion:knex:query',\n KNEX_QUERY_BUILDER: 'orchestrion:knex:queryBuilder',\n KNEX_SCHEMA_BUILDER: 'orchestrion:knex:schemaBuilder',\n KNEX_RAW: 'orchestrion:knex:raw',\n} as const;\n\nexport const knexSubscribeInjection = toSubscribeInjections(knexConfig);\n"],"names":["toSubscribeInjections"],"mappings":";;;;AAGA,MAAM,WAAA,GAAc,MAAA;AAMpB,MAAM,YAAA,GAAe;AAAA,EACnB,EAAE,QAAA,EAAU,yBAAA,EAA2B,YAAA,EAAc,aAAA,EAAc;AAAA,EACnE,EAAE,QAAA,EAAU,eAAA,EAAiB,YAAA,EAAc,kBAAA,EAAmB;AAAA,EAC9D,EAAE,QAAA,EAAU,eAAA,EAAiB,YAAA,EAAc,kBAAA;AAC7C,CAAA;AAEA,MAAM,YAAA,GAAe;AAAA,EACnB,EAAE,QAAA,EAAU,eAAA,EAAiB,YAAA,EAAc,aAAA,EAAc;AAAA,EACzD,EAAE,QAAA,EAAU,eAAA,EAAiB,YAAA,EAAc,kBAAA;AAC7C,CAAA;AAKA,MAAM,cAAA,GAAiB,CAAC,cAAA,EAAgB,eAAA,EAAiB,KAAK,CAAA;AAE9D,SAAS,WAAA,CAAY,UAAkB,YAAA,EAA6C;AAClF,EAAA,OAAO;AAAA,IACL,WAAA,EAAa,OAAA;AAAA,IACb,MAAA,EAAQ,EAAE,IAAA,EAAM,WAAA,EAAa,cAAc,QAAA,EAAS;AAAA,IACpD,eAAe,EAAE,SAAA,EAAW,UAAU,UAAA,EAAY,OAAA,EAAS,MAAM,OAAA;AAAQ,GAC3E;AACF;AAEA,SAAS,YAAA,CAAa,UAAA,EAAoB,QAAA,EAAkB,YAAA,EAA6C;AACvG,EAAA,OAAO;AAAA,IACL,WAAA,EAAa,UAAA;AAAA,IACb,MAAA,EAAQ,EAAE,IAAA,EAAM,WAAA,EAAa,cAAc,QAAA,EAAS;AAAA,IACpD,eAAe,EAAE,SAAA,EAAW,QAAA,EAAU,UAAA,EAAY,MAAM,MAAA;AAAO,GACjE;AACF;AAEO,MAAM,UAAA,GAAsC;AAAA,EACjD,GAAG,YAAA,CAAa,GAAA,CAAI,CAAC,EAAE,QAAA,EAAU,YAAA,EAAa,KAAM,WAAA,CAAY,QAAA,EAAU,YAAY,CAAC,CAAA;AAAA,EACvF,GAAG,YAAA,CAAa,OAAA;AAAA,IAAQ,CAAC,EAAE,QAAA,EAAU,YAAA,EAAa,KAChD,cAAA,CAAe,GAAA,CAAI,CAAA,UAAA,KAAc,YAAA,CAAa,UAAA,EAAY,QAAA,EAAU,YAAY,CAAC;AAAA;AAErF;AAEO,MAAM,YAAA,GAAe;AAAA,EAC1B,UAAA,EAAY,wBAAA;AAAA,EACZ,kBAAA,EAAoB,+BAAA;AAAA,EACpB,mBAAA,EAAqB,gCAAA;AAAA,EACrB,QAAA,EAAU;AACZ;AAEO,MAAM,sBAAA,GAAyBA,yCAAsB,UAAU;;;;;;"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
|
|
3
|
+
const subscribeInjection = require('./subscribe-injection.js');
|
|
4
|
+
|
|
3
5
|
const koaConfig = [
|
|
4
6
|
{
|
|
5
7
|
channelName: "use",
|
|
@@ -10,7 +12,9 @@ const koaConfig = [
|
|
|
10
12
|
const koaChannels = {
|
|
11
13
|
KOA_USE: "orchestrion:koa:use"
|
|
12
14
|
};
|
|
15
|
+
const koaSubscribeInjection = subscribeInjection.toSubscribeInjections(koaConfig);
|
|
13
16
|
|
|
14
17
|
exports.koaChannels = koaChannels;
|
|
15
18
|
exports.koaConfig = koaConfig;
|
|
19
|
+
exports.koaSubscribeInjection = koaSubscribeInjection;
|
|
16
20
|
//# sourceMappingURL=koa.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"koa.js","sources":["../../../../src/orchestrion/config/koa.ts"],"sourcesContent":["import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';\n\nexport const koaConfig = [\n {\n channelName: 'use',\n module: { name: 'koa', versionRange: '>=2.0.0 <4', filePath: 'lib/application.js' },\n functionQuery: { className: 'Application', methodName: 'use', kind: 'Sync' },\n },\n] satisfies InstrumentationConfig[];\n\nexport const koaChannels = {\n KOA_USE: 'orchestrion:koa:use',\n} as const;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"koa.js","sources":["../../../../src/orchestrion/config/koa.ts"],"sourcesContent":["import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';\nimport { toSubscribeInjections } from './subscribe-injection';\n\nexport const koaConfig = [\n {\n channelName: 'use',\n module: { name: 'koa', versionRange: '>=2.0.0 <4', filePath: 'lib/application.js' },\n functionQuery: { className: 'Application', methodName: 'use', kind: 'Sync' },\n },\n] satisfies InstrumentationConfig[];\n\nexport const koaChannels = {\n KOA_USE: 'orchestrion:koa:use',\n} as const;\n\nexport const koaSubscribeInjection = toSubscribeInjections(koaConfig);\n"],"names":["toSubscribeInjections"],"mappings":";;;;AAGO,MAAM,SAAA,GAAY;AAAA,EACvB;AAAA,IACE,WAAA,EAAa,KAAA;AAAA,IACb,QAAQ,EAAE,IAAA,EAAM,OAAO,YAAA,EAAc,YAAA,EAAc,UAAU,oBAAA,EAAqB;AAAA,IAClF,eAAe,EAAE,SAAA,EAAW,eAAe,UAAA,EAAY,KAAA,EAAO,MAAM,MAAA;AAAO;AAE/E;AAEO,MAAM,WAAA,GAAc;AAAA,EACzB,OAAA,EAAS;AACX;AAEO,MAAM,qBAAA,GAAwBA,yCAAsB,SAAS;;;;;;"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
|
|
3
|
+
const subscribeInjection = require('./subscribe-injection.js');
|
|
4
|
+
|
|
3
5
|
const chatModelConfig = ["dist/language_models/chat_models.cjs", "dist/language_models/chat_models.js"].flatMap(
|
|
4
6
|
(filePath) => {
|
|
5
7
|
const module = { name: "@langchain/core", versionRange: ">=0.1.0 <2.0.0", filePath };
|
|
@@ -45,8 +47,10 @@ const langchainChannels = {
|
|
|
45
47
|
LANGCHAIN_CHAT_MODEL_INVOKE: "orchestrion:@langchain/core:chatModelInvoke",
|
|
46
48
|
LANGCHAIN_CHAT_MODEL_STREAM: "orchestrion:@langchain/core:chatModelStream"
|
|
47
49
|
};
|
|
50
|
+
const langchainSubscribeInjection = subscribeInjection.toSubscribeInjections(langchainConfig);
|
|
48
51
|
|
|
49
52
|
exports.langchainChannels = langchainChannels;
|
|
50
53
|
exports.langchainConfig = langchainConfig;
|
|
51
54
|
exports.langchainEmbeddingsChannels = langchainEmbeddingsChannels;
|
|
55
|
+
exports.langchainSubscribeInjection = langchainSubscribeInjection;
|
|
52
56
|
//# sourceMappingURL=langchain.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"langchain.js","sources":["../../../../src/orchestrion/config/langchain.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\n\n// `@langchain/*` packages ship dual CJS/ESM builds (`.cjs` for `require`, `.js` for `import`) and the\n// matcher compares `filePath` exactly, so each hook is declared once per built file.\n\n// LangChain's chat model methods live on `BaseChatModel` in `@langchain/core` and are inherited by\n// every provider class (`ChatAnthropic`, `ChatOpenAI`, …), so a single hook there covers all\n// providers. `invoke` also backs `.batch()` (which calls `invoke` per item); `_streamIterator`\n// backs `.stream()`. The vendored OTel instrumentation instead patched each provider package to\n// dodge `@langchain/core` being bundled, but orchestrion transforms its source directly regardless\n// of bundling.\nconst chatModelConfig = ['dist/language_models/chat_models.cjs', 'dist/language_models/chat_models.js'].flatMap(\n filePath => {\n const module = { name: '@langchain/core', versionRange: '>=0.1.0 <2.0.0', filePath };\n\n return [\n {\n channelName: 'chatModelInvoke',\n module,\n functionQuery: { className: 'BaseChatModel', methodName: 'invoke', kind: 'Async' as const },\n },\n {\n channelName: 'chatModelStream',\n module,\n functionQuery: { className: 'BaseChatModel', methodName: '_streamIterator', kind: 'Async' as const },\n },\n ];\n },\n);\n\n// Embeddings have no shared concrete method on the base class (each provider implements\n// `embedQuery`/`embedDocuments`), so they're hooked per package. These are the provider packages the\n// vendored OTel instrumentation covered that actually ship an `Embeddings` subclass: `@langchain/openai`,\n// `@langchain/google-genai` and `@langchain/mistralai` define the two methods on their own class, while\n// `@langchain/google-vertexai` inherits them from the shared `@langchain/google-common` base, so that base\n// is the module hooked for it. (anthropic and groq are chat-only — they ship no embeddings class.) The\n// `embedQuery`/`embedDocuments` channel names are per-method; orchestrion prefixes them with the module\n// name, so the full channel strings stay distinct across packages.\nconst EMBED_QUERY = 'embedQuery';\nconst EMBED_DOCUMENTS = 'embedDocuments';\n\nconst EMBEDDINGS_PROVIDERS = [\n { name: '@langchain/openai', versionRange: '>=0.1.0 <2.0.0', methods: [EMBED_QUERY, EMBED_DOCUMENTS] },\n { name: '@langchain/google-genai', versionRange: '>=0.1.0 <3.0.0', methods: [EMBED_QUERY, EMBED_DOCUMENTS] },\n { name: '@langchain/mistralai', versionRange: '>=0.1.0 <2.0.0', methods: [EMBED_QUERY, EMBED_DOCUMENTS] },\n // `@langchain/google-vertexai` inherits its embed methods from this shared base. The base's\n // `embedQuery` delegates to `embedDocuments`, so hooking only `embedDocuments` still traces both\n // entry points as a single span each, instead of emitting a nested duplicate for `embedQuery`.\n { name: '@langchain/google-common', versionRange: '>=0.1.0 <3.0.0', methods: [EMBED_DOCUMENTS] },\n];\n\nconst embeddingsConfig = EMBEDDINGS_PROVIDERS.flatMap(({ name, versionRange, methods }) =>\n ['dist/embeddings.cjs', 'dist/embeddings.js'].flatMap(filePath =>\n methods.map(method => ({\n channelName: method,\n module: { name, versionRange, filePath },\n functionQuery: { methodName: method, kind: 'Async' as const },\n })),\n ),\n);\n\nexport const langchainConfig = [...chatModelConfig, ...embeddingsConfig] satisfies InstrumentationConfig[];\n\n// The embeddings channel strings the subscriber binds to, derived from the provider list above so that\n// adding a provider is a single edit that both instruments it and subscribes the listener to it.\nexport const langchainEmbeddingsChannels = EMBEDDINGS_PROVIDERS.flatMap(({ name, methods }) =>\n methods.map(method => `orchestrion:${name}:${method}`),\n);\n\nexport const langchainChannels = {\n LANGCHAIN_CHAT_MODEL_INVOKE: 'orchestrion:@langchain/core:chatModelInvoke',\n LANGCHAIN_CHAT_MODEL_STREAM: 'orchestrion:@langchain/core:chatModelStream',\n} as const;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"langchain.js","sources":["../../../../src/orchestrion/config/langchain.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\nimport { toSubscribeInjections } from './subscribe-injection';\n\n// `@langchain/*` packages ship dual CJS/ESM builds (`.cjs` for `require`, `.js` for `import`) and the\n// matcher compares `filePath` exactly, so each hook is declared once per built file.\n\n// LangChain's chat model methods live on `BaseChatModel` in `@langchain/core` and are inherited by\n// every provider class (`ChatAnthropic`, `ChatOpenAI`, …), so a single hook there covers all\n// providers. `invoke` also backs `.batch()` (which calls `invoke` per item); `_streamIterator`\n// backs `.stream()`. The vendored OTel instrumentation instead patched each provider package to\n// dodge `@langchain/core` being bundled, but orchestrion transforms its source directly regardless\n// of bundling.\nconst chatModelConfig = ['dist/language_models/chat_models.cjs', 'dist/language_models/chat_models.js'].flatMap(\n filePath => {\n const module = { name: '@langchain/core', versionRange: '>=0.1.0 <2.0.0', filePath };\n\n return [\n {\n channelName: 'chatModelInvoke',\n module,\n functionQuery: { className: 'BaseChatModel', methodName: 'invoke', kind: 'Async' as const },\n },\n {\n channelName: 'chatModelStream',\n module,\n functionQuery: { className: 'BaseChatModel', methodName: '_streamIterator', kind: 'Async' as const },\n },\n ];\n },\n);\n\n// Embeddings have no shared concrete method on the base class (each provider implements\n// `embedQuery`/`embedDocuments`), so they're hooked per package. These are the provider packages the\n// vendored OTel instrumentation covered that actually ship an `Embeddings` subclass: `@langchain/openai`,\n// `@langchain/google-genai` and `@langchain/mistralai` define the two methods on their own class, while\n// `@langchain/google-vertexai` inherits them from the shared `@langchain/google-common` base, so that base\n// is the module hooked for it. (anthropic and groq are chat-only — they ship no embeddings class.) The\n// `embedQuery`/`embedDocuments` channel names are per-method; orchestrion prefixes them with the module\n// name, so the full channel strings stay distinct across packages.\nconst EMBED_QUERY = 'embedQuery';\nconst EMBED_DOCUMENTS = 'embedDocuments';\n\nconst EMBEDDINGS_PROVIDERS = [\n { name: '@langchain/openai', versionRange: '>=0.1.0 <2.0.0', methods: [EMBED_QUERY, EMBED_DOCUMENTS] },\n { name: '@langchain/google-genai', versionRange: '>=0.1.0 <3.0.0', methods: [EMBED_QUERY, EMBED_DOCUMENTS] },\n { name: '@langchain/mistralai', versionRange: '>=0.1.0 <2.0.0', methods: [EMBED_QUERY, EMBED_DOCUMENTS] },\n // `@langchain/google-vertexai` inherits its embed methods from this shared base. The base's\n // `embedQuery` delegates to `embedDocuments`, so hooking only `embedDocuments` still traces both\n // entry points as a single span each, instead of emitting a nested duplicate for `embedQuery`.\n { name: '@langchain/google-common', versionRange: '>=0.1.0 <3.0.0', methods: [EMBED_DOCUMENTS] },\n];\n\nconst embeddingsConfig = EMBEDDINGS_PROVIDERS.flatMap(({ name, versionRange, methods }) =>\n ['dist/embeddings.cjs', 'dist/embeddings.js'].flatMap(filePath =>\n methods.map(method => ({\n channelName: method,\n module: { name, versionRange, filePath },\n functionQuery: { methodName: method, kind: 'Async' as const },\n })),\n ),\n);\n\nexport const langchainConfig = [...chatModelConfig, ...embeddingsConfig] satisfies InstrumentationConfig[];\n\n// The embeddings channel strings the subscriber binds to, derived from the provider list above so that\n// adding a provider is a single edit that both instruments it and subscribes the listener to it.\nexport const langchainEmbeddingsChannels = EMBEDDINGS_PROVIDERS.flatMap(({ name, methods }) =>\n methods.map(method => `orchestrion:${name}:${method}`),\n);\n\nexport const langchainChannels = {\n LANGCHAIN_CHAT_MODEL_INVOKE: 'orchestrion:@langchain/core:chatModelInvoke',\n LANGCHAIN_CHAT_MODEL_STREAM: 'orchestrion:@langchain/core:chatModelStream',\n} as const;\n\nexport const langchainSubscribeInjection = toSubscribeInjections(langchainConfig);\n"],"names":["toSubscribeInjections"],"mappings":";;;;AAYA,MAAM,eAAA,GAAkB,CAAC,sCAAA,EAAwC,qCAAqC,CAAA,CAAE,OAAA;AAAA,EACtG,CAAA,QAAA,KAAY;AACV,IAAA,MAAM,SAAS,EAAE,IAAA,EAAM,iBAAA,EAAmB,YAAA,EAAc,kBAAkB,QAAA,EAAS;AAEnF,IAAA,OAAO;AAAA,MACL;AAAA,QACE,WAAA,EAAa,iBAAA;AAAA,QACb,MAAA;AAAA,QACA,eAAe,EAAE,SAAA,EAAW,iBAAiB,UAAA,EAAY,QAAA,EAAU,MAAM,OAAA;AAAiB,OAC5F;AAAA,MACA;AAAA,QACE,WAAA,EAAa,iBAAA;AAAA,QACb,MAAA;AAAA,QACA,eAAe,EAAE,SAAA,EAAW,iBAAiB,UAAA,EAAY,iBAAA,EAAmB,MAAM,OAAA;AAAiB;AACrG,KACF;AAAA,EACF;AACF,CAAA;AAUA,MAAM,WAAA,GAAc,YAAA;AACpB,MAAM,eAAA,GAAkB,gBAAA;AAExB,MAAM,oBAAA,GAAuB;AAAA,EAC3B,EAAE,MAAM,mBAAA,EAAqB,YAAA,EAAc,kBAAkB,OAAA,EAAS,CAAC,WAAA,EAAa,eAAe,CAAA,EAAE;AAAA,EACrG,EAAE,MAAM,yBAAA,EAA2B,YAAA,EAAc,kBAAkB,OAAA,EAAS,CAAC,WAAA,EAAa,eAAe,CAAA,EAAE;AAAA,EAC3G,EAAE,MAAM,sBAAA,EAAwB,YAAA,EAAc,kBAAkB,OAAA,EAAS,CAAC,WAAA,EAAa,eAAe,CAAA,EAAE;AAAA;AAAA;AAAA;AAAA,EAIxG,EAAE,MAAM,0BAAA,EAA4B,YAAA,EAAc,kBAAkB,OAAA,EAAS,CAAC,eAAe,CAAA;AAC/F,CAAA;AAEA,MAAM,mBAAmB,oBAAA,CAAqB,OAAA;AAAA,EAAQ,CAAC,EAAE,IAAA,EAAM,YAAA,EAAc,SAAQ,KACnF,CAAC,qBAAA,EAAuB,oBAAoB,CAAA,CAAE,OAAA;AAAA,IAAQ,CAAA,QAAA,KACpD,OAAA,CAAQ,GAAA,CAAI,CAAA,MAAA,MAAW;AAAA,MACrB,WAAA,EAAa,MAAA;AAAA,MACb,MAAA,EAAQ,EAAE,IAAA,EAAM,YAAA,EAAc,QAAA,EAAS;AAAA,MACvC,aAAA,EAAe,EAAE,UAAA,EAAY,MAAA,EAAQ,MAAM,OAAA;AAAiB,KAC9D,CAAE;AAAA;AAEN,CAAA;AAEO,MAAM,eAAA,GAAkB,CAAC,GAAG,eAAA,EAAiB,GAAG,gBAAgB;AAIhE,MAAM,8BAA8B,oBAAA,CAAqB,OAAA;AAAA,EAAQ,CAAC,EAAE,IAAA,EAAM,OAAA,EAAQ,KACvF,OAAA,CAAQ,GAAA,CAAI,CAAA,MAAA,KAAU,CAAA,YAAA,EAAe,IAAI,CAAA,CAAA,EAAI,MAAM,CAAA,CAAE;AACvD;AAEO,MAAM,iBAAA,GAAoB;AAAA,EAC/B,2BAAA,EAA6B,6CAAA;AAAA,EAC7B,2BAAA,EAA6B;AAC/B;AAEO,MAAM,2BAAA,GAA8BA,yCAAsB,eAAe;;;;;;;"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
|
|
3
|
+
const subscribeInjection = require('./subscribe-injection.js');
|
|
4
|
+
|
|
3
5
|
const module$1 = (filePath) => ({
|
|
4
6
|
name: "@langchain/langgraph",
|
|
5
7
|
versionRange: ">=0.0.0 <2.0.0",
|
|
@@ -22,7 +24,9 @@ const langgraphChannels = {
|
|
|
22
24
|
LANGGRAPH_STATE_GRAPH_COMPILE: "orchestrion:@langchain/langgraph:stateGraphCompile",
|
|
23
25
|
LANGGRAPH_CREATE_REACT_AGENT: "orchestrion:@langchain/langgraph:createReactAgent"
|
|
24
26
|
};
|
|
27
|
+
const langgraphSubscribeInjection = subscribeInjection.toSubscribeInjections(langgraphConfig);
|
|
25
28
|
|
|
26
29
|
exports.langgraphChannels = langgraphChannels;
|
|
27
30
|
exports.langgraphConfig = langgraphConfig;
|
|
31
|
+
exports.langgraphSubscribeInjection = langgraphSubscribeInjection;
|
|
28
32
|
//# sourceMappingURL=langgraph.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"langgraph.js","sources":["../../../../src/orchestrion/config/langgraph.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\n\n// `@langchain/langgraph` ships dual CJS/ESM builds (`.cjs` for `require`, `.js` for `import`) and the\n// matcher compares `filePath` exactly, so each hook is declared once per built file. `StateGraph.compile`\n// and `createReactAgent` both return synchronously; the subscriber wraps the returned compiled graph's\n// `invoke` (mirroring the vendored OTel instrumentation, which patched these on the module exports).\nconst module = (filePath: string): InstrumentationConfig['module'] => ({\n name: '@langchain/langgraph',\n versionRange: '>=0.0.0 <2.0.0',\n filePath,\n});\n\nconst compileConfig = ['dist/graph/state.cjs', 'dist/graph/state.js'].map(filePath => ({\n channelName: 'stateGraphCompile',\n module: module(filePath),\n functionQuery: { className: 'StateGraph', methodName: 'compile', kind: 'Sync' as const },\n}));\n\n// `createReactAgent` is a single function declaration re-exported from both `@langchain/langgraph` and\n// `@langchain/langgraph/prebuilt`; hooking its definition file covers every import path.\nconst createReactAgentConfig = ['dist/prebuilt/react_agent_executor.cjs', 'dist/prebuilt/react_agent_executor.js'].map(\n filePath => ({\n channelName: 'createReactAgent',\n module: module(filePath),\n functionQuery: { functionName: 'createReactAgent', kind: 'Sync' as const },\n }),\n);\n\nexport const langgraphConfig = [...compileConfig, ...createReactAgentConfig] satisfies InstrumentationConfig[];\n\nexport const langgraphChannels = {\n LANGGRAPH_STATE_GRAPH_COMPILE: 'orchestrion:@langchain/langgraph:stateGraphCompile',\n LANGGRAPH_CREATE_REACT_AGENT: 'orchestrion:@langchain/langgraph:createReactAgent',\n} as const;\n"],"names":["module"],"mappings":"
|
|
1
|
+
{"version":3,"file":"langgraph.js","sources":["../../../../src/orchestrion/config/langgraph.ts"],"sourcesContent":["import type { InstrumentationConfig } from '..';\nimport { toSubscribeInjections } from './subscribe-injection';\n\n// `@langchain/langgraph` ships dual CJS/ESM builds (`.cjs` for `require`, `.js` for `import`) and the\n// matcher compares `filePath` exactly, so each hook is declared once per built file. `StateGraph.compile`\n// and `createReactAgent` both return synchronously; the subscriber wraps the returned compiled graph's\n// `invoke` (mirroring the vendored OTel instrumentation, which patched these on the module exports).\nconst module = (filePath: string): InstrumentationConfig['module'] => ({\n name: '@langchain/langgraph',\n versionRange: '>=0.0.0 <2.0.0',\n filePath,\n});\n\nconst compileConfig = ['dist/graph/state.cjs', 'dist/graph/state.js'].map(filePath => ({\n channelName: 'stateGraphCompile',\n module: module(filePath),\n functionQuery: { className: 'StateGraph', methodName: 'compile', kind: 'Sync' as const },\n}));\n\n// `createReactAgent` is a single function declaration re-exported from both `@langchain/langgraph` and\n// `@langchain/langgraph/prebuilt`; hooking its definition file covers every import path.\nconst createReactAgentConfig = ['dist/prebuilt/react_agent_executor.cjs', 'dist/prebuilt/react_agent_executor.js'].map(\n filePath => ({\n channelName: 'createReactAgent',\n module: module(filePath),\n functionQuery: { functionName: 'createReactAgent', kind: 'Sync' as const },\n }),\n);\n\nexport const langgraphConfig = [...compileConfig, ...createReactAgentConfig] satisfies InstrumentationConfig[];\n\nexport const langgraphChannels = {\n LANGGRAPH_STATE_GRAPH_COMPILE: 'orchestrion:@langchain/langgraph:stateGraphCompile',\n LANGGRAPH_CREATE_REACT_AGENT: 'orchestrion:@langchain/langgraph:createReactAgent',\n} as const;\n\nexport const langgraphSubscribeInjection = toSubscribeInjections(langgraphConfig);\n"],"names":["module","toSubscribeInjections"],"mappings":";;;;AAOA,MAAMA,QAAA,GAAS,CAAC,QAAA,MAAuD;AAAA,EACrE,IAAA,EAAM,sBAAA;AAAA,EACN,YAAA,EAAc,gBAAA;AAAA,EACd;AACF,CAAA,CAAA;AAEA,MAAM,gBAAgB,CAAC,sBAAA,EAAwB,qBAAqB,CAAA,CAAE,IAAI,CAAA,QAAA,MAAa;AAAA,EACrF,WAAA,EAAa,mBAAA;AAAA,EACb,MAAA,EAAQA,SAAO,QAAQ,CAAA;AAAA,EACvB,eAAe,EAAE,SAAA,EAAW,cAAc,UAAA,EAAY,SAAA,EAAW,MAAM,MAAA;AACzE,CAAA,CAAE,CAAA;AAIF,MAAM,sBAAA,GAAyB,CAAC,wCAAA,EAA0C,uCAAuC,CAAA,CAAE,GAAA;AAAA,EACjH,CAAA,QAAA,MAAa;AAAA,IACX,WAAA,EAAa,kBAAA;AAAA,IACb,MAAA,EAAQA,SAAO,QAAQ,CAAA;AAAA,IACvB,aAAA,EAAe,EAAE,YAAA,EAAc,kBAAA,EAAoB,MAAM,MAAA;AAAgB,GAC3E;AACF,CAAA;AAEO,MAAM,eAAA,GAAkB,CAAC,GAAG,aAAA,EAAe,GAAG,sBAAsB;AAEpE,MAAM,iBAAA,GAAoB;AAAA,EAC/B,6BAAA,EAA+B,oDAAA;AAAA,EAC/B,4BAAA,EAA8B;AAChC;AAEO,MAAM,2BAAA,GAA8BC,yCAAsB,eAAe;;;;;;"}
|