@sentry/mcp-server 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -2
- package/dist/{analyze-issue-with-seer-Bq3kefOr.cjs → analyze-issue-with-seer-BkVrrh28.cjs} +10 -17
- package/dist/analyze-issue-with-seer-BkVrrh28.cjs.map +1 -0
- package/dist/{analyze-issue-with-seer-Dk0ZFwN8.js → analyze-issue-with-seer-CoqsTklL.js} +10 -17
- package/dist/analyze-issue-with-seer-CoqsTklL.js.map +1 -0
- package/dist/api-client/client.cjs +1 -1
- package/dist/api-client/client.d.cts +3 -3
- package/dist/api-client/client.d.ts +3 -3
- package/dist/api-client/client.js +1 -1
- package/dist/api-client/index.cjs +1 -1
- package/dist/api-client/index.d.cts +3 -3
- package/dist/api-client/index.d.ts +4 -4
- package/dist/api-client/index.js +1 -1
- package/dist/api-client/schema.d.cts +1 -1
- package/dist/api-client/schema.d.ts +1 -1
- package/dist/api-client/types.d.cts +2 -2
- package/dist/api-client/types.d.ts +2 -2
- package/dist/{api-utils-BcB1cMXS.js → api-utils-C6QJAzFL.js} +4 -4
- package/dist/api-utils-C6QJAzFL.js.map +1 -0
- package/dist/{api-utils-BJS0CChW.cjs → api-utils-d36iteNO.cjs} +4 -4
- package/dist/api-utils-d36iteNO.cjs.map +1 -0
- package/dist/{client-Dae1ZwWb.d.cts → client-CQ9Xe1aN.d.cts} +17 -19
- package/dist/client-CQ9Xe1aN.d.cts.map +1 -0
- package/dist/{client-BbamPqV4.js → client-DOYWNvVM.js} +21 -12
- package/dist/client-DOYWNvVM.js.map +1 -0
- package/dist/{client-BNTsOycD.cjs → client-Dkw5iYu3.cjs} +21 -12
- package/dist/client-Dkw5iYu3.cjs.map +1 -0
- package/dist/{client-qyEu8fvj.d.ts → client-VCJp6Kcu.d.ts} +19 -21
- package/dist/client-VCJp6Kcu.d.ts.map +1 -0
- package/dist/{create-dsn-B3L8iWno.js → create-dsn-D530I7Lr.js} +2 -2
- package/dist/{create-dsn-B3L8iWno.js.map → create-dsn-D530I7Lr.js.map} +1 -1
- package/dist/{create-dsn-CVPtt_Es.cjs → create-dsn-Dz8nyTFw.cjs} +2 -2
- package/dist/{create-dsn-CVPtt_Es.cjs.map → create-dsn-Dz8nyTFw.cjs.map} +1 -1
- package/dist/{create-project-B_6a6okf.cjs → create-project-BxzRiryg.cjs} +3 -3
- package/dist/{create-project-B_6a6okf.cjs.map → create-project-BxzRiryg.cjs.map} +1 -1
- package/dist/{create-project-DdIXMvWI.js → create-project-K1od5Rhx.js} +3 -3
- package/dist/{create-project-DdIXMvWI.js.map → create-project-K1od5Rhx.js.map} +1 -1
- package/dist/{create-team-C1DP5Z1r.cjs → create-team-CJhrccc1.cjs} +2 -2
- package/dist/{create-team-C1DP5Z1r.cjs.map → create-team-CJhrccc1.cjs.map} +1 -1
- package/dist/{create-team-BarRdaZK.js → create-team-zHz00C6Q.js} +2 -2
- package/dist/{create-team-BarRdaZK.js.map → create-team-zHz00C6Q.js.map} +1 -1
- package/dist/{fetch-utils-B-a92ObC.d.ts → fetch-utils-Bv9WjUp0.d.ts} +1 -1
- package/dist/fetch-utils-Bv9WjUp0.d.ts.map +1 -0
- package/dist/{find-dsns-BPbblgrn.js → find-dsns-BoEP0N7B.js} +2 -2
- package/dist/{find-dsns-BPbblgrn.js.map → find-dsns-BoEP0N7B.js.map} +1 -1
- package/dist/{find-dsns-BDJWY6nZ.cjs → find-dsns-CK59RaUJ.cjs} +2 -2
- package/dist/{find-dsns-BDJWY6nZ.cjs.map → find-dsns-CK59RaUJ.cjs.map} +1 -1
- package/dist/{find-errors-B9wLxXA0.js → find-errors-C3oUMeRi.js} +2 -2
- package/dist/{find-errors-B9wLxXA0.js.map → find-errors-C3oUMeRi.js.map} +1 -1
- package/dist/{find-errors-DnFs3PaH.cjs → find-errors-CB9NpSxG.cjs} +2 -2
- package/dist/{find-errors-DnFs3PaH.cjs.map → find-errors-CB9NpSxG.cjs.map} +1 -1
- package/dist/{find-issues-CwPbwRXK.cjs → find-issues-C3uk59rn.cjs} +2 -2
- package/dist/{find-issues-CwPbwRXK.cjs.map → find-issues-C3uk59rn.cjs.map} +1 -1
- package/dist/{find-issues-BI1tI3cJ.js → find-issues-CAtNGBly.js} +2 -2
- package/dist/{find-issues-BI1tI3cJ.js.map → find-issues-CAtNGBly.js.map} +1 -1
- package/dist/{find-organizations-DqS6zoTK.cjs → find-organizations-BrdMfZRO.cjs} +2 -2
- package/dist/{find-organizations-DqS6zoTK.cjs.map → find-organizations-BrdMfZRO.cjs.map} +1 -1
- package/dist/{find-organizations-CdiouW48.js → find-organizations-ojXwWWzk.js} +2 -2
- package/dist/{find-organizations-CdiouW48.js.map → find-organizations-ojXwWWzk.js.map} +1 -1
- package/dist/{find-projects-Ba6cdX7n.cjs → find-projects-BZWhlYJh.cjs} +2 -2
- package/dist/{find-projects-Ba6cdX7n.cjs.map → find-projects-BZWhlYJh.cjs.map} +1 -1
- package/dist/{find-projects-Ccfxv47h.js → find-projects-fcLG4KpT.js} +2 -2
- package/dist/{find-projects-Ccfxv47h.js.map → find-projects-fcLG4KpT.js.map} +1 -1
- package/dist/{find-releases-CFoGytN-.js → find-releases-BUozr0Z-.js} +2 -2
- package/dist/{find-releases-CFoGytN-.js.map → find-releases-BUozr0Z-.js.map} +1 -1
- package/dist/{find-releases-CFl86XMT.cjs → find-releases-CZCVEOHZ.cjs} +2 -2
- package/dist/{find-releases-CFl86XMT.cjs.map → find-releases-CZCVEOHZ.cjs.map} +1 -1
- package/dist/{find-tags-h2o0BKWO.cjs → find-tags-Byk4d3oZ.cjs} +2 -2
- package/dist/{find-tags-h2o0BKWO.cjs.map → find-tags-Byk4d3oZ.cjs.map} +1 -1
- package/dist/{find-tags-ORtYLH5b.js → find-tags-d-wF1Se8.js} +2 -2
- package/dist/{find-tags-ORtYLH5b.js.map → find-tags-d-wF1Se8.js.map} +1 -1
- package/dist/{find-teams-hreVp1nw.js → find-teams-BZ118EIK.js} +2 -2
- package/dist/{find-teams-hreVp1nw.js.map → find-teams-BZ118EIK.js.map} +1 -1
- package/dist/{find-teams-DUcDfSOl.cjs → find-teams-CnU5x9rQ.cjs} +2 -2
- package/dist/{find-teams-DUcDfSOl.cjs.map → find-teams-CnU5x9rQ.cjs.map} +1 -1
- package/dist/{find-transactions-BehUqQYs.js → find-transactions-BiBgg-AE.js} +2 -2
- package/dist/{find-transactions-BehUqQYs.js.map → find-transactions-BiBgg-AE.js.map} +1 -1
- package/dist/{find-transactions-BkPscam3.cjs → find-transactions-DuZyqjhF.cjs} +2 -2
- package/dist/{find-transactions-BkPscam3.cjs.map → find-transactions-DuZyqjhF.cjs.map} +1 -1
- package/dist/{formatting-pUm38KOj.js → formatting-Bvyded57.js} +34 -2
- package/dist/formatting-Bvyded57.js.map +1 -0
- package/dist/{formatting-Di1X9Jn3.d.cts → formatting-CcTK2X8V.d.cts} +7 -5
- package/dist/formatting-CcTK2X8V.d.cts.map +1 -0
- package/dist/{formatting-BlMiQa9i.cjs → formatting-D0Aki7rK.cjs} +33 -2
- package/dist/formatting-D0Aki7rK.cjs.map +1 -0
- package/dist/{formatting-utils-C3sej5ER.js → formatting-utils-DgOyTl-m.js} +1 -1
- package/dist/{formatting-utils-C3sej5ER.js.map → formatting-utils-DgOyTl-m.js.map} +1 -1
- package/dist/{formatting-utils-DDz14xeB.cjs → formatting-utils-m9R5bsRU.cjs} +1 -1
- package/dist/{formatting-utils-DDz14xeB.cjs.map → formatting-utils-m9R5bsRU.cjs.map} +1 -1
- package/dist/{formatting-B-u5CbYn.d.ts → formatting-vtXxusbn.d.ts} +7 -5
- package/dist/formatting-vtXxusbn.d.ts.map +1 -0
- package/dist/{get-doc-AuAW_qr9.cjs → get-doc-DaTCenOE.cjs} +2 -2
- package/dist/{get-doc-AuAW_qr9.cjs.map → get-doc-DaTCenOE.cjs.map} +1 -1
- package/dist/{get-doc-BtxZOy7y.js → get-doc-YTiQznr1.js} +2 -2
- package/dist/{get-doc-BtxZOy7y.js.map → get-doc-YTiQznr1.js.map} +1 -1
- package/dist/{get-event-attachment-Bq5lkaKV.cjs → get-event-attachment-C-ig2-3F.cjs} +2 -2
- package/dist/{get-event-attachment-Bq5lkaKV.cjs.map → get-event-attachment-C-ig2-3F.cjs.map} +1 -1
- package/dist/{get-event-attachment-DwAl54zv.js → get-event-attachment-DVCPpUMj.js} +2 -2
- package/dist/{get-event-attachment-DwAl54zv.js.map → get-event-attachment-DVCPpUMj.js.map} +1 -1
- package/dist/{get-issue-details-DrpD5LlK.js → get-issue-details-Dcmzxknx.js} +24 -11
- package/dist/get-issue-details-Dcmzxknx.js.map +1 -0
- package/dist/{get-issue-details-qGwu18JX.cjs → get-issue-details-lBrYR9yx.cjs} +24 -11
- package/dist/get-issue-details-lBrYR9yx.cjs.map +1 -0
- package/dist/index.cjs +53 -42
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +53 -42
- package/dist/index.js.map +1 -1
- package/dist/internal/fetch-utils.d.ts +1 -1
- package/dist/internal/formatting.cjs +2 -1
- package/dist/internal/formatting.d.cts +4 -4
- package/dist/internal/formatting.d.ts +5 -5
- package/dist/internal/formatting.js +2 -1
- package/dist/internal/issue-helpers.d.ts +1 -1
- package/dist/internal/test-fixtures.d.cts +20 -20
- package/dist/internal/test-fixtures.d.ts +62 -62
- package/dist/internal/test-fixtures.d.ts.map +1 -1
- package/dist/{issue-helpers-BOn4g7rx.d.ts → issue-helpers-BJffpNoO.d.ts} +1 -1
- package/dist/{issue-helpers-BOn4g7rx.d.ts.map → issue-helpers-BJffpNoO.d.ts.map} +1 -1
- package/dist/{logging-oIouXrcb.cjs → logging-CX2buXiG.cjs} +1 -1
- package/dist/{logging-oIouXrcb.cjs.map → logging-CX2buXiG.cjs.map} +1 -1
- package/dist/{logging-LnQMFw-_.js → logging-DzxYBMrn.js} +1 -1
- package/dist/{logging-LnQMFw-_.js.map → logging-DzxYBMrn.js.map} +1 -1
- package/dist/logging.cjs +1 -1
- package/dist/logging.js +1 -1
- package/dist/{promptDefinitions-6xelipaz.d.ts → promptDefinitions-D3GTBGLr.d.ts} +1 -1
- package/dist/promptDefinitions-D3GTBGLr.d.ts.map +1 -0
- package/dist/promptDefinitions.d.ts +1 -1
- package/dist/prompts.d.cts +1 -1
- package/dist/prompts.d.ts +2 -2
- package/dist/{schema-B5BpplNK.d.ts → schema-3NeMWRAm.d.cts} +273 -273
- package/dist/{schema-Dt-HKnd_.d.cts.map → schema-3NeMWRAm.d.cts.map} +1 -1
- package/dist/{schema-Dt-HKnd_.d.cts → schema-B3CzDGJk.d.ts} +303 -303
- package/dist/{schema-B5BpplNK.d.ts.map → schema-B3CzDGJk.d.ts.map} +1 -1
- package/dist/{search-docs-CrMdRDJy.js → search-docs-BLbB_GV2.js} +3 -3
- package/dist/search-docs-BLbB_GV2.js.map +1 -0
- package/dist/{search-docs-VhefTOOH.cjs → search-docs-D5Foht_0.cjs} +3 -3
- package/dist/search-docs-D5Foht_0.cjs.map +1 -0
- package/dist/{seer-utils-CzYEEZb2.cjs → seer-utils-CDm5J8ur.cjs} +2 -2
- package/dist/{seer-utils-CzYEEZb2.cjs.map → seer-utils-CDm5J8ur.cjs.map} +1 -1
- package/dist/{seer-utils-Ckr8nYlz.js → seer-utils-Cj9DXrow.js} +2 -2
- package/dist/{seer-utils-Ckr8nYlz.js.map → seer-utils-Cj9DXrow.js.map} +1 -1
- package/dist/{server-DeuBftc5.js → server-BSRxzYFd.js} +4 -4
- package/dist/{server-DeuBftc5.js.map → server-BSRxzYFd.js.map} +1 -1
- package/dist/{server-CHG27fcn.cjs → server-Dgkqz8bA.cjs} +4 -4
- package/dist/{server-CHG27fcn.cjs.map → server-Dgkqz8bA.cjs.map} +1 -1
- package/dist/server.cjs +29 -29
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +2 -2
- package/dist/server.js +29 -29
- package/dist/{stdio-BtVdTwx-.cjs → stdio-BQAm0Liz.cjs} +3 -3
- package/dist/{stdio-BtVdTwx-.cjs.map → stdio-BQAm0Liz.cjs.map} +1 -1
- package/dist/{stdio-DIuLW5EE.js → stdio-BcihaDjO.js} +3 -3
- package/dist/{stdio-DIuLW5EE.js.map → stdio-BcihaDjO.js.map} +1 -1
- package/dist/test-setup.cjs +1 -16
- package/dist/test-setup.cjs.map +1 -1
- package/dist/test-setup.js +1 -16
- package/dist/test-setup.js.map +1 -1
- package/dist/toolDefinitions.js +2 -2
- package/dist/tools/analyze-issue-with-seer.cjs +6 -6
- package/dist/tools/analyze-issue-with-seer.d.cts +2 -2
- package/dist/tools/analyze-issue-with-seer.d.ts +3 -3
- package/dist/tools/analyze-issue-with-seer.js +6 -6
- package/dist/tools/create-dsn.cjs +3 -3
- package/dist/tools/create-dsn.d.cts +2 -2
- package/dist/tools/create-dsn.d.ts +3 -3
- package/dist/tools/create-dsn.js +3 -3
- package/dist/tools/create-project.cjs +4 -4
- package/dist/tools/create-project.d.cts +2 -2
- package/dist/tools/create-project.d.ts +3 -3
- package/dist/tools/create-project.js +4 -4
- package/dist/tools/create-team.cjs +3 -3
- package/dist/tools/create-team.d.cts +2 -2
- package/dist/tools/create-team.d.ts +3 -3
- package/dist/tools/create-team.js +3 -3
- package/dist/tools/find-dsns.cjs +3 -3
- package/dist/tools/find-dsns.d.cts +2 -2
- package/dist/tools/find-dsns.d.ts +3 -3
- package/dist/tools/find-dsns.js +3 -3
- package/dist/tools/find-errors.cjs +3 -3
- package/dist/tools/find-errors.d.cts +2 -2
- package/dist/tools/find-errors.d.ts +3 -3
- package/dist/tools/find-errors.js +3 -3
- package/dist/tools/find-issues.cjs +3 -3
- package/dist/tools/find-issues.d.cts +2 -2
- package/dist/tools/find-issues.d.ts +3 -3
- package/dist/tools/find-issues.js +3 -3
- package/dist/tools/find-organizations.cjs +3 -3
- package/dist/tools/find-organizations.d.cts +2 -2
- package/dist/tools/find-organizations.d.ts +3 -3
- package/dist/tools/find-organizations.js +3 -3
- package/dist/tools/find-projects.cjs +3 -3
- package/dist/tools/find-projects.d.cts +2 -2
- package/dist/tools/find-projects.d.ts +3 -3
- package/dist/tools/find-projects.js +3 -3
- package/dist/tools/find-releases.cjs +3 -3
- package/dist/tools/find-releases.d.cts +2 -2
- package/dist/tools/find-releases.d.ts +3 -3
- package/dist/tools/find-releases.js +3 -3
- package/dist/tools/find-tags.cjs +3 -3
- package/dist/tools/find-tags.d.cts +2 -2
- package/dist/tools/find-tags.d.ts +3 -3
- package/dist/tools/find-tags.js +3 -3
- package/dist/tools/find-teams.cjs +3 -3
- package/dist/tools/find-teams.d.cts +2 -2
- package/dist/tools/find-teams.d.ts +3 -3
- package/dist/tools/find-teams.js +3 -3
- package/dist/tools/find-transactions.cjs +3 -3
- package/dist/tools/find-transactions.d.cts +2 -2
- package/dist/tools/find-transactions.d.ts +3 -3
- package/dist/tools/find-transactions.js +3 -3
- package/dist/tools/get-doc.cjs +2 -2
- package/dist/tools/get-doc.d.cts +2 -2
- package/dist/tools/get-doc.d.ts +3 -3
- package/dist/tools/get-doc.js +2 -2
- package/dist/tools/get-event-attachment.cjs +3 -3
- package/dist/tools/get-event-attachment.d.cts +2 -2
- package/dist/tools/get-event-attachment.d.ts +3 -3
- package/dist/tools/get-event-attachment.js +3 -3
- package/dist/tools/get-issue-details.cjs +6 -5
- package/dist/tools/get-issue-details.d.cts +2 -2
- package/dist/tools/get-issue-details.d.ts +3 -3
- package/dist/tools/get-issue-details.js +6 -5
- package/dist/tools/index.cjs +28 -28
- package/dist/tools/index.d.cts +2 -2
- package/dist/tools/index.d.ts +79 -79
- package/dist/tools/index.js +28 -28
- package/dist/tools/search-docs.cjs +2 -2
- package/dist/tools/search-docs.d.cts +2 -2
- package/dist/tools/search-docs.d.ts +3 -3
- package/dist/tools/search-docs.js +2 -2
- package/dist/tools/types.d.cts +2 -2
- package/dist/tools/types.d.ts +3 -3
- package/dist/tools/update-issue.cjs +7 -6
- package/dist/tools/update-issue.d.cts +2 -2
- package/dist/tools/update-issue.d.ts +3 -3
- package/dist/tools/update-issue.js +7 -6
- package/dist/tools/update-project.cjs +4 -4
- package/dist/tools/update-project.d.cts +2 -2
- package/dist/tools/update-project.d.ts +3 -3
- package/dist/tools/update-project.js +4 -4
- package/dist/tools/utils/api-utils.cjs +2 -2
- package/dist/tools/utils/api-utils.d.cts +5 -5
- package/dist/tools/utils/api-utils.d.ts +7 -7
- package/dist/tools/utils/api-utils.js +2 -2
- package/dist/tools/utils/defineTool.d.cts +2 -2
- package/dist/tools/utils/defineTool.d.ts +3 -3
- package/dist/tools/utils/fetch-utils.d.ts +1 -1
- package/dist/tools/utils/formatting-utils.cjs +1 -1
- package/dist/tools/utils/formatting-utils.d.cts +3 -3
- package/dist/tools/utils/formatting-utils.d.ts +4 -4
- package/dist/tools/utils/formatting-utils.js +1 -1
- package/dist/tools/utils/issue-utils.cjs +3 -2
- package/dist/tools/utils/issue-utils.d.cts +4 -4
- package/dist/tools/utils/issue-utils.d.ts +6 -6
- package/dist/tools/utils/issue-utils.js +3 -2
- package/dist/tools/utils/seer-utils.cjs +1 -1
- package/dist/tools/utils/seer-utils.d.cts +3 -3
- package/dist/tools/utils/seer-utils.d.ts +4 -4
- package/dist/tools/utils/seer-utils.js +1 -1
- package/dist/tools/whoami.cjs +3 -3
- package/dist/tools/whoami.d.cts +2 -2
- package/dist/tools/whoami.d.ts +3 -3
- package/dist/tools/whoami.js +3 -3
- package/dist/{tools-BiZ7ZDKf.cjs → tools-CHnZvVEN.cjs} +21 -21
- package/dist/{tools-BiZ7ZDKf.cjs.map → tools-CHnZvVEN.cjs.map} +1 -1
- package/dist/{tools-DGF9GhbP.js → tools-CdXGgq1W.js} +21 -21
- package/dist/{tools-DGF9GhbP.js.map → tools-CdXGgq1W.js.map} +1 -1
- package/dist/transports/stdio.cjs +31 -31
- package/dist/transports/stdio.d.cts +1 -1
- package/dist/transports/stdio.d.ts +2 -2
- package/dist/transports/stdio.js +31 -31
- package/dist/{types-C3pRFQyA.d.cts → types-BoMP-Ro6.d.cts} +2 -2
- package/dist/{types-C3pRFQyA.d.cts.map → types-BoMP-Ro6.d.cts.map} +1 -1
- package/dist/{types-CYjev2Ep.d.cts → types-CUN-2OSS.d.cts} +3 -3
- package/dist/{types-CYjev2Ep.d.cts.map → types-CUN-2OSS.d.cts.map} +1 -1
- package/dist/{types-CZaMk5Yg.d.cts → types-D_mx318Q.d.cts} +2 -2
- package/dist/{types-CZaMk5Yg.d.cts.map → types-D_mx318Q.d.cts.map} +1 -1
- package/dist/{types-B2qOfefC.d.ts → types-DkJtNDXU.d.ts} +4 -4
- package/dist/{types-B2qOfefC.d.ts.map → types-DkJtNDXU.d.ts.map} +1 -1
- package/dist/{types-Br0saqtE.d.ts → types-DpV1JAZj.d.ts} +2 -2
- package/dist/{types-Br0saqtE.d.ts.map → types-DpV1JAZj.d.ts.map} +1 -1
- package/dist/{types-D5KkaSjc.d.ts → types-qB8a4WQT.d.ts} +2 -2
- package/dist/{types-D5KkaSjc.d.ts.map → types-qB8a4WQT.d.ts.map} +1 -1
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/{update-issue-DN80uuKU.js → update-issue-DRTQvy6p.js} +3 -3
- package/dist/{update-issue-DN80uuKU.js.map → update-issue-DRTQvy6p.js.map} +1 -1
- package/dist/{update-issue-Bz-u_Yaa.cjs → update-issue-DpkxxiNk.cjs} +3 -3
- package/dist/{update-issue-Bz-u_Yaa.cjs.map → update-issue-DpkxxiNk.cjs.map} +1 -1
- package/dist/{update-project-C7Xbmhqg.cjs → update-project-DLDDbcGY.cjs} +3 -3
- package/dist/{update-project-C7Xbmhqg.cjs.map → update-project-DLDDbcGY.cjs.map} +1 -1
- package/dist/{update-project-5j-SOHWU.js → update-project-YLxt2ry2.js} +3 -3
- package/dist/{update-project-5j-SOHWU.js.map → update-project-YLxt2ry2.js.map} +1 -1
- package/dist/url-utils-C9hykWmk.cjs +106 -0
- package/dist/url-utils-C9hykWmk.cjs.map +1 -0
- package/dist/url-utils-DvZYfzPM.js +82 -0
- package/dist/url-utils-DvZYfzPM.js.map +1 -0
- package/dist/utils/url-utils.cjs +6 -0
- package/dist/utils/url-utils.d.cts +37 -0
- package/dist/utils/url-utils.d.cts.map +1 -0
- package/dist/utils/url-utils.d.ts +37 -0
- package/dist/utils/url-utils.d.ts.map +1 -0
- package/dist/utils/url-utils.js +3 -0
- package/dist/version-CcTnFB56.js +6 -0
- package/dist/{version-DvMKCu-i.js.map → version-CcTnFB56.js.map} +1 -1
- package/dist/{version-Dyz6_b54.cjs → version-rDjaSkPw.cjs} +2 -2
- package/dist/{version-Dyz6_b54.cjs.map → version-rDjaSkPw.cjs.map} +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.js +1 -1
- package/dist/{whoami-qIbcECMA.cjs → whoami-CEgbTUqt.cjs} +2 -2
- package/dist/{whoami-qIbcECMA.cjs.map → whoami-CEgbTUqt.cjs.map} +1 -1
- package/dist/{whoami-raA70UBD.js → whoami-DesNZnaQ.js} +2 -2
- package/dist/{whoami-raA70UBD.js.map → whoami-DesNZnaQ.js.map} +1 -1
- package/package.json +3 -3
- package/dist/analyze-issue-with-seer-Bq3kefOr.cjs.map +0 -1
- package/dist/analyze-issue-with-seer-Dk0ZFwN8.js.map +0 -1
- package/dist/api-utils-BJS0CChW.cjs.map +0 -1
- package/dist/api-utils-BcB1cMXS.js.map +0 -1
- package/dist/client-BNTsOycD.cjs.map +0 -1
- package/dist/client-BbamPqV4.js.map +0 -1
- package/dist/client-Dae1ZwWb.d.cts.map +0 -1
- package/dist/client-qyEu8fvj.d.ts.map +0 -1
- package/dist/fetch-utils-B-a92ObC.d.ts.map +0 -1
- package/dist/formatting-B-u5CbYn.d.ts.map +0 -1
- package/dist/formatting-BlMiQa9i.cjs.map +0 -1
- package/dist/formatting-Di1X9Jn3.d.cts.map +0 -1
- package/dist/formatting-pUm38KOj.js.map +0 -1
- package/dist/get-issue-details-DrpD5LlK.js.map +0 -1
- package/dist/get-issue-details-qGwu18JX.cjs.map +0 -1
- package/dist/promptDefinitions-6xelipaz.d.ts.map +0 -1
- package/dist/search-docs-CrMdRDJy.js.map +0 -1
- package/dist/search-docs-VhefTOOH.cjs.map +0 -1
- package/dist/version-DvMKCu-i.js +0 -6
- /package/dist/{index-BrojxuhJ.d.ts → index-DVGDAddE.d.ts} +0 -0
- /package/dist/{issue-utils-BVAB6I-Z.js → issue-utils-BbCfbiY8.js} +0 -0
- /package/dist/{issue-utils-pdbo-5LW.cjs → issue-utils-DMKiif6C.cjs} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema-B5BpplNK.d.ts","names":[],"sources":["../src/api-client/schema.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;cA6Ca,gBAAc,CAAA,CAAA;UAIX,CAAA,CAAA;;;;;;AAwBe,cAtBlB,UAsBkB,EAtBR,CAAA,CAAA,SAsBQ,CAAA;EAAA,EAAA,YAAA,CAAA,CAlB7B,CAAA,CAAA,SAkB6B,aAAA,CAAA,CAAA;EAqBlB,IAAA,eAAA,YAAoD,CAAA;EAAA,KAAA,aAAA;CAAA,EAAA,OAAA,cAAA,EAAA;;;;;;;;;cArCpD,mBAAiB,CAAA,CAAA;;UAO5B,CAAA,CAAA;;KA8BiC,OAAA,cAAA,EAAA;IAAA,IAAA,EAAA,MAAA;IAAA,GAAA,EAAA,MAAA;EAEtB,CAAA,EAAA;IAIX,IAAA,EAAA,MAAA;IAAA,GAAA,EAAA,MAAA;;;;;;KAJqB;AAAA,CAAA,EAAA;EAMV,OAAA,EAAA;IAAoC,IAAA,EAAA,MAAA;IAAA,GAAA,EAAA,MAAA;;;;;;;;AAAtB;AAE3B;AAKE,cApCW,kBAoCX,EApC6B,CAAA,CAAA,SAoC7B,CAAA;EAAA,EAAA,YAAA,CAAA,CAjBA,CAAA,CAAA,SAiBA,aAAA,CAAA,CAAA;;;;;;;;IALwB,SAAA,CAAA,EAAA,MAAA,GAAA,SAAA;EAAA,CAAA,EAAA;IAOb,eAAA,EAA0C,MAAA;IAAA,SAAA,CA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEW,uBAAqB,CAAA,CAAA;MAShC,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEW,2BAAyB,CAAA,CAAA,SAAA,CAAA,CAAA;MAAiC,CAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineTool } from "./defineTool-77H4nSna.js";
|
|
2
|
-
import { ApiError } from "./client-
|
|
2
|
+
import { ApiError } from "./client-DOYWNvVM.js";
|
|
3
3
|
import { ParamSentryGuide } from "./schema-DtsnsxMl.js";
|
|
4
4
|
import { fetchWithTimeout } from "./fetch-utils-BMKjO-cc.js";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -57,7 +57,7 @@ var search_docs_default = defineTool({
|
|
|
57
57
|
output += `**Query**: "${params.query}"\n`;
|
|
58
58
|
if (params.guide) output += `**Guide**: ${params.guide}\n`;
|
|
59
59
|
output += `\n`;
|
|
60
|
-
const host = context.
|
|
60
|
+
const host = context.mcpUrl || "https://mcp.sentry.dev";
|
|
61
61
|
const searchUrl = new URL("/api/search", host);
|
|
62
62
|
const response = await fetchWithTimeout(searchUrl.toString(), {
|
|
63
63
|
method: "POST",
|
|
@@ -99,4 +99,4 @@ var search_docs_default = defineTool({
|
|
|
99
99
|
|
|
100
100
|
//#endregion
|
|
101
101
|
export { search_docs_default };
|
|
102
|
-
//# sourceMappingURL=search-docs-
|
|
102
|
+
//# sourceMappingURL=search-docs-BLbB_GV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-docs-BLbB_GV2.js","names":["context: ServerContext"],"sources":["../src/tools/search-docs.ts"],"sourcesContent":["import { z } from \"zod\";\nimport { defineTool } from \"./utils/defineTool\";\nimport { fetchWithTimeout } from \"./utils/fetch-utils\";\nimport { ApiError } from \"../api-client/index\";\nimport type { ServerContext } from \"../types\";\nimport type { SearchResponse } from \"./types\";\nimport { ParamSentryGuide } from \"../schema\";\n\nexport default defineTool({\n name: \"search_docs\",\n description: [\n \"Search Sentry documentation for SDK setup, instrumentation, and configuration guidance.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Set up Sentry SDK in any language (Python, JavaScript, Go, Ruby, etc.)\",\n \"- Configure specific features like performance monitoring, error sampling, or release tracking\",\n \"- Implement custom instrumentation (spans, transactions, breadcrumbs)\",\n \"- Set up integrations with frameworks (Django, Flask, Express, Next.js, etc.)\",\n \"- Configure data scrubbing, filtering, or sampling rules\",\n \"- Troubleshoot SDK issues or find best practices\",\n \"\",\n \"This tool searches technical documentation, NOT general information about Sentry as a company.\",\n \"\",\n \"<examples>\",\n \"### Setting up Sentry in a Python Django app\",\n \"\",\n \"```\",\n \"search_docs(query='Django setup configuration SENTRY_DSN', guide='python/django')\",\n \"```\",\n \"\",\n \"### Setting up source maps for Next.js\",\n \"\",\n \"```\",\n \"search_docs(query='source maps webpack upload', guide='javascript/nextjs')\",\n \"```\",\n \"\",\n \"### Configuring release tracking\",\n \"\",\n \"```\",\n \"search_docs(query='release tracking deployment integration CI/CD')\",\n \"```\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- Use guide parameter to filter results to specific technologies (e.g., 'javascript' or 'javascript/nextjs')\",\n \"- Include the programming language/framework in your query for SDK-specific results\",\n \"- Use technical terms like 'instrumentation', 'spans', 'transactions' for performance docs\",\n \"- Include specific feature names like 'beforeSend', 'tracesSampleRate', 'SENTRY_DSN'\",\n \"</hints>\",\n ].join(\"\\n\"),\n inputSchema: {\n query: z\n .string()\n .trim()\n .min(\n 2,\n \"Search query is too short. Please provide at least 2 characters.\",\n )\n .max(\n 200,\n \"Search query is too long. Please keep your query under 200 characters.\",\n )\n .describe(\n \"The search query in natural language. Be specific about what you're looking for.\",\n ),\n maxResults: z\n .number()\n .int()\n .min(1)\n .max(10)\n .default(3)\n .describe(\"Maximum number of results to return (1-10)\")\n .optional(),\n guide: ParamSentryGuide.optional(),\n },\n async handler(params, context: ServerContext) {\n let output = `# Documentation Search Results\\n\\n`;\n output += `**Query**: \"${params.query}\"\\n`;\n if (params.guide) {\n output += `**Guide**: ${params.guide}\\n`;\n }\n output += `\\n`;\n\n // Determine the URL - use context.mcpUrl if available, otherwise default to production\n const host = context.mcpUrl || \"https://mcp.sentry.dev\";\n const searchUrl = new URL(\"/api/search\", host);\n\n const response = await fetchWithTimeout(\n searchUrl.toString(),\n {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n body: JSON.stringify({\n query: params.query,\n maxResults: params.maxResults,\n guide: params.guide,\n }),\n },\n 15000, // 15 second timeout\n );\n\n if (!response.ok) {\n // TODO: improve error responses with types\n const errorData = (await response.json().catch(() => null)) as {\n error?: string;\n } | null;\n\n const errorMessage =\n errorData?.error || `Search failed with status ${response.status}`;\n throw new ApiError(errorMessage, response.status);\n }\n\n const data = (await response.json()) as SearchResponse;\n\n // Handle error in response\n if (\"error\" in data && data.error) {\n output += `**Error**: ${data.error}\\n\\n`;\n return output;\n }\n\n // Display results\n if (data.results.length === 0) {\n output += \"No documentation found matching your query.\\n\\n\";\n return output;\n }\n\n output += `Found ${data.results.length} match${data.results.length === 1 ? \"\" : \"es\"}\\n\\n`;\n\n output += `These are just snippets. Use \\`get_doc(path='...')\\` to fetch the full content.\\n\\n`;\n\n for (const [index, result] of data.results.entries()) {\n output += `## ${index + 1}. ${result.url}\\n\\n`;\n output += `**Path**: ${result.id}\\n`;\n output += `**Relevance**: ${(result.relevance * 100).toFixed(1)}%\\n\\n`;\n if (index < 3) {\n output += \"**Matching Context**\\n\";\n output += `> ${result.snippet.replace(/\\n/g, \"\\n> \")}\\n\\n`;\n }\n }\n\n return output;\n },\n});\n"],"mappings":";;;;;;;AAQA,0BAAe,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;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,OAAO,EACJ,QAAQ,CACR,MAAM,CACN,IACC,GACA,mEACD,CACA,IACC,KACA,yEACD,CACA,SACC,mFACD;EACH,YAAY,EACT,QAAQ,CACR,KAAK,CACL,IAAI,EAAE,CACN,IAAI,GAAG,CACP,QAAQ,EAAE,CACV,SAAS,6CAA6C,CACtD,UAAU;EACb,OAAO,iBAAiB,UAAU;CACnC;CACD,MAAM,QAAQ,QAAQA,SAAwB;EAC5C,IAAI,UAAU;AACd,aAAW,cAAc,OAAO,MAAM;AACtC,MAAI,OAAO,MACT,YAAW,aAAa,OAAO,MAAM;AAEvC,aAAW;EAGX,MAAM,OAAO,QAAQ,UAAU;EAC/B,MAAM,YAAY,IAAI,IAAI,eAAe;EAEzC,MAAM,WAAW,MAAM,iBACrB,UAAU,UAAU,EACpB;GACE,QAAQ;GACR,SAAS,EACP,gBAAgB,mBACjB;GACD,MAAM,KAAK,UAAU;IACnB,OAAO,OAAO;IACd,YAAY,OAAO;IACnB,OAAO,OAAO;GACf,EAAC;EACH,GACD,KACD;AAED,OAAK,SAAS,IAAI;GAEhB,MAAM,YAAa,MAAM,SAAS,MAAM,CAAC,MAAM,MAAM,KAAK;GAI1D,MAAM,eACJ,WAAW,UAAU,4BAA4B,SAAS;AAC5D,SAAM,IAAI,SAAS,cAAc,SAAS;EAC3C;EAED,MAAM,OAAQ,MAAM,SAAS,MAAM;AAGnC,MAAI,WAAW,QAAQ,KAAK,OAAO;AACjC,cAAW,aAAa,KAAK,MAAM;AACnC,UAAO;EACR;AAGD,MAAI,KAAK,QAAQ,WAAW,GAAG;AAC7B,aAAU;AACV,UAAO;EACR;AAED,aAAW,QAAQ,KAAK,QAAQ,OAAO,QAAQ,KAAK,QAAQ,WAAW,IAAI,KAAK,KAAK;AAErF,aAAW;AAEX,OAAK,MAAM,CAAC,OAAO,OAAO,IAAI,KAAK,QAAQ,SAAS,EAAE;AACpD,cAAW,KAAK,QAAQ,EAAE,IAAI,OAAO,IAAI;AACzC,cAAW,YAAY,OAAO,GAAG;AACjC,cAAW,iBAAiB,CAAC,OAAO,YAAY,KAAK,QAAQ,EAAE,CAAC;AAChE,OAAI,QAAQ,GAAG;AACb,cAAU;AACV,eAAW,IAAI,OAAO,QAAQ,QAAQ,OAAO,OAAO,CAAC;GACtD;EACF;AAED,SAAO;CACR;AACF,EAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-DWy1uDak.cjs');
|
|
2
2
|
const require_defineTool = require('./defineTool-lWNTzWl_.cjs');
|
|
3
|
-
const require_client = require('./client-
|
|
3
|
+
const require_client = require('./client-Dkw5iYu3.cjs');
|
|
4
4
|
const require_schema = require('./schema-BpJVmev8.cjs');
|
|
5
5
|
const require_fetch_utils = require('./fetch-utils-oab6uNp3.cjs');
|
|
6
6
|
const zod = require_chunk.__toESM(require("zod"));
|
|
@@ -58,7 +58,7 @@ var search_docs_default = require_defineTool.defineTool({
|
|
|
58
58
|
output += `**Query**: "${params.query}"\n`;
|
|
59
59
|
if (params.guide) output += `**Guide**: ${params.guide}\n`;
|
|
60
60
|
output += `\n`;
|
|
61
|
-
const host = context.
|
|
61
|
+
const host = context.mcpUrl || "https://mcp.sentry.dev";
|
|
62
62
|
const searchUrl = new URL("/api/search", host);
|
|
63
63
|
const response = await require_fetch_utils.fetchWithTimeout(searchUrl.toString(), {
|
|
64
64
|
method: "POST",
|
|
@@ -105,4 +105,4 @@ Object.defineProperty(exports, 'search_docs_default', {
|
|
|
105
105
|
return search_docs_default;
|
|
106
106
|
}
|
|
107
107
|
});
|
|
108
|
-
//# sourceMappingURL=search-docs-
|
|
108
|
+
//# sourceMappingURL=search-docs-D5Foht_0.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-docs-D5Foht_0.cjs","names":["context: ServerContext","ApiError"],"sources":["../src/tools/search-docs.ts"],"sourcesContent":["import { z } from \"zod\";\nimport { defineTool } from \"./utils/defineTool\";\nimport { fetchWithTimeout } from \"./utils/fetch-utils\";\nimport { ApiError } from \"../api-client/index\";\nimport type { ServerContext } from \"../types\";\nimport type { SearchResponse } from \"./types\";\nimport { ParamSentryGuide } from \"../schema\";\n\nexport default defineTool({\n name: \"search_docs\",\n description: [\n \"Search Sentry documentation for SDK setup, instrumentation, and configuration guidance.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Set up Sentry SDK in any language (Python, JavaScript, Go, Ruby, etc.)\",\n \"- Configure specific features like performance monitoring, error sampling, or release tracking\",\n \"- Implement custom instrumentation (spans, transactions, breadcrumbs)\",\n \"- Set up integrations with frameworks (Django, Flask, Express, Next.js, etc.)\",\n \"- Configure data scrubbing, filtering, or sampling rules\",\n \"- Troubleshoot SDK issues or find best practices\",\n \"\",\n \"This tool searches technical documentation, NOT general information about Sentry as a company.\",\n \"\",\n \"<examples>\",\n \"### Setting up Sentry in a Python Django app\",\n \"\",\n \"```\",\n \"search_docs(query='Django setup configuration SENTRY_DSN', guide='python/django')\",\n \"```\",\n \"\",\n \"### Setting up source maps for Next.js\",\n \"\",\n \"```\",\n \"search_docs(query='source maps webpack upload', guide='javascript/nextjs')\",\n \"```\",\n \"\",\n \"### Configuring release tracking\",\n \"\",\n \"```\",\n \"search_docs(query='release tracking deployment integration CI/CD')\",\n \"```\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- Use guide parameter to filter results to specific technologies (e.g., 'javascript' or 'javascript/nextjs')\",\n \"- Include the programming language/framework in your query for SDK-specific results\",\n \"- Use technical terms like 'instrumentation', 'spans', 'transactions' for performance docs\",\n \"- Include specific feature names like 'beforeSend', 'tracesSampleRate', 'SENTRY_DSN'\",\n \"</hints>\",\n ].join(\"\\n\"),\n inputSchema: {\n query: z\n .string()\n .trim()\n .min(\n 2,\n \"Search query is too short. Please provide at least 2 characters.\",\n )\n .max(\n 200,\n \"Search query is too long. Please keep your query under 200 characters.\",\n )\n .describe(\n \"The search query in natural language. Be specific about what you're looking for.\",\n ),\n maxResults: z\n .number()\n .int()\n .min(1)\n .max(10)\n .default(3)\n .describe(\"Maximum number of results to return (1-10)\")\n .optional(),\n guide: ParamSentryGuide.optional(),\n },\n async handler(params, context: ServerContext) {\n let output = `# Documentation Search Results\\n\\n`;\n output += `**Query**: \"${params.query}\"\\n`;\n if (params.guide) {\n output += `**Guide**: ${params.guide}\\n`;\n }\n output += `\\n`;\n\n // Determine the URL - use context.mcpUrl if available, otherwise default to production\n const host = context.mcpUrl || \"https://mcp.sentry.dev\";\n const searchUrl = new URL(\"/api/search\", host);\n\n const response = await fetchWithTimeout(\n searchUrl.toString(),\n {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n body: JSON.stringify({\n query: params.query,\n maxResults: params.maxResults,\n guide: params.guide,\n }),\n },\n 15000, // 15 second timeout\n );\n\n if (!response.ok) {\n // TODO: improve error responses with types\n const errorData = (await response.json().catch(() => null)) as {\n error?: string;\n } | null;\n\n const errorMessage =\n errorData?.error || `Search failed with status ${response.status}`;\n throw new ApiError(errorMessage, response.status);\n }\n\n const data = (await response.json()) as SearchResponse;\n\n // Handle error in response\n if (\"error\" in data && data.error) {\n output += `**Error**: ${data.error}\\n\\n`;\n return output;\n }\n\n // Display results\n if (data.results.length === 0) {\n output += \"No documentation found matching your query.\\n\\n\";\n return output;\n }\n\n output += `Found ${data.results.length} match${data.results.length === 1 ? \"\" : \"es\"}\\n\\n`;\n\n output += `These are just snippets. Use \\`get_doc(path='...')\\` to fetch the full content.\\n\\n`;\n\n for (const [index, result] of data.results.entries()) {\n output += `## ${index + 1}. ${result.url}\\n\\n`;\n output += `**Path**: ${result.id}\\n`;\n output += `**Relevance**: ${(result.relevance * 100).toFixed(1)}%\\n\\n`;\n if (index < 3) {\n output += \"**Matching Context**\\n\";\n output += `> ${result.snippet.replace(/\\n/g, \"\\n> \")}\\n\\n`;\n }\n }\n\n return output;\n },\n});\n"],"mappings":";;;;;;;;AAQA,0BAAe,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;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,OAAO,MACJ,QAAQ,CACR,MAAM,CACN,IACC,GACA,mEACD,CACA,IACC,KACA,yEACD,CACA,SACC,mFACD;EACH,YAAY,MACT,QAAQ,CACR,KAAK,CACL,IAAI,EAAE,CACN,IAAI,GAAG,CACP,QAAQ,EAAE,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;EACF;AAED,SAAO;CACR;AACF,EAAC"}
|
|
@@ -55,7 +55,7 @@ function getOutputForAutofixStep(step) {
|
|
|
55
55
|
if (step.type === "root_cause_analysis") {
|
|
56
56
|
const typedStep$1 = step;
|
|
57
57
|
for (const cause of typedStep$1.causes) {
|
|
58
|
-
if (
|
|
58
|
+
if (cause.description) output += `${cause.description}\n\n`;
|
|
59
59
|
for (const entry of cause.root_cause_reproduction) {
|
|
60
60
|
output += `**${entry.title}**\n\n`;
|
|
61
61
|
output += `${entry.code_snippet_and_analysis}\n\n`;
|
|
@@ -126,4 +126,4 @@ Object.defineProperty(exports, 'isTerminalStatus', {
|
|
|
126
126
|
return isTerminalStatus;
|
|
127
127
|
}
|
|
128
128
|
});
|
|
129
|
-
//# sourceMappingURL=seer-utils-
|
|
129
|
+
//# sourceMappingURL=seer-utils-CDm5J8ur.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seer-utils-
|
|
1
|
+
{"version":3,"file":"seer-utils-CDm5J8ur.cjs","names":["status: string","step: z.infer<typeof AutofixRunStepSchema>","typedStep"],"sources":["../src/tools/utils/seer-utils.ts"],"sourcesContent":["import type { z } from \"zod\";\nimport type {\n AutofixRunStepSchema,\n AutofixRunStepRootCauseAnalysisSchema,\n AutofixRunStepSolutionSchema,\n AutofixRunStepDefaultSchema,\n} from \"../../api-client/index\";\n\nexport const SEER_POLLING_INTERVAL = 5000; // 5 seconds\nexport const SEER_TIMEOUT = 5 * 60 * 1000; // 5 minutes\n\nexport function getStatusDisplayName(status: string): string {\n switch (status) {\n case \"COMPLETED\":\n return \"Complete\";\n case \"FAILED\":\n case \"ERROR\":\n return \"Failed\";\n case \"CANCELLED\":\n return \"Cancelled\";\n case \"NEED_MORE_INFORMATION\":\n return \"Needs More Information\";\n case \"WAITING_FOR_USER_RESPONSE\":\n return \"Waiting for Response\";\n case \"PROCESSING\":\n return \"Processing\";\n case \"IN_PROGRESS\":\n return \"In Progress\";\n default:\n return status;\n }\n}\n\n/**\n * Check if an autofix status is terminal (no more updates expected)\n */\nexport function isTerminalStatus(status: string): boolean {\n return [\n \"COMPLETED\",\n \"FAILED\",\n \"ERROR\",\n \"CANCELLED\",\n \"NEED_MORE_INFORMATION\",\n \"WAITING_FOR_USER_RESPONSE\",\n ].includes(status);\n}\n\n/**\n * Check if an autofix status requires human intervention\n */\nexport function isHumanInterventionStatus(status: string): boolean {\n return (\n status === \"NEED_MORE_INFORMATION\" || status === \"WAITING_FOR_USER_RESPONSE\"\n );\n}\n\n/**\n * Get guidance message for human intervention states\n */\nexport function getHumanInterventionGuidance(status: string): string {\n if (status === \"NEED_MORE_INFORMATION\") {\n return \"\\nSeer needs additional information to continue the analysis. Please review the insights above and consider providing more context.\\n\";\n }\n if (status === \"WAITING_FOR_USER_RESPONSE\") {\n return \"\\nSeer is waiting for your response to proceed. Please review the analysis and provide feedback.\\n\";\n }\n return \"\";\n}\n\nexport function getOutputForAutofixStep(\n step: z.infer<typeof AutofixRunStepSchema>,\n) {\n let output = `## ${step.title}\\n\\n`;\n\n if (step.status === \"FAILED\") {\n output += `**Sentry hit an error completing this step.\\n\\n`;\n return output;\n }\n\n if (step.status !== \"COMPLETED\") {\n output += `**Sentry is still working on this step. Please check back in a minute.**\\n\\n`;\n return output;\n }\n\n if (step.type === \"root_cause_analysis\") {\n const typedStep = step as z.infer<\n typeof AutofixRunStepRootCauseAnalysisSchema\n >;\n\n for (const cause of typedStep.causes) {\n if (cause.description) {\n output += `${cause.description}\\n\\n`;\n }\n for (const entry of cause.root_cause_reproduction) {\n output += `**${entry.title}**\\n\\n`;\n output += `${entry.code_snippet_and_analysis}\\n\\n`;\n }\n }\n return output;\n }\n\n if (step.type === \"solution\") {\n const typedStep = step as z.infer<typeof AutofixRunStepSolutionSchema>;\n output += `${typedStep.description}\\n\\n`;\n for (const entry of typedStep.solution) {\n output += `**${entry.title}**\\n`;\n output += `${entry.code_snippet_and_analysis}\\n\\n`;\n }\n\n if (typedStep.status === \"FAILED\") {\n output += `**Sentry hit an error completing this step.\\n\\n`;\n } else if (typedStep.status !== \"COMPLETED\") {\n output += `**Sentry is still working on this step.**\\n\\n`;\n }\n\n return output;\n }\n\n const typedStep = step as z.infer<typeof AutofixRunStepDefaultSchema>;\n if (typedStep.insights && typedStep.insights.length > 0) {\n for (const entry of typedStep.insights) {\n output += `**${entry.insight}**\\n`;\n output += `${entry.justification}\\n\\n`;\n }\n } else if (step.output_stream) {\n output += `${step.output_stream}\\n`;\n }\n\n return output;\n}\n"],"mappings":";;AAQA,MAAa,wBAAwB;AACrC,MAAa,eAAe,IAAI,KAAK;AAErC,SAAgB,qBAAqBA,QAAwB;AAC3D,SAAQ,QAAR;EACE,KAAK,YACH,QAAO;EACT,KAAK;EACL,KAAK,QACH,QAAO;EACT,KAAK,YACH,QAAO;EACT,KAAK,wBACH,QAAO;EACT,KAAK,4BACH,QAAO;EACT,KAAK,aACH,QAAO;EACT,KAAK,cACH,QAAO;EACT,QACE,QAAO;CACV;AACF;;;;AAKD,SAAgB,iBAAiBA,QAAyB;AACxD,QAAO;EACL;EACA;EACA;EACA;EACA;EACA;CACD,EAAC,SAAS,OAAO;AACnB;;;;AAKD,SAAgB,0BAA0BA,QAAyB;AACjE,QACE,WAAW,2BAA2B,WAAW;AAEpD;;;;AAKD,SAAgB,6BAA6BA,QAAwB;AACnE,KAAI,WAAW,wBACb,QAAO;AAET,KAAI,WAAW,4BACb,QAAO;AAET,QAAO;AACR;AAED,SAAgB,wBACdC,MACA;CACA,IAAI,UAAU,KAAK,KAAK,MAAM;AAE9B,KAAI,KAAK,WAAW,UAAU;AAC5B,aAAW;AACX,SAAO;CACR;AAED,KAAI,KAAK,WAAW,aAAa;AAC/B,aAAW;AACX,SAAO;CACR;AAED,KAAI,KAAK,SAAS,uBAAuB;EACvC,MAAMC,cAAY;AAIlB,OAAK,MAAM,SAASA,YAAU,QAAQ;AACpC,OAAI,MAAM,YACR,cAAa,MAAM,YAAY;AAEjC,QAAK,MAAM,SAAS,MAAM,yBAAyB;AACjD,eAAW,IAAI,MAAM,MAAM;AAC3B,iBAAa,MAAM,0BAA0B;GAC9C;EACF;AACD,SAAO;CACR;AAED,KAAI,KAAK,SAAS,YAAY;EAC5B,MAAMA,cAAY;AAClB,eAAaA,YAAU,YAAY;AACnC,OAAK,MAAM,SAASA,YAAU,UAAU;AACtC,cAAW,IAAI,MAAM,MAAM;AAC3B,gBAAa,MAAM,0BAA0B;EAC9C;AAED,MAAIA,YAAU,WAAW,SACvB,YAAW;WACFA,YAAU,WAAW,YAC9B,YAAW;AAGb,SAAO;CACR;CAED,MAAM,YAAY;AAClB,KAAI,UAAU,YAAY,UAAU,SAAS,SAAS,EACpD,MAAK,MAAM,SAAS,UAAU,UAAU;AACtC,aAAW,IAAI,MAAM,QAAQ;AAC7B,eAAa,MAAM,cAAc;CAClC;UACQ,KAAK,cACd,cAAa,KAAK,cAAc;AAGlC,QAAO;AACR"}
|
|
@@ -54,7 +54,7 @@ function getOutputForAutofixStep(step) {
|
|
|
54
54
|
if (step.type === "root_cause_analysis") {
|
|
55
55
|
const typedStep$1 = step;
|
|
56
56
|
for (const cause of typedStep$1.causes) {
|
|
57
|
-
if (
|
|
57
|
+
if (cause.description) output += `${cause.description}\n\n`;
|
|
58
58
|
for (const entry of cause.root_cause_reproduction) {
|
|
59
59
|
output += `**${entry.title}**\n\n`;
|
|
60
60
|
output += `${entry.code_snippet_and_analysis}\n\n`;
|
|
@@ -84,4 +84,4 @@ function getOutputForAutofixStep(step) {
|
|
|
84
84
|
|
|
85
85
|
//#endregion
|
|
86
86
|
export { SEER_POLLING_INTERVAL, SEER_TIMEOUT, getHumanInterventionGuidance, getOutputForAutofixStep, getStatusDisplayName, isHumanInterventionStatus, isTerminalStatus };
|
|
87
|
-
//# sourceMappingURL=seer-utils-
|
|
87
|
+
//# sourceMappingURL=seer-utils-Cj9DXrow.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seer-utils-
|
|
1
|
+
{"version":3,"file":"seer-utils-Cj9DXrow.js","names":["status: string","step: z.infer<typeof AutofixRunStepSchema>","typedStep"],"sources":["../src/tools/utils/seer-utils.ts"],"sourcesContent":["import type { z } from \"zod\";\nimport type {\n AutofixRunStepSchema,\n AutofixRunStepRootCauseAnalysisSchema,\n AutofixRunStepSolutionSchema,\n AutofixRunStepDefaultSchema,\n} from \"../../api-client/index\";\n\nexport const SEER_POLLING_INTERVAL = 5000; // 5 seconds\nexport const SEER_TIMEOUT = 5 * 60 * 1000; // 5 minutes\n\nexport function getStatusDisplayName(status: string): string {\n switch (status) {\n case \"COMPLETED\":\n return \"Complete\";\n case \"FAILED\":\n case \"ERROR\":\n return \"Failed\";\n case \"CANCELLED\":\n return \"Cancelled\";\n case \"NEED_MORE_INFORMATION\":\n return \"Needs More Information\";\n case \"WAITING_FOR_USER_RESPONSE\":\n return \"Waiting for Response\";\n case \"PROCESSING\":\n return \"Processing\";\n case \"IN_PROGRESS\":\n return \"In Progress\";\n default:\n return status;\n }\n}\n\n/**\n * Check if an autofix status is terminal (no more updates expected)\n */\nexport function isTerminalStatus(status: string): boolean {\n return [\n \"COMPLETED\",\n \"FAILED\",\n \"ERROR\",\n \"CANCELLED\",\n \"NEED_MORE_INFORMATION\",\n \"WAITING_FOR_USER_RESPONSE\",\n ].includes(status);\n}\n\n/**\n * Check if an autofix status requires human intervention\n */\nexport function isHumanInterventionStatus(status: string): boolean {\n return (\n status === \"NEED_MORE_INFORMATION\" || status === \"WAITING_FOR_USER_RESPONSE\"\n );\n}\n\n/**\n * Get guidance message for human intervention states\n */\nexport function getHumanInterventionGuidance(status: string): string {\n if (status === \"NEED_MORE_INFORMATION\") {\n return \"\\nSeer needs additional information to continue the analysis. Please review the insights above and consider providing more context.\\n\";\n }\n if (status === \"WAITING_FOR_USER_RESPONSE\") {\n return \"\\nSeer is waiting for your response to proceed. Please review the analysis and provide feedback.\\n\";\n }\n return \"\";\n}\n\nexport function getOutputForAutofixStep(\n step: z.infer<typeof AutofixRunStepSchema>,\n) {\n let output = `## ${step.title}\\n\\n`;\n\n if (step.status === \"FAILED\") {\n output += `**Sentry hit an error completing this step.\\n\\n`;\n return output;\n }\n\n if (step.status !== \"COMPLETED\") {\n output += `**Sentry is still working on this step. Please check back in a minute.**\\n\\n`;\n return output;\n }\n\n if (step.type === \"root_cause_analysis\") {\n const typedStep = step as z.infer<\n typeof AutofixRunStepRootCauseAnalysisSchema\n >;\n\n for (const cause of typedStep.causes) {\n if (cause.description) {\n output += `${cause.description}\\n\\n`;\n }\n for (const entry of cause.root_cause_reproduction) {\n output += `**${entry.title}**\\n\\n`;\n output += `${entry.code_snippet_and_analysis}\\n\\n`;\n }\n }\n return output;\n }\n\n if (step.type === \"solution\") {\n const typedStep = step as z.infer<typeof AutofixRunStepSolutionSchema>;\n output += `${typedStep.description}\\n\\n`;\n for (const entry of typedStep.solution) {\n output += `**${entry.title}**\\n`;\n output += `${entry.code_snippet_and_analysis}\\n\\n`;\n }\n\n if (typedStep.status === \"FAILED\") {\n output += `**Sentry hit an error completing this step.\\n\\n`;\n } else if (typedStep.status !== \"COMPLETED\") {\n output += `**Sentry is still working on this step.**\\n\\n`;\n }\n\n return output;\n }\n\n const typedStep = step as z.infer<typeof AutofixRunStepDefaultSchema>;\n if (typedStep.insights && typedStep.insights.length > 0) {\n for (const entry of typedStep.insights) {\n output += `**${entry.insight}**\\n`;\n output += `${entry.justification}\\n\\n`;\n }\n } else if (step.output_stream) {\n output += `${step.output_stream}\\n`;\n }\n\n return output;\n}\n"],"mappings":";AAQA,MAAa,wBAAwB;AACrC,MAAa,eAAe,IAAI,KAAK;AAErC,SAAgB,qBAAqBA,QAAwB;AAC3D,SAAQ,QAAR;EACE,KAAK,YACH,QAAO;EACT,KAAK;EACL,KAAK,QACH,QAAO;EACT,KAAK,YACH,QAAO;EACT,KAAK,wBACH,QAAO;EACT,KAAK,4BACH,QAAO;EACT,KAAK,aACH,QAAO;EACT,KAAK,cACH,QAAO;EACT,QACE,QAA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|
1
1
|
import { UserInputError } from "./errors-CIoxzIug.js";
|
|
2
|
-
import { ApiError } from "./client-
|
|
3
|
-
import { logError } from "./logging-
|
|
4
|
-
import { tools_default } from "./tools-
|
|
2
|
+
import { ApiError } from "./client-DOYWNvVM.js";
|
|
3
|
+
import { logError } from "./logging-DzxYBMrn.js";
|
|
4
|
+
import { tools_default } from "./tools-CdXGgq1W.js";
|
|
5
5
|
import { RESOURCES, isTemplateResource } from "./resources-BHF8a1ZB.js";
|
|
6
6
|
import { PROMPT_DEFINITIONS } from "./promptDefinitions-CSKE8T0a.js";
|
|
7
7
|
import { PROMPT_HANDLERS } from "./prompts-C8Y9w5c4.js";
|
|
@@ -234,4 +234,4 @@ async function configureServer({ server, context, onToolComplete }) {
|
|
|
234
234
|
|
|
235
235
|
//#endregion
|
|
236
236
|
export { configureServer };
|
|
237
|
-
//# sourceMappingURL=server-
|
|
237
|
+
//# sourceMappingURL=server-BSRxzYFd.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-DeuBftc5.js","names":["error: unknown","args: Record<string, unknown>","resource: { name: string; handler: ReadResourceCallback }","context: ServerContext","uri: URL","extra: RequestHandlerExtra<any, any>","variables: Variables","tools","params: any","extra: RequestHandlerExtra<ServerRequest, ServerNotification>"],"sources":["../src/server.ts"],"sourcesContent":["/**\n * MCP Server Configuration and Request Handling Infrastructure.\n *\n * This module orchestrates tool execution, prompt handling, resource management,\n * and telemetry collection in a unified server interface for LLMs.\n *\n * **Configuration Example:**\n * ```typescript\n * const server = new McpServer();\n * const context: ServerContext = {\n * accessToken: \"your-sentry-token\",\n * host: \"sentry.io\",\n * userId: \"user-123\",\n * clientId: \"mcp-client\"\n * };\n *\n * await configureServer({ server, context });\n * ```\n */\nimport type { McpServer } from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport type { RequestHandlerExtra } from \"@modelcontextprotocol/sdk/shared/protocol.js\";\nimport type {\n ServerRequest,\n ServerNotification,\n} from \"@modelcontextprotocol/sdk/types.js\";\nimport type {\n ReadResourceCallback,\n ReadResourceTemplateCallback,\n} from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport type { Variables } from \"@modelcontextprotocol/sdk/shared/uriTemplate.js\";\nimport tools from \"./tools/index\";\nimport type { ServerContext } from \"./types\";\nimport { setTag, setUser, startNewTrace, startSpan } from \"@sentry/core\";\nimport { logError } from \"./logging\";\nimport { RESOURCES, isTemplateResource } from \"./resources\";\nimport { PROMPT_DEFINITIONS } from \"./promptDefinitions\";\nimport { PROMPT_HANDLERS } from \"./prompts\";\nimport { ApiError } from \"./api-client\";\nimport { UserInputError } from \"./errors\";\n\n/**\n * Type guard to identify Sentry API errors.\n */\nfunction isApiError(error: unknown): error is ApiError {\n return error instanceof ApiError;\n}\n\n/**\n * Type guard to identify user input validation errors.\n */\nfunction isUserInputError(error: unknown) {\n return error instanceof UserInputError;\n}\n\n/**\n * Formats errors for LLM consumption with appropriate telemetry handling.\n *\n * **Error Types:**\n * - User Input Errors: Clear guidance without telemetry\n * - API Errors: Enhanced messaging with HTTP status context\n * - System Errors: Full telemetry capture with event IDs\n *\n * @example User Input Error Response\n * ```markdown\n * **Input Error**\n *\n * It looks like there was a problem with the input you provided.\n * Organization slug is required. Please provide an organizationSlug parameter.\n * You may be able to resolve the issue by addressing the concern and trying again.\n * ```\n */\nasync function logAndFormatError(error: unknown) {\n if (isUserInputError(error)) {\n const typedError = error as UserInputError;\n return [\n \"**Input Error**\",\n \"It looks like there was a problem with the input you provided.\",\n typedError.message,\n `You may be able to resolve the issue by addressing the concern and trying again.`,\n ].join(\"\\n\\n\");\n }\n\n if (isApiError(error)) {\n const typedError = error as ApiError;\n return [\n \"**Error**\",\n `There was an HTTP ${typedError.status} error with the your request to the Sentry API.`,\n `${typedError.message}`,\n `You may be able to resolve the issue by addressing the concern and trying again.`,\n ].join(\"\\n\\n\");\n }\n\n const eventId = logError(error);\n\n return [\n \"**Error**\",\n \"It looks like there was a problem communicating with the Sentry API.\",\n \"Please report the following to the user for the Sentry team:\",\n `**Event ID**: ${eventId}`,\n process.env.NODE_ENV !== \"production\"\n ? error instanceof Error\n ? error.message\n : String(error)\n : \"\",\n ].join(\"\\n\\n\");\n}\n\n/**\n * Extracts MCP request parameters for OpenTelemetry attributes.\n *\n * @example Parameter Transformation\n * ```typescript\n * const input = { organizationSlug: \"my-org\", query: \"is:unresolved\" };\n * const output = extractMcpParameters(input);\n * // { \"mcp.request.argument.organizationSlug\": \"\\\"my-org\\\"\", \"mcp.request.argument.query\": \"\\\"is:unresolved\\\"\" }\n * ```\n */\nfunction extractMcpParameters(args: Record<string, unknown>) {\n return Object.fromEntries(\n Object.entries(args).map(([key, value]) => {\n return [`mcp.request.argument.${key}`, JSON.stringify(value)];\n }),\n );\n}\n\n/**\n * Creates a telemetry wrapper for regular URI resource handlers.\n * Captures URI access and user context for observability.\n */\nfunction createResourceHandler(\n resource: { name: string; handler: ReadResourceCallback },\n context: ServerContext,\n): ReadResourceCallback {\n return async (uri: URL, extra: RequestHandlerExtra<any, any>) => {\n return await startNewTrace(async () => {\n return await startSpan(\n {\n name: `resources/read ${resource.name}`,\n attributes: {\n \"mcp.resource.name\": resource.name,\n \"mcp.resource.uri\": uri.toString(),\n ...(context.userAgent && {\n \"user_agent.original\": context.userAgent,\n }),\n },\n },\n async () => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n\n return resource.handler(uri, extra);\n },\n );\n });\n };\n}\n\n/**\n * Creates a telemetry wrapper for URI template resource handlers.\n * Captures template parameters and user context for observability.\n */\nfunction createTemplateResourceHandler(\n resource: { name: string; handler: ReadResourceCallback },\n context: ServerContext,\n): ReadResourceTemplateCallback {\n return async (\n uri: URL,\n variables: Variables,\n extra: RequestHandlerExtra<any, any>,\n ) => {\n return await startNewTrace(async () => {\n return await startSpan(\n {\n name: `resources/read ${resource.name}`,\n attributes: {\n \"mcp.resource.name\": resource.name,\n \"mcp.resource.uri\": uri.toString(),\n ...(context.userAgent && {\n \"user_agent.original\": context.userAgent,\n }),\n ...extractMcpParameters(variables),\n },\n },\n async () => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n\n // The MCP SDK has already constructed the URI from the template and variables\n // We just need to call the handler with the constructed URI\n return resource.handler(uri, extra);\n },\n );\n });\n };\n}\n\n/**\n * Configures an MCP server with all tools, prompts, resources, and telemetry.\n *\n * Transforms a bare MCP server instance into a fully-featured Sentry integration\n * with comprehensive observability, error handling, and handler registration.\n *\n * @example Basic Configuration\n * ```typescript\n * const server = new McpServer();\n * const context = {\n * accessToken: process.env.SENTRY_TOKEN,\n * host: \"sentry.io\",\n * userId: \"user-123\",\n * clientId: \"cursor-ide\"\n * };\n *\n * await configureServer({ server, context });\n * ```\n */\nexport async function configureServer({\n server,\n context,\n onToolComplete,\n}: { server: McpServer; context: ServerContext; onToolComplete?: () => void }) {\n server.server.onerror = (error) => {\n logError(error);\n };\n\n for (const resource of RESOURCES) {\n if (isTemplateResource(resource)) {\n // Handle URI template resources\n server.registerResource(\n resource.name,\n resource.template,\n {\n description: resource.description,\n mimeType: resource.mimeType,\n },\n createTemplateResourceHandler(resource, context),\n );\n } else {\n // Handle regular URI resources\n server.registerResource(\n resource.name,\n resource.uri,\n {\n description: resource.description,\n mimeType: resource.mimeType,\n },\n createResourceHandler(resource, context),\n );\n }\n }\n\n for (const prompt of PROMPT_DEFINITIONS) {\n const handler = PROMPT_HANDLERS[prompt.name];\n\n server.prompt(\n prompt.name,\n prompt.description,\n prompt.paramsSchema ? prompt.paramsSchema : {},\n async (...args) => {\n try {\n return await startNewTrace(async () => {\n return await startSpan(\n {\n name: `prompts/get ${prompt.name}`,\n attributes: {\n \"mcp.prompt.name\": prompt.name,\n ...(context.userAgent && {\n \"user_agent.original\": context.userAgent,\n }),\n ...extractMcpParameters(args[0] || {}),\n },\n },\n async (span) => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n try {\n // TODO(dcramer): I'm too dumb to figure this out\n // @ts-ignore\n const output = await handler(context, ...args);\n span.setStatus({\n code: 1, // ok\n });\n return {\n messages: [\n {\n role: \"user\" as const,\n content: {\n type: \"text\" as const,\n text: output,\n },\n },\n ],\n };\n } catch (error) {\n span.setStatus({\n code: 2, // error\n });\n throw error;\n }\n },\n );\n });\n } finally {\n onToolComplete?.();\n }\n },\n );\n }\n\n for (const [toolKey, tool] of Object.entries(tools)) {\n server.tool(\n tool.name,\n tool.description,\n tool.inputSchema,\n async (\n params: any,\n extra: RequestHandlerExtra<ServerRequest, ServerNotification>,\n ) => {\n try {\n return await startNewTrace(async () => {\n return await startSpan(\n {\n name: `tools/call ${tool.name}`,\n attributes: {\n \"mcp.tool.name\": tool.name,\n ...(context.userAgent && {\n \"user_agent.original\": context.userAgent,\n }),\n ...extractMcpParameters(params || {}),\n },\n },\n async (span) => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n\n try {\n const output = await tool.handler(params, context);\n span.setStatus({\n code: 1, // ok\n });\n // if the tool returns a string, assume it's a message\n if (typeof output === \"string\") {\n return {\n content: [\n {\n type: \"text\" as const,\n text: output,\n },\n ],\n };\n }\n // if the tool returns a list, assume it's a content list\n if (Array.isArray(output)) {\n return {\n content: output,\n };\n }\n throw new Error(`Invalid tool output: ${output}`);\n } catch (error) {\n span.setStatus({\n code: 2, // error\n });\n\n // CRITICAL: Tool errors MUST be returned as formatted text responses,\n // NOT thrown as exceptions. This ensures consistent error handling\n // and prevents the MCP client from receiving raw error objects.\n //\n // The logAndFormatError function provides user-friendly error messages\n // with appropriate formatting for different error types:\n // - UserInputError: Clear guidance for fixing input problems\n // - ApiError: HTTP status context with helpful messaging\n // - System errors: Sentry event IDs for debugging\n //\n // DO NOT change this to throw error - it breaks error handling!\n return {\n content: [\n {\n type: \"text\" as const,\n text: await logAndFormatError(error),\n },\n ],\n isError: true,\n };\n }\n },\n );\n });\n } finally {\n onToolComplete?.();\n }\n },\n );\n }\n}\n"],"mappings":";;;;;;;;;;;;;AA2CA,SAAS,WAAWA,OAAmC;AACrD,QAAO,iBAAiB;AACzB;;;;AAKD,SAAS,iBAAiBA,OAAgB;AACxC,QAAO,iBAAiB;AACzB;;;;;;;;;;;;;;;;;;AAmBD,eAAe,kBAAkBA,OAAgB;AAC/C,KAAI,iBAAiB,MAAM,EAAE;EAC3B,MAAM,aAAa;AACnB,SAAO;GACL;GACA;GACA,WAAW;IACV;EACF,EAAC,KAAK,OAAO;CACf;AAED,KAAI,WAAW,MAAM,EAAE;EACrB,MAAM,aAAa;AACnB,SAAO;GACL;IACC,oBAAoB,WAAW,OAAO;MACpC,WAAW;IACb;EACF,EAAC,KAAK,OAAO;CACf;CAED,MAAM,UAAU,SAAS,MAAM;AAE/B,QAAO;EACL;EACA;EACA;GACC,gBAAgB;EACjB,QAAQ,IAAI,aAAa,eACrB,iBAAiB,QACf,MAAM,UACN,OAAO,MAAM,GACf;CACL,EAAC,KAAK,OAAO;AACf;;;;;;;;;;;AAYD,SAAS,qBAAqBC,MAA+B;AAC3D,QAAO,OAAO,YACZ,OAAO,QAAQ,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,KAAK;AACzC,SAAO,EAAE,uBAAuB,OAAO,KAAK,UAAU,MAAM,AAAC;CAC9D,EAAC,CACH;AACF;;;;;AAMD,SAAS,sBACPC,UACAC,SACsB;AACtB,QAAO,OAAOC,KAAUC,UAAyC;AAC/D,SAAO,MAAM,cAAc,YAAY;AACrC,UAAO,MAAM,UACX;IACE,OAAO,iBAAiB,SAAS;IACjC,YAAY;KACV,qBAAqB,SAAS;KAC9B,oBAAoB,IAAI,UAAU;KAClC,GAAI,QAAQ,aAAa,EACvB,uBAAuB,QAAQ,UAChC;IACF;GACF,GACD,YAAY;AACV,QAAI,QAAQ,OACV,SAAQ,EACN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;AAEF,iBAAW,WAAW,SACpB,QAAO,EACL,SAAS,CACP;OACE,MAAM;OACN,MAAM;MACP,CACF,EACF;AAGH,UAAI,MAAM,QAAQ,OAAO,CACvB,QAAO,EACL,SAAS,OACV;AAEH,YAAM,IAAI,OAAO,uBAAuB;KACzC,SAAQ,OAAO;AACd,WAAK,UAAU,EACb,MAAM,EACP,EAAC;AAaF,aAAO;OACL,SAAS,CACP;QACE,MAAM;QACN,MAAM,MAAM,kBAAkB,MAAM;OACrC,CACF;OACD,SAAS;MACV;KACF;IACF,EACF;GACF,EAAC;EACH,UAAS;AACR,qBAAkB;EACnB;CACF,EACF;AAEJ"}
|
|
1
|
+
{"version":3,"file":"server-BSRxzYFd.js","names":["error: unknown","args: Record<string, unknown>","resource: { name: string; handler: ReadResourceCallback }","context: ServerContext","uri: URL","extra: RequestHandlerExtra<any, any>","variables: Variables","tools","params: any","extra: RequestHandlerExtra<ServerRequest, ServerNotification>"],"sources":["../src/server.ts"],"sourcesContent":["/**\n * MCP Server Configuration and Request Handling Infrastructure.\n *\n * This module orchestrates tool execution, prompt handling, resource management,\n * and telemetry collection in a unified server interface for LLMs.\n *\n * **Configuration Example:**\n * ```typescript\n * const server = new McpServer();\n * const context: ServerContext = {\n * accessToken: \"your-sentry-token\",\n * host: \"sentry.io\",\n * userId: \"user-123\",\n * clientId: \"mcp-client\"\n * };\n *\n * await configureServer({ server, context });\n * ```\n */\nimport type { McpServer } from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport type { RequestHandlerExtra } from \"@modelcontextprotocol/sdk/shared/protocol.js\";\nimport type {\n ServerRequest,\n ServerNotification,\n} from \"@modelcontextprotocol/sdk/types.js\";\nimport type {\n ReadResourceCallback,\n ReadResourceTemplateCallback,\n} from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport type { Variables } from \"@modelcontextprotocol/sdk/shared/uriTemplate.js\";\nimport tools from \"./tools/index\";\nimport type { ServerContext } from \"./types\";\nimport { setTag, setUser, startNewTrace, startSpan } from \"@sentry/core\";\nimport { logError } from \"./logging\";\nimport { RESOURCES, isTemplateResource } from \"./resources\";\nimport { PROMPT_DEFINITIONS } from \"./promptDefinitions\";\nimport { PROMPT_HANDLERS } from \"./prompts\";\nimport { ApiError } from \"./api-client\";\nimport { UserInputError } from \"./errors\";\n\n/**\n * Type guard to identify Sentry API errors.\n */\nfunction isApiError(error: unknown): error is ApiError {\n return error instanceof ApiError;\n}\n\n/**\n * Type guard to identify user input validation errors.\n */\nfunction isUserInputError(error: unknown) {\n return error instanceof UserInputError;\n}\n\n/**\n * Formats errors for LLM consumption with appropriate telemetry handling.\n *\n * **Error Types:**\n * - User Input Errors: Clear guidance without telemetry\n * - API Errors: Enhanced messaging with HTTP status context\n * - System Errors: Full telemetry capture with event IDs\n *\n * @example User Input Error Response\n * ```markdown\n * **Input Error**\n *\n * It looks like there was a problem with the input you provided.\n * Organization slug is required. Please provide an organizationSlug parameter.\n * You may be able to resolve the issue by addressing the concern and trying again.\n * ```\n */\nasync function logAndFormatError(error: unknown) {\n if (isUserInputError(error)) {\n const typedError = error as UserInputError;\n return [\n \"**Input Error**\",\n \"It looks like there was a problem with the input you provided.\",\n typedError.message,\n `You may be able to resolve the issue by addressing the concern and trying again.`,\n ].join(\"\\n\\n\");\n }\n\n if (isApiError(error)) {\n const typedError = error as ApiError;\n return [\n \"**Error**\",\n `There was an HTTP ${typedError.status} error with the your request to the Sentry API.`,\n `${typedError.message}`,\n `You may be able to resolve the issue by addressing the concern and trying again.`,\n ].join(\"\\n\\n\");\n }\n\n const eventId = logError(error);\n\n return [\n \"**Error**\",\n \"It looks like there was a problem communicating with the Sentry API.\",\n \"Please report the following to the user for the Sentry team:\",\n `**Event ID**: ${eventId}`,\n process.env.NODE_ENV !== \"production\"\n ? error instanceof Error\n ? error.message\n : String(error)\n : \"\",\n ].join(\"\\n\\n\");\n}\n\n/**\n * Extracts MCP request parameters for OpenTelemetry attributes.\n *\n * @example Parameter Transformation\n * ```typescript\n * const input = { organizationSlug: \"my-org\", query: \"is:unresolved\" };\n * const output = extractMcpParameters(input);\n * // { \"mcp.request.argument.organizationSlug\": \"\\\"my-org\\\"\", \"mcp.request.argument.query\": \"\\\"is:unresolved\\\"\" }\n * ```\n */\nfunction extractMcpParameters(args: Record<string, unknown>) {\n return Object.fromEntries(\n Object.entries(args).map(([key, value]) => {\n return [`mcp.request.argument.${key}`, JSON.stringify(value)];\n }),\n );\n}\n\n/**\n * Creates a telemetry wrapper for regular URI resource handlers.\n * Captures URI access and user context for observability.\n */\nfunction createResourceHandler(\n resource: { name: string; handler: ReadResourceCallback },\n context: ServerContext,\n): ReadResourceCallback {\n return async (uri: URL, extra: RequestHandlerExtra<any, any>) => {\n return await startNewTrace(async () => {\n return await startSpan(\n {\n name: `resources/read ${resource.name}`,\n attributes: {\n \"mcp.resource.name\": resource.name,\n \"mcp.resource.uri\": uri.toString(),\n ...(context.userAgent && {\n \"user_agent.original\": context.userAgent,\n }),\n },\n },\n async () => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n\n return resource.handler(uri, extra);\n },\n );\n });\n };\n}\n\n/**\n * Creates a telemetry wrapper for URI template resource handlers.\n * Captures template parameters and user context for observability.\n */\nfunction createTemplateResourceHandler(\n resource: { name: string; handler: ReadResourceCallback },\n context: ServerContext,\n): ReadResourceTemplateCallback {\n return async (\n uri: URL,\n variables: Variables,\n extra: RequestHandlerExtra<any, any>,\n ) => {\n return await startNewTrace(async () => {\n return await startSpan(\n {\n name: `resources/read ${resource.name}`,\n attributes: {\n \"mcp.resource.name\": resource.name,\n \"mcp.resource.uri\": uri.toString(),\n ...(context.userAgent && {\n \"user_agent.original\": context.userAgent,\n }),\n ...extractMcpParameters(variables),\n },\n },\n async () => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n\n // The MCP SDK has already constructed the URI from the template and variables\n // We just need to call the handler with the constructed URI\n return resource.handler(uri, extra);\n },\n );\n });\n };\n}\n\n/**\n * Configures an MCP server with all tools, prompts, resources, and telemetry.\n *\n * Transforms a bare MCP server instance into a fully-featured Sentry integration\n * with comprehensive observability, error handling, and handler registration.\n *\n * @example Basic Configuration\n * ```typescript\n * const server = new McpServer();\n * const context = {\n * accessToken: process.env.SENTRY_TOKEN,\n * host: \"sentry.io\",\n * userId: \"user-123\",\n * clientId: \"cursor-ide\"\n * };\n *\n * await configureServer({ server, context });\n * ```\n */\nexport async function configureServer({\n server,\n context,\n onToolComplete,\n}: { server: McpServer; context: ServerContext; onToolComplete?: () => void }) {\n server.server.onerror = (error) => {\n logError(error);\n };\n\n for (const resource of RESOURCES) {\n if (isTemplateResource(resource)) {\n // Handle URI template resources\n server.registerResource(\n resource.name,\n resource.template,\n {\n description: resource.description,\n mimeType: resource.mimeType,\n },\n createTemplateResourceHandler(resource, context),\n );\n } else {\n // Handle regular URI resources\n server.registerResource(\n resource.name,\n resource.uri,\n {\n description: resource.description,\n mimeType: resource.mimeType,\n },\n createResourceHandler(resource, context),\n );\n }\n }\n\n for (const prompt of PROMPT_DEFINITIONS) {\n const handler = PROMPT_HANDLERS[prompt.name];\n\n server.prompt(\n prompt.name,\n prompt.description,\n prompt.paramsSchema ? prompt.paramsSchema : {},\n async (...args) => {\n try {\n return await startNewTrace(async () => {\n return await startSpan(\n {\n name: `prompts/get ${prompt.name}`,\n attributes: {\n \"mcp.prompt.name\": prompt.name,\n ...(context.userAgent && {\n \"user_agent.original\": context.userAgent,\n }),\n ...extractMcpParameters(args[0] || {}),\n },\n },\n async (span) => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n try {\n // TODO(dcramer): I'm too dumb to figure this out\n // @ts-ignore\n const output = await handler(context, ...args);\n span.setStatus({\n code: 1, // ok\n });\n return {\n messages: [\n {\n role: \"user\" as const,\n content: {\n type: \"text\" as const,\n text: output,\n },\n },\n ],\n };\n } catch (error) {\n span.setStatus({\n code: 2, // error\n });\n throw error;\n }\n },\n );\n });\n } finally {\n onToolComplete?.();\n }\n },\n );\n }\n\n for (const [toolKey, tool] of Object.entries(tools)) {\n server.tool(\n tool.name,\n tool.description,\n tool.inputSchema,\n async (\n params: any,\n extra: RequestHandlerExtra<ServerRequest, ServerNotification>,\n ) => {\n try {\n return await startNewTrace(async () => {\n return await startSpan(\n {\n name: `tools/call ${tool.name}`,\n attributes: {\n \"mcp.tool.name\": tool.name,\n ...(context.userAgent && {\n \"user_agent.original\": context.userAgent,\n }),\n ...extractMcpParameters(params || {}),\n },\n },\n async (span) => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n\n try {\n const output = await tool.handler(params, context);\n span.setStatus({\n code: 1, // ok\n });\n // if the tool returns a string, assume it's a message\n if (typeof output === \"string\") {\n return {\n content: [\n {\n type: \"text\" as const,\n text: output,\n },\n ],\n };\n }\n // if the tool returns a list, assume it's a content list\n if (Array.isArray(output)) {\n return {\n content: output,\n };\n }\n throw new Error(`Invalid tool output: ${output}`);\n } catch (error) {\n span.setStatus({\n code: 2, // error\n });\n\n // CRITICAL: Tool errors MUST be returned as formatted text responses,\n // NOT thrown as exceptions. This ensures consistent error handling\n // and prevents the MCP client from receiving raw error objects.\n //\n // The logAndFormatError function provides user-friendly error messages\n // with appropriate formatting for different error types:\n // - UserInputError: Clear guidance for fixing input problems\n // - ApiError: HTTP status context with helpful messaging\n // - System errors: Sentry event IDs for debugging\n //\n // DO NOT change this to throw error - it breaks error handling!\n return {\n content: [\n {\n type: \"text\" as const,\n text: await logAndFormatError(error),\n },\n ],\n isError: true,\n };\n }\n },\n );\n });\n } finally {\n onToolComplete?.();\n }\n },\n );\n }\n}\n"],"mappings":";;;;;;;;;;;;;AA2CA,SAAS,WAAWA,OAAmC;AACrD,QAAO,iBAAiB;AACzB;;;;AAKD,SAAS,iBAAiBA,OAAg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U,EACb,MAAM,EACP,EAAC;AAaF,aAAO;OACL,SAAS,CACP;QACE,MAAM;QACN,MAAM,MAAM,kBAAkB,MAAM;OACrC,CACF;OACD,SAAS;MACV;KACF;IACF,EACF;GACF,EAAC;EACH,UAAS;AACR,qBAAkB;EACnB;CACF,EACF;AAEJ"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-DWy1uDak.cjs');
|
|
2
2
|
const require_errors = require('./errors-YmiXLOyx.cjs');
|
|
3
|
-
const require_client = require('./client-
|
|
4
|
-
const require_logging = require('./logging-
|
|
5
|
-
const require_tools = require('./tools-
|
|
3
|
+
const require_client = require('./client-Dkw5iYu3.cjs');
|
|
4
|
+
const require_logging = require('./logging-CX2buXiG.cjs');
|
|
5
|
+
const require_tools = require('./tools-CHnZvVEN.cjs');
|
|
6
6
|
const require_resources = require('./resources-BM_YQGcb.cjs');
|
|
7
7
|
const require_promptDefinitions = require('./promptDefinitions-C29BWGYg.cjs');
|
|
8
8
|
const require_prompts = require('./prompts-Df3i1XSB.cjs');
|
|
@@ -240,4 +240,4 @@ Object.defineProperty(exports, 'configureServer', {
|
|
|
240
240
|
return configureServer;
|
|
241
241
|
}
|
|
242
242
|
});
|
|
243
|
-
//# sourceMappingURL=server-
|
|
243
|
+
//# sourceMappingURL=server-Dgkqz8bA.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-CHG27fcn.cjs","names":["error: unknown","ApiError","UserInputError","args: Record<string, unknown>","resource: { name: string; handler: ReadResourceCallback }","context: ServerContext","uri: URL","extra: RequestHandlerExtra<any, any>","variables: Variables","RESOURCES","PROMPT_DEFINITIONS","PROMPT_HANDLERS","tools","params: any","extra: RequestHandlerExtra<ServerRequest, ServerNotification>"],"sources":["../src/server.ts"],"sourcesContent":["/**\n * MCP Server Configuration and Request Handling Infrastructure.\n *\n * This module orchestrates tool execution, prompt handling, resource management,\n * and telemetry collection in a unified server interface for LLMs.\n *\n * **Configuration Example:**\n * ```typescript\n * const server = new McpServer();\n * const context: ServerContext = {\n * accessToken: \"your-sentry-token\",\n * host: \"sentry.io\",\n * userId: \"user-123\",\n * clientId: \"mcp-client\"\n * };\n *\n * await configureServer({ server, context });\n * ```\n */\nimport type { McpServer } from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport type { RequestHandlerExtra } from \"@modelcontextprotocol/sdk/shared/protocol.js\";\nimport type {\n ServerRequest,\n ServerNotification,\n} from \"@modelcontextprotocol/sdk/types.js\";\nimport type {\n ReadResourceCallback,\n ReadResourceTemplateCallback,\n} from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport type { Variables } from \"@modelcontextprotocol/sdk/shared/uriTemplate.js\";\nimport tools from \"./tools/index\";\nimport type { ServerContext } from \"./types\";\nimport { setTag, setUser, startNewTrace, startSpan } from \"@sentry/core\";\nimport { logError } from \"./logging\";\nimport { RESOURCES, isTemplateResource } from \"./resources\";\nimport { PROMPT_DEFINITIONS } from \"./promptDefinitions\";\nimport { PROMPT_HANDLERS } from \"./prompts\";\nimport { ApiError } from \"./api-client\";\nimport { UserInputError } from \"./errors\";\n\n/**\n * Type guard to identify Sentry API errors.\n */\nfunction isApiError(error: unknown): error is ApiError {\n return error instanceof ApiError;\n}\n\n/**\n * Type guard to identify user input validation errors.\n */\nfunction isUserInputError(error: unknown) {\n return error instanceof UserInputError;\n}\n\n/**\n * Formats errors for LLM consumption with appropriate telemetry handling.\n *\n * **Error Types:**\n * - User Input Errors: Clear guidance without telemetry\n * - API Errors: Enhanced messaging with HTTP status context\n * - System Errors: Full telemetry capture with event IDs\n *\n * @example User Input Error Response\n * ```markdown\n * **Input Error**\n *\n * It looks like there was a problem with the input you provided.\n * Organization slug is required. Please provide an organizationSlug parameter.\n * You may be able to resolve the issue by addressing the concern and trying again.\n * ```\n */\nasync function logAndFormatError(error: unknown) {\n if (isUserInputError(error)) {\n const typedError = error as UserInputError;\n return [\n \"**Input Error**\",\n \"It looks like there was a problem with the input you provided.\",\n typedError.message,\n `You may be able to resolve the issue by addressing the concern and trying again.`,\n ].join(\"\\n\\n\");\n }\n\n if (isApiError(error)) {\n const typedError = error as ApiError;\n return [\n \"**Error**\",\n `There was an HTTP ${typedError.status} error with the your request to the Sentry API.`,\n `${typedError.message}`,\n `You may be able to resolve the issue by addressing the concern and trying again.`,\n ].join(\"\\n\\n\");\n }\n\n const eventId = logError(error);\n\n return [\n \"**Error**\",\n \"It looks like there was a problem communicating with the Sentry API.\",\n \"Please report the following to the user for the Sentry team:\",\n `**Event ID**: ${eventId}`,\n process.env.NODE_ENV !== \"production\"\n ? error instanceof Error\n ? error.message\n : String(error)\n : \"\",\n ].join(\"\\n\\n\");\n}\n\n/**\n * Extracts MCP request parameters for OpenTelemetry attributes.\n *\n * @example Parameter Transformation\n * ```typescript\n * const input = { organizationSlug: \"my-org\", query: \"is:unresolved\" };\n * const output = extractMcpParameters(input);\n * // { \"mcp.request.argument.organizationSlug\": \"\\\"my-org\\\"\", \"mcp.request.argument.query\": \"\\\"is:unresolved\\\"\" }\n * ```\n */\nfunction extractMcpParameters(args: Record<string, unknown>) {\n return Object.fromEntries(\n Object.entries(args).map(([key, value]) => {\n return [`mcp.request.argument.${key}`, JSON.stringify(value)];\n }),\n );\n}\n\n/**\n * Creates a telemetry wrapper for regular URI resource handlers.\n * Captures URI access and user context for observability.\n */\nfunction createResourceHandler(\n resource: { name: string; handler: ReadResourceCallback },\n context: ServerContext,\n): ReadResourceCallback {\n return async (uri: URL, extra: RequestHandlerExtra<any, any>) => {\n return await startNewTrace(async () => {\n return await startSpan(\n {\n name: `resources/read ${resource.name}`,\n attributes: {\n \"mcp.resource.name\": resource.name,\n \"mcp.resource.uri\": uri.toString(),\n ...(context.userAgent && {\n \"user_agent.original\": context.userAgent,\n }),\n },\n },\n async () => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n\n return resource.handler(uri, extra);\n },\n );\n });\n };\n}\n\n/**\n * Creates a telemetry wrapper for URI template resource handlers.\n * Captures template parameters and user context for observability.\n */\nfunction createTemplateResourceHandler(\n resource: { name: string; handler: ReadResourceCallback },\n context: ServerContext,\n): ReadResourceTemplateCallback {\n return async (\n uri: URL,\n variables: Variables,\n extra: RequestHandlerExtra<any, any>,\n ) => {\n return await startNewTrace(async () => {\n return await startSpan(\n {\n name: `resources/read ${resource.name}`,\n attributes: {\n \"mcp.resource.name\": resource.name,\n \"mcp.resource.uri\": uri.toString(),\n ...(context.userAgent && {\n \"user_agent.original\": context.userAgent,\n }),\n ...extractMcpParameters(variables),\n },\n },\n async () => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n\n // The MCP SDK has already constructed the URI from the template and variables\n // We just need to call the handler with the constructed URI\n return resource.handler(uri, extra);\n },\n );\n });\n };\n}\n\n/**\n * Configures an MCP server with all tools, prompts, resources, and telemetry.\n *\n * Transforms a bare MCP server instance into a fully-featured Sentry integration\n * with comprehensive observability, error handling, and handler registration.\n *\n * @example Basic Configuration\n * ```typescript\n * const server = new McpServer();\n * const context = {\n * accessToken: process.env.SENTRY_TOKEN,\n * host: \"sentry.io\",\n * userId: \"user-123\",\n * clientId: \"cursor-ide\"\n * };\n *\n * await configureServer({ server, context });\n * ```\n */\nexport async function configureServer({\n server,\n context,\n onToolComplete,\n}: { server: McpServer; context: ServerContext; onToolComplete?: () => void }) {\n server.server.onerror = (error) => {\n logError(error);\n };\n\n for (const resource of RESOURCES) {\n if (isTemplateResource(resource)) {\n // Handle URI template resources\n server.registerResource(\n resource.name,\n resource.template,\n {\n description: resource.description,\n mimeType: resource.mimeType,\n },\n createTemplateResourceHandler(resource, context),\n );\n } else {\n // Handle regular URI resources\n server.registerResource(\n resource.name,\n resource.uri,\n {\n description: resource.description,\n mimeType: resource.mimeType,\n },\n createResourceHandler(resource, context),\n );\n }\n }\n\n for (const prompt of PROMPT_DEFINITIONS) {\n const handler = PROMPT_HANDLERS[prompt.name];\n\n server.prompt(\n prompt.name,\n prompt.description,\n prompt.paramsSchema ? prompt.paramsSchema : {},\n async (...args) => {\n try {\n return await startNewTrace(async () => {\n return await startSpan(\n {\n name: `prompts/get ${prompt.name}`,\n attributes: {\n \"mcp.prompt.name\": prompt.name,\n ...(context.userAgent && {\n \"user_agent.original\": context.userAgent,\n }),\n ...extractMcpParameters(args[0] || {}),\n },\n },\n async (span) => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n try {\n // TODO(dcramer): I'm too dumb to figure this out\n // @ts-ignore\n const output = await handler(context, ...args);\n span.setStatus({\n code: 1, // ok\n });\n return {\n messages: [\n {\n role: \"user\" as const,\n content: {\n type: \"text\" as const,\n text: output,\n },\n },\n ],\n };\n } catch (error) {\n span.setStatus({\n code: 2, // error\n });\n throw error;\n }\n },\n );\n });\n } finally {\n onToolComplete?.();\n }\n },\n );\n }\n\n for (const [toolKey, tool] of Object.entries(tools)) {\n server.tool(\n tool.name,\n tool.description,\n tool.inputSchema,\n async (\n params: any,\n extra: RequestHandlerExtra<ServerRequest, ServerNotification>,\n ) => {\n try {\n return await startNewTrace(async () => {\n return await startSpan(\n {\n name: `tools/call ${tool.name}`,\n attributes: {\n \"mcp.tool.name\": tool.name,\n ...(context.userAgent && {\n \"user_agent.original\": context.userAgent,\n }),\n ...extractMcpParameters(params || {}),\n },\n },\n async (span) => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n\n try {\n const output = await tool.handler(params, context);\n span.setStatus({\n code: 1, // ok\n });\n // if the tool returns a string, assume it's a message\n if (typeof output === \"string\") {\n return {\n content: [\n {\n type: \"text\" as const,\n text: output,\n },\n ],\n };\n }\n // if the tool returns a list, assume it's a content list\n if (Array.isArray(output)) {\n return {\n content: output,\n };\n }\n throw new Error(`Invalid tool output: ${output}`);\n } catch (error) {\n span.setStatus({\n code: 2, // error\n });\n\n // CRITICAL: Tool errors MUST be returned as formatted text responses,\n // NOT thrown as exceptions. This ensures consistent error handling\n // and prevents the MCP client from receiving raw error objects.\n //\n // The logAndFormatError function provides user-friendly error messages\n // with appropriate formatting for different error types:\n // - UserInputError: Clear guidance for fixing input problems\n // - ApiError: HTTP status context with helpful messaging\n // - System errors: Sentry event IDs for debugging\n //\n // DO NOT change this to throw error - it breaks error handling!\n return {\n content: [\n {\n type: \"text\" as const,\n text: await logAndFormatError(error),\n },\n ],\n isError: true,\n };\n }\n },\n );\n });\n } finally {\n onToolComplete?.();\n }\n },\n );\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AA2CA,SAAS,WAAWA,OAAmC;AACrD,QAAO,iBAAiBC;AACzB;;;;AAKD,SAAS,iBAAiBD,OAAgB;AACxC,QAAO,iBAAiBE;AACzB;;;;;;;;;;;;;;;;;;AAmBD,eAAe,kBAAkBF,OAAgB;AAC/C,KAAI,iBAAiB,MAAM,EAAE;EAC3B,MAAM,aAAa;AACnB,SAAO;GACL;GACA;GACA,WAAW;IACV;EACF,EAAC,KAAK,OAAO;CACf;AAED,KAAI,WAAW,MAAM,EAAE;EACrB,MAAM,aAAa;AACnB,SAAO;GACL;IACC,oBAAoB,WAAW,OAAO;MACpC,WAAW;IACb;EACF,EAAC,KAAK,OAAO;CACf;CAED,MAAM,UAAU,yBAAS,MAAM;AAE/B,QAAO;EACL;EACA;EACA;GACC,gBAAgB;EACjB,QAAQ,IAAI,aAAa,eACrB,iBAAiB,QACf,MAAM,UACN,OAAO,MAAM,GACf;CACL,EAAC,KAAK,OAAO;AACf;;;;;;;;;;;AAYD,SAAS,qBAAqBG,MAA+B;AAC3D,QAAO,OAAO,YACZ,OAAO,QAAQ,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,KAAK;AACzC,SAAO,EAAE,uBAAuB,OAAO,KAAK,UAAU,MAAM,AAAC;CAC9D,EAAC,CACH;AACF;;;;;AAM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;MACtB,GAAI,QAAQ,aAAa,EACvB,uBAAuB,QAAQ,UAChC;MACD,GAAG,qBAAqB,UAAU,CAAE,EAAC;KACtC;IACF,GACD,OAAO,SAAS;AACd,SAAI,QAAQ,OACV,4BAAQ,EACN,IAAI,QAAQ,OACb,EAAC;AAEJ,SAAI,QAAQ,SACV,2BAAO,aAAa,QAAQ,SAAS;AAGvC,SAAI;MACF,MAAM,SAAS,MAAM,KAAK,QAAQ,QAAQ,QAAQ;AAClD,WAAK,UAAU,EACb,MAAM,EACP,EAAC;AAEF,iBAAW,WAAW,SACpB,QAAO,EACL,SAAS,CACP;OACE,MAAM;OACN,MAAM;MACP,CACF,EACF;AAGH,UAAI,MAAM,QAAQ,OAAO,CACvB,QAAO,EACL,SAAS,OACV;AAEH,YAAM,IAAI,OAAO,uBAAuB;KACzC,SAAQ,OAAO;AACd,WAAK,UAAU,EACb,MAAM,EACP,EAAC;AAaF,aAAO;OACL,SAAS,CACP;QACE,MAAM;QACN,MAAM,MAAM,kBAAkB,MAAM;OACrC,CACF;OACD,SAAS;MACV;KACF;IACF,EACF;GACF,EAAC;EACH,UAAS;AACR,qBAAkB;EACnB;CACF,EACF;AAEJ"}
|
|
1
|
+
{"version":3,"file":"server-Dgkqz8bA.cjs","names":["error: unknown","ApiError","UserInputError","args: Record<string, unknown>","resource: { name: string; handler: ReadResourceCallback }","context: ServerContext","uri: URL","extra: RequestHandlerExtra<any, any>","variables: Variables","RESOURCES","PROMPT_DEFINITIONS","PROMPT_HANDLERS","tools","params: any","extra: RequestHandlerExtra<ServerRequest, ServerNotification>"],"sources":["../src/server.ts"],"sourcesContent":["/**\n * MCP Server Configuration and Request Handling Infrastructure.\n *\n * This module orchestrates tool execution, prompt handling, resource management,\n * and telemetry collection in a unified server interface for LLMs.\n *\n * **Configuration Example:**\n * ```typescript\n * const server = new McpServer();\n * const context: ServerContext = {\n * accessToken: \"your-sentry-token\",\n * host: \"sentry.io\",\n * userId: \"user-123\",\n * clientId: \"mcp-client\"\n * };\n *\n * await configureServer({ server, context });\n * ```\n */\nimport type { McpServer } from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport type { RequestHandlerExtra } from \"@modelcontextprotocol/sdk/shared/protocol.js\";\nimport type {\n ServerRequest,\n ServerNotification,\n} from \"@modelcontextprotocol/sdk/types.js\";\nimport type {\n ReadResourceCallback,\n ReadResourceTemplateCallback,\n} from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport type { Variables } from \"@modelcontextprotocol/sdk/shared/uriTemplate.js\";\nimport tools from \"./tools/index\";\nimport type { ServerContext } from \"./types\";\nimport { setTag, setUser, startNewTrace, startSpan } from \"@sentry/core\";\nimport { logError } from \"./logging\";\nimport { RESOURCES, isTemplateResource } from \"./resources\";\nimport { PROMPT_DEFINITIONS } from \"./promptDefinitions\";\nimport { PROMPT_HANDLERS } from \"./prompts\";\nimport { ApiError } from \"./api-client\";\nimport { UserInputError } from \"./errors\";\n\n/**\n * Type guard to identify Sentry API errors.\n */\nfunction isApiError(error: unknown): error is ApiError {\n return error instanceof ApiError;\n}\n\n/**\n * Type guard to identify user input validation errors.\n */\nfunction isUserInputError(error: unknown) {\n return error instanceof UserInputError;\n}\n\n/**\n * Formats errors for LLM consumption with appropriate telemetry handling.\n *\n * **Error Types:**\n * - User Input Errors: Clear guidance without telemetry\n * - API Errors: Enhanced messaging with HTTP status context\n * - System Errors: Full telemetry capture with event IDs\n *\n * @example User Input Error Response\n * ```markdown\n * **Input Error**\n *\n * It looks like there was a problem with the input you provided.\n * Organization slug is required. Please provide an organizationSlug parameter.\n * You may be able to resolve the issue by addressing the concern and trying again.\n * ```\n */\nasync function logAndFormatError(error: unknown) {\n if (isUserInputError(error)) {\n const typedError = error as UserInputError;\n return [\n \"**Input Error**\",\n \"It looks like there was a problem with the input you provided.\",\n typedError.message,\n `You may be able to resolve the issue by addressing the concern and trying again.`,\n ].join(\"\\n\\n\");\n }\n\n if (isApiError(error)) {\n const typedError = error as ApiError;\n return [\n \"**Error**\",\n `There was an HTTP ${typedError.status} error with the your request to the Sentry API.`,\n `${typedError.message}`,\n `You may be able to resolve the issue by addressing the concern and trying again.`,\n ].join(\"\\n\\n\");\n }\n\n const eventId = logError(error);\n\n return [\n \"**Error**\",\n \"It looks like there was a problem communicating with the Sentry API.\",\n \"Please report the following to the user for the Sentry team:\",\n `**Event ID**: ${eventId}`,\n process.env.NODE_ENV !== \"production\"\n ? error instanceof Error\n ? error.message\n : String(error)\n : \"\",\n ].join(\"\\n\\n\");\n}\n\n/**\n * Extracts MCP request parameters for OpenTelemetry attributes.\n *\n * @example Parameter Transformation\n * ```typescript\n * const input = { organizationSlug: \"my-org\", query: \"is:unresolved\" };\n * const output = extractMcpParameters(input);\n * // { \"mcp.request.argument.organizationSlug\": \"\\\"my-org\\\"\", \"mcp.request.argument.query\": \"\\\"is:unresolved\\\"\" }\n * ```\n */\nfunction extractMcpParameters(args: Record<string, unknown>) {\n return Object.fromEntries(\n Object.entries(args).map(([key, value]) => {\n return [`mcp.request.argument.${key}`, JSON.stringify(value)];\n }),\n );\n}\n\n/**\n * Creates a telemetry wrapper for regular URI resource handlers.\n * Captures URI access and user context for observability.\n */\nfunction createResourceHandler(\n resource: { name: string; handler: ReadResourceCallback },\n context: ServerContext,\n): ReadResourceCallback {\n return async (uri: URL, extra: RequestHandlerExtra<any, any>) => {\n return await startNewTrace(async () => {\n return await startSpan(\n {\n name: `resources/read ${resource.name}`,\n attributes: {\n \"mcp.resource.name\": resource.name,\n \"mcp.resource.uri\": uri.toString(),\n ...(context.userAgent && {\n \"user_agent.original\": context.userAgent,\n }),\n },\n },\n async () => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n\n return resource.handler(uri, extra);\n },\n );\n });\n };\n}\n\n/**\n * Creates a telemetry wrapper for URI template resource handlers.\n * Captures template parameters and user context for observability.\n */\nfunction createTemplateResourceHandler(\n resource: { name: string; handler: ReadResourceCallback },\n context: ServerContext,\n): ReadResourceTemplateCallback {\n return async (\n uri: URL,\n variables: Variables,\n extra: RequestHandlerExtra<any, any>,\n ) => {\n return await startNewTrace(async () => {\n return await startSpan(\n {\n name: `resources/read ${resource.name}`,\n attributes: {\n \"mcp.resource.name\": resource.name,\n \"mcp.resource.uri\": uri.toString(),\n ...(context.userAgent && {\n \"user_agent.original\": context.userAgent,\n }),\n ...extractMcpParameters(variables),\n },\n },\n async () => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n\n // The MCP SDK has already constructed the URI from the template and variables\n // We just need to call the handler with the constructed URI\n return resource.handler(uri, extra);\n },\n );\n });\n };\n}\n\n/**\n * Configures an MCP server with all tools, prompts, resources, and telemetry.\n *\n * Transforms a bare MCP server instance into a fully-featured Sentry integration\n * with comprehensive observability, error handling, and handler registration.\n *\n * @example Basic Configuration\n * ```typescript\n * const server = new McpServer();\n * const context = {\n * accessToken: process.env.SENTRY_TOKEN,\n * host: \"sentry.io\",\n * userId: \"user-123\",\n * clientId: \"cursor-ide\"\n * };\n *\n * await configureServer({ server, context });\n * ```\n */\nexport async function configureServer({\n server,\n context,\n onToolComplete,\n}: { server: McpServer; context: ServerContext; onToolComplete?: () => void }) {\n server.server.onerror = (error) => {\n logError(error);\n };\n\n for (const resource of RESOURCES) {\n if (isTemplateResource(resource)) {\n // Handle URI template resources\n server.registerResource(\n resource.name,\n resource.template,\n {\n description: resource.description,\n mimeType: resource.mimeType,\n },\n createTemplateResourceHandler(resource, context),\n );\n } else {\n // Handle regular URI resources\n server.registerResource(\n resource.name,\n resource.uri,\n {\n description: resource.description,\n mimeType: resource.mimeType,\n },\n createResourceHandler(resource, context),\n );\n }\n }\n\n for (const prompt of PROMPT_DEFINITIONS) {\n const handler = PROMPT_HANDLERS[prompt.name];\n\n server.prompt(\n prompt.name,\n prompt.description,\n prompt.paramsSchema ? prompt.paramsSchema : {},\n async (...args) => {\n try {\n return await startNewTrace(async () => {\n return await startSpan(\n {\n name: `prompts/get ${prompt.name}`,\n attributes: {\n \"mcp.prompt.name\": prompt.name,\n ...(context.userAgent && {\n \"user_agent.original\": context.userAgent,\n }),\n ...extractMcpParameters(args[0] || {}),\n },\n },\n async (span) => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n try {\n // TODO(dcramer): I'm too dumb to figure this out\n // @ts-ignore\n const output = await handler(context, ...args);\n span.setStatus({\n code: 1, // ok\n });\n return {\n messages: [\n {\n role: \"user\" as const,\n content: {\n type: \"text\" as const,\n text: output,\n },\n },\n ],\n };\n } catch (error) {\n span.setStatus({\n code: 2, // error\n });\n throw error;\n }\n },\n );\n });\n } finally {\n onToolComplete?.();\n }\n },\n );\n }\n\n for (const [toolKey, tool] of Object.entries(tools)) {\n server.tool(\n tool.name,\n tool.description,\n tool.inputSchema,\n async (\n params: any,\n extra: RequestHandlerExtra<ServerRequest, ServerNotification>,\n ) => {\n try {\n return await startNewTrace(async () => {\n return await startSpan(\n {\n name: `tools/call ${tool.name}`,\n attributes: {\n \"mcp.tool.name\": tool.name,\n ...(context.userAgent && {\n \"user_agent.original\": context.userAgent,\n }),\n ...extractMcpParameters(params || {}),\n },\n },\n async (span) => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n\n try {\n const output = await tool.handler(params, context);\n span.setStatus({\n code: 1, // ok\n });\n // if the tool returns a string, assume it's a message\n if (typeof output === \"string\") {\n return {\n content: [\n {\n type: \"text\" as const,\n text: output,\n },\n ],\n };\n }\n // if the tool returns a list, assume it's a content list\n if (Array.isArray(output)) {\n return {\n content: output,\n };\n }\n throw new Error(`Invalid tool output: ${output}`);\n } catch (error) {\n span.setStatus({\n code: 2, // error\n });\n\n // CRITICAL: Tool errors MUST be returned as formatted text responses,\n // NOT thrown as exceptions. This ensures consistent error handling\n // and prevents the MCP client from receiving raw error objects.\n //\n // The logAndFormatError function provides user-friendly error messages\n // with appropriate formatting for different error types:\n // - UserInputError: Clear guidance for fixing input problems\n // - ApiError: HTTP status context with helpful messaging\n // - System errors: Sentry event IDs for debugging\n //\n // DO NOT change this to throw error - it breaks error handling!\n return {\n content: [\n {\n type: \"text\" as const,\n text: await logAndFormatError(error),\n },\n ],\n isError: true,\n };\n }\n },\n );\n });\n } finally {\n onToolComplete?.();\n }\n },\n );\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AA2CA,SAAS,WAAWA,OAAmC;AACrD,QAAO,iBAAiBC;AACzB;;;;AAKD,SAAS,iBAAiBD,OAAgB;AACxC,QAAO,iBAAiBE;AACzB;;;;;;;;;;;;;;;;;;AAmBD,eAAe,kBAAkBF,OAAgB;AAC/C,KAAI,iBAAiB,MAAM,EAAE;EAC3B,MAAM,aAAa;AACnB,SAAO;GACL;GACA;GACA,WAAW;IACV;EACF,EAAC,KAAK,OAAO;CACf;AAED,KAAI,WAAW,MAAM,EAAE;EACrB,MAAM,aAAa;AACnB,SAAO;GACL;IACC,oBAAoB,WAAW,OAAO;MACpC,WAAW;IACb;EACF,EAAC,KAAK,OAAO;CACf;CAED,MAAM,UAAU,yBAAS,MAAM;AAE/B,QAAO;EACL;EACA;EACA;GACC,gBAAgB;EACjB,QAAQ,IAAI,aAAa,eACrB,iBAAiB,QACf,MAAM,UACN,OAAO,MAAM,GACf;CACL,EAAC,KAAK,OAAO;AACf;;;;;;;;;;;AAYD,SAAS,qBAAqBG,MAA+B;AAC3D,QAAO,OAAO,YACZ,OAAO,QAAQ,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,KAAK;AACzC,SAAO,EAAE,uBAAuB,OAAO,KAAK,UAAU,MAAM,AAAC;CAC9D,EAAC,CACH;AACF;;;;;AAMD,SAAS,sBACPC,UACAC,SACsB;AACtB,QAAO,OAAOC,KAAUC,UAAyC;AAC/D,SAAO,MAAM,iCAAc,YAAY;AACrC,UAAO,MAAM,6BACX;I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AACd,SAAI,QAAQ,OACV,4BAAQ,EACN,IAAI,QAAQ,OACb,EAAC;AAEJ,SAAI,QAAQ,SACV,2BAAO,aAAa,QAAQ,SAAS;AAGvC,SAAI;MACF,MAAM,SAAS,MAAM,KAAK,QAAQ,QAAQ,QAAQ;AAClD,WAAK,UAAU,EACb,MAAM,EACP,EAAC;AAEF,iBAAW,WAAW,SACpB,QAAO,EACL,SAAS,CACP;OACE,MAAM;OACN,MAAM;MACP,CACF,EACF;AAGH,UAAI,MAAM,QAAQ,OAAO,CACvB,QAAO,EACL,SAAS,OACV;AAEH,YAAM,IAAI,OAAO,uBAAuB;KACzC,SAAQ,OAAO;AACd,WAAK,UAAU,EACb,MAAM,EACP,EAAC;AAaF,aAAO;OACL,SAAS,CACP;QACE,MAAM;QACN,MAAM,MAAM,kBAAkB,MAAM;OACrC,CACF;OACD,SAAS;MACV;KACF;IACF,EACF;GACF,EAAC;EACH,UAAS;AACR,qBAAkB;EACnB;CACF,EACF;AAEJ"}
|
package/dist/server.cjs
CHANGED
|
@@ -2,43 +2,43 @@ require('./constants-ClkMK29-.cjs');
|
|
|
2
2
|
require('./errors-YmiXLOyx.cjs');
|
|
3
3
|
require('./defineTool-lWNTzWl_.cjs');
|
|
4
4
|
require('./schema-B_cMyyJJ.cjs');
|
|
5
|
-
require('./client-
|
|
5
|
+
require('./client-Dkw5iYu3.cjs');
|
|
6
6
|
require('./types-MYBaygjr.cjs');
|
|
7
7
|
require('./api-client-CL1WDkw9.cjs');
|
|
8
|
-
require('./api-utils-
|
|
9
|
-
require('./whoami-
|
|
10
|
-
require('./find-organizations-
|
|
8
|
+
require('./api-utils-d36iteNO.cjs');
|
|
9
|
+
require('./whoami-CEgbTUqt.cjs');
|
|
10
|
+
require('./find-organizations-BrdMfZRO.cjs');
|
|
11
11
|
require('./schema-BpJVmev8.cjs');
|
|
12
|
-
require('./find-teams-
|
|
13
|
-
require('./find-projects-
|
|
14
|
-
require('./find-issues-
|
|
15
|
-
require('./find-releases-
|
|
16
|
-
require('./find-tags-
|
|
12
|
+
require('./find-teams-CnU5x9rQ.cjs');
|
|
13
|
+
require('./find-projects-BZWhlYJh.cjs');
|
|
14
|
+
require('./find-issues-C3uk59rn.cjs');
|
|
15
|
+
require('./find-releases-CZCVEOHZ.cjs');
|
|
16
|
+
require('./find-tags-Byk4d3oZ.cjs');
|
|
17
17
|
require('./issue-helpers-DyAIO0w6.cjs');
|
|
18
|
-
require('./
|
|
19
|
-
require('./
|
|
20
|
-
require('./
|
|
21
|
-
require('./get-
|
|
22
|
-
require('./
|
|
23
|
-
require('./
|
|
24
|
-
require('./
|
|
25
|
-
require('./find-
|
|
26
|
-
require('./
|
|
27
|
-
require('./
|
|
28
|
-
require('./
|
|
29
|
-
require('./
|
|
30
|
-
require('./
|
|
31
|
-
require('./
|
|
32
|
-
require('./
|
|
33
|
-
require('./analyze-issue-with-seer-
|
|
18
|
+
require('./seer-utils-CDm5J8ur.cjs');
|
|
19
|
+
require('./formatting-D0Aki7rK.cjs');
|
|
20
|
+
require('./issue-utils-DMKiif6C.cjs');
|
|
21
|
+
require('./get-issue-details-lBrYR9yx.cjs');
|
|
22
|
+
require('./get-event-attachment-C-ig2-3F.cjs');
|
|
23
|
+
require('./formatting-utils-m9R5bsRU.cjs');
|
|
24
|
+
require('./update-issue-DpkxxiNk.cjs');
|
|
25
|
+
require('./find-errors-CB9NpSxG.cjs');
|
|
26
|
+
require('./find-transactions-DuZyqjhF.cjs');
|
|
27
|
+
require('./create-team-CJhrccc1.cjs');
|
|
28
|
+
require('./logging-CX2buXiG.cjs');
|
|
29
|
+
require('./create-project-BxzRiryg.cjs');
|
|
30
|
+
require('./update-project-DLDDbcGY.cjs');
|
|
31
|
+
require('./create-dsn-Dz8nyTFw.cjs');
|
|
32
|
+
require('./find-dsns-CK59RaUJ.cjs');
|
|
33
|
+
require('./analyze-issue-with-seer-BkVrrh28.cjs');
|
|
34
34
|
require('./fetch-utils-oab6uNp3.cjs');
|
|
35
35
|
require('./fetch-utils-C0F4eH6S.cjs');
|
|
36
|
-
require('./search-docs-
|
|
37
|
-
require('./get-doc-
|
|
38
|
-
require('./tools-
|
|
36
|
+
require('./search-docs-D5Foht_0.cjs');
|
|
37
|
+
require('./get-doc-DaTCenOE.cjs');
|
|
38
|
+
require('./tools-CHnZvVEN.cjs');
|
|
39
39
|
require('./resources-BM_YQGcb.cjs');
|
|
40
40
|
require('./promptDefinitions-C29BWGYg.cjs');
|
|
41
41
|
require('./prompts-Df3i1XSB.cjs');
|
|
42
|
-
const require_server = require('./server-
|
|
42
|
+
const require_server = require('./server-Dgkqz8bA.cjs');
|
|
43
43
|
|
|
44
44
|
exports.configureServer = require_server.configureServer;
|
package/dist/server.d.cts
CHANGED
package/dist/server.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./promptDefinitions-
|
|
2
|
-
import { ServerContext } from "./types-
|
|
1
|
+
import "./promptDefinitions-D3GTBGLr.js";
|
|
2
|
+
import { ServerContext } from "./types-DkJtNDXU.js";
|
|
3
3
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
4
4
|
|
|
5
5
|
//#region src/server.d.ts
|