@sentry/mcp-server 0.15.0 → 0.16.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/dist/{analyze-issue-with-seer-BkVrrh28.cjs → analyze-issue-with-seer-B8ZWokLV.cjs} +50 -10
- package/dist/analyze-issue-with-seer-B8ZWokLV.cjs.map +1 -0
- package/dist/{analyze-issue-with-seer-CoqsTklL.js → analyze-issue-with-seer-szIqv1_I.js} +50 -10
- package/dist/analyze-issue-with-seer-szIqv1_I.js.map +1 -0
- package/dist/api-client/client.cjs +2 -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 +2 -1
- package/dist/api-client/index.cjs +2 -1
- package/dist/api-client/index.d.cts +3 -3
- package/dist/api-client/index.d.ts +3 -3
- package/dist/api-client/index.js +2 -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-B-9vnzoA.cjs +86 -0
- package/dist/api-utils-B-9vnzoA.cjs.map +1 -0
- package/dist/api-utils-CHRiLf2Y.js +69 -0
- package/dist/api-utils-CHRiLf2Y.js.map +1 -0
- package/dist/{client-Dkw5iYu3.cjs → client-C_lwH0jz.cjs} +102 -51
- package/dist/client-C_lwH0jz.cjs.map +1 -0
- package/dist/{client-VCJp6Kcu.d.ts → client-D8vrUp2k.d.cts} +37 -5
- package/dist/client-D8vrUp2k.d.cts.map +1 -0
- package/dist/{client-CQ9Xe1aN.d.cts → client-h32L1Hx5.d.ts} +36 -4
- package/dist/client-h32L1Hx5.d.ts.map +1 -0
- package/dist/{client-DOYWNvVM.js → client-pyNUFaLN.js} +102 -51
- package/dist/client-pyNUFaLN.js.map +1 -0
- package/dist/{create-dsn-D530I7Lr.js → create-dsn-CEEytIa4.js} +2 -2
- package/dist/{create-dsn-D530I7Lr.js.map → create-dsn-CEEytIa4.js.map} +1 -1
- package/dist/{create-dsn-Dz8nyTFw.cjs → create-dsn-CI7MSiQu.cjs} +2 -2
- package/dist/{create-dsn-Dz8nyTFw.cjs.map → create-dsn-CI7MSiQu.cjs.map} +1 -1
- package/dist/{create-project-K1od5Rhx.js → create-project-CoV1e-vp.js} +2 -2
- package/dist/{create-project-K1od5Rhx.js.map → create-project-CoV1e-vp.js.map} +1 -1
- package/dist/{create-project-BxzRiryg.cjs → create-project-DnLKRG1p.cjs} +2 -2
- package/dist/{create-project-BxzRiryg.cjs.map → create-project-DnLKRG1p.cjs.map} +1 -1
- package/dist/{create-team-CJhrccc1.cjs → create-team-DKpKxVIY.cjs} +2 -2
- package/dist/{create-team-CJhrccc1.cjs.map → create-team-DKpKxVIY.cjs.map} +1 -1
- package/dist/{create-team-zHz00C6Q.js → create-team-HWN88CJQ.js} +2 -2
- package/dist/{create-team-zHz00C6Q.js.map → create-team-HWN88CJQ.js.map} +1 -1
- package/dist/errors-BtJEw2Z-.cjs +38 -0
- package/dist/errors-BtJEw2Z-.cjs.map +1 -0
- package/dist/errors-D_R568zP.js +26 -0
- package/dist/errors-D_R568zP.js.map +1 -0
- package/dist/errors.cjs +2 -1
- package/dist/errors.d.cts +10 -2
- package/dist/errors.d.cts.map +1 -1
- package/dist/errors.d.ts +10 -2
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +2 -2
- package/dist/fetch-utils-B0CB5xLM.d.ts +33 -0
- package/dist/fetch-utils-B0CB5xLM.d.ts.map +1 -0
- package/dist/fetch-utils-CTLoW1R8.d.cts +33 -0
- package/dist/fetch-utils-CTLoW1R8.d.cts.map +1 -0
- package/dist/fetch-utils-SuGtrQRz.cjs +64 -0
- package/dist/fetch-utils-SuGtrQRz.cjs.map +1 -0
- package/dist/fetch-utils-gHZdOZV2.js +52 -0
- package/dist/fetch-utils-gHZdOZV2.js.map +1 -0
- package/dist/{find-dsns-BoEP0N7B.js → find-dsns-BB9dQP0b.js} +2 -2
- package/dist/{find-dsns-BoEP0N7B.js.map → find-dsns-BB9dQP0b.js.map} +1 -1
- package/dist/{find-dsns-CK59RaUJ.cjs → find-dsns-vriZSwr7.cjs} +2 -2
- package/dist/{find-dsns-CK59RaUJ.cjs.map → find-dsns-vriZSwr7.cjs.map} +1 -1
- package/dist/{find-errors-CB9NpSxG.cjs → find-errors-BQFHuBHi.cjs} +6 -3
- package/dist/find-errors-BQFHuBHi.cjs.map +1 -0
- package/dist/{find-errors-C3oUMeRi.js → find-errors-CSPsT-Jp.js} +6 -3
- package/dist/find-errors-CSPsT-Jp.js.map +1 -0
- package/dist/{find-issues-C3uk59rn.cjs → find-issues-BG80wLZw.cjs} +7 -4
- package/dist/find-issues-BG80wLZw.cjs.map +1 -0
- package/dist/{find-issues-CAtNGBly.js → find-issues-DoUD8vP0.js} +7 -4
- package/dist/find-issues-DoUD8vP0.js.map +1 -0
- package/dist/{find-organizations-ojXwWWzk.js → find-organizations-BILg1hUb.js} +3 -3
- package/dist/find-organizations-BILg1hUb.js.map +1 -0
- package/dist/{find-organizations-BrdMfZRO.cjs → find-organizations-Cx5vCj4j.cjs} +3 -3
- package/dist/find-organizations-Cx5vCj4j.cjs.map +1 -0
- package/dist/{find-projects-BZWhlYJh.cjs → find-projects-CN99WBex.cjs} +3 -3
- package/dist/{find-projects-BZWhlYJh.cjs.map → find-projects-CN99WBex.cjs.map} +1 -1
- package/dist/{find-projects-fcLG4KpT.js → find-projects-CgCj2_eq.js} +3 -3
- package/dist/{find-projects-fcLG4KpT.js.map → find-projects-CgCj2_eq.js.map} +1 -1
- package/dist/{find-releases-BUozr0Z-.js → find-releases-BsQF3wc5.js} +2 -2
- package/dist/{find-releases-BUozr0Z-.js.map → find-releases-BsQF3wc5.js.map} +1 -1
- package/dist/{find-releases-CZCVEOHZ.cjs → find-releases-Cm11xU5S.cjs} +2 -2
- package/dist/{find-releases-CZCVEOHZ.cjs.map → find-releases-Cm11xU5S.cjs.map} +1 -1
- package/dist/{find-tags-d-wF1Se8.js → find-tags-BRaa2i-r.js} +2 -2
- package/dist/{find-tags-d-wF1Se8.js.map → find-tags-BRaa2i-r.js.map} +1 -1
- package/dist/{find-tags-Byk4d3oZ.cjs → find-tags-BjibTJBm.cjs} +2 -2
- package/dist/{find-tags-Byk4d3oZ.cjs.map → find-tags-BjibTJBm.cjs.map} +1 -1
- package/dist/{find-teams-CnU5x9rQ.cjs → find-teams-CS443jRa.cjs} +3 -3
- package/dist/{find-teams-CnU5x9rQ.cjs.map → find-teams-CS443jRa.cjs.map} +1 -1
- package/dist/{find-teams-BZ118EIK.js → find-teams-XgUg8Nj5.js} +3 -3
- package/dist/{find-teams-BZ118EIK.js.map → find-teams-XgUg8Nj5.js.map} +1 -1
- package/dist/{find-transactions-DuZyqjhF.cjs → find-transactions-B0s_rr0H.cjs} +2 -2
- package/dist/{find-transactions-DuZyqjhF.cjs.map → find-transactions-B0s_rr0H.cjs.map} +1 -1
- package/dist/{find-transactions-BiBgg-AE.js → find-transactions-Cob_B_3u.js} +2 -2
- package/dist/{find-transactions-BiBgg-AE.js.map → find-transactions-Cob_B_3u.js.map} +1 -1
- package/dist/{formatting-D0Aki7rK.cjs → formatting-AXU4XsjJ.cjs} +2 -2
- package/dist/{formatting-D0Aki7rK.cjs.map → formatting-AXU4XsjJ.cjs.map} +1 -1
- package/dist/{formatting-vtXxusbn.d.ts → formatting-DnSI0DHf.d.ts} +4 -4
- package/dist/{formatting-vtXxusbn.d.ts.map → formatting-DnSI0DHf.d.ts.map} +1 -1
- package/dist/{formatting-Bvyded57.js → formatting-WGc5qrhv.js} +2 -2
- package/dist/{formatting-Bvyded57.js.map → formatting-WGc5qrhv.js.map} +1 -1
- package/dist/{formatting-CcTK2X8V.d.cts → formatting-aGQ7M_2w.d.cts} +4 -4
- package/dist/{formatting-CcTK2X8V.d.cts.map → formatting-aGQ7M_2w.d.cts.map} +1 -1
- package/dist/{get-doc-DaTCenOE.cjs → get-doc-ByXR3EWc.cjs} +4 -4
- package/dist/{get-doc-DaTCenOE.cjs.map → get-doc-ByXR3EWc.cjs.map} +1 -1
- package/dist/{get-doc-YTiQznr1.js → get-doc-C1IEG2pH.js} +4 -4
- package/dist/{get-doc-YTiQznr1.js.map → get-doc-C1IEG2pH.js.map} +1 -1
- package/dist/{get-event-attachment-C-ig2-3F.cjs → get-event-attachment-CuGUfVAD.cjs} +2 -2
- package/dist/{get-event-attachment-C-ig2-3F.cjs.map → get-event-attachment-CuGUfVAD.cjs.map} +1 -1
- package/dist/{get-event-attachment-DVCPpUMj.js → get-event-attachment-N11gSV23.js} +2 -2
- package/dist/{get-event-attachment-DVCPpUMj.js.map → get-event-attachment-N11gSV23.js.map} +1 -1
- package/dist/{get-issue-details-Dcmzxknx.js → get-issue-details-BrEGybe0.js} +9 -6
- package/dist/get-issue-details-BrEGybe0.js.map +1 -0
- package/dist/{get-issue-details-lBrYR9yx.cjs → get-issue-details-EklkHsWi.cjs} +9 -6
- package/dist/get-issue-details-EklkHsWi.cjs.map +1 -0
- package/dist/index.cjs +34 -34
- package/dist/index.js +34 -34
- package/dist/internal/fetch-utils.cjs +3 -2
- package/dist/internal/fetch-utils.d.cts +2 -2
- package/dist/internal/fetch-utils.d.ts +2 -2
- package/dist/internal/fetch-utils.js +2 -2
- package/dist/internal/formatting.cjs +2 -2
- package/dist/internal/formatting.d.cts +4 -4
- package/dist/internal/formatting.d.ts +4 -4
- package/dist/internal/formatting.js +2 -2
- package/dist/internal/issue-helpers.cjs +2 -1
- package/dist/internal/issue-helpers.js +2 -1
- package/dist/internal/test-fixtures.d.cts +44 -44
- package/dist/internal/test-fixtures.d.cts.map +1 -1
- package/dist/internal/test-fixtures.d.ts +2 -2
- package/dist/issue-helpers-BJffpNoO.d.ts.map +1 -1
- package/dist/issue-helpers-Cz01Ipvl.d.cts.map +1 -1
- package/dist/{issue-helpers-CqqYnwYE.js → issue-helpers-D2p1Gkgm.js} +15 -19
- package/dist/issue-helpers-D2p1Gkgm.js.map +1 -0
- package/dist/{issue-helpers-DyAIO0w6.cjs → issue-helpers-DvsTfq9u.cjs} +14 -19
- package/dist/issue-helpers-DvsTfq9u.cjs.map +1 -0
- package/dist/{prompts-C8Y9w5c4.js → prompts-Cuwmybyc.js} +2 -2
- package/dist/{prompts-C8Y9w5c4.js.map → prompts-Cuwmybyc.js.map} +1 -1
- package/dist/{prompts-Df3i1XSB.cjs → prompts-uWAbMvLe.cjs} +2 -2
- package/dist/{prompts-Df3i1XSB.cjs.map → prompts-uWAbMvLe.cjs.map} +1 -1
- package/dist/prompts.cjs +2 -2
- package/dist/prompts.js +2 -2
- package/dist/{resources-BM_YQGcb.cjs → resources-BlgeiG6C.cjs} +2 -2
- package/dist/{resources-BM_YQGcb.cjs.map → resources-BlgeiG6C.cjs.map} +1 -1
- package/dist/{resources-BHF8a1ZB.js → resources-CwWOjB8_.js} +2 -2
- package/dist/{resources-BHF8a1ZB.js.map → resources-CwWOjB8_.js.map} +1 -1
- package/dist/resources.cjs +2 -2
- package/dist/resources.js +2 -2
- package/dist/{schema-3NeMWRAm.d.cts → schema-BW_fxx99.d.cts} +157 -157
- package/dist/{schema-3NeMWRAm.d.cts.map → schema-BW_fxx99.d.cts.map} +1 -1
- package/dist/{schema-B3CzDGJk.d.ts → schema-DkWOa2-c.d.ts} +83 -83
- package/dist/{schema-B3CzDGJk.d.ts.map → schema-DkWOa2-c.d.ts.map} +1 -1
- package/dist/schema.d.cts.map +1 -1
- package/dist/{search-docs-BLbB_GV2.js → search-docs-BKUeMSyn.js} +3 -3
- package/dist/{search-docs-BLbB_GV2.js.map → search-docs-BKUeMSyn.js.map} +1 -1
- package/dist/{search-docs-D5Foht_0.cjs → search-docs-Cr-gyE5m.cjs} +3 -3
- package/dist/{search-docs-D5Foht_0.cjs.map → search-docs-Cr-gyE5m.cjs.map} +1 -1
- package/dist/{seer-utils-Cj9DXrow.js → seer-utils-BdE7DddW.js} +4 -2
- package/dist/seer-utils-BdE7DddW.js.map +1 -0
- package/dist/{seer-utils-CDm5J8ur.cjs → seer-utils-BvdVTH85.cjs} +15 -1
- package/dist/seer-utils-BvdVTH85.cjs.map +1 -0
- package/dist/{server-Dgkqz8bA.cjs → server-9IEGGN8V.cjs} +40 -24
- package/dist/{server-BSRxzYFd.js.map → server-9IEGGN8V.cjs.map} +1 -1
- package/dist/{server-BSRxzYFd.js → server-BhNrW6bw.js} +40 -24
- package/dist/server-BhNrW6bw.js.map +1 -0
- package/dist/server.cjs +31 -31
- package/dist/server.d.cts.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +31 -31
- package/dist/{stdio-BcihaDjO.js → stdio-CQmibRBR.js} +3 -3
- package/dist/{stdio-BcihaDjO.js.map → stdio-CQmibRBR.js.map} +1 -1
- package/dist/{stdio-BQAm0Liz.cjs → stdio-mw-fEjO4.cjs} +3 -3
- package/dist/{stdio-BQAm0Liz.cjs.map → stdio-mw-fEjO4.cjs.map} +1 -1
- package/dist/tools/analyze-issue-with-seer.cjs +8 -7
- package/dist/tools/analyze-issue-with-seer.js +8 -7
- package/dist/tools/create-dsn.cjs +4 -4
- package/dist/tools/create-dsn.js +4 -4
- package/dist/tools/create-project.cjs +4 -4
- package/dist/tools/create-project.js +4 -4
- package/dist/tools/create-team.cjs +4 -4
- package/dist/tools/create-team.js +4 -4
- package/dist/tools/find-dsns.cjs +4 -4
- package/dist/tools/find-dsns.js +4 -4
- package/dist/tools/find-errors.cjs +4 -4
- package/dist/tools/find-errors.js +4 -4
- package/dist/tools/find-issues.cjs +4 -4
- package/dist/tools/find-issues.js +4 -4
- package/dist/tools/find-organizations.cjs +4 -4
- package/dist/tools/find-organizations.js +4 -4
- package/dist/tools/find-projects.cjs +4 -4
- package/dist/tools/find-projects.js +4 -4
- package/dist/tools/find-releases.cjs +4 -4
- package/dist/tools/find-releases.js +4 -4
- package/dist/tools/find-tags.cjs +4 -4
- package/dist/tools/find-tags.js +4 -4
- package/dist/tools/find-teams.cjs +4 -4
- package/dist/tools/find-teams.js +4 -4
- package/dist/tools/find-transactions.cjs +4 -4
- package/dist/tools/find-transactions.js +4 -4
- package/dist/tools/get-doc.cjs +4 -4
- package/dist/tools/get-doc.js +4 -4
- package/dist/tools/get-event-attachment.cjs +4 -4
- package/dist/tools/get-event-attachment.js +4 -4
- package/dist/tools/get-issue-details.cjs +7 -7
- package/dist/tools/get-issue-details.js +7 -7
- package/dist/tools/index.cjs +28 -28
- package/dist/tools/index.d.cts +76 -76
- package/dist/tools/index.d.ts +76 -76
- package/dist/tools/index.js +28 -28
- package/dist/tools/search-docs.cjs +4 -3
- package/dist/tools/search-docs.js +4 -3
- package/dist/tools/update-issue.cjs +7 -7
- package/dist/tools/update-issue.js +7 -7
- package/dist/tools/update-project.cjs +4 -4
- package/dist/tools/update-project.js +4 -4
- package/dist/tools/utils/api-utils.cjs +6 -4
- package/dist/tools/utils/api-utils.d.cts +22 -5
- package/dist/tools/utils/api-utils.d.cts.map +1 -1
- package/dist/tools/utils/api-utils.d.ts +22 -5
- package/dist/tools/utils/api-utils.d.ts.map +1 -1
- package/dist/tools/utils/api-utils.js +4 -4
- package/dist/tools/utils/fetch-utils.cjs +3 -2
- package/dist/tools/utils/fetch-utils.d.cts +2 -2
- package/dist/tools/utils/fetch-utils.d.ts +2 -2
- package/dist/tools/utils/fetch-utils.js +2 -2
- package/dist/tools/utils/formatting-utils.d.cts +3 -3
- package/dist/tools/utils/formatting-utils.d.ts +3 -3
- package/dist/tools/utils/issue-utils.cjs +4 -3
- package/dist/tools/utils/issue-utils.d.cts +4 -4
- package/dist/tools/utils/issue-utils.d.ts +4 -4
- package/dist/tools/utils/issue-utils.js +4 -3
- package/dist/tools/utils/seer-utils.cjs +3 -1
- package/dist/tools/utils/seer-utils.d.cts +6 -4
- package/dist/tools/utils/seer-utils.d.cts.map +1 -1
- package/dist/tools/utils/seer-utils.d.ts +6 -4
- package/dist/tools/utils/seer-utils.d.ts.map +1 -1
- package/dist/tools/utils/seer-utils.js +2 -2
- package/dist/tools/whoami.cjs +4 -4
- package/dist/tools/whoami.js +4 -4
- package/dist/tools-AYbI0sEf.js +48 -0
- package/dist/{tools-CdXGgq1W.js.map → tools-AYbI0sEf.js.map} +1 -1
- package/dist/{tools-CHnZvVEN.cjs → tools-CwQFlJzn.cjs} +21 -21
- package/dist/{tools-CHnZvVEN.cjs.map → tools-CwQFlJzn.cjs.map} +1 -1
- package/dist/transports/stdio.cjs +33 -33
- package/dist/transports/stdio.js +33 -33
- package/dist/{types-BoMP-Ro6.d.cts → types-BAbu4Vzx.d.cts} +2 -2
- package/dist/{types-BoMP-Ro6.d.cts.map → types-BAbu4Vzx.d.cts.map} +1 -1
- package/dist/{types-DpV1JAZj.d.ts → types-CoY5KVni.d.ts} +2 -2
- package/dist/{types-DpV1JAZj.d.ts.map → types-CoY5KVni.d.ts.map} +1 -1
- package/dist/{update-issue-DRTQvy6p.js → update-issue-ClbiTLyL.js} +12 -6
- package/dist/update-issue-ClbiTLyL.js.map +1 -0
- package/dist/{update-issue-DpkxxiNk.cjs → update-issue-_4vzwHfZ.cjs} +12 -6
- package/dist/update-issue-_4vzwHfZ.cjs.map +1 -0
- package/dist/{update-project-DLDDbcGY.cjs → update-project-2EEnezbZ.cjs} +3 -3
- package/dist/{update-project-DLDDbcGY.cjs.map → update-project-2EEnezbZ.cjs.map} +1 -1
- package/dist/{update-project-YLxt2ry2.js → update-project-CExfO7tG.js} +3 -3
- package/dist/{update-project-YLxt2ry2.js.map → update-project-CExfO7tG.js.map} +1 -1
- package/dist/version-3e1twbPm.js +6 -0
- package/dist/{version-CcTnFB56.js.map → version-3e1twbPm.js.map} +1 -1
- package/dist/{version-rDjaSkPw.cjs → version-Cp9p-38J.cjs} +2 -2
- package/dist/{version-rDjaSkPw.cjs.map → version-Cp9p-38J.cjs.map} +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.js +1 -1
- package/dist/{whoami-DesNZnaQ.js → whoami-DhoaHHY5.js} +2 -2
- package/dist/{whoami-DesNZnaQ.js.map → whoami-DhoaHHY5.js.map} +1 -1
- package/dist/{whoami-CEgbTUqt.cjs → whoami-m0N5F6BN.cjs} +2 -2
- package/dist/{whoami-CEgbTUqt.cjs.map → whoami-m0N5F6BN.cjs.map} +1 -1
- package/package.json +3 -3
- package/dist/analyze-issue-with-seer-BkVrrh28.cjs.map +0 -1
- package/dist/analyze-issue-with-seer-CoqsTklL.js.map +0 -1
- package/dist/api-utils-C6QJAzFL.js +0 -31
- package/dist/api-utils-C6QJAzFL.js.map +0 -1
- package/dist/api-utils-d36iteNO.cjs +0 -36
- package/dist/api-utils-d36iteNO.cjs.map +0 -1
- package/dist/client-CQ9Xe1aN.d.cts.map +0 -1
- package/dist/client-DOYWNvVM.js.map +0 -1
- package/dist/client-Dkw5iYu3.cjs.map +0 -1
- package/dist/client-VCJp6Kcu.d.ts.map +0 -1
- package/dist/errors-CIoxzIug.js +0 -15
- package/dist/errors-CIoxzIug.js.map +0 -1
- package/dist/errors-YmiXLOyx.cjs +0 -21
- package/dist/errors-YmiXLOyx.cjs.map +0 -1
- package/dist/fetch-utils-BMKjO-cc.js +0 -29
- package/dist/fetch-utils-BMKjO-cc.js.map +0 -1
- package/dist/fetch-utils-Bv9WjUp0.d.ts +0 -14
- package/dist/fetch-utils-Bv9WjUp0.d.ts.map +0 -1
- package/dist/fetch-utils-DzdRW4Yd.d.cts +0 -14
- package/dist/fetch-utils-DzdRW4Yd.d.cts.map +0 -1
- package/dist/fetch-utils-oab6uNp3.cjs +0 -35
- package/dist/fetch-utils-oab6uNp3.cjs.map +0 -1
- package/dist/find-errors-C3oUMeRi.js.map +0 -1
- package/dist/find-errors-CB9NpSxG.cjs.map +0 -1
- package/dist/find-issues-C3uk59rn.cjs.map +0 -1
- package/dist/find-issues-CAtNGBly.js.map +0 -1
- package/dist/find-organizations-BrdMfZRO.cjs.map +0 -1
- package/dist/find-organizations-ojXwWWzk.js.map +0 -1
- package/dist/get-issue-details-Dcmzxknx.js.map +0 -1
- package/dist/get-issue-details-lBrYR9yx.cjs.map +0 -1
- package/dist/issue-helpers-CqqYnwYE.js.map +0 -1
- package/dist/issue-helpers-DyAIO0w6.cjs.map +0 -1
- package/dist/seer-utils-CDm5J8ur.cjs.map +0 -1
- package/dist/seer-utils-Cj9DXrow.js.map +0 -1
- package/dist/server-Dgkqz8bA.cjs.map +0 -1
- package/dist/tools-CdXGgq1W.js +0 -48
- package/dist/update-issue-DRTQvy6p.js.map +0 -1
- package/dist/update-issue-DpkxxiNk.cjs.map +0 -1
- package/dist/version-CcTnFB56.js +0 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExceptionInterface, FrameInterface, ThreadEntrySchema } from "../schema-
|
|
2
|
-
import { Event } from "../types-
|
|
1
|
+
import { ExceptionInterface, FrameInterface, ThreadEntrySchema } from "../schema-BW_fxx99.cjs";
|
|
2
|
+
import { Event } from "../types-BAbu4Vzx.cjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/internal/test-fixtures.d.ts
|
|
@@ -90,7 +90,6 @@ declare class EventBuilder {
|
|
|
90
90
|
}
|
|
91
91
|
declare const testEvents: {
|
|
92
92
|
pythonException: (errorMessage?: string) => {
|
|
93
|
-
platform: string | null;
|
|
94
93
|
message: string | null;
|
|
95
94
|
entries: ({
|
|
96
95
|
type: "exception";
|
|
@@ -149,8 +148,8 @@ declare const testEvents: {
|
|
|
149
148
|
type: "threads";
|
|
150
149
|
data: {
|
|
151
150
|
values?: {
|
|
152
|
-
name?: string | null | undefined;
|
|
153
151
|
id?: number | null | undefined;
|
|
152
|
+
name?: string | null | undefined;
|
|
154
153
|
stacktrace?: {
|
|
155
154
|
frames: {
|
|
156
155
|
function?: string | null | undefined;
|
|
@@ -196,14 +195,14 @@ declare const testEvents: {
|
|
|
196
195
|
})[];
|
|
197
196
|
type: "error";
|
|
198
197
|
id: string;
|
|
198
|
+
platform: string | null;
|
|
199
|
+
dateCreated: string;
|
|
199
200
|
title: string;
|
|
200
201
|
culprit: string | null;
|
|
201
|
-
dateCreated: string;
|
|
202
202
|
contexts?: Record<string, z.objectOutputType<{
|
|
203
203
|
type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
|
|
204
204
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
205
205
|
} | {
|
|
206
|
-
platform: string | null;
|
|
207
206
|
message: string | null;
|
|
208
207
|
entries: ({
|
|
209
208
|
type: "exception";
|
|
@@ -262,8 +261,8 @@ declare const testEvents: {
|
|
|
262
261
|
type: "threads";
|
|
263
262
|
data: {
|
|
264
263
|
values?: {
|
|
265
|
-
name?: string | null | undefined;
|
|
266
264
|
id?: number | null | undefined;
|
|
265
|
+
name?: string | null | undefined;
|
|
267
266
|
stacktrace?: {
|
|
268
267
|
frames: {
|
|
269
268
|
function?: string | null | undefined;
|
|
@@ -309,6 +308,7 @@ declare const testEvents: {
|
|
|
309
308
|
})[];
|
|
310
309
|
type: "transaction";
|
|
311
310
|
id: string;
|
|
311
|
+
platform: string | null;
|
|
312
312
|
title: string;
|
|
313
313
|
occurrence: {
|
|
314
314
|
culprit: string | null;
|
|
@@ -318,7 +318,6 @@ declare const testEvents: {
|
|
|
318
318
|
type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
|
|
319
319
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
320
320
|
} | {
|
|
321
|
-
platform: string | null;
|
|
322
321
|
message: string | null;
|
|
323
322
|
entries: ({
|
|
324
323
|
type: "exception";
|
|
@@ -377,8 +376,8 @@ declare const testEvents: {
|
|
|
377
376
|
type: "threads";
|
|
378
377
|
data: {
|
|
379
378
|
values?: {
|
|
380
|
-
name?: string | null | undefined;
|
|
381
379
|
id?: number | null | undefined;
|
|
380
|
+
name?: string | null | undefined;
|
|
382
381
|
stacktrace?: {
|
|
383
382
|
frames: {
|
|
384
383
|
function?: string | null | undefined;
|
|
@@ -423,6 +422,7 @@ declare const testEvents: {
|
|
|
423
422
|
data?: unknown;
|
|
424
423
|
})[];
|
|
425
424
|
id: string;
|
|
425
|
+
platform: string | null;
|
|
426
426
|
title: string;
|
|
427
427
|
type?: unknown;
|
|
428
428
|
contexts?: Record<string, z.objectOutputType<{
|
|
@@ -430,7 +430,6 @@ declare const testEvents: {
|
|
|
430
430
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
431
431
|
};
|
|
432
432
|
javaThreadError: (message?: string) => {
|
|
433
|
-
platform: string | null;
|
|
434
433
|
message: string | null;
|
|
435
434
|
entries: ({
|
|
436
435
|
type: "exception";
|
|
@@ -489,8 +488,8 @@ declare const testEvents: {
|
|
|
489
488
|
type: "threads";
|
|
490
489
|
data: {
|
|
491
490
|
values?: {
|
|
492
|
-
name?: string | null | undefined;
|
|
493
491
|
id?: number | null | undefined;
|
|
492
|
+
name?: string | null | undefined;
|
|
494
493
|
stacktrace?: {
|
|
495
494
|
frames: {
|
|
496
495
|
function?: string | null | undefined;
|
|
@@ -536,14 +535,14 @@ declare const testEvents: {
|
|
|
536
535
|
})[];
|
|
537
536
|
type: "error";
|
|
538
537
|
id: string;
|
|
538
|
+
platform: string | null;
|
|
539
|
+
dateCreated: string;
|
|
539
540
|
title: string;
|
|
540
541
|
culprit: string | null;
|
|
541
|
-
dateCreated: string;
|
|
542
542
|
contexts?: Record<string, z.objectOutputType<{
|
|
543
543
|
type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
|
|
544
544
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
545
545
|
} | {
|
|
546
|
-
platform: string | null;
|
|
547
546
|
message: string | null;
|
|
548
547
|
entries: ({
|
|
549
548
|
type: "exception";
|
|
@@ -602,8 +601,8 @@ declare const testEvents: {
|
|
|
602
601
|
type: "threads";
|
|
603
602
|
data: {
|
|
604
603
|
values?: {
|
|
605
|
-
name?: string | null | undefined;
|
|
606
604
|
id?: number | null | undefined;
|
|
605
|
+
name?: string | null | undefined;
|
|
607
606
|
stacktrace?: {
|
|
608
607
|
frames: {
|
|
609
608
|
function?: string | null | undefined;
|
|
@@ -649,6 +648,7 @@ declare const testEvents: {
|
|
|
649
648
|
})[];
|
|
650
649
|
type: "transaction";
|
|
651
650
|
id: string;
|
|
651
|
+
platform: string | null;
|
|
652
652
|
title: string;
|
|
653
653
|
occurrence: {
|
|
654
654
|
culprit: string | null;
|
|
@@ -658,7 +658,6 @@ declare const testEvents: {
|
|
|
658
658
|
type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
|
|
659
659
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
660
660
|
} | {
|
|
661
|
-
platform: string | null;
|
|
662
661
|
message: string | null;
|
|
663
662
|
entries: ({
|
|
664
663
|
type: "exception";
|
|
@@ -717,8 +716,8 @@ declare const testEvents: {
|
|
|
717
716
|
type: "threads";
|
|
718
717
|
data: {
|
|
719
718
|
values?: {
|
|
720
|
-
name?: string | null | undefined;
|
|
721
719
|
id?: number | null | undefined;
|
|
720
|
+
name?: string | null | undefined;
|
|
722
721
|
stacktrace?: {
|
|
723
722
|
frames: {
|
|
724
723
|
function?: string | null | undefined;
|
|
@@ -763,6 +762,7 @@ declare const testEvents: {
|
|
|
763
762
|
data?: unknown;
|
|
764
763
|
})[];
|
|
765
764
|
id: string;
|
|
765
|
+
platform: string | null;
|
|
766
766
|
title: string;
|
|
767
767
|
type?: unknown;
|
|
768
768
|
contexts?: Record<string, z.objectOutputType<{
|
|
@@ -770,7 +770,6 @@ declare const testEvents: {
|
|
|
770
770
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
771
771
|
};
|
|
772
772
|
enhancedFrame: (platform?: string) => {
|
|
773
|
-
platform: string | null;
|
|
774
773
|
message: string | null;
|
|
775
774
|
entries: ({
|
|
776
775
|
type: "exception";
|
|
@@ -829,8 +828,8 @@ declare const testEvents: {
|
|
|
829
828
|
type: "threads";
|
|
830
829
|
data: {
|
|
831
830
|
values?: {
|
|
832
|
-
name?: string | null | undefined;
|
|
833
831
|
id?: number | null | undefined;
|
|
832
|
+
name?: string | null | undefined;
|
|
834
833
|
stacktrace?: {
|
|
835
834
|
frames: {
|
|
836
835
|
function?: string | null | undefined;
|
|
@@ -876,14 +875,14 @@ declare const testEvents: {
|
|
|
876
875
|
})[];
|
|
877
876
|
type: "error";
|
|
878
877
|
id: string;
|
|
878
|
+
platform: string | null;
|
|
879
|
+
dateCreated: string;
|
|
879
880
|
title: string;
|
|
880
881
|
culprit: string | null;
|
|
881
|
-
dateCreated: string;
|
|
882
882
|
contexts?: Record<string, z.objectOutputType<{
|
|
883
883
|
type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
|
|
884
884
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
885
885
|
} | {
|
|
886
|
-
platform: string | null;
|
|
887
886
|
message: string | null;
|
|
888
887
|
entries: ({
|
|
889
888
|
type: "exception";
|
|
@@ -942,8 +941,8 @@ declare const testEvents: {
|
|
|
942
941
|
type: "threads";
|
|
943
942
|
data: {
|
|
944
943
|
values?: {
|
|
945
|
-
name?: string | null | undefined;
|
|
946
944
|
id?: number | null | undefined;
|
|
945
|
+
name?: string | null | undefined;
|
|
947
946
|
stacktrace?: {
|
|
948
947
|
frames: {
|
|
949
948
|
function?: string | null | undefined;
|
|
@@ -989,6 +988,7 @@ declare const testEvents: {
|
|
|
989
988
|
})[];
|
|
990
989
|
type: "transaction";
|
|
991
990
|
id: string;
|
|
991
|
+
platform: string | null;
|
|
992
992
|
title: string;
|
|
993
993
|
occurrence: {
|
|
994
994
|
culprit: string | null;
|
|
@@ -998,7 +998,6 @@ declare const testEvents: {
|
|
|
998
998
|
type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
|
|
999
999
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1000
1000
|
} | {
|
|
1001
|
-
platform: string | null;
|
|
1002
1001
|
message: string | null;
|
|
1003
1002
|
entries: ({
|
|
1004
1003
|
type: "exception";
|
|
@@ -1057,8 +1056,8 @@ declare const testEvents: {
|
|
|
1057
1056
|
type: "threads";
|
|
1058
1057
|
data: {
|
|
1059
1058
|
values?: {
|
|
1060
|
-
name?: string | null | undefined;
|
|
1061
1059
|
id?: number | null | undefined;
|
|
1060
|
+
name?: string | null | undefined;
|
|
1062
1061
|
stacktrace?: {
|
|
1063
1062
|
frames: {
|
|
1064
1063
|
function?: string | null | undefined;
|
|
@@ -1103,6 +1102,7 @@ declare const testEvents: {
|
|
|
1103
1102
|
data?: unknown;
|
|
1104
1103
|
})[];
|
|
1105
1104
|
id: string;
|
|
1105
|
+
platform: string | null;
|
|
1106
1106
|
title: string;
|
|
1107
1107
|
type?: unknown;
|
|
1108
1108
|
contexts?: Record<string, z.objectOutputType<{
|
|
@@ -1113,7 +1113,6 @@ declare const testEvents: {
|
|
|
1113
1113
|
declare function createFrameWithContext(frame: Partial<Frame>, contextLines: Array<[number, string]>, vars?: Record<string, any>): Frame;
|
|
1114
1114
|
declare const advancedFixtures: {
|
|
1115
1115
|
minimalError: (message: string, platform?: string) => {
|
|
1116
|
-
platform: string | null;
|
|
1117
1116
|
message: string | null;
|
|
1118
1117
|
entries: ({
|
|
1119
1118
|
type: "exception";
|
|
@@ -1172,8 +1171,8 @@ declare const advancedFixtures: {
|
|
|
1172
1171
|
type: "threads";
|
|
1173
1172
|
data: {
|
|
1174
1173
|
values?: {
|
|
1175
|
-
name?: string | null | undefined;
|
|
1176
1174
|
id?: number | null | undefined;
|
|
1175
|
+
name?: string | null | undefined;
|
|
1177
1176
|
stacktrace?: {
|
|
1178
1177
|
frames: {
|
|
1179
1178
|
function?: string | null | undefined;
|
|
@@ -1219,14 +1218,14 @@ declare const advancedFixtures: {
|
|
|
1219
1218
|
})[];
|
|
1220
1219
|
type: "error";
|
|
1221
1220
|
id: string;
|
|
1221
|
+
platform: string | null;
|
|
1222
|
+
dateCreated: string;
|
|
1222
1223
|
title: string;
|
|
1223
1224
|
culprit: string | null;
|
|
1224
|
-
dateCreated: string;
|
|
1225
1225
|
contexts?: Record<string, z.objectOutputType<{
|
|
1226
1226
|
type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
|
|
1227
1227
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1228
1228
|
} | {
|
|
1229
|
-
platform: string | null;
|
|
1230
1229
|
message: string | null;
|
|
1231
1230
|
entries: ({
|
|
1232
1231
|
type: "exception";
|
|
@@ -1285,8 +1284,8 @@ declare const advancedFixtures: {
|
|
|
1285
1284
|
type: "threads";
|
|
1286
1285
|
data: {
|
|
1287
1286
|
values?: {
|
|
1288
|
-
name?: string | null | undefined;
|
|
1289
1287
|
id?: number | null | undefined;
|
|
1288
|
+
name?: string | null | undefined;
|
|
1290
1289
|
stacktrace?: {
|
|
1291
1290
|
frames: {
|
|
1292
1291
|
function?: string | null | undefined;
|
|
@@ -1332,6 +1331,7 @@ declare const advancedFixtures: {
|
|
|
1332
1331
|
})[];
|
|
1333
1332
|
type: "transaction";
|
|
1334
1333
|
id: string;
|
|
1334
|
+
platform: string | null;
|
|
1335
1335
|
title: string;
|
|
1336
1336
|
occurrence: {
|
|
1337
1337
|
culprit: string | null;
|
|
@@ -1341,7 +1341,6 @@ declare const advancedFixtures: {
|
|
|
1341
1341
|
type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
|
|
1342
1342
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1343
1343
|
} | {
|
|
1344
|
-
platform: string | null;
|
|
1345
1344
|
message: string | null;
|
|
1346
1345
|
entries: ({
|
|
1347
1346
|
type: "exception";
|
|
@@ -1400,8 +1399,8 @@ declare const advancedFixtures: {
|
|
|
1400
1399
|
type: "threads";
|
|
1401
1400
|
data: {
|
|
1402
1401
|
values?: {
|
|
1403
|
-
name?: string | null | undefined;
|
|
1404
1402
|
id?: number | null | undefined;
|
|
1403
|
+
name?: string | null | undefined;
|
|
1405
1404
|
stacktrace?: {
|
|
1406
1405
|
frames: {
|
|
1407
1406
|
function?: string | null | undefined;
|
|
@@ -1446,6 +1445,7 @@ declare const advancedFixtures: {
|
|
|
1446
1445
|
data?: unknown;
|
|
1447
1446
|
})[];
|
|
1448
1447
|
id: string;
|
|
1448
|
+
platform: string | null;
|
|
1449
1449
|
title: string;
|
|
1450
1450
|
type?: unknown;
|
|
1451
1451
|
contexts?: Record<string, z.objectOutputType<{
|
|
@@ -1453,7 +1453,6 @@ declare const advancedFixtures: {
|
|
|
1453
1453
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1454
1454
|
};
|
|
1455
1455
|
chainedExceptions: (platform?: string) => {
|
|
1456
|
-
platform: string | null;
|
|
1457
1456
|
message: string | null;
|
|
1458
1457
|
entries: ({
|
|
1459
1458
|
type: "exception";
|
|
@@ -1512,8 +1511,8 @@ declare const advancedFixtures: {
|
|
|
1512
1511
|
type: "threads";
|
|
1513
1512
|
data: {
|
|
1514
1513
|
values?: {
|
|
1515
|
-
name?: string | null | undefined;
|
|
1516
1514
|
id?: number | null | undefined;
|
|
1515
|
+
name?: string | null | undefined;
|
|
1517
1516
|
stacktrace?: {
|
|
1518
1517
|
frames: {
|
|
1519
1518
|
function?: string | null | undefined;
|
|
@@ -1559,14 +1558,14 @@ declare const advancedFixtures: {
|
|
|
1559
1558
|
})[];
|
|
1560
1559
|
type: "error";
|
|
1561
1560
|
id: string;
|
|
1561
|
+
platform: string | null;
|
|
1562
|
+
dateCreated: string;
|
|
1562
1563
|
title: string;
|
|
1563
1564
|
culprit: string | null;
|
|
1564
|
-
dateCreated: string;
|
|
1565
1565
|
contexts?: Record<string, z.objectOutputType<{
|
|
1566
1566
|
type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
|
|
1567
1567
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1568
1568
|
} | {
|
|
1569
|
-
platform: string | null;
|
|
1570
1569
|
message: string | null;
|
|
1571
1570
|
entries: ({
|
|
1572
1571
|
type: "exception";
|
|
@@ -1625,8 +1624,8 @@ declare const advancedFixtures: {
|
|
|
1625
1624
|
type: "threads";
|
|
1626
1625
|
data: {
|
|
1627
1626
|
values?: {
|
|
1628
|
-
name?: string | null | undefined;
|
|
1629
1627
|
id?: number | null | undefined;
|
|
1628
|
+
name?: string | null | undefined;
|
|
1630
1629
|
stacktrace?: {
|
|
1631
1630
|
frames: {
|
|
1632
1631
|
function?: string | null | undefined;
|
|
@@ -1672,6 +1671,7 @@ declare const advancedFixtures: {
|
|
|
1672
1671
|
})[];
|
|
1673
1672
|
type: "transaction";
|
|
1674
1673
|
id: string;
|
|
1674
|
+
platform: string | null;
|
|
1675
1675
|
title: string;
|
|
1676
1676
|
occurrence: {
|
|
1677
1677
|
culprit: string | null;
|
|
@@ -1681,7 +1681,6 @@ declare const advancedFixtures: {
|
|
|
1681
1681
|
type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
|
|
1682
1682
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1683
1683
|
} | {
|
|
1684
|
-
platform: string | null;
|
|
1685
1684
|
message: string | null;
|
|
1686
1685
|
entries: ({
|
|
1687
1686
|
type: "exception";
|
|
@@ -1740,8 +1739,8 @@ declare const advancedFixtures: {
|
|
|
1740
1739
|
type: "threads";
|
|
1741
1740
|
data: {
|
|
1742
1741
|
values?: {
|
|
1743
|
-
name?: string | null | undefined;
|
|
1744
1742
|
id?: number | null | undefined;
|
|
1743
|
+
name?: string | null | undefined;
|
|
1745
1744
|
stacktrace?: {
|
|
1746
1745
|
frames: {
|
|
1747
1746
|
function?: string | null | undefined;
|
|
@@ -1786,6 +1785,7 @@ declare const advancedFixtures: {
|
|
|
1786
1785
|
data?: unknown;
|
|
1787
1786
|
})[];
|
|
1788
1787
|
id: string;
|
|
1788
|
+
platform: string | null;
|
|
1789
1789
|
title: string;
|
|
1790
1790
|
type?: unknown;
|
|
1791
1791
|
contexts?: Record<string, z.objectOutputType<{
|
|
@@ -1793,7 +1793,6 @@ declare const advancedFixtures: {
|
|
|
1793
1793
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1794
1794
|
};
|
|
1795
1795
|
withContextData: (contexts: Record<string, any>) => {
|
|
1796
|
-
platform: string | null;
|
|
1797
1796
|
message: string | null;
|
|
1798
1797
|
entries: ({
|
|
1799
1798
|
type: "exception";
|
|
@@ -1852,8 +1851,8 @@ declare const advancedFixtures: {
|
|
|
1852
1851
|
type: "threads";
|
|
1853
1852
|
data: {
|
|
1854
1853
|
values?: {
|
|
1855
|
-
name?: string | null | undefined;
|
|
1856
1854
|
id?: number | null | undefined;
|
|
1855
|
+
name?: string | null | undefined;
|
|
1857
1856
|
stacktrace?: {
|
|
1858
1857
|
frames: {
|
|
1859
1858
|
function?: string | null | undefined;
|
|
@@ -1899,14 +1898,14 @@ declare const advancedFixtures: {
|
|
|
1899
1898
|
})[];
|
|
1900
1899
|
type: "error";
|
|
1901
1900
|
id: string;
|
|
1901
|
+
platform: string | null;
|
|
1902
|
+
dateCreated: string;
|
|
1902
1903
|
title: string;
|
|
1903
1904
|
culprit: string | null;
|
|
1904
|
-
dateCreated: string;
|
|
1905
1905
|
contexts?: Record<string, z.objectOutputType<{
|
|
1906
1906
|
type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
|
|
1907
1907
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1908
1908
|
} | {
|
|
1909
|
-
platform: string | null;
|
|
1910
1909
|
message: string | null;
|
|
1911
1910
|
entries: ({
|
|
1912
1911
|
type: "exception";
|
|
@@ -1965,8 +1964,8 @@ declare const advancedFixtures: {
|
|
|
1965
1964
|
type: "threads";
|
|
1966
1965
|
data: {
|
|
1967
1966
|
values?: {
|
|
1968
|
-
name?: string | null | undefined;
|
|
1969
1967
|
id?: number | null | undefined;
|
|
1968
|
+
name?: string | null | undefined;
|
|
1970
1969
|
stacktrace?: {
|
|
1971
1970
|
frames: {
|
|
1972
1971
|
function?: string | null | undefined;
|
|
@@ -2012,6 +2011,7 @@ declare const advancedFixtures: {
|
|
|
2012
2011
|
})[];
|
|
2013
2012
|
type: "transaction";
|
|
2014
2013
|
id: string;
|
|
2014
|
+
platform: string | null;
|
|
2015
2015
|
title: string;
|
|
2016
2016
|
occurrence: {
|
|
2017
2017
|
culprit: string | null;
|
|
@@ -2021,7 +2021,6 @@ declare const advancedFixtures: {
|
|
|
2021
2021
|
type: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"runtime">, z.ZodLiteral<"os">, z.ZodLiteral<"trace">, z.ZodUnknown]>;
|
|
2022
2022
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
2023
2023
|
} | {
|
|
2024
|
-
platform: string | null;
|
|
2025
2024
|
message: string | null;
|
|
2026
2025
|
entries: ({
|
|
2027
2026
|
type: "exception";
|
|
@@ -2080,8 +2079,8 @@ declare const advancedFixtures: {
|
|
|
2080
2079
|
type: "threads";
|
|
2081
2080
|
data: {
|
|
2082
2081
|
values?: {
|
|
2083
|
-
name?: string | null | undefined;
|
|
2084
2082
|
id?: number | null | undefined;
|
|
2083
|
+
name?: string | null | undefined;
|
|
2085
2084
|
stacktrace?: {
|
|
2086
2085
|
frames: {
|
|
2087
2086
|
function?: string | null | undefined;
|
|
@@ -2126,6 +2125,7 @@ declare const advancedFixtures: {
|
|
|
2126
2125
|
data?: unknown;
|
|
2127
2126
|
})[];
|
|
2128
2127
|
id: string;
|
|
2128
|
+
platform: string | null;
|
|
2129
2129
|
title: string;
|
|
2130
2130
|
type?: unknown;
|
|
2131
2131
|
contexts?: Record<string, z.objectOutputType<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-fixtures.d.cts","names":[],"sources":["../../src/internal/test-fixtures.ts"],"sourcesContent":[],"mappings":";;;;;KASK,KAAA,GAAQ,CAAA,CAAE,aAAa;KACvB,cAAA,GAAiB,CAAA,CAAE,aAAa;AAJP,KAKzB,MAAA,GAAS,CAAA,CAAE,KAFN,CAAA,OAEmB,iBAFnB,CAAA;KAGL,UAAA,GAHK;EAAA,MAAkB,EAGA,KAHA,EAAA;CAAc;AAAtB;AAAA;;;AACE,iBAUN,WAAA,CAVQ,SAAA,CAAA,EAUe,OAVf,CAUuB,KAVvB,CAAA,CAAA,EAUqC,KAVrC;AAAK,cAoBhB,cApBgB,EAAA;EACxB,MAAA,EAAA,CAAM,SAAA,CAAA,EAoBW,OApBX,CAoBmB,KApBnB,CAAA,EAAA,GAAA;IAAA,QAAA,CAAA,EAAA,MAAA,GAAA,IAAA,GAAA,SAAA;IAAkB,QAAA,CAAA,EAAA,MAAA,GAAA,IAAA,GAAA,SAAA;IAAf,MAAE,CAAA,EAAA,MAAA,GAAA,IAAA,GAAA,SAAA;IAAK,KAAA,CAAA,EAAA,MAAA,GAAA,IAAA,GAAA,SAAA;IAChB,OAAA,CAAA,EAAU,MAAA,GAAA,IAAa,GAAK,SAAA;IAQjB,MAAA,CAAA,EAAA,MAAW,GAAA,IAAA,GAAA,SAAA;IAAA,OAAA,CAAA,EAAA,CAAA,MAAA,EAAA,MAAA,CAAA,EAAA,GAAA,SAAA;IAAoB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAH6B;;;;;;;;;;;;;;;;;;;;;;qBAAM"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExceptionInterface, FrameInterface, ThreadEntrySchema } from "../schema-
|
|
2
|
-
import { Event } from "../types-
|
|
1
|
+
import { ExceptionInterface, FrameInterface, ThreadEntrySchema } from "../schema-DkWOa2-c.js";
|
|
2
|
+
import { Event } from "../types-CoY5KVni.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/internal/test-fixtures.d.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issue-helpers-BJffpNoO.d.ts","names":[],"sources":["../src/internal/issue-helpers.ts"],"sourcesContent":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"issue-helpers-BJffpNoO.d.ts","names":[],"sources":["../src/internal/issue-helpers.ts"],"sourcesContent":[],"mappings":";;AAkBA;AAqEA;AAoCA;;;;;AAGkB;;;;;;;iBA5GF,cAAA;;;;;;;;;;;;iBAqEA,YAAA;;;;;;;;iBAoCA,gBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issue-helpers-Cz01Ipvl.d.cts","names":[],"sources":["../src/internal/issue-helpers.ts"],"sourcesContent":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"issue-helpers-Cz01Ipvl.d.cts","names":[],"sources":["../src/internal/issue-helpers.ts"],"sourcesContent":[],"mappings":";;AAkBA;AAqEA;AAoCA;;;;;AAGkB;;;;;;;iBA5GF,cAAA;;;;;;;;;;;;iBAqEA,YAAA;;;;;;;;iBAoCA,gBAAA"}
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
+
import { UserInputError } from "./errors-D_R568zP.js";
|
|
2
|
+
|
|
1
3
|
//#region src/internal/issue-helpers.ts
|
|
2
4
|
/**
|
|
3
|
-
* Issue parameter parsing and validation utilities.
|
|
4
|
-
*
|
|
5
|
-
* Handles flexible input formats for Sentry issues (URLs vs explicit parameters),
|
|
6
|
-
* extracts organization and issue identifiers, and validates issue ID formats.
|
|
7
|
-
* Provides robust parsing for LLM-generated parameters that may contain formatting
|
|
8
|
-
* inconsistencies.
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
5
|
* Extracts the Sentry issue ID and organization slug from a full URL
|
|
12
6
|
*
|
|
13
7
|
* @param url - A full Sentry issue URL
|
|
@@ -15,18 +9,18 @@
|
|
|
15
9
|
* @throws Error if the input is invalid
|
|
16
10
|
*/
|
|
17
11
|
function extractIssueId(url) {
|
|
18
|
-
if (!url || typeof url !== "string") throw new
|
|
19
|
-
if (!url.startsWith("http://") && !url.startsWith("https://")) throw new
|
|
12
|
+
if (!url || typeof url !== "string") throw new UserInputError("Invalid Sentry issue URL. URL must be a non-empty string.");
|
|
13
|
+
if (!url.startsWith("http://") && !url.startsWith("https://")) throw new UserInputError("Invalid Sentry issue URL. Must start with http:// or https://");
|
|
20
14
|
let parsedUrl;
|
|
21
15
|
try {
|
|
22
16
|
parsedUrl = new URL(url);
|
|
23
17
|
} catch (error) {
|
|
24
|
-
throw new
|
|
18
|
+
throw new UserInputError(`Invalid Sentry issue URL. Unable to parse URL: ${url}`);
|
|
25
19
|
}
|
|
26
20
|
const pathParts = parsedUrl.pathname.split("/").filter(Boolean);
|
|
27
|
-
if (pathParts.length < 2 || !pathParts.includes("issues")) throw new
|
|
21
|
+
if (pathParts.length < 2 || !pathParts.includes("issues")) throw new UserInputError("Invalid Sentry issue URL. Path must contain '/issues/{issue_id}'");
|
|
28
22
|
const issueId = pathParts[pathParts.indexOf("issues") + 1];
|
|
29
|
-
if (!issueId) throw new
|
|
23
|
+
if (!issueId) throw new UserInputError("Unable to determine issue ID from URL.");
|
|
30
24
|
let organizationSlug;
|
|
31
25
|
if (pathParts.includes("organizations")) organizationSlug = pathParts[pathParts.indexOf("organizations") + 1];
|
|
32
26
|
else if (pathParts.length > 1 && pathParts[0] !== "issues") organizationSlug = pathParts[0];
|
|
@@ -34,7 +28,7 @@ function extractIssueId(url) {
|
|
|
34
28
|
const hostParts = parsedUrl.hostname.split(".");
|
|
35
29
|
if (hostParts.length > 2 && hostParts[0] !== "www") organizationSlug = hostParts[0];
|
|
36
30
|
}
|
|
37
|
-
if (!organizationSlug) throw new
|
|
31
|
+
if (!organizationSlug) throw new UserInputError("Invalid Sentry issue URL. Could not determine organization.");
|
|
38
32
|
return {
|
|
39
33
|
issueId,
|
|
40
34
|
organizationSlug
|
|
@@ -49,10 +43,12 @@ function extractIssueId(url) {
|
|
|
49
43
|
* @returns The parsed issue ID
|
|
50
44
|
*/
|
|
51
45
|
function parseIssueId(issueId) {
|
|
46
|
+
if (!issueId.trim()) throw new UserInputError("Issue ID cannot be empty");
|
|
52
47
|
let finalIssueId = issueId;
|
|
53
48
|
finalIssueId = finalIssueId.replace(/[^\w-]/g, "");
|
|
54
|
-
|
|
55
|
-
|
|
49
|
+
if (!finalIssueId) throw new UserInputError("Issue ID cannot be empty after removing special characters");
|
|
50
|
+
const validFormatRegex = /^(\d+|[A-Za-z0-9][\w-]*-[A-Za-z0-9]+)$/;
|
|
51
|
+
if (!validFormatRegex.test(finalIssueId)) throw new UserInputError(`Invalid issue ID format: "${finalIssueId}". Expected either a numeric ID or a project code followed by an alphanumeric identifier (e.g., "PROJECT-ABC123").`);
|
|
56
52
|
return finalIssueId;
|
|
57
53
|
}
|
|
58
54
|
/**
|
|
@@ -71,14 +67,14 @@ function parseIssueParams({ issueUrl, issueId, organizationSlug }) {
|
|
|
71
67
|
issueId: parseIssueId(resolved.issueId)
|
|
72
68
|
};
|
|
73
69
|
}
|
|
74
|
-
if (!organizationSlug) throw new
|
|
70
|
+
if (!organizationSlug) throw new UserInputError("Organization slug is required");
|
|
75
71
|
if (issueId) return {
|
|
76
72
|
organizationSlug,
|
|
77
73
|
issueId: parseIssueId(issueId)
|
|
78
74
|
};
|
|
79
|
-
throw new
|
|
75
|
+
throw new UserInputError("Either issueId or issueUrl must be provided");
|
|
80
76
|
}
|
|
81
77
|
|
|
82
78
|
//#endregion
|
|
83
79
|
export { extractIssueId, parseIssueId, parseIssueParams };
|
|
84
|
-
//# sourceMappingURL=issue-helpers-
|
|
80
|
+
//# sourceMappingURL=issue-helpers-D2p1Gkgm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"issue-helpers-D2p1Gkgm.js","names":["url: string","parsedUrl: URL","organizationSlug: string | undefined","issueId: string"],"sources":["../src/internal/issue-helpers.ts"],"sourcesContent":["/**\n * Issue parameter parsing and validation utilities.\n *\n * Handles flexible input formats for Sentry issues (URLs vs explicit parameters),\n * extracts organization and issue identifiers, and validates issue ID formats.\n * Provides robust parsing for LLM-generated parameters that may contain formatting\n * inconsistencies.\n */\n\nimport { UserInputError } from \"../errors\";\n\n/**\n * Extracts the Sentry issue ID and organization slug from a full URL\n *\n * @param url - A full Sentry issue URL\n * @returns Object containing the numeric issue ID and organization slug (if found)\n * @throws Error if the input is invalid\n */\nexport function extractIssueId(url: string): {\n issueId: string;\n organizationSlug: string;\n} {\n if (!url || typeof url !== \"string\") {\n throw new UserInputError(\n \"Invalid Sentry issue URL. URL must be a non-empty string.\",\n );\n }\n\n if (!url.startsWith(\"http://\") && !url.startsWith(\"https://\")) {\n throw new UserInputError(\n \"Invalid Sentry issue URL. Must start with http:// or https://\",\n );\n }\n\n let parsedUrl: URL;\n try {\n parsedUrl = new URL(url);\n } catch (error) {\n throw new UserInputError(\n `Invalid Sentry issue URL. Unable to parse URL: ${url}`,\n );\n }\n\n const pathParts = parsedUrl.pathname.split(\"/\").filter(Boolean);\n if (pathParts.length < 2 || !pathParts.includes(\"issues\")) {\n throw new UserInputError(\n \"Invalid Sentry issue URL. Path must contain '/issues/{issue_id}'\",\n );\n }\n\n const issueId = pathParts[pathParts.indexOf(\"issues\") + 1];\n if (!issueId) {\n throw new UserInputError(\"Unable to determine issue ID from URL.\");\n }\n\n // Extract organization slug from either the path or subdomain\n let organizationSlug: string | undefined;\n if (pathParts.includes(\"organizations\")) {\n organizationSlug = pathParts[pathParts.indexOf(\"organizations\") + 1];\n } else if (pathParts.length > 1 && pathParts[0] !== \"issues\") {\n // If URL is like sentry.io/sentry/issues/123\n organizationSlug = pathParts[0];\n } else {\n // Check for subdomain\n const hostParts = parsedUrl.hostname.split(\".\");\n if (hostParts.length > 2 && hostParts[0] !== \"www\") {\n organizationSlug = hostParts[0];\n }\n }\n\n if (!organizationSlug) {\n throw new UserInputError(\n \"Invalid Sentry issue URL. Could not determine organization.\",\n );\n }\n\n return { issueId, organizationSlug };\n}\n\n/**\n * Sometimes the LLM will pass in a funky issue shortId. For example it might pass\n * in \"CLOUDFLARE-MCP-41.\" instead of \"CLOUDFLARE-MCP-41\". This function attempts to\n * fix common issues.\n *\n * @param issueId - The issue ID to parse\n * @returns The parsed issue ID\n */\nexport function parseIssueId(issueId: string) {\n if (!issueId.trim()) {\n throw new UserInputError(\"Issue ID cannot be empty\");\n }\n\n let finalIssueId = issueId;\n // remove trailing punctuation\n finalIssueId = finalIssueId.replace(/[^\\w-]/g, \"\");\n\n if (!finalIssueId) {\n throw new UserInputError(\n \"Issue ID cannot be empty after removing special characters\",\n );\n }\n\n // Validate against common Sentry issue ID patterns\n // Either numeric IDs or PROJECT-ABC123 format\n // Allow project codes to start with alphanumeric characters (including numbers)\n const validFormatRegex = /^(\\d+|[A-Za-z0-9][\\w-]*-[A-Za-z0-9]+)$/;\n\n if (!validFormatRegex.test(finalIssueId)) {\n throw new UserInputError(\n `Invalid issue ID format: \"${finalIssueId}\". Expected either a numeric ID or a project code followed by an alphanumeric identifier (e.g., \"PROJECT-ABC123\").`,\n );\n }\n\n return finalIssueId;\n}\n\n/**\n * Parses issue parameters from a variety of formats.\n *\n * @param params - Object containing issue URL, issue ID, and organization slug\n * @returns Object containing the parsed organization slug and issue ID\n * @throws Error if the input is invalid\n */\nexport function parseIssueParams({\n issueUrl,\n issueId,\n organizationSlug,\n}: {\n issueUrl?: string | null;\n issueId?: string | null;\n organizationSlug?: string | null;\n}): {\n organizationSlug: string;\n issueId: string;\n} {\n if (issueUrl) {\n const resolved = extractIssueId(issueUrl);\n if (!resolved) {\n throw new Error(\n \"Invalid Sentry issue URL. Path should contain '/issues/{issue_id}'\",\n );\n }\n return {\n ...resolved,\n issueId: parseIssueId(resolved.issueId),\n };\n }\n\n if (!organizationSlug) {\n throw new UserInputError(\"Organization slug is required\");\n }\n\n if (issueId) {\n return {\n organizationSlug,\n issueId: parseIssueId(issueId),\n };\n }\n\n throw new UserInputError(\"Either issueId or issueUrl must be provided\");\n}\n"],"mappings":";;;;;;;;;;AAkBA,SAAgB,eAAeA,KAG7B;AACA,MAAK,cAAc,QAAQ,SACzB,OAAM,IAAI,eACR;AAIJ,MAAK,IAAI,WAAW,UAAU,KAAK,IAAI,WAAW,WAAW,CAC3D,OAAM,IAAI,eACR;CAIJ,IAAIC;AACJ,KAAI;AACF,cAAY,IAAI,IAAI;CACrB,SAAQ,OAAO;AACd,QAAM,IAAI,gBACP,iDAAiD;CAErD;CAED,MAAM,YAAY,UAAU,SAAS,MAAM,IAAI,CAAC,OAAO,QAAQ;AAC/D,KAAI,UAAU,SAAS,MAAM,UAAU,SAAS,SAAS,CACvD,OAA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