@sentry/mcp-server 0.10.0 → 0.12.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 (271) hide show
  1. package/dist/api-client/client.cjs +4 -4
  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 +8 -9
  6. package/dist/api-client/client.test.cjs.map +1 -1
  7. package/dist/api-client/client.test.js +4 -4
  8. package/dist/api-client/index.cjs +41 -38
  9. package/dist/api-client/index.d.cts +4 -4
  10. package/dist/api-client/index.d.ts +4 -4
  11. package/dist/api-client/index.js +5 -5
  12. package/dist/api-client/schema.cjs +36 -33
  13. package/dist/api-client/schema.d.cts +2 -2
  14. package/dist/api-client/schema.d.ts +2 -2
  15. package/dist/api-client/schema.js +2 -2
  16. package/dist/api-client/types.cjs +1 -1
  17. package/dist/api-client/types.d.cts +3 -3
  18. package/dist/api-client/types.d.ts +3 -3
  19. package/dist/api-client/types.js +1 -1
  20. package/dist/{chunk-CsIcISPO.js → chunk-BLXvPPr8.js} +1 -1
  21. package/dist/{chunk-BtT13l48.cjs → chunk-DWy1uDak.cjs} +0 -1
  22. package/dist/client-4jq_wVgn.d.ts +522 -0
  23. package/dist/client-4jq_wVgn.d.ts.map +1 -0
  24. package/dist/client-B7vZ6JMk.cjs +572 -0
  25. package/dist/client-B7vZ6JMk.cjs.map +1 -0
  26. package/dist/client-CAoHZbyK.js +561 -0
  27. package/dist/client-CAoHZbyK.js.map +1 -0
  28. package/dist/client-DkY0ifZf.d.cts +522 -0
  29. package/dist/client-DkY0ifZf.d.cts.map +1 -0
  30. package/dist/{dist-wiyJYfAH.cjs → dist-BlIWGSIM.cjs} +318 -164
  31. package/dist/dist-BlIWGSIM.cjs.map +1 -0
  32. package/dist/{dist-BKh-M1A1.js → dist-DDpQABxe.js} +318 -163
  33. package/dist/dist-DDpQABxe.js.map +1 -0
  34. package/dist/errors-B9fwS-aP.cjs +21 -0
  35. package/dist/errors-B9fwS-aP.cjs.map +1 -0
  36. package/dist/errors-BJSrT6Ou.js +15 -0
  37. package/dist/errors-BJSrT6Ou.js.map +1 -0
  38. package/dist/errors.cjs +3 -0
  39. package/dist/errors.d.cts +12 -0
  40. package/dist/errors.d.cts.map +1 -0
  41. package/dist/errors.d.ts +12 -0
  42. package/dist/errors.d.ts.map +1 -0
  43. package/dist/errors.js +3 -0
  44. package/dist/errors.test.cjs +24 -0
  45. package/dist/errors.test.cjs.map +1 -0
  46. package/dist/errors.test.d.cts +1 -0
  47. package/dist/errors.test.d.ts +1 -0
  48. package/dist/errors.test.js +24 -0
  49. package/dist/errors.test.js.map +1 -0
  50. package/dist/{formatting-ggD6YRYR.js → formatting-BaARL2gT.js} +1 -1
  51. package/dist/formatting-BaARL2gT.js.map +1 -0
  52. package/dist/{formatting-B0SJqiqX.cjs → formatting-C2kN0ok6.cjs} +1 -2
  53. package/dist/formatting-C2kN0ok6.cjs.map +1 -0
  54. package/dist/index.cjs +19 -19
  55. package/dist/index.cjs.map +1 -1
  56. package/dist/index.js +18 -17
  57. package/dist/index.js.map +1 -1
  58. package/dist/internal/formatting.cjs +4 -4
  59. package/dist/internal/formatting.d.cts +5 -5
  60. package/dist/internal/formatting.d.cts.map +1 -1
  61. package/dist/internal/formatting.d.ts +5 -5
  62. package/dist/internal/formatting.d.ts.map +1 -1
  63. package/dist/internal/formatting.js +1 -1
  64. package/dist/internal/issue-helpers.cjs +4 -4
  65. package/dist/internal/issue-helpers.d.cts +10 -2
  66. package/dist/internal/issue-helpers.d.cts.map +1 -1
  67. package/dist/internal/issue-helpers.d.ts +10 -2
  68. package/dist/internal/issue-helpers.d.ts.map +1 -1
  69. package/dist/internal/issue-helpers.js +1 -1
  70. package/dist/internal/issue-helpers.test.cjs +21 -25
  71. package/dist/internal/issue-helpers.test.cjs.map +1 -1
  72. package/dist/internal/issue-helpers.test.js +5 -8
  73. package/dist/internal/issue-helpers.test.js.map +1 -1
  74. package/dist/{issue-helpers-CyoHu5j4.js → issue-helpers-BMVLc3mR.js} +16 -2
  75. package/dist/issue-helpers-BMVLc3mR.js.map +1 -0
  76. package/dist/{issue-helpers-DbsECZFq.cjs → issue-helpers-D712fGT2.cjs} +16 -3
  77. package/dist/issue-helpers-D712fGT2.cjs.map +1 -0
  78. package/dist/{logging-BEMgC5SA.cjs → logging-ByvSjT6V.cjs} +2 -3
  79. package/dist/logging-ByvSjT6V.cjs.map +1 -0
  80. package/dist/{logging-Cxm8lQvg.js → logging-CXLD0FFB.js} +1 -1
  81. package/dist/logging-CXLD0FFB.js.map +1 -0
  82. package/dist/logging.cjs +2 -2
  83. package/dist/logging.d.cts +31 -3
  84. package/dist/logging.d.cts.map +1 -1
  85. package/dist/logging.d.ts +31 -3
  86. package/dist/logging.d.ts.map +1 -1
  87. package/dist/logging.js +1 -1
  88. package/dist/{magic-string.es-m-ldRjOa.cjs → magic-string.es-CybcVAw7.cjs} +2 -3
  89. package/dist/{magic-string.es-m-ldRjOa.cjs.map → magic-string.es-CybcVAw7.cjs.map} +1 -1
  90. package/dist/{promptDefinitions-pHRpPOpJ.cjs → promptDefinitions-BTLIBcGt.cjs} +10 -4
  91. package/dist/promptDefinitions-BTLIBcGt.cjs.map +1 -0
  92. package/dist/{promptDefinitions-tpKruPny.d.ts → promptDefinitions-CF2VWdQ6.d.cts} +12 -4
  93. package/dist/promptDefinitions-CF2VWdQ6.d.cts.map +1 -0
  94. package/dist/{promptDefinitions-BR7PxWcH.d.cts → promptDefinitions-D5FSQckL.d.ts} +11 -3
  95. package/dist/promptDefinitions-D5FSQckL.d.ts.map +1 -0
  96. package/dist/{promptDefinitions-DBNOeSg-.js → promptDefinitions-D8yow1m0.js} +9 -2
  97. package/dist/promptDefinitions-D8yow1m0.js.map +1 -0
  98. package/dist/promptDefinitions.cjs +3 -3
  99. package/dist/promptDefinitions.d.cts +1 -1
  100. package/dist/promptDefinitions.d.ts +1 -1
  101. package/dist/promptDefinitions.js +2 -2
  102. package/dist/{prompts-nfFU-zY-.cjs → prompts-CDbQrutV.cjs} +3 -3
  103. package/dist/prompts-CDbQrutV.cjs.map +1 -0
  104. package/dist/{prompts-DgWOD2rU.js → prompts-Dt3A8Qfl.js} +4 -2
  105. package/dist/prompts-Dt3A8Qfl.js.map +1 -0
  106. package/dist/prompts.cjs +3 -2
  107. package/dist/prompts.d.cts +4 -5
  108. package/dist/prompts.d.cts.map +1 -1
  109. package/dist/prompts.d.ts +4 -5
  110. package/dist/prompts.d.ts.map +1 -1
  111. package/dist/prompts.js +2 -1
  112. package/dist/{resources-OM3EAnnj.js → resources-Bol20Xuo.js} +13 -1
  113. package/dist/resources-Bol20Xuo.js.map +1 -0
  114. package/dist/{resources-BAE7VVZZ.cjs → resources-DNyoutxH.cjs} +13 -2
  115. package/dist/resources-DNyoutxH.cjs.map +1 -0
  116. package/dist/resources.cjs +2 -2
  117. package/dist/resources.d.cts +9 -1
  118. package/dist/resources.d.cts.map +1 -1
  119. package/dist/resources.d.ts +9 -1
  120. package/dist/resources.d.ts.map +1 -1
  121. package/dist/resources.js +1 -1
  122. package/dist/{schema-B7A-FyIi.d.ts → schema-BJv7kREf.d.cts} +215 -68
  123. package/dist/schema-BJv7kREf.d.cts.map +1 -0
  124. package/dist/{schema-jk88gqOu.cjs → schema-BTfISwFu.cjs} +30 -4
  125. package/dist/schema-BTfISwFu.cjs.map +1 -0
  126. package/dist/{schema-PvgLrC1b.d.cts → schema-BnxGHL_i.d.ts} +215 -68
  127. package/dist/schema-BnxGHL_i.d.ts.map +1 -0
  128. package/dist/{schema-3VLYcf4D.cjs → schema-BsvGMALe.cjs} +59 -8
  129. package/dist/schema-BsvGMALe.cjs.map +1 -0
  130. package/dist/{schema-Dltbjui7.js → schema-C_hp0BR7.js} +41 -7
  131. package/dist/schema-C_hp0BR7.js.map +1 -0
  132. package/dist/schema-Dv6aLZgz.js +32 -0
  133. package/dist/schema-Dv6aLZgz.js.map +1 -0
  134. package/dist/schema.cjs +13 -11
  135. package/dist/schema.d.cts +14 -5
  136. package/dist/schema.d.cts.map +1 -1
  137. package/dist/schema.d.ts +14 -5
  138. package/dist/schema.d.ts.map +1 -1
  139. package/dist/schema.js +2 -2
  140. package/dist/{server-yb4PkNyo.js → server-C7cHq_pc.js} +82 -27
  141. package/dist/server-C7cHq_pc.js.map +1 -0
  142. package/dist/{server-VwFSUPQn.cjs → server-DeutbO8v.cjs} +83 -29
  143. package/dist/server-DeutbO8v.cjs.map +1 -0
  144. package/dist/server.cjs +16 -15
  145. package/dist/server.d.cts +24 -6
  146. package/dist/server.d.cts.map +1 -1
  147. package/dist/server.d.ts +24 -6
  148. package/dist/server.d.ts.map +1 -1
  149. package/dist/server.js +15 -14
  150. package/dist/stdio-B73CCTly.cjs +47 -0
  151. package/dist/stdio-B73CCTly.cjs.map +1 -0
  152. package/dist/stdio-ZQLC-i5Q.js +41 -0
  153. package/dist/stdio-ZQLC-i5Q.js.map +1 -0
  154. package/dist/test-setup.cjs +653 -438
  155. package/dist/test-setup.cjs.map +1 -1
  156. package/dist/test-setup.js +653 -438
  157. package/dist/test-setup.js.map +1 -1
  158. package/dist/{toolDefinitions-B94CNDbt.d.cts → toolDefinitions-BOMF-zIC.d.ts} +148 -18
  159. package/dist/toolDefinitions-BOMF-zIC.d.ts.map +1 -0
  160. package/dist/{toolDefinitions-DIhvw3vk.cjs → toolDefinitions-CUegGcWU.cjs} +128 -7
  161. package/dist/toolDefinitions-CUegGcWU.cjs.map +1 -0
  162. package/dist/{toolDefinitions-Bb_1ejkl.js → toolDefinitions-DFAxp3nr.js} +127 -5
  163. package/dist/toolDefinitions-DFAxp3nr.js.map +1 -0
  164. package/dist/{toolDefinitions-q_1-70fG.d.ts → toolDefinitions-Ipvr4Acw.d.cts} +149 -19
  165. package/dist/toolDefinitions-Ipvr4Acw.d.cts.map +1 -0
  166. package/dist/toolDefinitions.cjs +3 -3
  167. package/dist/toolDefinitions.d.cts +1 -1
  168. package/dist/toolDefinitions.d.ts +1 -1
  169. package/dist/toolDefinitions.js +2 -2
  170. package/dist/toolDefinitions.test.cjs +3 -4
  171. package/dist/toolDefinitions.test.cjs.map +1 -1
  172. package/dist/toolDefinitions.test.js +3 -3
  173. package/dist/{tools-CMFpMPpD.js → tools-DpiQwSTY.js} +156 -13
  174. package/dist/tools-DpiQwSTY.js.map +1 -0
  175. package/dist/{tools-BdkmyaZo.cjs → tools-DyOqlsCW.cjs} +157 -15
  176. package/dist/tools-DyOqlsCW.cjs.map +1 -0
  177. package/dist/tools.cjs +10 -9
  178. package/dist/tools.d.cts +121 -8
  179. package/dist/tools.d.cts.map +1 -1
  180. package/dist/tools.d.ts +121 -8
  181. package/dist/tools.d.ts.map +1 -1
  182. package/dist/tools.js +9 -8
  183. package/dist/tools.test.cjs +330 -35
  184. package/dist/tools.test.cjs.map +1 -1
  185. package/dist/tools.test.js +311 -15
  186. package/dist/tools.test.js.map +1 -1
  187. package/dist/transports/stdio.cjs +17 -16
  188. package/dist/transports/stdio.d.cts +27 -6
  189. package/dist/transports/stdio.d.cts.map +1 -1
  190. package/dist/transports/stdio.d.ts +27 -6
  191. package/dist/transports/stdio.d.ts.map +1 -1
  192. package/dist/transports/stdio.js +16 -15
  193. package/dist/{types-jftb-CP9.d.ts → types-D5TPcOfv.d.ts} +4 -4
  194. package/dist/types-D5TPcOfv.d.ts.map +1 -0
  195. package/dist/{types-OeoNXRm-.d.cts → types-DRF2IoP_.d.cts} +4 -4
  196. package/dist/types-DRF2IoP_.d.cts.map +1 -0
  197. package/dist/{types-B03G337q.d.cts → types-Daq2fm0E.d.ts} +7 -5
  198. package/dist/types-Daq2fm0E.d.ts.map +1 -0
  199. package/dist/{types-CN4NEway.d.ts → types-NIQW7KyF.d.cts} +7 -5
  200. package/dist/types-NIQW7KyF.d.cts.map +1 -0
  201. package/dist/types.d.cts +3 -3
  202. package/dist/types.d.ts +3 -3
  203. package/dist/{version-CDnh7DyW.cjs → version-BNmubeQI.cjs} +2 -3
  204. package/dist/{version-CDnh7DyW.cjs.map → version-BNmubeQI.cjs.map} +1 -1
  205. package/dist/version-CRto5Sn_.js +6 -0
  206. package/dist/{version-TjO7fHpC.js.map → version-CRto5Sn_.js.map} +1 -1
  207. package/dist/version.cjs +2 -2
  208. package/dist/version.d.cts +1 -2
  209. package/dist/version.d.cts.map +1 -1
  210. package/dist/version.d.ts +1 -2
  211. package/dist/version.d.ts.map +1 -1
  212. package/dist/version.js +1 -1
  213. package/dist/{vi.ClIskdbk-De9q3829.js → vi.bdSIJ99Y-BfJr7I2s.js} +241 -171
  214. package/dist/vi.bdSIJ99Y-BfJr7I2s.js.map +1 -0
  215. package/dist/{vi.ClIskdbk-Bs263gvI.cjs → vi.bdSIJ99Y-Dft_B_Ta.cjs} +243 -182
  216. package/dist/vi.bdSIJ99Y-Dft_B_Ta.cjs.map +1 -0
  217. package/package.json +8 -8
  218. package/dist/client-B4Ux5Zdg.cjs +0 -227
  219. package/dist/client-B4Ux5Zdg.cjs.map +0 -1
  220. package/dist/client-Bz_PNC8o.js +0 -215
  221. package/dist/client-Bz_PNC8o.js.map +0 -1
  222. package/dist/client-J6VSRmQS.d.ts +0 -177
  223. package/dist/client-J6VSRmQS.d.ts.map +0 -1
  224. package/dist/client-tE6FD__9.d.cts +0 -177
  225. package/dist/client-tE6FD__9.d.cts.map +0 -1
  226. package/dist/dist-BKh-M1A1.js.map +0 -1
  227. package/dist/dist-wiyJYfAH.cjs.map +0 -1
  228. package/dist/formatting-B0SJqiqX.cjs.map +0 -1
  229. package/dist/formatting-ggD6YRYR.js.map +0 -1
  230. package/dist/issue-helpers-CyoHu5j4.js.map +0 -1
  231. package/dist/issue-helpers-DbsECZFq.cjs.map +0 -1
  232. package/dist/logging-BEMgC5SA.cjs.map +0 -1
  233. package/dist/logging-Cxm8lQvg.js.map +0 -1
  234. package/dist/promptDefinitions-BR7PxWcH.d.cts.map +0 -1
  235. package/dist/promptDefinitions-DBNOeSg-.js.map +0 -1
  236. package/dist/promptDefinitions-pHRpPOpJ.cjs.map +0 -1
  237. package/dist/promptDefinitions-tpKruPny.d.ts.map +0 -1
  238. package/dist/prompts-DgWOD2rU.js.map +0 -1
  239. package/dist/prompts-nfFU-zY-.cjs.map +0 -1
  240. package/dist/resources-BAE7VVZZ.cjs.map +0 -1
  241. package/dist/resources-OM3EAnnj.js.map +0 -1
  242. package/dist/schema-3VLYcf4D.cjs.map +0 -1
  243. package/dist/schema-B7A-FyIi.d.ts.map +0 -1
  244. package/dist/schema-BKa41TQ4.js +0 -17
  245. package/dist/schema-BKa41TQ4.js.map +0 -1
  246. package/dist/schema-Dltbjui7.js.map +0 -1
  247. package/dist/schema-PvgLrC1b.d.cts.map +0 -1
  248. package/dist/schema-jk88gqOu.cjs.map +0 -1
  249. package/dist/server-VwFSUPQn.cjs.map +0 -1
  250. package/dist/server-yb4PkNyo.js.map +0 -1
  251. package/dist/stdio-65sYKLOk.cjs +0 -26
  252. package/dist/stdio-65sYKLOk.cjs.map +0 -1
  253. package/dist/stdio-DkU2-spy.js +0 -19
  254. package/dist/stdio-DkU2-spy.js.map +0 -1
  255. package/dist/toolDefinitions-B94CNDbt.d.cts.map +0 -1
  256. package/dist/toolDefinitions-Bb_1ejkl.js.map +0 -1
  257. package/dist/toolDefinitions-DIhvw3vk.cjs.map +0 -1
  258. package/dist/toolDefinitions-q_1-70fG.d.ts.map +0 -1
  259. package/dist/tools-BdkmyaZo.cjs.map +0 -1
  260. package/dist/tools-CMFpMPpD.js.map +0 -1
  261. package/dist/types-B03G337q.d.cts.map +0 -1
  262. package/dist/types-CN4NEway.d.ts.map +0 -1
  263. package/dist/types-OeoNXRm-.d.cts.map +0 -1
  264. package/dist/types-jftb-CP9.d.ts.map +0 -1
  265. package/dist/version-TjO7fHpC.js +0 -6
  266. package/dist/vi.ClIskdbk-Bs263gvI.cjs.map +0 -1
  267. package/dist/vi.ClIskdbk-De9q3829.js.map +0 -1
  268. /package/dist/{api-client-9mzrj2HY.js → api-client-CL1WDkw9.cjs} +0 -0
  269. /package/dist/{api-client-CEBuz3Zu.cjs → api-client-CNv_hbPO.js} +0 -0
  270. /package/dist/{types-H-TSmRpm.js → types-6zHoEWAx.js} +0 -0
  271. /package/dist/{types-o3zWarRp.cjs → types-MYBaygjr.cjs} +0 -0
@@ -1,16 +1,31 @@
1
- "use strict";
2
- require('./schema-3VLYcf4D.cjs');
3
- require('./client-B4Ux5Zdg.cjs');
4
- require('./types-o3zWarRp.cjs');
5
- require('./api-client-CEBuz3Zu.cjs');
6
- require('./formatting-B0SJqiqX.cjs');
7
- require('./issue-helpers-DbsECZFq.cjs');
8
- require('./logging-BEMgC5SA.cjs');
9
- const require_tools = require('./tools-BdkmyaZo.cjs');
10
- const require_dist = require('./dist-wiyJYfAH.cjs');
11
- const require_vi_ClIskdbk = require('./vi.ClIskdbk-Bs263gvI.cjs');
1
+ const require_dist = require('./dist-BlIWGSIM.cjs');
2
+ const require_vi_bdSIJ99Y = require('./vi.bdSIJ99Y-Dft_B_Ta.cjs');
3
+ require('./errors-B9fwS-aP.cjs');
4
+ require('./schema-BsvGMALe.cjs');
5
+ require('./client-B7vZ6JMk.cjs');
6
+ require('./types-MYBaygjr.cjs');
7
+ require('./api-client-CL1WDkw9.cjs');
8
+ require('./formatting-C2kN0ok6.cjs');
9
+ require('./issue-helpers-D712fGT2.cjs');
10
+ require('./logging-ByvSjT6V.cjs');
11
+ const require_tools = require('./tools-DyOqlsCW.cjs');
12
12
 
13
13
  //#region src/tools.test.ts
14
+ require_dist.describe("whoami", () => {
15
+ require_dist.it("serializes", async () => {
16
+ const tool = require_tools.TOOL_HANDLERS.whoami;
17
+ const result = await tool({
18
+ accessToken: "access-token",
19
+ userId: "1",
20
+ organizationSlug: null
21
+ }, {});
22
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
23
+ "You are authenticated as John Doe (john.doe@example.com).
24
+
25
+ Your Sentry User ID is 1."
26
+ `);
27
+ });
28
+ });
14
29
  require_dist.describe("find_organizations", () => {
15
30
  require_dist.it("serializes", async () => {
16
31
  const tool = require_tools.TOOL_HANDLERS.find_organizations;
@@ -18,8 +33,8 @@ require_dist.describe("find_organizations", () => {
18
33
  accessToken: "access-token",
19
34
  userId: "1",
20
35
  organizationSlug: null
21
- });
22
- require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
36
+ }, {});
37
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
23
38
  "# Organizations
24
39
 
25
40
  ## **sentry-mcp-evals**
@@ -30,10 +45,29 @@ require_dist.describe("find_organizations", () => {
30
45
  # Using this information
31
46
 
32
47
  - The organization's name is the identifier for the organization, and is used in many tools for \`organizationSlug\`.
33
- - If a tool supports passing in the \`regionUrl\`, you should also pass in the correct value there.
48
+ - If a tool supports passing in the \`regionUrl\`, you MUST pass in the correct value shown above for each organization.
49
+ - For Sentry's Cloud Service (sentry.io), always use the regionUrl to ensure requests go to the correct region.
34
50
  "
35
51
  `);
36
52
  });
53
+ require_dist.it("handles empty regionUrl parameter", async () => {
54
+ const tool = require_tools.TOOL_HANDLERS.find_organizations;
55
+ const result = await tool({
56
+ accessToken: "access-token",
57
+ userId: "1",
58
+ organizationSlug: null
59
+ }, { regionUrl: "" });
60
+ require_vi_bdSIJ99Y.globalExpect(result).toContain("Organizations");
61
+ });
62
+ require_dist.it("handles undefined regionUrl parameter", async () => {
63
+ const tool = require_tools.TOOL_HANDLERS.find_organizations;
64
+ const result = await tool({
65
+ accessToken: "access-token",
66
+ userId: "1",
67
+ organizationSlug: null
68
+ }, { regionUrl: void 0 });
69
+ require_vi_bdSIJ99Y.globalExpect(result).toContain("Organizations");
70
+ });
37
71
  });
38
72
  require_dist.describe("find_teams", () => {
39
73
  require_dist.it("serializes", async () => {
@@ -46,7 +80,7 @@ require_dist.describe("find_teams", () => {
46
80
  organizationSlug: "sentry-mcp-evals",
47
81
  regionUrl: void 0
48
82
  });
49
- require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
83
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
50
84
  "# Teams in **sentry-mcp-evals**
51
85
 
52
86
  - the-goats
@@ -65,7 +99,7 @@ require_dist.describe("find_projects", () => {
65
99
  organizationSlug: "sentry-mcp-evals",
66
100
  regionUrl: void 0
67
101
  });
68
- require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
102
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
69
103
  "# Projects in **sentry-mcp-evals**
70
104
 
71
105
  - **cloudflare-mcp**
@@ -87,7 +121,7 @@ require_dist.describe("find_issues", () => {
87
121
  sortBy: "last_seen",
88
122
  regionUrl: void 0
89
123
  });
90
- require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
124
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
91
125
  "# Issues in **sentry-mcp-evals/cloudflare-mcp**
92
126
 
93
127
  ## CLOUDFLARE-MCP-41
@@ -126,7 +160,7 @@ require_dist.describe("find_issues", () => {
126
160
  sortBy: "last_seen",
127
161
  regionUrl: void 0
128
162
  });
129
- require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
163
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
130
164
  "# Issues in **sentry-mcp-evals**
131
165
 
132
166
  ## CLOUDFLARE-MCP-41
@@ -166,7 +200,7 @@ require_dist.describe("find_releases", () => {
166
200
  regionUrl: void 0,
167
201
  query: void 0
168
202
  });
169
- require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
203
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
170
204
  "# Releases in **sentry-mcp-evals**
171
205
 
172
206
  ## 8ce89484-0fec-4913-a2cd-e8e2d41dee36
@@ -196,7 +230,7 @@ require_dist.describe("find_releases", () => {
196
230
  regionUrl: void 0,
197
231
  query: void 0
198
232
  });
199
- require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
233
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
200
234
  "# Releases in **sentry-mcp-evals/cloudflare-mcp**
201
235
 
202
236
  ## 8ce89484-0fec-4913-a2cd-e8e2d41dee36
@@ -227,7 +261,7 @@ require_dist.describe("find_tags", () => {
227
261
  projectSlug: void 0,
228
262
  regionUrl: void 0
229
263
  });
230
- require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
264
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
231
265
  "# Tags in **sentry-mcp-evals**
232
266
 
233
267
  - transaction
@@ -273,7 +307,7 @@ require_dist.describe("find_errors", () => {
273
307
  sortBy: "count",
274
308
  regionUrl: void 0
275
309
  });
276
- require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
310
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
277
311
  "# Errors in **sentry-mcp-evals**
278
312
 
279
313
 
@@ -309,11 +343,11 @@ require_dist.describe("find_transactions", () => {
309
343
  sortBy: "duration",
310
344
  regionUrl: void 0
311
345
  });
312
- require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
346
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
313
347
  "# Transactions in **sentry-mcp-evals**
314
348
 
315
349
 
316
- ## GET /trpc/bottleList
350
+ ## \`GET /trpc/bottleList\`
317
351
 
318
352
  **Span ID**: 07752c6aeb027c8f
319
353
  **Trace ID**: 6a477f5b0f31ef7b6b9b5e1dea66c91d
@@ -324,7 +358,7 @@ require_dist.describe("find_transactions", () => {
324
358
  **Project**: peated
325
359
  **URL**: https://sentry-mcp-evals.sentry.io/explore/traces/trace/6a477f5b0f31ef7b6b9b5e1dea66c91d
326
360
 
327
- ## GET /trpc/bottleList
361
+ ## \`GET /trpc/bottleList\`
328
362
 
329
363
  **Span ID**: 7ab5edf5b3ba42c9
330
364
  **Trace ID**: 54177131c7b192a446124daba3136045
@@ -353,7 +387,7 @@ require_dist.describe("get_issue_details", () => {
353
387
  issueUrl: void 0,
354
388
  regionUrl: void 0
355
389
  });
356
- require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
390
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
357
391
  "# Issue CLOUDFLARE-MCP-41 in **sentry-mcp-evals**
358
392
 
359
393
  **Description**: Error: Tool list_organizations is already registered
@@ -430,7 +464,7 @@ require_dist.describe("get_issue_details", () => {
430
464
  issueUrl: "https://sentry-mcp-evals.sentry.io/issues/6507376925",
431
465
  regionUrl: void 0
432
466
  });
433
- require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
467
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
434
468
  "# Issue CLOUDFLARE-MCP-41 in **sentry-mcp-evals**
435
469
 
436
470
  **Description**: Error: Tool list_organizations is already registered
@@ -507,7 +541,7 @@ require_dist.describe("get_issue_details", () => {
507
541
  eventId: "7ca573c0f4814912aaa9bdc77d1a7d51",
508
542
  regionUrl: void 0
509
543
  });
510
- require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
544
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
511
545
  "# Issue CLOUDFLARE-MCP-41 in **sentry-mcp-evals**
512
546
 
513
547
  **Description**: Error: Tool list_organizations is already registered
@@ -584,7 +618,7 @@ require_dist.describe("create_team", () => {
584
618
  name: "the-goats",
585
619
  regionUrl: void 0
586
620
  });
587
- require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
621
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
588
622
  "# New Team in **sentry-mcp-evals**
589
623
 
590
624
  **ID**: 4509109078196224
@@ -608,10 +642,10 @@ require_dist.describe("create_project", () => {
608
642
  organizationSlug: "sentry-mcp-evals",
609
643
  teamSlug: "the-goats",
610
644
  name: "cloudflare-mcp",
611
- platform: "javascript",
645
+ platform: "node",
612
646
  regionUrl: void 0
613
647
  });
614
- require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
648
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
615
649
  "# New Project in **sentry-mcp-evals**
616
650
 
617
651
  **ID**: 4509109104082945
@@ -627,6 +661,72 @@ require_dist.describe("create_project", () => {
627
661
  `);
628
662
  });
629
663
  });
664
+ require_dist.describe("update_project", () => {
665
+ require_dist.it("updates project settings", async () => {
666
+ const tool = require_tools.TOOL_HANDLERS.update_project;
667
+ const result = await tool({
668
+ accessToken: "access-token",
669
+ userId: "1",
670
+ organizationSlug: null
671
+ }, {
672
+ organizationSlug: "sentry-mcp-evals",
673
+ projectSlug: "cloudflare-mcp",
674
+ name: "Updated Project Name",
675
+ slug: "updated-project-slug",
676
+ platform: "python",
677
+ teamSlug: void 0,
678
+ regionUrl: void 0
679
+ });
680
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
681
+ "# Updated Project in **sentry-mcp-evals**
682
+
683
+ **ID**: 4509109104082945
684
+ **Slug**: updated-project-slug
685
+ **Name**: Updated Project Name
686
+ **Platform**: python
687
+
688
+ ## Updates Applied
689
+ - Updated name to "Updated Project Name"
690
+ - Updated slug to "updated-project-slug"
691
+ - Updated platform to "python"
692
+
693
+ # Using this information
694
+
695
+ - The project is now accessible at slug: \`updated-project-slug\`
696
+ "
697
+ `);
698
+ });
699
+ require_dist.it("assigns project to team", async () => {
700
+ const tool = require_tools.TOOL_HANDLERS.update_project;
701
+ const result = await tool({
702
+ accessToken: "access-token",
703
+ userId: "1",
704
+ organizationSlug: null
705
+ }, {
706
+ organizationSlug: "sentry-mcp-evals",
707
+ projectSlug: "cloudflare-mcp",
708
+ teamSlug: "the-goats",
709
+ regionUrl: void 0
710
+ });
711
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
712
+ "# Updated Project in **sentry-mcp-evals**
713
+
714
+ **ID**: 4509106749636608
715
+ **Slug**: cloudflare-mcp
716
+ **Name**: cloudflare-mcp
717
+ **Platform**: node
718
+
719
+ ## Updates Applied
720
+ - Updated team assignment to "the-goats"
721
+
722
+ # Using this information
723
+
724
+ - The project is now accessible at slug: \`cloudflare-mcp\`
725
+ - The project is now assigned to the \`the-goats\` team
726
+ "
727
+ `);
728
+ });
729
+ });
630
730
  require_dist.describe("create_dsn", () => {
631
731
  require_dist.it("serializes", async () => {
632
732
  const tool = require_tools.TOOL_HANDLERS.create_dsn;
@@ -640,7 +740,7 @@ require_dist.describe("create_dsn", () => {
640
740
  name: "Default",
641
741
  regionUrl: void 0
642
742
  });
643
- require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
743
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
644
744
  "# New DSN in **sentry-mcp-evals/cloudflare-mcp**
645
745
 
646
746
  **DSN**: https://d20df0a1ab5031c7f3c7edca9c02814d@o4509106732793856.ingest.us.sentry.io/4509109104082945
@@ -665,7 +765,7 @@ require_dist.describe("find_dsns", () => {
665
765
  projectSlug: "cloudflare-mcp",
666
766
  regionUrl: void 0
667
767
  });
668
- require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
768
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
669
769
  "# DSNs in **sentry-mcp-evals/cloudflare-mcp**
670
770
 
671
771
  ## Default
@@ -692,7 +792,7 @@ require_dist.describe("begin_seer_issue_fix", () => {
692
792
  issueUrl: void 0,
693
793
  regionUrl: void 0
694
794
  });
695
- require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
795
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
696
796
  "# Issue Fix Started for Issue PEATED-A8
697
797
 
698
798
  **Run ID:**: 123
@@ -720,7 +820,7 @@ require_dist.describe("get_seer_issue_fix_status", () => {
720
820
  issueUrl: void 0,
721
821
  regionUrl: void 0
722
822
  });
723
- require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
823
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
724
824
  "# Issue Fix Status for Issue PEATED-A8
725
825
 
726
826
  ## Analyzing the Issue
@@ -998,6 +1098,201 @@ require_dist.describe("get_seer_issue_fix_status", () => {
998
1098
  `);
999
1099
  });
1000
1100
  });
1101
+ require_dist.describe("update_issue", () => {
1102
+ require_dist.it("updates issue status", async () => {
1103
+ const tool = require_tools.TOOL_HANDLERS.update_issue;
1104
+ const result = await tool({
1105
+ accessToken: "access-token",
1106
+ userId: "1",
1107
+ organizationSlug: null
1108
+ }, {
1109
+ organizationSlug: "sentry-mcp-evals",
1110
+ issueId: "CLOUDFLARE-MCP-41",
1111
+ status: "resolved",
1112
+ assignedTo: void 0,
1113
+ issueUrl: void 0,
1114
+ regionUrl: void 0
1115
+ });
1116
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
1117
+ "# Issue CLOUDFLARE-MCP-41 Updated in **sentry-mcp-evals**
1118
+
1119
+ **Issue**: Error: Tool list_organizations is already registered
1120
+ **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-41
1121
+
1122
+ ## Changes Made
1123
+
1124
+ **Status**: unresolved → **resolved**
1125
+
1126
+ ## Current Status
1127
+
1128
+ **Status**: resolved
1129
+ **Assigned To**: Unassigned
1130
+
1131
+ # Using this information
1132
+
1133
+ - The issue has been successfully updated in Sentry
1134
+ - You can view the issue details using: \`get_issue_details(organizationSlug="sentry-mcp-evals", issueId="CLOUDFLARE-MCP-41")\`
1135
+ - The issue is now marked as resolved and will no longer generate alerts
1136
+ "
1137
+ `);
1138
+ });
1139
+ require_dist.it("updates issue assignment", async () => {
1140
+ const tool = require_tools.TOOL_HANDLERS.update_issue;
1141
+ const result = await tool({
1142
+ accessToken: "access-token",
1143
+ userId: "1",
1144
+ organizationSlug: null
1145
+ }, {
1146
+ organizationSlug: "sentry-mcp-evals",
1147
+ issueId: "CLOUDFLARE-MCP-41",
1148
+ status: void 0,
1149
+ assignedTo: "john.doe",
1150
+ issueUrl: void 0,
1151
+ regionUrl: void 0
1152
+ });
1153
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
1154
+ "# Issue CLOUDFLARE-MCP-41 Updated in **sentry-mcp-evals**
1155
+
1156
+ **Issue**: Error: Tool list_organizations is already registered
1157
+ **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-41
1158
+
1159
+ ## Changes Made
1160
+
1161
+ **Assigned To**: Unassigned → **john.doe**
1162
+
1163
+ ## Current Status
1164
+
1165
+ **Status**: unresolved
1166
+ **Assigned To**: john.doe
1167
+
1168
+ # Using this information
1169
+
1170
+ - The issue has been successfully updated in Sentry
1171
+ - You can view the issue details using: \`get_issue_details(organizationSlug="sentry-mcp-evals", issueId="CLOUDFLARE-MCP-41")\`
1172
+ "
1173
+ `);
1174
+ });
1175
+ require_dist.it("updates both status and assignment", async () => {
1176
+ const tool = require_tools.TOOL_HANDLERS.update_issue;
1177
+ const result = await tool({
1178
+ accessToken: "access-token",
1179
+ userId: "1",
1180
+ organizationSlug: null
1181
+ }, {
1182
+ organizationSlug: "sentry-mcp-evals",
1183
+ issueId: "CLOUDFLARE-MCP-41",
1184
+ status: "ignored",
1185
+ assignedTo: "me",
1186
+ issueUrl: void 0,
1187
+ regionUrl: void 0
1188
+ });
1189
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
1190
+ "# Issue CLOUDFLARE-MCP-41 Updated in **sentry-mcp-evals**
1191
+
1192
+ **Issue**: Error: Tool list_organizations is already registered
1193
+ **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-41
1194
+
1195
+ ## Changes Made
1196
+
1197
+ **Status**: unresolved → **ignored**
1198
+ **Assigned To**: Unassigned → **You**
1199
+
1200
+ ## Current Status
1201
+
1202
+ **Status**: ignored
1203
+ **Assigned To**: me
1204
+
1205
+ # Using this information
1206
+
1207
+ - The issue has been successfully updated in Sentry
1208
+ - You can view the issue details using: \`get_issue_details(organizationSlug="sentry-mcp-evals", issueId="CLOUDFLARE-MCP-41")\`
1209
+ - The issue is now ignored and will not generate alerts until it escalates
1210
+ "
1211
+ `);
1212
+ });
1213
+ require_dist.it("works with issueUrl", async () => {
1214
+ const tool = require_tools.TOOL_HANDLERS.update_issue;
1215
+ const result = await tool({
1216
+ accessToken: "access-token",
1217
+ userId: "1",
1218
+ organizationSlug: null
1219
+ }, {
1220
+ organizationSlug: void 0,
1221
+ issueId: void 0,
1222
+ status: "resolved",
1223
+ assignedTo: void 0,
1224
+ issueUrl: "https://sentry-mcp-evals.sentry.io/issues/6507376925",
1225
+ regionUrl: void 0
1226
+ });
1227
+ require_vi_bdSIJ99Y.globalExpect(result).toMatchInlineSnapshot(`
1228
+ "# Issue CLOUDFLARE-MCP-41 Updated in **sentry-mcp-evals**
1229
+
1230
+ **Issue**: Error: Tool list_organizations is already registered
1231
+ **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-41
1232
+
1233
+ ## Changes Made
1234
+
1235
+ **Status**: unresolved → **resolved**
1236
+
1237
+ ## Current Status
1238
+
1239
+ **Status**: resolved
1240
+ **Assigned To**: Unassigned
1241
+
1242
+ # Using this information
1243
+
1244
+ - The issue has been successfully updated in Sentry
1245
+ - You can view the issue details using: \`get_issue_details(organizationSlug="sentry-mcp-evals", issueId="CLOUDFLARE-MCP-41")\`
1246
+ - The issue is now marked as resolved and will no longer generate alerts
1247
+ "
1248
+ `);
1249
+ });
1250
+ require_dist.it("validates required parameters", async () => {
1251
+ const tool = require_tools.TOOL_HANDLERS.update_issue;
1252
+ await require_vi_bdSIJ99Y.globalExpect(tool({
1253
+ accessToken: "access-token",
1254
+ userId: "1",
1255
+ organizationSlug: null
1256
+ }, {
1257
+ organizationSlug: void 0,
1258
+ issueId: void 0,
1259
+ status: void 0,
1260
+ assignedTo: void 0,
1261
+ issueUrl: void 0,
1262
+ regionUrl: void 0
1263
+ })).rejects.toThrow("Either `issueId` or `issueUrl` must be provided");
1264
+ });
1265
+ require_dist.it("validates organization slug when using issueId", async () => {
1266
+ const tool = require_tools.TOOL_HANDLERS.update_issue;
1267
+ await require_vi_bdSIJ99Y.globalExpect(tool({
1268
+ accessToken: "access-token",
1269
+ userId: "1",
1270
+ organizationSlug: null
1271
+ }, {
1272
+ organizationSlug: void 0,
1273
+ issueId: "CLOUDFLARE-MCP-41",
1274
+ status: "resolved",
1275
+ assignedTo: void 0,
1276
+ issueUrl: void 0,
1277
+ regionUrl: void 0
1278
+ })).rejects.toThrow("`organizationSlug` is required when providing `issueId`");
1279
+ });
1280
+ require_dist.it("validates update parameters", async () => {
1281
+ const tool = require_tools.TOOL_HANDLERS.update_issue;
1282
+ await require_vi_bdSIJ99Y.globalExpect(tool({
1283
+ accessToken: "access-token",
1284
+ userId: "1",
1285
+ organizationSlug: null
1286
+ }, {
1287
+ organizationSlug: "sentry-mcp-evals",
1288
+ issueId: "CLOUDFLARE-MCP-41",
1289
+ status: void 0,
1290
+ assignedTo: void 0,
1291
+ issueUrl: void 0,
1292
+ regionUrl: void 0
1293
+ })).rejects.toThrow("At least one of `status` or `assignedTo` must be provided to update the issue");
1294
+ });
1295
+ });
1001
1296
 
1002
1297
  //#endregion
1003
1298
  //# sourceMappingURL=tools.test.cjs.map