@sentry/mcp-server 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/analyze-issue-with-seer-Bq3kefOr.cjs +169 -0
- package/dist/analyze-issue-with-seer-Bq3kefOr.cjs.map +1 -0
- package/dist/analyze-issue-with-seer-Dk0ZFwN8.js +163 -0
- package/dist/analyze-issue-with-seer-Dk0ZFwN8.js.map +1 -0
- package/dist/api-client/client.cjs +2 -2
- package/dist/api-client/client.d.cts +3 -3
- package/dist/api-client/client.d.ts +3 -3
- package/dist/api-client/client.js +2 -2
- package/dist/api-client/index.cjs +9 -2
- package/dist/api-client/index.d.cts +4 -4
- package/dist/api-client/index.d.ts +5 -5
- package/dist/api-client/index.js +5 -5
- package/dist/api-client/schema.cjs +8 -1
- package/dist/api-client/schema.d.cts +2 -2
- package/dist/api-client/schema.d.ts +2 -2
- package/dist/api-client/schema.js +2 -2
- package/dist/api-client/types.d.cts +3 -3
- package/dist/api-client/types.d.ts +3 -3
- package/dist/api-client/types.js +1 -1
- package/dist/api-utils-BJS0CChW.cjs +36 -0
- package/dist/api-utils-BJS0CChW.cjs.map +1 -0
- package/dist/api-utils-BcB1cMXS.js +31 -0
- package/dist/api-utils-BcB1cMXS.js.map +1 -0
- package/dist/{client-B7vZ6JMk.cjs → client-BNTsOycD.cjs} +55 -7
- package/dist/client-BNTsOycD.cjs.map +1 -0
- package/dist/{client-CAoHZbyK.js → client-BbamPqV4.js} +55 -7
- package/dist/client-BbamPqV4.js.map +1 -0
- package/dist/{client-DkY0ifZf.d.cts → client-Dae1ZwWb.d.cts} +38 -4
- package/dist/client-Dae1ZwWb.d.cts.map +1 -0
- package/dist/{client-4jq_wVgn.d.ts → client-qyEu8fvj.d.ts} +40 -6
- package/dist/client-qyEu8fvj.d.ts.map +1 -0
- package/dist/constants-ClkMK29-.cjs +182 -0
- package/dist/constants-ClkMK29-.cjs.map +1 -0
- package/dist/constants-S7AU45oQ.js +164 -0
- package/dist/constants-S7AU45oQ.js.map +1 -0
- package/dist/constants.cjs +5 -0
- package/dist/constants.d.cts +23 -0
- package/dist/constants.d.cts.map +1 -0
- package/dist/constants.d.ts +23 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +3 -0
- package/dist/create-dsn-B3L8iWno.js +59 -0
- package/dist/create-dsn-B3L8iWno.js.map +1 -0
- package/dist/create-dsn-CVPtt_Es.cjs +65 -0
- package/dist/create-dsn-CVPtt_Es.cjs.map +1 -0
- package/dist/create-project-B_6a6okf.cjs +82 -0
- package/dist/create-project-B_6a6okf.cjs.map +1 -0
- package/dist/create-project-DdIXMvWI.js +76 -0
- package/dist/create-project-DdIXMvWI.js.map +1 -0
- package/dist/create-team-BarRdaZK.js +47 -0
- package/dist/create-team-BarRdaZK.js.map +1 -0
- package/dist/create-team-C1DP5Z1r.cjs +53 -0
- package/dist/create-team-C1DP5Z1r.cjs.map +1 -0
- package/dist/defineTool-77H4nSna.js +8 -0
- package/dist/defineTool-77H4nSna.js.map +1 -0
- package/dist/defineTool-lWNTzWl_.cjs +14 -0
- package/dist/defineTool-lWNTzWl_.cjs.map +1 -0
- package/dist/{errors-BJSrT6Ou.js → errors-CIoxzIug.js} +1 -1
- package/dist/{errors-BJSrT6Ou.js.map → errors-CIoxzIug.js.map} +1 -1
- package/dist/{errors-B9fwS-aP.cjs → errors-YmiXLOyx.cjs} +1 -1
- package/dist/{errors-B9fwS-aP.cjs.map → errors-YmiXLOyx.cjs.map} +1 -1
- package/dist/errors.cjs +1 -1
- package/dist/errors.js +1 -1
- package/dist/fetch-utils-B-a92ObC.d.ts +14 -0
- package/dist/fetch-utils-B-a92ObC.d.ts.map +1 -0
- package/dist/fetch-utils-BMKjO-cc.js +29 -0
- package/dist/fetch-utils-BMKjO-cc.js.map +1 -0
- package/dist/fetch-utils-DlPjrSk2.js +0 -0
- package/dist/fetch-utils-DzdRW4Yd.d.cts +14 -0
- package/dist/fetch-utils-DzdRW4Yd.d.cts.map +1 -0
- package/dist/fetch-utils-oab6uNp3.cjs +35 -0
- package/dist/fetch-utils-oab6uNp3.cjs.map +1 -0
- package/dist/find-dsns-BDJWY6nZ.cjs +58 -0
- package/dist/find-dsns-BDJWY6nZ.cjs.map +1 -0
- package/dist/find-dsns-BPbblgrn.js +52 -0
- package/dist/find-dsns-BPbblgrn.js.map +1 -0
- package/dist/find-errors-B9wLxXA0.js +91 -0
- package/dist/find-errors-B9wLxXA0.js.map +1 -0
- package/dist/find-errors-DnFs3PaH.cjs +97 -0
- package/dist/find-errors-DnFs3PaH.cjs.map +1 -0
- package/dist/find-issues-BI1tI3cJ.js +92 -0
- package/dist/find-issues-BI1tI3cJ.js.map +1 -0
- package/dist/find-issues-CwPbwRXK.cjs +98 -0
- package/dist/find-issues-CwPbwRXK.cjs.map +1 -0
- package/dist/find-organizations-CdiouW48.js +45 -0
- package/dist/find-organizations-CdiouW48.js.map +1 -0
- package/dist/find-organizations-DqS6zoTK.cjs +50 -0
- package/dist/find-organizations-DqS6zoTK.cjs.map +1 -0
- package/dist/find-projects-Ba6cdX7n.cjs +45 -0
- package/dist/find-projects-Ba6cdX7n.cjs.map +1 -0
- package/dist/find-projects-Ccfxv47h.js +39 -0
- package/dist/find-projects-Ccfxv47h.js.map +1 -0
- package/dist/find-releases-CFl86XMT.cjs +99 -0
- package/dist/find-releases-CFl86XMT.cjs.map +1 -0
- package/dist/find-releases-CFoGytN-.js +93 -0
- package/dist/find-releases-CFoGytN-.js.map +1 -0
- package/dist/find-tags-ORtYLH5b.js +39 -0
- package/dist/find-tags-ORtYLH5b.js.map +1 -0
- package/dist/find-tags-h2o0BKWO.cjs +45 -0
- package/dist/find-tags-h2o0BKWO.cjs.map +1 -0
- package/dist/find-teams-DUcDfSOl.cjs +45 -0
- package/dist/find-teams-DUcDfSOl.cjs.map +1 -0
- package/dist/find-teams-hreVp1nw.js +39 -0
- package/dist/find-teams-hreVp1nw.js.map +1 -0
- package/dist/find-transactions-BehUqQYs.js +83 -0
- package/dist/find-transactions-BehUqQYs.js.map +1 -0
- package/dist/find-transactions-BkPscam3.cjs +89 -0
- package/dist/find-transactions-BkPscam3.cjs.map +1 -0
- package/dist/formatting-B-u5CbYn.d.ts +47 -0
- package/dist/formatting-B-u5CbYn.d.ts.map +1 -0
- package/dist/formatting-BlMiQa9i.cjs +388 -0
- package/dist/formatting-BlMiQa9i.cjs.map +1 -0
- package/dist/formatting-Di1X9Jn3.d.cts +47 -0
- package/dist/formatting-Di1X9Jn3.d.cts.map +1 -0
- package/dist/formatting-pUm38KOj.js +370 -0
- package/dist/formatting-pUm38KOj.js.map +1 -0
- package/dist/formatting-utils-C3sej5ER.js +14 -0
- package/dist/formatting-utils-C3sej5ER.js.map +1 -0
- package/dist/formatting-utils-DDz14xeB.cjs +20 -0
- package/dist/formatting-utils-DDz14xeB.cjs.map +1 -0
- package/dist/get-doc-AuAW_qr9.cjs +86 -0
- package/dist/get-doc-AuAW_qr9.cjs.map +1 -0
- package/dist/get-doc-BtxZOy7y.js +80 -0
- package/dist/get-doc-BtxZOy7y.js.map +1 -0
- package/dist/get-event-attachment-Bq5lkaKV.cjs +144 -0
- package/dist/get-event-attachment-Bq5lkaKV.cjs.map +1 -0
- package/dist/get-event-attachment-DwAl54zv.js +138 -0
- package/dist/get-event-attachment-DwAl54zv.js.map +1 -0
- package/dist/get-issue-details-DrpD5LlK.js +104 -0
- package/dist/get-issue-details-DrpD5LlK.js.map +1 -0
- package/dist/get-issue-details-qGwu18JX.cjs +110 -0
- package/dist/get-issue-details-qGwu18JX.cjs.map +1 -0
- package/dist/index.cjs +60 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +62 -23
- package/dist/index.js.map +1 -1
- package/dist/internal/fetch-utils.cjs +3 -0
- package/dist/internal/fetch-utils.d.cts +2 -0
- package/dist/internal/fetch-utils.d.ts +2 -0
- package/dist/internal/fetch-utils.js +3 -0
- package/dist/internal/formatting.cjs +1 -1
- package/dist/internal/formatting.d.cts +5 -25
- package/dist/internal/formatting.d.ts +6 -26
- package/dist/internal/formatting.js +1 -1
- package/dist/internal/issue-helpers.cjs +1 -1
- package/dist/internal/issue-helpers.d.cts +2 -52
- package/dist/internal/issue-helpers.d.ts +2 -52
- package/dist/internal/issue-helpers.js +1 -1
- package/dist/internal/test-fixtures.cjs +214 -0
- package/dist/internal/test-fixtures.cjs.map +1 -0
- package/dist/internal/test-fixtures.d.cts +2138 -0
- package/dist/internal/test-fixtures.d.cts.map +1 -0
- package/dist/internal/test-fixtures.d.ts +2138 -0
- package/dist/internal/test-fixtures.d.ts.map +1 -0
- package/dist/internal/test-fixtures.js +205 -0
- package/dist/internal/test-fixtures.js.map +1 -0
- package/dist/issue-helpers-BOn4g7rx.d.ts +52 -0
- package/dist/issue-helpers-BOn4g7rx.d.ts.map +1 -0
- package/dist/{issue-helpers-BMVLc3mR.js → issue-helpers-CqqYnwYE.js} +1 -1
- package/dist/{issue-helpers-BMVLc3mR.js.map → issue-helpers-CqqYnwYE.js.map} +1 -1
- package/dist/issue-helpers-Cz01Ipvl.d.cts +52 -0
- package/dist/issue-helpers-Cz01Ipvl.d.cts.map +1 -0
- package/dist/{issue-helpers-D712fGT2.cjs → issue-helpers-DyAIO0w6.cjs} +1 -1
- package/dist/{issue-helpers-D712fGT2.cjs.map → issue-helpers-DyAIO0w6.cjs.map} +1 -1
- package/dist/issue-utils-BVAB6I-Z.js +0 -0
- package/dist/issue-utils-pdbo-5LW.cjs +0 -0
- package/dist/{logging-CXLD0FFB.js → logging-LnQMFw-_.js} +1 -1
- package/dist/{logging-CXLD0FFB.js.map → logging-LnQMFw-_.js.map} +1 -1
- package/dist/{logging-ByvSjT6V.cjs → logging-oIouXrcb.cjs} +1 -1
- package/dist/{logging-ByvSjT6V.cjs.map → logging-oIouXrcb.cjs.map} +1 -1
- package/dist/logging.cjs +1 -1
- package/dist/logging.js +1 -1
- package/dist/{promptDefinitions-D5FSQckL.d.ts → promptDefinitions-6xelipaz.d.ts} +3 -3
- package/dist/promptDefinitions-6xelipaz.d.ts.map +1 -0
- package/dist/{promptDefinitions-BTLIBcGt.cjs → promptDefinitions-C29BWGYg.cjs} +4 -4
- package/dist/promptDefinitions-C29BWGYg.cjs.map +1 -0
- package/dist/{promptDefinitions-D8yow1m0.js → promptDefinitions-CSKE8T0a.js} +4 -4
- package/dist/{promptDefinitions-D8yow1m0.js.map → promptDefinitions-CSKE8T0a.js.map} +1 -1
- package/dist/{promptDefinitions-CF2VWdQ6.d.cts → promptDefinitions-CVHtYaj8.d.cts} +3 -3
- package/dist/promptDefinitions-CVHtYaj8.d.cts.map +1 -0
- package/dist/promptDefinitions.cjs +3 -2
- package/dist/promptDefinitions.d.cts +1 -1
- package/dist/promptDefinitions.d.ts +1 -1
- package/dist/promptDefinitions.js +3 -2
- package/dist/{prompts-Dt3A8Qfl.js → prompts-C8Y9w5c4.js} +7 -7
- package/dist/{prompts-Dt3A8Qfl.js.map → prompts-C8Y9w5c4.js.map} +1 -1
- package/dist/{prompts-CDbQrutV.cjs → prompts-Df3i1XSB.cjs} +7 -7
- package/dist/{prompts-CDbQrutV.cjs.map → prompts-Df3i1XSB.cjs.map} +1 -1
- package/dist/prompts.cjs +2 -2
- package/dist/prompts.d.cts +4 -5
- package/dist/prompts.d.cts.map +1 -1
- package/dist/prompts.d.ts +4 -5
- package/dist/prompts.d.ts.map +1 -1
- package/dist/prompts.js +2 -2
- package/dist/resources-BHF8a1ZB.js +92 -0
- package/dist/resources-BHF8a1ZB.js.map +1 -0
- package/dist/resources-BM_YQGcb.cjs +104 -0
- package/dist/resources-BM_YQGcb.cjs.map +1 -0
- package/dist/resources.cjs +5 -2
- package/dist/resources.d.cts +26 -12
- package/dist/resources.d.cts.map +1 -1
- package/dist/resources.d.ts +26 -12
- package/dist/resources.d.ts.map +1 -1
- package/dist/resources.js +4 -2
- package/dist/{schema-BnxGHL_i.d.ts → schema-B5BpplNK.d.ts} +3632 -573
- package/dist/schema-B5BpplNK.d.ts.map +1 -0
- package/dist/{schema-BsvGMALe.cjs → schema-B_cMyyJJ.cjs} +94 -8
- package/dist/schema-B_cMyyJJ.cjs.map +1 -0
- package/dist/{schema-BTfISwFu.cjs → schema-BpJVmev8.cjs} +23 -1
- package/dist/{schema-Dv6aLZgz.js.map → schema-BpJVmev8.cjs.map} +1 -1
- package/dist/{schema-BJv7kREf.d.cts → schema-Dt-HKnd_.d.cts} +3567 -508
- package/dist/schema-Dt-HKnd_.d.cts.map +1 -0
- package/dist/{schema-Dv6aLZgz.js → schema-DtsnsxMl.js} +6 -2
- package/dist/schema-DtsnsxMl.js.map +1 -0
- package/dist/{schema-C_hp0BR7.js → schema-WDk5Yqww.js} +53 -9
- package/dist/schema-WDk5Yqww.js.map +1 -0
- package/dist/schema.cjs +5 -1
- package/dist/schema.d.cts +4 -1
- package/dist/schema.d.cts.map +1 -1
- package/dist/schema.d.ts +4 -1
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +3 -2
- package/dist/search-docs-CrMdRDJy.js +102 -0
- package/dist/search-docs-CrMdRDJy.js.map +1 -0
- package/dist/search-docs-VhefTOOH.cjs +108 -0
- package/dist/search-docs-VhefTOOH.cjs.map +1 -0
- package/dist/seer-utils-Ckr8nYlz.js +87 -0
- package/dist/seer-utils-Ckr8nYlz.js.map +1 -0
- package/dist/seer-utils-CzYEEZb2.cjs +129 -0
- package/dist/seer-utils-CzYEEZb2.cjs.map +1 -0
- package/dist/{server-DeutbO8v.cjs → server-CHG27fcn.cjs} +104 -57
- package/dist/server-CHG27fcn.cjs.map +1 -0
- package/dist/{server-C7cHq_pc.js → server-DeuBftc5.js} +104 -57
- package/dist/server-DeuBftc5.js.map +1 -0
- package/dist/server.cjs +40 -13
- package/dist/server.d.cts +2 -3
- package/dist/server.d.cts.map +1 -1
- package/dist/server.d.ts +2 -3
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +42 -15
- package/dist/{stdio-B73CCTly.cjs → stdio-BtVdTwx-.cjs} +17 -7
- package/dist/stdio-BtVdTwx-.cjs.map +1 -0
- package/dist/{stdio-ZQLC-i5Q.js → stdio-DIuLW5EE.js} +17 -7
- package/dist/stdio-DIuLW5EE.js.map +1 -0
- package/dist/test-setup.cjs +1420 -1230
- package/dist/test-setup.cjs.map +1 -1
- package/dist/test-setup.js +1262 -1045
- package/dist/test-setup.js.map +1 -1
- package/dist/toolDefinitions.d.ts +25 -2
- package/dist/toolDefinitions.js +1059 -4
- package/dist/tools/analyze-issue-with-seer.cjs +16 -0
- package/dist/tools/analyze-issue-with-seer.d.cts +16 -0
- package/dist/tools/analyze-issue-with-seer.d.cts.map +1 -0
- package/dist/tools/analyze-issue-with-seer.d.ts +16 -0
- package/dist/tools/analyze-issue-with-seer.d.ts.map +1 -0
- package/dist/tools/analyze-issue-with-seer.js +16 -0
- package/dist/tools/create-dsn.cjs +12 -0
- package/dist/tools/create-dsn.d.cts +15 -0
- package/dist/tools/create-dsn.d.cts.map +1 -0
- package/dist/tools/create-dsn.d.ts +15 -0
- package/dist/tools/create-dsn.d.ts.map +1 -0
- package/dist/tools/create-dsn.js +12 -0
- package/dist/tools/create-project.cjs +13 -0
- package/dist/tools/create-project.d.cts +16 -0
- package/dist/tools/create-project.d.cts.map +1 -0
- package/dist/tools/create-project.d.ts +16 -0
- package/dist/tools/create-project.d.ts.map +1 -0
- package/dist/tools/create-project.js +13 -0
- package/dist/tools/create-team.cjs +12 -0
- package/dist/tools/create-team.d.cts +14 -0
- package/dist/tools/create-team.d.cts.map +1 -0
- package/dist/tools/create-team.d.ts +14 -0
- package/dist/tools/create-team.d.ts.map +1 -0
- package/dist/tools/create-team.js +12 -0
- package/dist/tools/find-dsns.cjs +12 -0
- package/dist/tools/find-dsns.d.cts +14 -0
- package/dist/tools/find-dsns.d.cts.map +1 -0
- package/dist/tools/find-dsns.d.ts +14 -0
- package/dist/tools/find-dsns.d.ts.map +1 -0
- package/dist/tools/find-dsns.js +12 -0
- package/dist/tools/find-errors.cjs +12 -0
- package/dist/tools/find-errors.d.cts +18 -0
- package/dist/tools/find-errors.d.cts.map +1 -0
- package/dist/tools/find-errors.d.ts +18 -0
- package/dist/tools/find-errors.d.ts.map +1 -0
- package/dist/tools/find-errors.js +12 -0
- package/dist/tools/find-issues.cjs +12 -0
- package/dist/tools/find-issues.d.cts +16 -0
- package/dist/tools/find-issues.d.cts.map +1 -0
- package/dist/tools/find-issues.d.ts +16 -0
- package/dist/tools/find-issues.d.ts.map +1 -0
- package/dist/tools/find-issues.js +12 -0
- package/dist/tools/find-organizations.cjs +10 -0
- package/dist/tools/find-organizations.d.cts +9 -0
- package/dist/tools/find-organizations.d.cts.map +1 -0
- package/dist/tools/find-organizations.d.ts +9 -0
- package/dist/tools/find-organizations.d.ts.map +1 -0
- package/dist/tools/find-organizations.js +10 -0
- package/dist/tools/find-projects.cjs +12 -0
- package/dist/tools/find-projects.d.cts +13 -0
- package/dist/tools/find-projects.d.cts.map +1 -0
- package/dist/tools/find-projects.d.ts +13 -0
- package/dist/tools/find-projects.d.ts.map +1 -0
- package/dist/tools/find-projects.js +12 -0
- package/dist/tools/find-releases.cjs +12 -0
- package/dist/tools/find-releases.d.cts +15 -0
- package/dist/tools/find-releases.d.cts.map +1 -0
- package/dist/tools/find-releases.d.ts +15 -0
- package/dist/tools/find-releases.d.ts.map +1 -0
- package/dist/tools/find-releases.js +12 -0
- package/dist/tools/find-tags.cjs +12 -0
- package/dist/tools/find-tags.d.cts +13 -0
- package/dist/tools/find-tags.d.cts.map +1 -0
- package/dist/tools/find-tags.d.ts +13 -0
- package/dist/tools/find-tags.d.ts.map +1 -0
- package/dist/tools/find-tags.js +12 -0
- package/dist/tools/find-teams.cjs +12 -0
- package/dist/tools/find-teams.d.cts +13 -0
- package/dist/tools/find-teams.d.cts.map +1 -0
- package/dist/tools/find-teams.d.ts +13 -0
- package/dist/tools/find-teams.d.ts.map +1 -0
- package/dist/tools/find-teams.js +12 -0
- package/dist/tools/find-transactions.cjs +12 -0
- package/dist/tools/find-transactions.d.cts +17 -0
- package/dist/tools/find-transactions.d.cts.map +1 -0
- package/dist/tools/find-transactions.d.ts +17 -0
- package/dist/tools/find-transactions.d.ts.map +1 -0
- package/dist/tools/find-transactions.js +12 -0
- package/dist/tools/get-doc.cjs +11 -0
- package/dist/tools/get-doc.d.cts +12 -0
- package/dist/tools/get-doc.d.cts.map +1 -0
- package/dist/tools/get-doc.d.ts +12 -0
- package/dist/tools/get-doc.d.ts.map +1 -0
- package/dist/tools/get-doc.js +11 -0
- package/dist/tools/get-event-attachment.cjs +12 -0
- package/dist/tools/get-event-attachment.d.cts +16 -0
- package/dist/tools/get-event-attachment.d.cts.map +1 -0
- package/dist/tools/get-event-attachment.d.ts +16 -0
- package/dist/tools/get-event-attachment.d.ts.map +1 -0
- package/dist/tools/get-event-attachment.js +12 -0
- package/dist/tools/get-issue-details.cjs +15 -0
- package/dist/tools/get-issue-details.d.cts +16 -0
- package/dist/tools/get-issue-details.d.cts.map +1 -0
- package/dist/tools/get-issue-details.d.ts +16 -0
- package/dist/tools/get-issue-details.d.ts.map +1 -0
- package/dist/tools/get-issue-details.js +15 -0
- package/dist/tools/index.cjs +40 -0
- package/dist/tools/index.d.cts +127 -0
- package/dist/tools/index.d.cts.map +1 -0
- package/dist/tools/index.d.ts +127 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +40 -0
- package/dist/tools/search-docs.cjs +12 -0
- package/dist/tools/search-docs.d.cts +14 -0
- package/dist/tools/search-docs.d.cts.map +1 -0
- package/dist/tools/search-docs.d.ts +14 -0
- package/dist/tools/search-docs.d.ts.map +1 -0
- package/dist/tools/search-docs.js +12 -0
- package/dist/tools/types.cjs +0 -0
- package/dist/tools/types.d.cts +4 -0
- package/dist/tools/types.d.ts +4 -0
- package/dist/tools/types.js +0 -0
- package/dist/tools/update-issue.cjs +16 -0
- package/dist/tools/update-issue.d.cts +17 -0
- package/dist/tools/update-issue.d.cts.map +1 -0
- package/dist/tools/update-issue.d.ts +17 -0
- package/dist/tools/update-issue.d.ts.map +1 -0
- package/dist/tools/update-issue.js +16 -0
- package/dist/tools/update-project.cjs +13 -0
- package/dist/tools/update-project.d.cts +18 -0
- package/dist/tools/update-project.d.cts.map +1 -0
- package/dist/tools/update-project.d.ts +18 -0
- package/dist/tools/update-project.d.ts.map +1 -0
- package/dist/tools/update-project.js +13 -0
- package/dist/tools/utils/api-utils.cjs +8 -0
- package/dist/tools/utils/api-utils.d.cts +24 -0
- package/dist/tools/utils/api-utils.d.cts.map +1 -0
- package/dist/tools/utils/api-utils.d.ts +24 -0
- package/dist/tools/utils/api-utils.d.ts.map +1 -0
- package/dist/tools/utils/api-utils.js +8 -0
- package/dist/tools/utils/defineTool.cjs +3 -0
- package/dist/tools/utils/defineTool.d.cts +12 -0
- package/dist/tools/utils/defineTool.d.cts.map +1 -0
- package/dist/tools/utils/defineTool.d.ts +12 -0
- package/dist/tools/utils/defineTool.d.ts.map +1 -0
- package/dist/tools/utils/defineTool.js +3 -0
- package/dist/tools/utils/fetch-utils.cjs +4 -0
- package/dist/tools/utils/fetch-utils.d.cts +2 -0
- package/dist/tools/utils/fetch-utils.d.ts +2 -0
- package/dist/tools/utils/fetch-utils.js +4 -0
- package/dist/tools/utils/formatting-utils.cjs +3 -0
- package/dist/tools/utils/formatting-utils.d.cts +15 -0
- package/dist/tools/utils/formatting-utils.d.cts.map +1 -0
- package/dist/tools/utils/formatting-utils.d.ts +15 -0
- package/dist/tools/utils/formatting-utils.d.ts.map +1 -0
- package/dist/tools/utils/formatting-utils.js +3 -0
- package/dist/tools/utils/issue-utils.cjs +6 -0
- package/dist/tools/utils/issue-utils.d.cts +7 -0
- package/dist/tools/utils/issue-utils.d.ts +7 -0
- package/dist/tools/utils/issue-utils.js +5 -0
- package/dist/tools/utils/seer-utils.cjs +9 -0
- package/dist/tools/utils/seer-utils.d.cts +28 -0
- package/dist/tools/utils/seer-utils.d.cts.map +1 -0
- package/dist/tools/utils/seer-utils.d.ts +28 -0
- package/dist/tools/utils/seer-utils.d.ts.map +1 -0
- package/dist/tools/utils/seer-utils.js +3 -0
- package/dist/tools/whoami.cjs +10 -0
- package/dist/tools/whoami.d.cts +9 -0
- package/dist/tools/whoami.d.cts.map +1 -0
- package/dist/tools/whoami.d.ts +9 -0
- package/dist/tools/whoami.d.ts.map +1 -0
- package/dist/tools/whoami.js +10 -0
- package/dist/tools-BiZ7ZDKf.cjs +53 -0
- package/dist/tools-BiZ7ZDKf.cjs.map +1 -0
- package/dist/tools-DGF9GhbP.js +48 -0
- package/dist/tools-DGF9GhbP.js.map +1 -0
- package/dist/transports/stdio.cjs +42 -14
- package/dist/transports/stdio.d.cts +2 -3
- package/dist/transports/stdio.d.cts.map +1 -1
- package/dist/transports/stdio.d.ts +2 -3
- package/dist/transports/stdio.d.ts.map +1 -1
- package/dist/transports/stdio.js +44 -16
- package/dist/types-B2qOfefC.d.ts +29 -0
- package/dist/types-B2qOfefC.d.ts.map +1 -0
- package/dist/{types-Daq2fm0E.d.ts → types-Br0saqtE.d.ts} +5 -3
- package/dist/types-Br0saqtE.d.ts.map +1 -0
- package/dist/{types-NIQW7KyF.d.cts → types-C3pRFQyA.d.cts} +5 -3
- package/dist/types-C3pRFQyA.d.cts.map +1 -0
- package/dist/types-CCHsZshF.js +0 -0
- package/dist/types-CYjev2Ep.d.cts +29 -0
- package/dist/types-CYjev2Ep.d.cts.map +1 -0
- package/dist/types-CZaMk5Yg.d.cts +29 -0
- package/dist/types-CZaMk5Yg.d.cts.map +1 -0
- package/dist/types-D5KkaSjc.d.ts +29 -0
- package/dist/types-D5KkaSjc.d.ts.map +1 -0
- package/dist/types.d.cts +3 -4
- package/dist/types.d.ts +3 -4
- package/dist/update-issue-Bz-u_Yaa.cjs +115 -0
- package/dist/update-issue-Bz-u_Yaa.cjs.map +1 -0
- package/dist/update-issue-DN80uuKU.js +109 -0
- package/dist/update-issue-DN80uuKU.js.map +1 -0
- package/dist/update-project-5j-SOHWU.js +120 -0
- package/dist/update-project-5j-SOHWU.js.map +1 -0
- package/dist/update-project-C7Xbmhqg.cjs +126 -0
- package/dist/update-project-C7Xbmhqg.cjs.map +1 -0
- package/dist/version-DvMKCu-i.js +6 -0
- package/dist/version-DvMKCu-i.js.map +1 -0
- package/dist/{version-BNmubeQI.cjs → version-Dyz6_b54.cjs} +2 -2
- package/dist/version-Dyz6_b54.cjs.map +1 -0
- package/dist/version.cjs +1 -1
- package/dist/version.js +1 -1
- package/dist/whoami-qIbcECMA.cjs +28 -0
- package/dist/whoami-qIbcECMA.cjs.map +1 -0
- package/dist/whoami-raA70UBD.js +23 -0
- package/dist/whoami-raA70UBD.js.map +1 -0
- package/package.json +24 -14
- package/dist/api-client/client.test.cjs +0 -33
- package/dist/api-client/client.test.cjs.map +0 -1
- package/dist/api-client/client.test.d.ts +0 -1
- package/dist/api-client/client.test.js +0 -33
- package/dist/api-client/client.test.js.map +0 -1
- package/dist/chunk-BLXvPPr8.js +0 -30
- package/dist/client-4jq_wVgn.d.ts.map +0 -1
- package/dist/client-B7vZ6JMk.cjs.map +0 -1
- package/dist/client-CAoHZbyK.js.map +0 -1
- package/dist/client-DkY0ifZf.d.cts.map +0 -1
- package/dist/dist-BlIWGSIM.cjs +0 -8197
- package/dist/dist-BlIWGSIM.cjs.map +0 -1
- package/dist/dist-DDpQABxe.js +0 -8054
- package/dist/dist-DDpQABxe.js.map +0 -1
- package/dist/errors.test.cjs +0 -24
- package/dist/errors.test.cjs.map +0 -1
- package/dist/errors.test.d.cts +0 -1
- package/dist/errors.test.d.ts +0 -1
- package/dist/errors.test.js +0 -24
- package/dist/errors.test.js.map +0 -1
- package/dist/formatting-BaARL2gT.js +0 -68
- package/dist/formatting-BaARL2gT.js.map +0 -1
- package/dist/formatting-C2kN0ok6.cjs +0 -86
- package/dist/formatting-C2kN0ok6.cjs.map +0 -1
- package/dist/index-h64gcVNJ.d.ts +0 -1
- package/dist/internal/formatting.d.cts.map +0 -1
- package/dist/internal/formatting.d.ts.map +0 -1
- package/dist/internal/issue-helpers.d.cts.map +0 -1
- package/dist/internal/issue-helpers.d.ts.map +0 -1
- package/dist/internal/issue-helpers.test.cjs +0 -110
- package/dist/internal/issue-helpers.test.cjs.map +0 -1
- package/dist/internal/issue-helpers.test.d.cts +0 -1
- package/dist/internal/issue-helpers.test.d.ts +0 -1
- package/dist/internal/issue-helpers.test.js +0 -110
- package/dist/internal/issue-helpers.test.js.map +0 -1
- package/dist/magic-string.es-CybcVAw7.cjs +0 -1016
- package/dist/magic-string.es-CybcVAw7.cjs.map +0 -1
- package/dist/magic-string.es-DY8GVHw9.js +0 -1015
- package/dist/magic-string.es-DY8GVHw9.js.map +0 -1
- package/dist/promptDefinitions-BTLIBcGt.cjs.map +0 -1
- package/dist/promptDefinitions-CF2VWdQ6.d.cts.map +0 -1
- package/dist/promptDefinitions-D5FSQckL.d.ts.map +0 -1
- package/dist/resources-Bol20Xuo.js +0 -38
- package/dist/resources-Bol20Xuo.js.map +0 -1
- package/dist/resources-DNyoutxH.cjs +0 -44
- package/dist/resources-DNyoutxH.cjs.map +0 -1
- package/dist/schema-BJv7kREf.d.cts.map +0 -1
- package/dist/schema-BTfISwFu.cjs.map +0 -1
- package/dist/schema-BnxGHL_i.d.ts.map +0 -1
- package/dist/schema-BsvGMALe.cjs.map +0 -1
- package/dist/schema-C_hp0BR7.js.map +0 -1
- package/dist/server-C7cHq_pc.js.map +0 -1
- package/dist/server-DeutbO8v.cjs.map +0 -1
- package/dist/stdio-B73CCTly.cjs.map +0 -1
- package/dist/stdio-ZQLC-i5Q.js.map +0 -1
- package/dist/toolDefinitions-BOMF-zIC.d.ts +0 -394
- package/dist/toolDefinitions-BOMF-zIC.d.ts.map +0 -1
- package/dist/toolDefinitions-CUegGcWU.cjs +0 -547
- package/dist/toolDefinitions-CUegGcWU.cjs.map +0 -1
- package/dist/toolDefinitions-DFAxp3nr.js +0 -541
- package/dist/toolDefinitions-DFAxp3nr.js.map +0 -1
- package/dist/toolDefinitions-Ipvr4Acw.d.cts +0 -394
- package/dist/toolDefinitions-Ipvr4Acw.d.cts.map +0 -1
- package/dist/toolDefinitions.cjs +0 -4
- package/dist/toolDefinitions.d.cts +0 -2
- package/dist/toolDefinitions.test.cjs +0 -15
- package/dist/toolDefinitions.test.cjs.map +0 -1
- package/dist/toolDefinitions.test.d.cts +0 -1
- package/dist/toolDefinitions.test.d.ts +0 -1
- package/dist/toolDefinitions.test.js +0 -15
- package/dist/toolDefinitions.test.js.map +0 -1
- package/dist/tools-DpiQwSTY.js +0 -596
- package/dist/tools-DpiQwSTY.js.map +0 -1
- package/dist/tools-DyOqlsCW.cjs +0 -602
- package/dist/tools-DyOqlsCW.cjs.map +0 -1
- package/dist/tools.cjs +0 -11
- package/dist/tools.d.cts +0 -335
- package/dist/tools.d.cts.map +0 -1
- package/dist/tools.d.ts +0 -335
- package/dist/tools.d.ts.map +0 -1
- package/dist/tools.js +0 -11
- package/dist/tools.test.cjs +0 -1298
- package/dist/tools.test.cjs.map +0 -1
- package/dist/tools.test.d.cts +0 -1
- package/dist/tools.test.d.ts +0 -1
- package/dist/tools.test.js +0 -1298
- package/dist/tools.test.js.map +0 -1
- package/dist/types-D5TPcOfv.d.ts +0 -39
- package/dist/types-D5TPcOfv.d.ts.map +0 -1
- package/dist/types-DRF2IoP_.d.cts +0 -39
- package/dist/types-DRF2IoP_.d.cts.map +0 -1
- package/dist/types-Daq2fm0E.d.ts.map +0 -1
- package/dist/types-NIQW7KyF.d.cts.map +0 -1
- package/dist/version-BNmubeQI.cjs.map +0 -1
- package/dist/version-CRto5Sn_.js +0 -6
- package/dist/version-CRto5Sn_.js.map +0 -1
- package/dist/vi.bdSIJ99Y-BfJr7I2s.js +0 -6349
- package/dist/vi.bdSIJ99Y-BfJr7I2s.js.map +0 -1
- package/dist/vi.bdSIJ99Y-Dft_B_Ta.cjs +0 -6355
- package/dist/vi.bdSIJ99Y-Dft_B_Ta.cjs.map +0 -1
- /package/dist/{api-client-CNv_hbPO.js → api-client-ChL_0F2u.js} +0 -0
- /package/dist/{types-6zHoEWAx.js → fetch-utils-C0F4eH6S.cjs} +0 -0
- /package/dist/{api-client/client.test.d.cts → index-BrojxuhJ.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, Issue, IssueList, OrganizationList, Project, ProjectList, ReleaseList, TagList, Team, TeamList, User } from "./types-
|
|
1
|
+
import { AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, Issue, IssueList, OrganizationList, Project, ProjectList, ReleaseList, TagList, Team, TeamList, User } from "./types-Br0saqtE.js";
|
|
2
2
|
|
|
3
3
|
//#region src/api-client/client.d.ts
|
|
4
4
|
|
|
@@ -443,6 +443,40 @@ declare class SentryApiService {
|
|
|
443
443
|
organizationSlug: string;
|
|
444
444
|
issueId: string;
|
|
445
445
|
}, opts?: RequestOptions): Promise<Event>;
|
|
446
|
+
listEventAttachments({
|
|
447
|
+
organizationSlug,
|
|
448
|
+
projectSlug,
|
|
449
|
+
eventId
|
|
450
|
+
}: {
|
|
451
|
+
organizationSlug: string;
|
|
452
|
+
projectSlug: string;
|
|
453
|
+
eventId: string;
|
|
454
|
+
}, opts?: RequestOptions): Promise<{
|
|
455
|
+
name: string;
|
|
456
|
+
type: string;
|
|
457
|
+
id: string;
|
|
458
|
+
size: number;
|
|
459
|
+
mimetype: string;
|
|
460
|
+
dateCreated: string;
|
|
461
|
+
sha1: string;
|
|
462
|
+
headers?: Record<string, string> | undefined;
|
|
463
|
+
}[]>;
|
|
464
|
+
getEventAttachment({
|
|
465
|
+
organizationSlug,
|
|
466
|
+
projectSlug,
|
|
467
|
+
eventId,
|
|
468
|
+
attachmentId
|
|
469
|
+
}: {
|
|
470
|
+
organizationSlug: string;
|
|
471
|
+
projectSlug: string;
|
|
472
|
+
eventId: string;
|
|
473
|
+
attachmentId: string;
|
|
474
|
+
}, opts?: RequestOptions): Promise<{
|
|
475
|
+
attachment: any;
|
|
476
|
+
downloadUrl: string;
|
|
477
|
+
filename: string;
|
|
478
|
+
blob: Blob;
|
|
479
|
+
}>;
|
|
446
480
|
updateIssue({
|
|
447
481
|
organizationSlug,
|
|
448
482
|
issueId,
|
|
@@ -470,9 +504,9 @@ declare class SentryApiService {
|
|
|
470
504
|
sortBy?: "last_seen" | "count";
|
|
471
505
|
}, opts?: RequestOptions): Promise<{
|
|
472
506
|
issue: string;
|
|
473
|
-
title: string;
|
|
474
|
-
project: string;
|
|
475
507
|
"issue.id": string | number;
|
|
508
|
+
project: string;
|
|
509
|
+
title: string;
|
|
476
510
|
"count()": number;
|
|
477
511
|
"last_seen()": string;
|
|
478
512
|
}[]>;
|
|
@@ -489,10 +523,10 @@ declare class SentryApiService {
|
|
|
489
523
|
query?: string;
|
|
490
524
|
sortBy?: "timestamp" | "duration";
|
|
491
525
|
}, opts?: RequestOptions): Promise<{
|
|
492
|
-
id: string;
|
|
493
|
-
project: string;
|
|
494
526
|
transaction: string;
|
|
495
527
|
timestamp: string;
|
|
528
|
+
id: string;
|
|
529
|
+
project: string;
|
|
496
530
|
trace: string;
|
|
497
531
|
"span.op": string;
|
|
498
532
|
"span.description": string;
|
|
@@ -519,4 +553,4 @@ declare class SentryApiService {
|
|
|
519
553
|
}
|
|
520
554
|
//#endregion
|
|
521
555
|
export { ApiError, SentryApiService };
|
|
522
|
-
//# sourceMappingURL=client-
|
|
556
|
+
//# sourceMappingURL=client-qyEu8fvj.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-qyEu8fvj.d.ts","names":[],"sources":["../src/api-client/client.ts"],"sourcesContent":[],"mappings":";;;;;;AA2EA;AAkBC;AAiDD;;;;;;;;;;;;;AAgRM,cAnVO,QAAA,SAAiB,KAAK,CAmV7B;EAAgB,MAChB,EAAA,MAAA;EAAI,WAKC,CAAA,OAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA;;KArUN,cAAA,GAsUA;EAAO,IAsBD,CAAA,EAAA,MAAA;CAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgVnB,cA7nBO,gBAAA,CA6nBP;EAAgB,QAChB,WAAA;EAAW,UACX,IAAA,EAAA,MAAA;EAAK,UACL,SAAA,EAAA,MAAA;EAAM;;;;;;;EA0CM,WAAb,CAAA;IAAA,WAAA;IAAA;EAcQ,CAdR,EAAA;IAaC,WAAA,CAAA,EAAA,MAAA,GAAA,IAAA;IACA,IAAA,CAAA,EAAA,MAAA;EAAO,CAAA;EACA;;;;;;;EA2BK,OAAb,CAAA,IAAA,EAAA,MAAA,CAAA,EAAA,IAAA;EAAO;;;;;;;;;;;;;;;;EA+FA,QACN,OAAA;EAAU;;;;;;;;;;;;;;;;;;EAmHS,WA6CnB,CAAA,gBAAA,EAAA,MAAA,EAAA,OAAA,EAAA,MAAA,CAAA,EAAA,MAAA;EAAgB;;;;;;;;;;;AAqCV;;;;;;;;;;8BAzzBwB,iBAAiB,QAAQ;;;;;;;;;;;;;;;;;;;2BAwB5B,iBAAiB,QAAQ;;;;;;;;6CAgC/C,iBACN,QAAQ;;;;;;;;;;;;;;;;;YA6BF,iBACN,QAAQ;;;;;;;;gDAsBF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;YAkCF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;YAyCF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;YAoCF,iBACN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2CM,iBACN,QAAQ;;;;;;;;;;;;;;;;YA+BF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2CF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;YAgDF,iBACN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA8DF,iBACN,QAAQ;;;;;;;YAiCF,iBACN,QAAQ;;;;;;;;;YAqBF,iBACN,QAAQ;;;;;;;YAmBF,iBACN,QAAQ;;;;;;;;;YAqBF,iBAAc;;;;;;;;cAAA;;;;;;;;;;;;YAwBd,iBACN;;;;UAIK;;;;;;;;;;;;YAqDC,iBACN,QAAQ;;;;;;;;;;;;;;;YAkDF,iBAAc;;;;;;;;;;;;;;;;;;;;YAyDd,iBAAc;;;;;;;;;;;;;;;;;;;;YAuDd,iBACN,QAAQ;;;;;;;YAyBF,iBACN,QAAQ"}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/constants.ts
|
|
3
|
+
/**
|
|
4
|
+
* Constants for Sentry MCP server.
|
|
5
|
+
*
|
|
6
|
+
* Defines platform and framework combinations available in Sentry documentation.
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Common Sentry platforms that have documentation available
|
|
10
|
+
*/
|
|
11
|
+
const SENTRY_PLATFORMS_BASE = [
|
|
12
|
+
"javascript",
|
|
13
|
+
"python",
|
|
14
|
+
"java",
|
|
15
|
+
"dotnet",
|
|
16
|
+
"go",
|
|
17
|
+
"php",
|
|
18
|
+
"ruby",
|
|
19
|
+
"android",
|
|
20
|
+
"apple",
|
|
21
|
+
"unity",
|
|
22
|
+
"unreal",
|
|
23
|
+
"rust",
|
|
24
|
+
"elixir",
|
|
25
|
+
"kotlin",
|
|
26
|
+
"native",
|
|
27
|
+
"dart",
|
|
28
|
+
"godot",
|
|
29
|
+
"nintendo-switch",
|
|
30
|
+
"playstation",
|
|
31
|
+
"powershell",
|
|
32
|
+
"react-native",
|
|
33
|
+
"xbox"
|
|
34
|
+
];
|
|
35
|
+
/**
|
|
36
|
+
* Platform-specific frameworks that have Sentry guides
|
|
37
|
+
*/
|
|
38
|
+
const SENTRY_FRAMEWORKS = {
|
|
39
|
+
javascript: [
|
|
40
|
+
"nextjs",
|
|
41
|
+
"react",
|
|
42
|
+
"gatsby",
|
|
43
|
+
"remix",
|
|
44
|
+
"vue",
|
|
45
|
+
"angular",
|
|
46
|
+
"hono",
|
|
47
|
+
"svelte",
|
|
48
|
+
"express",
|
|
49
|
+
"fastify",
|
|
50
|
+
"astro",
|
|
51
|
+
"bun",
|
|
52
|
+
"capacitor",
|
|
53
|
+
"cloudflare",
|
|
54
|
+
"connect",
|
|
55
|
+
"cordova",
|
|
56
|
+
"deno",
|
|
57
|
+
"electron",
|
|
58
|
+
"ember",
|
|
59
|
+
"nuxt",
|
|
60
|
+
"solid",
|
|
61
|
+
"solidstart",
|
|
62
|
+
"sveltekit",
|
|
63
|
+
"tanstack-react",
|
|
64
|
+
"wasm",
|
|
65
|
+
"node",
|
|
66
|
+
"koa",
|
|
67
|
+
"nestjs",
|
|
68
|
+
"hapi"
|
|
69
|
+
],
|
|
70
|
+
python: [
|
|
71
|
+
"django",
|
|
72
|
+
"flask",
|
|
73
|
+
"fastapi",
|
|
74
|
+
"celery",
|
|
75
|
+
"tornado",
|
|
76
|
+
"pyramid",
|
|
77
|
+
"aiohttp",
|
|
78
|
+
"anthropic",
|
|
79
|
+
"airflow",
|
|
80
|
+
"aws-lambda",
|
|
81
|
+
"boto3",
|
|
82
|
+
"bottle",
|
|
83
|
+
"chalice",
|
|
84
|
+
"dramatiq",
|
|
85
|
+
"falcon",
|
|
86
|
+
"langchain",
|
|
87
|
+
"litestar",
|
|
88
|
+
"logging",
|
|
89
|
+
"loguru",
|
|
90
|
+
"openai",
|
|
91
|
+
"quart",
|
|
92
|
+
"ray",
|
|
93
|
+
"redis",
|
|
94
|
+
"rq",
|
|
95
|
+
"sanic",
|
|
96
|
+
"sqlalchemy",
|
|
97
|
+
"starlette"
|
|
98
|
+
],
|
|
99
|
+
dart: ["flutter"],
|
|
100
|
+
dotnet: [
|
|
101
|
+
"aspnetcore",
|
|
102
|
+
"maui",
|
|
103
|
+
"wpf",
|
|
104
|
+
"winforms",
|
|
105
|
+
"aspnet",
|
|
106
|
+
"aws-lambda",
|
|
107
|
+
"azure-functions",
|
|
108
|
+
"blazor-webassembly",
|
|
109
|
+
"entityframework",
|
|
110
|
+
"google-cloud-functions",
|
|
111
|
+
"extensions-logging",
|
|
112
|
+
"log4net",
|
|
113
|
+
"nlog",
|
|
114
|
+
"serilog",
|
|
115
|
+
"uwp",
|
|
116
|
+
"xamarin"
|
|
117
|
+
],
|
|
118
|
+
java: [
|
|
119
|
+
"spring",
|
|
120
|
+
"spring-boot",
|
|
121
|
+
"android",
|
|
122
|
+
"jul",
|
|
123
|
+
"log4j2",
|
|
124
|
+
"logback",
|
|
125
|
+
"servlet"
|
|
126
|
+
],
|
|
127
|
+
go: [
|
|
128
|
+
"echo",
|
|
129
|
+
"fasthttp",
|
|
130
|
+
"fiber",
|
|
131
|
+
"gin",
|
|
132
|
+
"http",
|
|
133
|
+
"iris",
|
|
134
|
+
"logrus",
|
|
135
|
+
"negroni",
|
|
136
|
+
"slog",
|
|
137
|
+
"zerolog"
|
|
138
|
+
],
|
|
139
|
+
php: ["laravel", "symfony"],
|
|
140
|
+
ruby: [
|
|
141
|
+
"delayed_job",
|
|
142
|
+
"rack",
|
|
143
|
+
"rails",
|
|
144
|
+
"resque",
|
|
145
|
+
"sidekiq"
|
|
146
|
+
],
|
|
147
|
+
android: ["kotlin"],
|
|
148
|
+
apple: [
|
|
149
|
+
"ios",
|
|
150
|
+
"macos",
|
|
151
|
+
"watchos",
|
|
152
|
+
"tvos",
|
|
153
|
+
"visionos"
|
|
154
|
+
],
|
|
155
|
+
kotlin: ["multiplatform"]
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* All valid guides for Sentry docs search filtering.
|
|
159
|
+
* A guide can be either a platform (e.g., 'javascript') or a platform/framework combination (e.g., 'javascript/nextjs').
|
|
160
|
+
*/
|
|
161
|
+
const SENTRY_GUIDES = [...SENTRY_PLATFORMS_BASE, ...Object.entries(SENTRY_FRAMEWORKS).flatMap(([platform, guides]) => guides.map((guide) => `${platform}/${guide}`))];
|
|
162
|
+
|
|
163
|
+
//#endregion
|
|
164
|
+
Object.defineProperty(exports, 'SENTRY_FRAMEWORKS', {
|
|
165
|
+
enumerable: true,
|
|
166
|
+
get: function () {
|
|
167
|
+
return SENTRY_FRAMEWORKS;
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
Object.defineProperty(exports, 'SENTRY_GUIDES', {
|
|
171
|
+
enumerable: true,
|
|
172
|
+
get: function () {
|
|
173
|
+
return SENTRY_GUIDES;
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
Object.defineProperty(exports, 'SENTRY_PLATFORMS_BASE', {
|
|
177
|
+
enumerable: true,
|
|
178
|
+
get: function () {
|
|
179
|
+
return SENTRY_PLATFORMS_BASE;
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
//# sourceMappingURL=constants-ClkMK29-.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants-ClkMK29-.cjs","names":["SENTRY_FRAMEWORKS: Record<string, string[]>"],"sources":["../src/constants.ts"],"sourcesContent":["/**\n * Constants for Sentry MCP server.\n *\n * Defines platform and framework combinations available in Sentry documentation.\n */\n\n/**\n * Common Sentry platforms that have documentation available\n */\nexport const SENTRY_PLATFORMS_BASE = [\n \"javascript\",\n \"python\",\n \"java\",\n \"dotnet\",\n \"go\",\n \"php\",\n \"ruby\",\n \"android\",\n \"apple\",\n \"unity\",\n \"unreal\",\n \"rust\",\n \"elixir\",\n \"kotlin\",\n \"native\",\n \"dart\",\n \"godot\",\n \"nintendo-switch\",\n \"playstation\",\n \"powershell\",\n \"react-native\",\n \"xbox\",\n] as const;\n\n/**\n * Platform-specific frameworks that have Sentry guides\n */\nexport const SENTRY_FRAMEWORKS: Record<string, string[]> = {\n javascript: [\n \"nextjs\",\n \"react\",\n \"gatsby\",\n \"remix\",\n \"vue\",\n \"angular\",\n \"hono\",\n \"svelte\",\n \"express\",\n \"fastify\",\n \"astro\",\n \"bun\",\n \"capacitor\",\n \"cloudflare\",\n \"connect\",\n \"cordova\",\n \"deno\",\n \"electron\",\n \"ember\",\n \"nuxt\",\n \"solid\",\n \"solidstart\",\n \"sveltekit\",\n \"tanstack-react\",\n \"wasm\",\n \"node\",\n \"koa\",\n \"nestjs\",\n \"hapi\",\n ],\n python: [\n \"django\",\n \"flask\",\n \"fastapi\",\n \"celery\",\n \"tornado\",\n \"pyramid\",\n \"aiohttp\",\n \"anthropic\",\n \"airflow\",\n \"aws-lambda\",\n \"boto3\",\n \"bottle\",\n \"chalice\",\n \"dramatiq\",\n \"falcon\",\n \"langchain\",\n \"litestar\",\n \"logging\",\n \"loguru\",\n \"openai\",\n \"quart\",\n \"ray\",\n \"redis\",\n \"rq\",\n \"sanic\",\n \"sqlalchemy\",\n \"starlette\",\n ],\n dart: [\"flutter\"],\n dotnet: [\n \"aspnetcore\",\n \"maui\",\n \"wpf\",\n \"winforms\",\n \"aspnet\",\n \"aws-lambda\",\n \"azure-functions\",\n \"blazor-webassembly\",\n \"entityframework\",\n \"google-cloud-functions\",\n \"extensions-logging\",\n \"log4net\",\n \"nlog\",\n \"serilog\",\n \"uwp\",\n \"xamarin\",\n ],\n java: [\n \"spring\",\n \"spring-boot\",\n \"android\",\n \"jul\",\n \"log4j2\",\n \"logback\",\n \"servlet\",\n ],\n go: [\n \"echo\",\n \"fasthttp\",\n \"fiber\",\n \"gin\",\n \"http\",\n \"iris\",\n \"logrus\",\n \"negroni\",\n \"slog\",\n \"zerolog\",\n ],\n php: [\"laravel\", \"symfony\"],\n ruby: [\"delayed_job\", \"rack\", \"rails\", \"resque\", \"sidekiq\"],\n android: [\"kotlin\"],\n apple: [\"ios\", \"macos\", \"watchos\", \"tvos\", \"visionos\"],\n kotlin: [\"multiplatform\"],\n} as const;\n\n/**\n * All valid guides for Sentry docs search filtering.\n * A guide can be either a platform (e.g., 'javascript') or a platform/framework combination (e.g., 'javascript/nextjs').\n */\nexport const SENTRY_GUIDES = [\n // Base platforms\n ...SENTRY_PLATFORMS_BASE,\n // Platform/guide combinations\n ...Object.entries(SENTRY_FRAMEWORKS).flatMap(([platform, guides]) =>\n guides.map((guide) => `${platform}/${guide}`),\n ),\n] as const;\n"],"mappings":";;;;;;;;;;AASA,MAAa,wBAAwB;CACnC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;;;;AAKD,MAAaA,oBAA8C;CACzD,YAAY;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD;CACD,QAAQ;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD;CACD,MAAM,CAAC,SAAU;CACjB,QAAQ;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD;CACD,MAAM;EACJ;EACA;EACA;EACA;EACA;EACA;EACA;CACD;CACD,IAAI;EACF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD;CACD,KAAK,CAAC,WAAW,SAAU;CAC3B,MAAM;EAAC;EAAe;EAAQ;EAAS;EAAU;CAAU;CAC3D,SAAS,CAAC,QAAS;CACnB,OAAO;EAAC;EAAO;EAAS;EAAW;EAAQ;CAAW;CACtD,QAAQ,CAAC,eAAgB;AAC1B;;;;;AAMD,MAAa,gBAAgB,CAE3B,GAAG,uBAEH,GAAG,OAAO,QAAQ,kBAAkB,CAAC,QAAQ,CAAC,CAAC,UAAU,OAAO,KAC9D,OAAO,IAAI,CAAC,aAAa,SAAS,GAAG,QAAQ,CAC9C,AACF"}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
//#region src/constants.ts
|
|
2
|
+
/**
|
|
3
|
+
* Constants for Sentry MCP server.
|
|
4
|
+
*
|
|
5
|
+
* Defines platform and framework combinations available in Sentry documentation.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Common Sentry platforms that have documentation available
|
|
9
|
+
*/
|
|
10
|
+
const SENTRY_PLATFORMS_BASE = [
|
|
11
|
+
"javascript",
|
|
12
|
+
"python",
|
|
13
|
+
"java",
|
|
14
|
+
"dotnet",
|
|
15
|
+
"go",
|
|
16
|
+
"php",
|
|
17
|
+
"ruby",
|
|
18
|
+
"android",
|
|
19
|
+
"apple",
|
|
20
|
+
"unity",
|
|
21
|
+
"unreal",
|
|
22
|
+
"rust",
|
|
23
|
+
"elixir",
|
|
24
|
+
"kotlin",
|
|
25
|
+
"native",
|
|
26
|
+
"dart",
|
|
27
|
+
"godot",
|
|
28
|
+
"nintendo-switch",
|
|
29
|
+
"playstation",
|
|
30
|
+
"powershell",
|
|
31
|
+
"react-native",
|
|
32
|
+
"xbox"
|
|
33
|
+
];
|
|
34
|
+
/**
|
|
35
|
+
* Platform-specific frameworks that have Sentry guides
|
|
36
|
+
*/
|
|
37
|
+
const SENTRY_FRAMEWORKS = {
|
|
38
|
+
javascript: [
|
|
39
|
+
"nextjs",
|
|
40
|
+
"react",
|
|
41
|
+
"gatsby",
|
|
42
|
+
"remix",
|
|
43
|
+
"vue",
|
|
44
|
+
"angular",
|
|
45
|
+
"hono",
|
|
46
|
+
"svelte",
|
|
47
|
+
"express",
|
|
48
|
+
"fastify",
|
|
49
|
+
"astro",
|
|
50
|
+
"bun",
|
|
51
|
+
"capacitor",
|
|
52
|
+
"cloudflare",
|
|
53
|
+
"connect",
|
|
54
|
+
"cordova",
|
|
55
|
+
"deno",
|
|
56
|
+
"electron",
|
|
57
|
+
"ember",
|
|
58
|
+
"nuxt",
|
|
59
|
+
"solid",
|
|
60
|
+
"solidstart",
|
|
61
|
+
"sveltekit",
|
|
62
|
+
"tanstack-react",
|
|
63
|
+
"wasm",
|
|
64
|
+
"node",
|
|
65
|
+
"koa",
|
|
66
|
+
"nestjs",
|
|
67
|
+
"hapi"
|
|
68
|
+
],
|
|
69
|
+
python: [
|
|
70
|
+
"django",
|
|
71
|
+
"flask",
|
|
72
|
+
"fastapi",
|
|
73
|
+
"celery",
|
|
74
|
+
"tornado",
|
|
75
|
+
"pyramid",
|
|
76
|
+
"aiohttp",
|
|
77
|
+
"anthropic",
|
|
78
|
+
"airflow",
|
|
79
|
+
"aws-lambda",
|
|
80
|
+
"boto3",
|
|
81
|
+
"bottle",
|
|
82
|
+
"chalice",
|
|
83
|
+
"dramatiq",
|
|
84
|
+
"falcon",
|
|
85
|
+
"langchain",
|
|
86
|
+
"litestar",
|
|
87
|
+
"logging",
|
|
88
|
+
"loguru",
|
|
89
|
+
"openai",
|
|
90
|
+
"quart",
|
|
91
|
+
"ray",
|
|
92
|
+
"redis",
|
|
93
|
+
"rq",
|
|
94
|
+
"sanic",
|
|
95
|
+
"sqlalchemy",
|
|
96
|
+
"starlette"
|
|
97
|
+
],
|
|
98
|
+
dart: ["flutter"],
|
|
99
|
+
dotnet: [
|
|
100
|
+
"aspnetcore",
|
|
101
|
+
"maui",
|
|
102
|
+
"wpf",
|
|
103
|
+
"winforms",
|
|
104
|
+
"aspnet",
|
|
105
|
+
"aws-lambda",
|
|
106
|
+
"azure-functions",
|
|
107
|
+
"blazor-webassembly",
|
|
108
|
+
"entityframework",
|
|
109
|
+
"google-cloud-functions",
|
|
110
|
+
"extensions-logging",
|
|
111
|
+
"log4net",
|
|
112
|
+
"nlog",
|
|
113
|
+
"serilog",
|
|
114
|
+
"uwp",
|
|
115
|
+
"xamarin"
|
|
116
|
+
],
|
|
117
|
+
java: [
|
|
118
|
+
"spring",
|
|
119
|
+
"spring-boot",
|
|
120
|
+
"android",
|
|
121
|
+
"jul",
|
|
122
|
+
"log4j2",
|
|
123
|
+
"logback",
|
|
124
|
+
"servlet"
|
|
125
|
+
],
|
|
126
|
+
go: [
|
|
127
|
+
"echo",
|
|
128
|
+
"fasthttp",
|
|
129
|
+
"fiber",
|
|
130
|
+
"gin",
|
|
131
|
+
"http",
|
|
132
|
+
"iris",
|
|
133
|
+
"logrus",
|
|
134
|
+
"negroni",
|
|
135
|
+
"slog",
|
|
136
|
+
"zerolog"
|
|
137
|
+
],
|
|
138
|
+
php: ["laravel", "symfony"],
|
|
139
|
+
ruby: [
|
|
140
|
+
"delayed_job",
|
|
141
|
+
"rack",
|
|
142
|
+
"rails",
|
|
143
|
+
"resque",
|
|
144
|
+
"sidekiq"
|
|
145
|
+
],
|
|
146
|
+
android: ["kotlin"],
|
|
147
|
+
apple: [
|
|
148
|
+
"ios",
|
|
149
|
+
"macos",
|
|
150
|
+
"watchos",
|
|
151
|
+
"tvos",
|
|
152
|
+
"visionos"
|
|
153
|
+
],
|
|
154
|
+
kotlin: ["multiplatform"]
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* All valid guides for Sentry docs search filtering.
|
|
158
|
+
* A guide can be either a platform (e.g., 'javascript') or a platform/framework combination (e.g., 'javascript/nextjs').
|
|
159
|
+
*/
|
|
160
|
+
const SENTRY_GUIDES = [...SENTRY_PLATFORMS_BASE, ...Object.entries(SENTRY_FRAMEWORKS).flatMap(([platform, guides]) => guides.map((guide) => `${platform}/${guide}`))];
|
|
161
|
+
|
|
162
|
+
//#endregion
|
|
163
|
+
export { SENTRY_FRAMEWORKS, SENTRY_GUIDES, SENTRY_PLATFORMS_BASE };
|
|
164
|
+
//# sourceMappingURL=constants-S7AU45oQ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants-S7AU45oQ.js","names":["SENTRY_FRAMEWORKS: Record<string, string[]>"],"sources":["../src/constants.ts"],"sourcesContent":["/**\n * Constants for Sentry MCP server.\n *\n * Defines platform and framework combinations available in Sentry documentation.\n */\n\n/**\n * Common Sentry platforms that have documentation available\n */\nexport const SENTRY_PLATFORMS_BASE = [\n \"javascript\",\n \"python\",\n \"java\",\n \"dotnet\",\n \"go\",\n \"php\",\n \"ruby\",\n \"android\",\n \"apple\",\n \"unity\",\n \"unreal\",\n \"rust\",\n \"elixir\",\n \"kotlin\",\n \"native\",\n \"dart\",\n \"godot\",\n \"nintendo-switch\",\n \"playstation\",\n \"powershell\",\n \"react-native\",\n \"xbox\",\n] as const;\n\n/**\n * Platform-specific frameworks that have Sentry guides\n */\nexport const SENTRY_FRAMEWORKS: Record<string, string[]> = {\n javascript: [\n \"nextjs\",\n \"react\",\n \"gatsby\",\n \"remix\",\n \"vue\",\n \"angular\",\n \"hono\",\n \"svelte\",\n \"express\",\n \"fastify\",\n \"astro\",\n \"bun\",\n \"capacitor\",\n \"cloudflare\",\n \"connect\",\n \"cordova\",\n \"deno\",\n \"electron\",\n \"ember\",\n \"nuxt\",\n \"solid\",\n \"solidstart\",\n \"sveltekit\",\n \"tanstack-react\",\n \"wasm\",\n \"node\",\n \"koa\",\n \"nestjs\",\n \"hapi\",\n ],\n python: [\n \"django\",\n \"flask\",\n \"fastapi\",\n \"celery\",\n \"tornado\",\n \"pyramid\",\n \"aiohttp\",\n \"anthropic\",\n \"airflow\",\n \"aws-lambda\",\n \"boto3\",\n \"bottle\",\n \"chalice\",\n \"dramatiq\",\n \"falcon\",\n \"langchain\",\n \"litestar\",\n \"logging\",\n \"loguru\",\n \"openai\",\n \"quart\",\n \"ray\",\n \"redis\",\n \"rq\",\n \"sanic\",\n \"sqlalchemy\",\n \"starlette\",\n ],\n dart: [\"flutter\"],\n dotnet: [\n \"aspnetcore\",\n \"maui\",\n \"wpf\",\n \"winforms\",\n \"aspnet\",\n \"aws-lambda\",\n \"azure-functions\",\n \"blazor-webassembly\",\n \"entityframework\",\n \"google-cloud-functions\",\n \"extensions-logging\",\n \"log4net\",\n \"nlog\",\n \"serilog\",\n \"uwp\",\n \"xamarin\",\n ],\n java: [\n \"spring\",\n \"spring-boot\",\n \"android\",\n \"jul\",\n \"log4j2\",\n \"logback\",\n \"servlet\",\n ],\n go: [\n \"echo\",\n \"fasthttp\",\n \"fiber\",\n \"gin\",\n \"http\",\n \"iris\",\n \"logrus\",\n \"negroni\",\n \"slog\",\n \"zerolog\",\n ],\n php: [\"laravel\", \"symfony\"],\n ruby: [\"delayed_job\", \"rack\", \"rails\", \"resque\", \"sidekiq\"],\n android: [\"kotlin\"],\n apple: [\"ios\", \"macos\", \"watchos\", \"tvos\", \"visionos\"],\n kotlin: [\"multiplatform\"],\n} as const;\n\n/**\n * All valid guides for Sentry docs search filtering.\n * A guide can be either a platform (e.g., 'javascript') or a platform/framework combination (e.g., 'javascript/nextjs').\n */\nexport const SENTRY_GUIDES = [\n // Base platforms\n ...SENTRY_PLATFORMS_BASE,\n // Platform/guide combinations\n ...Object.entries(SENTRY_FRAMEWORKS).flatMap(([platform, guides]) =>\n guides.map((guide) => `${platform}/${guide}`),\n ),\n] as const;\n"],"mappings":";;;;;;;;;AASA,MAAa,wBAAwB;CACnC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;;;;AAKD,MAAaA,oBAA8C;CACzD,YAAY;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD;CACD,QAAQ;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD;CACD,MAAM,CAAC,SAAU;CACjB,QAAQ;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD;CACD,MAAM;EACJ;EACA;EACA;EACA;EACA;EACA;EACA;CACD;CACD,IAAI;EACF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD;CACD,KAAK,CAAC,WAAW,SAAU;CAC3B,MAAM;EAAC;EAAe;EAAQ;EAAS;EAAU;CAAU;CAC3D,SAAS,CAAC,QAAS;CACnB,OAAO;EAAC;EAAO;EAAS;EAAW;EAAQ;CAAW;CACtD,QAAQ,CAAC,eAAgB;AAC1B;;;;;AAMD,MAAa,gBAAgB,CAE3B,GAAG,uBAEH,GAAG,OAAO,QAAQ,kBAAkB,CAAC,QAAQ,CAAC,CAAC,UAAU,OAAO,KAC9D,OAAO,IAAI,CAAC,aAAa,SAAS,GAAG,QAAQ,CAC9C,AACF"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//#region src/constants.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Constants for Sentry MCP server.
|
|
4
|
+
*
|
|
5
|
+
* Defines platform and framework combinations available in Sentry documentation.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Common Sentry platforms that have documentation available
|
|
9
|
+
*/
|
|
10
|
+
declare const SENTRY_PLATFORMS_BASE: readonly ["javascript", "python", "java", "dotnet", "go", "php", "ruby", "android", "apple", "unity", "unreal", "rust", "elixir", "kotlin", "native", "dart", "godot", "nintendo-switch", "playstation", "powershell", "react-native", "xbox"];
|
|
11
|
+
/**
|
|
12
|
+
* Platform-specific frameworks that have Sentry guides
|
|
13
|
+
*/
|
|
14
|
+
declare const SENTRY_FRAMEWORKS: Record<string, string[]>;
|
|
15
|
+
/**
|
|
16
|
+
* All valid guides for Sentry docs search filtering.
|
|
17
|
+
* A guide can be either a platform (e.g., 'javascript') or a platform/framework combination (e.g., 'javascript/nextjs').
|
|
18
|
+
*/
|
|
19
|
+
declare const SENTRY_GUIDES: readonly ["javascript", "python", "java", "dotnet", "go", "php", "ruby", "android", "apple", "unity", "unreal", "rust", "elixir", "kotlin", "native", "dart", "godot", "nintendo-switch", "playstation", "powershell", "react-native", "xbox", ...string[]];
|
|
20
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
21
|
+
//#endregion
|
|
22
|
+
export { SENTRY_FRAMEWORKS, SENTRY_GUIDES, SENTRY_PLATFORMS_BASE };
|
|
23
|
+
//# sourceMappingURL=constants.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.cts","names":[],"sources":["../src/constants.ts"],"sourcesContent":[],"mappings":";;AASA;AA4BA;AAgHA;;;;;cA5Ia;;;;cA4BA,mBAAmB;;;;;cAgHnB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//#region src/constants.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Constants for Sentry MCP server.
|
|
4
|
+
*
|
|
5
|
+
* Defines platform and framework combinations available in Sentry documentation.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Common Sentry platforms that have documentation available
|
|
9
|
+
*/
|
|
10
|
+
declare const SENTRY_PLATFORMS_BASE: readonly ["javascript", "python", "java", "dotnet", "go", "php", "ruby", "android", "apple", "unity", "unreal", "rust", "elixir", "kotlin", "native", "dart", "godot", "nintendo-switch", "playstation", "powershell", "react-native", "xbox"];
|
|
11
|
+
/**
|
|
12
|
+
* Platform-specific frameworks that have Sentry guides
|
|
13
|
+
*/
|
|
14
|
+
declare const SENTRY_FRAMEWORKS: Record<string, string[]>;
|
|
15
|
+
/**
|
|
16
|
+
* All valid guides for Sentry docs search filtering.
|
|
17
|
+
* A guide can be either a platform (e.g., 'javascript') or a platform/framework combination (e.g., 'javascript/nextjs').
|
|
18
|
+
*/
|
|
19
|
+
declare const SENTRY_GUIDES: readonly ["javascript", "python", "java", "dotnet", "go", "php", "ruby", "android", "apple", "unity", "unreal", "rust", "elixir", "kotlin", "native", "dart", "godot", "nintendo-switch", "playstation", "powershell", "react-native", "xbox", ...string[]];
|
|
20
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
21
|
+
//#endregion
|
|
22
|
+
export { SENTRY_FRAMEWORKS, SENTRY_GUIDES, SENTRY_PLATFORMS_BASE };
|
|
23
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","names":[],"sources":["../src/constants.ts"],"sourcesContent":[],"mappings":";;AASA;AA4BA;AAgHA;;;;;cA5Ia;;;;cA4BA,mBAAmB;;;;;cAgHnB"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { defineTool } from "./defineTool-77H4nSna.js";
|
|
2
|
+
import { apiServiceFromContext } from "./api-utils-BcB1cMXS.js";
|
|
3
|
+
import { ParamOrganizationSlug, ParamProjectSlug, ParamRegionUrl } from "./schema-DtsnsxMl.js";
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
import { setTag } from "@sentry/core";
|
|
6
|
+
|
|
7
|
+
//#region src/tools/create-dsn.ts
|
|
8
|
+
var create_dsn_default = defineTool({
|
|
9
|
+
name: "create_dsn",
|
|
10
|
+
description: [
|
|
11
|
+
"Create a new Sentry DSN for a specific project.",
|
|
12
|
+
"",
|
|
13
|
+
"Be careful when using this tool!",
|
|
14
|
+
"",
|
|
15
|
+
"Use this tool when you need to:",
|
|
16
|
+
"- Create a new DSN for a specific project",
|
|
17
|
+
"",
|
|
18
|
+
"<examples>",
|
|
19
|
+
"### Create a new DSN for the 'my-project' project",
|
|
20
|
+
"",
|
|
21
|
+
"```",
|
|
22
|
+
"create_dsn(organizationSlug='my-organization', projectSlug='my-project', name='Production')",
|
|
23
|
+
"```",
|
|
24
|
+
"",
|
|
25
|
+
"</examples>",
|
|
26
|
+
"",
|
|
27
|
+
"<hints>",
|
|
28
|
+
"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.",
|
|
29
|
+
"- If any parameter is ambiguous, you should clarify with the user what they meant.",
|
|
30
|
+
"</hints>"
|
|
31
|
+
].join("\n"),
|
|
32
|
+
inputSchema: {
|
|
33
|
+
organizationSlug: ParamOrganizationSlug,
|
|
34
|
+
regionUrl: ParamRegionUrl.optional(),
|
|
35
|
+
projectSlug: ParamProjectSlug,
|
|
36
|
+
name: z.string().trim().describe("The name of the DSN to create, for example 'Production'.")
|
|
37
|
+
},
|
|
38
|
+
async handler(params, context) {
|
|
39
|
+
const apiService = apiServiceFromContext(context, { regionUrl: params.regionUrl });
|
|
40
|
+
const organizationSlug = params.organizationSlug;
|
|
41
|
+
setTag("organization.slug", organizationSlug);
|
|
42
|
+
setTag("project.slug", params.projectSlug);
|
|
43
|
+
const clientKey = await apiService.createClientKey({
|
|
44
|
+
organizationSlug,
|
|
45
|
+
projectSlug: params.projectSlug,
|
|
46
|
+
name: params.name
|
|
47
|
+
});
|
|
48
|
+
let output = `# New DSN in **${organizationSlug}/${params.projectSlug}**\n\n`;
|
|
49
|
+
output += `**DSN**: ${clientKey.dsn.public}\n`;
|
|
50
|
+
output += `**Name**: ${clientKey.name}\n\n`;
|
|
51
|
+
output += "# Using this information\n\n";
|
|
52
|
+
output += "- The `SENTRY_DSN` value is a URL that you can use to initialize Sentry's SDKs.\n";
|
|
53
|
+
return output;
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
//#endregion
|
|
58
|
+
export { create_dsn_default };
|
|
59
|
+
//# sourceMappingURL=create-dsn-B3L8iWno.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-dsn-B3L8iWno.js","names":["context: ServerContext"],"sources":["../src/tools/create-dsn.ts"],"sourcesContent":["import { z } from \"zod\";\nimport { setTag } from \"@sentry/core\";\nimport { defineTool } from \"./utils/defineTool\";\nimport { apiServiceFromContext } from \"./utils/api-utils\";\nimport type { ServerContext } from \"../types\";\nimport {\n ParamOrganizationSlug,\n ParamRegionUrl,\n ParamProjectSlug,\n} from \"../schema\";\n\nexport default defineTool({\n name: \"create_dsn\",\n description: [\n \"Create a new Sentry DSN for a specific project.\",\n \"\",\n \"Be careful when using this tool!\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Create a new DSN for a specific project\",\n \"\",\n \"<examples>\",\n \"### Create a new DSN for the 'my-project' project\",\n \"\",\n \"```\",\n \"create_dsn(organizationSlug='my-organization', projectSlug='my-project', name='Production')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"</hints>\",\n ].join(\"\\n\"),\n inputSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug,\n name: z\n .string()\n .trim()\n .describe(\"The name of the DSN to create, for example 'Production'.\"),\n },\n async handler(params, context: ServerContext) {\n const apiService = apiServiceFromContext(context, {\n regionUrl: params.regionUrl,\n });\n const organizationSlug = params.organizationSlug;\n\n setTag(\"organization.slug\", organizationSlug);\n setTag(\"project.slug\", params.projectSlug);\n\n const clientKey = await apiService.createClientKey({\n organizationSlug,\n projectSlug: params.projectSlug,\n name: params.name,\n });\n let output = `# New DSN in **${organizationSlug}/${params.projectSlug}**\\n\\n`;\n output += `**DSN**: ${clientKey.dsn.public}\\n`;\n output += `**Name**: ${clientKey.name}\\n\\n`;\n output += \"# Using this information\\n\\n\";\n output +=\n \"- The `SENTRY_DSN` value is a URL that you can use to initialize Sentry's SDKs.\\n\";\n return output;\n },\n});\n"],"mappings":";;;;;;;AAWA,yBAAe,WAAW;CACxB,MAAM;CACN,aAAa;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD,EAAC,KAAK,KAAK;CACZ,aAAa;EACX,kBAAkB;EAClB,WAAW,eAAe,UAAU;EACpC,aAAa;EACb,MAAM,EACH,QAAQ,CACR,MAAM,CACN,SAAS,2DAA2D;CACxE;CACD,MAAM,QAAQ,QAAQA,SAAwB;EAC5C,MAAM,aAAa,sBAAsB,SAAS,EAChD,WAAW,OAAO,UACnB,EAAC;EACF,MAAM,mBAAmB,OAAO;AAEhC,SAAO,qBAAqB,iBAAiB;AAC7C,SAAO,gBAAgB,OAAO,YAAY;EAE1C,MAAM,YAAY,MAAM,WAAW,gBAAgB;GACjD;GACA,aAAa,OAAO;GACpB,MAAM,OAAO;EACd,EAAC;EACF,IAAI,UAAU,iBAAiB,iBAAiB,GAAG,OAAO,YAAY;AACtE,aAAW,WAAW,UAAU,IAAI,OAAO;AAC3C,aAAW,YAAY,UAAU,KAAK;AACtC,YAAU;AACV,YACE;AACF,SAAO;CACR;AACF,EAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
const require_chunk = require('./chunk-DWy1uDak.cjs');
|
|
2
|
+
const require_defineTool = require('./defineTool-lWNTzWl_.cjs');
|
|
3
|
+
const require_api_utils = require('./api-utils-BJS0CChW.cjs');
|
|
4
|
+
const require_schema = require('./schema-BpJVmev8.cjs');
|
|
5
|
+
const zod = require_chunk.__toESM(require("zod"));
|
|
6
|
+
const __sentry_core = require_chunk.__toESM(require("@sentry/core"));
|
|
7
|
+
|
|
8
|
+
//#region src/tools/create-dsn.ts
|
|
9
|
+
var create_dsn_default = require_defineTool.defineTool({
|
|
10
|
+
name: "create_dsn",
|
|
11
|
+
description: [
|
|
12
|
+
"Create a new Sentry DSN for a specific project.",
|
|
13
|
+
"",
|
|
14
|
+
"Be careful when using this tool!",
|
|
15
|
+
"",
|
|
16
|
+
"Use this tool when you need to:",
|
|
17
|
+
"- Create a new DSN for a specific project",
|
|
18
|
+
"",
|
|
19
|
+
"<examples>",
|
|
20
|
+
"### Create a new DSN for the 'my-project' project",
|
|
21
|
+
"",
|
|
22
|
+
"```",
|
|
23
|
+
"create_dsn(organizationSlug='my-organization', projectSlug='my-project', name='Production')",
|
|
24
|
+
"```",
|
|
25
|
+
"",
|
|
26
|
+
"</examples>",
|
|
27
|
+
"",
|
|
28
|
+
"<hints>",
|
|
29
|
+
"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.",
|
|
30
|
+
"- If any parameter is ambiguous, you should clarify with the user what they meant.",
|
|
31
|
+
"</hints>"
|
|
32
|
+
].join("\n"),
|
|
33
|
+
inputSchema: {
|
|
34
|
+
organizationSlug: require_schema.ParamOrganizationSlug,
|
|
35
|
+
regionUrl: require_schema.ParamRegionUrl.optional(),
|
|
36
|
+
projectSlug: require_schema.ParamProjectSlug,
|
|
37
|
+
name: zod.z.string().trim().describe("The name of the DSN to create, for example 'Production'.")
|
|
38
|
+
},
|
|
39
|
+
async handler(params, context) {
|
|
40
|
+
const apiService = require_api_utils.apiServiceFromContext(context, { regionUrl: params.regionUrl });
|
|
41
|
+
const organizationSlug = params.organizationSlug;
|
|
42
|
+
(0, __sentry_core.setTag)("organization.slug", organizationSlug);
|
|
43
|
+
(0, __sentry_core.setTag)("project.slug", params.projectSlug);
|
|
44
|
+
const clientKey = await apiService.createClientKey({
|
|
45
|
+
organizationSlug,
|
|
46
|
+
projectSlug: params.projectSlug,
|
|
47
|
+
name: params.name
|
|
48
|
+
});
|
|
49
|
+
let output = `# New DSN in **${organizationSlug}/${params.projectSlug}**\n\n`;
|
|
50
|
+
output += `**DSN**: ${clientKey.dsn.public}\n`;
|
|
51
|
+
output += `**Name**: ${clientKey.name}\n\n`;
|
|
52
|
+
output += "# Using this information\n\n";
|
|
53
|
+
output += "- The `SENTRY_DSN` value is a URL that you can use to initialize Sentry's SDKs.\n";
|
|
54
|
+
return output;
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
//#endregion
|
|
59
|
+
Object.defineProperty(exports, 'create_dsn_default', {
|
|
60
|
+
enumerable: true,
|
|
61
|
+
get: function () {
|
|
62
|
+
return create_dsn_default;
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
//# sourceMappingURL=create-dsn-CVPtt_Es.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-dsn-CVPtt_Es.cjs","names":["ParamOrganizationSlug","ParamProjectSlug","context: ServerContext"],"sources":["../src/tools/create-dsn.ts"],"sourcesContent":["import { z } from \"zod\";\nimport { setTag } from \"@sentry/core\";\nimport { defineTool } from \"./utils/defineTool\";\nimport { apiServiceFromContext } from \"./utils/api-utils\";\nimport type { ServerContext } from \"../types\";\nimport {\n ParamOrganizationSlug,\n ParamRegionUrl,\n ParamProjectSlug,\n} from \"../schema\";\n\nexport default defineTool({\n name: \"create_dsn\",\n description: [\n \"Create a new Sentry DSN for a specific project.\",\n \"\",\n \"Be careful when using this tool!\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Create a new DSN for a specific project\",\n \"\",\n \"<examples>\",\n \"### Create a new DSN for the 'my-project' project\",\n \"\",\n \"```\",\n \"create_dsn(organizationSlug='my-organization', projectSlug='my-project', name='Production')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"</hints>\",\n ].join(\"\\n\"),\n inputSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug,\n name: z\n .string()\n .trim()\n .describe(\"The name of the DSN to create, for example 'Production'.\"),\n },\n async handler(params, context: ServerContext) {\n const apiService = apiServiceFromContext(context, {\n regionUrl: params.regionUrl,\n });\n const organizationSlug = params.organizationSlug;\n\n setTag(\"organization.slug\", organizationSlug);\n setTag(\"project.slug\", params.projectSlug);\n\n const clientKey = await apiService.createClientKey({\n organizationSlug,\n projectSlug: params.projectSlug,\n name: params.name,\n });\n let output = `# New DSN in **${organizationSlug}/${params.projectSlug}**\\n\\n`;\n output += `**DSN**: ${clientKey.dsn.public}\\n`;\n output += `**Name**: ${clientKey.name}\\n\\n`;\n output += \"# Using this information\\n\\n\";\n output +=\n \"- The `SENTRY_DSN` value is a URL that you can use to initialize Sentry's SDKs.\\n\";\n return output;\n },\n});\n"],"mappings":";;;;;;;;AAWA,yBAAe,8BAAW;CACxB,MAAM;CACN,aAAa;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD,EAAC,KAAK,KAAK;CACZ,aAAa;EACX,kBAAkBA;EAClB,WAAW,8BAAe,UAAU;EACpC,aAAaC;EACb,MAAM,MACH,QAAQ,CACR,MAAM,CACN,SAAS,2DAA2D;CACxE;CACD,MAAM,QAAQ,QAAQC,SAAwB;EAC5C,MAAM,aAAa,wCAAsB,SAAS,EAChD,WAAW,OAAO,UACnB,EAAC;EACF,MAAM,mBAAmB,OAAO;AAEhC,4BAAO,qBAAqB,iBAAiB;AAC7C,4BAAO,gBAAgB,OAAO,YAAY;EAE1C,MAAM,YAAY,MAAM,WAAW,gBAAgB;GACjD;GACA,aAAa,OAAO;GACpB,MAAM,OAAO;EACd,EAAC;EACF,IAAI,UAAU,iBAAiB,iBAAiB,GAAG,OAAO,YAAY;AACtE,aAAW,WAAW,UAAU,IAAI,OAAO;AAC3C,aAAW,YAAY,UAAU,KAAK;AACtC,YAAU;AACV,YACE;AACF,SAAO;CACR;AACF,EAAC"}
|