@sentry/mcp-server 0.11.0 → 0.12.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/api-client/client.cjs +2 -2
- 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/client.test.cjs +2 -2
- package/dist/api-client/client.test.js +2 -2
- package/dist/api-client/index.cjs +3 -2
- package/dist/api-client/index.d.cts +4 -4
- package/dist/api-client/index.d.ts +4 -4
- package/dist/api-client/index.js +3 -3
- 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.d.cts +3 -3
- package/dist/api-client/types.d.ts +3 -3
- package/dist/client-4jq_wVgn.d.ts +522 -0
- package/dist/client-4jq_wVgn.d.ts.map +1 -0
- package/dist/client-B7vZ6JMk.cjs +572 -0
- package/dist/client-B7vZ6JMk.cjs.map +1 -0
- package/dist/client-CAoHZbyK.js +561 -0
- package/dist/client-CAoHZbyK.js.map +1 -0
- package/dist/client-DkY0ifZf.d.cts +522 -0
- package/dist/client-DkY0ifZf.d.cts.map +1 -0
- package/dist/formatting-BaARL2gT.js.map +1 -1
- package/dist/formatting-C2kN0ok6.cjs.map +1 -1
- package/dist/index.cjs +13 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -13
- package/dist/index.js.map +1 -1
- package/dist/internal/formatting.d.cts +4 -3
- package/dist/internal/formatting.d.cts.map +1 -1
- package/dist/internal/formatting.d.ts +4 -3
- package/dist/internal/formatting.d.ts.map +1 -1
- package/dist/internal/issue-helpers.cjs +1 -1
- package/dist/internal/issue-helpers.d.cts +8 -0
- package/dist/internal/issue-helpers.d.cts.map +1 -1
- package/dist/internal/issue-helpers.d.ts +8 -0
- package/dist/internal/issue-helpers.d.ts.map +1 -1
- package/dist/internal/issue-helpers.js +1 -1
- package/dist/internal/issue-helpers.test.cjs +1 -1
- package/dist/internal/issue-helpers.test.js +1 -1
- package/dist/{issue-helpers-CSNNO03f.js → issue-helpers-BMVLc3mR.js} +9 -1
- package/dist/issue-helpers-BMVLc3mR.js.map +1 -0
- package/dist/{issue-helpers-71XgJVXC.cjs → issue-helpers-D712fGT2.cjs} +9 -1
- package/dist/issue-helpers-D712fGT2.cjs.map +1 -0
- package/dist/logging-ByvSjT6V.cjs.map +1 -1
- package/dist/logging-CXLD0FFB.js.map +1 -1
- package/dist/logging.d.cts +30 -1
- package/dist/logging.d.cts.map +1 -1
- package/dist/logging.d.ts +30 -1
- package/dist/logging.d.ts.map +1 -1
- package/dist/{promptDefinitions-D3ll3qCd.cjs → promptDefinitions-BTLIBcGt.cjs} +9 -2
- package/dist/promptDefinitions-BTLIBcGt.cjs.map +1 -0
- package/dist/{promptDefinitions-H0q1_X-K.d.ts → promptDefinitions-CF2VWdQ6.d.cts} +9 -1
- package/dist/promptDefinitions-CF2VWdQ6.d.cts.map +1 -0
- package/dist/{promptDefinitions-DMucOchd.d.cts → promptDefinitions-D5FSQckL.d.ts} +9 -1
- package/dist/promptDefinitions-D5FSQckL.d.ts.map +1 -0
- package/dist/{promptDefinitions-aKmUZWWO.js → promptDefinitions-D8yow1m0.js} +9 -2
- package/dist/promptDefinitions-D8yow1m0.js.map +1 -0
- package/dist/promptDefinitions.cjs +2 -2
- package/dist/promptDefinitions.d.cts +1 -1
- package/dist/promptDefinitions.d.ts +1 -1
- package/dist/promptDefinitions.js +2 -2
- package/dist/{prompts-DMwoay8l.cjs → prompts-CDbQrutV.cjs} +3 -2
- package/dist/prompts-CDbQrutV.cjs.map +1 -0
- package/dist/{prompts-CzD0yl7Z.js → prompts-Dt3A8Qfl.js} +4 -2
- package/dist/prompts-Dt3A8Qfl.js.map +1 -0
- package/dist/prompts.cjs +2 -1
- package/dist/prompts.d.cts +3 -3
- package/dist/prompts.d.cts.map +1 -1
- package/dist/prompts.d.ts +3 -3
- package/dist/prompts.d.ts.map +1 -1
- package/dist/prompts.js +2 -1
- package/dist/{resources-x-GaokG8.js → resources-Bol20Xuo.js} +13 -1
- package/dist/resources-Bol20Xuo.js.map +1 -0
- package/dist/{resources-D6TW2ER0.cjs → resources-DNyoutxH.cjs} +13 -1
- package/dist/resources-DNyoutxH.cjs.map +1 -0
- package/dist/resources.cjs +1 -1
- package/dist/resources.d.cts +9 -0
- package/dist/resources.d.cts.map +1 -1
- package/dist/resources.d.ts +9 -0
- package/dist/resources.d.ts.map +1 -1
- package/dist/resources.js +1 -1
- package/dist/{schema-C-MLkWMc.d.ts → schema-BJv7kREf.d.cts} +178 -66
- package/dist/schema-BJv7kREf.d.cts.map +1 -0
- package/dist/{schema-B8lT632E.cjs → schema-BTfISwFu.cjs} +29 -2
- package/dist/schema-BTfISwFu.cjs.map +1 -0
- package/dist/{schema-DqxkW9Tx.d.cts → schema-BnxGHL_i.d.ts} +178 -66
- package/dist/schema-BnxGHL_i.d.ts.map +1 -0
- package/dist/{schema-DkyWSqp_.cjs → schema-BsvGMALe.cjs} +37 -6
- package/dist/schema-BsvGMALe.cjs.map +1 -0
- package/dist/{schema-CewAKS9A.js → schema-C_hp0BR7.js} +32 -7
- package/dist/schema-C_hp0BR7.js.map +1 -0
- package/dist/schema-Dv6aLZgz.js +32 -0
- package/dist/schema-Dv6aLZgz.js.map +1 -0
- package/dist/schema.cjs +3 -1
- package/dist/schema.d.cts +13 -3
- package/dist/schema.d.cts.map +1 -1
- package/dist/schema.d.ts +13 -3
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +2 -2
- package/dist/{server-qpWdf-ST.js → server-C7cHq_pc.js} +57 -9
- package/dist/server-C7cHq_pc.js.map +1 -0
- package/dist/{server-pGtEIwE3.cjs → server-DeutbO8v.cjs} +57 -9
- package/dist/server-DeutbO8v.cjs.map +1 -0
- package/dist/server.cjs +10 -10
- package/dist/server.d.cts +23 -4
- package/dist/server.d.cts.map +1 -1
- package/dist/server.d.ts +23 -4
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +10 -10
- package/dist/stdio-B73CCTly.cjs +47 -0
- package/dist/stdio-B73CCTly.cjs.map +1 -0
- package/dist/stdio-ZQLC-i5Q.js +41 -0
- package/dist/stdio-ZQLC-i5Q.js.map +1 -0
- package/dist/test-setup.cjs +420 -257
- package/dist/test-setup.cjs.map +1 -1
- package/dist/test-setup.js +420 -257
- package/dist/test-setup.js.map +1 -1
- package/dist/{toolDefinitions-Dp13BpEu.d.cts → toolDefinitions-BOMF-zIC.d.ts} +115 -17
- package/dist/toolDefinitions-BOMF-zIC.d.ts.map +1 -0
- package/dist/{toolDefinitions-BtHN8t_d.cjs → toolDefinitions-CUegGcWU.cjs} +117 -6
- package/dist/toolDefinitions-CUegGcWU.cjs.map +1 -0
- package/dist/{toolDefinitions-BSC2D_S-.js → toolDefinitions-DFAxp3nr.js} +117 -6
- package/dist/toolDefinitions-DFAxp3nr.js.map +1 -0
- package/dist/{toolDefinitions-fQrpWznJ.d.ts → toolDefinitions-Ipvr4Acw.d.cts} +115 -17
- package/dist/toolDefinitions-Ipvr4Acw.d.cts.map +1 -0
- package/dist/toolDefinitions.cjs +2 -2
- package/dist/toolDefinitions.d.cts +1 -1
- package/dist/toolDefinitions.d.ts +1 -1
- package/dist/toolDefinitions.js +2 -2
- package/dist/toolDefinitions.test.cjs +2 -2
- package/dist/toolDefinitions.test.js +2 -2
- package/dist/{tools-4Rtn4WEf.js → tools-DpiQwSTY.js} +137 -11
- package/dist/tools-DpiQwSTY.js.map +1 -0
- package/dist/{tools-DHHqAqP9.cjs → tools-DyOqlsCW.cjs} +137 -11
- package/dist/tools-DyOqlsCW.cjs.map +1 -0
- package/dist/tools.cjs +4 -4
- package/dist/tools.d.cts +91 -7
- package/dist/tools.d.cts.map +1 -1
- package/dist/tools.d.ts +91 -7
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +4 -4
- package/dist/tools.test.cjs +290 -10
- package/dist/tools.test.cjs.map +1 -1
- package/dist/tools.test.js +290 -10
- package/dist/tools.test.js.map +1 -1
- package/dist/transports/stdio.cjs +11 -11
- package/dist/transports/stdio.d.cts +26 -4
- package/dist/transports/stdio.d.cts.map +1 -1
- package/dist/transports/stdio.d.ts +26 -4
- package/dist/transports/stdio.d.ts.map +1 -1
- package/dist/transports/stdio.js +11 -11
- package/dist/{types-CfJ51LyL.d.ts → types-D5TPcOfv.d.ts} +4 -3
- package/dist/types-D5TPcOfv.d.ts.map +1 -0
- package/dist/{types-CbLyQvVe.d.cts → types-DRF2IoP_.d.cts} +4 -3
- package/dist/types-DRF2IoP_.d.cts.map +1 -0
- package/dist/{types-DuUmV9zh.d.ts → types-Daq2fm0E.d.ts} +5 -3
- package/dist/types-Daq2fm0E.d.ts.map +1 -0
- package/dist/{types-CcffrLXB.d.cts → types-NIQW7KyF.d.cts} +5 -3
- package/dist/types-NIQW7KyF.d.cts.map +1 -0
- package/dist/types.d.cts +3 -3
- package/dist/types.d.ts +3 -3
- package/dist/{version-CRzAHHGZ.cjs → version-BNmubeQI.cjs} +2 -2
- package/dist/{version-CRzAHHGZ.cjs.map → version-BNmubeQI.cjs.map} +1 -1
- package/dist/version-CRto5Sn_.js +6 -0
- package/dist/{version-BT9r_3jm.js.map → version-CRto5Sn_.js.map} +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/client-Bxf4MxOz.d.cts +0 -179
- package/dist/client-Bxf4MxOz.d.cts.map +0 -1
- package/dist/client-D5xFZtxK.js +0 -224
- package/dist/client-D5xFZtxK.js.map +0 -1
- package/dist/client-DOhBiaMJ.d.ts +0 -179
- package/dist/client-DOhBiaMJ.d.ts.map +0 -1
- package/dist/client-GKHZSXgV.cjs +0 -235
- package/dist/client-GKHZSXgV.cjs.map +0 -1
- package/dist/issue-helpers-71XgJVXC.cjs.map +0 -1
- package/dist/issue-helpers-CSNNO03f.js.map +0 -1
- package/dist/promptDefinitions-D3ll3qCd.cjs.map +0 -1
- package/dist/promptDefinitions-DMucOchd.d.cts.map +0 -1
- package/dist/promptDefinitions-H0q1_X-K.d.ts.map +0 -1
- package/dist/promptDefinitions-aKmUZWWO.js.map +0 -1
- package/dist/prompts-CzD0yl7Z.js.map +0 -1
- package/dist/prompts-DMwoay8l.cjs.map +0 -1
- package/dist/resources-D6TW2ER0.cjs.map +0 -1
- package/dist/resources-x-GaokG8.js.map +0 -1
- package/dist/schema-B8lT632E.cjs.map +0 -1
- package/dist/schema-BkHf97d7.js +0 -17
- package/dist/schema-BkHf97d7.js.map +0 -1
- package/dist/schema-C-MLkWMc.d.ts.map +0 -1
- package/dist/schema-CewAKS9A.js.map +0 -1
- package/dist/schema-DkyWSqp_.cjs.map +0 -1
- package/dist/schema-DqxkW9Tx.d.cts.map +0 -1
- package/dist/server-pGtEIwE3.cjs.map +0 -1
- package/dist/server-qpWdf-ST.js.map +0 -1
- package/dist/stdio-D8u2W847.js +0 -19
- package/dist/stdio-D8u2W847.js.map +0 -1
- package/dist/stdio-DydB2Pxu.cjs +0 -25
- package/dist/stdio-DydB2Pxu.cjs.map +0 -1
- package/dist/toolDefinitions-BSC2D_S-.js.map +0 -1
- package/dist/toolDefinitions-BtHN8t_d.cjs.map +0 -1
- package/dist/toolDefinitions-Dp13BpEu.d.cts.map +0 -1
- package/dist/toolDefinitions-fQrpWznJ.d.ts.map +0 -1
- package/dist/tools-4Rtn4WEf.js.map +0 -1
- package/dist/tools-DHHqAqP9.cjs.map +0 -1
- package/dist/types-CbLyQvVe.d.cts.map +0 -1
- package/dist/types-CcffrLXB.d.cts.map +0 -1
- package/dist/types-CfJ51LyL.d.ts.map +0 -1
- package/dist/types-DuUmV9zh.d.ts.map +0 -1
- package/dist/version-BT9r_3jm.js +0 -6
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
import { ParamIssueShortId, ParamIssueUrl, ParamOrganizationSlug, ParamPlatform, ParamProjectSlug, ParamProjectSlugOrAll, ParamQuery, ParamRegionUrl, ParamTeamSlug, ParamTransaction } from "./schema-
|
|
1
|
+
import { ParamAssignedTo, ParamIssueShortId, ParamIssueStatus, ParamIssueUrl, ParamOrganizationSlug, ParamPlatform, ParamProjectSlug, ParamProjectSlugOrAll, ParamQuery, ParamRegionUrl, ParamTeamSlug, ParamTransaction } from "./schema-Dv6aLZgz.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/toolDefinitions.ts
|
|
5
|
+
/**
|
|
6
|
+
* All MCP tool definitions for the Sentry server.
|
|
7
|
+
*
|
|
8
|
+
* Used by server.ts to register tools with the MCP server and by tools.ts
|
|
9
|
+
* to validate parameters. Each definition includes name, description, and
|
|
10
|
+
* Zod parameter schema.
|
|
11
|
+
*/
|
|
5
12
|
const TOOL_DEFINITIONS = [
|
|
6
13
|
{
|
|
7
14
|
name: "whoami",
|
|
@@ -11,7 +18,7 @@ const TOOL_DEFINITIONS = [
|
|
|
11
18
|
"Use this tool when you need to:",
|
|
12
19
|
"- Get the user's name and email address."
|
|
13
20
|
].join("\n"),
|
|
14
|
-
paramsSchema: {
|
|
21
|
+
paramsSchema: {}
|
|
15
22
|
},
|
|
16
23
|
{
|
|
17
24
|
name: "find_organizations",
|
|
@@ -22,7 +29,7 @@ const TOOL_DEFINITIONS = [
|
|
|
22
29
|
"- View all organizations in Sentry",
|
|
23
30
|
"- Find an organization's slug to aid other tool requests"
|
|
24
31
|
].join("\n"),
|
|
25
|
-
paramsSchema: {
|
|
32
|
+
paramsSchema: {}
|
|
26
33
|
},
|
|
27
34
|
{
|
|
28
35
|
name: "find_teams",
|
|
@@ -162,7 +169,7 @@ const TOOL_DEFINITIONS = [
|
|
|
162
169
|
"### Get details for event ID 'c49541c747cb4d8aa3efb70ca5aba243'",
|
|
163
170
|
"",
|
|
164
171
|
"```",
|
|
165
|
-
"
|
|
172
|
+
"get_issue_details(organizationSlug='my-organization', eventId='c49541c747cb4d8aa3efb70ca5aba243')",
|
|
166
173
|
"```",
|
|
167
174
|
"</examples>",
|
|
168
175
|
"<hints>",
|
|
@@ -178,6 +185,60 @@ const TOOL_DEFINITIONS = [
|
|
|
178
185
|
issueUrl: ParamIssueUrl.optional()
|
|
179
186
|
}
|
|
180
187
|
},
|
|
188
|
+
{
|
|
189
|
+
name: "update_issue",
|
|
190
|
+
description: [
|
|
191
|
+
"Update an issue's status or assignment in Sentry. This allows you to resolve, ignore, or reassign issues.",
|
|
192
|
+
"",
|
|
193
|
+
"Use this tool when you need to:",
|
|
194
|
+
"- Resolve an issue that has been fixed",
|
|
195
|
+
"- Assign an issue to a team member or team for investigation",
|
|
196
|
+
"- Mark an issue as ignored to reduce noise",
|
|
197
|
+
"- Reopen a resolved issue by setting status to 'unresolved'",
|
|
198
|
+
"",
|
|
199
|
+
"<examples>",
|
|
200
|
+
"### Resolve an issue",
|
|
201
|
+
"",
|
|
202
|
+
"```",
|
|
203
|
+
"update_issue(organizationSlug='my-organization', issueId='PROJECT-123', status='resolved')",
|
|
204
|
+
"```",
|
|
205
|
+
"",
|
|
206
|
+
"### Assign an issue to a user",
|
|
207
|
+
"",
|
|
208
|
+
"```",
|
|
209
|
+
"update_issue(organizationSlug='my-organization', issueId='PROJECT-123', assignedTo='john.doe')",
|
|
210
|
+
"```",
|
|
211
|
+
"",
|
|
212
|
+
"### Resolve an issue and assign it to yourself",
|
|
213
|
+
"",
|
|
214
|
+
"```",
|
|
215
|
+
"update_issue(organizationSlug='my-organization', issueId='PROJECT-123', status='resolved', assignedTo='me')",
|
|
216
|
+
"```",
|
|
217
|
+
"",
|
|
218
|
+
"### Mark an issue as ignored",
|
|
219
|
+
"",
|
|
220
|
+
"```",
|
|
221
|
+
"update_issue(organizationSlug='my-organization', issueId='PROJECT-123', status='ignored')",
|
|
222
|
+
"```",
|
|
223
|
+
"",
|
|
224
|
+
"</examples>",
|
|
225
|
+
"",
|
|
226
|
+
"<hints>",
|
|
227
|
+
"- If the user provides the `issueUrl`, you can ignore the other required parameters and extract them from the URL.",
|
|
228
|
+
"- At least one of `status` or `assignedTo` must be provided to update the issue.",
|
|
229
|
+
"- Use 'me' as the value for `assignedTo` to assign the issue to the authenticated user.",
|
|
230
|
+
"- Valid status values are: 'resolved', 'resolvedInNextRelease', 'unresolved', 'ignored'.",
|
|
231
|
+
"</hints>"
|
|
232
|
+
].join("\n"),
|
|
233
|
+
paramsSchema: {
|
|
234
|
+
organizationSlug: ParamOrganizationSlug.optional(),
|
|
235
|
+
regionUrl: ParamRegionUrl.optional(),
|
|
236
|
+
issueId: ParamIssueShortId.optional(),
|
|
237
|
+
issueUrl: ParamIssueUrl.optional(),
|
|
238
|
+
status: ParamIssueStatus.optional(),
|
|
239
|
+
assignedTo: ParamAssignedTo.optional()
|
|
240
|
+
}
|
|
241
|
+
},
|
|
181
242
|
{
|
|
182
243
|
name: "find_errors",
|
|
183
244
|
description: [
|
|
@@ -240,7 +301,7 @@ const TOOL_DEFINITIONS = [
|
|
|
240
301
|
"...",
|
|
241
302
|
"",
|
|
242
303
|
"```",
|
|
243
|
-
"find_transactions(organizationSlug='my-organization', transaction='/checkout', sortBy='
|
|
304
|
+
"find_transactions(organizationSlug='my-organization', transaction='/checkout', sortBy='duration')",
|
|
244
305
|
"```",
|
|
245
306
|
"",
|
|
246
307
|
"</examples>",
|
|
@@ -343,6 +404,56 @@ const TOOL_DEFINITIONS = [
|
|
|
343
404
|
name: z.string().trim().describe("The name of the DSN to create, for example 'Production'.")
|
|
344
405
|
}
|
|
345
406
|
},
|
|
407
|
+
{
|
|
408
|
+
name: "update_project",
|
|
409
|
+
description: [
|
|
410
|
+
"Update project settings in Sentry, such as name, slug, platform, and team assignment.",
|
|
411
|
+
"",
|
|
412
|
+
"Be careful when using this tool!",
|
|
413
|
+
"",
|
|
414
|
+
"Use this tool when you need to:",
|
|
415
|
+
"- Update a project's name or slug to fix onboarding mistakes",
|
|
416
|
+
"- Change the platform assigned to a project",
|
|
417
|
+
"- Update team assignment for a project",
|
|
418
|
+
"",
|
|
419
|
+
"<examples>",
|
|
420
|
+
"### Update a project's name and slug",
|
|
421
|
+
"",
|
|
422
|
+
"```",
|
|
423
|
+
"update_project(organizationSlug='my-organization', projectSlug='old-project', name='New Project Name', slug='new-project-slug')",
|
|
424
|
+
"```",
|
|
425
|
+
"",
|
|
426
|
+
"### Assign a project to a different team",
|
|
427
|
+
"",
|
|
428
|
+
"```",
|
|
429
|
+
"update_project(organizationSlug='my-organization', projectSlug='my-project', teamSlug='backend-team')",
|
|
430
|
+
"```",
|
|
431
|
+
"",
|
|
432
|
+
"### Update platform",
|
|
433
|
+
"",
|
|
434
|
+
"```",
|
|
435
|
+
"update_project(organizationSlug='my-organization', projectSlug='my-project', platform='python')",
|
|
436
|
+
"```",
|
|
437
|
+
"",
|
|
438
|
+
"</examples>",
|
|
439
|
+
"",
|
|
440
|
+
"<hints>",
|
|
441
|
+
"- If the user passes a parameter in the form of name/otherName, it's likely in the format of <organizationSlug>/<projectSlug>.",
|
|
442
|
+
"- Team assignment is handled separately from other project settings",
|
|
443
|
+
"- If any parameter is ambiguous, you should clarify with the user what they meant.",
|
|
444
|
+
"- When updating the slug, the project will be accessible at the new slug after the update",
|
|
445
|
+
"</hints>"
|
|
446
|
+
].join("\n"),
|
|
447
|
+
paramsSchema: {
|
|
448
|
+
organizationSlug: ParamOrganizationSlug,
|
|
449
|
+
regionUrl: ParamRegionUrl.optional(),
|
|
450
|
+
projectSlug: ParamProjectSlug,
|
|
451
|
+
name: z.string().trim().describe("The new name for the project").optional(),
|
|
452
|
+
slug: z.string().toLowerCase().trim().describe("The new slug for the project (must be unique)").optional(),
|
|
453
|
+
platform: ParamPlatform.optional(),
|
|
454
|
+
teamSlug: ParamTeamSlug.optional().describe("The team to assign this project to. Note: this will replace the current team assignment.")
|
|
455
|
+
}
|
|
456
|
+
},
|
|
346
457
|
{
|
|
347
458
|
name: "find_dsns",
|
|
348
459
|
description: [
|
|
@@ -427,4 +538,4 @@ const TOOL_DEFINITIONS = [
|
|
|
427
538
|
|
|
428
539
|
//#endregion
|
|
429
540
|
export { TOOL_DEFINITIONS };
|
|
430
|
-
//# sourceMappingURL=toolDefinitions-
|
|
541
|
+
//# sourceMappingURL=toolDefinitions-DFAxp3nr.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolDefinitions-DFAxp3nr.js","names":[],"sources":["../src/toolDefinitions.ts"],"sourcesContent":["/**\n * Tool definitions for the Sentry MCP server.\n *\n * Declarative definitions for all MCP tools that interface with Sentry's API.\n * Each tool definition includes its name, description, parameter schema, and\n * documentation for LLM consumption.\n *\n * @example Tool Definition Structure\n * ```typescript\n * {\n * name: \"tool_name\" as const,\n * description: [\n * \"Brief tool description.\",\n * \"\",\n * \"Use this tool when you need to:\",\n * \"- Specific use case 1\",\n * \"- Specific use case 2\",\n * ].join(\"\\n\"),\n * paramsSchema: {\n * organizationSlug: ParamOrganizationSlug,\n * optionalParam: ParamSchema.optional(),\n * },\n * }\n * ```\n */\n\n// TODO: this gets imported by the client code and thus is separated from server code\n// to avoid bundling issues. We'd like to find a better solution that isnt so brittle and keeps this code co-located w/ its tool calls.\nimport {\n ParamOrganizationSlug,\n ParamIssueShortId,\n ParamPlatform,\n ParamProjectSlug,\n ParamQuery,\n ParamTransaction,\n ParamRegionUrl,\n ParamProjectSlugOrAll,\n ParamIssueUrl,\n ParamTeamSlug,\n ParamIssueStatus,\n ParamAssignedTo,\n} from \"./schema\";\nimport { z } from \"zod\";\n\n/**\n * All MCP tool definitions for the Sentry server.\n *\n * Used by server.ts to register tools with the MCP server and by tools.ts\n * to validate parameters. Each definition includes name, description, and\n * Zod parameter schema.\n */\nexport const TOOL_DEFINITIONS = [\n {\n name: \"whoami\" as const,\n description: [\n \"Identify the authenticated user in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Get the user's name and email address.\",\n ].join(\"\\n\"),\n paramsSchema: {\n // No regionUrl parameter - user data must always come from the main API server\n },\n },\n {\n name: \"find_organizations\" as const,\n description: [\n \"Find organizations that the user has access to in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all organizations in Sentry\",\n \"- Find an organization's slug to aid other tool requests\",\n ].join(\"\\n\"),\n paramsSchema: {\n // No regionUrl parameter - user data and region lists must always come from the main API server\n },\n },\n {\n name: \"find_teams\" as const,\n description: [\n \"Find teams in an organization in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all teams in a Sentry organization\",\n \"- Find a team's slug to aid other tool requests\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n },\n },\n {\n name: \"find_projects\" as const,\n description: [\n \"Find projects in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all projects in a Sentry organization\",\n \"- Find a project's slug to aid other tool requests\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n },\n },\n {\n name: \"find_issues\" as const,\n description: [\n \"Find issues in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all issues in a Sentry organization\",\n \"\",\n \"If you're looking for more granular data beyond a summary of identified problems, you should use the `find_errors()` or `find_transactions()` tools instead.\",\n \"\",\n \"<examples>\",\n \"### Find the newest unresolved issues across 'my-organization'\",\n \"\",\n \"```\",\n \"find_issues(organizationSlug='my-organization', query='is:unresolved', sortBy='last_seen')\",\n \"```\",\n \"\",\n \"### Find the most frequently occurring crashes in the 'my-project' project\",\n \"\",\n \"```\",\n \"find_issues(organizationSlug='my-organization', projectSlug='my-project', query='is:unresolved error.handled:false', sortBy='count')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- You can use the `find_tags()` tool to see what user-defined tags are available.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug.optional(),\n query: ParamQuery.optional(),\n sortBy: z\n .enum([\"last_seen\", \"first_seen\", \"count\", \"userCount\"])\n .describe(\n \"Sort the results either by the last time they occurred, the first time they occurred, the count of occurrences, or the number of users affected.\",\n )\n .optional(),\n },\n },\n {\n name: \"find_releases\" as const,\n description: [\n \"Find releases in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Find recent releases in a Sentry organization\",\n \"- Find the most recent version released of a specific project\",\n \"- Determine when a release was deployed to an environment\",\n \"\",\n \"<examples>\",\n \"### Find the most recent releases in the 'my-organization' organization\",\n \"\",\n \"```\",\n \"find_releases(organizationSlug='my-organization')\",\n \"```\",\n \"\",\n \"### Find releases matching '2ce6a27' in the 'my-organization' organization\",\n \"\",\n \"```\",\n \"find_releases(organizationSlug='my-organization', query='2ce6a27')\",\n \"```\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlugOrAll.optional(),\n query: z\n .string()\n .trim()\n .describe(\"Search for versions which contain the provided string.\")\n .optional(),\n },\n },\n {\n name: \"find_tags\" as const,\n description: [\n \"Find tags in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Find tags available to use in search queries (such as `find_issues()` or `find_errors()`)\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n },\n },\n {\n name: \"get_issue_details\" as const,\n description: [\n \"Retrieve issue details from Sentry for a specific Issue ID, including the stacktrace and error message if available. Either issueId or issueUrl MUST be provided.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Investigate a specific production error\",\n \"- Access detailed error information and stacktraces from Sentry\",\n \"\",\n \"<examples>\",\n \"### Get details for issue ID 'CLOUDFLARE-MCP-41'\",\n \"\",\n \"```\",\n \"get_issue_details(organizationSlug='my-organization', issueId='CLOUDFLARE-MCP-41')\",\n \"```\",\n \"\",\n \"### Get details for event ID 'c49541c747cb4d8aa3efb70ca5aba243'\",\n \"\",\n \"```\",\n \"get_issue_details(organizationSlug='my-organization', eventId='c49541c747cb4d8aa3efb70ca5aba243')\",\n \"```\",\n \"</examples>\",\n\n \"<hints>\",\n \"- If the user provides the `issueUrl`, you can ignore the other parameters.\",\n \"- If the user provides `issueId` or `eventId` (only one is needed), `organizationSlug` is required.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n eventId: z.string().trim().describe(\"The ID of the event.\").optional(),\n issueUrl: ParamIssueUrl.optional(),\n },\n },\n {\n name: \"update_issue\" as const,\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\",\n \"\",\n \"```\",\n \"update_issue(organizationSlug='my-organization', issueId='PROJECT-123', assignedTo='john.doe')\",\n \"```\",\n \"\",\n \"### Resolve an issue and assign it to yourself\",\n \"\",\n \"```\",\n \"update_issue(organizationSlug='my-organization', issueId='PROJECT-123', status='resolved', assignedTo='me')\",\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 \"- Use 'me' as the value for `assignedTo` to assign the issue to the authenticated user.\",\n \"- Valid status values are: 'resolved', 'resolvedInNextRelease', 'unresolved', 'ignored'.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\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 },\n {\n name: \"find_errors\" as const,\n description: [\n \"Find errors in Sentry using advanced search syntax.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Search for production errors in a specific file.\",\n \"- Analyze error patterns and frequencies.\",\n \"- Find recent or frequently occurring errors.\",\n \"\",\n \"<examples>\",\n \"### Find common errors within a file\",\n \"\",\n \"To find common errors within a file, you can use the `filename` parameter. This is a suffix based search, so only using the filename or the direct parent folder of the file. The parent folder is preferred when the filename is in a subfolder or a common filename. If you provide generic filenames like `index.js` you're going to end up finding errors that are might be from completely different projects.\",\n \"\",\n \"```\",\n \"find_errors(organizationSlug='my-organization', filename='index.js', sortBy='count')\",\n \"```\",\n \"\",\n \"### Find recent crashes from the 'peated' project\",\n \"\",\n \"```\",\n \"find_errors(organizationSlug='my-organization', query='is:unresolved error.handled:false', projectSlug='peated', sortBy='last_seen')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you should call `find_organizations()` first.\",\n \"- If you are looking for issues, in a way that you might be looking for something like 'unresolved errors', you should use the `find_issues()` tool\",\n \"- You can use the `find_tags()` tool to see what user-defined tags are available.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlugOrAll.optional(),\n filename: z\n .string()\n .trim()\n .describe(\"The filename to search for errors in.\")\n .optional(),\n transaction: ParamTransaction.optional(),\n query: ParamQuery.optional(),\n sortBy: z\n .enum([\"last_seen\", \"count\"])\n .optional()\n .default(\"last_seen\")\n .describe(\n \"Sort the results either by the last time they occurred or the count of occurrences.\",\n ),\n },\n },\n {\n name: \"find_transactions\" as const,\n description: [\n \"Find transactions in Sentry using advanced search syntax.\",\n \"\",\n \"Transactions are segments of traces that are associated with a specific route or endpoint.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Search for production transaction data to understand performance.\",\n \"- Analyze traces and latency patterns.\",\n \"- Find examples of recent requests to endpoints.\",\n \"\",\n \"<examples>\",\n \"### Find slow requests to a route\",\n \"\",\n \"...\",\n \"\",\n \"```\",\n \"find_transactions(organizationSlug='my-organization', transaction='/checkout', sortBy='duration')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you might want to call `find_organizations()` first.\",\n \"- You can use the `find_tags()` tool to see what user-defined tags are available.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlugOrAll.optional(),\n transaction: ParamTransaction.optional(),\n query: ParamQuery.optional(),\n sortBy: z\n .enum([\"timestamp\", \"duration\"])\n .optional()\n .default(\"timestamp\")\n .describe(\n \"Sort the results either by the timestamp of the request (most recent first) or the duration of the request (longest first).\",\n ),\n },\n },\n {\n name: \"create_team\" as const,\n description: [\n \"Create a new team in Sentry.\",\n \"\",\n \"Be careful when using this tool!\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Create a new team in a Sentry organization\",\n \"\",\n \"<hints>\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n name: z.string().trim().describe(\"The name of the team to create.\"),\n },\n },\n {\n name: \"create_project\" as const,\n description: [\n \"Create a new project in Sentry, giving you access to a new SENTRY_DSN.\",\n \"\",\n \"Be careful when using this tool!\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Create a new project in a Sentry organization\",\n \"\",\n \"<examples>\",\n \"### Create a new javascript project in the 'my-organization' organization\",\n \"\",\n \"```\",\n \"create_project(organizationSlug='my-organization', teamSlug='my-team', name='my-project', platform='javascript')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<teamSlug>.\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n teamSlug: ParamTeamSlug,\n name: z\n .string()\n .trim()\n .describe(\n \"The name of the project to create. Typically this is commonly the name of the repository or service. It is only used as a visual label in Sentry.\",\n ),\n platform: ParamPlatform.optional(),\n },\n },\n {\n name: \"create_dsn\" as const,\n description: [\n \"Create a new Sentry DSN for a specific project.\",\n \"\",\n \"Be careful when using this tool!\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Create a new DSN for a specific project\",\n \"\",\n \"<examples>\",\n \"### Create a new DSN for the 'my-project' project\",\n \"\",\n \"```\",\n \"create_dsn(organizationSlug='my-organization', projectSlug='my-project', name='Production')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug,\n name: z\n .string()\n .trim()\n .describe(\"The name of the DSN to create, for example 'Production'.\"),\n },\n },\n {\n name: \"update_project\" as const,\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 paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug,\n name: z\n .string()\n .trim()\n .describe(\"The new name for the project\")\n .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 },\n {\n name: \"find_dsns\" as const,\n description: [\n \"List all Sentry DSNs for a specific project.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Retrieve a SENTRY_DSN for a specific project\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you might want to call `find_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug,\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug,\n },\n },\n {\n name: \"begin_seer_issue_fix\" as const,\n description: [\n \"Use Seer to analyze an issue in Sentry, identify a root cause, and suggest a fix for it.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Determine the root cause of an issue.\",\n \"- Generate a plan for fixing an issue.\",\n \"- Implement a fix for an issue.\",\n \"\",\n \"This operation may take some time, so you should call `get_seer_issue_fix_status()` to check the status of the analysis after you begin it.\",\n \"\",\n \"<examples>\",\n \"### Analyze and propose a fix for 'ISSUE-123' in Sentry\",\n \"\",\n \"```\",\n \"begin_seer_issue_fix(organizationSlug='my-organization', issueId='ISSUE-123')\",\n \"```\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- Always check to see if an issue fix is already in progress for before calling this tool by using `get_seer_issue_fix_status()`.\",\n \"- If the user provides the issueUrl, you can ignore the organizationSlug and issueId parameters.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: ParamIssueUrl.optional(),\n },\n },\n {\n name: \"get_seer_issue_fix_status\" as const,\n description: [\n \"Get the status of a root cause analysis for an issue in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Get the root cause analysis for an issue.\",\n \"- Get the status of a fix for an issue.\",\n \"\",\n \"<examples>\",\n \"### Get the status of a fix for the 'ISSUE-123' issue\",\n \"\",\n \"```\",\n \"get_seer_issue_fix_status(organizationSlug='my-organization', issueId='ISSUE-123')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user provides the issueUrl, you can ignore the organizationSlug and issueId parameters.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: ParamIssueUrl.optional(),\n },\n },\n];\n"],"mappings":";;;;;;;;;;;AAmDA,MAAa,mBAAmB;CAC9B;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc,CAEb;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc,CAEb;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB;GAClB,WAAW,eAAe,UAAU;EACrC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB;GAClB,WAAW,eAAe,UAAU;EACrC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB;GAClB,WAAW,eAAe,UAAU;GACpC,aAAa,iBAAiB,UAAU;GACxC,OAAO,WAAW,UAAU;GAC5B,QAAQ,EACL,KAAK;IAAC;IAAa;IAAc;IAAS;GAAY,EAAC,CACvD,SACC,mJACD,CACA,UAAU;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB;GAClB,WAAW,eAAe,UAAU;GACpC,aAAa,sBAAsB,UAAU;GAC7C,OAAO,EACJ,QAAQ,CACR,MAAM,CACN,SAAS,yDAAyD,CAClE,UAAU;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB;GAClB,WAAW,eAAe,UAAU;EACrC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GAEA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,SAAS,kBAAkB,UAAU;GACrC,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,SAAS,uBAAuB,CAAC,UAAU;GACtE,UAAU,cAAc,UAAU;EACnC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,SAAS,kBAAkB,UAAU;GACrC,UAAU,cAAc,UAAU;GAClC,QAAQ,iBAAiB,UAAU;GACnC,YAAY,gBAAgB,UAAU;EACvC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB;GAClB,WAAW,eAAe,UAAU;GACpC,aAAa,sBAAsB,UAAU;GAC7C,UAAU,EACP,QAAQ,CACR,MAAM,CACN,SAAS,wCAAwC,CACjD,UAAU;GACb,aAAa,iBAAiB,UAAU;GACxC,OAAO,WAAW,UAAU;GAC5B,QAAQ,EACL,KAAK,CAAC,aAAa,OAAQ,EAAC,CAC5B,UAAU,CACV,QAAQ,YAAY,CACpB,SACC,sFACD;EACJ;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB;GAClB,WAAW,eAAe,UAAU;GACpC,aAAa,sBAAsB,UAAU;GAC7C,aAAa,iBAAiB,UAAU;GACxC,OAAO,WAAW,UAAU;GAC5B,QAAQ,EACL,KAAK,CAAC,aAAa,UAAW,EAAC,CAC/B,UAAU,CACV,QAAQ,YAAY,CACpB,SACC,8HACD;EACJ;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB;GAClB,WAAW,eAAe,UAAU;GACpC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,SAAS,kCAAkC;EACpE;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB;GAClB,WAAW,eAAe,UAAU;GACpC,UAAU;GACV,MAAM,EACH,QAAQ,CACR,MAAM,CACN,SACC,oJACD;GACH,UAAU,cAAc,UAAU;EACnC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB;GAClB,WAAW,eAAe,UAAU;GACpC,aAAa;GACb,MAAM,EACH,QAAQ,CACR,MAAM,CACN,SAAS,2DAA2D;EACxE;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB;GAClB,WAAW,eAAe,UAAU;GACpC,aAAa;GACb,MAAM,EACH,QAAQ,CACR,MAAM,CACN,SAAS,+BAA+B,CACxC,UAAU;GACb,MAAM,EACH,QAAQ,CACR,aAAa,CACb,MAAM,CACN,SAAS,gDAAgD,CACzD,UAAU;GACb,UAAU,cAAc,UAAU;GAClC,UAAU,cAAc,UAAU,CAAC,SACjC,2FACD;EACF;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB;GAClB,WAAW,eAAe,UAAU;GACpC,aAAa;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,SAAS,kBAAkB,UAAU;GACrC,UAAU,cAAc,UAAU;EACnC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,SAAS,kBAAkB,UAAU;GACrC,UAAU,cAAc,UAAU;EACnC;CACF;AACF"}
|
|
@@ -1,156 +1,209 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/toolDefinitions.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* All MCP tool definitions for the Sentry server.
|
|
7
|
+
*
|
|
8
|
+
* Used by server.ts to register tools with the MCP server and by tools.ts
|
|
9
|
+
* to validate parameters. Each definition includes name, description, and
|
|
10
|
+
* Zod parameter schema.
|
|
11
|
+
*/
|
|
4
12
|
declare const TOOL_DEFINITIONS: ({
|
|
5
13
|
name: "whoami";
|
|
6
14
|
description: string;
|
|
7
15
|
paramsSchema: {
|
|
8
|
-
regionUrl: z.ZodOptional<z.ZodString>;
|
|
9
16
|
organizationSlug?: undefined;
|
|
17
|
+
regionUrl?: undefined;
|
|
10
18
|
projectSlug?: undefined;
|
|
11
19
|
query?: undefined;
|
|
12
20
|
sortBy?: undefined;
|
|
13
21
|
issueId?: undefined;
|
|
14
22
|
eventId?: undefined;
|
|
15
23
|
issueUrl?: undefined;
|
|
24
|
+
status?: undefined;
|
|
25
|
+
assignedTo?: undefined;
|
|
16
26
|
filename?: undefined;
|
|
17
27
|
transaction?: undefined;
|
|
18
28
|
name?: undefined;
|
|
19
29
|
teamSlug?: undefined;
|
|
20
30
|
platform?: undefined;
|
|
31
|
+
slug?: undefined;
|
|
21
32
|
};
|
|
22
33
|
} | {
|
|
23
34
|
name: "find_organizations";
|
|
24
35
|
description: string;
|
|
25
36
|
paramsSchema: {
|
|
26
|
-
regionUrl: z.ZodOptional<z.ZodString>;
|
|
27
37
|
organizationSlug?: undefined;
|
|
38
|
+
regionUrl?: undefined;
|
|
28
39
|
projectSlug?: undefined;
|
|
29
40
|
query?: undefined;
|
|
30
41
|
sortBy?: undefined;
|
|
31
42
|
issueId?: undefined;
|
|
32
43
|
eventId?: undefined;
|
|
33
44
|
issueUrl?: undefined;
|
|
45
|
+
status?: undefined;
|
|
46
|
+
assignedTo?: undefined;
|
|
34
47
|
filename?: undefined;
|
|
35
48
|
transaction?: undefined;
|
|
36
49
|
name?: undefined;
|
|
37
50
|
teamSlug?: undefined;
|
|
38
51
|
platform?: undefined;
|
|
52
|
+
slug?: undefined;
|
|
39
53
|
};
|
|
40
54
|
} | {
|
|
41
55
|
name: "find_teams";
|
|
42
56
|
description: string;
|
|
43
57
|
paramsSchema: {
|
|
44
58
|
organizationSlug: z.ZodString;
|
|
45
|
-
regionUrl: z.ZodOptional<z.ZodString
|
|
59
|
+
regionUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
46
60
|
projectSlug?: undefined;
|
|
47
61
|
query?: undefined;
|
|
48
62
|
sortBy?: undefined;
|
|
49
63
|
issueId?: undefined;
|
|
50
64
|
eventId?: undefined;
|
|
51
65
|
issueUrl?: undefined;
|
|
66
|
+
status?: undefined;
|
|
67
|
+
assignedTo?: undefined;
|
|
52
68
|
filename?: undefined;
|
|
53
69
|
transaction?: undefined;
|
|
54
70
|
name?: undefined;
|
|
55
71
|
teamSlug?: undefined;
|
|
56
72
|
platform?: undefined;
|
|
73
|
+
slug?: undefined;
|
|
57
74
|
};
|
|
58
75
|
} | {
|
|
59
76
|
name: "find_projects";
|
|
60
77
|
description: string;
|
|
61
78
|
paramsSchema: {
|
|
62
79
|
organizationSlug: z.ZodString;
|
|
63
|
-
regionUrl: z.ZodOptional<z.ZodString
|
|
80
|
+
regionUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
64
81
|
projectSlug?: undefined;
|
|
65
82
|
query?: undefined;
|
|
66
83
|
sortBy?: undefined;
|
|
67
84
|
issueId?: undefined;
|
|
68
85
|
eventId?: undefined;
|
|
69
86
|
issueUrl?: undefined;
|
|
87
|
+
status?: undefined;
|
|
88
|
+
assignedTo?: undefined;
|
|
70
89
|
filename?: undefined;
|
|
71
90
|
transaction?: undefined;
|
|
72
91
|
name?: undefined;
|
|
73
92
|
teamSlug?: undefined;
|
|
74
93
|
platform?: undefined;
|
|
94
|
+
slug?: undefined;
|
|
75
95
|
};
|
|
76
96
|
} | {
|
|
77
97
|
name: "find_issues";
|
|
78
98
|
description: string;
|
|
79
99
|
paramsSchema: {
|
|
80
100
|
organizationSlug: z.ZodString;
|
|
81
|
-
regionUrl: z.ZodOptional<z.ZodString
|
|
101
|
+
regionUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
82
102
|
projectSlug: z.ZodOptional<z.ZodString>;
|
|
83
103
|
query: z.ZodOptional<z.ZodString>;
|
|
84
104
|
sortBy: z.ZodOptional<z.ZodEnum<["last_seen", "first_seen", "count", "userCount"]>>;
|
|
85
105
|
issueId?: undefined;
|
|
86
106
|
eventId?: undefined;
|
|
87
107
|
issueUrl?: undefined;
|
|
108
|
+
status?: undefined;
|
|
109
|
+
assignedTo?: undefined;
|
|
88
110
|
filename?: undefined;
|
|
89
111
|
transaction?: undefined;
|
|
90
112
|
name?: undefined;
|
|
91
113
|
teamSlug?: undefined;
|
|
92
114
|
platform?: undefined;
|
|
115
|
+
slug?: undefined;
|
|
93
116
|
};
|
|
94
117
|
} | {
|
|
95
118
|
name: "find_releases";
|
|
96
119
|
description: string;
|
|
97
120
|
paramsSchema: {
|
|
98
121
|
organizationSlug: z.ZodString;
|
|
99
|
-
regionUrl: z.ZodOptional<z.ZodString
|
|
122
|
+
regionUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
100
123
|
projectSlug: z.ZodOptional<z.ZodString>;
|
|
101
124
|
query: z.ZodOptional<z.ZodString>;
|
|
102
125
|
sortBy?: undefined;
|
|
103
126
|
issueId?: undefined;
|
|
104
127
|
eventId?: undefined;
|
|
105
128
|
issueUrl?: undefined;
|
|
129
|
+
status?: undefined;
|
|
130
|
+
assignedTo?: undefined;
|
|
106
131
|
filename?: undefined;
|
|
107
132
|
transaction?: undefined;
|
|
108
133
|
name?: undefined;
|
|
109
134
|
teamSlug?: undefined;
|
|
110
135
|
platform?: undefined;
|
|
136
|
+
slug?: undefined;
|
|
111
137
|
};
|
|
112
138
|
} | {
|
|
113
139
|
name: "find_tags";
|
|
114
140
|
description: string;
|
|
115
141
|
paramsSchema: {
|
|
116
142
|
organizationSlug: z.ZodString;
|
|
117
|
-
regionUrl: z.ZodOptional<z.ZodString
|
|
143
|
+
regionUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
118
144
|
projectSlug?: undefined;
|
|
119
145
|
query?: undefined;
|
|
120
146
|
sortBy?: undefined;
|
|
121
147
|
issueId?: undefined;
|
|
122
148
|
eventId?: undefined;
|
|
123
149
|
issueUrl?: undefined;
|
|
150
|
+
status?: undefined;
|
|
151
|
+
assignedTo?: undefined;
|
|
124
152
|
filename?: undefined;
|
|
125
153
|
transaction?: undefined;
|
|
126
154
|
name?: undefined;
|
|
127
155
|
teamSlug?: undefined;
|
|
128
156
|
platform?: undefined;
|
|
157
|
+
slug?: undefined;
|
|
129
158
|
};
|
|
130
159
|
} | {
|
|
131
160
|
name: "get_issue_details";
|
|
132
161
|
description: string;
|
|
133
162
|
paramsSchema: {
|
|
134
163
|
organizationSlug: z.ZodOptional<z.ZodString>;
|
|
135
|
-
regionUrl: z.ZodOptional<z.ZodString
|
|
164
|
+
regionUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
136
165
|
issueId: z.ZodOptional<z.ZodString>;
|
|
137
166
|
eventId: z.ZodOptional<z.ZodString>;
|
|
138
167
|
issueUrl: z.ZodOptional<z.ZodString>;
|
|
139
168
|
projectSlug?: undefined;
|
|
140
169
|
query?: undefined;
|
|
141
170
|
sortBy?: undefined;
|
|
171
|
+
status?: undefined;
|
|
172
|
+
assignedTo?: undefined;
|
|
142
173
|
filename?: undefined;
|
|
143
174
|
transaction?: undefined;
|
|
144
175
|
name?: undefined;
|
|
145
176
|
teamSlug?: undefined;
|
|
146
177
|
platform?: undefined;
|
|
178
|
+
slug?: undefined;
|
|
179
|
+
};
|
|
180
|
+
} | {
|
|
181
|
+
name: "update_issue";
|
|
182
|
+
description: string;
|
|
183
|
+
paramsSchema: {
|
|
184
|
+
organizationSlug: z.ZodOptional<z.ZodString>;
|
|
185
|
+
regionUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
186
|
+
issueId: z.ZodOptional<z.ZodString>;
|
|
187
|
+
issueUrl: z.ZodOptional<z.ZodString>;
|
|
188
|
+
status: z.ZodOptional<z.ZodEnum<["resolved", "resolvedInNextRelease", "unresolved", "ignored"]>>;
|
|
189
|
+
assignedTo: z.ZodOptional<z.ZodString>;
|
|
190
|
+
projectSlug?: undefined;
|
|
191
|
+
query?: undefined;
|
|
192
|
+
sortBy?: undefined;
|
|
193
|
+
eventId?: undefined;
|
|
194
|
+
filename?: undefined;
|
|
195
|
+
transaction?: undefined;
|
|
196
|
+
name?: undefined;
|
|
197
|
+
teamSlug?: undefined;
|
|
198
|
+
platform?: undefined;
|
|
199
|
+
slug?: undefined;
|
|
147
200
|
};
|
|
148
201
|
} | {
|
|
149
202
|
name: "find_errors";
|
|
150
203
|
description: string;
|
|
151
204
|
paramsSchema: {
|
|
152
205
|
organizationSlug: z.ZodString;
|
|
153
|
-
regionUrl: z.ZodOptional<z.ZodString
|
|
206
|
+
regionUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
154
207
|
projectSlug: z.ZodOptional<z.ZodString>;
|
|
155
208
|
filename: z.ZodOptional<z.ZodString>;
|
|
156
209
|
transaction: z.ZodOptional<z.ZodString>;
|
|
@@ -159,16 +212,19 @@ declare const TOOL_DEFINITIONS: ({
|
|
|
159
212
|
issueId?: undefined;
|
|
160
213
|
eventId?: undefined;
|
|
161
214
|
issueUrl?: undefined;
|
|
215
|
+
status?: undefined;
|
|
216
|
+
assignedTo?: undefined;
|
|
162
217
|
name?: undefined;
|
|
163
218
|
teamSlug?: undefined;
|
|
164
219
|
platform?: undefined;
|
|
220
|
+
slug?: undefined;
|
|
165
221
|
};
|
|
166
222
|
} | {
|
|
167
223
|
name: "find_transactions";
|
|
168
224
|
description: string;
|
|
169
225
|
paramsSchema: {
|
|
170
226
|
organizationSlug: z.ZodString;
|
|
171
|
-
regionUrl: z.ZodOptional<z.ZodString
|
|
227
|
+
regionUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
172
228
|
projectSlug: z.ZodOptional<z.ZodString>;
|
|
173
229
|
transaction: z.ZodOptional<z.ZodString>;
|
|
174
230
|
query: z.ZodOptional<z.ZodString>;
|
|
@@ -176,17 +232,20 @@ declare const TOOL_DEFINITIONS: ({
|
|
|
176
232
|
issueId?: undefined;
|
|
177
233
|
eventId?: undefined;
|
|
178
234
|
issueUrl?: undefined;
|
|
235
|
+
status?: undefined;
|
|
236
|
+
assignedTo?: undefined;
|
|
179
237
|
filename?: undefined;
|
|
180
238
|
name?: undefined;
|
|
181
239
|
teamSlug?: undefined;
|
|
182
240
|
platform?: undefined;
|
|
241
|
+
slug?: undefined;
|
|
183
242
|
};
|
|
184
243
|
} | {
|
|
185
244
|
name: "create_team";
|
|
186
245
|
description: string;
|
|
187
246
|
paramsSchema: {
|
|
188
247
|
organizationSlug: z.ZodString;
|
|
189
|
-
regionUrl: z.ZodOptional<z.ZodString
|
|
248
|
+
regionUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
190
249
|
name: z.ZodString;
|
|
191
250
|
projectSlug?: undefined;
|
|
192
251
|
query?: undefined;
|
|
@@ -194,17 +253,20 @@ declare const TOOL_DEFINITIONS: ({
|
|
|
194
253
|
issueId?: undefined;
|
|
195
254
|
eventId?: undefined;
|
|
196
255
|
issueUrl?: undefined;
|
|
256
|
+
status?: undefined;
|
|
257
|
+
assignedTo?: undefined;
|
|
197
258
|
filename?: undefined;
|
|
198
259
|
transaction?: undefined;
|
|
199
260
|
teamSlug?: undefined;
|
|
200
261
|
platform?: undefined;
|
|
262
|
+
slug?: undefined;
|
|
201
263
|
};
|
|
202
264
|
} | {
|
|
203
265
|
name: "create_project";
|
|
204
266
|
description: string;
|
|
205
267
|
paramsSchema: {
|
|
206
268
|
organizationSlug: z.ZodString;
|
|
207
|
-
regionUrl: z.ZodOptional<z.ZodString
|
|
269
|
+
regionUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
208
270
|
teamSlug: z.ZodString;
|
|
209
271
|
name: z.ZodString;
|
|
210
272
|
platform: z.ZodOptional<z.ZodString>;
|
|
@@ -214,15 +276,18 @@ declare const TOOL_DEFINITIONS: ({
|
|
|
214
276
|
issueId?: undefined;
|
|
215
277
|
eventId?: undefined;
|
|
216
278
|
issueUrl?: undefined;
|
|
279
|
+
status?: undefined;
|
|
280
|
+
assignedTo?: undefined;
|
|
217
281
|
filename?: undefined;
|
|
218
282
|
transaction?: undefined;
|
|
283
|
+
slug?: undefined;
|
|
219
284
|
};
|
|
220
285
|
} | {
|
|
221
286
|
name: "create_dsn";
|
|
222
287
|
description: string;
|
|
223
288
|
paramsSchema: {
|
|
224
289
|
organizationSlug: z.ZodString;
|
|
225
|
-
regionUrl: z.ZodOptional<z.ZodString
|
|
290
|
+
regionUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
226
291
|
projectSlug: z.ZodString;
|
|
227
292
|
name: z.ZodString;
|
|
228
293
|
query?: undefined;
|
|
@@ -230,67 +295,100 @@ declare const TOOL_DEFINITIONS: ({
|
|
|
230
295
|
issueId?: undefined;
|
|
231
296
|
eventId?: undefined;
|
|
232
297
|
issueUrl?: undefined;
|
|
298
|
+
status?: undefined;
|
|
299
|
+
assignedTo?: undefined;
|
|
233
300
|
filename?: undefined;
|
|
234
301
|
transaction?: undefined;
|
|
235
302
|
teamSlug?: undefined;
|
|
236
303
|
platform?: undefined;
|
|
304
|
+
slug?: undefined;
|
|
305
|
+
};
|
|
306
|
+
} | {
|
|
307
|
+
name: "update_project";
|
|
308
|
+
description: string;
|
|
309
|
+
paramsSchema: {
|
|
310
|
+
organizationSlug: z.ZodString;
|
|
311
|
+
regionUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
312
|
+
projectSlug: z.ZodString;
|
|
313
|
+
name: z.ZodOptional<z.ZodString>;
|
|
314
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
315
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
316
|
+
teamSlug: z.ZodOptional<z.ZodString>;
|
|
317
|
+
query?: undefined;
|
|
318
|
+
sortBy?: undefined;
|
|
319
|
+
issueId?: undefined;
|
|
320
|
+
eventId?: undefined;
|
|
321
|
+
issueUrl?: undefined;
|
|
322
|
+
status?: undefined;
|
|
323
|
+
assignedTo?: undefined;
|
|
324
|
+
filename?: undefined;
|
|
325
|
+
transaction?: undefined;
|
|
237
326
|
};
|
|
238
327
|
} | {
|
|
239
328
|
name: "find_dsns";
|
|
240
329
|
description: string;
|
|
241
330
|
paramsSchema: {
|
|
242
331
|
organizationSlug: z.ZodString;
|
|
243
|
-
regionUrl: z.ZodOptional<z.ZodString
|
|
332
|
+
regionUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
244
333
|
projectSlug: z.ZodString;
|
|
245
334
|
query?: undefined;
|
|
246
335
|
sortBy?: undefined;
|
|
247
336
|
issueId?: undefined;
|
|
248
337
|
eventId?: undefined;
|
|
249
338
|
issueUrl?: undefined;
|
|
339
|
+
status?: undefined;
|
|
340
|
+
assignedTo?: undefined;
|
|
250
341
|
filename?: undefined;
|
|
251
342
|
transaction?: undefined;
|
|
252
343
|
name?: undefined;
|
|
253
344
|
teamSlug?: undefined;
|
|
254
345
|
platform?: undefined;
|
|
346
|
+
slug?: undefined;
|
|
255
347
|
};
|
|
256
348
|
} | {
|
|
257
349
|
name: "begin_seer_issue_fix";
|
|
258
350
|
description: string;
|
|
259
351
|
paramsSchema: {
|
|
260
352
|
organizationSlug: z.ZodOptional<z.ZodString>;
|
|
261
|
-
regionUrl: z.ZodOptional<z.ZodString
|
|
353
|
+
regionUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
262
354
|
issueId: z.ZodOptional<z.ZodString>;
|
|
263
355
|
issueUrl: z.ZodOptional<z.ZodString>;
|
|
264
356
|
projectSlug?: undefined;
|
|
265
357
|
query?: undefined;
|
|
266
358
|
sortBy?: undefined;
|
|
267
359
|
eventId?: undefined;
|
|
360
|
+
status?: undefined;
|
|
361
|
+
assignedTo?: undefined;
|
|
268
362
|
filename?: undefined;
|
|
269
363
|
transaction?: undefined;
|
|
270
364
|
name?: undefined;
|
|
271
365
|
teamSlug?: undefined;
|
|
272
366
|
platform?: undefined;
|
|
367
|
+
slug?: undefined;
|
|
273
368
|
};
|
|
274
369
|
} | {
|
|
275
370
|
name: "get_seer_issue_fix_status";
|
|
276
371
|
description: string;
|
|
277
372
|
paramsSchema: {
|
|
278
373
|
organizationSlug: z.ZodOptional<z.ZodString>;
|
|
279
|
-
regionUrl: z.ZodOptional<z.ZodString
|
|
374
|
+
regionUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
280
375
|
issueId: z.ZodOptional<z.ZodString>;
|
|
281
376
|
issueUrl: z.ZodOptional<z.ZodString>;
|
|
282
377
|
projectSlug?: undefined;
|
|
283
378
|
query?: undefined;
|
|
284
379
|
sortBy?: undefined;
|
|
285
380
|
eventId?: undefined;
|
|
381
|
+
status?: undefined;
|
|
382
|
+
assignedTo?: undefined;
|
|
286
383
|
filename?: undefined;
|
|
287
384
|
transaction?: undefined;
|
|
288
385
|
name?: undefined;
|
|
289
386
|
teamSlug?: undefined;
|
|
290
387
|
platform?: undefined;
|
|
388
|
+
slug?: undefined;
|
|
291
389
|
};
|
|
292
390
|
})[];
|
|
293
391
|
//# sourceMappingURL=toolDefinitions.d.ts.map
|
|
294
392
|
//#endregion
|
|
295
393
|
export { TOOL_DEFINITIONS };
|
|
296
|
-
//# sourceMappingURL=toolDefinitions-
|
|
394
|
+
//# sourceMappingURL=toolDefinitions-Ipvr4Acw.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolDefinitions-Ipvr4Acw.d.cts","names":[],"sources":["../src/toolDefinitions.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;cAmDa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAyjBZ,CAAA,CAAA"}
|
package/dist/toolDefinitions.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require('./schema-
|
|
2
|
-
const require_toolDefinitions = require('./toolDefinitions-
|
|
1
|
+
require('./schema-BTfISwFu.cjs');
|
|
2
|
+
const require_toolDefinitions = require('./toolDefinitions-CUegGcWU.cjs');
|
|
3
3
|
|
|
4
4
|
exports.TOOL_DEFINITIONS = require_toolDefinitions.TOOL_DEFINITIONS;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TOOL_DEFINITIONS } from "./toolDefinitions-
|
|
1
|
+
import { TOOL_DEFINITIONS } from "./toolDefinitions-Ipvr4Acw.cjs";
|
|
2
2
|
export { TOOL_DEFINITIONS };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TOOL_DEFINITIONS } from "./toolDefinitions-
|
|
1
|
+
import { TOOL_DEFINITIONS } from "./toolDefinitions-BOMF-zIC.js";
|
|
2
2
|
export { TOOL_DEFINITIONS };
|