@sentry/mcp-server 0.17.0 → 0.17.1

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 (219) hide show
  1. package/README.md +4 -0
  2. package/dist/agent-tools/discover-dataset-fields.d.cts +3 -3
  3. package/dist/agent-tools/discover-dataset-fields.d.ts +6 -6
  4. package/dist/agent-tools/lookup-otel-semantics.d.cts +3 -3
  5. package/dist/agent-tools/lookup-otel-semantics.d.ts +6 -6
  6. package/dist/agent-tools/whoami.d.cts +3 -3
  7. package/dist/agent-tools/whoami.d.ts +6 -6
  8. package/dist/{analyze-issue-with-seer-Dw9iqvSk.cjs → analyze-issue-with-seer-ByoDTsq-.cjs} +2 -2
  9. package/dist/{analyze-issue-with-seer-Dw9iqvSk.cjs.map → analyze-issue-with-seer-ByoDTsq-.cjs.map} +1 -1
  10. package/dist/{analyze-issue-with-seer-DcSwrWrs.js → analyze-issue-with-seer-CpwtN4UA.js} +2 -2
  11. package/dist/{analyze-issue-with-seer-DcSwrWrs.js.map → analyze-issue-with-seer-CpwtN4UA.js.map} +1 -1
  12. package/dist/api-client/client.d.cts +3 -3
  13. package/dist/api-client/client.d.ts +3 -3
  14. package/dist/api-client/index.d.cts +3 -3
  15. package/dist/api-client/index.d.ts +3 -3
  16. package/dist/api-client/schema.d.cts +1 -1
  17. package/dist/api-client/schema.d.ts +1 -1
  18. package/dist/api-client/types.d.cts +2 -2
  19. package/dist/api-client/types.d.ts +2 -2
  20. package/dist/{client-C_dDreKj.d.ts → client-DLkUGS7r.d.ts} +4 -4
  21. package/dist/{client-C_dDreKj.d.ts.map → client-DLkUGS7r.d.ts.map} +1 -1
  22. package/dist/{client-CgS3tjJG.d.cts → client-DV68BdcS.d.cts} +2 -2
  23. package/dist/{client-CgS3tjJG.d.cts.map → client-DV68BdcS.d.cts.map} +1 -1
  24. package/dist/{constants-S7AU45oQ.js → constants-Fe-4NTUo.js} +6 -2
  25. package/dist/constants-Fe-4NTUo.js.map +1 -0
  26. package/dist/{constants-ClkMK29-.cjs → constants-wrEbre3j.cjs} +11 -1
  27. package/dist/constants-wrEbre3j.cjs.map +1 -0
  28. package/dist/constants.cjs +2 -1
  29. package/dist/constants.d.cts +5 -1
  30. package/dist/constants.d.cts.map +1 -1
  31. package/dist/constants.d.ts +5 -1
  32. package/dist/constants.d.ts.map +1 -1
  33. package/dist/constants.js +2 -2
  34. package/dist/{create-dsn-QDLdwhDO.js → create-dsn-BT3t-MDA.js} +2 -2
  35. package/dist/{create-dsn-QDLdwhDO.js.map → create-dsn-BT3t-MDA.js.map} +1 -1
  36. package/dist/{create-dsn-C6IPwoVO.cjs → create-dsn-Bgwi-Ygi.cjs} +2 -2
  37. package/dist/{create-dsn-C6IPwoVO.cjs.map → create-dsn-Bgwi-Ygi.cjs.map} +1 -1
  38. package/dist/{create-project-DdSF58TR.cjs → create-project-4R4aZMoc.cjs} +2 -2
  39. package/dist/{create-project-DdSF58TR.cjs.map → create-project-4R4aZMoc.cjs.map} +1 -1
  40. package/dist/{create-project-Cax3fWey.js → create-project-Ca1Sy1_F.js} +2 -2
  41. package/dist/{create-project-Cax3fWey.js.map → create-project-Ca1Sy1_F.js.map} +1 -1
  42. package/dist/{create-team-CXaLcylp.cjs → create-team-CSBXDcoD.cjs} +2 -2
  43. package/dist/{create-team-CXaLcylp.cjs.map → create-team-CSBXDcoD.cjs.map} +1 -1
  44. package/dist/{create-team-nm06goO5.js → create-team-D0dUl7Zo.js} +2 -2
  45. package/dist/{create-team-nm06goO5.js.map → create-team-D0dUl7Zo.js.map} +1 -1
  46. package/dist/{find-dsns-vQolGM7e.cjs → find-dsns-CkvahHwJ.cjs} +2 -2
  47. package/dist/{find-dsns-vQolGM7e.cjs.map → find-dsns-CkvahHwJ.cjs.map} +1 -1
  48. package/dist/{find-dsns-C3G5aBm1.js → find-dsns-DrNAfU_Q.js} +2 -2
  49. package/dist/{find-dsns-C3G5aBm1.js.map → find-dsns-DrNAfU_Q.js.map} +1 -1
  50. package/dist/{find-projects-B0NdOjBO.js → find-projects-CZCMck_0.js} +2 -2
  51. package/dist/{find-projects-B0NdOjBO.js.map → find-projects-CZCMck_0.js.map} +1 -1
  52. package/dist/{find-projects-xM2L0U1W.cjs → find-projects-Dh-1AK-m.cjs} +2 -2
  53. package/dist/{find-projects-xM2L0U1W.cjs.map → find-projects-Dh-1AK-m.cjs.map} +1 -1
  54. package/dist/{find-releases-BBTYr5Bx.cjs → find-releases-BsAkl--F.cjs} +2 -2
  55. package/dist/{find-releases-BBTYr5Bx.cjs.map → find-releases-BsAkl--F.cjs.map} +1 -1
  56. package/dist/{find-releases-BO2OF_uR.js → find-releases-Do_CywRr.js} +2 -2
  57. package/dist/{find-releases-BO2OF_uR.js.map → find-releases-Do_CywRr.js.map} +1 -1
  58. package/dist/{find-teams-CqUwp0EI.js → find-teams-BylQQ4FO.js} +2 -2
  59. package/dist/{find-teams-CqUwp0EI.js.map → find-teams-BylQQ4FO.js.map} +1 -1
  60. package/dist/{find-teams-B237Aq8U.cjs → find-teams-DXyzyQOy.cjs} +2 -2
  61. package/dist/{find-teams-B237Aq8U.cjs.map → find-teams-DXyzyQOy.cjs.map} +1 -1
  62. package/dist/{formatting-C80LN9iK.d.ts → formatting-C3qu84cm.d.ts} +4 -4
  63. package/dist/{formatting-C80LN9iK.d.ts.map → formatting-C3qu84cm.d.ts.map} +1 -1
  64. package/dist/{formatting-BxyhA4G3.d.cts → formatting-CmBYkI_e.d.cts} +4 -4
  65. package/dist/{formatting-BxyhA4G3.d.cts.map → formatting-CmBYkI_e.d.cts.map} +1 -1
  66. package/dist/{get-event-attachment-o0oH43Tv.cjs → get-event-attachment-BzhDeM6z.cjs} +2 -2
  67. package/dist/{get-event-attachment-o0oH43Tv.cjs.map → get-event-attachment-BzhDeM6z.cjs.map} +1 -1
  68. package/dist/{get-event-attachment-B-ElqztF.js → get-event-attachment-CVoMrETq.js} +2 -2
  69. package/dist/{get-event-attachment-B-ElqztF.js.map → get-event-attachment-CVoMrETq.js.map} +1 -1
  70. package/dist/{get-issue-details-CP_RyCpt.cjs → get-issue-details-C96fhps3.cjs} +2 -2
  71. package/dist/{get-issue-details-CP_RyCpt.cjs.map → get-issue-details-C96fhps3.cjs.map} +1 -1
  72. package/dist/{get-issue-details-CzroF7HR.js → get-issue-details-_uS_AZ_v.js} +2 -2
  73. package/dist/{get-issue-details-CzroF7HR.js.map → get-issue-details-_uS_AZ_v.js.map} +1 -1
  74. package/dist/{handler-BH_OLIbD.cjs → handler-7T1iMsQU.cjs} +2 -2
  75. package/dist/{handler-BH_OLIbD.cjs.map → handler-7T1iMsQU.cjs.map} +1 -1
  76. package/dist/{handler-aE_8mEm7.js → handler-B0bLvFFX.js} +2 -2
  77. package/dist/{handler-aE_8mEm7.js.map → handler-B0bLvFFX.js.map} +1 -1
  78. package/dist/{handler-O9fYgC9a.cjs → handler-DEjS3yks.cjs} +2 -2
  79. package/dist/{handler-O9fYgC9a.cjs.map → handler-DEjS3yks.cjs.map} +1 -1
  80. package/dist/{handler-ykkULTZ-.js → handler-DTN2HYXt.js} +2 -2
  81. package/dist/{handler-ykkULTZ-.js.map → handler-DTN2HYXt.js.map} +1 -1
  82. package/dist/index.cjs +33 -26
  83. package/dist/index.cjs.map +1 -1
  84. package/dist/index.js +33 -26
  85. package/dist/index.js.map +1 -1
  86. package/dist/internal/formatting.d.cts +4 -4
  87. package/dist/internal/formatting.d.ts +4 -4
  88. package/dist/internal/test-fixtures.d.cts +146 -146
  89. package/dist/internal/test-fixtures.d.cts.map +1 -1
  90. package/dist/internal/test-fixtures.d.ts +26 -26
  91. package/dist/internal/test-fixtures.d.ts.map +1 -1
  92. package/dist/{promptDefinitions-5V4-M69A.cjs → promptDefinitions-CWV8hsUX.cjs} +2 -2
  93. package/dist/{promptDefinitions-5V4-M69A.cjs.map → promptDefinitions-CWV8hsUX.cjs.map} +1 -1
  94. package/dist/{promptDefinitions-DyshsF51.js → promptDefinitions-DF8nuJVq.js} +2 -2
  95. package/dist/{promptDefinitions-DyshsF51.js.map → promptDefinitions-DF8nuJVq.js.map} +1 -1
  96. package/dist/promptDefinitions.cjs +3 -3
  97. package/dist/promptDefinitions.js +3 -3
  98. package/dist/{resources-TCvijqOA.cjs → resources-Dadvq5Fm.cjs} +2 -2
  99. package/dist/{resources-TCvijqOA.cjs.map → resources-Dadvq5Fm.cjs.map} +1 -1
  100. package/dist/{resources-CSxBC9gs.js → resources-jcFoc4JU.js} +2 -2
  101. package/dist/{resources-CSxBC9gs.js.map → resources-jcFoc4JU.js.map} +1 -1
  102. package/dist/resources.cjs +2 -2
  103. package/dist/resources.js +2 -2
  104. package/dist/{schema-DPL_hZXP.cjs → schema-BL3kwfOA.cjs} +2 -2
  105. package/dist/{schema-DPL_hZXP.cjs.map → schema-BL3kwfOA.cjs.map} +1 -1
  106. package/dist/{schema-Bv2fvxgy.js → schema-DMfkTR1l.js} +2 -2
  107. package/dist/{schema-Bv2fvxgy.js.map → schema-DMfkTR1l.js.map} +1 -1
  108. package/dist/{schema-BlkWypl3.d.ts → schema-DWmx8lgm.d.ts} +29 -29
  109. package/dist/{schema-BlkWypl3.d.ts.map → schema-DWmx8lgm.d.ts.map} +1 -1
  110. package/dist/{schema-CdDcpvrp.d.cts → schema-xbTf44Hn.d.cts} +227 -227
  111. package/dist/{schema-CdDcpvrp.d.cts.map → schema-xbTf44Hn.d.cts.map} +1 -1
  112. package/dist/schema.cjs +2 -2
  113. package/dist/schema.js +2 -2
  114. package/dist/{search-docs-ss09Dt0F.js → search-docs-DIm3ykOg.js} +2 -2
  115. package/dist/{search-docs-ss09Dt0F.js.map → search-docs-DIm3ykOg.js.map} +1 -1
  116. package/dist/{search-docs-CjIZDaD1.cjs → search-docs-EbjJuL9Q.cjs} +2 -2
  117. package/dist/{search-docs-CjIZDaD1.cjs.map → search-docs-EbjJuL9Q.cjs.map} +1 -1
  118. package/dist/{server-D78x_7Vz.js → server-CnJvaT0s.js} +10 -9
  119. package/dist/server-CnJvaT0s.js.map +1 -0
  120. package/dist/{server-DYFiTMLB.cjs → server-Dv9HxoRk.cjs} +10 -9
  121. package/dist/server-Dv9HxoRk.cjs.map +1 -0
  122. package/dist/server.cjs +22 -22
  123. package/dist/server.d.cts.map +1 -1
  124. package/dist/server.d.ts.map +1 -1
  125. package/dist/server.js +22 -22
  126. package/dist/{stdio-Be01KQkA.cjs → stdio-C6MAgHmA.cjs} +3 -3
  127. package/dist/{stdio-Be01KQkA.cjs.map → stdio-C6MAgHmA.cjs.map} +1 -1
  128. package/dist/{stdio-CDb2NHHD.js → stdio-DnAY4MSF.js} +3 -3
  129. package/dist/{stdio-CDb2NHHD.js.map → stdio-DnAY4MSF.js.map} +1 -1
  130. package/dist/tools/analyze-issue-with-seer.cjs +3 -3
  131. package/dist/tools/analyze-issue-with-seer.js +3 -3
  132. package/dist/tools/create-dsn.cjs +3 -3
  133. package/dist/tools/create-dsn.js +3 -3
  134. package/dist/tools/create-project.cjs +3 -3
  135. package/dist/tools/create-project.js +3 -3
  136. package/dist/tools/create-team.cjs +3 -3
  137. package/dist/tools/create-team.js +3 -3
  138. package/dist/tools/find-dsns.cjs +3 -3
  139. package/dist/tools/find-dsns.js +3 -3
  140. package/dist/tools/find-projects.cjs +3 -3
  141. package/dist/tools/find-projects.js +3 -3
  142. package/dist/tools/find-releases.cjs +3 -3
  143. package/dist/tools/find-releases.js +3 -3
  144. package/dist/tools/find-teams.cjs +3 -3
  145. package/dist/tools/find-teams.js +3 -3
  146. package/dist/tools/get-event-attachment.cjs +3 -3
  147. package/dist/tools/get-event-attachment.js +3 -3
  148. package/dist/tools/get-issue-details.cjs +3 -3
  149. package/dist/tools/get-issue-details.js +3 -3
  150. package/dist/tools/index.cjs +18 -18
  151. package/dist/tools/index.d.ts +68 -68
  152. package/dist/tools/index.js +18 -18
  153. package/dist/tools/search-docs.cjs +3 -3
  154. package/dist/tools/search-docs.js +3 -3
  155. package/dist/tools/search-events/agent.d.cts +3 -3
  156. package/dist/tools/search-events/agent.d.ts +3 -3
  157. package/dist/tools/search-events/formatters.d.cts +4 -4
  158. package/dist/tools/search-events/formatters.d.ts +4 -4
  159. package/dist/tools/search-events/handler.cjs +3 -3
  160. package/dist/tools/search-events/handler.js +3 -3
  161. package/dist/tools/search-events/index.cjs +3 -3
  162. package/dist/tools/search-events/index.js +3 -3
  163. package/dist/tools/search-events/utils.d.cts +4 -4
  164. package/dist/tools/search-events/utils.d.ts +4 -4
  165. package/dist/tools/search-issues/agent.d.cts +5 -5
  166. package/dist/tools/search-issues/agent.d.cts.map +1 -1
  167. package/dist/tools/search-issues/agent.d.ts +3 -3
  168. package/dist/tools/search-issues/formatters.d.cts +3 -3
  169. package/dist/tools/search-issues/formatters.d.ts +3 -3
  170. package/dist/tools/search-issues/handler.cjs +3 -3
  171. package/dist/tools/search-issues/handler.js +3 -3
  172. package/dist/tools/search-issues/index.cjs +3 -3
  173. package/dist/tools/search-issues/index.js +3 -3
  174. package/dist/tools/update-issue.cjs +3 -3
  175. package/dist/tools/update-issue.js +3 -3
  176. package/dist/tools/update-project.cjs +3 -3
  177. package/dist/tools/update-project.js +3 -3
  178. package/dist/tools/utils/api-utils.d.cts +3 -3
  179. package/dist/tools/utils/api-utils.d.ts +3 -3
  180. package/dist/tools/utils/formatting-utils.d.cts +3 -3
  181. package/dist/tools/utils/formatting-utils.d.ts +3 -3
  182. package/dist/tools/utils/issue-utils.d.cts +4 -4
  183. package/dist/tools/utils/issue-utils.d.ts +4 -4
  184. package/dist/tools/utils/seer-utils.d.cts +3 -3
  185. package/dist/tools/utils/seer-utils.d.ts +3 -3
  186. package/dist/{tools-DvKm5uMs.js → tools-B0wbxDty.js} +16 -16
  187. package/dist/{tools-DvKm5uMs.js.map → tools-B0wbxDty.js.map} +1 -1
  188. package/dist/{tools-sQ2wM3Pi.cjs → tools-qfk-QAo0.cjs} +16 -16
  189. package/dist/{tools-sQ2wM3Pi.cjs.map → tools-qfk-QAo0.cjs.map} +1 -1
  190. package/dist/transports/stdio.cjs +23 -23
  191. package/dist/transports/stdio.js +23 -23
  192. package/dist/{types-BYtO24VE.d.cts → types-DE-njuHe.d.cts} +2 -2
  193. package/dist/{types-BYtO24VE.d.cts.map → types-DE-njuHe.d.cts.map} +1 -1
  194. package/dist/{types-B-8S69No.d.ts → types-DRywojVB.d.ts} +2 -2
  195. package/dist/{types-B-8S69No.d.ts.map → types-DRywojVB.d.ts.map} +1 -1
  196. package/dist/{update-issue-ndy2PF5G.js → update-issue-DoQYEQjf.js} +2 -2
  197. package/dist/{update-issue-ndy2PF5G.js.map → update-issue-DoQYEQjf.js.map} +1 -1
  198. package/dist/{update-issue-D77PudUi.cjs → update-issue-DqUsAuTd.cjs} +2 -2
  199. package/dist/{update-issue-D77PudUi.cjs.map → update-issue-DqUsAuTd.cjs.map} +1 -1
  200. package/dist/{update-project-Bxsi-BG_.js → update-project-C9CLxNfF.js} +2 -2
  201. package/dist/{update-project-Bxsi-BG_.js.map → update-project-C9CLxNfF.js.map} +1 -1
  202. package/dist/{update-project-DqECtbDA.cjs → update-project-DQu5PnE3.cjs} +2 -2
  203. package/dist/{update-project-DqECtbDA.cjs.map → update-project-DQu5PnE3.cjs.map} +1 -1
  204. package/dist/{utils-BwXbSgEI.d.ts → utils-CzV_Tz2C.d.ts} +2 -2
  205. package/dist/{utils-BwXbSgEI.d.ts.map → utils-CzV_Tz2C.d.ts.map} +1 -1
  206. package/dist/{utils-CtBGHj_N.d.cts → utils-Fm-dODdb.d.cts} +2 -2
  207. package/dist/{utils-CtBGHj_N.d.cts.map → utils-Fm-dODdb.d.cts.map} +1 -1
  208. package/dist/{version-CMS1IOUV.cjs → version-Bu9nGzm5.cjs} +2 -2
  209. package/dist/{version-CMS1IOUV.cjs.map → version-Bu9nGzm5.cjs.map} +1 -1
  210. package/dist/version-DvjTvYJs.js +6 -0
  211. package/dist/{version-Bj68uyCt.js.map → version-DvjTvYJs.js.map} +1 -1
  212. package/dist/version.cjs +1 -1
  213. package/dist/version.js +1 -1
  214. package/package.json +3 -3
  215. package/dist/constants-ClkMK29-.cjs.map +0 -1
  216. package/dist/constants-S7AU45oQ.js.map +0 -1
  217. package/dist/server-D78x_7Vz.js.map +0 -1
  218. package/dist/server-DYFiTMLB.cjs.map +0 -1
  219. package/dist/version-Bj68uyCt.js +0 -6
@@ -1 +1 @@
1
- {"version":3,"file":"test-fixtures.d.cts","names":[],"sources":["../../src/internal/test-fixtures.ts"],"sourcesContent":[],"mappings":";;;;;KASK,KAAA,GAAQ,CAAA,CAAE,aAAa;KACvB,cAAA,GAAiB,CAAA,CAAE,aAAa;AAJP,KAKzB,MAAA,GAAS,CAAA,CAAE,KAFN,CAAA,OAEmB,iBAFnB,CAAA;KAGL,UAAA,GAHK;EAAA,MAAkB,EAGA,KAHA,EAAA;CAAc;AAAtB;AAAA;;;AACE,iBAUN,WAAA,CAVQ,SAAA,CAAA,EAUe,OAVf,CAUuB,KAVvB,CAAA,CAAA,EAUqC,KAVrC;AAAK,cAoBhB,cApBgB,EAAA;EACxB,MAAA,EAAA,CAAM,SAAA,CAAA,EAoBW,OApBX,CAoBmB,KApBnB,CAAA,EAAA,GAAA;IAAA,QAAA,CAAA,EAAA,MAAA,GAAA,IAAA,GAAA,SAAA;IAAkB,QAAA,CAAA,EAAA,MAAA,GAAA,IAAA,GAAA,SAAA;IAAf,MAAE,CAAA,EAAA,MAAA,GAAA,IAAA,GAAA,SAAA;IAAK,KAAA,CAAA,EAAA,MAAA,GAAA,IAAA,GAAA,SAAA;IAChB,OAAA,CAAA,EAAU,MAAA,GAAA,IAAa,GAAK,SAAA;IAQjB,MAAA,CAAA,EAAA,MAAW,GAAA,IAAA,GAAA,SAAA;IAAA,OAAA,CAAA,EAAA,CAAA,MAAA,EAAA,MAAA,CAAA,EAAA,GAAA,SAAA;IAAoB,KAAA,CAAA,EAAA,OAAA,GAAA,SAAA;IAAR,IAAA,CAAA,EAWV,MAXU,CAAA,MAAA,EAAA,OAAA,CAAA,GAAA,SAAA;EAAO,CAAA;EAAoB,IAAA,E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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAH6B;;;;;;;;;;;;;;;;;;;;;;;qBAAM"}
@@ -1,5 +1,5 @@
1
- import { ExceptionInterface, FrameInterface, ThreadEntrySchema } from "../schema-BlkWypl3.js";
2
- import { Event } from "../types-B-8S69No.js";
1
+ import { ExceptionInterface, FrameInterface, ThreadEntrySchema } from "../schema-DWmx8lgm.js";
2
+ import { Event } from "../types-DRywojVB.js";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/internal/test-fixtures.d.ts
@@ -90,7 +90,6 @@ declare class EventBuilder {
90
90
  }
91
91
  declare const testEvents: {
92
92
  pythonException: (errorMessage?: string) => {
93
- message: string | null;
94
93
  entries: ({
95
94
  type: "exception";
96
95
  data: {
@@ -193,6 +192,7 @@ declare const testEvents: {
193
192
  type: string;
194
193
  data?: unknown;
195
194
  })[];
195
+ message: string | null;
196
196
  type: "error";
197
197
  id: string;
198
198
  title: string;
@@ -203,7 +203,6 @@ declare const testEvents: {
203
203
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
204
204
  }, z.ZodTypeAny, "passthrough">> | undefined;
205
205
  } | {
206
- message: string | null;
207
206
  entries: ({
208
207
  type: "exception";
209
208
  data: {
@@ -306,6 +305,7 @@ declare const testEvents: {
306
305
  type: string;
307
306
  data?: unknown;
308
307
  })[];
308
+ message: string | null;
309
309
  type: "transaction";
310
310
  id: string;
311
311
  title: string;
@@ -318,7 +318,6 @@ declare const testEvents: {
318
318
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
319
319
  }, z.ZodTypeAny, "passthrough">> | undefined;
320
320
  } | {
321
- message: string | null;
322
321
  entries: ({
323
322
  type: "exception";
324
323
  data: {
@@ -421,16 +420,16 @@ declare const testEvents: {
421
420
  type: string;
422
421
  data?: unknown;
423
422
  })[];
423
+ message: string | null;
424
424
  id: string;
425
425
  title: string;
426
- type?: unknown;
427
426
  platform?: string | null | undefined;
427
+ type?: unknown;
428
428
  contexts?: Record<string, z.objectOutputType<{
429
429
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
430
430
  }, z.ZodTypeAny, "passthrough">> | undefined;
431
431
  };
432
432
  javaThreadError: (message?: string) => {
433
- message: string | null;
434
433
  entries: ({
435
434
  type: "exception";
436
435
  data: {
@@ -533,6 +532,7 @@ declare const testEvents: {
533
532
  type: string;
534
533
  data?: unknown;
535
534
  })[];
535
+ message: string | null;
536
536
  type: "error";
537
537
  id: string;
538
538
  title: string;
@@ -543,7 +543,6 @@ declare const testEvents: {
543
543
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
544
544
  }, z.ZodTypeAny, "passthrough">> | undefined;
545
545
  } | {
546
- message: string | null;
547
546
  entries: ({
548
547
  type: "exception";
549
548
  data: {
@@ -646,6 +645,7 @@ declare const testEvents: {
646
645
  type: string;
647
646
  data?: unknown;
648
647
  })[];
648
+ message: string | null;
649
649
  type: "transaction";
650
650
  id: string;
651
651
  title: string;
@@ -658,7 +658,6 @@ declare const testEvents: {
658
658
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
659
659
  }, z.ZodTypeAny, "passthrough">> | undefined;
660
660
  } | {
661
- message: string | null;
662
661
  entries: ({
663
662
  type: "exception";
664
663
  data: {
@@ -761,16 +760,16 @@ declare const testEvents: {
761
760
  type: string;
762
761
  data?: unknown;
763
762
  })[];
763
+ message: string | null;
764
764
  id: string;
765
765
  title: string;
766
- type?: unknown;
767
766
  platform?: string | null | undefined;
767
+ type?: unknown;
768
768
  contexts?: Record<string, z.objectOutputType<{
769
769
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
770
770
  }, z.ZodTypeAny, "passthrough">> | undefined;
771
771
  };
772
772
  enhancedFrame: (platform?: string) => {
773
- message: string | null;
774
773
  entries: ({
775
774
  type: "exception";
776
775
  data: {
@@ -873,6 +872,7 @@ declare const testEvents: {
873
872
  type: string;
874
873
  data?: unknown;
875
874
  })[];
875
+ message: string | null;
876
876
  type: "error";
877
877
  id: string;
878
878
  title: string;
@@ -883,7 +883,6 @@ declare const testEvents: {
883
883
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
884
884
  }, z.ZodTypeAny, "passthrough">> | undefined;
885
885
  } | {
886
- message: string | null;
887
886
  entries: ({
888
887
  type: "exception";
889
888
  data: {
@@ -986,6 +985,7 @@ declare const testEvents: {
986
985
  type: string;
987
986
  data?: unknown;
988
987
  })[];
988
+ message: string | null;
989
989
  type: "transaction";
990
990
  id: string;
991
991
  title: string;
@@ -998,7 +998,6 @@ declare const testEvents: {
998
998
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
999
999
  }, z.ZodTypeAny, "passthrough">> | undefined;
1000
1000
  } | {
1001
- message: string | null;
1002
1001
  entries: ({
1003
1002
  type: "exception";
1004
1003
  data: {
@@ -1101,10 +1100,11 @@ declare const testEvents: {
1101
1100
  type: string;
1102
1101
  data?: unknown;
1103
1102
  })[];
1103
+ message: string | null;
1104
1104
  id: string;
1105
1105
  title: string;
1106
- type?: unknown;
1107
1106
  platform?: string | null | undefined;
1107
+ type?: unknown;
1108
1108
  contexts?: Record<string, z.objectOutputType<{
1109
1109
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
1110
1110
  }, z.ZodTypeAny, "passthrough">> | undefined;
@@ -1113,7 +1113,6 @@ declare const testEvents: {
1113
1113
  declare function createFrameWithContext(frame: Partial<Frame>, contextLines: Array<[number, string]>, vars?: Record<string, any>): Frame;
1114
1114
  declare const advancedFixtures: {
1115
1115
  minimalError: (message: string, platform?: string) => {
1116
- message: string | null;
1117
1116
  entries: ({
1118
1117
  type: "exception";
1119
1118
  data: {
@@ -1216,6 +1215,7 @@ declare const advancedFixtures: {
1216
1215
  type: string;
1217
1216
  data?: unknown;
1218
1217
  })[];
1218
+ message: string | null;
1219
1219
  type: "error";
1220
1220
  id: string;
1221
1221
  title: string;
@@ -1226,7 +1226,6 @@ declare const advancedFixtures: {
1226
1226
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
1227
1227
  }, z.ZodTypeAny, "passthrough">> | undefined;
1228
1228
  } | {
1229
- message: string | null;
1230
1229
  entries: ({
1231
1230
  type: "exception";
1232
1231
  data: {
@@ -1329,6 +1328,7 @@ declare const advancedFixtures: {
1329
1328
  type: string;
1330
1329
  data?: unknown;
1331
1330
  })[];
1331
+ message: string | null;
1332
1332
  type: "transaction";
1333
1333
  id: string;
1334
1334
  title: string;
@@ -1341,7 +1341,6 @@ declare const advancedFixtures: {
1341
1341
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
1342
1342
  }, z.ZodTypeAny, "passthrough">> | undefined;
1343
1343
  } | {
1344
- message: string | null;
1345
1344
  entries: ({
1346
1345
  type: "exception";
1347
1346
  data: {
@@ -1444,16 +1443,16 @@ declare const advancedFixtures: {
1444
1443
  type: string;
1445
1444
  data?: unknown;
1446
1445
  })[];
1446
+ message: string | null;
1447
1447
  id: string;
1448
1448
  title: string;
1449
- type?: unknown;
1450
1449
  platform?: string | null | undefined;
1450
+ type?: unknown;
1451
1451
  contexts?: Record<string, z.objectOutputType<{
1452
1452
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
1453
1453
  }, z.ZodTypeAny, "passthrough">> | undefined;
1454
1454
  };
1455
1455
  chainedExceptions: (platform?: string) => {
1456
- message: string | null;
1457
1456
  entries: ({
1458
1457
  type: "exception";
1459
1458
  data: {
@@ -1556,6 +1555,7 @@ declare const advancedFixtures: {
1556
1555
  type: string;
1557
1556
  data?: unknown;
1558
1557
  })[];
1558
+ message: string | null;
1559
1559
  type: "error";
1560
1560
  id: string;
1561
1561
  title: string;
@@ -1566,7 +1566,6 @@ declare const advancedFixtures: {
1566
1566
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
1567
1567
  }, z.ZodTypeAny, "passthrough">> | undefined;
1568
1568
  } | {
1569
- message: string | null;
1570
1569
  entries: ({
1571
1570
  type: "exception";
1572
1571
  data: {
@@ -1669,6 +1668,7 @@ declare const advancedFixtures: {
1669
1668
  type: string;
1670
1669
  data?: unknown;
1671
1670
  })[];
1671
+ message: string | null;
1672
1672
  type: "transaction";
1673
1673
  id: string;
1674
1674
  title: string;
@@ -1681,7 +1681,6 @@ declare const advancedFixtures: {
1681
1681
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
1682
1682
  }, z.ZodTypeAny, "passthrough">> | undefined;
1683
1683
  } | {
1684
- message: string | null;
1685
1684
  entries: ({
1686
1685
  type: "exception";
1687
1686
  data: {
@@ -1784,16 +1783,16 @@ declare const advancedFixtures: {
1784
1783
  type: string;
1785
1784
  data?: unknown;
1786
1785
  })[];
1786
+ message: string | null;
1787
1787
  id: string;
1788
1788
  title: string;
1789
- type?: unknown;
1790
1789
  platform?: string | null | undefined;
1790
+ type?: unknown;
1791
1791
  contexts?: Record<string, z.objectOutputType<{
1792
1792
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
1793
1793
  }, z.ZodTypeAny, "passthrough">> | undefined;
1794
1794
  };
1795
1795
  withContextData: (contexts: Record<string, any>) => {
1796
- message: string | null;
1797
1796
  entries: ({
1798
1797
  type: "exception";
1799
1798
  data: {
@@ -1896,6 +1895,7 @@ declare const advancedFixtures: {
1896
1895
  type: string;
1897
1896
  data?: unknown;
1898
1897
  })[];
1898
+ message: string | null;
1899
1899
  type: "error";
1900
1900
  id: string;
1901
1901
  title: string;
@@ -1906,7 +1906,6 @@ declare const advancedFixtures: {
1906
1906
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
1907
1907
  }, z.ZodTypeAny, "passthrough">> | undefined;
1908
1908
  } | {
1909
- message: string | null;
1910
1909
  entries: ({
1911
1910
  type: "exception";
1912
1911
  data: {
@@ -2009,6 +2008,7 @@ declare const advancedFixtures: {
2009
2008
  type: string;
2010
2009
  data?: unknown;
2011
2010
  })[];
2011
+ message: string | null;
2012
2012
  type: "transaction";
2013
2013
  id: string;
2014
2014
  title: string;
@@ -2021,7 +2021,6 @@ declare const advancedFixtures: {
2021
2021
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
2022
2022
  }, z.ZodTypeAny, "passthrough">> | undefined;
2023
2023
  } | {
2024
- message: string | null;
2025
2024
  entries: ({
2026
2025
  type: "exception";
2027
2026
  data: {
@@ -2124,10 +2123,11 @@ declare const advancedFixtures: {
2124
2123
  type: string;
2125
2124
  data?: unknown;
2126
2125
  })[];
2126
+ message: string | null;
2127
2127
  id: string;
2128
2128
  title: string;
2129
- type?: unknown;
2130
2129
  platform?: string | null | undefined;
2130
+ type?: unknown;
2131
2131
  contexts?: Record<string, z.objectOutputType<{
2132
2132
  type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
2133
2133
  }, z.ZodTypeAny, "passthrough">> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"test-fixtures.d.ts","names":[],"sources":["../../src/internal/test-fixtures.ts"],"sourcesContent":[],"mappings":";;;;;KASK,KAAA,GAAQ,CAAA,CAAE,aAAa;KACvB,cAAA,GAAiB,CAAA,CAAE,aAAa;AAJP,KAKzB,MAAA,GAAS,CAAA,CAAE,KAFN,CAAA,OAEmB,iBAFnB,CAAA;KAGL,UAAA,GAHK;EAAA,MAAkB,EAGA,KAHA,EAAA;CAAc;AAAtB;AAAA;;;AACE,iBAU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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAH6B;;;;;;;;;;;;;;;;;;;;;qBAAM"}
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-DWy1uDak.cjs');
2
- const require_schema = require('./schema-DPL_hZXP.cjs');
2
+ const require_schema = require('./schema-BL3kwfOA.cjs');
3
3
  const zod = require_chunk.__toESM(require("zod"));
4
4
 
5
5
  //#region src/promptDefinitions.ts
@@ -34,4 +34,4 @@ Object.defineProperty(exports, 'PROMPT_DEFINITIONS', {
34
34
  return PROMPT_DEFINITIONS;
35
35
  }
36
36
  });
37
- //# sourceMappingURL=promptDefinitions-5V4-M69A.cjs.map
37
+ //# sourceMappingURL=promptDefinitions-CWV8hsUX.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"promptDefinitions-5V4-M69A.cjs","names":["ParamOrganizationSlug"],"sources":["../src/promptDefinitions.ts"],"sourcesContent":["/**\n * Prompt definitions for the Sentry MCP server.\n *\n * Declarative definitions for all MCP prompts that provide multi-step workflows\n * and guided interactions with Sentry. Prompts orchestrate sequences of tool calls\n * with structured guidance for complex tasks.\n *\n * @example Prompt Definition Structure\n * ```typescript\n * {\n * name: \"prompt_name\" as const,\n * description: [\n * \"Brief prompt description and purpose.\",\n * \"Additional context about when to use this prompt.\",\n * ].join(\"\\n\"),\n * paramsSchema: {\n * organizationSlug: ParamOrganizationSlug,\n * optionalParam: ParamSchema.optional(),\n * },\n * }\n * ```\n */\nimport { z } from \"zod\";\nimport {\n ParamIssueShortId,\n ParamIssueUrl,\n ParamOrganizationSlug,\n} from \"./schema\";\n\n/**\n * All MCP prompt definitions for the Sentry server.\n *\n * Used by server.ts to register prompts with the MCP server and by prompts.ts\n * for implementation handlers. Each definition includes name, description, and\n * Zod parameter schema for multi-step workflows.\n */\nexport const PROMPT_DEFINITIONS = [\n {\n name: \"find_errors_in_file\" as const,\n description: [\n \"Use this prompt when you need to find errors in Sentry for a given file.\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n filename: z.string().describe(\"The filename to search for errors in.\"),\n },\n },\n {\n name: \"fix_issue_with_seer\" as const,\n description: [\n \"Use this prompt when you need to fix an issue with Seer.\",\n \"You can pass in either an `issueId` and `organizationSlug`, or an `issueUrl`.\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: ParamIssueUrl.optional(),\n },\n },\n];\n"],"mappings":";;;;;;;;;;;;AAoCA,MAAa,qBAAqB,CAChC;CACE,MAAM;CACN,aAAa,CACX,0EACD,EAAC,KAAK,KAAK;CACZ,cAAc;EACZ,kBAAkBA;EAClB,UAAU,MAAE,QAAQ,CAAC,SAAS,wCAAwC;CACvE;AACF,GACD;CACE,MAAM;CACN,aAAa,CACX,4DACA,+EACD,EAAC,KAAK,KAAK;CACZ,cAAc;EACZ,kBAAkB,qCAAsB,UAAU;EAClD,SAAS,iCAAkB,UAAU;EACrC,UAAU,6BAAc,UAAU;CACnC;AACF,CACF"}
1
+ {"version":3,"file":"promptDefinitions-CWV8hsUX.cjs","names":["ParamOrganizationSlug"],"sources":["../src/promptDefinitions.ts"],"sourcesContent":["/**\n * Prompt definitions for the Sentry MCP server.\n *\n * Declarative definitions for all MCP prompts that provide multi-step workflows\n * and guided interactions with Sentry. Prompts orchestrate sequences of tool calls\n * with structured guidance for complex tasks.\n *\n * @example Prompt Definition Structure\n * ```typescript\n * {\n * name: \"prompt_name\" as const,\n * description: [\n * \"Brief prompt description and purpose.\",\n * \"Additional context about when to use this prompt.\",\n * ].join(\"\\n\"),\n * paramsSchema: {\n * organizationSlug: ParamOrganizationSlug,\n * optionalParam: ParamSchema.optional(),\n * },\n * }\n * ```\n */\nimport { z } from \"zod\";\nimport {\n ParamIssueShortId,\n ParamIssueUrl,\n ParamOrganizationSlug,\n} from \"./schema\";\n\n/**\n * All MCP prompt definitions for the Sentry server.\n *\n * Used by server.ts to register prompts with the MCP server and by prompts.ts\n * for implementation handlers. Each definition includes name, description, and\n * Zod parameter schema for multi-step workflows.\n */\nexport const PROMPT_DEFINITIONS = [\n {\n name: \"find_errors_in_file\" as const,\n description: [\n \"Use this prompt when you need to find errors in Sentry for a given file.\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n filename: z.string().describe(\"The filename to search for errors in.\"),\n },\n },\n {\n name: \"fix_issue_with_seer\" as const,\n description: [\n \"Use this prompt when you need to fix an issue with Seer.\",\n \"You can pass in either an `issueId` and `organizationSlug`, or an `issueUrl`.\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: ParamIssueUrl.optional(),\n },\n },\n];\n"],"mappings":";;;;;;;;;;;;AAoCA,MAAa,qBAAqB,CAChC;CACE,MAAM;CACN,aAAa,CACX,0EACD,EAAC,KAAK,KAAK;CACZ,cAAc;EACZ,kBAAkBA;EAClB,UAAU,MAAE,QAAQ,CAAC,SAAS,wCAAwC;CACvE;AACF,GACD;CACE,MAAM;CACN,aAAa,CACX,4DACA,+EACD,EAAC,KAAK,KAAK;CACZ,cAAc;EACZ,kBAAkB,qCAAsB,UAAU;EAClD,SAAS,iCAAkB,UAAU;EACrC,UAAU,6BAAc,UAAU;CACnC;AACF,CACF"}
@@ -1,4 +1,4 @@
1
- import { ParamIssueShortId, ParamIssueUrl, ParamOrganizationSlug } from "./schema-Bv2fvxgy.js";
1
+ import { ParamIssueShortId, ParamIssueUrl, ParamOrganizationSlug } from "./schema-DMfkTR1l.js";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/promptDefinitions.ts
@@ -28,4 +28,4 @@ const PROMPT_DEFINITIONS = [{
28
28
 
29
29
  //#endregion
30
30
  export { PROMPT_DEFINITIONS };
31
- //# sourceMappingURL=promptDefinitions-DyshsF51.js.map
31
+ //# sourceMappingURL=promptDefinitions-DF8nuJVq.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"promptDefinitions-DyshsF51.js","names":[],"sources":["../src/promptDefinitions.ts"],"sourcesContent":["/**\n * Prompt definitions for the Sentry MCP server.\n *\n * Declarative definitions for all MCP prompts that provide multi-step workflows\n * and guided interactions with Sentry. Prompts orchestrate sequences of tool calls\n * with structured guidance for complex tasks.\n *\n * @example Prompt Definition Structure\n * ```typescript\n * {\n * name: \"prompt_name\" as const,\n * description: [\n * \"Brief prompt description and purpose.\",\n * \"Additional context about when to use this prompt.\",\n * ].join(\"\\n\"),\n * paramsSchema: {\n * organizationSlug: ParamOrganizationSlug,\n * optionalParam: ParamSchema.optional(),\n * },\n * }\n * ```\n */\nimport { z } from \"zod\";\nimport {\n ParamIssueShortId,\n ParamIssueUrl,\n ParamOrganizationSlug,\n} from \"./schema\";\n\n/**\n * All MCP prompt definitions for the Sentry server.\n *\n * Used by server.ts to register prompts with the MCP server and by prompts.ts\n * for implementation handlers. Each definition includes name, description, and\n * Zod parameter schema for multi-step workflows.\n */\nexport const PROMPT_DEFINITIONS = [\n {\n name: \"find_errors_in_file\" as const,\n description: [\n \"Use this prompt when you need to find errors in Sentry for a given file.\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n filename: z.string().describe(\"The filename to search for errors in.\"),\n },\n },\n {\n name: \"fix_issue_with_seer\" as const,\n description: [\n \"Use this prompt when you need to fix an issue with Seer.\",\n \"You can pass in either an `issueId` and `organizationSlug`, or an `issueUrl`.\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: ParamIssueUrl.optional(),\n },\n },\n];\n"],"mappings":";;;;;;;;;;;AAoCA,MAAa,qBAAqB,CAChC;CACE,MAAM;CACN,aAAa,CACX,0EACD,EAAC,KAAK,KAAK;CACZ,cAAc;EACZ,kBAAkB;EAClB,UAAU,EAAE,QAAQ,CAAC,SAAS,wCAAwC;CACvE;AACF,GACD;CACE,MAAM;CACN,aAAa,CACX,4DACA,+EACD,EAAC,KAAK,KAAK;CACZ,cAAc;EACZ,kBAAkB,sBAAsB,UAAU;EAClD,SAAS,kBAAkB,UAAU;EACrC,UAAU,cAAc,UAAU;CACnC;AACF,CACF"}
1
+ {"version":3,"file":"promptDefinitions-DF8nuJVq.js","names":[],"sources":["../src/promptDefinitions.ts"],"sourcesContent":["/**\n * Prompt definitions for the Sentry MCP server.\n *\n * Declarative definitions for all MCP prompts that provide multi-step workflows\n * and guided interactions with Sentry. Prompts orchestrate sequences of tool calls\n * with structured guidance for complex tasks.\n *\n * @example Prompt Definition Structure\n * ```typescript\n * {\n * name: \"prompt_name\" as const,\n * description: [\n * \"Brief prompt description and purpose.\",\n * \"Additional context about when to use this prompt.\",\n * ].join(\"\\n\"),\n * paramsSchema: {\n * organizationSlug: ParamOrganizationSlug,\n * optionalParam: ParamSchema.optional(),\n * },\n * }\n * ```\n */\nimport { z } from \"zod\";\nimport {\n ParamIssueShortId,\n ParamIssueUrl,\n ParamOrganizationSlug,\n} from \"./schema\";\n\n/**\n * All MCP prompt definitions for the Sentry server.\n *\n * Used by server.ts to register prompts with the MCP server and by prompts.ts\n * for implementation handlers. Each definition includes name, description, and\n * Zod parameter schema for multi-step workflows.\n */\nexport const PROMPT_DEFINITIONS = [\n {\n name: \"find_errors_in_file\" as const,\n description: [\n \"Use this prompt when you need to find errors in Sentry for a given file.\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n filename: z.string().describe(\"The filename to search for errors in.\"),\n },\n },\n {\n name: \"fix_issue_with_seer\" as const,\n description: [\n \"Use this prompt when you need to fix an issue with Seer.\",\n \"You can pass in either an `issueId` and `organizationSlug`, or an `issueUrl`.\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: ParamIssueUrl.optional(),\n },\n },\n];\n"],"mappings":";;;;;;;;;;;AAoCA,MAAa,qBAAqB,CAChC;CACE,MAAM;CACN,aAAa,CACX,0EACD,EAAC,KAAK,KAAK;CACZ,cAAc;EACZ,kBAAkB;EAClB,UAAU,EAAE,QAAQ,CAAC,SAAS,wCAAwC;CACvE;AACF,GACD;CACE,MAAM;CACN,aAAa,CACX,4DACA,+EACD,EAAC,KAAK,KAAK;CACZ,cAAc;EACZ,kBAAkB,sBAAsB,UAAU;EAClD,SAAS,kBAAkB,UAAU;EACrC,UAAU,cAAc,UAAU;CACnC;AACF,CACF"}
@@ -1,5 +1,5 @@
1
- require('./constants-ClkMK29-.cjs');
2
- require('./schema-DPL_hZXP.cjs');
3
- const require_promptDefinitions = require('./promptDefinitions-5V4-M69A.cjs');
1
+ require('./constants-wrEbre3j.cjs');
2
+ require('./schema-BL3kwfOA.cjs');
3
+ const require_promptDefinitions = require('./promptDefinitions-CWV8hsUX.cjs');
4
4
 
5
5
  exports.PROMPT_DEFINITIONS = require_promptDefinitions.PROMPT_DEFINITIONS;
@@ -1,5 +1,5 @@
1
- import "./constants-S7AU45oQ.js";
2
- import "./schema-Bv2fvxgy.js";
3
- import { PROMPT_DEFINITIONS } from "./promptDefinitions-DyshsF51.js";
1
+ import "./constants-Fe-4NTUo.js";
2
+ import "./schema-DMfkTR1l.js";
3
+ import { PROMPT_DEFINITIONS } from "./promptDefinitions-DF8nuJVq.js";
4
4
 
5
5
  export { PROMPT_DEFINITIONS };
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-DWy1uDak.cjs');
2
- const require_constants = require('./constants-ClkMK29-.cjs');
2
+ const require_constants = require('./constants-wrEbre3j.cjs');
3
3
  const require_errors = require('./errors-BtJEw2Z-.cjs');
4
4
  const __modelcontextprotocol_sdk_server_mcp_js = require_chunk.__toESM(require("@modelcontextprotocol/sdk/server/mcp.js"));
5
5
 
@@ -69,4 +69,4 @@ Object.defineProperty(exports, 'isTemplateResource', {
69
69
  return isTemplateResource;
70
70
  }
71
71
  });
72
- //# sourceMappingURL=resources-TCvijqOA.cjs.map
72
+ //# sourceMappingURL=resources-Dadvq5Fm.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"resources-TCvijqOA.cjs","names":["resource: ResourceConfig","ResourceTemplate","url: URL","_extra: RequestHandlerExtra<any, any>","UserInputError","RESOURCES: ResourceConfig[]","SENTRY_FRAMEWORKS"],"sources":["../src/resources.ts"],"sourcesContent":["/**\n * MCP Resources for external documentation and reference materials.\n *\n * Defines MCP resources that provide access to external documentation and\n * knowledge bases. Resources enable LLMs to access contextual information\n * during tool execution without embedding large documents in the codebase.\n *\n * @see https://modelcontextprotocol.io/docs/concepts/resources - MCP Resources specification\n *\n * @example Resource Definition\n * ```typescript\n * {\n * name: \"sentry-docs-platform\",\n * template: new ResourceTemplate(\"https://docs.sentry.io/platforms/{platform}/\"),\n * mimeType: \"text/markdown\",\n * description: \"Sentry SDK documentation for {platform}\",\n * handler: sentryDocsHandler,\n * }\n * ```\n */\nimport {\n ResourceTemplate,\n type ReadResourceCallback,\n type ReadResourceTemplateCallback,\n} from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport type { ReadResourceResult } from \"@modelcontextprotocol/sdk/types.js\";\nimport type { RequestHandlerExtra } from \"@modelcontextprotocol/sdk/shared/protocol.js\";\nimport { UserInputError } from \"./errors\";\n\n/**\n * Resource configuration for regular URI resources\n */\nexport type UriResourceConfig = {\n name: string;\n description: string;\n mimeType: string;\n uri: string;\n handler: ReadResourceCallback;\n};\n\n/**\n * Resource configuration for URI template resources\n */\nexport type TemplateResourceConfig = {\n name: string;\n description: string;\n mimeType: string;\n template: ResourceTemplate;\n handler: ReadResourceCallback; // Changed back to ReadResourceCallback\n};\n\n/**\n * Resource configuration with handler function\n */\nexport type ResourceConfig = UriResourceConfig | TemplateResourceConfig;\n\n/**\n * Type guard to check if a resource uses a URI template\n */\nexport function isTemplateResource(\n resource: ResourceConfig,\n): resource is TemplateResourceConfig {\n return (\n \"template\" in resource && resource.template instanceof ResourceTemplate\n );\n}\n\n/**\n * Fetches raw content from GitHub repositories.\n * Converts GitHub blob URLs to raw content URLs.\n */\nasync function fetchRawGithubContent(rawPath: string) {\n const path = rawPath.replace(\"/blob\", \"\");\n\n return fetch(`https://raw.githubusercontent.com${path}`).then((res) =>\n res.text(),\n );\n}\n\n/**\n * Default handler for GitHub-hosted resources.\n * Converts GitHub blob URLs to raw content URLs and returns MCP resource format.\n */\nasync function defaultGitHubHandler(\n url: URL,\n _extra: RequestHandlerExtra<any, any>,\n): Promise<ReadResourceResult> {\n const rawPath = url.pathname;\n const content = await fetchRawGithubContent(rawPath);\n return {\n contents: [\n {\n uri: url.toString(),\n mimeType: \"text/plain\",\n text: content,\n },\n ],\n };\n}\n\n/**\n * Fetches Sentry documentation in markdown format.\n * Converts docs.sentry.io URLs to their markdown equivalents.\n *\n * The handler receives the exact URI from the resource definition,\n * but dynamically constructs the markdown URL based on the actual request.\n */\nasync function sentryDocsHandler(\n url: URL,\n _extra: RequestHandlerExtra<any, any>,\n): Promise<ReadResourceResult> {\n // The URL passed here is the actual docs.sentry.io URL being requested\n // Transform it to fetch the markdown version\n const path = `${url.pathname.replace(/\\/$/, \"\")}.md`;\n const mdUrl = `${url.origin}${path}`;\n\n const response = await fetch(mdUrl, {\n headers: {\n \"User-Agent\": \"Sentry MCP Server\",\n },\n });\n if (!response.ok) {\n if (response.status === 404) {\n throw new UserInputError(\n `Sentry documentation not found at ${url.pathname}. Please check the URL is correct.`,\n );\n }\n throw new Error(\n `Failed to fetch Sentry docs: ${response.status} ${response.statusText}`,\n );\n }\n\n const content = await response.text();\n\n return {\n contents: [\n {\n uri: url.toString(),\n mimeType: \"text/markdown\",\n text: content,\n },\n ],\n };\n}\n\n/**\n * Registry of all MCP resources available to LLMs.\n * Defines external documentation and reference materials with their handlers.\n */\n// XXX: Try to keep the description in sync with the MDC file itself\n// Note: In an ideal world these would live on-disk in this same repo and we'd\n// simply parse everything out, but given we're running the service on cloudflare\n// and the author barely knows TypeScript, we're opting for a solution we've\n// seen employed elsewhere (h/t Neon)\n\n// Import platform constants from constants\nimport { SENTRY_PLATFORMS_BASE, SENTRY_FRAMEWORKS } from \"./constants\";\n\nexport const RESOURCES: ResourceConfig[] = [\n // Platform documentation with dynamic segments\n {\n name: \"sentry-docs-platform\",\n template: new ResourceTemplate(\n \"https://docs.sentry.io/platforms/{platform}/\",\n {\n list: async (_extra) => ({\n resources: SENTRY_PLATFORMS_BASE.map((platform) => ({\n uri: `https://docs.sentry.io/platforms/${platform}/`,\n name: `${platform}-docs`,\n description: `Sentry SDK documentation for ${platform}`,\n mimeType: \"text/markdown\",\n })),\n }),\n },\n ),\n mimeType: \"text/markdown\",\n description: \"Sentry SDK documentation for {platform}\",\n handler: sentryDocsHandler,\n } as TemplateResourceConfig,\n {\n name: \"sentry-docs-platform-guide\",\n template: new ResourceTemplate(\n \"https://docs.sentry.io/platforms/{platform}/guides/{framework}/\",\n {\n list: async (_extra) => ({\n resources: Object.entries(SENTRY_FRAMEWORKS).flatMap(\n ([platform, frameworks]) =>\n frameworks.map((framework) => ({\n uri: `https://docs.sentry.io/platforms/${platform}/guides/${framework}/`,\n name: `${platform}-${framework}-guide`,\n description: `Sentry integration guide for ${framework} on ${platform}`,\n mimeType: \"text/markdown\",\n })),\n ),\n }),\n },\n ),\n mimeType: \"text/markdown\",\n description: \"Sentry integration guide for {framework} on {platform}\",\n handler: sentryDocsHandler,\n } as TemplateResourceConfig,\n];\n"],"mappings":";;;;;;;;;AA2DA,SAAgB,mBACdA,UACoC;AACpC,QACE,cAAc,YAAY,SAAS,oBAAoBC;AAE1D;;;;;;;;AA0CD,eAAe,kBACbC,KACAC,QAC6B;CAG7B,MAAM,UAAU,IAAI,SAAS,QAAQ,OAAO,GAAG,CAAC;CAChD,MAAM,WAAW,IAAI,SAAS;CAE9B,MAAM,WAAW,MAAM,MAAM,OAAO,EAClC,SAAS,EACP,cAAc,oBACf,EACF,EAAC;AACF,MAAK,SAAS,IAAI;AAChB,MAAI,SAAS,WAAW,IACtB,OAAM,IAAIC,+BACP,oCAAoC,IAAI,SAAS;AAGtD,QAAM,IAAI,OACP,+BAA+B,SAAS,OAAO,GAAG,SAAS;CAE/D;CAED,MAAM,UAAU,MAAM,SAAS,MAAM;AAErC,QAAO,EACL,UAAU,CACR;EACE,KAAK,IAAI,UAAU;EACnB,UAAU;EACV,MAAM;CACP,CACF,EACF;AACF;AAeD,MAAaC,YAA8B,CAEzC;CACE,MAAM;CACN,UAAU,IAAIJ,0DACZ,gDACA,EACE,MAAM,OAAO,YAAY,EACvB,WAAW,wCAAsB,IAAI,CAAC,cAAc;EAClD,MAAM,mCAAmC,SAAS;EAClD,SAAS,SAAS;EAClB,cAAc,+BAA+B;EAC7C,UAAU;CACX,GAAE,CACJ,GACF;CAEH,UAAU;CACV,aAAa;CACb,SAAS;AACV,GACD;CACE,MAAM;CACN,UAAU,IAAIA,0DACZ,mEACA,EACE,MAAM,OAAO,YAAY,EACvB,WAAW,OAAO,QAAQK,oCAAkB,CAAC,QAC3C,CAAC,CAAC,UAAU,WAAW,KACrB,WAAW,IAAI,CAAC,eAAe;EAC7B,MAAM,mCAAmC,SAAS,UAAU,UAAU;EACtE,SAAS,SAAS,GAAG,UAAU;EAC/B,cAAc,+BAA+B,UAAU,MAAM;EAC7D,UAAU;CACX,GAAE,CACN,CACF,GACF;CAEH,UAAU;CACV,aAAa;CACb,SAAS;AACV,CACF"}
1
+ {"version":3,"file":"resources-Dadvq5Fm.cjs","names":["resource: ResourceConfig","ResourceTemplate","url: URL","_extra: RequestHandlerExtra<any, any>","UserInputError","RESOURCES: ResourceConfig[]","SENTRY_FRAMEWORKS"],"sources":["../src/resources.ts"],"sourcesContent":["/**\n * MCP Resources for external documentation and reference materials.\n *\n * Defines MCP resources that provide access to external documentation and\n * knowledge bases. Resources enable LLMs to access contextual information\n * during tool execution without embedding large documents in the codebase.\n *\n * @see https://modelcontextprotocol.io/docs/concepts/resources - MCP Resources specification\n *\n * @example Resource Definition\n * ```typescript\n * {\n * name: \"sentry-docs-platform\",\n * template: new ResourceTemplate(\"https://docs.sentry.io/platforms/{platform}/\"),\n * mimeType: \"text/markdown\",\n * description: \"Sentry SDK documentation for {platform}\",\n * handler: sentryDocsHandler,\n * }\n * ```\n */\nimport {\n ResourceTemplate,\n type ReadResourceCallback,\n type ReadResourceTemplateCallback,\n} from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport type { ReadResourceResult } from \"@modelcontextprotocol/sdk/types.js\";\nimport type { RequestHandlerExtra } from \"@modelcontextprotocol/sdk/shared/protocol.js\";\nimport { UserInputError } from \"./errors\";\n\n/**\n * Resource configuration for regular URI resources\n */\nexport type UriResourceConfig = {\n name: string;\n description: string;\n mimeType: string;\n uri: string;\n handler: ReadResourceCallback;\n};\n\n/**\n * Resource configuration for URI template resources\n */\nexport type TemplateResourceConfig = {\n name: string;\n description: string;\n mimeType: string;\n template: ResourceTemplate;\n handler: ReadResourceCallback; // Changed back to ReadResourceCallback\n};\n\n/**\n * Resource configuration with handler function\n */\nexport type ResourceConfig = UriResourceConfig | TemplateResourceConfig;\n\n/**\n * Type guard to check if a resource uses a URI template\n */\nexport function isTemplateResource(\n resource: ResourceConfig,\n): resource is TemplateResourceConfig {\n return (\n \"template\" in resource && resource.template instanceof ResourceTemplate\n );\n}\n\n/**\n * Fetches raw content from GitHub repositories.\n * Converts GitHub blob URLs to raw content URLs.\n */\nasync function fetchRawGithubContent(rawPath: string) {\n const path = rawPath.replace(\"/blob\", \"\");\n\n return fetch(`https://raw.githubusercontent.com${path}`).then((res) =>\n res.text(),\n );\n}\n\n/**\n * Default handler for GitHub-hosted resources.\n * Converts GitHub blob URLs to raw content URLs and returns MCP resource format.\n */\nasync function defaultGitHubHandler(\n url: URL,\n _extra: RequestHandlerExtra<any, any>,\n): Promise<ReadResourceResult> {\n const rawPath = url.pathname;\n const content = await fetchRawGithubContent(rawPath);\n return {\n contents: [\n {\n uri: url.toString(),\n mimeType: \"text/plain\",\n text: content,\n },\n ],\n };\n}\n\n/**\n * Fetches Sentry documentation in markdown format.\n * Converts docs.sentry.io URLs to their markdown equivalents.\n *\n * The handler receives the exact URI from the resource definition,\n * but dynamically constructs the markdown URL based on the actual request.\n */\nasync function sentryDocsHandler(\n url: URL,\n _extra: RequestHandlerExtra<any, any>,\n): Promise<ReadResourceResult> {\n // The URL passed here is the actual docs.sentry.io URL being requested\n // Transform it to fetch the markdown version\n const path = `${url.pathname.replace(/\\/$/, \"\")}.md`;\n const mdUrl = `${url.origin}${path}`;\n\n const response = await fetch(mdUrl, {\n headers: {\n \"User-Agent\": \"Sentry MCP Server\",\n },\n });\n if (!response.ok) {\n if (response.status === 404) {\n throw new UserInputError(\n `Sentry documentation not found at ${url.pathname}. Please check the URL is correct.`,\n );\n }\n throw new Error(\n `Failed to fetch Sentry docs: ${response.status} ${response.statusText}`,\n );\n }\n\n const content = await response.text();\n\n return {\n contents: [\n {\n uri: url.toString(),\n mimeType: \"text/markdown\",\n text: content,\n },\n ],\n };\n}\n\n/**\n * Registry of all MCP resources available to LLMs.\n * Defines external documentation and reference materials with their handlers.\n */\n// XXX: Try to keep the description in sync with the MDC file itself\n// Note: In an ideal world these would live on-disk in this same repo and we'd\n// simply parse everything out, but given we're running the service on cloudflare\n// and the author barely knows TypeScript, we're opting for a solution we've\n// seen employed elsewhere (h/t Neon)\n\n// Import platform constants from constants\nimport { SENTRY_PLATFORMS_BASE, SENTRY_FRAMEWORKS } from \"./constants\";\n\nexport const RESOURCES: ResourceConfig[] = [\n // Platform documentation with dynamic segments\n {\n name: \"sentry-docs-platform\",\n template: new ResourceTemplate(\n \"https://docs.sentry.io/platforms/{platform}/\",\n {\n list: async (_extra) => ({\n resources: SENTRY_PLATFORMS_BASE.map((platform) => ({\n uri: `https://docs.sentry.io/platforms/${platform}/`,\n name: `${platform}-docs`,\n description: `Sentry SDK documentation for ${platform}`,\n mimeType: \"text/markdown\",\n })),\n }),\n },\n ),\n mimeType: \"text/markdown\",\n description: \"Sentry SDK documentation for {platform}\",\n handler: sentryDocsHandler,\n } as TemplateResourceConfig,\n {\n name: \"sentry-docs-platform-guide\",\n template: new ResourceTemplate(\n \"https://docs.sentry.io/platforms/{platform}/guides/{framework}/\",\n {\n list: async (_extra) => ({\n resources: Object.entries(SENTRY_FRAMEWORKS).flatMap(\n ([platform, frameworks]) =>\n frameworks.map((framework) => ({\n uri: `https://docs.sentry.io/platforms/${platform}/guides/${framework}/`,\n name: `${platform}-${framework}-guide`,\n description: `Sentry integration guide for ${framework} on ${platform}`,\n mimeType: \"text/markdown\",\n })),\n ),\n }),\n },\n ),\n mimeType: \"text/markdown\",\n description: \"Sentry integration guide for {framework} on {platform}\",\n handler: sentryDocsHandler,\n } as TemplateResourceConfig,\n];\n"],"mappings":";;;;;;;;;AA2DA,SAAgB,mBACdA,UACoC;AACpC,QACE,cAAc,YAAY,SAAS,oBAAoBC;AAE1D;;;;;;;;AA0CD,eAAe,kBACbC,KACAC,QAC6B;CAG7B,MAAM,UAAU,IAAI,SAAS,QAAQ,OAAO,GAAG,CAAC;CAChD,MAAM,WAAW,IAAI,SAAS;CAE9B,MAAM,WAAW,MAAM,MAAM,OAAO,EAClC,SAAS,EACP,cAAc,oBACf,EACF,EAAC;AACF,MAAK,SAAS,IAAI;AAChB,MAAI,SAAS,WAAW,IACtB,OAAM,IAAIC,+BACP,oCAAoC,IAAI,SAAS;AAGtD,QAAM,IAAI,OACP,+BAA+B,SAAS,OAAO,GAAG,SAAS;CAE/D;CAED,MAAM,UAAU,MAAM,SAAS,MAAM;AAErC,QAAO,EACL,UAAU,CACR;EACE,KAAK,IAAI,UAAU;EACnB,UAAU;EACV,MAAM;CACP,CACF,EACF;AACF;AAeD,MAAaC,YAA8B,CAEzC;CACE,MAAM;CACN,UAAU,IAAIJ,0DACZ,gDACA,EACE,MAAM,OAAO,YAAY,EACvB,WAAW,wCAAsB,IAAI,CAAC,cAAc;EAClD,MAAM,mCAAmC,SAAS;EAClD,SAAS,SAAS;EAClB,cAAc,+BAA+B;EAC7C,UAAU;CACX,GAAE,CACJ,GACF;CAEH,UAAU;CACV,aAAa;CACb,SAAS;AACV,GACD;CACE,MAAM;CACN,UAAU,IAAIA,0DACZ,mEACA,EACE,MAAM,OAAO,YAAY,EACvB,WAAW,OAAO,QAAQK,oCAAkB,CAAC,QAC3C,CAAC,CAAC,UAAU,WAAW,KACrB,WAAW,IAAI,CAAC,eAAe;EAC7B,MAAM,mCAAmC,SAAS,UAAU,UAAU;EACtE,SAAS,SAAS,GAAG,UAAU;EAC/B,cAAc,+BAA+B,UAAU,MAAM;EAC7D,UAAU;CACX,GAAE,CACN,CACF,GACF;CAEH,UAAU;CACV,aAAa;CACb,SAAS;AACV,CACF"}
@@ -1,4 +1,4 @@
1
- import { SENTRY_FRAMEWORKS, SENTRY_PLATFORMS_BASE } from "./constants-S7AU45oQ.js";
1
+ import { SENTRY_FRAMEWORKS, SENTRY_PLATFORMS_BASE } from "./constants-Fe-4NTUo.js";
2
2
  import { UserInputError } from "./errors-D_R568zP.js";
3
3
  import { ResourceTemplate } from "@modelcontextprotocol/sdk/server/mcp.js";
4
4
 
@@ -57,4 +57,4 @@ const RESOURCES = [{
57
57
 
58
58
  //#endregion
59
59
  export { RESOURCES, isTemplateResource };
60
- //# sourceMappingURL=resources-CSxBC9gs.js.map
60
+ //# sourceMappingURL=resources-jcFoc4JU.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resources-CSxBC9gs.js","names":["resource: ResourceConfig","url: URL","_extra: RequestHandlerExtra<any, any>","RESOURCES: ResourceConfig[]"],"sources":["../src/resources.ts"],"sourcesContent":["/**\n * MCP Resources for external documentation and reference materials.\n *\n * Defines MCP resources that provide access to external documentation and\n * knowledge bases. Resources enable LLMs to access contextual information\n * during tool execution without embedding large documents in the codebase.\n *\n * @see https://modelcontextprotocol.io/docs/concepts/resources - MCP Resources specification\n *\n * @example Resource Definition\n * ```typescript\n * {\n * name: \"sentry-docs-platform\",\n * template: new ResourceTemplate(\"https://docs.sentry.io/platforms/{platform}/\"),\n * mimeType: \"text/markdown\",\n * description: \"Sentry SDK documentation for {platform}\",\n * handler: sentryDocsHandler,\n * }\n * ```\n */\nimport {\n ResourceTemplate,\n type ReadResourceCallback,\n type ReadResourceTemplateCallback,\n} from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport type { ReadResourceResult } from \"@modelcontextprotocol/sdk/types.js\";\nimport type { RequestHandlerExtra } from \"@modelcontextprotocol/sdk/shared/protocol.js\";\nimport { UserInputError } from \"./errors\";\n\n/**\n * Resource configuration for regular URI resources\n */\nexport type UriResourceConfig = {\n name: string;\n description: string;\n mimeType: string;\n uri: string;\n handler: ReadResourceCallback;\n};\n\n/**\n * Resource configuration for URI template resources\n */\nexport type TemplateResourceConfig = {\n name: string;\n description: string;\n mimeType: string;\n template: ResourceTemplate;\n handler: ReadResourceCallback; // Changed back to ReadResourceCallback\n};\n\n/**\n * Resource configuration with handler function\n */\nexport type ResourceConfig = UriResourceConfig | TemplateResourceConfig;\n\n/**\n * Type guard to check if a resource uses a URI template\n */\nexport function isTemplateResource(\n resource: ResourceConfig,\n): resource is TemplateResourceConfig {\n return (\n \"template\" in resource && resource.template instanceof ResourceTemplate\n );\n}\n\n/**\n * Fetches raw content from GitHub repositories.\n * Converts GitHub blob URLs to raw content URLs.\n */\nasync function fetchRawGithubContent(rawPath: string) {\n const path = rawPath.replace(\"/blob\", \"\");\n\n return fetch(`https://raw.githubusercontent.com${path}`).then((res) =>\n res.text(),\n );\n}\n\n/**\n * Default handler for GitHub-hosted resources.\n * Converts GitHub blob URLs to raw content URLs and returns MCP resource format.\n */\nasync function defaultGitHubHandler(\n url: URL,\n _extra: RequestHandlerExtra<any, any>,\n): Promise<ReadResourceResult> {\n const rawPath = url.pathname;\n const content = await fetchRawGithubContent(rawPath);\n return {\n contents: [\n {\n uri: url.toString(),\n mimeType: \"text/plain\",\n text: content,\n },\n ],\n };\n}\n\n/**\n * Fetches Sentry documentation in markdown format.\n * Converts docs.sentry.io URLs to their markdown equivalents.\n *\n * The handler receives the exact URI from the resource definition,\n * but dynamically constructs the markdown URL based on the actual request.\n */\nasync function sentryDocsHandler(\n url: URL,\n _extra: RequestHandlerExtra<any, any>,\n): Promise<ReadResourceResult> {\n // The URL passed here is the actual docs.sentry.io URL being requested\n // Transform it to fetch the markdown version\n const path = `${url.pathname.replace(/\\/$/, \"\")}.md`;\n const mdUrl = `${url.origin}${path}`;\n\n const response = await fetch(mdUrl, {\n headers: {\n \"User-Agent\": \"Sentry MCP Server\",\n },\n });\n if (!response.ok) {\n if (response.status === 404) {\n throw new UserInputError(\n `Sentry documentation not found at ${url.pathname}. Please check the URL is correct.`,\n );\n }\n throw new Error(\n `Failed to fetch Sentry docs: ${response.status} ${response.statusText}`,\n );\n }\n\n const content = await response.text();\n\n return {\n contents: [\n {\n uri: url.toString(),\n mimeType: \"text/markdown\",\n text: content,\n },\n ],\n };\n}\n\n/**\n * Registry of all MCP resources available to LLMs.\n * Defines external documentation and reference materials with their handlers.\n */\n// XXX: Try to keep the description in sync with the MDC file itself\n// Note: In an ideal world these would live on-disk in this same repo and we'd\n// simply parse everything out, but given we're running the service on cloudflare\n// and the author barely knows TypeScript, we're opting for a solution we've\n// seen employed elsewhere (h/t Neon)\n\n// Import platform constants from constants\nimport { SENTRY_PLATFORMS_BASE, SENTRY_FRAMEWORKS } from \"./constants\";\n\nexport const RESOURCES: ResourceConfig[] = [\n // Platform documentation with dynamic segments\n {\n name: \"sentry-docs-platform\",\n template: new ResourceTemplate(\n \"https://docs.sentry.io/platforms/{platform}/\",\n {\n list: async (_extra) => ({\n resources: SENTRY_PLATFORMS_BASE.map((platform) => ({\n uri: `https://docs.sentry.io/platforms/${platform}/`,\n name: `${platform}-docs`,\n description: `Sentry SDK documentation for ${platform}`,\n mimeType: \"text/markdown\",\n })),\n }),\n },\n ),\n mimeType: \"text/markdown\",\n description: \"Sentry SDK documentation for {platform}\",\n handler: sentryDocsHandler,\n } as TemplateResourceConfig,\n {\n name: \"sentry-docs-platform-guide\",\n template: new ResourceTemplate(\n \"https://docs.sentry.io/platforms/{platform}/guides/{framework}/\",\n {\n list: async (_extra) => ({\n resources: Object.entries(SENTRY_FRAMEWORKS).flatMap(\n ([platform, frameworks]) =>\n frameworks.map((framework) => ({\n uri: `https://docs.sentry.io/platforms/${platform}/guides/${framework}/`,\n name: `${platform}-${framework}-guide`,\n description: `Sentry integration guide for ${framework} on ${platform}`,\n mimeType: \"text/markdown\",\n })),\n ),\n }),\n },\n ),\n mimeType: \"text/markdown\",\n description: \"Sentry integration guide for {framework} on {platform}\",\n handler: sentryDocsHandler,\n } as TemplateResourceConfig,\n];\n"],"mappings":";;;;;;;;AA2DA,SAAgB,mBACdA,UACoC;AACpC,QACE,cAAc,YAAY,SAAS,oBAAoB;AAE1D;;;;;;;;AA0CD,eAAe,kBACbC,KACAC,QAC6B;CAG7B,MAAM,UAAU,IAAI,SAAS,QAAQ,OAAO,GAAG,CAAC;CAChD,MAAM,WAAW,IAAI,SAAS;CAE9B,MAAM,WAAW,MAAM,MAAM,OAAO,EAClC,SAAS,EACP,cAAc,oBACf,EACF,EAAC;AACF,MAAK,SAAS,IAAI;AAChB,MAAI,SAAS,WAAW,IACtB,OAAM,IAAI,gBACP,oCAAoC,IAAI,SAAS;AAGtD,QAAM,IAAI,OACP,+BAA+B,SAAS,OAAO,GAAG,SAAS;CAE/D;CAED,MAAM,UAAU,MAAM,SAAS,MAAM;AAErC,QAAO,EACL,UAAU,CACR;EACE,KAAK,IAAI,UAAU;EACnB,UAAU;EACV,MAAM;CACP,CACF,EACF;AACF;AAeD,MAAaC,YAA8B,CAEzC;CACE,MAAM;CACN,UAAU,IAAI,iBACZ,gDACA,EACE,MAAM,OAAO,YAAY,EACvB,WAAW,sBAAsB,IAAI,CAAC,cAAc;EAClD,MAAM,mCAAmC,SAAS;EAClD,SAAS,SAAS;EAClB,cAAc,+BAA+B;EAC7C,UAAU;CACX,GAAE,CACJ,GACF;CAEH,UAAU;CACV,aAAa;CACb,SAAS;AACV,GACD;CACE,MAAM;CACN,UAAU,IAAI,iBACZ,mEACA,EACE,MAAM,OAAO,YAAY,EACvB,WAAW,OAAO,QAAQ,kBAAkB,CAAC,QAC3C,CAAC,CAAC,UAAU,WAAW,KACrB,WAAW,IAAI,CAAC,eAAe;EAC7B,MAAM,mCAAmC,SAAS,UAAU,UAAU;EACtE,SAAS,SAAS,GAAG,UAAU;EAC/B,cAAc,+BAA+B,UAAU,MAAM;EAC7D,UAAU;CACX,GAAE,CACN,CACF,GACF;CAEH,UAAU;CACV,aAAa;CACb,SAAS;AACV,CACF"}
1
+ {"version":3,"file":"resources-jcFoc4JU.js","names":["resource: ResourceConfig","url: URL","_extra: RequestHandlerExtra<any, any>","RESOURCES: ResourceConfig[]"],"sources":["../src/resources.ts"],"sourcesContent":["/**\n * MCP Resources for external documentation and reference materials.\n *\n * Defines MCP resources that provide access to external documentation and\n * knowledge bases. Resources enable LLMs to access contextual information\n * during tool execution without embedding large documents in the codebase.\n *\n * @see https://modelcontextprotocol.io/docs/concepts/resources - MCP Resources specification\n *\n * @example Resource Definition\n * ```typescript\n * {\n * name: \"sentry-docs-platform\",\n * template: new ResourceTemplate(\"https://docs.sentry.io/platforms/{platform}/\"),\n * mimeType: \"text/markdown\",\n * description: \"Sentry SDK documentation for {platform}\",\n * handler: sentryDocsHandler,\n * }\n * ```\n */\nimport {\n ResourceTemplate,\n type ReadResourceCallback,\n type ReadResourceTemplateCallback,\n} from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport type { ReadResourceResult } from \"@modelcontextprotocol/sdk/types.js\";\nimport type { RequestHandlerExtra } from \"@modelcontextprotocol/sdk/shared/protocol.js\";\nimport { UserInputError } from \"./errors\";\n\n/**\n * Resource configuration for regular URI resources\n */\nexport type UriResourceConfig = {\n name: string;\n description: string;\n mimeType: string;\n uri: string;\n handler: ReadResourceCallback;\n};\n\n/**\n * Resource configuration for URI template resources\n */\nexport type TemplateResourceConfig = {\n name: string;\n description: string;\n mimeType: string;\n template: ResourceTemplate;\n handler: ReadResourceCallback; // Changed back to ReadResourceCallback\n};\n\n/**\n * Resource configuration with handler function\n */\nexport type ResourceConfig = UriResourceConfig | TemplateResourceConfig;\n\n/**\n * Type guard to check if a resource uses a URI template\n */\nexport function isTemplateResource(\n resource: ResourceConfig,\n): resource is TemplateResourceConfig {\n return (\n \"template\" in resource && resource.template instanceof ResourceTemplate\n );\n}\n\n/**\n * Fetches raw content from GitHub repositories.\n * Converts GitHub blob URLs to raw content URLs.\n */\nasync function fetchRawGithubContent(rawPath: string) {\n const path = rawPath.replace(\"/blob\", \"\");\n\n return fetch(`https://raw.githubusercontent.com${path}`).then((res) =>\n res.text(),\n );\n}\n\n/**\n * Default handler for GitHub-hosted resources.\n * Converts GitHub blob URLs to raw content URLs and returns MCP resource format.\n */\nasync function defaultGitHubHandler(\n url: URL,\n _extra: RequestHandlerExtra<any, any>,\n): Promise<ReadResourceResult> {\n const rawPath = url.pathname;\n const content = await fetchRawGithubContent(rawPath);\n return {\n contents: [\n {\n uri: url.toString(),\n mimeType: \"text/plain\",\n text: content,\n },\n ],\n };\n}\n\n/**\n * Fetches Sentry documentation in markdown format.\n * Converts docs.sentry.io URLs to their markdown equivalents.\n *\n * The handler receives the exact URI from the resource definition,\n * but dynamically constructs the markdown URL based on the actual request.\n */\nasync function sentryDocsHandler(\n url: URL,\n _extra: RequestHandlerExtra<any, any>,\n): Promise<ReadResourceResult> {\n // The URL passed here is the actual docs.sentry.io URL being requested\n // Transform it to fetch the markdown version\n const path = `${url.pathname.replace(/\\/$/, \"\")}.md`;\n const mdUrl = `${url.origin}${path}`;\n\n const response = await fetch(mdUrl, {\n headers: {\n \"User-Agent\": \"Sentry MCP Server\",\n },\n });\n if (!response.ok) {\n if (response.status === 404) {\n throw new UserInputError(\n `Sentry documentation not found at ${url.pathname}. Please check the URL is correct.`,\n );\n }\n throw new Error(\n `Failed to fetch Sentry docs: ${response.status} ${response.statusText}`,\n );\n }\n\n const content = await response.text();\n\n return {\n contents: [\n {\n uri: url.toString(),\n mimeType: \"text/markdown\",\n text: content,\n },\n ],\n };\n}\n\n/**\n * Registry of all MCP resources available to LLMs.\n * Defines external documentation and reference materials with their handlers.\n */\n// XXX: Try to keep the description in sync with the MDC file itself\n// Note: In an ideal world these would live on-disk in this same repo and we'd\n// simply parse everything out, but given we're running the service on cloudflare\n// and the author barely knows TypeScript, we're opting for a solution we've\n// seen employed elsewhere (h/t Neon)\n\n// Import platform constants from constants\nimport { SENTRY_PLATFORMS_BASE, SENTRY_FRAMEWORKS } from \"./constants\";\n\nexport const RESOURCES: ResourceConfig[] = [\n // Platform documentation with dynamic segments\n {\n name: \"sentry-docs-platform\",\n template: new ResourceTemplate(\n \"https://docs.sentry.io/platforms/{platform}/\",\n {\n list: async (_extra) => ({\n resources: SENTRY_PLATFORMS_BASE.map((platform) => ({\n uri: `https://docs.sentry.io/platforms/${platform}/`,\n name: `${platform}-docs`,\n description: `Sentry SDK documentation for ${platform}`,\n mimeType: \"text/markdown\",\n })),\n }),\n },\n ),\n mimeType: \"text/markdown\",\n description: \"Sentry SDK documentation for {platform}\",\n handler: sentryDocsHandler,\n } as TemplateResourceConfig,\n {\n name: \"sentry-docs-platform-guide\",\n template: new ResourceTemplate(\n \"https://docs.sentry.io/platforms/{platform}/guides/{framework}/\",\n {\n list: async (_extra) => ({\n resources: Object.entries(SENTRY_FRAMEWORKS).flatMap(\n ([platform, frameworks]) =>\n frameworks.map((framework) => ({\n uri: `https://docs.sentry.io/platforms/${platform}/guides/${framework}/`,\n name: `${platform}-${framework}-guide`,\n description: `Sentry integration guide for ${framework} on ${platform}`,\n mimeType: \"text/markdown\",\n })),\n ),\n }),\n },\n ),\n mimeType: \"text/markdown\",\n description: \"Sentry integration guide for {framework} on {platform}\",\n handler: sentryDocsHandler,\n } as TemplateResourceConfig,\n];\n"],"mappings":";;;;;;;;AA2DA,SAAgB,mBACdA,UACoC;AACpC,QACE,cAAc,YAAY,SAAS,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');
3
- const require_resources = require('./resources-TCvijqOA.cjs');
3
+ const require_resources = require('./resources-Dadvq5Fm.cjs');
4
4
 
5
5
  exports.RESOURCES = require_resources.RESOURCES;
6
6
  exports.isTemplateResource = require_resources.isTemplateResource;
package/dist/resources.js CHANGED
@@ -1,5 +1,5 @@
1
- import "./constants-S7AU45oQ.js";
1
+ import "./constants-Fe-4NTUo.js";
2
2
  import "./errors-D_R568zP.js";
3
- import { RESOURCES, isTemplateResource } from "./resources-CSxBC9gs.js";
3
+ import { RESOURCES, isTemplateResource } from "./resources-jcFoc4JU.js";
4
4
 
5
5
  export { RESOURCES, isTemplateResource };
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-DWy1uDak.cjs');
2
- const require_constants = require('./constants-ClkMK29-.cjs');
2
+ const require_constants = require('./constants-wrEbre3j.cjs');
3
3
  const zod = require_chunk.__toESM(require("zod"));
4
4
 
5
5
  //#region src/schema.ts
@@ -123,4 +123,4 @@ Object.defineProperty(exports, 'ParamTransaction', {
123
123
  return ParamTransaction;
124
124
  }
125
125
  });
126
- //# sourceMappingURL=schema-DPL_hZXP.cjs.map
126
+ //# sourceMappingURL=schema-BL3kwfOA.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema-DPL_hZXP.cjs","names":["SENTRY_GUIDES"],"sources":["../src/schema.ts"],"sourcesContent":["/**\n * Reusable Zod parameter schemas for MCP tools.\n *\n * Shared validation schemas used across tool definitions to ensure consistent\n * parameter handling and validation. Each schema includes transformation\n * (e.g., toLowerCase, trim) and LLM-friendly descriptions.\n */\nimport { z } from \"zod\";\nimport { SENTRY_GUIDES } from \"./constants\";\n\nexport const ParamOrganizationSlug = z\n .string()\n .toLowerCase()\n .trim()\n .describe(\n \"The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.\",\n );\n\nexport const ParamTeamSlug = z\n .string()\n .toLowerCase()\n .trim()\n .describe(\n \"The team's slug. You can find a list of existing teams in an organization using the `find_teams()` tool.\",\n );\n\nexport const ParamProjectSlug = z\n .string()\n .toLowerCase()\n .trim()\n .describe(\n \"The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.\",\n );\n\nexport const ParamProjectSlugOrAll = z\n .string()\n .toLowerCase()\n .trim()\n .describe(\n \"The project's slug. This will default to all projects you have access to. It is encouraged to specify this when possible.\",\n );\n\nexport const ParamIssueShortId = z\n .string()\n .toUpperCase()\n .trim()\n .describe(\"The Issue ID. e.g. `PROJECT-1Z43`\");\n\nexport const ParamIssueUrl = z\n .string()\n .url()\n .trim()\n .describe(\n \"The URL of the issue. e.g. https://my-organization.sentry.io/issues/PROJECT-1Z43\",\n );\n\nexport const ParamPlatform = z\n .string()\n .toLowerCase()\n .trim()\n .describe(\n \"The platform for the project. e.g., python, javascript, react, etc.\",\n );\n\nexport const ParamTransaction = z\n .string()\n .trim()\n .describe(\"The transaction name. Also known as the endpoint, or route name.\");\n\nexport const ParamQuery = z\n .string()\n .trim()\n .describe(\n `The search query to apply. Use the \\`help(subject=\"query_syntax\")\\` tool to get more information about the query syntax rather than guessing.`,\n );\n\n/**\n * Region URL parameter for Sentry API requests.\n *\n * Handles region-specific URLs for Sentry's Cloud Service while gracefully\n * supporting self-hosted Sentry installations that may return empty regionUrl values.\n * This schema accepts both valid URLs and empty strings to ensure compatibility\n * across different Sentry deployment types.\n */\nexport const ParamRegionUrl = z\n .string()\n .trim()\n .refine((value) => !value || z.string().url().safeParse(value).success, {\n message: \"Must be a valid URL or empty string (for self-hosted Sentry)\",\n })\n .describe(\n \"The region URL for the organization you're querying, if known. \" +\n \"For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. \" +\n \"For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. \" +\n \"You can find the correct regionUrl from the organization details using the `find_organizations()` tool.\",\n );\n\nexport const ParamIssueStatus = z\n .enum([\"resolved\", \"resolvedInNextRelease\", \"unresolved\", \"ignored\"])\n .describe(\n \"The new status for the issue. Valid values are 'resolved', 'resolvedInNextRelease', 'unresolved', and 'ignored'.\",\n );\n\nexport const ParamAssignedTo = z\n .string()\n .trim()\n .describe(\n \"The assignee in format 'user:ID' or 'team:ID' where ID is numeric. Example: 'user:123456' or 'team:789'. Use the whoami tool to find your user ID.\",\n );\n\nexport const ParamSentryGuide = z\n .enum(SENTRY_GUIDES)\n .describe(\n \"Optional guide filter to limit search results to specific documentation sections. \" +\n \"Use either a platform (e.g., 'javascript', 'python') or platform/guide combination (e.g., 'javascript/nextjs', 'python/django').\",\n );\n\nexport const ParamEventId = z.string().trim().describe(\"The ID of the event.\");\n\nexport const ParamAttachmentId = z\n .string()\n .trim()\n .describe(\"The ID of the attachment to download.\");\n"],"mappings":";;;;;AAUA,MAAa,wBAAwB,MAClC,QAAQ,CACR,aAAa,CACb,MAAM,CACN,SACC,mIACD;AAEH,MAAa,gBAAgB,MAC1B,QAAQ,CACR,aAAa,CACb,MAAM,CACN,SACC,2GACD;AAEH,MAAa,mBAAmB,MAC7B,QAAQ,CACR,aAAa,CACb,MAAM,CACN,SACC,oHACD;AAEH,MAAa,wBAAwB,MAClC,QAAQ,CACR,aAAa,CACb,MAAM,CACN,SACC,4HACD;AAEH,MAAa,oBAAoB,MAC9B,QAAQ,CACR,aAAa,CACb,MAAM,CACN,SAAS,oCAAoC;AAEhD,MAAa,gBAAgB,MAC1B,QAAQ,CACR,KAAK,CACL,MAAM,CACN,SACC,mFACD;AAEH,MAAa,gBAAgB,MAC1B,QAAQ,CACR,aAAa,CACb,MAAM,CACN,SACC,sEACD;AAEH,MAAa,mBAAmB,MAC7B,QAAQ,CACR,MAAM,CACN,SAAS,mEAAmE;AAE/E,MAAa,aAAa,MACvB,QAAQ,CACR,MAAM,CACN,UACE,+IACF;;;;;;;;;AAUH,MAAa,iBAAiB,MAC3B,QAAQ,CACR,MAAM,CACN,OAAO,CAAC,WAAW,SAAS,MAAE,QAAQ,CAAC,KAAK,CAAC,UAAU,MAAM,CAAC,SAAS,EACtE,SAAS,+DACV,EAAC,CACD,SACC,0XAID;AAEH,MAAa,mBAAmB,MAC7B,KAAK;CAAC;CAAY;CAAyB;CAAc;AAAU,EAAC,CACpE,SACC,mHACD;AAEH,MAAa,kBAAkB,MAC5B,QAAQ,CACR,MAAM,CACN,SACC,qJACD;AAEH,MAAa,mBAAmB,MAC7B,KAAKA,gCAAc,CACnB,SACC,qNAED;AAEH,MAAa,eAAe,MAAE,QAAQ,CAAC,MAAM,CAAC,SAAS,uBAAuB;AAE9E,MAAa,oBAAoB,MAC9B,QAAQ,CACR,MAAM,CACN,SAAS,wCAAwC"}
1
+ {"version":3,"file":"schema-BL3kwfOA.cjs","names":["SENTRY_GUIDES"],"sources":["../src/schema.ts"],"sourcesContent":["/**\n * Reusable Zod parameter schemas for MCP tools.\n *\n * Shared validation schemas used across tool definitions to ensure consistent\n * parameter handling and validation. Each schema includes transformation\n * (e.g., toLowerCase, trim) and LLM-friendly descriptions.\n */\nimport { z } from \"zod\";\nimport { SENTRY_GUIDES } from \"./constants\";\n\nexport const ParamOrganizationSlug = z\n .string()\n .toLowerCase()\n .trim()\n .describe(\n \"The organization's slug. You can find a existing list of organizations you have access to using the `find_organizations()` tool.\",\n );\n\nexport const ParamTeamSlug = z\n .string()\n .toLowerCase()\n .trim()\n .describe(\n \"The team's slug. You can find a list of existing teams in an organization using the `find_teams()` tool.\",\n );\n\nexport const ParamProjectSlug = z\n .string()\n .toLowerCase()\n .trim()\n .describe(\n \"The project's slug. You can find a list of existing projects in an organization using the `find_projects()` tool.\",\n );\n\nexport const ParamProjectSlugOrAll = z\n .string()\n .toLowerCase()\n .trim()\n .describe(\n \"The project's slug. This will default to all projects you have access to. It is encouraged to specify this when possible.\",\n );\n\nexport const ParamIssueShortId = z\n .string()\n .toUpperCase()\n .trim()\n .describe(\"The Issue ID. e.g. `PROJECT-1Z43`\");\n\nexport const ParamIssueUrl = z\n .string()\n .url()\n .trim()\n .describe(\n \"The URL of the issue. e.g. https://my-organization.sentry.io/issues/PROJECT-1Z43\",\n );\n\nexport const ParamPlatform = z\n .string()\n .toLowerCase()\n .trim()\n .describe(\n \"The platform for the project. e.g., python, javascript, react, etc.\",\n );\n\nexport const ParamTransaction = z\n .string()\n .trim()\n .describe(\"The transaction name. Also known as the endpoint, or route name.\");\n\nexport const ParamQuery = z\n .string()\n .trim()\n .describe(\n `The search query to apply. Use the \\`help(subject=\"query_syntax\")\\` tool to get more information about the query syntax rather than guessing.`,\n );\n\n/**\n * Region URL parameter for Sentry API requests.\n *\n * Handles region-specific URLs for Sentry's Cloud Service while gracefully\n * supporting self-hosted Sentry installations that may return empty regionUrl values.\n * This schema accepts both valid URLs and empty strings to ensure compatibility\n * across different Sentry deployment types.\n */\nexport const ParamRegionUrl = z\n .string()\n .trim()\n .refine((value) => !value || z.string().url().safeParse(value).success, {\n message: \"Must be a valid URL or empty string (for self-hosted Sentry)\",\n })\n .describe(\n \"The region URL for the organization you're querying, if known. \" +\n \"For Sentry's Cloud Service (sentry.io), this is typically the region-specific URL like 'https://us.sentry.io'. \" +\n \"For self-hosted Sentry installations, this parameter is usually not needed and should be omitted. \" +\n \"You can find the correct regionUrl from the organization details using the `find_organizations()` tool.\",\n );\n\nexport const ParamIssueStatus = z\n .enum([\"resolved\", \"resolvedInNextRelease\", \"unresolved\", \"ignored\"])\n .describe(\n \"The new status for the issue. Valid values are 'resolved', 'resolvedInNextRelease', 'unresolved', and 'ignored'.\",\n );\n\nexport const ParamAssignedTo = z\n .string()\n .trim()\n .describe(\n \"The assignee in format 'user:ID' or 'team:ID' where ID is numeric. Example: 'user:123456' or 'team:789'. Use the whoami tool to find your user ID.\",\n );\n\nexport const ParamSentryGuide = z\n .enum(SENTRY_GUIDES)\n .describe(\n \"Optional guide filter to limit search results to specific documentation sections. \" +\n \"Use either a platform (e.g., 'javascript', 'python') or platform/guide combination (e.g., 'javascript/nextjs', 'python/django').\",\n );\n\nexport const ParamEventId = z.string().trim().describe(\"The ID of the event.\");\n\nexport const ParamAttachmentId = z\n .string()\n .trim()\n .describ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constants-S7AU45oQ.js";
1
+ import { SENTRY_GUIDES } from "./constants-Fe-4NTUo.js";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/schema.ts
@@ -33,4 +33,4 @@ const ParamAttachmentId = z.string().trim().describe("The ID of the attachment t
33
33
 
34
34
  //#endregion
35
35
  export { ParamAssignedTo, ParamAttachmentId, ParamEventId, ParamIssueShortId, ParamIssueStatus, ParamIssueUrl, ParamOrganizationSlug, ParamPlatform, ParamProjectSlug, ParamProjectSlugOrAll, ParamQuery, ParamRegionUrl, ParamSentryGuide, ParamTeamSlug, ParamTransaction };
36
- //# sourceMappingURL=schema-Bv2fvxgy.js.map
36
+ //# sourceMappingURL=schema-DMfkTR1l.js.map