@sentry/mcp-server 0.22.0 → 0.23.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 (430) hide show
  1. package/README.md +9 -0
  2. package/dist/{agent-0WAnUgat.js → agent-9s0S2VUD.js} +2 -2
  3. package/dist/{agent-0WAnUgat.js.map → agent-9s0S2VUD.js.map} +1 -1
  4. package/dist/{agent-Cu85yHYm.d.ts → agent-BI-VWYjJ.d.ts} +14 -14
  5. package/dist/agent-BI-VWYjJ.d.ts.map +1 -0
  6. package/dist/{agent-DYfi9MFV.d.cts → agent-BmPRmM9x.d.cts} +6 -6
  7. package/dist/{agent-DYfi9MFV.d.cts.map → agent-BmPRmM9x.d.cts.map} +1 -1
  8. package/dist/{agent-Dkgkv7Iz.js → agent-BsCC60AU.js} +2 -2
  9. package/dist/{agent-Dkgkv7Iz.js.map → agent-BsCC60AU.js.map} +1 -1
  10. package/dist/{agent-CyyRLYbF.cjs → agent-CirZFiaJ.cjs} +2 -2
  11. package/dist/{agent-CyyRLYbF.cjs.map → agent-CirZFiaJ.cjs.map} +1 -1
  12. package/dist/{agent-Cm9hEq5d.cjs → agent-CnHO6uyy.cjs} +2 -2
  13. package/dist/{agent-Cm9hEq5d.cjs.map → agent-CnHO6uyy.cjs.map} +1 -1
  14. package/dist/{agent-TEZG63ug.d.cts → agent-D8Mz9ung.d.cts} +2 -2
  15. package/dist/{agent-TEZG63ug.d.cts.map → agent-D8Mz9ung.d.cts.map} +1 -1
  16. package/dist/{agent-C1Ros3Xx.js → agent-DD0p64Dq.js} +2 -2
  17. package/dist/{agent-C1Ros3Xx.js.map → agent-DD0p64Dq.js.map} +1 -1
  18. package/dist/{agent-BeTXxskw.d.ts → agent-DQdvMLcG.d.ts} +4 -4
  19. package/dist/{agent-BeTXxskw.d.ts.map → agent-DQdvMLcG.d.ts.map} +1 -1
  20. package/dist/{agent-DtCRTWPZ.cjs → agent-DaUNg6Ut.cjs} +2 -2
  21. package/dist/{agent-DtCRTWPZ.cjs.map → agent-DaUNg6Ut.cjs.map} +1 -1
  22. package/dist/{analyze-issue-with-seer-Ji3KDm0O.js → analyze-issue-with-seer-6OwT1RJP.js} +3 -3
  23. package/dist/analyze-issue-with-seer-6OwT1RJP.js.map +1 -0
  24. package/dist/{analyze-issue-with-seer-B90r4g5J.cjs → analyze-issue-with-seer-wsCEFdZs.cjs} +3 -3
  25. package/dist/{analyze-issue-with-seer-Ji3KDm0O.js.map → analyze-issue-with-seer-wsCEFdZs.cjs.map} +1 -1
  26. package/dist/{api-CBHyxA3Q.js → api-BCICbJoI.js} +2 -2
  27. package/dist/{api-CBHyxA3Q.js.map → api-BCICbJoI.js.map} +1 -1
  28. package/dist/{api-CHgBJOv9.cjs → api-CfzBwheo.cjs} +2 -2
  29. package/dist/{api-CHgBJOv9.cjs.map → api-CfzBwheo.cjs.map} +1 -1
  30. package/dist/api-client/client.cjs +3 -3
  31. package/dist/api-client/client.d.cts +3 -3
  32. package/dist/api-client/client.d.ts +3 -3
  33. package/dist/api-client/client.js +3 -3
  34. package/dist/api-client/index.cjs +6 -3
  35. package/dist/api-client/index.d.cts +4 -4
  36. package/dist/api-client/index.d.ts +4 -4
  37. package/dist/api-client/index.js +4 -4
  38. package/dist/api-client/schema.cjs +4 -1
  39. package/dist/api-client/schema.d.cts +2 -2
  40. package/dist/api-client/schema.d.ts +2 -2
  41. package/dist/api-client/schema.js +2 -2
  42. package/dist/api-client/types.d.cts +3 -3
  43. package/dist/api-client/types.d.ts +3 -3
  44. package/dist/{callEmbeddedAgent-BPS472yg.cjs → callEmbeddedAgent-COB8Jrcn.cjs} +3 -2
  45. package/dist/{callEmbeddedAgent-BPS472yg.cjs.map → callEmbeddedAgent-COB8Jrcn.cjs.map} +1 -1
  46. package/dist/{callEmbeddedAgent-DavTx3Qo.js → callEmbeddedAgent-rEUWAl2g.js} +3 -2
  47. package/dist/{callEmbeddedAgent-DavTx3Qo.js.map → callEmbeddedAgent-rEUWAl2g.js.map} +1 -1
  48. package/dist/{client-0n2-4zOO.d.cts → client-8_aKE-B-.d.cts} +25 -18
  49. package/dist/client-8_aKE-B-.d.cts.map +1 -0
  50. package/dist/{client-ByOC8aCf.d.ts → client-BGVY6gBL.d.ts} +24 -17
  51. package/dist/client-BGVY6gBL.d.ts.map +1 -0
  52. package/dist/{client-B7hvqupZ.js → client-Be1DR1al.js} +33 -16
  53. package/dist/client-Be1DR1al.js.map +1 -0
  54. package/dist/{client-cC79LUJ5.cjs → client-DSxCsnqO.cjs} +32 -15
  55. package/dist/client-DSxCsnqO.cjs.map +1 -0
  56. package/dist/{create-dsn-9yIHr10B.cjs → create-dsn-C5vd9Btg.cjs} +5 -5
  57. package/dist/create-dsn-C5vd9Btg.cjs.map +1 -0
  58. package/dist/{create-dsn-p2Ep6zDn.js → create-dsn-DBqCDM_6.js} +5 -5
  59. package/dist/create-dsn-DBqCDM_6.js.map +1 -0
  60. package/dist/{create-project-CN0UneBm.js → create-project-BsN4Q0cl.js} +6 -6
  61. package/dist/create-project-BsN4Q0cl.js.map +1 -0
  62. package/dist/{create-project-BQQx1iLm.cjs → create-project-D4W66CxU.cjs} +6 -6
  63. package/dist/create-project-D4W66CxU.cjs.map +1 -0
  64. package/dist/{create-team-CzFrsVdw.js → create-team-DUBAEGGr.js} +4 -4
  65. package/dist/create-team-DUBAEGGr.js.map +1 -0
  66. package/dist/{create-team-DFSriKVL.cjs → create-team-DV6XmZkb.cjs} +4 -4
  67. package/dist/create-team-DV6XmZkb.cjs.map +1 -0
  68. package/dist/{find-dsns-DhHHtvpj.cjs → find-dsns-BabAfVEt.cjs} +3 -3
  69. package/dist/find-dsns-BabAfVEt.cjs.map +1 -0
  70. package/dist/{find-dsns-BzfYjE06.js → find-dsns-C-Q6yJT5.js} +3 -3
  71. package/dist/find-dsns-C-Q6yJT5.js.map +1 -0
  72. package/dist/{find-organizations-BJFAElbh.js → find-organizations-Bo-JdU-R.js} +3 -3
  73. package/dist/{find-organizations-7ooGnnmP.cjs.map → find-organizations-Bo-JdU-R.js.map} +1 -1
  74. package/dist/{find-organizations-7ooGnnmP.cjs → find-organizations-CEEqa1an.cjs} +3 -3
  75. package/dist/find-organizations-CEEqa1an.cjs.map +1 -0
  76. package/dist/{find-projects-BpEGRZya.cjs → find-projects-BWyvosHM.cjs} +4 -4
  77. package/dist/find-projects-BWyvosHM.cjs.map +1 -0
  78. package/dist/{find-projects-E5CMFbwU.js → find-projects-zM4CM_xX.js} +4 -4
  79. package/dist/find-projects-zM4CM_xX.js.map +1 -0
  80. package/dist/{find-releases-Du5euXKS.cjs → find-releases-DMJrj5wz.cjs} +5 -5
  81. package/dist/find-releases-DMJrj5wz.cjs.map +1 -0
  82. package/dist/{find-releases-DWWonhlV.js → find-releases-DzdGLPSN.js} +5 -5
  83. package/dist/find-releases-DzdGLPSN.js.map +1 -0
  84. package/dist/{find-teams-BM4yWKe_.js → find-teams-CR_hdlun.js} +4 -4
  85. package/dist/find-teams-CR_hdlun.js.map +1 -0
  86. package/dist/{find-teams-Bp6-Iu62.cjs → find-teams-lOqS_719.cjs} +4 -4
  87. package/dist/find-teams-lOqS_719.cjs.map +1 -0
  88. package/dist/{formatting-5u-ZFz8H.cjs → formatting-BatGC-29.cjs} +89 -2
  89. package/dist/formatting-BatGC-29.cjs.map +1 -0
  90. package/dist/{formatting-ClM7RU4L.d.ts → formatting-Bm1GxhEu.d.ts} +4 -4
  91. package/dist/formatting-Bm1GxhEu.d.ts.map +1 -0
  92. package/dist/{formatting-BEgp4WO_.js → formatting-DUODx6N5.js} +89 -2
  93. package/dist/formatting-DUODx6N5.js.map +1 -0
  94. package/dist/{formatting-Bw0FWiCH.d.cts → formatting-GZdM57wq.d.cts} +4 -4
  95. package/dist/formatting-GZdM57wq.d.cts.map +1 -0
  96. package/dist/{get-doc-DsOaSMIe.cjs → get-doc-CbVw4ada.cjs} +2 -2
  97. package/dist/{get-doc-DsOaSMIe.cjs.map → get-doc-CbVw4ada.cjs.map} +1 -1
  98. package/dist/{get-doc-CWhlUoJe.js → get-doc-FuILofQP.js} +2 -2
  99. package/dist/{get-doc-CWhlUoJe.js.map → get-doc-FuILofQP.js.map} +1 -1
  100. package/dist/{get-event-attachment-CTF-k6op.cjs → get-event-attachment-DuyBT68p.cjs} +4 -4
  101. package/dist/get-event-attachment-DuyBT68p.cjs.map +1 -0
  102. package/dist/{get-event-attachment-DDvsu6IQ.js → get-event-attachment-Dzg2R7ng.js} +4 -4
  103. package/dist/get-event-attachment-Dzg2R7ng.js.map +1 -0
  104. package/dist/{get-issue-details-CIZSksmd.cjs → get-issue-details-BY7S1YyX.cjs} +6 -6
  105. package/dist/get-issue-details-BY7S1YyX.cjs.map +1 -0
  106. package/dist/{get-issue-details-Bsax2jTY.js → get-issue-details-BxJzOzFQ.js} +6 -6
  107. package/dist/get-issue-details-BxJzOzFQ.js.map +1 -0
  108. package/dist/{get-trace-details-Bc9GgkSs.cjs → get-trace-details-DD0p3apU.cjs} +5 -5
  109. package/dist/get-trace-details-DD0p3apU.cjs.map +1 -0
  110. package/dist/{get-trace-details-Bkilw5oH.js → get-trace-details-Dv2FB534.js} +5 -5
  111. package/dist/get-trace-details-Dv2FB534.js.map +1 -0
  112. package/dist/{handler-D6OGs2Ok.d.cts → handler-0iIvlYwy.d.cts} +2 -2
  113. package/dist/handler-0iIvlYwy.d.cts.map +1 -0
  114. package/dist/{handler-CZEMKP9p.d.cts → handler-8JzODzam.d.cts} +3 -3
  115. package/dist/handler-8JzODzam.d.cts.map +1 -0
  116. package/dist/{handler-Cs5DcdpF.d.ts → handler-9UUkphzv.d.ts} +3 -3
  117. package/dist/handler-9UUkphzv.d.ts.map +1 -0
  118. package/dist/{handler-y6EMhG0y.js → handler-BfTAwyrq.js} +9 -9
  119. package/dist/handler-BfTAwyrq.js.map +1 -0
  120. package/dist/{handler-bf2qu8DQ.js → handler-BhjeSo2N.js} +8 -8
  121. package/dist/handler-BhjeSo2N.js.map +1 -0
  122. package/dist/{handler-DQbc5eAJ.cjs → handler-BjTPOR8v.cjs} +8 -8
  123. package/dist/handler-BjTPOR8v.cjs.map +1 -0
  124. package/dist/{handler-ChOaafS-.cjs → handler-C5Tgh1wj.cjs} +9 -9
  125. package/dist/handler-C5Tgh1wj.cjs.map +1 -0
  126. package/dist/{handler-CmTBmIt9.d.cts → handler-ClZBIn0B.d.cts} +3 -3
  127. package/dist/handler-ClZBIn0B.d.cts.map +1 -0
  128. package/dist/{handler-CASDrJ7z.d.ts → handler-CmAbLcaV.d.ts} +3 -3
  129. package/dist/handler-CmAbLcaV.d.ts.map +1 -0
  130. package/dist/{handler-CXY05zhR.d.ts → handler-DbUy8Z54.d.ts} +2 -2
  131. package/dist/handler-DbUy8Z54.d.ts.map +1 -0
  132. package/dist/index.cjs +32 -32
  133. package/dist/index.js +32 -32
  134. package/dist/internal/agents/callEmbeddedAgent.cjs +3 -3
  135. package/dist/internal/agents/callEmbeddedAgent.js +3 -3
  136. package/dist/internal/agents/openai-provider.cjs +2 -2
  137. package/dist/internal/agents/openai-provider.js +2 -2
  138. package/dist/internal/agents/tools/dataset-fields.cjs +3 -3
  139. package/dist/internal/agents/tools/dataset-fields.d.cts +7 -7
  140. package/dist/internal/agents/tools/dataset-fields.d.ts +7 -7
  141. package/dist/internal/agents/tools/dataset-fields.d.ts.map +1 -1
  142. package/dist/internal/agents/tools/dataset-fields.js +3 -3
  143. package/dist/internal/agents/tools/otel-semantics.cjs +3 -3
  144. package/dist/internal/agents/tools/otel-semantics.d.cts +10 -10
  145. package/dist/internal/agents/tools/otel-semantics.d.cts.map +1 -1
  146. package/dist/internal/agents/tools/otel-semantics.d.ts +10 -10
  147. package/dist/internal/agents/tools/otel-semantics.d.ts.map +1 -1
  148. package/dist/internal/agents/tools/otel-semantics.js +3 -3
  149. package/dist/internal/agents/tools/utils.cjs +3 -3
  150. package/dist/internal/agents/tools/utils.d.cts +1 -1
  151. package/dist/internal/agents/tools/utils.d.ts +1 -1
  152. package/dist/internal/agents/tools/utils.js +3 -3
  153. package/dist/internal/agents/tools/whoami.cjs +3 -3
  154. package/dist/internal/agents/tools/whoami.d.cts +7 -7
  155. package/dist/internal/agents/tools/whoami.d.ts +7 -7
  156. package/dist/internal/agents/tools/whoami.d.ts.map +1 -1
  157. package/dist/internal/agents/tools/whoami.js +3 -3
  158. package/dist/internal/error-handling.cjs +3 -3
  159. package/dist/internal/error-handling.d.cts +3 -3
  160. package/dist/internal/error-handling.d.ts +3 -3
  161. package/dist/internal/error-handling.js +3 -3
  162. package/dist/internal/formatting.cjs +2 -1
  163. package/dist/internal/formatting.d.cts +4 -4
  164. package/dist/internal/formatting.d.ts +4 -4
  165. package/dist/internal/formatting.js +2 -1
  166. package/dist/internal/test-fixtures.d.cts +2 -2
  167. package/dist/internal/test-fixtures.d.ts +2 -2
  168. package/dist/internal/tool-helpers/api.cjs +4 -4
  169. package/dist/internal/tool-helpers/api.d.cts +3 -3
  170. package/dist/internal/tool-helpers/api.d.ts +3 -3
  171. package/dist/internal/tool-helpers/api.js +4 -4
  172. package/dist/internal/tool-helpers/enhance-error.cjs +3 -3
  173. package/dist/internal/tool-helpers/enhance-error.d.cts +3 -3
  174. package/dist/internal/tool-helpers/enhance-error.d.ts +3 -3
  175. package/dist/internal/tool-helpers/enhance-error.js +3 -3
  176. package/dist/internal/tool-helpers/formatting.d.cts +3 -3
  177. package/dist/internal/tool-helpers/formatting.d.ts +3 -3
  178. package/dist/internal/tool-helpers/issue.cjs +2 -1
  179. package/dist/internal/tool-helpers/issue.d.cts +4 -4
  180. package/dist/internal/tool-helpers/issue.d.ts +4 -4
  181. package/dist/internal/tool-helpers/issue.js +2 -1
  182. package/dist/internal/tool-helpers/seer.d.cts +3 -3
  183. package/dist/internal/tool-helpers/seer.d.ts +3 -3
  184. package/dist/{openai-provider-DphaqrmX.js → openai-provider-BsMAb6zY.js} +2 -2
  185. package/dist/{openai-provider-DphaqrmX.js.map → openai-provider-BsMAb6zY.js.map} +1 -1
  186. package/dist/{openai-provider-B7uvGxoI.cjs → openai-provider-BycgrQgi.cjs} +2 -2
  187. package/dist/{openai-provider-B7uvGxoI.cjs.map → openai-provider-BycgrQgi.cjs.map} +1 -1
  188. package/dist/{schema-DE4JpUSi.cjs → schema-1xQ4asuW.cjs} +64 -7
  189. package/dist/schema-1xQ4asuW.cjs.map +1 -0
  190. package/dist/{schema-Cp8XI7-D.d.ts → schema-CZXkkfj-.d.cts} +3374 -803
  191. package/dist/schema-CZXkkfj-.d.cts.map +1 -0
  192. package/dist/{schema-D5oT-Zi7.d.cts → schema-Cfvy5rTy.d.ts} +3287 -716
  193. package/dist/schema-Cfvy5rTy.d.ts.map +1 -0
  194. package/dist/{schema-DkZXVCQJ.js → schema-oeFNxyo_.js} +47 -8
  195. package/dist/schema-oeFNxyo_.js.map +1 -0
  196. package/dist/{search-docs-DdOFZY3t.cjs → search-docs-C5x-ZRhd.cjs} +3 -3
  197. package/dist/{search-docs-DdOFZY3t.cjs.map → search-docs-C5x-ZRhd.cjs.map} +1 -1
  198. package/dist/{search-docs-YYBTOWY5.js → search-docs-UCe9oXQt.js} +3 -3
  199. package/dist/{search-docs-YYBTOWY5.js.map → search-docs-UCe9oXQt.js.map} +1 -1
  200. package/dist/{server-BVqPcPfx.js → server-BbJwtfJr.js} +24 -23
  201. package/dist/server-BbJwtfJr.js.map +1 -0
  202. package/dist/{server-BQBA0VNe.cjs → server-OW--pQOQ.cjs} +24 -23
  203. package/dist/server-OW--pQOQ.cjs.map +1 -0
  204. package/dist/server.cjs +30 -30
  205. package/dist/server.js +30 -30
  206. package/dist/skillDefinitions.cjs +210 -5
  207. package/dist/skillDefinitions.cjs.map +1 -1
  208. package/dist/skillDefinitions.d.cts +5 -0
  209. package/dist/skillDefinitions.d.cts.map +1 -1
  210. package/dist/skillDefinitions.d.ts +5 -0
  211. package/dist/skillDefinitions.d.ts.map +1 -1
  212. package/dist/skillDefinitions.js +210 -5
  213. package/dist/skillDefinitions.js.map +1 -1
  214. package/dist/{stdio-YKMCj_QV.js → stdio-2BaHF2h-.js} +2 -2
  215. package/dist/{stdio-YKMCj_QV.js.map → stdio-2BaHF2h-.js.map} +1 -1
  216. package/dist/{stdio-DPvrKLnJ.cjs → stdio-DL-ID7Q4.cjs} +2 -2
  217. package/dist/{stdio-DPvrKLnJ.cjs.map → stdio-DL-ID7Q4.cjs.map} +1 -1
  218. package/dist/toolDefinitions.cjs +307 -193
  219. package/dist/toolDefinitions.cjs.map +1 -1
  220. package/dist/toolDefinitions.js +307 -193
  221. package/dist/toolDefinitions.js.map +1 -1
  222. package/dist/tools/analyze-issue-with-seer.cjs +6 -6
  223. package/dist/tools/analyze-issue-with-seer.d.cts +1 -1
  224. package/dist/tools/analyze-issue-with-seer.d.ts +1 -1
  225. package/dist/tools/analyze-issue-with-seer.js +6 -6
  226. package/dist/tools/create-dsn.cjs +5 -5
  227. package/dist/tools/create-dsn.d.cts +1 -1
  228. package/dist/tools/create-dsn.d.ts +1 -1
  229. package/dist/tools/create-dsn.js +5 -5
  230. package/dist/tools/create-project.cjs +5 -5
  231. package/dist/tools/create-project.d.cts +2 -2
  232. package/dist/tools/create-project.d.ts +2 -2
  233. package/dist/tools/create-project.js +5 -5
  234. package/dist/tools/create-team.cjs +5 -5
  235. package/dist/tools/create-team.d.cts +1 -1
  236. package/dist/tools/create-team.d.ts +1 -1
  237. package/dist/tools/create-team.js +5 -5
  238. package/dist/tools/find-dsns.cjs +5 -5
  239. package/dist/tools/find-dsns.d.cts +4 -4
  240. package/dist/tools/find-dsns.d.ts +4 -4
  241. package/dist/tools/find-dsns.js +5 -5
  242. package/dist/tools/find-organizations.cjs +5 -5
  243. package/dist/tools/find-organizations.d.cts +2 -2
  244. package/dist/tools/find-organizations.d.ts +2 -2
  245. package/dist/tools/find-organizations.js +5 -5
  246. package/dist/tools/find-projects.cjs +5 -5
  247. package/dist/tools/find-projects.d.cts +4 -4
  248. package/dist/tools/find-projects.d.ts +4 -4
  249. package/dist/tools/find-projects.js +5 -5
  250. package/dist/tools/find-releases.cjs +5 -5
  251. package/dist/tools/find-releases.d.cts +3 -3
  252. package/dist/tools/find-releases.d.ts +3 -3
  253. package/dist/tools/find-releases.js +5 -5
  254. package/dist/tools/find-teams.cjs +5 -5
  255. package/dist/tools/find-teams.d.cts +4 -4
  256. package/dist/tools/find-teams.d.ts +4 -4
  257. package/dist/tools/find-teams.js +5 -5
  258. package/dist/tools/get-doc.cjs +4 -4
  259. package/dist/tools/get-doc.js +4 -4
  260. package/dist/tools/get-event-attachment.cjs +5 -5
  261. package/dist/tools/get-event-attachment.d.cts +6 -6
  262. package/dist/tools/get-event-attachment.d.ts +6 -6
  263. package/dist/tools/get-event-attachment.js +5 -5
  264. package/dist/tools/get-issue-details.cjs +6 -6
  265. package/dist/tools/get-issue-details.d.cts +1 -1
  266. package/dist/tools/get-issue-details.d.ts +1 -1
  267. package/dist/tools/get-issue-details.js +6 -6
  268. package/dist/tools/get-trace-details.cjs +5 -5
  269. package/dist/tools/get-trace-details.d.cts +4 -4
  270. package/dist/tools/get-trace-details.d.ts +4 -4
  271. package/dist/tools/get-trace-details.js +5 -5
  272. package/dist/tools/index.cjs +30 -30
  273. package/dist/tools/index.d.cts +76 -76
  274. package/dist/tools/index.d.cts.map +1 -1
  275. package/dist/tools/index.d.ts +76 -76
  276. package/dist/tools/index.d.ts.map +1 -1
  277. package/dist/tools/index.js +30 -30
  278. package/dist/tools/search-docs.cjs +4 -4
  279. package/dist/tools/search-docs.d.cts +2 -2
  280. package/dist/tools/search-docs.d.ts +2 -2
  281. package/dist/tools/search-docs.js +4 -4
  282. package/dist/tools/search-events/agent.cjs +6 -6
  283. package/dist/tools/search-events/agent.d.cts +4 -4
  284. package/dist/tools/search-events/agent.d.ts +4 -4
  285. package/dist/tools/search-events/agent.js +6 -6
  286. package/dist/tools/search-events/formatters.cjs +3 -3
  287. package/dist/tools/search-events/formatters.d.cts +5 -5
  288. package/dist/tools/search-events/formatters.d.ts +5 -5
  289. package/dist/tools/search-events/formatters.js +3 -3
  290. package/dist/tools/search-events/handler.cjs +8 -8
  291. package/dist/tools/search-events/handler.d.cts +1 -1
  292. package/dist/tools/search-events/handler.d.ts +1 -1
  293. package/dist/tools/search-events/handler.js +8 -8
  294. package/dist/tools/search-events/index.cjs +8 -8
  295. package/dist/tools/search-events/index.d.cts +5 -5
  296. package/dist/tools/search-events/index.d.ts +5 -5
  297. package/dist/tools/search-events/index.js +8 -8
  298. package/dist/tools/search-events/utils.cjs +3 -3
  299. package/dist/tools/search-events/utils.d.cts +5 -5
  300. package/dist/tools/search-events/utils.d.ts +5 -5
  301. package/dist/tools/search-events/utils.js +3 -3
  302. package/dist/tools/search-issues/agent.cjs +6 -6
  303. package/dist/tools/search-issues/agent.d.cts +4 -4
  304. package/dist/tools/search-issues/agent.d.ts +4 -4
  305. package/dist/tools/search-issues/agent.js +6 -6
  306. package/dist/tools/search-issues/formatters.d.cts +3 -3
  307. package/dist/tools/search-issues/formatters.d.ts +3 -3
  308. package/dist/tools/search-issues/handler.cjs +8 -8
  309. package/dist/tools/search-issues/handler.d.cts +1 -1
  310. package/dist/tools/search-issues/handler.d.ts +1 -1
  311. package/dist/tools/search-issues/handler.js +8 -8
  312. package/dist/tools/search-issues/index.cjs +8 -8
  313. package/dist/tools/search-issues/index.d.cts +5 -5
  314. package/dist/tools/search-issues/index.d.ts +5 -5
  315. package/dist/tools/search-issues/index.js +8 -8
  316. package/dist/tools/update-issue.cjs +6 -6
  317. package/dist/tools/update-issue.d.cts +7 -7
  318. package/dist/tools/update-issue.d.ts +7 -7
  319. package/dist/tools/update-issue.js +6 -6
  320. package/dist/tools/update-project.cjs +5 -5
  321. package/dist/tools/update-project.d.cts +5 -5
  322. package/dist/tools/update-project.d.cts.map +1 -1
  323. package/dist/tools/update-project.d.ts +5 -5
  324. package/dist/tools/update-project.d.ts.map +1 -1
  325. package/dist/tools/update-project.js +5 -5
  326. package/dist/tools/use-sentry/agent.cjs +4 -4
  327. package/dist/tools/use-sentry/agent.js +4 -4
  328. package/dist/tools/use-sentry/handler.cjs +30 -30
  329. package/dist/tools/use-sentry/handler.d.cts +1 -1
  330. package/dist/tools/use-sentry/handler.d.ts +1 -1
  331. package/dist/tools/use-sentry/handler.js +30 -30
  332. package/dist/tools/use-sentry/index.cjs +30 -30
  333. package/dist/tools/use-sentry/index.d.cts +1 -1
  334. package/dist/tools/use-sentry/index.d.ts +1 -1
  335. package/dist/tools/use-sentry/index.js +30 -30
  336. package/dist/tools/use-sentry/tool-wrapper.cjs +3 -3
  337. package/dist/tools/use-sentry/tool-wrapper.d.cts +4 -4
  338. package/dist/tools/use-sentry/tool-wrapper.d.cts.map +1 -1
  339. package/dist/tools/use-sentry/tool-wrapper.d.ts +4 -4
  340. package/dist/tools/use-sentry/tool-wrapper.d.ts.map +1 -1
  341. package/dist/tools/use-sentry/tool-wrapper.js +3 -3
  342. package/dist/tools/whoami.cjs +5 -5
  343. package/dist/tools/whoami.js +5 -5
  344. package/dist/transports/stdio.cjs +2 -2
  345. package/dist/transports/stdio.js +2 -2
  346. package/dist/{types-CZI-5yyV.d.cts → types-Cet6uyS6.d.ts} +5 -4
  347. package/dist/types-Cet6uyS6.d.ts.map +1 -0
  348. package/dist/{types-WcBA7ZSQ.d.ts → types-D1CEiyup.d.cts} +5 -4
  349. package/dist/types-D1CEiyup.d.cts.map +1 -0
  350. package/dist/{update-issue-B35n8MDT.js → update-issue-BGm8g4G0.js} +3 -3
  351. package/dist/update-issue-BGm8g4G0.js.map +1 -0
  352. package/dist/{update-issue-DOVD2zXD.cjs → update-issue-Dx2EZ5pY.cjs} +3 -3
  353. package/dist/update-issue-Dx2EZ5pY.cjs.map +1 -0
  354. package/dist/{update-project-D361nWlU.js → update-project-B0clXxii.js} +7 -7
  355. package/dist/update-project-B0clXxii.js.map +1 -0
  356. package/dist/{update-project-DG3bwhNA.cjs → update-project-BJkzcapF.cjs} +7 -7
  357. package/dist/update-project-BJkzcapF.cjs.map +1 -0
  358. package/dist/{utils-CrKFhSC3.d.ts → utils-C7sQWgE3.d.cts} +9 -9
  359. package/dist/{utils-C5oiuqkh.d.cts.map → utils-C7sQWgE3.d.cts.map} +1 -1
  360. package/dist/{utils-C5oiuqkh.d.cts → utils-CmH2wxA_.d.ts} +9 -9
  361. package/dist/{utils-CrKFhSC3.d.ts.map → utils-CmH2wxA_.d.ts.map} +1 -1
  362. package/dist/{utils-CAWsA9Cl.d.cts → utils-R15EJutP.d.ts} +4 -4
  363. package/dist/utils-R15EJutP.d.ts.map +1 -0
  364. package/dist/{utils-Bzaer0D1.d.ts → utils-RPc9DHgJ.d.cts} +4 -4
  365. package/dist/{utils-CAWsA9Cl.d.cts.map → utils-RPc9DHgJ.d.cts.map} +1 -1
  366. package/dist/{version-CPcX-30c.cjs → version-CaFsr_xb.cjs} +2 -2
  367. package/dist/{version-CPcX-30c.cjs.map → version-CaFsr_xb.cjs.map} +1 -1
  368. package/dist/{version-CCICHYna.js → version-DY1nl1TZ.js} +2 -2
  369. package/dist/{version-CCICHYna.js.map → version-DY1nl1TZ.js.map} +1 -1
  370. package/dist/version.cjs +1 -1
  371. package/dist/version.js +1 -1
  372. package/dist/{whoami-CRF9Ws25.cjs → whoami-DRDjyhDL.cjs} +2 -2
  373. package/dist/{whoami-CRF9Ws25.cjs.map → whoami-DRDjyhDL.cjs.map} +1 -1
  374. package/dist/{whoami-DCZN-m7R.js → whoami-FliA3IrX.js} +2 -2
  375. package/dist/{whoami-DCZN-m7R.js.map → whoami-FliA3IrX.js.map} +1 -1
  376. package/package.json +3 -3
  377. package/dist/agent-Cu85yHYm.d.ts.map +0 -1
  378. package/dist/analyze-issue-with-seer-B90r4g5J.cjs.map +0 -1
  379. package/dist/client-0n2-4zOO.d.cts.map +0 -1
  380. package/dist/client-B7hvqupZ.js.map +0 -1
  381. package/dist/client-ByOC8aCf.d.ts.map +0 -1
  382. package/dist/client-cC79LUJ5.cjs.map +0 -1
  383. package/dist/create-dsn-9yIHr10B.cjs.map +0 -1
  384. package/dist/create-dsn-p2Ep6zDn.js.map +0 -1
  385. package/dist/create-project-BQQx1iLm.cjs.map +0 -1
  386. package/dist/create-project-CN0UneBm.js.map +0 -1
  387. package/dist/create-team-CzFrsVdw.js.map +0 -1
  388. package/dist/create-team-DFSriKVL.cjs.map +0 -1
  389. package/dist/find-dsns-BzfYjE06.js.map +0 -1
  390. package/dist/find-dsns-DhHHtvpj.cjs.map +0 -1
  391. package/dist/find-organizations-BJFAElbh.js.map +0 -1
  392. package/dist/find-projects-BpEGRZya.cjs.map +0 -1
  393. package/dist/find-projects-E5CMFbwU.js.map +0 -1
  394. package/dist/find-releases-DWWonhlV.js.map +0 -1
  395. package/dist/find-releases-Du5euXKS.cjs.map +0 -1
  396. package/dist/find-teams-BM4yWKe_.js.map +0 -1
  397. package/dist/find-teams-Bp6-Iu62.cjs.map +0 -1
  398. package/dist/formatting-5u-ZFz8H.cjs.map +0 -1
  399. package/dist/formatting-BEgp4WO_.js.map +0 -1
  400. package/dist/formatting-Bw0FWiCH.d.cts.map +0 -1
  401. package/dist/formatting-ClM7RU4L.d.ts.map +0 -1
  402. package/dist/get-event-attachment-CTF-k6op.cjs.map +0 -1
  403. package/dist/get-event-attachment-DDvsu6IQ.js.map +0 -1
  404. package/dist/get-issue-details-Bsax2jTY.js.map +0 -1
  405. package/dist/get-issue-details-CIZSksmd.cjs.map +0 -1
  406. package/dist/get-trace-details-Bc9GgkSs.cjs.map +0 -1
  407. package/dist/get-trace-details-Bkilw5oH.js.map +0 -1
  408. package/dist/handler-CASDrJ7z.d.ts.map +0 -1
  409. package/dist/handler-CXY05zhR.d.ts.map +0 -1
  410. package/dist/handler-CZEMKP9p.d.cts.map +0 -1
  411. package/dist/handler-ChOaafS-.cjs.map +0 -1
  412. package/dist/handler-CmTBmIt9.d.cts.map +0 -1
  413. package/dist/handler-Cs5DcdpF.d.ts.map +0 -1
  414. package/dist/handler-D6OGs2Ok.d.cts.map +0 -1
  415. package/dist/handler-DQbc5eAJ.cjs.map +0 -1
  416. package/dist/handler-bf2qu8DQ.js.map +0 -1
  417. package/dist/handler-y6EMhG0y.js.map +0 -1
  418. package/dist/schema-Cp8XI7-D.d.ts.map +0 -1
  419. package/dist/schema-D5oT-Zi7.d.cts.map +0 -1
  420. package/dist/schema-DE4JpUSi.cjs.map +0 -1
  421. package/dist/schema-DkZXVCQJ.js.map +0 -1
  422. package/dist/server-BQBA0VNe.cjs.map +0 -1
  423. package/dist/server-BVqPcPfx.js.map +0 -1
  424. package/dist/types-CZI-5yyV.d.cts.map +0 -1
  425. package/dist/types-WcBA7ZSQ.d.ts.map +0 -1
  426. package/dist/update-issue-B35n8MDT.js.map +0 -1
  427. package/dist/update-issue-DOVD2zXD.cjs.map +0 -1
  428. package/dist/update-project-D361nWlU.js.map +0 -1
  429. package/dist/update-project-DG3bwhNA.cjs.map +0 -1
  430. package/dist/utils-Bzaer0D1.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"api-CBHyxA3Q.js","names":["context: ServerContext","opts: { regionUrl?: string }","error: unknown","params?: Record<string, unknown>","paramsList: string[]","fn: () => Promise<T>"],"sources":["../src/internal/tool-helpers/api.ts"],"sourcesContent":["import {\n SentryApiService,\n ApiClientError,\n ApiNotFoundError,\n} from \"../../api-client/index\";\nimport { UserInputError } from \"../../errors\";\nimport type { ServerContext } from \"../../types\";\nimport { validateRegionUrl } from \"./validate-region-url\";\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 // Validate the regionUrl against the base host to prevent SSRF\n // Use default host if context.sentryHost is not set\n const baseHost = context.sentryHost || \"sentry.io\";\n host = validateRegionUrl(opts.regionUrl.trim(), baseHost);\n }\n\n return new SentryApiService({\n host,\n accessToken: context.accessToken,\n });\n}\n\n/**\n * Maps API errors to user-friendly errors based on context\n * @param error - The error to handle\n * @param params - The parameters that were used in the API call\n * @returns Never - always throws an error\n * @throws {UserInputError} For 4xx errors that are likely user input issues\n * @throws {Error} For other errors\n */\nexport function handleApiError(\n error: unknown,\n params?: Record<string, unknown>,\n): never {\n // Use the new error hierarchy - all 4xx errors extend ApiClientError\n if (error instanceof ApiClientError) {\n let message = `API error (${error.status}): ${error.message}`;\n\n // Special handling for 404s with parameter context\n if (error instanceof ApiNotFoundError && params) {\n const paramsList: string[] = [];\n for (const [key, value] of Object.entries(params)) {\n if (value !== undefined && value !== null && value !== \"\") {\n paramsList.push(`${key}: '${value}'`);\n }\n }\n\n if (paramsList.length > 0) {\n message = `Resource not found (404): ${error.message}\\nPlease verify these parameters are correct:\\n${paramsList.map((p) => ` - ${p}`).join(\"\\n\")}`;\n }\n }\n\n throw new UserInputError(message, { cause: error });\n }\n\n // All other errors bubble up (including ApiServerError for 5xx)\n throw error;\n}\n\n/**\n * Wraps an async API call with automatic error handling\n * @param fn - The async function to execute\n * @param params - The parameters that were used in the API call\n * @returns The result of the function\n * @throws {UserInputError} For user input errors\n * @throws {Error} For other errors\n */\nexport async function withApiErrorHandling<T>(\n fn: () => Promise<T>,\n params?: Record<string, unknown>,\n): Promise<T> {\n try {\n return await fn();\n } catch (error) {\n handleApiError(error, params);\n }\n}\n"],"mappings":";;;;;;;;;;;;;AAgBA,SAAgB,sBACdA,SACAC,OAA+B,CAAE,GACjC;CACA,IAAI,OAAO,QAAQ;AAEnB,KAAI,KAAK,WAAW,MAAM,EAAE;EAG1B,MAAM,WAAW,QAAQ,cAAc;AACvC,SAAO,kBAAkB,KAAK,UAAU,MAAM,EAAE,SAAS;CAC1D;AAED,QAAO,IAAI,iBAAiB;EAC1B;EACA,aAAa,QAAQ;CACtB;AACF;;;;;;;;;AAUD,SAAgB,eACdC,OACAC,QACO;AAEP,KAAI,iBAAiB,gBAAgB;EACnC,IAAI,WAAW,aAAa,MAAM,OAAO,KAAK,MAAM;AAGpD,MAAI,iBAAiB,oBAAoB,QAAQ;GAC/C,MAAMC,aAAuB,CAAE;AAC/B,QAAK,MAAM,CAAC,KAAK,MAAM,IAAI,OAAO,QAAQ,OAAO,CAC/C,KAAI,oBAAuB,UAAU,QAAQ,UAAU,GACrD,YAAW,QAAQ,IAAI,KAAK,MAAM,GAAG;AAIzC,OAAI,WAAW,SAAS,EACtB,YAAW,4BAA4B,MAAM,QAAQ,iDAAiD,WAAW,IAAI,CAAC,OAAO,MAAM,IAAI,CAAC,KAAK,KAAK;EAErJ;AAED,QAAM,IAAI,eAAe,SAAS,EAAE,OAAO,MAAO;CACnD;AAGD,OAAM;AACP;;;;;;;;;AAUD,eAAsB,qBACpBC,IACAF,QACY;AACZ,KAAI;AACF,SAAO,MAAM,IAAI;CAClB,SAAQ,OAAO;AACd,iBAAe,OAAO,OAAO;CAC9B;AACF"}
1
+ {"version":3,"file":"api-BCICbJoI.js","names":["context: ServerContext","opts: { regionUrl?: string }","error: unknown","params?: Record<string, unknown>","paramsList: string[]","fn: () => Promise<T>"],"sources":["../src/internal/tool-helpers/api.ts"],"sourcesContent":["import {\n SentryApiService,\n ApiClientError,\n ApiNotFoundError,\n} from \"../../api-client/index\";\nimport { UserInputError } from \"../../errors\";\nimport type { ServerContext } from \"../../types\";\nimport { validateRegionUrl } from \"./validate-region-url\";\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 // Validate the regionUrl against the base host to prevent SSRF\n // Use default host if context.sentryHost is not set\n const baseHost = context.sentryHost || \"sentry.io\";\n host = validateRegionUrl(opts.regionUrl.trim(), baseHost);\n }\n\n return new SentryApiService({\n host,\n accessToken: context.accessToken,\n });\n}\n\n/**\n * Maps API errors to user-friendly errors based on context\n * @param error - The error to handle\n * @param params - The parameters that were used in the API call\n * @returns Never - always throws an error\n * @throws {UserInputError} For 4xx errors that are likely user input issues\n * @throws {Error} For other errors\n */\nexport function handleApiError(\n error: unknown,\n params?: Record<string, unknown>,\n): never {\n // Use the new error hierarchy - all 4xx errors extend ApiClientError\n if (error instanceof ApiClientError) {\n let message = `API error (${error.status}): ${error.message}`;\n\n // Special handling for 404s with parameter context\n if (error instanceof ApiNotFoundError && params) {\n const paramsList: string[] = [];\n for (const [key, value] of Object.entries(params)) {\n if (value !== undefined && value !== null && value !== \"\") {\n paramsList.push(`${key}: '${value}'`);\n }\n }\n\n if (paramsList.length > 0) {\n message = `Resource not found (404): ${error.message}\\nPlease verify these parameters are correct:\\n${paramsList.map((p) => ` - ${p}`).join(\"\\n\")}`;\n }\n }\n\n throw new UserInputError(message, { cause: error });\n }\n\n // All other errors bubble up (including ApiServerError for 5xx)\n throw error;\n}\n\n/**\n * Wraps an async API call with automatic error handling\n * @param fn - The async function to execute\n * @param params - The parameters that were used in the API call\n * @returns The result of the function\n * @throws {UserInputError} For user input errors\n * @throws {Error} For other errors\n */\nexport async function withApiErrorHandling<T>(\n fn: () => Promise<T>,\n params?: Record<string, unknown>,\n): Promise<T> {\n try {\n return await fn();\n } catch (error) {\n handleApiError(error, params);\n }\n}\n"],"mappings":";;;;;;;;;;;;;AAgBA,SAAgB,sBACdA,SACAC,OAA+B,CAAE,GACjC;CACA,IAAI,OAAO,QAAQ;AAEnB,KAAI,KAAK,WAAW,MAAM,EAAE;EAG1B,MAAM,WAAW,QAAQ,cAAc;AACvC,SAAO,kBAAkB,KAAK,UAAU,MAAM,EAAE,SAAS;CAC1D;AAED,QAAO,IAAI,iBAAiB;EAC1B;EACA,aAAa,QAAQ;CACtB;AACF;;;;;;;;;AAUD,SAAgB,eACdC,OACAC,QACO;AAEP,KAAI,iBAAiB,gBAAgB;EACnC,IAAI,WAAW,aAAa,MAAM,OAAO,KAAK,MAAM;AAGpD,MAAI,iBAAiB,oBAAoB,QAAQ;GAC/C,MAAMC,aAAuB,CAAE;AAC/B,QAAK,MAAM,CAAC,KAAK,MAAM,IAAI,OAAO,QAAQ,OAAO,CAC/C,KAAI,oBAAuB,UAAU,QAAQ,UAAU,GACrD,YAAW,QAAQ,IAAI,KAAK,MAAM,GAAG;AAIzC,OAAI,WAAW,SAAS,EACtB,YAAW,4BAA4B,MAAM,QAAQ,iDAAiD,WAAW,IAAI,CAAC,OAAO,MAAM,IAAI,CAAC,KAAK,KAAK;EAErJ;AAED,QAAM,IAAI,eAAe,SAAS,EAAE,OAAO,MAAO;CACnD;AAGD,OAAM;AACP;;;;;;;;;AAUD,eAAsB,qBACpBC,IACAF,QACY;AACZ,KAAI;AACF,SAAO,MAAM,IAAI;CAClB,SAAQ,OAAO;AACd,iBAAe,OAAO,OAAO;CAC9B;AACF"}
@@ -1,6 +1,6 @@
1
1
  const require_errors = require('./errors-umQzF_vW.cjs');
2
2
  const require_errors$1 = require('./errors-DWysOIMw.cjs');
3
- const require_client = require('./client-cC79LUJ5.cjs');
3
+ const require_client = require('./client-DSxCsnqO.cjs');
4
4
  const require_validate_region_url = require('./validate-region-url-BvT-IgKg.cjs');
5
5
 
6
6
  //#region src/internal/tool-helpers/api.ts
@@ -77,4 +77,4 @@ Object.defineProperty(exports, 'withApiErrorHandling', {
77
77
  return withApiErrorHandling;
78
78
  }
79
79
  });
80
- //# sourceMappingURL=api-CHgBJOv9.cjs.map
80
+ //# sourceMappingURL=api-CfzBwheo.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"api-CHgBJOv9.cjs","names":["context: ServerContext","opts: { regionUrl?: string }","SentryApiService","error: unknown","params?: Record<string, unknown>","ApiClientError","ApiNotFoundError","paramsList: string[]","UserInputError","fn: () => Promise<T>"],"sources":["../src/internal/tool-helpers/api.ts"],"sourcesContent":["import {\n SentryApiService,\n ApiClientError,\n ApiNotFoundError,\n} from \"../../api-client/index\";\nimport { UserInputError } from \"../../errors\";\nimport type { ServerContext } from \"../../types\";\nimport { validateRegionUrl } from \"./validate-region-url\";\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 // Validate the regionUrl against the base host to prevent SSRF\n // Use default host if context.sentryHost is not set\n const baseHost = context.sentryHost || \"sentry.io\";\n host = validateRegionUrl(opts.regionUrl.trim(), baseHost);\n }\n\n return new SentryApiService({\n host,\n accessToken: context.accessToken,\n });\n}\n\n/**\n * Maps API errors to user-friendly errors based on context\n * @param error - The error to handle\n * @param params - The parameters that were used in the API call\n * @returns Never - always throws an error\n * @throws {UserInputError} For 4xx errors that are likely user input issues\n * @throws {Error} For other errors\n */\nexport function handleApiError(\n error: unknown,\n params?: Record<string, unknown>,\n): never {\n // Use the new error hierarchy - all 4xx errors extend ApiClientError\n if (error instanceof ApiClientError) {\n let message = `API error (${error.status}): ${error.message}`;\n\n // Special handling for 404s with parameter context\n if (error instanceof ApiNotFoundError && params) {\n const paramsList: string[] = [];\n for (const [key, value] of Object.entries(params)) {\n if (value !== undefined && value !== null && value !== \"\") {\n paramsList.push(`${key}: '${value}'`);\n }\n }\n\n if (paramsList.length > 0) {\n message = `Resource not found (404): ${error.message}\\nPlease verify these parameters are correct:\\n${paramsList.map((p) => ` - ${p}`).join(\"\\n\")}`;\n }\n }\n\n throw new UserInputError(message, { cause: error });\n }\n\n // All other errors bubble up (including ApiServerError for 5xx)\n throw error;\n}\n\n/**\n * Wraps an async API call with automatic error handling\n * @param fn - The async function to execute\n * @param params - The parameters that were used in the API call\n * @returns The result of the function\n * @throws {UserInputError} For user input errors\n * @throws {Error} For other errors\n */\nexport async function withApiErrorHandling<T>(\n fn: () => Promise<T>,\n params?: Record<string, unknown>,\n): Promise<T> {\n try {\n return await fn();\n } catch (error) {\n handleApiError(error, params);\n }\n}\n"],"mappings":";;;;;;;;;;;;;AAgBA,SAAgB,sBACdA,SACAC,OAA+B,CAAE,GACjC;CACA,IAAI,OAAO,QAAQ;AAEnB,KAAI,KAAK,WAAW,MAAM,EAAE;EAG1B,MAAM,WAAW,QAAQ,cAAc;AACvC,SAAO,8CAAkB,KAAK,UAAU,MAAM,EAAE,SAAS;CAC1D;AAED,QAAO,IAAIC,gCAAiB;EAC1B;EACA,aAAa,QAAQ;CACtB;AACF;;;;;;;;;AAUD,SAAgB,eACdC,OACAC,QACO;AAEP,KAAI,iBAAiBC,iCAAgB;EACnC,IAAI,WAAW,aAAa,MAAM,OAAO,KAAK,MAAM;AAGpD,MAAI,iBAAiBC,qCAAoB,QAAQ;GAC/C,MAAMC,aAAuB,CAAE;AAC/B,QAAK,MAAM,CAAC,KAAK,MAAM,IAAI,OAAO,QAAQ,OAAO,CAC/C,KAAI,oBAAuB,UAAU,QAAQ,UAAU,GACrD,YAAW,QAAQ,IAAI,KAAK,MAAM,GAAG;AAIzC,OAAI,WAAW,SAAS,EACtB,YAAW,4BAA4B,MAAM,QAAQ,iDAAiD,WAAW,IAAI,CAAC,OAAO,MAAM,IAAI,CAAC,KAAK,KAAK;EAErJ;AAED,QAAM,IAAIC,8BAAe,SAAS,EAAE,OAAO,MAAO;CACnD;AAGD,OAAM;AACP;;;;;;;;;AAUD,eAAsB,qBACpBC,IACAL,QACY;AACZ,KAAI;AACF,SAAO,MAAM,IAAI;CAClB,SAAQ,OAAO;AACd,iBAAe,OAAO,OAAO;CAC9B;AACF"}
1
+ {"version":3,"file":"api-CfzBwheo.cjs","names":["context: ServerContext","opts: { regionUrl?: string }","SentryApiService","error: unknown","params?: Record<string, unknown>","ApiClientError","ApiNotFoundError","paramsList: string[]","UserInputError","fn: () => Promise<T>"],"sources":["../src/internal/tool-helpers/api.ts"],"sourcesContent":["import {\n SentryApiService,\n ApiClientError,\n ApiNotFoundError,\n} from \"../../api-client/index\";\nimport { UserInputError } from \"../../errors\";\nimport type { ServerContext } from \"../../types\";\nimport { validateRegionUrl } from \"./validate-region-url\";\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 // Validate the regionUrl against the base host to prevent SSRF\n // Use default host if context.sentryHost is not set\n const baseHost = context.sentryHost || \"sentry.io\";\n host = validateRegionUrl(opts.regionUrl.trim(), baseHost);\n }\n\n return new SentryApiService({\n host,\n accessToken: context.accessToken,\n });\n}\n\n/**\n * Maps API errors to user-friendly errors based on context\n * @param error - The error to handle\n * @param params - The parameters that were used in the API call\n * @returns Never - always throws an error\n * @throws {UserInputError} For 4xx errors that are likely user input issues\n * @throws {Error} For other errors\n */\nexport function handleApiError(\n error: unknown,\n params?: Record<string, unknown>,\n): never {\n // Use the new error hierarchy - all 4xx errors extend ApiClientError\n if (error instanceof ApiClientError) {\n let message = `API error (${error.status}): ${error.message}`;\n\n // Special handling for 404s with parameter context\n if (error instanceof ApiNotFoundError && params) {\n const paramsList: string[] = [];\n for (const [key, value] of Object.entries(params)) {\n if (value !== undefined && value !== null && value !== \"\") {\n paramsList.push(`${key}: '${value}'`);\n }\n }\n\n if (paramsList.length > 0) {\n message = `Resource not found (404): ${error.message}\\nPlease verify these parameters are correct:\\n${paramsList.map((p) => ` - ${p}`).join(\"\\n\")}`;\n }\n }\n\n throw new UserInputError(message, { cause: error });\n }\n\n // All other errors bubble up (including ApiServerError for 5xx)\n throw error;\n}\n\n/**\n * Wraps an async API call with automatic error handling\n * @param fn - The async function to execute\n * @param params - The parameters that were used in the API call\n * @returns The result of the function\n * @throws {UserInputError} For user input errors\n * @throws {Error} For other errors\n */\nexport async function withApiErrorHandling<T>(\n fn: () => Promise<T>,\n params?: Record<string, unknown>,\n): Promise<T> {\n try {\n return await fn();\n } catch (error) {\n handleApiError(error, params);\n }\n}\n"],"mappings":";;;;;;;;;;;;;AAgBA,SAAgB,sBACdA,SACAC,OAA+B,CAAE,GACjC;CACA,IAAI,OAAO,QAAQ;AAEnB,KAAI,KAAK,WAAW,MAAM,EAAE;EAG1B,MAAM,WAAW,QAAQ,cAAc;AACvC,SAAO,8CAAkB,KAAK,UAAU,MAAM,EAAE,SAAS;CAC1D;AAED,QAAO,IAAIC,gCAAiB;EAC1B;EACA,aAAa,QAAQ;CACtB;AACF;;;;;;;;;AAUD,SAAgB,eACdC,OACAC,QACO;AAEP,KAAI,iBAAiBC,iCAAgB;EACnC,IAAI,WAAW,aAAa,MAAM,OAAO,KAAK,MAAM;AAGpD,MAAI,iBAAiBC,qCAAoB,QAAQ;GAC/C,MAAMC,aAAuB,CAAE;AAC/B,QAAK,MAAM,CAAC,KAAK,MAAM,IAAI,OAAO,QAAQ,OAAO,CAC/C,KAAI,oBAAuB,UAAU,QAAQ,UAAU,GACrD,YAAW,QAAQ,IAAI,KAAK,MAAM,GAAG;AAIzC,OAAI,WAAW,SAAS,EACtB,YAAW,4BAA4B,MAAM,QAAQ,iDAAiD,WAAW,IAAI,CAAC,OAAO,MAAM,IAAI,CAAC,KAAK,KAAK;EAErJ;AAED,QAAM,IAAIC,8BAAe,SAAS,EAAE,OAAO,MAAO;CACnD;AAGD,OAAM;AACP;;;;;;;;;AAUD,eAAsB,qBACpBC,IACAL,QACY;AACZ,KAAI;AACF,SAAO,MAAM,IAAI;CAClB,SAAQ,OAAO;AACd,iBAAe,OAAO,OAAO;CAC9B;AACF"}
@@ -1,9 +1,9 @@
1
1
  require('../errors-umQzF_vW.cjs');
2
2
  require('../url-utils-CbcNJVYS.cjs');
3
3
  require('../logging-C-ST7-Ow.cjs');
4
- require('../schema-DE4JpUSi.cjs');
4
+ require('../schema-1xQ4asuW.cjs');
5
5
  require('../errors-DWysOIMw.cjs');
6
- require('../version-CPcX-30c.cjs');
7
- const require_client = require('../client-cC79LUJ5.cjs');
6
+ require('../version-CaFsr_xb.cjs');
7
+ const require_client = require('../client-DSxCsnqO.cjs');
8
8
 
9
9
  exports.SentryApiService = require_client.SentryApiService;
@@ -1,4 +1,4 @@
1
- import "../schema-D5oT-Zi7.cjs";
2
- import "../types-CZI-5yyV.cjs";
3
- import { SentryApiService } from "../client-0n2-4zOO.cjs";
1
+ import "../schema-CZXkkfj-.cjs";
2
+ import "../types-D1CEiyup.cjs";
3
+ import { SentryApiService } from "../client-8_aKE-B-.cjs";
4
4
  export { SentryApiService };
@@ -1,4 +1,4 @@
1
- import "../schema-Cp8XI7-D.js";
2
- import "../types-WcBA7ZSQ.js";
3
- import { SentryApiService } from "../client-ByOC8aCf.js";
1
+ import "../schema-Cfvy5rTy.js";
2
+ import "../types-Cet6uyS6.js";
3
+ import { SentryApiService } from "../client-BGVY6gBL.js";
4
4
  export { SentryApiService };
@@ -1,9 +1,9 @@
1
1
  import "../errors-BXmNwD2K.js";
2
2
  import "../url-utils-CfKwo6s5.js";
3
3
  import "../logging-ChQnSEmD.js";
4
- import "../schema-DkZXVCQJ.js";
4
+ import "../schema-oeFNxyo_.js";
5
5
  import "../errors-DUEMWOr1.js";
6
- import "../version-CCICHYna.js";
7
- import { SentryApiService } from "../client-B7hvqupZ.js";
6
+ import "../version-DY1nl1TZ.js";
7
+ import { SentryApiService } from "../client-Be1DR1al.js";
8
8
 
9
9
  export { SentryApiService };
@@ -1,10 +1,10 @@
1
1
  require('../errors-umQzF_vW.cjs');
2
2
  require('../url-utils-CbcNJVYS.cjs');
3
3
  require('../logging-C-ST7-Ow.cjs');
4
- const require_schema = require('../schema-DE4JpUSi.cjs');
4
+ const require_schema = require('../schema-1xQ4asuW.cjs');
5
5
  const require_errors$1 = require('../errors-DWysOIMw.cjs');
6
- require('../version-CPcX-30c.cjs');
7
- const require_client = require('../client-cC79LUJ5.cjs');
6
+ require('../version-CaFsr_xb.cjs');
7
+ const require_client = require('../client-DSxCsnqO.cjs');
8
8
  require('../types-n3wuZu5X.cjs');
9
9
  require('../api-client-BGgaBFuD.cjs');
10
10
 
@@ -36,11 +36,14 @@ exports.EventAttachmentListSchema = require_schema.EventAttachmentListSchema;
36
36
  exports.EventAttachmentSchema = require_schema.EventAttachmentSchema;
37
37
  exports.EventSchema = require_schema.EventSchema;
38
38
  exports.EventsResponseSchema = require_schema.EventsResponseSchema;
39
+ exports.EvidenceDisplaySchema = require_schema.EvidenceDisplaySchema;
39
40
  exports.ExceptionInterface = require_schema.ExceptionInterface;
40
41
  exports.FrameInterface = require_schema.FrameInterface;
42
+ exports.GenericEventSchema = require_schema.GenericEventSchema;
41
43
  exports.IssueListSchema = require_schema.IssueListSchema;
42
44
  exports.IssueSchema = require_schema.IssueSchema;
43
45
  exports.MessageEntrySchema = require_schema.MessageEntrySchema;
46
+ exports.OccurrenceSchema = require_schema.OccurrenceSchema;
44
47
  exports.OrganizationListSchema = require_schema.OrganizationListSchema;
45
48
  exports.OrganizationSchema = require_schema.OrganizationSchema;
46
49
  exports.ProjectListSchema = require_schema.ProjectListSchema;
@@ -1,6 +1,6 @@
1
- import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, 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, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-D5oT-Zi7.cjs";
2
- import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, DefaultEvent, ErrorEvent, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, RawEvent, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, TransactionEvent, UnknownEvent, User } from "../types-CZI-5yyV.cjs";
3
- import { SentryApiService } from "../client-0n2-4zOO.cjs";
1
+ import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, EvidenceDisplaySchema, ExceptionInterface, FrameInterface, GenericEventSchema, IssueListSchema, IssueSchema, MessageEntrySchema, OccurrenceSchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-CZXkkfj-.cjs";
2
+ import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, DefaultEvent, ErrorEvent, Event, EventAttachment, EventAttachmentList, GenericEvent, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, RawEvent, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, TransactionEvent, UnknownEvent, User } from "../types-D1CEiyup.cjs";
3
+ import { SentryApiService } from "../client-8_aKE-B-.cjs";
4
4
  import { ApiAuthenticationError, ApiClientError, ApiError, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, createApiError } from "../errors-DMiENfq7.cjs";
5
5
  import "../index-CmCelmEL.cjs";
6
- export { ApiAuthenticationError, ApiClientError, ApiError, ApiErrorSchema, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, AssignedTo, AssignedToSchema, AutofixRun, AutofixRunSchema, AutofixRunState, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKey, ClientKeyList, ClientKeyListSchema, ClientKeySchema, DefaultEvent, DefaultEventSchema, ErrorEntrySchema, ErrorEvent, ErrorEventSchema, ErrorsSearchResponseSchema, Event, EventAttachment, EventAttachmentList, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, Issue, IssueList, IssueListSchema, IssueSchema, MessageEntrySchema, Organization, OrganizationList, OrganizationListSchema, OrganizationSchema, Project, ProjectList, ProjectListSchema, ProjectSchema, RawEvent, Release, ReleaseList, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SentryApiService, SpansSearchResponseSchema, Tag, TagList, TagListSchema, TagSchema, Team, TeamList, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, Trace, TraceIssue, TraceIssueSchema, TraceMeta, TraceMetaSchema, TraceSchema, TraceSpan, TraceSpanSchema, TransactionEvent, TransactionEventSchema, UnknownEvent, UnknownEventSchema, User, UserRegionsSchema, UserSchema, createApiError };
6
+ export { ApiAuthenticationError, ApiClientError, ApiError, ApiErrorSchema, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, AssignedTo, AssignedToSchema, AutofixRun, AutofixRunSchema, AutofixRunState, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKey, ClientKeyList, ClientKeyListSchema, ClientKeySchema, DefaultEvent, DefaultEventSchema, ErrorEntrySchema, ErrorEvent, ErrorEventSchema, ErrorsSearchResponseSchema, Event, EventAttachment, EventAttachmentList, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, EvidenceDisplaySchema, ExceptionInterface, FrameInterface, GenericEvent, GenericEventSchema, Issue, IssueList, IssueListSchema, IssueSchema, MessageEntrySchema, OccurrenceSchema, Organization, OrganizationList, OrganizationListSchema, OrganizationSchema, Project, ProjectList, ProjectListSchema, ProjectSchema, RawEvent, Release, ReleaseList, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SentryApiService, SpansSearchResponseSchema, Tag, TagList, TagListSchema, TagSchema, Team, TeamList, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, Trace, TraceIssue, TraceIssueSchema, TraceMeta, TraceMetaSchema, TraceSchema, TraceSpan, TraceSpanSchema, TransactionEvent, TransactionEventSchema, UnknownEvent, UnknownEventSchema, User, UserRegionsSchema, UserSchema, createApiError };
@@ -1,6 +1,6 @@
1
- import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, 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, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-Cp8XI7-D.js";
2
- import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, DefaultEvent, ErrorEvent, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, RawEvent, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, TransactionEvent, UnknownEvent, User } from "../types-WcBA7ZSQ.js";
3
- import { SentryApiService } from "../client-ByOC8aCf.js";
1
+ import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, EvidenceDisplaySchema, ExceptionInterface, FrameInterface, GenericEventSchema, IssueListSchema, IssueSchema, MessageEntrySchema, OccurrenceSchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-Cfvy5rTy.js";
2
+ import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, DefaultEvent, ErrorEvent, Event, EventAttachment, EventAttachmentList, GenericEvent, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, RawEvent, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, TransactionEvent, UnknownEvent, User } from "../types-Cet6uyS6.js";
3
+ import { SentryApiService } from "../client-BGVY6gBL.js";
4
4
  import { ApiAuthenticationError, ApiClientError, ApiError, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, createApiError } from "../errors-CyAWBU2S.js";
5
5
  import "../index-NfFbnYt3.js";
6
- export { ApiAuthenticationError, ApiClientError, ApiError, ApiErrorSchema, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, AssignedTo, AssignedToSchema, AutofixRun, AutofixRunSchema, AutofixRunState, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKey, ClientKeyList, ClientKeyListSchema, ClientKeySchema, DefaultEvent, DefaultEventSchema, ErrorEntrySchema, ErrorEvent, ErrorEventSchema, ErrorsSearchResponseSchema, Event, EventAttachment, EventAttachmentList, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, Issue, IssueList, IssueListSchema, IssueSchema, MessageEntrySchema, Organization, OrganizationList, OrganizationListSchema, OrganizationSchema, Project, ProjectList, ProjectListSchema, ProjectSchema, RawEvent, Release, ReleaseList, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SentryApiService, SpansSearchResponseSchema, Tag, TagList, TagListSchema, TagSchema, Team, TeamList, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, Trace, TraceIssue, TraceIssueSchema, TraceMeta, TraceMetaSchema, TraceSchema, TraceSpan, TraceSpanSchema, TransactionEvent, TransactionEventSchema, UnknownEvent, UnknownEventSchema, User, UserRegionsSchema, UserSchema, createApiError };
6
+ export { ApiAuthenticationError, ApiClientError, ApiError, ApiErrorSchema, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, AssignedTo, AssignedToSchema, AutofixRun, AutofixRunSchema, AutofixRunState, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKey, ClientKeyList, ClientKeyListSchema, ClientKeySchema, DefaultEvent, DefaultEventSchema, ErrorEntrySchema, ErrorEvent, ErrorEventSchema, ErrorsSearchResponseSchema, Event, EventAttachment, EventAttachmentList, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, EvidenceDisplaySchema, ExceptionInterface, FrameInterface, GenericEvent, GenericEventSchema, Issue, IssueList, IssueListSchema, IssueSchema, MessageEntrySchema, OccurrenceSchema, Organization, OrganizationList, OrganizationListSchema, OrganizationSchema, Project, ProjectList, ProjectListSchema, ProjectSchema, RawEvent, Release, ReleaseList, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SentryApiService, SpansSearchResponseSchema, Tag, TagList, TagListSchema, TagSchema, Team, TeamList, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, Trace, TraceIssue, TraceIssueSchema, TraceMeta, TraceMetaSchema, TraceSchema, TraceSpan, TraceSpanSchema, TransactionEvent, TransactionEventSchema, UnknownEvent, UnknownEventSchema, User, UserRegionsSchema, UserSchema, createApiError };
@@ -1,11 +1,11 @@
1
1
  import "../errors-BXmNwD2K.js";
2
2
  import "../url-utils-CfKwo6s5.js";
3
3
  import "../logging-ChQnSEmD.js";
4
- import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, 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, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-DkZXVCQJ.js";
4
+ import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, EvidenceDisplaySchema, ExceptionInterface, FrameInterface, GenericEventSchema, IssueListSchema, IssueSchema, MessageEntrySchema, OccurrenceSchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-oeFNxyo_.js";
5
5
  import { ApiAuthenticationError, ApiClientError, ApiError, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, createApiError } from "../errors-DUEMWOr1.js";
6
- import "../version-CCICHYna.js";
7
- import { SentryApiService } from "../client-B7hvqupZ.js";
6
+ import "../version-DY1nl1TZ.js";
7
+ import { SentryApiService } from "../client-Be1DR1al.js";
8
8
  import "../types-D670-rDz.js";
9
9
  import "../api-client-CSLxiNP9.js";
10
10
 
11
- export { ApiAuthenticationError, ApiClientError, ApiError, ApiErrorSchema, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SentryApiService, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema, createApiError };
11
+ export { ApiAuthenticationError, ApiClientError, ApiError, ApiErrorSchema, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, EvidenceDisplaySchema, ExceptionInterface, FrameInterface, GenericEventSchema, IssueListSchema, IssueSchema, MessageEntrySchema, OccurrenceSchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SentryApiService, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema, createApiError };
@@ -1,4 +1,4 @@
1
- const require_schema = require('../schema-DE4JpUSi.cjs');
1
+ const require_schema = require('../schema-1xQ4asuW.cjs');
2
2
 
3
3
  exports.ApiErrorSchema = require_schema.ApiErrorSchema;
4
4
  exports.AssignedToSchema = require_schema.AssignedToSchema;
@@ -20,11 +20,14 @@ exports.EventAttachmentListSchema = require_schema.EventAttachmentListSchema;
20
20
  exports.EventAttachmentSchema = require_schema.EventAttachmentSchema;
21
21
  exports.EventSchema = require_schema.EventSchema;
22
22
  exports.EventsResponseSchema = require_schema.EventsResponseSchema;
23
+ exports.EvidenceDisplaySchema = require_schema.EvidenceDisplaySchema;
23
24
  exports.ExceptionInterface = require_schema.ExceptionInterface;
24
25
  exports.FrameInterface = require_schema.FrameInterface;
26
+ exports.GenericEventSchema = require_schema.GenericEventSchema;
25
27
  exports.IssueListSchema = require_schema.IssueListSchema;
26
28
  exports.IssueSchema = require_schema.IssueSchema;
27
29
  exports.MessageEntrySchema = require_schema.MessageEntrySchema;
30
+ exports.OccurrenceSchema = require_schema.OccurrenceSchema;
28
31
  exports.OrganizationListSchema = require_schema.OrganizationListSchema;
29
32
  exports.OrganizationSchema = require_schema.OrganizationSchema;
30
33
  exports.ProjectListSchema = require_schema.ProjectListSchema;
@@ -1,2 +1,2 @@
1
- import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, 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, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-D5oT-Zi7.cjs";
2
- export { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, 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, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema };
1
+ import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, EvidenceDisplaySchema, ExceptionInterface, FrameInterface, GenericEventSchema, IssueListSchema, IssueSchema, MessageEntrySchema, OccurrenceSchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-CZXkkfj-.cjs";
2
+ export { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, EvidenceDisplaySchema, ExceptionInterface, FrameInterface, GenericEventSchema, IssueListSchema, IssueSchema, MessageEntrySchema, OccurrenceSchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema };
@@ -1,2 +1,2 @@
1
- import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, 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, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-Cp8XI7-D.js";
2
- export { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, 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, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema };
1
+ import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, EvidenceDisplaySchema, ExceptionInterface, FrameInterface, GenericEventSchema, IssueListSchema, IssueSchema, MessageEntrySchema, OccurrenceSchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-Cfvy5rTy.js";
2
+ export { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, EvidenceDisplaySchema, ExceptionInterface, FrameInterface, GenericEventSchema, IssueListSchema, IssueSchema, MessageEntrySchema, OccurrenceSchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema };
@@ -1,3 +1,3 @@
1
- import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, 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, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-DkZXVCQJ.js";
1
+ import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, EvidenceDisplaySchema, ExceptionInterface, FrameInterface, GenericEventSchema, IssueListSchema, IssueSchema, MessageEntrySchema, OccurrenceSchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-oeFNxyo_.js";
2
2
 
3
- export { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, 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, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema };
3
+ export { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, EvidenceDisplaySchema, ExceptionInterface, FrameInterface, GenericEventSchema, IssueListSchema, IssueSchema, MessageEntrySchema, OccurrenceSchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema };
@@ -1,3 +1,3 @@
1
- import "../schema-D5oT-Zi7.cjs";
2
- import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, DefaultEvent, ErrorEvent, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, RawEvent, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, TransactionEvent, UnknownEvent, User } from "../types-CZI-5yyV.cjs";
3
- export { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, DefaultEvent, ErrorEvent, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, RawEvent, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, TransactionEvent, UnknownEvent, User };
1
+ import "../schema-CZXkkfj-.cjs";
2
+ import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, DefaultEvent, ErrorEvent, Event, EventAttachment, EventAttachmentList, GenericEvent, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, RawEvent, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, TransactionEvent, UnknownEvent, User } from "../types-D1CEiyup.cjs";
3
+ export { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, DefaultEvent, ErrorEvent, Event, EventAttachment, EventAttachmentList, GenericEvent, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, RawEvent, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, TransactionEvent, UnknownEvent, User };
@@ -1,3 +1,3 @@
1
- import "../schema-Cp8XI7-D.js";
2
- import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, DefaultEvent, ErrorEvent, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, RawEvent, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, TransactionEvent, UnknownEvent, User } from "../types-WcBA7ZSQ.js";
3
- export { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, DefaultEvent, ErrorEvent, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, RawEvent, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, TransactionEvent, UnknownEvent, User };
1
+ import "../schema-Cfvy5rTy.js";
2
+ import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, DefaultEvent, ErrorEvent, Event, EventAttachment, EventAttachmentList, GenericEvent, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, RawEvent, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, TransactionEvent, UnknownEvent, User } from "../types-Cet6uyS6.js";
3
+ export { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, DefaultEvent, ErrorEvent, Event, EventAttachment, EventAttachmentList, GenericEvent, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, RawEvent, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, TransactionEvent, UnknownEvent, User };
@@ -1,6 +1,6 @@
1
1
  const require_chunk = require('./chunk-CUT6urMc.cjs');
2
2
  const require_errors = require('./errors-umQzF_vW.cjs');
3
- const require_openai_provider = require('./openai-provider-B7uvGxoI.cjs');
3
+ const require_openai_provider = require('./openai-provider-BycgrQgi.cjs');
4
4
  const ai = require_chunk.__toESM(require("ai"));
5
5
 
6
6
  //#region src/internal/agents/callEmbeddedAgent.ts
@@ -22,6 +22,7 @@ async function callEmbeddedAgent({ system, prompt, tools, schema }) {
22
22
  maxSteps: 5,
23
23
  temperature: 1,
24
24
  experimental_output: ai.Output.object({ schema }),
25
+ providerOptions: { openai: { strictJsonSchema: false } },
25
26
  onStepFinish: (event) => {
26
27
  if (event.toolCalls && event.toolCalls.length > 0) for (const toolCall of event.toolCalls) capturedToolCalls.push({
27
28
  toolName: toolCall.toolName,
@@ -47,4 +48,4 @@ Object.defineProperty(exports, 'callEmbeddedAgent', {
47
48
  return callEmbeddedAgent;
48
49
  }
49
50
  });
50
- //# sourceMappingURL=callEmbeddedAgent-BPS472yg.cjs.map
51
+ //# sourceMappingURL=callEmbeddedAgent-COB8Jrcn.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"callEmbeddedAgent-BPS472yg.cjs","names":["capturedToolCalls: ToolCall[]","UserInputError"],"sources":["../src/internal/agents/callEmbeddedAgent.ts"],"sourcesContent":["import { generateText, Output, type Tool } from \"ai\";\nimport { getOpenAIModel } from \"./openai-provider\";\nimport { UserInputError } from \"../../errors\";\nimport type { z } from \"zod\";\n\nexport type ToolCall = {\n toolName: string;\n args: unknown;\n};\n\ninterface EmbeddedAgentResult<T> {\n result: T;\n toolCalls: ToolCall[];\n}\n\n/**\n * Call an embedded agent with tool call capture\n * This is the standard way to call embedded AI agents within MCP tools\n *\n * Error handling:\n * - Errors are re-thrown for the calling agent to handle\n * - Each agent can implement its own error handling strategy\n */\nexport async function callEmbeddedAgent<\n TOutput,\n TSchema extends z.ZodType<TOutput, z.ZodTypeDef, unknown>,\n>({\n system,\n prompt,\n tools,\n schema,\n}: {\n system: string;\n prompt: string;\n tools: Record<string, Tool>;\n schema: TSchema;\n}): Promise<EmbeddedAgentResult<TOutput>> {\n const capturedToolCalls: ToolCall[] = [];\n\n const result = await generateText({\n model: getOpenAIModel(), // Uses configured default model (gpt-5)\n system,\n prompt,\n tools,\n maxSteps: 5,\n temperature: 1, // GPT-5 only supports temperature of 1\n experimental_output: Output.object({ schema }),\n onStepFinish: (event) => {\n if (event.toolCalls && event.toolCalls.length > 0) {\n for (const toolCall of event.toolCalls) {\n capturedToolCalls.push({\n toolName: toolCall.toolName,\n args: toolCall.args,\n });\n }\n }\n },\n });\n\n if (!result.experimental_output) {\n throw new Error(\"Failed to generate output\");\n }\n\n const rawOutput = result.experimental_output;\n\n if (\n typeof rawOutput === \"object\" &&\n rawOutput !== null &&\n \"error\" in rawOutput &&\n typeof (rawOutput as { error?: unknown }).error === \"string\"\n ) {\n throw new UserInputError((rawOutput as { error: string }).error);\n }\n\n const parsedResult = schema.safeParse(rawOutput);\n\n if (!parsedResult.success) {\n throw new UserInputError(\n `Invalid agent response: ${parsedResult.error.message}`,\n );\n }\n\n return {\n result: parsedResult.data,\n toolCalls: capturedToolCalls,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;AAuBA,eAAsB,kBAGpB,EACA,QACA,QACA,OACA,QAMD,EAAyC;CACxC,MAAMA,oBAAgC,CAAE;CAExC,MAAM,SAAS,MAAM,qBAAa;EAChC,OAAO,wCAAgB;EACvB;EACA;EACA;EACA,UAAU;EACV,aAAa;EACb,qBAAqB,UAAO,OAAO,EAAE,OAAQ,EAAC;EAC9C,cAAc,CAAC,UAAU;AACvB,OAAI,MAAM,aAAa,MAAM,UAAU,SAAS,EAC9C,MAAK,MAAM,YAAY,MAAM,UAC3B,mBAAkB,KAAK;IACrB,UAAU,SAAS;IACnB,MAAM,SAAS;GAChB,EAAC;EAGP;CACF,EAAC;AAEF,MAAK,OAAO,oBACV,OAAM,IAAI,MAAM;CAGlB,MAAM,YAAY,OAAO;AAEzB,YACS,cAAc,YACrB,cAAc,QACd,WAAW,oBACH,UAAkC,UAAU,SAEpD,OAAM,IAAIC,8BAAgB,UAAgC;CAG5D,MAAM,eAAe,OAAO,UAAU,UAAU;AAEhD,MAAK,aAAa,QAChB,OAAM,IAAIA,+BACP,0BAA0B,aAAa,MAAM;AAIlD,QAAO;EACL,QAAQ,aAAa;EACrB,WAAW;CACZ;AACF"}
1
+ {"version":3,"file":"callEmbeddedAgent-COB8Jrcn.cjs","names":["capturedToolCalls: ToolCall[]","UserInputError"],"sources":["../src/internal/agents/callEmbeddedAgent.ts"],"sourcesContent":["import { generateText, Output, type Tool } from \"ai\";\nimport { getOpenAIModel } from \"./openai-provider\";\nimport { UserInputError } from \"../../errors\";\nimport type { z } from \"zod\";\n\nexport type ToolCall = {\n toolName: string;\n args: unknown;\n};\n\ninterface EmbeddedAgentResult<T> {\n result: T;\n toolCalls: ToolCall[];\n}\n\n/**\n * Call an embedded agent with tool call capture\n * This is the standard way to call embedded AI agents within MCP tools\n *\n * Error handling:\n * - Errors are re-thrown for the calling agent to handle\n * - Each agent can implement its own error handling strategy\n */\nexport async function callEmbeddedAgent<\n TOutput,\n TSchema extends z.ZodType<TOutput, z.ZodTypeDef, unknown>,\n>({\n system,\n prompt,\n tools,\n schema,\n}: {\n system: string;\n prompt: string;\n tools: Record<string, Tool>;\n schema: TSchema;\n}): Promise<EmbeddedAgentResult<TOutput>> {\n const capturedToolCalls: ToolCall[] = [];\n\n const result = await generateText({\n model: getOpenAIModel(), // Uses configured default model (gpt-5)\n system,\n prompt,\n tools,\n maxSteps: 5,\n temperature: 1, // GPT-5 only supports temperature of 1\n experimental_output: Output.object({ schema }),\n // Disable strict JSON schema validation to allow .optional() in Zod schemas.\n // When strictJsonSchema: true, OpenAI requires ALL properties to be in the \"required\" array,\n // which breaks Zod's .optional() (removes fields from \"required\").\n // Setting strictJsonSchema: false still gives us structured outputs (guaranteed valid JSON),\n // but allows optional fields to work properly.\n //\n // See:\n // - Issue: https://github.com/getsentry/sentry-mcp/issues/623\n // - AI SDK docs: https://ai-sdk.dev/providers/ai-sdk-providers/openai#strictjsonschema\n // - OpenAI docs: https://platform.openai.com/docs/guides/structured-outputs\n providerOptions: {\n openai: {\n strictJsonSchema: false,\n },\n },\n onStepFinish: (event) => {\n if (event.toolCalls && event.toolCalls.length > 0) {\n for (const toolCall of event.toolCalls) {\n capturedToolCalls.push({\n toolName: toolCall.toolName,\n args: toolCall.args,\n });\n }\n }\n },\n });\n\n if (!result.experimental_output) {\n throw new Error(\"Failed to generate output\");\n }\n\n const rawOutput = result.experimental_output;\n\n if (\n typeof rawOutput === \"object\" &&\n rawOutput !== null &&\n \"error\" in rawOutput &&\n typeof (rawOutput as { error?: unknown }).error === \"string\"\n ) {\n throw new UserInputError((rawOutput as { error: string }).error);\n }\n\n const parsedResult = schema.safeParse(rawOutput);\n\n if (!parsedResult.success) {\n throw new UserInputError(\n `Invalid agent response: ${parsedResult.error.message}`,\n );\n }\n\n return {\n result: parsedResult.data,\n toolCalls: capturedToolCalls,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;AAuBA,eAAsB,kBAGpB,EACA,QACA,QACA,OACA,QAMD,EAAyC;CACxC,MAAMA,oBAAgC,CAAE;CAExC,MAAM,SAAS,MAAM,qBAAa;EAChC,OAAO,wCAAgB;EACvB;EACA;EACA;EACA,UAAU;EACV,aAAa;EACb,qBAAqB,UAAO,OAAO,EAAE,OAAQ,EAAC;EAW9C,iBAAiB,EACf,QAAQ,EACN,kBAAkB,MACnB,EACF;EACD,cAAc,CAAC,UAAU;AACvB,OAAI,MAAM,aAAa,MAAM,UAAU,SAAS,EAC9C,MAAK,MAAM,YAAY,MAAM,UAC3B,mBAAkB,KAAK;IACrB,UAAU,SAAS;IACnB,MAAM,SAAS;GAChB,EAAC;EAGP;CACF,EAAC;AAEF,MAAK,OAAO,oBACV,OAAM,IAAI,MAAM;CAGlB,MAAM,YAAY,OAAO;AAEzB,YACS,cAAc,YACrB,cAAc,QACd,WAAW,oBACH,UAAkC,UAAU,SAEpD,OAAM,IAAIC,8BAAgB,UAAgC;CAG5D,MAAM,eAAe,OAAO,UAAU,UAAU;AAEhD,MAAK,aAAa,QAChB,OAAM,IAAIA,+BACP,0BAA0B,aAAa,MAAM;AAIlD,QAAO;EACL,QAAQ,aAAa;EACrB,WAAW;CACZ;AACF"}
@@ -1,5 +1,5 @@
1
1
  import { UserInputError } from "./errors-BXmNwD2K.js";
2
- import { getOpenAIModel } from "./openai-provider-DphaqrmX.js";
2
+ import { getOpenAIModel } from "./openai-provider-BsMAb6zY.js";
3
3
  import { Output, generateText } from "ai";
4
4
 
5
5
  //#region src/internal/agents/callEmbeddedAgent.ts
@@ -21,6 +21,7 @@ async function callEmbeddedAgent({ system, prompt, tools, schema }) {
21
21
  maxSteps: 5,
22
22
  temperature: 1,
23
23
  experimental_output: Output.object({ schema }),
24
+ providerOptions: { openai: { strictJsonSchema: false } },
24
25
  onStepFinish: (event) => {
25
26
  if (event.toolCalls && event.toolCalls.length > 0) for (const toolCall of event.toolCalls) capturedToolCalls.push({
26
27
  toolName: toolCall.toolName,
@@ -41,4 +42,4 @@ async function callEmbeddedAgent({ system, prompt, tools, schema }) {
41
42
 
42
43
  //#endregion
43
44
  export { callEmbeddedAgent };
44
- //# sourceMappingURL=callEmbeddedAgent-DavTx3Qo.js.map
45
+ //# sourceMappingURL=callEmbeddedAgent-rEUWAl2g.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"callEmbeddedAgent-DavTx3Qo.js","names":["capturedToolCalls: ToolCall[]"],"sources":["../src/internal/agents/callEmbeddedAgent.ts"],"sourcesContent":["import { generateText, Output, type Tool } from \"ai\";\nimport { getOpenAIModel } from \"./openai-provider\";\nimport { UserInputError } from \"../../errors\";\nimport type { z } from \"zod\";\n\nexport type ToolCall = {\n toolName: string;\n args: unknown;\n};\n\ninterface EmbeddedAgentResult<T> {\n result: T;\n toolCalls: ToolCall[];\n}\n\n/**\n * Call an embedded agent with tool call capture\n * This is the standard way to call embedded AI agents within MCP tools\n *\n * Error handling:\n * - Errors are re-thrown for the calling agent to handle\n * - Each agent can implement its own error handling strategy\n */\nexport async function callEmbeddedAgent<\n TOutput,\n TSchema extends z.ZodType<TOutput, z.ZodTypeDef, unknown>,\n>({\n system,\n prompt,\n tools,\n schema,\n}: {\n system: string;\n prompt: string;\n tools: Record<string, Tool>;\n schema: TSchema;\n}): Promise<EmbeddedAgentResult<TOutput>> {\n const capturedToolCalls: ToolCall[] = [];\n\n const result = await generateText({\n model: getOpenAIModel(), // Uses configured default model (gpt-5)\n system,\n prompt,\n tools,\n maxSteps: 5,\n temperature: 1, // GPT-5 only supports temperature of 1\n experimental_output: Output.object({ schema }),\n onStepFinish: (event) => {\n if (event.toolCalls && event.toolCalls.length > 0) {\n for (const toolCall of event.toolCalls) {\n capturedToolCalls.push({\n toolName: toolCall.toolName,\n args: toolCall.args,\n });\n }\n }\n },\n });\n\n if (!result.experimental_output) {\n throw new Error(\"Failed to generate output\");\n }\n\n const rawOutput = result.experimental_output;\n\n if (\n typeof rawOutput === \"object\" &&\n rawOutput !== null &&\n \"error\" in rawOutput &&\n typeof (rawOutput as { error?: unknown }).error === \"string\"\n ) {\n throw new UserInputError((rawOutput as { error: string }).error);\n }\n\n const parsedResult = schema.safeParse(rawOutput);\n\n if (!parsedResult.success) {\n throw new UserInputError(\n `Invalid agent response: ${parsedResult.error.message}`,\n );\n }\n\n return {\n result: parsedResult.data,\n toolCalls: capturedToolCalls,\n };\n}\n"],"mappings":";;;;;;;;;;;;;AAuBA,eAAsB,kBAGpB,EACA,QACA,QACA,OACA,QAMD,EAAyC;CACxC,MAAMA,oBAAgC,CAAE;CAExC,MAAM,SAAS,MAAM,aAAa;EAChC,OAAO,gBAAgB;EACvB;EACA;EACA;EACA,UAAU;EACV,aAAa;EACb,qBAAqB,OAAO,OAAO,EAAE,OAAQ,EAAC;EAC9C,cAAc,CAAC,UAAU;AACvB,OAAI,MAAM,aAAa,MAAM,UAAU,SAAS,EAC9C,MAAK,MAAM,YAAY,MAAM,UAC3B,mBAAkB,KAAK;IACrB,UAAU,SAAS;IACnB,MAAM,SAAS;GAChB,EAAC;EAGP;CACF,EAAC;AAEF,MAAK,OAAO,oBACV,OAAM,IAAI,MAAM;CAGlB,MAAM,YAAY,OAAO;AAEzB,YACS,cAAc,YACrB,cAAc,QACd,WAAW,oBACH,UAAkC,UAAU,SAEpD,OAAM,IAAI,eAAgB,UAAgC;CAG5D,MAAM,eAAe,OAAO,UAAU,UAAU;AAEhD,MAAK,aAAa,QAChB,OAAM,IAAI,gBACP,0BAA0B,aAAa,MAAM;AAIlD,QAAO;EACL,QAAQ,aAAa;EACrB,WAAW;CACZ;AACF"}
1
+ {"version":3,"file":"callEmbeddedAgent-rEUWAl2g.js","names":["capturedToolCalls: ToolCall[]"],"sources":["../src/internal/agents/callEmbeddedAgent.ts"],"sourcesContent":["import { generateText, Output, type Tool } from \"ai\";\nimport { getOpenAIModel } from \"./openai-provider\";\nimport { UserInputError } from \"../../errors\";\nimport type { z } from \"zod\";\n\nexport type ToolCall = {\n toolName: string;\n args: unknown;\n};\n\ninterface EmbeddedAgentResult<T> {\n result: T;\n toolCalls: ToolCall[];\n}\n\n/**\n * Call an embedded agent with tool call capture\n * This is the standard way to call embedded AI agents within MCP tools\n *\n * Error handling:\n * - Errors are re-thrown for the calling agent to handle\n * - Each agent can implement its own error handling strategy\n */\nexport async function callEmbeddedAgent<\n TOutput,\n TSchema extends z.ZodType<TOutput, z.ZodTypeDef, unknown>,\n>({\n system,\n prompt,\n tools,\n schema,\n}: {\n system: string;\n prompt: string;\n tools: Record<string, Tool>;\n schema: TSchema;\n}): Promise<EmbeddedAgentResult<TOutput>> {\n const capturedToolCalls: ToolCall[] = [];\n\n const result = await generateText({\n model: getOpenAIModel(), // Uses configured default model (gpt-5)\n system,\n prompt,\n tools,\n maxSteps: 5,\n temperature: 1, // GPT-5 only supports temperature of 1\n experimental_output: Output.object({ schema }),\n // Disable strict JSON schema validation to allow .optional() in Zod schemas.\n // When strictJsonSchema: true, OpenAI requires ALL properties to be in the \"required\" array,\n // which breaks Zod's .optional() (removes fields from \"required\").\n // Setting strictJsonSchema: false still gives us structured outputs (guaranteed valid JSON),\n // but allows optional fields to work properly.\n //\n // See:\n // - Issue: https://github.com/getsentry/sentry-mcp/issues/623\n // - AI SDK docs: https://ai-sdk.dev/providers/ai-sdk-providers/openai#strictjsonschema\n // - OpenAI docs: https://platform.openai.com/docs/guides/structured-outputs\n providerOptions: {\n openai: {\n strictJsonSchema: false,\n },\n },\n onStepFinish: (event) => {\n if (event.toolCalls && event.toolCalls.length > 0) {\n for (const toolCall of event.toolCalls) {\n capturedToolCalls.push({\n toolName: toolCall.toolName,\n args: toolCall.args,\n });\n }\n }\n },\n });\n\n if (!result.experimental_output) {\n throw new Error(\"Failed to generate output\");\n }\n\n const rawOutput = result.experimental_output;\n\n if (\n typeof rawOutput === \"object\" &&\n rawOutput !== null &&\n \"error\" in rawOutput &&\n typeof (rawOutput as { error?: unknown }).error === \"string\"\n ) {\n throw new UserInputError((rawOutput as { error: string }).error);\n }\n\n const parsedResult = schema.safeParse(rawOutput);\n\n if (!parsedResult.success) {\n throw new UserInputError(\n `Invalid agent response: ${parsedResult.error.message}`,\n );\n }\n\n return {\n result: parsedResult.data,\n toolCalls: capturedToolCalls,\n };\n}\n"],"mappings":";;;;;;;;;;;;;AAuBA,eAAsB,kBAGpB,EACA,QACA,QACA,OACA,QAMD,EAAyC;CACxC,MAAMA,oBAAgC,CAAE;CAExC,MAAM,SAAS,MAAM,aAAa;EAChC,OAAO,gBAAgB;EACvB;EACA;EACA;EACA,UAAU;EACV,aAAa;EACb,qBAAqB,OAAO,OAAO,EAAE,OAAQ,EAAC;EAW9C,iBAAiB,EACf,QAAQ,EACN,kBAAkB,MACnB,EACF;EACD,cAAc,CAAC,UAAU;AACvB,OAAI,MAAM,aAAa,MAAM,UAAU,SAAS,EAC9C,MAAK,MAAM,YAAY,MAAM,UAC3B,mBAAkB,KAAK;IACrB,UAAU,SAAS;IACnB,MAAM,SAAS;GAChB,EAAC;EAGP;CACF,EAAC;AAEF,MAAK,OAAO,oBACV,OAAM,IAAI,MAAM;CAGlB,MAAM,YAAY,OAAO;AAEzB,YACS,cAAc,YACrB,cAAc,QACd,WAAW,oBACH,UAAkC,UAAU,SAEpD,OAAM,IAAI,eAAgB,UAAgC;CAG5D,MAAM,eAAe,OAAO,UAAU,UAAU;AAEhD,MAAK,aAAa,QAChB,OAAM,IAAI,gBACP,0BAA0B,aAAa,MAAM;AAIlD,QAAO;EACL,QAAQ,aAAa;EACrB,WAAW;CACZ;AACF"}
@@ -1,4 +1,5 @@
1
- import { AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, OrganizationList, Project, ProjectList, ReleaseList, TagList, Team, TeamList, Trace, TraceMeta, User } from "./types-CZI-5yyV.cjs";
1
+ import { AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, OrganizationList, Project, ProjectList, ReleaseList, TagList, Team, TeamList, Trace, TraceMeta, User } from "./types-D1CEiyup.cjs";
2
+ import * as zod36 from "zod";
2
3
 
3
4
  //#region src/api-client/client.d.ts
4
5
 
@@ -261,15 +262,21 @@ declare class SentryApiService {
261
262
  * @param opts Request options including host override
262
263
  * @returns Organization data
263
264
  */
264
- getOrganization(organizationSlug: string, opts?: RequestOptions): Promise<{
265
- name: string;
266
- slug: string;
267
- id: string | number;
268
- links?: {
265
+ getOrganization(organizationSlug: string, opts?: RequestOptions): Promise<zod36.objectOutputType<{
266
+ id: zod36.ZodUnion<[zod36.ZodString, zod36.ZodNumber]>;
267
+ slug: zod36.ZodString;
268
+ name: zod36.ZodString;
269
+ links: zod36.ZodOptional<zod36.ZodObject<{
270
+ regionUrl: zod36.ZodOptional<zod36.ZodEffects<zod36.ZodString, string, string>>;
271
+ organizationUrl: zod36.ZodString;
272
+ }, "strip", zod36.ZodTypeAny, {
269
273
  organizationUrl: string;
270
274
  regionUrl?: string | undefined;
271
- } | undefined;
272
- }>;
275
+ }, {
276
+ organizationUrl: string;
277
+ regionUrl?: string | undefined;
278
+ }>>;
279
+ }, zod36.ZodTypeAny, "passthrough">>;
273
280
  /**
274
281
  * Lists teams within an organization.
275
282
  *
@@ -347,7 +354,7 @@ declare class SentryApiService {
347
354
  organizationSlug: string;
348
355
  teamSlug: string;
349
356
  name: string;
350
- platform?: string;
357
+ platform?: string | null;
351
358
  }, opts?: RequestOptions): Promise<Project>;
352
359
  /**
353
360
  * Updates an existing project's configuration.
@@ -370,9 +377,9 @@ declare class SentryApiService {
370
377
  }: {
371
378
  organizationSlug: string;
372
379
  projectSlug: string;
373
- name?: string;
374
- slug?: string;
375
- platform?: string;
380
+ name?: string | null;
381
+ slug?: string | null;
382
+ platform?: string | null;
376
383
  }, opts?: RequestOptions): Promise<Project>;
377
384
  /**
378
385
  * Assigns a team to a project.
@@ -672,10 +679,10 @@ declare class SentryApiService {
672
679
  sortBy?: "last_seen" | "count";
673
680
  }, opts?: RequestOptions): Promise<{
674
681
  title: string;
675
- project: string;
676
682
  issue: string;
677
- "count()": number;
683
+ project: string;
678
684
  "issue.id": string | number;
685
+ "count()": number;
679
686
  "last_seen()": string;
680
687
  }[]>;
681
688
  searchSpans({
@@ -691,14 +698,14 @@ declare class SentryApiService {
691
698
  query?: string;
692
699
  sortBy?: "timestamp" | "duration";
693
700
  }, opts?: RequestOptions): Promise<{
701
+ timestamp: string;
694
702
  id: string;
695
703
  project: string;
696
- transaction: string;
697
- timestamp: string;
698
704
  trace: string;
699
705
  "span.op": string;
700
706
  "span.description": string;
701
707
  "span.duration": number;
708
+ transaction: string;
702
709
  }[]>;
703
710
  /**
704
711
  * Builds query parameters for the legacy Discover API (primarily used by errors dataset).
@@ -738,7 +745,7 @@ declare class SentryApiService {
738
745
  fields: string[];
739
746
  limit?: number;
740
747
  projectId?: string;
741
- dataset?: "spans" | "errors" | "ourlogs";
748
+ dataset?: "spans" | "errors" | "logs";
742
749
  statsPeriod?: string;
743
750
  start?: string;
744
751
  end?: string;
@@ -834,4 +841,4 @@ declare class SentryApiService {
834
841
  }
835
842
  //#endregion
836
843
  export { SentryApiService };
837
- //# sourceMappingURL=client-0n2-4zOO.d.cts.map
844
+ //# sourceMappingURL=client-8_aKE-B-.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-8_aKE-B-.d.cts","names":[],"sources":["../src/api-client/client.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAsDiB;AAmFjB;;;;;;;;;;;;;KAhDK,cAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAy/BM,cAz8BE,gBAAA,CAy8BF;EAAc,QACpB,WAAA;EAAO,UAmCN,IAAA,EAAA,MAAA;EAAgB,UAChB,SAAA,EAAA,MAAA;EAAW;;;;;;;;;EAwCL,WAmCN,CAAA;IAAA,WAAA;IAAA;EAEK,CAFL,EAAA;IACA,WAAA,CAAA,EAAA,MAAA,GAAA,IAAA;IACA,IAAA,CAAA,EAAA,MAAA;EAAK,CAAA;EAMc;;;;;;;;EAqDhB,OACH,CAAA,IAAA,EAAA,MAAA,CAAA,EAAA,IAAA;EAAQ;;;;;;;;EA2EG,QACX,MAAA;EAAK;;;;;;;;;;;;;;;;EAuLO,QAAb,OAAA;EAAO;;;;;;;EA8FU,QAChB,iBAAA;EAAO;;;;;;;;;;;;;;EAiDY,QAET,WAAA;EAAe;;;;;;;;;;;;;;;;;;;EAkJd,WACX,CAAA,gBAAA,EAAA,MAAA,EAAA,OAAA,EAAA,MAAA,CAAA,EAAA,MAAA;EAAW;;;;;;;;;;;;;;;EA8OQ,WAAA,CAAA,gBAAA,EAAA,MAAA,EAAA,OAAA,EAAA,MAAA,CAAA,EAAA,MAAA;EAAA;;;;;;;;;;EAyEA,QACZ,gBAAA;EAAe;;;;;;;;;;EAmFV,QACZ,WAAA;EAAc;;;;AAUR;;;;;;;;;;;;;;;;;;;;;;;;8BAr7CwB,iBAAiB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;YAwClD,iBACN,QAAQ;;;;;;;;mDA+D4C,iBAAc,cAAA;wBAAA,KAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;YAqB5D,iBACN,QAAQ;;;;;;;;;;;;;;;;;YA+BF,iBACN,QAAQ;;;;;;;;;;;;YAwBF,iBACN,QAAQ;;;;;;;;;;;;;;;;YA8BF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;YAgCF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;YA4CF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;YAqCF,iBACN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2CM,iBACN,QAAQ;;;;;;;;;;;;;;;;YA+BF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2CF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAiEF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAyEF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA4IF,iBACN,QAAQ;;;;;;;YA8BF,iBACN,QAAQ;;;;;;;;;YAmBF,iBACN,QAAQ;;;;;;;YAgFF,iBACN,QAAQ;;;;;;;;;YAqBF,iBACN,QAAQ;;;;;;;;;;;YAqBF,iBACN;gBACW;;;UAGN;;;;;;;;;;;;YAmDC,iBACN,QAAQ;;;;;;;;;;;;;;;YAgDF,iBAAc;;;;;;;;;;;;;;;;;;;;YAsDd,iBAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAoOd,iBAAc;;;;;;;;;;;YAgDd,iBACN,QAAQ;;;;;;;YAwBF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAyCF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAmDF,iBACN,QAAQ"}
@@ -1,4 +1,5 @@
1
- import { AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, OrganizationList, Project, ProjectList, ReleaseList, TagList, Team, TeamList, Trace, TraceMeta, User } from "./types-WcBA7ZSQ.js";
1
+ import { AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, OrganizationList, Project, ProjectList, ReleaseList, TagList, Team, TeamList, Trace, TraceMeta, User } from "./types-Cet6uyS6.js";
2
+ import * as zod19 from "zod";
2
3
 
3
4
  //#region src/api-client/client.d.ts
4
5
 
@@ -261,15 +262,21 @@ declare class SentryApiService {
261
262
  * @param opts Request options including host override
262
263
  * @returns Organization data
263
264
  */
264
- getOrganization(organizationSlug: string, opts?: RequestOptions): Promise<{
265
- id: string | number;
266
- slug: string;
267
- name: string;
268
- links?: {
265
+ getOrganization(organizationSlug: string, opts?: RequestOptions): Promise<zod19.objectOutputType<{
266
+ id: zod19.ZodUnion<[zod19.ZodString, zod19.ZodNumber]>;
267
+ slug: zod19.ZodString;
268
+ name: zod19.ZodString;
269
+ links: zod19.ZodOptional<zod19.ZodObject<{
270
+ regionUrl: zod19.ZodOptional<zod19.ZodEffects<zod19.ZodString, string, string>>;
271
+ organizationUrl: zod19.ZodString;
272
+ }, "strip", zod19.ZodTypeAny, {
269
273
  organizationUrl: string;
270
274
  regionUrl?: string | undefined;
271
- } | undefined;
272
- }>;
275
+ }, {
276
+ organizationUrl: string;
277
+ regionUrl?: string | undefined;
278
+ }>>;
279
+ }, zod19.ZodTypeAny, "passthrough">>;
273
280
  /**
274
281
  * Lists teams within an organization.
275
282
  *
@@ -347,7 +354,7 @@ declare class SentryApiService {
347
354
  organizationSlug: string;
348
355
  teamSlug: string;
349
356
  name: string;
350
- platform?: string;
357
+ platform?: string | null;
351
358
  }, opts?: RequestOptions): Promise<Project>;
352
359
  /**
353
360
  * Updates an existing project's configuration.
@@ -370,9 +377,9 @@ declare class SentryApiService {
370
377
  }: {
371
378
  organizationSlug: string;
372
379
  projectSlug: string;
373
- name?: string;
374
- slug?: string;
375
- platform?: string;
380
+ name?: string | null;
381
+ slug?: string | null;
382
+ platform?: string | null;
376
383
  }, opts?: RequestOptions): Promise<Project>;
377
384
  /**
378
385
  * Assigns a team to a project.
@@ -671,10 +678,10 @@ declare class SentryApiService {
671
678
  query?: string;
672
679
  sortBy?: "last_seen" | "count";
673
680
  }, opts?: RequestOptions): Promise<{
681
+ title: string;
682
+ project: string;
674
683
  issue: string;
675
684
  "issue.id": string | number;
676
- project: string;
677
- title: string;
678
685
  "count()": number;
679
686
  "last_seen()": string;
680
687
  }[]>;
@@ -693,11 +700,11 @@ declare class SentryApiService {
693
700
  }, opts?: RequestOptions): Promise<{
694
701
  id: string;
695
702
  project: string;
703
+ transaction: string;
696
704
  trace: string;
697
705
  "span.op": string;
698
706
  "span.description": string;
699
707
  "span.duration": number;
700
- transaction: string;
701
708
  timestamp: string;
702
709
  }[]>;
703
710
  /**
@@ -738,7 +745,7 @@ declare class SentryApiService {
738
745
  fields: string[];
739
746
  limit?: number;
740
747
  projectId?: string;
741
- dataset?: "spans" | "errors" | "ourlogs";
748
+ dataset?: "spans" | "errors" | "logs";
742
749
  statsPeriod?: string;
743
750
  start?: string;
744
751
  end?: string;
@@ -834,4 +841,4 @@ declare class SentryApiService {
834
841
  }
835
842
  //#endregion
836
843
  export { SentryApiService };
837
- //# sourceMappingURL=client-ByOC8aCf.d.ts.map
844
+ //# sourceMappingURL=client-BGVY6gBL.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-BGVY6gBL.d.ts","names":[],"sources":["../src/api-client/client.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAsDiB;AAmFjB;;;;;;;;;;;;;KAhDK,cAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAy/BM,cAz8BE,gBAAA,CAy8BF;EAAc,QACpB,WAAA;EAAO,UAmCN,IAAA,EAAA,MAAA;EAAgB,UAChB,SAAA,EAAA,MAAA;EAAW;;;;;;;;;EAwCL,WAmCN,CAAA;IAAA,WAAA;IAAA;EAEK,CAFL,EAAA;IACA,WAAA,CAAA,EAAA,MAAA,GAAA,IAAA;IACA,IAAA,CAAA,EAAA,MAAA;EAAK,CAAA;EAMc;;;;;;;;EAqDhB,OACH,CAAA,IAAA,EAAA,MAAA,CAAA,EAAA,IAAA;EAAQ;;;;;;;;EA2EG,QACX,MAAA;EAAK;;;;;;;;;;;;;;;;EAuLO,QAAb,OAAA;EAAO;;;;;;;EA8FU,QAChB,iBAAA;EAAO;;;;;;;;;;;;;;EAiDY,QAET,WAAA;EAAe;;;;;;;;;;;;;;;;;;;EAkJd,WACX,CAAA,gBAAA,EAAA,MAAA,EAAA,OAAA,EAAA,MAAA,CAAA,EAAA,MAAA;EAAW;;;;;;;;;;;;;;;EA8OQ,WAAA,CAAA,gBAAA,EAAA,MAAA,EAAA,OAAA,EAAA,MAAA,CAAA,EAAA,MAAA;EAAA;;;;;;;;;;EAyEA,QACZ,gBAAA;EAAe;;;;;;;;;;EAmFV,QACZ,WAAA;EAAc;;;;AAUR;;;;;;;;;;;;;;;;;;;;;;;;8BAr7CwB,iBAAiB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;YAwClD,iBACN,QAAQ;;;;;;;;mDA+D4C,iBAAc,cAAA;wBAAA,KAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;YAqB5D,iBACN,QAAQ;;;;;;;;;;;;;;;;;YA+BF,iBACN,QAAQ;;;;;;;;;;;;YAwBF,iBACN,QAAQ;;;;;;;;;;;;;;;;YA8BF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;YAgCF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;YA4CF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;YAqCF,iBACN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2CM,iBACN,QAAQ;;;;;;;;;;;;;;;;YA+BF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2CF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAiEF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAyEF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA4IF,iBACN,QAAQ;;;;;;;YA8BF,iBACN,QAAQ;;;;;;;;;YAmBF,iBACN,QAAQ;;;;;;;YAgFF,iBACN,QAAQ;;;;;;;;;YAqBF,iBACN,QAAQ;;;;;;;;;;;YAqBF,iBACN;gBACW;;;UAGN;;;;;;;;;;;;YAmDC,iBACN,QAAQ;;;;;;;;;;;;;;;YAgDF,iBAAc;;;;;;;;;;;;;;;;;;;;YAsDd,iBAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAoOd,iBAAc;;;;;;;;;;;YAgDd,iBACN,QAAQ;;;;;;;YAwBF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAyCF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAmDF,iBACN,QAAQ"}