@sentry/mcp-server 0.4.0 → 0.6.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/dist/api-client/client.cjs +2 -2
  2. package/dist/api-client/client.d.cts +3 -3
  3. package/dist/api-client/client.d.ts +3 -3
  4. package/dist/api-client/client.js +2 -2
  5. package/dist/api-client/client.test.cjs +2 -2
  6. package/dist/api-client/client.test.js +2 -2
  7. package/dist/api-client/index.cjs +6 -3
  8. package/dist/api-client/index.d.cts +4 -4
  9. package/dist/api-client/index.d.ts +4 -4
  10. package/dist/api-client/index.js +3 -3
  11. package/dist/api-client/schema.cjs +5 -2
  12. package/dist/api-client/schema.d.cts +2 -2
  13. package/dist/api-client/schema.d.ts +2 -2
  14. package/dist/api-client/schema.js +2 -2
  15. package/dist/api-client/types.d.cts +2 -2
  16. package/dist/api-client/types.d.ts +2 -2
  17. package/dist/{client-C_XfRSu3.cjs → client-DQF6UreY.cjs} +41 -38
  18. package/dist/client-DQF6UreY.cjs.map +1 -0
  19. package/dist/{client-BKLE5Lkt.js → client-vqrS5E_N.js} +41 -38
  20. package/dist/client-vqrS5E_N.js.map +1 -0
  21. package/dist/{client.d-BizHDVuq.d.cts → client.d-JulFjrUM.d.cts} +25 -23
  22. package/dist/client.d-JulFjrUM.d.cts.map +1 -0
  23. package/dist/{client.d-CrWOcVIU.d.ts → client.d-eUhyVsN_.d.ts} +27 -25
  24. package/dist/client.d-eUhyVsN_.d.ts.map +1 -0
  25. package/dist/index.cjs +13 -13
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.js +13 -13
  28. package/dist/index.js.map +1 -1
  29. package/dist/internal/formatting.d.cts +3 -3
  30. package/dist/internal/formatting.d.ts +3 -3
  31. package/dist/internal/issue-helpers.cjs +4 -2
  32. package/dist/internal/issue-helpers.d.cts +30 -1
  33. package/dist/internal/issue-helpers.d.cts.map +1 -1
  34. package/dist/internal/issue-helpers.d.ts +30 -1
  35. package/dist/internal/issue-helpers.d.ts.map +1 -1
  36. package/dist/internal/issue-helpers.js +2 -2
  37. package/dist/internal/issue-helpers.test.cjs +41 -1
  38. package/dist/internal/issue-helpers.test.cjs.map +1 -1
  39. package/dist/internal/issue-helpers.test.js +41 -1
  40. package/dist/internal/issue-helpers.test.js.map +1 -1
  41. package/dist/issue-helpers-CdWMhVWJ.cjs +87 -0
  42. package/dist/issue-helpers-CdWMhVWJ.cjs.map +1 -0
  43. package/dist/{issue-helpers-C0kEdXOE.cjs → issue-helpers-Cx6bFCUv.js} +38 -9
  44. package/dist/issue-helpers-Cx6bFCUv.js.map +1 -0
  45. package/dist/{promptDefinitions-CaRMCDPI.js → promptDefinitions-C9aGYWZ6.js} +2 -2
  46. package/dist/{promptDefinitions-CaRMCDPI.js.map → promptDefinitions-C9aGYWZ6.js.map} +1 -1
  47. package/dist/{promptDefinitions-CVB4IyVf.cjs → promptDefinitions-OnJHLqrZ.cjs} +2 -2
  48. package/dist/{promptDefinitions-CVB4IyVf.cjs.map → promptDefinitions-OnJHLqrZ.cjs.map} +1 -1
  49. package/dist/promptDefinitions.cjs +2 -2
  50. package/dist/promptDefinitions.js +2 -2
  51. package/dist/{schema-Bc6_gUDA.cjs → schema-BnXdl41H.cjs} +71 -13
  52. package/dist/schema-BnXdl41H.cjs.map +1 -0
  53. package/dist/{schema-D1B8p0Ib.js → schema-BzPfPMq7.js} +54 -14
  54. package/dist/schema-BzPfPMq7.js.map +1 -0
  55. package/dist/{schema-BvloqMHW.cjs → schema-_xqdSRLo.cjs} +8 -1
  56. package/dist/{schema-BvloqMHW.cjs.map → schema-_xqdSRLo.cjs.map} +1 -1
  57. package/dist/{schema-k04PdSCK.js → schema-pZrPEvtp.js} +3 -2
  58. package/dist/{schema-k04PdSCK.js.map → schema-pZrPEvtp.js.map} +1 -1
  59. package/dist/schema.cjs +2 -1
  60. package/dist/{schema.d-DQ5YUr0Y.d.ts → schema.d-DwpHAZsi.d.ts} +2950 -184
  61. package/dist/schema.d-DwpHAZsi.d.ts.map +1 -0
  62. package/dist/{schema.d-cvHc3M20.d.cts → schema.d-vgLUM73w.d.cts} +3025 -259
  63. package/dist/schema.d-vgLUM73w.d.cts.map +1 -0
  64. package/dist/schema.d.cts +2 -1
  65. package/dist/schema.d.cts.map +1 -1
  66. package/dist/schema.d.ts +2 -1
  67. package/dist/schema.d.ts.map +1 -1
  68. package/dist/schema.js +2 -2
  69. package/dist/{server-DHbbEoa2.js → server-BLE3CwEp.js} +8 -9
  70. package/dist/server-BLE3CwEp.js.map +1 -0
  71. package/dist/{server-DQ_dBWQy.cjs → server-CqLaJq7P.cjs} +8 -9
  72. package/dist/server-CqLaJq7P.cjs.map +1 -0
  73. package/dist/server.cjs +8 -8
  74. package/dist/server.d.cts +2 -2
  75. package/dist/server.d.cts.map +1 -1
  76. package/dist/server.d.ts +2 -2
  77. package/dist/server.d.ts.map +1 -1
  78. package/dist/server.js +8 -8
  79. package/dist/{stdio-BHg5CaoN.js → stdio-BLheCcU0.js} +2 -2
  80. package/dist/{stdio-BHg5CaoN.js.map → stdio-BLheCcU0.js.map} +1 -1
  81. package/dist/{stdio-CRqulLZQ.cjs → stdio-DKNKrvTY.cjs} +2 -2
  82. package/dist/{stdio-CRqulLZQ.cjs.map → stdio-DKNKrvTY.cjs.map} +1 -1
  83. package/dist/test-setup.cjs +42 -42
  84. package/dist/test-setup.cjs.map +1 -1
  85. package/dist/test-setup.js +42 -42
  86. package/dist/test-setup.js.map +1 -1
  87. package/dist/{toolDefinitions-BJ0cyDce.cjs → toolDefinitions-C0t6Y5Su.cjs} +26 -5
  88. package/dist/toolDefinitions-C0t6Y5Su.cjs.map +1 -0
  89. package/dist/{toolDefinitions-L20Lv3AW.js → toolDefinitions-DB4pPvgy.js} +26 -5
  90. package/dist/toolDefinitions-DB4pPvgy.js.map +1 -0
  91. package/dist/toolDefinitions.cjs +2 -2
  92. package/dist/{toolDefinitions.d-C0zMvL9m.d.ts → toolDefinitions.d-C5JUBInb.d.ts} +16 -1
  93. package/dist/toolDefinitions.d-C5JUBInb.d.ts.map +1 -0
  94. package/dist/{toolDefinitions.d-Dx4q--0l.d.cts → toolDefinitions.d-CsT15_MF.d.cts} +16 -1
  95. package/dist/toolDefinitions.d-CsT15_MF.d.cts.map +1 -0
  96. package/dist/toolDefinitions.d.cts +1 -1
  97. package/dist/toolDefinitions.d.ts +1 -1
  98. package/dist/toolDefinitions.js +2 -2
  99. package/dist/toolDefinitions.test.cjs +2 -2
  100. package/dist/toolDefinitions.test.js +2 -2
  101. package/dist/{tools-B22b8Jjm.cjs → tools-BdAFXSMG.cjs} +118 -101
  102. package/dist/tools-BdAFXSMG.cjs.map +1 -0
  103. package/dist/{tools-CXgh-6Vh.js → tools-DZzt3LcX.js} +118 -101
  104. package/dist/tools-DZzt3LcX.js.map +1 -0
  105. package/dist/tools.cjs +4 -4
  106. package/dist/tools.d.cts +32 -75
  107. package/dist/tools.d.cts.map +1 -1
  108. package/dist/tools.d.ts +35 -78
  109. package/dist/tools.d.ts.map +1 -1
  110. package/dist/tools.js +4 -4
  111. package/dist/tools.test.cjs +94 -25
  112. package/dist/tools.test.cjs.map +1 -1
  113. package/dist/tools.test.js +94 -25
  114. package/dist/tools.test.js.map +1 -1
  115. package/dist/transports/stdio.cjs +9 -9
  116. package/dist/transports/stdio.d.cts +2 -2
  117. package/dist/transports/stdio.d.ts +2 -2
  118. package/dist/transports/stdio.js +9 -9
  119. package/dist/{types.d-DsrCjT7G.d.ts → types.d-B-acZthg.d.ts} +2 -2
  120. package/dist/{types.d-DsrCjT7G.d.ts.map → types.d-B-acZthg.d.ts.map} +1 -1
  121. package/dist/{types.d-DHI7S0mb.d.ts → types.d-BeKsSRmy.d.ts} +2 -2
  122. package/dist/{types.d-DHI7S0mb.d.ts.map → types.d-BeKsSRmy.d.ts.map} +1 -1
  123. package/dist/{types.d-DQGXrBBW.d.cts → types.d-BfhMPrt_.d.cts} +2 -2
  124. package/dist/{types.d-DQGXrBBW.d.cts.map → types.d-BfhMPrt_.d.cts.map} +1 -1
  125. package/dist/{types.d-r20cCyVI.d.cts → types.d-Bq-AxlK6.d.cts} +2 -2
  126. package/dist/{types.d-r20cCyVI.d.cts.map → types.d-Bq-AxlK6.d.cts.map} +1 -1
  127. package/dist/types.d.cts +2 -2
  128. package/dist/types.d.ts +2 -2
  129. package/dist/{version-D93Bj2gg.cjs → version-DkTBZdhM.cjs} +2 -2
  130. package/dist/version-DkTBZdhM.cjs.map +1 -0
  131. package/dist/version-S8A9iKsF.js +6 -0
  132. package/dist/version-S8A9iKsF.js.map +1 -0
  133. package/dist/version.cjs +1 -1
  134. package/dist/version.d.cts +1 -1
  135. package/dist/version.d.cts.map +1 -1
  136. package/dist/version.d.ts +1 -1
  137. package/dist/version.d.ts.map +1 -1
  138. package/dist/version.js +1 -1
  139. package/package.json +5 -6
  140. package/dist/client-BKLE5Lkt.js.map +0 -1
  141. package/dist/client-C_XfRSu3.cjs.map +0 -1
  142. package/dist/client.d-BizHDVuq.d.cts.map +0 -1
  143. package/dist/client.d-CrWOcVIU.d.ts.map +0 -1
  144. package/dist/issue-helpers-C0kEdXOE.cjs.map +0 -1
  145. package/dist/issue-helpers-DFde36Zu.js +0 -32
  146. package/dist/issue-helpers-DFde36Zu.js.map +0 -1
  147. package/dist/schema-Bc6_gUDA.cjs.map +0 -1
  148. package/dist/schema-D1B8p0Ib.js.map +0 -1
  149. package/dist/schema.d-DQ5YUr0Y.d.ts.map +0 -1
  150. package/dist/schema.d-cvHc3M20.d.cts.map +0 -1
  151. package/dist/server-DHbbEoa2.js.map +0 -1
  152. package/dist/server-DQ_dBWQy.cjs.map +0 -1
  153. package/dist/toolDefinitions-BJ0cyDce.cjs.map +0 -1
  154. package/dist/toolDefinitions-L20Lv3AW.js.map +0 -1
  155. package/dist/toolDefinitions.d-C0zMvL9m.d.ts.map +0 -1
  156. package/dist/toolDefinitions.d-Dx4q--0l.d.cts.map +0 -1
  157. package/dist/tools-B22b8Jjm.cjs.map +0 -1
  158. package/dist/tools-CXgh-6Vh.js.map +0 -1
  159. package/dist/version-D93Bj2gg.cjs.map +0 -1
  160. package/dist/version-DkmlRpxa.js +0 -6
  161. package/dist/version-DkmlRpxa.js.map +0 -1
@@ -1,11 +1,11 @@
1
- import "./schema-D1B8p0Ib.js";
2
- import "./client-BKLE5Lkt.js";
1
+ import "./schema-BzPfPMq7.js";
2
+ import "./client-vqrS5E_N.js";
3
3
  import "./types-H-TSmRpm.js";
4
4
  import "./api-client-9mzrj2HY.js";
5
5
  import "./formatting-Bacfde0I.js";
6
- import "./issue-helpers-DFde36Zu.js";
6
+ import "./issue-helpers-Cx6bFCUv.js";
7
7
  import "./logging-Cxm8lQvg.js";
8
- import { TOOL_HANDLERS } from "./tools-CXgh-6Vh.js";
8
+ import { TOOL_HANDLERS } from "./tools-DZzt3LcX.js";
9
9
  import { describe, it } from "./dist-Bewd5-7a.js";
10
10
  import { globalExpect } from "./vi.ClIskdbk-Dd6dTM3O.js";
11
11
 
@@ -21,7 +21,15 @@ describe("list_organizations", () => {
21
21
  globalExpect(result).toMatchInlineSnapshot(`
22
22
  "# Organizations
23
23
 
24
- - sentry-mcp-evals
24
+ ## **sentry-mcp-evals**
25
+
26
+ **Web URL:** https://sentry.io/sentry-mcp-evals
27
+ **Region URL:** https://us.sentry.io
28
+
29
+ # Using this information
30
+
31
+ - The organization's name is the identifier for the organization, and is used in many tools for \`organizationSlug\`.
32
+ - If a tool supports passing in the \`regionUrl\`, you should also pass in the correct value there.
25
33
  "
26
34
  `);
27
35
  });
@@ -33,7 +41,10 @@ describe("list_teams", () => {
33
41
  accessToken: "access-token",
34
42
  userId: "1",
35
43
  organizationSlug: null
36
- }, { organizationSlug: "sentry-mcp-evals" });
44
+ }, {
45
+ organizationSlug: "sentry-mcp-evals",
46
+ regionUrl: void 0
47
+ });
37
48
  globalExpect(result).toMatchInlineSnapshot(`
38
49
  "# Teams in **sentry-mcp-evals**
39
50
 
@@ -49,17 +60,20 @@ describe("list_projects", () => {
49
60
  accessToken: "access-token",
50
61
  userId: "1",
51
62
  organizationSlug: null
52
- }, { organizationSlug: "sentry-mcp-evals" });
63
+ }, {
64
+ organizationSlug: "sentry-mcp-evals",
65
+ regionUrl: void 0
66
+ });
53
67
  globalExpect(result).toMatchInlineSnapshot(`
54
68
  "# Projects in **sentry-mcp-evals**
55
69
 
56
- - cloudflare-mcp
70
+ - **cloudflare-mcp**
57
71
  "
58
72
  `);
59
73
  });
60
74
  });
61
75
  describe("list_issues", () => {
62
- it("serializes", async () => {
76
+ it("serializes with project", async () => {
63
77
  const tool = TOOL_HANDLERS.list_issues;
64
78
  const result = await tool({
65
79
  accessToken: "access-token",
@@ -69,7 +83,8 @@ describe("list_issues", () => {
69
83
  organizationSlug: "sentry-mcp-evals",
70
84
  projectSlug: "cloudflare-mcp",
71
85
  query: void 0,
72
- sortBy: "last_seen"
86
+ sortBy: "last_seen",
87
+ regionUrl: void 0
73
88
  });
74
89
  globalExpect(result).toMatchInlineSnapshot(`
75
90
  "# Issues in **sentry-mcp-evals/cloudflare-mcp**
@@ -92,6 +107,45 @@ describe("list_issues", () => {
92
107
 
93
108
  # Using this information
94
109
 
110
+ - You can reference the Issue ID in commit messages (e.g. \`Fixes <issueID>\`) to automatically close the issue when the commit is merged.
111
+ - You can get more details about a specific issue by using the tool: \`get_issue_details(organizationSlug="sentry-mcp-evals", issueId=<issueID>)\`
112
+ "
113
+ `);
114
+ });
115
+ it("serializes without project", async () => {
116
+ const tool = TOOL_HANDLERS.list_issues;
117
+ const result = await tool({
118
+ accessToken: "access-token",
119
+ userId: "1",
120
+ organizationSlug: null
121
+ }, {
122
+ organizationSlug: "sentry-mcp-evals",
123
+ projectSlug: void 0,
124
+ query: void 0,
125
+ sortBy: "last_seen",
126
+ regionUrl: void 0
127
+ });
128
+ globalExpect(result).toMatchInlineSnapshot(`
129
+ "# Issues in **sentry-mcp-evals**
130
+
131
+ ## CLOUDFLARE-MCP-41
132
+
133
+ **Description**: Error: Tool list_organizations is already registered
134
+ **Culprit**: Object.fetch(index)
135
+ **First Seen**: 2025-04-03T22:51:19.403Z
136
+ **Last Seen**: 2025-04-12T11:34:11.000Z
137
+ **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-41
138
+
139
+ ## CLOUDFLARE-MCP-42
140
+
141
+ **Description**: Error: Tool list_issues is already registered
142
+ **Culprit**: Object.fetch(index)
143
+ **First Seen**: 2025-04-11T22:51:19.403Z
144
+ **Last Seen**: 2025-04-12T11:34:11.000Z
145
+ **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-42
146
+
147
+ # Using this information
148
+
95
149
  - You can reference the Issue ID in commit messages (e.g. \`Fixes <issueID>\`) to automatically close the issue when the commit is merged.
96
150
  - You can get more details about a specific issue by using the tool: \`get_issue_details(organizationSlug="sentry-mcp-evals", issueId=<issueID>)\`
97
151
  "
@@ -107,7 +161,8 @@ describe("list_releases", () => {
107
161
  organizationSlug: null
108
162
  }, {
109
163
  organizationSlug: "sentry-mcp-evals",
110
- projectSlug: void 0
164
+ projectSlug: void 0,
165
+ regionUrl: void 0
111
166
  });
112
167
  globalExpect(result).toMatchInlineSnapshot(`
113
168
  "# Releases in **sentry-mcp-evals**
@@ -135,7 +190,8 @@ describe("list_releases", () => {
135
190
  organizationSlug: null
136
191
  }, {
137
192
  organizationSlug: "sentry-mcp-evals",
138
- projectSlug: "cloudflare-mcp"
193
+ projectSlug: "cloudflare-mcp",
194
+ regionUrl: void 0
139
195
  });
140
196
  globalExpect(result).toMatchInlineSnapshot(`
141
197
  "# Releases in **sentry-mcp-evals/cloudflare-mcp**
@@ -165,7 +221,8 @@ describe("list_tags", () => {
165
221
  organizationSlug: null
166
222
  }, {
167
223
  organizationSlug: "sentry-mcp-evals",
168
- projectSlug: void 0
224
+ projectSlug: void 0,
225
+ regionUrl: void 0
169
226
  });
170
227
  globalExpect(result).toMatchInlineSnapshot(`
171
228
  "# Tags in **sentry-mcp-evals**
@@ -210,7 +267,8 @@ describe("search_errors", () => {
210
267
  filename: void 0,
211
268
  transaction: void 0,
212
269
  query: void 0,
213
- sortBy: "count"
270
+ sortBy: "count",
271
+ regionUrl: void 0
214
272
  });
215
273
  globalExpect(result).toMatchInlineSnapshot(`
216
274
  "# Errors in **sentry-mcp-evals**
@@ -245,7 +303,8 @@ describe("search_transactions", () => {
245
303
  projectSlug: void 0,
246
304
  transaction: void 0,
247
305
  query: void 0,
248
- sortBy: "duration"
306
+ sortBy: "duration",
307
+ regionUrl: void 0
249
308
  });
250
309
  globalExpect(result).toMatchInlineSnapshot(`
251
310
  "# Transactions in **sentry-mcp-evals**
@@ -287,7 +346,8 @@ describe("get_issue_summary", () => {
287
346
  }, {
288
347
  organizationSlug: "sentry-mcp-evals",
289
348
  issueId: "CLOUDFLARE-MCP-41",
290
- issueUrl: void 0
349
+ issueUrl: void 0,
350
+ regionUrl: void 0
291
351
  });
292
352
  globalExpect(result).toMatchInlineSnapshot(`
293
353
  "# Issue CLOUDFLARE-MCP-41 in **sentry-mcp-evals**
@@ -314,7 +374,8 @@ describe("get_issue_summary", () => {
314
374
  }, {
315
375
  organizationSlug: void 0,
316
376
  issueId: void 0,
317
- issueUrl: "https://sentry-mcp-evals.sentry.io/issues/6507376925"
377
+ issueUrl: "https://sentry-mcp-evals.sentry.io/issues/6507376925",
378
+ regionUrl: void 0
318
379
  });
319
380
  globalExpect(result).toMatchInlineSnapshot(`
320
381
  "# Issue CLOUDFLARE-MCP-41 in **sentry-mcp-evals**
@@ -343,7 +404,8 @@ describe("get_issue_details", () => {
343
404
  }, {
344
405
  organizationSlug: "sentry-mcp-evals",
345
406
  issueId: "CLOUDFLARE-MCP-41",
346
- issueUrl: void 0
407
+ issueUrl: void 0,
408
+ regionUrl: void 0
347
409
  });
348
410
  globalExpect(result).toMatchInlineSnapshot(`
349
411
  "# Issue CLOUDFLARE-MCP-41 in **sentry-mcp-evals**
@@ -385,7 +447,8 @@ describe("get_issue_details", () => {
385
447
  }, {
386
448
  organizationSlug: void 0,
387
449
  issueId: void 0,
388
- issueUrl: "https://sentry-mcp-evals.sentry.io/issues/6507376925"
450
+ issueUrl: "https://sentry-mcp-evals.sentry.io/issues/6507376925",
451
+ regionUrl: void 0
389
452
  });
390
453
  globalExpect(result).toMatchInlineSnapshot(`
391
454
  "# Issue CLOUDFLARE-MCP-41 in **sentry-mcp-evals**
@@ -428,7 +491,8 @@ describe("create_team", () => {
428
491
  organizationSlug: null
429
492
  }, {
430
493
  organizationSlug: "sentry-mcp-evals",
431
- name: "the-goats"
494
+ name: "the-goats",
495
+ regionUrl: void 0
432
496
  });
433
497
  globalExpect(result).toMatchInlineSnapshot(`
434
498
  "# New Team in **sentry-mcp-evals**
@@ -454,7 +518,8 @@ describe("create_project", () => {
454
518
  organizationSlug: "sentry-mcp-evals",
455
519
  teamSlug: "the-goats",
456
520
  name: "cloudflare-mcp",
457
- platform: "javascript"
521
+ platform: "javascript",
522
+ regionUrl: void 0
458
523
  });
459
524
  globalExpect(result).toMatchInlineSnapshot(`
460
525
  "# New Project in **sentry-mcp-evals**
@@ -482,7 +547,8 @@ describe("create_dsn", () => {
482
547
  }, {
483
548
  organizationSlug: "sentry-mcp-evals",
484
549
  projectSlug: "cloudflare-mcp",
485
- name: "Default"
550
+ name: "Default",
551
+ regionUrl: void 0
486
552
  });
487
553
  globalExpect(result).toMatchInlineSnapshot(`
488
554
  "# New DSN in **sentry-mcp-evals/cloudflare-mcp**
@@ -506,7 +572,8 @@ describe("list_dsn", () => {
506
572
  organizationSlug: null
507
573
  }, {
508
574
  organizationSlug: "sentry-mcp-evals",
509
- projectSlug: "cloudflare-mcp"
575
+ projectSlug: "cloudflare-mcp",
576
+ regionUrl: void 0
510
577
  });
511
578
  globalExpect(result).toMatchInlineSnapshot(`
512
579
  "# DSNs in **sentry-mcp-evals/cloudflare-mcp**
@@ -532,7 +599,8 @@ describe("begin_autofix", () => {
532
599
  }, {
533
600
  organizationSlug: "sentry-mcp-evals",
534
601
  issueId: "PEATED-A8",
535
- issueUrl: void 0
602
+ issueUrl: void 0,
603
+ regionUrl: void 0
536
604
  });
537
605
  globalExpect(result).toMatchInlineSnapshot(`
538
606
  "# Autofix Started for Issue PEATED-A8
@@ -559,7 +627,8 @@ describe("get_autofix_status", () => {
559
627
  }, {
560
628
  organizationSlug: "sentry-mcp-evals",
561
629
  issueId: "PEATED-A8",
562
- issueUrl: void 0
630
+ issueUrl: void 0,
631
+ regionUrl: void 0
563
632
  });
564
633
  globalExpect(result).toMatchInlineSnapshot(`
565
634
  "# Autofix Status for Issue PEATED-A8
@@ -1 +1 @@
1
- {"version":3,"file":"tools.test.js","names":[],"sources":["../src/tools.test.ts"],"sourcesContent":["import { describe, it, expect } from \"vitest\";\nimport { TOOL_HANDLERS } from \"./tools\";\n\ndescribe(\"list_organizations\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.list_organizations;\n const result = await tool({\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n });\n expect(result).toMatchInlineSnapshot(`\n \"# Organizations\n\n - sentry-mcp-evals\n \"\n `);\n });\n});\n\ndescribe(\"list_teams\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.list_teams;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Teams in **sentry-mcp-evals**\n\n - the-goats\n \"\n `);\n });\n});\n\ndescribe(\"list_projects\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.list_projects;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Projects in **sentry-mcp-evals**\n\n - cloudflare-mcp\n \"\n `);\n });\n});\n\ndescribe(\"list_issues\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.list_issues;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n projectSlug: \"cloudflare-mcp\",\n query: undefined,\n sortBy: \"last_seen\",\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Issues in **sentry-mcp-evals/cloudflare-mcp**\n\n ## CLOUDFLARE-MCP-41\n\n **Description**: Error: Tool list_organizations is already registered\n **Culprit**: Object.fetch(index)\n **First Seen**: 2025-04-03T22:51:19.403Z\n **Last Seen**: 2025-04-12T11:34:11.000Z\n **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-41\n\n ## CLOUDFLARE-MCP-42\n\n **Description**: Error: Tool list_issues is already registered\n **Culprit**: Object.fetch(index)\n **First Seen**: 2025-04-11T22:51:19.403Z\n **Last Seen**: 2025-04-12T11:34:11.000Z\n **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-42\n\n # Using this information\n\n - You can reference the Issue ID in commit messages (e.g. \\`Fixes <issueID>\\`) to automatically close the issue when the commit is merged.\n - You can get more details about a specific issue by using the tool: \\`get_issue_details(organizationSlug=\"sentry-mcp-evals\", issueId=<issueID>)\\`\n \"\n `);\n });\n});\n\ndescribe(\"list_releases\", () => {\n it(\"works without project\", async () => {\n const tool = TOOL_HANDLERS.list_releases;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n projectSlug: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Releases in **sentry-mcp-evals**\n\n ## 8ce89484-0fec-4913-a2cd-e8e2d41dee36\n\n **Created**: 2025-04-13T19:54:21.764Z\n **First Event**: 2025-04-13T19:54:21.000Z\n **Last Event**: 2025-04-13T20:28:23.000Z\n **New Issues**: 0\n **Projects**: cloudflare-mcp\n\n # Using this information\n\n - You can reference the Release version in commit messages or documentation.\n - You can search for issues in a specific release using the \\`search_errors()\\` tool with the query \\`release:8ce89484-0fec-4913-a2cd-e8e2d41dee36\\`.\n \"\n `);\n });\n it(\"works with project\", async () => {\n const tool = TOOL_HANDLERS.list_releases;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n projectSlug: \"cloudflare-mcp\",\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Releases in **sentry-mcp-evals/cloudflare-mcp**\n\n ## 8ce89484-0fec-4913-a2cd-e8e2d41dee36\n\n **Created**: 2025-04-13T19:54:21.764Z\n **First Event**: 2025-04-13T19:54:21.000Z\n **Last Event**: 2025-04-13T20:28:23.000Z\n **New Issues**: 0\n **Projects**: cloudflare-mcp\n\n # Using this information\n\n - You can reference the Release version in commit messages or documentation.\n - You can search for issues in a specific release using the \\`search_errors()\\` tool with the query \\`release:8ce89484-0fec-4913-a2cd-e8e2d41dee36\\`.\n \"\n `);\n });\n});\n\ndescribe(\"list_tags\", () => {\n it(\"works\", async () => {\n const tool = TOOL_HANDLERS.list_tags;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n projectSlug: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Tags in **sentry-mcp-evals**\n\n - transaction\n - runtime.name\n - level\n - device\n - os\n - user\n - runtime\n - release\n - url\n - uptime_rule\n - server_name\n - browser\n - os.name\n - device.family\n - replayId\n - client_os.name\n - environment\n - service\n - browser.name\n\n # Using this information\n\n - You can reference tags in the \\`query\\` parameter of various tools: \\`tagName:tagValue\\`.\n \"\n `);\n });\n});\n\ndescribe(\"search_errors\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.search_errors;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n projectSlug: undefined,\n filename: undefined,\n transaction: undefined,\n query: undefined,\n sortBy: \"count\",\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Errors in **sentry-mcp-evals**\n\n\n ## CLOUDFLARE-MCP-41\n\n **Description**: Error: Tool list_organizations is already registered\n **Issue ID**: CLOUDFLARE-MCP-41\n **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-41\n **Project**: test-suite\n **Last Seen**: 2025-04-07T12:23:39+00:00\n **Occurrences**: 2\n\n # Using this information\n\n - You can reference the Issue ID in commit messages (e.g. \\`Fixes <issueID>\\`) to automatically close the issue when the commit is merged.\n - You can get more details about an error by using the tool: \\`get_issue_details(organizationSlug=\"sentry-mcp-evals\", issueId=<issueID>)\\`\n \"\n `);\n });\n});\n\ndescribe(\"search_transactions\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.search_transactions;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n projectSlug: undefined,\n transaction: undefined,\n query: undefined,\n sortBy: \"duration\",\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Transactions in **sentry-mcp-evals**\n\n\n ## GET /trpc/bottleList\n\n **Span ID**: 07752c6aeb027c8f\n **Trace ID**: 6a477f5b0f31ef7b6b9b5e1dea66c91d\n **Span Operation**: http.server\n **Span Description**: GET /trpc/bottleList\n **Duration**: 12\n **Timestamp**: 2025-04-13T14:19:18+00:00\n **Project**: peated\n **URL**: https://sentry-mcp-evals.sentry.io/explore/traces/trace/6a477f5b0f31ef7b6b9b5e1dea66c91d\n\n ## GET /trpc/bottleList\n\n **Span ID**: 7ab5edf5b3ba42c9\n **Trace ID**: 54177131c7b192a446124daba3136045\n **Span Operation**: http.server\n **Span Description**: GET /trpc/bottleList\n **Duration**: 18\n **Timestamp**: 2025-04-13T14:19:17+00:00\n **Project**: peated\n **URL**: https://sentry-mcp-evals.sentry.io/explore/traces/trace/54177131c7b192a446124daba3136045\n\n \"\n `);\n });\n});\n\ndescribe(\"get_issue_summary\", () => {\n it(\"serializes with issueId\", async () => {\n const tool = TOOL_HANDLERS.get_issue_summary;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n issueId: \"CLOUDFLARE-MCP-41\",\n issueUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Issue CLOUDFLARE-MCP-41 in **sentry-mcp-evals**\n\n **Description**: Error: Tool list_organizations is already registered\n **Culprit**: Object.fetch(index)\n **First Seen**: 2025-04-03T22:51:19.403Z\n **Last Seen**: 2025-04-12T11:34:11.000Z\n **Occurrences**: 25\n **Users Impacted**: 1\n **Status**: unresolved\n **Platform**: javascript\n **Project**: CLOUDFLARE-MCP\n **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-41\n \"\n `);\n });\n\n it(\"serializes with issueUrl\", async () => {\n const tool = TOOL_HANDLERS.get_issue_summary;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: undefined,\n issueId: undefined,\n issueUrl: \"https://sentry-mcp-evals.sentry.io/issues/6507376925\",\n },\n );\n\n expect(result).toMatchInlineSnapshot(`\n \"# Issue CLOUDFLARE-MCP-41 in **sentry-mcp-evals**\n\n **Description**: Error: Tool list_organizations is already registered\n **Culprit**: Object.fetch(index)\n **First Seen**: 2025-04-03T22:51:19.403Z\n **Last Seen**: 2025-04-12T11:34:11.000Z\n **Occurrences**: 25\n **Users Impacted**: 1\n **Status**: unresolved\n **Platform**: javascript\n **Project**: CLOUDFLARE-MCP\n **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-41\n \"\n `);\n });\n});\n\ndescribe(\"get_issue_details\", () => {\n it(\"serializes with issueId\", async () => {\n const tool = TOOL_HANDLERS.get_issue_details;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n issueId: \"CLOUDFLARE-MCP-41\",\n issueUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Issue CLOUDFLARE-MCP-41 in **sentry-mcp-evals**\n\n **Description**: Error: Tool list_organizations is already registered\n **Culprit**: Object.fetch(index)\n **First Seen**: 2025-04-03T22:51:19.403Z\n **Last Seen**: 2025-04-12T11:34:11.000Z\n **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-41\n\n ## Event Specifics\n\n **Occurred At**: 2025-04-08T21:15:04.000Z\n **Error:**\n \\`\\`\\`\n Error: Tool list_organizations is already registered\n \\`\\`\\`\n\n **Stacktrace:**\n \\`\\`\\`\n index.js:7809:27\n index.js:8029:24 (OAuthProviderImpl.fetch)\n index.js:19631:28 (Object.fetch)\n \\`\\`\\`\n\n # Using this information\n\n - You can reference the IssueID in commit messages (e.g. \\`Fixes CLOUDFLARE-MCP-41\\`) to automatically close the issue when the commit is merged.\n - The stacktrace includes both first-party application code as well as third-party code, its important to triage to first-party code.\n \"\n `);\n });\n\n it(\"serializes with issueUrl\", async () => {\n const tool = TOOL_HANDLERS.get_issue_details;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: undefined,\n issueId: undefined,\n issueUrl: \"https://sentry-mcp-evals.sentry.io/issues/6507376925\",\n },\n );\n\n expect(result).toMatchInlineSnapshot(`\n \"# Issue CLOUDFLARE-MCP-41 in **sentry-mcp-evals**\n\n **Description**: Error: Tool list_organizations is already registered\n **Culprit**: Object.fetch(index)\n **First Seen**: 2025-04-03T22:51:19.403Z\n **Last Seen**: 2025-04-12T11:34:11.000Z\n **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-41\n\n ## Event Specifics\n\n **Occurred At**: 2025-04-08T21:15:04.000Z\n **Error:**\n \\`\\`\\`\n Error: Tool list_organizations is already registered\n \\`\\`\\`\n\n **Stacktrace:**\n \\`\\`\\`\n index.js:7809:27\n index.js:8029:24 (OAuthProviderImpl.fetch)\n index.js:19631:28 (Object.fetch)\n \\`\\`\\`\n\n # Using this information\n\n - You can reference the IssueID in commit messages (e.g. \\`Fixes 6507376925\\`) to automatically close the issue when the commit is merged.\n - The stacktrace includes both first-party application code as well as third-party code, its important to triage to first-party code.\n \"\n `);\n });\n});\n\ndescribe(\"create_team\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.create_team;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n name: \"the-goats\",\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# New Team in **sentry-mcp-evals**\n\n **ID**: 4509109078196224\n **Slug**: the-goats\n **Name**: the-goats\n # Using this information\n\n - You should always inform the user of the Team Slug value.\n \"\n `);\n });\n});\n\ndescribe(\"create_project\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.create_project;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n teamSlug: \"the-goats\",\n name: \"cloudflare-mcp\",\n platform: \"javascript\",\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# New Project in **sentry-mcp-evals**\n\n **ID**: 4509109104082945\n **Slug**: cloudflare-mcp\n **Name**: cloudflare-mcp\n **SENTRY_DSN**: https://d20df0a1ab5031c7f3c7edca9c02814d@o4509106732793856.ingest.us.sentry.io/4509109104082945\n\n # Using this information\n\n - You can reference the **SENTRY_DSN** value to initialize Sentry's SDKs.\n - You should always inform the user of the **SENTRY_DSN** and Project Slug values.\n \"\n `);\n });\n});\n\ndescribe(\"create_dsn\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.create_dsn;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n projectSlug: \"cloudflare-mcp\",\n name: \"Default\",\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# New DSN in **sentry-mcp-evals/cloudflare-mcp**\n\n **DSN**: https://d20df0a1ab5031c7f3c7edca9c02814d@o4509106732793856.ingest.us.sentry.io/4509109104082945\n **Name**: Default\n\n # Using this information\n\n - The \\`SENTRY_DSN\\` value is a URL that you can use to initialize Sentry's SDKs.\n \"\n `);\n });\n});\n\ndescribe(\"list_dsn\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.list_dsns;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n projectSlug: \"cloudflare-mcp\",\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# DSNs in **sentry-mcp-evals/cloudflare-mcp**\n\n ## Default\n **ID**: d20df0a1ab5031c7f3c7edca9c02814d\n **DSN**: https://d20df0a1ab5031c7f3c7edca9c02814d@o4509106732793856.ingest.us.sentry.io/4509109104082945\n\n # Using this information\n\n - The \\`SENTRY_DSN\\` value is a URL that you can use to initialize Sentry's SDKs.\n \"\n `);\n });\n});\n\ndescribe(\"begin_autofix\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.begin_autofix;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n issueId: \"PEATED-A8\",\n issueUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Autofix Started for Issue PEATED-A8\n\n **Run ID:**: 123\n\n This operation may take some time, so you should call \\`get_autofix_status()\\` to check the status of the analysis, and repeat the process until its finished.\n\n You should also inform the user that the operation may take some time, and give them updates whenever you check the status of the operation..\n\n \\`\\`\\`\n get_autofix_status(organizationSlug=\"sentry-mcp-evals\", issueId=\"PEATED-A8\")\n \\`\\`\\`\"\n `);\n });\n});\n\ndescribe(\"get_autofix_status\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.get_autofix_status;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n issueId: \"PEATED-A8\",\n issueUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Autofix Status for Issue PEATED-A8\n\n ## Analyzing the Issue\n\n **The \\`bottleById\\` query fails because the input ID (3216) doesn't exist in the database.\n **\n The exception details show that the \\`input\\` value at the time of the \\`TRPCError\\` in \\`bottleById.ts\\` was 3216, and the query likely failed because a bottle with ID 3216 was not found in the database.\n\n \\`\\`\\`\n Variable values at the time of the exception::\n {\n \"input\": 3216\n }\n \\`\\`\\`\n\n\n **However, the request also includes a different ID (16720) for \\`bottlePriceList\\`.\n **\n The root cause is likely a mismatch of input IDs within the batched TRPC request, where \\`bottlePriceList\\` expects bottle ID 16720, but \\`bottleById\\` receives a different ID (3216) leading to the \"Bottle not found\" error.\n\n \\`\\`\\`\n GET http://api.peated.com/trpc/bottlePriceList,bottleById\n \\`\\`\\`\n\n \\`\\`\\`json\n {\n \"input\": 3216\n }\n \\`\\`\\`\n\n \\`\\`\\`\n TRPCError: Bottle not found. (occurred in: GET /trpc/bottlePriceList,bottleById)\n \\`\\`\\`\n\n\n **This suggests a data consistency issue or incorrect client-side request.\n **\n The \\`TRPCError\\` originates from \\`bottleById.ts\\` with the input value being \\`3216\\`, indicating the procedure failed to find a bottle with that specific ID in the database.\n\n \\`\\`\\`\n <anonymous> in file /app/apps/server/src/trpc/routes/bottleById.ts [Line 33, column 13] (In app)\n .select({\n ...getTableColumns(bottles),\n })\n .from(bottleTombstones)\n .innerJoin(bottles, eq(bottleTombstones.newBottleId, bottles.id))\n .where(eq(bottleTombstones.bottleId, input));\n if (!bottle) {\n throw new TRPCError({ <-- SUSPECT LINE\n message: \"Bottle not found.\",\n code: \"NOT_FOUND\",\n });\n }\n }\n\n const createdBy = await db.query.users.findFirst({\n ---\n Variable values at the time of the exception::\n {\n \"input\": 3216\n }\n \\`\\`\\`\n\n\n\n ## Root Cause Analysis\n\n **The client initiates a batched TRPC request to the \\`/trpc/bottlePriceList,bottleById\\` endpoint, intending to fetch both the price list and details for a specific bottle.**\n\n This is the entry point where the client requests data from two different procedures in a single HTTP request. The server needs to correctly route and process the parameters for each procedure.\n\n **The TRPC server receives the batched request and begins processing the \\`bottlePriceList\\` procedure, intending to fetch the price list for bottle ID 16720.**\n\n \\`\\`\\`typescript\n // apps/server/src/trpc/routes/bottlePriceList.ts\n .input(z.object({ bottle: z.number(), onlyValid: z.boolean().optional() }))\n .query(async function ({ input, ctx }) {\n const [bottle] = await db.select().from(bottles).where(eq(bottles.id, input.bottle));\n if (!bottle) { ... }\n \\`\\`\\`\n This procedure expects a 'bottle' parameter in the input, which is used to query the database.\n\n **The TRPC server also processes the \\`bottleById\\` procedure, but due to a parameter mapping issue or client-side error, it receives bottle ID 3216 as input instead of 16720.**\n\n \\`\\`\\`typescript\n // apps/server/src/trpc/routes/bottleById.ts\n export default publicProcedure.input(z.number()).query(async function ({ input, ctx }) {\n let [bottle] = await db.select().from(bottles).where(eq(bottles.id, input));\n if (!bottle) { ... }\n \\`\\`\\`\n This procedure expects a numerical ID as input to find the bottle.\n\n **The \\`bottleById\\` procedure queries the \\`bottles\\` table for a bottle with ID 3216, but no such bottle exists.**\n\n The database query returns no results because bottle ID 3216 is not present in the \\`bottles\\` table.\n\n **The \\`bottleById\\` procedure then checks the \\`bottleTombstones\\` table to see if bottle ID 3216 has been tombstoned (redirected to a new ID), but no such tombstone exists.**\n\n The query to \\`bottleTombstones\\` also returns no results, indicating that bottle ID 3216 has not been redirected.\n\n **Since the \\`bottleById\\` procedure cannot find a bottle with ID 3216 in either the \\`bottles\\` or \\`bottleTombstones\\` tables, it throws a \\`TRPCError\\` with the message \"Bottle not found.\"**\n\n \\`\\`\\`typescript\n // apps/server/src/trpc/routes/bottleById.ts\n if (!bottle) {\n throw new TRPCError({ message: \"Bottle not found.\", code: \"NOT_FOUND\" });\n }\n \\`\\`\\`\n This is where the error is thrown, indicating that the bottle could not be found.\n\n\n ## Planning Solution\n\n **The discrepancy between inputs suggests a potential issue with batch request handling.\n **\n The \\`TRPCError\\` occurred in \\`bottleById.ts\\` with an input of \\`3216\\`, while the request was initiated with a bottle ID of \\`16720\\`, indicating a mismatch in the bottle ID being processed.\n\n \\`\\`\\`\n Variable values at the time of the exception::\n {\n \"input\": 3216\n }\n \\`\\`\\`\n\n \\`\\`\\`\n GET http://api.peated.com/trpc/bottlePriceList,bottleById\n \\`\\`\\`\n\n\n **The client-side batch request construction is the most likely source of error.\n **\n The discrepancy between the bottle ID in the error message (16720) and the ID being processed (3216) strongly suggests a client-side parameter mapping issue in the batched TRPC request.\n\n To fix this, I propose the following steps:\n\n 1. **Inspect the Client-Side Code:** Identify the code responsible for constructing the TRPC batch request to \\`/trpc/bottlePriceList,bottleById\\`.\n\n 2. **Verify Parameter Mapping:** Ensure that both \\`bottlePriceList\\` and \\`bottleById\\` are receiving the correct bottle ID (which should be 16720 in this case).\n\n 3. **Correct Parameter Assignment:** If the parameters are being incorrectly assigned, modify the client-side code to ensure that both procedures receive the same, correct bottle ID.\n\n 4. **Add Logging (Client-Side):** Add temporary logging to the client-side code to confirm the parameters being sent to each procedure in the batch request. This will help verify the fix.\n\n \\`\\`\\`typescript\n // Example logging (add to the client-side code where the batch request is created)\n console.log(\"bottlePriceList input:\", { bottle: 16720 }); // Replace 16720 with the actual ID\n console.log(\"bottleById input:\", { bottle: 16720 }); // Replace 16720 with the actual ID\n \\`\\`\\`\n\n 5. **Test the Fix:** After applying the fix, test the affected functionality to ensure that the \"Bottle not found\" error is resolved and that both procedures are working correctly.\n\n 6. **Remove Logging:** Once the fix is verified, remove the temporary logging.\n\n This approach directly addresses the most likely cause of the issue and provides a clear path to resolution.\n\n\n **Ensuring consistent bottle IDs will likely resolve this inconsistency.\n **\n The error message references bottle ID 16720, but the exception details show the procedure was actually processing ID 3216, indicating a parameter mismatch in the batch request.\n\n To fix this, I recommend the following steps:\n\n 1. **Client-Side Investigation**:\n\n * Examine the client-side code where the TRPC batch request is constructed.\n * Verify that the same \\`bottleId\\` parameter is being passed to both \\`bottlePriceList\\` and \\`bottleById\\` procedures.\n * If the IDs are being passed correctly, inspect the network request payload to confirm the correct structure of the batched request.\n\n \\`\\`\\`typescript\n // Example (Hypothetical) Client-Side Code\n const bottleId = 16720; // Example bottle ID\n\n // Ensure both procedures receive the same bottleId\n const [priceList, bottleDetails] = await trpc.batch(() => [\n trpc.bottlePriceList.fetch({ bottle: bottleId }),\n trpc.bottleById.fetch(bottleId),\n ]);\n \\`\\`\\`\n\n 2. **Server-Side Logging (Temporary)**:\n\n * Add temporary logging to both \\`bottlePriceList\\` and \\`bottleById\\` procedures to log the received \\`input\\` value.\n * This will help confirm whether the server is receiving the correct IDs from the client.\n * **Important**: Remove these logs after debugging to avoid unnecessary overhead.\n\n \\`\\`\\`typescript\n // apps/server/src/trpc/routes/bottlePriceList.ts\n export default publicProcedure\n .input(\n z.object({\n bottle: z.number(),\n onlyValid: z.boolean().optional(),\n }),\n )\n .query(async function ({ input, ctx }) {\n console.log(\"bottlePriceList input:\", input); // Add this line\n // ... rest of the code\n });\n\n // apps/server/src/trpc/routes/bottleById.ts\n export default publicProcedure.input(z.number()).query(async function ({\n input,\n ctx,\n }) {\n console.log(\"bottleById input:\", input); // Add this line\n // ... rest of the code\n });\n \\`\\`\\`\n\n 3. **TRPC Batch Request Configuration**:\n\n * Review the TRPC batch link configuration on the client-side.\n * Ensure that the batching logic is correctly mapping parameters to the corresponding procedures.\n * If using a custom batching implementation, verify its correctness.\n\n 4. **Data Integrity Check**:\n\n * If the client-side code appears correct, investigate whether bottle ID 3216 should exist in the database.\n * Check the \\`bottles\\` table and \\`bottleTombstones\\` table for any entries related to bottle ID 3216.\n * If the bottle should exist but is missing, investigate potential data deletion or migration issues.\n\n 5. **Tombstone Logic**:\n\n * Double-check the logic for creating and using tombstones.\n * Ensure that when a bottle is deleted, a tombstone entry is created correctly, pointing to the new bottle (if any).\n\n 6. **Error Handling**:\n\n * While this isn't the primary fix, consider improving the error message in \\`bottleById.ts\\` to include more context.\n * Include the original requested bottle ID (if available) in the error message to aid debugging.\n\n 7. **Client-Side Retries**:\n\n * Implement a retry mechanism on the client-side for TRPC requests.\n * If a \"Bottle not found\" error occurs, retry the request a few times before giving up. This can help mitigate transient issues.\n\n By following these steps, you should be able to identify the root cause of the parameter mismatch and implement a fix that ensures consistent bottle IDs are passed to both TRPC procedures in the batch request.\n\n\n\n ## Solution\n\n Consolidate bottle and price data fetching into a single batched TRPC request using \\`Promise.all\\` to ensure ID consistency.\n\n **Create a shared utility function to fetch bottle details and price data together.**\n \\`\\`\\`typescript\n // In a shared utility function or component\n export async function getBottleWithPrices(bottleId: number) {\n const trpcClient = await getTrpcClient();\n \n // Use Promise.all to ensure both requests are part of the same batch\n // and receive the same parameters\n const [bottle, priceList] = await Promise.all([\n trpcClient.bottleById.fetch(bottleId),\n trpcClient.bottlePriceList.fetch({ bottle: bottleId }),\n ]);\n \n return { bottle, priceList };\n }\n \\`\\`\\`\n This code creates a function that uses \\`Promise.all\\` to fetch both bottle details and price data concurrently. This ensures that both TRPC procedures are part of the same batch and receive the same \\`bottleId\\`.\n\n **Modify the page components to use the shared utility function.**\n \\`\\`\\`typescript\n // Then in the page components:\n const { bottle, priceList } = await getBottleWithPrices(Number(bottleId));\n \\`\\`\\`\n This code replaces the separate calls to \\`bottleById\\` and \\`bottlePriceList\\` with a single call to the \\`getBottleWithPrices\\` function, ensuring that both components receive data for the same bottle.\n\n **Add a unit test that reproduces the issue.**\n null\n\n\n \"\n `);\n });\n});\n"],"mappings":";;;;;;;;;;;;AAGA,SAAS,sBAAsB,MAAM;AACnC,IAAG,cAAc,YAAY;EAC3B,MAAM,OA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmRpC;CACH,EAAC;AACH,EAAC"}
1
+ {"version":3,"file":"tools.test.js","names":[],"sources":["../src/tools.test.ts"],"sourcesContent":["import { describe, it, expect } from \"vitest\";\nimport { TOOL_HANDLERS } from \"./tools\";\n\ndescribe(\"list_organizations\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.list_organizations;\n const result = await tool({\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n });\n expect(result).toMatchInlineSnapshot(`\n \"# Organizations\n\n ## **sentry-mcp-evals**\n\n **Web URL:** https://sentry.io/sentry-mcp-evals\n **Region URL:** https://us.sentry.io\n\n # Using this information\n\n - The organization's name is the identifier for the organization, and is used in many tools for \\`organizationSlug\\`.\n - If a tool supports passing in the \\`regionUrl\\`, you should also pass in the correct value there.\n \"\n `);\n });\n});\n\ndescribe(\"list_teams\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.list_teams;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n regionUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Teams in **sentry-mcp-evals**\n\n - the-goats\n \"\n `);\n });\n});\n\ndescribe(\"list_projects\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.list_projects;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n regionUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Projects in **sentry-mcp-evals**\n\n - **cloudflare-mcp**\n \"\n `);\n });\n});\n\ndescribe(\"list_issues\", () => {\n it(\"serializes with project\", async () => {\n const tool = TOOL_HANDLERS.list_issues;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n projectSlug: \"cloudflare-mcp\",\n query: undefined,\n sortBy: \"last_seen\",\n regionUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Issues in **sentry-mcp-evals/cloudflare-mcp**\n\n ## CLOUDFLARE-MCP-41\n\n **Description**: Error: Tool list_organizations is already registered\n **Culprit**: Object.fetch(index)\n **First Seen**: 2025-04-03T22:51:19.403Z\n **Last Seen**: 2025-04-12T11:34:11.000Z\n **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-41\n\n ## CLOUDFLARE-MCP-42\n\n **Description**: Error: Tool list_issues is already registered\n **Culprit**: Object.fetch(index)\n **First Seen**: 2025-04-11T22:51:19.403Z\n **Last Seen**: 2025-04-12T11:34:11.000Z\n **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-42\n\n # Using this information\n\n - You can reference the Issue ID in commit messages (e.g. \\`Fixes <issueID>\\`) to automatically close the issue when the commit is merged.\n - You can get more details about a specific issue by using the tool: \\`get_issue_details(organizationSlug=\"sentry-mcp-evals\", issueId=<issueID>)\\`\n \"\n `);\n });\n\n it(\"serializes without project\", async () => {\n const tool = TOOL_HANDLERS.list_issues;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n projectSlug: undefined,\n query: undefined,\n sortBy: \"last_seen\",\n regionUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Issues in **sentry-mcp-evals**\n\n ## CLOUDFLARE-MCP-41\n\n **Description**: Error: Tool list_organizations is already registered\n **Culprit**: Object.fetch(index)\n **First Seen**: 2025-04-03T22:51:19.403Z\n **Last Seen**: 2025-04-12T11:34:11.000Z\n **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-41\n\n ## CLOUDFLARE-MCP-42\n\n **Description**: Error: Tool list_issues is already registered\n **Culprit**: Object.fetch(index)\n **First Seen**: 2025-04-11T22:51:19.403Z\n **Last Seen**: 2025-04-12T11:34:11.000Z\n **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-42\n\n # Using this information\n\n - You can reference the Issue ID in commit messages (e.g. \\`Fixes <issueID>\\`) to automatically close the issue when the commit is merged.\n - You can get more details about a specific issue by using the tool: \\`get_issue_details(organizationSlug=\"sentry-mcp-evals\", issueId=<issueID>)\\`\n \"\n `);\n });\n});\n\ndescribe(\"list_releases\", () => {\n it(\"works without project\", async () => {\n const tool = TOOL_HANDLERS.list_releases;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n projectSlug: undefined,\n regionUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Releases in **sentry-mcp-evals**\n\n ## 8ce89484-0fec-4913-a2cd-e8e2d41dee36\n\n **Created**: 2025-04-13T19:54:21.764Z\n **First Event**: 2025-04-13T19:54:21.000Z\n **Last Event**: 2025-04-13T20:28:23.000Z\n **New Issues**: 0\n **Projects**: cloudflare-mcp\n\n # Using this information\n\n - You can reference the Release version in commit messages or documentation.\n - You can search for issues in a specific release using the \\`search_errors()\\` tool with the query \\`release:8ce89484-0fec-4913-a2cd-e8e2d41dee36\\`.\n \"\n `);\n });\n it(\"works with project\", async () => {\n const tool = TOOL_HANDLERS.list_releases;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n projectSlug: \"cloudflare-mcp\",\n regionUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Releases in **sentry-mcp-evals/cloudflare-mcp**\n\n ## 8ce89484-0fec-4913-a2cd-e8e2d41dee36\n\n **Created**: 2025-04-13T19:54:21.764Z\n **First Event**: 2025-04-13T19:54:21.000Z\n **Last Event**: 2025-04-13T20:28:23.000Z\n **New Issues**: 0\n **Projects**: cloudflare-mcp\n\n # Using this information\n\n - You can reference the Release version in commit messages or documentation.\n - You can search for issues in a specific release using the \\`search_errors()\\` tool with the query \\`release:8ce89484-0fec-4913-a2cd-e8e2d41dee36\\`.\n \"\n `);\n });\n});\n\ndescribe(\"list_tags\", () => {\n it(\"works\", async () => {\n const tool = TOOL_HANDLERS.list_tags;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n projectSlug: undefined,\n regionUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Tags in **sentry-mcp-evals**\n\n - transaction\n - runtime.name\n - level\n - device\n - os\n - user\n - runtime\n - release\n - url\n - uptime_rule\n - server_name\n - browser\n - os.name\n - device.family\n - replayId\n - client_os.name\n - environment\n - service\n - browser.name\n\n # Using this information\n\n - You can reference tags in the \\`query\\` parameter of various tools: \\`tagName:tagValue\\`.\n \"\n `);\n });\n});\n\ndescribe(\"search_errors\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.search_errors;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n projectSlug: undefined,\n filename: undefined,\n transaction: undefined,\n query: undefined,\n sortBy: \"count\",\n regionUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Errors in **sentry-mcp-evals**\n\n\n ## CLOUDFLARE-MCP-41\n\n **Description**: Error: Tool list_organizations is already registered\n **Issue ID**: CLOUDFLARE-MCP-41\n **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-41\n **Project**: test-suite\n **Last Seen**: 2025-04-07T12:23:39+00:00\n **Occurrences**: 2\n\n # Using this information\n\n - You can reference the Issue ID in commit messages (e.g. \\`Fixes <issueID>\\`) to automatically close the issue when the commit is merged.\n - You can get more details about an error by using the tool: \\`get_issue_details(organizationSlug=\"sentry-mcp-evals\", issueId=<issueID>)\\`\n \"\n `);\n });\n});\n\ndescribe(\"search_transactions\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.search_transactions;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n projectSlug: undefined,\n transaction: undefined,\n query: undefined,\n sortBy: \"duration\",\n regionUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Transactions in **sentry-mcp-evals**\n\n\n ## GET /trpc/bottleList\n\n **Span ID**: 07752c6aeb027c8f\n **Trace ID**: 6a477f5b0f31ef7b6b9b5e1dea66c91d\n **Span Operation**: http.server\n **Span Description**: GET /trpc/bottleList\n **Duration**: 12\n **Timestamp**: 2025-04-13T14:19:18+00:00\n **Project**: peated\n **URL**: https://sentry-mcp-evals.sentry.io/explore/traces/trace/6a477f5b0f31ef7b6b9b5e1dea66c91d\n\n ## GET /trpc/bottleList\n\n **Span ID**: 7ab5edf5b3ba42c9\n **Trace ID**: 54177131c7b192a446124daba3136045\n **Span Operation**: http.server\n **Span Description**: GET /trpc/bottleList\n **Duration**: 18\n **Timestamp**: 2025-04-13T14:19:17+00:00\n **Project**: peated\n **URL**: https://sentry-mcp-evals.sentry.io/explore/traces/trace/54177131c7b192a446124daba3136045\n\n \"\n `);\n });\n});\n\ndescribe(\"get_issue_summary\", () => {\n it(\"serializes with issueId\", async () => {\n const tool = TOOL_HANDLERS.get_issue_summary;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n issueId: \"CLOUDFLARE-MCP-41\",\n issueUrl: undefined,\n regionUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Issue CLOUDFLARE-MCP-41 in **sentry-mcp-evals**\n\n **Description**: Error: Tool list_organizations is already registered\n **Culprit**: Object.fetch(index)\n **First Seen**: 2025-04-03T22:51:19.403Z\n **Last Seen**: 2025-04-12T11:34:11.000Z\n **Occurrences**: 25\n **Users Impacted**: 1\n **Status**: unresolved\n **Platform**: javascript\n **Project**: CLOUDFLARE-MCP\n **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-41\n \"\n `);\n });\n\n it(\"serializes with issueUrl\", async () => {\n const tool = TOOL_HANDLERS.get_issue_summary;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: undefined,\n issueId: undefined,\n issueUrl: \"https://sentry-mcp-evals.sentry.io/issues/6507376925\",\n regionUrl: undefined,\n },\n );\n\n expect(result).toMatchInlineSnapshot(`\n \"# Issue CLOUDFLARE-MCP-41 in **sentry-mcp-evals**\n\n **Description**: Error: Tool list_organizations is already registered\n **Culprit**: Object.fetch(index)\n **First Seen**: 2025-04-03T22:51:19.403Z\n **Last Seen**: 2025-04-12T11:34:11.000Z\n **Occurrences**: 25\n **Users Impacted**: 1\n **Status**: unresolved\n **Platform**: javascript\n **Project**: CLOUDFLARE-MCP\n **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-41\n \"\n `);\n });\n});\n\ndescribe(\"get_issue_details\", () => {\n it(\"serializes with issueId\", async () => {\n const tool = TOOL_HANDLERS.get_issue_details;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n issueId: \"CLOUDFLARE-MCP-41\",\n issueUrl: undefined,\n regionUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Issue CLOUDFLARE-MCP-41 in **sentry-mcp-evals**\n\n **Description**: Error: Tool list_organizations is already registered\n **Culprit**: Object.fetch(index)\n **First Seen**: 2025-04-03T22:51:19.403Z\n **Last Seen**: 2025-04-12T11:34:11.000Z\n **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-41\n\n ## Event Specifics\n\n **Occurred At**: 2025-04-08T21:15:04.000Z\n **Error:**\n \\`\\`\\`\n Error: Tool list_organizations is already registered\n \\`\\`\\`\n\n **Stacktrace:**\n \\`\\`\\`\n index.js:7809:27\n index.js:8029:24 (OAuthProviderImpl.fetch)\n index.js:19631:28 (Object.fetch)\n \\`\\`\\`\n\n # Using this information\n\n - You can reference the IssueID in commit messages (e.g. \\`Fixes CLOUDFLARE-MCP-41\\`) to automatically close the issue when the commit is merged.\n - The stacktrace includes both first-party application code as well as third-party code, its important to triage to first-party code.\n \"\n `);\n });\n\n it(\"serializes with issueUrl\", async () => {\n const tool = TOOL_HANDLERS.get_issue_details;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: undefined,\n issueId: undefined,\n issueUrl: \"https://sentry-mcp-evals.sentry.io/issues/6507376925\",\n regionUrl: undefined,\n },\n );\n\n expect(result).toMatchInlineSnapshot(`\n \"# Issue CLOUDFLARE-MCP-41 in **sentry-mcp-evals**\n\n **Description**: Error: Tool list_organizations is already registered\n **Culprit**: Object.fetch(index)\n **First Seen**: 2025-04-03T22:51:19.403Z\n **Last Seen**: 2025-04-12T11:34:11.000Z\n **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-41\n\n ## Event Specifics\n\n **Occurred At**: 2025-04-08T21:15:04.000Z\n **Error:**\n \\`\\`\\`\n Error: Tool list_organizations is already registered\n \\`\\`\\`\n\n **Stacktrace:**\n \\`\\`\\`\n index.js:7809:27\n index.js:8029:24 (OAuthProviderImpl.fetch)\n index.js:19631:28 (Object.fetch)\n \\`\\`\\`\n\n # Using this information\n\n - You can reference the IssueID in commit messages (e.g. \\`Fixes 6507376925\\`) to automatically close the issue when the commit is merged.\n - The stacktrace includes both first-party application code as well as third-party code, its important to triage to first-party code.\n \"\n `);\n });\n});\n\ndescribe(\"create_team\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.create_team;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n name: \"the-goats\",\n regionUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# New Team in **sentry-mcp-evals**\n\n **ID**: 4509109078196224\n **Slug**: the-goats\n **Name**: the-goats\n # Using this information\n\n - You should always inform the user of the Team Slug value.\n \"\n `);\n });\n});\n\ndescribe(\"create_project\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.create_project;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n teamSlug: \"the-goats\",\n name: \"cloudflare-mcp\",\n platform: \"javascript\",\n regionUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# New Project in **sentry-mcp-evals**\n\n **ID**: 4509109104082945\n **Slug**: cloudflare-mcp\n **Name**: cloudflare-mcp\n **SENTRY_DSN**: https://d20df0a1ab5031c7f3c7edca9c02814d@o4509106732793856.ingest.us.sentry.io/4509109104082945\n\n # Using this information\n\n - You can reference the **SENTRY_DSN** value to initialize Sentry's SDKs.\n - You should always inform the user of the **SENTRY_DSN** and Project Slug values.\n \"\n `);\n });\n});\n\ndescribe(\"create_dsn\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.create_dsn;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n projectSlug: \"cloudflare-mcp\",\n name: \"Default\",\n regionUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# New DSN in **sentry-mcp-evals/cloudflare-mcp**\n\n **DSN**: https://d20df0a1ab5031c7f3c7edca9c02814d@o4509106732793856.ingest.us.sentry.io/4509109104082945\n **Name**: Default\n\n # Using this information\n\n - The \\`SENTRY_DSN\\` value is a URL that you can use to initialize Sentry's SDKs.\n \"\n `);\n });\n});\n\ndescribe(\"list_dsn\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.list_dsns;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n projectSlug: \"cloudflare-mcp\",\n regionUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# DSNs in **sentry-mcp-evals/cloudflare-mcp**\n\n ## Default\n **ID**: d20df0a1ab5031c7f3c7edca9c02814d\n **DSN**: https://d20df0a1ab5031c7f3c7edca9c02814d@o4509106732793856.ingest.us.sentry.io/4509109104082945\n\n # Using this information\n\n - The \\`SENTRY_DSN\\` value is a URL that you can use to initialize Sentry's SDKs.\n \"\n `);\n });\n});\n\ndescribe(\"begin_autofix\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.begin_autofix;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n issueId: \"PEATED-A8\",\n issueUrl: undefined,\n regionUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Autofix Started for Issue PEATED-A8\n\n **Run ID:**: 123\n\n This operation may take some time, so you should call \\`get_autofix_status()\\` to check the status of the analysis, and repeat the process until its finished.\n\n You should also inform the user that the operation may take some time, and give them updates whenever you check the status of the operation..\n\n \\`\\`\\`\n get_autofix_status(organizationSlug=\"sentry-mcp-evals\", issueId=\"PEATED-A8\")\n \\`\\`\\`\"\n `);\n });\n});\n\ndescribe(\"get_autofix_status\", () => {\n it(\"serializes\", async () => {\n const tool = TOOL_HANDLERS.get_autofix_status;\n const result = await tool(\n {\n accessToken: \"access-token\",\n userId: \"1\",\n organizationSlug: null,\n },\n {\n organizationSlug: \"sentry-mcp-evals\",\n issueId: \"PEATED-A8\",\n issueUrl: undefined,\n regionUrl: undefined,\n },\n );\n expect(result).toMatchInlineSnapshot(`\n \"# Autofix Status for Issue PEATED-A8\n\n ## Analyzing the Issue\n\n **The \\`bottleById\\` query fails because the input ID (3216) doesn't exist in the database.\n **\n The exception details show that the \\`input\\` value at the time of the \\`TRPCError\\` in \\`bottleById.ts\\` was 3216, and the query likely failed because a bottle with ID 3216 was not found in the database.\n\n \\`\\`\\`\n Variable values at the time of the exception::\n {\n \"input\": 3216\n }\n \\`\\`\\`\n\n\n **However, the request also includes a different ID (16720) for \\`bottlePriceList\\`.\n **\n The root cause is likely a mismatch of input IDs within the batched TRPC request, where \\`bottlePriceList\\` expects bottle ID 16720, but \\`bottleById\\` receives a different ID (3216) leading to the \"Bottle not found\" error.\n\n \\`\\`\\`\n GET http://api.peated.com/trpc/bottlePriceList,bottleById\n \\`\\`\\`\n\n \\`\\`\\`json\n {\n \"input\": 3216\n }\n \\`\\`\\`\n\n \\`\\`\\`\n TRPCError: Bottle not found. (occurred in: GET /trpc/bottlePriceList,bottleById)\n \\`\\`\\`\n\n\n **This suggests a data consistency issue or incorrect client-side request.\n **\n The \\`TRPCError\\` originates from \\`bottleById.ts\\` with the input value being \\`3216\\`, indicating the procedure failed to find a bottle with that specific ID in the database.\n\n \\`\\`\\`\n <anonymous> in file /app/apps/server/src/trpc/routes/bottleById.ts [Line 33, column 13] (In app)\n .select({\n ...getTableColumns(bottles),\n })\n .from(bottleTombstones)\n .innerJoin(bottles, eq(bottleTombstones.newBottleId, bottles.id))\n .where(eq(bottleTombstones.bottleId, input));\n if (!bottle) {\n throw new TRPCError({ <-- SUSPECT LINE\n message: \"Bottle not found.\",\n code: \"NOT_FOUND\",\n });\n }\n }\n\n const createdBy = await db.query.users.findFirst({\n ---\n Variable values at the time of the exception::\n {\n \"input\": 3216\n }\n \\`\\`\\`\n\n\n\n ## Root Cause Analysis\n\n **The client initiates a batched TRPC request to the \\`/trpc/bottlePriceList,bottleById\\` endpoint, intending to fetch both the price list and details for a specific bottle.**\n\n This is the entry point where the client requests data from two different procedures in a single HTTP request. The server needs to correctly route and process the parameters for each procedure.\n\n **The TRPC server receives the batched request and begins processing the \\`bottlePriceList\\` procedure, intending to fetch the price list for bottle ID 16720.**\n\n \\`\\`\\`typescript\n // apps/server/src/trpc/routes/bottlePriceList.ts\n .input(z.object({ bottle: z.number(), onlyValid: z.boolean().optional() }))\n .query(async function ({ input, ctx }) {\n const [bottle] = await db.select().from(bottles).where(eq(bottles.id, input.bottle));\n if (!bottle) { ... }\n \\`\\`\\`\n This procedure expects a 'bottle' parameter in the input, which is used to query the database.\n\n **The TRPC server also processes the \\`bottleById\\` procedure, but due to a parameter mapping issue or client-side error, it receives bottle ID 3216 as input instead of 16720.**\n\n \\`\\`\\`typescript\n // apps/server/src/trpc/routes/bottleById.ts\n export default publicProcedure.input(z.number()).query(async function ({ input, ctx }) {\n let [bottle] = await db.select().from(bottles).where(eq(bottles.id, input));\n if (!bottle) { ... }\n \\`\\`\\`\n This procedure expects a numerical ID as input to find the bottle.\n\n **The \\`bottleById\\` procedure queries the \\`bottles\\` table for a bottle with ID 3216, but no such bottle exists.**\n\n The database query returns no results because bottle ID 3216 is not present in the \\`bottles\\` table.\n\n **The \\`bottleById\\` procedure then checks the \\`bottleTombstones\\` table to see if bottle ID 3216 has been tombstoned (redirected to a new ID), but no such tombstone exists.**\n\n The query to \\`bottleTombstones\\` also returns no results, indicating that bottle ID 3216 has not been redirected.\n\n **Since the \\`bottleById\\` procedure cannot find a bottle with ID 3216 in either the \\`bottles\\` or \\`bottleTombstones\\` tables, it throws a \\`TRPCError\\` with the message \"Bottle not found.\"**\n\n \\`\\`\\`typescript\n // apps/server/src/trpc/routes/bottleById.ts\n if (!bottle) {\n throw new TRPCError({ message: \"Bottle not found.\", code: \"NOT_FOUND\" });\n }\n \\`\\`\\`\n This is where the error is thrown, indicating that the bottle could not be found.\n\n\n ## Planning Solution\n\n **The discrepancy between inputs suggests a potential issue with batch request handling.\n **\n The \\`TRPCError\\` occurred in \\`bottleById.ts\\` with an input of \\`3216\\`, while the request was initiated with a bottle ID of \\`16720\\`, indicating a mismatch in the bottle ID being processed.\n\n \\`\\`\\`\n Variable values at the time of the exception::\n {\n \"input\": 3216\n }\n \\`\\`\\`\n\n \\`\\`\\`\n GET http://api.peated.com/trpc/bottlePriceList,bottleById\n \\`\\`\\`\n\n\n **The client-side batch request construction is the most likely source of error.\n **\n The discrepancy between the bottle ID in the error message (16720) and the ID being processed (3216) strongly suggests a client-side parameter mapping issue in the batched TRPC request.\n\n To fix this, I propose the following steps:\n\n 1. **Inspect the Client-Side Code:** Identify the code responsible for constructing the TRPC batch request to \\`/trpc/bottlePriceList,bottleById\\`.\n\n 2. **Verify Parameter Mapping:** Ensure that both \\`bottlePriceList\\` and \\`bottleById\\` are receiving the correct bottle ID (which should be 16720 in this case).\n\n 3. **Correct Parameter Assignment:** If the parameters are being incorrectly assigned, modify the client-side code to ensure that both procedures receive the same, correct bottle ID.\n\n 4. **Add Logging (Client-Side):** Add temporary logging to the client-side code to confirm the parameters being sent to each procedure in the batch request. This will help verify the fix.\n\n \\`\\`\\`typescript\n // Example logging (add to the client-side code where the batch request is created)\n console.log(\"bottlePriceList input:\", { bottle: 16720 }); // Replace 16720 with the actual ID\n console.log(\"bottleById input:\", { bottle: 16720 }); // Replace 16720 with the actual ID\n \\`\\`\\`\n\n 5. **Test the Fix:** After applying the fix, test the affected functionality to ensure that the \"Bottle not found\" error is resolved and that both procedures are working correctly.\n\n 6. **Remove Logging:** Once the fix is verified, remove the temporary logging.\n\n This approach directly addresses the most likely cause of the issue and provides a clear path to resolution.\n\n\n **Ensuring consistent bottle IDs will likely resolve this inconsistency.\n **\n The error message references bottle ID 16720, but the exception details show the procedure was actually processing ID 3216, indicating a parameter mismatch in the batch request.\n\n To fix this, I recommend the following steps:\n\n 1. **Client-Side Investigation**:\n\n * Examine the client-side code where the TRPC batch request is constructed.\n * Verify that the same \\`bottleId\\` parameter is being passed to both \\`bottlePriceList\\` and \\`bottleById\\` procedures.\n * If the IDs are being passed correctly, inspect the network request payload to confirm the correct structure of the batched request.\n\n \\`\\`\\`typescript\n // Example (Hypothetical) Client-Side Code\n const bottleId = 16720; // Example bottle ID\n\n // Ensure both procedures receive the same bottleId\n const [priceList, bottleDetails] = await trpc.batch(() => [\n trpc.bottlePriceList.fetch({ bottle: bottleId }),\n trpc.bottleById.fetch(bottleId),\n ]);\n \\`\\`\\`\n\n 2. **Server-Side Logging (Temporary)**:\n\n * Add temporary logging to both \\`bottlePriceList\\` and \\`bottleById\\` procedures to log the received \\`input\\` value.\n * This will help confirm whether the server is receiving the correct IDs from the client.\n * **Important**: Remove these logs after debugging to avoid unnecessary overhead.\n\n \\`\\`\\`typescript\n // apps/server/src/trpc/routes/bottlePriceList.ts\n export default publicProcedure\n .input(\n z.object({\n bottle: z.number(),\n onlyValid: z.boolean().optional(),\n }),\n )\n .query(async function ({ input, ctx }) {\n console.log(\"bottlePriceList input:\", input); // Add this line\n // ... rest of the code\n });\n\n // apps/server/src/trpc/routes/bottleById.ts\n export default publicProcedure.input(z.number()).query(async function ({\n input,\n ctx,\n }) {\n console.log(\"bottleById input:\", input); // Add this line\n // ... rest of the code\n });\n \\`\\`\\`\n\n 3. **TRPC Batch Request Configuration**:\n\n * Review the TRPC batch link configuration on the client-side.\n * Ensure that the batching logic is correctly mapping parameters to the corresponding procedures.\n * If using a custom batching implementation, verify its correctness.\n\n 4. **Data Integrity Check**:\n\n * If the client-side code appears correct, investigate whether bottle ID 3216 should exist in the database.\n * Check the \\`bottles\\` table and \\`bottleTombstones\\` table for any entries related to bottle ID 3216.\n * If the bottle should exist but is missing, investigate potential data deletion or migration issues.\n\n 5. **Tombstone Logic**:\n\n * Double-check the logic for creating and using tombstones.\n * Ensure that when a bottle is deleted, a tombstone entry is created correctly, pointing to the new bottle (if any).\n\n 6. **Error Handling**:\n\n * While this isn't the primary fix, consider improving the error message in \\`bottleById.ts\\` to include more context.\n * Include the original requested bottle ID (if available) in the error message to aid debugging.\n\n 7. **Client-Side Retries**:\n\n * Implement a retry mechanism on the client-side for TRPC requests.\n * If a \"Bottle not found\" error occurs, retry the request a few times before giving up. This can help mitigate transient issues.\n\n By following these steps, you should be able to identify the root cause of the parameter mismatch and implement a fix that ensures consistent bottle IDs are passed to both TRPC procedures in the batch request.\n\n\n\n ## Solution\n\n Consolidate bottle and price data fetching into a single batched TRPC request using \\`Promise.all\\` to ensure ID consistency.\n\n **Create a shared utility function to fetch bottle details and price data together.**\n \\`\\`\\`typescript\n // In a shared utility function or component\n export async function getBottleWithPrices(bottleId: number) {\n const trpcClient = await getTrpcClient();\n \n // Use Promise.all to ensure both requests are part of the same batch\n // and receive the same parameters\n const [bottle, priceList] = await Promise.all([\n trpcClient.bottleById.fetch(bottleId),\n trpcClient.bottlePriceList.fetch({ bottle: bottleId }),\n ]);\n \n return { bottle, priceList };\n }\n \\`\\`\\`\n This code creates a function that uses \\`Promise.all\\` to fetch both bottle details and price data concurrently. This ensures that both TRPC procedures are part of the same batch and receive the same \\`bottleId\\`.\n\n **Modify the page components to use the shared utility function.**\n \\`\\`\\`typescript\n // Then in the page components:\n const { bottle, priceList } = await getBottleWithPrices(Number(bottleId));\n \\`\\`\\`\n This code replaces the separate calls to \\`bottleById\\` and \\`bottlePriceList\\` with a single call to the \\`getBottleWithPrices\\` function, ensuring that both components receive data for the same bottle.\n\n **Add a unit test that reproduces the issue.**\n null\n\n\n \"\n `);\n });\n});\n"],"mappings":";;;;;;;;;;;;AAGA,SAAS,sBAAsB,MAAM;AACnC,IAAG,cAAc,YAAY;EAC3B,MAAM,OAAO,cAAc;EAC3B,MAAM,SAAS,MAAM,KAAK;GACx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;;;;;;;;MAYpC;CACH,EAAC;AACH,EAAC;AAEF,SAAS,sBAAsB,MAAM;AACnC,IAAG,cAAc,YAAY;EAC3B,MAAM,OAAO,cAAc;EAC3B,MAAM,SAAS,MAAM,KACnB;GACE,aAAa;GACb,QAAQ;GACR,kBAAkB;EACnB,GACD;GACE,kBAAkB;GAClB,SAAS;GACT;GACA;EACD,EACF;AACD,eAAO,OAAO,CAAC,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmRpC;CACH,EAAC;AACH,EAAC"}
@@ -1,17 +1,17 @@
1
- require('../schema-Bc6_gUDA.cjs');
2
- require('../client-C_XfRSu3.cjs');
1
+ require('../schema-BnXdl41H.cjs');
2
+ require('../client-DQF6UreY.cjs');
3
3
  require('../types-o3zWarRp.cjs');
4
4
  require('../api-client-CEBuz3Zu.cjs');
5
5
  require('../formatting-BTSvl7n7.cjs');
6
- require('../issue-helpers-C0kEdXOE.cjs');
6
+ require('../issue-helpers-CdWMhVWJ.cjs');
7
7
  require('../logging-BEMgC5SA.cjs');
8
- require('../tools-B22b8Jjm.cjs');
9
- require('../schema-BvloqMHW.cjs');
10
- require('../toolDefinitions-BJ0cyDce.cjs');
8
+ require('../tools-BdAFXSMG.cjs');
9
+ require('../schema-_xqdSRLo.cjs');
10
+ require('../toolDefinitions-C0t6Y5Su.cjs');
11
11
  require('../resources-BAE7VVZZ.cjs');
12
- require('../promptDefinitions-CVB4IyVf.cjs');
12
+ require('../promptDefinitions-OnJHLqrZ.cjs');
13
13
  require('../prompts--QCiXmR2.cjs');
14
- require('../server-DQ_dBWQy.cjs');
15
- const require_stdio = require('../stdio-CRqulLZQ.cjs');
14
+ require('../server-CqLaJq7P.cjs');
15
+ const require_stdio = require('../stdio-DKNKrvTY.cjs');
16
16
 
17
17
  exports.startStdio = require_stdio.startStdio
@@ -1,6 +1,6 @@
1
1
  import "../promptDefinitions.d-ByaZdRYv.cjs";
2
- import "../toolDefinitions.d-Dx4q--0l.cjs";
3
- import { ServerContext } from "../types.d-DQGXrBBW.cjs";
2
+ import "../toolDefinitions.d-CsT15_MF.cjs";
3
+ import { ServerContext } from "../types.d-BfhMPrt_.cjs";
4
4
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
5
5
 
6
6
  //#region src/transports/stdio.d.ts
@@ -1,6 +1,6 @@
1
1
  import "../promptDefinitions.d-DyHOzL57.js";
2
- import "../toolDefinitions.d-C0zMvL9m.js";
3
- import { ServerContext } from "../types.d-DHI7S0mb.js";
2
+ import "../toolDefinitions.d-C5JUBInb.js";
3
+ import { ServerContext } from "../types.d-BeKsSRmy.js";
4
4
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
5
5
 
6
6
  //#region src/transports/stdio.d.ts
@@ -1,17 +1,17 @@
1
- import "../schema-D1B8p0Ib.js";
2
- import "../client-BKLE5Lkt.js";
1
+ import "../schema-BzPfPMq7.js";
2
+ import "../client-vqrS5E_N.js";
3
3
  import "../types-H-TSmRpm.js";
4
4
  import "../api-client-9mzrj2HY.js";
5
5
  import "../formatting-Bacfde0I.js";
6
- import "../issue-helpers-DFde36Zu.js";
6
+ import "../issue-helpers-Cx6bFCUv.js";
7
7
  import "../logging-Cxm8lQvg.js";
8
- import "../tools-CXgh-6Vh.js";
9
- import "../schema-k04PdSCK.js";
10
- import "../toolDefinitions-L20Lv3AW.js";
8
+ import "../tools-DZzt3LcX.js";
9
+ import "../schema-pZrPEvtp.js";
10
+ import "../toolDefinitions-DB4pPvgy.js";
11
11
  import "../resources-OM3EAnnj.js";
12
- import "../promptDefinitions-CaRMCDPI.js";
12
+ import "../promptDefinitions-C9aGYWZ6.js";
13
13
  import "../prompts-Tz-qECa0.js";
14
- import "../server-DHbbEoa2.js";
15
- import { startStdio } from "../stdio-BHg5CaoN.js";
14
+ import "../server-BLE3CwEp.js";
15
+ import { startStdio } from "../stdio-BLheCcU0.js";
16
16
 
17
17
  export { startStdio };
@@ -1,4 +1,4 @@
1
- import { AutofixRunSchema$1 as AutofixRunSchema, AutofixRunStateSchema$1 as AutofixRunStateSchema, ClientKeyListSchema$1 as ClientKeyListSchema, ClientKeySchema$1 as ClientKeySchema, EventSchema$1 as EventSchema, IssueListSchema$1 as IssueListSchema, IssueSchema$1 as IssueSchema, OrganizationListSchema$1 as OrganizationListSchema, OrganizationSchema$1 as OrganizationSchema, ProjectListSchema$1 as ProjectListSchema, ProjectSchema$1 as ProjectSchema, ReleaseListSchema$1 as ReleaseListSchema, ReleaseSchema$1 as ReleaseSchema, TagListSchema$1 as TagListSchema, TagSchema$1 as TagSchema, TeamListSchema$1 as TeamListSchema, TeamSchema$1 as TeamSchema } from "./schema.d-DQ5YUr0Y.js";
1
+ import { AutofixRunSchema$1 as AutofixRunSchema, AutofixRunStateSchema$1 as AutofixRunStateSchema, ClientKeyListSchema$1 as ClientKeyListSchema, ClientKeySchema$1 as ClientKeySchema, EventSchema$1 as EventSchema, IssueListSchema$1 as IssueListSchema, IssueSchema$1 as IssueSchema, OrganizationListSchema$1 as OrganizationListSchema, OrganizationSchema$1 as OrganizationSchema, ProjectListSchema$1 as ProjectListSchema, ProjectSchema$1 as ProjectSchema, ReleaseListSchema$1 as ReleaseListSchema, ReleaseSchema$1 as ReleaseSchema, TagListSchema$1 as TagListSchema, TagSchema$1 as TagSchema, TeamListSchema$1 as TeamListSchema, TeamSchema$1 as TeamSchema } from "./schema.d-DwpHAZsi.js";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/api-client/types.d.ts
@@ -24,4 +24,4 @@ type ClientKeyList = z.infer<typeof ClientKeyListSchema>;
24
24
  //# sourceMappingURL=types.d.ts.map
25
25
 
26
26
  export { AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, Release, ReleaseList, Tag, TagList, Team, TeamList };
27
- //# sourceMappingURL=types.d-DsrCjT7G.d.ts.map
27
+ //# sourceMappingURL=types.d-B-acZthg.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d-DsrCjT7G.d.ts","names":[],"sources":["../src/api-client/types.ts"],"sourcesContent":null,"mappings":";;;;KAqBY,YAAA,GAAe,CAAA,CAAE,aAAa;KAC9B,IAAA,GAAO,CAAA,CAAE,aAAa;AADtB,KAEA,OAAA,GAAU,CAAA,CAAE,KAFA,CAAA,OAEa,aAFb,CAAA;AAAA,KAGZ,SAAA,GAAY,CAAA,CAAE,KAHF,CAAA,OAGe,eAHf,CAAA;AAAkB,KAI9B,OAAA,GAAU,CAAA,CAAE,KAJkB,CAAA,OAIL,aAJK,CAAA;AAAf,KAKf,KAAA,GAAQ,CAAA,CAAE,KALO,CAAA,OAKM,WALN,CAAA;AAAK,KAMtB,KAAA,GAAQ,CAAA,CAAE,KANY,CAAA,OAMC,WAND,CAAA;AACtB,KAMA,GAAA,GAAM,CAAA,CAAE,KANJ,CAAA,OAMiB,SANjB,CAAA;AAAA,KAOJ,UAAA,GAAa,CAAA,CAAE,KAPX,CAAA,OAOwB,gBAPxB,CAAA;AAAkB,KAQtB,eAAA,GAAkB,CAAA,CAAE,KARE,CAAA,OAQW,qBARX,CAAA;AAAf,KAUP,gBAAA,GAAmB,CAAA,CAAE,KAVZ,CAAA,OAUyB,sBAVzB,CAAA;AAAK,KAWd,QAAA,GAAW,CAAA,CAAE,KAXC,CAAA,OAWY,cAXZ,CAAA;AACd,KAWA,WAAA,GAAc,CAAA,CAAE,KAXT,CAAA,OAWsB,iBAXtB,CAAA;AAAA,KAYP,WAAA,GAAc,CAAA,CAAE,KA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AazB,SAAA,GAAY,CAAA,CAAE,KAbW,CAAA,OAaE,eAbF,CAAA;AAAf,KAcV,OAAA,GAAU,CAAA,CAAE,KAdA,CAAA,OAca,aAdb,CAAA;AAAK,KAejB,aAAA,GAAgB,CAAA,CAAE,KAfD,CAAA,OAec,mBAfd,CAAA;;;AAC7B"}
@@ -1,5 +1,5 @@
1
1
  import { PROMPT_DEFINITIONS$1 as PROMPT_DEFINITIONS } from "./promptDefinitions.d-DyHOzL57.js";
2
- import { TOOL_DEFINITIONS$1 as TOOL_DEFINITIONS } from "./toolDefinitions.d-C0zMvL9m.js";
2
+ import { TOOL_DEFINITIONS$1 as TOOL_DEFINITIONS } from "./toolDefinitions.d-C5JUBInb.js";
3
3
  import { z } from "zod";
4
4
  import { GetPromptResult, Notification } from "@modelcontextprotocol/sdk/types.js";
5
5
  import { RequestHandlerExtra } from "@modelcontextprotocol/sdk/shared/protocol.js";
@@ -34,4 +34,4 @@ type ServerContext = {
34
34
 
35
35
  //#endregion
36
36
  export { PromptDefinition, PromptHandler, PromptHandlers, PromptName, PromptParams, ServerContext, ToolDefinition, ToolHandler, ToolHandlerExtended, ToolHandlers, ToolName, ToolParams };
37
- //# sourceMappingURL=types.d-DHI7S0mb.d.ts.map
37
+ //# sourceMappingURL=types.d-BeKsSRmy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d-DHI7S0mb.d.ts","names":[],"sources":["../src/types.ts"],"sourcesContent":null,"mappings":";;;;;;;KASK,uBAAuB,qCACd,IAAI,CAAA,CAAE,MAAM,EAAE,KAHgB;AAE3B,KAGL,UAAA,GAHK,CAAA,OAGgB,kBAHhB,CAAA,CAAA,MAAA,CAAA,CAAA,MAAA,CAAA;AAAW,KAKhB,gBALgB,CAAA,UAKW,UALX,CAAA,GAKyB,OALzB,CAAA,CAAA,OAMlB,kBANkB,CAAA,CAAA,MAAA,CAAA,EAAA;EAAM,IACpB,EAMJ,CANI;CAAC,CAAA;AAAa,KAShB,YATgB,CAAA,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@ -1,5 +1,5 @@
1
1
  import { PROMPT_DEFINITIONS } from "./promptDefinitions.d-ByaZdRYv.cjs";
2
- import { TOOL_DEFINITIONS } from "./toolDefinitions.d-Dx4q--0l.cjs";
2
+ import { TOOL_DEFINITIONS } from "./toolDefinitions.d-CsT15_MF.cjs";
3
3
  import { z } from "zod";
4
4
  import { GetPromptResult, Notification } from "@modelcontextprotocol/sdk/types.js";
5
5
  import { RequestHandlerExtra } from "@modelcontextprotocol/sdk/shared/protocol.js";
@@ -34,4 +34,4 @@ type ServerContext = {
34
34
 
35
35
  //#endregion
36
36
  export { PromptDefinition, PromptHandler, PromptHandlers, PromptName, PromptParams, ServerContext, ToolDefinition, ToolHandler, ToolHandlerExtended, ToolHandlers, ToolName, ToolParams };
37
- //# sourceMappingURL=types.d-DQGXrBBW.d.cts.map
37
+ //# sourceMappingURL=types.d-BfhMPrt_.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d-DQGXrBBW.d.cts","names":[],"sources":["../src/types.ts"],"sourcesContent":null,"mappings":";;;;;;;KASK,uBAAuB,qCACd,IAAI,CAAA,CAAE,MAAM,EAAE,KAHgB;AAE3B,KAGL,UAAA,GAHK,CAAA,OAGgB,kBAHhB,CAAA,CAAA,MAAA,CAAA,CAAA,MAAA,CAAA;AAAW,KAKhB,gBALgB,CAAA,UAKW,UALX,CAAA,GAKyB,OALzB,CAAA,CAAA,OAMlB,kBANkB,CAAA,CAAA,MAAA,CAAA,EAAA;EAAM,IACpB,EAMJ,CANI;CAAC,CAAA;AAAa,KAShB,YATgB,CAAA,UASO,UATP,CAAA,GASqB,gBATrB,CASsC,CATtC,CAAA,SAAA;EAAC,YAAT,EAUJ,MAVI,CAAA,MAAA,EAAA,GAAA,CAAA;AAAK,CAAA,GAYrB,YAZqB,CAYR,gBAZQ,CAYS,CAZT,CAAA,CAAA,cAAA,CAAA,CAAA,GAarB,MAbqB,CAAA,MAAA,EAAA,KAAA,CAAA;AAEb,KAaA,aAbU,CAAA,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AF0C,EAuB3C,CAvB2C;AAAO,CAAA,CAAA;AAKhD,KAqBA,UArBY,CAAA,UAqBS,QArBT,CAAA,GAqBqB,cArBrB,CAqBoC,CArBpC,CAAA,SAAA;EAAA,YAAA,EAsBR,MAtBQ,CAAA,MAAA,EAAA,GAAA,CAAA;CAAA,GAwBpB,YAxB+B,CAwBlB,cAxBkB,CAwBH,CAxBG,CAAA,CAAA,cAAA,CAAA,CAAA,GAyB/B,MAzB+B,CAAA,MAAA,EAAA,KAAA,CAAA;AAA+B,KA2BtD,WA3BsD,CAAA,UA2BhC,QA3BgC,CAAA,GAAA,CAAA,MAAA,EA4BxD,UA5BwD,CA4B7C,CA5B6C,CAAA,EAAA,GA6B7D,OA7B6D,CAAA,MAAA,CAAA;AAAjB,KA+BrC,mBA/BqC,CAAA,UA+BP,QA/BO,CAAA,GAAA,CAAA,OAAA,EAgCtC,aAhCsC,EAAA,MAAA,EAiCvC,UAjCuC,CAiC5B,CAjC4B,CAAA,EAAA,KAAA,EAkCxC,mBAlCwC,CAkCpB,OAlCoB,EAkCX,YAlCW,CAAA,EAAA,GAmC5C,OAnC4C,CAAA,MAAA,CAAA;AACjC,KAoCJ,YAAA,GApCI,QAqCR,QAnC0B,GAmCf,mBAnCe,CAmCK,CAnCL,CAAA,EAAC;AAA/B,KAsCQ,aAAA,GAtCR;EAAY,IACZ,CAAA,EAAA,MAAA;EAAM,WAAA,EAAA,MAAA;EAEE,gBAAa,EAAA,MAAA,GAAA,IAAA;EAAA,MAAA,CAAA,EAAA,MAAA,GAAA,IAAA;CAAA"}
@@ -1,4 +1,4 @@
1
- import { AutofixRunSchema, AutofixRunStateSchema, ClientKeyListSchema, ClientKeySchema, EventSchema, IssueListSchema, IssueSchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema } from "./schema.d-cvHc3M20.cjs";
1
+ import { AutofixRunSchema, AutofixRunStateSchema, ClientKeyListSchema, ClientKeySchema, EventSchema, IssueListSchema, IssueSchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema } from "./schema.d-vgLUM73w.cjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/api-client/types.d.ts
@@ -24,4 +24,4 @@ type ClientKeyList = z.infer<typeof ClientKeyListSchema>;
24
24
  //# sourceMappingURL=types.d.ts.map
25
25
 
26
26
  export { AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, Release, ReleaseList, Tag, TagList, Team, TeamList };
27
- //# sourceMappingURL=types.d-r20cCyVI.d.cts.map
27
+ //# sourceMappingURL=types.d-Bq-AxlK6.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d-r20cCyVI.d.cts","names":[],"sources":["../src/api-client/types.ts"],"sourcesContent":null,"mappings":";;;;KAqBY,YAAA,GAAe,CAAA,CAAE,aAAa;KAC9B,IAAA,GAAO,CAAA,CAAE,aAAa;AADtB,KAEA,OAAA,GAAU,CAAA,CAAE,KAFA,CAAA,OAEa,aAFb,CAAA;AAAA,KAGZ,SAAA,GAAY,CAAA,CAAE,KAHF,CAAA,OAGe,eAHf,CAAA;AAAkB,KAI9B,OAAA,GAAU,CAAA,CAAE,KAJkB,CAAA,OAIL,aAJK,CAAA;AAAf,KAKf,KAAA,GAAQ,CAAA,CAAE,KALO,CAAA,OAKM,WALN,CAAA;AAAK,KAMtB,KAAA,GAAQ,CAAA,CAAE,KANY,CAAA,OAMC,WAND,CAAA;AACtB,KAMA,GAAA,GAAM,CAAA,CAAE,KANJ,CAAA,OAMiB,SANjB,CAAA;AAAA,KAOJ,UAAA,GAAa,CAAA,CAAE,KAPX,CAAA,OAOwB,gBAPxB,CAAA;AAAkB,KAQtB,eAAA,GAAkB,CAAA,CAAE,KARE,CAAA,OAQW,qBARX,CAAA;A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