@usepowerplant/cli 0.4.15 → 0.4.16
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 +31 -152
- package/dist/cli.js +542 -455
- package/dist/menubar/Powerplant.app.zip +0 -0
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
3
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a92f42e6-9089-5a40-a0d5-9a54ec03eb8e")}catch(e){}}();
|
|
4
4
|
const __cliNodeMajor = Number(process.versions.node.split('.')[0]);
|
|
5
5
|
if (__cliNodeMajor < 20) {
|
|
6
6
|
console.error(`powerplant needs Node 20 or newer — this is Node ${process.versions.node}.`);
|
|
@@ -23485,9 +23485,9 @@ var require_mock_utils = __commonJS({
|
|
|
23485
23485
|
function getMockDispatch(mockDispatches, key) {
|
|
23486
23486
|
const basePath = key.query ? serializePathWithQuery(key.path, key.query) : key.path;
|
|
23487
23487
|
const resolvedPath = typeof basePath === "string" ? safeUrl(basePath) : basePath;
|
|
23488
|
-
const resolvedPathWithoutTrailingSlash =
|
|
23488
|
+
const resolvedPathWithoutTrailingSlash = removeTrailingSlash2(resolvedPath);
|
|
23489
23489
|
let matchedMockDispatches = mockDispatches.filter(({ consumed }) => !consumed).filter(({ path: path34, ignoreTrailingSlash }) => {
|
|
23490
|
-
return ignoreTrailingSlash ? matchValue(
|
|
23490
|
+
return ignoreTrailingSlash ? matchValue(removeTrailingSlash2(safeUrl(path34)), resolvedPathWithoutTrailingSlash) : matchValue(safeUrl(path34), resolvedPath);
|
|
23491
23491
|
});
|
|
23492
23492
|
if (matchedMockDispatches.length === 0) {
|
|
23493
23493
|
throw new MockNotMatchedError(`Mock dispatch not matched for path '${resolvedPath}'`);
|
|
@@ -23526,7 +23526,7 @@ var require_mock_utils = __commonJS({
|
|
|
23526
23526
|
mockDispatches.splice(index, 1);
|
|
23527
23527
|
}
|
|
23528
23528
|
}
|
|
23529
|
-
function
|
|
23529
|
+
function removeTrailingSlash2(path34) {
|
|
23530
23530
|
while (path34.endsWith("/")) {
|
|
23531
23531
|
path34 = path34.slice(0, -1);
|
|
23532
23532
|
}
|
|
@@ -56748,11 +56748,39 @@ var CONTEXT_PATTERNS = [
|
|
|
56748
56748
|
replacement: `$1${REDACTED}`
|
|
56749
56749
|
}
|
|
56750
56750
|
];
|
|
56751
|
+
var SECRET_NAME_WORD = /secret|passw(?:or)?d/;
|
|
56752
|
+
var SECRET_NAME_SUFFIX = /(?:token|apikey|accesskey|privatekey|credentials?|servicekey|signingkey|encryptionkey|masterkey)$/;
|
|
56753
|
+
function isSecretName(name) {
|
|
56754
|
+
const key = normalizeSecretKey(name);
|
|
56755
|
+
return SECRET_VALUE_KEYS.has(key) || SECRET_NAME_WORD.test(key) || SECRET_NAME_SUFFIX.test(key);
|
|
56756
|
+
}
|
|
56757
|
+
function isSecretValue(value) {
|
|
56758
|
+
return !/^\d+$/.test(value) && !/^\$[{A-Za-z_]/.test(value);
|
|
56759
|
+
}
|
|
56760
|
+
var QUOTED_SECRET_VALUE = /\b([A-Za-z_][\w.-]{0,63})(\\?["']?\s*[=:]\s*)(\\?["'])([^"'\\\s]{8,})\3/g;
|
|
56761
|
+
var CONFIG_LINE_SECRET_VALUE = (
|
|
56762
|
+
// Anchored to line starts, with bounded prefix and name lengths, so each
|
|
56763
|
+
// line is scanned once. Indentation after a line number sits inside the
|
|
56764
|
+
// line-number group: two adjacent whitespace runs made a long run of
|
|
56765
|
+
// spaces quadratic.
|
|
56766
|
+
// eslint-disable-next-line security/detect-unsafe-regex
|
|
56767
|
+
/^([+-]?(?:(?:[^\s:]{1,256}:)?\d+[:-])?[ \t]*(?:\d+(?:\t|\u2192)[ \t]*)?(?:(?:export|-)[ \t]+)?)([A-Za-z_][\w.-]{0,63})([ \t]*[=:][ \t]*)([^\s"'\\,;()[\]{}<>]{8,})(?=[ \t]*(?:#.*)?\r?$)/gm
|
|
56768
|
+
);
|
|
56769
|
+
function redactSecretNamedValues(text) {
|
|
56770
|
+
return text.replace(
|
|
56771
|
+
QUOTED_SECRET_VALUE,
|
|
56772
|
+
(match, name, separator, quote, value) => isSecretName(name) && isSecretValue(value) ? `${name}${separator}${quote}${REDACTED}${quote}` : match
|
|
56773
|
+
).replace(
|
|
56774
|
+
CONFIG_LINE_SECRET_VALUE,
|
|
56775
|
+
(match, prefix, name, separator, value) => isSecretName(name) && isSecretValue(value) && /[\d/+=!@#$%^&*~?]/.test(value) ? `${prefix}${name}${separator}${REDACTED}` : match
|
|
56776
|
+
);
|
|
56777
|
+
}
|
|
56751
56778
|
function redactText(text) {
|
|
56752
56779
|
let out = text;
|
|
56753
56780
|
for (const { pattern, replacement } of CONTEXT_PATTERNS) {
|
|
56754
56781
|
out = out.replace(pattern, replacement);
|
|
56755
56782
|
}
|
|
56783
|
+
out = redactSecretNamedValues(out);
|
|
56756
56784
|
for (const pattern of TOKEN_PATTERNS) {
|
|
56757
56785
|
out = out.replace(pattern, REDACTED);
|
|
56758
56786
|
}
|
|
@@ -56772,7 +56800,7 @@ function redactSecrets(text) {
|
|
|
56772
56800
|
const record2 = value;
|
|
56773
56801
|
for (const key of Object.keys(record2)) {
|
|
56774
56802
|
if (SECRET_KEYS.has(key)) delete record2[key];
|
|
56775
|
-
else if (
|
|
56803
|
+
else if (isSecretName(key) && typeof record2[key] === "string") {
|
|
56776
56804
|
record2[key] = REDACTED;
|
|
56777
56805
|
} else if (isImageBase64Payload(record2, key)) {
|
|
56778
56806
|
} else record2[key] = strip(record2[key]);
|
|
@@ -58915,16 +58943,16 @@ function classifyCodexClient(metadata) {
|
|
|
58915
58943
|
return "unknown";
|
|
58916
58944
|
}
|
|
58917
58945
|
|
|
58918
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
58946
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/debug-build.js
|
|
58919
58947
|
var DEBUG_BUILD = typeof __SENTRY_DEBUG__ === "undefined" || __SENTRY_DEBUG__;
|
|
58920
58948
|
|
|
58921
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
58949
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/worldwide.js
|
|
58922
58950
|
var GLOBAL_OBJ = globalThis;
|
|
58923
58951
|
|
|
58924
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
58925
|
-
var SDK_VERSION = "10.
|
|
58952
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/version.js
|
|
58953
|
+
var SDK_VERSION = "10.75.1";
|
|
58926
58954
|
|
|
58927
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
58955
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/carrier.js
|
|
58928
58956
|
function getMainCarrier() {
|
|
58929
58957
|
getSentryCarrier(GLOBAL_OBJ);
|
|
58930
58958
|
return GLOBAL_OBJ;
|
|
@@ -58940,7 +58968,7 @@ function getGlobalSingleton(name, creator, obj = GLOBAL_OBJ) {
|
|
|
58940
58968
|
return carrier[name] || (carrier[name] = creator());
|
|
58941
58969
|
}
|
|
58942
58970
|
|
|
58943
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
58971
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/debug-logger.js
|
|
58944
58972
|
var CONSOLE_LEVELS = [
|
|
58945
58973
|
"debug",
|
|
58946
58974
|
"info",
|
|
@@ -59021,7 +59049,7 @@ var debug = {
|
|
|
59021
59049
|
error: error62
|
|
59022
59050
|
};
|
|
59023
59051
|
|
|
59024
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
59052
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/stacktrace.js
|
|
59025
59053
|
var STACKTRACE_FRAME_LIMIT = 50;
|
|
59026
59054
|
var UNKNOWN_FUNCTION = "?";
|
|
59027
59055
|
var WEBPACK_ERROR_REGEXP = /\(error: (.*)\)/;
|
|
@@ -59103,7 +59131,7 @@ function normalizeStackTracePath(path34) {
|
|
|
59103
59131
|
return filename;
|
|
59104
59132
|
}
|
|
59105
59133
|
|
|
59106
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
59134
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/instrument/handlers.js
|
|
59107
59135
|
var handlers = {};
|
|
59108
59136
|
var instrumented = {};
|
|
59109
59137
|
function addHandler(type, handler) {
|
|
@@ -59149,7 +59177,7 @@ Error:`,
|
|
|
59149
59177
|
}
|
|
59150
59178
|
}
|
|
59151
59179
|
|
|
59152
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
59180
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/is.js
|
|
59153
59181
|
var objectToString = Object.prototype.toString;
|
|
59154
59182
|
function isError(wat) {
|
|
59155
59183
|
switch (objectToString.call(wat)) {
|
|
@@ -59200,7 +59228,7 @@ function isInstanceOf(wat, base) {
|
|
|
59200
59228
|
}
|
|
59201
59229
|
}
|
|
59202
59230
|
|
|
59203
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
59231
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/object.js
|
|
59204
59232
|
function fill(source, name, replacementFactory) {
|
|
59205
59233
|
if (!(name in source)) {
|
|
59206
59234
|
return;
|
|
@@ -59291,7 +59319,7 @@ function extractExceptionKeysForMessage(exception) {
|
|
|
59291
59319
|
return !keys[0] ? "[object has no keys]" : keys.join(", ");
|
|
59292
59320
|
}
|
|
59293
59321
|
|
|
59294
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
59322
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/randomSafeContext.js
|
|
59295
59323
|
var RESOLVED_RUNNER;
|
|
59296
59324
|
function withRandomSafeContext(cb) {
|
|
59297
59325
|
if (RESOLVED_RUNNER !== void 0) {
|
|
@@ -59313,7 +59341,7 @@ function safeDateNow() {
|
|
|
59313
59341
|
return withRandomSafeContext(() => Date.now());
|
|
59314
59342
|
}
|
|
59315
59343
|
|
|
59316
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
59344
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/normalizationHints.js
|
|
59317
59345
|
var SENTRY_SKIP_NORMALIZATION = /* @__PURE__ */ Symbol.for("sentry.skipNormalization");
|
|
59318
59346
|
var SENTRY_OVERRIDE_NORMALIZATION_DEPTH = /* @__PURE__ */ Symbol.for("sentry.overrideNormalizationDepth");
|
|
59319
59347
|
function hasSkipNormalizationHint(value) {
|
|
@@ -59324,7 +59352,7 @@ function getNormalizationDepthOverrideHint(value) {
|
|
|
59324
59352
|
return typeof v === "number" ? v : void 0;
|
|
59325
59353
|
}
|
|
59326
59354
|
|
|
59327
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
59355
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/normalize.js
|
|
59328
59356
|
var stringifier;
|
|
59329
59357
|
function normalize(input2, depth = 100, maxProperties = Infinity) {
|
|
59330
59358
|
try {
|
|
@@ -59441,7 +59469,7 @@ function memoBuilder() {
|
|
|
59441
59469
|
return [memoize, unmemoize];
|
|
59442
59470
|
}
|
|
59443
59471
|
|
|
59444
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
59472
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/string.js
|
|
59445
59473
|
function stringify(value, fallback = "[unserializable]") {
|
|
59446
59474
|
if (typeof value === "string") {
|
|
59447
59475
|
return value;
|
|
@@ -59528,7 +59556,7 @@ function stringMatchesSomePattern(testString, patterns = [], requireExactStringM
|
|
|
59528
59556
|
return false;
|
|
59529
59557
|
}
|
|
59530
59558
|
|
|
59531
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
59559
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/misc.js
|
|
59532
59560
|
function getCrypto() {
|
|
59533
59561
|
const gbl = GLOBAL_OBJ;
|
|
59534
59562
|
return gbl.crypto || gbl.msCrypto;
|
|
@@ -59630,7 +59658,7 @@ function isAlreadyCaptured(exception) {
|
|
|
59630
59658
|
}
|
|
59631
59659
|
}
|
|
59632
59660
|
|
|
59633
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
59661
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/time.js
|
|
59634
59662
|
var ONE_SECOND_IN_MS = 1e3;
|
|
59635
59663
|
function dateTimestampInSeconds() {
|
|
59636
59664
|
return safeDateNow() / ONE_SECOND_IN_MS;
|
|
@@ -59651,7 +59679,7 @@ function timestampInSeconds() {
|
|
|
59651
59679
|
return func();
|
|
59652
59680
|
}
|
|
59653
59681
|
|
|
59654
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
59682
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/session.js
|
|
59655
59683
|
function makeSession(context2) {
|
|
59656
59684
|
const startingTime = timestampInSeconds();
|
|
59657
59685
|
const session = {
|
|
@@ -59755,7 +59783,7 @@ function sessionToJSON(session) {
|
|
|
59755
59783
|
};
|
|
59756
59784
|
}
|
|
59757
59785
|
|
|
59758
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
59786
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/merge.js
|
|
59759
59787
|
function merge2(initialObj, mergeObj, levels = 2) {
|
|
59760
59788
|
if (!mergeObj || typeof mergeObj !== "object" || levels <= 0) {
|
|
59761
59789
|
return mergeObj;
|
|
@@ -59772,7 +59800,7 @@ function merge2(initialObj, mergeObj, levels = 2) {
|
|
|
59772
59800
|
return output2;
|
|
59773
59801
|
}
|
|
59774
59802
|
|
|
59775
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
59803
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/propagationContext.js
|
|
59776
59804
|
function generateTraceId() {
|
|
59777
59805
|
return uuid42();
|
|
59778
59806
|
}
|
|
@@ -59780,7 +59808,7 @@ function generateSpanId() {
|
|
|
59780
59808
|
return uuid42().substring(16);
|
|
59781
59809
|
}
|
|
59782
59810
|
|
|
59783
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
59811
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/weakRef.js
|
|
59784
59812
|
function makeWeakRef(value) {
|
|
59785
59813
|
try {
|
|
59786
59814
|
const WeakRefImpl = GLOBAL_OBJ.WeakRef;
|
|
@@ -59805,7 +59833,7 @@ function derefWeakRef(ref) {
|
|
|
59805
59833
|
return ref;
|
|
59806
59834
|
}
|
|
59807
59835
|
|
|
59808
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
59836
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/spanOnScope.js
|
|
59809
59837
|
var SCOPE_SPAN_FIELD = "_sentrySpan";
|
|
59810
59838
|
function _setSpanForScope(scope, span) {
|
|
59811
59839
|
if (span) {
|
|
@@ -59818,7 +59846,7 @@ function _getSpanForScope(scope) {
|
|
|
59818
59846
|
return derefWeakRef(scope[SCOPE_SPAN_FIELD]);
|
|
59819
59847
|
}
|
|
59820
59848
|
|
|
59821
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
59849
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/scope.js
|
|
59822
59850
|
var DEFAULT_MAX_BREADCRUMBS = 100;
|
|
59823
59851
|
var Scope = class _Scope {
|
|
59824
59852
|
// NOTE: Any field which gets added here should get added not only to the constructor but also to the `clone` method.
|
|
@@ -60350,7 +60378,7 @@ var Scope = class _Scope {
|
|
|
60350
60378
|
}
|
|
60351
60379
|
};
|
|
60352
60380
|
|
|
60353
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
60381
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/defaultScopes.js
|
|
60354
60382
|
function getDefaultCurrentScope() {
|
|
60355
60383
|
return getGlobalSingleton("defaultCurrentScope", () => new Scope());
|
|
60356
60384
|
}
|
|
@@ -60358,7 +60386,7 @@ function getDefaultIsolationScope() {
|
|
|
60358
60386
|
return getGlobalSingleton("defaultIsolationScope", () => new Scope());
|
|
60359
60387
|
}
|
|
60360
60388
|
|
|
60361
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
60389
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/chain-and-copy-promiselike.js
|
|
60362
60390
|
var isActualPromise = (p) => p instanceof Promise && !p[kChainedCopy];
|
|
60363
60391
|
var kChainedCopy = /* @__PURE__ */ Symbol("chained PromiseLike");
|
|
60364
60392
|
var chainAndCopyPromiseLike = (original, onSuccess, onError2) => {
|
|
@@ -60396,7 +60424,7 @@ var copyProps = (original, chained) => {
|
|
|
60396
60424
|
return chained;
|
|
60397
60425
|
};
|
|
60398
60426
|
|
|
60399
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
60427
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/asyncContext/stackStrategy.js
|
|
60400
60428
|
var AsyncContextStack = class {
|
|
60401
60429
|
constructor(scope, isolationScope) {
|
|
60402
60430
|
let assignedScope;
|
|
@@ -60512,7 +60540,7 @@ function getStackAsyncContextStrategy() {
|
|
|
60512
60540
|
};
|
|
60513
60541
|
}
|
|
60514
60542
|
|
|
60515
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
60543
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/asyncContext/index.js
|
|
60516
60544
|
function setAsyncContextStrategy(strategy) {
|
|
60517
60545
|
const registry2 = getMainCarrier();
|
|
60518
60546
|
const sentry = getSentryCarrier(registry2);
|
|
@@ -60526,7 +60554,7 @@ function getAsyncContextStrategy(carrier) {
|
|
|
60526
60554
|
return getStackAsyncContextStrategy();
|
|
60527
60555
|
}
|
|
60528
60556
|
|
|
60529
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
60557
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/attributes.js
|
|
60530
60558
|
function isAttributeObject(maybeObj) {
|
|
60531
60559
|
return typeof maybeObj === "object" && maybeObj != null && !Array.isArray(maybeObj) && Object.keys(maybeObj).includes("value");
|
|
60532
60560
|
}
|
|
@@ -60601,7 +60629,7 @@ function getTypedAttributeValue(value) {
|
|
|
60601
60629
|
}
|
|
60602
60630
|
}
|
|
60603
60631
|
|
|
60604
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
60632
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/currentScopes.js
|
|
60605
60633
|
var _externalPropagationContextProvider;
|
|
60606
60634
|
function getExternalPropagationContext() {
|
|
60607
60635
|
return _externalPropagationContextProvider?.();
|
|
@@ -60666,7 +60694,7 @@ function getTraceContextFromScope(scope) {
|
|
|
60666
60694
|
return traceContext;
|
|
60667
60695
|
}
|
|
60668
60696
|
|
|
60669
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
60697
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/semanticAttributes.js
|
|
60670
60698
|
var SEMANTIC_ATTRIBUTE_SENTRY_SOURCE = "sentry.source";
|
|
60671
60699
|
var SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE = "sentry.sample_rate";
|
|
60672
60700
|
var SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE = "sentry.previous_trace_sample_rate";
|
|
@@ -60691,7 +60719,7 @@ var SEMANTIC_ATTRIBUTE_CACHE_ITEM_SIZE = "cache.item_size";
|
|
|
60691
60719
|
var SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD = "http.request.method";
|
|
60692
60720
|
var GEN_AI_CONVERSATION_ID_ATTRIBUTE = "gen_ai.conversation.id";
|
|
60693
60721
|
|
|
60694
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
60722
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/spanstatus.js
|
|
60695
60723
|
var SPAN_STATUS_UNSET = 0;
|
|
60696
60724
|
var SPAN_STATUS_OK = 1;
|
|
60697
60725
|
var SPAN_STATUS_ERROR = 2;
|
|
@@ -60734,7 +60762,7 @@ function getSpanStatusFromHttpCode(httpStatus) {
|
|
|
60734
60762
|
return { code: SPAN_STATUS_ERROR, message: "internal_error" };
|
|
60735
60763
|
}
|
|
60736
60764
|
|
|
60737
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
60765
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/utils.js
|
|
60738
60766
|
var SCOPE_ON_START_SPAN_FIELD = "_sentryScope";
|
|
60739
60767
|
var ISOLATION_SCOPE_ON_START_SPAN_FIELD = "_sentryIsolationScope";
|
|
60740
60768
|
var OTEL_SOURCE_INFERENCE_SPAN_FIELD = /* @__PURE__ */ Symbol.for("sentry.otelSourceInference");
|
|
@@ -60772,7 +60800,7 @@ function spanIsTracerProviderSpan(span) {
|
|
|
60772
60800
|
return span[TRACER_PROVIDER_SPAN_FIELD] === true;
|
|
60773
60801
|
}
|
|
60774
60802
|
|
|
60775
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
60803
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/baggage.js
|
|
60776
60804
|
var SENTRY_BAGGAGE_KEY_PREFIX = "sentry-";
|
|
60777
60805
|
var MAX_BAGGAGE_STRING_LENGTH = 8192;
|
|
60778
60806
|
function baggageHeaderToDynamicSamplingContext(baggageHeader) {
|
|
@@ -60899,7 +60927,7 @@ function mergeBaggageHeaders(existing, incoming) {
|
|
|
60899
60927
|
return objectToBaggageHeader(merged);
|
|
60900
60928
|
}
|
|
60901
60929
|
|
|
60902
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
60930
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/dsn.js
|
|
60903
60931
|
var ORG_ID_REGEX = /^o(\d+)\./;
|
|
60904
60932
|
var DSN_REGEX = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;
|
|
60905
60933
|
function isValidProtocol(protocol) {
|
|
@@ -60997,7 +61025,7 @@ function makeDsn(from) {
|
|
|
60997
61025
|
return components;
|
|
60998
61026
|
}
|
|
60999
61027
|
|
|
61000
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
61028
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
61001
61029
|
function parseSampleRate(sampleRate) {
|
|
61002
61030
|
if (typeof sampleRate === "boolean") {
|
|
61003
61031
|
return Number(sampleRate);
|
|
@@ -61009,7 +61037,7 @@ function parseSampleRate(sampleRate) {
|
|
|
61009
61037
|
return rate;
|
|
61010
61038
|
}
|
|
61011
61039
|
|
|
61012
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
61040
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/tracing.js
|
|
61013
61041
|
var TRACEPARENT_REGEXP = new RegExp(
|
|
61014
61042
|
"^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$"
|
|
61015
61043
|
// whitespace
|
|
@@ -61108,7 +61136,7 @@ function shouldContinueTrace(client, baggageOrgId) {
|
|
|
61108
61136
|
return true;
|
|
61109
61137
|
}
|
|
61110
61138
|
|
|
61111
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
61139
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/spanUtils.js
|
|
61112
61140
|
var TRACE_FLAG_NONE = 0;
|
|
61113
61141
|
var TRACE_FLAG_SAMPLED = 1;
|
|
61114
61142
|
var hasShownSpanDropWarning = false;
|
|
@@ -61346,7 +61374,7 @@ function showSpanDropWarning() {
|
|
|
61346
61374
|
}
|
|
61347
61375
|
}
|
|
61348
61376
|
|
|
61349
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
61377
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/hasSpansEnabled.js
|
|
61350
61378
|
function hasSpansEnabled(maybeOptions) {
|
|
61351
61379
|
if (typeof __SENTRY_TRACING__ === "boolean" && !__SENTRY_TRACING__) {
|
|
61352
61380
|
return false;
|
|
@@ -61356,7 +61384,7 @@ function hasSpansEnabled(maybeOptions) {
|
|
|
61356
61384
|
(options.tracesSampleRate != null || !!options.tracesSampler);
|
|
61357
61385
|
}
|
|
61358
61386
|
|
|
61359
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
61387
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
61360
61388
|
function logIgnoredSpan(droppedSpan) {
|
|
61361
61389
|
debug.log(`Ignoring span ${droppedSpan.op} - ${droppedSpan.description} because it matches \`ignoreSpans\`.`);
|
|
61362
61390
|
}
|
|
@@ -61413,7 +61441,7 @@ function isStringOrRegExp(value) {
|
|
|
61413
61441
|
return typeof value === "string" || value instanceof RegExp;
|
|
61414
61442
|
}
|
|
61415
61443
|
|
|
61416
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
61444
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/sentryNonRecordingSpan.js
|
|
61417
61445
|
var NON_RECORDING_SPAN_FIELD = /* @__PURE__ */ Symbol.for("sentry.nonRecordingSpan");
|
|
61418
61446
|
var SentryNonRecordingSpan = class {
|
|
61419
61447
|
constructor(spanContext = {}) {
|
|
@@ -61479,10 +61507,10 @@ function spanIsNonRecordingSpan(span) {
|
|
|
61479
61507
|
return !!span && span[NON_RECORDING_SPAN_FIELD] === true;
|
|
61480
61508
|
}
|
|
61481
61509
|
|
|
61482
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
61510
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/constants.js
|
|
61483
61511
|
var DEFAULT_ENVIRONMENT = "production";
|
|
61484
61512
|
|
|
61485
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
61513
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/dynamicSamplingContext.js
|
|
61486
61514
|
var FROZEN_DSC_FIELD = "_frozenDsc";
|
|
61487
61515
|
function freezeDscOnSpan(span, dsc) {
|
|
61488
61516
|
const spanWithMaybeDsc = span;
|
|
@@ -61560,12 +61588,12 @@ function getDynamicSamplingContextFromSpan(span) {
|
|
|
61560
61588
|
return dsc;
|
|
61561
61589
|
}
|
|
61562
61590
|
|
|
61563
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
61591
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/spans/beforeSendSpan.js
|
|
61564
61592
|
function isStreamedBeforeSendSpanCallback(callback) {
|
|
61565
61593
|
return !!callback && typeof callback === "function" && "_streamed" in callback && !!callback._streamed;
|
|
61566
61594
|
}
|
|
61567
61595
|
|
|
61568
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
61596
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/envelope.js
|
|
61569
61597
|
function createEnvelope(headers, items = []) {
|
|
61570
61598
|
return [headers, items];
|
|
61571
61599
|
}
|
|
@@ -61688,7 +61716,7 @@ function createEventEnvelopeHeaders(event, sdkInfo, tunnel, dsn) {
|
|
|
61688
61716
|
};
|
|
61689
61717
|
}
|
|
61690
61718
|
|
|
61691
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
61719
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/envelope.js
|
|
61692
61720
|
function _enhanceEventWithSdkInfo(event, newSdkInfo) {
|
|
61693
61721
|
if (!newSdkInfo) {
|
|
61694
61722
|
return event;
|
|
@@ -61766,7 +61794,7 @@ function createSpanEnvelope(spans, client) {
|
|
|
61766
61794
|
return createEnvelope(headers, items);
|
|
61767
61795
|
}
|
|
61768
61796
|
|
|
61769
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
61797
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/logSpans.js
|
|
61770
61798
|
function logSpanStart(span) {
|
|
61771
61799
|
if (!DEBUG_BUILD) return;
|
|
61772
61800
|
const { description = "< unknown name >", op = "< unknown op >", parent_span_id: parentSpanId } = spanToJSON(span);
|
|
@@ -61802,7 +61830,7 @@ function logSpanEnd(span) {
|
|
|
61802
61830
|
debug.log(msg);
|
|
61803
61831
|
}
|
|
61804
61832
|
|
|
61805
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
61833
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/measurement.js
|
|
61806
61834
|
function timedEventsToMeasurements(events) {
|
|
61807
61835
|
if (!events || events.length === 0) {
|
|
61808
61836
|
return void 0;
|
|
@@ -61819,7 +61847,7 @@ function timedEventsToMeasurements(events) {
|
|
|
61819
61847
|
return measurements;
|
|
61820
61848
|
}
|
|
61821
61849
|
|
|
61822
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
61850
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/segmentSpanCaptureStrategy.js
|
|
61823
61851
|
function setSegmentSpanCaptureStrategy(strategy) {
|
|
61824
61852
|
getSentryCarrier(getMainCarrier()).segmentSpanCaptureStrategy = strategy;
|
|
61825
61853
|
}
|
|
@@ -61827,12 +61855,12 @@ function getSegmentSpanCaptureStrategy() {
|
|
|
61827
61855
|
return getSentryCarrier(getMainCarrier()).segmentSpanCaptureStrategy;
|
|
61828
61856
|
}
|
|
61829
61857
|
|
|
61830
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
61858
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/spans/hasSpanStreamingEnabled.js
|
|
61831
61859
|
function hasSpanStreamingEnabled(client) {
|
|
61832
61860
|
return client.getOptions().traceLifecycle === "stream";
|
|
61833
61861
|
}
|
|
61834
61862
|
|
|
61835
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
61863
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/sentrySpan.js
|
|
61836
61864
|
var MAX_SPAN_COUNT = 1e3;
|
|
61837
61865
|
var SentrySpan = class {
|
|
61838
61866
|
/**
|
|
@@ -62206,7 +62234,7 @@ function sendSpanEnvelope(envelope) {
|
|
|
62206
62234
|
client.sendEnvelope(envelope);
|
|
62207
62235
|
}
|
|
62208
62236
|
|
|
62209
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
62237
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/handleCallbackErrors.js
|
|
62210
62238
|
function handleCallbackErrors(fn, onError2, onFinally = () => {
|
|
62211
62239
|
}, onSuccess = () => {
|
|
62212
62240
|
}) {
|
|
@@ -62239,7 +62267,7 @@ function maybeHandlePromiseRejection(value, onError2, onFinally, onSuccess) {
|
|
|
62239
62267
|
return value;
|
|
62240
62268
|
}
|
|
62241
62269
|
|
|
62242
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
62270
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/sampling.js
|
|
62243
62271
|
function sampleSpan(options, samplingContext, sampleRand) {
|
|
62244
62272
|
if (!hasSpansEnabled(options)) {
|
|
62245
62273
|
return [false];
|
|
@@ -62292,7 +62320,7 @@ function sampleSpan(options, samplingContext, sampleRand) {
|
|
|
62292
62320
|
return [shouldSample, parsedSampleRate, localSampleRateWasApplied];
|
|
62293
62321
|
}
|
|
62294
62322
|
|
|
62295
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
62323
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/trace.js
|
|
62296
62324
|
var SUPPRESS_TRACING_KEY = "__SENTRY_SUPPRESS_TRACING__";
|
|
62297
62325
|
function startSpan(options, callback) {
|
|
62298
62326
|
const acs = getAcs();
|
|
@@ -62671,7 +62699,7 @@ function spanIsIgnored(span) {
|
|
|
62671
62699
|
return spanIsNonRecordingSpan(span) && span.dropReason === "ignored";
|
|
62672
62700
|
}
|
|
62673
62701
|
|
|
62674
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
62702
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/debounce.js
|
|
62675
62703
|
function debounce(func, wait, options) {
|
|
62676
62704
|
let callbackReturnValue;
|
|
62677
62705
|
let timerId;
|
|
@@ -62709,7 +62737,7 @@ function debounce(func, wait, options) {
|
|
|
62709
62737
|
return debounced;
|
|
62710
62738
|
}
|
|
62711
62739
|
|
|
62712
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
62740
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/deferSegmentSpanCapture.js
|
|
62713
62741
|
var CAPTURED_SPANS = /* @__PURE__ */ new WeakSet();
|
|
62714
62742
|
var isSpanAlreadyCaptured = (span) => CAPTURED_SPANS.has(span);
|
|
62715
62743
|
var markSpanCaptured = (span) => {
|
|
@@ -62784,7 +62812,7 @@ var deferredSegmentSpanCaptureStrategy = {
|
|
|
62784
62812
|
}
|
|
62785
62813
|
};
|
|
62786
62814
|
|
|
62787
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
62815
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/bindScopeToEmitter.js
|
|
62788
62816
|
var ADD_LISTENER_METHODS = [
|
|
62789
62817
|
"addListener",
|
|
62790
62818
|
"on",
|
|
@@ -62893,7 +62921,7 @@ function getPatchMap(ee) {
|
|
|
62893
62921
|
return ee[SCOPE_BOUND_LISTENERS];
|
|
62894
62922
|
}
|
|
62895
62923
|
|
|
62896
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
62924
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/scopeData.js
|
|
62897
62925
|
function applyScopeDataToEvent(event, data) {
|
|
62898
62926
|
const { fingerprint, span, breadcrumbs, sdkProcessingMetadata } = data;
|
|
62899
62927
|
applyDataToEvent(event, data);
|
|
@@ -63015,7 +63043,7 @@ function applyFingerprintToEvent(event, fingerprint) {
|
|
|
63015
63043
|
}
|
|
63016
63044
|
}
|
|
63017
63045
|
|
|
63018
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
63046
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/spans/scopeContextAttributes.js
|
|
63019
63047
|
function scopeContextsToSpanAttributes(contexts) {
|
|
63020
63048
|
const attrs = {};
|
|
63021
63049
|
const { response, profile, cloud_resource, culture, state } = contexts;
|
|
@@ -63152,7 +63180,7 @@ var Hu = "url.query";
|
|
|
63152
63180
|
var Ku = "url.scheme";
|
|
63153
63181
|
var Qu = "user_agent.original";
|
|
63154
63182
|
|
|
63155
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
63183
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/spans/captureSpan.js
|
|
63156
63184
|
function captureSpan(span, client) {
|
|
63157
63185
|
const spanJSON = spanToStreamedSpanJSON(span);
|
|
63158
63186
|
const segmentSpan = INTERNAL_getSegmentSpan(span);
|
|
@@ -63227,7 +63255,7 @@ function applyBeforeSendSpanCallback(span, beforeSendSpan) {
|
|
|
63227
63255
|
return modifedSpan;
|
|
63228
63256
|
}
|
|
63229
63257
|
|
|
63230
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
63258
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/syncpromise.js
|
|
63231
63259
|
var STATE_PENDING = 0;
|
|
63232
63260
|
var STATE_RESOLVED = 1;
|
|
63233
63261
|
var STATE_REJECTED = 2;
|
|
@@ -63359,7 +63387,7 @@ var SyncPromise = class _SyncPromise {
|
|
|
63359
63387
|
}
|
|
63360
63388
|
};
|
|
63361
63389
|
|
|
63362
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
63390
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/eventProcessors.js
|
|
63363
63391
|
function notifyEventProcessors(processors, event, hint, index = 0) {
|
|
63364
63392
|
try {
|
|
63365
63393
|
const result = _notifyEventProcessors(event, hint, processors, index);
|
|
@@ -63381,7 +63409,7 @@ function _notifyEventProcessors(event, hint, processors, index) {
|
|
|
63381
63409
|
return _notifyEventProcessors(result, hint, processors, index + 1);
|
|
63382
63410
|
}
|
|
63383
63411
|
|
|
63384
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
63412
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/debug-ids.js
|
|
63385
63413
|
var parsedStackResults;
|
|
63386
63414
|
var lastSentryKeysCount;
|
|
63387
63415
|
var lastNativeKeysCount;
|
|
@@ -63435,7 +63463,7 @@ function getFilenameToDebugIdMap(stackParser) {
|
|
|
63435
63463
|
return cachedFilenameDebugIds;
|
|
63436
63464
|
}
|
|
63437
63465
|
|
|
63438
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
63466
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/prepareEvent.js
|
|
63439
63467
|
function prepareEvent(options, event, hint, scope, client, isolationScope) {
|
|
63440
63468
|
const { normalizeDepth = 3, normalizeMaxBreadth = 1e3 } = options;
|
|
63441
63469
|
const prepared = {
|
|
@@ -63628,7 +63656,7 @@ function hintIsScopeContext(hint) {
|
|
|
63628
63656
|
return Object.keys(hint).some((key) => captureContextKeys.includes(key));
|
|
63629
63657
|
}
|
|
63630
63658
|
|
|
63631
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
63659
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/exports.js
|
|
63632
63660
|
function captureException(exception, hint) {
|
|
63633
63661
|
return getCurrentScope().captureException(exception, parseEventHintOrCaptureContext(hint));
|
|
63634
63662
|
}
|
|
@@ -63686,7 +63714,7 @@ function _sendSessionUpdate() {
|
|
|
63686
63714
|
}
|
|
63687
63715
|
}
|
|
63688
63716
|
|
|
63689
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
63717
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/timer.js
|
|
63690
63718
|
function safeUnref(timer) {
|
|
63691
63719
|
if (typeof timer === "object" && typeof timer.unref === "function") {
|
|
63692
63720
|
timer.unref();
|
|
@@ -63694,7 +63722,7 @@ function safeUnref(timer) {
|
|
|
63694
63722
|
return timer;
|
|
63695
63723
|
}
|
|
63696
63724
|
|
|
63697
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
63725
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/asyncContext/tracing-channel-binding.js
|
|
63698
63726
|
function waitForTracingChannelBinding(callback, retries = 1) {
|
|
63699
63727
|
const binding = getAsyncContextStrategy(getMainCarrier()).getTracingChannelBinding?.();
|
|
63700
63728
|
if (binding) {
|
|
@@ -63711,7 +63739,7 @@ function waitForTracingChannelBinding(callback, retries = 1) {
|
|
|
63711
63739
|
);
|
|
63712
63740
|
}
|
|
63713
63741
|
|
|
63714
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
63742
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/api.js
|
|
63715
63743
|
var SENTRY_API_VERSION = "7";
|
|
63716
63744
|
function getBaseApiEndpoint(dsn) {
|
|
63717
63745
|
const protocol = dsn.protocol ? `${dsn.protocol}:` : "";
|
|
@@ -63737,7 +63765,7 @@ function getEnvelopeEndpointWithUrlEncodedAuth(dsn, tunnel, sdkInfo) {
|
|
|
63737
63765
|
return tunnel ? tunnel : `${_getIngestEndpoint(dsn)}?${_encodedAuth(dsn, sdkInfo)}`;
|
|
63738
63766
|
}
|
|
63739
63767
|
|
|
63740
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
63768
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integration.js
|
|
63741
63769
|
var installedIntegrations = [];
|
|
63742
63770
|
function filterDuplicates(integrations) {
|
|
63743
63771
|
const integrationsByName = {};
|
|
@@ -63845,7 +63873,7 @@ function extendIntegration(integration, extendedIntegration) {
|
|
|
63845
63873
|
return wrappedIntegration;
|
|
63846
63874
|
}
|
|
63847
63875
|
|
|
63848
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
63876
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/trace-info.js
|
|
63849
63877
|
function _getTraceInfoFromScope(client, scope) {
|
|
63850
63878
|
if (!scope) {
|
|
63851
63879
|
return [void 0, void 0];
|
|
@@ -63858,17 +63886,17 @@ function _getTraceInfoFromScope(client, scope) {
|
|
|
63858
63886
|
});
|
|
63859
63887
|
}
|
|
63860
63888
|
|
|
63861
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
63889
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/env.js
|
|
63862
63890
|
function isBrowserBundle() {
|
|
63863
63891
|
return typeof __SENTRY_BROWSER_BUNDLE__ !== "undefined" && !!__SENTRY_BROWSER_BUNDLE__;
|
|
63864
63892
|
}
|
|
63865
63893
|
|
|
63866
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
63894
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/node.js
|
|
63867
63895
|
function isNodeEnv() {
|
|
63868
63896
|
return !isBrowserBundle() && Object.prototype.toString.call(typeof process !== "undefined" ? process : 0) === "[object process]";
|
|
63869
63897
|
}
|
|
63870
63898
|
|
|
63871
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
63899
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/isBrowser.js
|
|
63872
63900
|
function isBrowser() {
|
|
63873
63901
|
return typeof window !== "undefined" && (!isNodeEnv() || isElectronNodeRenderer());
|
|
63874
63902
|
}
|
|
@@ -63877,7 +63905,7 @@ function isElectronNodeRenderer() {
|
|
|
63877
63905
|
return process2?.type === "renderer";
|
|
63878
63906
|
}
|
|
63879
63907
|
|
|
63880
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
63908
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/logs/envelope.js
|
|
63881
63909
|
function createLogContainerEnvelopeItem(items, inferUserData) {
|
|
63882
63910
|
const inferSetting = inferUserData ? "auto" : "never";
|
|
63883
63911
|
return [
|
|
@@ -63909,7 +63937,7 @@ function createLogEnvelope(logs, metadata, tunnel, dsn, inferUserData) {
|
|
|
63909
63937
|
return createEnvelope(headers, [createLogContainerEnvelopeItem(logs, inferUserData)]);
|
|
63910
63938
|
}
|
|
63911
63939
|
|
|
63912
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
63940
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/logs/internal.js
|
|
63913
63941
|
function _INTERNAL_flushLogsBuffer(client, maybeLogBuffer) {
|
|
63914
63942
|
const logBuffer = maybeLogBuffer ?? _INTERNAL_getLogBuffer(client) ?? [];
|
|
63915
63943
|
if (logBuffer.length === 0) {
|
|
@@ -63934,7 +63962,7 @@ function _getBufferMap() {
|
|
|
63934
63962
|
return getGlobalSingleton("clientToLogBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
63935
63963
|
}
|
|
63936
63964
|
|
|
63937
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
63965
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/metrics/envelope.js
|
|
63938
63966
|
function createMetricContainerEnvelopeItem(items, inferUserData) {
|
|
63939
63967
|
const inferSetting = inferUserData ? "auto" : "never";
|
|
63940
63968
|
return [
|
|
@@ -63966,7 +63994,7 @@ function createMetricEnvelope(metrics2, metadata, tunnel, dsn, inferUserData) {
|
|
|
63966
63994
|
return createEnvelope(headers, [createMetricContainerEnvelopeItem(metrics2, inferUserData)]);
|
|
63967
63995
|
}
|
|
63968
63996
|
|
|
63969
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
63997
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/metrics/internal.js
|
|
63970
63998
|
function _INTERNAL_flushMetricsBuffer(client, maybeMetricBuffer) {
|
|
63971
63999
|
const metricBuffer = maybeMetricBuffer ?? _INTERNAL_getMetricBuffer(client) ?? [];
|
|
63972
64000
|
if (metricBuffer.length === 0) {
|
|
@@ -63991,7 +64019,7 @@ function _getBufferMap2() {
|
|
|
63991
64019
|
return getGlobalSingleton("clientToMetricBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
63992
64020
|
}
|
|
63993
64021
|
|
|
63994
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
64022
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/spans/spanJsonToStreamedSpan.js
|
|
63995
64023
|
function spanJsonToSerializedStreamedSpan(span) {
|
|
63996
64024
|
const streamedSpan = {
|
|
63997
64025
|
trace_id: span.trace_id,
|
|
@@ -64008,7 +64036,7 @@ function spanJsonToSerializedStreamedSpan(span) {
|
|
|
64008
64036
|
return streamedSpanJsonToSerializedSpan(streamedSpan);
|
|
64009
64037
|
}
|
|
64010
64038
|
|
|
64011
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
64039
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/spans/extractGenAiSpans.js
|
|
64012
64040
|
function extractGenAiSpansFromEvent(event, client) {
|
|
64013
64041
|
if (event.type !== "transaction" || !event.spans?.length || !event.sdkProcessingMetadata?.hasGenAiSpans || client.getOptions().streamGenAiSpans === false || hasSpanStreamingEnabled(client)) {
|
|
64014
64042
|
return void 0;
|
|
@@ -64039,7 +64067,7 @@ function extractGenAiSpansFromEvent(event, client) {
|
|
|
64039
64067
|
];
|
|
64040
64068
|
}
|
|
64041
64069
|
|
|
64042
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
64070
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/promisebuffer.js
|
|
64043
64071
|
var SENTRY_BUFFER_FULL_ERROR = /* @__PURE__ */ Symbol.for("SentryBufferFullError");
|
|
64044
64072
|
function makePromiseBuffer(limit = 100) {
|
|
64045
64073
|
const buffer = /* @__PURE__ */ new Set();
|
|
@@ -64084,7 +64112,7 @@ function makePromiseBuffer(limit = 100) {
|
|
|
64084
64112
|
};
|
|
64085
64113
|
}
|
|
64086
64114
|
|
|
64087
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
64115
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
64088
64116
|
var DEFAULT_RETRY_AFTER = 60 * 1e3;
|
|
64089
64117
|
function parseRetryAfterHeader(header, now = safeDateNow()) {
|
|
64090
64118
|
const headerDelay = parseInt(`${header}`, 10);
|
|
@@ -64136,7 +64164,7 @@ function updateRateLimits(limits, { statusCode, headers }, now = safeDateNow())
|
|
|
64136
64164
|
return updatedRateLimits;
|
|
64137
64165
|
}
|
|
64138
64166
|
|
|
64139
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
64167
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/transports/base.js
|
|
64140
64168
|
var DEFAULT_TRANSPORT_BUFFER_SIZE = 64;
|
|
64141
64169
|
function createTransport(options, makeRequest, buffer = makePromiseBuffer(
|
|
64142
64170
|
options.bufferSize || DEFAULT_TRANSPORT_BUFFER_SIZE
|
|
@@ -64206,7 +64234,7 @@ function createTransport(options, makeRequest, buffer = makePromiseBuffer(
|
|
|
64206
64234
|
};
|
|
64207
64235
|
}
|
|
64208
64236
|
|
|
64209
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
64237
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/clientreport.js
|
|
64210
64238
|
function createClientReportEnvelope(discarded_events, dsn, timestamp) {
|
|
64211
64239
|
const clientReportItem = [
|
|
64212
64240
|
{ type: "client_report" },
|
|
@@ -64218,7 +64246,7 @@ function createClientReportEnvelope(discarded_events, dsn, timestamp) {
|
|
|
64218
64246
|
return createEnvelope(dsn ? { dsn } : {}, [clientReportItem]);
|
|
64219
64247
|
}
|
|
64220
64248
|
|
|
64221
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
64249
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/eventUtils.js
|
|
64222
64250
|
function getPossibleEventMessages(event) {
|
|
64223
64251
|
const possibleMessages = [];
|
|
64224
64252
|
if (event.message) {
|
|
@@ -64237,7 +64265,7 @@ function getPossibleEventMessages(event) {
|
|
|
64237
64265
|
return possibleMessages;
|
|
64238
64266
|
}
|
|
64239
64267
|
|
|
64240
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
64268
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/transactionEvent.js
|
|
64241
64269
|
function convertTransactionEventToSpanJson(event) {
|
|
64242
64270
|
const { trace_id, parent_span_id, span_id, status, origin, data, op } = event.contexts?.trace ?? {};
|
|
64243
64271
|
return {
|
|
@@ -64282,7 +64310,7 @@ function convertSpanJsonToTransactionEvent(span) {
|
|
|
64282
64310
|
};
|
|
64283
64311
|
}
|
|
64284
64312
|
|
|
64285
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
64313
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/data-collection/filtering-snippets.js
|
|
64286
64314
|
var FILTERED_VALUE = "[Filtered]";
|
|
64287
64315
|
var PII_HEADER_SNIPPETS = ["forwarded", "-ip", "remote-", "via", "-user"];
|
|
64288
64316
|
var SENSITIVE_KEY_SNIPPETS = [
|
|
@@ -64337,7 +64365,7 @@ var SENSITIVE_COOKIE_NAME_SNIPPETS = [
|
|
|
64337
64365
|
"2fa"
|
|
64338
64366
|
];
|
|
64339
64367
|
|
|
64340
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
64368
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/data-collection/defaultPiiToCollectionOptions.js
|
|
64341
64369
|
function defaultPiiToCollectionOptions(sendDefaultPii) {
|
|
64342
64370
|
return sendDefaultPii === true ? {
|
|
64343
64371
|
userInfo: true,
|
|
@@ -64370,7 +64398,7 @@ function defaultPiiToCollectionOptions(sendDefaultPii) {
|
|
|
64370
64398
|
};
|
|
64371
64399
|
}
|
|
64372
64400
|
|
|
64373
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
64401
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/data-collection/resolveDataCollectionOptions.js
|
|
64374
64402
|
var DEFAULTS = {
|
|
64375
64403
|
userInfo: true,
|
|
64376
64404
|
cookies: true,
|
|
@@ -64383,16 +64411,28 @@ var DEFAULTS = {
|
|
|
64383
64411
|
stackFrameVariables: true,
|
|
64384
64412
|
frameContextLines: 5
|
|
64385
64413
|
};
|
|
64414
|
+
function isCollectBehavior(value) {
|
|
64415
|
+
return typeof value === "boolean" || "allow" in value || "deny" in value;
|
|
64416
|
+
}
|
|
64417
|
+
function resolveHttpHeaders(httpHeaders, base) {
|
|
64418
|
+
if (httpHeaders === void 0) {
|
|
64419
|
+
return { ...base.httpHeaders };
|
|
64420
|
+
}
|
|
64421
|
+
if (isCollectBehavior(httpHeaders)) {
|
|
64422
|
+
return { request: httpHeaders, response: httpHeaders };
|
|
64423
|
+
}
|
|
64424
|
+
return {
|
|
64425
|
+
request: httpHeaders.request ?? base.httpHeaders.request,
|
|
64426
|
+
response: httpHeaders.response ?? base.httpHeaders.response
|
|
64427
|
+
};
|
|
64428
|
+
}
|
|
64386
64429
|
function resolveDataCollectionOptions(options) {
|
|
64387
64430
|
const base = options.dataCollection != null ? DEFAULTS : defaultPiiToCollectionOptions(options.sendDefaultPii);
|
|
64388
64431
|
const dc2 = options.dataCollection ?? {};
|
|
64389
64432
|
return {
|
|
64390
64433
|
userInfo: dc2.userInfo ?? base.userInfo,
|
|
64391
64434
|
cookies: dc2.cookies ?? base.cookies,
|
|
64392
|
-
httpHeaders:
|
|
64393
|
-
request: dc2.httpHeaders?.request ?? base.httpHeaders.request,
|
|
64394
|
-
response: dc2.httpHeaders?.response ?? base.httpHeaders.response
|
|
64395
|
-
},
|
|
64435
|
+
httpHeaders: resolveHttpHeaders(dc2.httpHeaders, base),
|
|
64396
64436
|
httpBodies: dc2.httpBodies ?? base.httpBodies,
|
|
64397
64437
|
// oxlint-disable-next-line typescript/no-deprecated
|
|
64398
64438
|
urlQueryParams: dc2.urlQueryParams ?? dc2.queryParams ?? base.urlQueryParams,
|
|
@@ -64410,7 +64450,7 @@ function resolveDataCollectionOptions(options) {
|
|
|
64410
64450
|
};
|
|
64411
64451
|
}
|
|
64412
64452
|
|
|
64413
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
64453
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/client.js
|
|
64414
64454
|
var ALREADY_SEEN_ERROR = "Not capturing exception because it's already been captured.";
|
|
64415
64455
|
var MISSING_RELEASE_FOR_SESSION_ERROR = "Discarded session because of missing or non-string release";
|
|
64416
64456
|
var INTERNAL_ERROR_SYMBOL = /* @__PURE__ */ Symbol.for("SentryInternalError");
|
|
@@ -65219,7 +65259,7 @@ function estimatePrimitiveSizeInBytes2(value) {
|
|
|
65219
65259
|
return 0;
|
|
65220
65260
|
}
|
|
65221
65261
|
|
|
65222
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
65262
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/ai/providerSkip.js
|
|
65223
65263
|
var SKIPPED_AI_PROVIDERS = /* @__PURE__ */ new Set();
|
|
65224
65264
|
function _INTERNAL_skipAiProviderWrapping(modules) {
|
|
65225
65265
|
modules.forEach((module2) => {
|
|
@@ -65235,7 +65275,7 @@ function _INTERNAL_clearAiProviderSkips() {
|
|
|
65235
65275
|
DEBUG_BUILD && debug.log("Cleared AI provider skip registrations");
|
|
65236
65276
|
}
|
|
65237
65277
|
|
|
65238
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
65278
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/data-collection/filterKeyValueData.js
|
|
65239
65279
|
function isSensitiveKey(lower, denySnippets) {
|
|
65240
65280
|
return denySnippets.some((snippet) => lower.includes(snippet));
|
|
65241
65281
|
}
|
|
@@ -65273,7 +65313,7 @@ function filterKeyValueData(data, behavior, additionalDenyTerms) {
|
|
|
65273
65313
|
return result;
|
|
65274
65314
|
}
|
|
65275
65315
|
|
|
65276
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
65316
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/cookie.js
|
|
65277
65317
|
function parseCookie(str) {
|
|
65278
65318
|
const obj = {};
|
|
65279
65319
|
let index = 0;
|
|
@@ -65306,7 +65346,7 @@ function parseCookie(str) {
|
|
|
65306
65346
|
return obj;
|
|
65307
65347
|
}
|
|
65308
65348
|
|
|
65309
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
65349
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/envToBool.js
|
|
65310
65350
|
var FALSY_ENV_VALUES = /* @__PURE__ */ new Set(["false", "f", "n", "no", "off", "0"]);
|
|
65311
65351
|
var TRUTHY_ENV_VALUES = /* @__PURE__ */ new Set(["true", "t", "y", "yes", "on", "1"]);
|
|
65312
65352
|
function envToBool(value, options) {
|
|
@@ -65320,7 +65360,7 @@ function envToBool(value, options) {
|
|
|
65320
65360
|
return options?.strict ? null : Boolean(value);
|
|
65321
65361
|
}
|
|
65322
65362
|
|
|
65323
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
65363
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/checkin.js
|
|
65324
65364
|
function createCheckInEnvelope(checkIn, dynamicSamplingContext, metadata, tunnel, dsn) {
|
|
65325
65365
|
const headers = {
|
|
65326
65366
|
sent_at: new Date(safeDateNow()).toISOString()
|
|
@@ -65347,7 +65387,7 @@ function createCheckInEnvelopeItem(checkIn) {
|
|
|
65347
65387
|
return [checkInHeaders, checkIn];
|
|
65348
65388
|
}
|
|
65349
65389
|
|
|
65350
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
65390
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/url.js
|
|
65351
65391
|
var DEFAULT_BASE_URL = "thismessage:/";
|
|
65352
65392
|
function isURLObjectRelative(url2) {
|
|
65353
65393
|
return "isRelative" in url2;
|
|
@@ -65480,7 +65520,36 @@ function stripDataUrlContent(url2, includeDataPrefix = true) {
|
|
|
65480
65520
|
return url2;
|
|
65481
65521
|
}
|
|
65482
65522
|
|
|
65483
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
65523
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/isSentryRequestUrl.js
|
|
65524
|
+
function isSentryRequestUrl(url2, client) {
|
|
65525
|
+
const dsn = client?.getDsn();
|
|
65526
|
+
const tunnel = client?.getOptions().tunnel;
|
|
65527
|
+
return checkDsn(url2, dsn) || checkTunnel(url2, tunnel);
|
|
65528
|
+
}
|
|
65529
|
+
function checkTunnel(url2, tunnel) {
|
|
65530
|
+
if (!tunnel) {
|
|
65531
|
+
return false;
|
|
65532
|
+
}
|
|
65533
|
+
return removeTrailingSlash(url2) === removeTrailingSlash(tunnel);
|
|
65534
|
+
}
|
|
65535
|
+
function checkDsn(url2, dsn) {
|
|
65536
|
+
const urlParts = parseStringToURLObject(url2);
|
|
65537
|
+
if (!urlParts || isURLObjectRelative(urlParts)) {
|
|
65538
|
+
return false;
|
|
65539
|
+
}
|
|
65540
|
+
if (!dsn) {
|
|
65541
|
+
return false;
|
|
65542
|
+
}
|
|
65543
|
+
return hostnameMatchesDsnHost(urlParts.hostname, dsn.host) && /(^|&|\?)sentry_key=/.test(urlParts.search);
|
|
65544
|
+
}
|
|
65545
|
+
function hostnameMatchesDsnHost(hostname4, dsnHost) {
|
|
65546
|
+
return hostname4 === dsnHost || dsnHost.length > 0 && hostname4.endsWith(`.${dsnHost}`);
|
|
65547
|
+
}
|
|
65548
|
+
function removeTrailingSlash(str) {
|
|
65549
|
+
return str[str.length - 1] === "/" ? str.slice(0, -1) : str;
|
|
65550
|
+
}
|
|
65551
|
+
|
|
65552
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js
|
|
65484
65553
|
function applySdkMetadata(options, name, names = [name], source = "npm") {
|
|
65485
65554
|
const sdk = (options._metadata = options._metadata || {}).sdk = options._metadata.sdk || {};
|
|
65486
65555
|
if (!sdk.name) {
|
|
@@ -65493,7 +65562,7 @@ function applySdkMetadata(options, name, names = [name], source = "npm") {
|
|
|
65493
65562
|
}
|
|
65494
65563
|
}
|
|
65495
65564
|
|
|
65496
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
65565
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/traceData.js
|
|
65497
65566
|
function getTraceData(options = {}) {
|
|
65498
65567
|
const client = options.client || getClient();
|
|
65499
65568
|
if (!isEnabled2() || !client) {
|
|
@@ -65536,7 +65605,7 @@ function scopeToTraceparentHeader(scope) {
|
|
|
65536
65605
|
return generateTraceparentHeader(traceId, propagationSpanId, sampled);
|
|
65537
65606
|
}
|
|
65538
65607
|
|
|
65539
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
65608
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/tracePropagationTargets.js
|
|
65540
65609
|
var NOT_PROPAGATED_MESSAGE = "[Tracing] Not injecting trace data for url because it does not match tracePropagationTargets:";
|
|
65541
65610
|
function shouldPropagateTraceForUrl(url2, tracePropagationTargets, decisionMap) {
|
|
65542
65611
|
if (typeof url2 !== "string" || !tracePropagationTargets) {
|
|
@@ -65553,7 +65622,7 @@ function shouldPropagateTraceForUrl(url2, tracePropagationTargets, decisionMap)
|
|
|
65553
65622
|
return decision;
|
|
65554
65623
|
}
|
|
65555
65624
|
|
|
65556
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
65625
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/request.js
|
|
65557
65626
|
var MAX_BODY_BYTE_LENGTH = 1024 * 1024;
|
|
65558
65627
|
function getMaxBodyByteLength(maxRequestBodySize) {
|
|
65559
65628
|
if (maxRequestBodySize === "small") return 1e3;
|
|
@@ -65686,7 +65755,7 @@ function extractQueryParamsFromUrl(url2) {
|
|
|
65686
65755
|
}
|
|
65687
65756
|
}
|
|
65688
65757
|
|
|
65689
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
65758
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/spanKind.js
|
|
65690
65759
|
var SPAN_KIND = {
|
|
65691
65760
|
INTERNAL: 0,
|
|
65692
65761
|
SERVER: 1,
|
|
@@ -65705,7 +65774,7 @@ function spanKindToName(kind) {
|
|
|
65705
65774
|
return SPAN_KIND_NAME[kind];
|
|
65706
65775
|
}
|
|
65707
65776
|
|
|
65708
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
65777
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/breadcrumbs.js
|
|
65709
65778
|
var DEFAULT_BREADCRUMBS = 100;
|
|
65710
65779
|
function addBreadcrumb(breadcrumb, hint) {
|
|
65711
65780
|
const client = getClient();
|
|
@@ -65723,7 +65792,7 @@ function addBreadcrumb(breadcrumb, hint) {
|
|
|
65723
65792
|
isolationScope.addBreadcrumb(finalBreadcrumb, maxBreadcrumbs);
|
|
65724
65793
|
}
|
|
65725
65794
|
|
|
65726
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
65795
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/functiontostring.js
|
|
65727
65796
|
var INTEGRATION_NAME = "FunctionToString";
|
|
65728
65797
|
var SETUP_CLIENTS = /* @__PURE__ */ new WeakMap();
|
|
65729
65798
|
var _functionToStringIntegration = (() => {
|
|
@@ -65753,7 +65822,7 @@ var _functionToStringIntegration = (() => {
|
|
|
65753
65822
|
});
|
|
65754
65823
|
var functionToStringIntegration = defineIntegration(_functionToStringIntegration);
|
|
65755
65824
|
|
|
65756
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
65825
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/eventFilters.js
|
|
65757
65826
|
var DEFAULT_IGNORE_ERRORS = [
|
|
65758
65827
|
/^Script error\.?$/,
|
|
65759
65828
|
/^Javascript error: Script error\.? on line 0$/,
|
|
@@ -65920,7 +65989,7 @@ function _isUselessError(event) {
|
|
|
65920
65989
|
);
|
|
65921
65990
|
}
|
|
65922
65991
|
|
|
65923
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
65992
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js
|
|
65924
65993
|
function applyAggregateErrorsToEvent(exceptionFromErrorImplementation, parser, key, limit, event, hint) {
|
|
65925
65994
|
if (!event.exception?.values || !hint || !isError(hint.originalException)) {
|
|
65926
65995
|
return;
|
|
@@ -66005,7 +66074,7 @@ function applyExceptionGroupFieldsForChildException(exception, source, exception
|
|
|
66005
66074
|
};
|
|
66006
66075
|
}
|
|
66007
66076
|
|
|
66008
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
66077
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
66009
66078
|
function parseStackFrames(stackParser, error63) {
|
|
66010
66079
|
return stackParser(error63.stack || "", 1);
|
|
66011
66080
|
}
|
|
@@ -66138,7 +66207,7 @@ function eventFromMessage(stackParser, message2, level = "info", hint, attachSta
|
|
|
66138
66207
|
return event;
|
|
66139
66208
|
}
|
|
66140
66209
|
|
|
66141
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
66210
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/linkederrors.js
|
|
66142
66211
|
var DEFAULT_KEY = "cause";
|
|
66143
66212
|
var DEFAULT_LIMIT = 5;
|
|
66144
66213
|
var INTEGRATION_NAME3 = "LinkedErrors";
|
|
@@ -66155,7 +66224,7 @@ var _linkedErrorsIntegration = ((options = {}) => {
|
|
|
66155
66224
|
});
|
|
66156
66225
|
var linkedErrorsIntegration = defineIntegration(_linkedErrorsIntegration);
|
|
66157
66226
|
|
|
66158
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
66227
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/vendor/getIpAddress.js
|
|
66159
66228
|
var ipHeaderNames = [
|
|
66160
66229
|
"X-Client-IP",
|
|
66161
66230
|
"X-Forwarded-For",
|
|
@@ -66208,7 +66277,7 @@ function isIP(str) {
|
|
|
66208
66277
|
return regex.test(str);
|
|
66209
66278
|
}
|
|
66210
66279
|
|
|
66211
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
66280
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/requestdata.js
|
|
66212
66281
|
var INTEGRATION_NAME4 = "RequestData";
|
|
66213
66282
|
var _requestDataIntegration = ((options = {}) => {
|
|
66214
66283
|
function resolveIncludeAndDataCollection(client) {
|
|
@@ -66350,7 +66419,7 @@ function normalizeQueryString(queryString) {
|
|
|
66350
66419
|
return result || void 0;
|
|
66351
66420
|
}
|
|
66352
66421
|
|
|
66353
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
66422
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/instrument/console.js
|
|
66354
66423
|
var _filter = /* @__PURE__ */ new Set([]);
|
|
66355
66424
|
function addConsoleInstrumentationHandler(handler) {
|
|
66356
66425
|
const type = "console";
|
|
@@ -66395,12 +66464,12 @@ function instrumentConsole() {
|
|
|
66395
66464
|
});
|
|
66396
66465
|
}
|
|
66397
66466
|
|
|
66398
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
66467
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/severity.js
|
|
66399
66468
|
function severityLevelFromString(level) {
|
|
66400
66469
|
return level === "warn" ? "warning" : ["fatal", "error", "warning", "log", "info", "debug"].includes(level) ? level : "log";
|
|
66401
66470
|
}
|
|
66402
66471
|
|
|
66403
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
66472
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/path.js
|
|
66404
66473
|
var splitPathRe = /^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;
|
|
66405
66474
|
function splitPath(filename) {
|
|
66406
66475
|
const truncated = filename.length > 1024 ? `<truncated>${filename.slice(-1024)}` : filename;
|
|
@@ -66420,7 +66489,7 @@ function dirname(path34) {
|
|
|
66420
66489
|
return root + dir;
|
|
66421
66490
|
}
|
|
66422
66491
|
|
|
66423
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
66492
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/console.js
|
|
66424
66493
|
var INTEGRATION_NAME5 = "Console";
|
|
66425
66494
|
var consoleIntegration = defineIntegration((options = {}) => {
|
|
66426
66495
|
const levels = new Set(options.levels || CONSOLE_LEVELS);
|
|
@@ -66469,7 +66538,7 @@ function formatConsoleArgs(values) {
|
|
|
66469
66538
|
return "util" in GLOBAL_OBJ && typeof GLOBAL_OBJ.util.format === "function" ? GLOBAL_OBJ.util.format(...values) : safeJoin(values, " ");
|
|
66470
66539
|
}
|
|
66471
66540
|
|
|
66472
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
66541
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/conversationId.js
|
|
66473
66542
|
var INTEGRATION_NAME6 = "ConversationId";
|
|
66474
66543
|
var _conversationIdIntegration = (() => {
|
|
66475
66544
|
return {
|
|
@@ -66492,7 +66561,7 @@ var _conversationIdIntegration = (() => {
|
|
|
66492
66561
|
});
|
|
66493
66562
|
var conversationIdIntegration = defineIntegration(_conversationIdIntegration);
|
|
66494
66563
|
|
|
66495
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
66564
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/ai/gen-ai-attributes.js
|
|
66496
66565
|
var GEN_AI_PROMPT_ATTRIBUTE = "gen_ai.prompt";
|
|
66497
66566
|
var GEN_AI_SYSTEM_ATTRIBUTE = "gen_ai.system";
|
|
66498
66567
|
var GEN_AI_REQUEST_MODEL_ATTRIBUTE = "gen_ai.request.model";
|
|
@@ -66539,7 +66608,7 @@ var GEN_AI_TOOL_INPUT_ATTRIBUTE = "gen_ai.tool.input";
|
|
|
66539
66608
|
var GEN_AI_TOOL_OUTPUT_ATTRIBUTE = "gen_ai.tool.output";
|
|
66540
66609
|
var GEN_AI_TOOL_DESCRIPTION_ATTRIBUTE = "gen_ai.tool.description";
|
|
66541
66610
|
|
|
66542
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
66611
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/ai/mediaStripping.js
|
|
66543
66612
|
function isContentMedia(part) {
|
|
66544
66613
|
if (!part || typeof part !== "object") return false;
|
|
66545
66614
|
return isContentMediaSource(part) || hasInlineData(part) || hasImageUrl(part) || hasInputAudio(part) || hasFileData(part) || hasMediaTypeData(part) || hasVercelFileData(part) || hasVercelImageData(part) || hasBlobOrBase64Type(part) || hasB64Json(part) || hasImageGenerationResult(part) || hasDataUri(part);
|
|
@@ -66612,7 +66681,7 @@ function stripInlineMediaFromSingleMessage(part) {
|
|
|
66612
66681
|
return strip;
|
|
66613
66682
|
}
|
|
66614
66683
|
|
|
66615
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
66684
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/ai/messageTruncation.js
|
|
66616
66685
|
var DEFAULT_GEN_AI_MESSAGES_BYTE_LIMIT = 2e4;
|
|
66617
66686
|
var utf8Bytes = (text) => {
|
|
66618
66687
|
return new TextEncoder().encode(text).length;
|
|
@@ -66787,7 +66856,7 @@ function truncateGenAiStringInput(input2) {
|
|
|
66787
66856
|
return truncateTextByBytes(input2, DEFAULT_GEN_AI_MESSAGES_BYTE_LIMIT);
|
|
66788
66857
|
}
|
|
66789
66858
|
|
|
66790
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
66859
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/ai/utils.js
|
|
66791
66860
|
function resolveAIRecordingOptions(options) {
|
|
66792
66861
|
const genAI = getClient()?.getDataCollectionOptions().genAI;
|
|
66793
66862
|
return {
|
|
@@ -66914,10 +66983,10 @@ function wrapPromiseWithMethods(originalPromiseLike, instrumentedPromise) {
|
|
|
66914
66983
|
});
|
|
66915
66984
|
}
|
|
66916
66985
|
|
|
66917
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
66986
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/workers-ai/constants.js
|
|
66918
66987
|
var WORKERS_AI_INTEGRATION_NAME = "WorkersAI";
|
|
66919
66988
|
|
|
66920
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
66989
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/vercel-ai/constants.js
|
|
66921
66990
|
var toolCallSpanContextMap = /* @__PURE__ */ new Map();
|
|
66922
66991
|
var toolDescriptionMap = /* @__PURE__ */ new Map();
|
|
66923
66992
|
var SPAN_TO_OPERATION_NAME = /* @__PURE__ */ new Map([
|
|
@@ -66935,7 +67004,7 @@ var SPAN_TO_OPERATION_NAME = /* @__PURE__ */ new Map([
|
|
|
66935
67004
|
["ai.toolCall", "execute_tool"]
|
|
66936
67005
|
]);
|
|
66937
67006
|
|
|
66938
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
67007
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/vercel-ai/vercel-ai-attributes.js
|
|
66939
67008
|
var OPERATION_NAME_ATTRIBUTE = "operation.name";
|
|
66940
67009
|
var AI_OPERATION_ID_ATTRIBUTE = "ai.operationId";
|
|
66941
67010
|
var AI_PROMPT_ATTRIBUTE = "ai.prompt";
|
|
@@ -66960,7 +67029,7 @@ var AI_TOOL_CALL_ID_ATTRIBUTE = "ai.toolCall.id";
|
|
|
66960
67029
|
var AI_TOOL_CALL_ARGS_ATTRIBUTE = "ai.toolCall.args";
|
|
66961
67030
|
var AI_TOOL_CALL_RESULT_ATTRIBUTE = "ai.toolCall.result";
|
|
66962
67031
|
|
|
66963
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
67032
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/vercel-ai/utils.js
|
|
66964
67033
|
function accumulateTokensForParent(span, tokenAccumulator) {
|
|
66965
67034
|
const parentSpanId = span.parent_span_id;
|
|
66966
67035
|
if (!parentSpanId) {
|
|
@@ -67128,7 +67197,7 @@ function requestMessagesFromPrompt(span, attributes, enableTruncation) {
|
|
|
67128
67197
|
}
|
|
67129
67198
|
}
|
|
67130
67199
|
|
|
67131
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
67200
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/vercel-ai/index.js
|
|
67132
67201
|
function onVercelAiSpanStart(span) {
|
|
67133
67202
|
const { data: attributes, description: name } = spanToJSON(span);
|
|
67134
67203
|
if (!name) {
|
|
@@ -67486,7 +67555,7 @@ function setAttributeIfDefined(attributes, key, value) {
|
|
|
67486
67555
|
}
|
|
67487
67556
|
}
|
|
67488
67557
|
|
|
67489
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
67558
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/openai/constants.js
|
|
67490
67559
|
var OPENAI_INTEGRATION_NAME = "OpenAI";
|
|
67491
67560
|
var OPENAI_METHOD_REGISTRY = {
|
|
67492
67561
|
"responses.create": { operation: "chat" },
|
|
@@ -67513,7 +67582,7 @@ var RESPONSE_EVENT_TYPES = [
|
|
|
67513
67582
|
...RESPONSES_TOOL_CALL_EVENT_TYPES
|
|
67514
67583
|
];
|
|
67515
67584
|
|
|
67516
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
67585
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/openai/utils.js
|
|
67517
67586
|
function isResponsesApiStreamEvent(event) {
|
|
67518
67587
|
return event !== null && typeof event === "object" && "type" in event && typeof event.type === "string" && event.type.startsWith("response.");
|
|
67519
67588
|
}
|
|
@@ -67615,7 +67684,7 @@ function extractRequestParameters(params) {
|
|
|
67615
67684
|
return attributes;
|
|
67616
67685
|
}
|
|
67617
67686
|
|
|
67618
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
67687
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/openai/streaming.js
|
|
67619
67688
|
function processChatCompletionToolCalls(toolCalls, state) {
|
|
67620
67689
|
for (const toolCall of toolCalls) {
|
|
67621
67690
|
const index = toolCall.index;
|
|
@@ -67733,7 +67802,7 @@ async function* instrumentStream(stream, span, recordOutputs) {
|
|
|
67733
67802
|
}
|
|
67734
67803
|
}
|
|
67735
67804
|
|
|
67736
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
67805
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/openai/index.js
|
|
67737
67806
|
function extractAvailableTools(params) {
|
|
67738
67807
|
const tools = Array.isArray(params.tools) ? params.tools : [];
|
|
67739
67808
|
const hasWebSearchOptions = params.web_search_options && typeof params.web_search_options === "object";
|
|
@@ -67882,7 +67951,7 @@ function instrumentOpenAiClient(client, options) {
|
|
|
67882
67951
|
return createDeepProxy(client, "", resolveAIRecordingOptions(options));
|
|
67883
67952
|
}
|
|
67884
67953
|
|
|
67885
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
67954
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/anthropic-ai/constants.js
|
|
67886
67955
|
var ANTHROPIC_AI_INTEGRATION_NAME = "Anthropic_AI";
|
|
67887
67956
|
var ANTHROPIC_METHOD_REGISTRY = {
|
|
67888
67957
|
"messages.create": { operation: "chat" },
|
|
@@ -67894,7 +67963,7 @@ var ANTHROPIC_METHOD_REGISTRY = {
|
|
|
67894
67963
|
"beta.messages.create": { operation: "chat" }
|
|
67895
67964
|
};
|
|
67896
67965
|
|
|
67897
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
67966
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/anthropic-ai/utils.js
|
|
67898
67967
|
function setMessagesAttribute(span, messages, enableTruncation) {
|
|
67899
67968
|
if (Array.isArray(messages) && messages.length === 0) {
|
|
67900
67969
|
return;
|
|
@@ -67947,7 +68016,7 @@ function messagesFromParams(params) {
|
|
|
67947
68016
|
return [...systemMessages, ...userMessages];
|
|
67948
68017
|
}
|
|
67949
68018
|
|
|
67950
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
68019
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/anthropic-ai/streaming.js
|
|
67951
68020
|
function isErrorEvent3(event, span) {
|
|
67952
68021
|
if ("type" in event && typeof event.type === "string") {
|
|
67953
68022
|
if (event.type === "error") {
|
|
@@ -68087,7 +68156,7 @@ function instrumentMessageStream(stream, span, recordOutputs) {
|
|
|
68087
68156
|
return stream;
|
|
68088
68157
|
}
|
|
68089
68158
|
|
|
68090
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
68159
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/anthropic-ai/index.js
|
|
68091
68160
|
var suppressDelegatedCreate = false;
|
|
68092
68161
|
var INSTRUMENTED_METHODS = /* @__PURE__ */ new WeakSet();
|
|
68093
68162
|
function extractRequestAttributes2(args, methodPath, operationName) {
|
|
@@ -68309,7 +68378,7 @@ function instrumentAnthropicAiClient(anthropicAiClient, options) {
|
|
|
68309
68378
|
return instrumentClientInPlace(anthropicAiClient, resolveAIRecordingOptions(options));
|
|
68310
68379
|
}
|
|
68311
68380
|
|
|
68312
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
68381
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/google-genai/constants.js
|
|
68313
68382
|
var GOOGLE_GENAI_INTEGRATION_NAME = "Google_GenAI";
|
|
68314
68383
|
var GOOGLE_GENAI_METHOD_REGISTRY = {
|
|
68315
68384
|
"models.generateContent": { operation: "generate_content" },
|
|
@@ -68321,7 +68390,7 @@ var GOOGLE_GENAI_METHOD_REGISTRY = {
|
|
|
68321
68390
|
};
|
|
68322
68391
|
var GOOGLE_GENAI_SYSTEM_NAME = "google_genai";
|
|
68323
68392
|
|
|
68324
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
68393
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/google-genai/streaming.js
|
|
68325
68394
|
function isErrorChunk(chunk, span) {
|
|
68326
68395
|
const feedback = chunk?.promptFeedback;
|
|
68327
68396
|
if (feedback?.blockReason) {
|
|
@@ -68386,7 +68455,7 @@ async function* instrumentStream2(stream, span, recordOutputs) {
|
|
|
68386
68455
|
}
|
|
68387
68456
|
}
|
|
68388
68457
|
|
|
68389
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
68458
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/google-genai/utils.js
|
|
68390
68459
|
function contentUnionToMessages(content, role = "user") {
|
|
68391
68460
|
if (typeof content === "string") {
|
|
68392
68461
|
return [{ role, content }];
|
|
@@ -68404,7 +68473,7 @@ function contentUnionToMessages(content, role = "user") {
|
|
|
68404
68473
|
return [{ role, content }];
|
|
68405
68474
|
}
|
|
68406
68475
|
|
|
68407
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
68476
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/google-genai/index.js
|
|
68408
68477
|
function extractModel(params, context2) {
|
|
68409
68478
|
if ("model" in params && typeof params.model === "string") {
|
|
68410
68479
|
return params.model;
|
|
@@ -68641,7 +68710,7 @@ function instrumentGoogleGenAIClient(client, options) {
|
|
|
68641
68710
|
return createDeepProxy2(client, "", resolveAIRecordingOptions(options));
|
|
68642
68711
|
}
|
|
68643
68712
|
|
|
68644
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
68713
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/langchain/constants.js
|
|
68645
68714
|
var LANGCHAIN_INTEGRATION_NAME = "LangChain";
|
|
68646
68715
|
var LANGCHAIN_ORIGIN = "auto.ai.langchain";
|
|
68647
68716
|
var ROLE_MAP = {
|
|
@@ -68653,7 +68722,7 @@ var ROLE_MAP = {
|
|
|
68653
68722
|
tool: "tool"
|
|
68654
68723
|
};
|
|
68655
68724
|
|
|
68656
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
68725
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/langchain/utils.js
|
|
68657
68726
|
var setIfDefined = (target, key, value) => {
|
|
68658
68727
|
if (value != null) target[key] = value;
|
|
68659
68728
|
};
|
|
@@ -68937,7 +69006,7 @@ function _INTERNAL_mergeLangChainCallbackHandler(existing, sentryHandler) {
|
|
|
68937
69006
|
return [...handlers2, sentryHandler];
|
|
68938
69007
|
}
|
|
68939
69008
|
|
|
68940
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
69009
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/langchain/index.js
|
|
68941
69010
|
function createLangChainCallbackHandler(options = {}) {
|
|
68942
69011
|
const { recordInputs, recordOutputs } = resolveAIRecordingOptions(options);
|
|
68943
69012
|
const enableTruncation = shouldEnableTruncation(options.enableTruncation);
|
|
@@ -69170,7 +69239,7 @@ function createLangChainCallbackHandler(options = {}) {
|
|
|
69170
69239
|
return handler;
|
|
69171
69240
|
}
|
|
69172
69241
|
|
|
69173
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
69242
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/langchain/embeddings.js
|
|
69174
69243
|
function inferSystemFromInstance(instance) {
|
|
69175
69244
|
const name = instance.constructor?.name ?? "";
|
|
69176
69245
|
if (name.includes("OpenAI")) return "openai";
|
|
@@ -69239,11 +69308,11 @@ function instrumentLangChainEmbeddings(instance, options) {
|
|
|
69239
69308
|
return instance;
|
|
69240
69309
|
}
|
|
69241
69310
|
|
|
69242
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
69311
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/langgraph/constants.js
|
|
69243
69312
|
var LANGGRAPH_INTEGRATION_NAME = "LangGraph";
|
|
69244
69313
|
var LANGGRAPH_ORIGIN = "auto.ai.langgraph";
|
|
69245
69314
|
|
|
69246
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
69315
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/langgraph/utils.js
|
|
69247
69316
|
function extractLLMFromParams(args) {
|
|
69248
69317
|
const arg = args[0];
|
|
69249
69318
|
if (typeof arg !== "object" || !arg || !("llm" in arg) || !arg.llm || typeof arg.llm !== "object") {
|
|
@@ -69453,7 +69522,7 @@ function setResponseAttributes(span, inputMessages, result) {
|
|
|
69453
69522
|
}
|
|
69454
69523
|
}
|
|
69455
69524
|
|
|
69456
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
69525
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/langgraph/index.js
|
|
69457
69526
|
var _insideCreateReactAgent = false;
|
|
69458
69527
|
var SENTRY_PATCHED = "__sentry_patched__";
|
|
69459
69528
|
function _INTERNAL_getLangGraphCreateAgentSpanOptions(agentName) {
|
|
@@ -69637,7 +69706,7 @@ function instrumentStateGraph(stateGraph, options) {
|
|
|
69637
69706
|
return stateGraph;
|
|
69638
69707
|
}
|
|
69639
69708
|
|
|
69640
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
69709
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/spans/envelope.js
|
|
69641
69710
|
function createStreamedSpanEnvelope(serializedSpans, dsc, client) {
|
|
69642
69711
|
const options = client.getOptions();
|
|
69643
69712
|
const dsn = client.getDsn();
|
|
@@ -69666,7 +69735,7 @@ function dscHasRequiredProps(dsc) {
|
|
|
69666
69735
|
return !!dsc.trace_id && !!dsc.public_key;
|
|
69667
69736
|
}
|
|
69668
69737
|
|
|
69669
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
69738
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/spans/estimateSize.js
|
|
69670
69739
|
function estimateSerializedSpanSizeInBytes(span) {
|
|
69671
69740
|
let weight = 156;
|
|
69672
69741
|
weight += span.name.length * 2;
|
|
@@ -69680,7 +69749,7 @@ function estimateSerializedSpanSizeInBytes(span) {
|
|
|
69680
69749
|
return weight;
|
|
69681
69750
|
}
|
|
69682
69751
|
|
|
69683
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
69752
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/tracing/spans/spanBuffer.js
|
|
69684
69753
|
var MAX_SPANS_PER_ENVELOPE = 1e3;
|
|
69685
69754
|
var MAX_TRACE_WEIGHT_IN_BYTES = 5e6;
|
|
69686
69755
|
var SpanBuffer = class {
|
|
@@ -69778,7 +69847,7 @@ var SpanBuffer = class {
|
|
|
69778
69847
|
}
|
|
69779
69848
|
};
|
|
69780
69849
|
|
|
69781
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
69850
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/spanStreaming.js
|
|
69782
69851
|
var spanStreamingIntegration = defineIntegration(() => {
|
|
69783
69852
|
return {
|
|
69784
69853
|
name: "SpanStreaming",
|
|
@@ -69808,7 +69877,7 @@ var spanStreamingIntegration = defineIntegration(() => {
|
|
|
69808
69877
|
};
|
|
69809
69878
|
});
|
|
69810
69879
|
|
|
69811
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
69880
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js
|
|
69812
69881
|
function getBreadcrumbLogLevelFromHttpStatusCode(statusCode) {
|
|
69813
69882
|
if (statusCode === void 0) {
|
|
69814
69883
|
return void 0;
|
|
@@ -69821,7 +69890,7 @@ function getBreadcrumbLogLevelFromHttpStatusCode(statusCode) {
|
|
|
69821
69890
|
}
|
|
69822
69891
|
}
|
|
69823
69892
|
|
|
69824
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
69893
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/exports.js
|
|
69825
69894
|
function replaceExports(exports, exportName, wrappedConstructor) {
|
|
69826
69895
|
const original = exports[exportName];
|
|
69827
69896
|
if (typeof original !== "function") {
|
|
@@ -69851,7 +69920,7 @@ function replaceExports(exports, exportName, wrappedConstructor) {
|
|
|
69851
69920
|
}
|
|
69852
69921
|
}
|
|
69853
69922
|
|
|
69854
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
69923
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/lru.js
|
|
69855
69924
|
var LRUMap = class {
|
|
69856
69925
|
constructor(_maxSize2) {
|
|
69857
69926
|
this._maxSize = _maxSize2;
|
|
@@ -69903,7 +69972,7 @@ var LRUMap = class {
|
|
|
69903
69972
|
}
|
|
69904
69973
|
};
|
|
69905
69974
|
|
|
69906
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
69975
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/transports/userAgent.js
|
|
69907
69976
|
function addUserAgentToTransportHeaders(options) {
|
|
69908
69977
|
const sdkMetadata = options._metadata?.sdk;
|
|
69909
69978
|
const sdkUserAgent = sdkMetadata?.name && sdkMetadata?.version ? `${sdkMetadata?.name}/${sdkMetadata?.version}` : void 0;
|
|
@@ -69916,7 +69985,7 @@ function addUserAgentToTransportHeaders(options) {
|
|
|
69916
69985
|
};
|
|
69917
69986
|
}
|
|
69918
69987
|
|
|
69919
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
69988
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/server-runtime-client.js
|
|
69920
69989
|
var ServerRuntimeClient = class extends Client {
|
|
69921
69990
|
/**
|
|
69922
69991
|
* Creates a new Edge SDK instance.
|
|
@@ -70096,7 +70165,7 @@ function setCurrentRequestSessionErroredOrCrashed(eventHint) {
|
|
|
70096
70165
|
}
|
|
70097
70166
|
}
|
|
70098
70167
|
|
|
70099
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
70168
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/node-stack-trace.js
|
|
70100
70169
|
function filenameIsInApp(filename, isNative = false) {
|
|
70101
70170
|
const isInternal = isNative || filename && // It's not internal if it's an absolute linux path
|
|
70102
70171
|
!filename.startsWith("/") && // It's not internal if it's an absolute windows path
|
|
@@ -70190,7 +70259,7 @@ function _safeDecodeURI(filename) {
|
|
|
70190
70259
|
}
|
|
70191
70260
|
}
|
|
70192
70261
|
|
|
70193
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
70262
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/express/request-layer-store.js
|
|
70194
70263
|
var requestLayerStore = /* @__PURE__ */ new WeakMap();
|
|
70195
70264
|
var storeLayer = (req, layer) => {
|
|
70196
70265
|
const store = requestLayerStore.get(req);
|
|
@@ -70209,7 +70278,7 @@ var getStoredLayers = (req) => {
|
|
|
70209
70278
|
return store;
|
|
70210
70279
|
};
|
|
70211
70280
|
|
|
70212
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
70281
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/express/types.js
|
|
70213
70282
|
var ATTR_EXPRESS_NAME = "express.name";
|
|
70214
70283
|
var ATTR_HTTP_ROUTE = "http.route";
|
|
70215
70284
|
var ATTR_EXPRESS_TYPE = "express.type";
|
|
@@ -70217,7 +70286,7 @@ var ExpressLayerType_ROUTER = "router";
|
|
|
70217
70286
|
var ExpressLayerType_MIDDLEWARE = "middleware";
|
|
70218
70287
|
var ExpressLayerType_REQUEST_HANDLER = "request_handler";
|
|
70219
70288
|
|
|
70220
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
70289
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/express/utils.js
|
|
70221
70290
|
var asErrorAndMessage = (error63) => error63 instanceof Error ? [error63, error63.message] : [String(error63), String(error63)];
|
|
70222
70291
|
function isRoutePattern(route) {
|
|
70223
70292
|
return route.includes(":") || route.includes("*");
|
|
@@ -70315,7 +70384,7 @@ var isExpressWithRouterPrototype = (express) => isExpressRouterPrototype(express
|
|
|
70315
70384
|
var isExpressRouterPrototype = (routerProto) => (typeof routerProto === "object" || typeof routerProto === "function") && !!routerProto && "route" in routerProto && typeof routerProto.route === "function";
|
|
70316
70385
|
var isExpressWithoutRouterPrototype = (express) => isExpressRouterPrototype(express.Router) && !isExpressWithRouterPrototype(express);
|
|
70317
70386
|
|
|
70318
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
70387
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/express/set-sdk-processing-metadata.js
|
|
70319
70388
|
function setSDKProcessingMetadata(request2) {
|
|
70320
70389
|
const sdkProcMeta = getIsolationScope()?.getScopeData()?.sdkProcessingMetadata;
|
|
70321
70390
|
if (!sdkProcMeta?.normalizedRequest) {
|
|
@@ -70324,7 +70393,7 @@ function setSDKProcessingMetadata(request2) {
|
|
|
70324
70393
|
}
|
|
70325
70394
|
}
|
|
70326
70395
|
|
|
70327
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
70396
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/express/patch-layer.js
|
|
70328
70397
|
function patchLayer(getOptions, maybeLayer, layerPath) {
|
|
70329
70398
|
if (!maybeLayer?.handle) {
|
|
70330
70399
|
return;
|
|
@@ -70454,12 +70523,12 @@ function patchLayer(getOptions, maybeLayer, layerPath) {
|
|
|
70454
70523
|
});
|
|
70455
70524
|
}
|
|
70456
70525
|
|
|
70457
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
70526
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/utils/get-default-export.js
|
|
70458
70527
|
function getDefaultExport(moduleExport) {
|
|
70459
70528
|
return !!moduleExport && typeof moduleExport === "object" && "default" in moduleExport && moduleExport.default || moduleExport;
|
|
70460
70529
|
}
|
|
70461
70530
|
|
|
70462
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
70531
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/express/index.js
|
|
70463
70532
|
function isLegacyOptions(options) {
|
|
70464
70533
|
return !!options.express;
|
|
70465
70534
|
}
|
|
@@ -70548,7 +70617,7 @@ function patchExpressModule(optionsOrExports, maybeGetOptions) {
|
|
|
70548
70617
|
return express;
|
|
70549
70618
|
}
|
|
70550
70619
|
|
|
70551
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
70620
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/postgresjs.js
|
|
70552
70621
|
var SQL_OPERATION_REGEX = /^(SELECT|INSERT|UPDATE|DELETE|CREATE|DROP|ALTER)/i;
|
|
70553
70622
|
var CONNECTION_CONTEXT_SYMBOL = /* @__PURE__ */ Symbol("sentryPostgresConnectionContext");
|
|
70554
70623
|
var INSTRUMENTED_MARKER = /* @__PURE__ */ Symbol.for("sentry.instrumented.postgresjs");
|
|
@@ -70771,12 +70840,12 @@ function _attachConnectionContext(sql, proxiedSql) {
|
|
|
70771
70840
|
proxiedSql[CONNECTION_CONTEXT_SYMBOL] = _buildConnectionContext(sqlInstance.options);
|
|
70772
70841
|
}
|
|
70773
70842
|
|
|
70774
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
70843
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/http/constants.js
|
|
70775
70844
|
var LOG_PREFIX = "@sentry/instrumentation-http";
|
|
70776
70845
|
var HTTP_ON_CLIENT_REQUEST = "http.client.request.created";
|
|
70777
70846
|
var HTTP_ON_SERVER_REQUEST = "http.server.request.start";
|
|
70778
70847
|
|
|
70779
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
70848
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/http/get-request-url.js
|
|
70780
70849
|
function getRequestOptions(request2) {
|
|
70781
70850
|
const hostWithPort = request2.host || "";
|
|
70782
70851
|
const portInHost = /^(.*):(\d+)$/.exec(hostWithPort);
|
|
@@ -70812,7 +70881,7 @@ function getRequestUrlFromClientRequest(request2) {
|
|
|
70812
70881
|
return String(getRequestUrl(getRequestOptions(request2)));
|
|
70813
70882
|
}
|
|
70814
70883
|
|
|
70815
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
70884
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/http/add-outgoing-request-breadcrumb.js
|
|
70816
70885
|
function addOutgoingRequestBreadcrumb(request2, response) {
|
|
70817
70886
|
const url2 = getRequestUrlFromClientRequest(request2);
|
|
70818
70887
|
const parsedUrl = parseUrl(url2);
|
|
@@ -70839,7 +70908,7 @@ function addOutgoingRequestBreadcrumb(request2, response) {
|
|
|
70839
70908
|
);
|
|
70840
70909
|
}
|
|
70841
70910
|
|
|
70842
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
70911
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/http/get-outgoing-span-data.js
|
|
70843
70912
|
function getOutgoingRequestSpanData(request2) {
|
|
70844
70913
|
const url2 = getRequestUrlFromClientRequest(request2);
|
|
70845
70914
|
const [name, attributes] = getHttpSpanDetailsFromUrlObject(
|
|
@@ -70902,7 +70971,7 @@ function getResponseContentLengthAttributes(response) {
|
|
|
70902
70971
|
return length >= 0 ? encoding && encoding !== "identity" ? { "http.response_content_length": length } : { "http.response_content_length_uncompressed": length } : {};
|
|
70903
70972
|
}
|
|
70904
70973
|
|
|
70905
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
70974
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/http/inject-trace-propagation-headers.js
|
|
70906
70975
|
function injectTracePropagationHeaders(request2, propagationDecisionMap2) {
|
|
70907
70976
|
const url2 = getRequestUrlFromClientRequest(request2);
|
|
70908
70977
|
const clientOptions = getClient()?.getOptions();
|
|
@@ -70946,7 +71015,7 @@ function injectTracePropagationHeaders(request2, propagationDecisionMap2) {
|
|
|
70946
71015
|
}
|
|
70947
71016
|
}
|
|
70948
71017
|
|
|
70949
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
71018
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/http/double-wrap-warning.js
|
|
70950
71019
|
var isOtelWrapped = (fn) => typeof fn.__unwrap === "function";
|
|
70951
71020
|
var warning = "Double-wrapped http.client detected. Either disable spans in Sentry.httpIntegration, or disable the OpenTelemetry HTTP instrumentation. See: https://docs.sentry.io/platforms/javascript/guides/express/opentelemetry/custom-setup/#custom-http-instrumentation";
|
|
70952
71021
|
var didDoubleWrapWarning = false;
|
|
@@ -70960,7 +71029,7 @@ var doubleWrapWarning = DEBUG_BUILD ? (http6) => {
|
|
|
70960
71029
|
} : () => {
|
|
70961
71030
|
};
|
|
70962
71031
|
|
|
70963
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
71032
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/http/client-subscriptions.js
|
|
70964
71033
|
function getHttpClientSubscriptions(options) {
|
|
70965
71034
|
const propagationDecisionMap2 = new LRUMap(100);
|
|
70966
71035
|
const getConfig3 = () => getClient()?.getOptions();
|
|
@@ -70979,7 +71048,11 @@ function getHttpClientSubscriptions(options) {
|
|
|
70979
71048
|
suppressOtelWarning = false
|
|
70980
71049
|
} = options;
|
|
70981
71050
|
const { request: request2 } = data;
|
|
70982
|
-
|
|
71051
|
+
const requestUrl = getRequestUrlFromClientRequest(request2);
|
|
71052
|
+
if (isSentryRequestUrl(requestUrl, getClient())) {
|
|
71053
|
+
return;
|
|
71054
|
+
}
|
|
71055
|
+
if (options.ignoreOutgoingRequests?.(requestUrl, request2)) {
|
|
70983
71056
|
return;
|
|
70984
71057
|
}
|
|
70985
71058
|
let addedBreadcrumbs = false;
|
|
@@ -71073,7 +71146,7 @@ function getHttpClientSubscriptions(options) {
|
|
|
71073
71146
|
};
|
|
71074
71147
|
}
|
|
71075
71148
|
|
|
71076
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
71149
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/http/client-patch.js
|
|
71077
71150
|
var onHttpClientRequestCreated;
|
|
71078
71151
|
function patchClientRequest(httpModule, options) {
|
|
71079
71152
|
const proto = httpModule.ClientRequest?.prototype;
|
|
@@ -71104,7 +71177,7 @@ function patchModule(httpModuleExport, options = {}) {
|
|
|
71104
71177
|
}
|
|
71105
71178
|
var patchHttpModuleClient = (httpModuleExport, options = {}) => patchModule(httpModuleExport, options);
|
|
71106
71179
|
|
|
71107
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
71180
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/http/patch-request-to-capture-body.js
|
|
71108
71181
|
function patchRequestToCaptureBody(req, isolationScope, maxIncomingRequestBodySize, integrationName) {
|
|
71109
71182
|
let bodyByteLength = 0;
|
|
71110
71183
|
const chunks = [];
|
|
@@ -71177,7 +71250,7 @@ function patchRequestToCaptureBody(req, isolationScope, maxIncomingRequestBodySi
|
|
|
71177
71250
|
}
|
|
71178
71251
|
}
|
|
71179
71252
|
|
|
71180
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
71253
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/http/record-request-session.js
|
|
71181
71254
|
var clientToRequestSessionAggregatesMap = /* @__PURE__ */ new WeakMap();
|
|
71182
71255
|
function recordRequestSession(client, {
|
|
71183
71256
|
requestIsolationScope,
|
|
@@ -71231,7 +71304,7 @@ function recordRequestSession(client, {
|
|
|
71231
71304
|
});
|
|
71232
71305
|
}
|
|
71233
71306
|
|
|
71234
|
-
// ../../node_modules/.pnpm/@sentry+core@10.
|
|
71307
|
+
// ../../node_modules/.pnpm/@sentry+core@10.75.1/node_modules/@sentry/core/build/esm/integrations/http/server-subscription.js
|
|
71235
71308
|
var INTEGRATION_NAME7 = "Http.Server";
|
|
71236
71309
|
var SPANS_INTEGRATION_NAME = "Http.SentryServerSpans";
|
|
71237
71310
|
var lastSentryEmitMap = /* @__PURE__ */ new WeakMap();
|
|
@@ -71499,14 +71572,14 @@ function getRequestContentLengthAttribute(request2) {
|
|
|
71499
71572
|
return length >= 0 ? encoding && encoding !== "identity" ? { "http.request_content_length": length } : { "http.request_content_length_uncompressed": length } : {};
|
|
71500
71573
|
}
|
|
71501
71574
|
|
|
71502
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
71575
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/http/httpServerIntegration.js
|
|
71503
71576
|
init_esm();
|
|
71504
71577
|
import { subscribe } from "node:diagnostics_channel";
|
|
71505
71578
|
|
|
71506
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
71579
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/debug-build.js
|
|
71507
71580
|
var DEBUG_BUILD2 = typeof __SENTRY_DEBUG__ === "undefined" || __SENTRY_DEBUG__;
|
|
71508
71581
|
|
|
71509
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
71582
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/http/httpServerIntegration.js
|
|
71510
71583
|
var HTTP_SERVER_INSTRUMENTED_KEY = createContextKey("sentry_http_server_instrumented");
|
|
71511
71584
|
var INTEGRATION_NAME8 = "Http.Server";
|
|
71512
71585
|
function addStartSpanCallback(request2, callback) {
|
|
@@ -71573,7 +71646,7 @@ var _httpServerIntegration = ((options = {}) => {
|
|
|
71573
71646
|
});
|
|
71574
71647
|
var httpServerIntegration = _httpServerIntegration;
|
|
71575
71648
|
|
|
71576
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
71649
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/http/httpServerSpansIntegration.js
|
|
71577
71650
|
init_esm();
|
|
71578
71651
|
var import_core10 = __toESM(require_src(), 1);
|
|
71579
71652
|
import { errorMonitor } from "node:events";
|
|
@@ -71813,16 +71886,16 @@ function shouldFilterStatusCode(statusCode, dropForStatusCodes) {
|
|
|
71813
71886
|
});
|
|
71814
71887
|
}
|
|
71815
71888
|
|
|
71816
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
71889
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/http/SentryHttpInstrumentation.js
|
|
71817
71890
|
init_esm();
|
|
71818
71891
|
import { subscribe as subscribe2, unsubscribe } from "node:diagnostics_channel";
|
|
71819
71892
|
|
|
71820
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
71893
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/nodeVersion.js
|
|
71821
71894
|
var NODE_VERSION = parseSemver(process.versions.node);
|
|
71822
71895
|
var NODE_MAJOR = NODE_VERSION.major;
|
|
71823
71896
|
var NODE_MINOR = NODE_VERSION.minor;
|
|
71824
71897
|
|
|
71825
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
71898
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/http/SentryHttpInstrumentation.js
|
|
71826
71899
|
import { errorMonitor as errorMonitor2 } from "node:events";
|
|
71827
71900
|
import * as http from "node:http";
|
|
71828
71901
|
var FULLY_SUPPORTS_HTTP_DIAGNOSTICS_CHANNEL = NODE_VERSION.major === 22 && NODE_VERSION.minor >= 12 || NODE_VERSION.major === 23 && NODE_VERSION.minor >= 2 || NODE_VERSION.major >= 24;
|
|
@@ -71881,7 +71954,7 @@ function instrumentHttpOutgoingRequestsViaMonkeyPatching(options) {
|
|
|
71881
71954
|
patchHttpModuleClient(http, options);
|
|
71882
71955
|
}
|
|
71883
71956
|
|
|
71884
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
71957
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/http/index.js
|
|
71885
71958
|
var INTEGRATION_NAME10 = "Http";
|
|
71886
71959
|
Object.assign(instrumentHttpOutgoingRequests, {
|
|
71887
71960
|
id: `${INTEGRATION_NAME10}.sentry`
|
|
@@ -71926,11 +71999,11 @@ var httpIntegration = defineIntegration((options = {}) => {
|
|
|
71926
71999
|
};
|
|
71927
72000
|
});
|
|
71928
72001
|
|
|
71929
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
72002
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/node-fetch/undici-instrumentation.js
|
|
71930
72003
|
import * as diagch from "diagnostics_channel";
|
|
71931
72004
|
import { URL as URL2 } from "url";
|
|
71932
72005
|
|
|
71933
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
72006
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/utils/outgoingFetchRequest.js
|
|
71934
72007
|
var SENTRY_TRACE_HEADER = "sentry-trace";
|
|
71935
72008
|
var SENTRY_BAGGAGE_HEADER = "baggage";
|
|
71936
72009
|
var W3C_TRACEPARENT_HEADER = "traceparent";
|
|
@@ -72104,7 +72177,7 @@ function getAbsoluteUrl2(origin, path34 = "/") {
|
|
|
72104
72177
|
}
|
|
72105
72178
|
}
|
|
72106
72179
|
|
|
72107
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
72180
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/node-fetch/undici-instrumentation.js
|
|
72108
72181
|
var ATTR_HTTP_REQUEST_METHOD_ORIGINAL2 = "http.request.method_original";
|
|
72109
72182
|
var _channelSubs = [];
|
|
72110
72183
|
var spanFromReq = /* @__PURE__ */ new WeakMap();
|
|
@@ -72356,7 +72429,7 @@ function getAbsoluteUrl3(origin, path34 = "/") {
|
|
|
72356
72429
|
return `${url2}${path34}`;
|
|
72357
72430
|
}
|
|
72358
72431
|
|
|
72359
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
72432
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/node-fetch/index.js
|
|
72360
72433
|
var _nativeNodeFetchIntegration = ((options = {}) => {
|
|
72361
72434
|
return {
|
|
72362
72435
|
name: "NodeFetch",
|
|
@@ -72367,7 +72440,7 @@ var _nativeNodeFetchIntegration = ((options = {}) => {
|
|
|
72367
72440
|
});
|
|
72368
72441
|
var nativeNodeFetchIntegration = defineIntegration(_nativeNodeFetchIntegration);
|
|
72369
72442
|
|
|
72370
|
-
// ../../node_modules/.pnpm/@sentry+opentelemetry@10.
|
|
72443
|
+
// ../../node_modules/.pnpm/@sentry+opentelemetry@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@open_7442db4c48ce0751b44dcbc343dc80dd/node_modules/@sentry/opentelemetry/build/esm/asyncContextStrategy-Bx5F5tCX.js
|
|
72371
72444
|
init_esm();
|
|
72372
72445
|
init_esm();
|
|
72373
72446
|
var import_sdk_trace_base = __toESM(require_index_shim(), 1);
|
|
@@ -74120,7 +74193,7 @@ function setOpenTelemetryContextAsyncContextStrategy(options) {
|
|
|
74120
74193
|
});
|
|
74121
74194
|
}
|
|
74122
74195
|
|
|
74123
|
-
// ../../node_modules/.pnpm/@sentry+opentelemetry@10.
|
|
74196
|
+
// ../../node_modules/.pnpm/@sentry+opentelemetry@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@open_7442db4c48ce0751b44dcbc343dc80dd/node_modules/@sentry/opentelemetry/build/esm/index.js
|
|
74124
74197
|
init_esm();
|
|
74125
74198
|
init_esm();
|
|
74126
74199
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
@@ -74301,10 +74374,10 @@ function getStoreWithActiveSpan(span) {
|
|
|
74301
74374
|
return isIgnoredChild ? activeContext : trace.setSpan(activeContext, span);
|
|
74302
74375
|
}
|
|
74303
74376
|
|
|
74304
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
74377
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/otel/contextManager.js
|
|
74305
74378
|
var SentryContextManager = SentryAsyncLocalStorageContextManager;
|
|
74306
74379
|
|
|
74307
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
74380
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/otel/logger.js
|
|
74308
74381
|
init_esm();
|
|
74309
74382
|
function setupOpenTelemetryLogger() {
|
|
74310
74383
|
diag2.disable();
|
|
@@ -74320,7 +74393,7 @@ function setupOpenTelemetryLogger() {
|
|
|
74320
74393
|
);
|
|
74321
74394
|
}
|
|
74322
74395
|
|
|
74323
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
74396
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/otel/instrument.js
|
|
74324
74397
|
var import_instrumentation = __toESM(require_src4(), 1);
|
|
74325
74398
|
var INSTRUMENTED = {};
|
|
74326
74399
|
function generateInstrumentOnce(name, creatorOrClass, optionsCallback) {
|
|
@@ -74373,7 +74446,7 @@ function _generateInstrumentOnceWithOptions(name, instrumentationClass, optionsC
|
|
|
74373
74446
|
);
|
|
74374
74447
|
}
|
|
74375
74448
|
|
|
74376
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
74449
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/childProcess.js
|
|
74377
74450
|
import * as diagnosticsChannel from "node:diagnostics_channel";
|
|
74378
74451
|
var INTEGRATION_NAME11 = "ChildProcess";
|
|
74379
74452
|
var childProcessIntegration = defineIntegration((options = {}) => {
|
|
@@ -74449,7 +74522,7 @@ function captureWorkerThreadEvents(worker, options) {
|
|
|
74449
74522
|
});
|
|
74450
74523
|
}
|
|
74451
74524
|
|
|
74452
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
74525
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/context.js
|
|
74453
74526
|
import { execFile } from "node:child_process";
|
|
74454
74527
|
import { readFile, readdir } from "node:fs";
|
|
74455
74528
|
import * as os from "node:os";
|
|
@@ -74829,7 +74902,7 @@ function getCloudResourceContext() {
|
|
|
74829
74902
|
}
|
|
74830
74903
|
}
|
|
74831
74904
|
|
|
74832
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
74905
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/contextlines.js
|
|
74833
74906
|
import { createReadStream } from "node:fs";
|
|
74834
74907
|
import { createInterface } from "node:readline";
|
|
74835
74908
|
var LRU_FILE_CONTENTS_CACHE = new LRUMap(10);
|
|
@@ -75070,10 +75143,10 @@ var _contextLinesIntegration = ((options = {}) => {
|
|
|
75070
75143
|
});
|
|
75071
75144
|
var contextLinesIntegration = defineIntegration(_contextLinesIntegration);
|
|
75072
75145
|
|
|
75073
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
75146
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/local-variables/local-variables-async.js
|
|
75074
75147
|
import { Worker } from "node:worker_threads";
|
|
75075
75148
|
|
|
75076
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
75149
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/utils/debug.js
|
|
75077
75150
|
var cachedDebuggerEnabled;
|
|
75078
75151
|
async function isDebuggerEnabled() {
|
|
75079
75152
|
if (cachedDebuggerEnabled === void 0) {
|
|
@@ -75087,7 +75160,7 @@ async function isDebuggerEnabled() {
|
|
|
75087
75160
|
return cachedDebuggerEnabled;
|
|
75088
75161
|
}
|
|
75089
75162
|
|
|
75090
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
75163
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/local-variables/common.js
|
|
75091
75164
|
function filterFrameVariables(vars, behavior) {
|
|
75092
75165
|
return filterKeyValueData(vars, behavior);
|
|
75093
75166
|
}
|
|
@@ -75125,8 +75198,8 @@ function functionNamesMatch(a, b2) {
|
|
|
75125
75198
|
return a === b2 || `Object.${a}` === b2 || a === `Object.${b2}` || isAnonymous(a) && isAnonymous(b2);
|
|
75126
75199
|
}
|
|
75127
75200
|
|
|
75128
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
75129
|
-
var base64WorkerScript = "
|
|
75201
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/local-variables/local-variables-async.js
|
|
75202
|
+
var base64WorkerScript = "LyohIEBzZW50cnkvbm9kZS1jb3JlIDEwLjc1LjEgKDgwMjVhOTIpIHwgaHR0cHM6Ly9naXRodWIuY29tL2dldHNlbnRyeS9zZW50cnktamF2YXNjcmlwdCAqLwppbXBvcnR7U2Vzc2lvbiBhcyBlfWZyb20ibm9kZTppbnNwZWN0b3IvcHJvbWlzZXMiO2ltcG9ydHt3b3JrZXJEYXRhIGFzIHR9ZnJvbSJub2RlOndvcmtlcl90aHJlYWRzIjtjb25zdCBuPWdsb2JhbFRoaXMsaT17fTtjb25zdCBvPSJfX1NFTlRSWV9FUlJPUl9MT0NBTF9WQVJJQUJMRVNfXyI7Y29uc3QgYT10O2Z1bmN0aW9uIHMoLi4uZSl7YS5kZWJ1ZyYmZnVuY3Rpb24oZSl7aWYoISgiY29uc29sZSJpbiBuKSlyZXR1cm4gZSgpO2NvbnN0IHQ9bi5jb25zb2xlLG89e30sYT1PYmplY3Qua2V5cyhpKTthLmZvckVhY2goZT0+e2NvbnN0IG49aVtlXTtvW2VdPXRbZV0sdFtlXT1ufSk7dHJ5e3JldHVybiBlKCl9ZmluYWxseXthLmZvckVhY2goZT0+e3RbZV09b1tlXX0pfX0oKCk9PmNvbnNvbGUubG9nKCJbTG9jYWxWYXJpYWJsZXMgV29ya2VyXSIsLi4uZSkpfWFzeW5jIGZ1bmN0aW9uIGMoZSx0LG4saSl7Y29uc3Qgbz1hd2FpdCBlLnBvc3QoIlJ1bnRpbWUuZ2V0UHJvcGVydGllcyIse29iamVjdElkOnQsb3duUHJvcGVydGllczohMH0pO2lbbl09by5yZXN1bHQuZmlsdGVyKGU9PiJsZW5ndGgiIT09ZS5uYW1lJiYhaXNOYU4ocGFyc2VJbnQoZS5uYW1lLDEwKSkpLnNvcnQoKGUsdCk9PnBhcnNlSW50KGUubmFtZSwxMCktcGFyc2VJbnQodC5uYW1lLDEwKSkubWFwKGU9PmUudmFsdWU/LnZhbHVlKX1hc3luYyBmdW5jdGlvbiByKGUsdCxuLGkpe2NvbnN0IG89YXdhaXQgZS5wb3N0KCJSdW50aW1lLmdldFByb3BlcnRpZXMiLHtvYmplY3RJZDp0LG93blByb3BlcnRpZXM6ITB9KTtpW25dPW8ucmVzdWx0Lm1hcChlPT5bZS5uYW1lLGUudmFsdWU/LnZhbHVlXSkucmVkdWNlKChlLFt0LG5dKT0+KGVbdF09bixlKSx7fSl9ZnVuY3Rpb24gdShlLHQpe2UudmFsdWUmJigidmFsdWUiaW4gZS52YWx1ZT92b2lkIDA9PT1lLnZhbHVlLnZhbHVlfHxudWxsPT09ZS52YWx1ZS52YWx1ZT90W2UubmFtZV09YDwke2UudmFsdWUudmFsdWV9PmA6dFtlLm5hbWVdPWUudmFsdWUudmFsdWU6ImRlc2NyaXB0aW9uImluIGUudmFsdWUmJiJmdW5jdGlvbiIhPT1lLnZhbHVlLnR5cGU/dFtlLm5hbWVdPWA8JHtlLnZhbHVlLmRlc2NyaXB0aW9ufT5gOiJ1bmRlZmluZWQiPT09ZS52YWx1ZS50eXBlJiYodFtlLm5hbWVdPSI8dW5kZWZpbmVkPiIpKX1hc3luYyBmdW5jdGlvbiBsKGUsdCl7Y29uc3Qgbj1hd2FpdCBlLnBvc3QoIlJ1bnRpbWUuZ2V0UHJvcGVydGllcyIse29iamVjdElkOnQsb3duUHJvcGVydGllczohMH0pLGk9e307Zm9yKGNvbnN0IHQgb2Ygbi5yZXN1bHQpaWYodC52YWx1ZT8ub2JqZWN0SWQmJiJBcnJheSI9PT10LnZhbHVlLmNsYXNzTmFtZSl7Y29uc3Qgbj10LnZhbHVlLm9iamVjdElkO2F3YWl0IGMoZSxuLHQubmFtZSxpKX1lbHNlIGlmKHQudmFsdWU/Lm9iamVjdElkJiYiT2JqZWN0Ij09PXQudmFsdWUuY2xhc3NOYW1lKXtjb25zdCBuPXQudmFsdWUub2JqZWN0SWQ7YXdhaXQgcihlLG4sdC5uYW1lLGkpfWVsc2UgdC52YWx1ZSYmdSh0LGkpO3JldHVybiBpfWxldCBmOyhhc3luYyBmdW5jdGlvbigpe2NvbnN0IHQ9bmV3IGU7dC5jb25uZWN0VG9NYWluVGhyZWFkKCkscygiQ29ubmVjdGVkIHRvIG1haW4gdGhyZWFkIik7bGV0IG49ITE7dC5vbigiRGVidWdnZXIucmVzdW1lZCIsKCk9PntuPSExfSksdC5vbigiRGVidWdnZXIucGF1c2VkIixlPT57bj0hMCxhc3luYyBmdW5jdGlvbihlLHtyZWFzb246dCxkYXRhOntvYmplY3RJZDpufSxjYWxsRnJhbWVzOml9KXtpZigiZXhjZXB0aW9uIiE9PXQmJiJwcm9taXNlUmVqZWN0aW9uIiE9PXQpcmV0dXJuO2lmKGY/LigpLG51bGw9PW4pcmV0dXJuO2NvbnN0IGE9W107Zm9yKGxldCB0PTA7dDxpLmxlbmd0aDt0Kyspe2NvbnN0e3Njb3BlQ2hhaW46bixmdW5jdGlvbk5hbWU6byx0aGlzOnN9PWlbdF0sYz1uLmZpbmQoZT0+ImxvY2FsIj09PWUudHlwZSkscj0iZ2xvYmFsIiE9PXMuY2xhc3NOYW1lJiZzLmNsYXNzTmFtZT9gJHtzLmNsYXNzTmFtZX0uJHtvfWA6bztpZih2b2lkIDA9PT1jPy5vYmplY3Qub2JqZWN0SWQpYVt0XT17ZnVuY3Rpb246cn07ZWxzZXtjb25zdCBuPWF3YWl0IGwoZSxjLm9iamVjdC5vYmplY3RJZCk7YVt0XT17ZnVuY3Rpb246cix2YXJzOm59fX1hd2FpdCBlLnBvc3QoIlJ1bnRpbWUuY2FsbEZ1bmN0aW9uT24iLHtmdW5jdGlvbkRlY2xhcmF0aW9uOmBmdW5jdGlvbigpIHsgdGhpcy4ke299ID0gdGhpcy4ke299IHx8ICR7SlNPTi5zdHJpbmdpZnkoYSl9OyB9YCxzaWxlbnQ6ITAsb2JqZWN0SWQ6bn0pLGF3YWl0IGUucG9zdCgiUnVudGltZS5yZWxlYXNlT2JqZWN0Iix7b2JqZWN0SWQ6bn0pfSh0LGUucGFyYW1zKS50aGVuKGFzeW5jKCk9PntuJiZhd2FpdCB0LnBvc3QoIkRlYnVnZ2VyLnJlc3VtZSIpfSxhc3luYyBlPT57biYmYXdhaXQgdC5wb3N0KCJEZWJ1Z2dlci5yZXN1bWUiKX0pfSksYXdhaXQgdC5wb3N0KCJEZWJ1Z2dlci5lbmFibGUiKTtjb25zdCBpPSExIT09YS5jYXB0dXJlQWxsRXhjZXB0aW9ucztpZihhd2FpdCB0LnBvc3QoIkRlYnVnZ2VyLnNldFBhdXNlT25FeGNlcHRpb25zIix7c3RhdGU6aT8iYWxsIjoidW5jYXVnaHQifSksaSl7Y29uc3QgZT1hLm1heEV4Y2VwdGlvbnNQZXJTZWNvbmR8fDUwO2Y9ZnVuY3Rpb24oZSx0LG4pe2xldCBpPTAsbz01LGE9MDtyZXR1cm4gc2V0SW50ZXJ2YWwoKCk9PnswPT09YT9pPmUmJihvKj0yLG4obyksbz44NjQwMCYmKG89ODY0MDApLGE9byk6KGEtPTEsMD09PWEmJnQoKSksaT0wfSwxZTMpLnVucmVmKCksKCk9PntpKz0xfX0oZSxhc3luYygpPT57cygiUmF0ZS1saW1pdCBsaWZ0ZWQuIiksYXdhaXQgdC5wb3N0KCJEZWJ1Z2dlci5zZXRQYXVzZU9uRXhjZXB0aW9ucyIse3N0YXRlOiJhbGwifSl9LGFzeW5jIGU9PntzKGBSYXRlLWxpbWl0IGV4Y2VlZGVkLiBEaXNhYmxpbmcgY2FwdHVyaW5nIG9mIGNhdWdodCBleGNlcHRpb25zIGZvciAke2V9IHNlY29uZHMuYCksYXdhaXQgdC5wb3N0KCJEZWJ1Z2dlci5zZXRQYXVzZU9uRXhjZXB0aW9ucyIse3N0YXRlOiJ1bmNhdWdodCJ9KX0pfX0pKCkuY2F0Y2goZT0+e3MoIkZhaWxlZCB0byBzdGFydCBkZWJ1Z2dlciIsZSl9KSxzZXRJbnRlcnZhbCgoKT0+e30sMWU0KTs=";
|
|
75130
75203
|
function log2(...args) {
|
|
75131
75204
|
debug.log("[LocalVariables]", ...args);
|
|
75132
75205
|
}
|
|
@@ -75222,7 +75295,7 @@ var localVariablesAsyncIntegration = defineIntegration(((integrationOptions = {}
|
|
|
75222
75295
|
};
|
|
75223
75296
|
}));
|
|
75224
75297
|
|
|
75225
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
75298
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/local-variables/local-variables-sync.js
|
|
75226
75299
|
function hashFrames(frames) {
|
|
75227
75300
|
if (frames === void 0) {
|
|
75228
75301
|
return;
|
|
@@ -75506,12 +75579,12 @@ var _localVariablesSyncIntegration = ((options = {}, sessionOverride) => {
|
|
|
75506
75579
|
});
|
|
75507
75580
|
var localVariablesSyncIntegration = defineIntegration(_localVariablesSyncIntegration);
|
|
75508
75581
|
|
|
75509
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
75582
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/local-variables/index.js
|
|
75510
75583
|
var localVariablesIntegration = (options = {}) => {
|
|
75511
75584
|
return NODE_VERSION.major < 19 ? localVariablesSyncIntegration(options) : localVariablesAsyncIntegration(options);
|
|
75512
75585
|
};
|
|
75513
75586
|
|
|
75514
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
75587
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/modules.js
|
|
75515
75588
|
import { readFileSync } from "node:fs";
|
|
75516
75589
|
import { join as join3 } from "node:path";
|
|
75517
75590
|
var moduleCache;
|
|
@@ -75565,12 +75638,17 @@ function getModulesFromPackageJson() {
|
|
|
75565
75638
|
};
|
|
75566
75639
|
}
|
|
75567
75640
|
|
|
75568
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
75641
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/onuncaughtexception.js
|
|
75569
75642
|
import { isMainThread } from "worker_threads";
|
|
75570
75643
|
|
|
75571
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
75644
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/utils/errorhandling.js
|
|
75572
75645
|
var DEFAULT_SHUTDOWN_TIMEOUT = 2e3;
|
|
75646
|
+
var isShuttingDown = false;
|
|
75573
75647
|
function logAndExitProcess(error63) {
|
|
75648
|
+
if (isShuttingDown) {
|
|
75649
|
+
return;
|
|
75650
|
+
}
|
|
75651
|
+
isShuttingDown = true;
|
|
75574
75652
|
consoleSandbox(() => {
|
|
75575
75653
|
console.error(error63);
|
|
75576
75654
|
});
|
|
@@ -75591,11 +75669,12 @@ function logAndExitProcess(error63) {
|
|
|
75591
75669
|
},
|
|
75592
75670
|
(error210) => {
|
|
75593
75671
|
DEBUG_BUILD2 && debug.error(error210);
|
|
75672
|
+
global.process.exit(1);
|
|
75594
75673
|
}
|
|
75595
75674
|
);
|
|
75596
75675
|
}
|
|
75597
75676
|
|
|
75598
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
75677
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/onuncaughtexception.js
|
|
75599
75678
|
var INTEGRATION_NAME16 = "OnUncaughtException";
|
|
75600
75679
|
var onUncaughtExceptionIntegration = defineIntegration((options = {}) => {
|
|
75601
75680
|
const optionsWithDefaults = {
|
|
@@ -75678,7 +75757,7 @@ function makeErrorHandler(client, options) {
|
|
|
75678
75757
|
);
|
|
75679
75758
|
}
|
|
75680
75759
|
|
|
75681
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
75760
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/onunhandledrejection.js
|
|
75682
75761
|
var INTEGRATION_NAME17 = "OnUnhandledRejection";
|
|
75683
75762
|
var DEFAULT_IGNORES = [
|
|
75684
75763
|
{
|
|
@@ -75763,7 +75842,7 @@ function handleRejection(reason, mode) {
|
|
|
75763
75842
|
}
|
|
75764
75843
|
}
|
|
75765
75844
|
|
|
75766
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
75845
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/processSession.js
|
|
75767
75846
|
var INTEGRATION_NAME18 = "ProcessSession";
|
|
75768
75847
|
var processSessionIntegration = defineIntegration(() => {
|
|
75769
75848
|
return {
|
|
@@ -75780,7 +75859,7 @@ var processSessionIntegration = defineIntegration(() => {
|
|
|
75780
75859
|
};
|
|
75781
75860
|
});
|
|
75782
75861
|
|
|
75783
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
75862
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/spotlight.js
|
|
75784
75863
|
import * as http2 from "node:http";
|
|
75785
75864
|
var INTEGRATION_NAME19 = "Spotlight";
|
|
75786
75865
|
var _spotlightIntegration = ((options = {}) => {
|
|
@@ -75853,7 +75932,7 @@ function parseSidecarUrl(url2) {
|
|
|
75853
75932
|
}
|
|
75854
75933
|
}
|
|
75855
75934
|
|
|
75856
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
75935
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/console.js
|
|
75857
75936
|
var consoleIntegration2 = defineIntegration((options = {}) => {
|
|
75858
75937
|
return {
|
|
75859
75938
|
name: "Console",
|
|
@@ -75943,7 +76022,7 @@ function patchWithDefineProperty(consoleObj, level) {
|
|
|
75943
76022
|
}
|
|
75944
76023
|
}
|
|
75945
76024
|
|
|
75946
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
76025
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/integrations/systemError.js
|
|
75947
76026
|
import * as util from "node:util";
|
|
75948
76027
|
var INTEGRATION_NAME20 = "NodeSystemError";
|
|
75949
76028
|
function isSystemError(error63) {
|
|
@@ -75992,17 +76071,17 @@ var systemErrorIntegration = defineIntegration((options = {}) => {
|
|
|
75992
76071
|
};
|
|
75993
76072
|
});
|
|
75994
76073
|
|
|
75995
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
76074
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/transports/http.js
|
|
75996
76075
|
import * as http4 from "node:http";
|
|
75997
76076
|
import * as https from "node:https";
|
|
75998
76077
|
import { Readable } from "node:stream";
|
|
75999
76078
|
import { createGzip } from "node:zlib";
|
|
76000
76079
|
|
|
76001
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
76080
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/proxy/index.js
|
|
76002
76081
|
import * as net from "node:net";
|
|
76003
76082
|
import * as tls from "node:tls";
|
|
76004
76083
|
|
|
76005
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
76084
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/proxy/base.js
|
|
76006
76085
|
import * as http3 from "node:http";
|
|
76007
76086
|
var _a3;
|
|
76008
76087
|
var INTERNAL = /* @__PURE__ */ Symbol("AgentBaseInternalState");
|
|
@@ -76066,7 +76145,7 @@ var Agent2 = class extends (_a3 = http3.Agent, _a3) {
|
|
|
76066
76145
|
}
|
|
76067
76146
|
};
|
|
76068
76147
|
|
|
76069
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
76148
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/proxy/parse-proxy-response.js
|
|
76070
76149
|
function debugLog(...args) {
|
|
76071
76150
|
debug.log("[https-proxy-agent:parse-proxy-response]", ...args);
|
|
76072
76151
|
}
|
|
@@ -76149,7 +76228,7 @@ function parseProxyResponse(socket) {
|
|
|
76149
76228
|
});
|
|
76150
76229
|
}
|
|
76151
76230
|
|
|
76152
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
76231
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/proxy/index.js
|
|
76153
76232
|
function debugLog2(...args) {
|
|
76154
76233
|
debug.log("[https-proxy-agent]", ...args);
|
|
76155
76234
|
}
|
|
@@ -76252,7 +76331,7 @@ function omit2(obj, ...keys) {
|
|
|
76252
76331
|
return ret;
|
|
76253
76332
|
}
|
|
76254
76333
|
|
|
76255
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
76334
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/transports/http.js
|
|
76256
76335
|
var GZIP_THRESHOLD = 1024 * 32;
|
|
76257
76336
|
function streamFromBody(body) {
|
|
76258
76337
|
return new Readable({
|
|
@@ -76344,7 +76423,7 @@ function createRequestExecutor(options, httpModule, agent) {
|
|
|
76344
76423
|
};
|
|
76345
76424
|
}
|
|
76346
76425
|
|
|
76347
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
76426
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/utils/spotlight.js
|
|
76348
76427
|
function getSpotlightConfig(optionsSpotlight) {
|
|
76349
76428
|
if (optionsSpotlight === false) {
|
|
76350
76429
|
return false;
|
|
@@ -76357,7 +76436,7 @@ function getSpotlightConfig(optionsSpotlight) {
|
|
|
76357
76436
|
return optionsSpotlight === true ? envUrl ?? true : envBool ?? envUrl;
|
|
76358
76437
|
}
|
|
76359
76438
|
|
|
76360
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
76439
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/utils/module.js
|
|
76361
76440
|
import { posix, sep } from "node:path";
|
|
76362
76441
|
function normalizeWindowsPath(path34) {
|
|
76363
76442
|
return path34.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
|
|
@@ -76389,7 +76468,7 @@ function createGetModuleFromFilename(basePath = process.argv[1] ? dirname(proces
|
|
|
76389
76468
|
};
|
|
76390
76469
|
}
|
|
76391
76470
|
|
|
76392
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
76471
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/sdk/api.js
|
|
76393
76472
|
function getSentryRelease(fallback) {
|
|
76394
76473
|
if (process.env.SENTRY_RELEASE) {
|
|
76395
76474
|
return process.env.SENTRY_RELEASE;
|
|
@@ -76443,7 +76522,7 @@ function getSentryRelease(fallback) {
|
|
|
76443
76522
|
}
|
|
76444
76523
|
var defaultStackParser = createStackParser(nodeStackLineParser(createGetModuleFromFilename()));
|
|
76445
76524
|
|
|
76446
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
76525
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/sdk/client.js
|
|
76447
76526
|
init_esm();
|
|
76448
76527
|
var import_instrumentation2 = __toESM(require_src4(), 1);
|
|
76449
76528
|
import * as os2 from "node:os";
|
|
@@ -76563,11 +76642,11 @@ var NodeClient = class extends ServerRuntimeClient {
|
|
|
76563
76642
|
}
|
|
76564
76643
|
};
|
|
76565
76644
|
|
|
76566
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
76645
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/sdk/esmLoader.js
|
|
76567
76646
|
var import_import_in_the_middle = __toESM(require_import_in_the_middle(), 1);
|
|
76568
76647
|
import * as moduleModule from "module";
|
|
76569
76648
|
|
|
76570
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
76649
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/utils/detection.js
|
|
76571
76650
|
var hasWarnedAboutNodeVersion;
|
|
76572
76651
|
function supportsEsmLoaderHooks() {
|
|
76573
76652
|
if (NODE_MAJOR >= 21 || NODE_MAJOR === 20 && NODE_MINOR >= 6 || NODE_MAJOR === 18 && NODE_MINOR >= 19) {
|
|
@@ -76584,7 +76663,7 @@ function supportsEsmLoaderHooks() {
|
|
|
76584
76663
|
return false;
|
|
76585
76664
|
}
|
|
76586
76665
|
|
|
76587
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
76666
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/sdk/esmLoader.js
|
|
76588
76667
|
function initializeEsmLoader() {
|
|
76589
76668
|
if (!supportsEsmLoaderHooks()) {
|
|
76590
76669
|
return;
|
|
@@ -76603,7 +76682,7 @@ function initializeEsmLoader() {
|
|
|
76603
76682
|
}
|
|
76604
76683
|
}
|
|
76605
76684
|
|
|
76606
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
76685
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/sdk/index.js
|
|
76607
76686
|
function getDefaultIntegrations() {
|
|
76608
76687
|
return [
|
|
76609
76688
|
// Common
|
|
@@ -76754,12 +76833,12 @@ function updateScopeFromEnvVariables() {
|
|
|
76754
76833
|
}
|
|
76755
76834
|
}
|
|
76756
76835
|
|
|
76757
|
-
// ../../node_modules/.pnpm/@sentry+node-core@10.
|
|
76836
|
+
// ../../node_modules/.pnpm/@sentry+node-core@10.75.1_@opentelemetry+api@1.9.1_@opentelemetry+core@2.11.0_@opentele_b9d1fc647fbbd9ad4b8405e412c65275/node_modules/@sentry/node-core/build/esm/utils/addOriginToSpan.js
|
|
76758
76837
|
function addOriginToSpan(span, origin) {
|
|
76759
76838
|
span.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, origin);
|
|
76760
76839
|
}
|
|
76761
76840
|
|
|
76762
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
76841
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/http.js
|
|
76763
76842
|
var INTEGRATION_NAME21 = "Http";
|
|
76764
76843
|
var instrumentSentryHttp = Object.assign(instrumentHttpOutgoingRequests, {
|
|
76765
76844
|
id: `${INTEGRATION_NAME21}.sentry`
|
|
@@ -76820,7 +76899,7 @@ var httpIntegration2 = defineIntegration((options = {}) => {
|
|
|
76820
76899
|
};
|
|
76821
76900
|
});
|
|
76822
76901
|
|
|
76823
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
76902
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/node-fetch.js
|
|
76824
76903
|
var _nativeNodeFetchIntegration2 = ((options = {}) => {
|
|
76825
76904
|
return {
|
|
76826
76905
|
name: "NodeFetch",
|
|
@@ -76838,13 +76917,13 @@ function _shouldInstrumentSpans(options, clientOptions = {}) {
|
|
|
76838
76917
|
return options.spans ?? (!clientOptions.skipOpenTelemetrySetup && hasSpansEnabled(clientOptions));
|
|
76839
76918
|
}
|
|
76840
76919
|
|
|
76841
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
76920
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/express.js
|
|
76842
76921
|
var import_instrumentation3 = __toESM(require_src4(), 1);
|
|
76843
76922
|
|
|
76844
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
76923
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/debug-build.js
|
|
76845
76924
|
var DEBUG_BUILD4 = typeof __SENTRY_DEBUG__ === "undefined" || __SENTRY_DEBUG__;
|
|
76846
76925
|
|
|
76847
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
76926
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/utils/setHttpServerSpanRouteAttribute.js
|
|
76848
76927
|
function setHttpServerSpanRouteAttribute(route) {
|
|
76849
76928
|
const activeSpan = getActiveSpan();
|
|
76850
76929
|
if (!activeSpan) {
|
|
@@ -76860,7 +76939,7 @@ function setHttpServerSpanRouteAttribute(route) {
|
|
|
76860
76939
|
rootSpan.setAttribute("http.route", route);
|
|
76861
76940
|
}
|
|
76862
76941
|
|
|
76863
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
76942
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/express.js
|
|
76864
76943
|
var INTEGRATION_NAME22 = "Express";
|
|
76865
76944
|
var SUPPORTED_VERSIONS = [">=4.0.0 <6"];
|
|
76866
76945
|
var instrumentExpress = generateInstrumentOnce(
|
|
@@ -76910,11 +76989,11 @@ var _expressIntegration = ((options) => {
|
|
|
76910
76989
|
});
|
|
76911
76990
|
var expressIntegration = defineIntegration(_expressIntegration);
|
|
76912
76991
|
|
|
76913
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
76992
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/fastify/v3/instrumentation.js
|
|
76914
76993
|
init_esm();
|
|
76915
76994
|
var import_instrumentation4 = __toESM(require_src4(), 1);
|
|
76916
76995
|
|
|
76917
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
76996
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/fastify/v3/enums/AttributeNames.js
|
|
76918
76997
|
var AttributeNames = /* @__PURE__ */ ((AttributeNames22) => {
|
|
76919
76998
|
AttributeNames22["FASTIFY_NAME"] = "fastify.name";
|
|
76920
76999
|
AttributeNames22["FASTIFY_TYPE"] = "fastify.type";
|
|
@@ -76933,13 +77012,13 @@ var FastifyNames = /* @__PURE__ */ ((FastifyNames2) => {
|
|
|
76933
77012
|
return FastifyNames2;
|
|
76934
77013
|
})(FastifyNames || {});
|
|
76935
77014
|
|
|
76936
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
77015
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/fastify/v3/utils.js
|
|
76937
77016
|
init_esm();
|
|
76938
77017
|
|
|
76939
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
77018
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/fastify/v3/constants.js
|
|
76940
77019
|
var spanRequestSymbol = /* @__PURE__ */ Symbol("opentelemetry.instrumentation.fastify.request_active_span");
|
|
76941
77020
|
|
|
76942
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
77021
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/fastify/v3/utils.js
|
|
76943
77022
|
function startSpan3(reply, tracer, spanName, spanAttributes = {}) {
|
|
76944
77023
|
const span = tracer.startSpan(spanName, { attributes: spanAttributes });
|
|
76945
77024
|
const spans = reply[spanRequestSymbol] || [];
|
|
@@ -76995,7 +77074,7 @@ function isPromise(val) {
|
|
|
76995
77074
|
return typeof val === "object" && val && typeof Object.getOwnPropertyDescriptor(val, "then")?.value === "function" || false;
|
|
76996
77075
|
}
|
|
76997
77076
|
|
|
76998
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
77077
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/fastify/v3/instrumentation.js
|
|
76999
77078
|
var PACKAGE_NAME = "@sentry/instrumentation-fastify-v3";
|
|
77000
77079
|
var ANONYMOUS_NAME = "anonymous";
|
|
77001
77080
|
var hooksNamesToWrap = /* @__PURE__ */ new Set([
|
|
@@ -77204,7 +77283,7 @@ function addFastifyV3SpanAttributes(span) {
|
|
|
77204
77283
|
}
|
|
77205
77284
|
}
|
|
77206
77285
|
|
|
77207
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
77286
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/graphql/index.js
|
|
77208
77287
|
import * as diagnosticsChannel2 from "node:diagnostics_channel";
|
|
77209
77288
|
|
|
77210
77289
|
// ../../node_modules/.pnpm/@sentry+conventions@0.16.0/node_modules/@sentry/conventions/dist/op.mjs
|
|
@@ -77212,10 +77291,10 @@ var b = "execute_tool";
|
|
|
77212
77291
|
var k = "invoke_agent";
|
|
77213
77292
|
var i_ = "graphql";
|
|
77214
77293
|
|
|
77215
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
77294
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/debug-build.js
|
|
77216
77295
|
var DEBUG_BUILD5 = typeof __SENTRY_DEBUG__ === "undefined" || __SENTRY_DEBUG__;
|
|
77217
77296
|
|
|
77218
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
77297
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/tracing-channel.js
|
|
77219
77298
|
var NOOP = () => {
|
|
77220
77299
|
};
|
|
77221
77300
|
function bindTracingChannelToSpan(channel3, getSpan2, opts) {
|
|
@@ -77342,7 +77421,7 @@ function getErrorInfo(error63) {
|
|
|
77342
77421
|
};
|
|
77343
77422
|
}
|
|
77344
77423
|
|
|
77345
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
77424
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/graphql/utils.js
|
|
77346
77425
|
var ORIGINAL_DESCRIPTION_ATTRIBUTE = "original-description";
|
|
77347
77426
|
var REDACTED_LITERAL_KINDS = /* @__PURE__ */ new Set(["Int", "Float", "String", "BlockString"]);
|
|
77348
77427
|
function renameRootSpanWithOperation(span, operationType, operationName) {
|
|
@@ -77425,7 +77504,7 @@ function collectGraphqlDocument(document2) {
|
|
|
77425
77504
|
return redactGraphqlDocument(document2);
|
|
77426
77505
|
}
|
|
77427
77506
|
|
|
77428
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
77507
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/graphql/graphql-dc-subscriber.js
|
|
77429
77508
|
var GRAPHQL_DC_CHANNEL_PARSE = "graphql:parse";
|
|
77430
77509
|
var GRAPHQL_DC_CHANNEL_VALIDATE = "graphql:validate";
|
|
77431
77510
|
var GRAPHQL_DC_CHANNEL_EXECUTE = "graphql:execute";
|
|
@@ -77534,7 +77613,7 @@ function setupResolveChannel(tracingChannel7, ignoreTrivialResolveSpans) {
|
|
|
77534
77613
|
});
|
|
77535
77614
|
}
|
|
77536
77615
|
|
|
77537
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
77616
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/graphql/index.js
|
|
77538
77617
|
var _graphqlIntegration = ((options = {}) => {
|
|
77539
77618
|
return {
|
|
77540
77619
|
name: "Graphql",
|
|
@@ -77550,10 +77629,10 @@ var _graphqlIntegration = ((options = {}) => {
|
|
|
77550
77629
|
});
|
|
77551
77630
|
var graphqlIntegration = defineIntegration(_graphqlIntegration);
|
|
77552
77631
|
|
|
77553
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
77632
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/mongoose/index.js
|
|
77554
77633
|
import * as diagnosticsChannel3 from "node:diagnostics_channel";
|
|
77555
77634
|
|
|
77556
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
77635
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/mongoose/mongoose-dc-subscriber.js
|
|
77557
77636
|
var MONGOOSE_DC_CHANNEL_QUERY = "mongoose:query";
|
|
77558
77637
|
var MONGOOSE_DC_CHANNEL_AGGREGATE = "mongoose:aggregate";
|
|
77559
77638
|
var MONGOOSE_DC_CHANNEL_MODEL_SAVE = "mongoose:model:save";
|
|
@@ -77636,7 +77715,7 @@ function redactValue(value, depth) {
|
|
|
77636
77715
|
return "?";
|
|
77637
77716
|
}
|
|
77638
77717
|
|
|
77639
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
77718
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/mongoose/index.js
|
|
77640
77719
|
var _mongooseIntegration = (() => {
|
|
77641
77720
|
return {
|
|
77642
77721
|
name: "Mongoose",
|
|
@@ -77652,7 +77731,7 @@ var _mongooseIntegration = (() => {
|
|
|
77652
77731
|
});
|
|
77653
77732
|
var mongooseIntegration = defineIntegration(_mongooseIntegration);
|
|
77654
77733
|
|
|
77655
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
77734
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/mongodb/mongodb-span.js
|
|
77656
77735
|
var ATTR_DB_SYSTEM = "db.system";
|
|
77657
77736
|
var ATTR_DB_NAME = "db.name";
|
|
77658
77737
|
var ATTR_DB_OPERATION = "db.operation";
|
|
@@ -77775,10 +77854,10 @@ function startMongoSpan(attributes) {
|
|
|
77775
77854
|
});
|
|
77776
77855
|
}
|
|
77777
77856
|
|
|
77778
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
77857
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/mysql2/index.js
|
|
77779
77858
|
import * as diagnosticsChannel4 from "node:diagnostics_channel";
|
|
77780
77859
|
|
|
77781
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
77860
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/mysql2/mysql2-dc-subscriber.js
|
|
77782
77861
|
var MYSQL2_DC_CHANNEL_QUERY = "mysql2:query";
|
|
77783
77862
|
var MYSQL2_DC_CHANNEL_EXECUTE = "mysql2:execute";
|
|
77784
77863
|
var MYSQL2_DC_CHANNEL_CONNECT = "mysql2:connect";
|
|
@@ -77835,7 +77914,7 @@ function setupConnectChannel(tracingChannel7, channelName, spanName) {
|
|
|
77835
77914
|
);
|
|
77836
77915
|
}
|
|
77837
77916
|
|
|
77838
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
77917
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/mysql2/index.js
|
|
77839
77918
|
var _mysql2Integration = (() => {
|
|
77840
77919
|
return {
|
|
77841
77920
|
name: "Mysql2",
|
|
@@ -77851,7 +77930,7 @@ var _mysql2Integration = (() => {
|
|
|
77851
77930
|
});
|
|
77852
77931
|
var mysql2Integration = defineIntegration(_mysql2Integration);
|
|
77853
77932
|
|
|
77854
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
77933
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/prisma/global.js
|
|
77855
77934
|
var majorVersion = "7";
|
|
77856
77935
|
var GLOBAL_INSTRUMENTATION_KEY = "PRISMA_INSTRUMENTATION";
|
|
77857
77936
|
var GLOBAL_VERSIONED_INSTRUMENTATION_KEY = `V${majorVersion}_PRISMA_INSTRUMENTATION`;
|
|
@@ -77862,7 +77941,7 @@ function setGlobalTracingHelper(helper) {
|
|
|
77862
77941
|
globalThisWithPrismaInstrumentation[GLOBAL_INSTRUMENTATION_KEY] = globalValue;
|
|
77863
77942
|
}
|
|
77864
77943
|
|
|
77865
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
77944
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/prisma/tracing-helper.js
|
|
77866
77945
|
var showAllTraces = (() => {
|
|
77867
77946
|
try {
|
|
77868
77947
|
return process.env.PRISMA_SHOW_ALL_TRACES === "true";
|
|
@@ -78066,7 +78145,7 @@ function shouldIgnoreSpan2(spanName, ignoreSpanTypes) {
|
|
|
78066
78145
|
return ignoreSpanTypes.some((pattern) => typeof pattern === "string" ? pattern === spanName : pattern.test(spanName));
|
|
78067
78146
|
}
|
|
78068
78147
|
|
|
78069
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
78148
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/prisma/index.js
|
|
78070
78149
|
var INTEGRATION_NAME23 = "Prisma";
|
|
78071
78150
|
function instrumentPrisma(options) {
|
|
78072
78151
|
setGlobalTracingHelper(
|
|
@@ -78085,10 +78164,10 @@ var _prismaIntegration = ((options) => {
|
|
|
78085
78164
|
});
|
|
78086
78165
|
var prismaIntegration = defineIntegration(_prismaIntegration);
|
|
78087
78166
|
|
|
78088
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
78167
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/redis/index.js
|
|
78089
78168
|
import * as diagnosticsChannel5 from "node:diagnostics_channel";
|
|
78090
78169
|
|
|
78091
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
78170
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/redis/redis-dc-subscriber.js
|
|
78092
78171
|
var REDIS_DC_CHANNEL_COMMAND = "node-redis:command";
|
|
78093
78172
|
var REDIS_DC_CHANNEL_BATCH = "node-redis:batch";
|
|
78094
78173
|
var REDIS_DC_CHANNEL_CONNECT = "node-redis:connect";
|
|
@@ -78177,7 +78256,7 @@ function runResponseHook(hook, span, command, args, result) {
|
|
|
78177
78256
|
}
|
|
78178
78257
|
}
|
|
78179
78258
|
|
|
78180
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
78259
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/redis/index.js
|
|
78181
78260
|
var _redisIntegration = ((options = {}) => {
|
|
78182
78261
|
return {
|
|
78183
78262
|
name: "Redis",
|
|
@@ -78193,7 +78272,7 @@ var _redisIntegration = ((options = {}) => {
|
|
|
78193
78272
|
});
|
|
78194
78273
|
var redisIntegration = defineIntegration(_redisIntegration);
|
|
78195
78274
|
|
|
78196
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
78275
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/redis/redis-statement-serializer.js
|
|
78197
78276
|
var serializationSubsets = [
|
|
78198
78277
|
{
|
|
78199
78278
|
regex: /^ECHO/i,
|
|
@@ -78224,7 +78303,7 @@ var defaultDbStatementSerializer = (cmdName, cmdArgs) => {
|
|
|
78224
78303
|
return cmdName;
|
|
78225
78304
|
};
|
|
78226
78305
|
|
|
78227
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
78306
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/vercel-ai/util.js
|
|
78228
78307
|
function asString(value) {
|
|
78229
78308
|
return typeof value === "string" ? value : void 0;
|
|
78230
78309
|
}
|
|
@@ -78327,7 +78406,7 @@ function accumulateChunk(state, chunk) {
|
|
|
78327
78406
|
}
|
|
78328
78407
|
}
|
|
78329
78408
|
|
|
78330
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
78409
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/vercel-ai/vercel-ai-dc-subscriber.js
|
|
78331
78410
|
var AI_SDK_TELEMETRY_TRACING_CHANNEL = "ai:telemetry";
|
|
78332
78411
|
var ORIGIN5 = "auto.vercelai.channel";
|
|
78333
78412
|
var GEN_AI_TOOL_CALL_ID_ATTRIBUTE2 = "gen_ai.tool.call.id";
|
|
@@ -78756,7 +78835,7 @@ function buildInputMessageAttributes(event, enableTruncation) {
|
|
|
78756
78835
|
return attributes;
|
|
78757
78836
|
}
|
|
78758
78837
|
|
|
78759
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
78838
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/vercel-ai/index.js
|
|
78760
78839
|
import * as diagnosticsChannel6 from "node:diagnostics_channel";
|
|
78761
78840
|
var _vercelAiIntegration = ((options = {}) => {
|
|
78762
78841
|
return {
|
|
@@ -78773,7 +78852,7 @@ var _vercelAiIntegration = ((options = {}) => {
|
|
|
78773
78852
|
});
|
|
78774
78853
|
var vercelAiIntegration = defineIntegration(_vercelAiIntegration);
|
|
78775
78854
|
|
|
78776
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
78855
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/integrations/tracing-channel/fastify/instrumentation.js
|
|
78777
78856
|
import * as diagnosticsChannel7 from "node:diagnostics_channel";
|
|
78778
78857
|
var PACKAGE_NAME2 = "@sentry/instrumentation-fastify";
|
|
78779
78858
|
var SUPPORTED_VERSIONS2 = ">=3.21.0 <6";
|
|
@@ -79045,14 +79124,14 @@ var instrumentFastify = Object.assign(
|
|
|
79045
79124
|
{ id: "Fastify.v5" }
|
|
79046
79125
|
);
|
|
79047
79126
|
|
|
79048
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
79127
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/integrations/tracing-channel/fastify/utils.js
|
|
79049
79128
|
var INTEGRATION_NAME24 = "Fastify";
|
|
79050
79129
|
function defaultShouldHandleError2(_error, _request, reply) {
|
|
79051
79130
|
const statusCode = reply.statusCode;
|
|
79052
79131
|
return statusCode >= 500 || statusCode <= 299;
|
|
79053
79132
|
}
|
|
79054
79133
|
|
|
79055
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
79134
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/integrations/tracing-channel/fastify/errors.js
|
|
79056
79135
|
import * as diagnosticsChannel8 from "node:diagnostics_channel";
|
|
79057
79136
|
function getFastifyIntegration() {
|
|
79058
79137
|
const client = getClient();
|
|
@@ -79086,7 +79165,7 @@ function handleFastifyError(error63, request2, reply, handlerOrigin) {
|
|
|
79086
79165
|
}
|
|
79087
79166
|
}
|
|
79088
79167
|
|
|
79089
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
79168
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/integrations/tracing-channel/fastify/index.js
|
|
79090
79169
|
var _fastifyIntegration = (({ shouldHandleError } = {}) => {
|
|
79091
79170
|
let _shouldHandleError;
|
|
79092
79171
|
return {
|
|
@@ -79106,7 +79185,7 @@ var _fastifyIntegration = (({ shouldHandleError } = {}) => {
|
|
|
79106
79185
|
});
|
|
79107
79186
|
var fastifyIntegration = defineIntegration(_fastifyIntegration);
|
|
79108
79187
|
|
|
79109
|
-
// ../../node_modules/.pnpm/@sentry+server-utils@10.
|
|
79188
|
+
// ../../node_modules/.pnpm/@sentry+server-utils@10.75.1/node_modules/@sentry/server-utils/build/esm/mongoose/mongoose-legacy-span.js
|
|
79110
79189
|
var ATTR_DB_MONGODB_COLLECTION2 = "db.mongodb.collection";
|
|
79111
79190
|
var ATTR_DB_NAME2 = "db.name";
|
|
79112
79191
|
var ATTR_DB_USER = "db.user";
|
|
@@ -79141,7 +79220,7 @@ function startMongooseLegacySpan({
|
|
|
79141
79220
|
});
|
|
79142
79221
|
}
|
|
79143
79222
|
|
|
79144
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
79223
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/fastify/index.js
|
|
79145
79224
|
var INTEGRATION_NAME25 = "Fastify";
|
|
79146
79225
|
var instrumentFastifyV3 = generateInstrumentOnce(
|
|
79147
79226
|
`${INTEGRATION_NAME25}.v3`,
|
|
@@ -79159,10 +79238,10 @@ var fastifyIntegration2 = defineIntegration(
|
|
|
79159
79238
|
(options = {}) => _fastifyIntegration2(options)
|
|
79160
79239
|
);
|
|
79161
79240
|
|
|
79162
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
79241
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/graphql/vendored/instrumentation.js
|
|
79163
79242
|
var import_instrumentation7 = __toESM(require_src4(), 1);
|
|
79164
79243
|
|
|
79165
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
79244
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/InstrumentationNodeModuleFile.js
|
|
79166
79245
|
import { normalize as normalize2 } from "path";
|
|
79167
79246
|
var InstrumentationNodeModuleFile = class {
|
|
79168
79247
|
constructor(name, supportedVersions9, patch, unpatch) {
|
|
@@ -79173,7 +79252,7 @@ var InstrumentationNodeModuleFile = class {
|
|
|
79173
79252
|
}
|
|
79174
79253
|
};
|
|
79175
79254
|
|
|
79176
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
79255
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/graphql/vendored/enum.js
|
|
79177
79256
|
var AllowedOperationTypes = /* @__PURE__ */ ((AllowedOperationTypes2) => {
|
|
79178
79257
|
AllowedOperationTypes2["QUERY"] = "query";
|
|
79179
79258
|
AllowedOperationTypes2["MUTATION"] = "mutation";
|
|
@@ -79215,7 +79294,7 @@ var SpanNames = /* @__PURE__ */ ((SpanNames22) => {
|
|
|
79215
79294
|
return SpanNames22;
|
|
79216
79295
|
})(SpanNames || {});
|
|
79217
79296
|
|
|
79218
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
79297
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/graphql/vendored/enums/AttributeNames.js
|
|
79219
79298
|
var AttributeNames2 = /* @__PURE__ */ ((AttributeNames22) => {
|
|
79220
79299
|
AttributeNames22["SOURCE"] = "graphql.source";
|
|
79221
79300
|
AttributeNames22["FIELD_NAME"] = "graphql.field.name";
|
|
@@ -79227,14 +79306,14 @@ var AttributeNames2 = /* @__PURE__ */ ((AttributeNames22) => {
|
|
|
79227
79306
|
return AttributeNames22;
|
|
79228
79307
|
})(AttributeNames2 || {});
|
|
79229
79308
|
|
|
79230
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
79309
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/graphql/vendored/symbols.js
|
|
79231
79310
|
var OTEL_PATCHED_SYMBOL = /* @__PURE__ */ Symbol.for("opentelemetry.patched");
|
|
79232
79311
|
var OTEL_GRAPHQL_DATA_SYMBOL = /* @__PURE__ */ Symbol.for("opentelemetry.graphql_data");
|
|
79233
79312
|
|
|
79234
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
79313
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/graphql/vendored/internal-types.js
|
|
79235
79314
|
var OPERATION_NOT_SUPPORTED = "Operation$operationName$not supported";
|
|
79236
79315
|
|
|
79237
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
79316
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/graphql/vendored/utils.js
|
|
79238
79317
|
var OPERATION_VALUES = Object.values(AllowedOperationTypes);
|
|
79239
79318
|
var isPromise2 = (value) => {
|
|
79240
79319
|
return typeof value?.then === "function";
|
|
@@ -79485,7 +79564,7 @@ function wrapFieldResolver(getConfig3, fieldResolver, isDefaultResolver = false)
|
|
|
79485
79564
|
return wrappedFieldResolver;
|
|
79486
79565
|
}
|
|
79487
79566
|
|
|
79488
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
79567
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/graphql/vendored/instrumentation.js
|
|
79489
79568
|
var PACKAGE_NAME3 = "@sentry/instrumentation-graphql";
|
|
79490
79569
|
var ORIGIN7 = "auto.graphql.otel.graphql";
|
|
79491
79570
|
var DEFAULT_CONFIG = {
|
|
@@ -79801,7 +79880,7 @@ function getGraphqlOperationNamesFromAttribute3(attr) {
|
|
|
79801
79880
|
return `${attr}`;
|
|
79802
79881
|
}
|
|
79803
79882
|
|
|
79804
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
79883
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/graphql/index.js
|
|
79805
79884
|
var INTEGRATION_NAME26 = "Graphql";
|
|
79806
79885
|
var instrumentGraphql = generateInstrumentOnce(
|
|
79807
79886
|
INTEGRATION_NAME26,
|
|
@@ -79826,10 +79905,10 @@ function getOptionsWithDefaults(options) {
|
|
|
79826
79905
|
};
|
|
79827
79906
|
}
|
|
79828
79907
|
|
|
79829
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
79908
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/kafka/vendored/instrumentation.js
|
|
79830
79909
|
var import_instrumentation9 = __toESM(require_src4(), 1);
|
|
79831
79910
|
|
|
79832
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
79911
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/kafka/vendored/semconv.js
|
|
79833
79912
|
var ATTR_MESSAGING_DESTINATION_PARTITION_ID = "messaging.destination.partition.id";
|
|
79834
79913
|
var ATTR_MESSAGING_KAFKA_MESSAGE_KEY = "messaging.kafka.message.key";
|
|
79835
79914
|
var ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = "messaging.kafka.message.tombstone";
|
|
@@ -79840,7 +79919,7 @@ var MESSAGING_OPERATION_TYPE_VALUE_SEND = "send";
|
|
|
79840
79919
|
var MESSAGING_SYSTEM_VALUE_KAFKA = "kafka";
|
|
79841
79920
|
var ERROR_TYPE_VALUE_OTHER2 = "_OTHER";
|
|
79842
79921
|
|
|
79843
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
79922
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/kafka/vendored/utils.js
|
|
79844
79923
|
init_esm();
|
|
79845
79924
|
var PRODUCER_ORIGIN = "auto.kafkajs.otel.producer";
|
|
79846
79925
|
var CONSUMER_ORIGIN = "auto.kafkajs.otel.consumer";
|
|
@@ -79943,7 +80022,7 @@ function endSpansOnPromise(spans, sendPromise) {
|
|
|
79943
80022
|
});
|
|
79944
80023
|
}
|
|
79945
80024
|
|
|
79946
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
80025
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/kafka/vendored/instrumentation.js
|
|
79947
80026
|
var PACKAGE_NAME4 = "@sentry/instrumentation-kafkajs";
|
|
79948
80027
|
var KafkaJsInstrumentation = class extends import_instrumentation9.InstrumentationBase {
|
|
79949
80028
|
constructor(config2 = {}) {
|
|
@@ -80171,7 +80250,7 @@ var KafkaJsInstrumentation = class extends import_instrumentation9.Instrumentati
|
|
|
80171
80250
|
}
|
|
80172
80251
|
};
|
|
80173
80252
|
|
|
80174
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
80253
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/kafka/index.js
|
|
80175
80254
|
var INTEGRATION_NAME27 = "Kafka";
|
|
80176
80255
|
var instrumentKafka = generateInstrumentOnce(INTEGRATION_NAME27, () => new KafkaJsInstrumentation());
|
|
80177
80256
|
var _kafkaIntegration = (() => {
|
|
@@ -80184,7 +80263,7 @@ var _kafkaIntegration = (() => {
|
|
|
80184
80263
|
});
|
|
80185
80264
|
var kafkaIntegration = defineIntegration(_kafkaIntegration);
|
|
80186
80265
|
|
|
80187
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
80266
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/lrumemoizer/vendored/instrumentation.js
|
|
80188
80267
|
var import_instrumentation11 = __toESM(require_src4(), 1);
|
|
80189
80268
|
var PACKAGE_NAME5 = "@sentry/instrumentation-lru-memoizer";
|
|
80190
80269
|
var LruMemoizerInstrumentation = class extends import_instrumentation11.InstrumentationBase {
|
|
@@ -80217,7 +80296,7 @@ var LruMemoizerInstrumentation = class extends import_instrumentation11.Instrume
|
|
|
80217
80296
|
}
|
|
80218
80297
|
};
|
|
80219
80298
|
|
|
80220
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
80299
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/lrumemoizer/index.js
|
|
80221
80300
|
var INTEGRATION_NAME28 = "LruMemoizer";
|
|
80222
80301
|
var instrumentLruMemoizer = generateInstrumentOnce(INTEGRATION_NAME28, () => new LruMemoizerInstrumentation());
|
|
80223
80302
|
var _lruMemoizerIntegration = (() => {
|
|
@@ -80230,10 +80309,10 @@ var _lruMemoizerIntegration = (() => {
|
|
|
80230
80309
|
});
|
|
80231
80310
|
var lruMemoizerIntegration = defineIntegration(_lruMemoizerIntegration);
|
|
80232
80311
|
|
|
80233
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
80312
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/mongo/vendored/instrumentation.js
|
|
80234
80313
|
var import_instrumentation13 = __toESM(require_src4(), 1);
|
|
80235
80314
|
|
|
80236
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
80315
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/mongo/vendored/utils.js
|
|
80237
80316
|
var ORIGIN8 = "auto.db.otel.mongo";
|
|
80238
80317
|
function getV4SpanAttributes2(connectionCtx, ns2, command, operation) {
|
|
80239
80318
|
return getV4SpanAttributes(connectionCtx, ns2, command, operation, ORIGIN8);
|
|
@@ -80262,7 +80341,7 @@ function shouldSkipInstrumentation() {
|
|
|
80262
80341
|
return !getActiveSpan();
|
|
80263
80342
|
}
|
|
80264
80343
|
|
|
80265
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
80344
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/mongo/vendored/patches.js
|
|
80266
80345
|
function getV3PatchOperation(operationName) {
|
|
80267
80346
|
return (original) => {
|
|
80268
80347
|
return function patchedServerCommand(server, ns2, ops, options, callback) {
|
|
@@ -80399,7 +80478,7 @@ function getV4ConnectionPoolCheckOut() {
|
|
|
80399
80478
|
};
|
|
80400
80479
|
}
|
|
80401
80480
|
|
|
80402
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
80481
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/mongo/vendored/instrumentation.js
|
|
80403
80482
|
var PACKAGE_NAME6 = "@sentry/instrumentation-mongodb";
|
|
80404
80483
|
var MongoDBInstrumentation = class extends import_instrumentation13.InstrumentationBase {
|
|
80405
80484
|
constructor(config2 = {}) {
|
|
@@ -80520,7 +80599,7 @@ var MongoDBInstrumentation = class extends import_instrumentation13.Instrumentat
|
|
|
80520
80599
|
}
|
|
80521
80600
|
};
|
|
80522
80601
|
|
|
80523
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
80602
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/mongo/index.js
|
|
80524
80603
|
var INTEGRATION_NAME29 = "Mongo";
|
|
80525
80604
|
var instrumentMongo = generateInstrumentOnce(INTEGRATION_NAME29, () => new MongoDBInstrumentation());
|
|
80526
80605
|
var _mongoIntegration = (() => {
|
|
@@ -80533,10 +80612,10 @@ var _mongoIntegration = (() => {
|
|
|
80533
80612
|
});
|
|
80534
80613
|
var mongoIntegration = defineIntegration(_mongoIntegration);
|
|
80535
80614
|
|
|
80536
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
80615
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/mongoose/vendored/mongoose.js
|
|
80537
80616
|
var import_instrumentation15 = __toESM(require_src4(), 1);
|
|
80538
80617
|
|
|
80539
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
80618
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/mongoose/vendored/utils.js
|
|
80540
80619
|
function setErrorStatus(span, error63) {
|
|
80541
80620
|
span.setStatus({
|
|
80542
80621
|
code: SPAN_STATUS_ERROR,
|
|
@@ -80571,7 +80650,7 @@ function handleCallbackResponse(callback, exec, originalThis, span, args) {
|
|
|
80571
80650
|
return exec.apply(originalThis, args);
|
|
80572
80651
|
}
|
|
80573
80652
|
|
|
80574
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
80653
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/mongoose/vendored/mongoose.js
|
|
80575
80654
|
var PACKAGE_NAME7 = "@sentry/instrumentation-mongoose";
|
|
80576
80655
|
var ORIGIN9 = "auto.db.otel.mongoose";
|
|
80577
80656
|
var contextCaptureFunctionsCommon = [
|
|
@@ -80801,7 +80880,7 @@ var MongooseInstrumentation = class extends import_instrumentation15.Instrumenta
|
|
|
80801
80880
|
}
|
|
80802
80881
|
};
|
|
80803
80882
|
|
|
80804
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
80883
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/mongoose/index.js
|
|
80805
80884
|
var INTEGRATION_NAME30 = "Mongoose";
|
|
80806
80885
|
var instrumentMongoose = generateInstrumentOnce(INTEGRATION_NAME30, () => new MongooseInstrumentation());
|
|
80807
80886
|
var _mongooseIntegration2 = (() => {
|
|
@@ -80814,14 +80893,14 @@ var _mongooseIntegration2 = (() => {
|
|
|
80814
80893
|
});
|
|
80815
80894
|
var mongooseIntegration2 = defineIntegration(_mongooseIntegration2);
|
|
80816
80895
|
|
|
80817
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
80896
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/mysql/vendored/instrumentation.js
|
|
80818
80897
|
var import_instrumentation16 = __toESM(require_src4(), 1);
|
|
80819
80898
|
|
|
80820
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
80899
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/mysql/vendored/semconv.js
|
|
80821
80900
|
var ATTR_DB_CONNECTION_STRING2 = "db.connection_string";
|
|
80822
80901
|
var DB_SYSTEM_VALUE_MYSQL = "mysql";
|
|
80823
80902
|
|
|
80824
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
80903
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/mysql/vendored/utils.js
|
|
80825
80904
|
function getConfig(config2) {
|
|
80826
80905
|
const resolved = config2?.connectionConfig || config2 || {};
|
|
80827
80906
|
const { host, port, database, user } = resolved;
|
|
@@ -80853,7 +80932,7 @@ function getSpanName(query) {
|
|
|
80853
80932
|
return rawQuery;
|
|
80854
80933
|
}
|
|
80855
80934
|
|
|
80856
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
80935
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/mysql/vendored/instrumentation.js
|
|
80857
80936
|
var PACKAGE_NAME8 = "@sentry/instrumentation-mysql";
|
|
80858
80937
|
var ORIGIN10 = "auto.db.otel.mysql";
|
|
80859
80938
|
var MySQLInstrumentation = class extends import_instrumentation16.InstrumentationBase {
|
|
@@ -81029,7 +81108,7 @@ var MySQLInstrumentation = class extends import_instrumentation16.Instrumentatio
|
|
|
81029
81108
|
}
|
|
81030
81109
|
};
|
|
81031
81110
|
|
|
81032
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
81111
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/mysql/index.js
|
|
81033
81112
|
var INTEGRATION_NAME31 = "Mysql";
|
|
81034
81113
|
var instrumentMysql = generateInstrumentOnce(INTEGRATION_NAME31, () => new MySQLInstrumentation({}));
|
|
81035
81114
|
var _mysqlIntegration = (() => {
|
|
@@ -81042,14 +81121,14 @@ var _mysqlIntegration = (() => {
|
|
|
81042
81121
|
});
|
|
81043
81122
|
var mysqlIntegration = defineIntegration(_mysqlIntegration);
|
|
81044
81123
|
|
|
81045
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
81124
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/mysql2/vendored/instrumentation.js
|
|
81046
81125
|
var import_instrumentation18 = __toESM(require_src4(), 1);
|
|
81047
81126
|
|
|
81048
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
81127
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/mysql2/vendored/semconv.js
|
|
81049
81128
|
var ATTR_DB_CONNECTION_STRING3 = "db.connection_string";
|
|
81050
81129
|
var DB_SYSTEM_VALUE_MYSQL2 = "mysql";
|
|
81051
81130
|
|
|
81052
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
81131
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/mysql2/vendored/utils.js
|
|
81053
81132
|
function getConnectionAttributes(config2) {
|
|
81054
81133
|
const { host, port, database, user } = getConfig2(config2);
|
|
81055
81134
|
const attrs = {
|
|
@@ -81120,7 +81199,7 @@ function getConnectionPrototypeToInstrument(connection) {
|
|
|
81120
81199
|
return connectionPrototype;
|
|
81121
81200
|
}
|
|
81122
81201
|
|
|
81123
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
81202
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/mysql2/vendored/instrumentation.js
|
|
81124
81203
|
var PACKAGE_NAME9 = "@sentry/instrumentation-mysql2";
|
|
81125
81204
|
var ORIGIN11 = "auto.db.otel.mysql2";
|
|
81126
81205
|
var supportedVersions2 = [">=1.4.2 <3.20.0"];
|
|
@@ -81248,7 +81327,7 @@ var MySQL2Instrumentation = class extends import_instrumentation18.Instrumentati
|
|
|
81248
81327
|
}
|
|
81249
81328
|
};
|
|
81250
81329
|
|
|
81251
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
81330
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/mysql2/index.js
|
|
81252
81331
|
var INTEGRATION_NAME32 = "Mysql2";
|
|
81253
81332
|
var instrumentMysql2 = generateInstrumentOnce(INTEGRATION_NAME32, () => new MySQL2Instrumentation());
|
|
81254
81333
|
var _mysql2Integration2 = (() => {
|
|
@@ -81261,10 +81340,10 @@ var _mysql2Integration2 = (() => {
|
|
|
81261
81340
|
});
|
|
81262
81341
|
var mysql2Integration2 = defineIntegration(_mysql2Integration2);
|
|
81263
81342
|
|
|
81264
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
81343
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/redis/index.js
|
|
81265
81344
|
import * as dc from "node:diagnostics_channel";
|
|
81266
81345
|
|
|
81267
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
81346
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/sdk/diagnosticsChannelInjection.js
|
|
81268
81347
|
var loader;
|
|
81269
81348
|
var cached2;
|
|
81270
81349
|
function isDiagnosticsChannelInjectionEnabled() {
|
|
@@ -81277,7 +81356,7 @@ function resolveDiagnosticsChannelInjection() {
|
|
|
81277
81356
|
return cached2 ?? (cached2 = loader());
|
|
81278
81357
|
}
|
|
81279
81358
|
|
|
81280
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
81359
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/utils/redisCache.js
|
|
81281
81360
|
var SINGLE_ARG_COMMANDS = ["get", "set", "setex"];
|
|
81282
81361
|
var GET_COMMANDS = ["get", "mget"];
|
|
81283
81362
|
var SET_COMMANDS = ["set", "setex"];
|
|
@@ -81365,7 +81444,7 @@ function flatten(input2) {
|
|
|
81365
81444
|
return result;
|
|
81366
81445
|
}
|
|
81367
81446
|
|
|
81368
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
81447
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/redis/cache.js
|
|
81369
81448
|
var _redisOptions = {};
|
|
81370
81449
|
function setRedisOptions(options) {
|
|
81371
81450
|
_redisOptions = options;
|
|
@@ -81399,14 +81478,14 @@ var cacheResponseHook = (span, redisCommand, cmdArgs, response) => {
|
|
|
81399
81478
|
);
|
|
81400
81479
|
};
|
|
81401
81480
|
|
|
81402
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
81481
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/redis/vendored/ioredis-instrumentation.js
|
|
81403
81482
|
var import_instrumentation20 = __toESM(require_src4(), 1);
|
|
81404
81483
|
|
|
81405
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
81484
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/redis/vendored/semconv.js
|
|
81406
81485
|
var ATTR_DB_CONNECTION_STRING4 = "db.connection_string";
|
|
81407
81486
|
var DB_SYSTEM_VALUE_REDIS = "redis";
|
|
81408
81487
|
|
|
81409
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
81488
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/redis/vendored/ioredis-instrumentation.js
|
|
81410
81489
|
var PACKAGE_NAME10 = "@sentry/instrumentation-ioredis";
|
|
81411
81490
|
var ORIGIN12 = "auto.db.otel.redis";
|
|
81412
81491
|
var SUPPORTED_VERSIONS3 = [">=2.0.0 <5.11.0"];
|
|
@@ -81544,7 +81623,7 @@ var IORedisInstrumentation = class extends import_instrumentation20.Instrumentat
|
|
|
81544
81623
|
}
|
|
81545
81624
|
};
|
|
81546
81625
|
|
|
81547
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
81626
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/redis/vendored/redis-instrumentation.js
|
|
81548
81627
|
var import_instrumentation21 = __toESM(require_src4(), 1);
|
|
81549
81628
|
var PACKAGE_NAME11 = "@sentry/instrumentation-redis";
|
|
81550
81629
|
var ORIGIN13 = "auto.db.otel.redis";
|
|
@@ -81979,7 +82058,7 @@ var RedisInstrumentation = class extends import_instrumentation21.Instrumentatio
|
|
|
81979
82058
|
}
|
|
81980
82059
|
};
|
|
81981
82060
|
|
|
81982
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
82061
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/redis/index.js
|
|
81983
82062
|
var INTEGRATION_NAME33 = "Redis";
|
|
81984
82063
|
var instrumentIORedis = generateInstrumentOnce(`${INTEGRATION_NAME33}.IORedis`, () => {
|
|
81985
82064
|
return new IORedisInstrumentation({
|
|
@@ -82011,10 +82090,10 @@ var _redisIntegration2 = ((options = {}) => {
|
|
|
82011
82090
|
});
|
|
82012
82091
|
var redisIntegration2 = defineIntegration(_redisIntegration2);
|
|
82013
82092
|
|
|
82014
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
82093
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/postgres/vendored/instrumentation.js
|
|
82015
82094
|
var import_instrumentation22 = __toESM(require_src4(), 1);
|
|
82016
82095
|
|
|
82017
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
82096
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/postgres/vendored/enums/SpanNames.js
|
|
82018
82097
|
var SpanNames2 = /* @__PURE__ */ ((SpanNames22) => {
|
|
82019
82098
|
SpanNames22["QUERY_PREFIX"] = "pg.query";
|
|
82020
82099
|
SpanNames22["CONNECT"] = "pg.connect";
|
|
@@ -82022,7 +82101,7 @@ var SpanNames2 = /* @__PURE__ */ ((SpanNames22) => {
|
|
|
82022
82101
|
return SpanNames22;
|
|
82023
82102
|
})(SpanNames2 || {});
|
|
82024
82103
|
|
|
82025
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
82104
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/postgres/vendored/enums/AttributeNames.js
|
|
82026
82105
|
var AttributeNames3 = /* @__PURE__ */ ((AttributeNames22) => {
|
|
82027
82106
|
AttributeNames22["PG_PLAN"] = "db.postgresql.plan";
|
|
82028
82107
|
AttributeNames22["IDLE_TIMEOUT_MILLIS"] = "db.postgresql.idle.timeout.millis";
|
|
@@ -82030,11 +82109,11 @@ var AttributeNames3 = /* @__PURE__ */ ((AttributeNames22) => {
|
|
|
82030
82109
|
return AttributeNames22;
|
|
82031
82110
|
})(AttributeNames3 || {});
|
|
82032
82111
|
|
|
82033
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
82112
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/postgres/vendored/semconv.js
|
|
82034
82113
|
var ATTR_DB_CONNECTION_STRING5 = "db.connection_string";
|
|
82035
82114
|
var DB_SYSTEM_VALUE_POSTGRESQL = "postgresql";
|
|
82036
82115
|
|
|
82037
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
82116
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/postgres/vendored/utils.js
|
|
82038
82117
|
var ORIGIN14 = "auto.db.otel.postgres";
|
|
82039
82118
|
function getQuerySpanName(dbName, queryConfig) {
|
|
82040
82119
|
if (!queryConfig) return SpanNames2.QUERY_PREFIX;
|
|
@@ -82163,7 +82242,7 @@ function isObjectWithTextString(it) {
|
|
|
82163
82242
|
return typeof it === "object" && typeof it?.text === "string";
|
|
82164
82243
|
}
|
|
82165
82244
|
|
|
82166
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
82245
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/postgres/vendored/instrumentation.js
|
|
82167
82246
|
var PACKAGE_NAME12 = "@sentry/instrumentation-pg";
|
|
82168
82247
|
function extractModuleExports(module2) {
|
|
82169
82248
|
return module2[Symbol.toStringTag] === "Module" ? module2.default : module2;
|
|
@@ -82379,7 +82458,7 @@ function handleConnectResult(span, connectResult) {
|
|
|
82379
82458
|
});
|
|
82380
82459
|
}
|
|
82381
82460
|
|
|
82382
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
82461
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/postgres/index.js
|
|
82383
82462
|
var INTEGRATION_NAME34 = "Postgres";
|
|
82384
82463
|
var instrumentPostgres = generateInstrumentOnce(
|
|
82385
82464
|
INTEGRATION_NAME34,
|
|
@@ -82398,7 +82477,7 @@ var _postgresIntegration = ((options) => {
|
|
|
82398
82477
|
});
|
|
82399
82478
|
var postgresIntegration = defineIntegration(_postgresIntegration);
|
|
82400
82479
|
|
|
82401
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
82480
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/postgresjs.js
|
|
82402
82481
|
init_esm();
|
|
82403
82482
|
var import_instrumentation24 = __toESM(require_src4(), 1);
|
|
82404
82483
|
var INTEGRATION_NAME35 = "PostgresJs";
|
|
@@ -82652,11 +82731,11 @@ var _postgresJsIntegration = ((options) => {
|
|
|
82652
82731
|
});
|
|
82653
82732
|
var postgresJsIntegration = defineIntegration(_postgresJsIntegration);
|
|
82654
82733
|
|
|
82655
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
82734
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/hapi/vendored/instrumentation.js
|
|
82656
82735
|
init_esm();
|
|
82657
82736
|
var import_instrumentation25 = __toESM(require_src4(), 1);
|
|
82658
82737
|
|
|
82659
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
82738
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/hapi/vendored/enums/AttributeNames.js
|
|
82660
82739
|
var AttributeNames4 = /* @__PURE__ */ ((AttributeNames22) => {
|
|
82661
82740
|
AttributeNames22["HAPI_TYPE"] = "hapi.type";
|
|
82662
82741
|
AttributeNames22["PLUGIN_NAME"] = "hapi.plugin.name";
|
|
@@ -82664,7 +82743,7 @@ var AttributeNames4 = /* @__PURE__ */ ((AttributeNames22) => {
|
|
|
82664
82743
|
return AttributeNames22;
|
|
82665
82744
|
})(AttributeNames4 || {});
|
|
82666
82745
|
|
|
82667
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
82746
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/hapi/vendored/internal-types.js
|
|
82668
82747
|
var HapiComponentName = "@hapi/hapi";
|
|
82669
82748
|
var handlerPatched = /* @__PURE__ */ Symbol("hapi-handler-patched");
|
|
82670
82749
|
var HapiLayerType = {
|
|
@@ -82682,7 +82761,7 @@ var HapiLifecycleMethodNames = /* @__PURE__ */ new Set([
|
|
|
82682
82761
|
"onRequest"
|
|
82683
82762
|
]);
|
|
82684
82763
|
|
|
82685
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
82764
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/hapi/vendored/utils.js
|
|
82686
82765
|
function getPluginName(plugin) {
|
|
82687
82766
|
if (plugin.name) {
|
|
82688
82767
|
return plugin.name;
|
|
@@ -82753,7 +82832,7 @@ var getPluginFromInput = (pluginObj) => {
|
|
|
82753
82832
|
return pluginObj;
|
|
82754
82833
|
};
|
|
82755
82834
|
|
|
82756
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
82835
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/hapi/vendored/instrumentation.js
|
|
82757
82836
|
var PACKAGE_NAME13 = "@sentry/instrumentation-hapi";
|
|
82758
82837
|
var HapiInstrumentation = class extends import_instrumentation25.InstrumentationBase {
|
|
82759
82838
|
constructor(config2 = {}) {
|
|
@@ -82997,7 +83076,7 @@ var HapiInstrumentation = class extends import_instrumentation25.Instrumentation
|
|
|
82997
83076
|
}
|
|
82998
83077
|
};
|
|
82999
83078
|
|
|
83000
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83079
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/hapi/index.js
|
|
83001
83080
|
var INTEGRATION_NAME36 = "Hapi";
|
|
83002
83081
|
var instrumentHapi = generateInstrumentOnce(INTEGRATION_NAME36, () => new HapiInstrumentation());
|
|
83003
83082
|
var _hapiIntegration = (() => {
|
|
@@ -83010,7 +83089,7 @@ var _hapiIntegration = (() => {
|
|
|
83010
83089
|
});
|
|
83011
83090
|
var hapiIntegration = defineIntegration(_hapiIntegration);
|
|
83012
83091
|
|
|
83013
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83092
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/hono/constants.js
|
|
83014
83093
|
var AttributeNames5 = {
|
|
83015
83094
|
HONO_TYPE: "hono.type",
|
|
83016
83095
|
HONO_NAME: "hono.name"
|
|
@@ -83020,7 +83099,7 @@ var HonoTypes = {
|
|
|
83020
83099
|
REQUEST_HANDLER: "request_handler"
|
|
83021
83100
|
};
|
|
83022
83101
|
|
|
83023
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83102
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/hono/instrumentation.js
|
|
83024
83103
|
init_esm();
|
|
83025
83104
|
var import_instrumentation27 = __toESM(require_src4(), 1);
|
|
83026
83105
|
var PACKAGE_NAME14 = "@sentry/instrumentation-hono";
|
|
@@ -83215,7 +83294,7 @@ var HonoInstrumentation = class extends import_instrumentation27.Instrumentation
|
|
|
83215
83294
|
}
|
|
83216
83295
|
};
|
|
83217
83296
|
|
|
83218
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83297
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/hono/index.js
|
|
83219
83298
|
var INTEGRATION_NAME37 = "Hono";
|
|
83220
83299
|
function addHonoSpanAttributes(span) {
|
|
83221
83300
|
const attributes = spanToJSON(span).data;
|
|
@@ -83259,25 +83338,25 @@ var _honoIntegration = (() => {
|
|
|
83259
83338
|
});
|
|
83260
83339
|
var honoIntegration = defineIntegration(_honoIntegration);
|
|
83261
83340
|
|
|
83262
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83341
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/koa/vendored/instrumentation.js
|
|
83263
83342
|
init_esm();
|
|
83264
83343
|
var import_instrumentation29 = __toESM(require_src4(), 1);
|
|
83265
83344
|
|
|
83266
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83345
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/koa/vendored/types.js
|
|
83267
83346
|
var KoaLayerType = /* @__PURE__ */ ((KoaLayerType2) => {
|
|
83268
83347
|
KoaLayerType2["ROUTER"] = "router";
|
|
83269
83348
|
KoaLayerType2["MIDDLEWARE"] = "middleware";
|
|
83270
83349
|
return KoaLayerType2;
|
|
83271
83350
|
})(KoaLayerType || {});
|
|
83272
83351
|
|
|
83273
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83352
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/koa/vendored/enums/AttributeNames.js
|
|
83274
83353
|
var AttributeNames6 = /* @__PURE__ */ ((AttributeNames22) => {
|
|
83275
83354
|
AttributeNames22["KOA_TYPE"] = "koa.type";
|
|
83276
83355
|
AttributeNames22["KOA_NAME"] = "koa.name";
|
|
83277
83356
|
return AttributeNames22;
|
|
83278
83357
|
})(AttributeNames6 || {});
|
|
83279
83358
|
|
|
83280
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83359
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/koa/vendored/utils.js
|
|
83281
83360
|
var getMiddlewareMetadata = (context2, layer, isRouter, layerPath) => {
|
|
83282
83361
|
if (isRouter) {
|
|
83283
83362
|
return {
|
|
@@ -83305,10 +83384,10 @@ var isLayerIgnored2 = (type, config2) => {
|
|
|
83305
83384
|
return !!(Array.isArray(config2?.ignoreLayersType) && config2?.ignoreLayersType?.includes(type));
|
|
83306
83385
|
};
|
|
83307
83386
|
|
|
83308
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83387
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/koa/vendored/internal-types.js
|
|
83309
83388
|
var kLayerPatched = /* @__PURE__ */ Symbol("koa-layer-patched");
|
|
83310
83389
|
|
|
83311
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83390
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/koa/vendored/instrumentation.js
|
|
83312
83391
|
var PACKAGE_NAME15 = "@sentry/instrumentation-koa";
|
|
83313
83392
|
var KoaInstrumentation = class extends import_instrumentation29.InstrumentationBase {
|
|
83314
83393
|
constructor(config2 = {}) {
|
|
@@ -83421,7 +83500,7 @@ var KoaInstrumentation = class extends import_instrumentation29.InstrumentationB
|
|
|
83421
83500
|
}
|
|
83422
83501
|
};
|
|
83423
83502
|
|
|
83424
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83503
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/koa/index.js
|
|
83425
83504
|
var INTEGRATION_NAME38 = "Koa";
|
|
83426
83505
|
var instrumentKoa = generateInstrumentOnce(
|
|
83427
83506
|
INTEGRATION_NAME38,
|
|
@@ -83442,7 +83521,7 @@ var _koaIntegration = ((options = {}) => {
|
|
|
83442
83521
|
});
|
|
83443
83522
|
var koaIntegration = defineIntegration(_koaIntegration);
|
|
83444
83523
|
|
|
83445
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83524
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/connect/vendored/enums/AttributeNames.js
|
|
83446
83525
|
var AttributeNames7 = /* @__PURE__ */ ((AttributeNames22) => {
|
|
83447
83526
|
AttributeNames22["CONNECT_TYPE"] = "connect.type";
|
|
83448
83527
|
AttributeNames22["CONNECT_NAME"] = "connect.name";
|
|
@@ -83454,15 +83533,15 @@ var ConnectTypes = /* @__PURE__ */ ((ConnectTypes2) => {
|
|
|
83454
83533
|
return ConnectTypes2;
|
|
83455
83534
|
})(ConnectTypes || {});
|
|
83456
83535
|
|
|
83457
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83536
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/connect/vendored/instrumentation.js
|
|
83458
83537
|
var import_instrumentation31 = __toESM(require_src4(), 1);
|
|
83459
83538
|
|
|
83460
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83539
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/connect/vendored/internal-types.js
|
|
83461
83540
|
var _LAYERS_STORE_PROPERTY = /* @__PURE__ */ Symbol(
|
|
83462
83541
|
"opentelemetry.instrumentation-connect.request-route-stack"
|
|
83463
83542
|
);
|
|
83464
83543
|
|
|
83465
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83544
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/connect/vendored/utils.js
|
|
83466
83545
|
var addNewStackLayer = (request2) => {
|
|
83467
83546
|
if (Array.isArray(request2[_LAYERS_STORE_PROPERTY]) === false) {
|
|
83468
83547
|
Object.defineProperty(request2, _LAYERS_STORE_PROPERTY, {
|
|
@@ -83489,7 +83568,7 @@ var generateRoute = (request2) => {
|
|
|
83489
83568
|
return request2[_LAYERS_STORE_PROPERTY].reduce((acc, sub) => acc.replace(/\/+$/, "") + sub);
|
|
83490
83569
|
};
|
|
83491
83570
|
|
|
83492
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83571
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/connect/vendored/instrumentation.js
|
|
83493
83572
|
var PACKAGE_NAME16 = "@sentry/instrumentation-connect";
|
|
83494
83573
|
var ANONYMOUS_NAME2 = "anonymous";
|
|
83495
83574
|
var ConnectInstrumentation = class extends import_instrumentation31.InstrumentationBase {
|
|
@@ -83616,7 +83695,7 @@ var ConnectInstrumentation = class extends import_instrumentation31.Instrumentat
|
|
|
83616
83695
|
}
|
|
83617
83696
|
};
|
|
83618
83697
|
|
|
83619
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83698
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/connect/index.js
|
|
83620
83699
|
var INTEGRATION_NAME39 = "Connect";
|
|
83621
83700
|
var instrumentConnect = generateInstrumentOnce(INTEGRATION_NAME39, () => new ConnectInstrumentation());
|
|
83622
83701
|
var _connectIntegration = (() => {
|
|
@@ -83629,15 +83708,15 @@ var _connectIntegration = (() => {
|
|
|
83629
83708
|
});
|
|
83630
83709
|
var connectIntegration = defineIntegration(_connectIntegration);
|
|
83631
83710
|
|
|
83632
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83711
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/tedious/vendored/instrumentation.js
|
|
83633
83712
|
var import_instrumentation33 = __toESM(require_src4(), 1);
|
|
83634
83713
|
import { EventEmitter as EventEmitter2 } from "events";
|
|
83635
83714
|
|
|
83636
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83715
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/tedious/vendored/semconv.js
|
|
83637
83716
|
var ATTR_DB_SQL_TABLE = "db.sql.table";
|
|
83638
83717
|
var DB_SYSTEM_VALUE_MSSQL = "mssql";
|
|
83639
83718
|
|
|
83640
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83719
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/tedious/vendored/utils.js
|
|
83641
83720
|
function getSpanName3(operation, db, sql, bulkLoadTable) {
|
|
83642
83721
|
if (operation === "execBulkLoad" && bulkLoadTable && db) {
|
|
83643
83722
|
return `${operation} ${bulkLoadTable} ${db}`;
|
|
@@ -83662,7 +83741,7 @@ var once2 = (fn) => {
|
|
|
83662
83741
|
};
|
|
83663
83742
|
};
|
|
83664
83743
|
|
|
83665
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83744
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/tedious/vendored/instrumentation.js
|
|
83666
83745
|
var PACKAGE_NAME17 = "@sentry/instrumentation-tedious";
|
|
83667
83746
|
var CURRENT_DATABASE = /* @__PURE__ */ Symbol("opentelemetry.instrumentation-tedious.current-database");
|
|
83668
83747
|
var PATCHED_METHODS = ["callProcedure", "execSql", "execSqlBatch", "execBulkLoad", "prepare", "execute"];
|
|
@@ -83806,7 +83885,7 @@ var _TediousInstrumentation = class _TediousInstrumentation2 extends import_inst
|
|
|
83806
83885
|
_TediousInstrumentation.COMPONENT = "tedious";
|
|
83807
83886
|
var TediousInstrumentation = _TediousInstrumentation;
|
|
83808
83887
|
|
|
83809
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83888
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/tedious/index.js
|
|
83810
83889
|
var INTEGRATION_NAME40 = "Tedious";
|
|
83811
83890
|
var instrumentTedious = generateInstrumentOnce(INTEGRATION_NAME40, () => new TediousInstrumentation({}));
|
|
83812
83891
|
var _tediousIntegration = (() => {
|
|
@@ -83819,7 +83898,7 @@ var _tediousIntegration = (() => {
|
|
|
83819
83898
|
});
|
|
83820
83899
|
var tediousIntegration = defineIntegration(_tediousIntegration);
|
|
83821
83900
|
|
|
83822
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
83901
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/genericPool/vendored/instrumentation.js
|
|
83823
83902
|
var import_instrumentation35 = __toESM(require_src4(), 1);
|
|
83824
83903
|
var MODULE_NAME = "generic-pool";
|
|
83825
83904
|
var PACKAGE_NAME18 = "@sentry/instrumentation-generic-pool";
|
|
@@ -83935,7 +84014,7 @@ var GenericPoolInstrumentation = class extends import_instrumentation35.Instrume
|
|
|
83935
84014
|
}
|
|
83936
84015
|
};
|
|
83937
84016
|
|
|
83938
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
84017
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/genericPool/index.js
|
|
83939
84018
|
var INTEGRATION_NAME41 = "GenericPool";
|
|
83940
84019
|
var instrumentGenericPool = generateInstrumentOnce(INTEGRATION_NAME41, () => new GenericPoolInstrumentation({}));
|
|
83941
84020
|
var _genericPoolIntegration = (() => {
|
|
@@ -83948,10 +84027,10 @@ var _genericPoolIntegration = (() => {
|
|
|
83948
84027
|
});
|
|
83949
84028
|
var genericPoolIntegration = defineIntegration(_genericPoolIntegration);
|
|
83950
84029
|
|
|
83951
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
84030
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/amqplib/vendored/instrumentation.js
|
|
83952
84031
|
var import_instrumentation37 = __toESM(require_src4(), 1);
|
|
83953
84032
|
|
|
83954
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
84033
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/amqplib/vendored/types.js
|
|
83955
84034
|
var EndOperation = /* @__PURE__ */ ((EndOperation2) => {
|
|
83956
84035
|
EndOperation2["AutoAck"] = "auto ack";
|
|
83957
84036
|
EndOperation2["Ack"] = "ack";
|
|
@@ -83965,10 +84044,10 @@ var EndOperation = /* @__PURE__ */ ((EndOperation2) => {
|
|
|
83965
84044
|
return EndOperation2;
|
|
83966
84045
|
})(EndOperation || {});
|
|
83967
84046
|
|
|
83968
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
84047
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/amqplib/vendored/utils.js
|
|
83969
84048
|
init_esm();
|
|
83970
84049
|
|
|
83971
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
84050
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/amqplib/vendored/semconv.js
|
|
83972
84051
|
var ATTR_MESSAGING_OPERATION = "messaging.operation";
|
|
83973
84052
|
var ATTR_MESSAGING_DESTINATION = "messaging.destination";
|
|
83974
84053
|
var ATTR_MESSAGING_DESTINATION_KIND = "messaging.destination_kind";
|
|
@@ -83981,7 +84060,7 @@ var ATTR_MESSAGING_CONVERSATION_ID = "messaging.conversation_id";
|
|
|
83981
84060
|
var MESSAGING_DESTINATION_KIND_VALUE_TOPIC = "topic";
|
|
83982
84061
|
var MESSAGING_OPERATION_VALUE_PROCESS = "process";
|
|
83983
84062
|
|
|
83984
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
84063
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/amqplib/vendored/utils.js
|
|
83985
84064
|
var PUBLISHER_ORIGIN = "auto.amqplib.otel.publisher";
|
|
83986
84065
|
var CONSUMER_ORIGIN2 = "auto.amqplib.otel.consumer";
|
|
83987
84066
|
var MESSAGE_STORED_SPAN = /* @__PURE__ */ Symbol("opentelemetry.amqplib.message.stored-span");
|
|
@@ -84092,7 +84171,7 @@ function startConsumeSpan(queue, msg, channel3) {
|
|
|
84092
84171
|
});
|
|
84093
84172
|
}
|
|
84094
84173
|
|
|
84095
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
84174
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/amqplib/vendored/patches.js
|
|
84096
84175
|
var CONSUME_TIMEOUT_MS = 1e3 * 60;
|
|
84097
84176
|
function endConsumerSpan(message2, isRejected, operation, requeue) {
|
|
84098
84177
|
const storedSpan = message2[MESSAGE_STORED_SPAN];
|
|
@@ -84264,7 +84343,7 @@ function getPublishPatch(original) {
|
|
|
84264
84343
|
};
|
|
84265
84344
|
}
|
|
84266
84345
|
|
|
84267
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
84346
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/amqplib/vendored/instrumentation.js
|
|
84268
84347
|
var PACKAGE_NAME19 = "@sentry/instrumentation-amqplib";
|
|
84269
84348
|
var supportedVersions3 = [">=0.5.5 <2"];
|
|
84270
84349
|
var AmqplibInstrumentation = class extends import_instrumentation37.InstrumentationBase {
|
|
@@ -84372,7 +84451,7 @@ var AmqplibInstrumentation = class extends import_instrumentation37.Instrumentat
|
|
|
84372
84451
|
}
|
|
84373
84452
|
};
|
|
84374
84453
|
|
|
84375
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
84454
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/amqplib/index.js
|
|
84376
84455
|
var INTEGRATION_NAME42 = "Amqplib";
|
|
84377
84456
|
var instrumentAmqplib = generateInstrumentOnce(INTEGRATION_NAME42, () => new AmqplibInstrumentation());
|
|
84378
84457
|
var _amqplibIntegration = (() => {
|
|
@@ -84385,10 +84464,10 @@ var _amqplibIntegration = (() => {
|
|
|
84385
84464
|
});
|
|
84386
84465
|
var amqplibIntegration = defineIntegration(_amqplibIntegration);
|
|
84387
84466
|
|
|
84388
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
84467
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/vercelai/constants.js
|
|
84389
84468
|
var INTEGRATION_NAME43 = "VercelAI";
|
|
84390
84469
|
|
|
84391
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
84470
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/vercelai/instrumentation.js
|
|
84392
84471
|
var import_instrumentation39 = __toESM(require_src4(), 1);
|
|
84393
84472
|
var SUPPORTED_VERSIONS5 = [">=3.0.0 <7"];
|
|
84394
84473
|
var INSTRUMENTED_METHODS2 = [
|
|
@@ -84555,7 +84634,7 @@ var SentryVercelAiInstrumentation = class extends import_instrumentation39.Instr
|
|
|
84555
84634
|
}
|
|
84556
84635
|
};
|
|
84557
84636
|
|
|
84558
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
84637
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/vercelai/index.js
|
|
84559
84638
|
var instrumentVercelAi = generateInstrumentOnce(INTEGRATION_NAME43, () => new SentryVercelAiInstrumentation({}));
|
|
84560
84639
|
function shouldForceIntegration(client) {
|
|
84561
84640
|
const modules = client.getIntegrationByName("Modules");
|
|
@@ -84581,7 +84660,7 @@ var _vercelAIIntegration = ((options = {}) => {
|
|
|
84581
84660
|
});
|
|
84582
84661
|
var vercelAIIntegration = defineIntegration(_vercelAIIntegration);
|
|
84583
84662
|
|
|
84584
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
84663
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/openai/instrumentation.js
|
|
84585
84664
|
var import_instrumentation41 = __toESM(require_src4(), 1);
|
|
84586
84665
|
var supportedVersions4 = [">=4.0.0 <8"];
|
|
84587
84666
|
var SentryOpenAiInstrumentation = class extends import_instrumentation41.InstrumentationBase {
|
|
@@ -84656,7 +84735,7 @@ var SentryOpenAiInstrumentation = class extends import_instrumentation41.Instrum
|
|
|
84656
84735
|
}
|
|
84657
84736
|
};
|
|
84658
84737
|
|
|
84659
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
84738
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/openai/index.js
|
|
84660
84739
|
var instrumentOpenAi = generateInstrumentOnce(
|
|
84661
84740
|
OPENAI_INTEGRATION_NAME,
|
|
84662
84741
|
(options) => new SentryOpenAiInstrumentation(options)
|
|
@@ -84671,7 +84750,7 @@ var _openAiIntegration = ((options = {}) => {
|
|
|
84671
84750
|
});
|
|
84672
84751
|
var openAIIntegration = defineIntegration(_openAiIntegration);
|
|
84673
84752
|
|
|
84674
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
84753
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/anthropic-ai/instrumentation.js
|
|
84675
84754
|
var import_instrumentation43 = __toESM(require_src4(), 1);
|
|
84676
84755
|
var supportedVersions5 = [">=0.19.2 <1.0.0"];
|
|
84677
84756
|
var SentryAnthropicAiInstrumentation = class extends import_instrumentation43.InstrumentationBase {
|
|
@@ -84738,7 +84817,7 @@ var SentryAnthropicAiInstrumentation = class extends import_instrumentation43.In
|
|
|
84738
84817
|
}
|
|
84739
84818
|
};
|
|
84740
84819
|
|
|
84741
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
84820
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/anthropic-ai/index.js
|
|
84742
84821
|
var instrumentAnthropicAi = generateInstrumentOnce(
|
|
84743
84822
|
ANTHROPIC_AI_INTEGRATION_NAME,
|
|
84744
84823
|
(options) => new SentryAnthropicAiInstrumentation(options)
|
|
@@ -84754,7 +84833,7 @@ var _anthropicAIIntegration = ((options = {}) => {
|
|
|
84754
84833
|
});
|
|
84755
84834
|
var anthropicAIIntegration = defineIntegration(_anthropicAIIntegration);
|
|
84756
84835
|
|
|
84757
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
84836
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/google-genai/instrumentation.js
|
|
84758
84837
|
var import_instrumentation45 = __toESM(require_src4(), 1);
|
|
84759
84838
|
var supportedVersions6 = [">=0.10.0 <2"];
|
|
84760
84839
|
var SentryGoogleGenAiInstrumentation = class extends import_instrumentation45.InstrumentationBase {
|
|
@@ -84816,7 +84895,7 @@ var SentryGoogleGenAiInstrumentation = class extends import_instrumentation45.In
|
|
|
84816
84895
|
}
|
|
84817
84896
|
};
|
|
84818
84897
|
|
|
84819
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
84898
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/google-genai/index.js
|
|
84820
84899
|
var instrumentGoogleGenAI = generateInstrumentOnce(
|
|
84821
84900
|
GOOGLE_GENAI_INTEGRATION_NAME,
|
|
84822
84901
|
(options) => new SentryGoogleGenAiInstrumentation(options)
|
|
@@ -84831,7 +84910,7 @@ var _googleGenAIIntegration = ((options = {}) => {
|
|
|
84831
84910
|
});
|
|
84832
84911
|
var googleGenAIIntegration = defineIntegration(_googleGenAIIntegration);
|
|
84833
84912
|
|
|
84834
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
84913
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/langchain/instrumentation.js
|
|
84835
84914
|
var import_instrumentation47 = __toESM(require_src4(), 1);
|
|
84836
84915
|
var supportedVersions7 = [">=0.1.0 <2.0.0"];
|
|
84837
84916
|
function wrapRunnableMethod(originalMethod, sentryHandler, _methodName) {
|
|
@@ -84986,7 +85065,7 @@ var SentryLangChainInstrumentation = class extends import_instrumentation47.Inst
|
|
|
84986
85065
|
}
|
|
84987
85066
|
};
|
|
84988
85067
|
|
|
84989
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
85068
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/langchain/index.js
|
|
84990
85069
|
var instrumentLangChain = generateInstrumentOnce(
|
|
84991
85070
|
LANGCHAIN_INTEGRATION_NAME,
|
|
84992
85071
|
(options) => new SentryLangChainInstrumentation(options)
|
|
@@ -85001,7 +85080,7 @@ var _langChainIntegration = ((options = {}) => {
|
|
|
85001
85080
|
});
|
|
85002
85081
|
var langChainIntegration = defineIntegration(_langChainIntegration);
|
|
85003
85082
|
|
|
85004
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
85083
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/langgraph/instrumentation.js
|
|
85005
85084
|
var import_instrumentation49 = __toESM(require_src4(), 1);
|
|
85006
85085
|
var supportedVersions8 = [">=0.0.0 <2.0.0"];
|
|
85007
85086
|
var SentryLangGraphInstrumentation = class extends import_instrumentation49.InstrumentationBase {
|
|
@@ -85091,7 +85170,7 @@ var SentryLangGraphInstrumentation = class extends import_instrumentation49.Inst
|
|
|
85091
85170
|
}
|
|
85092
85171
|
};
|
|
85093
85172
|
|
|
85094
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
85173
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/langgraph/index.js
|
|
85095
85174
|
var instrumentLangGraph2 = generateInstrumentOnce(
|
|
85096
85175
|
LANGGRAPH_INTEGRATION_NAME,
|
|
85097
85176
|
(options) => new SentryLangGraphInstrumentation(options)
|
|
@@ -85106,10 +85185,10 @@ var _langGraphIntegration = ((options = {}) => {
|
|
|
85106
85185
|
});
|
|
85107
85186
|
var langGraphIntegration = defineIntegration(_langGraphIntegration);
|
|
85108
85187
|
|
|
85109
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
85188
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/firebase/otel/firebaseInstrumentation.js
|
|
85110
85189
|
var import_instrumentation53 = __toESM(require_src4(), 1);
|
|
85111
85190
|
|
|
85112
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
85191
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/firebase/otel/patches/firestore.js
|
|
85113
85192
|
var import_instrumentation51 = __toESM(require_src4(), 1);
|
|
85114
85193
|
import * as net2 from "node:net";
|
|
85115
85194
|
function patchFirestore(firestoreSupportedVersions2, wrap, unwrap) {
|
|
@@ -85256,7 +85335,7 @@ function buildAttributes(reference) {
|
|
|
85256
85335
|
return attributes;
|
|
85257
85336
|
}
|
|
85258
85337
|
|
|
85259
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
85338
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/firebase/otel/patches/functions.js
|
|
85260
85339
|
var import_instrumentation52 = __toESM(require_src4(), 1);
|
|
85261
85340
|
function patchFunctions(functionsSupportedVersions2, wrap, unwrap) {
|
|
85262
85341
|
const moduleFunctionsCJS = new import_instrumentation52.InstrumentationNodeModuleDefinition("firebase-functions", functionsSupportedVersions2);
|
|
@@ -85390,7 +85469,7 @@ function unwrapCommonFunctions(moduleExports, unwrap) {
|
|
|
85390
85469
|
return moduleExports;
|
|
85391
85470
|
}
|
|
85392
85471
|
|
|
85393
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
85472
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/firebase/otel/firebaseInstrumentation.js
|
|
85394
85473
|
var firestoreSupportedVersions = [">=3.0.0 <5"];
|
|
85395
85474
|
var functionsSupportedVersions = [">=6.0.0 <7"];
|
|
85396
85475
|
var FirebaseInstrumentation = class extends import_instrumentation53.InstrumentationBase {
|
|
@@ -85410,7 +85489,7 @@ var FirebaseInstrumentation = class extends import_instrumentation53.Instrumenta
|
|
|
85410
85489
|
}
|
|
85411
85490
|
};
|
|
85412
85491
|
|
|
85413
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
85492
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/firebase/firebase.js
|
|
85414
85493
|
var INTEGRATION_NAME44 = "Firebase";
|
|
85415
85494
|
var instrumentFirebase = generateInstrumentOnce(INTEGRATION_NAME44, () => new FirebaseInstrumentation());
|
|
85416
85495
|
var _firebaseIntegration = (() => {
|
|
@@ -85423,7 +85502,7 @@ var _firebaseIntegration = (() => {
|
|
|
85423
85502
|
});
|
|
85424
85503
|
var firebaseIntegration = defineIntegration(_firebaseIntegration);
|
|
85425
85504
|
|
|
85426
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
85505
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/integrations/tracing/index.js
|
|
85427
85506
|
function getAutoPerformanceIntegrations() {
|
|
85428
85507
|
return [
|
|
85429
85508
|
expressIntegration(),
|
|
@@ -85459,7 +85538,7 @@ function getAutoPerformanceIntegrations() {
|
|
|
85459
85538
|
];
|
|
85460
85539
|
}
|
|
85461
85540
|
|
|
85462
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
85541
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/sdk/initOtel.js
|
|
85463
85542
|
init_esm();
|
|
85464
85543
|
var import_sdk_trace_base2 = __toESM(require_index_shim(), 1);
|
|
85465
85544
|
var MAX_MAX_SPAN_WAIT_DURATION = 1e6;
|
|
@@ -85564,7 +85643,7 @@ function _clampSpanProcessorTimeout(maxSpanWaitDuration) {
|
|
|
85564
85643
|
return maxSpanWaitDuration;
|
|
85565
85644
|
}
|
|
85566
85645
|
|
|
85567
|
-
// ../../node_modules/.pnpm/@sentry+node@10.
|
|
85646
|
+
// ../../node_modules/.pnpm/@sentry+node@10.75.1_@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1_/node_modules/@sentry/node/build/esm/sdk/index.js
|
|
85568
85647
|
function getDefaultIntegrationsWithoutPerformance() {
|
|
85569
85648
|
const nodeCoreIntegrations = getDefaultIntegrations();
|
|
85570
85649
|
return nodeCoreIntegrations.filter((integration) => integration.name !== "Http" && integration.name !== "NodeFetch").concat(httpIntegration2(), nativeNodeFetchIntegration2());
|
|
@@ -86050,7 +86129,7 @@ import { createHmac } from "node:crypto";
|
|
|
86050
86129
|
// ../../apps/syncservice/src/http.ts
|
|
86051
86130
|
var import_undici = __toESM(require_undici(), 1);
|
|
86052
86131
|
var CLI_VERSION_HEADER = "x-powerplant-cli-version";
|
|
86053
|
-
var cliVersion = true ? "0.4.
|
|
86132
|
+
var cliVersion = true ? "0.4.16" : "0.0.0-checkout";
|
|
86054
86133
|
function cliVersionHeaders() {
|
|
86055
86134
|
return { [CLI_VERSION_HEADER]: cliVersion, "user-agent": `powerplant-cli/${cliVersion}` };
|
|
86056
86135
|
}
|
|
@@ -86756,6 +86835,17 @@ function describeStoredCapture(credentials) {
|
|
|
86756
86835
|
repoOf: () => null
|
|
86757
86836
|
});
|
|
86758
86837
|
}
|
|
86838
|
+
function describeStoredCaptureSummary(credentials) {
|
|
86839
|
+
const repos = credentials.allowedRepos;
|
|
86840
|
+
const otherWorkspaces = (credentials.workspacePolicies?.length ?? 0) > 1;
|
|
86841
|
+
if (credentials.captureMode === "org-repos" && repos && repos.length > 0 && !credentials.scopePaths?.length && !otherWorkspaces) {
|
|
86842
|
+
const names = repos.slice(0, 3);
|
|
86843
|
+
if (repos.length > 3) names.push(`${repos.length - 3} ${repos.length === 4 ? "other" : "others"}`);
|
|
86844
|
+
const list = names.length < 2 ? names[0] : names.length === 2 ? names.join(" and ") : `${names.slice(0, -1).join(", ")}, and ${names.at(-1)}`;
|
|
86845
|
+
return `Only syncing ${list}`;
|
|
86846
|
+
}
|
|
86847
|
+
return `Syncing: ${describeStoredCapture(credentials)}`;
|
|
86848
|
+
}
|
|
86759
86849
|
function countCaptureSkip(skips, reason) {
|
|
86760
86850
|
if (reason === "outside-policy") skips.skippedOutOfScope += 1;
|
|
86761
86851
|
else skips.skippedNoRepo += 1;
|
|
@@ -93643,7 +93733,7 @@ import { accessSync, constants as constants2, readFileSync as readFileSync14 } f
|
|
|
93643
93733
|
import path27 from "node:path";
|
|
93644
93734
|
|
|
93645
93735
|
// src/version.ts
|
|
93646
|
-
var CLI_VERSION = true ? "0.4.
|
|
93736
|
+
var CLI_VERSION = true ? "0.4.16" : "0.0.0-checkout";
|
|
93647
93737
|
var CLI_RELEASE_BUILD = true ? true : false;
|
|
93648
93738
|
var CLI_PACKAGE_NAME = "@usepowerplant/cli";
|
|
93649
93739
|
|
|
@@ -94596,19 +94686,36 @@ async function realPromptLine(question) {
|
|
|
94596
94686
|
import path29 from "node:path";
|
|
94597
94687
|
var MENU_CONTRACT = 1;
|
|
94598
94688
|
var CLIENT_NAMES = { claude: "Claude Code", codex: "Codex", cursor: "Cursor" };
|
|
94689
|
+
function encodeMenuPayload(payload) {
|
|
94690
|
+
const encodeItems = (items) => items.flatMap((item) => {
|
|
94691
|
+
if (item.type === "submenu") return [{ ...item, items: encodeItems(item.items) }];
|
|
94692
|
+
if ((item.type === "status" || item.type === "connection") && item.action) {
|
|
94693
|
+
const { action, ...presentation } = item;
|
|
94694
|
+
return [presentation, { ...action, presentation }];
|
|
94695
|
+
}
|
|
94696
|
+
return [item];
|
|
94697
|
+
});
|
|
94698
|
+
const cliUpdate = payload.cliUpdate && {
|
|
94699
|
+
...payload.cliUpdate,
|
|
94700
|
+
startIndex: encodeItems(payload.items.slice(0, payload.cliUpdate.startIndex)).length,
|
|
94701
|
+
itemCount: encodeItems(payload.items.slice(payload.cliUpdate.startIndex, payload.cliUpdate.startIndex + payload.cliUpdate.itemCount)).length
|
|
94702
|
+
};
|
|
94703
|
+
return JSON.stringify({ ...payload, cliUpdate, items: encodeItems(payload.items), more: encodeItems(payload.more) });
|
|
94704
|
+
}
|
|
94599
94705
|
function renderMenu(i) {
|
|
94600
94706
|
const envArgs = i.config.appEnv === "production" ? [] : ["--env", i.config.appEnv];
|
|
94601
94707
|
let attention = false;
|
|
94602
|
-
const problem = (title, subtitle) => {
|
|
94708
|
+
const problem = (title, subtitle, action) => {
|
|
94603
94709
|
attention = true;
|
|
94604
|
-
return { type: "status", mark: "problem", title, ...subtitle !== void 0 && { subtitle } };
|
|
94710
|
+
return { type: "status", mark: "problem", title, ...subtitle !== void 0 && { subtitle }, ...action && { action } };
|
|
94605
94711
|
};
|
|
94606
94712
|
const items = [];
|
|
94607
94713
|
const more = [];
|
|
94608
94714
|
if (i.connections.length > 0) {
|
|
94609
|
-
|
|
94715
|
+
const secondaryConnections = [];
|
|
94610
94716
|
for (const connection of i.connections) {
|
|
94611
94717
|
const { row, action, warns } = connectionRow(connection, envArgs);
|
|
94718
|
+
const actionableRow = { ...row, ...action && { action } };
|
|
94612
94719
|
const preference = i.mcpPreferences?.clients[connection.client];
|
|
94613
94720
|
const eligible = warns && (connection.state !== "not-connected" || preference?.optedIn === true);
|
|
94614
94721
|
const visible = eligible && preference?.dismissedWarning !== connection.state;
|
|
@@ -94619,14 +94726,13 @@ function renderMenu(i) {
|
|
|
94619
94726
|
} : void 0;
|
|
94620
94727
|
if (visible) {
|
|
94621
94728
|
attention = true;
|
|
94622
|
-
items.push({ ...
|
|
94623
|
-
if (action) items.push(action);
|
|
94729
|
+
items.push({ ...actionableRow, ...dismiss && { dismiss } });
|
|
94624
94730
|
}
|
|
94625
|
-
|
|
94626
|
-
|
|
94627
|
-
|
|
94731
|
+
if (!visible) secondaryConnections.push(warns ? { ...actionableRow, mark: "muted" } : actionableRow);
|
|
94732
|
+
}
|
|
94733
|
+
if (secondaryConnections.length > 0) {
|
|
94734
|
+
more.push({ type: "section", title: "Agents authorized for MCP" }, ...secondaryConnections, { type: "separator" });
|
|
94628
94735
|
}
|
|
94629
|
-
more.push({ type: "separator" });
|
|
94630
94736
|
}
|
|
94631
94737
|
if (items.length > 0) items.push({ type: "separator" });
|
|
94632
94738
|
const progress = updateProgressView(i.update.progress, i.cliVersion, i.now);
|
|
@@ -94646,34 +94752,22 @@ function renderMenu(i) {
|
|
|
94646
94752
|
items.push({ type: "separator" });
|
|
94647
94753
|
}
|
|
94648
94754
|
if (i.serviceUpgradeError !== void 0) {
|
|
94649
|
-
items.push(problem("Background sync couldn't be upgraded", i.serviceUpgradeError));
|
|
94650
|
-
items.push({ type: "action", title: "Restart background sync\u2026", terminal: ["restart", ...envArgs] });
|
|
94755
|
+
items.push(problem("Background sync couldn't be upgraded", i.serviceUpgradeError, { type: "action", title: "Restart background sync\u2026", terminal: ["restart", ...envArgs] }));
|
|
94651
94756
|
items.push({ type: "separator" });
|
|
94652
94757
|
}
|
|
94653
94758
|
if (i.mcpPreferencesError !== void 0) {
|
|
94654
|
-
items.push(problem("MCP choices can't be read", "Restore or remove the preferences file."));
|
|
94655
|
-
items.push({ type: "action", title: "Copy MCP repair details", copy: i.mcpPreferencesError });
|
|
94759
|
+
items.push(problem("MCP choices can't be read", "Restore or remove the preferences file.", { type: "action", title: "Copy MCP repair details", copy: i.mcpPreferencesError }));
|
|
94656
94760
|
items.push({ type: "separator" });
|
|
94657
94761
|
}
|
|
94658
94762
|
if (i.hookPreferencesError !== void 0) {
|
|
94659
|
-
items.push(problem("Hook warning preference can't be read", "Restore or remove the preferences file."));
|
|
94660
|
-
items.push({ type: "action", title: "Copy hook preference repair details", copy: i.hookPreferencesError });
|
|
94763
|
+
items.push(problem("Hook warning preference can't be read", "Restore or remove the preferences file.", { type: "action", title: "Copy hook preference repair details", copy: i.hookPreferencesError }));
|
|
94661
94764
|
items.push({ type: "separator" });
|
|
94662
94765
|
}
|
|
94663
94766
|
if (i.credentialsError !== void 0) {
|
|
94664
|
-
items.push(problem("Stored enrollment can't be read", i.credentialsError));
|
|
94665
|
-
items.push({ type: "action", title: "Enroll Again\u2026", terminal: ["init", ...envArgs] });
|
|
94767
|
+
items.push(problem("Stored enrollment can't be read", i.credentialsError, { type: "action", title: "Enroll Again\u2026", terminal: ["init", ...envArgs] }));
|
|
94666
94768
|
} else if (i.credentials === null) {
|
|
94667
|
-
items.push(problem("This machine isn't enrolled", "Nothing uploads until it is."));
|
|
94668
|
-
items.push({ type: "action", title: "Enroll\u2026", terminal: ["init", ...envArgs] });
|
|
94769
|
+
items.push(problem("This machine isn't enrolled", "Nothing uploads until it is.", { type: "action", title: "Enroll\u2026", terminal: ["init", ...envArgs] }));
|
|
94669
94770
|
} else {
|
|
94670
|
-
items.push({
|
|
94671
|
-
type: "header",
|
|
94672
|
-
title: i.credentials.orgName ?? i.credentials.machineName,
|
|
94673
|
-
...i.credentials.orgName !== void 0 && { subtitle: i.credentials.machineName },
|
|
94674
|
-
trailing: "Enrolled"
|
|
94675
|
-
});
|
|
94676
|
-
items.push({ type: "separator" });
|
|
94677
94771
|
items.push(...collectorBlock(i, envArgs, problem, (title, subtitle, dismiss) => {
|
|
94678
94772
|
attention = true;
|
|
94679
94773
|
return { type: "status", mark: "warn", title, subtitle, ...dismiss && { dismiss } };
|
|
@@ -94707,8 +94801,8 @@ function renderMenu(i) {
|
|
|
94707
94801
|
}
|
|
94708
94802
|
items.push({ type: "separator" });
|
|
94709
94803
|
items.push({ type: "action", title: "Open Powerplant", url: i.config.webUrl });
|
|
94710
|
-
if (i.credentials !== null && i.service === "loaded"
|
|
94711
|
-
items.push({ type: "action", title: "
|
|
94804
|
+
if (i.credentials !== null && (i.service === "loaded" || i.control.paused)) {
|
|
94805
|
+
items.push(i.control.paused ? { type: "action", title: "Resume syncing", badge: "paused", run: ["resume", ...envArgs] } : { type: "action", title: "Pause sync", run: ["pause", ...envArgs] });
|
|
94712
94806
|
}
|
|
94713
94807
|
const icon = attention ? "attention" : i.control.paused ? "paused" : "running";
|
|
94714
94808
|
return {
|
|
@@ -94771,10 +94865,13 @@ function collectorBlock(i, envArgs, problem, warning2, more) {
|
|
|
94771
94865
|
};
|
|
94772
94866
|
switch (i.service) {
|
|
94773
94867
|
case "unavailable":
|
|
94868
|
+
if (i.config.appEnv === "production") more.push(viewLog);
|
|
94774
94869
|
return [
|
|
94775
|
-
problem(
|
|
94776
|
-
|
|
94777
|
-
|
|
94870
|
+
problem(
|
|
94871
|
+
"Background sync status can't be read",
|
|
94872
|
+
i.serviceError,
|
|
94873
|
+
{ type: "action", title: "Check background sync", terminal: ["doctor", ...envArgs] }
|
|
94874
|
+
)
|
|
94778
94875
|
];
|
|
94779
94876
|
case "unsupported":
|
|
94780
94877
|
return [
|
|
@@ -94787,13 +94884,11 @@ function collectorBlock(i, envArgs, problem, warning2, more) {
|
|
|
94787
94884
|
];
|
|
94788
94885
|
case "not-installed":
|
|
94789
94886
|
return [
|
|
94790
|
-
problem("Not uploading, the background sync isn't set up")
|
|
94791
|
-
{ type: "action", title: "Set up background sync\u2026", terminal: ["init", ...envArgs] }
|
|
94887
|
+
problem("Not uploading, the background sync isn't set up", void 0, { type: "action", title: "Set up background sync\u2026", terminal: ["init", ...envArgs] })
|
|
94792
94888
|
];
|
|
94793
94889
|
case "not-loaded":
|
|
94794
94890
|
return [
|
|
94795
|
-
problem("Not uploading, the background sync is stopped")
|
|
94796
|
-
{ type: "action", title: "Start background sync", run: ["restart", ...envArgs] }
|
|
94891
|
+
problem("Not uploading, the background sync is stopped", void 0, { type: "action", title: "Start background sync", run: ["restart", ...envArgs] })
|
|
94797
94892
|
];
|
|
94798
94893
|
case "loaded":
|
|
94799
94894
|
break;
|
|
@@ -94803,25 +94898,25 @@ function collectorBlock(i, envArgs, problem, warning2, more) {
|
|
|
94803
94898
|
return [
|
|
94804
94899
|
problem(
|
|
94805
94900
|
"Background sync status can't be read",
|
|
94806
|
-
"Its report was written by a different version, restarting usually clears this."
|
|
94807
|
-
|
|
94808
|
-
|
|
94901
|
+
"Its report was written by a different version, restarting usually clears this.",
|
|
94902
|
+
restart
|
|
94903
|
+
)
|
|
94809
94904
|
];
|
|
94810
94905
|
case "not-running":
|
|
94811
94906
|
return [
|
|
94812
94907
|
problem(
|
|
94813
94908
|
"Not uploading, the background sync isn't running",
|
|
94814
|
-
"It may be starting up. If this lasts, restart it."
|
|
94815
|
-
|
|
94816
|
-
|
|
94909
|
+
"It may be starting up. If this lasts, restart it.",
|
|
94910
|
+
restart
|
|
94911
|
+
)
|
|
94817
94912
|
];
|
|
94818
94913
|
case "stalled":
|
|
94819
94914
|
return [
|
|
94820
94915
|
problem(
|
|
94821
94916
|
`Background sync quiet for ${duration3(i.daemon.staleMs)}, it may be stuck`,
|
|
94822
|
-
lastUploadLine(i)
|
|
94823
|
-
|
|
94824
|
-
|
|
94917
|
+
lastUploadLine(i),
|
|
94918
|
+
restart
|
|
94919
|
+
)
|
|
94825
94920
|
];
|
|
94826
94921
|
case "running":
|
|
94827
94922
|
break;
|
|
@@ -94848,32 +94943,34 @@ function collectorBlock(i, envArgs, problem, warning2, more) {
|
|
|
94848
94943
|
return [warning2(title, subtitle, dismiss)];
|
|
94849
94944
|
});
|
|
94850
94945
|
if (i.control.paused) {
|
|
94851
|
-
return [
|
|
94852
|
-
{
|
|
94853
|
-
type: "status",
|
|
94854
|
-
mark: "paused",
|
|
94855
|
-
title: "Syncing paused",
|
|
94856
|
-
subtitle: "The background sync is running but uploads nothing."
|
|
94857
|
-
},
|
|
94858
|
-
{ type: "action", title: "Resume syncing", run: ["resume", ...envArgs] },
|
|
94859
|
-
...silentHooks
|
|
94860
|
-
];
|
|
94946
|
+
return [syncHeader(i), ...silentHooks];
|
|
94861
94947
|
}
|
|
94862
94948
|
if (status.lastPass && !status.lastPass.ok) {
|
|
94949
|
+
if (i.config.appEnv === "production") more.push(viewLog);
|
|
94863
94950
|
const tries = `${status.consecutiveFailures} failed ${status.consecutiveFailures === 1 ? "try" : "tries"}`;
|
|
94864
94951
|
return [
|
|
94865
|
-
problem("Uploads are failing", `${lastUploadLine(i)} \xB7 ${tries}
|
|
94866
|
-
{ type: "status", mark: "muted", title: status.lastPass.error ?? "unknown error" },
|
|
94867
|
-
restart,
|
|
94868
|
-
viewLog,
|
|
94952
|
+
problem("Uploads are failing", `${lastUploadLine(i)} \xB7 ${tries}. ${status.lastPass.error ?? "Unknown error"}`, restart),
|
|
94869
94953
|
...silentHooks
|
|
94870
94954
|
];
|
|
94871
94955
|
}
|
|
94872
94956
|
return [
|
|
94873
|
-
|
|
94957
|
+
syncHeader(i),
|
|
94874
94958
|
...silentHooks
|
|
94875
94959
|
];
|
|
94876
94960
|
}
|
|
94961
|
+
function syncHeader(i) {
|
|
94962
|
+
const org = i.credentials?.orgName;
|
|
94963
|
+
const title = `${i.control.paused ? "Sessions" : "Syncing sessions"}${org ? ` for ${org}` : ""}`;
|
|
94964
|
+
const details = [];
|
|
94965
|
+
if (i.credentials && (i.credentials.captureMode === "scope" || i.credentials.allowedRepos !== void 0 || i.credentials.scopePaths?.length || (i.credentials.workspacePolicies?.length ?? 0) > 1 || !i.credentials.allowedOwners?.length)) {
|
|
94966
|
+
details.push(describeStoredCaptureSummary(i.credentials));
|
|
94967
|
+
}
|
|
94968
|
+
const lastSyncAt = "status" in i.daemon ? i.daemon.status.lastSyncAt : void 0;
|
|
94969
|
+
if (!i.control.paused && (lastSyncAt === void 0 || i.now - Date.parse(lastSyncAt) > 36e5)) {
|
|
94970
|
+
details.push(lastUploadLine(i));
|
|
94971
|
+
}
|
|
94972
|
+
return { type: "header", title, ...details.length > 0 && { subtitle: details.join(" \xB7 ") } };
|
|
94973
|
+
}
|
|
94877
94974
|
var AGENT_TITLE_MAX = 48;
|
|
94878
94975
|
function recentAgentItems(i) {
|
|
94879
94976
|
if (i.memberSessions === null) return null;
|
|
@@ -94993,7 +95090,7 @@ function moreItems(i) {
|
|
|
94993
95090
|
...subtitle !== void 0 && { subtitle }
|
|
94994
95091
|
});
|
|
94995
95092
|
const details = [
|
|
94996
|
-
muted(
|
|
95093
|
+
muted(describeStoredCaptureSummary(i.credentials)),
|
|
94997
95094
|
muted(`Machine "${i.credentials.machineName}"`, i.credentials.machineId),
|
|
94998
95095
|
muted(`Enrolled ${i.credentials.enrolledAt.slice(0, 10)}`),
|
|
94999
95096
|
muted(`${parseReleaseVersion(i.cliVersion) === null ? "Development CLI" : "CLI"} ${i.cliVersion}`, daemonVersionNote(i))
|
|
@@ -95019,16 +95116,6 @@ function moreItems(i) {
|
|
|
95019
95116
|
}
|
|
95020
95117
|
return more;
|
|
95021
95118
|
}
|
|
95022
|
-
function captureLine(credentials) {
|
|
95023
|
-
switch (credentials.captureMode) {
|
|
95024
|
-
case "scope":
|
|
95025
|
-
return `Syncs sessions under ${(credentials.scopePaths ?? []).join(", ")}`;
|
|
95026
|
-
case "org-repos": {
|
|
95027
|
-
const owners = credentials.allowedOwners ?? [];
|
|
95028
|
-
return owners.length > 0 ? `Syncs sessions in ${owners.join(", ")} repositories` : "Set to sync your organization's repositories, but none are linked yet, nothing uploads";
|
|
95029
|
-
}
|
|
95030
|
-
}
|
|
95031
|
-
}
|
|
95032
95119
|
function daemonVersionNote(i) {
|
|
95033
95120
|
if (!("status" in i.daemon)) return void 0;
|
|
95034
95121
|
const version2 = i.daemon.status.version;
|
|
@@ -95291,7 +95378,7 @@ function renderStatus(i) {
|
|
|
95291
95378
|
lines.push(
|
|
95292
95379
|
`Enrolled as "${i.credentials.machineName}" (${i.credentials.machineId})${orgLine} on ${i.credentials.enrolledAt}.`
|
|
95293
95380
|
);
|
|
95294
|
-
lines.push(
|
|
95381
|
+
lines.push(`${describeStoredCaptureSummary(i.credentials)}.`);
|
|
95295
95382
|
for (const entry of i.protectedSessions ?? []) {
|
|
95296
95383
|
const sessions = `${entry.sessionCount} recent agent session${entry.sessionCount === 1 ? "" : "s"}`;
|
|
95297
95384
|
lines.push(
|
|
@@ -96442,7 +96529,7 @@ The access you granted these agents stays on your Powerplant account until you r
|
|
|
96442
96529
|
update: { inPlace: inspectThisInstall().inPlace.ok, progress: updateProgress.read() },
|
|
96443
96530
|
now: Date.now()
|
|
96444
96531
|
});
|
|
96445
|
-
console.log(
|
|
96532
|
+
console.log(encodeMenuPayload(payload));
|
|
96446
96533
|
return;
|
|
96447
96534
|
}
|
|
96448
96535
|
case "report-agent-click": {
|
|
@@ -96794,4 +96881,4 @@ undici/lib/web/websocket/frame.js:
|
|
|
96794
96881
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
96795
96882
|
*/
|
|
96796
96883
|
|
|
96797
|
-
//# debugId=
|
|
96884
|
+
//# debugId=a92f42e6-9089-5a40-a0d5-9a54ec03eb8e
|