@sentry/mcp-server 0.18.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -10
- package/dist/{agent-DD6nYWBQ.d.cts → agent-4SliQ-uj.d.cts} +2 -2
- package/dist/{agent-DD6nYWBQ.d.cts.map → agent-4SliQ-uj.d.cts.map} +1 -1
- package/dist/{agent-D9xBrLvD.cjs → agent-BMCJjVaJ.cjs} +5 -5
- package/dist/{agent-D9xBrLvD.cjs.map → agent-BMCJjVaJ.cjs.map} +1 -1
- package/dist/agent-BbMg6UEA.d.cts +32 -0
- package/dist/agent-BbMg6UEA.d.cts.map +1 -0
- package/dist/{agent-DzpIyyqs.js → agent-CRc61dcC.js} +5 -5
- package/dist/{agent-DzpIyyqs.js.map → agent-CRc61dcC.js.map} +1 -1
- package/dist/{agent-DAlB2lDx.d.cts → agent-D-dMHrZ1.d.cts} +2 -2
- package/dist/{agent-DAlB2lDx.d.cts.map → agent-D-dMHrZ1.d.cts.map} +1 -1
- package/dist/agent-DT4ic52w.cjs +35 -0
- package/dist/agent-DT4ic52w.cjs.map +1 -0
- package/dist/{agent-UxF0J0wb.d.ts → agent-D_WfZ67H.d.ts} +6 -6
- package/dist/{agent-UxF0J0wb.d.ts.map → agent-D_WfZ67H.d.ts.map} +1 -1
- package/dist/agent-Dnr67ykA.d.ts +32 -0
- package/dist/agent-Dnr67ykA.d.ts.map +1 -0
- package/dist/{agent-xEtb_OFK.d.ts → agent-DoYdEiCJ.d.ts} +4 -4
- package/dist/{agent-xEtb_OFK.d.ts.map → agent-DoYdEiCJ.d.ts.map} +1 -1
- package/dist/{agent-BF4d0oSb.cjs → agent-DzfX6_dM.cjs} +6 -6
- package/dist/{agent-BF4d0oSb.cjs.map → agent-DzfX6_dM.cjs.map} +1 -1
- package/dist/{agent-CP5e4nTv.js → agent-FoPk5psd.js} +6 -6
- package/dist/{agent-CP5e4nTv.js.map → agent-FoPk5psd.js.map} +1 -1
- package/dist/agent-tLRcGXXr.js +29 -0
- package/dist/agent-tLRcGXXr.js.map +1 -0
- package/dist/agent-tools-1J_Oub8P.cjs +20 -0
- package/dist/agent-tools-1J_Oub8P.cjs.map +1 -0
- package/dist/agent-tools-DodmjvZn.js +15 -0
- package/dist/agent-tools-DodmjvZn.js.map +1 -0
- package/dist/{analyze-issue-with-seer-Cf0jCiKP.cjs → analyze-issue-with-seer-CI8pvCnf.cjs} +16 -11
- package/dist/analyze-issue-with-seer-CI8pvCnf.cjs.map +1 -0
- package/dist/{analyze-issue-with-seer-DqwczSTV.js → analyze-issue-with-seer-DvuKEcbu.js} +16 -11
- package/dist/analyze-issue-with-seer-DvuKEcbu.js.map +1 -0
- package/dist/{api-D9yO5I-i.cjs → api-CZD9zwQ-.cjs} +4 -4
- package/dist/{api-D9yO5I-i.cjs.map → api-CZD9zwQ-.cjs.map} +1 -1
- package/dist/{api-mjnGhOW2.js → api-CkLTFexT.js} +4 -4
- package/dist/{api-mjnGhOW2.js.map → api-CkLTFexT.js.map} +1 -1
- package/dist/api-client/client.cjs +5 -4
- package/dist/api-client/client.d.cts +3 -3
- package/dist/api-client/client.d.ts +3 -3
- package/dist/api-client/client.js +5 -4
- package/dist/api-client/errors.cjs +1 -1
- package/dist/api-client/errors.d.ts +1 -1
- package/dist/api-client/errors.js +1 -1
- package/dist/api-client/index.cjs +8 -6
- package/dist/api-client/index.d.cts +4 -4
- package/dist/api-client/index.d.ts +6 -6
- package/dist/api-client/index.js +8 -7
- package/dist/api-client/schema.cjs +2 -1
- package/dist/api-client/schema.d.cts +2 -2
- package/dist/api-client/schema.d.ts +2 -2
- package/dist/api-client/schema.js +2 -2
- package/dist/api-client/types.cjs +1 -1
- package/dist/api-client/types.d.cts +3 -3
- package/dist/api-client/types.d.ts +3 -3
- package/dist/api-client/types.js +1 -1
- package/dist/{callEmbeddedAgent-C0pC9du1.js → callEmbeddedAgent-BSnzLPfW.js} +4 -3
- package/dist/callEmbeddedAgent-BSnzLPfW.js.map +1 -0
- package/dist/callEmbeddedAgent-D83njSgs.d.cts +34 -0
- package/dist/callEmbeddedAgent-D83njSgs.d.cts.map +1 -0
- package/dist/{callEmbeddedAgent-BRz60bxa.cjs → callEmbeddedAgent-KKTSTD7W.cjs} +4 -3
- package/dist/callEmbeddedAgent-KKTSTD7W.cjs.map +1 -0
- package/dist/callEmbeddedAgent-RskCqVav.d.ts +34 -0
- package/dist/callEmbeddedAgent-RskCqVav.d.ts.map +1 -0
- package/dist/cli/parse.cjs +1 -1
- package/dist/cli/parse.d.cts +2 -2
- package/dist/cli/parse.d.cts.map +1 -1
- package/dist/cli/parse.d.ts +2 -2
- package/dist/cli/parse.d.ts.map +1 -1
- package/dist/cli/parse.js +1 -1
- package/dist/cli/resolve.cjs +3 -3
- package/dist/cli/resolve.d.cts +2 -2
- package/dist/cli/resolve.d.cts.map +1 -1
- package/dist/cli/resolve.d.ts +2 -2
- package/dist/cli/resolve.d.ts.map +1 -1
- package/dist/cli/resolve.js +3 -3
- package/dist/cli/types.d.cts +2 -2
- package/dist/cli/types.d.ts +2 -2
- package/dist/cli/usage.cjs +1 -1
- package/dist/cli/usage.d.cts +1 -1
- package/dist/cli/usage.d.ts +1 -1
- package/dist/cli/usage.js +1 -1
- package/dist/{client-AVVG7J24.cjs → client-C2TwbSm-.cjs} +75 -19
- package/dist/client-C2TwbSm-.cjs.map +1 -0
- package/dist/{client-BqrNpqZW.js → client-CWgvrDHH.js} +75 -19
- package/dist/client-CWgvrDHH.js.map +1 -0
- package/dist/{client-B0wezrpt.d.cts → client-DeGFkGAD.d.cts} +23 -11
- package/dist/client-DeGFkGAD.d.cts.map +1 -0
- package/dist/{client-D-KqRd94.d.ts → client-njqQAP-R.d.ts} +24 -12
- package/dist/client-njqQAP-R.d.ts.map +1 -0
- package/dist/{config-CqdBCqLx.js → config-BMC-126h.js} +1 -1
- package/dist/{config-CqdBCqLx.js.map → config-BMC-126h.js.map} +1 -1
- package/dist/config-CTRUv0J3.js +25 -0
- package/dist/config-CTRUv0J3.js.map +1 -0
- package/dist/config-ClFI6orZ.cjs +37 -0
- package/dist/config-ClFI6orZ.cjs.map +1 -0
- package/dist/{config-DsvSjPCG.cjs → config-CllFlx5w.cjs} +1 -1
- package/dist/{config-DsvSjPCG.cjs.map → config-CllFlx5w.cjs.map} +1 -1
- package/dist/{config-DFt-16ni.cjs → config-DbQP60oo.cjs} +1 -1
- package/dist/{config-DFt-16ni.cjs.map → config-DbQP60oo.cjs.map} +1 -1
- package/dist/{config-DDf8XyZs.js → config-DlhHLHjD.js} +1 -1
- package/dist/{config-DDf8XyZs.js.map → config-DlhHLHjD.js.map} +1 -1
- package/dist/constraint-helpers-0jgp7p3K.js +64 -0
- package/dist/constraint-helpers-0jgp7p3K.js.map +1 -0
- package/dist/constraint-helpers-BJPdGLZ3.cjs +76 -0
- package/dist/constraint-helpers-BJPdGLZ3.cjs.map +1 -0
- package/dist/{create-dsn-BhshlP7l.js → create-dsn-Bx2s8Bik.js} +9 -4
- package/dist/create-dsn-Bx2s8Bik.js.map +1 -0
- package/dist/{create-dsn-DaHidLhE.cjs → create-dsn-ggGt0lZf.cjs} +9 -4
- package/dist/create-dsn-ggGt0lZf.cjs.map +1 -0
- package/dist/{create-project-C3laecaU.js → create-project-C0pm6zUK.js} +11 -6
- package/dist/create-project-C0pm6zUK.js.map +1 -0
- package/dist/{create-project-xszOpGTC.cjs → create-project-CZBklXm8.cjs} +11 -6
- package/dist/create-project-CZBklXm8.cjs.map +1 -0
- package/dist/{create-team-CTN-DxOE.js → create-team-BQIns3VD.js} +9 -4
- package/dist/create-team-BQIns3VD.js.map +1 -0
- package/dist/{create-team-DmnJHSIx.cjs → create-team-DmqKw2c1.cjs} +9 -4
- package/dist/create-team-DmqKw2c1.cjs.map +1 -0
- package/dist/{dataset-fields-DacS0qF0.cjs → dataset-fields-C0m-vwNH.cjs} +2 -2
- package/dist/{dataset-fields-DacS0qF0.cjs.map → dataset-fields-C0m-vwNH.cjs.map} +1 -1
- package/dist/{dataset-fields-By43SxJp.js → dataset-fields-C1o_cZrM.js} +2 -2
- package/dist/{dataset-fields-By43SxJp.js.map → dataset-fields-C1o_cZrM.js.map} +1 -1
- package/dist/{enhance-error-C7AVt85N.js → enhance-error-D3QfZOhm.js} +2 -2
- package/dist/{enhance-error-C7AVt85N.js.map → enhance-error-D3QfZOhm.js.map} +1 -1
- package/dist/{enhance-error-CAREhbDf.cjs → enhance-error-DzXrKg85.cjs} +2 -2
- package/dist/{enhance-error-CAREhbDf.cjs.map → enhance-error-DzXrKg85.cjs.map} +1 -1
- package/dist/{error-handling-efwohgKv.js → error-handling-D_4c-JgK.js} +5 -5
- package/dist/error-handling-D_4c-JgK.js.map +1 -0
- package/dist/{error-handling-qfa1BeDb.cjs → error-handling-ZVmZRXZb.cjs} +5 -5
- package/dist/error-handling-ZVmZRXZb.cjs.map +1 -0
- package/dist/{errors-CNTY5dED.cjs → errors-Bmqdg5Q6.cjs} +1 -1
- package/dist/{errors-CNTY5dED.cjs.map → errors-Bmqdg5Q6.cjs.map} +1 -1
- package/dist/{errors-Dr7Q6mD5.js → errors-CQZ-QlOB.js} +1 -1
- package/dist/{errors-Dr7Q6mD5.js.map → errors-CQZ-QlOB.js.map} +1 -1
- package/dist/{errors-bxPCd8AO.d.ts → errors-CyAWBU2S.d.ts} +1 -1
- package/dist/{errors-bxPCd8AO.d.ts.map → errors-CyAWBU2S.d.ts.map} +1 -1
- package/dist/{errors-Cn4l-BlC.d.ts → errors-D9WEvbBw.d.ts} +1 -1
- package/dist/{errors-Cn4l-BlC.d.ts.map → errors-D9WEvbBw.d.ts.map} +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/{fetch-utils-DRWItYjp.js → fetch-utils-BetJhSli.js} +1 -1
- package/dist/{fetch-utils-DRWItYjp.js.map → fetch-utils-BetJhSli.js.map} +1 -1
- package/dist/{fetch-utils-bHWZV7j9.cjs → fetch-utils-Cp3P-Ai3.cjs} +1 -1
- package/dist/{fetch-utils-bHWZV7j9.cjs.map → fetch-utils-Cp3P-Ai3.cjs.map} +1 -1
- package/dist/{find-dsns-U4CCcoTv.js → find-dsns-BPN8wnUr.js} +7 -3
- package/dist/find-dsns-BPN8wnUr.js.map +1 -0
- package/dist/{find-dsns-D0l3siyF.cjs → find-dsns-Ct6uFZMB.cjs} +7 -3
- package/dist/find-dsns-Ct6uFZMB.cjs.map +1 -0
- package/dist/{find-organizations-Ca-zpAlI.cjs → find-organizations-BGI_WW2q.cjs} +18 -7
- package/dist/find-organizations-BGI_WW2q.cjs.map +1 -0
- package/dist/{find-organizations-HUZFa8ZA.js → find-organizations-DxH9SS3w.js} +18 -7
- package/dist/find-organizations-DxH9SS3w.js.map +1 -0
- package/dist/{find-projects-CWNLthwg.cjs → find-projects-B80qSPpP.cjs} +19 -8
- package/dist/find-projects-B80qSPpP.cjs.map +1 -0
- package/dist/{find-projects-Dy1_O9L0.js → find-projects-DOMBBYAP.js} +19 -8
- package/dist/find-projects-DOMBBYAP.js.map +1 -0
- package/dist/{find-releases-DN_BfQM2.js → find-releases-CfZRMBvh.js} +8 -4
- package/dist/find-releases-CfZRMBvh.js.map +1 -0
- package/dist/{find-releases-BtazPcQH.cjs → find-releases-Cy-Q-Qje.cjs} +8 -4
- package/dist/find-releases-Cy-Q-Qje.cjs.map +1 -0
- package/dist/{find-teams-_zAHPVGx.cjs → find-teams-BuH2ddaL.cjs} +19 -8
- package/dist/find-teams-BuH2ddaL.cjs.map +1 -0
- package/dist/find-teams-D5770X0I.js +51 -0
- package/dist/find-teams-D5770X0I.js.map +1 -0
- package/dist/{formatters-DJSiRyVi.js → formatters-B9XiCNZ_.js} +2 -2
- package/dist/{formatters-DJSiRyVi.js.map → formatters-B9XiCNZ_.js.map} +1 -1
- package/dist/{formatters-Bzx0sr5R.cjs → formatters-CkbVfXEE.cjs} +2 -2
- package/dist/{formatters-Bzx0sr5R.cjs.map → formatters-CkbVfXEE.cjs.map} +1 -1
- package/dist/{formatters-CCZdBmLd.cjs → formatters-DMlTJcHW.cjs} +2 -2
- package/dist/{formatters-CCZdBmLd.cjs.map → formatters-DMlTJcHW.cjs.map} +1 -1
- package/dist/{formatters-DJM9_F3A.js → formatters-MEWHZ83Y.js} +2 -2
- package/dist/{formatters-DJM9_F3A.js.map → formatters-MEWHZ83Y.js.map} +1 -1
- package/dist/{formatting-CfpTtZLo.js → formatting-CAQbf0su.js} +1 -1
- package/dist/{formatting-CfpTtZLo.js.map → formatting-CAQbf0su.js.map} +1 -1
- package/dist/{formatting-CqmsvuAY.cjs → formatting-Cu1Skk_Y.cjs} +444 -10
- package/dist/formatting-Cu1Skk_Y.cjs.map +1 -0
- package/dist/{formatting-XMmhMjRz.d.cts → formatting-D5u7lYGU.d.ts} +11 -6
- package/dist/formatting-D5u7lYGU.d.ts.map +1 -0
- package/dist/{formatting-BjCK9XwW.js → formatting-DytLf-hH.js} +444 -10
- package/dist/formatting-DytLf-hH.js.map +1 -0
- package/dist/{formatting-CJKoPqjy.cjs → formatting-EM76FrY3.cjs} +1 -1
- package/dist/{formatting-CJKoPqjy.cjs.map → formatting-EM76FrY3.cjs.map} +1 -1
- package/dist/{formatting-l3qx5d7L.d.ts → formatting-iJThzXT4.d.cts} +11 -6
- package/dist/formatting-iJThzXT4.d.cts.map +1 -0
- package/dist/{get-doc-JDwOkY2j.js → get-doc-D9Xq7et9.js} +8 -4
- package/dist/get-doc-D9Xq7et9.js.map +1 -0
- package/dist/{get-doc-Euz6NiM3.cjs → get-doc-MxWNTA8R.cjs} +8 -4
- package/dist/get-doc-MxWNTA8R.cjs.map +1 -0
- package/dist/{get-event-attachment-pIJmUfFE.js → get-event-attachment-B_BzSfcE.js} +7 -3
- package/dist/get-event-attachment-B_BzSfcE.js.map +1 -0
- package/dist/{get-event-attachment-DvpQ-dEP.cjs → get-event-attachment-CrtS0QRV.cjs} +7 -3
- package/dist/get-event-attachment-CrtS0QRV.cjs.map +1 -0
- package/dist/{get-issue-details-B1PDMmMY.js → get-issue-details-CucQ2nf7.js} +60 -14
- package/dist/get-issue-details-CucQ2nf7.js.map +1 -0
- package/dist/{get-issue-details-BH75EnNk.cjs → get-issue-details-lQmdKAfJ.cjs} +60 -14
- package/dist/get-issue-details-lQmdKAfJ.cjs.map +1 -0
- package/dist/{get-trace-details-CaK0JMf4.js → get-trace-details-BL5_jvgs.js} +7 -3
- package/dist/get-trace-details-BL5_jvgs.js.map +1 -0
- package/dist/{get-trace-details-Bksygq21.cjs → get-trace-details-iDp34mms.cjs} +7 -3
- package/dist/get-trace-details-iDp34mms.cjs.map +1 -0
- package/dist/{handler-Ct9Z_sTZ.d.ts → handler-ABnXxpHJ.d.ts} +2 -2
- package/dist/{handler-Ct9Z_sTZ.d.ts.map → handler-ABnXxpHJ.d.ts.map} +1 -1
- package/dist/{handler-BbqDy4DA.js → handler-B3-dKrMX.js} +11 -7
- package/dist/handler-B3-dKrMX.js.map +1 -0
- package/dist/{handler-DSYbwPgv.d.cts → handler-BT1XWqc_.d.cts} +2 -2
- package/dist/{handler-DSYbwPgv.d.cts.map → handler-BT1XWqc_.d.cts.map} +1 -1
- package/dist/{handler-RV4XhU8F.d.cts → handler-CGUL1Gvj.d.cts} +2 -2
- package/dist/{handler-RV4XhU8F.d.cts.map → handler-CGUL1Gvj.d.cts.map} +1 -1
- package/dist/{handler-CcbbXK_f.d.ts → handler-CT6BNjub.d.ts} +2 -2
- package/dist/{handler-CcbbXK_f.d.ts.map → handler-CT6BNjub.d.ts.map} +1 -1
- package/dist/handler-D8I4qhcy.d.ts +11 -0
- package/dist/handler-D8I4qhcy.d.ts.map +1 -0
- package/dist/handler-DxsxiLrw.d.cts +11 -0
- package/dist/handler-DxsxiLrw.d.cts.map +1 -0
- package/dist/{handler-C0zOOLbO.cjs → handler-Fsqncg_W.cjs} +10 -6
- package/dist/handler-Fsqncg_W.cjs.map +1 -0
- package/dist/{handler-DyBdUYam.js → handler-JBRPTNfu.js} +10 -6
- package/dist/handler-JBRPTNfu.js.map +1 -0
- package/dist/{handler-cy5oD28N.cjs → handler-TWOoomKr.cjs} +11 -7
- package/dist/handler-TWOoomKr.cjs.map +1 -0
- package/dist/index.cjs +82 -76
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +81 -75
- package/dist/index.js.map +1 -1
- package/dist/internal/agents/callEmbeddedAgent.cjs +2 -1
- package/dist/internal/agents/callEmbeddedAgent.d.cts +2 -33
- package/dist/internal/agents/callEmbeddedAgent.d.ts +2 -33
- package/dist/internal/agents/callEmbeddedAgent.js +2 -1
- package/dist/internal/agents/openai-provider.cjs +4 -0
- package/dist/internal/agents/openai-provider.d.cts +30 -0
- package/dist/internal/agents/openai-provider.d.cts.map +1 -0
- package/dist/internal/agents/openai-provider.d.ts +30 -0
- package/dist/internal/agents/openai-provider.d.ts.map +1 -0
- package/dist/internal/agents/openai-provider.js +3 -0
- package/dist/internal/agents/tools/dataset-fields.cjs +9 -9
- package/dist/internal/agents/tools/dataset-fields.d.cts +7 -7
- package/dist/internal/agents/tools/dataset-fields.d.ts +9 -9
- package/dist/internal/agents/tools/dataset-fields.js +9 -9
- package/dist/internal/agents/tools/otel-semantics.cjs +9 -9
- package/dist/internal/agents/tools/otel-semantics.d.cts +7 -7
- package/dist/internal/agents/tools/otel-semantics.d.ts +9 -9
- package/dist/internal/agents/tools/otel-semantics.js +9 -9
- package/dist/internal/agents/tools/utils.cjs +8 -8
- package/dist/internal/agents/tools/utils.d.cts +1 -1
- package/dist/internal/agents/tools/utils.d.ts +1 -1
- package/dist/internal/agents/tools/utils.js +8 -8
- package/dist/internal/agents/tools/whoami.cjs +9 -9
- package/dist/internal/agents/tools/whoami.d.cts +7 -7
- package/dist/internal/agents/tools/whoami.d.ts +9 -9
- package/dist/internal/agents/tools/whoami.js +9 -9
- package/dist/internal/constraint-helpers.cjs +4 -0
- package/dist/internal/constraint-helpers.d.cts +53 -0
- package/dist/internal/constraint-helpers.d.cts.map +1 -0
- package/dist/internal/constraint-helpers.d.ts +53 -0
- package/dist/internal/constraint-helpers.d.ts.map +1 -0
- package/dist/internal/constraint-helpers.js +3 -0
- package/dist/internal/error-handling.cjs +8 -8
- package/dist/internal/error-handling.d.cts +3 -3
- package/dist/internal/error-handling.d.ts +6 -6
- package/dist/internal/error-handling.js +8 -8
- package/dist/internal/fetch-utils.cjs +1 -1
- package/dist/internal/fetch-utils.js +1 -1
- package/dist/internal/formatting.cjs +2 -2
- package/dist/internal/formatting.d.cts +4 -4
- package/dist/internal/formatting.d.ts +6 -6
- package/dist/internal/formatting.js +2 -2
- package/dist/internal/issue-helpers.cjs +1 -1
- package/dist/internal/issue-helpers.d.cts +1 -1
- package/dist/internal/issue-helpers.d.ts +1 -1
- package/dist/internal/issue-helpers.js +1 -1
- package/dist/internal/test-fixtures.cjs +12 -2
- package/dist/internal/test-fixtures.cjs.map +1 -1
- package/dist/internal/test-fixtures.d.cts +35 -2133
- package/dist/internal/test-fixtures.d.cts.map +1 -1
- package/dist/internal/test-fixtures.d.ts +35 -2133
- package/dist/internal/test-fixtures.d.ts.map +1 -1
- package/dist/internal/test-fixtures.js +12 -2
- package/dist/internal/test-fixtures.js.map +1 -1
- package/dist/internal/tool-helpers/api.cjs +9 -8
- package/dist/internal/tool-helpers/api.d.cts +5 -6
- package/dist/internal/tool-helpers/api.d.cts.map +1 -1
- package/dist/internal/tool-helpers/api.d.ts +7 -8
- package/dist/internal/tool-helpers/api.d.ts.map +1 -1
- package/dist/internal/tool-helpers/api.js +9 -8
- package/dist/internal/tool-helpers/define.d.cts +3 -4
- package/dist/internal/tool-helpers/define.d.cts.map +1 -1
- package/dist/internal/tool-helpers/define.d.ts +3 -4
- package/dist/internal/tool-helpers/define.d.ts.map +1 -1
- package/dist/internal/tool-helpers/enhance-error.cjs +8 -7
- package/dist/internal/tool-helpers/enhance-error.d.cts +3 -3
- package/dist/internal/tool-helpers/enhance-error.d.ts +5 -5
- package/dist/internal/tool-helpers/enhance-error.js +8 -7
- package/dist/internal/tool-helpers/formatting.cjs +1 -1
- package/dist/internal/tool-helpers/formatting.d.cts +3 -3
- package/dist/internal/tool-helpers/formatting.d.ts +5 -5
- package/dist/internal/tool-helpers/formatting.js +1 -1
- package/dist/internal/tool-helpers/issue.cjs +4 -4
- package/dist/internal/tool-helpers/issue.d.cts +5 -5
- package/dist/internal/tool-helpers/issue.d.ts +7 -7
- package/dist/internal/tool-helpers/issue.js +4 -4
- package/dist/internal/tool-helpers/seer.cjs +1 -1
- package/dist/internal/tool-helpers/seer.d.cts +3 -3
- package/dist/internal/tool-helpers/seer.d.ts +5 -5
- package/dist/internal/tool-helpers/seer.js +1 -1
- package/dist/internal/tool-helpers/validate-region-url.cjs +1 -1
- package/dist/internal/tool-helpers/validate-region-url.js +1 -1
- package/dist/{issue-helpers-Bjp6xu5H.js → issue-helpers-8Bubch8E.js} +1 -1
- package/dist/{issue-helpers-Bjp6xu5H.js.map → issue-helpers-8Bubch8E.js.map} +1 -1
- package/dist/{issue-helpers-kwhe1ipy.d.ts → issue-helpers-BUtEHFKi.d.ts} +1 -1
- package/dist/{issue-helpers-kwhe1ipy.d.ts.map → issue-helpers-BUtEHFKi.d.ts.map} +1 -1
- package/dist/{issue-helpers-Cf6mvHG1.d.cts → issue-helpers-Cyxq87SP.d.cts} +1 -1
- package/dist/{issue-helpers-Cf6mvHG1.d.cts.map → issue-helpers-Cyxq87SP.d.cts.map} +1 -1
- package/dist/{issue-helpers-1qxzc7ww.cjs → issue-helpers-DbPTv_qC.cjs} +1 -1
- package/dist/{issue-helpers-1qxzc7ww.cjs.map → issue-helpers-DbPTv_qC.cjs.map} +1 -1
- package/dist/logging-99Uppado.d.cts +31 -0
- package/dist/logging-99Uppado.d.cts.map +1 -0
- package/dist/logging-BWajuCoz.d.ts +31 -0
- package/dist/logging-BWajuCoz.d.ts.map +1 -0
- package/dist/logging-CkAJKyq2.cjs +298 -0
- package/dist/logging-CkAJKyq2.cjs.map +1 -0
- package/dist/logging-DqqDTe02.js +256 -0
- package/dist/logging-DqqDTe02.js.map +1 -0
- package/dist/openai-provider-CqpHDwSr.js +32 -0
- package/dist/openai-provider-CqpHDwSr.js.map +1 -0
- package/dist/openai-provider-DhSY7kTj.cjs +44 -0
- package/dist/openai-provider-DhSY7kTj.cjs.map +1 -0
- package/dist/{otel-semantics-BFRGhf6y.js → otel-semantics-CArUzarp.js} +2 -2
- package/dist/{otel-semantics-BFRGhf6y.js.map → otel-semantics-CArUzarp.js.map} +1 -1
- package/dist/{otel-semantics-CkUpXWEJ.cjs → otel-semantics-onvZv7i9.cjs} +2 -2
- package/dist/{otel-semantics-CkUpXWEJ.cjs.map → otel-semantics-onvZv7i9.cjs.map} +1 -1
- package/dist/{parse-CeFc4xnt.cjs → parse-BOPxttSm.cjs} +7 -1
- package/dist/parse-BOPxttSm.cjs.map +1 -0
- package/dist/{parse-C3tRlsy-.js → parse-Da0oa8W8.js} +7 -1
- package/dist/parse-Da0oa8W8.js.map +1 -0
- package/dist/{permissions-Cm5e34n2.d.cts → permissions-B1meXGie.d.cts} +2 -2
- package/dist/permissions-B1meXGie.d.cts.map +1 -0
- package/dist/{permissions-C-q0Y5bL.d.ts → permissions-BBgPgD70.d.ts} +2 -2
- package/dist/permissions-BBgPgD70.d.ts.map +1 -0
- package/dist/{permissions-DuDYuCjy.cjs → permissions-CpuEzSxz.cjs} +5 -3
- package/dist/permissions-CpuEzSxz.cjs.map +1 -0
- package/dist/{permissions-DRdH39Fe.js → permissions-xBjHy6Qx.js} +5 -3
- package/dist/permissions-xBjHy6Qx.js.map +1 -0
- package/dist/permissions.cjs +1 -1
- package/dist/permissions.d.cts +1 -1
- package/dist/permissions.d.ts +1 -1
- package/dist/permissions.js +1 -1
- package/dist/{resolve-B_Fq13Dk.js → resolve-C95FW12c.js} +5 -3
- package/dist/resolve-C95FW12c.js.map +1 -0
- package/dist/{resolve-CAtC1wN-.cjs → resolve-D6Cfnjdj.cjs} +5 -3
- package/dist/resolve-D6Cfnjdj.cjs.map +1 -0
- package/dist/{schema-ChvpDxUk.d.cts → schema-BogGdbdV.d.ts} +2514 -213
- package/dist/schema-BogGdbdV.d.ts.map +1 -0
- package/dist/{schema-D1CzTJXB.js → schema-CuB-30t5.js} +38 -6
- package/dist/schema-CuB-30t5.js.map +1 -0
- package/dist/{schema-BUBkkdUa.cjs → schema-Cv_VNAHz.cjs} +8 -1
- package/dist/schema-Cv_VNAHz.cjs.map +1 -0
- package/dist/{schema-CbXlt1rW.cjs → schema-DoWJbcHt.cjs} +43 -5
- package/dist/schema-DoWJbcHt.cjs.map +1 -0
- package/dist/{schema-DOY22v1Q.d.ts → schema-Y6BzAUmc.d.cts} +2575 -274
- package/dist/schema-Y6BzAUmc.d.cts.map +1 -0
- package/dist/{schema-DPJO5nkQ.js → schema-rwexXWFL.js} +3 -2
- package/dist/schema-rwexXWFL.js.map +1 -0
- package/dist/schema.cjs +2 -1
- package/dist/schema.d.cts +2 -1
- package/dist/schema.d.cts.map +1 -1
- package/dist/schema.d.ts +2 -1
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +2 -2
- package/dist/{search-docs-CpAlMLs8.js → search-docs-B9qNTw49.js} +8 -4
- package/dist/search-docs-B9qNTw49.js.map +1 -0
- package/dist/{search-docs-CH6-1H9_.cjs → search-docs-CTT1Bt1U.cjs} +8 -4
- package/dist/search-docs-CTT1Bt1U.cjs.map +1 -0
- package/dist/{seer-retC9dFI.cjs → seer-B63P5CPi.cjs} +1 -1
- package/dist/{seer-retC9dFI.cjs.map → seer-B63P5CPi.cjs.map} +1 -1
- package/dist/{seer-DLvrFQPo.js → seer-CderEQ-X.js} +1 -1
- package/dist/{seer-DLvrFQPo.js.map → seer-CderEQ-X.js.map} +1 -1
- package/dist/sentry-Bgt0wrtI.d.ts +9 -0
- package/dist/sentry-Bgt0wrtI.d.ts.map +1 -0
- package/dist/sentry-BhTMff8f.js +104 -0
- package/dist/sentry-BhTMff8f.js.map +1 -0
- package/dist/sentry-DAPJGZoR.d.cts +9 -0
- package/dist/sentry-DAPJGZoR.d.cts.map +1 -0
- package/dist/sentry-Da9wc8eP.cjs +110 -0
- package/dist/sentry-Da9wc8eP.cjs.map +1 -0
- package/dist/server-CDG3HfVV.js +264 -0
- package/dist/server-CDG3HfVV.js.map +1 -0
- package/dist/server-J1RALwYS.cjs +282 -0
- package/dist/server-J1RALwYS.cjs.map +1 -0
- package/dist/server.cjs +59 -61
- package/dist/server.d.cts +33 -18
- package/dist/server.d.cts.map +1 -1
- package/dist/server.d.ts +33 -18
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +59 -61
- package/dist/{stdio-DB9muOi8.js → stdio-BfZ7eu3Q.js} +19 -19
- package/dist/stdio-BfZ7eu3Q.js.map +1 -0
- package/dist/{stdio-CJnMOUAU.cjs → stdio-CV8Yynj8.cjs} +19 -19
- package/dist/stdio-CV8Yynj8.cjs.map +1 -0
- package/dist/telem/index.cjs +10 -0
- package/dist/telem/index.d.cts +3 -0
- package/dist/telem/index.d.ts +3 -0
- package/dist/telem/index.js +4 -0
- package/dist/telem/logging.cjs +9 -0
- package/dist/telem/logging.d.cts +2 -0
- package/dist/telem/logging.d.ts +2 -0
- package/dist/telem/logging.js +3 -0
- package/dist/telem/sentry.cjs +3 -0
- package/dist/telem/sentry.d.cts +2 -0
- package/dist/telem/sentry.d.ts +2 -0
- package/dist/telem/sentry.js +3 -0
- package/dist/test-setup.cjs +366 -146
- package/dist/test-setup.cjs.map +1 -1
- package/dist/test-setup.d.cts +2 -3
- package/dist/test-setup.d.cts.map +1 -1
- package/dist/test-setup.d.ts +2 -3
- package/dist/test-setup.d.ts.map +1 -1
- package/dist/test-setup.js +366 -146
- package/dist/test-setup.js.map +1 -1
- package/dist/test-utils/context.d.cts +2 -3
- package/dist/test-utils/context.d.cts.map +1 -1
- package/dist/test-utils/context.d.ts +2 -3
- package/dist/test-utils/context.d.ts.map +1 -1
- package/dist/toolDefinitions.cjs +657 -126
- package/dist/toolDefinitions.cjs.map +1 -1
- package/dist/toolDefinitions.d.cts +5 -5
- package/dist/toolDefinitions.d.cts.map +1 -1
- package/dist/toolDefinitions.d.ts +5 -5
- package/dist/toolDefinitions.d.ts.map +1 -1
- package/dist/toolDefinitions.js +657 -126
- package/dist/toolDefinitions.js.map +1 -1
- package/dist/tools/agent-tools.cjs +65 -0
- package/dist/tools/agent-tools.d.cts +25 -0
- package/dist/tools/agent-tools.d.cts.map +1 -0
- package/dist/tools/agent-tools.d.ts +25 -0
- package/dist/tools/agent-tools.d.ts.map +1 -0
- package/dist/tools/agent-tools.js +65 -0
- package/dist/tools/analyze-issue-with-seer.cjs +16 -15
- package/dist/tools/analyze-issue-with-seer.d.cts +3 -4
- package/dist/tools/analyze-issue-with-seer.d.cts.map +1 -1
- package/dist/tools/analyze-issue-with-seer.d.ts +3 -4
- package/dist/tools/analyze-issue-with-seer.d.ts.map +1 -1
- package/dist/tools/analyze-issue-with-seer.js +16 -15
- package/dist/tools/create-dsn.cjs +11 -10
- package/dist/tools/create-dsn.d.cts +3 -4
- package/dist/tools/create-dsn.d.cts.map +1 -1
- package/dist/tools/create-dsn.d.ts +3 -4
- package/dist/tools/create-dsn.d.ts.map +1 -1
- package/dist/tools/create-dsn.js +11 -10
- package/dist/tools/create-project.cjs +11 -11
- package/dist/tools/create-project.d.cts +3 -4
- package/dist/tools/create-project.d.cts.map +1 -1
- package/dist/tools/create-project.d.ts +3 -4
- package/dist/tools/create-project.d.ts.map +1 -1
- package/dist/tools/create-project.js +11 -11
- package/dist/tools/create-team.cjs +11 -10
- package/dist/tools/create-team.d.cts +3 -4
- package/dist/tools/create-team.d.cts.map +1 -1
- package/dist/tools/create-team.d.ts +3 -4
- package/dist/tools/create-team.d.ts.map +1 -1
- package/dist/tools/create-team.js +11 -10
- package/dist/tools/find-dsns.cjs +11 -10
- package/dist/tools/find-dsns.d.cts +7 -8
- package/dist/tools/find-dsns.d.ts +7 -8
- package/dist/tools/find-dsns.js +11 -10
- package/dist/tools/find-organizations.cjs +12 -9
- package/dist/tools/find-organizations.d.cts +7 -5
- package/dist/tools/find-organizations.d.ts +7 -5
- package/dist/tools/find-organizations.js +12 -9
- package/dist/tools/find-projects.cjs +11 -10
- package/dist/tools/find-projects.d.cts +7 -7
- package/dist/tools/find-projects.d.ts +7 -7
- package/dist/tools/find-projects.js +11 -10
- package/dist/tools/find-releases.cjs +11 -10
- package/dist/tools/find-releases.d.cts +3 -4
- package/dist/tools/find-releases.d.cts.map +1 -1
- package/dist/tools/find-releases.d.ts +3 -4
- package/dist/tools/find-releases.d.ts.map +1 -1
- package/dist/tools/find-releases.js +11 -10
- package/dist/tools/find-teams.cjs +11 -10
- package/dist/tools/find-teams.d.cts +7 -7
- package/dist/tools/find-teams.d.ts +7 -7
- package/dist/tools/find-teams.js +11 -10
- package/dist/tools/get-doc.cjs +9 -8
- package/dist/tools/get-doc.d.cts +3 -4
- package/dist/tools/get-doc.d.cts.map +1 -1
- package/dist/tools/get-doc.d.ts +3 -4
- package/dist/tools/get-doc.d.ts.map +1 -1
- package/dist/tools/get-doc.js +9 -8
- package/dist/tools/get-event-attachment.cjs +11 -10
- package/dist/tools/get-event-attachment.d.cts +9 -10
- package/dist/tools/get-event-attachment.d.ts +9 -10
- package/dist/tools/get-event-attachment.js +11 -10
- package/dist/tools/get-issue-details.cjs +16 -15
- package/dist/tools/get-issue-details.d.cts +3 -4
- package/dist/tools/get-issue-details.d.cts.map +1 -1
- package/dist/tools/get-issue-details.d.ts +3 -4
- package/dist/tools/get-issue-details.d.ts.map +1 -1
- package/dist/tools/get-issue-details.js +16 -15
- package/dist/tools/get-trace-details.cjs +11 -10
- package/dist/tools/get-trace-details.d.cts +7 -8
- package/dist/tools/get-trace-details.d.ts +7 -8
- package/dist/tools/get-trace-details.js +11 -10
- package/dist/tools/index.cjs +59 -52
- package/dist/tools/index.d.cts +83 -76
- package/dist/tools/index.d.cts.map +1 -1
- package/dist/tools/index.d.ts +83 -76
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +58 -51
- package/dist/tools/search-docs.cjs +10 -9
- package/dist/tools/search-docs.d.cts +3 -4
- package/dist/tools/search-docs.d.cts.map +1 -1
- package/dist/tools/search-docs.d.ts +3 -4
- package/dist/tools/search-docs.d.ts.map +1 -1
- package/dist/tools/search-docs.js +10 -9
- package/dist/tools/search-events/agent.cjs +15 -14
- package/dist/tools/search-events/agent.d.cts +4 -4
- package/dist/tools/search-events/agent.d.ts +6 -6
- package/dist/tools/search-events/agent.js +15 -14
- package/dist/tools/search-events/config.cjs +1 -1
- package/dist/tools/search-events/config.js +1 -1
- package/dist/tools/search-events/formatters.cjs +10 -10
- package/dist/tools/search-events/formatters.d.cts +5 -5
- package/dist/tools/search-events/formatters.d.ts +7 -7
- package/dist/tools/search-events/formatters.js +10 -10
- package/dist/tools/search-events/handler.cjs +20 -19
- package/dist/tools/search-events/handler.d.cts +4 -5
- package/dist/tools/search-events/handler.d.ts +4 -5
- package/dist/tools/search-events/handler.js +20 -19
- package/dist/tools/search-events/index.cjs +21 -20
- package/dist/tools/search-events/index.d.cts +8 -9
- package/dist/tools/search-events/index.d.ts +10 -11
- package/dist/tools/search-events/index.js +21 -20
- package/dist/tools/search-events/utils.cjs +9 -9
- package/dist/tools/search-events/utils.d.cts +5 -5
- package/dist/tools/search-events/utils.d.ts +7 -7
- package/dist/tools/search-events/utils.js +9 -9
- package/dist/tools/search-issues/agent.cjs +14 -13
- package/dist/tools/search-issues/agent.d.cts +4 -4
- package/dist/tools/search-issues/agent.d.ts +6 -6
- package/dist/tools/search-issues/agent.js +14 -13
- package/dist/tools/search-issues/config.cjs +1 -1
- package/dist/tools/search-issues/config.js +1 -1
- package/dist/tools/search-issues/formatters.cjs +2 -2
- package/dist/tools/search-issues/formatters.d.cts +3 -3
- package/dist/tools/search-issues/formatters.d.ts +5 -5
- package/dist/tools/search-issues/formatters.js +2 -2
- package/dist/tools/search-issues/handler.cjs +19 -18
- package/dist/tools/search-issues/handler.d.cts +4 -5
- package/dist/tools/search-issues/handler.d.ts +4 -5
- package/dist/tools/search-issues/handler.js +19 -18
- package/dist/tools/search-issues/index.cjs +20 -19
- package/dist/tools/search-issues/index.d.cts +8 -9
- package/dist/tools/search-issues/index.d.ts +10 -11
- package/dist/tools/search-issues/index.js +20 -19
- package/dist/tools/types.d.cts +3 -4
- package/dist/tools/types.d.ts +3 -4
- package/dist/tools/update-issue.cjs +16 -15
- package/dist/tools/update-issue.d.cts +10 -11
- package/dist/tools/update-issue.d.ts +10 -11
- package/dist/tools/update-issue.js +16 -15
- package/dist/tools/update-project.cjs +11 -11
- package/dist/tools/update-project.d.cts +3 -4
- package/dist/tools/update-project.d.cts.map +1 -1
- package/dist/tools/update-project.d.ts +3 -4
- package/dist/tools/update-project.d.ts.map +1 -1
- package/dist/tools/update-project.js +11 -11
- package/dist/tools/use-sentry/agent.cjs +7 -0
- package/dist/tools/use-sentry/agent.d.cts +3 -0
- package/dist/tools/use-sentry/agent.d.ts +3 -0
- package/dist/tools/use-sentry/agent.js +7 -0
- package/dist/tools/use-sentry/config.cjs +4 -0
- package/dist/tools/use-sentry/config.d.cts +21 -0
- package/dist/tools/use-sentry/config.d.cts.map +1 -0
- package/dist/tools/use-sentry/config.d.ts +21 -0
- package/dist/tools/use-sentry/config.d.ts.map +1 -0
- package/dist/tools/use-sentry/config.js +3 -0
- package/dist/tools/use-sentry/handler.cjs +64 -0
- package/dist/tools/use-sentry/handler.d.cts +5 -0
- package/dist/tools/use-sentry/handler.d.ts +5 -0
- package/dist/tools/use-sentry/handler.js +64 -0
- package/dist/tools/use-sentry/index.cjs +66 -0
- package/dist/tools/use-sentry/index.d.cts +7 -0
- package/dist/tools/use-sentry/index.d.ts +7 -0
- package/dist/tools/use-sentry/index.js +64 -0
- package/dist/tools/use-sentry/tool-wrapper.cjs +62 -0
- package/dist/tools/use-sentry/tool-wrapper.cjs.map +1 -0
- package/dist/tools/use-sentry/tool-wrapper.d.cts +118 -0
- package/dist/tools/use-sentry/tool-wrapper.d.cts.map +1 -0
- package/dist/tools/use-sentry/tool-wrapper.d.ts +118 -0
- package/dist/tools/use-sentry/tool-wrapper.d.ts.map +1 -0
- package/dist/tools/use-sentry/tool-wrapper.js +61 -0
- package/dist/tools/use-sentry/tool-wrapper.js.map +1 -0
- package/dist/tools/whoami.cjs +10 -9
- package/dist/tools/whoami.d.cts +3 -4
- package/dist/tools/whoami.d.ts +3 -4
- package/dist/tools/whoami.js +10 -9
- package/dist/transports/stdio.cjs +2 -65
- package/dist/transports/stdio.d.cts +18 -14
- package/dist/transports/stdio.d.cts.map +1 -1
- package/dist/transports/stdio.d.ts +18 -14
- package/dist/transports/stdio.d.ts.map +1 -1
- package/dist/transports/stdio.js +2 -65
- package/dist/{types-DLRWzl3K.d.cts → types-B3T3_E4s.d.ts} +7 -2
- package/dist/types-B3T3_E4s.d.ts.map +1 -0
- package/dist/{types-s3ChfOM9.d.ts → types-BeQSPXek.d.cts} +10 -5
- package/dist/types-BeQSPXek.d.cts.map +1 -0
- package/dist/{types-o23QqDgk.d.cts → types-Bu5blaB3.d.ts} +10 -5
- package/dist/types-Bu5blaB3.d.ts.map +1 -0
- package/dist/{types-ryM3umix.d.ts → types-CLI02LNZ.d.cts} +9 -4
- package/dist/types-CLI02LNZ.d.cts.map +1 -0
- package/dist/types-DNr8xzOR.d.cts +31 -0
- package/dist/types-DNr8xzOR.d.cts.map +1 -0
- package/dist/types-DjbiyvLT.d.ts +31 -0
- package/dist/types-DjbiyvLT.d.ts.map +1 -0
- package/dist/{types-B4nOfch5.d.cts → types-DoT0an28.d.ts} +9 -4
- package/dist/types-DoT0an28.d.ts.map +1 -0
- package/dist/{types-DTp1ajTT.d.ts → types-jjNLngoj.d.cts} +7 -2
- package/dist/types-jjNLngoj.d.cts.map +1 -0
- package/dist/types.cjs +16 -0
- package/dist/types.cjs.map +1 -0
- package/dist/types.d.cts +3 -4
- package/dist/types.d.ts +3 -4
- package/dist/types.js +15 -0
- package/dist/types.js.map +1 -0
- package/dist/{update-issue-nq8D_YUe.js → update-issue-CoAkoO66.js} +11 -5
- package/dist/update-issue-CoAkoO66.js.map +1 -0
- package/dist/{update-issue-CD-kp2dt.cjs → update-issue-eELBq_Uy.cjs} +11 -5
- package/dist/update-issue-eELBq_Uy.cjs.map +1 -0
- package/dist/{update-project-DvJfmSmX.js → update-project-CuZlyBPN.js} +13 -7
- package/dist/update-project-CuZlyBPN.js.map +1 -0
- package/dist/{update-project-B_OLM4Ky.cjs → update-project-DMRBdOZ5.cjs} +13 -7
- package/dist/update-project-DMRBdOZ5.cjs.map +1 -0
- package/dist/{url-utils-0OheI87i.cjs → url-utils-Bn5EoScr.cjs} +26 -1
- package/dist/url-utils-Bn5EoScr.cjs.map +1 -0
- package/dist/{url-utils-DF8NBCyH.js → url-utils-d9bPTnOl.js} +21 -2
- package/dist/url-utils-d9bPTnOl.js.map +1 -0
- package/dist/usage-BV4cegeX.cjs +40 -0
- package/dist/usage-BV4cegeX.cjs.map +1 -0
- package/dist/usage-DLck8shg.js +34 -0
- package/dist/usage-DLck8shg.js.map +1 -0
- package/dist/utils/url-utils.cjs +2 -1
- package/dist/utils/url-utils.d.cts +9 -1
- package/dist/utils/url-utils.d.cts.map +1 -1
- package/dist/utils/url-utils.d.ts +9 -1
- package/dist/utils/url-utils.d.ts.map +1 -1
- package/dist/utils/url-utils.js +2 -2
- package/dist/{utils-Cw6O1ztc.d.ts → utils-BV58GdRy.d.ts} +4 -4
- package/dist/utils-BV58GdRy.d.ts.map +1 -0
- package/dist/{utils-DQ69VZrK.cjs → utils-C5DuiZoe.cjs} +2 -2
- package/dist/{utils-DQ69VZrK.cjs.map → utils-C5DuiZoe.cjs.map} +1 -1
- package/dist/{utils-CP4vAzfv.js → utils-CwvZS30K.js} +2 -2
- package/dist/{utils-CP4vAzfv.js.map → utils-CwvZS30K.js.map} +1 -1
- package/dist/{utils-BOPpU4-H.cjs → utils-DUJcA3eH.cjs} +16 -7
- package/dist/utils-DUJcA3eH.cjs.map +1 -0
- package/dist/{utils-Ddvt3CBZ.d.cts → utils-DlTCMJUW.d.cts} +6 -6
- package/dist/{utils-Ddvt3CBZ.d.cts.map → utils-DlTCMJUW.d.cts.map} +1 -1
- package/dist/{utils-DA-V9B-n.d.ts → utils-gp7BwMLy.d.ts} +6 -6
- package/dist/{utils-DA-V9B-n.d.ts.map → utils-gp7BwMLy.d.ts.map} +1 -1
- package/dist/{utils-K1XhlGf4.js → utils-iC0Uutcf.js} +16 -7
- package/dist/utils-iC0Uutcf.js.map +1 -0
- package/dist/{utils-OyJ8CB2S.d.cts → utils-yxWhi9hG.d.cts} +4 -4
- package/dist/utils-yxWhi9hG.d.cts.map +1 -0
- package/dist/{validate-region-url-DTUtqFky.js → validate-region-url-CaR6XWB_.js} +1 -1
- package/dist/{validate-region-url-DTUtqFky.js.map → validate-region-url-CaR6XWB_.js.map} +1 -1
- package/dist/{validate-region-url-BhxxcBgE.cjs → validate-region-url-dzz6t54w.cjs} +1 -1
- package/dist/{validate-region-url-BhxxcBgE.cjs.map → validate-region-url-dzz6t54w.cjs.map} +1 -1
- package/dist/version-BaA5pxTW.js +6 -0
- package/dist/{version-CaDh5TML.js.map → version-BaA5pxTW.js.map} +1 -1
- package/dist/{version-DB2IM9qM.cjs → version-CdN5Kpjv.cjs} +2 -2
- package/dist/{version-DB2IM9qM.cjs.map → version-CdN5Kpjv.cjs.map} +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.js +1 -1
- package/dist/{whoami-qCGsRPRm.js → whoami-Bh_uOPqO.js} +6 -2
- package/dist/whoami-Bh_uOPqO.js.map +1 -0
- package/dist/{whoami-bRIfclYF.js → whoami-D8-XCgVJ.js} +2 -2
- package/dist/{whoami-bRIfclYF.js.map → whoami-D8-XCgVJ.js.map} +1 -1
- package/dist/{whoami-DCgOyVnW.cjs → whoami-DBSqcCGl.cjs} +2 -2
- package/dist/{whoami-DCgOyVnW.cjs.map → whoami-DBSqcCGl.cjs.map} +1 -1
- package/dist/{whoami-BdiVu0Wr.cjs → whoami-DBlwuDZf.cjs} +6 -2
- package/dist/whoami-DBlwuDZf.cjs.map +1 -0
- package/package.json +32 -28
- package/dist/about-CDAN_HuU.js +0 -136
- package/dist/about-CDAN_HuU.js.map +0 -1
- package/dist/about-CteXVo1Q.d.ts +0 -10
- package/dist/about-CteXVo1Q.d.ts.map +0 -1
- package/dist/about-CwQvsGSc.d.cts +0 -10
- package/dist/about-CwQvsGSc.d.cts.map +0 -1
- package/dist/about-aDGhlM6f.cjs +0 -142
- package/dist/about-aDGhlM6f.cjs.map +0 -1
- package/dist/analyze-issue-with-seer-Cf0jCiKP.cjs.map +0 -1
- package/dist/analyze-issue-with-seer-DqwczSTV.js.map +0 -1
- package/dist/callEmbeddedAgent-BRz60bxa.cjs.map +0 -1
- package/dist/callEmbeddedAgent-C0pC9du1.js.map +0 -1
- package/dist/client-AVVG7J24.cjs.map +0 -1
- package/dist/client-B0wezrpt.d.cts.map +0 -1
- package/dist/client-BqrNpqZW.js.map +0 -1
- package/dist/client-D-KqRd94.d.ts.map +0 -1
- package/dist/create-dsn-BhshlP7l.js.map +0 -1
- package/dist/create-dsn-DaHidLhE.cjs.map +0 -1
- package/dist/create-project-C3laecaU.js.map +0 -1
- package/dist/create-project-xszOpGTC.cjs.map +0 -1
- package/dist/create-team-CTN-DxOE.js.map +0 -1
- package/dist/create-team-DmnJHSIx.cjs.map +0 -1
- package/dist/error-handling-efwohgKv.js.map +0 -1
- package/dist/error-handling-qfa1BeDb.cjs.map +0 -1
- package/dist/find-dsns-D0l3siyF.cjs.map +0 -1
- package/dist/find-dsns-U4CCcoTv.js.map +0 -1
- package/dist/find-organizations-Ca-zpAlI.cjs.map +0 -1
- package/dist/find-organizations-HUZFa8ZA.js.map +0 -1
- package/dist/find-projects-CWNLthwg.cjs.map +0 -1
- package/dist/find-projects-Dy1_O9L0.js.map +0 -1
- package/dist/find-releases-BtazPcQH.cjs.map +0 -1
- package/dist/find-releases-DN_BfQM2.js.map +0 -1
- package/dist/find-teams-CRVT4KOg.js +0 -40
- package/dist/find-teams-CRVT4KOg.js.map +0 -1
- package/dist/find-teams-_zAHPVGx.cjs.map +0 -1
- package/dist/formatting-BjCK9XwW.js.map +0 -1
- package/dist/formatting-CqmsvuAY.cjs.map +0 -1
- package/dist/formatting-XMmhMjRz.d.cts.map +0 -1
- package/dist/formatting-l3qx5d7L.d.ts.map +0 -1
- package/dist/get-doc-Euz6NiM3.cjs.map +0 -1
- package/dist/get-doc-JDwOkY2j.js.map +0 -1
- package/dist/get-event-attachment-DvpQ-dEP.cjs.map +0 -1
- package/dist/get-event-attachment-pIJmUfFE.js.map +0 -1
- package/dist/get-issue-details-B1PDMmMY.js.map +0 -1
- package/dist/get-issue-details-BH75EnNk.cjs.map +0 -1
- package/dist/get-trace-details-Bksygq21.cjs.map +0 -1
- package/dist/get-trace-details-CaK0JMf4.js.map +0 -1
- package/dist/handler-BbqDy4DA.js.map +0 -1
- package/dist/handler-C0zOOLbO.cjs.map +0 -1
- package/dist/handler-DyBdUYam.js.map +0 -1
- package/dist/handler-cy5oD28N.cjs.map +0 -1
- package/dist/internal/agents/callEmbeddedAgent.d.cts.map +0 -1
- package/dist/internal/agents/callEmbeddedAgent.d.ts.map +0 -1
- package/dist/internal/sentry-scrubbing.cjs +0 -6
- package/dist/internal/sentry-scrubbing.d.cts +0 -28
- package/dist/internal/sentry-scrubbing.d.cts.map +0 -1
- package/dist/internal/sentry-scrubbing.d.ts +0 -28
- package/dist/internal/sentry-scrubbing.d.ts.map +0 -1
- package/dist/internal/sentry-scrubbing.js +0 -3
- package/dist/logging-CBMxr4i2.js +0 -25
- package/dist/logging-CBMxr4i2.js.map +0 -1
- package/dist/logging-rvUPDKax.cjs +0 -31
- package/dist/logging-rvUPDKax.cjs.map +0 -1
- package/dist/logging.cjs +0 -3
- package/dist/logging.d.cts +0 -37
- package/dist/logging.d.cts.map +0 -1
- package/dist/logging.d.ts +0 -37
- package/dist/logging.d.ts.map +0 -1
- package/dist/logging.js +0 -3
- package/dist/parse-C3tRlsy-.js.map +0 -1
- package/dist/parse-CeFc4xnt.cjs.map +0 -1
- package/dist/permissions-C-q0Y5bL.d.ts.map +0 -1
- package/dist/permissions-Cm5e34n2.d.cts.map +0 -1
- package/dist/permissions-DRdH39Fe.js.map +0 -1
- package/dist/permissions-DuDYuCjy.cjs.map +0 -1
- package/dist/promptDefinitions-02aQWFKD.cjs +0 -37
- package/dist/promptDefinitions-02aQWFKD.cjs.map +0 -1
- package/dist/promptDefinitions-ImFNiWkX.d.cts +0 -34
- package/dist/promptDefinitions-ImFNiWkX.d.cts.map +0 -1
- package/dist/promptDefinitions-Y-mt2_IM.d.ts +0 -34
- package/dist/promptDefinitions-Y-mt2_IM.d.ts.map +0 -1
- package/dist/promptDefinitions-wR6u6ZJE.js +0 -31
- package/dist/promptDefinitions-wR6u6ZJE.js.map +0 -1
- package/dist/promptDefinitions.cjs +0 -6
- package/dist/promptDefinitions.d.cts +0 -2
- package/dist/promptDefinitions.d.ts +0 -2
- package/dist/promptDefinitions.js +0 -6
- package/dist/prompts-BwZJaywH.cjs +0 -41
- package/dist/prompts-BwZJaywH.cjs.map +0 -1
- package/dist/prompts-DCJ0XraB.js +0 -36
- package/dist/prompts-DCJ0XraB.js.map +0 -1
- package/dist/prompts.cjs +0 -4
- package/dist/prompts.d.cts +0 -31
- package/dist/prompts.d.cts.map +0 -1
- package/dist/prompts.d.ts +0 -31
- package/dist/prompts.d.ts.map +0 -1
- package/dist/prompts.js +0 -4
- package/dist/resolve-B_Fq13Dk.js.map +0 -1
- package/dist/resolve-CAtC1wN-.cjs.map +0 -1
- package/dist/resources/about.cjs +0 -3
- package/dist/resources/about.d.cts +0 -2
- package/dist/resources/about.d.ts +0 -2
- package/dist/resources/about.js +0 -3
- package/dist/resources/index.cjs +0 -4
- package/dist/resources/index.d.cts +0 -2
- package/dist/resources/index.d.ts +0 -2
- package/dist/resources/index.js +0 -4
- package/dist/resources-B4ropjfD.cjs +0 -94
- package/dist/resources-B4ropjfD.cjs.map +0 -1
- package/dist/resources-DaEUMw3Y.js +0 -82
- package/dist/resources-DaEUMw3Y.js.map +0 -1
- package/dist/resources.cjs +0 -8
- package/dist/resources.d.cts +0 -37
- package/dist/resources.d.cts.map +0 -1
- package/dist/resources.d.ts +0 -37
- package/dist/resources.d.ts.map +0 -1
- package/dist/resources.js +0 -7
- package/dist/schema-BUBkkdUa.cjs.map +0 -1
- package/dist/schema-CbXlt1rW.cjs.map +0 -1
- package/dist/schema-ChvpDxUk.d.cts.map +0 -1
- package/dist/schema-D1CzTJXB.js.map +0 -1
- package/dist/schema-DOY22v1Q.d.ts.map +0 -1
- package/dist/schema-DPJO5nkQ.js.map +0 -1
- package/dist/search-docs-CH6-1H9_.cjs.map +0 -1
- package/dist/search-docs-CpAlMLs8.js.map +0 -1
- package/dist/sentry-scrubbing-BrjExjlM.js +0 -94
- package/dist/sentry-scrubbing-BrjExjlM.js.map +0 -1
- package/dist/sentry-scrubbing-CDcE4n-D.cjs +0 -118
- package/dist/sentry-scrubbing-CDcE4n-D.cjs.map +0 -1
- package/dist/server-BjizUxVR.js +0 -238
- package/dist/server-BjizUxVR.js.map +0 -1
- package/dist/server-RKq8MlNM.cjs +0 -244
- package/dist/server-RKq8MlNM.cjs.map +0 -1
- package/dist/stdio-CJnMOUAU.cjs.map +0 -1
- package/dist/stdio-DB9muOi8.js.map +0 -1
- package/dist/tools-BiCRxQiY.js +0 -46
- package/dist/tools-BiCRxQiY.js.map +0 -1
- package/dist/tools-UZ_biJKC.cjs +0 -51
- package/dist/tools-UZ_biJKC.cjs.map +0 -1
- package/dist/types-B4nOfch5.d.cts.map +0 -1
- package/dist/types-CKPddlfS.cjs +0 -0
- package/dist/types-Cy4S5lN-.js +0 -0
- package/dist/types-DLRWzl3K.d.cts.map +0 -1
- package/dist/types-DTp1ajTT.d.ts.map +0 -1
- package/dist/types-Dj36Sq2V.d.cts +0 -41
- package/dist/types-Dj36Sq2V.d.cts.map +0 -1
- package/dist/types-m-t7jx2f.d.ts +0 -41
- package/dist/types-m-t7jx2f.d.ts.map +0 -1
- package/dist/types-o23QqDgk.d.cts.map +0 -1
- package/dist/types-ryM3umix.d.ts.map +0 -1
- package/dist/types-s3ChfOM9.d.ts.map +0 -1
- package/dist/update-issue-CD-kp2dt.cjs.map +0 -1
- package/dist/update-issue-nq8D_YUe.js.map +0 -1
- package/dist/update-project-B_OLM4Ky.cjs.map +0 -1
- package/dist/update-project-DvJfmSmX.js.map +0 -1
- package/dist/url-utils-0OheI87i.cjs.map +0 -1
- package/dist/url-utils-DF8NBCyH.js.map +0 -1
- package/dist/usage-Do2a2NJi.cjs +0 -44
- package/dist/usage-Do2a2NJi.cjs.map +0 -1
- package/dist/usage-OGOjVeAz.js +0 -38
- package/dist/usage-OGOjVeAz.js.map +0 -1
- package/dist/utils-BOPpU4-H.cjs.map +0 -1
- package/dist/utils-Cw6O1ztc.d.ts.map +0 -1
- package/dist/utils-K1XhlGf4.js.map +0 -1
- package/dist/utils-OyJ8CB2S.d.cts.map +0 -1
- package/dist/version-CaDh5TML.js +0 -6
- package/dist/whoami-BdiVu0Wr.cjs.map +0 -1
- package/dist/whoami-qCGsRPRm.js.map +0 -1
- /package/dist/{api-client-T99a5Vta.js → api-client-BR5WolLe.js} +0 -0
- /package/dist/{api-client-_2QFWf0d.cjs → api-client-BsHWi0-I.cjs} +0 -0
- /package/dist/{index-DCwqskfg.d.ts → index-NfFbnYt3.d.ts} +0 -0
- /package/dist/{issue-DKr8zNay.js → issue-B7cgiWKp.cjs} +0 -0
- /package/dist/{issue-DrgpqPbF.cjs → issue-BLm6gohl.js} +0 -0
- /package/dist/{resources-BlsH_EDg.cjs → search-events-Bc2a_R3A.cjs} +0 -0
- /package/dist/{resources-U-u5ze91.js → search-events-Bo5bAsOv.js} +0 -0
- /package/dist/{search-events-CUvQ_Jch.js → search-issues-AaiYCZ6J.cjs} +0 -0
- /package/dist/{search-events-DSY2Z_Eh.cjs → search-issues-DVHuKDdB.js} +0 -0
- /package/dist/{search-issues-BOmdyuUf.js → types-Bx1EKe0v.js} +0 -0
- /package/dist/{search-issues-BxO2JE3D.cjs → types-D10T4PdD.cjs} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-DWy1uDak.cjs');
|
|
2
2
|
const require_define = require('./define-BfP4rFlE.cjs');
|
|
3
|
-
const require_errors = require('./errors-
|
|
4
|
-
const require_api = require('./api-
|
|
5
|
-
const require_schema = require('./schema-
|
|
6
|
-
const require_issue_helpers = require('./issue-helpers-
|
|
7
|
-
const require_seer = require('./seer-
|
|
8
|
-
const require_fetch_utils = require('./fetch-utils-
|
|
9
|
-
const zod = require_chunk.__toESM(require("zod"));
|
|
3
|
+
const require_errors = require('./errors-Bmqdg5Q6.cjs');
|
|
4
|
+
const require_api = require('./api-CZD9zwQ-.cjs');
|
|
5
|
+
const require_schema = require('./schema-Cv_VNAHz.cjs');
|
|
6
|
+
const require_issue_helpers = require('./issue-helpers-DbPTv_qC.cjs');
|
|
7
|
+
const require_seer = require('./seer-B63P5CPi.cjs');
|
|
8
|
+
const require_fetch_utils = require('./fetch-utils-Cp3P-Ai3.cjs');
|
|
10
9
|
const __sentry_core = require_chunk.__toESM(require("@sentry/core"));
|
|
10
|
+
const zod = require_chunk.__toESM(require("zod"));
|
|
11
11
|
|
|
12
12
|
//#region src/tools/analyze-issue-with-seer.ts
|
|
13
13
|
var analyze_issue_with_seer_default = require_define.defineTool({
|
|
14
14
|
name: "analyze_issue_with_seer",
|
|
15
|
-
requiredScopes: ["
|
|
15
|
+
requiredScopes: ["seer"],
|
|
16
16
|
description: [
|
|
17
|
-
"Use Seer
|
|
17
|
+
"Use Seer to analyze production errors and get detailed root cause analysis with specific code fixes.",
|
|
18
18
|
"",
|
|
19
19
|
"Use this tool when you need:",
|
|
20
20
|
"- Detailed AI-powered root cause analysis",
|
|
@@ -61,6 +61,11 @@ var analyze_issue_with_seer_default = require_define.defineTool({
|
|
|
61
61
|
issueUrl: require_schema.ParamIssueUrl.optional(),
|
|
62
62
|
instruction: zod.z.string().describe("Optional custom instruction for the AI analysis").optional()
|
|
63
63
|
},
|
|
64
|
+
annotations: {
|
|
65
|
+
readOnlyHint: false,
|
|
66
|
+
destructiveHint: false,
|
|
67
|
+
openWorldHint: true
|
|
68
|
+
},
|
|
64
69
|
async handler(params, context) {
|
|
65
70
|
const apiService = require_api.apiServiceFromContext(context, { regionUrl: params.regionUrl });
|
|
66
71
|
const { organizationSlug: orgSlug, issueId: parsedIssueId } = require_issue_helpers.parseIssueParams({
|
|
@@ -69,7 +74,7 @@ var analyze_issue_with_seer_default = require_define.defineTool({
|
|
|
69
74
|
issueUrl: params.issueUrl
|
|
70
75
|
});
|
|
71
76
|
(0, __sentry_core.setTag)("organization.slug", orgSlug);
|
|
72
|
-
let output = `# Seer
|
|
77
|
+
let output = `# Seer Analysis for Issue ${parsedIssueId}\n\n`;
|
|
73
78
|
let autofixState = await require_fetch_utils.retryWithBackoff(() => apiService.getAutofixState({
|
|
74
79
|
organizationSlug: orgSlug,
|
|
75
80
|
issueId: parsedIssueId
|
|
@@ -197,4 +202,4 @@ Object.defineProperty(exports, 'analyze_issue_with_seer_default', {
|
|
|
197
202
|
return analyze_issue_with_seer_default;
|
|
198
203
|
}
|
|
199
204
|
});
|
|
200
|
-
//# sourceMappingURL=analyze-issue-with-seer-
|
|
205
|
+
//# sourceMappingURL=analyze-issue-with-seer-CI8pvCnf.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"analyze-issue-with-seer-CI8pvCnf.cjs","names":["context: ServerContext","SEER_MAX_RETRIES","SEER_INITIAL_RETRY_DELAY","ApiServerError","ApiError","SEER_TIMEOUT","SEER_POLLING_INTERVAL"],"sources":["../src/tools/analyze-issue-with-seer.ts"],"sourcesContent":["import { z } from \"zod\";\nimport { setTag } from \"@sentry/core\";\nimport { defineTool } from \"../internal/tool-helpers/define\";\nimport { apiServiceFromContext } from \"../internal/tool-helpers/api\";\nimport { parseIssueParams } from \"../internal/tool-helpers/issue\";\nimport {\n getStatusDisplayName,\n isTerminalStatus,\n getHumanInterventionGuidance,\n getOutputForAutofixStep,\n SEER_POLLING_INTERVAL,\n SEER_TIMEOUT,\n SEER_MAX_RETRIES,\n SEER_INITIAL_RETRY_DELAY,\n} from \"../internal/tool-helpers/seer\";\nimport { retryWithBackoff } from \"../internal/fetch-utils\";\nimport type { ServerContext } from \"../types\";\nimport { ApiError, ApiServerError } from \"../api-client/index\";\nimport {\n ParamOrganizationSlug,\n ParamRegionUrl,\n ParamIssueShortId,\n ParamIssueUrl,\n} from \"../schema\";\n\nexport default defineTool({\n name: \"analyze_issue_with_seer\",\n requiredScopes: [\"seer\"],\n description: [\n \"Use Seer to analyze production errors and get detailed root cause analysis with specific code fixes.\",\n \"\",\n \"Use this tool when you need:\",\n \"- Detailed AI-powered root cause analysis\",\n \"- Specific code fixes and implementation guidance\",\n \"- Step-by-step troubleshooting for complex issues\",\n \"- Understanding why an error is happening in production\",\n \"\",\n \"What this tool provides:\",\n \"- Root cause analysis with code-level explanations\",\n \"- Specific file locations and line numbers where errors occur\",\n \"- Concrete code fixes you can apply\",\n \"- Step-by-step implementation guidance\",\n \"\",\n \"This tool automatically:\",\n \"1. Checks if analysis already exists (instant results)\",\n \"2. Starts new AI analysis if needed (~2-5 minutes)\",\n \"3. Returns complete fix recommendations\",\n \"\",\n \"<examples>\",\n '### User: \"What\\'s causing this error? https://my-org.sentry.io/issues/PROJECT-1Z43\"',\n \"\",\n \"```\",\n \"analyze_issue_with_seer(issueUrl='https://my-org.sentry.io/issues/PROJECT-1Z43')\",\n \"```\",\n \"\",\n '### User: \"Can you help me understand why this is failing in production?\"',\n \"\",\n \"```\",\n \"analyze_issue_with_seer(organizationSlug='my-organization', issueId='ERROR-456')\",\n \"```\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- Use this tool when you need deeper analysis beyond basic issue details\",\n \"- If the user provides an issueUrl, extract it and use that parameter alone\",\n \"- The analysis includes actual code snippets and fixes, not just error descriptions\",\n \"- Results are cached - subsequent calls return instantly\",\n \"</hints>\",\n ].join(\"\\n\"),\n inputSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: ParamIssueUrl.optional(),\n instruction: z\n .string()\n .describe(\"Optional custom instruction for the AI analysis\")\n .optional(),\n },\n annotations: {\n readOnlyHint: false,\n destructiveHint: false,\n openWorldHint: true,\n },\n async handler(params, context: ServerContext) {\n const apiService = apiServiceFromContext(context, {\n regionUrl: params.regionUrl,\n });\n const { organizationSlug: orgSlug, issueId: parsedIssueId } =\n parseIssueParams({\n organizationSlug: params.organizationSlug,\n issueId: params.issueId,\n issueUrl: params.issueUrl,\n });\n\n setTag(\"organization.slug\", orgSlug);\n\n let output = `# Seer Analysis for Issue ${parsedIssueId}\\n\\n`;\n\n // Step 1: Check if analysis already exists\n let autofixState = await retryWithBackoff(\n () =>\n apiService.getAutofixState({\n organizationSlug: orgSlug,\n issueId: parsedIssueId!,\n }),\n {\n maxRetries: SEER_MAX_RETRIES,\n initialDelay: SEER_INITIAL_RETRY_DELAY,\n shouldRetry: (error) => {\n // Retry on server errors (5xx) or non-API errors (network issues)\n return (\n error instanceof ApiServerError || !(error instanceof ApiError)\n );\n },\n },\n );\n\n // Step 2: Start analysis if none exists\n if (!autofixState.autofix) {\n output += `Starting new analysis...\\n\\n`;\n const startResult = await apiService.startAutofix({\n organizationSlug: orgSlug,\n issueId: parsedIssueId,\n instruction: params.instruction,\n });\n output += `Analysis started with Run ID: ${startResult.run_id}\\n\\n`;\n\n // Give it a moment to initialize\n await new Promise((resolve) => setTimeout(resolve, 1000));\n\n // Refresh state with retry logic\n autofixState = await retryWithBackoff(\n () =>\n apiService.getAutofixState({\n organizationSlug: orgSlug,\n issueId: parsedIssueId!,\n }),\n {\n maxRetries: SEER_MAX_RETRIES,\n initialDelay: SEER_INITIAL_RETRY_DELAY,\n shouldRetry: (error) => {\n // Retry on server errors (5xx) or non-API errors (network issues)\n return (\n error instanceof ApiServerError || !(error instanceof ApiError)\n );\n },\n },\n );\n } else {\n output += `Found existing analysis (Run ID: ${autofixState.autofix.run_id})\\n\\n`;\n\n // Check if existing analysis is already complete\n const existingStatus = autofixState.autofix.status;\n if (isTerminalStatus(existingStatus)) {\n // Return results immediately, no polling needed\n output += `## Analysis ${getStatusDisplayName(existingStatus)}\\n\\n`;\n\n for (const step of autofixState.autofix.steps) {\n output += getOutputForAutofixStep(step);\n output += \"\\n\";\n }\n\n if (existingStatus !== \"COMPLETED\") {\n output += `\\n**Status**: ${existingStatus}\\n`;\n output += getHumanInterventionGuidance(existingStatus);\n output += \"\\n\";\n }\n\n return output;\n }\n }\n\n // Step 3: Poll until complete or timeout (only for non-terminal states)\n const startTime = Date.now();\n let lastStatus = \"\";\n let consecutiveErrors = 0;\n\n while (Date.now() - startTime < SEER_TIMEOUT) {\n if (!autofixState.autofix) {\n output += `Error: Analysis state lost. Please try again by running:\\n`;\n output += `\\`\\`\\`\\n`;\n output += params.issueUrl\n ? `analyze_issue_with_seer(issueUrl=\"${params.issueUrl}\")`\n : `analyze_issue_with_seer(organizationSlug=\"${orgSlug}\", issueId=\"${parsedIssueId}\")`;\n output += `\\n\\`\\`\\`\\n`;\n return output;\n }\n\n const status = autofixState.autofix.status;\n\n // Check if completed (terminal state)\n if (isTerminalStatus(status)) {\n output += `## Analysis ${getStatusDisplayName(status)}\\n\\n`;\n\n // Add all step outputs\n for (const step of autofixState.autofix.steps) {\n output += getOutputForAutofixStep(step);\n output += \"\\n\";\n }\n\n if (status !== \"COMPLETED\") {\n output += `\\n**Status**: ${status}\\n`;\n output += getHumanInterventionGuidance(status);\n }\n\n return output;\n }\n\n // Update status if changed\n if (status !== lastStatus) {\n const activeStep = autofixState.autofix.steps.find(\n (step) =>\n step.status === \"PROCESSING\" || step.status === \"IN_PROGRESS\",\n );\n if (activeStep) {\n output += `Processing: ${activeStep.title}...\\n`;\n }\n lastStatus = status;\n }\n\n // Wait before next poll\n await new Promise((resolve) =>\n setTimeout(resolve, SEER_POLLING_INTERVAL),\n );\n\n // Refresh state with error handling\n try {\n autofixState = await retryWithBackoff(\n () =>\n apiService.getAutofixState({\n organizationSlug: orgSlug,\n issueId: parsedIssueId!,\n }),\n {\n maxRetries: SEER_MAX_RETRIES,\n initialDelay: SEER_INITIAL_RETRY_DELAY,\n shouldRetry: (error) => {\n // Retry on server errors (5xx) or non-API errors (network issues)\n return (\n error instanceof ApiServerError || !(error instanceof ApiError)\n );\n },\n },\n );\n consecutiveErrors = 0; // Reset error counter on success\n } catch (error) {\n consecutiveErrors++;\n\n // If we've had too many consecutive errors, give up\n if (consecutiveErrors >= 3) {\n output += `\\n## Error During Analysis\\n\\n`;\n output += `Unable to retrieve analysis status after multiple attempts.\\n`;\n output += `Error: ${error instanceof Error ? error.message : String(error)}\\n\\n`;\n output += `You can check the status later by running the same command again:\\n`;\n output += `\\`\\`\\`\\n`;\n output += params.issueUrl\n ? `analyze_issue_with_seer(issueUrl=\"${params.issueUrl}\")`\n : `analyze_issue_with_seer(organizationSlug=\"${orgSlug}\", issueId=\"${parsedIssueId}\")`;\n output += `\\n\\`\\`\\`\\n`;\n return output;\n }\n\n // Log the error but continue polling\n output += `Temporary error retrieving status (attempt ${consecutiveErrors}/3), retrying...\\n`;\n }\n }\n\n // Show current progress\n if (autofixState.autofix) {\n output += `**Current Status**: ${getStatusDisplayName(autofixState.autofix.status)}\\n\\n`;\n for (const step of autofixState.autofix.steps) {\n output += getOutputForAutofixStep(step);\n output += \"\\n\";\n }\n }\n\n // Timeout reached\n output += `\\n## Analysis Timed Out\\n\\n`;\n output += `The analysis is taking longer than expected (>${SEER_TIMEOUT / 1000}s).\\n\\n`;\n\n output += `\\nYou can check the status later by running the same command again:\\n`;\n output += `\\`\\`\\`\\n`;\n output += params.issueUrl\n ? `analyze_issue_with_seer(issueUrl=\"${params.issueUrl}\")`\n : `analyze_issue_with_seer(organizationSlug=\"${orgSlug}\", issueId=\"${parsedIssueId}\")`;\n output += `\\n\\`\\`\\`\\n`;\n\n return output;\n },\n});\n"],"mappings":"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"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { defineTool } from "./define-2Lj8Lm1t.js";
|
|
2
|
-
import { ApiError, ApiServerError } from "./errors-
|
|
3
|
-
import { apiServiceFromContext } from "./api-
|
|
4
|
-
import { ParamIssueShortId, ParamIssueUrl, ParamOrganizationSlug, ParamRegionUrl } from "./schema-
|
|
5
|
-
import { parseIssueParams } from "./issue-helpers-
|
|
6
|
-
import { SEER_INITIAL_RETRY_DELAY, SEER_MAX_RETRIES, SEER_POLLING_INTERVAL, SEER_TIMEOUT, getHumanInterventionGuidance, getOutputForAutofixStep, getStatusDisplayName, isTerminalStatus } from "./seer-
|
|
7
|
-
import { retryWithBackoff } from "./fetch-utils-
|
|
8
|
-
import { z } from "zod";
|
|
2
|
+
import { ApiError, ApiServerError } from "./errors-CQZ-QlOB.js";
|
|
3
|
+
import { apiServiceFromContext } from "./api-CkLTFexT.js";
|
|
4
|
+
import { ParamIssueShortId, ParamIssueUrl, ParamOrganizationSlug, ParamRegionUrl } from "./schema-rwexXWFL.js";
|
|
5
|
+
import { parseIssueParams } from "./issue-helpers-8Bubch8E.js";
|
|
6
|
+
import { SEER_INITIAL_RETRY_DELAY, SEER_MAX_RETRIES, SEER_POLLING_INTERVAL, SEER_TIMEOUT, getHumanInterventionGuidance, getOutputForAutofixStep, getStatusDisplayName, isTerminalStatus } from "./seer-CderEQ-X.js";
|
|
7
|
+
import { retryWithBackoff } from "./fetch-utils-BetJhSli.js";
|
|
9
8
|
import { setTag } from "@sentry/core";
|
|
9
|
+
import { z } from "zod";
|
|
10
10
|
|
|
11
11
|
//#region src/tools/analyze-issue-with-seer.ts
|
|
12
12
|
var analyze_issue_with_seer_default = defineTool({
|
|
13
13
|
name: "analyze_issue_with_seer",
|
|
14
|
-
requiredScopes: ["
|
|
14
|
+
requiredScopes: ["seer"],
|
|
15
15
|
description: [
|
|
16
|
-
"Use Seer
|
|
16
|
+
"Use Seer to analyze production errors and get detailed root cause analysis with specific code fixes.",
|
|
17
17
|
"",
|
|
18
18
|
"Use this tool when you need:",
|
|
19
19
|
"- Detailed AI-powered root cause analysis",
|
|
@@ -60,6 +60,11 @@ var analyze_issue_with_seer_default = defineTool({
|
|
|
60
60
|
issueUrl: ParamIssueUrl.optional(),
|
|
61
61
|
instruction: z.string().describe("Optional custom instruction for the AI analysis").optional()
|
|
62
62
|
},
|
|
63
|
+
annotations: {
|
|
64
|
+
readOnlyHint: false,
|
|
65
|
+
destructiveHint: false,
|
|
66
|
+
openWorldHint: true
|
|
67
|
+
},
|
|
63
68
|
async handler(params, context) {
|
|
64
69
|
const apiService = apiServiceFromContext(context, { regionUrl: params.regionUrl });
|
|
65
70
|
const { organizationSlug: orgSlug, issueId: parsedIssueId } = parseIssueParams({
|
|
@@ -68,7 +73,7 @@ var analyze_issue_with_seer_default = defineTool({
|
|
|
68
73
|
issueUrl: params.issueUrl
|
|
69
74
|
});
|
|
70
75
|
setTag("organization.slug", orgSlug);
|
|
71
|
-
let output = `# Seer
|
|
76
|
+
let output = `# Seer Analysis for Issue ${parsedIssueId}\n\n`;
|
|
72
77
|
let autofixState = await retryWithBackoff(() => apiService.getAutofixState({
|
|
73
78
|
organizationSlug: orgSlug,
|
|
74
79
|
issueId: parsedIssueId
|
|
@@ -191,4 +196,4 @@ var analyze_issue_with_seer_default = defineTool({
|
|
|
191
196
|
|
|
192
197
|
//#endregion
|
|
193
198
|
export { analyze_issue_with_seer_default };
|
|
194
|
-
//# sourceMappingURL=analyze-issue-with-seer-
|
|
199
|
+
//# sourceMappingURL=analyze-issue-with-seer-DvuKEcbu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"analyze-issue-with-seer-DvuKEcbu.js","names":["context: ServerContext"],"sources":["../src/tools/analyze-issue-with-seer.ts"],"sourcesContent":["import { z } from \"zod\";\nimport { setTag } from \"@sentry/core\";\nimport { defineTool } from \"../internal/tool-helpers/define\";\nimport { apiServiceFromContext } from \"../internal/tool-helpers/api\";\nimport { parseIssueParams } from \"../internal/tool-helpers/issue\";\nimport {\n getStatusDisplayName,\n isTerminalStatus,\n getHumanInterventionGuidance,\n getOutputForAutofixStep,\n SEER_POLLING_INTERVAL,\n SEER_TIMEOUT,\n SEER_MAX_RETRIES,\n SEER_INITIAL_RETRY_DELAY,\n} from \"../internal/tool-helpers/seer\";\nimport { retryWithBackoff } from \"../internal/fetch-utils\";\nimport type { ServerContext } from \"../types\";\nimport { ApiError, ApiServerError } from \"../api-client/index\";\nimport {\n ParamOrganizationSlug,\n ParamRegionUrl,\n ParamIssueShortId,\n ParamIssueUrl,\n} from \"../schema\";\n\nexport default defineTool({\n name: \"analyze_issue_with_seer\",\n requiredScopes: [\"seer\"],\n description: [\n \"Use Seer to analyze production errors and get detailed root cause analysis with specific code fixes.\",\n \"\",\n \"Use this tool when you need:\",\n \"- Detailed AI-powered root cause analysis\",\n \"- Specific code fixes and implementation guidance\",\n \"- Step-by-step troubleshooting for complex issues\",\n \"- Understanding why an error is happening in production\",\n \"\",\n \"What this tool provides:\",\n \"- Root cause analysis with code-level explanations\",\n \"- Specific file locations and line numbers where errors occur\",\n \"- Concrete code fixes you can apply\",\n \"- Step-by-step implementation guidance\",\n \"\",\n \"This tool automatically:\",\n \"1. Checks if analysis already exists (instant results)\",\n \"2. Starts new AI analysis if needed (~2-5 minutes)\",\n \"3. Returns complete fix recommendations\",\n \"\",\n \"<examples>\",\n '### User: \"What\\'s causing this error? https://my-org.sentry.io/issues/PROJECT-1Z43\"',\n \"\",\n \"```\",\n \"analyze_issue_with_seer(issueUrl='https://my-org.sentry.io/issues/PROJECT-1Z43')\",\n \"```\",\n \"\",\n '### User: \"Can you help me understand why this is failing in production?\"',\n \"\",\n \"```\",\n \"analyze_issue_with_seer(organizationSlug='my-organization', issueId='ERROR-456')\",\n \"```\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- Use this tool when you need deeper analysis beyond basic issue details\",\n \"- If the user provides an issueUrl, extract it and use that parameter alone\",\n \"- The analysis includes actual code snippets and fixes, not just error descriptions\",\n \"- Results are cached - subsequent calls return instantly\",\n \"</hints>\",\n ].join(\"\\n\"),\n inputSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: ParamIssueUrl.optional(),\n instruction: z\n .string()\n .describe(\"Optional custom instruction for the AI analysis\")\n .optional(),\n },\n annotations: {\n readOnlyHint: false,\n destructiveHint: false,\n openWorldHint: true,\n },\n async handler(params, context: ServerContext) {\n const apiService = apiServiceFromContext(context, {\n regionUrl: params.regionUrl,\n });\n const { organizationSlug: orgSlug, issueId: parsedIssueId } =\n parseIssueParams({\n organizationSlug: params.organizationSlug,\n issueId: params.issueId,\n issueUrl: params.issueUrl,\n });\n\n setTag(\"organization.slug\", orgSlug);\n\n let output = `# Seer Analysis for Issue ${parsedIssueId}\\n\\n`;\n\n // Step 1: Check if analysis already exists\n let autofixState = await retryWithBackoff(\n () =>\n apiService.getAutofixState({\n organizationSlug: orgSlug,\n issueId: parsedIssueId!,\n }),\n {\n maxRetries: SEER_MAX_RETRIES,\n initialDelay: SEER_INITIAL_RETRY_DELAY,\n shouldRetry: (error) => {\n // Retry on server errors (5xx) or non-API errors (network issues)\n return (\n error instanceof ApiServerError || !(error instanceof ApiError)\n );\n },\n },\n );\n\n // Step 2: Start analysis if none exists\n if (!autofixState.autofix) {\n output += `Starting new analysis...\\n\\n`;\n const startResult = await apiService.startAutofix({\n organizationSlug: orgSlug,\n issueId: parsedIssueId,\n instruction: params.instruction,\n });\n output += `Analysis started with Run ID: ${startResult.run_id}\\n\\n`;\n\n // Give it a moment to initialize\n await new Promise((resolve) => setTimeout(resolve, 1000));\n\n // Refresh state with retry logic\n autofixState = await retryWithBackoff(\n () =>\n apiService.getAutofixState({\n organizationSlug: orgSlug,\n issueId: parsedIssueId!,\n }),\n {\n maxRetries: SEER_MAX_RETRIES,\n initialDelay: SEER_INITIAL_RETRY_DELAY,\n shouldRetry: (error) => {\n // Retry on server errors (5xx) or non-API errors (network issues)\n return (\n error instanceof ApiServerError || !(error instanceof ApiError)\n );\n },\n },\n );\n } else {\n output += `Found existing analysis (Run ID: ${autofixState.autofix.run_id})\\n\\n`;\n\n // Check if existing analysis is already complete\n const existingStatus = autofixState.autofix.status;\n if (isTerminalStatus(existingStatus)) {\n // Return results immediately, no polling needed\n output += `## Analysis ${getStatusDisplayName(existingStatus)}\\n\\n`;\n\n for (const step of autofixState.autofix.steps) {\n output += getOutputForAutofixStep(step);\n output += \"\\n\";\n }\n\n if (existingStatus !== \"COMPLETED\") {\n output += `\\n**Status**: ${existingStatus}\\n`;\n output += getHumanInterventionGuidance(existingStatus);\n output += \"\\n\";\n }\n\n return output;\n }\n }\n\n // Step 3: Poll until complete or timeout (only for non-terminal states)\n const startTime = Date.now();\n let lastStatus = \"\";\n let consecutiveErrors = 0;\n\n while (Date.now() - startTime < SEER_TIMEOUT) {\n if (!autofixState.autofix) {\n output += `Error: Analysis state lost. Please try again by running:\\n`;\n output += `\\`\\`\\`\\n`;\n output += params.issueUrl\n ? `analyze_issue_with_seer(issueUrl=\"${params.issueUrl}\")`\n : `analyze_issue_with_seer(organizationSlug=\"${orgSlug}\", issueId=\"${parsedIssueId}\")`;\n output += `\\n\\`\\`\\`\\n`;\n return output;\n }\n\n const status = autofixState.autofix.status;\n\n // Check if completed (terminal state)\n if (isTerminalStatus(status)) {\n output += `## Analysis ${getStatusDisplayName(status)}\\n\\n`;\n\n // Add all step outputs\n for (const step of autofixState.autofix.steps) {\n output += getOutputForAutofixStep(step);\n output += \"\\n\";\n }\n\n if (status !== \"COMPLETED\") {\n output += `\\n**Status**: ${status}\\n`;\n output += getHumanInterventionGuidance(status);\n }\n\n return output;\n }\n\n // Update status if changed\n if (status !== lastStatus) {\n const activeStep = autofixState.autofix.steps.find(\n (step) =>\n step.status === \"PROCESSING\" || step.status === \"IN_PROGRESS\",\n );\n if (activeStep) {\n output += `Processing: ${activeStep.title}...\\n`;\n }\n lastStatus = status;\n }\n\n // Wait before next poll\n await new Promise((resolve) =>\n setTimeout(resolve, SEER_POLLING_INTERVAL),\n );\n\n // Refresh state with error handling\n try {\n autofixState = await retryWithBackoff(\n () =>\n apiService.getAutofixState({\n organizationSlug: orgSlug,\n issueId: parsedIssueId!,\n }),\n {\n maxRetries: SEER_MAX_RETRIES,\n initialDelay: SEER_INITIAL_RETRY_DELAY,\n shouldRetry: (error) => {\n // Retry on server errors (5xx) or non-API errors (network issues)\n return (\n error instanceof ApiServerError || !(error instanceof ApiError)\n );\n },\n },\n );\n consecutiveErrors = 0; // Reset error counter on success\n } catch (error) {\n consecutiveErrors++;\n\n // If we've had too many consecutive errors, give up\n if (consecutiveErrors >= 3) {\n output += `\\n## Error During Analysis\\n\\n`;\n output += `Unable to retrieve analysis status after multiple attempts.\\n`;\n output += `Error: ${error instanceof Error ? error.message : String(error)}\\n\\n`;\n output += `You can check the status later by running the same command again:\\n`;\n output += `\\`\\`\\`\\n`;\n output += params.issueUrl\n ? `analyze_issue_with_seer(issueUrl=\"${params.issueUrl}\")`\n : `analyze_issue_with_seer(organizationSlug=\"${orgSlug}\", issueId=\"${parsedIssueId}\")`;\n output += `\\n\\`\\`\\`\\n`;\n return output;\n }\n\n // Log the error but continue polling\n output += `Temporary error retrieving status (attempt ${consecutiveErrors}/3), retrying...\\n`;\n }\n }\n\n // Show current progress\n if (autofixState.autofix) {\n output += `**Current Status**: ${getStatusDisplayName(autofixState.autofix.status)}\\n\\n`;\n for (const step of autofixState.autofix.steps) {\n output += getOutputForAutofixStep(step);\n output += \"\\n\";\n }\n }\n\n // Timeout reached\n output += `\\n## Analysis Timed Out\\n\\n`;\n output += `The analysis is taking longer than expected (>${SEER_TIMEOUT / 1000}s).\\n\\n`;\n\n output += `\\nYou can check the status later by running the same command again:\\n`;\n output += `\\`\\`\\`\\n`;\n output += params.issueUrl\n ? `analyze_issue_with_seer(issueUrl=\"${params.issueUrl}\")`\n : `analyze_issue_with_seer(organizationSlug=\"${orgSlug}\", issueId=\"${parsedIssueId}\")`;\n output += `\\n\\`\\`\\`\\n`;\n\n return output;\n },\n});\n"],"mappings":"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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_errors = require('./errors-BtJEw2Z-.cjs');
|
|
2
|
-
const require_errors$1 = require('./errors-
|
|
3
|
-
const require_client = require('./client-
|
|
4
|
-
const require_validate_region_url = require('./validate-region-url-
|
|
2
|
+
const require_errors$1 = require('./errors-Bmqdg5Q6.cjs');
|
|
3
|
+
const require_client = require('./client-C2TwbSm-.cjs');
|
|
4
|
+
const require_validate_region_url = require('./validate-region-url-dzz6t54w.cjs');
|
|
5
5
|
|
|
6
6
|
//#region src/internal/tool-helpers/api.ts
|
|
7
7
|
/**
|
|
@@ -77,4 +77,4 @@ Object.defineProperty(exports, 'withApiErrorHandling', {
|
|
|
77
77
|
return withApiErrorHandling;
|
|
78
78
|
}
|
|
79
79
|
});
|
|
80
|
-
//# sourceMappingURL=api-
|
|
80
|
+
//# sourceMappingURL=api-CZD9zwQ-.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-
|
|
1
|
+
{"version":3,"file":"api-CZD9zwQ-.cjs","names":["context: ServerContext","opts: { regionUrl?: string }","SentryApiService","error: unknown","params?: Record<string, unknown>","ApiClientError","ApiNotFoundError","paramsList: string[]","UserInputError","fn: () => Promise<T>"],"sources":["../src/internal/tool-helpers/api.ts"],"sourcesContent":["import {\n SentryApiService,\n ApiClientError,\n ApiNotFoundError,\n} from \"../../api-client/index\";\nimport { UserInputError } from \"../../errors\";\nimport type { ServerContext } from \"../../types\";\nimport { validateRegionUrl } from \"./validate-region-url\";\n\n/**\n * Create a Sentry API service from server context with optional region override\n * @param context - Server context containing host and access token\n * @param opts - Options object containing optional regionUrl override\n * @returns Configured SentryApiService instance (always uses HTTPS)\n * @throws {UserInputError} When regionUrl is provided but invalid\n */\nexport function apiServiceFromContext(\n context: ServerContext,\n opts: { regionUrl?: string } = {},\n) {\n let host = context.sentryHost;\n\n if (opts.regionUrl?.trim()) {\n // Validate the regionUrl against the base host to prevent SSRF\n // Use default host if context.sentryHost is not set\n const baseHost = context.sentryHost || \"sentry.io\";\n host = validateRegionUrl(opts.regionUrl.trim(), baseHost);\n }\n\n return new SentryApiService({\n host,\n accessToken: context.accessToken,\n });\n}\n\n/**\n * Maps API errors to user-friendly errors based on context\n * @param error - The error to handle\n * @param params - The parameters that were used in the API call\n * @returns Never - always throws an error\n * @throws {UserInputError} For 4xx errors that are likely user input issues\n * @throws {Error} For other errors\n */\nexport function handleApiError(\n error: unknown,\n params?: Record<string, unknown>,\n): never {\n // Use the new error hierarchy - all 4xx errors extend ApiClientError\n if (error instanceof ApiClientError) {\n let message = `API error (${error.status}): ${error.message}`;\n\n // Special handling for 404s with parameter context\n if (error instanceof ApiNotFoundError && params) {\n const paramsList: string[] = [];\n for (const [key, value] of Object.entries(params)) {\n if (value !== undefined && value !== null && value !== \"\") {\n paramsList.push(`${key}: '${value}'`);\n }\n }\n\n if (paramsList.length > 0) {\n message = `Resource not found (404): ${error.message}\\nPlease verify these parameters are correct:\\n${paramsList.map((p) => ` - ${p}`).join(\"\\n\")}`;\n }\n }\n\n throw new UserInputError(message, { cause: error });\n }\n\n // All other errors bubble up (including ApiServerError for 5xx)\n throw error;\n}\n\n/**\n * Wraps an async API call with automatic error handling\n * @param fn - The async function to execute\n * @param params - The parameters that were used in the API call\n * @returns The result of the function\n * @throws {UserInputError} For user input errors\n * @throws {Error} For other errors\n */\nexport async function withApiErrorHandling<T>(\n fn: () => Promise<T>,\n params?: Record<string, unknown>,\n): Promise<T> {\n try {\n return await fn();\n } catch (error) {\n handleApiError(error, params);\n }\n}\n"],"mappings":";;;;;;;;;;;;;AAgBA,SAAgB,sBACdA,SACAC,OAA+B,CAAE,GACjC;CACA,IAAI,OAAO,QAAQ;AAEnB,KAAI,KAAK,WAAW,MAAM,EAAE;EAG1B,MAAM,WAAW,QAAQ,cAAc;AACvC,SAAO,8CAAkB,KAAK,UAAU,MAAM,EAAE,SAAS;CAC1D;AAED,QAAO,IAAIC,gCAAiB;EAC1B;EACA,aAAa,QAAQ;CACtB;AACF;;;;;;;;;AAUD,SAAgB,eACdC,OACAC,QACO;AAEP,KAAI,iBAAiBC,iCAAgB;EACnC,IAAI,WAAW,aAAa,MAAM,OAAO,KAAK,MAAM;AAGpD,MAAI,iBAAiBC,qCAAoB,QAAQ;GAC/C,MAAMC,aAAuB,CAAE;AAC/B,QAAK,MAAM,CAAC,KAAK,MAAM,IAAI,OAAO,QAAQ,OAAO,CAC/C,KAAI,oBAAuB,UAAU,QAAQ,UAAU,GACrD,YAAW,QAAQ,IAAI,KAAK,MAAM,GAAG;AAIzC,OAAI,WAAW,SAAS,EACtB,YAAW,4BAA4B,MAAM,QAAQ,iDAAiD,WAAW,IAAI,CAAC,OAAO,MAAM,IAAI,CAAC,KAAK,KAAK;EAErJ;AAED,QAAM,IAAIC,8BAAe,SAAS,EAAE,OAAO,MAAO;CACnD;AAGD,OAAM;AACP;;;;;;;;;AAUD,eAAsB,qBACpBC,IACAL,QACY;AACZ,KAAI;AACF,SAAO,MAAM,IAAI;CAClB,SAAQ,OAAO;AACd,iBAAe,OAAO,OAAO;CAC9B;AACF"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UserInputError } from "./errors-D_R568zP.js";
|
|
2
|
-
import { ApiClientError, ApiNotFoundError } from "./errors-
|
|
3
|
-
import { SentryApiService } from "./client-
|
|
4
|
-
import { validateRegionUrl } from "./validate-region-url-
|
|
2
|
+
import { ApiClientError, ApiNotFoundError } from "./errors-CQZ-QlOB.js";
|
|
3
|
+
import { SentryApiService } from "./client-CWgvrDHH.js";
|
|
4
|
+
import { validateRegionUrl } from "./validate-region-url-CaR6XWB_.js";
|
|
5
5
|
|
|
6
6
|
//#region src/internal/tool-helpers/api.ts
|
|
7
7
|
/**
|
|
@@ -60,4 +60,4 @@ async function withApiErrorHandling(fn, params) {
|
|
|
60
60
|
|
|
61
61
|
//#endregion
|
|
62
62
|
export { apiServiceFromContext, handleApiError, withApiErrorHandling };
|
|
63
|
-
//# sourceMappingURL=api-
|
|
63
|
+
//# sourceMappingURL=api-CkLTFexT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-
|
|
1
|
+
{"version":3,"file":"api-CkLTFexT.js","names":["context: ServerContext","opts: { regionUrl?: string }","error: unknown","params?: Record<string, unknown>","paramsList: string[]","fn: () => Promise<T>"],"sources":["../src/internal/tool-helpers/api.ts"],"sourcesContent":["import {\n SentryApiService,\n ApiClientError,\n ApiNotFoundError,\n} from \"../../api-client/index\";\nimport { UserInputError } from \"../../errors\";\nimport type { ServerContext } from \"../../types\";\nimport { validateRegionUrl } from \"./validate-region-url\";\n\n/**\n * Create a Sentry API service from server context with optional region override\n * @param context - Server context containing host and access token\n * @param opts - Options object containing optional regionUrl override\n * @returns Configured SentryApiService instance (always uses HTTPS)\n * @throws {UserInputError} When regionUrl is provided but invalid\n */\nexport function apiServiceFromContext(\n context: ServerContext,\n opts: { regionUrl?: string } = {},\n) {\n let host = context.sentryHost;\n\n if (opts.regionUrl?.trim()) {\n // Validate the regionUrl against the base host to prevent SSRF\n // Use default host if context.sentryHost is not set\n const baseHost = context.sentryHost || \"sentry.io\";\n host = validateRegionUrl(opts.regionUrl.trim(), baseHost);\n }\n\n return new SentryApiService({\n host,\n accessToken: context.accessToken,\n });\n}\n\n/**\n * Maps API errors to user-friendly errors based on context\n * @param error - The error to handle\n * @param params - The parameters that were used in the API call\n * @returns Never - always throws an error\n * @throws {UserInputError} For 4xx errors that are likely user input issues\n * @throws {Error} For other errors\n */\nexport function handleApiError(\n error: unknown,\n params?: Record<string, unknown>,\n): never {\n // Use the new error hierarchy - all 4xx errors extend ApiClientError\n if (error instanceof ApiClientError) {\n let message = `API error (${error.status}): ${error.message}`;\n\n // Special handling for 404s with parameter context\n if (error instanceof ApiNotFoundError && params) {\n const paramsList: string[] = [];\n for (const [key, value] of Object.entries(params)) {\n if (value !== undefined && value !== null && value !== \"\") {\n paramsList.push(`${key}: '${value}'`);\n }\n }\n\n if (paramsList.length > 0) {\n message = `Resource not found (404): ${error.message}\\nPlease verify these parameters are correct:\\n${paramsList.map((p) => ` - ${p}`).join(\"\\n\")}`;\n }\n }\n\n throw new UserInputError(message, { cause: error });\n }\n\n // All other errors bubble up (including ApiServerError for 5xx)\n throw error;\n}\n\n/**\n * Wraps an async API call with automatic error handling\n * @param fn - The async function to execute\n * @param params - The parameters that were used in the API call\n * @returns The result of the function\n * @throws {UserInputError} For user input errors\n * @throws {Error} For other errors\n */\nexport async function withApiErrorHandling<T>(\n fn: () => Promise<T>,\n params?: Record<string, unknown>,\n): Promise<T> {\n try {\n return await fn();\n } catch (error) {\n handleApiError(error, params);\n }\n}\n"],"mappings":";;;;;;;;;;;;;AAgBA,SAAgB,sBACdA,SACAC,OAA+B,CAAE,GACjC;CACA,IAAI,OAAO,QAAQ;AAEnB,KAAI,KAAK,WAAW,MAAM,EAAE;EAG1B,MAAM,WAAW,QAAQ,cAAc;AACvC,SAAO,kBAAkB,KAAK,UAAU,MAAM,EAAE,SAAS;CAC1D;AAED,QAAO,IAAI,iBAAiB;EAC1B;EACA,aAAa,QAAQ;CACtB;AACF;;;;;;;;;AAUD,SAAgB,eACdC,OACAC,QACO;AAEP,KAAI,iBAAiB,gBAAgB;EACnC,IAAI,WAAW,aAAa,MAAM,OAAO,KAAK,MAAM;AAGpD,MAAI,iBAAiB,oBAAoB,QAAQ;GAC/C,MAAMC,aAAuB,CAAE;AAC/B,QAAK,MAAM,CAAC,KAAK,MAAM,IAAI,OAAO,QAAQ,OAAO,CAC/C,KAAI,oBAAuB,UAAU,QAAQ,UAAU,GACrD,YAAW,QAAQ,IAAI,KAAK,MAAM,GAAG;AAIzC,OAAI,WAAW,SAAS,EACtB,YAAW,4BAA4B,MAAM,QAAQ,iDAAiD,WAAW,IAAI,CAAC,OAAO,MAAM,IAAI,CAAC,KAAK,KAAK;EAErJ;AAED,QAAM,IAAI,eAAe,SAAS,EAAE,OAAO,MAAO;CACnD;AAGD,OAAM;AACP;;;;;;;;;AAUD,eAAsB,qBACpBC,IACAF,QACY;AACZ,KAAI;AACF,SAAO,MAAM,IAAI;CAClB,SAAQ,OAAO;AACd,iBAAe,OAAO,OAAO;CAC9B;AACF"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
require('../errors-BtJEw2Z-.cjs');
|
|
2
|
-
require('../url-utils-
|
|
3
|
-
require('../
|
|
4
|
-
require('../
|
|
5
|
-
|
|
2
|
+
require('../url-utils-Bn5EoScr.cjs');
|
|
3
|
+
require('../logging-CkAJKyq2.cjs');
|
|
4
|
+
require('../schema-DoWJbcHt.cjs');
|
|
5
|
+
require('../errors-Bmqdg5Q6.cjs');
|
|
6
|
+
const require_client = require('../client-C2TwbSm-.cjs');
|
|
6
7
|
|
|
7
8
|
exports.SentryApiService = require_client.SentryApiService;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../schema-
|
|
2
|
-
import "../types-
|
|
3
|
-
import { SentryApiService } from "../client-
|
|
1
|
+
import "../schema-Y6BzAUmc.cjs";
|
|
2
|
+
import "../types-CLI02LNZ.cjs";
|
|
3
|
+
import { SentryApiService } from "../client-DeGFkGAD.cjs";
|
|
4
4
|
export { SentryApiService };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../schema-
|
|
2
|
-
import "../types-
|
|
3
|
-
import { SentryApiService } from "../client-
|
|
1
|
+
import "../schema-BogGdbdV.js";
|
|
2
|
+
import "../types-DoT0an28.js";
|
|
3
|
+
import { SentryApiService } from "../client-njqQAP-R.js";
|
|
4
4
|
export { SentryApiService };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import "../errors-D_R568zP.js";
|
|
2
|
-
import "../url-utils-
|
|
3
|
-
import "../
|
|
4
|
-
import "../
|
|
5
|
-
import
|
|
2
|
+
import "../url-utils-d9bPTnOl.js";
|
|
3
|
+
import "../logging-DqqDTe02.js";
|
|
4
|
+
import "../schema-CuB-30t5.js";
|
|
5
|
+
import "../errors-CQZ-QlOB.js";
|
|
6
|
+
import { SentryApiService } from "../client-CWgvrDHH.js";
|
|
6
7
|
|
|
7
8
|
export { SentryApiService };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ApiAuthenticationError, ApiClientError, ApiError, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, createApiError } from "../errors-
|
|
1
|
+
import { ApiAuthenticationError, ApiClientError, ApiError, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, createApiError } from "../errors-CyAWBU2S.js";
|
|
2
2
|
export { ApiAuthenticationError, ApiClientError, ApiError, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, createApiError };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ApiAuthenticationError, ApiClientError, ApiError, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, createApiError } from "../errors-
|
|
1
|
+
import { ApiAuthenticationError, ApiClientError, ApiError, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, createApiError } from "../errors-CQZ-QlOB.js";
|
|
2
2
|
|
|
3
3
|
export { ApiAuthenticationError, ApiClientError, ApiError, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, createApiError };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
require('../errors-BtJEw2Z-.cjs');
|
|
2
|
-
require('../url-utils-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
require('../
|
|
7
|
-
require('../
|
|
2
|
+
require('../url-utils-Bn5EoScr.cjs');
|
|
3
|
+
require('../logging-CkAJKyq2.cjs');
|
|
4
|
+
const require_schema = require('../schema-DoWJbcHt.cjs');
|
|
5
|
+
const require_errors$1 = require('../errors-Bmqdg5Q6.cjs');
|
|
6
|
+
const require_client = require('../client-C2TwbSm-.cjs');
|
|
7
|
+
require('../types-D10T4PdD.cjs');
|
|
8
|
+
require('../api-client-BsHWi0-I.cjs');
|
|
8
9
|
|
|
9
10
|
exports.ApiAuthenticationError = require_errors$1.ApiAuthenticationError;
|
|
10
11
|
exports.ApiClientError = require_errors$1.ApiClientError;
|
|
@@ -26,6 +27,7 @@ exports.BreadcrumbSchema = require_schema.BreadcrumbSchema;
|
|
|
26
27
|
exports.BreadcrumbsEntrySchema = require_schema.BreadcrumbsEntrySchema;
|
|
27
28
|
exports.ClientKeyListSchema = require_schema.ClientKeyListSchema;
|
|
28
29
|
exports.ClientKeySchema = require_schema.ClientKeySchema;
|
|
30
|
+
exports.DefaultEventSchema = require_schema.DefaultEventSchema;
|
|
29
31
|
exports.ErrorEntrySchema = require_schema.ErrorEntrySchema;
|
|
30
32
|
exports.ErrorEventSchema = require_schema.ErrorEventSchema;
|
|
31
33
|
exports.ErrorsSearchResponseSchema = require_schema.ErrorsSearchResponseSchema;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-
|
|
2
|
-
import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, User } from "../types-
|
|
3
|
-
import { SentryApiService } from "../client-
|
|
1
|
+
import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-Y6BzAUmc.cjs";
|
|
2
|
+
import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, DefaultEvent, ErrorEvent, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, RawEvent, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, TransactionEvent, UnknownEvent, User } from "../types-CLI02LNZ.cjs";
|
|
3
|
+
import { SentryApiService } from "../client-DeGFkGAD.cjs";
|
|
4
4
|
import { ApiAuthenticationError, ApiClientError, ApiError, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, createApiError } from "../errors-DMiENfq7.cjs";
|
|
5
5
|
import "../index-CmCelmEL.cjs";
|
|
6
|
-
export { ApiAuthenticationError, ApiClientError, ApiError, ApiErrorSchema, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, AssignedTo, AssignedToSchema, AutofixRun, AutofixRunSchema, AutofixRunState, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKey, ClientKeyList, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, Event, EventAttachment, EventAttachmentList, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, Issue, IssueList, IssueListSchema, IssueSchema, MessageEntrySchema, Organization, OrganizationList, OrganizationListSchema, OrganizationSchema, Project, ProjectList, ProjectListSchema, ProjectSchema, Release, ReleaseList, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SentryApiService, SpansSearchResponseSchema, Tag, TagList, TagListSchema, TagSchema, Team, TeamList, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, Trace, TraceIssue, TraceIssueSchema, TraceMeta, TraceMetaSchema, TraceSchema, TraceSpan, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, User, UserRegionsSchema, UserSchema, createApiError };
|
|
6
|
+
export { ApiAuthenticationError, ApiClientError, ApiError, ApiErrorSchema, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, AssignedTo, AssignedToSchema, AutofixRun, AutofixRunSchema, AutofixRunState, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKey, ClientKeyList, ClientKeyListSchema, ClientKeySchema, DefaultEvent, DefaultEventSchema, ErrorEntrySchema, ErrorEvent, ErrorEventSchema, ErrorsSearchResponseSchema, Event, EventAttachment, EventAttachmentList, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, Issue, IssueList, IssueListSchema, IssueSchema, MessageEntrySchema, Organization, OrganizationList, OrganizationListSchema, OrganizationSchema, Project, ProjectList, ProjectListSchema, ProjectSchema, RawEvent, Release, ReleaseList, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SentryApiService, SpansSearchResponseSchema, Tag, TagList, TagListSchema, TagSchema, Team, TeamList, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, Trace, TraceIssue, TraceIssueSchema, TraceMeta, TraceMetaSchema, TraceSchema, TraceSpan, TraceSpanSchema, TransactionEvent, TransactionEventSchema, UnknownEvent, UnknownEventSchema, User, UserRegionsSchema, UserSchema, createApiError };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-
|
|
2
|
-
import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, User } from "../types-
|
|
3
|
-
import { SentryApiService } from "../client-
|
|
4
|
-
import { ApiAuthenticationError, ApiClientError, ApiError, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, createApiError } from "../errors-
|
|
5
|
-
import "../index-
|
|
6
|
-
export { ApiAuthenticationError, ApiClientError, ApiError, ApiErrorSchema, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, AssignedTo, AssignedToSchema, AutofixRun, AutofixRunSchema, AutofixRunState, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKey, ClientKeyList, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, Event, EventAttachment, EventAttachmentList, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, Issue, IssueList, IssueListSchema, IssueSchema, MessageEntrySchema, Organization, OrganizationList, OrganizationListSchema, OrganizationSchema, Project, ProjectList, ProjectListSchema, ProjectSchema, Release, ReleaseList, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SentryApiService, SpansSearchResponseSchema, Tag, TagList, TagListSchema, TagSchema, Team, TeamList, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, Trace, TraceIssue, TraceIssueSchema, TraceMeta, TraceMetaSchema, TraceSchema, TraceSpan, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, User, UserRegionsSchema, UserSchema, createApiError };
|
|
1
|
+
import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-BogGdbdV.js";
|
|
2
|
+
import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, DefaultEvent, ErrorEvent, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, RawEvent, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, TransactionEvent, UnknownEvent, User } from "../types-DoT0an28.js";
|
|
3
|
+
import { SentryApiService } from "../client-njqQAP-R.js";
|
|
4
|
+
import { ApiAuthenticationError, ApiClientError, ApiError, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, createApiError } from "../errors-CyAWBU2S.js";
|
|
5
|
+
import "../index-NfFbnYt3.js";
|
|
6
|
+
export { ApiAuthenticationError, ApiClientError, ApiError, ApiErrorSchema, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, AssignedTo, AssignedToSchema, AutofixRun, AutofixRunSchema, AutofixRunState, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKey, ClientKeyList, ClientKeyListSchema, ClientKeySchema, DefaultEvent, DefaultEventSchema, ErrorEntrySchema, ErrorEvent, ErrorEventSchema, ErrorsSearchResponseSchema, Event, EventAttachment, EventAttachmentList, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, Issue, IssueList, IssueListSchema, IssueSchema, MessageEntrySchema, Organization, OrganizationList, OrganizationListSchema, OrganizationSchema, Project, ProjectList, ProjectListSchema, ProjectSchema, RawEvent, Release, ReleaseList, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SentryApiService, SpansSearchResponseSchema, Tag, TagList, TagListSchema, TagSchema, Team, TeamList, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, Trace, TraceIssue, TraceIssueSchema, TraceMeta, TraceMetaSchema, TraceSchema, TraceSpan, TraceSpanSchema, TransactionEvent, TransactionEventSchema, UnknownEvent, UnknownEventSchema, User, UserRegionsSchema, UserSchema, createApiError };
|
package/dist/api-client/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import "../errors-D_R568zP.js";
|
|
2
|
-
import "../url-utils-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import "../
|
|
7
|
-
import "../
|
|
2
|
+
import "../url-utils-d9bPTnOl.js";
|
|
3
|
+
import "../logging-DqqDTe02.js";
|
|
4
|
+
import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-CuB-30t5.js";
|
|
5
|
+
import { ApiAuthenticationError, ApiClientError, ApiError, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, createApiError } from "../errors-CQZ-QlOB.js";
|
|
6
|
+
import { SentryApiService } from "../client-CWgvrDHH.js";
|
|
7
|
+
import "../types-Bx1EKe0v.js";
|
|
8
|
+
import "../api-client-BR5WolLe.js";
|
|
8
9
|
|
|
9
|
-
export { ApiAuthenticationError, ApiClientError, ApiError, ApiErrorSchema, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SentryApiService, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema, createApiError };
|
|
10
|
+
export { ApiAuthenticationError, ApiClientError, ApiError, ApiErrorSchema, ApiNotFoundError, ApiPermissionError, ApiRateLimitError, ApiServerError, ApiValidationError, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SentryApiService, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema, createApiError };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_schema = require('../schema-
|
|
1
|
+
const require_schema = require('../schema-DoWJbcHt.cjs');
|
|
2
2
|
|
|
3
3
|
exports.ApiErrorSchema = require_schema.ApiErrorSchema;
|
|
4
4
|
exports.AssignedToSchema = require_schema.AssignedToSchema;
|
|
@@ -12,6 +12,7 @@ exports.BreadcrumbSchema = require_schema.BreadcrumbSchema;
|
|
|
12
12
|
exports.BreadcrumbsEntrySchema = require_schema.BreadcrumbsEntrySchema;
|
|
13
13
|
exports.ClientKeyListSchema = require_schema.ClientKeyListSchema;
|
|
14
14
|
exports.ClientKeySchema = require_schema.ClientKeySchema;
|
|
15
|
+
exports.DefaultEventSchema = require_schema.DefaultEventSchema;
|
|
15
16
|
exports.ErrorEntrySchema = require_schema.ErrorEntrySchema;
|
|
16
17
|
exports.ErrorEventSchema = require_schema.ErrorEventSchema;
|
|
17
18
|
exports.ErrorsSearchResponseSchema = require_schema.ErrorsSearchResponseSchema;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-
|
|
2
|
-
export { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema };
|
|
1
|
+
import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-Y6BzAUmc.cjs";
|
|
2
|
+
export { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-
|
|
2
|
-
export { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema };
|
|
1
|
+
import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-BogGdbdV.js";
|
|
2
|
+
export { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-
|
|
1
|
+
import { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema } from "../schema-CuB-30t5.js";
|
|
2
2
|
|
|
3
|
-
export { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema };
|
|
3
|
+
export { ApiErrorSchema, AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, AutofixRunStepDefaultSchema, AutofixRunStepRootCauseAnalysisSchema, AutofixRunStepSchema, AutofixRunStepSolutionSchema, BreadcrumbSchema, BreadcrumbsEntrySchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEntrySchema, ErrorEventSchema, ErrorsSearchResponseSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, EventsResponseSchema, ExceptionInterface, FrameInterface, IssueListSchema, IssueSchema, MessageEntrySchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, RequestEntrySchema, SpansSearchResponseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, ThreadEntrySchema, ThreadsEntrySchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserRegionsSchema, UserSchema };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require('../types-
|
|
1
|
+
require('../types-D10T4PdD.cjs');
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../schema-
|
|
2
|
-
import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, User } from "../types-
|
|
3
|
-
export { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, User };
|
|
1
|
+
import "../schema-Y6BzAUmc.cjs";
|
|
2
|
+
import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, DefaultEvent, ErrorEvent, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, RawEvent, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, TransactionEvent, UnknownEvent, User } from "../types-CLI02LNZ.cjs";
|
|
3
|
+
export { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, DefaultEvent, ErrorEvent, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, RawEvent, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, TransactionEvent, UnknownEvent, User };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../schema-
|
|
2
|
-
import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, User } from "../types-
|
|
3
|
-
export { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, User };
|
|
1
|
+
import "../schema-BogGdbdV.js";
|
|
2
|
+
import { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, DefaultEvent, ErrorEvent, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, RawEvent, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, TransactionEvent, UnknownEvent, User } from "../types-DoT0an28.js";
|
|
3
|
+
export { AssignedTo, AutofixRun, AutofixRunState, ClientKey, ClientKeyList, DefaultEvent, ErrorEvent, Event, EventAttachment, EventAttachmentList, Issue, IssueList, Organization, OrganizationList, Project, ProjectList, RawEvent, Release, ReleaseList, Tag, TagList, Team, TeamList, Trace, TraceIssue, TraceMeta, TraceSpan, TransactionEvent, UnknownEvent, User };
|
package/dist/api-client/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import "../types-
|
|
1
|
+
import "../types-Bx1EKe0v.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { getOpenAIModel } from "./openai-provider-CqpHDwSr.js";
|
|
1
2
|
import { Output, generateText } from "ai";
|
|
2
|
-
import { openai } from "@ai-sdk/openai";
|
|
3
3
|
|
|
4
4
|
//#region src/internal/agents/callEmbeddedAgent.ts
|
|
5
5
|
/**
|
|
@@ -13,11 +13,12 @@ import { openai } from "@ai-sdk/openai";
|
|
|
13
13
|
async function callEmbeddedAgent({ system, prompt, tools, schema }) {
|
|
14
14
|
const capturedToolCalls = [];
|
|
15
15
|
const result = await generateText({
|
|
16
|
-
model:
|
|
16
|
+
model: getOpenAIModel(),
|
|
17
17
|
system,
|
|
18
18
|
prompt,
|
|
19
19
|
tools,
|
|
20
20
|
maxSteps: 5,
|
|
21
|
+
temperature: 1,
|
|
21
22
|
experimental_output: Output.object({ schema }),
|
|
22
23
|
onStepFinish: (event) => {
|
|
23
24
|
if (event.toolCalls && event.toolCalls.length > 0) for (const toolCall of event.toolCalls) capturedToolCalls.push({
|
|
@@ -35,4 +36,4 @@ async function callEmbeddedAgent({ system, prompt, tools, schema }) {
|
|
|
35
36
|
|
|
36
37
|
//#endregion
|
|
37
38
|
export { callEmbeddedAgent };
|
|
38
|
-
//# sourceMappingURL=callEmbeddedAgent-
|
|
39
|
+
//# sourceMappingURL=callEmbeddedAgent-BSnzLPfW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"callEmbeddedAgent-BSnzLPfW.js","names":["capturedToolCalls: ToolCall[]"],"sources":["../src/internal/agents/callEmbeddedAgent.ts"],"sourcesContent":["import { generateText, Output, type Tool } from \"ai\";\nimport { getOpenAIModel } from \"./openai-provider\";\nimport type { z } from \"zod\";\n\nexport type ToolCall = {\n toolName: string;\n args: unknown;\n};\n\ninterface EmbeddedAgentResult<T> {\n result: T;\n toolCalls: ToolCall[];\n}\n\n/**\n * Call an embedded agent with tool call capture\n * This is the standard way to call embedded AI agents within MCP tools\n *\n * Error handling:\n * - Errors are re-thrown for the calling agent to handle\n * - Each agent can implement its own error handling strategy\n */\nexport async function callEmbeddedAgent<T>({\n system,\n prompt,\n tools,\n schema,\n}: {\n system: string;\n prompt: string;\n tools: Record<string, Tool>;\n schema: z.ZodSchema<T>;\n}): Promise<EmbeddedAgentResult<T>> {\n const capturedToolCalls: ToolCall[] = [];\n\n const result = await generateText({\n model: getOpenAIModel(), // Uses configured default model (gpt-5)\n system,\n prompt,\n tools,\n maxSteps: 5,\n temperature: 1, // GPT-5 only supports temperature of 1\n experimental_output: Output.object({ schema }),\n onStepFinish: (event) => {\n if (event.toolCalls && event.toolCalls.length > 0) {\n for (const toolCall of event.toolCalls) {\n capturedToolCalls.push({\n toolName: toolCall.toolName,\n args: toolCall.args,\n });\n }\n }\n },\n });\n\n if (!result.experimental_output) {\n throw new Error(\"Failed to generate output\");\n }\n\n return {\n result: result.experimental_output as T,\n toolCalls: capturedToolCalls,\n };\n}\n"],"mappings":";;;;;;;;;;;;AAsBA,eAAsB,kBAAqB,EACzC,QACA,QACA,OACA,QAMD,EAAmC;CAClC,MAAMA,oBAAgC,CAAE;CAExC,MAAM,SAAS,MAAM,aAAa;EAChC,OAAO,gBAAgB;EACvB;EACA;EACA;EACA,UAAU;EACV,aAAa;EACb,qBAAqB,OAAO,OAAO,EAAE,OAAQ,EAAC;EAC9C,cAAc,CAAC,UAAU;AACvB,OAAI,MAAM,aAAa,MAAM,UAAU,SAAS,EAC9C,MAAK,MAAM,YAAY,MAAM,UAC3B,mBAAkB,KAAK;IACrB,UAAU,SAAS;IACnB,MAAM,SAAS;GAChB,EAAC;EAGP;CACF,EAAC;AAEF,MAAK,OAAO,oBACV,OAAM,IAAI,MAAM;AAGlB,QAAO;EACL,QAAQ,OAAO;EACf,WAAW;CACZ;AACF"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { Tool } from "ai";
|
|
3
|
+
|
|
4
|
+
//#region src/internal/agents/callEmbeddedAgent.d.ts
|
|
5
|
+
type ToolCall = {
|
|
6
|
+
toolName: string;
|
|
7
|
+
args: unknown;
|
|
8
|
+
};
|
|
9
|
+
interface EmbeddedAgentResult<T> {
|
|
10
|
+
result: T;
|
|
11
|
+
toolCalls: ToolCall[];
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Call an embedded agent with tool call capture
|
|
15
|
+
* This is the standard way to call embedded AI agents within MCP tools
|
|
16
|
+
*
|
|
17
|
+
* Error handling:
|
|
18
|
+
* - Errors are re-thrown for the calling agent to handle
|
|
19
|
+
* - Each agent can implement its own error handling strategy
|
|
20
|
+
*/
|
|
21
|
+
declare function callEmbeddedAgent<T>({
|
|
22
|
+
system,
|
|
23
|
+
prompt,
|
|
24
|
+
tools,
|
|
25
|
+
schema
|
|
26
|
+
}: {
|
|
27
|
+
system: string;
|
|
28
|
+
prompt: string;
|
|
29
|
+
tools: Record<string, Tool>;
|
|
30
|
+
schema: z.ZodSchema<T>;
|
|
31
|
+
}): Promise<EmbeddedAgentResult<T>>;
|
|
32
|
+
//#endregion
|
|
33
|
+
export { ToolCall, callEmbeddedAgent };
|
|
34
|
+
//# sourceMappingURL=callEmbeddedAgent-D83njSgs.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"callEmbeddedAgent-D83njSgs.d.cts","names":[],"sources":["../src/internal/agents/callEmbeddedAgent.ts"],"sourcesContent":[],"mappings":";;;;KAIY,QAAA;;EAAA,IAAA,EAAA,OAAQ;AAGlB,CAAA;UAEQ,mBAAmB,CAAA,CAAA,CAAA,CAAA;EAAA,MACnB,EAAA,CAAA;EAAC,SACE,EAAA,QAAA,EAAA;AAAQ;AAWrB;;;;;;;;AASsB,iBATA,iBASA,CAAA,CAAA,CAAA,CAAA;EAAA,MAAA;EAAA,MAAA;EAAA,KAAA;EAAA;AACX,CADW,EAAA;EAAC,MAAX,EAAA,MAAA;EAAS,MACW,EAAA,MAAA;EAAC,KAArB,EAFH,MAEG,CAAA,MAAA,EAFY,IAEZ,CAAA;EAAmB,MAA3B,EADM,CAAA,CAAE,SACR,CADkB,CAClB,CAAA;AAAO,CAAA,CAAA,EAAP,OAAO,CAAC,mBAAD,CAAqB,CAArB,CAAA,CAAA"}
|