Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });

const core = require('@sentry/core');
const vercelAiDcSubscriber = require('./vercel-ai-dc-subscriber.js');
const dc = require('node:diagnostics_channel');

const _vercelAiIntegration = ((options = {}) => {
  return {
    name: "VercelAI",
    setupOnce() {
      if (!dc.tracingChannel) {
        return;
      }
      void Promise.resolve().then(() => vercelAiDcSubscriber.subscribeVercelAiTracingChannel(dc.tracingChannel, options));
    }
  };
});
const vercelAiIntegration = core.defineIntegration(_vercelAiIntegration);

exports.vercelAiIntegration = vercelAiIntegration;
//# sourceMappingURL=index.js.map
