@sentry/mcp-server 0.9.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/README.md +1 -1
  2. package/dist/api-client/client.cjs +2 -2
  3. package/dist/api-client/client.d.cts +3 -3
  4. package/dist/api-client/client.d.ts +3 -3
  5. package/dist/api-client/client.js +2 -2
  6. package/dist/api-client/client.test.cjs +2 -2
  7. package/dist/api-client/client.test.js +2 -2
  8. package/dist/api-client/index.cjs +2 -2
  9. package/dist/api-client/index.d.cts +3 -3
  10. package/dist/api-client/index.d.ts +3 -3
  11. package/dist/api-client/index.js +2 -2
  12. package/dist/api-client/schema.cjs +1 -1
  13. package/dist/api-client/schema.d.cts +1 -1
  14. package/dist/api-client/schema.d.ts +1 -1
  15. package/dist/api-client/schema.js +1 -1
  16. package/dist/api-client/types.d.cts +2 -2
  17. package/dist/api-client/types.d.ts +2 -2
  18. package/dist/{client-DQ837FXP.cjs → client-B4Ux5Zdg.cjs} +7 -4
  19. package/dist/client-B4Ux5Zdg.cjs.map +1 -0
  20. package/dist/{client-CTm4cvI7.js → client-Bz_PNC8o.js} +7 -4
  21. package/dist/client-Bz_PNC8o.js.map +1 -0
  22. package/dist/{client-1dRfG57H.d.ts → client-J6VSRmQS.d.ts} +5 -3
  23. package/dist/client-J6VSRmQS.d.ts.map +1 -0
  24. package/dist/{client-BsYOQsEI.d.cts → client-tE6FD__9.d.cts} +5 -3
  25. package/dist/client-tE6FD__9.d.cts.map +1 -0
  26. package/dist/{formatting-C-0bHtbh.cjs → formatting-B0SJqiqX.cjs} +11 -3
  27. package/dist/formatting-B0SJqiqX.cjs.map +1 -0
  28. package/dist/{formatting-BQRAzO5v.js → formatting-ggD6YRYR.js} +11 -3
  29. package/dist/formatting-ggD6YRYR.js.map +1 -0
  30. package/dist/index.cjs +11 -11
  31. package/dist/index.js +11 -11
  32. package/dist/internal/formatting.cjs +1 -1
  33. package/dist/internal/formatting.d.cts +3 -3
  34. package/dist/internal/formatting.d.cts.map +1 -1
  35. package/dist/internal/formatting.d.ts +3 -3
  36. package/dist/internal/formatting.d.ts.map +1 -1
  37. package/dist/internal/formatting.js +1 -1
  38. package/dist/internal/issue-helpers.test.cjs +2 -2
  39. package/dist/internal/issue-helpers.test.cjs.map +1 -1
  40. package/dist/internal/issue-helpers.test.js +2 -2
  41. package/dist/internal/issue-helpers.test.js.map +1 -1
  42. package/dist/{promptDefinitions-Dcz3d9wL.d.cts → promptDefinitions-BR7PxWcH.d.cts} +3 -3
  43. package/dist/promptDefinitions-BR7PxWcH.d.cts.map +1 -0
  44. package/dist/{promptDefinitions-CPTadtuI.js → promptDefinitions-DBNOeSg-.js} +5 -5
  45. package/dist/promptDefinitions-DBNOeSg-.js.map +1 -0
  46. package/dist/{promptDefinitions-5jiZMBg5.cjs → promptDefinitions-pHRpPOpJ.cjs} +5 -5
  47. package/dist/promptDefinitions-pHRpPOpJ.cjs.map +1 -0
  48. package/dist/{promptDefinitions-DrGK-v8n.d.ts → promptDefinitions-tpKruPny.d.ts} +3 -3
  49. package/dist/promptDefinitions-tpKruPny.d.ts.map +1 -0
  50. package/dist/promptDefinitions.cjs +2 -2
  51. package/dist/promptDefinitions.d.cts +1 -1
  52. package/dist/promptDefinitions.d.ts +1 -1
  53. package/dist/promptDefinitions.js +2 -2
  54. package/dist/prompts.d.cts +5 -5
  55. package/dist/prompts.d.ts +5 -5
  56. package/dist/{schema-KEMqYaQn.cjs → schema-3VLYcf4D.cjs} +9 -2
  57. package/dist/schema-3VLYcf4D.cjs.map +1 -0
  58. package/dist/{schema-DwPOkoSP.d.ts → schema-B7A-FyIi.d.ts} +341 -263
  59. package/dist/{schema-DwPOkoSP.d.ts.map → schema-B7A-FyIi.d.ts.map} +1 -1
  60. package/dist/schema-BKa41TQ4.js +17 -0
  61. package/dist/schema-BKa41TQ4.js.map +1 -0
  62. package/dist/{schema-nyYqVk4Y.js → schema-Dltbjui7.js} +9 -2
  63. package/dist/schema-Dltbjui7.js.map +1 -0
  64. package/dist/{schema-CaJV2aIO.d.cts → schema-PvgLrC1b.d.cts} +339 -261
  65. package/dist/{schema-CaJV2aIO.d.cts.map → schema-PvgLrC1b.d.cts.map} +1 -1
  66. package/dist/schema-jk88gqOu.cjs +78 -0
  67. package/dist/schema-jk88gqOu.cjs.map +1 -0
  68. package/dist/schema.cjs +3 -1
  69. package/dist/schema.d.cts +3 -1
  70. package/dist/schema.d.cts.map +1 -1
  71. package/dist/schema.d.ts +3 -1
  72. package/dist/schema.d.ts.map +1 -1
  73. package/dist/schema.js +2 -2
  74. package/dist/{server-BWoJZj5B.cjs → server-VwFSUPQn.cjs} +5 -5
  75. package/dist/{server-BWoJZj5B.cjs.map → server-VwFSUPQn.cjs.map} +1 -1
  76. package/dist/{server-DtNbD1c-.js → server-yb4PkNyo.js} +5 -5
  77. package/dist/{server-DtNbD1c-.js.map → server-yb4PkNyo.js.map} +1 -1
  78. package/dist/server.cjs +8 -8
  79. package/dist/server.d.cts +3 -3
  80. package/dist/server.d.ts +3 -3
  81. package/dist/server.js +8 -8
  82. package/dist/{stdio-BLzMxGqU.cjs → stdio-65sYKLOk.cjs} +2 -2
  83. package/dist/{stdio-BLzMxGqU.cjs.map → stdio-65sYKLOk.cjs.map} +1 -1
  84. package/dist/{stdio-D4oW-qT6.js → stdio-DkU2-spy.js} +2 -2
  85. package/dist/{stdio-D4oW-qT6.js.map → stdio-DkU2-spy.js.map} +1 -1
  86. package/dist/test-setup.cjs +1338 -1142
  87. package/dist/test-setup.cjs.map +1 -1
  88. package/dist/test-setup.js +1338 -1141
  89. package/dist/test-setup.js.map +1 -1
  90. package/dist/{toolDefinitions-K_TVqaLU.d.cts → toolDefinitions-B94CNDbt.d.cts} +22 -22
  91. package/dist/toolDefinitions-B94CNDbt.d.cts.map +1 -0
  92. package/dist/{toolDefinitions-BF-D81bS.js → toolDefinitions-Bb_1ejkl.js} +83 -78
  93. package/dist/toolDefinitions-Bb_1ejkl.js.map +1 -0
  94. package/dist/{toolDefinitions-CO65cU86.cjs → toolDefinitions-DIhvw3vk.cjs} +83 -78
  95. package/dist/toolDefinitions-DIhvw3vk.cjs.map +1 -0
  96. package/dist/{toolDefinitions-CCscRQoM.d.ts → toolDefinitions-q_1-70fG.d.ts} +22 -22
  97. package/dist/toolDefinitions-q_1-70fG.d.ts.map +1 -0
  98. package/dist/toolDefinitions.cjs +2 -2
  99. package/dist/toolDefinitions.d.cts +1 -1
  100. package/dist/toolDefinitions.d.ts +1 -1
  101. package/dist/toolDefinitions.js +2 -2
  102. package/dist/toolDefinitions.test.cjs +2 -2
  103. package/dist/toolDefinitions.test.js +2 -2
  104. package/dist/{tools-BYt-G6p2.cjs → tools-BdkmyaZo.cjs} +36 -52
  105. package/dist/tools-BdkmyaZo.cjs.map +1 -0
  106. package/dist/{tools-B8ufMRZx.js → tools-CMFpMPpD.js} +36 -52
  107. package/dist/tools-CMFpMPpD.js.map +1 -0
  108. package/dist/tools.cjs +4 -4
  109. package/dist/tools.d.cts +24 -24
  110. package/dist/tools.d.cts.map +1 -1
  111. package/dist/tools.d.ts +24 -24
  112. package/dist/tools.d.ts.map +1 -1
  113. package/dist/tools.js +4 -4
  114. package/dist/tools.test.cjs +111 -34
  115. package/dist/tools.test.cjs.map +1 -1
  116. package/dist/tools.test.js +111 -34
  117. package/dist/tools.test.js.map +1 -1
  118. package/dist/transports/stdio.cjs +9 -9
  119. package/dist/transports/stdio.d.cts +3 -3
  120. package/dist/transports/stdio.d.ts +3 -3
  121. package/dist/transports/stdio.js +9 -9
  122. package/dist/{types-CPuN4Qmi.d.cts → types-B03G337q.d.cts} +2 -2
  123. package/dist/{types-CPuN4Qmi.d.cts.map → types-B03G337q.d.cts.map} +1 -1
  124. package/dist/{types-Ds7qzCBB.d.ts → types-CN4NEway.d.ts} +2 -2
  125. package/dist/{types-Ds7qzCBB.d.ts.map → types-CN4NEway.d.ts.map} +1 -1
  126. package/dist/{types-TaJcaAVg.d.cts → types-OeoNXRm-.d.cts} +3 -3
  127. package/dist/{types-TaJcaAVg.d.cts.map → types-OeoNXRm-.d.cts.map} +1 -1
  128. package/dist/{types-DyM4kaGZ.d.ts → types-jftb-CP9.d.ts} +3 -3
  129. package/dist/{types-DyM4kaGZ.d.ts.map → types-jftb-CP9.d.ts.map} +1 -1
  130. package/dist/types.d.cts +3 -3
  131. package/dist/types.d.ts +3 -3
  132. package/dist/{version-B0O4KvZ9.cjs → version-CDnh7DyW.cjs} +2 -2
  133. package/dist/{version-B0O4KvZ9.cjs.map → version-CDnh7DyW.cjs.map} +1 -1
  134. package/dist/version-TjO7fHpC.js +6 -0
  135. package/dist/{version-dTEKpaGt.js.map → version-TjO7fHpC.js.map} +1 -1
  136. package/dist/version.cjs +1 -1
  137. package/dist/version.js +1 -1
  138. package/package.json +3 -3
  139. package/dist/client-1dRfG57H.d.ts.map +0 -1
  140. package/dist/client-BsYOQsEI.d.cts.map +0 -1
  141. package/dist/client-CTm4cvI7.js.map +0 -1
  142. package/dist/client-DQ837FXP.cjs.map +0 -1
  143. package/dist/formatting-BQRAzO5v.js.map +0 -1
  144. package/dist/formatting-C-0bHtbh.cjs.map +0 -1
  145. package/dist/promptDefinitions-5jiZMBg5.cjs.map +0 -1
  146. package/dist/promptDefinitions-CPTadtuI.js.map +0 -1
  147. package/dist/promptDefinitions-Dcz3d9wL.d.cts.map +0 -1
  148. package/dist/promptDefinitions-DrGK-v8n.d.ts.map +0 -1
  149. package/dist/schema-BCkBPgjj.cjs +0 -64
  150. package/dist/schema-BCkBPgjj.cjs.map +0 -1
  151. package/dist/schema-CJrk_GUH.js +0 -15
  152. package/dist/schema-CJrk_GUH.js.map +0 -1
  153. package/dist/schema-KEMqYaQn.cjs.map +0 -1
  154. package/dist/schema-nyYqVk4Y.js.map +0 -1
  155. package/dist/toolDefinitions-BF-D81bS.js.map +0 -1
  156. package/dist/toolDefinitions-CCscRQoM.d.ts.map +0 -1
  157. package/dist/toolDefinitions-CO65cU86.cjs.map +0 -1
  158. package/dist/toolDefinitions-K_TVqaLU.d.cts.map +0 -1
  159. package/dist/tools-B8ufMRZx.js.map +0 -1
  160. package/dist/tools-BYt-G6p2.cjs.map +0 -1
  161. package/dist/version-dTEKpaGt.js +0 -6
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  const require_chunk = require('./chunk-BtT13l48.cjs');
3
2
  const node_async_hooks = require_chunk.__toESM(require("node:async_hooks"));
4
3
  const http = require_chunk.__toESM(require("http"));
@@ -25,10 +24,10 @@ function serializePositional(positional, flag) {
25
24
  }
26
25
  }
27
26
  }
28
- function format(message$2, ...positionals) {
29
- if (positionals.length === 0) return message$2;
27
+ function format(message$3, ...positionals) {
28
+ if (positionals.length === 0) return message$3;
30
29
  let positionalIndex = 0;
31
- let formattedMessage = message$2.replace(POSITIONALS_EXP, (match$1, isEscaped, _, flag) => {
30
+ let formattedMessage = message$3.replace(POSITIONALS_EXP, (match$1, isEscaped, _, flag) => {
32
31
  const positional = positionals[positionalIndex];
33
32
  const value = serializePositional(positional, flag);
34
33
  if (!isEscaped) {
@@ -49,20 +48,20 @@ function cleanErrorStack(error$2) {
49
48
  error$2.stack = nextStack.join("\n");
50
49
  }
51
50
  var InvariantError = class extends Error {
52
- constructor(message$2, ...positionals) {
53
- super(message$2);
54
- this.message = message$2;
51
+ constructor(message$3, ...positionals) {
52
+ super(message$3);
53
+ this.message = message$3;
55
54
  this.name = "Invariant Violation";
56
- this.message = format(message$2, ...positionals);
55
+ this.message = format(message$3, ...positionals);
57
56
  cleanErrorStack(this);
58
57
  }
59
58
  };
60
- var invariant = (predicate, message$2, ...positionals) => {
61
- if (!predicate) throw new InvariantError(message$2, ...positionals);
59
+ var invariant = (predicate, message$3, ...positionals) => {
60
+ if (!predicate) throw new InvariantError(message$3, ...positionals);
62
61
  };
63
- invariant.as = (ErrorConstructor, predicate, message$2, ...positionals) => {
62
+ invariant.as = (ErrorConstructor, predicate, message$3, ...positionals) => {
64
63
  if (!predicate) {
65
- const formatMessage$1 = positionals.length === 0 ? message$2 : format(message$2, ...positionals);
64
+ const formatMessage$1 = positionals.length === 0 ? message$3 : format(message$3, ...positionals);
66
65
  let error$2;
67
66
  try {
68
67
  error$2 = Reflect.construct(ErrorConstructor, [formatMessage$1]);
@@ -162,8 +161,8 @@ var until = async (promise) => {
162
161
  //#endregion
163
162
  //#region ../../node_modules/.pnpm/@mswjs+interceptors@0.37.6/node_modules/@mswjs/interceptors/lib/node/chunk-5KMS5CTP.mjs
164
163
  var InterceptorError = class extends Error {
165
- constructor(message$2) {
166
- super(message$2);
164
+ constructor(message$3) {
165
+ super(message$3);
167
166
  this.name = "InterceptorError";
168
167
  Object.setPrototypeOf(this, InterceptorError.prototype);
169
168
  }
@@ -303,8 +302,8 @@ async function handleRequest$1(options) {
303
302
  function isNodeProcess() {
304
303
  if (typeof navigator !== "undefined" && navigator.product === "ReactNative") return true;
305
304
  if (typeof process !== "undefined") {
306
- const type = process.type;
307
- if (type === "renderer" || type === "worker") return false;
305
+ const type$2 = process.type;
306
+ if (type$2 === "renderer" || type$2 === "worker") return false;
308
307
  return !!(process.versions && process.versions.node);
309
308
  }
310
309
  return false;
@@ -373,10 +372,10 @@ var Logger = class {
373
372
  * @example
374
373
  * logger.debug('no duplicates found, creating a document...')
375
374
  */
376
- debug(message$2, ...positionals) {
375
+ debug(message$3, ...positionals) {
377
376
  this.logEntry({
378
377
  level: "debug",
379
- message: gray(message$2),
378
+ message: gray(message$3),
380
379
  positionals,
381
380
  prefix: this.prefix,
382
381
  colors: { prefix: "gray" }
@@ -387,10 +386,10 @@ var Logger = class {
387
386
  * @example
388
387
  * logger.info('start parsing...')
389
388
  */
390
- info(message$2, ...positionals) {
389
+ info(message$3, ...positionals) {
391
390
  this.logEntry({
392
391
  level: "info",
393
- message: message$2,
392
+ message: message$3,
394
393
  positionals,
395
394
  prefix: this.prefix,
396
395
  colors: { prefix: "blue" }
@@ -412,10 +411,10 @@ var Logger = class {
412
411
  * @example
413
412
  * logger.success('successfully created document')
414
413
  */
415
- success(message$2, ...positionals) {
414
+ success(message$3, ...positionals) {
416
415
  this.logEntry({
417
416
  level: "info",
418
- message: message$2,
417
+ message: message$3,
419
418
  positionals,
420
419
  prefix: `\u2714 ${this.prefix}`,
421
420
  colors: {
@@ -429,10 +428,10 @@ var Logger = class {
429
428
  * @example
430
429
  * logger.warning('found legacy document format')
431
430
  */
432
- warning(message$2, ...positionals) {
431
+ warning(message$3, ...positionals) {
433
432
  this.logEntry({
434
433
  level: "warning",
435
- message: message$2,
434
+ message: message$3,
436
435
  positionals,
437
436
  prefix: `\u26A0 ${this.prefix}`,
438
437
  colors: {
@@ -446,10 +445,10 @@ var Logger = class {
446
445
  * @example
447
446
  * logger.error('something went wrong')
448
447
  */
449
- error(message$2, ...positionals) {
448
+ error(message$3, ...positionals) {
450
449
  this.logEntry({
451
450
  level: "error",
452
- message: message$2,
451
+ message: message$3,
453
452
  positionals,
454
453
  prefix: `\u2716 ${this.prefix}`,
455
454
  colors: {
@@ -470,30 +469,30 @@ var Logger = class {
470
469
  only(callback) {
471
470
  callback();
472
471
  }
473
- createEntry(level, message$2) {
472
+ createEntry(level$1, message$3) {
474
473
  return {
475
474
  timestamp: /* @__PURE__ */ new Date(),
476
- level,
477
- message: message$2
475
+ level: level$1,
476
+ message: message$3
478
477
  };
479
478
  }
480
479
  logEntry(args) {
481
- const { level, message: message$2, prefix, colors: customColors, positionals = [] } = args;
482
- const entry = this.createEntry(level, message$2);
480
+ const { level: level$1, message: message$3, prefix, colors: customColors, positionals = [] } = args;
481
+ const entry = this.createEntry(level$1, message$3);
483
482
  const timestampColor = customColors?.timestamp || "gray";
484
483
  const prefixColor = customColors?.prefix || "gray";
485
484
  const colorize = {
486
485
  timestamp: colors_exports[timestampColor],
487
486
  prefix: colors_exports[prefixColor]
488
487
  };
489
- const write = this.getWriter(level);
490
- write([colorize.timestamp(this.formatTimestamp(entry.timestamp))].concat(prefix != null ? colorize.prefix(prefix) : []).concat(serializeInput(message$2)).join(" "), ...positionals.map(serializeInput));
488
+ const write = this.getWriter(level$1);
489
+ write([colorize.timestamp(this.formatTimestamp(entry.timestamp))].concat(prefix != null ? colorize.prefix(prefix) : []).concat(serializeInput(message$3)).join(" "), ...positionals.map(serializeInput));
491
490
  }
492
491
  formatTimestamp(timestamp) {
493
492
  return `${timestamp.toLocaleTimeString("en-GB")}:${timestamp.getMilliseconds()}`;
494
493
  }
495
- getWriter(level) {
496
- switch (level) {
494
+ getWriter(level$1) {
495
+ switch (level$1) {
497
496
  case "debug":
498
497
  case "success":
499
498
  case "info": return log;
@@ -516,26 +515,26 @@ var PerformanceEntry = class {
516
515
  }
517
516
  };
518
517
  var noop = () => void 0;
519
- function log(message$2, ...positionals) {
518
+ function log(message$3, ...positionals) {
520
519
  if (IS_NODE$1) {
521
- process.stdout.write(format(message$2, ...positionals) + "\n");
520
+ process.stdout.write(format(message$3, ...positionals) + "\n");
522
521
  return;
523
522
  }
524
- console.log(message$2, ...positionals);
523
+ console.log(message$3, ...positionals);
525
524
  }
526
- function warn$1(message$2, ...positionals) {
525
+ function warn$1(message$3, ...positionals) {
527
526
  if (IS_NODE$1) {
528
- process.stderr.write(format(message$2, ...positionals) + "\n");
527
+ process.stderr.write(format(message$3, ...positionals) + "\n");
529
528
  return;
530
529
  }
531
- console.warn(message$2, ...positionals);
530
+ console.warn(message$3, ...positionals);
532
531
  }
533
- function error$1(message$2, ...positionals) {
532
+ function error$1(message$3, ...positionals) {
534
533
  if (IS_NODE$1) {
535
- process.stderr.write(format(message$2, ...positionals) + "\n");
534
+ process.stderr.write(format(message$3, ...positionals) + "\n");
536
535
  return;
537
536
  }
538
- console.error(message$2, ...positionals);
537
+ console.error(message$3, ...positionals);
539
538
  }
540
539
  function getVariable(variableName) {
541
540
  if (IS_NODE$1) return process.env[variableName];
@@ -544,22 +543,22 @@ function getVariable(variableName) {
544
543
  function isDefinedAndNotEquals(value, expected) {
545
544
  return value !== void 0 && value !== expected;
546
545
  }
547
- function serializeInput(message$2) {
548
- if (typeof message$2 === "undefined") return "undefined";
549
- if (message$2 === null) return "null";
550
- if (typeof message$2 === "string") return message$2;
551
- if (typeof message$2 === "object") return JSON.stringify(message$2);
552
- return message$2.toString();
546
+ function serializeInput(message$3) {
547
+ if (typeof message$3 === "undefined") return "undefined";
548
+ if (message$3 === null) return "null";
549
+ if (typeof message$3 === "string") return message$3;
550
+ if (typeof message$3 === "object") return JSON.stringify(message$3);
551
+ return message$3.toString();
553
552
  }
554
553
 
555
554
  //#endregion
556
555
  //#region ../../node_modules/.pnpm/strict-event-emitter@0.5.1/node_modules/strict-event-emitter/lib/index.mjs
557
556
  var MemoryLeakError = class extends Error {
558
- constructor(emitter, type, count) {
559
- super(`Possible EventEmitter memory leak detected. ${count} ${type.toString()} listeners added. Use emitter.setMaxListeners() to increase limit`);
557
+ constructor(emitter, type$2, count$1) {
558
+ super(`Possible EventEmitter memory leak detected. ${count$1} ${type$2.toString()} listeners added. Use emitter.setMaxListeners() to increase limit`);
560
559
  this.emitter = emitter;
561
- this.type = type;
562
- this.count = count;
560
+ this.type = type$2;
561
+ this.count = count$1;
563
562
  this.name = "MaxListenersExceededWarning";
564
563
  }
565
564
  };
@@ -738,34 +737,34 @@ var Interceptor$1 = class {
738
737
  * Returns an already running interceptor instance if it's present.
739
738
  */
740
739
  apply() {
741
- const logger$1 = this.logger.extend("apply");
742
- logger$1.info("applying the interceptor...");
740
+ const logger$2 = this.logger.extend("apply");
741
+ logger$2.info("applying the interceptor...");
743
742
  if (this.readyState === "APPLIED") {
744
- logger$1.info("intercepted already applied!");
743
+ logger$2.info("intercepted already applied!");
745
744
  return;
746
745
  }
747
746
  const shouldApply = this.checkEnvironment();
748
747
  if (!shouldApply) {
749
- logger$1.info("the interceptor cannot be applied in this environment!");
748
+ logger$2.info("the interceptor cannot be applied in this environment!");
750
749
  return;
751
750
  }
752
751
  this.readyState = "APPLYING";
753
752
  const runningInstance = this.getInstance();
754
753
  if (runningInstance) {
755
- logger$1.info("found a running instance, reusing...");
754
+ logger$2.info("found a running instance, reusing...");
756
755
  this.on = (event, listener) => {
757
- logger$1.info("proxying the \"%s\" listener", event);
756
+ logger$2.info("proxying the \"%s\" listener", event);
758
757
  runningInstance.emitter.addListener(event, listener);
759
758
  this.subscriptions.push(() => {
760
759
  runningInstance.emitter.removeListener(event, listener);
761
- logger$1.info("removed proxied \"%s\" listener!", event);
760
+ logger$2.info("removed proxied \"%s\" listener!", event);
762
761
  });
763
762
  return this;
764
763
  };
765
764
  this.readyState = "APPLIED";
766
765
  return;
767
766
  }
768
- logger$1.info("no running instance found, setting up a new instance...");
767
+ logger$2.info("no running instance found, setting up a new instance...");
769
768
  this.setup();
770
769
  this.setInstance();
771
770
  this.readyState = "APPLIED";
@@ -780,12 +779,12 @@ var Interceptor$1 = class {
780
779
  * Listen to the interceptor's public events.
781
780
  */
782
781
  on(event, listener) {
783
- const logger$1 = this.logger.extend("on");
782
+ const logger$2 = this.logger.extend("on");
784
783
  if (this.readyState === "DISPOSING" || this.readyState === "DISPOSED") {
785
- logger$1.info("cannot listen to events, already disposed!");
784
+ logger$2.info("cannot listen to events, already disposed!");
786
785
  return this;
787
786
  }
788
- logger$1.info("adding \"%s\" event listener:", event, listener);
787
+ logger$2.info("adding \"%s\" event listener:", event, listener);
789
788
  this.emitter.on(event, listener);
790
789
  return this;
791
790
  }
@@ -805,27 +804,27 @@ var Interceptor$1 = class {
805
804
  * Disposes of any side-effects this interceptor has introduced.
806
805
  */
807
806
  dispose() {
808
- const logger$1 = this.logger.extend("dispose");
807
+ const logger$2 = this.logger.extend("dispose");
809
808
  if (this.readyState === "DISPOSED") {
810
- logger$1.info("cannot dispose, already disposed!");
809
+ logger$2.info("cannot dispose, already disposed!");
811
810
  return;
812
811
  }
813
- logger$1.info("disposing the interceptor...");
812
+ logger$2.info("disposing the interceptor...");
814
813
  this.readyState = "DISPOSING";
815
814
  if (!this.getInstance()) {
816
- logger$1.info("no interceptors running, skipping dispose...");
815
+ logger$2.info("no interceptors running, skipping dispose...");
817
816
  return;
818
817
  }
819
818
  this.clearInstance();
820
- logger$1.info("global symbol deleted:", getGlobalSymbol$1(this.symbol));
819
+ logger$2.info("global symbol deleted:", getGlobalSymbol$1(this.symbol));
821
820
  if (this.subscriptions.length > 0) {
822
- logger$1.info("disposing of %d subscriptions...", this.subscriptions.length);
821
+ logger$2.info("disposing of %d subscriptions...", this.subscriptions.length);
823
822
  for (const dispose of this.subscriptions) dispose();
824
823
  this.subscriptions = [];
825
- logger$1.info("disposed of all subscriptions!", this.subscriptions.length);
824
+ logger$2.info("disposed of all subscriptions!", this.subscriptions.length);
826
825
  }
827
826
  this.emitter.removeAllListeners();
828
- logger$1.info("destroyed the listener!");
827
+ logger$2.info("destroyed the listener!");
829
828
  this.readyState = "DISPOSED";
830
829
  }
831
830
  getInstance() {
@@ -847,18 +846,18 @@ function createRequestId$1() {
847
846
  return Math.random().toString(16).slice(2);
848
847
  }
849
848
  var _FetchResponse = class extends Response {
850
- static isConfigurableStatusCode(status) {
851
- return status >= 200 && status <= 599;
849
+ static isConfigurableStatusCode(status$1) {
850
+ return status$1 >= 200 && status$1 <= 599;
852
851
  }
853
- static isRedirectResponse(status) {
854
- return _FetchResponse.STATUS_CODES_WITH_REDIRECT.includes(status);
852
+ static isRedirectResponse(status$1) {
853
+ return _FetchResponse.STATUS_CODES_WITH_REDIRECT.includes(status$1);
855
854
  }
856
855
  /**
857
856
  * Returns a boolean indicating whether the given response status
858
857
  * code represents a response that can have a body.
859
858
  */
860
- static isResponseWithBody(status) {
861
- return !_FetchResponse.STATUS_CODES_WITHOUT_BODY.includes(status);
859
+ static isResponseWithBody(status$1) {
860
+ return !_FetchResponse.STATUS_CODES_WITHOUT_BODY.includes(status$1);
862
861
  }
863
862
  static setUrl(url$1, response) {
864
863
  if (!url$1) return;
@@ -880,20 +879,20 @@ var _FetchResponse = class extends Response {
880
879
  }
881
880
  constructor(body, init = {}) {
882
881
  var _a$1;
883
- const status = (_a$1 = init.status) != null ? _a$1 : 200;
884
- const safeStatus = _FetchResponse.isConfigurableStatusCode(status) ? status : 200;
885
- const finalBody = _FetchResponse.isResponseWithBody(status) ? body : null;
882
+ const status$1 = (_a$1 = init.status) != null ? _a$1 : 200;
883
+ const safeStatus = _FetchResponse.isConfigurableStatusCode(status$1) ? status$1 : 200;
884
+ const finalBody = _FetchResponse.isResponseWithBody(status$1) ? body : null;
886
885
  super(finalBody, {
887
886
  ...init,
888
887
  status: safeStatus
889
888
  });
890
- if (status !== safeStatus) {
889
+ if (status$1 !== safeStatus) {
891
890
  const stateSymbol = Object.getOwnPropertySymbols(this).find((symbol) => symbol.description === "state");
892
891
  if (stateSymbol) {
893
892
  const state = Reflect.get(this, stateSymbol);
894
- Reflect.set(state, "status", status);
893
+ Reflect.set(state, "status", status$1);
895
894
  } else Object.defineProperty(this, "status", {
896
- value: status,
895
+ value: status$1,
897
896
  enumerable: true,
898
897
  configurable: true,
899
898
  writable: false
@@ -1140,7 +1139,7 @@ var MockHttpSocket = class extends MockSocket {
1140
1139
  socket: this
1141
1140
  });
1142
1141
  };
1143
- this.onResponseStart = (versionMajor, versionMinor, rawHeaders, method, url$1, status, statusText) => {
1142
+ this.onResponseStart = (versionMajor, versionMinor, rawHeaders, method, url$1, status$1, statusText) => {
1144
1143
  const headers = FetchResponse.parseRawHeaders(rawHeaders);
1145
1144
  const response = new FetchResponse(
1146
1145
  /**
@@ -1150,10 +1149,10 @@ var MockHttpSocket = class extends MockSocket {
1150
1149
  * in response listener while the Socket instance delays the emission
1151
1150
  * of "end" and other events until those response listeners are finished.
1152
1151
  */
1153
- FetchResponse.isResponseWithBody(status) ? stream.Readable.toWeb(this.responseStream = new stream.Readable({ read() {} })) : null,
1152
+ FetchResponse.isResponseWithBody(status$1) ? stream.Readable.toWeb(this.responseStream = new stream.Readable({ read() {} })) : null,
1154
1153
  {
1155
1154
  url: url$1,
1156
- status,
1155
+ status: status$1,
1157
1156
  statusText,
1158
1157
  headers
1159
1158
  }
@@ -1405,7 +1404,7 @@ var MockHttpsAgent = class extends https.default.Agent {
1405
1404
  return socket;
1406
1405
  }
1407
1406
  };
1408
- var logger = new Logger("utils getUrlByRequestOptions");
1407
+ var logger$1 = new Logger("utils getUrlByRequestOptions");
1409
1408
  var DEFAULT_PATH = "/";
1410
1409
  var DEFAULT_PROTOCOL = "http:";
1411
1410
  var DEFAULT_HOSTNAME = "localhost";
@@ -1451,29 +1450,29 @@ function getHostname(options) {
1451
1450
  return DEFAULT_HOSTNAME;
1452
1451
  }
1453
1452
  function getUrlByRequestOptions(options) {
1454
- logger.info("request options", options);
1453
+ logger$1.info("request options", options);
1455
1454
  if (options.uri) {
1456
- logger.info("constructing url from explicitly provided \"options.uri\": %s", options.uri);
1455
+ logger$1.info("constructing url from explicitly provided \"options.uri\": %s", options.uri);
1457
1456
  return new URL(options.uri.href);
1458
1457
  }
1459
- logger.info("figuring out url from request options...");
1458
+ logger$1.info("figuring out url from request options...");
1460
1459
  const protocol = getProtocolByRequestOptions(options);
1461
- logger.info("protocol", protocol);
1460
+ logger$1.info("protocol", protocol);
1462
1461
  const port = getPortByRequestOptions(options);
1463
- logger.info("port", port);
1462
+ logger$1.info("port", port);
1464
1463
  const hostname = getHostname(options);
1465
- logger.info("hostname", hostname);
1464
+ logger$1.info("hostname", hostname);
1466
1465
  const path = options.path || DEFAULT_PATH;
1467
- logger.info("path", path);
1466
+ logger$1.info("path", path);
1468
1467
  const credentials = getAuthByRequestOptions(options);
1469
- logger.info("credentials", credentials);
1468
+ logger$1.info("credentials", credentials);
1470
1469
  const authString = credentials ? `${credentials.username}:${credentials.password}@` : "";
1471
- logger.info("auth string:", authString);
1470
+ logger$1.info("auth string:", authString);
1472
1471
  const portString = typeof port !== "undefined" ? `:${port}` : "";
1473
1472
  const url$1 = new URL(`${protocol}//${hostname}${portString}${path}`);
1474
1473
  url$1.username = (credentials == null ? void 0 : credentials.username) || "";
1475
1474
  url$1.password = (credentials == null ? void 0 : credentials.password) || "";
1476
- logger.info("created url:", url$1);
1475
+ logger$1.info("created url:", url$1);
1477
1476
  return url$1;
1478
1477
  }
1479
1478
  var logger2 = new Logger("cloneObject");
@@ -1755,7 +1754,7 @@ function concatArrayBuffer(left, right) {
1755
1754
  return result;
1756
1755
  }
1757
1756
  var EventPolyfill = class {
1758
- constructor(type, options) {
1757
+ constructor(type$2, options) {
1759
1758
  this.NONE = 0;
1760
1759
  this.CAPTURING_PHASE = 1;
1761
1760
  this.AT_TARGET = 2;
@@ -1774,7 +1773,7 @@ var EventPolyfill = class {
1774
1773
  this.total = 0;
1775
1774
  this.cancelBubble = false;
1776
1775
  this.returnValue = true;
1777
- this.type = type;
1776
+ this.type = type$2;
1778
1777
  this.target = (options == null ? void 0 : options.target) || null;
1779
1778
  this.currentTarget = (options == null ? void 0 : options.currentTarget) || null;
1780
1779
  this.timeStamp = Date.now();
@@ -1782,8 +1781,8 @@ var EventPolyfill = class {
1782
1781
  composedPath() {
1783
1782
  return [];
1784
1783
  }
1785
- initEvent(type, bubbles, cancelable) {
1786
- this.type = type;
1784
+ initEvent(type$2, bubbles, cancelable) {
1785
+ this.type = type$2;
1787
1786
  this.bubbles = !!bubbles;
1788
1787
  this.cancelable = !!cancelable;
1789
1788
  }
@@ -1794,8 +1793,8 @@ var EventPolyfill = class {
1794
1793
  stopImmediatePropagation() {}
1795
1794
  };
1796
1795
  var ProgressEventPolyfill = class extends EventPolyfill {
1797
- constructor(type, init) {
1798
- super(type);
1796
+ constructor(type$2, init) {
1797
+ super(type$2);
1799
1798
  this.lengthComputable = (init == null ? void 0 : init.lengthComputable) || false;
1800
1799
  this.composed = (init == null ? void 0 : init.composed) || false;
1801
1800
  this.loaded = (init == null ? void 0 : init.loaded) || 0;
@@ -1803,7 +1802,7 @@ var ProgressEventPolyfill = class extends EventPolyfill {
1803
1802
  }
1804
1803
  };
1805
1804
  var SUPPORTS_PROGRESS_EVENT = typeof ProgressEvent !== "undefined";
1806
- function createEvent(target, type, init) {
1805
+ function createEvent(target, type$2, init) {
1807
1806
  const progressEvents = [
1808
1807
  "error",
1809
1808
  "progress",
@@ -1814,11 +1813,11 @@ function createEvent(target, type, init) {
1814
1813
  "abort"
1815
1814
  ];
1816
1815
  const ProgressEventClass = SUPPORTS_PROGRESS_EVENT ? ProgressEvent : ProgressEventPolyfill;
1817
- const event = progressEvents.includes(type) ? new ProgressEventClass(type, {
1816
+ const event = progressEvents.includes(type$2) ? new ProgressEventClass(type$2, {
1818
1817
  lengthComputable: true,
1819
1818
  loaded: (init == null ? void 0 : init.loaded) || 0,
1820
1819
  total: (init == null ? void 0 : init.total) || 0
1821
- }) : new EventPolyfill(type, {
1820
+ }) : new EventPolyfill(type$2, {
1822
1821
  target,
1823
1822
  currentTarget: target
1824
1823
  });
@@ -1872,7 +1871,7 @@ function optionsToProxyHandler(options) {
1872
1871
  };
1873
1872
  return handler;
1874
1873
  }
1875
- function isDomParserSupportedType(type) {
1874
+ function isDomParserSupportedType(type$2) {
1876
1875
  const supportedTypes = [
1877
1876
  "application/xhtml+xml",
1878
1877
  "application/xml",
@@ -1881,7 +1880,7 @@ function isDomParserSupportedType(type) {
1881
1880
  "text/xml"
1882
1881
  ];
1883
1882
  return supportedTypes.some((supportedType) => {
1884
- return type.startsWith(supportedType);
1883
+ return type$2.startsWith(supportedType);
1885
1884
  });
1886
1885
  }
1887
1886
  function parseJson(data) {
@@ -1922,9 +1921,9 @@ var kIsRequestHandled = Symbol("kIsRequestHandled");
1922
1921
  var IS_NODE = isNodeProcess();
1923
1922
  var kFetchRequest = Symbol("kFetchRequest");
1924
1923
  var XMLHttpRequestController = class {
1925
- constructor(initialRequest, logger$1) {
1924
+ constructor(initialRequest, logger$2) {
1926
1925
  this.initialRequest = initialRequest;
1927
- this.logger = logger$1;
1926
+ this.logger = logger$2;
1928
1927
  this.method = "GET";
1929
1928
  this.url = null;
1930
1929
  this[kIsRequestHandled] = false;
@@ -2297,13 +2296,13 @@ function define(target, property, value) {
2297
2296
  value
2298
2297
  });
2299
2298
  }
2300
- function createXMLHttpRequestProxy({ emitter, logger: logger$1 }) {
2299
+ function createXMLHttpRequestProxy({ emitter, logger: logger$2 }) {
2301
2300
  const XMLHttpRequestProxy = new Proxy(globalThis.XMLHttpRequest, { construct(target, args, newTarget) {
2302
- logger$1.info("constructed new XMLHttpRequest");
2301
+ logger$2.info("constructed new XMLHttpRequest");
2303
2302
  const originalRequest = Reflect.construct(target, args, newTarget);
2304
2303
  const prototypeDescriptors = Object.getOwnPropertyDescriptors(target.prototype);
2305
2304
  for (const propertyName in prototypeDescriptors) Reflect.defineProperty(originalRequest, propertyName, prototypeDescriptors[propertyName]);
2306
- const xhrRequestController = new XMLHttpRequestController(originalRequest, logger$1);
2305
+ const xhrRequestController = new XMLHttpRequestController(originalRequest, logger$2);
2307
2306
  xhrRequestController.onRequest = async function({ request, requestId }) {
2308
2307
  const controller = new RequestController(request);
2309
2308
  this.logger.info("awaiting mocked response...");
@@ -2347,15 +2346,15 @@ var _XMLHttpRequestInterceptor = class extends Interceptor$1 {
2347
2346
  return hasConfigurableGlobal$1("XMLHttpRequest");
2348
2347
  }
2349
2348
  setup() {
2350
- const logger$1 = this.logger.extend("setup");
2351
- logger$1.info("patching \"XMLHttpRequest\" module...");
2349
+ const logger$2 = this.logger.extend("setup");
2350
+ logger$2.info("patching \"XMLHttpRequest\" module...");
2352
2351
  const PureXMLHttpRequest = globalThis.XMLHttpRequest;
2353
2352
  invariant(!PureXMLHttpRequest[IS_PATCHED_MODULE], "Failed to patch the \"XMLHttpRequest\" module: already patched.");
2354
2353
  globalThis.XMLHttpRequest = createXMLHttpRequestProxy({
2355
2354
  emitter: this.emitter,
2356
2355
  logger: this.logger
2357
2356
  });
2358
- logger$1.info("native \"XMLHttpRequest\" module patched!", globalThis.XMLHttpRequest.name);
2357
+ logger$2.info("native \"XMLHttpRequest\" module patched!", globalThis.XMLHttpRequest.name);
2359
2358
  Object.defineProperty(globalThis.XMLHttpRequest, IS_PATCHED_MODULE, {
2360
2359
  enumerable: true,
2361
2360
  configurable: true,
@@ -2364,7 +2363,7 @@ var _XMLHttpRequestInterceptor = class extends Interceptor$1 {
2364
2363
  this.subscriptions.push(() => {
2365
2364
  Object.defineProperty(globalThis.XMLHttpRequest, IS_PATCHED_MODULE, { value: void 0 });
2366
2365
  globalThis.XMLHttpRequest = PureXMLHttpRequest;
2367
- logger$1.info("native \"XMLHttpRequest\" module restored!", globalThis.XMLHttpRequest.name);
2366
+ logger$2.info("native \"XMLHttpRequest\" module restored!", globalThis.XMLHttpRequest.name);
2368
2367
  });
2369
2368
  }
2370
2369
  };
@@ -2589,12 +2588,12 @@ var BatchInterceptor = class extends Interceptor$1 {
2589
2588
  this.interceptors = options.interceptors;
2590
2589
  }
2591
2590
  setup() {
2592
- const logger$1 = this.logger.extend("setup");
2593
- logger$1.info("applying all %d interceptors...", this.interceptors.length);
2591
+ const logger$2 = this.logger.extend("setup");
2592
+ logger$2.info("applying all %d interceptors...", this.interceptors.length);
2594
2593
  for (const interceptor of this.interceptors) {
2595
- logger$1.info("applying \"%s\" interceptor...", interceptor.constructor.name);
2594
+ logger$2.info("applying \"%s\" interceptor...", interceptor.constructor.name);
2596
2595
  interceptor.apply();
2597
- logger$1.info("adding interceptor dispose subscription");
2596
+ logger$2.info("adding interceptor dispose subscription");
2598
2597
  this.subscriptions.push(() => interceptor.dispose());
2599
2598
  }
2600
2599
  }
@@ -2625,15 +2624,15 @@ function getCleanUrl(url$1, isAbsolute = true) {
2625
2624
  //#endregion
2626
2625
  //#region ../../node_modules/.pnpm/msw@2.7.6_@types+node@22.15.15_typescript@5.8.3/node_modules/msw/lib/core/utils/internal/devUtils.mjs
2627
2626
  const LIBRARY_PREFIX = "[MSW]";
2628
- function formatMessage(message$2, ...positionals) {
2629
- const interpolatedMessage = format(message$2, ...positionals);
2627
+ function formatMessage(message$3, ...positionals) {
2628
+ const interpolatedMessage = format(message$3, ...positionals);
2630
2629
  return `${LIBRARY_PREFIX} ${interpolatedMessage}`;
2631
2630
  }
2632
- function warn(message$2, ...positionals) {
2633
- console.warn(formatMessage(message$2, ...positionals));
2631
+ function warn(message$3, ...positionals) {
2632
+ console.warn(formatMessage(message$3, ...positionals));
2634
2633
  }
2635
- function error(message$2, ...positionals) {
2636
- console.error(formatMessage(message$2, ...positionals));
2634
+ function error(message$3, ...positionals) {
2635
+ console.error(formatMessage(message$3, ...positionals));
2637
2636
  }
2638
2637
  const devUtils = {
2639
2638
  formatMessage,
@@ -2641,8 +2640,8 @@ const devUtils = {
2641
2640
  error
2642
2641
  };
2643
2642
  var InternalError = class extends Error {
2644
- constructor(message$2) {
2645
- super(message$2);
2643
+ constructor(message$3) {
2644
+ super(message$3);
2646
2645
  this.name = "InternalError";
2647
2646
  }
2648
2647
  };
@@ -2876,7 +2875,7 @@ var require_punycode = __commonJS$4({ "node_modules/punycode/punycode.js"(export
2876
2875
  var regexPunycode = /^xn--/;
2877
2876
  var regexNonASCII = /[^\0-\x7F]/;
2878
2877
  var regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g;
2879
- var errors = {
2878
+ var errors$1 = {
2880
2879
  "overflow": "Overflow: input needs wider integers to process",
2881
2880
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
2882
2881
  "invalid-input": "Invalid input"
@@ -2884,8 +2883,8 @@ var require_punycode = __commonJS$4({ "node_modules/punycode/punycode.js"(export
2884
2883
  var baseMinusTMin = base - tMin;
2885
2884
  var floor = Math.floor;
2886
2885
  var stringFromCharCode = String.fromCharCode;
2887
- function error$2(type) {
2888
- throw new RangeError(errors[type]);
2886
+ function error$2(type$2) {
2887
+ throw new RangeError(errors$1[type$2]);
2889
2888
  }
2890
2889
  function map(array, callback) {
2891
2890
  const result = [];
@@ -3156,14 +3155,14 @@ var require_url_parse = __commonJS$4({ "node_modules/url-parse/index.js"(exports
3156
3155
  else if (typeof global !== "undefined") globalVar = global;
3157
3156
  else if (typeof self !== "undefined") globalVar = self;
3158
3157
  else globalVar = {};
3159
- var location$1 = globalVar.location || {};
3160
- loc = loc || location$1;
3161
- var finaldestination = {}, type = typeof loc, key;
3158
+ var location$2 = globalVar.location || {};
3159
+ loc = loc || location$2;
3160
+ var finaldestination = {}, type$2 = typeof loc, key;
3162
3161
  if ("blob:" === loc.protocol) finaldestination = new Url(unescape(loc.pathname), {});
3163
- else if ("string" === type) {
3162
+ else if ("string" === type$2) {
3164
3163
  finaldestination = new Url(loc, {});
3165
3164
  for (key in ignore) delete finaldestination[key];
3166
- } else if ("object" === type) {
3165
+ } else if ("object" === type$2) {
3167
3166
  for (key in loc) {
3168
3167
  if (key in ignore) continue;
3169
3168
  finaldestination[key] = loc[key];
@@ -3175,10 +3174,10 @@ var require_url_parse = __commonJS$4({ "node_modules/url-parse/index.js"(exports
3175
3174
  function isSpecial(scheme) {
3176
3175
  return scheme === "file:" || scheme === "ftp:" || scheme === "http:" || scheme === "https:" || scheme === "ws:" || scheme === "wss:";
3177
3176
  }
3178
- function extractProtocol(address, location$1) {
3177
+ function extractProtocol(address, location$2) {
3179
3178
  address = trimLeft(address);
3180
3179
  address = address.replace(CRHTLF, "");
3181
- location$1 = location$1 || {};
3180
+ location$2 = location$2 || {};
3182
3181
  var match$1 = protocolre.exec(address);
3183
3182
  var protocol = match$1[1] ? match$1[1].toLowerCase() : "";
3184
3183
  var forwardSlashes = !!match$1[2];
@@ -3201,7 +3200,7 @@ var require_url_parse = __commonJS$4({ "node_modules/url-parse/index.js"(exports
3201
3200
  } else if (isSpecial(protocol)) rest = match$1[4];
3202
3201
  else if (protocol) {
3203
3202
  if (forwardSlashes) rest = rest.slice(2);
3204
- } else if (slashesCount >= 2 && isSpecial(location$1.protocol)) rest = match$1[4];
3203
+ } else if (slashesCount >= 2 && isSpecial(location$2.protocol)) rest = match$1[4];
3205
3204
  return {
3206
3205
  protocol,
3207
3206
  slashes: forwardSlashes || isSpecial(protocol),
@@ -3225,21 +3224,21 @@ var require_url_parse = __commonJS$4({ "node_modules/url-parse/index.js"(exports
3225
3224
  if (last === "." || last === "..") path.push("");
3226
3225
  return path.join("/");
3227
3226
  }
3228
- function Url(address, location$1, parser) {
3227
+ function Url(address, location$2, parser) {
3229
3228
  address = trimLeft(address);
3230
3229
  address = address.replace(CRHTLF, "");
3231
- if (!(this instanceof Url)) return new Url(address, location$1, parser);
3232
- var relative, extracted, parse$1, instruction, index, key, instructions = rules.slice(), type = typeof location$1, url$1 = this, i = 0;
3233
- if ("object" !== type && "string" !== type) {
3234
- parser = location$1;
3235
- location$1 = null;
3230
+ if (!(this instanceof Url)) return new Url(address, location$2, parser);
3231
+ var relative, extracted, parse$1, instruction, index, key, instructions = rules.slice(), type$2 = typeof location$2, url$1 = this, i = 0;
3232
+ if ("object" !== type$2 && "string" !== type$2) {
3233
+ parser = location$2;
3234
+ location$2 = null;
3236
3235
  }
3237
3236
  if (parser && "function" !== typeof parser) parser = qs.parse;
3238
- location$1 = lolcation(location$1);
3239
- extracted = extractProtocol(address || "", location$1);
3237
+ location$2 = lolcation(location$2);
3238
+ extracted = extractProtocol(address || "", location$2);
3240
3239
  relative = !extracted.protocol && !extracted.slashes;
3241
- url$1.slashes = extracted.slashes || relative && location$1.slashes;
3242
- url$1.protocol = extracted.protocol || location$1.protocol || "";
3240
+ url$1.slashes = extracted.slashes || relative && location$2.slashes;
3241
+ url$1.protocol = extracted.protocol || location$2.protocol || "";
3243
3242
  address = extracted.rest;
3244
3243
  if (extracted.protocol === "file:" && (extracted.slashesCount !== 2 || windowsDriveLetter.test(address)) || !extracted.slashes && (extracted.protocol || extracted.slashesCount < 2 || !isSpecial(url$1.protocol))) instructions[3] = [/(.*)/, "pathname"];
3245
3244
  for (; i < instructions.length; i++) {
@@ -3264,11 +3263,11 @@ var require_url_parse = __commonJS$4({ "node_modules/url-parse/index.js"(exports
3264
3263
  url$1[key] = index[1];
3265
3264
  address = address.slice(0, index.index);
3266
3265
  }
3267
- url$1[key] = url$1[key] || (relative && instruction[3] ? location$1[key] || "" : "");
3266
+ url$1[key] = url$1[key] || (relative && instruction[3] ? location$2[key] || "" : "");
3268
3267
  if (instruction[4]) url$1[key] = url$1[key].toLowerCase();
3269
3268
  }
3270
3269
  if (parser) url$1.query = parser(url$1.query);
3271
- if (relative && location$1.slashes && url$1.pathname.charAt(0) !== "/" && (url$1.pathname !== "" || location$1.pathname !== "")) url$1.pathname = resolve(url$1.pathname, location$1.pathname);
3270
+ if (relative && location$2.slashes && url$1.pathname.charAt(0) !== "/" && (url$1.pathname !== "" || location$2.pathname !== "")) url$1.pathname = resolve(url$1.pathname, location$2.pathname);
3272
3271
  if (url$1.pathname.charAt(0) !== "/" && isSpecial(url$1.protocol)) url$1.pathname = "/" + url$1.pathname;
3273
3272
  if (!required(url$1.port, url$1.protocol)) {
3274
3273
  url$1.host = url$1.hostname;
@@ -13266,8 +13265,8 @@ var require_cookie$1 = __commonJS$4({ "node_modules/tough-cookie/lib/cookie.js"(
13266
13265
  var SAME_SITE_CONTEXT_VAL_ERR = "Invalid sameSiteContext option for getCookies(); expected one of \"strict\", \"lax\", or \"none\"";
13267
13266
  function checkSameSiteContext(value) {
13268
13267
  validators.validate(validators.isNonEmptyString(value), value);
13269
- const context = String(value).toLowerCase();
13270
- if (context === "none" || context === "lax" || context === "strict") return context;
13268
+ const context$1 = String(value).toLowerCase();
13269
+ if (context$1 === "none" || context$1 === "lax" || context$1 === "strict") return context$1;
13271
13270
  else return null;
13272
13271
  }
13273
13272
  var PrefixSecurityEnum = Object.freeze({
@@ -13290,15 +13289,15 @@ var require_cookie$1 = __commonJS$4({ "node_modules/tough-cookie/lib/cookie.js"(
13290
13289
  `.replace(/\s*\/\/.*$/gm, "").replace(/\n/g, "").trim();
13291
13290
  var IP_V6_REGEX_OBJECT = new RegExp(`^${IP_V6_REGEX}$`);
13292
13291
  function parseDigits(token, minDigits, maxDigits, trailingOK) {
13293
- let count = 0;
13294
- while (count < token.length) {
13295
- const c = token.charCodeAt(count);
13292
+ let count$1 = 0;
13293
+ while (count$1 < token.length) {
13294
+ const c = token.charCodeAt(count$1);
13296
13295
  if (c <= 47 || c >= 58) break;
13297
- count++;
13296
+ count$1++;
13298
13297
  }
13299
- if (count < minDigits || count > maxDigits) return null;
13300
- if (!trailingOK && count != token.length) return null;
13301
- return parseInt(token.substr(0, count), 10);
13298
+ if (count$1 < minDigits || count$1 > maxDigits) return null;
13299
+ if (!trailingOK && count$1 != token.length) return null;
13300
+ return parseInt(token.substr(0, count$1), 10);
13302
13301
  }
13303
13302
  function parseTime(token) {
13304
13303
  const parts = token.split(":");
@@ -13765,14 +13764,14 @@ var require_cookie$1 = __commonJS$4({ "node_modules/tough-cookie/lib/cookie.js"(
13765
13764
  cb = url$1;
13766
13765
  return cb(new Error("No URL was specified"));
13767
13766
  }
13768
- const context = getCookieContext(url$1);
13767
+ const context$1 = getCookieContext(url$1);
13769
13768
  if (validators.isFunction(options)) {
13770
13769
  cb = options;
13771
13770
  options = {};
13772
13771
  }
13773
13772
  validators.validate(validators.isFunction(cb), cb);
13774
13773
  if (!validators.isNonEmptyString(cookie) && !validators.isObject(cookie) && cookie instanceof String && cookie.length == 0) return cb(null);
13775
- const host = canonicalDomain(context.hostname);
13774
+ const host = canonicalDomain(context$1.hostname);
13776
13775
  const loose = options.loose || this.enableLooseMode;
13777
13776
  let sameSiteContext = null;
13778
13777
  if (options.sameSiteContext) {
@@ -13811,7 +13810,7 @@ var require_cookie$1 = __commonJS$4({ "node_modules/tough-cookie/lib/cookie.js"(
13811
13810
  cookie.domain = host;
13812
13811
  }
13813
13812
  if (!cookie.path || cookie.path[0] !== "/") {
13814
- cookie.path = defaultPath(context.pathname);
13813
+ cookie.path = defaultPath(context$1.pathname);
13815
13814
  cookie.pathIsDefault = true;
13816
13815
  }
13817
13816
  if (options.http === false && cookie.httpOnly) {
@@ -13866,17 +13865,17 @@ var require_cookie$1 = __commonJS$4({ "node_modules/tough-cookie/lib/cookie.js"(
13866
13865
  }
13867
13866
  getCookies(url$1, options, cb) {
13868
13867
  validators.validate(validators.isUrlStringOrObject(url$1), cb, url$1);
13869
- const context = getCookieContext(url$1);
13868
+ const context$1 = getCookieContext(url$1);
13870
13869
  if (validators.isFunction(options)) {
13871
13870
  cb = options;
13872
13871
  options = {};
13873
13872
  }
13874
13873
  validators.validate(validators.isObject(options), cb, options);
13875
13874
  validators.validate(validators.isFunction(cb), cb);
13876
- const host = canonicalDomain(context.hostname);
13877
- const path = context.pathname || "/";
13875
+ const host = canonicalDomain(context$1.hostname);
13876
+ const path = context$1.pathname || "/";
13878
13877
  let secure = options.secure;
13879
- if (secure == null && context.protocol && (context.protocol == "https:" || context.protocol == "wss:")) secure = true;
13878
+ if (secure == null && context$1.protocol && (context$1.protocol == "https:" || context$1.protocol == "wss:")) secure = true;
13880
13879
  let sameSiteLevel = 0;
13881
13880
  if (options.sameSiteContext) {
13882
13881
  const sameSiteContext = checkSameSiteContext(options.sameSiteContext);
@@ -13939,11 +13938,11 @@ var require_cookie$1 = __commonJS$4({ "node_modules/tough-cookie/lib/cookie.js"(
13939
13938
  }
13940
13939
  serialize(cb) {
13941
13940
  validators.validate(validators.isFunction(cb), cb);
13942
- let type = this.store.constructor.name;
13943
- if (validators.isObject(type)) type = null;
13941
+ let type$2 = this.store.constructor.name;
13942
+ if (validators.isObject(type$2)) type$2 = null;
13944
13943
  const serialized = {
13945
13944
  version: `tough-cookie@${VERSION}`,
13946
- storeType: type,
13945
+ storeType: type$2,
13947
13946
  rejectPublicSuffixes: !!this.rejectPublicSuffixes,
13948
13947
  enableLooseMode: !!this.enableLooseMode,
13949
13948
  allowSpecialUseDomain: !!this.allowSpecialUseDomain,
@@ -14548,9 +14547,9 @@ var require_statuses = __commonJS$3({ "node_modules/statuses/index.js"(exports$1
14548
14547
  function createMessageToStatusCodeMap(codes2) {
14549
14548
  var map = {};
14550
14549
  Object.keys(codes2).forEach(function forEachCode(code) {
14551
- var message$2 = codes2[code];
14550
+ var message$3 = codes2[code];
14552
14551
  var status3 = Number(code);
14553
- map[message$2.toLowerCase()] = status3;
14552
+ map[message$3.toLowerCase()] = status3;
14554
14553
  });
14555
14554
  return map;
14556
14555
  }
@@ -14559,9 +14558,9 @@ var require_statuses = __commonJS$3({ "node_modules/statuses/index.js"(exports$1
14559
14558
  return Number(code);
14560
14559
  });
14561
14560
  }
14562
- function getStatusCode(message$2) {
14563
- var msg = message$2.toLowerCase();
14564
- if (!Object.prototype.hasOwnProperty.call(status2.code, msg)) throw new Error("invalid status message: \"" + message$2 + "\"");
14561
+ function getStatusCode(message$3) {
14562
+ var msg = message$3.toLowerCase();
14563
+ if (!Object.prototype.hasOwnProperty.call(status2.code, msg)) throw new Error("invalid status message: \"" + message$3 + "\"");
14565
14564
  return status2.code[msg];
14566
14565
  }
14567
14566
  function getStatusMessage(code) {
@@ -14905,16 +14904,16 @@ var Headers$1 = class _Headers {
14905
14904
 
14906
14905
  //#endregion
14907
14906
  //#region ../../node_modules/.pnpm/msw@2.7.6_@types+node@22.15.15_typescript@5.8.3/node_modules/msw/lib/core/utils/HttpResponse/decorators.mjs
14908
- const { message: message$1 } = source_default$1;
14907
+ const { message: message$2 } = source_default$1;
14909
14908
  const kSetCookie = Symbol("kSetCookie");
14910
14909
  function normalizeResponseInit(init = {}) {
14911
- const status = init?.status || 200;
14912
- const statusText = init?.statusText || message$1[status] || "";
14910
+ const status$1 = init?.status || 200;
14911
+ const statusText = init?.statusText || message$2[status$1] || "";
14913
14912
  const headers = new Headers(init?.headers);
14914
14913
  return {
14915
14914
  ...init,
14916
14915
  headers,
14917
- status,
14916
+ status: status$1,
14918
14917
  statusText
14919
14918
  };
14920
14919
  }
@@ -15111,7 +15110,7 @@ var require_dist = require_chunk.__commonJS({ "../../node_modules/.pnpm/path-to-
15111
15110
  continue;
15112
15111
  }
15113
15112
  if (char === "(") {
15114
- var count = 1;
15113
+ var count$1 = 1;
15115
15114
  var pattern = "";
15116
15115
  var j = i + 1;
15117
15116
  if (str[j] === "?") throw new TypeError("Pattern cannot start with \"?\" at ".concat(j));
@@ -15121,18 +15120,18 @@ var require_dist = require_chunk.__commonJS({ "../../node_modules/.pnpm/path-to-
15121
15120
  continue;
15122
15121
  }
15123
15122
  if (str[j] === ")") {
15124
- count--;
15125
- if (count === 0) {
15123
+ count$1--;
15124
+ if (count$1 === 0) {
15126
15125
  j++;
15127
15126
  break;
15128
15127
  }
15129
15128
  } else if (str[j] === "(") {
15130
- count++;
15129
+ count$1++;
15131
15130
  if (str[j + 1] !== "?") throw new TypeError("Capturing groups are not allowed at ".concat(j));
15132
15131
  }
15133
15132
  pattern += str[j++];
15134
15133
  }
15135
- if (count) throw new TypeError("Unbalanced pattern at ".concat(i));
15134
+ if (count$1) throw new TypeError("Unbalanced pattern at ".concat(i));
15136
15135
  if (!pattern) throw new TypeError("Missing pattern at ".concat(i));
15137
15136
  tokens.push({
15138
15137
  type: "PATTERN",
@@ -15166,14 +15165,14 @@ var require_dist = require_chunk.__commonJS({ "../../node_modules/.pnpm/path-to-
15166
15165
  var key = 0;
15167
15166
  var i = 0;
15168
15167
  var path = "";
15169
- var tryConsume = function(type) {
15170
- if (i < tokens.length && tokens[i].type === type) return tokens[i++].value;
15168
+ var tryConsume = function(type$2) {
15169
+ if (i < tokens.length && tokens[i].type === type$2) return tokens[i++].value;
15171
15170
  };
15172
- var mustConsume = function(type) {
15173
- var value$1 = tryConsume(type);
15171
+ var mustConsume = function(type$2) {
15172
+ var value$1 = tryConsume(type$2);
15174
15173
  if (value$1 !== void 0) return value$1;
15175
15174
  var _a$2 = tokens[i], nextType = _a$2.type, index = _a$2.index;
15176
- throw new TypeError("Unexpected ".concat(nextType, " at ").concat(index, ", expected ").concat(type));
15175
+ throw new TypeError("Unexpected ".concat(nextType, " at ").concat(index, ", expected ").concat(type$2));
15177
15176
  };
15178
15177
  var consumeText = function() {
15179
15178
  var result$1 = "";
@@ -15638,34 +15637,34 @@ var Interceptor = class {
15638
15637
  * Returns an already running interceptor instance if it's present.
15639
15638
  */
15640
15639
  apply() {
15641
- const logger$1 = this.logger.extend("apply");
15642
- logger$1.info("applying the interceptor...");
15640
+ const logger$2 = this.logger.extend("apply");
15641
+ logger$2.info("applying the interceptor...");
15643
15642
  if (this.readyState === "APPLIED") {
15644
- logger$1.info("intercepted already applied!");
15643
+ logger$2.info("intercepted already applied!");
15645
15644
  return;
15646
15645
  }
15647
15646
  const shouldApply = this.checkEnvironment();
15648
15647
  if (!shouldApply) {
15649
- logger$1.info("the interceptor cannot be applied in this environment!");
15648
+ logger$2.info("the interceptor cannot be applied in this environment!");
15650
15649
  return;
15651
15650
  }
15652
15651
  this.readyState = "APPLYING";
15653
15652
  const runningInstance = this.getInstance();
15654
15653
  if (runningInstance) {
15655
- logger$1.info("found a running instance, reusing...");
15654
+ logger$2.info("found a running instance, reusing...");
15656
15655
  this.on = (event, listener) => {
15657
- logger$1.info("proxying the \"%s\" listener", event);
15656
+ logger$2.info("proxying the \"%s\" listener", event);
15658
15657
  runningInstance.emitter.addListener(event, listener);
15659
15658
  this.subscriptions.push(() => {
15660
15659
  runningInstance.emitter.removeListener(event, listener);
15661
- logger$1.info("removed proxied \"%s\" listener!", event);
15660
+ logger$2.info("removed proxied \"%s\" listener!", event);
15662
15661
  });
15663
15662
  return this;
15664
15663
  };
15665
15664
  this.readyState = "APPLIED";
15666
15665
  return;
15667
15666
  }
15668
- logger$1.info("no running instance found, setting up a new instance...");
15667
+ logger$2.info("no running instance found, setting up a new instance...");
15669
15668
  this.setup();
15670
15669
  this.setInstance();
15671
15670
  this.readyState = "APPLIED";
@@ -15680,12 +15679,12 @@ var Interceptor = class {
15680
15679
  * Listen to the interceptor's public events.
15681
15680
  */
15682
15681
  on(event, listener) {
15683
- const logger$1 = this.logger.extend("on");
15682
+ const logger$2 = this.logger.extend("on");
15684
15683
  if (this.readyState === "DISPOSING" || this.readyState === "DISPOSED") {
15685
- logger$1.info("cannot listen to events, already disposed!");
15684
+ logger$2.info("cannot listen to events, already disposed!");
15686
15685
  return this;
15687
15686
  }
15688
- logger$1.info("adding \"%s\" event listener:", event, listener);
15687
+ logger$2.info("adding \"%s\" event listener:", event, listener);
15689
15688
  this.emitter.on(event, listener);
15690
15689
  return this;
15691
15690
  }
@@ -15705,27 +15704,27 @@ var Interceptor = class {
15705
15704
  * Disposes of any side-effects this interceptor has introduced.
15706
15705
  */
15707
15706
  dispose() {
15708
- const logger$1 = this.logger.extend("dispose");
15707
+ const logger$2 = this.logger.extend("dispose");
15709
15708
  if (this.readyState === "DISPOSED") {
15710
- logger$1.info("cannot dispose, already disposed!");
15709
+ logger$2.info("cannot dispose, already disposed!");
15711
15710
  return;
15712
15711
  }
15713
- logger$1.info("disposing the interceptor...");
15712
+ logger$2.info("disposing the interceptor...");
15714
15713
  this.readyState = "DISPOSING";
15715
15714
  if (!this.getInstance()) {
15716
- logger$1.info("no interceptors running, skipping dispose...");
15715
+ logger$2.info("no interceptors running, skipping dispose...");
15717
15716
  return;
15718
15717
  }
15719
15718
  this.clearInstance();
15720
- logger$1.info("global symbol deleted:", getGlobalSymbol(this.symbol));
15719
+ logger$2.info("global symbol deleted:", getGlobalSymbol(this.symbol));
15721
15720
  if (this.subscriptions.length > 0) {
15722
- logger$1.info("disposing of %d subscriptions...", this.subscriptions.length);
15721
+ logger$2.info("disposing of %d subscriptions...", this.subscriptions.length);
15723
15722
  for (const dispose of this.subscriptions) dispose();
15724
15723
  this.subscriptions = [];
15725
- logger$1.info("disposed of all subscriptions!", this.subscriptions.length);
15724
+ logger$2.info("disposed of all subscriptions!", this.subscriptions.length);
15726
15725
  }
15727
15726
  this.emitter.removeAllListeners();
15728
- logger$1.info("destroyed the listener!");
15727
+ logger$2.info("destroyed the listener!");
15729
15728
  this.readyState = "DISPOSED";
15730
15729
  }
15731
15730
  getInstance() {
@@ -15767,8 +15766,8 @@ function bindEvent(target, event) {
15767
15766
  var kCancelable = Symbol("kCancelable");
15768
15767
  var kDefaultPrevented = Symbol("kDefaultPrevented");
15769
15768
  var CancelableMessageEvent = class extends MessageEvent {
15770
- constructor(type, init) {
15771
- super(type, init);
15769
+ constructor(type$2, init) {
15770
+ super(type$2, init);
15772
15771
  this[kCancelable] = !!init.cancelable;
15773
15772
  this[kDefaultPrevented] = false;
15774
15773
  }
@@ -15789,16 +15788,16 @@ var CancelableMessageEvent = class extends MessageEvent {
15789
15788
  }
15790
15789
  };
15791
15790
  var CloseEvent = class extends Event {
15792
- constructor(type, init = {}) {
15793
- super(type, init);
15791
+ constructor(type$2, init = {}) {
15792
+ super(type$2, init);
15794
15793
  this.code = init.code === void 0 ? 0 : init.code;
15795
15794
  this.reason = init.reason === void 0 ? "" : init.reason;
15796
15795
  this.wasClean = init.wasClean === void 0 ? false : init.wasClean;
15797
15796
  }
15798
15797
  };
15799
15798
  var CancelableCloseEvent = class extends CloseEvent {
15800
- constructor(type, init = {}) {
15801
- super(type, init);
15799
+ constructor(type$2, init = {}) {
15800
+ super(type$2, init);
15802
15801
  this[kCancelable] = !!init.cancelable;
15803
15802
  this[kDefaultPrevented] = false;
15804
15803
  }
@@ -15828,13 +15827,13 @@ var WebSocketClientConnection = class {
15828
15827
  this.url = new URL(socket.url);
15829
15828
  this[kEmitter] = new EventTarget();
15830
15829
  this.transport.addEventListener("outgoing", (event) => {
15831
- const message$2 = bindEvent(this.socket, new CancelableMessageEvent("message", {
15830
+ const message$3 = bindEvent(this.socket, new CancelableMessageEvent("message", {
15832
15831
  data: event.data,
15833
15832
  origin: event.origin,
15834
15833
  cancelable: true
15835
15834
  }));
15836
- this[kEmitter].dispatchEvent(message$2);
15837
- if (message$2.defaultPrevented) event.preventDefault();
15835
+ this[kEmitter].dispatchEvent(message$3);
15836
+ if (message$3.defaultPrevented) event.preventDefault();
15838
15837
  });
15839
15838
  this.transport.addEventListener("close", (event) => {
15840
15839
  this[kEmitter].dispatchEvent(bindEvent(this.socket, new CloseEvent("close", event)));
@@ -15843,7 +15842,7 @@ var WebSocketClientConnection = class {
15843
15842
  /**
15844
15843
  * Listen for the outgoing events from the connected WebSocket client.
15845
15844
  */
15846
- addEventListener(type, listener, options) {
15845
+ addEventListener(type$2, listener, options) {
15847
15846
  if (!Reflect.has(listener, kBoundListener)) {
15848
15847
  const boundListener = listener.bind(this.socket);
15849
15848
  Object.defineProperty(listener, kBoundListener, {
@@ -15852,7 +15851,7 @@ var WebSocketClientConnection = class {
15852
15851
  configurable: false
15853
15852
  });
15854
15853
  }
15855
- this[kEmitter].addEventListener(type, Reflect.get(listener, kBoundListener), options);
15854
+ this[kEmitter].addEventListener(type$2, Reflect.get(listener, kBoundListener), options);
15856
15855
  }
15857
15856
  /**
15858
15857
  * Removes the listener for the given event.
@@ -15975,11 +15974,11 @@ var WebSocketOverride = class extends EventTarget {
15975
15974
  this._onclose = null;
15976
15975
  });
15977
15976
  }
15978
- addEventListener(type, listener, options) {
15979
- return super.addEventListener(type, listener, options);
15977
+ addEventListener(type$2, listener, options) {
15978
+ return super.addEventListener(type$2, listener, options);
15980
15979
  }
15981
- removeEventListener(type, callback, options) {
15982
- return super.removeEventListener(type, callback, options);
15980
+ removeEventListener(type$2, callback, options) {
15981
+ return super.removeEventListener(type$2, callback, options);
15983
15982
  }
15984
15983
  };
15985
15984
  WebSocketOverride.CONNECTING = 0;
@@ -16161,8 +16160,8 @@ var WebSocketClassTransport = class extends EventTarget {
16161
16160
  ));
16162
16161
  };
16163
16162
  }
16164
- addEventListener(type, callback, options) {
16165
- return super.addEventListener(type, callback, options);
16163
+ addEventListener(type$2, callback, options) {
16164
+ return super.addEventListener(type$2, callback, options);
16166
16165
  }
16167
16166
  dispatchEvent(event) {
16168
16167
  return super.dispatchEvent(event);
@@ -16378,9 +16377,9 @@ var AsyncHandlersController = class {
16378
16377
  this.context.handlers.unshift(...runtimeHandlers);
16379
16378
  }
16380
16379
  reset(nextHandlers) {
16381
- const context = this.context;
16382
- context.handlers = [];
16383
- context.initialHandlers = nextHandlers.length > 0 ? nextHandlers : context.initialHandlers;
16380
+ const context$1 = this.context;
16381
+ context$1.handlers = [];
16382
+ context$1.initialHandlers = nextHandlers.length > 0 ? nextHandlers : context$1.initialHandlers;
16384
16383
  }
16385
16384
  currentHandlers() {
16386
16385
  const { initialHandlers, handlers } = this.context;
@@ -16559,9 +16558,9 @@ function isStringEqual(actual, expected) {
16559
16558
 
16560
16559
  //#endregion
16561
16560
  //#region ../../node_modules/.pnpm/msw@2.7.6_@types+node@22.15.15_typescript@5.8.3/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.mjs
16562
- function getStatusCodeColor(status) {
16563
- if (status < 300) return "#69AB32";
16564
- if (status < 400) return "#F0BB4B";
16561
+ function getStatusCodeColor(status$1) {
16562
+ if (status$1 < 300) return "#69AB32";
16563
+ if (status$1 < 400) return "#F0BB4B";
16565
16564
  return "#E95F5D";
16566
16565
  }
16567
16566
 
@@ -16589,12 +16588,12 @@ async function serializeRequest(request) {
16589
16588
 
16590
16589
  //#endregion
16591
16590
  //#region ../../node_modules/.pnpm/msw@2.7.6_@types+node@22.15.15_typescript@5.8.3/node_modules/msw/lib/core/utils/logging/serializeResponse.mjs
16592
- const { message } = source_default$1;
16591
+ const { message: message$1 } = source_default$1;
16593
16592
  async function serializeResponse(response) {
16594
16593
  const responseClone = response.clone();
16595
16594
  const responseText = await responseClone.text();
16596
16595
  const responseStatus = responseClone.status || 200;
16597
- const responseStatusText = responseClone.statusText || message[responseStatus] || "OK";
16596
+ const responseStatusText = responseClone.statusText || message$1[responseStatus] || "OK";
16598
16597
  return {
16599
16598
  status: responseStatus,
16600
16599
  statusText: responseStatusText,
@@ -16723,8 +16722,8 @@ var require_cookie = __commonJS$1({ "node_modules/cookie/index.js"(exports$1) {
16723
16722
  if (opt.secure) str += "; Secure";
16724
16723
  if (opt.partitioned) str += "; Partitioned";
16725
16724
  if (opt.priority) {
16726
- var priority = typeof opt.priority === "string" ? opt.priority.toLowerCase() : opt.priority;
16727
- switch (priority) {
16725
+ var priority$1 = typeof opt.priority === "string" ? opt.priority.toLowerCase() : opt.priority;
16726
+ switch (priority$1) {
16728
16727
  case "low":
16729
16728
  str += "; Priority=Low";
16730
16729
  break;
@@ -17442,113 +17441,709 @@ var autofix = {
17442
17441
  var autofix_state_default = { autofix };
17443
17442
 
17444
17443
  //#endregion
17445
- //#region ../mcp-server-mocks/dist/index.js
17446
- const OrganizationPayload = {
17447
- id: "4509106740723712",
17448
- slug: "sentry-mcp-evals",
17449
- name: "sentry-mcp-evals",
17450
- links: {
17451
- regionUrl: "https://us.sentry.io",
17452
- organizationUrl: "https://sentry.io/sentry-mcp-evals"
17444
+ //#region ../mcp-server-mocks/dist/fixtures/issue.json
17445
+ var id$1 = "6507376925";
17446
+ var shareId = null;
17447
+ var shortId = "CLOUDFLARE-MCP-41";
17448
+ var title$1 = "Error: Tool list_organizations is already registered";
17449
+ var culprit$1 = "Object.fetch(index)";
17450
+ var permalink = "https://sentry-mcp-evals.sentry.io/issues/6507376925/";
17451
+ var logger = null;
17452
+ var level = "error";
17453
+ var status = "unresolved";
17454
+ var statusDetails = {};
17455
+ var substatus = "ongoing";
17456
+ var isPublic = false;
17457
+ var platform$1 = "javascript";
17458
+ var project = {
17459
+ "id": "4509062593708032",
17460
+ "name": "CLOUDFLARE-MCP",
17461
+ "slug": "CLOUDFLARE-MCP",
17462
+ "platform": "bun"
17463
+ };
17464
+ var type$1 = "error";
17465
+ var metadata$1 = {
17466
+ "value": "Tool list_organizations is already registered",
17467
+ "type": "Error",
17468
+ "filename": "index.js",
17469
+ "function": "Object.fetch",
17470
+ "in_app_frame_mix": "in-app-only",
17471
+ "sdk": {
17472
+ "name": "sentry.javascript.cloudflare",
17473
+ "name_normalized": "sentry.javascript.cloudflare"
17474
+ },
17475
+ "severity": 0,
17476
+ "severity_reason": "ml",
17477
+ "initial_priority": 50,
17478
+ "title": null
17479
+ };
17480
+ var numComments = 0;
17481
+ var assignedTo = null;
17482
+ var isBookmarked = false;
17483
+ var isSubscribed = false;
17484
+ var subscriptionDetails = null;
17485
+ var hasSeen = true;
17486
+ var annotations = [];
17487
+ var issueType = "error";
17488
+ var issueCategory = "error";
17489
+ var priority = "medium";
17490
+ var priorityLockedAt = null;
17491
+ var isUnhandled = true;
17492
+ var count = "25";
17493
+ var userCount = 1;
17494
+ var firstSeen = "2025-04-03T22:51:19.403000Z";
17495
+ var lastSeen = "2025-04-12T11:34:11Z";
17496
+ var firstRelease = null;
17497
+ var lastRelease = null;
17498
+ var activity = [{
17499
+ "id": "4633815464",
17500
+ "user": null,
17501
+ "type": "auto_set_ongoing",
17502
+ "data": { "after_days": 7 },
17503
+ "dateCreated": "2025-04-10T22:55:22.411699Z"
17504
+ }, {
17505
+ "id": "0",
17506
+ "user": null,
17507
+ "type": "first_seen",
17508
+ "data": { "priority": "medium" },
17509
+ "dateCreated": "2025-04-03T22:51:19.403000Z"
17510
+ }];
17511
+ var openPeriods = [{
17512
+ "start": "2025-04-03T22:51:19.403000Z",
17513
+ "end": null,
17514
+ "duration": null,
17515
+ "isOpen": true,
17516
+ "lastChecked": "2025-04-12T11:34:11.310000Z"
17517
+ }];
17518
+ var seenBy = [{
17519
+ "id": "1",
17520
+ "name": "David Cramer",
17521
+ "username": "david@example.com",
17522
+ "email": "david@example.com",
17523
+ "avatarUrl": null,
17524
+ "isActive": true,
17525
+ "hasPasswordAuth": true,
17526
+ "isManaged": false,
17527
+ "dateJoined": "2012-01-14T22:08:29.270831Z",
17528
+ "lastLogin": "2025-04-13T14:00:11.516852Z",
17529
+ "has2fa": true,
17530
+ "lastActive": "2025-04-13T18:10:49.177605Z",
17531
+ "isSuperuser": true,
17532
+ "isStaff": true,
17533
+ "experiments": {},
17534
+ "emails": [{
17535
+ "id": "87429",
17536
+ "email": "david@example.com",
17537
+ "is_verified": true
17538
+ }],
17539
+ "options": {
17540
+ "theme": "light",
17541
+ "language": "en",
17542
+ "stacktraceOrder": 2,
17543
+ "defaultIssueEvent": "recommended",
17544
+ "timezone": "US/Pacific",
17545
+ "clock24Hours": false
17546
+ },
17547
+ "flags": { "newsletter_consent_prompt": false },
17548
+ "avatar": {
17549
+ "avatarType": "upload",
17550
+ "avatarUuid": "51e63edabf31412aa2a955e9cf2c1ca0",
17551
+ "avatarUrl": "https://sentry.io/avatar/51e63edabf31412aa2a955e9cf2c1ca0/"
17552
+ },
17553
+ "identities": [],
17554
+ "lastSeen": "2025-04-08T23:15:26.569455Z"
17555
+ }];
17556
+ var pluginActions = [];
17557
+ var pluginIssues = [];
17558
+ var pluginContexts = [];
17559
+ var userReportCount = 0;
17560
+ var stats = {
17561
+ "24h": [
17562
+ [1744480800, 0],
17563
+ [1744484400, 0],
17564
+ [1744488e3, 0],
17565
+ [1744491600, 0],
17566
+ [1744495200, 0],
17567
+ [1744498800, 0],
17568
+ [1744502400, 0],
17569
+ [1744506e3, 0],
17570
+ [1744509600, 0],
17571
+ [1744513200, 0],
17572
+ [1744516800, 0],
17573
+ [1744520400, 0],
17574
+ [1744524e3, 0],
17575
+ [1744527600, 0],
17576
+ [1744531200, 0],
17577
+ [1744534800, 0],
17578
+ [1744538400, 0],
17579
+ [1744542e3, 0],
17580
+ [1744545600, 0],
17581
+ [1744549200, 0],
17582
+ [1744552800, 0],
17583
+ [1744556400, 0],
17584
+ [174456e4, 0],
17585
+ [1744563600, 0],
17586
+ [1744567200, 0]
17587
+ ],
17588
+ "30d": [
17589
+ [1741910400, 0],
17590
+ [1741996800, 0],
17591
+ [1742083200, 0],
17592
+ [1742169600, 0],
17593
+ [1742256e3, 0],
17594
+ [1742342400, 0],
17595
+ [1742428800, 0],
17596
+ [1742515200, 0],
17597
+ [1742601600, 0],
17598
+ [1742688e3, 0],
17599
+ [1742774400, 0],
17600
+ [1742860800, 0],
17601
+ [1742947200, 0],
17602
+ [1743033600, 0],
17603
+ [174312e4, 0],
17604
+ [1743206400, 0],
17605
+ [1743292800, 0],
17606
+ [1743379200, 0],
17607
+ [1743465600, 0],
17608
+ [1743552e3, 0],
17609
+ [1743638400, 1],
17610
+ [1743724800, 0],
17611
+ [1743811200, 0],
17612
+ [1743897600, 0],
17613
+ [1743984e3, 0],
17614
+ [1744070400, 20],
17615
+ [1744156800, 1],
17616
+ [1744243200, 1],
17617
+ [1744329600, 0],
17618
+ [1744416e3, 2],
17619
+ [1744502400, 0]
17620
+ ]
17621
+ };
17622
+ var participants = [];
17623
+ var issue_default = {
17624
+ id: id$1,
17625
+ shareId,
17626
+ shortId,
17627
+ title: title$1,
17628
+ culprit: culprit$1,
17629
+ permalink,
17630
+ logger,
17631
+ level,
17632
+ status,
17633
+ statusDetails,
17634
+ substatus,
17635
+ isPublic,
17636
+ platform: platform$1,
17637
+ project,
17638
+ type: type$1,
17639
+ metadata: metadata$1,
17640
+ numComments,
17641
+ assignedTo,
17642
+ isBookmarked,
17643
+ isSubscribed,
17644
+ subscriptionDetails,
17645
+ hasSeen,
17646
+ annotations,
17647
+ issueType,
17648
+ issueCategory,
17649
+ priority,
17650
+ priorityLockedAt,
17651
+ isUnhandled,
17652
+ count,
17653
+ userCount,
17654
+ firstSeen,
17655
+ lastSeen,
17656
+ firstRelease,
17657
+ lastRelease,
17658
+ activity,
17659
+ openPeriods,
17660
+ seenBy,
17661
+ pluginActions,
17662
+ pluginIssues,
17663
+ pluginContexts,
17664
+ userReportCount,
17665
+ stats,
17666
+ participants
17667
+ };
17668
+
17669
+ //#endregion
17670
+ //#region ../mcp-server-mocks/dist/fixtures/event.json
17671
+ var id = "7ca573c0f4814912aaa9bdc77d1a7d51";
17672
+ var groupID = "6507376925";
17673
+ var eventID = "7ca573c0f4814912aaa9bdc77d1a7d51";
17674
+ var projectID = "4509062593708032";
17675
+ var size = 5891;
17676
+ var entries = [{
17677
+ "data": {
17678
+ "values": [{
17679
+ "type": "Error",
17680
+ "value": "Tool list_organizations is already registered",
17681
+ "mechanism": {
17682
+ "type": "cloudflare",
17683
+ "handled": false
17684
+ },
17685
+ "threadId": null,
17686
+ "module": null,
17687
+ "stacktrace": {
17688
+ "frames": [
17689
+ {
17690
+ "filename": "index.js",
17691
+ "absPath": "/index.js",
17692
+ "module": "index",
17693
+ "package": null,
17694
+ "platform": null,
17695
+ "instructionAddr": null,
17696
+ "symbolAddr": null,
17697
+ "function": null,
17698
+ "rawFunction": null,
17699
+ "symbol": null,
17700
+ "context": [],
17701
+ "lineNo": 7809,
17702
+ "colNo": 27,
17703
+ "inApp": true,
17704
+ "trust": null,
17705
+ "errors": null,
17706
+ "lock": null,
17707
+ "sourceLink": null,
17708
+ "vars": null
17709
+ },
17710
+ {
17711
+ "filename": "index.js",
17712
+ "absPath": "/index.js",
17713
+ "module": "index",
17714
+ "package": null,
17715
+ "platform": null,
17716
+ "instructionAddr": null,
17717
+ "symbolAddr": null,
17718
+ "function": "OAuthProviderImpl.fetch",
17719
+ "rawFunction": null,
17720
+ "symbol": null,
17721
+ "context": [],
17722
+ "lineNo": 8029,
17723
+ "colNo": 24,
17724
+ "inApp": true,
17725
+ "trust": null,
17726
+ "errors": null,
17727
+ "lock": null,
17728
+ "sourceLink": null,
17729
+ "vars": null
17730
+ },
17731
+ {
17732
+ "filename": "index.js",
17733
+ "absPath": "/index.js",
17734
+ "module": "index",
17735
+ "package": null,
17736
+ "platform": null,
17737
+ "instructionAddr": null,
17738
+ "symbolAddr": null,
17739
+ "function": "Object.fetch",
17740
+ "rawFunction": null,
17741
+ "symbol": null,
17742
+ "context": [],
17743
+ "lineNo": 19631,
17744
+ "colNo": 28,
17745
+ "inApp": true,
17746
+ "trust": null,
17747
+ "errors": null,
17748
+ "lock": null,
17749
+ "sourceLink": null,
17750
+ "vars": null
17751
+ }
17752
+ ],
17753
+ "framesOmitted": null,
17754
+ "registers": null,
17755
+ "hasSystemFrames": true
17756
+ },
17757
+ "rawStacktrace": {
17758
+ "frames": [
17759
+ {
17760
+ "filename": "index.js",
17761
+ "absPath": "/index.js",
17762
+ "module": "index",
17763
+ "package": null,
17764
+ "platform": null,
17765
+ "instructionAddr": null,
17766
+ "symbolAddr": null,
17767
+ "function": null,
17768
+ "rawFunction": null,
17769
+ "symbol": null,
17770
+ "context": [],
17771
+ "lineNo": 7809,
17772
+ "colNo": 27,
17773
+ "inApp": true,
17774
+ "trust": null,
17775
+ "errors": null,
17776
+ "lock": null,
17777
+ "sourceLink": null,
17778
+ "vars": null
17779
+ },
17780
+ {
17781
+ "filename": "index.js",
17782
+ "absPath": "/index.js",
17783
+ "module": "index",
17784
+ "package": null,
17785
+ "platform": null,
17786
+ "instructionAddr": null,
17787
+ "symbolAddr": null,
17788
+ "function": "OAuthProviderImpl.fetch",
17789
+ "rawFunction": null,
17790
+ "symbol": null,
17791
+ "context": [],
17792
+ "lineNo": 8029,
17793
+ "colNo": 24,
17794
+ "inApp": true,
17795
+ "trust": null,
17796
+ "errors": null,
17797
+ "lock": null,
17798
+ "sourceLink": null,
17799
+ "vars": null
17800
+ },
17801
+ {
17802
+ "filename": "index.js",
17803
+ "absPath": "/index.js",
17804
+ "module": "index",
17805
+ "package": null,
17806
+ "platform": null,
17807
+ "instructionAddr": null,
17808
+ "symbolAddr": null,
17809
+ "function": "Object.fetch",
17810
+ "rawFunction": null,
17811
+ "symbol": null,
17812
+ "context": [],
17813
+ "lineNo": 19631,
17814
+ "colNo": 28,
17815
+ "inApp": true,
17816
+ "trust": null,
17817
+ "errors": null,
17818
+ "lock": null,
17819
+ "sourceLink": null,
17820
+ "vars": null
17821
+ }
17822
+ ],
17823
+ "framesOmitted": null,
17824
+ "registers": null,
17825
+ "hasSystemFrames": true
17826
+ }
17827
+ }],
17828
+ "hasSystemFrames": true,
17829
+ "excOmitted": null
17830
+ },
17831
+ "type": "exception"
17832
+ }, {
17833
+ "data": {
17834
+ "apiTarget": null,
17835
+ "method": "GET",
17836
+ "url": "https://mcp.sentry.dev/sse",
17837
+ "query": [],
17838
+ "fragment": null,
17839
+ "data": null,
17840
+ "headers": [
17841
+ ["Accept", "text/event-stream"],
17842
+ ["Accept-Encoding", "gzip, br"],
17843
+ ["Accept-Language", "*"],
17844
+ ["Authorization", "[Filtered]"],
17845
+ ["Cache-Control", "no-cache"],
17846
+ ["Cf-Ipcountry", "GB"],
17847
+ ["Cf-Ray", "92d4c7266c8f48c9"],
17848
+ ["Cf-Visitor", "{\"scheme\":\"https\"}"],
17849
+ ["Connection", "Keep-Alive"],
17850
+ ["Host", "mcp.sentry.dev"],
17851
+ ["Pragma", "no-cache"],
17852
+ ["Sec-Fetch-Mode", "cors"],
17853
+ ["User-Agent", "node"],
17854
+ ["X-Forwarded-Proto", "https"]
17855
+ ],
17856
+ "cookies": [],
17857
+ "env": null,
17858
+ "inferredContentType": null
17859
+ },
17860
+ "type": "request"
17861
+ }];
17862
+ var dist = null;
17863
+ var message = "";
17864
+ var title = "Error: Tool list_organizations is already registered";
17865
+ var location$1 = "index.js";
17866
+ var user = {
17867
+ "id": null,
17868
+ "email": null,
17869
+ "username": null,
17870
+ "ip_address": "2a06:98c0:3600::103",
17871
+ "name": null,
17872
+ "geo": {
17873
+ "country_code": "US",
17874
+ "region": "United States"
17875
+ },
17876
+ "data": null
17877
+ };
17878
+ var contexts = {
17879
+ "cloud_resource": {
17880
+ "cloud.provider": "cloudflare",
17881
+ "type": "default"
17882
+ },
17883
+ "culture": {
17884
+ "timezone": "Europe/London",
17885
+ "type": "default"
17886
+ },
17887
+ "runtime": {
17888
+ "name": "cloudflare",
17889
+ "type": "runtime"
17890
+ },
17891
+ "trace": {
17892
+ "trace_id": "3032af8bcdfe4423b937fc5c041d5d82",
17893
+ "span_id": "953da703d2a6f4c7",
17894
+ "status": "unknown",
17895
+ "client_sample_rate": 1,
17896
+ "sampled": true,
17897
+ "type": "trace"
17453
17898
  }
17454
17899
  };
17455
- const TagsPayload = [
17900
+ var sdk = {
17901
+ "name": "sentry.javascript.cloudflare",
17902
+ "version": "9.12.0"
17903
+ };
17904
+ var context = {};
17905
+ var packages = {};
17906
+ var type = "error";
17907
+ var metadata = {
17908
+ "filename": "index.js",
17909
+ "function": "Object.fetch",
17910
+ "in_app_frame_mix": "in-app-only",
17911
+ "type": "Error",
17912
+ "value": "Tool list_organizations is already registered"
17913
+ };
17914
+ var tags = [
17915
+ {
17916
+ "key": "environment",
17917
+ "value": "development"
17918
+ },
17919
+ {
17920
+ "key": "handled",
17921
+ "value": "no"
17922
+ },
17456
17923
  {
17457
- key: "transaction",
17458
- name: "Transaction",
17459
- totalValues: 1080
17924
+ "key": "level",
17925
+ "value": "error"
17460
17926
  },
17461
17927
  {
17462
- key: "runtime.name",
17463
- name: "Runtime.Name",
17464
- totalValues: 1080
17928
+ "key": "mechanism",
17929
+ "value": "cloudflare"
17465
17930
  },
17466
17931
  {
17467
- key: "level",
17468
- name: "Level",
17469
- totalValues: 1144
17932
+ "key": "runtime.name",
17933
+ "value": "cloudflare"
17470
17934
  },
17471
17935
  {
17472
- key: "device",
17473
- name: "Device",
17474
- totalValues: 25
17936
+ "key": "url",
17937
+ "value": "https://mcp.sentry.dev/sse"
17938
+ }
17939
+ ];
17940
+ var platform = "javascript";
17941
+ var dateReceived = "2025-04-08T21:15:04.700878Z";
17942
+ var errors = [{
17943
+ "type": "js_no_source",
17944
+ "message": "Source code was not found",
17945
+ "data": {
17946
+ "symbolicator_type": "missing_source",
17947
+ "url": "/index.js"
17948
+ }
17949
+ }];
17950
+ var occurrence = null;
17951
+ var _meta = {
17952
+ "entries": { "1": { "data": {
17953
+ "": null,
17954
+ "apiTarget": null,
17955
+ "method": null,
17956
+ "url": null,
17957
+ "query": null,
17958
+ "data": null,
17959
+ "headers": { "3": { "1": { "": {
17960
+ "rem": [[
17961
+ "@password:filter",
17962
+ "s",
17963
+ 0,
17964
+ 10
17965
+ ]],
17966
+ "len": 64,
17967
+ "chunks": [{
17968
+ "type": "redaction",
17969
+ "text": "[Filtered]",
17970
+ "rule_id": "@password:filter",
17971
+ "remark": "s"
17972
+ }]
17973
+ } } } },
17974
+ "cookies": null,
17975
+ "env": null
17976
+ } } },
17977
+ "message": null,
17978
+ "user": null,
17979
+ "contexts": null,
17980
+ "sdk": null,
17981
+ "context": null,
17982
+ "packages": null,
17983
+ "tags": {}
17984
+ };
17985
+ var crashFile = null;
17986
+ var culprit = "Object.fetch(index)";
17987
+ var dateCreated = "2025-04-08T21:15:04Z";
17988
+ var fingerprints = ["60d1c667b173018c004e399b29dc927d"];
17989
+ var groupingConfig = {
17990
+ "enhancements": "KLUv_SAYwQAAkwKRs25ld3N0eWxlOjIwMjMtMDEtMTGQ",
17991
+ "id": "newstyle:2023-01-11"
17992
+ };
17993
+ var release = null;
17994
+ var userReport = null;
17995
+ var sdkUpdates = [];
17996
+ var resolvedWith = [null];
17997
+ var nextEventID = null;
17998
+ var previousEventID = "b7ed18493f4f4817a217b03839d4c017";
17999
+ var event_default = {
18000
+ id,
18001
+ groupID,
18002
+ eventID,
18003
+ projectID,
18004
+ size,
18005
+ entries,
18006
+ dist,
18007
+ message,
18008
+ title,
18009
+ location: location$1,
18010
+ user,
18011
+ contexts,
18012
+ sdk,
18013
+ context,
18014
+ packages,
18015
+ type,
18016
+ metadata,
18017
+ tags,
18018
+ platform,
18019
+ dateReceived,
18020
+ errors,
18021
+ occurrence,
18022
+ _meta,
18023
+ crashFile,
18024
+ culprit,
18025
+ dateCreated,
18026
+ fingerprints,
18027
+ groupingConfig,
18028
+ release,
18029
+ userReport,
18030
+ sdkUpdates,
18031
+ resolvedWith,
18032
+ nextEventID,
18033
+ previousEventID
18034
+ };
18035
+
18036
+ //#endregion
18037
+ //#region ../mcp-server-mocks/dist/fixtures/tags.json
18038
+ var tags_default = [
18039
+ {
18040
+ "key": "transaction",
18041
+ "name": "Transaction",
18042
+ "totalValues": 1080
17475
18043
  },
17476
18044
  {
17477
- key: "os",
17478
- name: "OS",
17479
- totalValues: 1133
18045
+ "key": "runtime.name",
18046
+ "name": "Runtime.Name",
18047
+ "totalValues": 1080
17480
18048
  },
17481
18049
  {
17482
- key: "user",
17483
- name: "User",
17484
- totalValues: 1080
18050
+ "key": "level",
18051
+ "name": "Level",
18052
+ "totalValues": 1144
17485
18053
  },
17486
18054
  {
17487
- key: "runtime",
17488
- name: "Runtime",
17489
- totalValues: 1080
18055
+ "key": "device",
18056
+ "name": "Device",
18057
+ "totalValues": 25
17490
18058
  },
17491
18059
  {
17492
- key: "release",
17493
- name: "Release",
17494
- totalValues: 1135
18060
+ "key": "os",
18061
+ "name": "OS",
18062
+ "totalValues": 1133
17495
18063
  },
17496
18064
  {
17497
- key: "url",
17498
- name: "URL",
17499
- totalValues: 1080
18065
+ "key": "user",
18066
+ "name": "User",
18067
+ "totalValues": 1080
17500
18068
  },
17501
18069
  {
17502
- key: "uptime_rule",
17503
- name: "Uptime Rule",
17504
- totalValues: 9
18070
+ "key": "runtime",
18071
+ "name": "Runtime",
18072
+ "totalValues": 1080
17505
18073
  },
17506
18074
  {
17507
- key: "server_name",
17508
- name: "Server",
17509
- totalValues: 1080
18075
+ "key": "release",
18076
+ "name": "Release",
18077
+ "totalValues": 1135
17510
18078
  },
17511
18079
  {
17512
- key: "browser",
17513
- name: "Browser",
17514
- totalValues: 56
18080
+ "key": "url",
18081
+ "name": "URL",
18082
+ "totalValues": 1080
17515
18083
  },
17516
18084
  {
17517
- key: "os.name",
17518
- name: "Os.Name",
17519
- totalValues: 1135
18085
+ "key": "uptime_rule",
18086
+ "name": "Uptime Rule",
18087
+ "totalValues": 9
17520
18088
  },
17521
18089
  {
17522
- key: "device.family",
17523
- name: "Device.Family",
17524
- totalValues: 25
18090
+ "key": "server_name",
18091
+ "name": "Server",
18092
+ "totalValues": 1080
17525
18093
  },
17526
18094
  {
17527
- key: "replayId",
17528
- name: "Replayid",
17529
- totalValues: 55
18095
+ "key": "browser",
18096
+ "name": "Browser",
18097
+ "totalValues": 56
17530
18098
  },
17531
18099
  {
17532
- key: "client_os.name",
17533
- name: "Client Os.Name",
17534
- totalValues: 1
18100
+ "key": "os.name",
18101
+ "name": "Os.Name",
18102
+ "totalValues": 1135
17535
18103
  },
17536
18104
  {
17537
- key: "environment",
17538
- name: "Environment",
17539
- totalValues: 1144
18105
+ "key": "device.family",
18106
+ "name": "Device.Family",
18107
+ "totalValues": 25
17540
18108
  },
17541
18109
  {
17542
- key: "service",
17543
- name: "Service",
17544
- totalValues: 1135
18110
+ "key": "replayId",
18111
+ "name": "Replayid",
18112
+ "totalValues": 55
17545
18113
  },
17546
18114
  {
17547
- key: "browser.name",
17548
- name: "Browser.Name",
17549
- totalValues: 56
18115
+ "key": "client_os.name",
18116
+ "name": "Client Os.Name",
18117
+ "totalValues": 1
18118
+ },
18119
+ {
18120
+ "key": "environment",
18121
+ "name": "Environment",
18122
+ "totalValues": 1144
18123
+ },
18124
+ {
18125
+ "key": "service",
18126
+ "name": "Service",
18127
+ "totalValues": 1135
18128
+ },
18129
+ {
18130
+ "key": "browser.name",
18131
+ "name": "Browser.Name",
18132
+ "totalValues": 56
17550
18133
  }
17551
18134
  ];
18135
+
18136
+ //#endregion
18137
+ //#region ../mcp-server-mocks/dist/index.js
18138
+ const OrganizationPayload = {
18139
+ id: "4509106740723712",
18140
+ slug: "sentry-mcp-evals",
18141
+ name: "sentry-mcp-evals",
18142
+ links: {
18143
+ regionUrl: "https://us.sentry.io",
18144
+ organizationUrl: "https://sentry.io/sentry-mcp-evals"
18145
+ }
18146
+ };
17552
18147
  const ReleasePayload = {
17553
18148
  id: 1402755016,
17554
18149
  version: "8ce89484-0fec-4913-a2cd-e8e2d41dee36",
@@ -17619,188 +18214,8 @@ const ClientKeyPayload = {
17619
18214
  hasDebug: false
17620
18215
  }
17621
18216
  };
17622
- const IssuePayload = {
17623
- id: "6507376925",
17624
- shareId: null,
17625
- shortId: "CLOUDFLARE-MCP-41",
17626
- title: "Error: Tool list_organizations is already registered",
17627
- culprit: "Object.fetch(index)",
17628
- permalink: "https://sentry-mcp-evals.sentry.io/issues/6507376925/",
17629
- logger: null,
17630
- level: "error",
17631
- status: "unresolved",
17632
- statusDetails: {},
17633
- substatus: "ongoing",
17634
- isPublic: false,
17635
- platform: "javascript",
17636
- project: {
17637
- id: "4509062593708032",
17638
- name: "CLOUDFLARE-MCP",
17639
- slug: "CLOUDFLARE-MCP",
17640
- platform: "bun"
17641
- },
17642
- type: "error",
17643
- metadata: {
17644
- value: "Tool list_organizations is already registered",
17645
- type: "Error",
17646
- filename: "index.js",
17647
- function: "Object.fetch",
17648
- in_app_frame_mix: "in-app-only",
17649
- sdk: {
17650
- name: "sentry.javascript.cloudflare",
17651
- name_normalized: "sentry.javascript.cloudflare"
17652
- },
17653
- severity: 0,
17654
- severity_reason: "ml",
17655
- initial_priority: 50,
17656
- title: null
17657
- },
17658
- numComments: 0,
17659
- assignedTo: null,
17660
- isBookmarked: false,
17661
- isSubscribed: false,
17662
- subscriptionDetails: null,
17663
- hasSeen: true,
17664
- annotations: [],
17665
- issueType: "error",
17666
- issueCategory: "error",
17667
- priority: "medium",
17668
- priorityLockedAt: null,
17669
- isUnhandled: true,
17670
- count: "25",
17671
- userCount: 1,
17672
- firstSeen: "2025-04-03T22:51:19.403000Z",
17673
- lastSeen: "2025-04-12T11:34:11Z",
17674
- firstRelease: null,
17675
- lastRelease: null,
17676
- activity: [{
17677
- id: "4633815464",
17678
- user: null,
17679
- type: "auto_set_ongoing",
17680
- data: { after_days: 7 },
17681
- dateCreated: "2025-04-10T22:55:22.411699Z"
17682
- }, {
17683
- id: "0",
17684
- user: null,
17685
- type: "first_seen",
17686
- data: { priority: "medium" },
17687
- dateCreated: "2025-04-03T22:51:19.403000Z"
17688
- }],
17689
- openPeriods: [{
17690
- start: "2025-04-03T22:51:19.403000Z",
17691
- end: null,
17692
- duration: null,
17693
- isOpen: true,
17694
- lastChecked: "2025-04-12T11:34:11.310000Z"
17695
- }],
17696
- seenBy: [{
17697
- id: "1",
17698
- name: "David Cramer",
17699
- username: "david@example.com",
17700
- email: "david@example.com",
17701
- avatarUrl: null,
17702
- isActive: true,
17703
- hasPasswordAuth: true,
17704
- isManaged: false,
17705
- dateJoined: "2012-01-14T22:08:29.270831Z",
17706
- lastLogin: "2025-04-13T14:00:11.516852Z",
17707
- has2fa: true,
17708
- lastActive: "2025-04-13T18:10:49.177605Z",
17709
- isSuperuser: true,
17710
- isStaff: true,
17711
- experiments: {},
17712
- emails: [{
17713
- id: "87429",
17714
- email: "david@example.com",
17715
- is_verified: true
17716
- }],
17717
- options: {
17718
- theme: "light",
17719
- language: "en",
17720
- stacktraceOrder: 2,
17721
- defaultIssueEvent: "recommended",
17722
- timezone: "US/Pacific",
17723
- clock24Hours: false
17724
- },
17725
- flags: { newsletter_consent_prompt: false },
17726
- avatar: {
17727
- avatarType: "upload",
17728
- avatarUuid: "51e63edabf31412aa2a955e9cf2c1ca0",
17729
- avatarUrl: "https://sentry.io/avatar/51e63edabf31412aa2a955e9cf2c1ca0/"
17730
- },
17731
- identities: [],
17732
- lastSeen: "2025-04-08T23:15:26.569455Z"
17733
- }],
17734
- pluginActions: [],
17735
- pluginIssues: [],
17736
- pluginContexts: [],
17737
- userReportCount: 0,
17738
- stats: {
17739
- "24h": [
17740
- [1744480800, 0],
17741
- [1744484400, 0],
17742
- [1744488e3, 0],
17743
- [1744491600, 0],
17744
- [1744495200, 0],
17745
- [1744498800, 0],
17746
- [1744502400, 0],
17747
- [1744506e3, 0],
17748
- [1744509600, 0],
17749
- [1744513200, 0],
17750
- [1744516800, 0],
17751
- [1744520400, 0],
17752
- [1744524e3, 0],
17753
- [1744527600, 0],
17754
- [1744531200, 0],
17755
- [1744534800, 0],
17756
- [1744538400, 0],
17757
- [1744542e3, 0],
17758
- [1744545600, 0],
17759
- [1744549200, 0],
17760
- [1744552800, 0],
17761
- [1744556400, 0],
17762
- [174456e4, 0],
17763
- [1744563600, 0],
17764
- [1744567200, 0]
17765
- ],
17766
- "30d": [
17767
- [1741910400, 0],
17768
- [1741996800, 0],
17769
- [1742083200, 0],
17770
- [1742169600, 0],
17771
- [1742256e3, 0],
17772
- [1742342400, 0],
17773
- [1742428800, 0],
17774
- [1742515200, 0],
17775
- [1742601600, 0],
17776
- [1742688e3, 0],
17777
- [1742774400, 0],
17778
- [1742860800, 0],
17779
- [1742947200, 0],
17780
- [1743033600, 0],
17781
- [174312e4, 0],
17782
- [1743206400, 0],
17783
- [1743292800, 0],
17784
- [1743379200, 0],
17785
- [1743465600, 0],
17786
- [1743552e3, 0],
17787
- [1743638400, 1],
17788
- [1743724800, 0],
17789
- [1743811200, 0],
17790
- [1743897600, 0],
17791
- [1743984e3, 0],
17792
- [1744070400, 20],
17793
- [1744156800, 1],
17794
- [1744243200, 1],
17795
- [1744329600, 0],
17796
- [1744416e3, 2],
17797
- [1744502400, 0]
17798
- ]
17799
- },
17800
- participants: []
17801
- };
17802
- const IssuePayload2 = {
17803
- ...IssuePayload,
18217
+ const issueFixture2 = {
18218
+ ...issue_default,
17804
18219
  id: 6507376926,
17805
18220
  shortId: "CLOUDFLARE-MCP-42",
17806
18221
  count: 1,
@@ -17808,336 +18223,6 @@ const IssuePayload2 = {
17808
18223
  firstSeen: "2025-04-11T22:51:19.403000Z",
17809
18224
  lastSeen: "2025-04-12T11:34:11Z"
17810
18225
  };
17811
- const EventPayload = {
17812
- id: "7ca573c0f4814912aaa9bdc77d1a7d51",
17813
- groupID: "6507376925",
17814
- eventID: "7ca573c0f4814912aaa9bdc77d1a7d51",
17815
- projectID: "4509062593708032",
17816
- size: 5891,
17817
- entries: [{
17818
- data: {
17819
- values: [{
17820
- type: "Error",
17821
- value: "Tool list_organizations is already registered",
17822
- mechanism: {
17823
- type: "cloudflare",
17824
- handled: false
17825
- },
17826
- threadId: null,
17827
- module: null,
17828
- stacktrace: {
17829
- frames: [
17830
- {
17831
- filename: "index.js",
17832
- absPath: "/index.js",
17833
- module: "index",
17834
- package: null,
17835
- platform: null,
17836
- instructionAddr: null,
17837
- symbolAddr: null,
17838
- function: null,
17839
- rawFunction: null,
17840
- symbol: null,
17841
- context: [],
17842
- lineNo: 7809,
17843
- colNo: 27,
17844
- inApp: true,
17845
- trust: null,
17846
- errors: null,
17847
- lock: null,
17848
- sourceLink: null,
17849
- vars: null
17850
- },
17851
- {
17852
- filename: "index.js",
17853
- absPath: "/index.js",
17854
- module: "index",
17855
- package: null,
17856
- platform: null,
17857
- instructionAddr: null,
17858
- symbolAddr: null,
17859
- function: "OAuthProviderImpl.fetch",
17860
- rawFunction: null,
17861
- symbol: null,
17862
- context: [],
17863
- lineNo: 8029,
17864
- colNo: 24,
17865
- inApp: true,
17866
- trust: null,
17867
- errors: null,
17868
- lock: null,
17869
- sourceLink: null,
17870
- vars: null
17871
- },
17872
- {
17873
- filename: "index.js",
17874
- absPath: "/index.js",
17875
- module: "index",
17876
- package: null,
17877
- platform: null,
17878
- instructionAddr: null,
17879
- symbolAddr: null,
17880
- function: "Object.fetch",
17881
- rawFunction: null,
17882
- symbol: null,
17883
- context: [],
17884
- lineNo: 19631,
17885
- colNo: 28,
17886
- inApp: true,
17887
- trust: null,
17888
- errors: null,
17889
- lock: null,
17890
- sourceLink: null,
17891
- vars: null
17892
- }
17893
- ],
17894
- framesOmitted: null,
17895
- registers: null,
17896
- hasSystemFrames: true
17897
- },
17898
- rawStacktrace: {
17899
- frames: [
17900
- {
17901
- filename: "index.js",
17902
- absPath: "/index.js",
17903
- module: "index",
17904
- package: null,
17905
- platform: null,
17906
- instructionAddr: null,
17907
- symbolAddr: null,
17908
- function: null,
17909
- rawFunction: null,
17910
- symbol: null,
17911
- context: [],
17912
- lineNo: 7809,
17913
- colNo: 27,
17914
- inApp: true,
17915
- trust: null,
17916
- errors: null,
17917
- lock: null,
17918
- sourceLink: null,
17919
- vars: null
17920
- },
17921
- {
17922
- filename: "index.js",
17923
- absPath: "/index.js",
17924
- module: "index",
17925
- package: null,
17926
- platform: null,
17927
- instructionAddr: null,
17928
- symbolAddr: null,
17929
- function: "OAuthProviderImpl.fetch",
17930
- rawFunction: null,
17931
- symbol: null,
17932
- context: [],
17933
- lineNo: 8029,
17934
- colNo: 24,
17935
- inApp: true,
17936
- trust: null,
17937
- errors: null,
17938
- lock: null,
17939
- sourceLink: null,
17940
- vars: null
17941
- },
17942
- {
17943
- filename: "index.js",
17944
- absPath: "/index.js",
17945
- module: "index",
17946
- package: null,
17947
- platform: null,
17948
- instructionAddr: null,
17949
- symbolAddr: null,
17950
- function: "Object.fetch",
17951
- rawFunction: null,
17952
- symbol: null,
17953
- context: [],
17954
- lineNo: 19631,
17955
- colNo: 28,
17956
- inApp: true,
17957
- trust: null,
17958
- errors: null,
17959
- lock: null,
17960
- sourceLink: null,
17961
- vars: null
17962
- }
17963
- ],
17964
- framesOmitted: null,
17965
- registers: null,
17966
- hasSystemFrames: true
17967
- }
17968
- }],
17969
- hasSystemFrames: true,
17970
- excOmitted: null
17971
- },
17972
- type: "exception"
17973
- }, {
17974
- data: {
17975
- apiTarget: null,
17976
- method: "GET",
17977
- url: "https://mcp.sentry.dev/sse",
17978
- query: [],
17979
- fragment: null,
17980
- data: null,
17981
- headers: [
17982
- ["Accept", "text/event-stream"],
17983
- ["Accept-Encoding", "gzip, br"],
17984
- ["Accept-Language", "*"],
17985
- ["Authorization", "[Filtered]"],
17986
- ["Cache-Control", "no-cache"],
17987
- ["Cf-Ipcountry", "GB"],
17988
- ["Cf-Ray", "92d4c7266c8f48c9"],
17989
- ["Cf-Visitor", "{\"scheme\":\"https\"}"],
17990
- ["Connection", "Keep-Alive"],
17991
- ["Host", "mcp.sentry.dev"],
17992
- ["Pragma", "no-cache"],
17993
- ["Sec-Fetch-Mode", "cors"],
17994
- ["User-Agent", "node"],
17995
- ["X-Forwarded-Proto", "https"]
17996
- ],
17997
- cookies: [],
17998
- env: null,
17999
- inferredContentType: null
18000
- },
18001
- type: "request"
18002
- }],
18003
- dist: null,
18004
- message: "",
18005
- title: "Error: Tool list_organizations is already registered",
18006
- location: "index.js",
18007
- user: {
18008
- id: null,
18009
- email: null,
18010
- username: null,
18011
- ip_address: "2a06:98c0:3600::103",
18012
- name: null,
18013
- geo: {
18014
- country_code: "US",
18015
- region: "United States"
18016
- },
18017
- data: null
18018
- },
18019
- contexts: {
18020
- cloud_resource: {
18021
- "cloud.provider": "cloudflare",
18022
- type: "default"
18023
- },
18024
- culture: {
18025
- timezone: "Europe/London",
18026
- type: "default"
18027
- },
18028
- runtime: {
18029
- name: "cloudflare",
18030
- type: "runtime"
18031
- },
18032
- trace: {
18033
- trace_id: "3032af8bcdfe4423b937fc5c041d5d82",
18034
- span_id: "953da703d2a6f4c7",
18035
- status: "unknown",
18036
- client_sample_rate: 1,
18037
- sampled: true,
18038
- type: "trace"
18039
- }
18040
- },
18041
- sdk: {
18042
- name: "sentry.javascript.cloudflare",
18043
- version: "9.12.0"
18044
- },
18045
- context: {},
18046
- packages: {},
18047
- type: "error",
18048
- metadata: {
18049
- filename: "index.js",
18050
- function: "Object.fetch",
18051
- in_app_frame_mix: "in-app-only",
18052
- type: "Error",
18053
- value: "Tool list_organizations is already registered"
18054
- },
18055
- tags: [
18056
- {
18057
- key: "environment",
18058
- value: "development"
18059
- },
18060
- {
18061
- key: "handled",
18062
- value: "no"
18063
- },
18064
- {
18065
- key: "level",
18066
- value: "error"
18067
- },
18068
- {
18069
- key: "mechanism",
18070
- value: "cloudflare"
18071
- },
18072
- {
18073
- key: "runtime.name",
18074
- value: "cloudflare"
18075
- },
18076
- {
18077
- key: "url",
18078
- value: "https://mcp.sentry.dev/sse"
18079
- }
18080
- ],
18081
- platform: "javascript",
18082
- dateReceived: "2025-04-08T21:15:04.700878Z",
18083
- errors: [{
18084
- type: "js_no_source",
18085
- message: "Source code was not found",
18086
- data: {
18087
- symbolicator_type: "missing_source",
18088
- url: "/index.js"
18089
- }
18090
- }],
18091
- occurrence: null,
18092
- _meta: {
18093
- entries: { "1": { data: {
18094
- "": null,
18095
- apiTarget: null,
18096
- method: null,
18097
- url: null,
18098
- query: null,
18099
- data: null,
18100
- headers: { "3": { "1": { "": {
18101
- rem: [[
18102
- "@password:filter",
18103
- "s",
18104
- 0,
18105
- 10
18106
- ]],
18107
- len: 64,
18108
- chunks: [{
18109
- type: "redaction",
18110
- text: "[Filtered]",
18111
- rule_id: "@password:filter",
18112
- remark: "s"
18113
- }]
18114
- } } } },
18115
- cookies: null,
18116
- env: null
18117
- } } },
18118
- message: null,
18119
- user: null,
18120
- contexts: null,
18121
- sdk: null,
18122
- context: null,
18123
- packages: null,
18124
- tags: {}
18125
- },
18126
- crashFile: null,
18127
- culprit: "Object.fetch(index)",
18128
- dateCreated: "2025-04-08T21:15:04Z",
18129
- fingerprints: ["60d1c667b173018c004e399b29dc927d"],
18130
- groupingConfig: {
18131
- enhancements: "KLUv_SAYwQAAkwKRs25ld3N0eWxlOjIwMjMtMDEtMTGQ",
18132
- id: "newstyle:2023-01-11"
18133
- },
18134
- release: null,
18135
- userReport: null,
18136
- sdkUpdates: [],
18137
- resolvedWith: [null],
18138
- nextEventID: null,
18139
- previousEventID: "b7ed18493f4f4817a217b03839d4c017"
18140
- };
18141
18226
  const EventsErrorsMeta = {
18142
18227
  fields: {
18143
18228
  "issue.id": "integer",
@@ -18299,344 +18384,455 @@ const EventsSpansPayload = {
18299
18384
  {}
18300
18385
  ]
18301
18386
  };
18302
- const restHandlers = [
18303
- http$1.get("https://sentry.io/api/0/organizations/", () => {
18304
- return HttpResponse.json([OrganizationPayload]);
18305
- }),
18306
- http$1.get("https://sentry.io/api/0/organizations/sentry-mcp-evals/", () => {
18307
- return HttpResponse.json(OrganizationPayload);
18308
- }),
18309
- http$1.get("https://sentry.io/api/0/organizations/sentry-mcp-evals/teams/", () => {
18310
- return HttpResponse.json([{
18311
- id: "4509106740854784",
18312
- slug: "the-goats",
18313
- name: "the-goats",
18314
- dateCreated: "2025-04-06T14:11:23.961739Z",
18315
- isMember: true,
18316
- teamRole: "admin",
18317
- flags: { "idp:provisioned": false },
18318
- access: [
18319
- "team:read",
18320
- "alerts:read",
18321
- "event:write",
18322
- "team:write",
18323
- "team:admin",
18324
- "event:read",
18325
- "org:read",
18326
- "member:read",
18327
- "project:admin",
18328
- "project:write",
18329
- "org:integrations",
18330
- "project:releases",
18331
- "alerts:write",
18332
- "event:admin",
18333
- "project:read"
18334
- ],
18335
- hasAccess: true,
18336
- isPending: false,
18337
- memberCount: 1,
18338
- avatar: {
18339
- avatarType: "letter_avatar",
18340
- avatarUuid: null
18341
- },
18342
- externalTeams: [],
18343
- projects: []
18344
- }]);
18345
- }),
18346
- http$1.get("https://sentry.io/api/0/organizations/sentry-mcp-evals/projects/", () => {
18347
- return HttpResponse.json([{
18348
- team: {
18349
- id: "4509106733776896",
18387
+ function buildHandlers(handlers) {
18388
+ return [...handlers.map((handler) => http$1[handler.method](`https://us.sentry.io${handler.path}`, handler.fetch)), ...handlers.map((handler) => http$1[handler.method](`https://sentry.io${handler.path}`, handler.fetch))];
18389
+ }
18390
+ const restHandlers = buildHandlers([
18391
+ {
18392
+ method: "get",
18393
+ path: "/api/0/organizations/",
18394
+ fetch: () => {
18395
+ return HttpResponse.json([OrganizationPayload]);
18396
+ }
18397
+ },
18398
+ {
18399
+ method: "get",
18400
+ path: "/api/0/organizations/sentry-mcp-evals/",
18401
+ fetch: () => {
18402
+ return HttpResponse.json(OrganizationPayload);
18403
+ }
18404
+ },
18405
+ {
18406
+ method: "get",
18407
+ path: "/api/0/organizations/sentry-mcp-evals/teams/",
18408
+ fetch: () => {
18409
+ return HttpResponse.json([{
18410
+ id: "4509106740854784",
18350
18411
  slug: "the-goats",
18351
- name: "the-goats"
18352
- },
18353
- teams: [{
18354
- id: "4509106733776896",
18412
+ name: "the-goats",
18413
+ dateCreated: "2025-04-06T14:11:23.961739Z",
18414
+ isMember: true,
18415
+ teamRole: "admin",
18416
+ flags: { "idp:provisioned": false },
18417
+ access: [
18418
+ "team:read",
18419
+ "alerts:read",
18420
+ "event:write",
18421
+ "team:write",
18422
+ "team:admin",
18423
+ "event:read",
18424
+ "org:read",
18425
+ "member:read",
18426
+ "project:admin",
18427
+ "project:write",
18428
+ "org:integrations",
18429
+ "project:releases",
18430
+ "alerts:write",
18431
+ "event:admin",
18432
+ "project:read"
18433
+ ],
18434
+ hasAccess: true,
18435
+ isPending: false,
18436
+ memberCount: 1,
18437
+ avatar: {
18438
+ avatarType: "letter_avatar",
18439
+ avatarUuid: null
18440
+ },
18441
+ externalTeams: [],
18442
+ projects: []
18443
+ }]);
18444
+ }
18445
+ },
18446
+ {
18447
+ method: "get",
18448
+ path: "/api/0/organizations/sentry-mcp-evals/projects/",
18449
+ fetch: () => {
18450
+ return HttpResponse.json([{
18451
+ team: {
18452
+ id: "4509106733776896",
18453
+ slug: "the-goats",
18454
+ name: "the-goats"
18455
+ },
18456
+ teams: [{
18457
+ id: "4509106733776896",
18458
+ slug: "the-goats",
18459
+ name: "the-goats"
18460
+ }],
18461
+ id: "4509106749636608",
18462
+ name: "cloudflare-mcp",
18463
+ slug: "cloudflare-mcp",
18464
+ isBookmarked: false,
18465
+ isMember: true,
18466
+ access: [
18467
+ "event:admin",
18468
+ "alerts:read",
18469
+ "project:write",
18470
+ "org:integrations",
18471
+ "alerts:write",
18472
+ "member:read",
18473
+ "team:write",
18474
+ "project:read",
18475
+ "event:read",
18476
+ "event:write",
18477
+ "project:admin",
18478
+ "org:read",
18479
+ "team:admin",
18480
+ "project:releases",
18481
+ "team:read"
18482
+ ],
18483
+ hasAccess: true,
18484
+ dateCreated: "2025-04-06T14:13:37.825970Z",
18485
+ environments: [],
18486
+ eventProcessing: { symbolicationDegraded: false },
18487
+ features: [
18488
+ "discard-groups",
18489
+ "alert-filters",
18490
+ "similarity-embeddings",
18491
+ "similarity-indexing",
18492
+ "similarity-view"
18493
+ ],
18494
+ firstEvent: null,
18495
+ firstTransactionEvent: false,
18496
+ hasSessions: false,
18497
+ hasProfiles: false,
18498
+ hasReplays: false,
18499
+ hasFeedbacks: false,
18500
+ hasNewFeedbacks: false,
18501
+ hasMonitors: false,
18502
+ hasMinifiedStackTrace: false,
18503
+ hasInsightsHttp: false,
18504
+ hasInsightsDb: false,
18505
+ hasInsightsAssets: false,
18506
+ hasInsightsAppStart: false,
18507
+ hasInsightsScreenLoad: false,
18508
+ hasInsightsVitals: false,
18509
+ hasInsightsCaches: false,
18510
+ hasInsightsQueues: false,
18511
+ hasInsightsLlmMonitoring: false,
18512
+ platform: "node",
18513
+ platforms: [],
18514
+ latestRelease: null,
18515
+ hasUserReports: false,
18516
+ hasFlags: false,
18517
+ latestDeploys: null
18518
+ }]);
18519
+ }
18520
+ },
18521
+ {
18522
+ method: "post",
18523
+ path: "/api/0/organizations/sentry-mcp-evals/teams/",
18524
+ fetch: () => {
18525
+ return HttpResponse.json({
18526
+ id: "4509109078196224",
18355
18527
  slug: "the-goats",
18356
- name: "the-goats"
18357
- }],
18358
- id: "4509106749636608",
18359
- name: "cloudflare-mcp",
18360
- slug: "cloudflare-mcp",
18361
- isBookmarked: false,
18362
- isMember: true,
18363
- access: [
18364
- "event:admin",
18365
- "alerts:read",
18366
- "project:write",
18367
- "org:integrations",
18368
- "alerts:write",
18369
- "member:read",
18370
- "team:write",
18371
- "project:read",
18372
- "event:read",
18373
- "event:write",
18374
- "project:admin",
18375
- "org:read",
18376
- "team:admin",
18377
- "project:releases",
18378
- "team:read"
18379
- ],
18380
- hasAccess: true,
18381
- dateCreated: "2025-04-06T14:13:37.825970Z",
18382
- environments: [],
18383
- eventProcessing: { symbolicationDegraded: false },
18384
- features: [
18385
- "discard-groups",
18386
- "alert-filters",
18387
- "similarity-embeddings",
18388
- "similarity-indexing",
18389
- "similarity-view"
18390
- ],
18391
- firstEvent: null,
18392
- firstTransactionEvent: false,
18393
- hasSessions: false,
18394
- hasProfiles: false,
18395
- hasReplays: false,
18396
- hasFeedbacks: false,
18397
- hasNewFeedbacks: false,
18398
- hasMonitors: false,
18399
- hasMinifiedStackTrace: false,
18400
- hasInsightsHttp: false,
18401
- hasInsightsDb: false,
18402
- hasInsightsAssets: false,
18403
- hasInsightsAppStart: false,
18404
- hasInsightsScreenLoad: false,
18405
- hasInsightsVitals: false,
18406
- hasInsightsCaches: false,
18407
- hasInsightsQueues: false,
18408
- hasInsightsLlmMonitoring: false,
18409
- platform: "node",
18410
- platforms: [],
18411
- latestRelease: null,
18412
- hasUserReports: false,
18413
- hasFlags: false,
18414
- latestDeploys: null
18415
- }]);
18416
- }),
18417
- http$1.post("https://sentry.io/api/0/organizations/sentry-mcp-evals/teams/", () => {
18418
- return HttpResponse.json({
18419
- id: "4509109078196224",
18420
- slug: "the-goats",
18421
- name: "the-goats",
18422
- dateCreated: "2025-04-07T00:05:48.196710Z",
18423
- isMember: true,
18424
- teamRole: "admin",
18425
- flags: { "idp:provisioned": false },
18426
- access: [
18427
- "event:read",
18428
- "org:integrations",
18429
- "org:read",
18430
- "member:read",
18431
- "alerts:write",
18432
- "event:admin",
18433
- "team:admin",
18434
- "project:releases",
18435
- "team:read",
18436
- "project:write",
18437
- "event:write",
18438
- "team:write",
18439
- "project:read",
18440
- "project:admin",
18441
- "alerts:read"
18442
- ],
18443
- hasAccess: true,
18444
- isPending: false,
18445
- memberCount: 1,
18446
- avatar: {
18447
- avatarType: "letter_avatar",
18448
- avatarUuid: null
18528
+ name: "the-goats",
18529
+ dateCreated: "2025-04-07T00:05:48.196710Z",
18530
+ isMember: true,
18531
+ teamRole: "admin",
18532
+ flags: { "idp:provisioned": false },
18533
+ access: [
18534
+ "event:read",
18535
+ "org:integrations",
18536
+ "org:read",
18537
+ "member:read",
18538
+ "alerts:write",
18539
+ "event:admin",
18540
+ "team:admin",
18541
+ "project:releases",
18542
+ "team:read",
18543
+ "project:write",
18544
+ "event:write",
18545
+ "team:write",
18546
+ "project:read",
18547
+ "project:admin",
18548
+ "alerts:read"
18549
+ ],
18550
+ hasAccess: true,
18551
+ isPending: false,
18552
+ memberCount: 1,
18553
+ avatar: {
18554
+ avatarType: "letter_avatar",
18555
+ avatarUuid: null
18556
+ }
18557
+ });
18558
+ }
18559
+ },
18560
+ {
18561
+ method: "post",
18562
+ path: "/api/0/teams/sentry-mcp-evals/the-goats/projects/",
18563
+ fetch: () => {
18564
+ return HttpResponse.json({
18565
+ id: "4509109104082945",
18566
+ slug: "cloudflare-mcp",
18567
+ name: "cloudflare-mcp",
18568
+ platform: "javascript",
18569
+ dateCreated: "2025-04-07T00:12:23.143074Z",
18570
+ isBookmarked: false,
18571
+ isMember: true,
18572
+ features: [
18573
+ "discard-groups",
18574
+ "alert-filters",
18575
+ "similarity-embeddings",
18576
+ "similarity-indexing",
18577
+ "similarity-view"
18578
+ ],
18579
+ firstEvent: null,
18580
+ firstTransactionEvent: false,
18581
+ access: [
18582
+ "team:write",
18583
+ "alerts:write",
18584
+ "event:write",
18585
+ "org:read",
18586
+ "alerts:read",
18587
+ "event:admin",
18588
+ "project:admin",
18589
+ "event:read",
18590
+ "org:integrations",
18591
+ "project:read",
18592
+ "project:releases",
18593
+ "project:write",
18594
+ "member:read",
18595
+ "team:read",
18596
+ "team:admin"
18597
+ ],
18598
+ hasAccess: true,
18599
+ hasMinifiedStackTrace: false,
18600
+ hasMonitors: false,
18601
+ hasProfiles: false,
18602
+ hasReplays: false,
18603
+ hasFeedbacks: false,
18604
+ hasFlags: false,
18605
+ hasNewFeedbacks: false,
18606
+ hasSessions: false,
18607
+ hasInsightsHttp: false,
18608
+ hasInsightsDb: false,
18609
+ hasInsightsAssets: false,
18610
+ hasInsightsAppStart: false,
18611
+ hasInsightsScreenLoad: false,
18612
+ hasInsightsVitals: false,
18613
+ hasInsightsCaches: false,
18614
+ hasInsightsQueues: false,
18615
+ hasInsightsLlmMonitoring: false,
18616
+ isInternal: false,
18617
+ isPublic: false,
18618
+ avatar: {
18619
+ avatarType: "letter_avatar",
18620
+ avatarUuid: null
18621
+ },
18622
+ color: "#bf3f55",
18623
+ status: "active"
18624
+ });
18625
+ }
18626
+ },
18627
+ {
18628
+ method: "post",
18629
+ path: "/api/0/projects/sentry-mcp-evals/cloudflare-mcp/keys/",
18630
+ fetch: () => {
18631
+ return HttpResponse.json(ClientKeyPayload);
18632
+ }
18633
+ },
18634
+ {
18635
+ method: "get",
18636
+ path: "/api/0/projects/sentry-mcp-evals/cloudflare-mcp/keys/",
18637
+ fetch: () => {
18638
+ return HttpResponse.json([ClientKeyPayload]);
18639
+ }
18640
+ },
18641
+ {
18642
+ method: "get",
18643
+ path: "/api/0/organizations/sentry-mcp-evals/events/",
18644
+ fetch: async ({ request }) => {
18645
+ const url$1 = new URL(request.url);
18646
+ const dataset = url$1.searchParams.get("dataset");
18647
+ const query = url$1.searchParams.get("query");
18648
+ const fields = url$1.searchParams.getAll("field");
18649
+ if (dataset === "spans") {
18650
+ if (query !== "is_transaction:true") return HttpResponse.json(EmptyEventsSpansPayload);
18651
+ if (url$1.searchParams.get("useRpc") !== "1") return HttpResponse.json("Invalid useRpc", { status: 400 });
18652
+ if (!fields.includes("id") || !fields.includes("trace") || !fields.includes("span.op") || !fields.includes("span.description") || !fields.includes("span.duration")) return HttpResponse.json("Invalid fields", { status: 400 });
18653
+ return HttpResponse.json(EventsSpansPayload);
18449
18654
  }
18450
- });
18451
- }),
18452
- http$1.post("https://sentry.io/api/0/teams/sentry-mcp-evals/the-goats/projects/", () => {
18453
- return HttpResponse.json({
18454
- id: "4509109104082945",
18455
- slug: "cloudflare-mcp",
18456
- name: "cloudflare-mcp",
18457
- platform: "javascript",
18458
- dateCreated: "2025-04-07T00:12:23.143074Z",
18459
- isBookmarked: false,
18460
- isMember: true,
18461
- features: [
18462
- "discard-groups",
18463
- "alert-filters",
18464
- "similarity-embeddings",
18465
- "similarity-indexing",
18466
- "similarity-view"
18467
- ],
18468
- firstEvent: null,
18469
- firstTransactionEvent: false,
18470
- access: [
18471
- "team:write",
18472
- "alerts:write",
18473
- "event:write",
18474
- "org:read",
18475
- "alerts:read",
18476
- "event:admin",
18477
- "project:admin",
18478
- "event:read",
18479
- "org:integrations",
18480
- "project:read",
18481
- "project:releases",
18482
- "project:write",
18483
- "member:read",
18484
- "team:read",
18485
- "team:admin"
18486
- ],
18487
- hasAccess: true,
18488
- hasMinifiedStackTrace: false,
18489
- hasMonitors: false,
18490
- hasProfiles: false,
18491
- hasReplays: false,
18492
- hasFeedbacks: false,
18493
- hasFlags: false,
18494
- hasNewFeedbacks: false,
18495
- hasSessions: false,
18496
- hasInsightsHttp: false,
18497
- hasInsightsDb: false,
18498
- hasInsightsAssets: false,
18499
- hasInsightsAppStart: false,
18500
- hasInsightsScreenLoad: false,
18501
- hasInsightsVitals: false,
18502
- hasInsightsCaches: false,
18503
- hasInsightsQueues: false,
18504
- hasInsightsLlmMonitoring: false,
18505
- isInternal: false,
18506
- isPublic: false,
18507
- avatar: {
18508
- avatarType: "letter_avatar",
18509
- avatarUuid: null
18510
- },
18511
- color: "#bf3f55",
18512
- status: "active"
18513
- });
18514
- }),
18515
- http$1.post("https://sentry.io/api/0/projects/sentry-mcp-evals/cloudflare-mcp/keys/", () => {
18516
- return HttpResponse.json(ClientKeyPayload);
18517
- }),
18518
- http$1.get("https://sentry.io/api/0/projects/sentry-mcp-evals/cloudflare-mcp/keys/", () => {
18519
- return HttpResponse.json([ClientKeyPayload]);
18520
- }),
18521
- http$1.get("https://sentry.io/api/0/organizations/sentry-mcp-evals/events/", async ({ request }) => {
18522
- const url$1 = new URL(request.url);
18523
- const dataset = url$1.searchParams.get("dataset");
18524
- const query = url$1.searchParams.get("query");
18525
- const fields = url$1.searchParams.getAll("field");
18526
- if (dataset === "spans") {
18527
- if (query !== "is_transaction:true") return HttpResponse.json(EmptyEventsSpansPayload);
18528
- if (url$1.searchParams.get("useRpc") !== "1") return HttpResponse.json("Invalid useRpc", { status: 400 });
18529
- if (!fields.includes("id") || !fields.includes("trace") || !fields.includes("span.op") || !fields.includes("span.description") || !fields.includes("span.duration")) return HttpResponse.json("Invalid fields", { status: 400 });
18530
- return HttpResponse.json(EventsSpansPayload);
18655
+ if (dataset === "errors") {
18656
+ if (!fields.includes("issue") || !fields.includes("title") || !fields.includes("project") || !fields.includes("last_seen()") || !fields.includes("count()")) return HttpResponse.json("Invalid fields", { status: 400 });
18657
+ if (!["-count", "-last_seen"].includes(url$1.searchParams.get("sort"))) return HttpResponse.json("Invalid sort", { status: 400 });
18658
+ const sortedQuery = query ? query?.split(" ").sort().join(" ") : null;
18659
+ if (![
18660
+ null,
18661
+ "",
18662
+ "error.handled:false",
18663
+ "error.unhandled:true",
18664
+ "error.handled:false is:unresolved",
18665
+ "error.unhandled:true is:unresolved",
18666
+ "is:unresolved project:cloudflare-mcp",
18667
+ "project:cloudflare-mcp",
18668
+ "user.email:david@sentry.io"
18669
+ ].includes(sortedQuery)) return HttpResponse.json(EmptyEventsErrorsPayload);
18670
+ return HttpResponse.json(EventsErrorsPayload);
18671
+ }
18672
+ return HttpResponse.json("Invalid dataset", { status: 400 });
18531
18673
  }
18532
- if (dataset === "errors") {
18533
- if (!fields.includes("issue") || !fields.includes("title") || !fields.includes("project") || !fields.includes("last_seen()") || !fields.includes("count()")) return HttpResponse.json("Invalid fields", { status: 400 });
18534
- if (!["-count", "-last_seen"].includes(url$1.searchParams.get("sort"))) return HttpResponse.json("Invalid sort", { status: 400 });
18535
- const sortedQuery = query ? query?.split(" ").sort().join(" ") : null;
18674
+ },
18675
+ {
18676
+ method: "get",
18677
+ path: "/api/0/projects/sentry-mcp-evals/foobar/issues/",
18678
+ fetch: () => HttpResponse.json([])
18679
+ },
18680
+ {
18681
+ method: "get",
18682
+ path: "/api/0/projects/sentry-mcp-evals/cloudflare-mcp/issues/",
18683
+ fetch: ({ request }) => {
18684
+ const url$1 = new URL(request.url);
18685
+ const sort = url$1.searchParams.get("sort");
18686
+ if (![
18687
+ null,
18688
+ "user",
18689
+ "freq",
18690
+ "date",
18691
+ "new",
18692
+ null
18693
+ ].includes(sort)) return HttpResponse.json(`Invalid sort: ${url$1.searchParams.get("sort")}`, { status: 400 });
18694
+ const collapse = url$1.searchParams.getAll("collapse");
18695
+ if (collapse.includes("stats")) return HttpResponse.json(`Invalid collapse: ${collapse.join(",")}`, { status: 400 });
18696
+ const query = url$1.searchParams.get("query");
18697
+ const queryTokens = query?.split(" ").sort() ?? [];
18698
+ const sortedQuery = queryTokens ? queryTokens.join(" ") : null;
18536
18699
  if (![
18537
18700
  null,
18538
18701
  "",
18539
- "error.handled:false",
18540
- "error.unhandled:true",
18702
+ "is:unresolved",
18541
18703
  "error.handled:false is:unresolved",
18542
18704
  "error.unhandled:true is:unresolved",
18543
- "is:unresolved project:cloudflare-mcp",
18544
- "project:cloudflare-mcp",
18545
18705
  "user.email:david@sentry.io"
18546
- ].includes(sortedQuery)) return HttpResponse.json(EmptyEventsErrorsPayload);
18547
- return HttpResponse.json(EventsErrorsPayload);
18706
+ ].includes(sortedQuery)) return HttpResponse.json([]);
18707
+ if (queryTokens.includes("user.email:david@sentry.io")) return HttpResponse.json([issue_default]);
18708
+ if (sort === "date") return HttpResponse.json([issue_default, issueFixture2]);
18709
+ return HttpResponse.json([issueFixture2, issue_default]);
18548
18710
  }
18549
- return HttpResponse.json("Invalid dataset", { status: 400 });
18550
- }),
18551
- http$1.get("https://sentry.io/api/0/projects/sentry-mcp-evals/foobar/issues/", () => HttpResponse.json([])),
18552
- http$1.get("https://sentry.io/api/0/projects/sentry-mcp-evals/cloudflare-mcp/issues/", ({ request }) => {
18553
- const url$1 = new URL(request.url);
18554
- const sort = url$1.searchParams.get("sort");
18555
- if (![
18556
- null,
18557
- "user",
18558
- "freq",
18559
- "date",
18560
- "new",
18561
- null
18562
- ].includes(sort)) return HttpResponse.json(`Invalid sort: ${url$1.searchParams.get("sort")}`, { status: 400 });
18563
- const collapse = url$1.searchParams.getAll("collapse");
18564
- if (collapse.includes("stats")) return HttpResponse.json(`Invalid collapse: ${collapse.join(",")}`, { status: 400 });
18565
- const query = url$1.searchParams.get("query");
18566
- const queryTokens = query?.split(" ").sort() ?? [];
18567
- const sortedQuery = queryTokens ? queryTokens.join(" ") : null;
18568
- if (![
18569
- null,
18570
- "",
18571
- "is:unresolved",
18572
- "error.handled:false is:unresolved",
18573
- "error.unhandled:true is:unresolved",
18574
- "user.email:david@sentry.io"
18575
- ].includes(sortedQuery)) return HttpResponse.json([]);
18576
- if (queryTokens.includes("user.email:david@sentry.io")) return HttpResponse.json([IssuePayload]);
18577
- if (sort === "date") return HttpResponse.json([IssuePayload, IssuePayload2]);
18578
- return HttpResponse.json([IssuePayload2, IssuePayload]);
18579
- }),
18580
- http$1.get("https://sentry.io/api/0/organizations/sentry-mcp-evals/issues/", ({ request }) => {
18581
- const url$1 = new URL(request.url);
18582
- const sort = url$1.searchParams.get("sort");
18583
- if (![
18584
- null,
18585
- "user",
18586
- "freq",
18587
- "date",
18588
- "new",
18589
- null
18590
- ].includes(sort)) return HttpResponse.json(`Invalid sort: ${url$1.searchParams.get("sort")}`, { status: 400 });
18591
- const collapse = url$1.searchParams.getAll("collapse");
18592
- if (collapse.includes("stats")) return HttpResponse.json(`Invalid collapse: ${collapse.join(",")}`, { status: 400 });
18593
- const query = url$1.searchParams.get("query");
18594
- const queryTokens = query?.split(" ").sort() ?? [];
18595
- const sortedQuery = queryTokens ? queryTokens.join(" ") : null;
18596
- if (query === "7ca573c0f4814912aaa9bdc77d1a7d51") return HttpResponse.json([IssuePayload]);
18597
- if (![
18598
- null,
18599
- "",
18600
- "is:unresolved",
18601
- "error.handled:false is:unresolved",
18602
- "error.unhandled:true is:unresolved",
18603
- "project:cloudflare-mcp",
18604
- "is:unresolved project:cloudflare-mcp",
18605
- "user.email:david@sentry.io"
18606
- ].includes(sortedQuery)) {
18607
- if (queryTokens.includes("project:remote-mcp")) return HttpResponse.json({ detail: "Invalid query. Project(s) remote-mcp do not exist or are not actively selected." }, { status: 400 });
18608
- return HttpResponse.json([]);
18711
+ },
18712
+ {
18713
+ method: "get",
18714
+ path: "/api/0/organizations/sentry-mcp-evals/issues/",
18715
+ fetch: ({ request }) => {
18716
+ const url$1 = new URL(request.url);
18717
+ const sort = url$1.searchParams.get("sort");
18718
+ if (![
18719
+ null,
18720
+ "user",
18721
+ "freq",
18722
+ "date",
18723
+ "new",
18724
+ null
18725
+ ].includes(sort)) return HttpResponse.json(`Invalid sort: ${url$1.searchParams.get("sort")}`, { status: 400 });
18726
+ const collapse = url$1.searchParams.getAll("collapse");
18727
+ if (collapse.includes("stats")) return HttpResponse.json(`Invalid collapse: ${collapse.join(",")}`, { status: 400 });
18728
+ const query = url$1.searchParams.get("query");
18729
+ const queryTokens = query?.split(" ").sort() ?? [];
18730
+ const sortedQuery = queryTokens ? queryTokens.join(" ") : null;
18731
+ if (query === "7ca573c0f4814912aaa9bdc77d1a7d51") return HttpResponse.json([issue_default]);
18732
+ if (![
18733
+ null,
18734
+ "",
18735
+ "is:unresolved",
18736
+ "error.handled:false is:unresolved",
18737
+ "error.unhandled:true is:unresolved",
18738
+ "project:cloudflare-mcp",
18739
+ "is:unresolved project:cloudflare-mcp",
18740
+ "user.email:david@sentry.io"
18741
+ ].includes(sortedQuery)) {
18742
+ if (queryTokens.includes("project:remote-mcp")) return HttpResponse.json({ detail: "Invalid query. Project(s) remote-mcp do not exist or are not actively selected." }, { status: 400 });
18743
+ return HttpResponse.json([]);
18744
+ }
18745
+ if (queryTokens.includes("user.email:david@sentry.io")) return HttpResponse.json([issue_default]);
18746
+ if (sort === "date") return HttpResponse.json([issue_default, issueFixture2]);
18747
+ return HttpResponse.json([issueFixture2, issue_default]);
18609
18748
  }
18610
- if (queryTokens.includes("user.email:david@sentry.io")) return HttpResponse.json([IssuePayload]);
18611
- if (sort === "date") return HttpResponse.json([IssuePayload, IssuePayload2]);
18612
- return HttpResponse.json([IssuePayload2, IssuePayload]);
18613
- }),
18614
- http$1.get("https://sentry.io/api/0/organizations/sentry-mcp-evals/issues/CLOUDFLARE-MCP-41/", () => HttpResponse.json(IssuePayload)),
18615
- http$1.get("https://sentry.io/api/0/organizations/sentry-mcp-evals/issues/6507376925/", () => HttpResponse.json(IssuePayload)),
18616
- http$1.get("https://sentry.io/api/0/organizations/sentry-mcp-evals/issues/CLOUDFLARE-MCP-42/", () => HttpResponse.json(IssuePayload2)),
18617
- http$1.get("https://sentry.io/api/0/organizations/sentry-mcp-evals/issues/6507376926/", () => HttpResponse.json(IssuePayload2)),
18618
- http$1.get("https://sentry.io/api/0/organizations/sentry-mcp-evals/issues/CLOUDFLARE-MCP-41/events/7ca573c0f4814912aaa9bdc77d1a7d51/", () => HttpResponse.json(EventPayload)),
18619
- http$1.get("https://sentry.io/api/0/organizations/sentry-mcp-evals/issues/CLOUDFLARE-MCP-41/events/latest/", () => HttpResponse.json(EventPayload)),
18620
- http$1.get("https://sentry.io/api/0/organizations/sentry-mcp-evals/issues/6507376925/events/7ca573c0f4814912aaa9bdc77d1a7d51/", () => HttpResponse.json(EventPayload)),
18621
- http$1.get("https://sentry.io/api/0/organizations/sentry-mcp-evals/issues/6507376925/events/latest/", () => HttpResponse.json(EventPayload)),
18622
- http$1.get("https://sentry.io/api/0/organizations/sentry-mcp-evals/issues/CLOUDFLARE-MCP-42/events/latest/", () => HttpResponse.json(EventPayload)),
18623
- http$1.get("https://sentry.io/api/0/organizations/sentry-mcp-evals/issues/6507376926/events/latest/", () => HttpResponse.json(EventPayload)),
18624
- http$1.get("https://sentry.io/api/0/organizations/sentry-mcp-evals/releases/", () => HttpResponse.json([ReleasePayload])),
18625
- http$1.get("https://sentry.io/api/0/projects/sentry-mcp-evals/cloudflare-mcp/releases/", () => HttpResponse.json([ReleasePayload])),
18626
- http$1.get("https://sentry.io/api/0/organizations/sentry-mcp-evals/tags/", () => HttpResponse.json(TagsPayload)),
18627
- http$1.get("https://sentry.io/api/0/organizations/sentry-mcp-evals/issues/6507376925/autofix/", () => {
18628
- return HttpResponse.json(autofix_state_default);
18629
- }),
18630
- http$1.get("https://sentry.io/api/0/organizations/sentry-mcp-evals/issues/PEATED-A8/autofix/", () => {
18631
- return HttpResponse.json(autofix_state_default);
18632
- }),
18633
- http$1.post("https://sentry.io/api/0/organizations/sentry-mcp-evals/issues/6507376925/autofix/", () => {
18634
- return HttpResponse.json({ run_id: 123 });
18635
- }),
18636
- http$1.post("https://sentry.io/api/0/organizations/sentry-mcp-evals/issues/PEATED-A8/autofix/", () => {
18637
- return HttpResponse.json({ run_id: 123 });
18638
- })
18639
- ];
18749
+ },
18750
+ {
18751
+ method: "get",
18752
+ path: "/api/0/organizations/sentry-mcp-evals/issues/CLOUDFLARE-MCP-41/",
18753
+ fetch: () => HttpResponse.json(issue_default)
18754
+ },
18755
+ {
18756
+ method: "get",
18757
+ path: "/api/0/organizations/sentry-mcp-evals/issues/6507376925/",
18758
+ fetch: () => HttpResponse.json(issue_default)
18759
+ },
18760
+ {
18761
+ method: "get",
18762
+ path: "/api/0/organizations/sentry-mcp-evals/issues/CLOUDFLARE-MCP-42/",
18763
+ fetch: () => HttpResponse.json(issueFixture2)
18764
+ },
18765
+ {
18766
+ method: "get",
18767
+ path: "/api/0/organizations/sentry-mcp-evals/issues/6507376926/",
18768
+ fetch: () => HttpResponse.json(issueFixture2)
18769
+ },
18770
+ {
18771
+ method: "get",
18772
+ path: "/api/0/organizations/sentry-mcp-evals/issues/CLOUDFLARE-MCP-41/events/7ca573c0f4814912aaa9bdc77d1a7d51/",
18773
+ fetch: () => HttpResponse.json(event_default)
18774
+ },
18775
+ {
18776
+ method: "get",
18777
+ path: "/api/0/organizations/sentry-mcp-evals/issues/CLOUDFLARE-MCP-41/events/latest/",
18778
+ fetch: () => HttpResponse.json(event_default)
18779
+ },
18780
+ {
18781
+ method: "get",
18782
+ path: "/api/0/organizations/sentry-mcp-evals/issues/6507376925/events/7ca573c0f4814912aaa9bdc77d1a7d51/",
18783
+ fetch: () => HttpResponse.json(event_default)
18784
+ },
18785
+ {
18786
+ method: "get",
18787
+ path: "/api/0/organizations/sentry-mcp-evals/issues/6507376925/events/latest/",
18788
+ fetch: () => HttpResponse.json(event_default)
18789
+ },
18790
+ {
18791
+ method: "get",
18792
+ path: "/api/0/organizations/sentry-mcp-evals/issues/CLOUDFLARE-MCP-42/events/latest/",
18793
+ fetch: () => HttpResponse.json(event_default)
18794
+ },
18795
+ {
18796
+ method: "get",
18797
+ path: "/api/0/organizations/sentry-mcp-evals/issues/6507376926/events/latest/",
18798
+ fetch: () => HttpResponse.json(event_default)
18799
+ },
18800
+ {
18801
+ method: "get",
18802
+ path: "/api/0/organizations/sentry-mcp-evals/releases/",
18803
+ fetch: () => HttpResponse.json([ReleasePayload])
18804
+ },
18805
+ {
18806
+ method: "get",
18807
+ path: "/api/0/projects/sentry-mcp-evals/cloudflare-mcp/releases/",
18808
+ fetch: () => HttpResponse.json([ReleasePayload])
18809
+ },
18810
+ {
18811
+ method: "get",
18812
+ path: "/api/0/organizations/sentry-mcp-evals/tags/",
18813
+ fetch: () => HttpResponse.json(tags_default)
18814
+ },
18815
+ {
18816
+ method: "get",
18817
+ path: "/api/0/organizations/sentry-mcp-evals/issues/6507376925/autofix/",
18818
+ fetch: () => HttpResponse.json(autofix_state_default)
18819
+ },
18820
+ {
18821
+ method: "get",
18822
+ path: "/api/0/organizations/sentry-mcp-evals/issues/PEATED-A8/autofix/",
18823
+ fetch: () => HttpResponse.json(autofix_state_default)
18824
+ },
18825
+ {
18826
+ method: "post",
18827
+ path: "/api/0/organizations/sentry-mcp-evals/issues/6507376925/autofix/",
18828
+ fetch: () => HttpResponse.json({ run_id: 123 })
18829
+ },
18830
+ {
18831
+ method: "post",
18832
+ path: "/api/0/organizations/sentry-mcp-evals/issues/PEATED-A8/autofix/",
18833
+ fetch: () => HttpResponse.json({ run_id: 123 })
18834
+ }
18835
+ ]);
18640
18836
  const mswServer = setupServer(...restHandlers);
18641
18837
 
18642
18838
  //#endregion