@sentry/mcp-server 0.21.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-vFXI2vu1.js → agent-0WAnUgat.js} +7 -7
- package/dist/agent-0WAnUgat.js.map +1 -0
- package/dist/{agent-CuX9zpZq.d.ts → agent-BeTXxskw.d.ts} +12 -11
- package/dist/agent-BeTXxskw.d.ts.map +1 -0
- package/dist/{agent-_VPpnFmn.d.cts → agent-Bm5Hsfal.d.cts} +2 -2
- package/dist/{agent-_VPpnFmn.d.cts.map → agent-Bm5Hsfal.d.cts.map} +1 -1
- package/dist/{agent-CvjnNjVl.js → agent-C1Ros3Xx.js} +2 -2
- package/dist/{agent-CvjnNjVl.js.map → agent-C1Ros3Xx.js.map} +1 -1
- package/dist/{agent-BIhLK0w6.d.ts → agent-CJ6SVqAB.d.ts} +2 -2
- package/dist/{agent-BIhLK0w6.d.ts.map → agent-CJ6SVqAB.d.ts.map} +1 -1
- package/dist/{agent-DOraNng-.cjs → agent-Cm9hEq5d.cjs} +23 -13
- package/dist/agent-Cm9hEq5d.cjs.map +1 -0
- package/dist/{agent-CaZRIfIM.d.ts → agent-Cu85yHYm.d.ts} +25 -24
- package/dist/agent-Cu85yHYm.d.ts.map +1 -0
- package/dist/{agent-Bgg6nor6.cjs → agent-CyyRLYbF.cjs} +15 -9
- package/dist/agent-CyyRLYbF.cjs.map +1 -0
- package/dist/{agent-WO6BpLta.d.cts → agent-DYfi9MFV.d.cts} +29 -28
- package/dist/agent-DYfi9MFV.d.cts.map +1 -0
- package/dist/{agent-CzjC0wP8.js → agent-Dkgkv7Iz.js} +14 -10
- package/dist/agent-Dkgkv7Iz.js.map +1 -0
- package/dist/{agent-pad5p0Xr.cjs → agent-DtCRTWPZ.cjs} +3 -3
- package/dist/{agent-pad5p0Xr.cjs.map → agent-DtCRTWPZ.cjs.map} +1 -1
- package/dist/{agent-BePwIb80.d.cts → agent-TEZG63ug.d.cts} +12 -11
- package/dist/agent-TEZG63ug.d.cts.map +1 -0
- package/dist/{analyze-issue-with-seer-DHxMOCaf.cjs → analyze-issue-with-seer-B90r4g5J.cjs} +4 -4
- package/dist/{analyze-issue-with-seer-DHxMOCaf.cjs.map → analyze-issue-with-seer-B90r4g5J.cjs.map} +1 -1
- package/dist/{analyze-issue-with-seer-iXBAIlQL.js → analyze-issue-with-seer-Ji3KDm0O.js} +2 -2
- package/dist/{analyze-issue-with-seer-iXBAIlQL.js.map → analyze-issue-with-seer-Ji3KDm0O.js.map} +1 -1
- package/dist/{api-Cozv5F92.js → api-CBHyxA3Q.js} +2 -2
- package/dist/{api-Cozv5F92.js.map → api-CBHyxA3Q.js.map} +1 -1
- package/dist/{api-BkWv0o1h.cjs → api-CHgBJOv9.cjs} +2 -2
- package/dist/{api-BkWv0o1h.cjs.map → api-CHgBJOv9.cjs.map} +1 -1
- package/dist/api-client/client.cjs +4 -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 +2 -2
- package/dist/api-client/index.cjs +4 -4
- package/dist/api-client/index.d.cts +3 -3
- package/dist/api-client/index.d.ts +3 -3
- package/dist/api-client/index.js +2 -2
- package/dist/api-client/schema.cjs +1 -1
- package/dist/api-client/schema.d.cts +1 -1
- package/dist/api-client/schema.d.ts +1 -1
- package/dist/api-client/types.d.cts +2 -2
- package/dist/api-client/types.d.ts +2 -2
- package/dist/{callEmbeddedAgent-B24rpPzZ.d.cts → callEmbeddedAgent-BIfQ-_5T.d.ts} +4 -4
- package/dist/callEmbeddedAgent-BIfQ-_5T.d.ts.map +1 -0
- package/dist/{callEmbeddedAgent-xTPNMk8s.cjs → callEmbeddedAgent-BPS472yg.cjs} +9 -4
- package/dist/callEmbeddedAgent-BPS472yg.cjs.map +1 -0
- package/dist/{callEmbeddedAgent-Dk48A2gz.d.ts → callEmbeddedAgent-CFHLQjFx.d.cts} +4 -4
- package/dist/callEmbeddedAgent-CFHLQjFx.d.cts.map +1 -0
- package/dist/{callEmbeddedAgent-B51_9ycP.js → callEmbeddedAgent-DavTx3Qo.js} +8 -3
- package/dist/callEmbeddedAgent-DavTx3Qo.js.map +1 -0
- package/dist/{chunk-DWy1uDak.cjs → chunk-CUT6urMc.cjs} +0 -9
- package/dist/cli/parse.cjs +1 -1
- package/dist/{client-DeGFkGAD.d.cts → client-0n2-4zOO.d.cts} +7 -7
- package/dist/{client-DeGFkGAD.d.cts.map → client-0n2-4zOO.d.cts.map} +1 -1
- package/dist/{client-BSlwJcxe.js → client-B7hvqupZ.js} +2 -2
- package/dist/{client-BSlwJcxe.js.map → client-B7hvqupZ.js.map} +1 -1
- package/dist/{client-D1Oq6Udl.d.ts → client-ByOC8aCf.d.ts} +9 -9
- package/dist/{client-D1Oq6Udl.d.ts.map → client-ByOC8aCf.d.ts.map} +1 -1
- package/dist/{client-DlJ_23xq.cjs → client-cC79LUJ5.cjs} +4 -4
- package/dist/{client-DlJ_23xq.cjs.map → client-cC79LUJ5.cjs.map} +1 -1
- package/dist/{create-dsn-erDvHRvv.cjs → create-dsn-9yIHr10B.cjs} +4 -4
- package/dist/{create-dsn-erDvHRvv.cjs.map → create-dsn-9yIHr10B.cjs.map} +1 -1
- package/dist/{create-dsn-CzaN7V1p.js → create-dsn-p2Ep6zDn.js} +2 -2
- package/dist/{create-dsn-CzaN7V1p.js.map → create-dsn-p2Ep6zDn.js.map} +1 -1
- package/dist/{create-project-B9dyzzyz.cjs → create-project-BQQx1iLm.cjs} +5 -5
- package/dist/{create-project-B9dyzzyz.cjs.map → create-project-BQQx1iLm.cjs.map} +1 -1
- package/dist/{create-project-BvmA3Xm7.js → create-project-CN0UneBm.js} +2 -2
- package/dist/{create-project-BvmA3Xm7.js.map → create-project-CN0UneBm.js.map} +1 -1
- package/dist/{create-team-Bb0ajRQO.js → create-team-CzFrsVdw.js} +2 -2
- package/dist/{create-team-Bb0ajRQO.js.map → create-team-CzFrsVdw.js.map} +1 -1
- package/dist/{create-team-CWC7s6TS.cjs → create-team-DFSriKVL.cjs} +4 -4
- package/dist/{create-team-CWC7s6TS.cjs.map → create-team-DFSriKVL.cjs.map} +1 -1
- package/dist/{dataset-fields-Bo9Nbtdn.cjs → dataset-fields-Bp_g-sD6.cjs} +3 -3
- package/dist/{dataset-fields-Bo9Nbtdn.cjs.map → dataset-fields-Bp_g-sD6.cjs.map} +1 -1
- package/dist/{error-handling-19djRJdh.cjs → error-handling-FGjcJT8U.cjs} +2 -2
- package/dist/{error-handling-19djRJdh.cjs.map → error-handling-FGjcJT8U.cjs.map} +1 -1
- package/dist/{find-dsns-Bqafhzp5.js → find-dsns-BzfYjE06.js} +2 -2
- package/dist/{find-dsns-Bqafhzp5.js.map → find-dsns-BzfYjE06.js.map} +1 -1
- package/dist/{find-dsns-MMdOXURp.cjs → find-dsns-DhHHtvpj.cjs} +4 -4
- package/dist/{find-dsns-MMdOXURp.cjs.map → find-dsns-DhHHtvpj.cjs.map} +1 -1
- package/dist/{find-organizations-D80maEbK.cjs → find-organizations-7ooGnnmP.cjs} +3 -3
- package/dist/{find-organizations-D80maEbK.cjs.map → find-organizations-7ooGnnmP.cjs.map} +1 -1
- package/dist/{find-organizations-DV7Za1d0.js → find-organizations-BJFAElbh.js} +2 -2
- package/dist/{find-organizations-DV7Za1d0.js.map → find-organizations-BJFAElbh.js.map} +1 -1
- package/dist/{find-projects-KrMwC18K.cjs → find-projects-BpEGRZya.cjs} +4 -4
- package/dist/{find-projects-KrMwC18K.cjs.map → find-projects-BpEGRZya.cjs.map} +1 -1
- package/dist/{find-projects-Dcqw9Vyi.js → find-projects-E5CMFbwU.js} +2 -2
- package/dist/{find-projects-Dcqw9Vyi.js.map → find-projects-E5CMFbwU.js.map} +1 -1
- package/dist/{find-releases-CHDuNU2z.js → find-releases-DWWonhlV.js} +2 -2
- package/dist/{find-releases-CHDuNU2z.js.map → find-releases-DWWonhlV.js.map} +1 -1
- package/dist/{find-releases-BPS53QTy.cjs → find-releases-Du5euXKS.cjs} +4 -4
- package/dist/{find-releases-BPS53QTy.cjs.map → find-releases-Du5euXKS.cjs.map} +1 -1
- package/dist/{find-teams-DPdnW18Q.js → find-teams-BM4yWKe_.js} +2 -2
- package/dist/{find-teams-DPdnW18Q.js.map → find-teams-BM4yWKe_.js.map} +1 -1
- package/dist/{find-teams-DFl7ESVe.cjs → find-teams-Bp6-Iu62.cjs} +4 -4
- package/dist/{find-teams-DFl7ESVe.cjs.map → find-teams-Bp6-Iu62.cjs.map} +1 -1
- package/dist/{formatters-Bb4El3CZ.cjs → formatters-B6H5qTFe.cjs} +2 -2
- package/dist/{formatters-Bb4El3CZ.cjs.map → formatters-B6H5qTFe.cjs.map} +1 -1
- package/dist/{formatters-Bta1mFce.cjs → formatters-ObdzRwld.cjs} +3 -3
- package/dist/{formatters-Bta1mFce.cjs.map → formatters-ObdzRwld.cjs.map} +1 -1
- package/dist/{formatting-BWMTp6lM.d.cts → formatting-Bw0FWiCH.d.cts} +4 -4
- package/dist/{formatting-BWMTp6lM.d.cts.map → formatting-Bw0FWiCH.d.cts.map} +1 -1
- package/dist/{formatting-CSkVn9rJ.d.ts → formatting-ClM7RU4L.d.ts} +4 -4
- package/dist/{formatting-CSkVn9rJ.d.ts.map → formatting-ClM7RU4L.d.ts.map} +1 -1
- package/dist/{get-doc-CGOI0C0A.js → get-doc-CWhlUoJe.js} +2 -2
- package/dist/{get-doc-CGOI0C0A.js.map → get-doc-CWhlUoJe.js.map} +1 -1
- package/dist/{get-doc-BWKx48zK.cjs → get-doc-DsOaSMIe.cjs} +3 -3
- package/dist/{get-doc-BWKx48zK.cjs.map → get-doc-DsOaSMIe.cjs.map} +1 -1
- package/dist/{get-event-attachment-CMPD67lQ.cjs → get-event-attachment-CTF-k6op.cjs} +4 -4
- package/dist/{get-event-attachment-CMPD67lQ.cjs.map → get-event-attachment-CTF-k6op.cjs.map} +1 -1
- package/dist/{get-event-attachment-C5nefGca.js → get-event-attachment-DDvsu6IQ.js} +2 -2
- package/dist/{get-event-attachment-C5nefGca.js.map → get-event-attachment-DDvsu6IQ.js.map} +1 -1
- package/dist/{get-issue-details-y1io-npG.js → get-issue-details-Bsax2jTY.js} +2 -2
- package/dist/{get-issue-details-y1io-npG.js.map → get-issue-details-Bsax2jTY.js.map} +1 -1
- package/dist/{get-issue-details-BxJ_lQN8.cjs → get-issue-details-CIZSksmd.cjs} +5 -5
- package/dist/{get-issue-details-BxJ_lQN8.cjs.map → get-issue-details-CIZSksmd.cjs.map} +1 -1
- package/dist/{get-trace-details-C9gJYPip.cjs → get-trace-details-Bc9GgkSs.cjs} +4 -4
- package/dist/{get-trace-details-C9gJYPip.cjs.map → get-trace-details-Bc9GgkSs.cjs.map} +1 -1
- package/dist/{get-trace-details-BOBNimN0.js → get-trace-details-Bkilw5oH.js} +2 -2
- package/dist/{get-trace-details-BOBNimN0.js.map → get-trace-details-Bkilw5oH.js.map} +1 -1
- package/dist/{handler-CU9ZxaP9.d.ts → handler-CASDrJ7z.d.ts} +3 -3
- package/dist/{handler-CU9ZxaP9.d.ts.map → handler-CASDrJ7z.d.ts.map} +1 -1
- package/dist/{handler-7ABtxyRG.d.cts → handler-CZEMKP9p.d.cts} +3 -3
- package/dist/{handler-7ABtxyRG.d.cts.map → handler-CZEMKP9p.d.cts.map} +1 -1
- package/dist/{handler-L0cEG-0-.cjs → handler-ChOaafS-.cjs} +8 -8
- package/dist/handler-ChOaafS-.cjs.map +1 -0
- package/dist/{handler-FxM1t6Wf.d.cts → handler-CmTBmIt9.d.cts} +3 -3
- package/dist/{handler-FxM1t6Wf.d.cts.map → handler-CmTBmIt9.d.cts.map} +1 -1
- package/dist/{handler-BDPbWDvJ.d.ts → handler-Cs5DcdpF.d.ts} +3 -3
- package/dist/{handler-BDPbWDvJ.d.ts.map → handler-Cs5DcdpF.d.ts.map} +1 -1
- package/dist/{handler-CK_gY4IH.cjs → handler-DQbc5eAJ.cjs} +9 -9
- package/dist/handler-DQbc5eAJ.cjs.map +1 -0
- package/dist/{handler-Dv8J_Uro.js → handler-bf2qu8DQ.js} +5 -5
- package/dist/handler-bf2qu8DQ.js.map +1 -0
- package/dist/{handler-DdgXX0YP.js → handler-y6EMhG0y.js} +5 -5
- package/dist/handler-y6EMhG0y.js.map +1 -0
- package/dist/index.cjs +44 -44
- package/dist/index.js +29 -29
- package/dist/internal/agents/callEmbeddedAgent.cjs +4 -3
- package/dist/internal/agents/callEmbeddedAgent.d.cts +1 -1
- package/dist/internal/agents/callEmbeddedAgent.d.ts +1 -1
- package/dist/internal/agents/callEmbeddedAgent.js +4 -3
- package/dist/internal/agents/openai-provider.cjs +2 -2
- package/dist/internal/agents/openai-provider.js +2 -2
- package/dist/internal/agents/tools/dataset-fields.cjs +6 -6
- package/dist/internal/agents/tools/dataset-fields.d.cts +7 -7
- package/dist/internal/agents/tools/dataset-fields.d.ts +7 -7
- package/dist/internal/agents/tools/dataset-fields.d.ts.map +1 -1
- package/dist/internal/agents/tools/dataset-fields.js +2 -2
- package/dist/internal/agents/tools/otel-semantics.cjs +6 -6
- package/dist/internal/agents/tools/otel-semantics.d.cts +7 -7
- package/dist/internal/agents/tools/otel-semantics.d.ts +7 -7
- package/dist/internal/agents/tools/otel-semantics.d.ts.map +1 -1
- package/dist/internal/agents/tools/otel-semantics.js +2 -2
- package/dist/internal/agents/tools/utils.cjs +5 -5
- 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 +2 -2
- package/dist/internal/agents/tools/whoami.cjs +6 -6
- package/dist/internal/agents/tools/whoami.d.cts +7 -7
- package/dist/internal/agents/tools/whoami.d.ts +7 -7
- package/dist/internal/agents/tools/whoami.d.ts.map +1 -1
- package/dist/internal/agents/tools/whoami.js +2 -2
- package/dist/internal/error-handling.cjs +5 -5
- package/dist/internal/error-handling.d.cts +3 -3
- package/dist/internal/error-handling.d.ts +3 -3
- package/dist/internal/error-handling.js +2 -2
- package/dist/internal/formatting.d.cts +4 -4
- package/dist/internal/formatting.d.ts +4 -4
- package/dist/internal/test-fixtures.d.cts +2 -2
- package/dist/internal/test-fixtures.d.ts +2 -2
- package/dist/internal/tool-helpers/api.cjs +5 -5
- package/dist/internal/tool-helpers/api.d.cts +3 -3
- package/dist/internal/tool-helpers/api.d.ts +3 -3
- package/dist/internal/tool-helpers/api.js +3 -3
- package/dist/internal/tool-helpers/enhance-error.cjs +4 -4
- package/dist/internal/tool-helpers/enhance-error.d.cts +3 -3
- package/dist/internal/tool-helpers/enhance-error.d.ts +3 -3
- package/dist/internal/tool-helpers/enhance-error.js +2 -2
- package/dist/internal/tool-helpers/formatting.d.cts +3 -3
- package/dist/internal/tool-helpers/formatting.d.ts +3 -3
- package/dist/internal/tool-helpers/issue.d.cts +4 -4
- package/dist/internal/tool-helpers/issue.d.ts +4 -4
- package/dist/internal/tool-helpers/seer.d.cts +3 -3
- package/dist/internal/tool-helpers/seer.d.ts +3 -3
- package/dist/{logging-DrbQ8weU.cjs → logging-C-ST7-Ow.cjs} +2 -2
- package/dist/{logging-DrbQ8weU.cjs.map → logging-C-ST7-Ow.cjs.map} +1 -1
- package/dist/{openai-provider-CdGMI-ue.cjs → openai-provider-B7uvGxoI.cjs} +3 -3
- package/dist/{openai-provider-CdGMI-ue.cjs.map → openai-provider-B7uvGxoI.cjs.map} +1 -1
- package/dist/{openai-provider-BpAFXVih.js → openai-provider-DphaqrmX.js} +2 -2
- package/dist/{openai-provider-BpAFXVih.js.map → openai-provider-DphaqrmX.js.map} +1 -1
- package/dist/{otel-semantics-CgF1PqFd.cjs → otel-semantics-n8_5Ib9C.cjs} +3 -3
- package/dist/{otel-semantics-CgF1PqFd.cjs.map → otel-semantics-n8_5Ib9C.cjs.map} +1 -1
- package/dist/{parse-vgBG5mXu.cjs → parse-Br-BwKdT.cjs} +2 -2
- package/dist/{parse-vgBG5mXu.cjs.map → parse-Br-BwKdT.cjs.map} +1 -1
- package/dist/{schema-DUU4CA0j.cjs → schema-BGVOjcD7.cjs} +3 -3
- package/dist/{schema-DUU4CA0j.cjs.map → schema-BGVOjcD7.cjs.map} +1 -1
- package/dist/{schema-Y6BzAUmc.d.cts → schema-Cp8XI7-D.d.ts} +347 -347
- package/dist/schema-Cp8XI7-D.d.ts.map +1 -0
- package/dist/{schema-xBO557xH.d.ts → schema-D5oT-Zi7.d.cts} +285 -285
- package/dist/{schema-Y6BzAUmc.d.cts.map → schema-D5oT-Zi7.d.cts.map} +1 -1
- package/dist/{schema-CGiILhan.cjs → schema-DE4JpUSi.cjs} +2 -2
- package/dist/{schema-CGiILhan.cjs.map → schema-DE4JpUSi.cjs.map} +1 -1
- package/dist/schema.cjs +2 -2
- package/dist/{search-docs-Da7cAz8X.cjs → search-docs-DdOFZY3t.cjs} +3 -3
- package/dist/{search-docs-Da7cAz8X.cjs.map → search-docs-DdOFZY3t.cjs.map} +1 -1
- package/dist/{server-KMgWcsoE.cjs → server-BQBA0VNe.cjs} +25 -25
- package/dist/{server-KMgWcsoE.cjs.map → server-BQBA0VNe.cjs.map} +1 -1
- package/dist/{server-BaovxxmS.js → server-BVqPcPfx.js} +21 -21
- package/dist/{server-BaovxxmS.js.map → server-BVqPcPfx.js.map} +1 -1
- package/dist/server.cjs +40 -40
- package/dist/server.js +27 -27
- package/dist/{slug-validation-ByuBdbX_.cjs → slug-validation-D5VJqMwH.cjs} +2 -2
- package/dist/{slug-validation-ByuBdbX_.cjs.map → slug-validation-D5VJqMwH.cjs.map} +1 -1
- package/dist/{stdio-pNGJyuki.cjs → stdio-DPvrKLnJ.cjs} +3 -3
- package/dist/{stdio-pNGJyuki.cjs.map → stdio-DPvrKLnJ.cjs.map} +1 -1
- package/dist/{stdio-DHijjrp9.js → stdio-YKMCj_QV.js} +2 -2
- package/dist/{stdio-DHijjrp9.js.map → stdio-YKMCj_QV.js.map} +1 -1
- package/dist/telem/index.cjs +1 -1
- package/dist/telem/logging.cjs +1 -1
- package/dist/test-setup.cjs +3 -51873
- package/dist/test-setup.cjs.map +1 -1
- package/dist/test-setup.js +1 -51899
- package/dist/test-setup.js.map +1 -1
- package/dist/tools/analyze-issue-with-seer.cjs +8 -8
- package/dist/tools/analyze-issue-with-seer.js +4 -4
- package/dist/tools/create-dsn.cjs +8 -8
- package/dist/tools/create-dsn.js +4 -4
- package/dist/tools/create-project.cjs +8 -8
- package/dist/tools/create-project.js +4 -4
- package/dist/tools/create-team.cjs +8 -8
- package/dist/tools/create-team.js +4 -4
- package/dist/tools/find-dsns.cjs +8 -8
- package/dist/tools/find-dsns.d.cts +4 -4
- package/dist/tools/find-dsns.d.ts +4 -4
- package/dist/tools/find-dsns.js +4 -4
- package/dist/tools/find-organizations.cjs +8 -8
- package/dist/tools/find-organizations.d.cts +2 -2
- package/dist/tools/find-organizations.d.ts +2 -2
- package/dist/tools/find-organizations.js +4 -4
- package/dist/tools/find-projects.cjs +8 -8
- package/dist/tools/find-projects.d.cts +4 -4
- package/dist/tools/find-projects.d.ts +4 -4
- package/dist/tools/find-projects.js +4 -4
- package/dist/tools/find-releases.cjs +8 -8
- package/dist/tools/find-releases.js +4 -4
- package/dist/tools/find-teams.cjs +8 -8
- package/dist/tools/find-teams.d.cts +4 -4
- package/dist/tools/find-teams.d.ts +4 -4
- package/dist/tools/find-teams.js +4 -4
- package/dist/tools/get-doc.cjs +5 -5
- package/dist/tools/get-doc.js +3 -3
- package/dist/tools/get-event-attachment.cjs +8 -8
- package/dist/tools/get-event-attachment.d.cts +6 -6
- package/dist/tools/get-event-attachment.d.ts +6 -6
- package/dist/tools/get-event-attachment.js +4 -4
- package/dist/tools/get-issue-details.cjs +8 -8
- package/dist/tools/get-issue-details.js +4 -4
- package/dist/tools/get-trace-details.cjs +8 -8
- package/dist/tools/get-trace-details.d.cts +4 -4
- package/dist/tools/get-trace-details.d.ts +4 -4
- package/dist/tools/get-trace-details.js +4 -4
- package/dist/tools/index.cjs +40 -40
- package/dist/tools/index.d.cts +76 -76
- package/dist/tools/index.d.ts +76 -76
- package/dist/tools/index.js +27 -27
- package/dist/tools/search-docs.cjs +7 -7
- package/dist/tools/search-docs.js +2 -2
- package/dist/tools/search-events/agent.cjs +13 -12
- package/dist/tools/search-events/agent.d.cts +5 -5
- package/dist/tools/search-events/agent.d.ts +5 -5
- package/dist/tools/search-events/agent.js +6 -6
- package/dist/tools/search-events/formatters.cjs +7 -7
- package/dist/tools/search-events/formatters.d.cts +5 -5
- package/dist/tools/search-events/formatters.d.ts +5 -5
- package/dist/tools/search-events/formatters.js +2 -2
- package/dist/tools/search-events/handler.cjs +16 -16
- package/dist/tools/search-events/handler.d.cts +1 -1
- package/dist/tools/search-events/handler.d.ts +1 -1
- package/dist/tools/search-events/handler.js +7 -7
- package/dist/tools/search-events/index.cjs +16 -16
- package/dist/tools/search-events/index.d.cts +5 -5
- package/dist/tools/search-events/index.d.ts +5 -5
- package/dist/tools/search-events/index.js +7 -7
- package/dist/tools/search-events/utils.cjs +6 -6
- package/dist/tools/search-events/utils.d.cts +5 -5
- package/dist/tools/search-events/utils.d.ts +5 -5
- package/dist/tools/search-events/utils.js +2 -2
- package/dist/tools/search-issues/agent.cjs +12 -11
- package/dist/tools/search-issues/agent.d.cts +5 -5
- package/dist/tools/search-issues/agent.d.ts +5 -5
- package/dist/tools/search-issues/agent.js +6 -6
- package/dist/tools/search-issues/formatters.cjs +1 -1
- package/dist/tools/search-issues/formatters.d.cts +3 -3
- package/dist/tools/search-issues/formatters.d.ts +3 -3
- package/dist/tools/search-issues/handler.cjs +15 -15
- package/dist/tools/search-issues/handler.d.cts +1 -1
- package/dist/tools/search-issues/handler.d.ts +1 -1
- package/dist/tools/search-issues/handler.js +7 -7
- package/dist/tools/search-issues/index.cjs +15 -15
- package/dist/tools/search-issues/index.d.cts +5 -5
- package/dist/tools/search-issues/index.d.ts +5 -5
- package/dist/tools/search-issues/index.js +7 -7
- package/dist/tools/update-issue.cjs +8 -8
- package/dist/tools/update-issue.d.cts +7 -7
- package/dist/tools/update-issue.d.ts +7 -7
- package/dist/tools/update-issue.js +4 -4
- package/dist/tools/update-project.cjs +8 -8
- package/dist/tools/update-project.js +4 -4
- package/dist/tools/use-sentry/agent.cjs +4 -4
- package/dist/tools/use-sentry/agent.d.cts +2 -2
- package/dist/tools/use-sentry/agent.d.ts +2 -2
- package/dist/tools/use-sentry/agent.js +4 -4
- package/dist/tools/use-sentry/handler.cjs +40 -40
- package/dist/tools/use-sentry/handler.js +27 -27
- package/dist/tools/use-sentry/index.cjs +40 -40
- package/dist/tools/use-sentry/index.d.cts +2 -2
- package/dist/tools/use-sentry/index.d.ts +2 -2
- package/dist/tools/use-sentry/index.js +27 -27
- package/dist/tools/use-sentry/tool-wrapper.cjs +6 -6
- package/dist/tools/use-sentry/tool-wrapper.d.cts +6 -6
- package/dist/tools/use-sentry/tool-wrapper.d.ts +6 -6
- package/dist/tools/use-sentry/tool-wrapper.d.ts.map +1 -1
- package/dist/tools/use-sentry/tool-wrapper.js +2 -2
- package/dist/tools/whoami.cjs +6 -6
- package/dist/tools/whoami.js +4 -4
- package/dist/transports/stdio.cjs +2 -2
- package/dist/transports/stdio.js +2 -2
- package/dist/{types-CLI02LNZ.d.cts → types-CZI-5yyV.d.cts} +2 -2
- package/dist/{types-CLI02LNZ.d.cts.map → types-CZI-5yyV.d.cts.map} +1 -1
- package/dist/{types-DA9C6AdF.d.ts → types-WcBA7ZSQ.d.ts} +2 -2
- package/dist/{types-DA9C6AdF.d.ts.map → types-WcBA7ZSQ.d.ts.map} +1 -1
- package/dist/{update-issue-B9Y1Qftw.js → update-issue-B35n8MDT.js} +2 -2
- package/dist/{update-issue-B9Y1Qftw.js.map → update-issue-B35n8MDT.js.map} +1 -1
- package/dist/{update-issue-ADk9Bl3r.cjs → update-issue-DOVD2zXD.cjs} +4 -4
- package/dist/{update-issue-ADk9Bl3r.cjs.map → update-issue-DOVD2zXD.cjs.map} +1 -1
- package/dist/{update-project-CoVoAlvN.js → update-project-D361nWlU.js} +2 -2
- package/dist/{update-project-CoVoAlvN.js.map → update-project-D361nWlU.js.map} +1 -1
- package/dist/{update-project-CanU1PTp.cjs → update-project-DG3bwhNA.cjs} +5 -5
- package/dist/{update-project-CanU1PTp.cjs.map → update-project-DG3bwhNA.cjs.map} +1 -1
- package/dist/utils/slug-validation.cjs +1 -1
- package/dist/{utils-DfYLsLqN.d.cts → utils-Bzaer0D1.d.ts} +4 -4
- package/dist/utils-Bzaer0D1.d.ts.map +1 -0
- package/dist/{utils-Cv3R2iOS.d.cts → utils-C5oiuqkh.d.cts} +6 -6
- package/dist/{utils-Cv3R2iOS.d.cts.map → utils-C5oiuqkh.d.cts.map} +1 -1
- package/dist/{utils-_4aPBcrG.d.ts → utils-CAWsA9Cl.d.cts} +4 -4
- package/dist/{utils-DfYLsLqN.d.cts.map → utils-CAWsA9Cl.d.cts.map} +1 -1
- package/dist/{utils-Cr15-6aW.cjs → utils-CIt6Amml.cjs} +3 -3
- package/dist/{utils-Cr15-6aW.cjs.map → utils-CIt6Amml.cjs.map} +1 -1
- package/dist/{utils-Cj4NLgWf.d.ts → utils-CrKFhSC3.d.ts} +6 -6
- package/dist/{utils-Cj4NLgWf.d.ts.map → utils-CrKFhSC3.d.ts.map} +1 -1
- package/dist/{utils-B4iBngk1.cjs → utils-DJIwl8YR.cjs} +3 -3
- package/dist/{utils-B4iBngk1.cjs.map → utils-DJIwl8YR.cjs.map} +1 -1
- package/dist/{version-HXEfly4U.js → version-CCICHYna.js} +2 -2
- package/dist/{version-HXEfly4U.js.map → version-CCICHYna.js.map} +1 -1
- package/dist/{version-DZBMB6XD.cjs → version-CPcX-30c.cjs} +2 -2
- package/dist/{version-DZBMB6XD.cjs.map → version-CPcX-30c.cjs.map} +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.js +1 -1
- package/dist/{whoami-DcSsmS02.cjs → whoami-9JymZ3NV.cjs} +3 -3
- package/dist/{whoami-DcSsmS02.cjs.map → whoami-9JymZ3NV.cjs.map} +1 -1
- package/dist/{whoami-CZ02abcM.cjs → whoami-CRF9Ws25.cjs} +2 -2
- package/dist/{whoami-CZ02abcM.cjs.map → whoami-CRF9Ws25.cjs.map} +1 -1
- package/dist/{whoami-Cbo082cU.js → whoami-DCZN-m7R.js} +2 -2
- package/dist/{whoami-Cbo082cU.js.map → whoami-DCZN-m7R.js.map} +1 -1
- package/package.json +5 -4
- package/dist/agent-BePwIb80.d.cts.map +0 -1
- package/dist/agent-Bgg6nor6.cjs.map +0 -1
- package/dist/agent-CaZRIfIM.d.ts.map +0 -1
- package/dist/agent-CuX9zpZq.d.ts.map +0 -1
- package/dist/agent-CzjC0wP8.js.map +0 -1
- package/dist/agent-DOraNng-.cjs.map +0 -1
- package/dist/agent-WO6BpLta.d.cts.map +0 -1
- package/dist/agent-vFXI2vu1.js.map +0 -1
- package/dist/callEmbeddedAgent-B24rpPzZ.d.cts.map +0 -1
- package/dist/callEmbeddedAgent-B51_9ycP.js.map +0 -1
- package/dist/callEmbeddedAgent-Dk48A2gz.d.ts.map +0 -1
- package/dist/callEmbeddedAgent-xTPNMk8s.cjs.map +0 -1
- package/dist/handler-CK_gY4IH.cjs.map +0 -1
- package/dist/handler-DdgXX0YP.js.map +0 -1
- package/dist/handler-Dv8J_Uro.js.map +0 -1
- package/dist/handler-L0cEG-0-.cjs.map +0 -1
- package/dist/schema-xBO557xH.d.ts.map +0 -1
- package/dist/utils-_4aPBcrG.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-wrapper.d.ts","names":[],"sources":["../../../src/tools/use-sentry/tool-wrapper.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;AAeA;AAyDA;;AAAgE,UAzD/C,eAAA,CAyDiD;EAAO,OAAxB,EAxDtC,aAwDsC;;;;;;;;;;;;;;;;;;;;;;AAEvB,iBAFV,gBAEU,CAAA,gBAFuB,MAEvB,CAAA,MAAA,EAFsC,CAAA,CAAE,OAExC,CAAA,CAAA,CAAA,IAAA,EADlB,UACkB,CADP,OACO,CAAA,EAAA,OAAA,EAAf,eAAe,CAAA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
3
|
import "../../logging-ChQnSEmD.js";
|
|
4
4
|
import "../../schema-DkZXVCQJ.js";
|
|
5
5
|
import "../../errors-DUEMWOr1.js";
|
|
6
|
-
import "../../version-
|
|
7
|
-
import "../../client-
|
|
6
|
+
import "../../version-CCICHYna.js";
|
|
7
|
+
import "../../client-B7hvqupZ.js";
|
|
8
8
|
import "../../types-D670-rDz.js";
|
|
9
9
|
import "../../api-client-CSLxiNP9.js";
|
|
10
10
|
import { agentTool } from "../../utils-DOb7bs5_.js";
|
package/dist/tools/whoami.cjs
CHANGED
|
@@ -3,15 +3,15 @@ require('../constants-CgLLujFn.cjs');
|
|
|
3
3
|
require('../errors-umQzF_vW.cjs');
|
|
4
4
|
require('../define-CLp6EtpZ.cjs');
|
|
5
5
|
require('../url-utils-CbcNJVYS.cjs');
|
|
6
|
-
require('../logging-
|
|
7
|
-
require('../schema-
|
|
6
|
+
require('../logging-C-ST7-Ow.cjs');
|
|
7
|
+
require('../schema-DE4JpUSi.cjs');
|
|
8
8
|
require('../errors-DWysOIMw.cjs');
|
|
9
|
-
require('../version-
|
|
10
|
-
require('../client-
|
|
9
|
+
require('../version-CPcX-30c.cjs');
|
|
10
|
+
require('../client-cC79LUJ5.cjs');
|
|
11
11
|
require('../types-n3wuZu5X.cjs');
|
|
12
12
|
require('../api-client-BGgaBFuD.cjs');
|
|
13
13
|
require('../validate-region-url-BvT-IgKg.cjs');
|
|
14
|
-
require('../api-
|
|
15
|
-
const require_whoami = require('../whoami-
|
|
14
|
+
require('../api-CHgBJOv9.cjs');
|
|
15
|
+
const require_whoami = require('../whoami-CRF9Ws25.cjs');
|
|
16
16
|
|
|
17
17
|
module.exports = require_whoami.whoami_default;
|
package/dist/tools/whoami.js
CHANGED
|
@@ -6,12 +6,12 @@ import "../url-utils-CfKwo6s5.js";
|
|
|
6
6
|
import "../logging-ChQnSEmD.js";
|
|
7
7
|
import "../schema-DkZXVCQJ.js";
|
|
8
8
|
import "../errors-DUEMWOr1.js";
|
|
9
|
-
import "../version-
|
|
10
|
-
import "../client-
|
|
9
|
+
import "../version-CCICHYna.js";
|
|
10
|
+
import "../client-B7hvqupZ.js";
|
|
11
11
|
import "../types-D670-rDz.js";
|
|
12
12
|
import "../api-client-CSLxiNP9.js";
|
|
13
13
|
import "../validate-region-url-Bdokgz65.js";
|
|
14
|
-
import "../api-
|
|
15
|
-
import { whoami_default } from "../whoami-
|
|
14
|
+
import "../api-CBHyxA3Q.js";
|
|
15
|
+
import { whoami_default } from "../whoami-DCZN-m7R.js";
|
|
16
16
|
|
|
17
17
|
export { whoami_default as default };
|
package/dist/transports/stdio.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEventSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, IssueListSchema, IssueSchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserSchema } from "./schema-
|
|
1
|
+
import { AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEventSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, IssueListSchema, IssueSchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserSchema } from "./schema-D5oT-Zi7.cjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/api-client/types.d.ts
|
|
@@ -37,4 +37,4 @@ type Trace = z.infer<typeof TraceSchema>;
|
|
|
37
37
|
|
|
38
38
|
//#endregion
|
|
39
39
|
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 };
|
|
40
|
-
//# sourceMappingURL=types-
|
|
40
|
+
//# sourceMappingURL=types-CZI-5yyV.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types-
|
|
1
|
+
{"version":3,"file":"types-CZI-5yyV.d.cts","names":[],"sources":["../src/api-client/types.ts"],"sourcesContent":[],"mappings":";;;;;AAkFyB,KATb,IAAA,GAAO,CAAA,CAAE,KASM,CAAA,OATO,UASP,CAAA;AAAK,KARpB,YAAA,GAAe,CAAA,CAAE,KAQG,CAAA,OARU,kBAQV,CAAA;AACpB,KARA,IAAA,GAAO,CAAA,CAAE,KAQG,CAAA,OARU,UAQV,CAAA;AAAA,KAPZ,OAAA,GAAU,CAAA,CAAE,KAOA,CAAA,OAPa,aAOb,CAAA;AAAkB,KAN9B,SAAA,GAAY,CAAA,CAAE,KAMgB,CAAA,OANH,eAMG,CAAA;AAAf,KALf,OAAA,GAAU,CAAA,CAAE,KAKK,CAAA,OALQ,aAKR,CAAA;AAAK,KAJtB,KAAA,GAAQ,CAAA,CAAE,KAIY,CAAA,OAJC,WAID,CAAA;AACtB,KAFA,UAAA,GAAa,CAAA,CAAE,KAEC,CAAA,OAFY,gBAEZ,CAAA;AAAA,KADhB,YAAA,GAAe,CAAA,CAAE,KACD,CAAA,OADc,kBACd,CAAA;AAAkB,KAAlC,gBAAA,GAAmB,CAAA,CAAE,KAAa,CAAA,OAAA,sBAAA,CAAA;AAAf,KACnB,YAAA,GAAe,CAAA,CAAE,KADI,CAAA,OACS,kBADT,CAAA;AAAK,KAI1B,QAAA,GAAW,CAAA,CAA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AQ,CAAA,CAAE,KAnBK,CAAA,OAmBQ,WAnBR,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEventSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, IssueListSchema, IssueSchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserSchema } from "./schema-
|
|
1
|
+
import { AssignedToSchema, AutofixRunSchema, AutofixRunStateSchema, ClientKeyListSchema, ClientKeySchema, DefaultEventSchema, ErrorEventSchema, EventAttachmentListSchema, EventAttachmentSchema, EventSchema, IssueListSchema, IssueSchema, OrganizationListSchema, OrganizationSchema, ProjectListSchema, ProjectSchema, ReleaseListSchema, ReleaseSchema, TagListSchema, TagSchema, TeamListSchema, TeamSchema, TraceIssueSchema, TraceMetaSchema, TraceSchema, TraceSpanSchema, TransactionEventSchema, UnknownEventSchema, UserSchema } from "./schema-Cp8XI7-D.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/api-client/types.d.ts
|
|
@@ -37,4 +37,4 @@ type Trace = z.infer<typeof TraceSchema>;
|
|
|
37
37
|
|
|
38
38
|
//#endregion
|
|
39
39
|
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 };
|
|
40
|
-
//# sourceMappingURL=types-
|
|
40
|
+
//# sourceMappingURL=types-WcBA7ZSQ.d.ts.map
|
|
@@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CAAE,KATE,CAAA,OASW,qBATX,CAAA;AAGtB,KAOA,UAAA,GAAa,CAAA,CAAE,KAPP,CAAA,OAOoB,gBAPpB,CAAA;AAAA,KASR,gBAAA,GAAmB,CAAA,CAAE,KATb,CAAA,OAS0B,sBAT1B,CAAA;AAAkB,KAU1B,QAAA,GAAW,CAAA,CAAE,KAVa,CAAA,OAUA,cAVA,CAAA;AAAf,KAWX,WAAA,GAAc,CAAA,CAAE,KAXH,CAAA,OAWgB,iBAXhB,CAAA;AAAK,KAYlB,WAAA,GAAc,CAAA,CAAE,KAZE,CAAA,OAYW,iBAZX,CAAA;AAClB,KAYA,SAAA,GAAY,CAAA,CAAE,KAZT,CAAA,OAYsB,eAZtB,CAAA;AAAA,KAaL,mBAAA,GAAsB,CAAA,CAAE,KAbnB,CAAA,OAagC,yBAbhC,CAAA;AAAG,KAcR,OAAA,GAAU,CAAA,CAAE,KAdJ,CAAA,OAciB,aAdjB,CAAA;AAAa,KAerB,aAAA,GAAgB,CAAA,CAAE,KAfG,CAAA,OAeU,mBAfV,CAAA;AAAe,KAkBpC,SAAA,GAAY,CAAA,CAAE,KAlBsB,CAAA,OAkBT,eAlBS,CAAA;AAAgB,KAmBpD,SAAA,GAAY,CAAA,CAAE,KAnBsC,CAAA,OAmBzB,eAnByB,CAAA;AAEpD,KAkBA,UAAA,GAAa,CAAA,CAAE,KAlBA,CAAA,OAkBa,gBAlBb,CAAA;AAAA,KAmBf,KAAA,GAAQ,CAAA,CAAE,KAnBK,CAAA,OAmBQ,WAnBR,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UserInputError } from "./errors-BXmNwD2K.js";
|
|
2
2
|
import { defineTool } from "./define-vA6uuVue.js";
|
|
3
|
-
import { apiServiceFromContext } from "./api-
|
|
3
|
+
import { apiServiceFromContext } from "./api-CBHyxA3Q.js";
|
|
4
4
|
import { ParamAssignedTo, ParamIssueShortId, ParamIssueStatus, ParamIssueUrl, ParamOrganizationSlug, ParamRegionUrl } from "./schema-ChlpIaqA.js";
|
|
5
5
|
import { parseIssueParams } from "./issue-helpers-DtCbXiRZ.js";
|
|
6
6
|
import { formatAssignedTo } from "./formatting-DJFcfTJG.js";
|
|
@@ -115,4 +115,4 @@ var update_issue_default = defineTool({
|
|
|
115
115
|
|
|
116
116
|
//#endregion
|
|
117
117
|
export { update_issue_default };
|
|
118
|
-
//# sourceMappingURL=update-issue-
|
|
118
|
+
//# sourceMappingURL=update-issue-B35n8MDT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-issue-
|
|
1
|
+
{"version":3,"file":"update-issue-B35n8MDT.js","names":["context: ServerContext"],"sources":["../src/tools/update-issue.ts"],"sourcesContent":["import { 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 { formatAssignedTo } from \"../internal/tool-helpers/formatting\";\nimport { UserInputError } from \"../errors\";\nimport type { ServerContext } from \"../types\";\nimport {\n ParamOrganizationSlug,\n ParamRegionUrl,\n ParamIssueShortId,\n ParamIssueUrl,\n ParamIssueStatus,\n ParamAssignedTo,\n} from \"../schema\";\n\nexport default defineTool({\n name: \"update_issue\",\n requiredSkills: [\"triage\"], // Only available in triage skill\n requiredScopes: [\"event:write\"],\n description: [\n \"Update an issue's status or assignment in Sentry. This allows you to resolve, ignore, or reassign issues.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Resolve an issue that has been fixed\",\n \"- Assign an issue to a team member or team for investigation\",\n \"- Mark an issue as ignored to reduce noise\",\n \"- Reopen a resolved issue by setting status to 'unresolved'\",\n \"\",\n \"<examples>\",\n \"### Resolve an issue\",\n \"\",\n \"```\",\n \"update_issue(organizationSlug='my-organization', issueId='PROJECT-123', status='resolved')\",\n \"```\",\n \"\",\n \"### Assign an issue to a user (use whoami to get your user ID)\",\n \"\",\n \"```\",\n \"update_issue(organizationSlug='my-organization', issueId='PROJECT-123', assignedTo='user:123456')\",\n \"```\",\n \"\",\n \"### Assign an issue to a team\",\n \"\",\n \"```\",\n \"update_issue(organizationSlug='my-organization', issueId='PROJECT-123', assignedTo='team:789')\",\n \"```\",\n \"\",\n \"### Mark an issue as ignored\",\n \"\",\n \"```\",\n \"update_issue(organizationSlug='my-organization', issueId='PROJECT-123', status='ignored')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user provides the `issueUrl`, you can ignore the other required parameters and extract them from the URL.\",\n \"- At least one of `status` or `assignedTo` must be provided to update the issue.\",\n \"- assignedTo format: Use 'user:ID' for users (e.g., 'user:123456') or 'team:ID' for teams (e.g., 'team:789')\",\n \"- To find your user ID, first use the whoami tool which returns your numeric user ID\",\n \"- Valid status values are: 'resolved', 'resolvedInNextRelease', 'unresolved', 'ignored'.\",\n \"</hints>\",\n ].join(\"\\n\"),\n inputSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: ParamIssueUrl.optional(),\n status: ParamIssueStatus.optional(),\n assignedTo: ParamAssignedTo.optional(),\n },\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: true,\n openWorldHint: true,\n },\n async handler(params, context: ServerContext) {\n const apiService = apiServiceFromContext(context, {\n regionUrl: params.regionUrl,\n });\n\n // Validate that we have the minimum required parameters\n if (!params.issueUrl && !params.issueId) {\n throw new UserInputError(\n \"Either `issueId` or `issueUrl` must be provided\",\n );\n }\n\n if (!params.issueUrl && !params.organizationSlug) {\n throw new UserInputError(\n \"`organizationSlug` is required when providing `issueId`\",\n );\n }\n\n // Validate that at least one update parameter is provided\n if (!params.status && !params.assignedTo) {\n throw new UserInputError(\n \"At least one of `status` or `assignedTo` must be provided to update the issue\",\n );\n }\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 // Get current issue details first\n const currentIssue = await apiService.getIssue({\n organizationSlug: orgSlug,\n issueId: parsedIssueId!,\n });\n\n // Update the issue\n const updatedIssue = await apiService.updateIssue({\n organizationSlug: orgSlug,\n issueId: parsedIssueId!,\n status: params.status,\n assignedTo: params.assignedTo,\n });\n\n let output = `# Issue ${updatedIssue.shortId} Updated in **${orgSlug}**\\n\\n`;\n output += `**Issue**: ${updatedIssue.title}\\n`;\n output += `**URL**: ${apiService.getIssueUrl(orgSlug, updatedIssue.shortId)}\\n\\n`;\n\n // Show what changed\n output += \"## Changes Made\\n\\n\";\n\n if (params.status && currentIssue.status !== params.status) {\n output += `**Status**: ${currentIssue.status} → **${params.status}**\\n`;\n }\n\n if (params.assignedTo) {\n const oldAssignee = formatAssignedTo(currentIssue.assignedTo ?? null);\n const newAssignee =\n params.assignedTo === \"me\" ? \"You\" : params.assignedTo;\n output += `**Assigned To**: ${oldAssignee} → **${newAssignee}**\\n`;\n }\n\n output += \"\\n## Current Status\\n\\n\";\n output += `**Status**: ${updatedIssue.status}\\n`;\n const currentAssignee = formatAssignedTo(updatedIssue.assignedTo ?? null);\n output += `**Assigned To**: ${currentAssignee}\\n`;\n\n output += \"\\n# Using this information\\n\\n\";\n output += `- The issue has been successfully updated in Sentry\\n`;\n output += `- You can view the issue details using: \\`get_issue_details(organizationSlug=\"${orgSlug}\", issueId=\"${updatedIssue.shortId}\")\\`\\n`;\n\n if (params.status === \"resolved\") {\n output += `- The issue is now marked as resolved and will no longer generate alerts\\n`;\n } else if (params.status === \"ignored\") {\n output += `- The issue is now ignored and will not generate alerts until it escalates\\n`;\n }\n\n return output;\n },\n});\n"],"mappings":";;;;;;;;;AAgBA,2BAAe,WAAW;CACxB,MAAM;CACN,gBAAgB,CAAC,QAAS;CAC1B,gBAAgB,CAAC,aAAc;CAC/B,aAAa;EACX;EACA;EACA;EACA;EACA;EACA;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AAO,OAClD,YAAW,cAAc,aAAa,OAAO,OAAO,OAAO,OAAO;AAGpE,MAAI,OAAO,YAAY;GACrB,MAAM,cAAc,iBAAiB,aAAa,cAAc,KAAK;GACrE,MAAM,cACJ,OAAO,eAAe,OAAO,QAAQ,OAAO;AAC9C,cAAW,mBAAmB,YAAY,OAAO,YAAY;EAC9D;AAED,YAAU;AACV,aAAW,cAAc,aAAa,OAAO;EAC7C,MAAM,kBAAkB,iBAAiB,aAAa,cAAc,KAAK;AACzE,aAAW,mBAAmB,gBAAgB;AAE9C,YAAU;AACV,aAAW;AACX,aAAW,gFAAgF,QAAQ,cAAc,aAAa,QAAQ;AAEtI,MAAI,OAAO,WAAW,WACpB,YAAW;WACF,OAAO,WAAW,UAC3B,YAAW;AAGb,SAAO;CACR;AACF,EAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-
|
|
1
|
+
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
2
|
const require_errors = require('./errors-umQzF_vW.cjs');
|
|
3
3
|
const require_define = require('./define-CLp6EtpZ.cjs');
|
|
4
|
-
const require_api = require('./api-
|
|
5
|
-
const require_schema = require('./schema-
|
|
4
|
+
const require_api = require('./api-CHgBJOv9.cjs');
|
|
5
|
+
const require_schema = require('./schema-BGVOjcD7.cjs');
|
|
6
6
|
const require_issue_helpers = require('./issue-helpers-D-hBnXTk.cjs');
|
|
7
7
|
const require_formatting = require('./formatting-C6hyL-Yv.cjs');
|
|
8
8
|
const __sentry_core = require_chunk.__toESM(require("@sentry/core"));
|
|
@@ -121,4 +121,4 @@ Object.defineProperty(exports, 'update_issue_default', {
|
|
|
121
121
|
return update_issue_default;
|
|
122
122
|
}
|
|
123
123
|
});
|
|
124
|
-
//# sourceMappingURL=update-issue-
|
|
124
|
+
//# sourceMappingURL=update-issue-DOVD2zXD.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-issue-
|
|
1
|
+
{"version":3,"file":"update-issue-DOVD2zXD.cjs","names":["context: ServerContext","UserInputError"],"sources":["../src/tools/update-issue.ts"],"sourcesContent":["import { 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 { formatAssignedTo } from \"../internal/tool-helpers/formatting\";\nimport { UserInputError } from \"../errors\";\nimport type { ServerContext } from \"../types\";\nimport {\n ParamOrganizationSlug,\n ParamRegionUrl,\n ParamIssueShortId,\n ParamIssueUrl,\n ParamIssueStatus,\n ParamAssignedTo,\n} from \"../schema\";\n\nexport default defineTool({\n name: \"update_issue\",\n requiredSkills: [\"triage\"], // Only available in triage skill\n requiredScopes: [\"event:write\"],\n description: [\n \"Update an issue's status or assignment in Sentry. This allows you to resolve, ignore, or reassign issues.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Resolve an issue that has been fixed\",\n \"- Assign an issue to a team member or team for investigation\",\n \"- Mark an issue as ignored to reduce noise\",\n \"- Reopen a resolved issue by setting status to 'unresolved'\",\n \"\",\n \"<examples>\",\n \"### Resolve an issue\",\n \"\",\n \"```\",\n \"update_issue(organizationSlug='my-organization', issueId='PROJECT-123', status='resolved')\",\n \"```\",\n \"\",\n \"### Assign an issue to a user (use whoami to get your user ID)\",\n \"\",\n \"```\",\n \"update_issue(organizationSlug='my-organization', issueId='PROJECT-123', assignedTo='user:123456')\",\n \"```\",\n \"\",\n \"### Assign an issue to a team\",\n \"\",\n \"```\",\n \"update_issue(organizationSlug='my-organization', issueId='PROJECT-123', assignedTo='team:789')\",\n \"```\",\n \"\",\n \"### Mark an issue as ignored\",\n \"\",\n \"```\",\n \"update_issue(organizationSlug='my-organization', issueId='PROJECT-123', status='ignored')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user provides the `issueUrl`, you can ignore the other required parameters and extract them from the URL.\",\n \"- At least one of `status` or `assignedTo` must be provided to update the issue.\",\n \"- assignedTo format: Use 'user:ID' for users (e.g., 'user:123456') or 'team:ID' for teams (e.g., 'team:789')\",\n \"- To find your user ID, first use the whoami tool which returns your numeric user ID\",\n \"- Valid status values are: 'resolved', 'resolvedInNextRelease', 'unresolved', 'ignored'.\",\n \"</hints>\",\n ].join(\"\\n\"),\n inputSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: ParamIssueUrl.optional(),\n status: ParamIssueStatus.optional(),\n assignedTo: ParamAssignedTo.optional(),\n },\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: true,\n openWorldHint: true,\n },\n async handler(params, context: ServerContext) {\n const apiService = apiServiceFromContext(context, {\n regionUrl: params.regionUrl,\n });\n\n // Validate that we have the minimum required parameters\n if (!params.issueUrl && !params.issueId) {\n throw new UserInputError(\n \"Either `issueId` or `issueUrl` must be provided\",\n );\n }\n\n if (!params.issueUrl && !params.organizationSlug) {\n throw new UserInputError(\n \"`organizationSlug` is required when providing `issueId`\",\n );\n }\n\n // Validate that at least one update parameter is provided\n if (!params.status && !params.assignedTo) {\n throw new UserInputError(\n \"At least one of `status` or `assignedTo` must be provided to update the issue\",\n );\n }\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 // Get current issue details first\n const currentIssue = await apiService.getIssue({\n organizationSlug: orgSlug,\n issueId: parsedIssueId!,\n });\n\n // Update the issue\n const updatedIssue = await apiService.updateIssue({\n organizationSlug: orgSlug,\n issueId: parsedIssueId!,\n status: params.status,\n assignedTo: params.assignedTo,\n });\n\n let output = `# Issue ${updatedIssue.shortId} Updated in **${orgSlug}**\\n\\n`;\n output += `**Issue**: ${updatedIssue.title}\\n`;\n output += `**URL**: ${apiService.getIssueUrl(orgSlug, updatedIssue.shortId)}\\n\\n`;\n\n // Show what changed\n output += \"## Changes Made\\n\\n\";\n\n if (params.status && currentIssue.status !== params.status) {\n output += `**Status**: ${currentIssue.status} → **${params.status}**\\n`;\n }\n\n if (params.assignedTo) {\n const oldAssignee = formatAssignedTo(currentIssue.assignedTo ?? null);\n const newAssignee =\n params.assignedTo === \"me\" ? \"You\" : params.assignedTo;\n output += `**Assigned To**: ${oldAssignee} → **${newAssignee}**\\n`;\n }\n\n output += \"\\n## Current Status\\n\\n\";\n output += `**Status**: ${updatedIssue.status}\\n`;\n const currentAssignee = formatAssignedTo(updatedIssue.assignedTo ?? null);\n output += `**Assigned To**: ${currentAssignee}\\n`;\n\n output += \"\\n# Using this information\\n\\n\";\n output += `- The issue has been successfully updated in Sentry\\n`;\n output += `- You can view the issue details using: \\`get_issue_details(organizationSlug=\"${orgSlug}\", issueId=\"${updatedIssue.shortId}\")\\`\\n`;\n\n if (params.status === \"resolved\") {\n output += `- The issue is now marked as resolved and will no longer generate alerts\\n`;\n } else if (params.status === \"ignored\") {\n output += `- The issue is now ignored and will not generate alerts until it escalates\\n`;\n }\n\n return output;\n },\n});\n"],"mappings":";;;;;;;;;;AAgBA,2BAAe,0BAAW;CACxB,MAAM;CACN,gBAAgB,CAAC,QAAS;CAC1B,gBAAgB,CAAC,aAAc;CAC/B,aAAa;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD,EAAC,KAAK,KAAK;CACZ,aAAa;EACX,kBAAkB,qCAAsB,UAAU;EAClD,WAAW,8BAAe,UAAU;EACpC,SAAS,iCAAkB,UAAU;EACrC,UAAU,6BAAc,UAAU;EAClC,QAAQ,gCAAiB,UAAU;EACnC,YAAY,+BAAgB,U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V,aAAW;AACX,aAAW,gFAAgF,QAAQ,cAAc,aAAa,QAAQ;AAEtI,MAAI,OAAO,WAAW,WACpB,YAAW;WACF,OAAO,WAAW,UAC3B,YAAW;AAGb,SAAO;CACR;AACF,EAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UserInputError } from "./errors-BXmNwD2K.js";
|
|
2
2
|
import { defineTool } from "./define-vA6uuVue.js";
|
|
3
3
|
import { logIssue } from "./logging-ChQnSEmD.js";
|
|
4
|
-
import { apiServiceFromContext } from "./api-
|
|
4
|
+
import { apiServiceFromContext } from "./api-CBHyxA3Q.js";
|
|
5
5
|
import { ParamOrganizationSlug, ParamPlatform, ParamProjectSlug, ParamRegionUrl, ParamTeamSlug } from "./schema-ChlpIaqA.js";
|
|
6
6
|
import { setTag } from "@sentry/core";
|
|
7
7
|
import { z } from "zod";
|
|
@@ -125,4 +125,4 @@ var update_project_default = defineTool({
|
|
|
125
125
|
|
|
126
126
|
//#endregion
|
|
127
127
|
export { update_project_default };
|
|
128
|
-
//# sourceMappingURL=update-project-
|
|
128
|
+
//# sourceMappingURL=update-project-D361nWlU.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-project-
|
|
1
|
+
{"version":3,"file":"update-project-D361nWlU.js","names":["context: ServerContext","project: Project | undefined","updates: string[]"],"sources":["../src/tools/update-project.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 { logIssue } from \"../telem/logging\";\nimport { UserInputError } from \"../errors\";\nimport type { ServerContext } from \"../types\";\nimport type { Project } from \"../api-client/index\";\nimport {\n ParamOrganizationSlug,\n ParamRegionUrl,\n ParamProjectSlug,\n ParamPlatform,\n ParamTeamSlug,\n} from \"../schema\";\n\nexport default defineTool({\n name: \"update_project\",\n requiredSkills: [\"project-management\"], // Only available in project-management skill\n requiredScopes: [\"project:write\"],\n description: [\n \"Update project settings in Sentry, such as name, slug, platform, and team assignment.\",\n \"\",\n \"Be careful when using this tool!\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Update a project's name or slug to fix onboarding mistakes\",\n \"- Change the platform assigned to a project\",\n \"- Update team assignment for a project\",\n \"\",\n \"<examples>\",\n \"### Update a project's name and slug\",\n \"\",\n \"```\",\n \"update_project(organizationSlug='my-organization', projectSlug='old-project', name='New Project Name', slug='new-project-slug')\",\n \"```\",\n \"\",\n \"### Assign a project to a different team\",\n \"\",\n \"```\",\n \"update_project(organizationSlug='my-organization', projectSlug='my-project', teamSlug='backend-team')\",\n \"```\",\n \"\",\n \"### Update platform\",\n \"\",\n \"```\",\n \"update_project(organizationSlug='my-organization', projectSlug='my-project', platform='python')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, it's likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- Team assignment is handled separately from other project settings\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"- When updating the slug, the project will be accessible at the new slug after the update\",\n \"</hints>\",\n ].join(\"\\n\"),\n inputSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug,\n name: z.string().trim().describe(\"The new name for the project\").optional(),\n slug: z\n .string()\n .toLowerCase()\n .trim()\n .describe(\"The new slug for the project (must be unique)\")\n .optional(),\n platform: ParamPlatform.optional(),\n teamSlug: ParamTeamSlug.optional().describe(\n \"The team to assign this project to. Note: this will replace the current team assignment.\",\n ),\n },\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: true,\n openWorldHint: true,\n },\n async handler(params, context: ServerContext) {\n const apiService = apiServiceFromContext(context, {\n regionUrl: params.regionUrl,\n });\n const organizationSlug = params.organizationSlug;\n\n setTag(\"organization.slug\", organizationSlug);\n setTag(\"project.slug\", params.projectSlug);\n\n // Handle team assignment separately if provided\n if (params.teamSlug) {\n setTag(\"team.slug\", params.teamSlug);\n try {\n await apiService.addTeamToProject({\n organizationSlug,\n projectSlug: params.projectSlug,\n teamSlug: params.teamSlug,\n });\n } catch (err) {\n logIssue(err);\n throw new Error(\n `Failed to assign team ${params.teamSlug} to project ${params.projectSlug}: ${err instanceof Error ? err.message : \"Unknown error\"}`,\n );\n }\n }\n\n // Update project settings if any are provided\n const hasProjectUpdates = params.name || params.slug || params.platform;\n\n let project: Project | undefined;\n if (hasProjectUpdates) {\n try {\n project = await apiService.updateProject({\n organizationSlug,\n projectSlug: params.projectSlug,\n name: params.name,\n slug: params.slug,\n platform: params.platform,\n });\n } catch (err) {\n logIssue(err);\n throw new Error(\n `Failed to update project ${params.projectSlug}: ${err instanceof Error ? err.message : \"Unknown error\"}`,\n );\n }\n } else {\n // If only team assignment, fetch current project data for display\n const projects = await apiService.listProjects(organizationSlug);\n project = projects.find((p) => p.slug === params.projectSlug);\n if (!project) {\n throw new UserInputError(`Project ${params.projectSlug} not found`);\n }\n }\n\n let output = `# Updated Project in **${organizationSlug}**\\n\\n`;\n output += `**ID**: ${project.id}\\n`;\n output += `**Slug**: ${project.slug}\\n`;\n output += `**Name**: ${project.name}\\n`;\n if (project.platform) {\n output += `**Platform**: ${project.platform}\\n`;\n }\n\n // Display what was updated\n const updates: string[] = [];\n if (params.name) updates.push(`name to \"${params.name}\"`);\n if (params.slug) updates.push(`slug to \"${params.slug}\"`);\n if (params.platform) updates.push(`platform to \"${params.platform}\"`);\n if (params.teamSlug)\n updates.push(`team assignment to \"${params.teamSlug}\"`);\n\n if (updates.length > 0) {\n output += `\\n## Updates Applied\\n`;\n output += updates.map((update) => `- Updated ${update}`).join(\"\\n\");\n output += `\\n`;\n }\n\n output += \"\\n# Using this information\\n\\n\";\n output += `- The project is now accessible at slug: \\`${project.slug}\\`\\n`;\n if (params.teamSlug) {\n output += `- The project is now assigned to the \\`${params.teamSlug}\\` team\\n`;\n }\n return output;\n },\n});\n"],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F_vW.cjs');
|
|
3
3
|
const require_define = require('./define-CLp6EtpZ.cjs');
|
|
4
|
-
const require_logging = require('./logging-
|
|
5
|
-
const require_api = require('./api-
|
|
6
|
-
const require_schema = require('./schema-
|
|
4
|
+
const require_logging = require('./logging-C-ST7-Ow.cjs');
|
|
5
|
+
const require_api = require('./api-CHgBJOv9.cjs');
|
|
6
|
+
const require_schema = require('./schema-BGVOjcD7.cjs');
|
|
7
7
|
const __sentry_core = require_chunk.__toESM(require("@sentry/core"));
|
|
8
8
|
const zod = require_chunk.__toESM(require("zod"));
|
|
9
9
|
|
|
@@ -131,4 +131,4 @@ Object.defineProperty(exports, 'update_project_default', {
|
|
|
131
131
|
return update_project_default;
|
|
132
132
|
}
|
|
133
133
|
});
|
|
134
|
-
//# sourceMappingURL=update-project-
|
|
134
|
+
//# sourceMappingURL=update-project-DG3bwhNA.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-project-
|
|
1
|
+
{"version":3,"file":"update-project-DG3bwhNA.cjs","names":["ParamOrganizationSlug","ParamProjectSlug","context: ServerContext","project: Project | undefined","UserInputError","updates: string[]"],"sources":["../src/tools/update-project.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 { logIssue } from \"../telem/logging\";\nimport { UserInputError } from \"../errors\";\nimport type { ServerContext } from \"../types\";\nimport type { Project } from \"../api-client/index\";\nimport {\n ParamOrganizationSlug,\n ParamRegionUrl,\n ParamProjectSlug,\n ParamPlatform,\n ParamTeamSlug,\n} from \"../schema\";\n\nexport default defineTool({\n name: \"update_project\",\n requiredSkills: [\"project-management\"], // Only available in project-management skill\n requiredScopes: [\"project:write\"],\n description: [\n \"Update project settings in Sentry, such as name, slug, platform, and team assignment.\",\n \"\",\n \"Be careful when using this tool!\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Update a project's name or slug to fix onboarding mistakes\",\n \"- Change the platform assigned to a project\",\n \"- Update team assignment for a project\",\n \"\",\n \"<examples>\",\n \"### Update a project's name and slug\",\n \"\",\n \"```\",\n \"update_project(organizationSlug='my-organization', projectSlug='old-project', name='New Project Name', slug='new-project-slug')\",\n \"```\",\n \"\",\n \"### Assign a project to a different team\",\n \"\",\n \"```\",\n \"update_project(organizationSlug='my-organization', projectSlug='my-project', teamSlug='backend-team')\",\n \"```\",\n \"\",\n \"### Update platform\",\n \"\",\n \"```\",\n \"update_project(organizationSlug='my-organization', projectSlug='my-project', platform='python')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, it's likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- Team assignment is handled separately from other project settings\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"- When updating the slug, the project will be accessible at the new slug after the update\",\n \"</hints>\",\n ].join(\"\\n\"),\n inputSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug,\n name: z.string().trim().describe(\"The new name for the project\").optional(),\n slug: z\n .string()\n .toLowerCase()\n .trim()\n .describe(\"The new slug for the project (must be unique)\")\n .optional(),\n platform: ParamPlatform.optional(),\n teamSlug: ParamTeamSlug.optional().describe(\n \"The team to assign this project to. Note: this will replace the current team assignment.\",\n ),\n },\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: true,\n openWorldHint: true,\n },\n async handler(params, context: ServerContext) {\n const apiService = apiServiceFromContext(context, {\n regionUrl: params.regionUrl,\n });\n const organizationSlug = params.organizationSlug;\n\n setTag(\"organization.slug\", organizationSlug);\n setTag(\"project.slug\", params.projectSlug);\n\n // Handle team assignment separately if provided\n if (params.teamSlug) {\n setTag(\"team.slug\", params.teamSlug);\n try {\n await apiService.addTeamToProject({\n organizationSlug,\n projectSlug: params.projectSlug,\n teamSlug: params.teamSlug,\n });\n } catch (err) {\n logIssue(err);\n throw new Error(\n `Failed to assign team ${params.teamSlug} to project ${params.projectSlug}: ${err instanceof Error ? err.message : \"Unknown error\"}`,\n );\n }\n }\n\n // Update project settings if any are provided\n const hasProjectUpdates = params.name || params.slug || params.platform;\n\n let project: Project | undefined;\n if (hasProjectUpdates) {\n try {\n project = await apiService.updateProject({\n organizationSlug,\n projectSlug: params.projectSlug,\n name: params.name,\n slug: params.slug,\n platform: params.platform,\n });\n } catch (err) {\n logIssue(err);\n throw new Error(\n `Failed to update project ${params.projectSlug}: ${err instanceof Error ? err.message : \"Unknown error\"}`,\n );\n }\n } else {\n // If only team assignment, fetch current project data for display\n const projects = await apiService.listProjects(organizationSlug);\n project = projects.find((p) => p.slug === params.projectSlug);\n if (!project) {\n throw new UserInputError(`Project ${params.projectSlug} not found`);\n }\n }\n\n let output = `# Updated Project in **${organizationSlug}**\\n\\n`;\n output += `**ID**: ${project.id}\\n`;\n output += `**Slug**: ${project.slug}\\n`;\n output += `**Name**: ${project.name}\\n`;\n if (project.platform) {\n output += `**Platform**: ${project.platform}\\n`;\n }\n\n // Display what was updated\n const updates: string[] = [];\n if (params.name) updates.push(`name to \"${params.name}\"`);\n if (params.slug) updates.push(`slug to \"${params.slug}\"`);\n if (params.platform) updates.push(`platform to \"${params.platform}\"`);\n if (params.teamSlug)\n updates.push(`team assignment to \"${params.teamSlug}\"`);\n\n if (updates.length > 0) {\n output += `\\n## Updates Applied\\n`;\n output += updates.map((update) => `- Updated ${update}`).join(\"\\n\");\n output += `\\n`;\n }\n\n output += \"\\n# Using this information\\n\\n\";\n output += `- The project is now accessible at slug: \\`${project.slug}\\`\\n`;\n if (params.teamSlug) {\n output += `- The project is now assigned to the \\`${params.teamSlug}\\` team\\n`;\n }\n return output;\n },\n});\n"],"mappings":";;;;;;;;;;AAgBA,6BAAe,0BAAW;CACxB,MAAM;CACN,gBAAgB,CAAC,oBAAqB;CACtC,gBAAgB,CAAC,eAAgB;CACjC,aAAa;EACX;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AQ,KAAK;AACZ,4BAAS,IAAI;AACb,SAAM,IAAI,OACP,2BAA2B,OAAO,YAAY,IAAI,eAAe,QAAQ,IAAI,UAAU;EAE3F;OACI;GAEL,MAAM,WAAW,MAAM,WAAW,aAAa,iBAAiB;AAChE,aAAU,SAAS,KAAK,CAAC,MAAM,EAAE,SAAS,OAAO,YAAY;AAC7D,QAAK,QACH,OAAM,IAAIC,+BAAgB,UAAU,OAAO,YAAY;EAE1D;EAED,IAAI,UAAU,yBAAyB,iBAAiB;AACxD,aAAW,UAAU,QAAQ,GAAG;AAChC,aAAW,YAAY,QAAQ,KAAK;AACpC,aAAW,YAAY,QAAQ,KAAK;AACpC,MAAI,QAAQ,SACV,YAAW,gBAAgB,QAAQ,SAAS;EAI9C,MAAMC,UAAoB,CAAE;AAC5B,MAAI,OAAO,KAAM,SAAQ,MAAM,WAAW,OAAO,KAAK,GAAG;AACzD,MAAI,OAAO,KAAM,SAAQ,MAAM,WAAW,OAAO,KAAK,GAAG;AACzD,MAAI,OAAO,SAAU,SAAQ,MAAM,eAAe,OAAO,SAAS,GAAG;AACrE,MAAI,OAAO,SACT,SAAQ,MAAM,sBAAsB,OAAO,SAAS,GAAG;AAEzD,MAAI,QAAQ,SAAS,GAAG;AACtB,cAAW;AACX,aAAU,QAAQ,IAAI,CAAC,YAAY,YAAY,SAAS,CAAC,KAAK,KAAK;AACnE,cAAW;EACZ;AAED,YAAU;AACV,aAAW,6CAA6C,QAAQ,KAAK;AACrE,MAAI,OAAO,SACT,YAAW,yCAAyC,OAAO,SAAS;AAEtE,SAAO;CACR;AACF,EAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_slug_validation = require('../slug-validation-
|
|
1
|
+
const require_slug_validation = require('../slug-validation-D5VJqMwH.cjs');
|
|
2
2
|
|
|
3
3
|
exports.isNumericId = require_slug_validation.isNumericId;
|
|
4
4
|
exports.validateSlug = require_slug_validation.validateSlug;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import * as
|
|
2
|
+
import * as ai269 from "ai";
|
|
3
3
|
|
|
4
4
|
//#region src/internal/agents/tools/utils.d.ts
|
|
5
5
|
type AgentToolResponse<T = unknown> = {
|
|
@@ -34,10 +34,10 @@ declare function agentTool<TParameters, TResult>(config: {
|
|
|
34
34
|
description: string;
|
|
35
35
|
parameters: z.ZodSchema<TParameters>;
|
|
36
36
|
execute: (params: TParameters) => Promise<TResult>;
|
|
37
|
-
}):
|
|
38
|
-
execute: (args: TParameters, options:
|
|
37
|
+
}): ai269.Tool<z.ZodType<TParameters, z.ZodTypeDef, TParameters>, AgentToolResponse<Awaited<TResult>>> & {
|
|
38
|
+
execute: (args: TParameters, options: ai269.ToolExecutionOptions) => PromiseLike<AgentToolResponse<Awaited<TResult>>>;
|
|
39
39
|
};
|
|
40
40
|
//# sourceMappingURL=utils.d.ts.map
|
|
41
41
|
//#endregion
|
|
42
42
|
export { AgentToolResponse, agentTool };
|
|
43
|
-
//# sourceMappingURL=utils-
|
|
43
|
+
//# sourceMappingURL=utils-Bzaer0D1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils-Bzaer0D1.d.ts","names":[],"sources":["../src/internal/agents/tools/utils.ts"],"sourcesContent":[],"mappings":";;;;KAkBY;;WAED;AAFX,CAAA;AAqFA;;;;;;;;;;;;;;;;;;;;;;;;iBAAgB;;cAEF,CAAA,CAAE,UAAU;oBACN,gBAAgB,QAAQ;IAC3C,KAAA,CAAA,KAAA,CAAA,CAAA,QAAA,aAAA,CAAA,CAAA,YAAA,cAAA,kBAAA,QAAA;kBAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SentryApiService } from "./client-
|
|
2
|
-
import { AgentToolResponse } from "./utils-
|
|
1
|
+
import { SentryApiService } from "./client-0n2-4zOO.cjs";
|
|
2
|
+
import { AgentToolResponse } from "./utils-CAWsA9Cl.cjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
import * as
|
|
4
|
+
import * as ai257 from "ai";
|
|
5
5
|
|
|
6
6
|
//#region src/tools/search-events/utils.d.ts
|
|
7
7
|
type FlexibleEventData = Record<string, unknown>;
|
|
@@ -24,16 +24,16 @@ declare function createDatasetAttributesTool(options: {
|
|
|
24
24
|
apiService: SentryApiService;
|
|
25
25
|
organizationSlug: string;
|
|
26
26
|
projectId?: string;
|
|
27
|
-
}):
|
|
27
|
+
}): ai257.Tool<z.ZodType<{
|
|
28
28
|
dataset: "spans" | "logs" | "errors";
|
|
29
29
|
}, z.ZodTypeDef, {
|
|
30
30
|
dataset: "spans" | "logs" | "errors";
|
|
31
31
|
}>, AgentToolResponse<string>> & {
|
|
32
32
|
execute: (args: {
|
|
33
33
|
dataset: "spans" | "logs" | "errors";
|
|
34
|
-
}, options:
|
|
34
|
+
}, options: ai257.ToolExecutionOptions) => PromiseLike<AgentToolResponse<string>>;
|
|
35
35
|
};
|
|
36
36
|
//# sourceMappingURL=utils.d.ts.map
|
|
37
37
|
//#endregion
|
|
38
38
|
export { FlexibleEventData, createDatasetAttributesTool, fetchCustomAttributes, getNumberValue, getStringValue, isAggregateQuery };
|
|
39
|
-
//# sourceMappingURL=utils-
|
|
39
|
+
//# sourceMappingURL=utils-C5oiuqkh.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils-
|
|
1
|
+
{"version":3,"file":"utils-C5oiuqkh.d.cts","names":[],"sources":["../src/tools/search-events/utils.ts"],"sourcesContent":[],"mappings":";;;;;;KAKY,iBAAA,GAAoB;iBAGhB,cAAA,QACP;iBASO,cAAA,QACP;iBAQO,gBAAA;AAtBJ,iBA2BU,qBAAA,CA3BgB,UAAA,EA4BxB,gBA5BwB,EAAA,gBAAA,EAAA,MAAA,EAAA,OAAA,EAAA,QAAA,GAAA,MAAA,GAAA,OAAA,EAAA,SAAA,CAAA,EAAA,MAAA,EAAA,UA2BtC,CA3BsC,EAAA;EAGtB,WAAA,CAAA,EAAA,MAAc;EAUd,KAAA,CAAA,EAAA,MAAA;EASA,GAAA,CAAA,EAAA,MAAA;AAKhB,CAAA,CAAA,EAMG,OANmB,CAAA;EAAqB,UAAA,EAO7B,MAP6B,CAAA,MAAA,EAAA,MAAA,CAAA;EAAA,UAC7B,EAOA,MAPA,CAAA,MAAA,EAAA,QAAA,GAAA,QAAA,CAAA;CAAgB,CAAA;;;AAKpB;AAoDV;AAA2C,iBAA3B,2BAAA,CAA2B,OAAA,EAAA;EAAA,UAC7B,EAAA,gBAAA;EAAgB,gBAAA,EAAA,MAAA;WAG7B,CAAA,EAAA,MAAA;CAAA,CAAA,QAAA,IAAA,CAAA,CAAA,CAAA,OAAA,CAAA;WAAA,OAAA,GAAA,MAAA,GAAA,QAAA;CAAA,EAH6B,CAAA,CAAA,UAG7B,EAAA;;IAAA;;;cAAA,KAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import * as
|
|
2
|
+
import * as ai277 from "ai";
|
|
3
3
|
|
|
4
4
|
//#region src/internal/agents/tools/utils.d.ts
|
|
5
5
|
type AgentToolResponse<T = unknown> = {
|
|
@@ -34,10 +34,10 @@ declare function agentTool<TParameters, TResult>(config: {
|
|
|
34
34
|
description: string;
|
|
35
35
|
parameters: z.ZodSchema<TParameters>;
|
|
36
36
|
execute: (params: TParameters) => Promise<TResult>;
|
|
37
|
-
}):
|
|
38
|
-
execute: (args: TParameters, options:
|
|
37
|
+
}): ai277.Tool<z.ZodType<TParameters, z.ZodTypeDef, TParameters>, AgentToolResponse<Awaited<TResult>>> & {
|
|
38
|
+
execute: (args: TParameters, options: ai277.ToolExecutionOptions) => PromiseLike<AgentToolResponse<Awaited<TResult>>>;
|
|
39
39
|
};
|
|
40
40
|
//# sourceMappingURL=utils.d.ts.map
|
|
41
41
|
//#endregion
|
|
42
42
|
export { AgentToolResponse, agentTool };
|
|
43
|
-
//# sourceMappingURL=utils-
|
|
43
|
+
//# sourceMappingURL=utils-CAWsA9Cl.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils-
|
|
1
|
+
{"version":3,"file":"utils-CAWsA9Cl.d.cts","names":[],"sources":["../src/internal/agents/tools/utils.ts"],"sourcesContent":[],"mappings":";;;;KAkBY;;WAED;AAFX,CAAA;AAqFA;;;;;;;;;;;;;;;;;;;;;;;;iBAAgB;;cAEF,CAAA,CAAE,UAAU;oBACN,gBAAgB,QAAQ;IAC3C,KAAA,CAAA,KAAA,CAAA,CAAA,QAAA,aAAA,CAAA,CAAA,YAAA,cAAA,kBAAA,QAAA;kBAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-
|
|
2
|
-
const require_utils = require('./utils-
|
|
1
|
+
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
+
const require_utils = require('./utils-DJIwl8YR.cjs');
|
|
3
3
|
const zod = require_chunk.__toESM(require("zod"));
|
|
4
4
|
|
|
5
5
|
//#region src/tools/search-events/utils.ts
|
|
@@ -121,4 +121,4 @@ Object.defineProperty(exports, 'isAggregateQuery', {
|
|
|
121
121
|
return isAggregateQuery;
|
|
122
122
|
}
|
|
123
123
|
});
|
|
124
|
-
//# sourceMappingURL=utils-
|
|
124
|
+
//# sourceMappingURL=utils-CIt6Amml.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils-
|
|
1
|
+
{"version":3,"file":"utils-CIt6Amml.cjs","names":["event: FlexibleEventData","key: string","fields: string[]","apiService: SentryApiService","organizationSlug: string","dataset: \"errors\" | \"logs\" | \"spans\"","projectId?: string","timeParams?: { statsPeriod?: string; start?: string; end?: string }","customAttributes: Record<string, string>","fieldTypes: Record<string, \"string\" | \"number\">","options: {\n apiService: SentryApiService;\n organizationSlug: string;\n projectId?: string;\n}"],"sources":["../src/tools/search-events/utils.ts"],"sourcesContent":["import { z } from \"zod\";\nimport type { SentryApiService } from \"../../api-client\";\nimport { agentTool } from \"../../internal/agents/tools/utils\";\n\n// Type for flexible event data that can contain any fields\nexport type FlexibleEventData = Record<string, unknown>;\n\n// Helper to safely get a string value from event data\nexport function getStringValue(\n event: FlexibleEventData,\n key: string,\n defaultValue = \"\",\n): string {\n const value = event[key];\n return typeof value === \"string\" ? value : defaultValue;\n}\n\n// Helper to safely get a number value from event data\nexport function getNumberValue(\n event: FlexibleEventData,\n key: string,\n): number | undefined {\n const value = event[key];\n return typeof value === \"number\" ? value : undefined;\n}\n\n// Helper to check if fields contain aggregate functions\nexport function isAggregateQuery(fields: string[]): boolean {\n return fields.some((field) => field.includes(\"(\") && field.includes(\")\"));\n}\n\n// Helper function to fetch custom attributes for a dataset\nexport async function fetchCustomAttributes(\n apiService: SentryApiService,\n organizationSlug: string,\n dataset: \"errors\" | \"logs\" | \"spans\",\n projectId?: string,\n timeParams?: { statsPeriod?: string; start?: string; end?: string },\n): Promise<{\n attributes: Record<string, string>;\n fieldTypes: Record<string, \"string\" | \"number\">;\n}> {\n const customAttributes: Record<string, string> = {};\n const fieldTypes: Record<string, \"string\" | \"number\"> = {};\n\n if (dataset === \"errors\") {\n // TODO: For errors dataset, we currently need to use the old listTags API\n // This will be updated in the future to use the new trace-items attributes API\n const tagsResponse = await apiService.listTags({\n organizationSlug,\n dataset: \"events\",\n project: projectId,\n statsPeriod: \"14d\",\n useCache: true,\n useFlagsBackend: true,\n });\n\n for (const tag of tagsResponse) {\n if (tag.key && !tag.key.startsWith(\"sentry:\")) {\n customAttributes[tag.key] = tag.name || tag.key;\n }\n }\n } else {\n // For logs and spans datasets, use the trace-items attributes endpoint\n const itemType = dataset === \"logs\" ? \"logs\" : \"spans\";\n const attributesResponse = await apiService.listTraceItemAttributes({\n organizationSlug,\n itemType,\n project: projectId,\n statsPeriod: \"14d\",\n });\n\n for (const attr of attributesResponse) {\n if (attr.key && !attr.key.startsWith(\"sentry:\")) {\n customAttributes[attr.key] = attr.name || attr.key;\n // Track field type from the attribute response with validation\n if (attr.type && (attr.type === \"string\" || attr.type === \"number\")) {\n fieldTypes[attr.key] = attr.type;\n }\n }\n }\n }\n\n return { attributes: customAttributes, fieldTypes };\n}\n\n/**\n * Create a tool for the agent to query available attributes by dataset\n * The tool is pre-bound with the API service and organization configured for the appropriate region\n */\nexport function createDatasetAttributesTool(options: {\n apiService: SentryApiService;\n organizationSlug: string;\n projectId?: string;\n}) {\n const { apiService, organizationSlug, projectId } = options;\n return agentTool({\n description:\n \"Query available attributes and fields for a specific Sentry dataset to understand what data is available\",\n parameters: z.object({\n dataset: z\n .enum([\"spans\", \"errors\", \"logs\"])\n .describe(\"The dataset to query attributes for\"),\n }),\n execute: async ({ dataset }) => {\n const {\n BASE_COMMON_FIELDS,\n DATASET_FIELDS,\n RECOMMENDED_FIELDS,\n NUMERIC_FIELDS,\n } = await import(\"./config\");\n\n // Get custom attributes for this dataset\n // IMPORTANT: Let ALL errors bubble up to wrapAgentToolExecute\n // UserInputError will be converted to error string for the AI agent\n // Other errors will bubble up to be captured by Sentry\n const { attributes: customAttributes, fieldTypes } =\n await fetchCustomAttributes(\n apiService,\n organizationSlug,\n dataset,\n projectId,\n );\n\n // Combine all available fields\n const allFields = {\n ...BASE_COMMON_FIELDS,\n ...DATASET_FIELDS[dataset],\n ...customAttributes,\n };\n\n const recommendedFields = RECOMMENDED_FIELDS[dataset];\n\n // Combine field types from both static config and dynamic API\n const allFieldTypes = { ...fieldTypes };\n const staticNumericFields = NUMERIC_FIELDS[dataset] || new Set();\n for (const field of staticNumericFields) {\n allFieldTypes[field] = \"number\";\n }\n\n return `Dataset: ${dataset}\n\nAvailable Fields (${Object.keys(allFields).length} total):\n${Object.entries(allFields)\n .slice(0, 50) // Limit to first 50 to avoid overwhelming the agent\n .map(([key, desc]) => `- ${key}: ${desc}`)\n .join(\"\\n\")}\n${Object.keys(allFields).length > 50 ? `\\n... and ${Object.keys(allFields).length - 50} more fields` : \"\"}\n\nRecommended Fields for ${dataset}:\n${recommendedFields.basic.map((f) => `- ${f}`).join(\"\\n\")}\n\nField Types (CRITICAL for aggregate functions):\n${Object.entries(allFieldTypes)\n .slice(0, 30) // Show more field types since this is critical for validation\n .map(([key, type]) => `- ${key}: ${type}`)\n .join(\"\\n\")}\n${Object.keys(allFieldTypes).length > 30 ? `\\n... and ${Object.keys(allFieldTypes).length - 30} more fields` : \"\"}\n\nIMPORTANT: Only use numeric aggregate functions (avg, sum, min, max, percentiles) with numeric fields. Use count() or count_unique() for non-numeric fields.\n\nUse this information to construct appropriate queries for the ${dataset} dataset.`;\n },\n });\n}\n"],"mappings":";;;;;AAQA,SAAgB,eACdA,OACAC,KACA,eAAe,IACP;CACR,MAAM,QAAQ,MAAM;AACpB,eAAc,UAAU,WAAW,QAAQ;AAC5C;AAGD,SAAgB,eACdD,OACAC,KACoB;CACpB,MAAM,QAAQ,MAAM;AACpB,eAAc,UAAU,WAAW;AACpC;AAGD,SAAgB,iBAAiBC,QAA2B;AAC1D,QAAO,OAAO,KAAK,CAAC,UAAU,MAAM,SAAS,IAAI,IAAI,MAAM,SAAS,IAAI,CAAC;AAC1E;AAGD,eAAsB,sBACpBC,YACAC,kBACAC,SACAC,WACAC,YAIC;CACD,MAAMC,mBAA2C,CAAE;CACnD,MAAMC,aAAkD,CAAE;AAE1D,KAAI,YAAY,UAAU;EAGxB,MAAM,eAAe,MAAM,WAAW,SAAS;GAC7C;GACA,SAAS;GACT,SAAS;GACT,aAAa;GACb,UAAU;GACV,iBAAiB;EAClB,EAAC;AAEF,OAAK,MAAM,OAAO,aAChB,KAAI,IAAI,QAAQ,IAAI,IAAI,WAAW,UAAU,CAC3C,kBAAiB,IAAI,OAAO,IAAI,QAAQ,IAAI;CAGjD,OAAM;EAEL,MAAM,WAAW,YAAY,SAAS,SAAS;EAC/C,MAAM,qBAAqB,MAAM,WAAW,wBAAwB;GAClE;GACA;GACA,SAAS;GACT,aAAa;EACd,EAAC;AAEF,OAAK,MAAM,QAAQ,mBACjB,KAAI,KAAK,QAAQ,K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QAAQ,cAAc,CAC5B,MAAM,GAAG,GAAG,CACZ,IAAI,CAAC,CAAC,KAAK,KAAK,MAAM,IAAI,IAAI,IAAI,OAAO,CACzC,KAAK,KAAK,CAAC;EACZ,OAAO,KAAK,cAAc,CAAC,SAAS,MAAM,YAAY,OAAO,KAAK,cAAc,CAAC,SAAS,GAAG,gBAAgB,GAAG;;;;gEAIlD,QAAQ;EACnE;CACF,EAAC;AACH"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SentryApiService } from "./client-
|
|
2
|
-
import { AgentToolResponse } from "./utils-
|
|
1
|
+
import { SentryApiService } from "./client-ByOC8aCf.js";
|
|
2
|
+
import { AgentToolResponse } from "./utils-Bzaer0D1.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
import * as
|
|
4
|
+
import * as ai239 from "ai";
|
|
5
5
|
|
|
6
6
|
//#region src/tools/search-events/utils.d.ts
|
|
7
7
|
type FlexibleEventData = Record<string, unknown>;
|
|
@@ -24,16 +24,16 @@ declare function createDatasetAttributesTool(options: {
|
|
|
24
24
|
apiService: SentryApiService;
|
|
25
25
|
organizationSlug: string;
|
|
26
26
|
projectId?: string;
|
|
27
|
-
}):
|
|
27
|
+
}): ai239.Tool<z.ZodType<{
|
|
28
28
|
dataset: "spans" | "logs" | "errors";
|
|
29
29
|
}, z.ZodTypeDef, {
|
|
30
30
|
dataset: "spans" | "logs" | "errors";
|
|
31
31
|
}>, AgentToolResponse<string>> & {
|
|
32
32
|
execute: (args: {
|
|
33
33
|
dataset: "spans" | "logs" | "errors";
|
|
34
|
-
}, options:
|
|
34
|
+
}, options: ai239.ToolExecutionOptions) => PromiseLike<AgentToolResponse<string>>;
|
|
35
35
|
};
|
|
36
36
|
//# sourceMappingURL=utils.d.ts.map
|
|
37
37
|
//#endregion
|
|
38
38
|
export { FlexibleEventData, createDatasetAttributesTool, fetchCustomAttributes, getNumberValue, getStringValue, isAggregateQuery };
|
|
39
|
-
//# sourceMappingURL=utils-
|
|
39
|
+
//# sourceMappingURL=utils-CrKFhSC3.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils-
|
|
1
|
+
{"version":3,"file":"utils-CrKFhSC3.d.ts","names":[],"sources":["../src/tools/search-events/utils.ts"],"sourcesContent":[],"mappings":";;;;;;KAKY,iBAAA,GAAoB;iBAGhB,cAAA,QACP;iBASO,cAAA,QACP;iBAQO,gBAAA;AAtBJ,iBA2BU,qBAAA,CA3BgB,UAAA,EA4BxB,gBA5BwB,EAAA,gBAAA,EAAA,MAAA,EAAA,OAAA,EAAA,QAAA,GAAA,MAAA,GAAA,OAAA,EAAA,SAAA,CAAA,EAAA,MAAA,EAAA,UA2BtC,CA3BsC,EAAA;EAGtB,WAAA,CAAA,EAAA,MAAc;EAUd,KAAA,CAAA,EAAA,MAAA;EASA,GAAA,CAAA,EAAA,MAAA;AAKhB,CAAA,CAAA,EAMG,OANmB,CAAA;EAAqB,UAAA,EAO7B,MAP6B,CAAA,MAAA,EAAA,MAAA,CAAA;EAAA,UAC7B,EAOA,MAPA,CAAA,MAAA,EAAA,QAAA,GAAA,QAAA,CAAA;CAAgB,CAAA;;;AAKpB;AAoDV;AAA2C,iBAA3B,2BAAA,CAA2B,OAAA,EAAA;EAAA,UAC7B,EAAA,gBAAA;EAAgB,gBAAA,EAAA,MAAA;WAG7B,CAAA,EAAA,MAAA;CAAA,CAAA,QAAA,IAAA,CAAA,CAAA,CAAA,OAAA,CAAA;WAAA,OAAA,GAAA,MAAA,GAAA,QAAA;CAAA,EAH6B,CAAA,CAAA,UAG7B,EAAA;;IAAA;;;cAAA,KAAA,CAAA"}
|