@sentry/mcp-server 0.12.0 → 0.13.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 (560) hide show
  1. package/README.md +4 -2
  2. package/dist/analyze-issue-with-seer-Bq3kefOr.cjs +169 -0
  3. package/dist/analyze-issue-with-seer-Bq3kefOr.cjs.map +1 -0
  4. package/dist/analyze-issue-with-seer-Dk0ZFwN8.js +163 -0
  5. package/dist/analyze-issue-with-seer-Dk0ZFwN8.js.map +1 -0
  6. package/dist/api-client/client.cjs +2 -2
  7. package/dist/api-client/client.d.cts +3 -3
  8. package/dist/api-client/client.d.ts +3 -3
  9. package/dist/api-client/client.js +2 -2
  10. package/dist/api-client/index.cjs +9 -2
  11. package/dist/api-client/index.d.cts +4 -4
  12. package/dist/api-client/index.d.ts +5 -5
  13. package/dist/api-client/index.js +5 -5
  14. package/dist/api-client/schema.cjs +8 -1
  15. package/dist/api-client/schema.d.cts +2 -2
  16. package/dist/api-client/schema.d.ts +2 -2
  17. package/dist/api-client/schema.js +2 -2
  18. package/dist/api-client/types.d.cts +3 -3
  19. package/dist/api-client/types.d.ts +3 -3
  20. package/dist/api-client/types.js +1 -1
  21. package/dist/api-utils-BJS0CChW.cjs +36 -0
  22. package/dist/api-utils-BJS0CChW.cjs.map +1 -0
  23. package/dist/api-utils-BcB1cMXS.js +31 -0
  24. package/dist/api-utils-BcB1cMXS.js.map +1 -0
  25. package/dist/{client-B7vZ6JMk.cjs → client-BNTsOycD.cjs} +55 -7
  26. package/dist/client-BNTsOycD.cjs.map +1 -0
  27. package/dist/{client-CAoHZbyK.js → client-BbamPqV4.js} +55 -7
  28. package/dist/client-BbamPqV4.js.map +1 -0
  29. package/dist/{client-DkY0ifZf.d.cts → client-Dae1ZwWb.d.cts} +38 -4
  30. package/dist/client-Dae1ZwWb.d.cts.map +1 -0
  31. package/dist/{client-4jq_wVgn.d.ts → client-qyEu8fvj.d.ts} +40 -6
  32. package/dist/client-qyEu8fvj.d.ts.map +1 -0
  33. package/dist/constants-ClkMK29-.cjs +182 -0
  34. package/dist/constants-ClkMK29-.cjs.map +1 -0
  35. package/dist/constants-S7AU45oQ.js +164 -0
  36. package/dist/constants-S7AU45oQ.js.map +1 -0
  37. package/dist/constants.cjs +5 -0
  38. package/dist/constants.d.cts +23 -0
  39. package/dist/constants.d.cts.map +1 -0
  40. package/dist/constants.d.ts +23 -0
  41. package/dist/constants.d.ts.map +1 -0
  42. package/dist/constants.js +3 -0
  43. package/dist/create-dsn-B3L8iWno.js +59 -0
  44. package/dist/create-dsn-B3L8iWno.js.map +1 -0
  45. package/dist/create-dsn-CVPtt_Es.cjs +65 -0
  46. package/dist/create-dsn-CVPtt_Es.cjs.map +1 -0
  47. package/dist/create-project-B_6a6okf.cjs +82 -0
  48. package/dist/create-project-B_6a6okf.cjs.map +1 -0
  49. package/dist/create-project-DdIXMvWI.js +76 -0
  50. package/dist/create-project-DdIXMvWI.js.map +1 -0
  51. package/dist/create-team-BarRdaZK.js +47 -0
  52. package/dist/create-team-BarRdaZK.js.map +1 -0
  53. package/dist/create-team-C1DP5Z1r.cjs +53 -0
  54. package/dist/create-team-C1DP5Z1r.cjs.map +1 -0
  55. package/dist/defineTool-77H4nSna.js +8 -0
  56. package/dist/defineTool-77H4nSna.js.map +1 -0
  57. package/dist/defineTool-lWNTzWl_.cjs +14 -0
  58. package/dist/defineTool-lWNTzWl_.cjs.map +1 -0
  59. package/dist/{errors-BJSrT6Ou.js → errors-CIoxzIug.js} +1 -1
  60. package/dist/{errors-BJSrT6Ou.js.map → errors-CIoxzIug.js.map} +1 -1
  61. package/dist/{errors-B9fwS-aP.cjs → errors-YmiXLOyx.cjs} +1 -1
  62. package/dist/{errors-B9fwS-aP.cjs.map → errors-YmiXLOyx.cjs.map} +1 -1
  63. package/dist/errors.cjs +1 -1
  64. package/dist/errors.js +1 -1
  65. package/dist/fetch-utils-B-a92ObC.d.ts +14 -0
  66. package/dist/fetch-utils-B-a92ObC.d.ts.map +1 -0
  67. package/dist/fetch-utils-BMKjO-cc.js +29 -0
  68. package/dist/fetch-utils-BMKjO-cc.js.map +1 -0
  69. package/dist/fetch-utils-DlPjrSk2.js +0 -0
  70. package/dist/fetch-utils-DzdRW4Yd.d.cts +14 -0
  71. package/dist/fetch-utils-DzdRW4Yd.d.cts.map +1 -0
  72. package/dist/fetch-utils-oab6uNp3.cjs +35 -0
  73. package/dist/fetch-utils-oab6uNp3.cjs.map +1 -0
  74. package/dist/find-dsns-BDJWY6nZ.cjs +58 -0
  75. package/dist/find-dsns-BDJWY6nZ.cjs.map +1 -0
  76. package/dist/find-dsns-BPbblgrn.js +52 -0
  77. package/dist/find-dsns-BPbblgrn.js.map +1 -0
  78. package/dist/find-errors-B9wLxXA0.js +91 -0
  79. package/dist/find-errors-B9wLxXA0.js.map +1 -0
  80. package/dist/find-errors-DnFs3PaH.cjs +97 -0
  81. package/dist/find-errors-DnFs3PaH.cjs.map +1 -0
  82. package/dist/find-issues-BI1tI3cJ.js +92 -0
  83. package/dist/find-issues-BI1tI3cJ.js.map +1 -0
  84. package/dist/find-issues-CwPbwRXK.cjs +98 -0
  85. package/dist/find-issues-CwPbwRXK.cjs.map +1 -0
  86. package/dist/find-organizations-CdiouW48.js +45 -0
  87. package/dist/find-organizations-CdiouW48.js.map +1 -0
  88. package/dist/find-organizations-DqS6zoTK.cjs +50 -0
  89. package/dist/find-organizations-DqS6zoTK.cjs.map +1 -0
  90. package/dist/find-projects-Ba6cdX7n.cjs +45 -0
  91. package/dist/find-projects-Ba6cdX7n.cjs.map +1 -0
  92. package/dist/find-projects-Ccfxv47h.js +39 -0
  93. package/dist/find-projects-Ccfxv47h.js.map +1 -0
  94. package/dist/find-releases-CFl86XMT.cjs +99 -0
  95. package/dist/find-releases-CFl86XMT.cjs.map +1 -0
  96. package/dist/find-releases-CFoGytN-.js +93 -0
  97. package/dist/find-releases-CFoGytN-.js.map +1 -0
  98. package/dist/find-tags-ORtYLH5b.js +39 -0
  99. package/dist/find-tags-ORtYLH5b.js.map +1 -0
  100. package/dist/find-tags-h2o0BKWO.cjs +45 -0
  101. package/dist/find-tags-h2o0BKWO.cjs.map +1 -0
  102. package/dist/find-teams-DUcDfSOl.cjs +45 -0
  103. package/dist/find-teams-DUcDfSOl.cjs.map +1 -0
  104. package/dist/find-teams-hreVp1nw.js +39 -0
  105. package/dist/find-teams-hreVp1nw.js.map +1 -0
  106. package/dist/find-transactions-BehUqQYs.js +83 -0
  107. package/dist/find-transactions-BehUqQYs.js.map +1 -0
  108. package/dist/find-transactions-BkPscam3.cjs +89 -0
  109. package/dist/find-transactions-BkPscam3.cjs.map +1 -0
  110. package/dist/formatting-B-u5CbYn.d.ts +47 -0
  111. package/dist/formatting-B-u5CbYn.d.ts.map +1 -0
  112. package/dist/formatting-BlMiQa9i.cjs +388 -0
  113. package/dist/formatting-BlMiQa9i.cjs.map +1 -0
  114. package/dist/formatting-Di1X9Jn3.d.cts +47 -0
  115. package/dist/formatting-Di1X9Jn3.d.cts.map +1 -0
  116. package/dist/formatting-pUm38KOj.js +370 -0
  117. package/dist/formatting-pUm38KOj.js.map +1 -0
  118. package/dist/formatting-utils-C3sej5ER.js +14 -0
  119. package/dist/formatting-utils-C3sej5ER.js.map +1 -0
  120. package/dist/formatting-utils-DDz14xeB.cjs +20 -0
  121. package/dist/formatting-utils-DDz14xeB.cjs.map +1 -0
  122. package/dist/get-doc-AuAW_qr9.cjs +86 -0
  123. package/dist/get-doc-AuAW_qr9.cjs.map +1 -0
  124. package/dist/get-doc-BtxZOy7y.js +80 -0
  125. package/dist/get-doc-BtxZOy7y.js.map +1 -0
  126. package/dist/get-event-attachment-Bq5lkaKV.cjs +144 -0
  127. package/dist/get-event-attachment-Bq5lkaKV.cjs.map +1 -0
  128. package/dist/get-event-attachment-DwAl54zv.js +138 -0
  129. package/dist/get-event-attachment-DwAl54zv.js.map +1 -0
  130. package/dist/get-issue-details-DrpD5LlK.js +104 -0
  131. package/dist/get-issue-details-DrpD5LlK.js.map +1 -0
  132. package/dist/get-issue-details-qGwu18JX.cjs +110 -0
  133. package/dist/get-issue-details-qGwu18JX.cjs.map +1 -0
  134. package/dist/index.cjs +60 -21
  135. package/dist/index.cjs.map +1 -1
  136. package/dist/index.js +62 -23
  137. package/dist/index.js.map +1 -1
  138. package/dist/internal/fetch-utils.cjs +3 -0
  139. package/dist/internal/fetch-utils.d.cts +2 -0
  140. package/dist/internal/fetch-utils.d.ts +2 -0
  141. package/dist/internal/fetch-utils.js +3 -0
  142. package/dist/internal/formatting.cjs +1 -1
  143. package/dist/internal/formatting.d.cts +5 -25
  144. package/dist/internal/formatting.d.ts +6 -26
  145. package/dist/internal/formatting.js +1 -1
  146. package/dist/internal/issue-helpers.cjs +1 -1
  147. package/dist/internal/issue-helpers.d.cts +2 -52
  148. package/dist/internal/issue-helpers.d.ts +2 -52
  149. package/dist/internal/issue-helpers.js +1 -1
  150. package/dist/internal/test-fixtures.cjs +214 -0
  151. package/dist/internal/test-fixtures.cjs.map +1 -0
  152. package/dist/internal/test-fixtures.d.cts +2138 -0
  153. package/dist/internal/test-fixtures.d.cts.map +1 -0
  154. package/dist/internal/test-fixtures.d.ts +2138 -0
  155. package/dist/internal/test-fixtures.d.ts.map +1 -0
  156. package/dist/internal/test-fixtures.js +205 -0
  157. package/dist/internal/test-fixtures.js.map +1 -0
  158. package/dist/issue-helpers-BOn4g7rx.d.ts +52 -0
  159. package/dist/issue-helpers-BOn4g7rx.d.ts.map +1 -0
  160. package/dist/{issue-helpers-BMVLc3mR.js → issue-helpers-CqqYnwYE.js} +1 -1
  161. package/dist/{issue-helpers-BMVLc3mR.js.map → issue-helpers-CqqYnwYE.js.map} +1 -1
  162. package/dist/issue-helpers-Cz01Ipvl.d.cts +52 -0
  163. package/dist/issue-helpers-Cz01Ipvl.d.cts.map +1 -0
  164. package/dist/{issue-helpers-D712fGT2.cjs → issue-helpers-DyAIO0w6.cjs} +1 -1
  165. package/dist/{issue-helpers-D712fGT2.cjs.map → issue-helpers-DyAIO0w6.cjs.map} +1 -1
  166. package/dist/issue-utils-BVAB6I-Z.js +0 -0
  167. package/dist/issue-utils-pdbo-5LW.cjs +0 -0
  168. package/dist/{logging-CXLD0FFB.js → logging-LnQMFw-_.js} +1 -1
  169. package/dist/{logging-CXLD0FFB.js.map → logging-LnQMFw-_.js.map} +1 -1
  170. package/dist/{logging-ByvSjT6V.cjs → logging-oIouXrcb.cjs} +1 -1
  171. package/dist/{logging-ByvSjT6V.cjs.map → logging-oIouXrcb.cjs.map} +1 -1
  172. package/dist/logging.cjs +1 -1
  173. package/dist/logging.js +1 -1
  174. package/dist/{promptDefinitions-D5FSQckL.d.ts → promptDefinitions-6xelipaz.d.ts} +3 -3
  175. package/dist/promptDefinitions-6xelipaz.d.ts.map +1 -0
  176. package/dist/{promptDefinitions-BTLIBcGt.cjs → promptDefinitions-C29BWGYg.cjs} +4 -4
  177. package/dist/promptDefinitions-C29BWGYg.cjs.map +1 -0
  178. package/dist/{promptDefinitions-D8yow1m0.js → promptDefinitions-CSKE8T0a.js} +4 -4
  179. package/dist/{promptDefinitions-D8yow1m0.js.map → promptDefinitions-CSKE8T0a.js.map} +1 -1
  180. package/dist/{promptDefinitions-CF2VWdQ6.d.cts → promptDefinitions-CVHtYaj8.d.cts} +3 -3
  181. package/dist/promptDefinitions-CVHtYaj8.d.cts.map +1 -0
  182. package/dist/promptDefinitions.cjs +3 -2
  183. package/dist/promptDefinitions.d.cts +1 -1
  184. package/dist/promptDefinitions.d.ts +1 -1
  185. package/dist/promptDefinitions.js +3 -2
  186. package/dist/{prompts-Dt3A8Qfl.js → prompts-C8Y9w5c4.js} +7 -7
  187. package/dist/{prompts-Dt3A8Qfl.js.map → prompts-C8Y9w5c4.js.map} +1 -1
  188. package/dist/{prompts-CDbQrutV.cjs → prompts-Df3i1XSB.cjs} +7 -7
  189. package/dist/{prompts-CDbQrutV.cjs.map → prompts-Df3i1XSB.cjs.map} +1 -1
  190. package/dist/prompts.cjs +2 -2
  191. package/dist/prompts.d.cts +4 -5
  192. package/dist/prompts.d.cts.map +1 -1
  193. package/dist/prompts.d.ts +4 -5
  194. package/dist/prompts.d.ts.map +1 -1
  195. package/dist/prompts.js +2 -2
  196. package/dist/resources-BHF8a1ZB.js +92 -0
  197. package/dist/resources-BHF8a1ZB.js.map +1 -0
  198. package/dist/resources-BM_YQGcb.cjs +104 -0
  199. package/dist/resources-BM_YQGcb.cjs.map +1 -0
  200. package/dist/resources.cjs +5 -2
  201. package/dist/resources.d.cts +26 -12
  202. package/dist/resources.d.cts.map +1 -1
  203. package/dist/resources.d.ts +26 -12
  204. package/dist/resources.d.ts.map +1 -1
  205. package/dist/resources.js +4 -2
  206. package/dist/{schema-BnxGHL_i.d.ts → schema-B5BpplNK.d.ts} +3632 -573
  207. package/dist/schema-B5BpplNK.d.ts.map +1 -0
  208. package/dist/{schema-BsvGMALe.cjs → schema-B_cMyyJJ.cjs} +94 -8
  209. package/dist/schema-B_cMyyJJ.cjs.map +1 -0
  210. package/dist/{schema-BTfISwFu.cjs → schema-BpJVmev8.cjs} +23 -1
  211. package/dist/{schema-Dv6aLZgz.js.map → schema-BpJVmev8.cjs.map} +1 -1
  212. package/dist/{schema-BJv7kREf.d.cts → schema-Dt-HKnd_.d.cts} +3567 -508
  213. package/dist/schema-Dt-HKnd_.d.cts.map +1 -0
  214. package/dist/{schema-Dv6aLZgz.js → schema-DtsnsxMl.js} +6 -2
  215. package/dist/schema-DtsnsxMl.js.map +1 -0
  216. package/dist/{schema-C_hp0BR7.js → schema-WDk5Yqww.js} +53 -9
  217. package/dist/schema-WDk5Yqww.js.map +1 -0
  218. package/dist/schema.cjs +5 -1
  219. package/dist/schema.d.cts +4 -1
  220. package/dist/schema.d.cts.map +1 -1
  221. package/dist/schema.d.ts +4 -1
  222. package/dist/schema.d.ts.map +1 -1
  223. package/dist/schema.js +3 -2
  224. package/dist/search-docs-CrMdRDJy.js +102 -0
  225. package/dist/search-docs-CrMdRDJy.js.map +1 -0
  226. package/dist/search-docs-VhefTOOH.cjs +108 -0
  227. package/dist/search-docs-VhefTOOH.cjs.map +1 -0
  228. package/dist/seer-utils-Ckr8nYlz.js +87 -0
  229. package/dist/seer-utils-Ckr8nYlz.js.map +1 -0
  230. package/dist/seer-utils-CzYEEZb2.cjs +129 -0
  231. package/dist/seer-utils-CzYEEZb2.cjs.map +1 -0
  232. package/dist/{server-DeutbO8v.cjs → server-CHG27fcn.cjs} +104 -57
  233. package/dist/server-CHG27fcn.cjs.map +1 -0
  234. package/dist/{server-C7cHq_pc.js → server-DeuBftc5.js} +104 -57
  235. package/dist/server-DeuBftc5.js.map +1 -0
  236. package/dist/server.cjs +40 -13
  237. package/dist/server.d.cts +2 -3
  238. package/dist/server.d.cts.map +1 -1
  239. package/dist/server.d.ts +2 -3
  240. package/dist/server.d.ts.map +1 -1
  241. package/dist/server.js +42 -15
  242. package/dist/{stdio-B73CCTly.cjs → stdio-BtVdTwx-.cjs} +17 -7
  243. package/dist/stdio-BtVdTwx-.cjs.map +1 -0
  244. package/dist/{stdio-ZQLC-i5Q.js → stdio-DIuLW5EE.js} +17 -7
  245. package/dist/stdio-DIuLW5EE.js.map +1 -0
  246. package/dist/test-setup.cjs +1420 -1230
  247. package/dist/test-setup.cjs.map +1 -1
  248. package/dist/test-setup.js +1262 -1045
  249. package/dist/test-setup.js.map +1 -1
  250. package/dist/toolDefinitions.d.ts +25 -2
  251. package/dist/toolDefinitions.js +1059 -4
  252. package/dist/tools/analyze-issue-with-seer.cjs +16 -0
  253. package/dist/tools/analyze-issue-with-seer.d.cts +16 -0
  254. package/dist/tools/analyze-issue-with-seer.d.cts.map +1 -0
  255. package/dist/tools/analyze-issue-with-seer.d.ts +16 -0
  256. package/dist/tools/analyze-issue-with-seer.d.ts.map +1 -0
  257. package/dist/tools/analyze-issue-with-seer.js +16 -0
  258. package/dist/tools/create-dsn.cjs +12 -0
  259. package/dist/tools/create-dsn.d.cts +15 -0
  260. package/dist/tools/create-dsn.d.cts.map +1 -0
  261. package/dist/tools/create-dsn.d.ts +15 -0
  262. package/dist/tools/create-dsn.d.ts.map +1 -0
  263. package/dist/tools/create-dsn.js +12 -0
  264. package/dist/tools/create-project.cjs +13 -0
  265. package/dist/tools/create-project.d.cts +16 -0
  266. package/dist/tools/create-project.d.cts.map +1 -0
  267. package/dist/tools/create-project.d.ts +16 -0
  268. package/dist/tools/create-project.d.ts.map +1 -0
  269. package/dist/tools/create-project.js +13 -0
  270. package/dist/tools/create-team.cjs +12 -0
  271. package/dist/tools/create-team.d.cts +14 -0
  272. package/dist/tools/create-team.d.cts.map +1 -0
  273. package/dist/tools/create-team.d.ts +14 -0
  274. package/dist/tools/create-team.d.ts.map +1 -0
  275. package/dist/tools/create-team.js +12 -0
  276. package/dist/tools/find-dsns.cjs +12 -0
  277. package/dist/tools/find-dsns.d.cts +14 -0
  278. package/dist/tools/find-dsns.d.cts.map +1 -0
  279. package/dist/tools/find-dsns.d.ts +14 -0
  280. package/dist/tools/find-dsns.d.ts.map +1 -0
  281. package/dist/tools/find-dsns.js +12 -0
  282. package/dist/tools/find-errors.cjs +12 -0
  283. package/dist/tools/find-errors.d.cts +18 -0
  284. package/dist/tools/find-errors.d.cts.map +1 -0
  285. package/dist/tools/find-errors.d.ts +18 -0
  286. package/dist/tools/find-errors.d.ts.map +1 -0
  287. package/dist/tools/find-errors.js +12 -0
  288. package/dist/tools/find-issues.cjs +12 -0
  289. package/dist/tools/find-issues.d.cts +16 -0
  290. package/dist/tools/find-issues.d.cts.map +1 -0
  291. package/dist/tools/find-issues.d.ts +16 -0
  292. package/dist/tools/find-issues.d.ts.map +1 -0
  293. package/dist/tools/find-issues.js +12 -0
  294. package/dist/tools/find-organizations.cjs +10 -0
  295. package/dist/tools/find-organizations.d.cts +9 -0
  296. package/dist/tools/find-organizations.d.cts.map +1 -0
  297. package/dist/tools/find-organizations.d.ts +9 -0
  298. package/dist/tools/find-organizations.d.ts.map +1 -0
  299. package/dist/tools/find-organizations.js +10 -0
  300. package/dist/tools/find-projects.cjs +12 -0
  301. package/dist/tools/find-projects.d.cts +13 -0
  302. package/dist/tools/find-projects.d.cts.map +1 -0
  303. package/dist/tools/find-projects.d.ts +13 -0
  304. package/dist/tools/find-projects.d.ts.map +1 -0
  305. package/dist/tools/find-projects.js +12 -0
  306. package/dist/tools/find-releases.cjs +12 -0
  307. package/dist/tools/find-releases.d.cts +15 -0
  308. package/dist/tools/find-releases.d.cts.map +1 -0
  309. package/dist/tools/find-releases.d.ts +15 -0
  310. package/dist/tools/find-releases.d.ts.map +1 -0
  311. package/dist/tools/find-releases.js +12 -0
  312. package/dist/tools/find-tags.cjs +12 -0
  313. package/dist/tools/find-tags.d.cts +13 -0
  314. package/dist/tools/find-tags.d.cts.map +1 -0
  315. package/dist/tools/find-tags.d.ts +13 -0
  316. package/dist/tools/find-tags.d.ts.map +1 -0
  317. package/dist/tools/find-tags.js +12 -0
  318. package/dist/tools/find-teams.cjs +12 -0
  319. package/dist/tools/find-teams.d.cts +13 -0
  320. package/dist/tools/find-teams.d.cts.map +1 -0
  321. package/dist/tools/find-teams.d.ts +13 -0
  322. package/dist/tools/find-teams.d.ts.map +1 -0
  323. package/dist/tools/find-teams.js +12 -0
  324. package/dist/tools/find-transactions.cjs +12 -0
  325. package/dist/tools/find-transactions.d.cts +17 -0
  326. package/dist/tools/find-transactions.d.cts.map +1 -0
  327. package/dist/tools/find-transactions.d.ts +17 -0
  328. package/dist/tools/find-transactions.d.ts.map +1 -0
  329. package/dist/tools/find-transactions.js +12 -0
  330. package/dist/tools/get-doc.cjs +11 -0
  331. package/dist/tools/get-doc.d.cts +12 -0
  332. package/dist/tools/get-doc.d.cts.map +1 -0
  333. package/dist/tools/get-doc.d.ts +12 -0
  334. package/dist/tools/get-doc.d.ts.map +1 -0
  335. package/dist/tools/get-doc.js +11 -0
  336. package/dist/tools/get-event-attachment.cjs +12 -0
  337. package/dist/tools/get-event-attachment.d.cts +16 -0
  338. package/dist/tools/get-event-attachment.d.cts.map +1 -0
  339. package/dist/tools/get-event-attachment.d.ts +16 -0
  340. package/dist/tools/get-event-attachment.d.ts.map +1 -0
  341. package/dist/tools/get-event-attachment.js +12 -0
  342. package/dist/tools/get-issue-details.cjs +15 -0
  343. package/dist/tools/get-issue-details.d.cts +16 -0
  344. package/dist/tools/get-issue-details.d.cts.map +1 -0
  345. package/dist/tools/get-issue-details.d.ts +16 -0
  346. package/dist/tools/get-issue-details.d.ts.map +1 -0
  347. package/dist/tools/get-issue-details.js +15 -0
  348. package/dist/tools/index.cjs +40 -0
  349. package/dist/tools/index.d.cts +127 -0
  350. package/dist/tools/index.d.cts.map +1 -0
  351. package/dist/tools/index.d.ts +127 -0
  352. package/dist/tools/index.d.ts.map +1 -0
  353. package/dist/tools/index.js +40 -0
  354. package/dist/tools/search-docs.cjs +12 -0
  355. package/dist/tools/search-docs.d.cts +14 -0
  356. package/dist/tools/search-docs.d.cts.map +1 -0
  357. package/dist/tools/search-docs.d.ts +14 -0
  358. package/dist/tools/search-docs.d.ts.map +1 -0
  359. package/dist/tools/search-docs.js +12 -0
  360. package/dist/tools/types.cjs +0 -0
  361. package/dist/tools/types.d.cts +4 -0
  362. package/dist/tools/types.d.ts +4 -0
  363. package/dist/tools/types.js +0 -0
  364. package/dist/tools/update-issue.cjs +16 -0
  365. package/dist/tools/update-issue.d.cts +17 -0
  366. package/dist/tools/update-issue.d.cts.map +1 -0
  367. package/dist/tools/update-issue.d.ts +17 -0
  368. package/dist/tools/update-issue.d.ts.map +1 -0
  369. package/dist/tools/update-issue.js +16 -0
  370. package/dist/tools/update-project.cjs +13 -0
  371. package/dist/tools/update-project.d.cts +18 -0
  372. package/dist/tools/update-project.d.cts.map +1 -0
  373. package/dist/tools/update-project.d.ts +18 -0
  374. package/dist/tools/update-project.d.ts.map +1 -0
  375. package/dist/tools/update-project.js +13 -0
  376. package/dist/tools/utils/api-utils.cjs +8 -0
  377. package/dist/tools/utils/api-utils.d.cts +24 -0
  378. package/dist/tools/utils/api-utils.d.cts.map +1 -0
  379. package/dist/tools/utils/api-utils.d.ts +24 -0
  380. package/dist/tools/utils/api-utils.d.ts.map +1 -0
  381. package/dist/tools/utils/api-utils.js +8 -0
  382. package/dist/tools/utils/defineTool.cjs +3 -0
  383. package/dist/tools/utils/defineTool.d.cts +12 -0
  384. package/dist/tools/utils/defineTool.d.cts.map +1 -0
  385. package/dist/tools/utils/defineTool.d.ts +12 -0
  386. package/dist/tools/utils/defineTool.d.ts.map +1 -0
  387. package/dist/tools/utils/defineTool.js +3 -0
  388. package/dist/tools/utils/fetch-utils.cjs +4 -0
  389. package/dist/tools/utils/fetch-utils.d.cts +2 -0
  390. package/dist/tools/utils/fetch-utils.d.ts +2 -0
  391. package/dist/tools/utils/fetch-utils.js +4 -0
  392. package/dist/tools/utils/formatting-utils.cjs +3 -0
  393. package/dist/tools/utils/formatting-utils.d.cts +15 -0
  394. package/dist/tools/utils/formatting-utils.d.cts.map +1 -0
  395. package/dist/tools/utils/formatting-utils.d.ts +15 -0
  396. package/dist/tools/utils/formatting-utils.d.ts.map +1 -0
  397. package/dist/tools/utils/formatting-utils.js +3 -0
  398. package/dist/tools/utils/issue-utils.cjs +6 -0
  399. package/dist/tools/utils/issue-utils.d.cts +7 -0
  400. package/dist/tools/utils/issue-utils.d.ts +7 -0
  401. package/dist/tools/utils/issue-utils.js +5 -0
  402. package/dist/tools/utils/seer-utils.cjs +9 -0
  403. package/dist/tools/utils/seer-utils.d.cts +28 -0
  404. package/dist/tools/utils/seer-utils.d.cts.map +1 -0
  405. package/dist/tools/utils/seer-utils.d.ts +28 -0
  406. package/dist/tools/utils/seer-utils.d.ts.map +1 -0
  407. package/dist/tools/utils/seer-utils.js +3 -0
  408. package/dist/tools/whoami.cjs +10 -0
  409. package/dist/tools/whoami.d.cts +9 -0
  410. package/dist/tools/whoami.d.cts.map +1 -0
  411. package/dist/tools/whoami.d.ts +9 -0
  412. package/dist/tools/whoami.d.ts.map +1 -0
  413. package/dist/tools/whoami.js +10 -0
  414. package/dist/tools-BiZ7ZDKf.cjs +53 -0
  415. package/dist/tools-BiZ7ZDKf.cjs.map +1 -0
  416. package/dist/tools-DGF9GhbP.js +48 -0
  417. package/dist/tools-DGF9GhbP.js.map +1 -0
  418. package/dist/transports/stdio.cjs +42 -14
  419. package/dist/transports/stdio.d.cts +2 -3
  420. package/dist/transports/stdio.d.cts.map +1 -1
  421. package/dist/transports/stdio.d.ts +2 -3
  422. package/dist/transports/stdio.d.ts.map +1 -1
  423. package/dist/transports/stdio.js +44 -16
  424. package/dist/types-B2qOfefC.d.ts +29 -0
  425. package/dist/types-B2qOfefC.d.ts.map +1 -0
  426. package/dist/{types-Daq2fm0E.d.ts → types-Br0saqtE.d.ts} +5 -3
  427. package/dist/types-Br0saqtE.d.ts.map +1 -0
  428. package/dist/{types-NIQW7KyF.d.cts → types-C3pRFQyA.d.cts} +5 -3
  429. package/dist/types-C3pRFQyA.d.cts.map +1 -0
  430. package/dist/types-CCHsZshF.js +0 -0
  431. package/dist/types-CYjev2Ep.d.cts +29 -0
  432. package/dist/types-CYjev2Ep.d.cts.map +1 -0
  433. package/dist/types-CZaMk5Yg.d.cts +29 -0
  434. package/dist/types-CZaMk5Yg.d.cts.map +1 -0
  435. package/dist/types-D5KkaSjc.d.ts +29 -0
  436. package/dist/types-D5KkaSjc.d.ts.map +1 -0
  437. package/dist/types.d.cts +3 -4
  438. package/dist/types.d.ts +3 -4
  439. package/dist/update-issue-Bz-u_Yaa.cjs +115 -0
  440. package/dist/update-issue-Bz-u_Yaa.cjs.map +1 -0
  441. package/dist/update-issue-DN80uuKU.js +109 -0
  442. package/dist/update-issue-DN80uuKU.js.map +1 -0
  443. package/dist/update-project-5j-SOHWU.js +120 -0
  444. package/dist/update-project-5j-SOHWU.js.map +1 -0
  445. package/dist/update-project-C7Xbmhqg.cjs +126 -0
  446. package/dist/update-project-C7Xbmhqg.cjs.map +1 -0
  447. package/dist/version-DvMKCu-i.js +6 -0
  448. package/dist/version-DvMKCu-i.js.map +1 -0
  449. package/dist/{version-BNmubeQI.cjs → version-Dyz6_b54.cjs} +2 -2
  450. package/dist/version-Dyz6_b54.cjs.map +1 -0
  451. package/dist/version.cjs +1 -1
  452. package/dist/version.js +1 -1
  453. package/dist/whoami-qIbcECMA.cjs +28 -0
  454. package/dist/whoami-qIbcECMA.cjs.map +1 -0
  455. package/dist/whoami-raA70UBD.js +23 -0
  456. package/dist/whoami-raA70UBD.js.map +1 -0
  457. package/package.json +24 -14
  458. package/dist/api-client/client.test.cjs +0 -33
  459. package/dist/api-client/client.test.cjs.map +0 -1
  460. package/dist/api-client/client.test.d.ts +0 -1
  461. package/dist/api-client/client.test.js +0 -33
  462. package/dist/api-client/client.test.js.map +0 -1
  463. package/dist/chunk-BLXvPPr8.js +0 -30
  464. package/dist/client-4jq_wVgn.d.ts.map +0 -1
  465. package/dist/client-B7vZ6JMk.cjs.map +0 -1
  466. package/dist/client-CAoHZbyK.js.map +0 -1
  467. package/dist/client-DkY0ifZf.d.cts.map +0 -1
  468. package/dist/dist-BlIWGSIM.cjs +0 -8197
  469. package/dist/dist-BlIWGSIM.cjs.map +0 -1
  470. package/dist/dist-DDpQABxe.js +0 -8054
  471. package/dist/dist-DDpQABxe.js.map +0 -1
  472. package/dist/errors.test.cjs +0 -24
  473. package/dist/errors.test.cjs.map +0 -1
  474. package/dist/errors.test.d.cts +0 -1
  475. package/dist/errors.test.d.ts +0 -1
  476. package/dist/errors.test.js +0 -24
  477. package/dist/errors.test.js.map +0 -1
  478. package/dist/formatting-BaARL2gT.js +0 -68
  479. package/dist/formatting-BaARL2gT.js.map +0 -1
  480. package/dist/formatting-C2kN0ok6.cjs +0 -86
  481. package/dist/formatting-C2kN0ok6.cjs.map +0 -1
  482. package/dist/index-h64gcVNJ.d.ts +0 -1
  483. package/dist/internal/formatting.d.cts.map +0 -1
  484. package/dist/internal/formatting.d.ts.map +0 -1
  485. package/dist/internal/issue-helpers.d.cts.map +0 -1
  486. package/dist/internal/issue-helpers.d.ts.map +0 -1
  487. package/dist/internal/issue-helpers.test.cjs +0 -110
  488. package/dist/internal/issue-helpers.test.cjs.map +0 -1
  489. package/dist/internal/issue-helpers.test.d.cts +0 -1
  490. package/dist/internal/issue-helpers.test.d.ts +0 -1
  491. package/dist/internal/issue-helpers.test.js +0 -110
  492. package/dist/internal/issue-helpers.test.js.map +0 -1
  493. package/dist/magic-string.es-CybcVAw7.cjs +0 -1016
  494. package/dist/magic-string.es-CybcVAw7.cjs.map +0 -1
  495. package/dist/magic-string.es-DY8GVHw9.js +0 -1015
  496. package/dist/magic-string.es-DY8GVHw9.js.map +0 -1
  497. package/dist/promptDefinitions-BTLIBcGt.cjs.map +0 -1
  498. package/dist/promptDefinitions-CF2VWdQ6.d.cts.map +0 -1
  499. package/dist/promptDefinitions-D5FSQckL.d.ts.map +0 -1
  500. package/dist/resources-Bol20Xuo.js +0 -38
  501. package/dist/resources-Bol20Xuo.js.map +0 -1
  502. package/dist/resources-DNyoutxH.cjs +0 -44
  503. package/dist/resources-DNyoutxH.cjs.map +0 -1
  504. package/dist/schema-BJv7kREf.d.cts.map +0 -1
  505. package/dist/schema-BTfISwFu.cjs.map +0 -1
  506. package/dist/schema-BnxGHL_i.d.ts.map +0 -1
  507. package/dist/schema-BsvGMALe.cjs.map +0 -1
  508. package/dist/schema-C_hp0BR7.js.map +0 -1
  509. package/dist/server-C7cHq_pc.js.map +0 -1
  510. package/dist/server-DeutbO8v.cjs.map +0 -1
  511. package/dist/stdio-B73CCTly.cjs.map +0 -1
  512. package/dist/stdio-ZQLC-i5Q.js.map +0 -1
  513. package/dist/toolDefinitions-BOMF-zIC.d.ts +0 -394
  514. package/dist/toolDefinitions-BOMF-zIC.d.ts.map +0 -1
  515. package/dist/toolDefinitions-CUegGcWU.cjs +0 -547
  516. package/dist/toolDefinitions-CUegGcWU.cjs.map +0 -1
  517. package/dist/toolDefinitions-DFAxp3nr.js +0 -541
  518. package/dist/toolDefinitions-DFAxp3nr.js.map +0 -1
  519. package/dist/toolDefinitions-Ipvr4Acw.d.cts +0 -394
  520. package/dist/toolDefinitions-Ipvr4Acw.d.cts.map +0 -1
  521. package/dist/toolDefinitions.cjs +0 -4
  522. package/dist/toolDefinitions.d.cts +0 -2
  523. package/dist/toolDefinitions.test.cjs +0 -15
  524. package/dist/toolDefinitions.test.cjs.map +0 -1
  525. package/dist/toolDefinitions.test.d.cts +0 -1
  526. package/dist/toolDefinitions.test.d.ts +0 -1
  527. package/dist/toolDefinitions.test.js +0 -15
  528. package/dist/toolDefinitions.test.js.map +0 -1
  529. package/dist/tools-DpiQwSTY.js +0 -596
  530. package/dist/tools-DpiQwSTY.js.map +0 -1
  531. package/dist/tools-DyOqlsCW.cjs +0 -602
  532. package/dist/tools-DyOqlsCW.cjs.map +0 -1
  533. package/dist/tools.cjs +0 -11
  534. package/dist/tools.d.cts +0 -335
  535. package/dist/tools.d.cts.map +0 -1
  536. package/dist/tools.d.ts +0 -335
  537. package/dist/tools.d.ts.map +0 -1
  538. package/dist/tools.js +0 -11
  539. package/dist/tools.test.cjs +0 -1298
  540. package/dist/tools.test.cjs.map +0 -1
  541. package/dist/tools.test.d.cts +0 -1
  542. package/dist/tools.test.d.ts +0 -1
  543. package/dist/tools.test.js +0 -1298
  544. package/dist/tools.test.js.map +0 -1
  545. package/dist/types-D5TPcOfv.d.ts +0 -39
  546. package/dist/types-D5TPcOfv.d.ts.map +0 -1
  547. package/dist/types-DRF2IoP_.d.cts +0 -39
  548. package/dist/types-DRF2IoP_.d.cts.map +0 -1
  549. package/dist/types-Daq2fm0E.d.ts.map +0 -1
  550. package/dist/types-NIQW7KyF.d.cts.map +0 -1
  551. package/dist/version-BNmubeQI.cjs.map +0 -1
  552. package/dist/version-CRto5Sn_.js +0 -6
  553. package/dist/version-CRto5Sn_.js.map +0 -1
  554. package/dist/vi.bdSIJ99Y-BfJr7I2s.js +0 -6349
  555. package/dist/vi.bdSIJ99Y-BfJr7I2s.js.map +0 -1
  556. package/dist/vi.bdSIJ99Y-Dft_B_Ta.cjs +0 -6355
  557. package/dist/vi.bdSIJ99Y-Dft_B_Ta.cjs.map +0 -1
  558. /package/dist/{api-client-CNv_hbPO.js → api-client-ChL_0F2u.js} +0 -0
  559. /package/dist/{types-6zHoEWAx.js → fetch-utils-C0F4eH6S.cjs} +0 -0
  560. /package/dist/{api-client/client.test.d.cts → index-BrojxuhJ.d.ts} +0 -0
@@ -1,547 +0,0 @@
1
- const require_chunk = require('./chunk-DWy1uDak.cjs');
2
- const require_schema = require('./schema-BTfISwFu.cjs');
3
- const zod = require_chunk.__toESM(require("zod"));
4
-
5
- //#region src/toolDefinitions.ts
6
- /**
7
- * All MCP tool definitions for the Sentry server.
8
- *
9
- * Used by server.ts to register tools with the MCP server and by tools.ts
10
- * to validate parameters. Each definition includes name, description, and
11
- * Zod parameter schema.
12
- */
13
- const TOOL_DEFINITIONS = [
14
- {
15
- name: "whoami",
16
- description: [
17
- "Identify the authenticated user in Sentry.",
18
- "",
19
- "Use this tool when you need to:",
20
- "- Get the user's name and email address."
21
- ].join("\n"),
22
- paramsSchema: {}
23
- },
24
- {
25
- name: "find_organizations",
26
- description: [
27
- "Find organizations that the user has access to in Sentry.",
28
- "",
29
- "Use this tool when you need to:",
30
- "- View all organizations in Sentry",
31
- "- Find an organization's slug to aid other tool requests"
32
- ].join("\n"),
33
- paramsSchema: {}
34
- },
35
- {
36
- name: "find_teams",
37
- description: [
38
- "Find teams in an organization in Sentry.",
39
- "",
40
- "Use this tool when you need to:",
41
- "- View all teams in a Sentry organization",
42
- "- Find a team's slug to aid other tool requests"
43
- ].join("\n"),
44
- paramsSchema: {
45
- organizationSlug: require_schema.ParamOrganizationSlug,
46
- regionUrl: require_schema.ParamRegionUrl.optional()
47
- }
48
- },
49
- {
50
- name: "find_projects",
51
- description: [
52
- "Find projects in Sentry.",
53
- "",
54
- "Use this tool when you need to:",
55
- "- View all projects in a Sentry organization",
56
- "- Find a project's slug to aid other tool requests"
57
- ].join("\n"),
58
- paramsSchema: {
59
- organizationSlug: require_schema.ParamOrganizationSlug,
60
- regionUrl: require_schema.ParamRegionUrl.optional()
61
- }
62
- },
63
- {
64
- name: "find_issues",
65
- description: [
66
- "Find issues in Sentry.",
67
- "",
68
- "Use this tool when you need to:",
69
- "- View all issues in a Sentry organization",
70
- "",
71
- "If you're looking for more granular data beyond a summary of identified problems, you should use the `find_errors()` or `find_transactions()` tools instead.",
72
- "",
73
- "<examples>",
74
- "### Find the newest unresolved issues across 'my-organization'",
75
- "",
76
- "```",
77
- "find_issues(organizationSlug='my-organization', query='is:unresolved', sortBy='last_seen')",
78
- "```",
79
- "",
80
- "### Find the most frequently occurring crashes in the 'my-project' project",
81
- "",
82
- "```",
83
- "find_issues(organizationSlug='my-organization', projectSlug='my-project', query='is:unresolved error.handled:false', sortBy='count')",
84
- "```",
85
- "",
86
- "</examples>",
87
- "",
88
- "<hints>",
89
- "- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.",
90
- "- You can use the `find_tags()` tool to see what user-defined tags are available.",
91
- "</hints>"
92
- ].join("\n"),
93
- paramsSchema: {
94
- organizationSlug: require_schema.ParamOrganizationSlug,
95
- regionUrl: require_schema.ParamRegionUrl.optional(),
96
- projectSlug: require_schema.ParamProjectSlug.optional(),
97
- query: require_schema.ParamQuery.optional(),
98
- sortBy: zod.z.enum([
99
- "last_seen",
100
- "first_seen",
101
- "count",
102
- "userCount"
103
- ]).describe("Sort the results either by the last time they occurred, the first time they occurred, the count of occurrences, or the number of users affected.").optional()
104
- }
105
- },
106
- {
107
- name: "find_releases",
108
- description: [
109
- "Find releases in Sentry.",
110
- "",
111
- "Use this tool when you need to:",
112
- "- Find recent releases in a Sentry organization",
113
- "- Find the most recent version released of a specific project",
114
- "- Determine when a release was deployed to an environment",
115
- "",
116
- "<examples>",
117
- "### Find the most recent releases in the 'my-organization' organization",
118
- "",
119
- "```",
120
- "find_releases(organizationSlug='my-organization')",
121
- "```",
122
- "",
123
- "### Find releases matching '2ce6a27' in the 'my-organization' organization",
124
- "",
125
- "```",
126
- "find_releases(organizationSlug='my-organization', query='2ce6a27')",
127
- "```",
128
- "</examples>",
129
- "",
130
- "<hints>",
131
- "- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.",
132
- "</hints>"
133
- ].join("\n"),
134
- paramsSchema: {
135
- organizationSlug: require_schema.ParamOrganizationSlug,
136
- regionUrl: require_schema.ParamRegionUrl.optional(),
137
- projectSlug: require_schema.ParamProjectSlugOrAll.optional(),
138
- query: zod.z.string().trim().describe("Search for versions which contain the provided string.").optional()
139
- }
140
- },
141
- {
142
- name: "find_tags",
143
- description: [
144
- "Find tags in Sentry.",
145
- "",
146
- "Use this tool when you need to:",
147
- "- Find tags available to use in search queries (such as `find_issues()` or `find_errors()`)"
148
- ].join("\n"),
149
- paramsSchema: {
150
- organizationSlug: require_schema.ParamOrganizationSlug,
151
- regionUrl: require_schema.ParamRegionUrl.optional()
152
- }
153
- },
154
- {
155
- name: "get_issue_details",
156
- description: [
157
- "Retrieve issue details from Sentry for a specific Issue ID, including the stacktrace and error message if available. Either issueId or issueUrl MUST be provided.",
158
- "",
159
- "Use this tool when you need to:",
160
- "- Investigate a specific production error",
161
- "- Access detailed error information and stacktraces from Sentry",
162
- "",
163
- "<examples>",
164
- "### Get details for issue ID 'CLOUDFLARE-MCP-41'",
165
- "",
166
- "```",
167
- "get_issue_details(organizationSlug='my-organization', issueId='CLOUDFLARE-MCP-41')",
168
- "```",
169
- "",
170
- "### Get details for event ID 'c49541c747cb4d8aa3efb70ca5aba243'",
171
- "",
172
- "```",
173
- "get_issue_details(organizationSlug='my-organization', eventId='c49541c747cb4d8aa3efb70ca5aba243')",
174
- "```",
175
- "</examples>",
176
- "<hints>",
177
- "- If the user provides the `issueUrl`, you can ignore the other parameters.",
178
- "- If the user provides `issueId` or `eventId` (only one is needed), `organizationSlug` is required.",
179
- "</hints>"
180
- ].join("\n"),
181
- paramsSchema: {
182
- organizationSlug: require_schema.ParamOrganizationSlug.optional(),
183
- regionUrl: require_schema.ParamRegionUrl.optional(),
184
- issueId: require_schema.ParamIssueShortId.optional(),
185
- eventId: zod.z.string().trim().describe("The ID of the event.").optional(),
186
- issueUrl: require_schema.ParamIssueUrl.optional()
187
- }
188
- },
189
- {
190
- name: "update_issue",
191
- description: [
192
- "Update an issue's status or assignment in Sentry. This allows you to resolve, ignore, or reassign issues.",
193
- "",
194
- "Use this tool when you need to:",
195
- "- Resolve an issue that has been fixed",
196
- "- Assign an issue to a team member or team for investigation",
197
- "- Mark an issue as ignored to reduce noise",
198
- "- Reopen a resolved issue by setting status to 'unresolved'",
199
- "",
200
- "<examples>",
201
- "### Resolve an issue",
202
- "",
203
- "```",
204
- "update_issue(organizationSlug='my-organization', issueId='PROJECT-123', status='resolved')",
205
- "```",
206
- "",
207
- "### Assign an issue to a user",
208
- "",
209
- "```",
210
- "update_issue(organizationSlug='my-organization', issueId='PROJECT-123', assignedTo='john.doe')",
211
- "```",
212
- "",
213
- "### Resolve an issue and assign it to yourself",
214
- "",
215
- "```",
216
- "update_issue(organizationSlug='my-organization', issueId='PROJECT-123', status='resolved', assignedTo='me')",
217
- "```",
218
- "",
219
- "### Mark an issue as ignored",
220
- "",
221
- "```",
222
- "update_issue(organizationSlug='my-organization', issueId='PROJECT-123', status='ignored')",
223
- "```",
224
- "",
225
- "</examples>",
226
- "",
227
- "<hints>",
228
- "- If the user provides the `issueUrl`, you can ignore the other required parameters and extract them from the URL.",
229
- "- At least one of `status` or `assignedTo` must be provided to update the issue.",
230
- "- Use 'me' as the value for `assignedTo` to assign the issue to the authenticated user.",
231
- "- Valid status values are: 'resolved', 'resolvedInNextRelease', 'unresolved', 'ignored'.",
232
- "</hints>"
233
- ].join("\n"),
234
- paramsSchema: {
235
- organizationSlug: require_schema.ParamOrganizationSlug.optional(),
236
- regionUrl: require_schema.ParamRegionUrl.optional(),
237
- issueId: require_schema.ParamIssueShortId.optional(),
238
- issueUrl: require_schema.ParamIssueUrl.optional(),
239
- status: require_schema.ParamIssueStatus.optional(),
240
- assignedTo: require_schema.ParamAssignedTo.optional()
241
- }
242
- },
243
- {
244
- name: "find_errors",
245
- description: [
246
- "Find errors in Sentry using advanced search syntax.",
247
- "",
248
- "Use this tool when you need to:",
249
- "- Search for production errors in a specific file.",
250
- "- Analyze error patterns and frequencies.",
251
- "- Find recent or frequently occurring errors.",
252
- "",
253
- "<examples>",
254
- "### Find common errors within a file",
255
- "",
256
- "To find common errors within a file, you can use the `filename` parameter. This is a suffix based search, so only using the filename or the direct parent folder of the file. The parent folder is preferred when the filename is in a subfolder or a common filename. If you provide generic filenames like `index.js` you're going to end up finding errors that are might be from completely different projects.",
257
- "",
258
- "```",
259
- "find_errors(organizationSlug='my-organization', filename='index.js', sortBy='count')",
260
- "```",
261
- "",
262
- "### Find recent crashes from the 'peated' project",
263
- "",
264
- "```",
265
- "find_errors(organizationSlug='my-organization', query='is:unresolved error.handled:false', projectSlug='peated', sortBy='last_seen')",
266
- "```",
267
- "",
268
- "</examples>",
269
- "",
270
- "<hints>",
271
- "- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.",
272
- "- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you should call `find_organizations()` first.",
273
- "- If you are looking for issues, in a way that you might be looking for something like 'unresolved errors', you should use the `find_issues()` tool",
274
- "- You can use the `find_tags()` tool to see what user-defined tags are available.",
275
- "</hints>"
276
- ].join("\n"),
277
- paramsSchema: {
278
- organizationSlug: require_schema.ParamOrganizationSlug,
279
- regionUrl: require_schema.ParamRegionUrl.optional(),
280
- projectSlug: require_schema.ParamProjectSlugOrAll.optional(),
281
- filename: zod.z.string().trim().describe("The filename to search for errors in.").optional(),
282
- transaction: require_schema.ParamTransaction.optional(),
283
- query: require_schema.ParamQuery.optional(),
284
- sortBy: zod.z.enum(["last_seen", "count"]).optional().default("last_seen").describe("Sort the results either by the last time they occurred or the count of occurrences.")
285
- }
286
- },
287
- {
288
- name: "find_transactions",
289
- description: [
290
- "Find transactions in Sentry using advanced search syntax.",
291
- "",
292
- "Transactions are segments of traces that are associated with a specific route or endpoint.",
293
- "",
294
- "Use this tool when you need to:",
295
- "- Search for production transaction data to understand performance.",
296
- "- Analyze traces and latency patterns.",
297
- "- Find examples of recent requests to endpoints.",
298
- "",
299
- "<examples>",
300
- "### Find slow requests to a route",
301
- "",
302
- "...",
303
- "",
304
- "```",
305
- "find_transactions(organizationSlug='my-organization', transaction='/checkout', sortBy='duration')",
306
- "```",
307
- "",
308
- "</examples>",
309
- "",
310
- "<hints>",
311
- "- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.",
312
- "- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you might want to call `find_organizations()` first.",
313
- "- You can use the `find_tags()` tool to see what user-defined tags are available.",
314
- "</hints>"
315
- ].join("\n"),
316
- paramsSchema: {
317
- organizationSlug: require_schema.ParamOrganizationSlug,
318
- regionUrl: require_schema.ParamRegionUrl.optional(),
319
- projectSlug: require_schema.ParamProjectSlugOrAll.optional(),
320
- transaction: require_schema.ParamTransaction.optional(),
321
- query: require_schema.ParamQuery.optional(),
322
- sortBy: zod.z.enum(["timestamp", "duration"]).optional().default("timestamp").describe("Sort the results either by the timestamp of the request (most recent first) or the duration of the request (longest first).")
323
- }
324
- },
325
- {
326
- name: "create_team",
327
- description: [
328
- "Create a new team in Sentry.",
329
- "",
330
- "Be careful when using this tool!",
331
- "",
332
- "Use this tool when you need to:",
333
- "- Create a new team in a Sentry organization",
334
- "",
335
- "<hints>",
336
- "- If any parameter is ambiguous, you should clarify with the user what they meant.",
337
- "</hints>"
338
- ].join("\n"),
339
- paramsSchema: {
340
- organizationSlug: require_schema.ParamOrganizationSlug,
341
- regionUrl: require_schema.ParamRegionUrl.optional(),
342
- name: zod.z.string().trim().describe("The name of the team to create.")
343
- }
344
- },
345
- {
346
- name: "create_project",
347
- description: [
348
- "Create a new project in Sentry, giving you access to a new SENTRY_DSN.",
349
- "",
350
- "Be careful when using this tool!",
351
- "",
352
- "Use this tool when you need to:",
353
- "- Create a new project in a Sentry organization",
354
- "",
355
- "<examples>",
356
- "### Create a new javascript project in the 'my-organization' organization",
357
- "",
358
- "```",
359
- "create_project(organizationSlug='my-organization', teamSlug='my-team', name='my-project', platform='javascript')",
360
- "```",
361
- "",
362
- "</examples>",
363
- "",
364
- "<hints>",
365
- "- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<teamSlug>.",
366
- "- If any parameter is ambiguous, you should clarify with the user what they meant.",
367
- "</hints>"
368
- ].join("\n"),
369
- paramsSchema: {
370
- organizationSlug: require_schema.ParamOrganizationSlug,
371
- regionUrl: require_schema.ParamRegionUrl.optional(),
372
- teamSlug: require_schema.ParamTeamSlug,
373
- name: zod.z.string().trim().describe("The name of the project to create. Typically this is commonly the name of the repository or service. It is only used as a visual label in Sentry."),
374
- platform: require_schema.ParamPlatform.optional()
375
- }
376
- },
377
- {
378
- name: "create_dsn",
379
- description: [
380
- "Create a new Sentry DSN for a specific project.",
381
- "",
382
- "Be careful when using this tool!",
383
- "",
384
- "Use this tool when you need to:",
385
- "- Create a new DSN for a specific project",
386
- "",
387
- "<examples>",
388
- "### Create a new DSN for the 'my-project' project",
389
- "",
390
- "```",
391
- "create_dsn(organizationSlug='my-organization', projectSlug='my-project', name='Production')",
392
- "```",
393
- "",
394
- "</examples>",
395
- "",
396
- "<hints>",
397
- "- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.",
398
- "- If any parameter is ambiguous, you should clarify with the user what they meant.",
399
- "</hints>"
400
- ].join("\n"),
401
- paramsSchema: {
402
- organizationSlug: require_schema.ParamOrganizationSlug,
403
- regionUrl: require_schema.ParamRegionUrl.optional(),
404
- projectSlug: require_schema.ParamProjectSlug,
405
- name: zod.z.string().trim().describe("The name of the DSN to create, for example 'Production'.")
406
- }
407
- },
408
- {
409
- name: "update_project",
410
- description: [
411
- "Update project settings in Sentry, such as name, slug, platform, and team assignment.",
412
- "",
413
- "Be careful when using this tool!",
414
- "",
415
- "Use this tool when you need to:",
416
- "- Update a project's name or slug to fix onboarding mistakes",
417
- "- Change the platform assigned to a project",
418
- "- Update team assignment for a project",
419
- "",
420
- "<examples>",
421
- "### Update a project's name and slug",
422
- "",
423
- "```",
424
- "update_project(organizationSlug='my-organization', projectSlug='old-project', name='New Project Name', slug='new-project-slug')",
425
- "```",
426
- "",
427
- "### Assign a project to a different team",
428
- "",
429
- "```",
430
- "update_project(organizationSlug='my-organization', projectSlug='my-project', teamSlug='backend-team')",
431
- "```",
432
- "",
433
- "### Update platform",
434
- "",
435
- "```",
436
- "update_project(organizationSlug='my-organization', projectSlug='my-project', platform='python')",
437
- "```",
438
- "",
439
- "</examples>",
440
- "",
441
- "<hints>",
442
- "- If the user passes a parameter in the form of name/otherName, it's likely in the format of <organizationSlug>/<projectSlug>.",
443
- "- Team assignment is handled separately from other project settings",
444
- "- If any parameter is ambiguous, you should clarify with the user what they meant.",
445
- "- When updating the slug, the project will be accessible at the new slug after the update",
446
- "</hints>"
447
- ].join("\n"),
448
- paramsSchema: {
449
- organizationSlug: require_schema.ParamOrganizationSlug,
450
- regionUrl: require_schema.ParamRegionUrl.optional(),
451
- projectSlug: require_schema.ParamProjectSlug,
452
- name: zod.z.string().trim().describe("The new name for the project").optional(),
453
- slug: zod.z.string().toLowerCase().trim().describe("The new slug for the project (must be unique)").optional(),
454
- platform: require_schema.ParamPlatform.optional(),
455
- teamSlug: require_schema.ParamTeamSlug.optional().describe("The team to assign this project to. Note: this will replace the current team assignment.")
456
- }
457
- },
458
- {
459
- name: "find_dsns",
460
- description: [
461
- "List all Sentry DSNs for a specific project.",
462
- "",
463
- "Use this tool when you need to:",
464
- "- Retrieve a SENTRY_DSN for a specific project",
465
- "",
466
- "<hints>",
467
- "- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.",
468
- "- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you might want to call `find_organizations()` first.",
469
- "</hints>"
470
- ].join("\n"),
471
- paramsSchema: {
472
- organizationSlug: require_schema.ParamOrganizationSlug,
473
- regionUrl: require_schema.ParamRegionUrl.optional(),
474
- projectSlug: require_schema.ParamProjectSlug
475
- }
476
- },
477
- {
478
- name: "begin_seer_issue_fix",
479
- description: [
480
- "Use Seer to analyze an issue in Sentry, identify a root cause, and suggest a fix for it.",
481
- "",
482
- "Use this tool when you need to:",
483
- "- Determine the root cause of an issue.",
484
- "- Generate a plan for fixing an issue.",
485
- "- Implement a fix for an issue.",
486
- "",
487
- "This operation may take some time, so you should call `get_seer_issue_fix_status()` to check the status of the analysis after you begin it.",
488
- "",
489
- "<examples>",
490
- "### Analyze and propose a fix for 'ISSUE-123' in Sentry",
491
- "",
492
- "```",
493
- "begin_seer_issue_fix(organizationSlug='my-organization', issueId='ISSUE-123')",
494
- "```",
495
- "</examples>",
496
- "",
497
- "<hints>",
498
- "- Always check to see if an issue fix is already in progress for before calling this tool by using `get_seer_issue_fix_status()`.",
499
- "- If the user provides the issueUrl, you can ignore the organizationSlug and issueId parameters.",
500
- "</hints>"
501
- ].join("\n"),
502
- paramsSchema: {
503
- organizationSlug: require_schema.ParamOrganizationSlug.optional(),
504
- regionUrl: require_schema.ParamRegionUrl.optional(),
505
- issueId: require_schema.ParamIssueShortId.optional(),
506
- issueUrl: require_schema.ParamIssueUrl.optional()
507
- }
508
- },
509
- {
510
- name: "get_seer_issue_fix_status",
511
- description: [
512
- "Get the status of a root cause analysis for an issue in Sentry.",
513
- "",
514
- "Use this tool when you need to:",
515
- "- Get the root cause analysis for an issue.",
516
- "- Get the status of a fix for an issue.",
517
- "",
518
- "<examples>",
519
- "### Get the status of a fix for the 'ISSUE-123' issue",
520
- "",
521
- "```",
522
- "get_seer_issue_fix_status(organizationSlug='my-organization', issueId='ISSUE-123')",
523
- "```",
524
- "",
525
- "</examples>",
526
- "",
527
- "<hints>",
528
- "- If the user provides the issueUrl, you can ignore the organizationSlug and issueId parameters.",
529
- "</hints>"
530
- ].join("\n"),
531
- paramsSchema: {
532
- organizationSlug: require_schema.ParamOrganizationSlug.optional(),
533
- regionUrl: require_schema.ParamRegionUrl.optional(),
534
- issueId: require_schema.ParamIssueShortId.optional(),
535
- issueUrl: require_schema.ParamIssueUrl.optional()
536
- }
537
- }
538
- ];
539
-
540
- //#endregion
541
- Object.defineProperty(exports, 'TOOL_DEFINITIONS', {
542
- enumerable: true,
543
- get: function () {
544
- return TOOL_DEFINITIONS;
545
- }
546
- });
547
- //# sourceMappingURL=toolDefinitions-CUegGcWU.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"toolDefinitions-CUegGcWU.cjs","names":["ParamOrganizationSlug","ParamTeamSlug","ParamProjectSlug"],"sources":["../src/toolDefinitions.ts"],"sourcesContent":["/**\n * Tool definitions for the Sentry MCP server.\n *\n * Declarative definitions for all MCP tools that interface with Sentry's API.\n * Each tool definition includes its name, description, parameter schema, and\n * documentation for LLM consumption.\n *\n * @example Tool Definition Structure\n * ```typescript\n * {\n * name: \"tool_name\" as const,\n * description: [\n * \"Brief tool description.\",\n * \"\",\n * \"Use this tool when you need to:\",\n * \"- Specific use case 1\",\n * \"- Specific use case 2\",\n * ].join(\"\\n\"),\n * paramsSchema: {\n * organizationSlug: ParamOrganizationSlug,\n * optionalParam: ParamSchema.optional(),\n * },\n * }\n * ```\n */\n\n// TODO: this gets imported by the client code and thus is separated from server code\n// to avoid bundling issues. We'd like to find a better solution that isnt so brittle and keeps this code co-located w/ its tool calls.\nimport {\n ParamOrganizationSlug,\n ParamIssueShortId,\n ParamPlatform,\n ParamProjectSlug,\n ParamQuery,\n ParamTransaction,\n ParamRegionUrl,\n ParamProjectSlugOrAll,\n ParamIssueUrl,\n ParamTeamSlug,\n ParamIssueStatus,\n ParamAssignedTo,\n} from \"./schema\";\nimport { z } from \"zod\";\n\n/**\n * All MCP tool definitions for the Sentry server.\n *\n * Used by server.ts to register tools with the MCP server and by tools.ts\n * to validate parameters. Each definition includes name, description, and\n * Zod parameter schema.\n */\nexport const TOOL_DEFINITIONS = [\n {\n name: \"whoami\" as const,\n description: [\n \"Identify the authenticated user in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Get the user's name and email address.\",\n ].join(\"\\n\"),\n paramsSchema: {\n // No regionUrl parameter - user data must always come from the main API server\n },\n },\n {\n name: \"find_organizations\" as const,\n description: [\n \"Find organizations that the user has access to in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all organizations in Sentry\",\n \"- Find an organization's slug to aid other tool requests\",\n ].join(\"\\n\"),\n paramsSchema: {\n // No regionUrl parameter - user data and region lists must always come from the main API server\n },\n },\n {\n name: \"find_teams\" as const,\n description: [\n \"Find teams in an organization in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all teams in a Sentry organization\",\n \"- Find a team's slug to aid other tool requests\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n },\n },\n {\n name: \"find_projects\" as const,\n description: [\n \"Find projects in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all projects in a Sentry organization\",\n \"- Find a project's slug to aid other tool requests\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n },\n },\n {\n name: \"find_issues\" as const,\n description: [\n \"Find issues in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all issues in a Sentry organization\",\n \"\",\n \"If you're looking for more granular data beyond a summary of identified problems, you should use the `find_errors()` or `find_transactions()` tools instead.\",\n \"\",\n \"<examples>\",\n \"### Find the newest unresolved issues across 'my-organization'\",\n \"\",\n \"```\",\n \"find_issues(organizationSlug='my-organization', query='is:unresolved', sortBy='last_seen')\",\n \"```\",\n \"\",\n \"### Find the most frequently occurring crashes in the 'my-project' project\",\n \"\",\n \"```\",\n \"find_issues(organizationSlug='my-organization', projectSlug='my-project', query='is:unresolved error.handled:false', sortBy='count')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- You can use the `find_tags()` tool to see what user-defined tags are available.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug.optional(),\n query: ParamQuery.optional(),\n sortBy: z\n .enum([\"last_seen\", \"first_seen\", \"count\", \"userCount\"])\n .describe(\n \"Sort the results either by the last time they occurred, the first time they occurred, the count of occurrences, or the number of users affected.\",\n )\n .optional(),\n },\n },\n {\n name: \"find_releases\" as const,\n description: [\n \"Find releases in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Find recent releases in a Sentry organization\",\n \"- Find the most recent version released of a specific project\",\n \"- Determine when a release was deployed to an environment\",\n \"\",\n \"<examples>\",\n \"### Find the most recent releases in the 'my-organization' organization\",\n \"\",\n \"```\",\n \"find_releases(organizationSlug='my-organization')\",\n \"```\",\n \"\",\n \"### Find releases matching '2ce6a27' in the 'my-organization' organization\",\n \"\",\n \"```\",\n \"find_releases(organizationSlug='my-organization', query='2ce6a27')\",\n \"```\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlugOrAll.optional(),\n query: z\n .string()\n .trim()\n .describe(\"Search for versions which contain the provided string.\")\n .optional(),\n },\n },\n {\n name: \"find_tags\" as const,\n description: [\n \"Find tags in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Find tags available to use in search queries (such as `find_issues()` or `find_errors()`)\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n },\n },\n {\n name: \"get_issue_details\" as const,\n description: [\n \"Retrieve issue details from Sentry for a specific Issue ID, including the stacktrace and error message if available. Either issueId or issueUrl MUST be provided.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Investigate a specific production error\",\n \"- Access detailed error information and stacktraces from Sentry\",\n \"\",\n \"<examples>\",\n \"### Get details for issue ID 'CLOUDFLARE-MCP-41'\",\n \"\",\n \"```\",\n \"get_issue_details(organizationSlug='my-organization', issueId='CLOUDFLARE-MCP-41')\",\n \"```\",\n \"\",\n \"### Get details for event ID 'c49541c747cb4d8aa3efb70ca5aba243'\",\n \"\",\n \"```\",\n \"get_issue_details(organizationSlug='my-organization', eventId='c49541c747cb4d8aa3efb70ca5aba243')\",\n \"```\",\n \"</examples>\",\n\n \"<hints>\",\n \"- If the user provides the `issueUrl`, you can ignore the other parameters.\",\n \"- If the user provides `issueId` or `eventId` (only one is needed), `organizationSlug` is required.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n eventId: z.string().trim().describe(\"The ID of the event.\").optional(),\n issueUrl: ParamIssueUrl.optional(),\n },\n },\n {\n name: \"update_issue\" as const,\n description: [\n \"Update an issue's status or assignment in Sentry. This allows you to resolve, ignore, or reassign issues.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Resolve an issue that has been fixed\",\n \"- Assign an issue to a team member or team for investigation\",\n \"- Mark an issue as ignored to reduce noise\",\n \"- Reopen a resolved issue by setting status to 'unresolved'\",\n \"\",\n \"<examples>\",\n \"### Resolve an issue\",\n \"\",\n \"```\",\n \"update_issue(organizationSlug='my-organization', issueId='PROJECT-123', status='resolved')\",\n \"```\",\n \"\",\n \"### Assign an issue to a user\",\n \"\",\n \"```\",\n \"update_issue(organizationSlug='my-organization', issueId='PROJECT-123', assignedTo='john.doe')\",\n \"```\",\n \"\",\n \"### Resolve an issue and assign it to yourself\",\n \"\",\n \"```\",\n \"update_issue(organizationSlug='my-organization', issueId='PROJECT-123', status='resolved', assignedTo='me')\",\n \"```\",\n \"\",\n \"### Mark an issue as ignored\",\n \"\",\n \"```\",\n \"update_issue(organizationSlug='my-organization', issueId='PROJECT-123', status='ignored')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user provides the `issueUrl`, you can ignore the other required parameters and extract them from the URL.\",\n \"- At least one of `status` or `assignedTo` must be provided to update the issue.\",\n \"- Use 'me' as the value for `assignedTo` to assign the issue to the authenticated user.\",\n \"- Valid status values are: 'resolved', 'resolvedInNextRelease', 'unresolved', 'ignored'.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: ParamIssueUrl.optional(),\n status: ParamIssueStatus.optional(),\n assignedTo: ParamAssignedTo.optional(),\n },\n },\n {\n name: \"find_errors\" as const,\n description: [\n \"Find errors in Sentry using advanced search syntax.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Search for production errors in a specific file.\",\n \"- Analyze error patterns and frequencies.\",\n \"- Find recent or frequently occurring errors.\",\n \"\",\n \"<examples>\",\n \"### Find common errors within a file\",\n \"\",\n \"To find common errors within a file, you can use the `filename` parameter. This is a suffix based search, so only using the filename or the direct parent folder of the file. The parent folder is preferred when the filename is in a subfolder or a common filename. If you provide generic filenames like `index.js` you're going to end up finding errors that are might be from completely different projects.\",\n \"\",\n \"```\",\n \"find_errors(organizationSlug='my-organization', filename='index.js', sortBy='count')\",\n \"```\",\n \"\",\n \"### Find recent crashes from the 'peated' project\",\n \"\",\n \"```\",\n \"find_errors(organizationSlug='my-organization', query='is:unresolved error.handled:false', projectSlug='peated', sortBy='last_seen')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you should call `find_organizations()` first.\",\n \"- If you are looking for issues, in a way that you might be looking for something like 'unresolved errors', you should use the `find_issues()` tool\",\n \"- You can use the `find_tags()` tool to see what user-defined tags are available.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlugOrAll.optional(),\n filename: z\n .string()\n .trim()\n .describe(\"The filename to search for errors in.\")\n .optional(),\n transaction: ParamTransaction.optional(),\n query: ParamQuery.optional(),\n sortBy: z\n .enum([\"last_seen\", \"count\"])\n .optional()\n .default(\"last_seen\")\n .describe(\n \"Sort the results either by the last time they occurred or the count of occurrences.\",\n ),\n },\n },\n {\n name: \"find_transactions\" as const,\n description: [\n \"Find transactions in Sentry using advanced search syntax.\",\n \"\",\n \"Transactions are segments of traces that are associated with a specific route or endpoint.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Search for production transaction data to understand performance.\",\n \"- Analyze traces and latency patterns.\",\n \"- Find examples of recent requests to endpoints.\",\n \"\",\n \"<examples>\",\n \"### Find slow requests to a route\",\n \"\",\n \"...\",\n \"\",\n \"```\",\n \"find_transactions(organizationSlug='my-organization', transaction='/checkout', sortBy='duration')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you might want to call `find_organizations()` first.\",\n \"- You can use the `find_tags()` tool to see what user-defined tags are available.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlugOrAll.optional(),\n transaction: ParamTransaction.optional(),\n query: ParamQuery.optional(),\n sortBy: z\n .enum([\"timestamp\", \"duration\"])\n .optional()\n .default(\"timestamp\")\n .describe(\n \"Sort the results either by the timestamp of the request (most recent first) or the duration of the request (longest first).\",\n ),\n },\n },\n {\n name: \"create_team\" as const,\n description: [\n \"Create a new team in Sentry.\",\n \"\",\n \"Be careful when using this tool!\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Create a new team in a Sentry organization\",\n \"\",\n \"<hints>\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n name: z.string().trim().describe(\"The name of the team to create.\"),\n },\n },\n {\n name: \"create_project\" as const,\n description: [\n \"Create a new project in Sentry, giving you access to a new SENTRY_DSN.\",\n \"\",\n \"Be careful when using this tool!\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Create a new project in a Sentry organization\",\n \"\",\n \"<examples>\",\n \"### Create a new javascript project in the 'my-organization' organization\",\n \"\",\n \"```\",\n \"create_project(organizationSlug='my-organization', teamSlug='my-team', name='my-project', platform='javascript')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<teamSlug>.\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n teamSlug: ParamTeamSlug,\n name: z\n .string()\n .trim()\n .describe(\n \"The name of the project to create. Typically this is commonly the name of the repository or service. It is only used as a visual label in Sentry.\",\n ),\n platform: ParamPlatform.optional(),\n },\n },\n {\n name: \"create_dsn\" as const,\n description: [\n \"Create a new Sentry DSN for a specific project.\",\n \"\",\n \"Be careful when using this tool!\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Create a new DSN for a specific project\",\n \"\",\n \"<examples>\",\n \"### Create a new DSN for the 'my-project' project\",\n \"\",\n \"```\",\n \"create_dsn(organizationSlug='my-organization', projectSlug='my-project', name='Production')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug,\n name: z\n .string()\n .trim()\n .describe(\"The name of the DSN to create, for example 'Production'.\"),\n },\n },\n {\n name: \"update_project\" as const,\n description: [\n \"Update project settings in Sentry, such as name, slug, platform, and team assignment.\",\n \"\",\n \"Be careful when using this tool!\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Update a project's name or slug to fix onboarding mistakes\",\n \"- Change the platform assigned to a project\",\n \"- Update team assignment for a project\",\n \"\",\n \"<examples>\",\n \"### Update a project's name and slug\",\n \"\",\n \"```\",\n \"update_project(organizationSlug='my-organization', projectSlug='old-project', name='New Project Name', slug='new-project-slug')\",\n \"```\",\n \"\",\n \"### Assign a project to a different team\",\n \"\",\n \"```\",\n \"update_project(organizationSlug='my-organization', projectSlug='my-project', teamSlug='backend-team')\",\n \"```\",\n \"\",\n \"### Update platform\",\n \"\",\n \"```\",\n \"update_project(organizationSlug='my-organization', projectSlug='my-project', platform='python')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, it's likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- Team assignment is handled separately from other project settings\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"- When updating the slug, the project will be accessible at the new slug after the update\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug,\n name: z\n .string()\n .trim()\n .describe(\"The new name for the project\")\n .optional(),\n slug: z\n .string()\n .toLowerCase()\n .trim()\n .describe(\"The new slug for the project (must be unique)\")\n .optional(),\n platform: ParamPlatform.optional(),\n teamSlug: ParamTeamSlug.optional().describe(\n \"The team to assign this project to. Note: this will replace the current team assignment.\",\n ),\n },\n },\n {\n name: \"find_dsns\" as const,\n description: [\n \"List all Sentry DSNs for a specific project.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Retrieve a SENTRY_DSN for a specific project\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you might want to call `find_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug,\n },\n },\n {\n name: \"begin_seer_issue_fix\" as const,\n description: [\n \"Use Seer to analyze an issue in Sentry, identify a root cause, and suggest a fix for it.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Determine the root cause of an issue.\",\n \"- Generate a plan for fixing an issue.\",\n \"- Implement a fix for an issue.\",\n \"\",\n \"This operation may take some time, so you should call `get_seer_issue_fix_status()` to check the status of the analysis after you begin it.\",\n \"\",\n \"<examples>\",\n \"### Analyze and propose a fix for 'ISSUE-123' in Sentry\",\n \"\",\n \"```\",\n \"begin_seer_issue_fix(organizationSlug='my-organization', issueId='ISSUE-123')\",\n \"```\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- Always check to see if an issue fix is already in progress for before calling this tool by using `get_seer_issue_fix_status()`.\",\n \"- If the user provides the issueUrl, you can ignore the organizationSlug and issueId parameters.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: ParamIssueUrl.optional(),\n },\n },\n {\n name: \"get_seer_issue_fix_status\" as const,\n description: [\n \"Get the status of a root cause analysis for an issue in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Get the root cause analysis for an issue.\",\n \"- Get the status of a fix for an issue.\",\n \"\",\n \"<examples>\",\n \"### Get the status of a fix for the 'ISSUE-123' issue\",\n \"\",\n \"```\",\n \"get_seer_issue_fix_status(organizationSlug='my-organization', issueId='ISSUE-123')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user provides the issueUrl, you can ignore the organizationSlug and issueId parameters.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: ParamIssueUrl.optional(),\n },\n },\n];\n"],"mappings":";;;;;;;;;;;;AAmDA,MAAa,mBAAmB;CAC9B;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc,CAEb;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc,CAEb;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkBA;GAClB,WAAW,8BAAe,UAAU;EACrC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkBA;GAClB,WAAW,8BAAe,UAAU;EACrC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkBA;GAClB,WAAW,8BAAe,UAAU;GACpC,aAAa,gCAAiB,UAAU;GACxC,OAAO,0BAAW,UAAU;GAC5B,QAAQ,MACL,KAAK;IAAC;IAAa;IAAc;IAAS;GAAY,EAAC,CACvD,SACC,mJACD,CACA,UAAU;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkBA;GAClB,WAAW,8BAAe,UAAU;GACpC,aAAa,qCAAsB,UAAU;GAC7C,OAAO,MACJ,QAAQ,CACR,MAAM,CACN,SAAS,yDAAyD,CAClE,UAAU;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkBA;GAClB,WAAW,8BAAe,UAAU;EACrC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GAEA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,SAAS,iCAAkB,UAAU;GACrC,SAAS,MAAE,QAAQ,CAAC,MAAM,CAAC,SAAS,uBAAuB,CAAC,UAAU;GACtE,UAAU,6BAAc,UAAU;EACnC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,SAAS,iCAAkB,UAAU;GACrC,UAAU,6BAAc,UAAU;GAClC,QAAQ,gCAAiB,UAAU;GACnC,YAAY,+BAAgB,UAAU;EACvC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkBA;GAClB,WAAW,8BAAe,UAAU;GACpC,aAAa,qCAAsB,UAAU;GAC7C,UAAU,MACP,QAAQ,CACR,MAAM,CACN,SAAS,wCAAwC,CACjD,UAAU;GACb,aAAa,gCAAiB,UAAU;GACxC,OAAO,0BAAW,UAAU;GAC5B,QAAQ,MACL,KAAK,CAAC,aAAa,OAAQ,EAAC,CAC5B,UAAU,CACV,QAAQ,YAAY,CACpB,SACC,sFACD;EACJ;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkBA;GAClB,WAAW,8BAAe,UAAU;GACpC,aAAa,qCAAsB,UAAU;GAC7C,aAAa,gCAAiB,UAAU;GACxC,OAAO,0BAAW,UAAU;GAC5B,QAAQ,MACL,KAAK,CAAC,aAAa,UAAW,EAAC,CAC/B,UAAU,CACV,QAAQ,YAAY,CACpB,SACC,8HACD;EACJ;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkBA;GAClB,WAAW,8BAAe,UAAU;GACpC,MAAM,MAAE,QAAQ,CAAC,MAAM,CAAC,SAAS,kCAAkC;EACpE;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkBA;GAClB,WAAW,8BAAe,UAAU;GACpC,UAAUC;GACV,MAAM,MACH,QAAQ,CACR,MAAM,CACN,SACC,oJACD;GACH,UAAU,6BAAc,UAAU;EACnC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkBD;GAClB,WAAW,8BAAe,UAAU;GACpC,aAAaE;GACb,MAAM,MACH,QAAQ,CACR,MAAM,CACN,SAAS,2DAA2D;EACxE;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkBF;GAClB,WAAW,8BAAe,UAAU;GACpC,aAAaE;GACb,MAAM,MACH,QAAQ,CACR,MAAM,CACN,SAAS,+BAA+B,CACxC,UAAU;GACb,MAAM,MACH,QAAQ,CACR,aAAa,CACb,MAAM,CACN,SAAS,gDAAgD,CACzD,UAAU;GACb,UAAU,6BAAc,UAAU;GAClC,UAAU,6BAAc,UAAU,CAAC,SACjC,2FACD;EACF;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkBF;GAClB,WAAW,8BAAe,UAAU;GACpC,aAAaE;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,SAAS,iCAAkB,UAAU;GACrC,UAAU,6BAAc,UAAU;EACnC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,SAAS,iCAAkB,UAAU;GACrC,UAAU,6BAAc,UAAU;EACnC;CACF;AACF"}