@sentry/mcp-server 0.23.0 → 0.23.1
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/{chunk-CUT6urMc.cjs → chunk-DoeelZqw.cjs} +21 -0
- package/dist/cli/parse.cjs +1 -1
- package/dist/cli/parse.d.cts +1 -3
- package/dist/cli/parse.d.cts.map +1 -1
- package/dist/cli/parse.d.ts +1 -3
- package/dist/cli/parse.d.ts.map +1 -1
- package/dist/cli/parse.js +1 -1
- package/dist/cli/resolve.cjs +1 -5
- package/dist/cli/resolve.d.cts +1 -3
- package/dist/cli/resolve.d.cts.map +1 -1
- package/dist/cli/resolve.d.ts +1 -3
- package/dist/cli/resolve.d.ts.map +1 -1
- package/dist/cli/resolve.js +1 -5
- package/dist/cli/types.d.cts +1 -3
- package/dist/cli/types.d.ts +1 -3
- package/dist/cli/usage.cjs +1 -1
- package/dist/cli/usage.d.cts +2 -2
- package/dist/cli/usage.d.ts +2 -2
- package/dist/cli/usage.js +1 -1
- package/dist/config-Bs1p6XwV.js +3 -0
- package/dist/config-DFewJLVx.cjs +6 -0
- package/dist/{config-jAHLRqMZ.js → config-DtimzxvV-BItTrGiz.js} +3 -306
- package/dist/config-DtimzxvV-BItTrGiz.js.map +1 -0
- package/dist/{config-2JTOC4-d.cjs → config-DtimzxvV-D3ccpxhQ.cjs} +2 -311
- package/dist/config-DtimzxvV-D3ccpxhQ.cjs.map +1 -0
- package/dist/index.cjs +21355 -77
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +21379 -69
- package/dist/index.js.map +1 -1
- package/dist/{parse-Br-BwKdT.cjs → parse-By6nDBNs.cjs} +2 -2
- package/dist/{parse-Br-BwKdT.cjs.map → parse-By6nDBNs.cjs.map} +1 -1
- package/dist/{parse-BvHK_nys.js → parse-Dn9XeQSj.js} +1 -1
- package/dist/{parse-BvHK_nys.js.map → parse-Dn9XeQSj.js.map} +1 -1
- package/dist/resolve-BCdS4js5.js +590 -0
- package/dist/resolve-BCdS4js5.js.map +1 -0
- package/dist/resolve-BMmRdCFJ.cjs +692 -0
- package/dist/resolve-BMmRdCFJ.cjs.map +1 -0
- package/dist/{stdio-2BaHF2h-.js → stdio-232a22j4.js} +7 -3
- package/dist/stdio-232a22j4.js.map +1 -0
- package/dist/{stdio-DL-ID7Q4.cjs → stdio-aCI9XyaI.cjs} +20 -4
- package/dist/stdio-aCI9XyaI.cjs.map +1 -0
- package/dist/transports/stdio.cjs +1 -2
- package/dist/transports/stdio.d.cts +1 -3
- package/dist/transports/stdio.d.cts.map +1 -1
- package/dist/transports/stdio.d.ts +1 -3
- package/dist/transports/stdio.d.ts.map +1 -1
- package/dist/transports/stdio.js +1 -2
- package/dist/{types-BeIzCAF1.d.cts → types-CM88pHH_.d.ts} +3 -3
- package/dist/{types-C70IdmF4.d.ts.map → types-CM88pHH_.d.ts.map} +1 -1
- package/dist/{types-C70IdmF4.d.ts → types-CnLRMjvf.d.cts} +3 -3
- package/dist/{types-BeIzCAF1.d.cts.map → types-CnLRMjvf.d.cts.map} +1 -1
- package/dist/{usage-CpguKuwi.js → usage-DMGbIpV-.js} +1 -1
- package/dist/usage-DMGbIpV-.js.map +1 -0
- package/dist/{usage-CMWaPhZv.cjs → usage-iwGZsu3a.cjs} +1 -1
- package/dist/usage-iwGZsu3a.cjs.map +1 -0
- package/package.json +19 -104
- package/README.md +0 -121
- package/dist/agent-9s0S2VUD.js +0 -43
- package/dist/agent-9s0S2VUD.js.map +0 -1
- package/dist/agent-BI-VWYjJ.d.ts +0 -93
- package/dist/agent-BI-VWYjJ.d.ts.map +0 -1
- package/dist/agent-Bm5Hsfal.d.cts +0 -32
- package/dist/agent-Bm5Hsfal.d.cts.map +0 -1
- package/dist/agent-BmPRmM9x.d.cts +0 -93
- package/dist/agent-BmPRmM9x.d.cts.map +0 -1
- package/dist/agent-BsCC60AU.js +0 -64
- package/dist/agent-BsCC60AU.js.map +0 -1
- package/dist/agent-CJ6SVqAB.d.ts +0 -32
- package/dist/agent-CJ6SVqAB.d.ts.map +0 -1
- package/dist/agent-CirZFiaJ.cjs +0 -55
- package/dist/agent-CirZFiaJ.cjs.map +0 -1
- package/dist/agent-CnHO6uyy.cjs +0 -76
- package/dist/agent-CnHO6uyy.cjs.map +0 -1
- package/dist/agent-D8Mz9ung.d.cts +0 -35
- package/dist/agent-D8Mz9ung.d.cts.map +0 -1
- package/dist/agent-DD0p64Dq.js +0 -29
- package/dist/agent-DD0p64Dq.js.map +0 -1
- package/dist/agent-DQdvMLcG.d.ts +0 -35
- package/dist/agent-DQdvMLcG.d.ts.map +0 -1
- package/dist/agent-DaUNg6Ut.cjs +0 -35
- package/dist/agent-DaUNg6Ut.cjs.map +0 -1
- package/dist/analyze-issue-with-seer-6OwT1RJP.js +0 -200
- package/dist/analyze-issue-with-seer-6OwT1RJP.js.map +0 -1
- package/dist/analyze-issue-with-seer-wsCEFdZs.cjs +0 -206
- package/dist/analyze-issue-with-seer-wsCEFdZs.cjs.map +0 -1
- package/dist/api-BCICbJoI.js +0 -63
- package/dist/api-BCICbJoI.js.map +0 -1
- package/dist/api-CfzBwheo.cjs +0 -80
- package/dist/api-CfzBwheo.cjs.map +0 -1
- package/dist/api-client/client.cjs +0 -9
- package/dist/api-client/client.d.cts +0 -4
- package/dist/api-client/client.d.ts +0 -4
- package/dist/api-client/client.js +0 -9
- package/dist/api-client/errors.cjs +0 -11
- package/dist/api-client/errors.d.cts +0 -2
- package/dist/api-client/errors.d.ts +0 -2
- package/dist/api-client/errors.js +0 -3
- package/dist/api-client/index.cjs +0 -70
- package/dist/api-client/index.d.cts +0 -6
- package/dist/api-client/index.d.ts +0 -6
- package/dist/api-client/index.js +0 -11
- package/dist/api-client/schema.cjs +0 -52
- package/dist/api-client/schema.d.cts +0 -2
- package/dist/api-client/schema.d.ts +0 -2
- package/dist/api-client/schema.js +0 -3
- package/dist/api-client/types.cjs +0 -1
- package/dist/api-client/types.d.cts +0 -3
- package/dist/api-client/types.d.ts +0 -3
- package/dist/api-client/types.js +0 -1
- package/dist/api-client-BGgaBFuD.cjs +0 -0
- package/dist/api-client-CSLxiNP9.js +0 -0
- package/dist/callEmbeddedAgent-BIfQ-_5T.d.ts +0 -34
- package/dist/callEmbeddedAgent-BIfQ-_5T.d.ts.map +0 -1
- package/dist/callEmbeddedAgent-CFHLQjFx.d.cts +0 -34
- package/dist/callEmbeddedAgent-CFHLQjFx.d.cts.map +0 -1
- package/dist/callEmbeddedAgent-COB8Jrcn.cjs +0 -51
- package/dist/callEmbeddedAgent-COB8Jrcn.cjs.map +0 -1
- package/dist/callEmbeddedAgent-rEUWAl2g.js +0 -45
- package/dist/callEmbeddedAgent-rEUWAl2g.js.map +0 -1
- package/dist/client-8_aKE-B-.d.cts +0 -844
- package/dist/client-8_aKE-B-.d.cts.map +0 -1
- package/dist/client-BGVY6gBL.d.ts +0 -844
- package/dist/client-BGVY6gBL.d.ts.map +0 -1
- package/dist/client-Be1DR1al.js +0 -1098
- package/dist/client-Be1DR1al.js.map +0 -1
- package/dist/client-DSxCsnqO.cjs +0 -1103
- package/dist/client-DSxCsnqO.cjs.map +0 -1
- package/dist/config-2JTOC4-d.cjs.map +0 -1
- package/dist/config-BFaJp4hW.js +0 -74
- package/dist/config-BFaJp4hW.js.map +0 -1
- package/dist/config-BMLvvgGQ.cjs +0 -37
- package/dist/config-BMLvvgGQ.cjs.map +0 -1
- package/dist/config-BacDkkdz.cjs +0 -80
- package/dist/config-BacDkkdz.cjs.map +0 -1
- package/dist/config-Dh25cVhL.js +0 -25
- package/dist/config-Dh25cVhL.js.map +0 -1
- package/dist/config-jAHLRqMZ.js.map +0 -1
- package/dist/constants-CgLLujFn.cjs +0 -220
- package/dist/constants-CgLLujFn.cjs.map +0 -1
- package/dist/constants-D8axTonA.js +0 -184
- package/dist/constants-D8axTonA.js.map +0 -1
- package/dist/constants.cjs +0 -10
- package/dist/constants.d.cts +0 -36
- package/dist/constants.d.cts.map +0 -1
- package/dist/constants.d.ts +0 -36
- package/dist/constants.d.ts.map +0 -1
- package/dist/constants.js +0 -4
- package/dist/constraint-helpers-CBddlAo8.js +0 -64
- package/dist/constraint-helpers-CBddlAo8.js.map +0 -1
- package/dist/constraint-helpers-UEovDW_M.cjs +0 -76
- package/dist/constraint-helpers-UEovDW_M.cjs.map +0 -1
- package/dist/create-dsn-C5vd9Btg.cjs +0 -74
- package/dist/create-dsn-C5vd9Btg.cjs.map +0 -1
- package/dist/create-dsn-DBqCDM_6.js +0 -68
- package/dist/create-dsn-DBqCDM_6.js.map +0 -1
- package/dist/create-project-BsN4Q0cl.js +0 -86
- package/dist/create-project-BsN4Q0cl.js.map +0 -1
- package/dist/create-project-D4W66CxU.cjs +0 -92
- package/dist/create-project-D4W66CxU.cjs.map +0 -1
- package/dist/create-team-DUBAEGGr.js +0 -63
- package/dist/create-team-DUBAEGGr.js.map +0 -1
- package/dist/create-team-DV6XmZkb.cjs +0 -69
- package/dist/create-team-DV6XmZkb.cjs.map +0 -1
- package/dist/dataset-fields-Bp_g-sD6.cjs +0 -179
- package/dist/dataset-fields-Bp_g-sD6.cjs.map +0 -1
- package/dist/dataset-fields-dZ43jEgF.js +0 -155
- package/dist/dataset-fields-dZ43jEgF.js.map +0 -1
- package/dist/define-CLp6EtpZ.cjs +0 -14
- package/dist/define-CLp6EtpZ.cjs.map +0 -1
- package/dist/define-vA6uuVue.js +0 -8
- package/dist/define-vA6uuVue.js.map +0 -1
- package/dist/enhance-error-BULHg3Tl.js +0 -32
- package/dist/enhance-error-BULHg3Tl.js.map +0 -1
- package/dist/enhance-error-vihkdCX5.cjs +0 -37
- package/dist/enhance-error-vihkdCX5.cjs.map +0 -1
- package/dist/error-handling-CLnyY1TR.js +0 -97
- package/dist/error-handling-CLnyY1TR.js.map +0 -1
- package/dist/error-handling-FGjcJT8U.cjs +0 -132
- package/dist/error-handling-FGjcJT8U.cjs.map +0 -1
- package/dist/errors-BXmNwD2K.js +0 -26
- package/dist/errors-BXmNwD2K.js.map +0 -1
- package/dist/errors-BYClKbv4.d.cts +0 -20
- package/dist/errors-BYClKbv4.d.cts.map +0 -1
- package/dist/errors-Cn4l-BlC.d.ts +0 -20
- package/dist/errors-Cn4l-BlC.d.ts.map +0 -1
- package/dist/errors-CyAWBU2S.d.ts +0 -126
- package/dist/errors-CyAWBU2S.d.ts.map +0 -1
- package/dist/errors-DMiENfq7.d.cts +0 -126
- package/dist/errors-DMiENfq7.d.cts.map +0 -1
- package/dist/errors-DUEMWOr1.js +0 -217
- package/dist/errors-DUEMWOr1.js.map +0 -1
- package/dist/errors-DWysOIMw.cjs +0 -271
- package/dist/errors-DWysOIMw.cjs.map +0 -1
- package/dist/errors-umQzF_vW.cjs +0 -38
- package/dist/errors-umQzF_vW.cjs.map +0 -1
- package/dist/errors.cjs +0 -4
- package/dist/errors.d.cts +0 -2
- package/dist/errors.d.ts +0 -2
- package/dist/errors.js +0 -3
- package/dist/fetch-utils-C6qSgZai.js +0 -52
- package/dist/fetch-utils-C6qSgZai.js.map +0 -1
- package/dist/fetch-utils-DRgOJp3e.cjs +0 -64
- package/dist/fetch-utils-DRgOJp3e.cjs.map +0 -1
- package/dist/find-dsns-BabAfVEt.cjs +0 -64
- package/dist/find-dsns-BabAfVEt.cjs.map +0 -1
- package/dist/find-dsns-C-Q6yJT5.js +0 -58
- package/dist/find-dsns-C-Q6yJT5.js.map +0 -1
- package/dist/find-organizations-Bo-JdU-R.js +0 -59
- package/dist/find-organizations-Bo-JdU-R.js.map +0 -1
- package/dist/find-organizations-CEEqa1an.cjs +0 -64
- package/dist/find-organizations-CEEqa1an.cjs.map +0 -1
- package/dist/find-projects-BWyvosHM.cjs +0 -59
- package/dist/find-projects-BWyvosHM.cjs.map +0 -1
- package/dist/find-projects-zM4CM_xX.js +0 -53
- package/dist/find-projects-zM4CM_xX.js.map +0 -1
- package/dist/find-releases-DMJrj5wz.cjs +0 -105
- package/dist/find-releases-DMJrj5wz.cjs.map +0 -1
- package/dist/find-releases-DzdGLPSN.js +0 -99
- package/dist/find-releases-DzdGLPSN.js.map +0 -1
- package/dist/find-teams-CR_hdlun.js +0 -56
- package/dist/find-teams-CR_hdlun.js.map +0 -1
- package/dist/find-teams-lOqS_719.cjs +0 -62
- package/dist/find-teams-lOqS_719.cjs.map +0 -1
- package/dist/formatters-B6H5qTFe.cjs +0 -98
- package/dist/formatters-B6H5qTFe.cjs.map +0 -1
- package/dist/formatters-BOJNlDKG.js +0 -223
- package/dist/formatters-BOJNlDKG.js.map +0 -1
- package/dist/formatters-C9MhdNDX.js +0 -86
- package/dist/formatters-C9MhdNDX.js.map +0 -1
- package/dist/formatters-ObdzRwld.cjs +0 -247
- package/dist/formatters-ObdzRwld.cjs.map +0 -1
- package/dist/formatting-BatGC-29.cjs +0 -984
- package/dist/formatting-BatGC-29.cjs.map +0 -1
- package/dist/formatting-Bm1GxhEu.d.ts +0 -54
- package/dist/formatting-Bm1GxhEu.d.ts.map +0 -1
- package/dist/formatting-C6hyL-Yv.cjs +0 -20
- package/dist/formatting-C6hyL-Yv.cjs.map +0 -1
- package/dist/formatting-DJFcfTJG.js +0 -14
- package/dist/formatting-DJFcfTJG.js.map +0 -1
- package/dist/formatting-DUODx6N5.js +0 -967
- package/dist/formatting-DUODx6N5.js.map +0 -1
- package/dist/formatting-GZdM57wq.d.cts +0 -54
- package/dist/formatting-GZdM57wq.d.cts.map +0 -1
- package/dist/get-doc-CbVw4ada.cjs +0 -93
- package/dist/get-doc-CbVw4ada.cjs.map +0 -1
- package/dist/get-doc-FuILofQP.js +0 -87
- package/dist/get-doc-FuILofQP.js.map +0 -1
- package/dist/get-event-attachment-DuyBT68p.cjs +0 -150
- package/dist/get-event-attachment-DuyBT68p.cjs.map +0 -1
- package/dist/get-event-attachment-Dzg2R7ng.js +0 -144
- package/dist/get-event-attachment-Dzg2R7ng.js.map +0 -1
- package/dist/get-issue-details-BY7S1YyX.cjs +0 -201
- package/dist/get-issue-details-BY7S1YyX.cjs.map +0 -1
- package/dist/get-issue-details-BxJzOzFQ.js +0 -195
- package/dist/get-issue-details-BxJzOzFQ.js.map +0 -1
- package/dist/get-trace-details-DD0p3apU.cjs +0 -313
- package/dist/get-trace-details-DD0p3apU.cjs.map +0 -1
- package/dist/get-trace-details-Dv2FB534.js +0 -307
- package/dist/get-trace-details-Dv2FB534.js.map +0 -1
- package/dist/handler-0iIvlYwy.d.cts +0 -11
- package/dist/handler-0iIvlYwy.d.cts.map +0 -1
- package/dist/handler-8JzODzam.d.cts +0 -15
- package/dist/handler-8JzODzam.d.cts.map +0 -1
- package/dist/handler-9UUkphzv.d.ts +0 -15
- package/dist/handler-9UUkphzv.d.ts.map +0 -1
- package/dist/handler-BfTAwyrq.js +0 -153
- package/dist/handler-BfTAwyrq.js.map +0 -1
- package/dist/handler-BhjeSo2N.js +0 -132
- package/dist/handler-BhjeSo2N.js.map +0 -1
- package/dist/handler-BjTPOR8v.cjs +0 -138
- package/dist/handler-BjTPOR8v.cjs.map +0 -1
- package/dist/handler-C5Tgh1wj.cjs +0 -159
- package/dist/handler-C5Tgh1wj.cjs.map +0 -1
- package/dist/handler-ClZBIn0B.d.cts +0 -15
- package/dist/handler-ClZBIn0B.d.cts.map +0 -1
- package/dist/handler-CmAbLcaV.d.ts +0 -15
- package/dist/handler-CmAbLcaV.d.ts.map +0 -1
- package/dist/handler-DbUy8Z54.d.ts +0 -11
- package/dist/handler-DbUy8Z54.d.ts.map +0 -1
- package/dist/index-CmCelmEL.d.cts +0 -1
- package/dist/index-NfFbnYt3.d.ts +0 -1
- package/dist/internal/agents/callEmbeddedAgent.cjs +0 -6
- package/dist/internal/agents/callEmbeddedAgent.d.cts +0 -2
- package/dist/internal/agents/callEmbeddedAgent.d.ts +0 -2
- package/dist/internal/agents/callEmbeddedAgent.js +0 -6
- package/dist/internal/agents/openai-provider.cjs +0 -5
- package/dist/internal/agents/openai-provider.d.cts +0 -22
- package/dist/internal/agents/openai-provider.d.cts.map +0 -1
- package/dist/internal/agents/openai-provider.d.ts +0 -22
- package/dist/internal/agents/openai-provider.d.ts.map +0 -1
- package/dist/internal/agents/openai-provider.js +0 -4
- package/dist/internal/agents/tools/dataset-fields.cjs +0 -16
- package/dist/internal/agents/tools/dataset-fields.d.cts +0 -58
- package/dist/internal/agents/tools/dataset-fields.d.cts.map +0 -1
- package/dist/internal/agents/tools/dataset-fields.d.ts +0 -58
- package/dist/internal/agents/tools/dataset-fields.d.ts.map +0 -1
- package/dist/internal/agents/tools/dataset-fields.js +0 -13
- package/dist/internal/agents/tools/otel-semantics.cjs +0 -14
- package/dist/internal/agents/tools/otel-semantics.d.cts +0 -41
- package/dist/internal/agents/tools/otel-semantics.d.cts.map +0 -1
- package/dist/internal/agents/tools/otel-semantics.d.ts +0 -41
- package/dist/internal/agents/tools/otel-semantics.d.ts.map +0 -1
- package/dist/internal/agents/tools/otel-semantics.js +0 -13
- package/dist/internal/agents/tools/utils.cjs +0 -12
- package/dist/internal/agents/tools/utils.d.cts +0 -2
- package/dist/internal/agents/tools/utils.d.ts +0 -2
- package/dist/internal/agents/tools/utils.js +0 -12
- package/dist/internal/agents/tools/whoami.cjs +0 -14
- package/dist/internal/agents/tools/whoami.d.cts +0 -33
- package/dist/internal/agents/tools/whoami.d.cts.map +0 -1
- package/dist/internal/agents/tools/whoami.d.ts +0 -33
- package/dist/internal/agents/tools/whoami.d.ts.map +0 -1
- package/dist/internal/agents/tools/whoami.js +0 -13
- package/dist/internal/constraint-helpers.cjs +0 -4
- package/dist/internal/constraint-helpers.d.cts +0 -54
- package/dist/internal/constraint-helpers.d.cts.map +0 -1
- package/dist/internal/constraint-helpers.d.ts +0 -54
- package/dist/internal/constraint-helpers.d.ts.map +0 -1
- package/dist/internal/constraint-helpers.js +0 -3
- package/dist/internal/error-handling.cjs +0 -17
- package/dist/internal/error-handling.d.cts +0 -40
- package/dist/internal/error-handling.d.cts.map +0 -1
- package/dist/internal/error-handling.d.ts +0 -40
- package/dist/internal/error-handling.d.ts.map +0 -1
- package/dist/internal/error-handling.js +0 -12
- package/dist/internal/fetch-utils.cjs +0 -4
- package/dist/internal/fetch-utils.d.cts +0 -33
- package/dist/internal/fetch-utils.d.cts.map +0 -1
- package/dist/internal/fetch-utils.d.ts +0 -33
- package/dist/internal/fetch-utils.d.ts.map +0 -1
- package/dist/internal/fetch-utils.js +0 -3
- package/dist/internal/formatting.cjs +0 -7
- package/dist/internal/formatting.d.cts +0 -7
- package/dist/internal/formatting.d.ts +0 -7
- package/dist/internal/formatting.js +0 -5
- package/dist/internal/issue-helpers.cjs +0 -6
- package/dist/internal/issue-helpers.d.cts +0 -2
- package/dist/internal/issue-helpers.d.ts +0 -2
- package/dist/internal/issue-helpers.js +0 -4
- package/dist/internal/test-fixtures.cjs +0 -224
- package/dist/internal/test-fixtures.cjs.map +0 -1
- package/dist/internal/test-fixtures.d.cts +0 -130
- package/dist/internal/test-fixtures.d.cts.map +0 -1
- package/dist/internal/test-fixtures.d.ts +0 -130
- package/dist/internal/test-fixtures.d.ts.map +0 -1
- package/dist/internal/test-fixtures.js +0 -215
- package/dist/internal/test-fixtures.js.map +0 -1
- package/dist/internal/tool-helpers/api.cjs +0 -17
- package/dist/internal/tool-helpers/api.d.cts +0 -42
- package/dist/internal/tool-helpers/api.d.cts.map +0 -1
- package/dist/internal/tool-helpers/api.d.ts +0 -42
- package/dist/internal/tool-helpers/api.d.ts.map +0 -1
- package/dist/internal/tool-helpers/api.js +0 -15
- package/dist/internal/tool-helpers/define.cjs +0 -3
- package/dist/internal/tool-helpers/define.d.cts +0 -13
- package/dist/internal/tool-helpers/define.d.cts.map +0 -1
- package/dist/internal/tool-helpers/define.d.ts +0 -13
- package/dist/internal/tool-helpers/define.d.ts.map +0 -1
- package/dist/internal/tool-helpers/define.js +0 -3
- package/dist/internal/tool-helpers/enhance-error.cjs +0 -12
- package/dist/internal/tool-helpers/enhance-error.d.cts +0 -29
- package/dist/internal/tool-helpers/enhance-error.d.cts.map +0 -1
- package/dist/internal/tool-helpers/enhance-error.d.ts +0 -29
- package/dist/internal/tool-helpers/enhance-error.d.ts.map +0 -1
- package/dist/internal/tool-helpers/enhance-error.js +0 -12
- package/dist/internal/tool-helpers/formatting.cjs +0 -3
- package/dist/internal/tool-helpers/formatting.d.cts +0 -16
- package/dist/internal/tool-helpers/formatting.d.cts.map +0 -1
- package/dist/internal/tool-helpers/formatting.d.ts +0 -16
- package/dist/internal/tool-helpers/formatting.d.ts.map +0 -1
- package/dist/internal/tool-helpers/formatting.js +0 -3
- package/dist/internal/tool-helpers/issue.cjs +0 -9
- package/dist/internal/tool-helpers/issue.d.cts +0 -8
- package/dist/internal/tool-helpers/issue.d.ts +0 -8
- package/dist/internal/tool-helpers/issue.js +0 -8
- package/dist/internal/tool-helpers/seer.cjs +0 -11
- package/dist/internal/tool-helpers/seer.d.cts +0 -31
- package/dist/internal/tool-helpers/seer.d.cts.map +0 -1
- package/dist/internal/tool-helpers/seer.d.ts +0 -31
- package/dist/internal/tool-helpers/seer.d.ts.map +0 -1
- package/dist/internal/tool-helpers/seer.js +0 -3
- package/dist/internal/tool-helpers/validate-region-url.cjs +0 -6
- package/dist/internal/tool-helpers/validate-region-url.d.cts +0 -20
- package/dist/internal/tool-helpers/validate-region-url.d.cts.map +0 -1
- package/dist/internal/tool-helpers/validate-region-url.d.ts +0 -20
- package/dist/internal/tool-helpers/validate-region-url.d.ts.map +0 -1
- package/dist/internal/tool-helpers/validate-region-url.js +0 -6
- package/dist/issue-1C6txnk3.js +0 -0
- package/dist/issue-ChNk4cuO.cjs +0 -0
- package/dist/issue-helpers-D-hBnXTk.cjs +0 -97
- package/dist/issue-helpers-D-hBnXTk.cjs.map +0 -1
- package/dist/issue-helpers-D4NRLqkR.d.ts +0 -52
- package/dist/issue-helpers-D4NRLqkR.d.ts.map +0 -1
- package/dist/issue-helpers-DtCbXiRZ.js +0 -80
- package/dist/issue-helpers-DtCbXiRZ.js.map +0 -1
- package/dist/issue-helpers-ILmSPsJZ.d.cts +0 -52
- package/dist/issue-helpers-ILmSPsJZ.d.cts.map +0 -1
- package/dist/logging-BgTqJ4mI.d.ts +0 -31
- package/dist/logging-BgTqJ4mI.d.ts.map +0 -1
- package/dist/logging-BjKioF_x.d.cts +0 -31
- package/dist/logging-BjKioF_x.d.cts.map +0 -1
- package/dist/logging-C-ST7-Ow.cjs +0 -298
- package/dist/logging-C-ST7-Ow.cjs.map +0 -1
- package/dist/logging-ChQnSEmD.js +0 -256
- package/dist/logging-ChQnSEmD.js.map +0 -1
- package/dist/openai-provider-BsMAb6zY.js +0 -48
- package/dist/openai-provider-BsMAb6zY.js.map +0 -1
- package/dist/openai-provider-BycgrQgi.cjs +0 -60
- package/dist/openai-provider-BycgrQgi.cjs.map +0 -1
- package/dist/otel-semantics-CWWWmiNy.js +0 -5070
- package/dist/otel-semantics-CWWWmiNy.js.map +0 -1
- package/dist/otel-semantics-n8_5Ib9C.cjs +0 -5082
- package/dist/otel-semantics-n8_5Ib9C.cjs.map +0 -1
- package/dist/permissions-Berbg2vC.cjs +0 -209
- package/dist/permissions-Berbg2vC.cjs.map +0 -1
- package/dist/permissions-CiIVEs4_.d.ts +0 -79
- package/dist/permissions-CiIVEs4_.d.ts.map +0 -1
- package/dist/permissions-Cm5e34n2.d.cts +0 -79
- package/dist/permissions-Cm5e34n2.d.cts.map +0 -1
- package/dist/permissions-DvkVlUJ1.js +0 -155
- package/dist/permissions-DvkVlUJ1.js.map +0 -1
- package/dist/permissions.cjs +0 -11
- package/dist/permissions.d.cts +0 -2
- package/dist/permissions.d.ts +0 -2
- package/dist/permissions.js +0 -3
- package/dist/resolve-CrYQ5aF_.cjs +0 -107
- package/dist/resolve-CrYQ5aF_.cjs.map +0 -1
- package/dist/resolve-DQ-6eLec.js +0 -90
- package/dist/resolve-DQ-6eLec.js.map +0 -1
- package/dist/schema-1xQ4asuW.cjs +0 -801
- package/dist/schema-1xQ4asuW.cjs.map +0 -1
- package/dist/schema-BGVOjcD7.cjs +0 -141
- package/dist/schema-BGVOjcD7.cjs.map +0 -1
- package/dist/schema-CZXkkfj-.d.cts +0 -16950
- package/dist/schema-CZXkkfj-.d.cts.map +0 -1
- package/dist/schema-Cfvy5rTy.d.ts +0 -16950
- package/dist/schema-Cfvy5rTy.d.ts.map +0 -1
- package/dist/schema-ChlpIaqA.js +0 -39
- package/dist/schema-ChlpIaqA.js.map +0 -1
- package/dist/schema-oeFNxyo_.js +0 -501
- package/dist/schema-oeFNxyo_.js.map +0 -1
- package/dist/schema.cjs +0 -22
- package/dist/schema.d.cts +0 -34
- package/dist/schema.d.cts.map +0 -1
- package/dist/schema.d.ts +0 -34
- package/dist/schema.d.ts.map +0 -1
- package/dist/schema.js +0 -6
- package/dist/search-docs-C5x-ZRhd.cjs +0 -97
- package/dist/search-docs-C5x-ZRhd.cjs.map +0 -1
- package/dist/search-docs-UCe9oXQt.js +0 -91
- package/dist/search-docs-UCe9oXQt.js.map +0 -1
- package/dist/search-events-B-MXKSB_.js +0 -0
- package/dist/search-events-BrEw3wC-.cjs +0 -0
- package/dist/search-issues-C7Zs6rFB.cjs +0 -0
- package/dist/search-issues-DUSkomYp.js +0 -0
- package/dist/seer-CSFgx4AP.js +0 -89
- package/dist/seer-CSFgx4AP.js.map +0 -1
- package/dist/seer-sA1asAZs.cjs +0 -143
- package/dist/seer-sA1asAZs.cjs.map +0 -1
- package/dist/sentry-3DC3Kob2.cjs +0 -110
- package/dist/sentry-3DC3Kob2.cjs.map +0 -1
- package/dist/sentry-CfePWwtE.d.cts +0 -9
- package/dist/sentry-CfePWwtE.d.cts.map +0 -1
- package/dist/sentry-Cfj4OGMQ.js +0 -104
- package/dist/sentry-Cfj4OGMQ.js.map +0 -1
- package/dist/sentry-DKiJwGZX.d.ts +0 -9
- package/dist/sentry-DKiJwGZX.d.ts.map +0 -1
- package/dist/server-BbJwtfJr.js +0 -336
- package/dist/server-BbJwtfJr.js.map +0 -1
- package/dist/server-OW--pQOQ.cjs +0 -354
- package/dist/server-OW--pQOQ.cjs.map +0 -1
- package/dist/server.cjs +0 -65
- package/dist/server.d.cts +0 -59
- package/dist/server.d.cts.map +0 -1
- package/dist/server.d.ts +0 -59
- package/dist/server.d.ts.map +0 -1
- package/dist/server.js +0 -65
- package/dist/skillDefinitions.cjs +0 -258
- package/dist/skillDefinitions.cjs.map +0 -1
- package/dist/skillDefinitions.d.cts +0 -18
- package/dist/skillDefinitions.d.cts.map +0 -1
- package/dist/skillDefinitions.d.ts +0 -18
- package/dist/skillDefinitions.d.ts.map +0 -1
- package/dist/skillDefinitions.js +0 -257
- package/dist/skillDefinitions.js.map +0 -1
- package/dist/skills-BmFl7P6V.js +0 -94
- package/dist/skills-BmFl7P6V.js.map +0 -1
- package/dist/skills-COOuBrrA.cjs +0 -148
- package/dist/skills-COOuBrrA.cjs.map +0 -1
- package/dist/skills-HlAeBq_E.d.cts +0 -33
- package/dist/skills-HlAeBq_E.d.cts.map +0 -1
- package/dist/skills-g0WCenTA.d.ts +0 -33
- package/dist/skills-g0WCenTA.d.ts.map +0 -1
- package/dist/skills.cjs +0 -11
- package/dist/skills.d.cts +0 -2
- package/dist/skills.d.ts +0 -2
- package/dist/skills.js +0 -3
- package/dist/slug-validation-Bkteg65O.js +0 -93
- package/dist/slug-validation-Bkteg65O.js.map +0 -1
- package/dist/slug-validation-D5VJqMwH.cjs +0 -111
- package/dist/slug-validation-D5VJqMwH.cjs.map +0 -1
- package/dist/stdio-2BaHF2h-.js.map +0 -1
- package/dist/stdio-DL-ID7Q4.cjs.map +0 -1
- package/dist/telem/index.cjs +0 -10
- package/dist/telem/index.d.cts +0 -3
- package/dist/telem/index.d.ts +0 -3
- package/dist/telem/index.js +0 -4
- package/dist/telem/logging.cjs +0 -9
- package/dist/telem/logging.d.cts +0 -2
- package/dist/telem/logging.d.ts +0 -2
- package/dist/telem/logging.js +0 -3
- package/dist/telem/sentry.cjs +0 -3
- package/dist/telem/sentry.d.cts +0 -2
- package/dist/telem/sentry.d.ts +0 -2
- package/dist/telem/sentry.js +0 -3
- package/dist/test-setup.cjs +0 -56
- package/dist/test-setup.cjs.map +0 -1
- package/dist/test-setup.d.cts +0 -33
- package/dist/test-setup.d.cts.map +0 -1
- package/dist/test-setup.d.ts +0 -33
- package/dist/test-setup.d.ts.map +0 -1
- package/dist/test-setup.js +0 -55
- package/dist/test-setup.js.map +0 -1
- package/dist/test-utils/context.cjs +0 -32
- package/dist/test-utils/context.cjs.map +0 -1
- package/dist/test-utils/context.d.cts +0 -18
- package/dist/test-utils/context.d.cts.map +0 -1
- package/dist/test-utils/context.d.ts +0 -18
- package/dist/test-utils/context.d.ts.map +0 -1
- package/dist/test-utils/context.js +0 -30
- package/dist/test-utils/context.js.map +0 -1
- package/dist/toolDefinitions.cjs +0 -838
- package/dist/toolDefinitions.cjs.map +0 -1
- package/dist/toolDefinitions.d.cts +0 -13
- package/dist/toolDefinitions.d.cts.map +0 -1
- package/dist/toolDefinitions.d.ts +0 -13
- package/dist/toolDefinitions.d.ts.map +0 -1
- package/dist/toolDefinitions.js +0 -837
- package/dist/toolDefinitions.js.map +0 -1
- package/dist/tools/analyze-issue-with-seer.cjs +0 -24
- package/dist/tools/analyze-issue-with-seer.d.cts +0 -17
- package/dist/tools/analyze-issue-with-seer.d.cts.map +0 -1
- package/dist/tools/analyze-issue-with-seer.d.ts +0 -17
- package/dist/tools/analyze-issue-with-seer.d.ts.map +0 -1
- package/dist/tools/analyze-issue-with-seer.js +0 -24
- package/dist/tools/create-dsn.cjs +0 -19
- package/dist/tools/create-dsn.d.cts +0 -16
- package/dist/tools/create-dsn.d.cts.map +0 -1
- package/dist/tools/create-dsn.d.ts +0 -16
- package/dist/tools/create-dsn.d.ts.map +0 -1
- package/dist/tools/create-dsn.js +0 -19
- package/dist/tools/create-project.cjs +0 -19
- package/dist/tools/create-project.d.cts +0 -17
- package/dist/tools/create-project.d.cts.map +0 -1
- package/dist/tools/create-project.d.ts +0 -17
- package/dist/tools/create-project.d.ts.map +0 -1
- package/dist/tools/create-project.js +0 -19
- package/dist/tools/create-team.cjs +0 -19
- package/dist/tools/create-team.d.cts +0 -15
- package/dist/tools/create-team.d.cts.map +0 -1
- package/dist/tools/create-team.d.ts +0 -15
- package/dist/tools/create-team.d.ts.map +0 -1
- package/dist/tools/create-team.js +0 -19
- package/dist/tools/find-dsns.cjs +0 -19
- package/dist/tools/find-dsns.d.cts +0 -15
- package/dist/tools/find-dsns.d.cts.map +0 -1
- package/dist/tools/find-dsns.d.ts +0 -15
- package/dist/tools/find-dsns.d.ts.map +0 -1
- package/dist/tools/find-dsns.js +0 -19
- package/dist/tools/find-organizations.cjs +0 -19
- package/dist/tools/find-organizations.d.cts +0 -13
- package/dist/tools/find-organizations.d.cts.map +0 -1
- package/dist/tools/find-organizations.d.ts +0 -13
- package/dist/tools/find-organizations.d.ts.map +0 -1
- package/dist/tools/find-organizations.js +0 -19
- package/dist/tools/find-projects.cjs +0 -19
- package/dist/tools/find-projects.d.cts +0 -15
- package/dist/tools/find-projects.d.cts.map +0 -1
- package/dist/tools/find-projects.d.ts +0 -15
- package/dist/tools/find-projects.d.ts.map +0 -1
- package/dist/tools/find-projects.js +0 -19
- package/dist/tools/find-releases.cjs +0 -19
- package/dist/tools/find-releases.d.cts +0 -16
- package/dist/tools/find-releases.d.cts.map +0 -1
- package/dist/tools/find-releases.d.ts +0 -16
- package/dist/tools/find-releases.d.ts.map +0 -1
- package/dist/tools/find-releases.js +0 -19
- package/dist/tools/find-teams.cjs +0 -19
- package/dist/tools/find-teams.d.cts +0 -15
- package/dist/tools/find-teams.d.cts.map +0 -1
- package/dist/tools/find-teams.d.ts +0 -15
- package/dist/tools/find-teams.d.ts.map +0 -1
- package/dist/tools/find-teams.js +0 -19
- package/dist/tools/get-doc.cjs +0 -14
- package/dist/tools/get-doc.d.cts +0 -13
- package/dist/tools/get-doc.d.cts.map +0 -1
- package/dist/tools/get-doc.d.ts +0 -13
- package/dist/tools/get-doc.d.ts.map +0 -1
- package/dist/tools/get-doc.js +0 -14
- package/dist/tools/get-event-attachment.cjs +0 -19
- package/dist/tools/get-event-attachment.d.cts +0 -17
- package/dist/tools/get-event-attachment.d.cts.map +0 -1
- package/dist/tools/get-event-attachment.d.ts +0 -17
- package/dist/tools/get-event-attachment.d.ts.map +0 -1
- package/dist/tools/get-event-attachment.js +0 -19
- package/dist/tools/get-issue-details.cjs +0 -24
- package/dist/tools/get-issue-details.d.cts +0 -17
- package/dist/tools/get-issue-details.d.cts.map +0 -1
- package/dist/tools/get-issue-details.d.ts +0 -17
- package/dist/tools/get-issue-details.d.ts.map +0 -1
- package/dist/tools/get-issue-details.js +0 -24
- package/dist/tools/get-trace-details.cjs +0 -19
- package/dist/tools/get-trace-details.d.cts +0 -15
- package/dist/tools/get-trace-details.d.cts.map +0 -1
- package/dist/tools/get-trace-details.d.ts +0 -15
- package/dist/tools/get-trace-details.d.ts.map +0 -1
- package/dist/tools/get-trace-details.js +0 -19
- package/dist/tools/index.cjs +0 -65
- package/dist/tools/index.d.cts +0 -129
- package/dist/tools/index.d.cts.map +0 -1
- package/dist/tools/index.d.ts +0 -129
- package/dist/tools/index.d.ts.map +0 -1
- package/dist/tools/index.js +0 -65
- package/dist/tools/search-docs.cjs +0 -18
- package/dist/tools/search-docs.d.cts +0 -15
- package/dist/tools/search-docs.d.cts.map +0 -1
- package/dist/tools/search-docs.d.ts +0 -15
- package/dist/tools/search-docs.d.ts.map +0 -1
- package/dist/tools/search-docs.js +0 -18
- package/dist/tools/search-events/agent.cjs +0 -20
- package/dist/tools/search-events/agent.d.cts +0 -7
- package/dist/tools/search-events/agent.d.ts +0 -7
- package/dist/tools/search-events/agent.js +0 -19
- package/dist/tools/search-events/config.cjs +0 -8
- package/dist/tools/search-events/config.d.cts +0 -132
- package/dist/tools/search-events/config.d.cts.map +0 -1
- package/dist/tools/search-events/config.d.ts +0 -132
- package/dist/tools/search-events/config.d.ts.map +0 -1
- package/dist/tools/search-events/config.js +0 -3
- package/dist/tools/search-events/formatters.cjs +0 -17
- package/dist/tools/search-events/formatters.d.cts +0 -43
- package/dist/tools/search-events/formatters.d.cts.map +0 -1
- package/dist/tools/search-events/formatters.d.ts +0 -43
- package/dist/tools/search-events/formatters.d.ts.map +0 -1
- package/dist/tools/search-events/formatters.js +0 -14
- package/dist/tools/search-events/handler.cjs +0 -28
- package/dist/tools/search-events/handler.d.cts +0 -6
- package/dist/tools/search-events/handler.d.ts +0 -6
- package/dist/tools/search-events/handler.js +0 -28
- package/dist/tools/search-events/index.cjs +0 -31
- package/dist/tools/search-events/index.d.cts +0 -12
- package/dist/tools/search-events/index.d.ts +0 -12
- package/dist/tools/search-events/index.js +0 -29
- package/dist/tools/search-events/utils.cjs +0 -17
- package/dist/tools/search-events/utils.d.cts +0 -8
- package/dist/tools/search-events/utils.d.ts +0 -8
- package/dist/tools/search-events/utils.js +0 -13
- package/dist/tools/search-issues/agent.cjs +0 -19
- package/dist/tools/search-issues/agent.d.cts +0 -7
- package/dist/tools/search-issues/agent.d.ts +0 -7
- package/dist/tools/search-issues/agent.js +0 -18
- package/dist/tools/search-issues/config.cjs +0 -3
- package/dist/tools/search-issues/config.d.cts +0 -9
- package/dist/tools/search-issues/config.d.cts.map +0 -1
- package/dist/tools/search-issues/config.d.ts +0 -9
- package/dist/tools/search-issues/config.d.ts.map +0 -1
- package/dist/tools/search-issues/config.js +0 -3
- package/dist/tools/search-issues/formatters.cjs +0 -5
- package/dist/tools/search-issues/formatters.d.cts +0 -28
- package/dist/tools/search-issues/formatters.d.cts.map +0 -1
- package/dist/tools/search-issues/formatters.d.ts +0 -28
- package/dist/tools/search-issues/formatters.d.ts.map +0 -1
- package/dist/tools/search-issues/formatters.js +0 -4
- package/dist/tools/search-issues/handler.cjs +0 -27
- package/dist/tools/search-issues/handler.d.cts +0 -6
- package/dist/tools/search-issues/handler.d.ts +0 -6
- package/dist/tools/search-issues/handler.js +0 -27
- package/dist/tools/search-issues/index.cjs +0 -30
- package/dist/tools/search-issues/index.d.cts +0 -12
- package/dist/tools/search-issues/index.d.ts +0 -12
- package/dist/tools/search-issues/index.js +0 -28
- package/dist/tools/types.cjs +0 -0
- package/dist/tools/types.d.cts +0 -5
- package/dist/tools/types.d.ts +0 -5
- package/dist/tools/types.js +0 -0
- package/dist/tools/update-issue.cjs +0 -24
- package/dist/tools/update-issue.d.cts +0 -18
- package/dist/tools/update-issue.d.cts.map +0 -1
- package/dist/tools/update-issue.d.ts +0 -18
- package/dist/tools/update-issue.d.ts.map +0 -1
- package/dist/tools/update-issue.js +0 -24
- package/dist/tools/update-project.cjs +0 -19
- package/dist/tools/update-project.d.cts +0 -19
- package/dist/tools/update-project.d.cts.map +0 -1
- package/dist/tools/update-project.d.ts +0 -19
- package/dist/tools/update-project.d.ts.map +0 -1
- package/dist/tools/update-project.js +0 -19
- package/dist/tools/use-sentry/agent.cjs +0 -8
- package/dist/tools/use-sentry/agent.d.cts +0 -3
- package/dist/tools/use-sentry/agent.d.ts +0 -3
- package/dist/tools/use-sentry/agent.js +0 -8
- package/dist/tools/use-sentry/config.cjs +0 -4
- package/dist/tools/use-sentry/config.d.cts +0 -21
- package/dist/tools/use-sentry/config.d.cts.map +0 -1
- package/dist/tools/use-sentry/config.d.ts +0 -21
- package/dist/tools/use-sentry/config.d.ts.map +0 -1
- package/dist/tools/use-sentry/config.js +0 -3
- package/dist/tools/use-sentry/handler.cjs +0 -65
- package/dist/tools/use-sentry/handler.d.cts +0 -6
- package/dist/tools/use-sentry/handler.d.ts +0 -6
- package/dist/tools/use-sentry/handler.js +0 -65
- package/dist/tools/use-sentry/index.cjs +0 -67
- package/dist/tools/use-sentry/index.d.cts +0 -8
- package/dist/tools/use-sentry/index.d.ts +0 -8
- package/dist/tools/use-sentry/index.js +0 -65
- package/dist/tools/use-sentry/tool-wrapper.cjs +0 -63
- package/dist/tools/use-sentry/tool-wrapper.cjs.map +0 -1
- package/dist/tools/use-sentry/tool-wrapper.d.cts +0 -119
- package/dist/tools/use-sentry/tool-wrapper.d.cts.map +0 -1
- package/dist/tools/use-sentry/tool-wrapper.d.ts +0 -119
- package/dist/tools/use-sentry/tool-wrapper.d.ts.map +0 -1
- package/dist/tools/use-sentry/tool-wrapper.js +0 -62
- package/dist/tools/use-sentry/tool-wrapper.js.map +0 -1
- package/dist/tools/whoami.cjs +0 -17
- package/dist/tools/whoami.d.cts +0 -10
- package/dist/tools/whoami.d.cts.map +0 -1
- package/dist/tools/whoami.d.ts +0 -10
- package/dist/tools/whoami.d.ts.map +0 -1
- package/dist/tools/whoami.js +0 -17
- package/dist/types-B_3dsqbN.d.cts +0 -38
- package/dist/types-B_3dsqbN.d.cts.map +0 -1
- package/dist/types-Cet6uyS6.d.ts +0 -41
- package/dist/types-Cet6uyS6.d.ts.map +0 -1
- package/dist/types-CokRupPo.d.cts +0 -33
- package/dist/types-CokRupPo.d.cts.map +0 -1
- package/dist/types-D1CEiyup.d.cts +0 -41
- package/dist/types-D1CEiyup.d.cts.map +0 -1
- package/dist/types-D670-rDz.js +0 -0
- package/dist/types-OrkP7cEA.d.ts +0 -33
- package/dist/types-OrkP7cEA.d.ts.map +0 -1
- package/dist/types-n3wuZu5X.cjs +0 -0
- package/dist/types-u52qwG59.d.ts +0 -38
- package/dist/types-u52qwG59.d.ts.map +0 -1
- package/dist/types.cjs +0 -16
- package/dist/types.cjs.map +0 -1
- package/dist/types.d.cts +0 -4
- package/dist/types.d.ts +0 -4
- package/dist/types.js +0 -15
- package/dist/types.js.map +0 -1
- package/dist/update-issue-BGm8g4G0.js +0 -118
- package/dist/update-issue-BGm8g4G0.js.map +0 -1
- package/dist/update-issue-Dx2EZ5pY.cjs +0 -124
- package/dist/update-issue-Dx2EZ5pY.cjs.map +0 -1
- package/dist/update-project-B0clXxii.js +0 -128
- package/dist/update-project-B0clXxii.js.map +0 -1
- package/dist/update-project-BJkzcapF.cjs +0 -134
- package/dist/update-project-BJkzcapF.cjs.map +0 -1
- package/dist/url-utils-CbcNJVYS.cjs +0 -235
- package/dist/url-utils-CbcNJVYS.cjs.map +0 -1
- package/dist/url-utils-CfKwo6s5.js +0 -175
- package/dist/url-utils-CfKwo6s5.js.map +0 -1
- package/dist/usage-CMWaPhZv.cjs.map +0 -1
- package/dist/usage-CpguKuwi.js.map +0 -1
- package/dist/utils/slug-validation.cjs +0 -5
- package/dist/utils/slug-validation.d.cts +0 -51
- package/dist/utils/slug-validation.d.cts.map +0 -1
- package/dist/utils/slug-validation.d.ts +0 -51
- package/dist/utils/slug-validation.d.ts.map +0 -1
- package/dist/utils/slug-validation.js +0 -3
- package/dist/utils/url-utils.cjs +0 -12
- package/dist/utils/url-utils.d.cts +0 -87
- package/dist/utils/url-utils.d.cts.map +0 -1
- package/dist/utils/url-utils.d.ts +0 -87
- package/dist/utils/url-utils.d.ts.map +0 -1
- package/dist/utils/url-utils.js +0 -3
- package/dist/utils-C7sQWgE3.d.cts +0 -39
- package/dist/utils-C7sQWgE3.d.cts.map +0 -1
- package/dist/utils-CIt6Amml.cjs +0 -124
- package/dist/utils-CIt6Amml.cjs.map +0 -1
- package/dist/utils-CaNeCYCH.js +0 -94
- package/dist/utils-CaNeCYCH.js.map +0 -1
- package/dist/utils-CmH2wxA_.d.ts +0 -39
- package/dist/utils-CmH2wxA_.d.ts.map +0 -1
- package/dist/utils-DJIwl8YR.cjs +0 -96
- package/dist/utils-DJIwl8YR.cjs.map +0 -1
- package/dist/utils-DOb7bs5_.js +0 -90
- package/dist/utils-DOb7bs5_.js.map +0 -1
- package/dist/utils-R15EJutP.d.ts +0 -43
- package/dist/utils-R15EJutP.d.ts.map +0 -1
- package/dist/utils-RPc9DHgJ.d.cts +0 -43
- package/dist/utils-RPc9DHgJ.d.cts.map +0 -1
- package/dist/validate-region-url-Bdokgz65.js +0 -37
- package/dist/validate-region-url-Bdokgz65.js.map +0 -1
- package/dist/validate-region-url-BvT-IgKg.cjs +0 -42
- package/dist/validate-region-url-BvT-IgKg.cjs.map +0 -1
- package/dist/version-CaFsr_xb.cjs +0 -19
- package/dist/version-CaFsr_xb.cjs.map +0 -1
- package/dist/version-DY1nl1TZ.js +0 -7
- package/dist/version-DY1nl1TZ.js.map +0 -1
- package/dist/version.cjs +0 -4
- package/dist/version.d.cts +0 -8
- package/dist/version.d.cts.map +0 -1
- package/dist/version.d.ts +0 -8
- package/dist/version.d.ts.map +0 -1
- package/dist/version.js +0 -3
- package/dist/whoami-9JymZ3NV.cjs +0 -46
- package/dist/whoami-9JymZ3NV.cjs.map +0 -1
- package/dist/whoami-BsX-LoXG.js +0 -34
- package/dist/whoami-BsX-LoXG.js.map +0 -1
- package/dist/whoami-DRDjyhDL.cjs +0 -44
- package/dist/whoami-DRDjyhDL.cjs.map +0 -1
- package/dist/whoami-FliA3IrX.js +0 -39
- package/dist/whoami-FliA3IrX.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"error-handling-CLnyY1TR.js","names":["error: unknown","eventId"],"sources":["../src/internal/error-handling.ts"],"sourcesContent":["import { UserInputError, ConfigurationError } from \"../errors\";\nimport { ApiError, ApiClientError, ApiServerError } from \"../api-client\";\nimport { logIssue } from \"../telem/logging\";\n\n/**\n * Type guard to identify user input validation errors.\n */\nexport function isUserInputError(error: unknown): error is UserInputError {\n return error instanceof UserInputError;\n}\n\n/**\n * Type guard to identify configuration errors.\n */\nexport function isConfigurationError(\n error: unknown,\n): error is ConfigurationError {\n return error instanceof ConfigurationError;\n}\n\n/**\n * Type guard to identify API errors.\n */\nexport function isApiError(error: unknown): error is ApiError {\n return error instanceof ApiError;\n}\n\n/**\n * Type guard to identify API client errors (4xx).\n */\nexport function isApiClientError(error: unknown): error is ApiClientError {\n return error instanceof ApiClientError;\n}\n\n/**\n * Type guard to identify API server errors (5xx).\n */\nexport function isApiServerError(error: unknown): error is ApiServerError {\n return error instanceof ApiServerError;\n}\n\n/**\n * Format an error for user display with markdown formatting.\n * This is used by tool handlers to format errors for MCP responses.\n *\n * SECURITY: Only return trusted error messages to prevent prompt injection vulnerabilities.\n * We trust: Sentry API errors, our own UserInputError/ConfigurationError messages, and system templates.\n */\nexport async function formatErrorForUser(error: unknown): Promise<string> {\n if (isUserInputError(error)) {\n return [\n \"**Input Error**\",\n \"It looks like there was a problem with the input you provided.\",\n error.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 (isConfigurationError(error)) {\n return [\n \"**Configuration Error**\",\n \"There appears to be a configuration issue with your setup.\",\n error.message,\n `Please check your environment configuration and try again.`,\n ].join(\"\\n\\n\");\n }\n\n // Handle ApiClientError (4xx) - user input errors, should NOT be logged to Sentry\n if (isApiClientError(error)) {\n const statusText = error.status\n ? `There was an HTTP ${error.status} error with your request to the Sentry API.`\n : \"There was an error with your request.\";\n\n return [\n \"**Input Error**\",\n statusText,\n error.toUserMessage(),\n `You may be able to resolve the issue by addressing the concern and trying again.`,\n ].join(\"\\n\\n\");\n }\n\n // Handle ApiServerError (5xx) - system errors, SHOULD be logged to Sentry\n if (isApiServerError(error)) {\n const eventId = logIssue(error);\n const statusText = error.status\n ? `There was an HTTP ${error.status} server error with the Sentry API.`\n : \"There was a server error.\";\n\n return [\n \"**Error**\",\n statusText,\n `${error.message}`,\n `**Event ID**: ${eventId}`,\n `Please contact support with this Event ID if the problem persists.`,\n ].join(\"\\n\\n\");\n }\n\n // Handle generic ApiError (shouldn't happen with new hierarchy, but just in case)\n if (isApiError(error)) {\n const statusText = error.status\n ? `There was an HTTP ${error.status} error with your request to the Sentry API.`\n : \"There was an error with your request.\";\n\n return [\n \"**Error**\",\n statusText,\n `${error.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 = logIssue(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 ]\n .filter(Boolean)\n .join(\"\\n\\n\");\n}\n"],"mappings":";;;;;;;;AAOA,SAAgB,iBAAiBA,OAAyC;AACxE,QAAO,iBAAiB;AACzB;;;;AAKD,SAAgB,qBACdA,OAC6B;AAC7B,QAAO,iBAAiB;AACzB;;;;AAKD,SAAgB,WAAWA,OAAmC;AAC5D,QAAO,iBAAiB;AACzB;;;;AAKD,SAAgB,iBAAiBA,OAAyC;AACxE,QAAO,iBAAiB;AACzB;;;;AAKD,SAAgB,iBAAiBA,OAAyC;AACxE,QAAO,iBAAiB;AACzB;;;;;;;;AASD,eAAsB,mBAAmBA,OAAiC;AACxE,KAAI,iBAAiB,MAAM,CACzB,QAAO;EACL;EACA;EACA,MAAM;GACL;CACF,EAAC,KAAK,OAAO;AAGhB,KAAI,qBAAqB,MAAM,CAC7B,QAAO;EACL;EACA;EACA,MAAM;GACL;CACF,EAAC,KAAK,OAAO;AAIhB,KAAI,iBAAiB,MAAM,EAAE;EAC3B,MAAM,aAAa,MAAM,UACpB,oBAAoB,MAAM,OAAO,+CAClC;AAEJ,SAAO;GACL;GACA;GACA,MAAM,eAAe;IACpB;EACF,EAAC,KAAK,OAAO;CACf;AAGD,KAAI,iBAAiB,MAAM,EAAE;EAC3B,MAAMC,YAAU,SAAS,MAAM;EAC/B,MAAM,aAAa,MAAM,UACpB,oBAAoB,MAAM,OAAO,sCAClC;AAEJ,SAAO;GACL;GACA;MACG,MAAM;IACR,gBAAgBA;IAChB;EACF,EAAC,KAAK,OAAO;CACf;AAGD,KAAI,WAAW,MAAM,EAAE;EACrB,MAAM,aAAa,MAAM,UACpB,oBAAoB,MAAM,OAAO,+CAClC;AAEJ,SAAO;GACL;GACA;MACG,MAAM;IACR;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,EACE,OAAO,QAAQ,CACf,KAAK,OAAO;AAChB"}
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
const require_errors = require('./errors-umQzF_vW.cjs');
|
|
2
|
-
const require_logging = require('./logging-C-ST7-Ow.cjs');
|
|
3
|
-
const require_errors$1 = require('./errors-DWysOIMw.cjs');
|
|
4
|
-
|
|
5
|
-
//#region src/internal/error-handling.ts
|
|
6
|
-
/**
|
|
7
|
-
* Type guard to identify user input validation errors.
|
|
8
|
-
*/
|
|
9
|
-
function isUserInputError(error) {
|
|
10
|
-
return error instanceof require_errors.UserInputError;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Type guard to identify configuration errors.
|
|
14
|
-
*/
|
|
15
|
-
function isConfigurationError(error) {
|
|
16
|
-
return error instanceof require_errors.ConfigurationError;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Type guard to identify API errors.
|
|
20
|
-
*/
|
|
21
|
-
function isApiError(error) {
|
|
22
|
-
return error instanceof require_errors$1.ApiError;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Type guard to identify API client errors (4xx).
|
|
26
|
-
*/
|
|
27
|
-
function isApiClientError(error) {
|
|
28
|
-
return error instanceof require_errors$1.ApiClientError;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Type guard to identify API server errors (5xx).
|
|
32
|
-
*/
|
|
33
|
-
function isApiServerError(error) {
|
|
34
|
-
return error instanceof require_errors$1.ApiServerError;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Format an error for user display with markdown formatting.
|
|
38
|
-
* This is used by tool handlers to format errors for MCP responses.
|
|
39
|
-
*
|
|
40
|
-
* SECURITY: Only return trusted error messages to prevent prompt injection vulnerabilities.
|
|
41
|
-
* We trust: Sentry API errors, our own UserInputError/ConfigurationError messages, and system templates.
|
|
42
|
-
*/
|
|
43
|
-
async function formatErrorForUser(error) {
|
|
44
|
-
if (isUserInputError(error)) return [
|
|
45
|
-
"**Input Error**",
|
|
46
|
-
"It looks like there was a problem with the input you provided.",
|
|
47
|
-
error.message,
|
|
48
|
-
`You may be able to resolve the issue by addressing the concern and trying again.`
|
|
49
|
-
].join("\n\n");
|
|
50
|
-
if (isConfigurationError(error)) return [
|
|
51
|
-
"**Configuration Error**",
|
|
52
|
-
"There appears to be a configuration issue with your setup.",
|
|
53
|
-
error.message,
|
|
54
|
-
`Please check your environment configuration and try again.`
|
|
55
|
-
].join("\n\n");
|
|
56
|
-
if (isApiClientError(error)) {
|
|
57
|
-
const statusText = error.status ? `There was an HTTP ${error.status} error with your request to the Sentry API.` : "There was an error with your request.";
|
|
58
|
-
return [
|
|
59
|
-
"**Input Error**",
|
|
60
|
-
statusText,
|
|
61
|
-
error.toUserMessage(),
|
|
62
|
-
`You may be able to resolve the issue by addressing the concern and trying again.`
|
|
63
|
-
].join("\n\n");
|
|
64
|
-
}
|
|
65
|
-
if (isApiServerError(error)) {
|
|
66
|
-
const eventId$1 = require_logging.logIssue(error);
|
|
67
|
-
const statusText = error.status ? `There was an HTTP ${error.status} server error with the Sentry API.` : "There was a server error.";
|
|
68
|
-
return [
|
|
69
|
-
"**Error**",
|
|
70
|
-
statusText,
|
|
71
|
-
`${error.message}`,
|
|
72
|
-
`**Event ID**: ${eventId$1}`,
|
|
73
|
-
`Please contact support with this Event ID if the problem persists.`
|
|
74
|
-
].join("\n\n");
|
|
75
|
-
}
|
|
76
|
-
if (isApiError(error)) {
|
|
77
|
-
const statusText = error.status ? `There was an HTTP ${error.status} error with your request to the Sentry API.` : "There was an error with your request.";
|
|
78
|
-
return [
|
|
79
|
-
"**Error**",
|
|
80
|
-
statusText,
|
|
81
|
-
`${error.message}`,
|
|
82
|
-
`You may be able to resolve the issue by addressing the concern and trying again.`
|
|
83
|
-
].join("\n\n");
|
|
84
|
-
}
|
|
85
|
-
const eventId = require_logging.logIssue(error);
|
|
86
|
-
return [
|
|
87
|
-
"**Error**",
|
|
88
|
-
"It looks like there was a problem communicating with the Sentry API.",
|
|
89
|
-
"Please report the following to the user for the Sentry team:",
|
|
90
|
-
`**Event ID**: ${eventId}`,
|
|
91
|
-
process.env.NODE_ENV !== "production" ? error instanceof Error ? error.message : String(error) : ""
|
|
92
|
-
].filter(Boolean).join("\n\n");
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
//#endregion
|
|
96
|
-
Object.defineProperty(exports, 'formatErrorForUser', {
|
|
97
|
-
enumerable: true,
|
|
98
|
-
get: function () {
|
|
99
|
-
return formatErrorForUser;
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
Object.defineProperty(exports, 'isApiClientError', {
|
|
103
|
-
enumerable: true,
|
|
104
|
-
get: function () {
|
|
105
|
-
return isApiClientError;
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
Object.defineProperty(exports, 'isApiError', {
|
|
109
|
-
enumerable: true,
|
|
110
|
-
get: function () {
|
|
111
|
-
return isApiError;
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
Object.defineProperty(exports, 'isApiServerError', {
|
|
115
|
-
enumerable: true,
|
|
116
|
-
get: function () {
|
|
117
|
-
return isApiServerError;
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
Object.defineProperty(exports, 'isConfigurationError', {
|
|
121
|
-
enumerable: true,
|
|
122
|
-
get: function () {
|
|
123
|
-
return isConfigurationError;
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
Object.defineProperty(exports, 'isUserInputError', {
|
|
127
|
-
enumerable: true,
|
|
128
|
-
get: function () {
|
|
129
|
-
return isUserInputError;
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
|
-
//# sourceMappingURL=error-handling-FGjcJT8U.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"error-handling-FGjcJT8U.cjs","names":["error: unknown","UserInputError","ConfigurationError","ApiError","ApiClientError","ApiServerError","eventId"],"sources":["../src/internal/error-handling.ts"],"sourcesContent":["import { UserInputError, ConfigurationError } from \"../errors\";\nimport { ApiError, ApiClientError, ApiServerError } from \"../api-client\";\nimport { logIssue } from \"../telem/logging\";\n\n/**\n * Type guard to identify user input validation errors.\n */\nexport function isUserInputError(error: unknown): error is UserInputError {\n return error instanceof UserInputError;\n}\n\n/**\n * Type guard to identify configuration errors.\n */\nexport function isConfigurationError(\n error: unknown,\n): error is ConfigurationError {\n return error instanceof ConfigurationError;\n}\n\n/**\n * Type guard to identify API errors.\n */\nexport function isApiError(error: unknown): error is ApiError {\n return error instanceof ApiError;\n}\n\n/**\n * Type guard to identify API client errors (4xx).\n */\nexport function isApiClientError(error: unknown): error is ApiClientError {\n return error instanceof ApiClientError;\n}\n\n/**\n * Type guard to identify API server errors (5xx).\n */\nexport function isApiServerError(error: unknown): error is ApiServerError {\n return error instanceof ApiServerError;\n}\n\n/**\n * Format an error for user display with markdown formatting.\n * This is used by tool handlers to format errors for MCP responses.\n *\n * SECURITY: Only return trusted error messages to prevent prompt injection vulnerabilities.\n * We trust: Sentry API errors, our own UserInputError/ConfigurationError messages, and system templates.\n */\nexport async function formatErrorForUser(error: unknown): Promise<string> {\n if (isUserInputError(error)) {\n return [\n \"**Input Error**\",\n \"It looks like there was a problem with the input you provided.\",\n error.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 (isConfigurationError(error)) {\n return [\n \"**Configuration Error**\",\n \"There appears to be a configuration issue with your setup.\",\n error.message,\n `Please check your environment configuration and try again.`,\n ].join(\"\\n\\n\");\n }\n\n // Handle ApiClientError (4xx) - user input errors, should NOT be logged to Sentry\n if (isApiClientError(error)) {\n const statusText = error.status\n ? `There was an HTTP ${error.status} error with your request to the Sentry API.`\n : \"There was an error with your request.\";\n\n return [\n \"**Input Error**\",\n statusText,\n error.toUserMessage(),\n `You may be able to resolve the issue by addressing the concern and trying again.`,\n ].join(\"\\n\\n\");\n }\n\n // Handle ApiServerError (5xx) - system errors, SHOULD be logged to Sentry\n if (isApiServerError(error)) {\n const eventId = logIssue(error);\n const statusText = error.status\n ? `There was an HTTP ${error.status} server error with the Sentry API.`\n : \"There was a server error.\";\n\n return [\n \"**Error**\",\n statusText,\n `${error.message}`,\n `**Event ID**: ${eventId}`,\n `Please contact support with this Event ID if the problem persists.`,\n ].join(\"\\n\\n\");\n }\n\n // Handle generic ApiError (shouldn't happen with new hierarchy, but just in case)\n if (isApiError(error)) {\n const statusText = error.status\n ? `There was an HTTP ${error.status} error with your request to the Sentry API.`\n : \"There was an error with your request.\";\n\n return [\n \"**Error**\",\n statusText,\n `${error.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 = logIssue(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 ]\n .filter(Boolean)\n .join(\"\\n\\n\");\n}\n"],"mappings":";;;;;;;;AAOA,SAAgB,iBAAiBA,OAAyC;AACxE,QAAO,iBAAiBC;AACzB;;;;AAKD,SAAgB,qBACdD,OAC6B;AAC7B,QAAO,iBAAiBE;AACzB;;;;AAKD,SAAgB,WAAWF,OAAmC;AAC5D,QAAO,iBAAiBG;AACzB;;;;AAKD,SAAgB,iBAAiBH,OAAyC;AACxE,QAAO,iBAAiBI;AACzB;;;;AAKD,SAAgB,iBAAiBJ,OAAyC;AACxE,QAAO,iBAAiBK;AACzB;;;;;;;;AASD,eAAsB,mBAAmBL,OAAiC;AACxE,KAAI,iBAAiB,MAAM,CACzB,QAAO;EACL;EACA;EACA,MAAM;GACL;CACF,EAAC,KAAK,OAAO;AAGhB,KAAI,qBAAqB,MAAM,CAC7B,QAAO;EACL;EACA;EACA,MAAM;GACL;CACF,EAAC,KAAK,OAAO;AAIhB,KAAI,iBAAiB,MAAM,EAAE;EAC3B,MAAM,aAAa,MAAM,UACpB,oBAAoB,MAAM,OAAO,+CAClC;AAEJ,SAAO;GACL;GACA;GACA,MAAM,eAAe;IACpB;EACF,EAAC,KAAK,OAAO;CACf;AAGD,KAAI,iBAAiB,MAAM,EAAE;EAC3B,MAAMM,YAAU,yBAAS,MAAM;EAC/B,MAAM,aAAa,MAAM,UACpB,oBAAoB,MAAM,OAAO,sCAClC;AAEJ,SAAO;GACL;GACA;MACG,MAAM;IACR,gBAAgBA;IAChB;EACF,EAAC,KAAK,OAAO;CACf;AAGD,KAAI,WAAW,MAAM,EAAE;EACrB,MAAM,aAAa,MAAM,UACpB,oBAAoB,MAAM,OAAO,+CAClC;AAEJ,SAAO;GACL;GACA;MACG,MAAM;IACR;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,EACE,OAAO,QAAQ,CACf,KAAK,OAAO;AAChB"}
|
package/dist/errors-BXmNwD2K.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
//#region src/errors.ts
|
|
2
|
-
/**
|
|
3
|
-
* Error thrown when user input validation fails.
|
|
4
|
-
* These errors should be returned to the user directly without logging to Sentry.
|
|
5
|
-
*/
|
|
6
|
-
var UserInputError = class extends Error {
|
|
7
|
-
constructor(message, options) {
|
|
8
|
-
super(message, options);
|
|
9
|
-
this.name = "UserInputError";
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Error thrown when configuration is invalid or missing.
|
|
14
|
-
* These errors should be returned to the user directly without logging to Sentry.
|
|
15
|
-
* Typically used for environment configuration issues, connection settings, etc.
|
|
16
|
-
*/
|
|
17
|
-
var ConfigurationError = class extends Error {
|
|
18
|
-
constructor(message, options) {
|
|
19
|
-
super(message, options);
|
|
20
|
-
this.name = "ConfigurationError";
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
//#endregion
|
|
25
|
-
export { ConfigurationError, UserInputError };
|
|
26
|
-
//# sourceMappingURL=errors-BXmNwD2K.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors-BXmNwD2K.js","names":["message: string","options?: ErrorOptions"],"sources":["../src/errors.ts"],"sourcesContent":["/**\n * Error thrown when user input validation fails.\n * These errors should be returned to the user directly without logging to Sentry.\n */\nexport class UserInputError extends Error {\n constructor(message: string, options?: ErrorOptions) {\n super(message, options);\n this.name = \"UserInputError\";\n }\n}\n\n/**\n * Error thrown when configuration is invalid or missing.\n * These errors should be returned to the user directly without logging to Sentry.\n * Typically used for environment configuration issues, connection settings, etc.\n */\nexport class ConfigurationError extends Error {\n constructor(message: string, options?: ErrorOptions) {\n super(message, options);\n this.name = \"ConfigurationError\";\n }\n}\n"],"mappings":";;;;;AAIA,IAAa,iBAAb,cAAoC,MAAM;CACxC,YAAYA,SAAiBC,SAAwB;AACnD,QAAM,SAAS,QAAQ;AACvB,OAAK,OAAO;CACb;AACF;;;;;;AAOD,IAAa,qBAAb,cAAwC,MAAM;CAC5C,YAAYD,SAAiBC,SAAwB;AACnD,QAAM,SAAS,QAAQ;AACvB,OAAK,OAAO;CACb;AACF"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
//#region src/errors.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Error thrown when user input validation fails.
|
|
4
|
-
* These errors should be returned to the user directly without logging to Sentry.
|
|
5
|
-
*/
|
|
6
|
-
declare class UserInputError extends Error {
|
|
7
|
-
constructor(message: string, options?: ErrorOptions);
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Error thrown when configuration is invalid or missing.
|
|
11
|
-
* These errors should be returned to the user directly without logging to Sentry.
|
|
12
|
-
* Typically used for environment configuration issues, connection settings, etc.
|
|
13
|
-
*/
|
|
14
|
-
declare class ConfigurationError extends Error {
|
|
15
|
-
constructor(message: string, options?: ErrorOptions);
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=errors.d.ts.map
|
|
18
|
-
//#endregion
|
|
19
|
-
export { ConfigurationError, UserInputError };
|
|
20
|
-
//# sourceMappingURL=errors-BYClKbv4.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors-BYClKbv4.d.cts","names":[],"sources":["../src/errors.ts"],"sourcesContent":[],"mappings":";;AAIA;;;AAAoC,cAAvB,cAAA,SAAuB,KAAA,CAAA;EAAK,WAAA,CAAA,OAAA,EAAA,MAAA,EAAA,OAAA,CAAA,EACA,YADA;AAYzC;;;;AAA6C;;cAAhC,kBAAA,SAA2B,KAAA;yCACC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
//#region src/errors.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Error thrown when user input validation fails.
|
|
4
|
-
* These errors should be returned to the user directly without logging to Sentry.
|
|
5
|
-
*/
|
|
6
|
-
declare class UserInputError extends Error {
|
|
7
|
-
constructor(message: string, options?: ErrorOptions);
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Error thrown when configuration is invalid or missing.
|
|
11
|
-
* These errors should be returned to the user directly without logging to Sentry.
|
|
12
|
-
* Typically used for environment configuration issues, connection settings, etc.
|
|
13
|
-
*/
|
|
14
|
-
declare class ConfigurationError extends Error {
|
|
15
|
-
constructor(message: string, options?: ErrorOptions);
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=errors.d.ts.map
|
|
18
|
-
//#endregion
|
|
19
|
-
export { ConfigurationError, UserInputError };
|
|
20
|
-
//# sourceMappingURL=errors-Cn4l-BlC.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors-Cn4l-BlC.d.ts","names":[],"sources":["../src/errors.ts"],"sourcesContent":[],"mappings":";;AAIA;;;AAAoC,cAAvB,cAAA,SAAuB,KAAA,CAAA;EAAK,WAAA,CAAA,OAAA,EAAA,MAAA,EAAA,OAAA,CAAA,EACA,YADA;AAYzC;;;;AAA6C;;cAAhC,kBAAA,SAA2B,KAAA;yCACC"}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
//#region src/api-client/errors.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* API Error Class Hierarchy
|
|
4
|
-
*
|
|
5
|
-
* This module defines a hierarchical error system for the Sentry API client
|
|
6
|
-
* that automatically categorizes errors based on HTTP status codes.
|
|
7
|
-
*
|
|
8
|
-
* Key principles:
|
|
9
|
-
* - 4xx errors (ApiClientError) are user input errors, not reported to Sentry
|
|
10
|
-
* - 5xx errors (ApiServerError) are system errors, reported to Sentry
|
|
11
|
-
* - Specific error types provide additional context and helper methods
|
|
12
|
-
* - The hierarchy enables type-safe error handling without manual status checks
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Base class for all API errors.
|
|
16
|
-
* Contains common properties for all API error types.
|
|
17
|
-
* Status is optional since some errors (like client-side validation) don't have HTTP status codes.
|
|
18
|
-
*/
|
|
19
|
-
declare class ApiError extends Error {
|
|
20
|
-
readonly status?: number | undefined;
|
|
21
|
-
readonly detail?: string | undefined;
|
|
22
|
-
readonly responseBody?: unknown | undefined;
|
|
23
|
-
constructor(message: string, status?: number | undefined, detail?: string | undefined, responseBody?: unknown | undefined);
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Client errors (4xx) - User input errors that should NOT be reported to Sentry.
|
|
27
|
-
* These typically indicate issues with the request that the user can fix.
|
|
28
|
-
* Also includes client-side validation errors that don't have HTTP status codes.
|
|
29
|
-
*/
|
|
30
|
-
declare class ApiClientError extends ApiError {
|
|
31
|
-
constructor(message: string, status?: number, detail?: string, responseBody?: unknown);
|
|
32
|
-
/**
|
|
33
|
-
* Convert to a user-friendly formatted message.
|
|
34
|
-
* Returns the standard format: "API error (status): message" or just "API error: message" if no status.
|
|
35
|
-
* For 404 errors, adds helpful context about checking parameters.
|
|
36
|
-
*/
|
|
37
|
-
toUserMessage(): string;
|
|
38
|
-
/**
|
|
39
|
-
* Check if this is a permission/authorization error (403)
|
|
40
|
-
*/
|
|
41
|
-
isPermissionError(): boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Check if this is a not found error (404)
|
|
44
|
-
*/
|
|
45
|
-
isNotFoundError(): boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Check if this is a validation error (400 or 422)
|
|
48
|
-
*/
|
|
49
|
-
isValidationError(): boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Check if this is an authentication error (401)
|
|
52
|
-
*/
|
|
53
|
-
isAuthenticationError(): boolean;
|
|
54
|
-
/**
|
|
55
|
-
* Check if this is a rate limit error (429)
|
|
56
|
-
*/
|
|
57
|
-
isRateLimitError(): boolean;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Permission denied error (403).
|
|
61
|
-
* Includes special handling for multi-project access errors.
|
|
62
|
-
*/
|
|
63
|
-
declare class ApiPermissionError extends ApiClientError {
|
|
64
|
-
constructor(message: string, detail?: string, responseBody?: unknown);
|
|
65
|
-
/**
|
|
66
|
-
* Check if this is the specific multi-project access error
|
|
67
|
-
*/
|
|
68
|
-
isMultiProjectAccessError(): boolean;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Resource not found error (404).
|
|
72
|
-
* Can include additional context about what resource was not found.
|
|
73
|
-
*/
|
|
74
|
-
declare class ApiNotFoundError extends ApiClientError {
|
|
75
|
-
readonly resourceType?: string | undefined;
|
|
76
|
-
readonly resourceId?: string | undefined;
|
|
77
|
-
constructor(message: string, detail?: string, responseBody?: unknown, resourceType?: string | undefined, resourceId?: string | undefined);
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Validation error (400 or 422 for API responses, or no status for client-side validation).
|
|
81
|
-
* Indicates the request was malformed or contained invalid data.
|
|
82
|
-
*/
|
|
83
|
-
declare class ApiValidationError extends ApiClientError {
|
|
84
|
-
readonly validationErrors?: Record<string, string[]> | undefined;
|
|
85
|
-
constructor(message: string, status?: 400 | 422, detail?: string, responseBody?: unknown, validationErrors?: Record<string, string[]> | undefined);
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Authentication error (401).
|
|
89
|
-
* Indicates the request lacks valid authentication credentials.
|
|
90
|
-
*/
|
|
91
|
-
declare class ApiAuthenticationError extends ApiClientError {
|
|
92
|
-
constructor(message: string, detail?: string, responseBody?: unknown);
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Rate limit error (429).
|
|
96
|
-
* Includes retry-after information when available.
|
|
97
|
-
*/
|
|
98
|
-
declare class ApiRateLimitError extends ApiClientError {
|
|
99
|
-
readonly retryAfter?: number | undefined;
|
|
100
|
-
constructor(message: string, detail?: string, responseBody?: unknown, retryAfter?: number | undefined);
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* Server errors (5xx) - System errors that SHOULD be reported to Sentry.
|
|
104
|
-
* These indicate problems with the server that are not the user's fault.
|
|
105
|
-
*/
|
|
106
|
-
declare class ApiServerError extends ApiError {
|
|
107
|
-
constructor(message: string, status: number, detail?: string, responseBody?: unknown);
|
|
108
|
-
/**
|
|
109
|
-
* Check if this is a gateway/proxy error (502, 503, 504)
|
|
110
|
-
*/
|
|
111
|
-
isGatewayError(): boolean;
|
|
112
|
-
/**
|
|
113
|
-
* Check if this is an internal server error (500)
|
|
114
|
-
*/
|
|
115
|
-
isInternalError(): boolean;
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Factory function to create the appropriate error type based on HTTP status code.
|
|
119
|
-
* This centralizes the logic for determining which error class to instantiate.
|
|
120
|
-
* This is only used for actual API responses, so status is required.
|
|
121
|
-
*/
|
|
122
|
-
declare function createApiError(message: string, status: number, detail?: string, responseBody?: unknown): ApiError;
|
|
123
|
-
//# sourceMappingURL=errors.d.ts.map
|
|
124
|
-
//#endregion
|
|
125
|
-
export { ApiAuthenticationError, ApiClientError, ApiError, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, createApiError };
|
|
126
|
-
//# sourceMappingURL=errors-CyAWBU2S.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors-CyAWBU2S.d.ts","names":[],"sources":["../src/api-client/errors.ts"],"sourcesContent":[],"mappings":";;AAkBA;AAmBA;AAwFA;AA0BA;AAkBA;;;;;AAAsD;AAkBtD;AAYA;AAiBA;AAgCA;;;cAtOa,QAAA,SAAiB,KAAK;;;;;;;;;;;cAmBtB,cAAA,SAAuB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwF/B,kBAAA,SAA2B,cAAc;;;;;;;;;;;cA0BzC,gBAAA,SAAyB,cAAc;;;;;;;;;cAkBvC,kBAAA,SAA2B,cAAA;8BAMD;+GAAA;;;;;;cAY1B,sBAAA,SAA+B,cAAc;;;;;;;cAY7C,iBAAA,SAA0B,cAAc;;;;;;;;cAiBxC,cAAA,SAAuB,QAAQ;;;;;;;;;;;;;;;;iBAgC5B,cAAA,4EAKb"}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
//#region src/api-client/errors.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* API Error Class Hierarchy
|
|
4
|
-
*
|
|
5
|
-
* This module defines a hierarchical error system for the Sentry API client
|
|
6
|
-
* that automatically categorizes errors based on HTTP status codes.
|
|
7
|
-
*
|
|
8
|
-
* Key principles:
|
|
9
|
-
* - 4xx errors (ApiClientError) are user input errors, not reported to Sentry
|
|
10
|
-
* - 5xx errors (ApiServerError) are system errors, reported to Sentry
|
|
11
|
-
* - Specific error types provide additional context and helper methods
|
|
12
|
-
* - The hierarchy enables type-safe error handling without manual status checks
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Base class for all API errors.
|
|
16
|
-
* Contains common properties for all API error types.
|
|
17
|
-
* Status is optional since some errors (like client-side validation) don't have HTTP status codes.
|
|
18
|
-
*/
|
|
19
|
-
declare class ApiError extends Error {
|
|
20
|
-
readonly status?: number | undefined;
|
|
21
|
-
readonly detail?: string | undefined;
|
|
22
|
-
readonly responseBody?: unknown | undefined;
|
|
23
|
-
constructor(message: string, status?: number | undefined, detail?: string | undefined, responseBody?: unknown | undefined);
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Client errors (4xx) - User input errors that should NOT be reported to Sentry.
|
|
27
|
-
* These typically indicate issues with the request that the user can fix.
|
|
28
|
-
* Also includes client-side validation errors that don't have HTTP status codes.
|
|
29
|
-
*/
|
|
30
|
-
declare class ApiClientError extends ApiError {
|
|
31
|
-
constructor(message: string, status?: number, detail?: string, responseBody?: unknown);
|
|
32
|
-
/**
|
|
33
|
-
* Convert to a user-friendly formatted message.
|
|
34
|
-
* Returns the standard format: "API error (status): message" or just "API error: message" if no status.
|
|
35
|
-
* For 404 errors, adds helpful context about checking parameters.
|
|
36
|
-
*/
|
|
37
|
-
toUserMessage(): string;
|
|
38
|
-
/**
|
|
39
|
-
* Check if this is a permission/authorization error (403)
|
|
40
|
-
*/
|
|
41
|
-
isPermissionError(): boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Check if this is a not found error (404)
|
|
44
|
-
*/
|
|
45
|
-
isNotFoundError(): boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Check if this is a validation error (400 or 422)
|
|
48
|
-
*/
|
|
49
|
-
isValidationError(): boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Check if this is an authentication error (401)
|
|
52
|
-
*/
|
|
53
|
-
isAuthenticationError(): boolean;
|
|
54
|
-
/**
|
|
55
|
-
* Check if this is a rate limit error (429)
|
|
56
|
-
*/
|
|
57
|
-
isRateLimitError(): boolean;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Permission denied error (403).
|
|
61
|
-
* Includes special handling for multi-project access errors.
|
|
62
|
-
*/
|
|
63
|
-
declare class ApiPermissionError extends ApiClientError {
|
|
64
|
-
constructor(message: string, detail?: string, responseBody?: unknown);
|
|
65
|
-
/**
|
|
66
|
-
* Check if this is the specific multi-project access error
|
|
67
|
-
*/
|
|
68
|
-
isMultiProjectAccessError(): boolean;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Resource not found error (404).
|
|
72
|
-
* Can include additional context about what resource was not found.
|
|
73
|
-
*/
|
|
74
|
-
declare class ApiNotFoundError extends ApiClientError {
|
|
75
|
-
readonly resourceType?: string | undefined;
|
|
76
|
-
readonly resourceId?: string | undefined;
|
|
77
|
-
constructor(message: string, detail?: string, responseBody?: unknown, resourceType?: string | undefined, resourceId?: string | undefined);
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Validation error (400 or 422 for API responses, or no status for client-side validation).
|
|
81
|
-
* Indicates the request was malformed or contained invalid data.
|
|
82
|
-
*/
|
|
83
|
-
declare class ApiValidationError extends ApiClientError {
|
|
84
|
-
readonly validationErrors?: Record<string, string[]> | undefined;
|
|
85
|
-
constructor(message: string, status?: 400 | 422, detail?: string, responseBody?: unknown, validationErrors?: Record<string, string[]> | undefined);
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Authentication error (401).
|
|
89
|
-
* Indicates the request lacks valid authentication credentials.
|
|
90
|
-
*/
|
|
91
|
-
declare class ApiAuthenticationError extends ApiClientError {
|
|
92
|
-
constructor(message: string, detail?: string, responseBody?: unknown);
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Rate limit error (429).
|
|
96
|
-
* Includes retry-after information when available.
|
|
97
|
-
*/
|
|
98
|
-
declare class ApiRateLimitError extends ApiClientError {
|
|
99
|
-
readonly retryAfter?: number | undefined;
|
|
100
|
-
constructor(message: string, detail?: string, responseBody?: unknown, retryAfter?: number | undefined);
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* Server errors (5xx) - System errors that SHOULD be reported to Sentry.
|
|
104
|
-
* These indicate problems with the server that are not the user's fault.
|
|
105
|
-
*/
|
|
106
|
-
declare class ApiServerError extends ApiError {
|
|
107
|
-
constructor(message: string, status: number, detail?: string, responseBody?: unknown);
|
|
108
|
-
/**
|
|
109
|
-
* Check if this is a gateway/proxy error (502, 503, 504)
|
|
110
|
-
*/
|
|
111
|
-
isGatewayError(): boolean;
|
|
112
|
-
/**
|
|
113
|
-
* Check if this is an internal server error (500)
|
|
114
|
-
*/
|
|
115
|
-
isInternalError(): boolean;
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Factory function to create the appropriate error type based on HTTP status code.
|
|
119
|
-
* This centralizes the logic for determining which error class to instantiate.
|
|
120
|
-
* This is only used for actual API responses, so status is required.
|
|
121
|
-
*/
|
|
122
|
-
declare function createApiError(message: string, status: number, detail?: string, responseBody?: unknown): ApiError;
|
|
123
|
-
//# sourceMappingURL=errors.d.ts.map
|
|
124
|
-
//#endregion
|
|
125
|
-
export { ApiAuthenticationError, ApiClientError, ApiError, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, createApiError };
|
|
126
|
-
//# sourceMappingURL=errors-DMiENfq7.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors-DMiENfq7.d.cts","names":[],"sources":["../src/api-client/errors.ts"],"sourcesContent":[],"mappings":";;AAkBA;AAmBA;AAwFA;AA0BA;AAkBA;;;;;AAAsD;AAkBtD;AAYA;AAiBA;AAgCA;;;cAtOa,QAAA,SAAiB,KAAK;;;;;;;;;;;cAmBtB,cAAA,SAAuB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwF/B,kBAAA,SAA2B,cAAc;;;;;;;;;;;cA0BzC,gBAAA,SAAyB,cAAc;;;;;;;;;cAkBvC,kBAAA,SAA2B,cAAA;8BAMD;+GAAA;;;;;;cAY1B,sBAAA,SAA+B,cAAc;;;;;;;cAY7C,iBAAA,SAA0B,cAAc;;;;;;;;cAiBxC,cAAA,SAAuB,QAAQ;;;;;;;;;;;;;;;;iBAgC5B,cAAA,4EAKb"}
|