@sentry/mcp-server 0.13.0 → 0.15.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 (336) hide show
  1. package/README.md +15 -2
  2. package/dist/{analyze-issue-with-seer-Bq3kefOr.cjs → analyze-issue-with-seer-BkVrrh28.cjs} +10 -17
  3. package/dist/analyze-issue-with-seer-BkVrrh28.cjs.map +1 -0
  4. package/dist/{analyze-issue-with-seer-Dk0ZFwN8.js → analyze-issue-with-seer-CoqsTklL.js} +10 -17
  5. package/dist/analyze-issue-with-seer-CoqsTklL.js.map +1 -0
  6. package/dist/api-client/client.cjs +1 -1
  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 +1 -1
  10. package/dist/api-client/index.cjs +1 -1
  11. package/dist/api-client/index.d.cts +3 -3
  12. package/dist/api-client/index.d.ts +4 -4
  13. package/dist/api-client/index.js +1 -1
  14. package/dist/api-client/schema.d.cts +1 -1
  15. package/dist/api-client/schema.d.ts +1 -1
  16. package/dist/api-client/types.d.cts +2 -2
  17. package/dist/api-client/types.d.ts +2 -2
  18. package/dist/{api-utils-BcB1cMXS.js → api-utils-C6QJAzFL.js} +4 -4
  19. package/dist/api-utils-C6QJAzFL.js.map +1 -0
  20. package/dist/{api-utils-BJS0CChW.cjs → api-utils-d36iteNO.cjs} +4 -4
  21. package/dist/api-utils-d36iteNO.cjs.map +1 -0
  22. package/dist/{client-Dae1ZwWb.d.cts → client-CQ9Xe1aN.d.cts} +17 -19
  23. package/dist/client-CQ9Xe1aN.d.cts.map +1 -0
  24. package/dist/{client-BbamPqV4.js → client-DOYWNvVM.js} +21 -12
  25. package/dist/client-DOYWNvVM.js.map +1 -0
  26. package/dist/{client-BNTsOycD.cjs → client-Dkw5iYu3.cjs} +21 -12
  27. package/dist/client-Dkw5iYu3.cjs.map +1 -0
  28. package/dist/{client-qyEu8fvj.d.ts → client-VCJp6Kcu.d.ts} +19 -21
  29. package/dist/client-VCJp6Kcu.d.ts.map +1 -0
  30. package/dist/{create-dsn-B3L8iWno.js → create-dsn-D530I7Lr.js} +2 -2
  31. package/dist/{create-dsn-B3L8iWno.js.map → create-dsn-D530I7Lr.js.map} +1 -1
  32. package/dist/{create-dsn-CVPtt_Es.cjs → create-dsn-Dz8nyTFw.cjs} +2 -2
  33. package/dist/{create-dsn-CVPtt_Es.cjs.map → create-dsn-Dz8nyTFw.cjs.map} +1 -1
  34. package/dist/{create-project-B_6a6okf.cjs → create-project-BxzRiryg.cjs} +3 -3
  35. package/dist/{create-project-B_6a6okf.cjs.map → create-project-BxzRiryg.cjs.map} +1 -1
  36. package/dist/{create-project-DdIXMvWI.js → create-project-K1od5Rhx.js} +3 -3
  37. package/dist/{create-project-DdIXMvWI.js.map → create-project-K1od5Rhx.js.map} +1 -1
  38. package/dist/{create-team-C1DP5Z1r.cjs → create-team-CJhrccc1.cjs} +2 -2
  39. package/dist/{create-team-C1DP5Z1r.cjs.map → create-team-CJhrccc1.cjs.map} +1 -1
  40. package/dist/{create-team-BarRdaZK.js → create-team-zHz00C6Q.js} +2 -2
  41. package/dist/{create-team-BarRdaZK.js.map → create-team-zHz00C6Q.js.map} +1 -1
  42. package/dist/{fetch-utils-B-a92ObC.d.ts → fetch-utils-Bv9WjUp0.d.ts} +1 -1
  43. package/dist/fetch-utils-Bv9WjUp0.d.ts.map +1 -0
  44. package/dist/{find-dsns-BPbblgrn.js → find-dsns-BoEP0N7B.js} +2 -2
  45. package/dist/{find-dsns-BPbblgrn.js.map → find-dsns-BoEP0N7B.js.map} +1 -1
  46. package/dist/{find-dsns-BDJWY6nZ.cjs → find-dsns-CK59RaUJ.cjs} +2 -2
  47. package/dist/{find-dsns-BDJWY6nZ.cjs.map → find-dsns-CK59RaUJ.cjs.map} +1 -1
  48. package/dist/{find-errors-B9wLxXA0.js → find-errors-C3oUMeRi.js} +2 -2
  49. package/dist/{find-errors-B9wLxXA0.js.map → find-errors-C3oUMeRi.js.map} +1 -1
  50. package/dist/{find-errors-DnFs3PaH.cjs → find-errors-CB9NpSxG.cjs} +2 -2
  51. package/dist/{find-errors-DnFs3PaH.cjs.map → find-errors-CB9NpSxG.cjs.map} +1 -1
  52. package/dist/{find-issues-CwPbwRXK.cjs → find-issues-C3uk59rn.cjs} +2 -2
  53. package/dist/{find-issues-CwPbwRXK.cjs.map → find-issues-C3uk59rn.cjs.map} +1 -1
  54. package/dist/{find-issues-BI1tI3cJ.js → find-issues-CAtNGBly.js} +2 -2
  55. package/dist/{find-issues-BI1tI3cJ.js.map → find-issues-CAtNGBly.js.map} +1 -1
  56. package/dist/{find-organizations-DqS6zoTK.cjs → find-organizations-BrdMfZRO.cjs} +2 -2
  57. package/dist/{find-organizations-DqS6zoTK.cjs.map → find-organizations-BrdMfZRO.cjs.map} +1 -1
  58. package/dist/{find-organizations-CdiouW48.js → find-organizations-ojXwWWzk.js} +2 -2
  59. package/dist/{find-organizations-CdiouW48.js.map → find-organizations-ojXwWWzk.js.map} +1 -1
  60. package/dist/{find-projects-Ba6cdX7n.cjs → find-projects-BZWhlYJh.cjs} +2 -2
  61. package/dist/{find-projects-Ba6cdX7n.cjs.map → find-projects-BZWhlYJh.cjs.map} +1 -1
  62. package/dist/{find-projects-Ccfxv47h.js → find-projects-fcLG4KpT.js} +2 -2
  63. package/dist/{find-projects-Ccfxv47h.js.map → find-projects-fcLG4KpT.js.map} +1 -1
  64. package/dist/{find-releases-CFoGytN-.js → find-releases-BUozr0Z-.js} +2 -2
  65. package/dist/{find-releases-CFoGytN-.js.map → find-releases-BUozr0Z-.js.map} +1 -1
  66. package/dist/{find-releases-CFl86XMT.cjs → find-releases-CZCVEOHZ.cjs} +2 -2
  67. package/dist/{find-releases-CFl86XMT.cjs.map → find-releases-CZCVEOHZ.cjs.map} +1 -1
  68. package/dist/{find-tags-h2o0BKWO.cjs → find-tags-Byk4d3oZ.cjs} +2 -2
  69. package/dist/{find-tags-h2o0BKWO.cjs.map → find-tags-Byk4d3oZ.cjs.map} +1 -1
  70. package/dist/{find-tags-ORtYLH5b.js → find-tags-d-wF1Se8.js} +2 -2
  71. package/dist/{find-tags-ORtYLH5b.js.map → find-tags-d-wF1Se8.js.map} +1 -1
  72. package/dist/{find-teams-hreVp1nw.js → find-teams-BZ118EIK.js} +2 -2
  73. package/dist/{find-teams-hreVp1nw.js.map → find-teams-BZ118EIK.js.map} +1 -1
  74. package/dist/{find-teams-DUcDfSOl.cjs → find-teams-CnU5x9rQ.cjs} +2 -2
  75. package/dist/{find-teams-DUcDfSOl.cjs.map → find-teams-CnU5x9rQ.cjs.map} +1 -1
  76. package/dist/{find-transactions-BehUqQYs.js → find-transactions-BiBgg-AE.js} +2 -2
  77. package/dist/{find-transactions-BehUqQYs.js.map → find-transactions-BiBgg-AE.js.map} +1 -1
  78. package/dist/{find-transactions-BkPscam3.cjs → find-transactions-DuZyqjhF.cjs} +2 -2
  79. package/dist/{find-transactions-BkPscam3.cjs.map → find-transactions-DuZyqjhF.cjs.map} +1 -1
  80. package/dist/{formatting-pUm38KOj.js → formatting-Bvyded57.js} +34 -2
  81. package/dist/formatting-Bvyded57.js.map +1 -0
  82. package/dist/{formatting-Di1X9Jn3.d.cts → formatting-CcTK2X8V.d.cts} +7 -5
  83. package/dist/formatting-CcTK2X8V.d.cts.map +1 -0
  84. package/dist/{formatting-BlMiQa9i.cjs → formatting-D0Aki7rK.cjs} +33 -2
  85. package/dist/formatting-D0Aki7rK.cjs.map +1 -0
  86. package/dist/{formatting-utils-C3sej5ER.js → formatting-utils-DgOyTl-m.js} +1 -1
  87. package/dist/{formatting-utils-C3sej5ER.js.map → formatting-utils-DgOyTl-m.js.map} +1 -1
  88. package/dist/{formatting-utils-DDz14xeB.cjs → formatting-utils-m9R5bsRU.cjs} +1 -1
  89. package/dist/{formatting-utils-DDz14xeB.cjs.map → formatting-utils-m9R5bsRU.cjs.map} +1 -1
  90. package/dist/{formatting-B-u5CbYn.d.ts → formatting-vtXxusbn.d.ts} +7 -5
  91. package/dist/formatting-vtXxusbn.d.ts.map +1 -0
  92. package/dist/{get-doc-AuAW_qr9.cjs → get-doc-DaTCenOE.cjs} +2 -2
  93. package/dist/{get-doc-AuAW_qr9.cjs.map → get-doc-DaTCenOE.cjs.map} +1 -1
  94. package/dist/{get-doc-BtxZOy7y.js → get-doc-YTiQznr1.js} +2 -2
  95. package/dist/{get-doc-BtxZOy7y.js.map → get-doc-YTiQznr1.js.map} +1 -1
  96. package/dist/{get-event-attachment-Bq5lkaKV.cjs → get-event-attachment-C-ig2-3F.cjs} +2 -2
  97. package/dist/{get-event-attachment-Bq5lkaKV.cjs.map → get-event-attachment-C-ig2-3F.cjs.map} +1 -1
  98. package/dist/{get-event-attachment-DwAl54zv.js → get-event-attachment-DVCPpUMj.js} +2 -2
  99. package/dist/{get-event-attachment-DwAl54zv.js.map → get-event-attachment-DVCPpUMj.js.map} +1 -1
  100. package/dist/{get-issue-details-DrpD5LlK.js → get-issue-details-Dcmzxknx.js} +24 -11
  101. package/dist/get-issue-details-Dcmzxknx.js.map +1 -0
  102. package/dist/{get-issue-details-qGwu18JX.cjs → get-issue-details-lBrYR9yx.cjs} +24 -11
  103. package/dist/get-issue-details-lBrYR9yx.cjs.map +1 -0
  104. package/dist/index.cjs +53 -42
  105. package/dist/index.cjs.map +1 -1
  106. package/dist/index.js +53 -42
  107. package/dist/index.js.map +1 -1
  108. package/dist/internal/fetch-utils.d.ts +1 -1
  109. package/dist/internal/formatting.cjs +2 -1
  110. package/dist/internal/formatting.d.cts +4 -4
  111. package/dist/internal/formatting.d.ts +5 -5
  112. package/dist/internal/formatting.js +2 -1
  113. package/dist/internal/issue-helpers.d.ts +1 -1
  114. package/dist/internal/test-fixtures.d.cts +20 -20
  115. package/dist/internal/test-fixtures.d.ts +62 -62
  116. package/dist/internal/test-fixtures.d.ts.map +1 -1
  117. package/dist/{issue-helpers-BOn4g7rx.d.ts → issue-helpers-BJffpNoO.d.ts} +1 -1
  118. package/dist/{issue-helpers-BOn4g7rx.d.ts.map → issue-helpers-BJffpNoO.d.ts.map} +1 -1
  119. package/dist/{logging-oIouXrcb.cjs → logging-CX2buXiG.cjs} +1 -1
  120. package/dist/{logging-oIouXrcb.cjs.map → logging-CX2buXiG.cjs.map} +1 -1
  121. package/dist/{logging-LnQMFw-_.js → logging-DzxYBMrn.js} +1 -1
  122. package/dist/{logging-LnQMFw-_.js.map → logging-DzxYBMrn.js.map} +1 -1
  123. package/dist/logging.cjs +1 -1
  124. package/dist/logging.js +1 -1
  125. package/dist/{promptDefinitions-6xelipaz.d.ts → promptDefinitions-D3GTBGLr.d.ts} +1 -1
  126. package/dist/promptDefinitions-D3GTBGLr.d.ts.map +1 -0
  127. package/dist/promptDefinitions.d.ts +1 -1
  128. package/dist/prompts.d.cts +1 -1
  129. package/dist/prompts.d.ts +2 -2
  130. package/dist/{schema-B5BpplNK.d.ts → schema-3NeMWRAm.d.cts} +273 -273
  131. package/dist/{schema-Dt-HKnd_.d.cts.map → schema-3NeMWRAm.d.cts.map} +1 -1
  132. package/dist/{schema-Dt-HKnd_.d.cts → schema-B3CzDGJk.d.ts} +303 -303
  133. package/dist/{schema-B5BpplNK.d.ts.map → schema-B3CzDGJk.d.ts.map} +1 -1
  134. package/dist/{search-docs-CrMdRDJy.js → search-docs-BLbB_GV2.js} +3 -3
  135. package/dist/search-docs-BLbB_GV2.js.map +1 -0
  136. package/dist/{search-docs-VhefTOOH.cjs → search-docs-D5Foht_0.cjs} +3 -3
  137. package/dist/search-docs-D5Foht_0.cjs.map +1 -0
  138. package/dist/{seer-utils-CzYEEZb2.cjs → seer-utils-CDm5J8ur.cjs} +2 -2
  139. package/dist/{seer-utils-CzYEEZb2.cjs.map → seer-utils-CDm5J8ur.cjs.map} +1 -1
  140. package/dist/{seer-utils-Ckr8nYlz.js → seer-utils-Cj9DXrow.js} +2 -2
  141. package/dist/{seer-utils-Ckr8nYlz.js.map → seer-utils-Cj9DXrow.js.map} +1 -1
  142. package/dist/{server-DeuBftc5.js → server-BSRxzYFd.js} +4 -4
  143. package/dist/{server-DeuBftc5.js.map → server-BSRxzYFd.js.map} +1 -1
  144. package/dist/{server-CHG27fcn.cjs → server-Dgkqz8bA.cjs} +4 -4
  145. package/dist/{server-CHG27fcn.cjs.map → server-Dgkqz8bA.cjs.map} +1 -1
  146. package/dist/server.cjs +29 -29
  147. package/dist/server.d.cts +1 -1
  148. package/dist/server.d.ts +2 -2
  149. package/dist/server.js +29 -29
  150. package/dist/{stdio-BtVdTwx-.cjs → stdio-BQAm0Liz.cjs} +3 -3
  151. package/dist/{stdio-BtVdTwx-.cjs.map → stdio-BQAm0Liz.cjs.map} +1 -1
  152. package/dist/{stdio-DIuLW5EE.js → stdio-BcihaDjO.js} +3 -3
  153. package/dist/{stdio-DIuLW5EE.js.map → stdio-BcihaDjO.js.map} +1 -1
  154. package/dist/test-setup.cjs +1 -16
  155. package/dist/test-setup.cjs.map +1 -1
  156. package/dist/test-setup.js +1 -16
  157. package/dist/test-setup.js.map +1 -1
  158. package/dist/toolDefinitions.js +2 -2
  159. package/dist/tools/analyze-issue-with-seer.cjs +6 -6
  160. package/dist/tools/analyze-issue-with-seer.d.cts +2 -2
  161. package/dist/tools/analyze-issue-with-seer.d.ts +3 -3
  162. package/dist/tools/analyze-issue-with-seer.js +6 -6
  163. package/dist/tools/create-dsn.cjs +3 -3
  164. package/dist/tools/create-dsn.d.cts +2 -2
  165. package/dist/tools/create-dsn.d.ts +3 -3
  166. package/dist/tools/create-dsn.js +3 -3
  167. package/dist/tools/create-project.cjs +4 -4
  168. package/dist/tools/create-project.d.cts +2 -2
  169. package/dist/tools/create-project.d.ts +3 -3
  170. package/dist/tools/create-project.js +4 -4
  171. package/dist/tools/create-team.cjs +3 -3
  172. package/dist/tools/create-team.d.cts +2 -2
  173. package/dist/tools/create-team.d.ts +3 -3
  174. package/dist/tools/create-team.js +3 -3
  175. package/dist/tools/find-dsns.cjs +3 -3
  176. package/dist/tools/find-dsns.d.cts +2 -2
  177. package/dist/tools/find-dsns.d.ts +3 -3
  178. package/dist/tools/find-dsns.js +3 -3
  179. package/dist/tools/find-errors.cjs +3 -3
  180. package/dist/tools/find-errors.d.cts +2 -2
  181. package/dist/tools/find-errors.d.ts +3 -3
  182. package/dist/tools/find-errors.js +3 -3
  183. package/dist/tools/find-issues.cjs +3 -3
  184. package/dist/tools/find-issues.d.cts +2 -2
  185. package/dist/tools/find-issues.d.ts +3 -3
  186. package/dist/tools/find-issues.js +3 -3
  187. package/dist/tools/find-organizations.cjs +3 -3
  188. package/dist/tools/find-organizations.d.cts +2 -2
  189. package/dist/tools/find-organizations.d.ts +3 -3
  190. package/dist/tools/find-organizations.js +3 -3
  191. package/dist/tools/find-projects.cjs +3 -3
  192. package/dist/tools/find-projects.d.cts +2 -2
  193. package/dist/tools/find-projects.d.ts +3 -3
  194. package/dist/tools/find-projects.js +3 -3
  195. package/dist/tools/find-releases.cjs +3 -3
  196. package/dist/tools/find-releases.d.cts +2 -2
  197. package/dist/tools/find-releases.d.ts +3 -3
  198. package/dist/tools/find-releases.js +3 -3
  199. package/dist/tools/find-tags.cjs +3 -3
  200. package/dist/tools/find-tags.d.cts +2 -2
  201. package/dist/tools/find-tags.d.ts +3 -3
  202. package/dist/tools/find-tags.js +3 -3
  203. package/dist/tools/find-teams.cjs +3 -3
  204. package/dist/tools/find-teams.d.cts +2 -2
  205. package/dist/tools/find-teams.d.ts +3 -3
  206. package/dist/tools/find-teams.js +3 -3
  207. package/dist/tools/find-transactions.cjs +3 -3
  208. package/dist/tools/find-transactions.d.cts +2 -2
  209. package/dist/tools/find-transactions.d.ts +3 -3
  210. package/dist/tools/find-transactions.js +3 -3
  211. package/dist/tools/get-doc.cjs +2 -2
  212. package/dist/tools/get-doc.d.cts +2 -2
  213. package/dist/tools/get-doc.d.ts +3 -3
  214. package/dist/tools/get-doc.js +2 -2
  215. package/dist/tools/get-event-attachment.cjs +3 -3
  216. package/dist/tools/get-event-attachment.d.cts +2 -2
  217. package/dist/tools/get-event-attachment.d.ts +3 -3
  218. package/dist/tools/get-event-attachment.js +3 -3
  219. package/dist/tools/get-issue-details.cjs +6 -5
  220. package/dist/tools/get-issue-details.d.cts +2 -2
  221. package/dist/tools/get-issue-details.d.ts +3 -3
  222. package/dist/tools/get-issue-details.js +6 -5
  223. package/dist/tools/index.cjs +28 -28
  224. package/dist/tools/index.d.cts +2 -2
  225. package/dist/tools/index.d.ts +79 -79
  226. package/dist/tools/index.js +28 -28
  227. package/dist/tools/search-docs.cjs +2 -2
  228. package/dist/tools/search-docs.d.cts +2 -2
  229. package/dist/tools/search-docs.d.ts +3 -3
  230. package/dist/tools/search-docs.js +2 -2
  231. package/dist/tools/types.d.cts +2 -2
  232. package/dist/tools/types.d.ts +3 -3
  233. package/dist/tools/update-issue.cjs +7 -6
  234. package/dist/tools/update-issue.d.cts +2 -2
  235. package/dist/tools/update-issue.d.ts +3 -3
  236. package/dist/tools/update-issue.js +7 -6
  237. package/dist/tools/update-project.cjs +4 -4
  238. package/dist/tools/update-project.d.cts +2 -2
  239. package/dist/tools/update-project.d.ts +3 -3
  240. package/dist/tools/update-project.js +4 -4
  241. package/dist/tools/utils/api-utils.cjs +2 -2
  242. package/dist/tools/utils/api-utils.d.cts +5 -5
  243. package/dist/tools/utils/api-utils.d.ts +7 -7
  244. package/dist/tools/utils/api-utils.js +2 -2
  245. package/dist/tools/utils/defineTool.d.cts +2 -2
  246. package/dist/tools/utils/defineTool.d.ts +3 -3
  247. package/dist/tools/utils/fetch-utils.d.ts +1 -1
  248. package/dist/tools/utils/formatting-utils.cjs +1 -1
  249. package/dist/tools/utils/formatting-utils.d.cts +3 -3
  250. package/dist/tools/utils/formatting-utils.d.ts +4 -4
  251. package/dist/tools/utils/formatting-utils.js +1 -1
  252. package/dist/tools/utils/issue-utils.cjs +3 -2
  253. package/dist/tools/utils/issue-utils.d.cts +4 -4
  254. package/dist/tools/utils/issue-utils.d.ts +6 -6
  255. package/dist/tools/utils/issue-utils.js +3 -2
  256. package/dist/tools/utils/seer-utils.cjs +1 -1
  257. package/dist/tools/utils/seer-utils.d.cts +3 -3
  258. package/dist/tools/utils/seer-utils.d.ts +4 -4
  259. package/dist/tools/utils/seer-utils.js +1 -1
  260. package/dist/tools/whoami.cjs +3 -3
  261. package/dist/tools/whoami.d.cts +2 -2
  262. package/dist/tools/whoami.d.ts +3 -3
  263. package/dist/tools/whoami.js +3 -3
  264. package/dist/{tools-BiZ7ZDKf.cjs → tools-CHnZvVEN.cjs} +21 -21
  265. package/dist/{tools-BiZ7ZDKf.cjs.map → tools-CHnZvVEN.cjs.map} +1 -1
  266. package/dist/{tools-DGF9GhbP.js → tools-CdXGgq1W.js} +21 -21
  267. package/dist/{tools-DGF9GhbP.js.map → tools-CdXGgq1W.js.map} +1 -1
  268. package/dist/transports/stdio.cjs +31 -31
  269. package/dist/transports/stdio.d.cts +1 -1
  270. package/dist/transports/stdio.d.ts +2 -2
  271. package/dist/transports/stdio.js +31 -31
  272. package/dist/{types-C3pRFQyA.d.cts → types-BoMP-Ro6.d.cts} +2 -2
  273. package/dist/{types-C3pRFQyA.d.cts.map → types-BoMP-Ro6.d.cts.map} +1 -1
  274. package/dist/{types-CYjev2Ep.d.cts → types-CUN-2OSS.d.cts} +3 -3
  275. package/dist/{types-CYjev2Ep.d.cts.map → types-CUN-2OSS.d.cts.map} +1 -1
  276. package/dist/{types-CZaMk5Yg.d.cts → types-D_mx318Q.d.cts} +2 -2
  277. package/dist/{types-CZaMk5Yg.d.cts.map → types-D_mx318Q.d.cts.map} +1 -1
  278. package/dist/{types-B2qOfefC.d.ts → types-DkJtNDXU.d.ts} +4 -4
  279. package/dist/{types-B2qOfefC.d.ts.map → types-DkJtNDXU.d.ts.map} +1 -1
  280. package/dist/{types-Br0saqtE.d.ts → types-DpV1JAZj.d.ts} +2 -2
  281. package/dist/{types-Br0saqtE.d.ts.map → types-DpV1JAZj.d.ts.map} +1 -1
  282. package/dist/{types-D5KkaSjc.d.ts → types-qB8a4WQT.d.ts} +2 -2
  283. package/dist/{types-D5KkaSjc.d.ts.map → types-qB8a4WQT.d.ts.map} +1 -1
  284. package/dist/types.d.cts +1 -1
  285. package/dist/types.d.ts +2 -2
  286. package/dist/{update-issue-DN80uuKU.js → update-issue-DRTQvy6p.js} +3 -3
  287. package/dist/{update-issue-DN80uuKU.js.map → update-issue-DRTQvy6p.js.map} +1 -1
  288. package/dist/{update-issue-Bz-u_Yaa.cjs → update-issue-DpkxxiNk.cjs} +3 -3
  289. package/dist/{update-issue-Bz-u_Yaa.cjs.map → update-issue-DpkxxiNk.cjs.map} +1 -1
  290. package/dist/{update-project-C7Xbmhqg.cjs → update-project-DLDDbcGY.cjs} +3 -3
  291. package/dist/{update-project-C7Xbmhqg.cjs.map → update-project-DLDDbcGY.cjs.map} +1 -1
  292. package/dist/{update-project-5j-SOHWU.js → update-project-YLxt2ry2.js} +3 -3
  293. package/dist/{update-project-5j-SOHWU.js.map → update-project-YLxt2ry2.js.map} +1 -1
  294. package/dist/url-utils-C9hykWmk.cjs +106 -0
  295. package/dist/url-utils-C9hykWmk.cjs.map +1 -0
  296. package/dist/url-utils-DvZYfzPM.js +82 -0
  297. package/dist/url-utils-DvZYfzPM.js.map +1 -0
  298. package/dist/utils/url-utils.cjs +6 -0
  299. package/dist/utils/url-utils.d.cts +37 -0
  300. package/dist/utils/url-utils.d.cts.map +1 -0
  301. package/dist/utils/url-utils.d.ts +37 -0
  302. package/dist/utils/url-utils.d.ts.map +1 -0
  303. package/dist/utils/url-utils.js +3 -0
  304. package/dist/version-CcTnFB56.js +6 -0
  305. package/dist/{version-DvMKCu-i.js.map → version-CcTnFB56.js.map} +1 -1
  306. package/dist/{version-Dyz6_b54.cjs → version-rDjaSkPw.cjs} +2 -2
  307. package/dist/{version-Dyz6_b54.cjs.map → version-rDjaSkPw.cjs.map} +1 -1
  308. package/dist/version.cjs +1 -1
  309. package/dist/version.js +1 -1
  310. package/dist/{whoami-qIbcECMA.cjs → whoami-CEgbTUqt.cjs} +2 -2
  311. package/dist/{whoami-qIbcECMA.cjs.map → whoami-CEgbTUqt.cjs.map} +1 -1
  312. package/dist/{whoami-raA70UBD.js → whoami-DesNZnaQ.js} +2 -2
  313. package/dist/{whoami-raA70UBD.js.map → whoami-DesNZnaQ.js.map} +1 -1
  314. package/package.json +3 -3
  315. package/dist/analyze-issue-with-seer-Bq3kefOr.cjs.map +0 -1
  316. package/dist/analyze-issue-with-seer-Dk0ZFwN8.js.map +0 -1
  317. package/dist/api-utils-BJS0CChW.cjs.map +0 -1
  318. package/dist/api-utils-BcB1cMXS.js.map +0 -1
  319. package/dist/client-BNTsOycD.cjs.map +0 -1
  320. package/dist/client-BbamPqV4.js.map +0 -1
  321. package/dist/client-Dae1ZwWb.d.cts.map +0 -1
  322. package/dist/client-qyEu8fvj.d.ts.map +0 -1
  323. package/dist/fetch-utils-B-a92ObC.d.ts.map +0 -1
  324. package/dist/formatting-B-u5CbYn.d.ts.map +0 -1
  325. package/dist/formatting-BlMiQa9i.cjs.map +0 -1
  326. package/dist/formatting-Di1X9Jn3.d.cts.map +0 -1
  327. package/dist/formatting-pUm38KOj.js.map +0 -1
  328. package/dist/get-issue-details-DrpD5LlK.js.map +0 -1
  329. package/dist/get-issue-details-qGwu18JX.cjs.map +0 -1
  330. package/dist/promptDefinitions-6xelipaz.d.ts.map +0 -1
  331. package/dist/search-docs-CrMdRDJy.js.map +0 -1
  332. package/dist/search-docs-VhefTOOH.cjs.map +0 -1
  333. package/dist/version-DvMKCu-i.js +0 -6
  334. /package/dist/{index-BrojxuhJ.d.ts → index-DVGDAddE.d.ts} +0 -0
  335. /package/dist/{issue-utils-BVAB6I-Z.js → issue-utils-BbCfbiY8.js} +0 -0
  336. /package/dist/{issue-utils-pdbo-5LW.cjs → issue-utils-DMKiif6C.cjs} +0 -0
package/README.md CHANGED
@@ -21,15 +21,28 @@ Launch the transport:
21
21
 
22
22
  ```shell
23
23
  npx @sentry/mcp-server@latest --access-token=sentry-user-token --host=sentry.example.com
24
+ # or with full URL
25
+ npx @sentry/mcp-server@latest --access-token=sentry-user-token --url=https://sentry.example.com
24
26
  ```
25
27
 
26
28
  Note: You can also use environment variables:
27
29
 
28
30
  ```shell
29
- SENTRY_ACCESS_TOKEN=
30
- SENTRY_HOST=
31
+ SENTRY_ACCESS_TOKEN=your-token
32
+ SENTRY_HOST=sentry.example.com # Custom hostname
33
+ SENTRY_URL=https://sentry.io # OR base URL (precedence over SENTRY_HOST)
31
34
  ```
32
35
 
36
+ The host configuration accepts two distinct formats:
37
+
38
+ - **`SENTRY_HOST`**: Hostname only (no protocol)
39
+ - Examples: `sentry.io`, `sentry.example.com`, `localhost:8000`
40
+ - **`SENTRY_URL`**: Full URLs (hostname will be extracted)
41
+ - Examples: `https://sentry.io`, `https://sentry.example.com`
42
+ - Takes precedence over `SENTRY_HOST` if both are provided
43
+
44
+ **Note**: Only HTTPS connections are supported for security reasons.
45
+
33
46
  By default we also enable Sentry reporting (traces, errors) upstream to our cloud service. You can disable that, or send it to a different Sentry instance by using the `--sentry-dsn` flag:
34
47
 
35
48
  ```shell
@@ -1,9 +1,9 @@
1
1
  const require_chunk = require('./chunk-DWy1uDak.cjs');
2
2
  const require_defineTool = require('./defineTool-lWNTzWl_.cjs');
3
- const require_api_utils = require('./api-utils-BJS0CChW.cjs');
3
+ const require_api_utils = require('./api-utils-d36iteNO.cjs');
4
4
  const require_schema = require('./schema-BpJVmev8.cjs');
5
5
  const require_issue_helpers = require('./issue-helpers-DyAIO0w6.cjs');
6
- const require_seer_utils = require('./seer-utils-CzYEEZb2.cjs');
6
+ const require_seer_utils = require('./seer-utils-CDm5J8ur.cjs');
7
7
  const zod = require_chunk.__toESM(require("zod"));
8
8
  const __sentry_core = require_chunk.__toESM(require("@sentry/core"));
9
9
 
@@ -11,14 +11,13 @@ const __sentry_core = require_chunk.__toESM(require("@sentry/core"));
11
11
  var analyze_issue_with_seer_default = require_defineTool.defineTool({
12
12
  name: "analyze_issue_with_seer",
13
13
  description: [
14
- "**ALWAYS use this tool when a user asks how to fix a Sentry issue.** Seer AI analyzes production errors to identify root causes and provide specific code fixes.",
14
+ "Use Seer AI to analyze production errors and get detailed root cause analysis with specific code fixes.",
15
15
  "",
16
- "Use this tool IMMEDIATELY when:",
17
- "- User asks \"how do I fix this error?\" or \"what's causing this issue?\"",
18
- "- User shares a Sentry issue URL and wants help resolving it",
19
- "- User needs to understand why an error is happening in production",
20
- "- User wants specific code changes to fix their issue",
21
- "- User asks about the root cause of any Sentry error",
16
+ "Use this tool when you need:",
17
+ "- Detailed AI-powered root cause analysis",
18
+ "- Specific code fixes and implementation guidance",
19
+ "- Step-by-step troubleshooting for complex issues",
20
+ "- Understanding why an error is happening in production",
22
21
  "",
23
22
  "What this tool provides:",
24
23
  "- Root cause analysis with code-level explanations",
@@ -32,12 +31,6 @@ var analyze_issue_with_seer_default = require_defineTool.defineTool({
32
31
  "3. Returns complete fix recommendations",
33
32
  "",
34
33
  "<examples>",
35
- "### User: \"How do I fix ISSUE-123?\"",
36
- "",
37
- "```",
38
- "analyze_issue_with_seer(organizationSlug='my-organization', issueId='ISSUE-123')",
39
- "```",
40
- "",
41
34
  "### User: \"What's causing this error? https://my-org.sentry.io/issues/PROJECT-1Z43\"",
42
35
  "",
43
36
  "```",
@@ -52,7 +45,7 @@ var analyze_issue_with_seer_default = require_defineTool.defineTool({
52
45
  "</examples>",
53
46
  "",
54
47
  "<hints>",
55
- "- ALWAYS prefer this over get_issue_details when users want fixes, not just error details",
48
+ "- Use this tool when you need deeper analysis beyond basic issue details",
56
49
  "- If the user provides an issueUrl, extract it and use that parameter alone",
57
50
  "- The analysis includes actual code snippets and fixes, not just error descriptions",
58
51
  "- Results are cached - subsequent calls return instantly",
@@ -166,4 +159,4 @@ Object.defineProperty(exports, 'analyze_issue_with_seer_default', {
166
159
  return analyze_issue_with_seer_default;
167
160
  }
168
161
  });
169
- //# sourceMappingURL=analyze-issue-with-seer-Bq3kefOr.cjs.map
162
+ //# sourceMappingURL=analyze-issue-with-seer-BkVrrh28.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analyze-issue-with-seer-BkVrrh28.cjs","names":["context: ServerContext","SEER_TIMEOUT","SEER_POLLING_INTERVAL"],"sources":["../src/tools/analyze-issue-with-seer.ts"],"sourcesContent":["import { z } from \"zod\";\nimport { setTag } from \"@sentry/core\";\nimport { defineTool } from \"./utils/defineTool\";\nimport { apiServiceFromContext } from \"./utils/api-utils\";\nimport { parseIssueParams } from \"./utils/issue-utils\";\nimport {\n getStatusDisplayName,\n isTerminalStatus,\n isHumanInterventionStatus,\n getHumanInterventionGuidance,\n getOutputForAutofixStep,\n SEER_POLLING_INTERVAL,\n SEER_TIMEOUT,\n} from \"./utils/seer-utils\";\nimport type { ServerContext } from \"../types\";\nimport {\n ParamOrganizationSlug,\n ParamRegionUrl,\n ParamIssueShortId,\n ParamIssueUrl,\n} from \"../schema\";\n\nexport default defineTool({\n name: \"analyze_issue_with_seer\",\n description: [\n \"Use Seer AI to analyze production errors and get detailed root cause analysis with specific code fixes.\",\n \"\",\n \"Use this tool when you need:\",\n \"- Detailed AI-powered root cause analysis\",\n \"- Specific code fixes and implementation guidance\",\n \"- Step-by-step troubleshooting for complex issues\",\n \"- Understanding why an error is happening in production\",\n \"\",\n \"What this tool provides:\",\n \"- Root cause analysis with code-level explanations\",\n \"- Specific file locations and line numbers where errors occur\",\n \"- Concrete code fixes you can apply\",\n \"- Step-by-step implementation guidance\",\n \"\",\n \"This tool automatically:\",\n \"1. Checks if analysis already exists (instant results)\",\n \"2. Starts new AI analysis if needed (~2-5 minutes)\",\n \"3. Returns complete fix recommendations\",\n \"\",\n \"<examples>\",\n '### User: \"What\\'s causing this error? https://my-org.sentry.io/issues/PROJECT-1Z43\"',\n \"\",\n \"```\",\n \"analyze_issue_with_seer(issueUrl='https://my-org.sentry.io/issues/PROJECT-1Z43')\",\n \"```\",\n \"\",\n '### User: \"Can you help me understand why this is failing in production?\"',\n \"\",\n \"```\",\n \"analyze_issue_with_seer(organizationSlug='my-organization', issueId='ERROR-456')\",\n \"```\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- Use this tool when you need deeper analysis beyond basic issue details\",\n \"- If the user provides an issueUrl, extract it and use that parameter alone\",\n \"- The analysis includes actual code snippets and fixes, not just error descriptions\",\n \"- Results are cached - subsequent calls return instantly\",\n \"</hints>\",\n ].join(\"\\n\"),\n inputSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: ParamIssueUrl.optional(),\n instruction: z\n .string()\n .describe(\"Optional custom instruction for the AI analysis\")\n .optional(),\n },\n async handler(params, context: ServerContext) {\n const apiService = apiServiceFromContext(context, {\n regionUrl: params.regionUrl,\n });\n const { organizationSlug: orgSlug, issueId: parsedIssueId } =\n parseIssueParams({\n organizationSlug: params.organizationSlug,\n issueId: params.issueId,\n issueUrl: params.issueUrl,\n });\n\n setTag(\"organization.slug\", orgSlug);\n\n let output = `# Seer AI Analysis for Issue ${parsedIssueId}\\n\\n`;\n\n // Step 1: Check if analysis already exists\n let autofixState = await apiService.getAutofixState({\n organizationSlug: orgSlug,\n issueId: parsedIssueId!,\n });\n\n // Step 2: Start analysis if none exists\n if (!autofixState.autofix) {\n output += `Starting new analysis...\\n\\n`;\n const startResult = await apiService.startAutofix({\n organizationSlug: orgSlug,\n issueId: parsedIssueId,\n instruction: params.instruction,\n });\n output += `Analysis started with Run ID: ${startResult.run_id}\\n\\n`;\n\n // Give it a moment to initialize\n await new Promise((resolve) => setTimeout(resolve, 1000));\n\n // Refresh state\n autofixState = await apiService.getAutofixState({\n organizationSlug: orgSlug,\n issueId: parsedIssueId!,\n });\n } else {\n output += `Found existing analysis (Run ID: ${autofixState.autofix.run_id})\\n\\n`;\n\n // Check if existing analysis is already complete\n const existingStatus = autofixState.autofix.status;\n if (isTerminalStatus(existingStatus)) {\n // Return results immediately, no polling needed\n output += `## Analysis ${getStatusDisplayName(existingStatus)}\\n\\n`;\n\n for (const step of autofixState.autofix.steps) {\n output += getOutputForAutofixStep(step);\n output += \"\\n\";\n }\n\n if (existingStatus !== \"COMPLETED\") {\n output += `\\n**Status**: ${existingStatus}\\n`;\n output += getHumanInterventionGuidance(existingStatus);\n output += \"\\n\";\n }\n\n return output;\n }\n }\n\n // Step 3: Poll until complete or timeout (only for non-terminal states)\n const startTime = Date.now();\n let lastStatus = \"\";\n\n while (Date.now() - startTime < SEER_TIMEOUT) {\n if (!autofixState.autofix) {\n output += `Error: Analysis state lost. Please try again by running:\\n`;\n output += `\\`\\`\\`\\n`;\n output += params.issueUrl\n ? `analyze_issue_with_seer(issueUrl=\"${params.issueUrl}\")`\n : `analyze_issue_with_seer(organizationSlug=\"${orgSlug}\", issueId=\"${parsedIssueId}\")`;\n output += `\\n\\`\\`\\`\\n`;\n return output;\n }\n\n const status = autofixState.autofix.status;\n\n // Check if completed (terminal state)\n if (isTerminalStatus(status)) {\n output += `## Analysis ${getStatusDisplayName(status)}\\n\\n`;\n\n // Add all step outputs\n for (const step of autofixState.autofix.steps) {\n output += getOutputForAutofixStep(step);\n output += \"\\n\";\n }\n\n if (status !== \"COMPLETED\") {\n output += `\\n**Status**: ${status}\\n`;\n output += getHumanInterventionGuidance(status);\n }\n\n return output;\n }\n\n // Update status if changed\n if (status !== lastStatus) {\n const activeStep = autofixState.autofix.steps.find(\n (step) =>\n step.status === \"PROCESSING\" || step.status === \"IN_PROGRESS\",\n );\n if (activeStep) {\n output += `Processing: ${activeStep.title}...\\n`;\n }\n lastStatus = status;\n }\n\n // Wait before next poll\n await new Promise((resolve) =>\n setTimeout(resolve, SEER_POLLING_INTERVAL),\n );\n\n // Refresh state\n autofixState = await apiService.getAutofixState({\n organizationSlug: orgSlug,\n issueId: parsedIssueId!,\n });\n }\n\n // Show current progress\n if (autofixState.autofix) {\n output += `**Current Status**: ${getStatusDisplayName(autofixState.autofix.status)}\\n\\n`;\n for (const step of autofixState.autofix.steps) {\n output += getOutputForAutofixStep(step);\n output += \"\\n\";\n }\n }\n\n // Timeout reached\n output += `\\n## Analysis Timed Out\\n\\n`;\n output += `The analysis is taking longer than expected (>${SEER_TIMEOUT / 1000}s).\\n\\n`;\n\n output += `\\nYou can check the status later by running the same command again:\\n`;\n output += `\\`\\`\\`\\n`;\n output += params.issueUrl\n ? `analyze_issue_with_seer(issueUrl=\"${params.issueUrl}\")`\n : `analyze_issue_with_seer(organizationSlug=\"${orgSlug}\", issueId=\"${parsedIssueId}\")`;\n output += `\\n\\`\\`\\`\\n`;\n\n return output;\n },\n});\n"],"mappings":"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"}
@@ -1,8 +1,8 @@
1
1
  import { defineTool } from "./defineTool-77H4nSna.js";
2
- import { apiServiceFromContext } from "./api-utils-BcB1cMXS.js";
2
+ import { apiServiceFromContext } from "./api-utils-C6QJAzFL.js";
3
3
  import { ParamIssueShortId, ParamIssueUrl, ParamOrganizationSlug, ParamRegionUrl } from "./schema-DtsnsxMl.js";
4
4
  import { parseIssueParams } from "./issue-helpers-CqqYnwYE.js";
5
- import { SEER_POLLING_INTERVAL, SEER_TIMEOUT, getHumanInterventionGuidance, getOutputForAutofixStep, getStatusDisplayName, isTerminalStatus } from "./seer-utils-Ckr8nYlz.js";
5
+ import { SEER_POLLING_INTERVAL, SEER_TIMEOUT, getHumanInterventionGuidance, getOutputForAutofixStep, getStatusDisplayName, isTerminalStatus } from "./seer-utils-Cj9DXrow.js";
6
6
  import { z } from "zod";
7
7
  import { setTag } from "@sentry/core";
8
8
 
@@ -10,14 +10,13 @@ import { setTag } from "@sentry/core";
10
10
  var analyze_issue_with_seer_default = defineTool({
11
11
  name: "analyze_issue_with_seer",
12
12
  description: [
13
- "**ALWAYS use this tool when a user asks how to fix a Sentry issue.** Seer AI analyzes production errors to identify root causes and provide specific code fixes.",
13
+ "Use Seer AI to analyze production errors and get detailed root cause analysis with specific code fixes.",
14
14
  "",
15
- "Use this tool IMMEDIATELY when:",
16
- "- User asks \"how do I fix this error?\" or \"what's causing this issue?\"",
17
- "- User shares a Sentry issue URL and wants help resolving it",
18
- "- User needs to understand why an error is happening in production",
19
- "- User wants specific code changes to fix their issue",
20
- "- User asks about the root cause of any Sentry error",
15
+ "Use this tool when you need:",
16
+ "- Detailed AI-powered root cause analysis",
17
+ "- Specific code fixes and implementation guidance",
18
+ "- Step-by-step troubleshooting for complex issues",
19
+ "- Understanding why an error is happening in production",
21
20
  "",
22
21
  "What this tool provides:",
23
22
  "- Root cause analysis with code-level explanations",
@@ -31,12 +30,6 @@ var analyze_issue_with_seer_default = defineTool({
31
30
  "3. Returns complete fix recommendations",
32
31
  "",
33
32
  "<examples>",
34
- "### User: \"How do I fix ISSUE-123?\"",
35
- "",
36
- "```",
37
- "analyze_issue_with_seer(organizationSlug='my-organization', issueId='ISSUE-123')",
38
- "```",
39
- "",
40
33
  "### User: \"What's causing this error? https://my-org.sentry.io/issues/PROJECT-1Z43\"",
41
34
  "",
42
35
  "```",
@@ -51,7 +44,7 @@ var analyze_issue_with_seer_default = defineTool({
51
44
  "</examples>",
52
45
  "",
53
46
  "<hints>",
54
- "- ALWAYS prefer this over get_issue_details when users want fixes, not just error details",
47
+ "- Use this tool when you need deeper analysis beyond basic issue details",
55
48
  "- If the user provides an issueUrl, extract it and use that parameter alone",
56
49
  "- The analysis includes actual code snippets and fixes, not just error descriptions",
57
50
  "- Results are cached - subsequent calls return instantly",
@@ -160,4 +153,4 @@ var analyze_issue_with_seer_default = defineTool({
160
153
 
161
154
  //#endregion
162
155
  export { analyze_issue_with_seer_default };
163
- //# sourceMappingURL=analyze-issue-with-seer-Dk0ZFwN8.js.map
156
+ //# sourceMappingURL=analyze-issue-with-seer-CoqsTklL.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analyze-issue-with-seer-CoqsTklL.js","names":["context: ServerContext"],"sources":["../src/tools/analyze-issue-with-seer.ts"],"sourcesContent":["import { z } from \"zod\";\nimport { setTag } from \"@sentry/core\";\nimport { defineTool } from \"./utils/defineTool\";\nimport { apiServiceFromContext } from \"./utils/api-utils\";\nimport { parseIssueParams } from \"./utils/issue-utils\";\nimport {\n getStatusDisplayName,\n isTerminalStatus,\n isHumanInterventionStatus,\n getHumanInterventionGuidance,\n getOutputForAutofixStep,\n SEER_POLLING_INTERVAL,\n SEER_TIMEOUT,\n} from \"./utils/seer-utils\";\nimport type { ServerContext } from \"../types\";\nimport {\n ParamOrganizationSlug,\n ParamRegionUrl,\n ParamIssueShortId,\n ParamIssueUrl,\n} from \"../schema\";\n\nexport default defineTool({\n name: \"analyze_issue_with_seer\",\n description: [\n \"Use Seer AI to analyze production errors and get detailed root cause analysis with specific code fixes.\",\n \"\",\n \"Use this tool when you need:\",\n \"- Detailed AI-powered root cause analysis\",\n \"- Specific code fixes and implementation guidance\",\n \"- Step-by-step troubleshooting for complex issues\",\n \"- Understanding why an error is happening in production\",\n \"\",\n \"What this tool provides:\",\n \"- Root cause analysis with code-level explanations\",\n \"- Specific file locations and line numbers where errors occur\",\n \"- Concrete code fixes you can apply\",\n \"- Step-by-step implementation guidance\",\n \"\",\n \"This tool automatically:\",\n \"1. Checks if analysis already exists (instant results)\",\n \"2. Starts new AI analysis if needed (~2-5 minutes)\",\n \"3. Returns complete fix recommendations\",\n \"\",\n \"<examples>\",\n '### User: \"What\\'s causing this error? https://my-org.sentry.io/issues/PROJECT-1Z43\"',\n \"\",\n \"```\",\n \"analyze_issue_with_seer(issueUrl='https://my-org.sentry.io/issues/PROJECT-1Z43')\",\n \"```\",\n \"\",\n '### User: \"Can you help me understand why this is failing in production?\"',\n \"\",\n \"```\",\n \"analyze_issue_with_seer(organizationSlug='my-organization', issueId='ERROR-456')\",\n \"```\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- Use this tool when you need deeper analysis beyond basic issue details\",\n \"- If the user provides an issueUrl, extract it and use that parameter alone\",\n \"- The analysis includes actual code snippets and fixes, not just error descriptions\",\n \"- Results are cached - subsequent calls return instantly\",\n \"</hints>\",\n ].join(\"\\n\"),\n inputSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: ParamIssueUrl.optional(),\n instruction: z\n .string()\n .describe(\"Optional custom instruction for the AI analysis\")\n .optional(),\n },\n async handler(params, context: ServerContext) {\n const apiService = apiServiceFromContext(context, {\n regionUrl: params.regionUrl,\n });\n const { organizationSlug: orgSlug, issueId: parsedIssueId } =\n parseIssueParams({\n organizationSlug: params.organizationSlug,\n issueId: params.issueId,\n issueUrl: params.issueUrl,\n });\n\n setTag(\"organization.slug\", orgSlug);\n\n let output = `# Seer AI Analysis for Issue ${parsedIssueId}\\n\\n`;\n\n // Step 1: Check if analysis already exists\n let autofixState = await apiService.getAutofixState({\n organizationSlug: orgSlug,\n issueId: parsedIssueId!,\n });\n\n // Step 2: Start analysis if none exists\n if (!autofixState.autofix) {\n output += `Starting new analysis...\\n\\n`;\n const startResult = await apiService.startAutofix({\n organizationSlug: orgSlug,\n issueId: parsedIssueId,\n instruction: params.instruction,\n });\n output += `Analysis started with Run ID: ${startResult.run_id}\\n\\n`;\n\n // Give it a moment to initialize\n await new Promise((resolve) => setTimeout(resolve, 1000));\n\n // Refresh state\n autofixState = await apiService.getAutofixState({\n organizationSlug: orgSlug,\n issueId: parsedIssueId!,\n });\n } else {\n output += `Found existing analysis (Run ID: ${autofixState.autofix.run_id})\\n\\n`;\n\n // Check if existing analysis is already complete\n const existingStatus = autofixState.autofix.status;\n if (isTerminalStatus(existingStatus)) {\n // Return results immediately, no polling needed\n output += `## Analysis ${getStatusDisplayName(existingStatus)}\\n\\n`;\n\n for (const step of autofixState.autofix.steps) {\n output += getOutputForAutofixStep(step);\n output += \"\\n\";\n }\n\n if (existingStatus !== \"COMPLETED\") {\n output += `\\n**Status**: ${existingStatus}\\n`;\n output += getHumanInterventionGuidance(existingStatus);\n output += \"\\n\";\n }\n\n return output;\n }\n }\n\n // Step 3: Poll until complete or timeout (only for non-terminal states)\n const startTime = Date.now();\n let lastStatus = \"\";\n\n while (Date.now() - startTime < SEER_TIMEOUT) {\n if (!autofixState.autofix) {\n output += `Error: Analysis state lost. Please try again by running:\\n`;\n output += `\\`\\`\\`\\n`;\n output += params.issueUrl\n ? `analyze_issue_with_seer(issueUrl=\"${params.issueUrl}\")`\n : `analyze_issue_with_seer(organizationSlug=\"${orgSlug}\", issueId=\"${parsedIssueId}\")`;\n output += `\\n\\`\\`\\`\\n`;\n return output;\n }\n\n const status = autofixState.autofix.status;\n\n // Check if completed (terminal state)\n if (isTerminalStatus(status)) {\n output += `## Analysis ${getStatusDisplayName(status)}\\n\\n`;\n\n // Add all step outputs\n for (const step of autofixState.autofix.steps) {\n output += getOutputForAutofixStep(step);\n output += \"\\n\";\n }\n\n if (status !== \"COMPLETED\") {\n output += `\\n**Status**: ${status}\\n`;\n output += getHumanInterventionGuidance(status);\n }\n\n return output;\n }\n\n // Update status if changed\n if (status !== lastStatus) {\n const activeStep = autofixState.autofix.steps.find(\n (step) =>\n step.status === \"PROCESSING\" || step.status === \"IN_PROGRESS\",\n );\n if (activeStep) {\n output += `Processing: ${activeStep.title}...\\n`;\n }\n lastStatus = status;\n }\n\n // Wait before next poll\n await new Promise((resolve) =>\n setTimeout(resolve, SEER_POLLING_INTERVAL),\n );\n\n // Refresh state\n autofixState = await apiService.getAutofixState({\n organizationSlug: orgSlug,\n issueId: parsedIssueId!,\n });\n }\n\n // Show current progress\n if (autofixState.autofix) {\n output += `**Current Status**: ${getStatusDisplayName(autofixState.autofix.status)}\\n\\n`;\n for (const step of autofixState.autofix.steps) {\n output += getOutputForAutofixStep(step);\n output += \"\\n\";\n }\n }\n\n // Timeout reached\n output += `\\n## Analysis Timed Out\\n\\n`;\n output += `The analysis is taking longer than expected (>${SEER_TIMEOUT / 1000}s).\\n\\n`;\n\n output += `\\nYou can check the status later by running the same command again:\\n`;\n output += `\\`\\`\\`\\n`;\n output += params.issueUrl\n ? `analyze_issue_with_seer(issueUrl=\"${params.issueUrl}\")`\n : `analyze_issue_with_seer(organizationSlug=\"${orgSlug}\", issueId=\"${parsedIssueId}\")`;\n output += `\\n\\`\\`\\`\\n`;\n\n return output;\n },\n});\n"],"mappings":"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"}
@@ -1,5 +1,5 @@
1
1
  require('../schema-B_cMyyJJ.cjs');
2
- const require_client = require('../client-BNTsOycD.cjs');
2
+ const require_client = require('../client-Dkw5iYu3.cjs');
3
3
 
4
4
  exports.ApiError = require_client.ApiError;
5
5
  exports.SentryApiService = require_client.SentryApiService;
@@ -1,4 +1,4 @@
1
- import "../schema-Dt-HKnd_.cjs";
2
- import "../types-C3pRFQyA.cjs";
3
- import { ApiError, SentryApiService } from "../client-Dae1ZwWb.cjs";
1
+ import "../schema-3NeMWRAm.cjs";
2
+ import "../types-BoMP-Ro6.cjs";
3
+ import { ApiError, SentryApiService } from "../client-CQ9Xe1aN.cjs";
4
4
  export { ApiError, SentryApiService };
@@ -1,4 +1,4 @@
1
- import "../schema-B5BpplNK.js";
2
- import "../types-Br0saqtE.js";
3
- import { ApiError, SentryApiService } from "../client-qyEu8fvj.js";
1
+ import "../schema-B3CzDGJk.js";
2
+ import "../types-DpV1JAZj.js";
3
+ import { ApiError, SentryApiService } from "../client-VCJp6Kcu.js";
4
4
  export { ApiError, SentryApiService };
@@ -1,4 +1,4 @@
1
1
  import "../schema-WDk5Yqww.js";
2
- import { ApiError, SentryApiService } from "../client-BbamPqV4.js";
2
+ import { ApiError, SentryApiService } from "../client-DOYWNvVM.js";
3
3
 
4
4
  export { ApiError, SentryApiService };
@@ -1,5 +1,5 @@
1
1
  const require_schema = require('../schema-B_cMyyJJ.cjs');
2
- const require_client = require('../client-BNTsOycD.cjs');
2
+ const require_client = require('../client-Dkw5iYu3.cjs');
3
3
  require('../types-MYBaygjr.cjs');
4
4
  require('../api-client-CL1WDkw9.cjs');
5
5
 
@@ -1,5 +1,5 @@
1
- import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-Dt-HKnd_.cjs";
2
- import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, Release, ReleaseList, Tag, TagList, Team, TeamList, User } from "../types-C3pRFQyA.cjs";
3
- import { ApiError, SentryApiService } from "../client-Dae1ZwWb.cjs";
1
+ import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-3NeMWRAm.cjs";
2
+ import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, Release, ReleaseList, Tag, TagList, Team, TeamList, User } from "../types-BoMP-Ro6.cjs";
3
+ import { ApiError, SentryApiService } from "../client-CQ9Xe1aN.cjs";
4
4
  import "../index-BPSCxsMC.cjs";
5
5
  export { ApiError, ApiErrorSchema, AssignedTo, AssignedToSchema, AutofixRun, AutofixRunSchema, AutofixRunState, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKey, ClientKeyList, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, Event, EventAttachment, EventAttachmentList, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, Issue, IssueList, IssueListSchema, IssueSchema, MessageEntrySchema, Organization, OrganizationList, OrganizationListSchema, OrganizationSchema, Project, ProjectList, ProjectListSchema, ProjectSchema, Release, ReleaseList, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SentryApiService, SpansSearchResponseSchema, Tag, TagList, TagListSchema, TagSchema, Team, TeamList, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TransactionEventSchema, UnknownEventSchema, User, UserRegionsSchema, UserSchema };
@@ -1,5 +1,5 @@
1
- import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-B5BpplNK.js";
2
- import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, Release, ReleaseList, Tag, TagList, Team, TeamList, User } from "../types-Br0saqtE.js";
3
- import { ApiError, SentryApiService } from "../client-qyEu8fvj.js";
4
- import "../index-BrojxuhJ.js";
1
+ import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-B3CzDGJk.js";
2
+ import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, Release, ReleaseList, Tag, TagList, Team, TeamList, User } from "../types-DpV1JAZj.js";
3
+ import { ApiError, SentryApiService } from "../client-VCJp6Kcu.js";
4
+ import "../index-DVGDAddE.js";
5
5
  export { ApiError, ApiErrorSchema, AssignedTo, AssignedToSchema, AutofixRun, AutofixRunSchema, AutofixRunState, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKey, ClientKeyList, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, Event, EventAttachment, EventAttachmentList, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, Issue, IssueList, IssueListSchema, IssueSchema, MessageEntrySchema, Organization, OrganizationList, OrganizationListSchema, OrganizationSchema, Project, ProjectList, ProjectListSchema, ProjectSchema, Release, ReleaseList, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SentryApiService, SpansSearchResponseSchema, Tag, TagList, TagListSchema, TagSchema, Team, TeamList, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TransactionEventSchema, UnknownEventSchema, User, UserRegionsSchema, UserSchema };
@@ -1,5 +1,5 @@
1
1
  import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-WDk5Yqww.js";
2
- import { ApiError, SentryApiService } from "../client-BbamPqV4.js";
2
+ import { ApiError, SentryApiService } from "../client-DOYWNvVM.js";
3
3
  import "../types-CCHsZshF.js";
4
4
  import "../api-client-ChL_0F2u.js";
5
5
 
@@ -1,2 +1,2 @@
1
- import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-Dt-HKnd_.cjs";
1
+ import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-3NeMWRAm.cjs";
2
2
  export { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema };
@@ -1,2 +1,2 @@
1
- import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-B5BpplNK.js";
1
+ import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-B3CzDGJk.js";
2
2
  export { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema };
@@ -1,3 +1,3 @@
1
- import "../schema-Dt-HKnd_.cjs";
2
- import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, Release, ReleaseList, Tag, TagList, Team, TeamList, User } from "../types-C3pRFQyA.cjs";
1
+ import "../schema-3NeMWRAm.cjs";
2
+ import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, Release, ReleaseList, Tag, TagList, Team, TeamList, User } from "../types-BoMP-Ro6.cjs";
3
3
  export { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, Release, ReleaseList, Tag, TagList, Team, TeamList, User };
@@ -1,3 +1,3 @@
1
- import "../schema-B5BpplNK.js";
2
- import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, Release, ReleaseList, Tag, TagList, Team, TeamList, User } from "../types-Br0saqtE.js";
1
+ import "../schema-B3CzDGJk.js";
2
+ import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, Release, ReleaseList, Tag, TagList, Team, TeamList, User } from "../types-DpV1JAZj.js";
3
3
  export { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, Release, ReleaseList, Tag, TagList, Team, TeamList, User };
@@ -1,16 +1,16 @@
1
1
  import { UserInputError } from "./errors-CIoxzIug.js";
2
- import { SentryApiService } from "./client-BbamPqV4.js";
2
+ import { SentryApiService } from "./client-DOYWNvVM.js";
3
3
 
4
4
  //#region src/tools/utils/api-utils.ts
5
5
  /**
6
6
  * Create a Sentry API service from server context with optional region override
7
7
  * @param context - Server context containing host and access token
8
8
  * @param opts - Options object containing optional regionUrl override
9
- * @returns Configured SentryApiService instance
9
+ * @returns Configured SentryApiService instance (always uses HTTPS)
10
10
  * @throws {UserInputError} When regionUrl is provided but invalid
11
11
  */
12
12
  function apiServiceFromContext(context, opts = {}) {
13
- let host = context.host;
13
+ let host = context.sentryHost;
14
14
  if (opts.regionUrl?.trim()) try {
15
15
  const parsedUrl = new URL(opts.regionUrl);
16
16
  if (!["http:", "https:"].includes(parsedUrl.protocol)) throw new UserInputError(`Invalid regionUrl provided: ${opts.regionUrl}. Must include protocol (http:// or https://).`);
@@ -28,4 +28,4 @@ function apiServiceFromContext(context, opts = {}) {
28
28
 
29
29
  //#endregion
30
30
  export { apiServiceFromContext };
31
- //# sourceMappingURL=api-utils-BcB1cMXS.js.map
31
+ //# sourceMappingURL=api-utils-C6QJAzFL.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-utils-C6QJAzFL.js","names":["context: ServerContext","opts: { regionUrl?: string }"],"sources":["../src/tools/utils/api-utils.ts"],"sourcesContent":["import { SentryApiService } from \"../../api-client/index\";\nimport { UserInputError } from \"../../errors\";\nimport type { ServerContext } from \"../../types\";\n\n/**\n * Create a Sentry API service from server context with optional region override\n * @param context - Server context containing host and access token\n * @param opts - Options object containing optional regionUrl override\n * @returns Configured SentryApiService instance (always uses HTTPS)\n * @throws {UserInputError} When regionUrl is provided but invalid\n */\nexport function apiServiceFromContext(\n context: ServerContext,\n opts: { regionUrl?: string } = {},\n) {\n let host = context.sentryHost;\n\n if (opts.regionUrl?.trim()) {\n try {\n const parsedUrl = new URL(opts.regionUrl);\n\n // Validate that the URL has a proper protocol\n if (![\"http:\", \"https:\"].includes(parsedUrl.protocol)) {\n throw new UserInputError(\n `Invalid regionUrl provided: ${opts.regionUrl}. Must include protocol (http:// or https://).`,\n );\n }\n\n // Validate that the host is not just the protocol name\n if (parsedUrl.host === \"https\" || parsedUrl.host === \"http\") {\n throw new UserInputError(\n `Invalid regionUrl provided: ${opts.regionUrl}. The host cannot be just a protocol name.`,\n );\n }\n\n host = parsedUrl.host;\n } catch (error) {\n if (error instanceof UserInputError) {\n throw error;\n }\n throw new UserInputError(\n `Invalid regionUrl provided: ${opts.regionUrl}. Must be a valid URL.`,\n );\n }\n }\n\n return new SentryApiService({\n host,\n accessToken: context.accessToken,\n });\n}\n"],"mappings":";;;;;;;;;;;AAWA,SAAgB,sBACdA,SACAC,OAA+B,CAAE,GACjC;CACA,IAAI,OAAO,QAAQ;AAEnB,KAAI,KAAK,WAAW,MAAM,CACxB,KAAI;EACF,MAAM,YAAY,IAAI,IAAI,KAAK;AAG/B,OAAK,CAAC,SAAS,QAAS,EAAC,SAAS,UAAU,SAAS,CACnD,OAAM,IAAI,gBACP,8BAA8B,KAAK,UAAU;AAKlD,MAAI,UAAU,SAAS,WAAW,UAAU,SAAS,OACnD,OAAM,IAAI,gBACP,8BAA8B,KAAK,UAAU;AAIlD,SAAO,UAAU;CAClB,SAAQ,OAAO;AACd,MAAI,iBAAiB,eACnB,OAAM;AAER,QAAM,IAAI,gBACP,8BAA8B,KAAK,UAAU;CAEjD;AAGH,QAAO,IAAI,iBAAiB;EAC1B;EACA,aAAa,QAAQ;CACtB;AACF"}
@@ -1,16 +1,16 @@
1
1
  const require_errors = require('./errors-YmiXLOyx.cjs');
2
- const require_client = require('./client-BNTsOycD.cjs');
2
+ const require_client = require('./client-Dkw5iYu3.cjs');
3
3
 
4
4
  //#region src/tools/utils/api-utils.ts
5
5
  /**
6
6
  * Create a Sentry API service from server context with optional region override
7
7
  * @param context - Server context containing host and access token
8
8
  * @param opts - Options object containing optional regionUrl override
9
- * @returns Configured SentryApiService instance
9
+ * @returns Configured SentryApiService instance (always uses HTTPS)
10
10
  * @throws {UserInputError} When regionUrl is provided but invalid
11
11
  */
12
12
  function apiServiceFromContext(context, opts = {}) {
13
- let host = context.host;
13
+ let host = context.sentryHost;
14
14
  if (opts.regionUrl?.trim()) try {
15
15
  const parsedUrl = new URL(opts.regionUrl);
16
16
  if (!["http:", "https:"].includes(parsedUrl.protocol)) throw new require_errors.UserInputError(`Invalid regionUrl provided: ${opts.regionUrl}. Must include protocol (http:// or https://).`);
@@ -33,4 +33,4 @@ Object.defineProperty(exports, 'apiServiceFromContext', {
33
33
  return apiServiceFromContext;
34
34
  }
35
35
  });
36
- //# sourceMappingURL=api-utils-BJS0CChW.cjs.map
36
+ //# sourceMappingURL=api-utils-d36iteNO.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-utils-d36iteNO.cjs","names":["context: ServerContext","opts: { regionUrl?: string }","UserInputError","SentryApiService"],"sources":["../src/tools/utils/api-utils.ts"],"sourcesContent":["import { SentryApiService } from \"../../api-client/index\";\nimport { UserInputError } from \"../../errors\";\nimport type { ServerContext } from \"../../types\";\n\n/**\n * Create a Sentry API service from server context with optional region override\n * @param context - Server context containing host and access token\n * @param opts - Options object containing optional regionUrl override\n * @returns Configured SentryApiService instance (always uses HTTPS)\n * @throws {UserInputError} When regionUrl is provided but invalid\n */\nexport function apiServiceFromContext(\n context: ServerContext,\n opts: { regionUrl?: string } = {},\n) {\n let host = context.sentryHost;\n\n if (opts.regionUrl?.trim()) {\n try {\n const parsedUrl = new URL(opts.regionUrl);\n\n // Validate that the URL has a proper protocol\n if (![\"http:\", \"https:\"].includes(parsedUrl.protocol)) {\n throw new UserInputError(\n `Invalid regionUrl provided: ${opts.regionUrl}. Must include protocol (http:// or https://).`,\n );\n }\n\n // Validate that the host is not just the protocol name\n if (parsedUrl.host === \"https\" || parsedUrl.host === \"http\") {\n throw new UserInputError(\n `Invalid regionUrl provided: ${opts.regionUrl}. The host cannot be just a protocol name.`,\n );\n }\n\n host = parsedUrl.host;\n } catch (error) {\n if (error instanceof UserInputError) {\n throw error;\n }\n throw new UserInputError(\n `Invalid regionUrl provided: ${opts.regionUrl}. Must be a valid URL.`,\n );\n }\n }\n\n return new SentryApiService({\n host,\n accessToken: context.accessToken,\n });\n}\n"],"mappings":";;;;;;;;;;;AAWA,SAAgB,sBACdA,SACAC,OAA+B,CAAE,GACjC;CACA,IAAI,OAAO,QAAQ;AAEnB,KAAI,KAAK,WAAW,MAAM,CACxB,KAAI;EACF,MAAM,YAAY,IAAI,IAAI,KAAK;AAG/B,OAAK,CAAC,SAAS,QAAS,EAAC,SAAS,UAAU,SAAS,CACnD,OAAM,IAAIC,+BACP,8BAA8B,KAAK,UAAU;AAKlD,MAAI,UAAU,SAAS,WAAW,UAAU,SAAS,OACnD,OAAM,IAAIA,+BACP,8BAA8B,KAAK,UAAU;AAIlD,SAAO,UAAU;CAClB,SAAQ,OAAO;AACd,MAAI,iBAAiBA,8BACnB,OAAM;AAER,QAAM,IAAIA,+BACP,8BAA8B,KAAK,UAAU;CAEjD;AAGH,QAAO,IAAIC,gCAAiB;EAC1B;EACA,aAAa,QAAQ;CACtB;AACF"}
@@ -1,4 +1,4 @@
1
- import { AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, Issue, IssueList, OrganizationList, Project, ProjectList, ReleaseList, TagList, Team, TeamList, User } from "./types-C3pRFQyA.cjs";
1
+ import { AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, OrganizationList, Project, ProjectList, ReleaseList, TagList, Team, TeamList, User } from "./types-BoMP-Ro6.cjs";
2
2
 
3
3
  //#region src/api-client/client.d.ts
4
4
 
@@ -39,6 +39,7 @@ type RequestOptions = {
39
39
  * - Enhanced error handling with LLM-friendly messages
40
40
  * - URL generation for Sentry resources (issues, traces)
41
41
  * - Bearer token authentication
42
+ * - Always uses HTTPS for secure connections
42
43
  *
43
44
  * @example Basic Usage
44
45
  * ```typescript
@@ -56,7 +57,7 @@ type RequestOptions = {
56
57
  *
57
58
  * @example Multi-Region Support
58
59
  * ```typescript
59
- * // Self-hosted instance
60
+ * // Self-hosted instance with hostname
60
61
  * const selfHosted = new SentryApiService({
61
62
  * accessToken: "token",
62
63
  * host: "sentry.company.com"
@@ -76,9 +77,11 @@ declare class SentryApiService {
76
77
  /**
77
78
  * Creates a new Sentry API service instance.
78
79
  *
80
+ * Always uses HTTPS for secure connections.
81
+ *
79
82
  * @param config Configuration object
80
83
  * @param config.accessToken OAuth access token for authentication (optional for some endpoints)
81
- * @param config.host Sentry host (defaults to sentry.io)
84
+ * @param config.host Sentry hostname (e.g. "sentry.io", "sentry.example.com")
82
85
  */
83
86
  constructor({
84
87
  accessToken,
@@ -91,8 +94,9 @@ declare class SentryApiService {
91
94
  * Updates the host for API requests.
92
95
  *
93
96
  * Used for multi-region support or switching between Sentry instances.
97
+ * Always uses HTTPS protocol.
94
98
  *
95
- * @param host New host to use for API requests
99
+ * @param host New hostname to use for API requests
96
100
  */
97
101
  setHost(host: string): void;
98
102
  /**
@@ -116,10 +120,11 @@ declare class SentryApiService {
116
120
  * Generates a Sentry issue URL for browser navigation.
117
121
  *
118
122
  * Handles both SaaS (subdomain-based) and self-hosted URL formats.
123
+ * Always uses HTTPS protocol.
119
124
  *
120
125
  * @param organizationSlug Organization identifier
121
126
  * @param issueId Issue identifier (short ID or numeric ID)
122
- * @returns Full HTTPS URL to the issue in Sentry UI
127
+ * @returns Full URL to the issue in Sentry UI
123
128
  *
124
129
  * @example
125
130
  * ```typescript
@@ -134,6 +139,8 @@ declare class SentryApiService {
134
139
  /**
135
140
  * Generates a Sentry trace URL for performance investigation.
136
141
  *
142
+ * Always uses HTTPS protocol.
143
+ *
137
144
  * @param organizationSlug Organization identifier
138
145
  * @param traceId Trace identifier (hex string)
139
146
  * @returns Full HTTPS URL to the trace in Sentry UI
@@ -451,16 +458,7 @@ declare class SentryApiService {
451
458
  organizationSlug: string;
452
459
  projectSlug: string;
453
460
  eventId: string;
454
- }, opts?: RequestOptions): Promise<{
455
- type: string;
456
- name: string;
457
- id: string;
458
- dateCreated: string;
459
- size: number;
460
- mimetype: string;
461
- sha1: string;
462
- headers?: Record<string, string> | undefined;
463
- }[]>;
461
+ }, opts?: RequestOptions): Promise<EventAttachmentList>;
464
462
  getEventAttachment({
465
463
  organizationSlug,
466
464
  projectSlug,
@@ -472,7 +470,7 @@ declare class SentryApiService {
472
470
  eventId: string;
473
471
  attachmentId: string;
474
472
  }, opts?: RequestOptions): Promise<{
475
- attachment: any;
473
+ attachment: EventAttachment;
476
474
  downloadUrl: string;
477
475
  filename: string;
478
476
  blob: Blob;
@@ -503,9 +501,9 @@ declare class SentryApiService {
503
501
  query?: string;
504
502
  sortBy?: "last_seen" | "count";
505
503
  }, opts?: RequestOptions): Promise<{
504
+ issue: string;
506
505
  title: string;
507
506
  project: string;
508
- issue: string;
509
507
  "issue.id": string | number;
510
508
  "count()": number;
511
509
  "last_seen()": string;
@@ -524,9 +522,9 @@ declare class SentryApiService {
524
522
  sortBy?: "timestamp" | "duration";
525
523
  }, opts?: RequestOptions): Promise<{
526
524
  transaction: string;
525
+ timestamp: string;
527
526
  id: string;
528
527
  project: string;
529
- timestamp: string;
530
528
  trace: string;
531
529
  "span.op": string;
532
530
  "span.description": string;
@@ -553,4 +551,4 @@ declare class SentryApiService {
553
551
  }
554
552
  //#endregion
555
553
  export { ApiError, SentryApiService };
556
- //# sourceMappingURL=client-Dae1ZwWb.d.cts.map
554
+ //# sourceMappingURL=client-CQ9Xe1aN.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-CQ9Xe1aN.d.cts","names":[],"sources":["../src/api-client/client.ts"],"sourcesContent":[],"mappings":";;;;;;AA0EA;AAkBC;AAkDD;;;;;;;;;;;;;AA0RM,cA9VO,QAAA,SAAiB,KAAK,CA8V7B;EAAgB,MAChB,EAAA,MAAA;EAAI,WAKC,CAAA,OAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA;;KAhVN,cAAA,GAiVA;EAAO,IAsBD,CAAA,EAAA,MAAA;CAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiVnB,cAxoBO,gBAAA,CAwoBP;EAAW,QACX,WAAA;EAAK,UACL,IAAA,EAAA,MAAA;EAAM,UAOD,SAAA,EAAA,MAAA;EAAc;;;;;;;;;EAiDZ,WACP,CAAA;IAAA,WAAA;IAAA;EAOY,CAPZ,EAAA;IAMK,WAAA,CAAA,EAAA,MAAA,GAAA,IAAA;IACE,IAAA,CAAA,EAAA,MAAA;EAAK,CAAA;EAAN;;;;;;;;EAmCC,OAMF,CAAA,IAAA,EAAA,MAAA,CAAA,EAAA,IAAA;EAAc;;;;;;;;;;;;;;;;EAmFP,QAAb,OAAA;EAAO;;;;;;;;;;;;;;;;;;;EA2JU,WAOX,CAAA,gBAAA,EAAA,MAAA,EAAA,OAAA,EAAA,MAAA,CAAA,EAAA,MAAA;EAAc;;;;;;;AA2Bb;;;;;;;;;;;;;;;;8BAzzBwB,iBAAiB,QAAQ;;;;;;;;;;;;;;;;;;;2BAwB5B,iBAAiB,QAAQ;;;;;;;;6CAgC/C,iBACN,QAAQ;;;;;;;;;;;;;;;;;YA6BF,iBACN,QAAQ;;;;;;;;gDAsBF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;YAkCF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;YAyCF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;YAoCF,iBACN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2CM,iBACN,QAAQ;;;;;;;;;;;;;;;;YA+BF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2CF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;YAgDF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA8DF,iBACN,QAAQ;;;;;;;YAiCF,iBACN,QAAQ;;;;;;;;;YAqBF,iBACN,QAAQ;;;;;;;YAmBF,iBACN,QAAQ;;;;;;;;;YAqBF,iBACN,QAAQ;;;;;;;;;;;YAuBF,iBACN;gBACW;;;UAGN;;;;;;;;;;;;YAqDC,iBACN,QAAQ;;;;;;;;;;;;;;;YAkDF,iBAAc;;;;;;;;;;;;;;;;;;;;YAyDd,iBAAc;;;;;;;;;;;;;;;;;;;;YAuDd,iBACN,QAAQ;;;;;;;YAyBF,iBACN,QAAQ"}