@sentry/mcp-server 0.4.0 → 0.5.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 +6 -3
- 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 +5 -2
- 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 +2 -2
- package/dist/api-client/types.d.ts +2 -2
- package/dist/{client-BKLE5Lkt.js → client-CpiyA8FR.js} +39 -36
- package/dist/client-CpiyA8FR.js.map +1 -0
- package/dist/{client-C_XfRSu3.cjs → client-GWxnTlSP.cjs} +39 -36
- package/dist/client-GWxnTlSP.cjs.map +1 -0
- package/dist/{client.d-BizHDVuq.d.cts → client.d-ar2BvC_o.d.cts} +23 -21
- package/dist/client.d-ar2BvC_o.d.cts.map +1 -0
- package/dist/{client.d-CrWOcVIU.d.ts → client.d-eUhyVsN_.d.ts} +27 -25
- package/dist/client.d-eUhyVsN_.d.ts.map +1 -0
- package/dist/index.cjs +10 -10
- package/dist/index.js +10 -10
- package/dist/internal/formatting.d.cts +3 -3
- package/dist/internal/formatting.d.ts +3 -3
- package/dist/internal/issue-helpers.cjs +4 -2
- package/dist/internal/issue-helpers.d.cts +30 -1
- package/dist/internal/issue-helpers.d.cts.map +1 -1
- package/dist/internal/issue-helpers.d.ts +30 -1
- package/dist/internal/issue-helpers.d.ts.map +1 -1
- package/dist/internal/issue-helpers.js +2 -2
- package/dist/internal/issue-helpers.test.cjs +41 -1
- package/dist/internal/issue-helpers.test.cjs.map +1 -1
- package/dist/internal/issue-helpers.test.js +41 -1
- package/dist/internal/issue-helpers.test.js.map +1 -1
- package/dist/issue-helpers-CdWMhVWJ.cjs +87 -0
- package/dist/issue-helpers-CdWMhVWJ.cjs.map +1 -0
- package/dist/{issue-helpers-C0kEdXOE.cjs → issue-helpers-Cx6bFCUv.js} +38 -9
- package/dist/issue-helpers-Cx6bFCUv.js.map +1 -0
- package/dist/{promptDefinitions-CaRMCDPI.js → promptDefinitions-C9aGYWZ6.js} +2 -2
- package/dist/{promptDefinitions-CaRMCDPI.js.map → promptDefinitions-C9aGYWZ6.js.map} +1 -1
- package/dist/{promptDefinitions-CVB4IyVf.cjs → promptDefinitions-OnJHLqrZ.cjs} +2 -2
- package/dist/{promptDefinitions-CVB4IyVf.cjs.map → promptDefinitions-OnJHLqrZ.cjs.map} +1 -1
- package/dist/promptDefinitions.cjs +2 -2
- package/dist/promptDefinitions.js +2 -2
- package/dist/{schema-Bc6_gUDA.cjs → schema-BnXdl41H.cjs} +71 -13
- package/dist/schema-BnXdl41H.cjs.map +1 -0
- package/dist/{schema-D1B8p0Ib.js → schema-BzPfPMq7.js} +54 -14
- package/dist/schema-BzPfPMq7.js.map +1 -0
- package/dist/{schema-BvloqMHW.cjs → schema-_xqdSRLo.cjs} +8 -1
- package/dist/{schema-BvloqMHW.cjs.map → schema-_xqdSRLo.cjs.map} +1 -1
- package/dist/{schema-k04PdSCK.js → schema-pZrPEvtp.js} +3 -2
- package/dist/{schema-k04PdSCK.js.map → schema-pZrPEvtp.js.map} +1 -1
- package/dist/schema.cjs +2 -1
- package/dist/{schema.d-cvHc3M20.d.cts → schema.d-DJThZSuo.d.cts} +2924 -158
- package/dist/schema.d-DJThZSuo.d.cts.map +1 -0
- package/dist/{schema.d-DQ5YUr0Y.d.ts → schema.d-DwpHAZsi.d.ts} +2950 -184
- package/dist/schema.d-DwpHAZsi.d.ts.map +1 -0
- package/dist/schema.d.cts +2 -1
- package/dist/schema.d.cts.map +1 -1
- package/dist/schema.d.ts +2 -1
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +2 -2
- package/dist/{server-DQ_dBWQy.cjs → server-D-JY6wPp.cjs} +5 -5
- package/dist/{server-DQ_dBWQy.cjs.map → server-D-JY6wPp.cjs.map} +1 -1
- package/dist/{server-DHbbEoa2.js → server-oefnmsHZ.js} +5 -5
- package/dist/{server-DHbbEoa2.js.map → server-oefnmsHZ.js.map} +1 -1
- package/dist/server.cjs +8 -8
- package/dist/server.d.cts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +8 -8
- package/dist/{stdio-BHg5CaoN.js → stdio-B31CD06F.js} +2 -2
- package/dist/{stdio-BHg5CaoN.js.map → stdio-B31CD06F.js.map} +1 -1
- package/dist/{stdio-CRqulLZQ.cjs → stdio-BsGPoQfx.cjs} +2 -2
- package/dist/{stdio-CRqulLZQ.cjs.map → stdio-BsGPoQfx.cjs.map} +1 -1
- package/dist/test-setup.cjs +42 -5
- package/dist/test-setup.cjs.map +1 -1
- package/dist/test-setup.js +42 -5
- package/dist/test-setup.js.map +1 -1
- package/dist/{toolDefinitions-BJ0cyDce.cjs → toolDefinitions-C0t6Y5Su.cjs} +26 -5
- package/dist/toolDefinitions-C0t6Y5Su.cjs.map +1 -0
- package/dist/{toolDefinitions-L20Lv3AW.js → toolDefinitions-DB4pPvgy.js} +26 -5
- package/dist/toolDefinitions-DB4pPvgy.js.map +1 -0
- package/dist/toolDefinitions.cjs +2 -2
- package/dist/{toolDefinitions.d-C0zMvL9m.d.ts → toolDefinitions.d-C5JUBInb.d.ts} +16 -1
- package/dist/toolDefinitions.d-C5JUBInb.d.ts.map +1 -0
- package/dist/{toolDefinitions.d-Dx4q--0l.d.cts → toolDefinitions.d-CsT15_MF.d.cts} +16 -1
- package/dist/toolDefinitions.d-CsT15_MF.d.cts.map +1 -0
- 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-B22b8Jjm.cjs → tools-Ck2CHZeM.cjs} +118 -101
- package/dist/tools-Ck2CHZeM.cjs.map +1 -0
- package/dist/{tools-CXgh-6Vh.js → tools-_Y9eV4LR.js} +118 -101
- package/dist/tools-_Y9eV4LR.js.map +1 -0
- package/dist/tools.cjs +4 -4
- package/dist/tools.d.cts +32 -75
- package/dist/tools.d.cts.map +1 -1
- package/dist/tools.d.ts +35 -78
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +4 -4
- package/dist/tools.test.cjs +53 -7
- package/dist/tools.test.cjs.map +1 -1
- package/dist/tools.test.js +53 -7
- package/dist/tools.test.js.map +1 -1
- package/dist/transports/stdio.cjs +9 -9
- package/dist/transports/stdio.d.cts +2 -2
- package/dist/transports/stdio.d.ts +2 -2
- package/dist/transports/stdio.js +9 -9
- package/dist/{types.d-DsrCjT7G.d.ts → types.d-B-acZthg.d.ts} +2 -2
- package/dist/{types.d-DsrCjT7G.d.ts.map → types.d-B-acZthg.d.ts.map} +1 -1
- package/dist/{types.d-DHI7S0mb.d.ts → types.d-BeKsSRmy.d.ts} +2 -2
- package/dist/{types.d-DHI7S0mb.d.ts.map → types.d-BeKsSRmy.d.ts.map} +1 -1
- package/dist/{types.d-DQGXrBBW.d.cts → types.d-BfhMPrt_.d.cts} +2 -2
- package/dist/{types.d-DQGXrBBW.d.cts.map → types.d-BfhMPrt_.d.cts.map} +1 -1
- package/dist/{types.d-r20cCyVI.d.cts → types.d-Z5OEf3rw.d.cts} +2 -2
- package/dist/{types.d-r20cCyVI.d.cts.map → types.d-Z5OEf3rw.d.cts.map} +1 -1
- package/dist/types.d.cts +2 -2
- package/dist/types.d.ts +2 -2
- package/dist/version-B5Fav38l.js +6 -0
- package/dist/version-B5Fav38l.js.map +1 -0
- package/dist/{version-D93Bj2gg.cjs → version-BFCcfCIj.cjs} +2 -2
- package/dist/version-BFCcfCIj.cjs.map +1 -0
- package/dist/version.cjs +1 -1
- package/dist/version.d.cts +1 -1
- package/dist/version.d.cts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -4
- package/dist/client-BKLE5Lkt.js.map +0 -1
- package/dist/client-C_XfRSu3.cjs.map +0 -1
- package/dist/client.d-BizHDVuq.d.cts.map +0 -1
- package/dist/client.d-CrWOcVIU.d.ts.map +0 -1
- package/dist/issue-helpers-C0kEdXOE.cjs.map +0 -1
- package/dist/issue-helpers-DFde36Zu.js +0 -32
- package/dist/issue-helpers-DFde36Zu.js.map +0 -1
- package/dist/schema-Bc6_gUDA.cjs.map +0 -1
- package/dist/schema-D1B8p0Ib.js.map +0 -1
- package/dist/schema.d-DQ5YUr0Y.d.ts.map +0 -1
- package/dist/schema.d-cvHc3M20.d.cts.map +0 -1
- package/dist/toolDefinitions-BJ0cyDce.cjs.map +0 -1
- package/dist/toolDefinitions-L20Lv3AW.js.map +0 -1
- package/dist/toolDefinitions.d-C0zMvL9m.d.ts.map +0 -1
- package/dist/toolDefinitions.d-Dx4q--0l.d.cts.map +0 -1
- package/dist/tools-B22b8Jjm.cjs.map +0 -1
- package/dist/tools-CXgh-6Vh.js.map +0 -1
- package/dist/version-D93Bj2gg.cjs.map +0 -1
- package/dist/version-DkmlRpxa.js +0 -6
- package/dist/version-DkmlRpxa.js.map +0 -1
package/dist/tools.d.cts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import "./promptDefinitions.d-ByaZdRYv.cjs";
|
|
2
|
-
import "./toolDefinitions.d-
|
|
3
|
-
import { ServerContext } from "./types.d-
|
|
2
|
+
import "./toolDefinitions.d-CsT15_MF.cjs";
|
|
3
|
+
import { ServerContext } from "./types.d-BfhMPrt_.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/tools.d.ts
|
|
6
6
|
declare const TOOL_HANDLERS: {
|
|
7
7
|
list_organizations: (context: ServerContext) => Promise<string>;
|
|
8
|
-
list_teams: (context: ServerContext, {
|
|
9
|
-
organizationSlug
|
|
10
|
-
}: {
|
|
8
|
+
list_teams: (context: ServerContext, params: {
|
|
11
9
|
organizationSlug: string | undefined;
|
|
10
|
+
regionUrl: string | undefined;
|
|
12
11
|
projectSlug?: unknown;
|
|
13
12
|
query?: unknown;
|
|
14
13
|
sortBy?: unknown;
|
|
@@ -20,10 +19,9 @@ declare const TOOL_HANDLERS: {
|
|
|
20
19
|
teamSlug?: unknown;
|
|
21
20
|
platform?: unknown;
|
|
22
21
|
}) => Promise<string>;
|
|
23
|
-
list_projects: (context: ServerContext, {
|
|
24
|
-
organizationSlug
|
|
25
|
-
}: {
|
|
22
|
+
list_projects: (context: ServerContext, params: {
|
|
26
23
|
organizationSlug: string | undefined;
|
|
24
|
+
regionUrl: string | undefined;
|
|
27
25
|
projectSlug?: unknown;
|
|
28
26
|
query?: unknown;
|
|
29
27
|
sortBy?: unknown;
|
|
@@ -35,13 +33,9 @@ declare const TOOL_HANDLERS: {
|
|
|
35
33
|
teamSlug?: unknown;
|
|
36
34
|
platform?: unknown;
|
|
37
35
|
}) => Promise<string>;
|
|
38
|
-
list_issues: (context: ServerContext, {
|
|
39
|
-
organizationSlug,
|
|
40
|
-
projectSlug,
|
|
41
|
-
query,
|
|
42
|
-
sortBy
|
|
43
|
-
}: {
|
|
36
|
+
list_issues: (context: ServerContext, params: {
|
|
44
37
|
organizationSlug: string | undefined;
|
|
38
|
+
regionUrl: string | undefined;
|
|
45
39
|
projectSlug: string | undefined;
|
|
46
40
|
query: string | undefined;
|
|
47
41
|
sortBy: "last_seen" | "first_seen" | "count" | "userCount" | undefined;
|
|
@@ -53,11 +47,9 @@ declare const TOOL_HANDLERS: {
|
|
|
53
47
|
teamSlug?: unknown;
|
|
54
48
|
platform?: unknown;
|
|
55
49
|
}) => Promise<string>;
|
|
56
|
-
list_releases: (context: ServerContext, {
|
|
57
|
-
organizationSlug,
|
|
58
|
-
projectSlug
|
|
59
|
-
}: {
|
|
50
|
+
list_releases: (context: ServerContext, params: {
|
|
60
51
|
organizationSlug: string | undefined;
|
|
52
|
+
regionUrl: string | undefined;
|
|
61
53
|
projectSlug: string | undefined;
|
|
62
54
|
query?: unknown;
|
|
63
55
|
sortBy?: unknown;
|
|
@@ -69,10 +61,9 @@ declare const TOOL_HANDLERS: {
|
|
|
69
61
|
teamSlug?: unknown;
|
|
70
62
|
platform?: unknown;
|
|
71
63
|
}) => Promise<string>;
|
|
72
|
-
list_tags: (context: ServerContext, {
|
|
73
|
-
organizationSlug
|
|
74
|
-
}: {
|
|
64
|
+
list_tags: (context: ServerContext, params: {
|
|
75
65
|
organizationSlug: string | undefined;
|
|
66
|
+
regionUrl: string | undefined;
|
|
76
67
|
projectSlug?: unknown;
|
|
77
68
|
query?: unknown;
|
|
78
69
|
sortBy?: unknown;
|
|
@@ -84,12 +75,9 @@ declare const TOOL_HANDLERS: {
|
|
|
84
75
|
teamSlug?: unknown;
|
|
85
76
|
platform?: unknown;
|
|
86
77
|
}) => Promise<string>;
|
|
87
|
-
get_issue_summary: (context: ServerContext, {
|
|
88
|
-
issueId,
|
|
89
|
-
issueUrl,
|
|
90
|
-
organizationSlug
|
|
91
|
-
}: {
|
|
78
|
+
get_issue_summary: (context: ServerContext, params: {
|
|
92
79
|
organizationSlug: string | undefined;
|
|
80
|
+
regionUrl: string | undefined;
|
|
93
81
|
issueId: string | undefined;
|
|
94
82
|
issueUrl: string | undefined;
|
|
95
83
|
projectSlug?: unknown;
|
|
@@ -101,12 +89,9 @@ declare const TOOL_HANDLERS: {
|
|
|
101
89
|
teamSlug?: unknown;
|
|
102
90
|
platform?: unknown;
|
|
103
91
|
}) => Promise<string>;
|
|
104
|
-
get_issue_details: (context: ServerContext, {
|
|
105
|
-
issueId,
|
|
106
|
-
issueUrl,
|
|
107
|
-
organizationSlug
|
|
108
|
-
}: {
|
|
92
|
+
get_issue_details: (context: ServerContext, params: {
|
|
109
93
|
organizationSlug: string | undefined;
|
|
94
|
+
regionUrl: string | undefined;
|
|
110
95
|
issueId: string | undefined;
|
|
111
96
|
issueUrl: string | undefined;
|
|
112
97
|
projectSlug?: unknown;
|
|
@@ -118,15 +103,9 @@ declare const TOOL_HANDLERS: {
|
|
|
118
103
|
teamSlug?: unknown;
|
|
119
104
|
platform?: unknown;
|
|
120
105
|
}) => Promise<string>;
|
|
121
|
-
search_errors: (context: ServerContext, {
|
|
122
|
-
filename,
|
|
123
|
-
transaction,
|
|
124
|
-
query,
|
|
125
|
-
sortBy,
|
|
126
|
-
organizationSlug,
|
|
127
|
-
projectSlug
|
|
128
|
-
}: {
|
|
106
|
+
search_errors: (context: ServerContext, params: {
|
|
129
107
|
organizationSlug: string | undefined;
|
|
108
|
+
regionUrl: string | undefined;
|
|
130
109
|
projectSlug: string | undefined;
|
|
131
110
|
filename: string | undefined;
|
|
132
111
|
transaction: string | undefined;
|
|
@@ -138,14 +117,9 @@ declare const TOOL_HANDLERS: {
|
|
|
138
117
|
teamSlug?: unknown;
|
|
139
118
|
platform?: unknown;
|
|
140
119
|
}) => Promise<string>;
|
|
141
|
-
search_transactions: (context: ServerContext, {
|
|
142
|
-
transaction,
|
|
143
|
-
query,
|
|
144
|
-
sortBy,
|
|
145
|
-
organizationSlug,
|
|
146
|
-
projectSlug
|
|
147
|
-
}: {
|
|
120
|
+
search_transactions: (context: ServerContext, params: {
|
|
148
121
|
organizationSlug: string | undefined;
|
|
122
|
+
regionUrl: string | undefined;
|
|
149
123
|
projectSlug: string | undefined;
|
|
150
124
|
transaction: string | undefined;
|
|
151
125
|
query: string | undefined;
|
|
@@ -157,11 +131,9 @@ declare const TOOL_HANDLERS: {
|
|
|
157
131
|
teamSlug?: unknown;
|
|
158
132
|
platform?: unknown;
|
|
159
133
|
}) => Promise<string>;
|
|
160
|
-
create_team: (context: ServerContext, {
|
|
161
|
-
organizationSlug,
|
|
162
|
-
name
|
|
163
|
-
}: {
|
|
134
|
+
create_team: (context: ServerContext, params: {
|
|
164
135
|
organizationSlug: string | undefined;
|
|
136
|
+
regionUrl: string | undefined;
|
|
165
137
|
name: string;
|
|
166
138
|
projectSlug?: unknown;
|
|
167
139
|
query?: unknown;
|
|
@@ -173,13 +145,9 @@ declare const TOOL_HANDLERS: {
|
|
|
173
145
|
teamSlug?: unknown;
|
|
174
146
|
platform?: unknown;
|
|
175
147
|
}) => Promise<string>;
|
|
176
|
-
create_project: (context: ServerContext, {
|
|
177
|
-
organizationSlug,
|
|
178
|
-
teamSlug,
|
|
179
|
-
name,
|
|
180
|
-
platform
|
|
181
|
-
}: {
|
|
148
|
+
create_project: (context: ServerContext, params: {
|
|
182
149
|
organizationSlug: string | undefined;
|
|
150
|
+
regionUrl: string | undefined;
|
|
183
151
|
teamSlug: string;
|
|
184
152
|
name: string;
|
|
185
153
|
platform: string | undefined;
|
|
@@ -191,12 +159,9 @@ declare const TOOL_HANDLERS: {
|
|
|
191
159
|
filename?: unknown;
|
|
192
160
|
transaction?: unknown;
|
|
193
161
|
}) => Promise<string>;
|
|
194
|
-
create_dsn: (context: ServerContext, {
|
|
195
|
-
organizationSlug,
|
|
196
|
-
projectSlug,
|
|
197
|
-
name
|
|
198
|
-
}: {
|
|
162
|
+
create_dsn: (context: ServerContext, params: {
|
|
199
163
|
organizationSlug: string | undefined;
|
|
164
|
+
regionUrl: string | undefined;
|
|
200
165
|
projectSlug: string;
|
|
201
166
|
name: string;
|
|
202
167
|
query?: unknown;
|
|
@@ -208,11 +173,9 @@ declare const TOOL_HANDLERS: {
|
|
|
208
173
|
teamSlug?: unknown;
|
|
209
174
|
platform?: unknown;
|
|
210
175
|
}) => Promise<string>;
|
|
211
|
-
list_dsns: (context: ServerContext, {
|
|
212
|
-
organizationSlug,
|
|
213
|
-
projectSlug
|
|
214
|
-
}: {
|
|
176
|
+
list_dsns: (context: ServerContext, params: {
|
|
215
177
|
organizationSlug: string | undefined;
|
|
178
|
+
regionUrl: string | undefined;
|
|
216
179
|
projectSlug: string;
|
|
217
180
|
query?: unknown;
|
|
218
181
|
sortBy?: unknown;
|
|
@@ -224,12 +187,9 @@ declare const TOOL_HANDLERS: {
|
|
|
224
187
|
teamSlug?: unknown;
|
|
225
188
|
platform?: unknown;
|
|
226
189
|
}) => Promise<string>;
|
|
227
|
-
begin_autofix: (context: ServerContext, {
|
|
228
|
-
organizationSlug,
|
|
229
|
-
issueId,
|
|
230
|
-
issueUrl
|
|
231
|
-
}: {
|
|
190
|
+
begin_autofix: (context: ServerContext, params: {
|
|
232
191
|
organizationSlug: string | undefined;
|
|
192
|
+
regionUrl: string | undefined;
|
|
233
193
|
issueId: string | undefined;
|
|
234
194
|
issueUrl: string | undefined;
|
|
235
195
|
projectSlug?: unknown;
|
|
@@ -241,12 +201,9 @@ declare const TOOL_HANDLERS: {
|
|
|
241
201
|
teamSlug?: unknown;
|
|
242
202
|
platform?: unknown;
|
|
243
203
|
}) => Promise<string>;
|
|
244
|
-
get_autofix_status: (context: ServerContext, {
|
|
245
|
-
organizationSlug,
|
|
246
|
-
issueId,
|
|
247
|
-
issueUrl
|
|
248
|
-
}: {
|
|
204
|
+
get_autofix_status: (context: ServerContext, params: {
|
|
249
205
|
organizationSlug: string | undefined;
|
|
206
|
+
regionUrl: string | undefined;
|
|
250
207
|
issueId: string | undefined;
|
|
251
208
|
issueUrl: string | undefined;
|
|
252
209
|
projectSlug?: unknown;
|
package/dist/tools.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.cts","names":[],"sources":["../src/tools.ts"],"sourcesContent":null,"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"tools.d.cts","names":[],"sources":["../src/tools.ts"],"sourcesContent":null,"mappings":";;;;;cAyBa;gCAwkBW;;;IAxkBX,SAAA,EAAA,MAwkBW,GAAA,SAAA;IAAA,WAAA,CAAA,EAAA,OAAA;IAAA,KAAA,CAAA,EAAA,OAAA"}
|
package/dist/tools.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import "./promptDefinitions.d-DyHOzL57.js";
|
|
2
|
-
import "./toolDefinitions.d-
|
|
3
|
-
import { ServerContext } from "./types.d-
|
|
2
|
+
import "./toolDefinitions.d-C5JUBInb.js";
|
|
3
|
+
import { ServerContext } from "./types.d-BeKsSRmy.js";
|
|
4
4
|
|
|
5
5
|
//#region src/tools.d.ts
|
|
6
6
|
declare const TOOL_HANDLERS: {
|
|
7
7
|
list_organizations: (context: ServerContext) => Promise<string>;
|
|
8
|
-
list_teams: (context: ServerContext, {
|
|
9
|
-
organizationSlug
|
|
10
|
-
}: {
|
|
8
|
+
list_teams: (context: ServerContext, params: {
|
|
11
9
|
organizationSlug: string | undefined;
|
|
10
|
+
regionUrl: string | undefined;
|
|
12
11
|
projectSlug?: unknown;
|
|
13
12
|
query?: unknown;
|
|
14
13
|
sortBy?: unknown;
|
|
@@ -20,10 +19,9 @@ declare const TOOL_HANDLERS: {
|
|
|
20
19
|
teamSlug?: unknown;
|
|
21
20
|
platform?: unknown;
|
|
22
21
|
}) => Promise<string>;
|
|
23
|
-
list_projects: (context: ServerContext, {
|
|
24
|
-
organizationSlug
|
|
25
|
-
}: {
|
|
22
|
+
list_projects: (context: ServerContext, params: {
|
|
26
23
|
organizationSlug: string | undefined;
|
|
24
|
+
regionUrl: string | undefined;
|
|
27
25
|
projectSlug?: unknown;
|
|
28
26
|
query?: unknown;
|
|
29
27
|
sortBy?: unknown;
|
|
@@ -35,16 +33,12 @@ declare const TOOL_HANDLERS: {
|
|
|
35
33
|
teamSlug?: unknown;
|
|
36
34
|
platform?: unknown;
|
|
37
35
|
}) => Promise<string>;
|
|
38
|
-
list_issues: (context: ServerContext, {
|
|
39
|
-
organizationSlug,
|
|
40
|
-
projectSlug,
|
|
41
|
-
query,
|
|
42
|
-
sortBy
|
|
43
|
-
}: {
|
|
36
|
+
list_issues: (context: ServerContext, params: {
|
|
44
37
|
organizationSlug: string | undefined;
|
|
38
|
+
regionUrl: string | undefined;
|
|
45
39
|
projectSlug: string | undefined;
|
|
46
40
|
query: string | undefined;
|
|
47
|
-
sortBy: "
|
|
41
|
+
sortBy: "last_seen" | "first_seen" | "count" | "userCount" | undefined;
|
|
48
42
|
issueId?: unknown;
|
|
49
43
|
issueUrl?: unknown;
|
|
50
44
|
filename?: unknown;
|
|
@@ -53,11 +47,9 @@ declare const TOOL_HANDLERS: {
|
|
|
53
47
|
teamSlug?: unknown;
|
|
54
48
|
platform?: unknown;
|
|
55
49
|
}) => Promise<string>;
|
|
56
|
-
list_releases: (context: ServerContext, {
|
|
57
|
-
organizationSlug,
|
|
58
|
-
projectSlug
|
|
59
|
-
}: {
|
|
50
|
+
list_releases: (context: ServerContext, params: {
|
|
60
51
|
organizationSlug: string | undefined;
|
|
52
|
+
regionUrl: string | undefined;
|
|
61
53
|
projectSlug: string | undefined;
|
|
62
54
|
query?: unknown;
|
|
63
55
|
sortBy?: unknown;
|
|
@@ -69,10 +61,9 @@ declare const TOOL_HANDLERS: {
|
|
|
69
61
|
teamSlug?: unknown;
|
|
70
62
|
platform?: unknown;
|
|
71
63
|
}) => Promise<string>;
|
|
72
|
-
list_tags: (context: ServerContext, {
|
|
73
|
-
organizationSlug
|
|
74
|
-
}: {
|
|
64
|
+
list_tags: (context: ServerContext, params: {
|
|
75
65
|
organizationSlug: string | undefined;
|
|
66
|
+
regionUrl: string | undefined;
|
|
76
67
|
projectSlug?: unknown;
|
|
77
68
|
query?: unknown;
|
|
78
69
|
sortBy?: unknown;
|
|
@@ -84,12 +75,9 @@ declare const TOOL_HANDLERS: {
|
|
|
84
75
|
teamSlug?: unknown;
|
|
85
76
|
platform?: unknown;
|
|
86
77
|
}) => Promise<string>;
|
|
87
|
-
get_issue_summary: (context: ServerContext, {
|
|
88
|
-
issueId,
|
|
89
|
-
issueUrl,
|
|
90
|
-
organizationSlug
|
|
91
|
-
}: {
|
|
78
|
+
get_issue_summary: (context: ServerContext, params: {
|
|
92
79
|
organizationSlug: string | undefined;
|
|
80
|
+
regionUrl: string | undefined;
|
|
93
81
|
issueId: string | undefined;
|
|
94
82
|
issueUrl: string | undefined;
|
|
95
83
|
projectSlug?: unknown;
|
|
@@ -101,12 +89,9 @@ declare const TOOL_HANDLERS: {
|
|
|
101
89
|
teamSlug?: unknown;
|
|
102
90
|
platform?: unknown;
|
|
103
91
|
}) => Promise<string>;
|
|
104
|
-
get_issue_details: (context: ServerContext, {
|
|
105
|
-
issueId,
|
|
106
|
-
issueUrl,
|
|
107
|
-
organizationSlug
|
|
108
|
-
}: {
|
|
92
|
+
get_issue_details: (context: ServerContext, params: {
|
|
109
93
|
organizationSlug: string | undefined;
|
|
94
|
+
regionUrl: string | undefined;
|
|
110
95
|
issueId: string | undefined;
|
|
111
96
|
issueUrl: string | undefined;
|
|
112
97
|
projectSlug?: unknown;
|
|
@@ -118,38 +103,27 @@ declare const TOOL_HANDLERS: {
|
|
|
118
103
|
teamSlug?: unknown;
|
|
119
104
|
platform?: unknown;
|
|
120
105
|
}) => Promise<string>;
|
|
121
|
-
search_errors: (context: ServerContext, {
|
|
122
|
-
filename,
|
|
123
|
-
transaction,
|
|
124
|
-
query,
|
|
125
|
-
sortBy,
|
|
126
|
-
organizationSlug,
|
|
127
|
-
projectSlug
|
|
128
|
-
}: {
|
|
106
|
+
search_errors: (context: ServerContext, params: {
|
|
129
107
|
organizationSlug: string | undefined;
|
|
108
|
+
regionUrl: string | undefined;
|
|
130
109
|
projectSlug: string | undefined;
|
|
131
110
|
filename: string | undefined;
|
|
132
111
|
transaction: string | undefined;
|
|
133
112
|
query: string | undefined;
|
|
134
|
-
sortBy: "
|
|
113
|
+
sortBy: "last_seen" | "count";
|
|
135
114
|
issueId?: unknown;
|
|
136
115
|
issueUrl?: unknown;
|
|
137
116
|
name?: unknown;
|
|
138
117
|
teamSlug?: unknown;
|
|
139
118
|
platform?: unknown;
|
|
140
119
|
}) => Promise<string>;
|
|
141
|
-
search_transactions: (context: ServerContext, {
|
|
142
|
-
transaction,
|
|
143
|
-
query,
|
|
144
|
-
sortBy,
|
|
145
|
-
organizationSlug,
|
|
146
|
-
projectSlug
|
|
147
|
-
}: {
|
|
120
|
+
search_transactions: (context: ServerContext, params: {
|
|
148
121
|
organizationSlug: string | undefined;
|
|
122
|
+
regionUrl: string | undefined;
|
|
149
123
|
projectSlug: string | undefined;
|
|
150
124
|
transaction: string | undefined;
|
|
151
125
|
query: string | undefined;
|
|
152
|
-
sortBy: "
|
|
126
|
+
sortBy: "timestamp" | "duration";
|
|
153
127
|
issueId?: unknown;
|
|
154
128
|
issueUrl?: unknown;
|
|
155
129
|
filename?: unknown;
|
|
@@ -157,11 +131,9 @@ declare const TOOL_HANDLERS: {
|
|
|
157
131
|
teamSlug?: unknown;
|
|
158
132
|
platform?: unknown;
|
|
159
133
|
}) => Promise<string>;
|
|
160
|
-
create_team: (context: ServerContext, {
|
|
161
|
-
organizationSlug,
|
|
162
|
-
name
|
|
163
|
-
}: {
|
|
134
|
+
create_team: (context: ServerContext, params: {
|
|
164
135
|
organizationSlug: string | undefined;
|
|
136
|
+
regionUrl: string | undefined;
|
|
165
137
|
name: string;
|
|
166
138
|
projectSlug?: unknown;
|
|
167
139
|
query?: unknown;
|
|
@@ -173,13 +145,9 @@ declare const TOOL_HANDLERS: {
|
|
|
173
145
|
teamSlug?: unknown;
|
|
174
146
|
platform?: unknown;
|
|
175
147
|
}) => Promise<string>;
|
|
176
|
-
create_project: (context: ServerContext, {
|
|
177
|
-
organizationSlug,
|
|
178
|
-
teamSlug,
|
|
179
|
-
name,
|
|
180
|
-
platform
|
|
181
|
-
}: {
|
|
148
|
+
create_project: (context: ServerContext, params: {
|
|
182
149
|
organizationSlug: string | undefined;
|
|
150
|
+
regionUrl: string | undefined;
|
|
183
151
|
teamSlug: string;
|
|
184
152
|
name: string;
|
|
185
153
|
platform: string | undefined;
|
|
@@ -191,12 +159,9 @@ declare const TOOL_HANDLERS: {
|
|
|
191
159
|
filename?: unknown;
|
|
192
160
|
transaction?: unknown;
|
|
193
161
|
}) => Promise<string>;
|
|
194
|
-
create_dsn: (context: ServerContext, {
|
|
195
|
-
organizationSlug,
|
|
196
|
-
projectSlug,
|
|
197
|
-
name
|
|
198
|
-
}: {
|
|
162
|
+
create_dsn: (context: ServerContext, params: {
|
|
199
163
|
organizationSlug: string | undefined;
|
|
164
|
+
regionUrl: string | undefined;
|
|
200
165
|
projectSlug: string;
|
|
201
166
|
name: string;
|
|
202
167
|
query?: unknown;
|
|
@@ -208,11 +173,9 @@ declare const TOOL_HANDLERS: {
|
|
|
208
173
|
teamSlug?: unknown;
|
|
209
174
|
platform?: unknown;
|
|
210
175
|
}) => Promise<string>;
|
|
211
|
-
list_dsns: (context: ServerContext, {
|
|
212
|
-
organizationSlug,
|
|
213
|
-
projectSlug
|
|
214
|
-
}: {
|
|
176
|
+
list_dsns: (context: ServerContext, params: {
|
|
215
177
|
organizationSlug: string | undefined;
|
|
178
|
+
regionUrl: string | undefined;
|
|
216
179
|
projectSlug: string;
|
|
217
180
|
query?: unknown;
|
|
218
181
|
sortBy?: unknown;
|
|
@@ -224,12 +187,9 @@ declare const TOOL_HANDLERS: {
|
|
|
224
187
|
teamSlug?: unknown;
|
|
225
188
|
platform?: unknown;
|
|
226
189
|
}) => Promise<string>;
|
|
227
|
-
begin_autofix: (context: ServerContext, {
|
|
228
|
-
organizationSlug,
|
|
229
|
-
issueId,
|
|
230
|
-
issueUrl
|
|
231
|
-
}: {
|
|
190
|
+
begin_autofix: (context: ServerContext, params: {
|
|
232
191
|
organizationSlug: string | undefined;
|
|
192
|
+
regionUrl: string | undefined;
|
|
233
193
|
issueId: string | undefined;
|
|
234
194
|
issueUrl: string | undefined;
|
|
235
195
|
projectSlug?: unknown;
|
|
@@ -241,12 +201,9 @@ declare const TOOL_HANDLERS: {
|
|
|
241
201
|
teamSlug?: unknown;
|
|
242
202
|
platform?: unknown;
|
|
243
203
|
}) => Promise<string>;
|
|
244
|
-
get_autofix_status: (context: ServerContext, {
|
|
245
|
-
organizationSlug,
|
|
246
|
-
issueId,
|
|
247
|
-
issueUrl
|
|
248
|
-
}: {
|
|
204
|
+
get_autofix_status: (context: ServerContext, params: {
|
|
249
205
|
organizationSlug: string | undefined;
|
|
206
|
+
regionUrl: string | undefined;
|
|
250
207
|
issueId: string | undefined;
|
|
251
208
|
issueUrl: string | undefined;
|
|
252
209
|
projectSlug?: unknown;
|
package/dist/tools.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","names":[],"sources":["../src/tools.ts"],"sourcesContent":null,"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"tools.d.ts","names":[],"sources":["../src/tools.ts"],"sourcesContent":null,"mappings":";;;;;cAyBa;gCAwkBW;;;IAxkBX,SAAA,EAAA,MAwkBW,GAAA,SAAA;IAAA,WAAA,CAAA,EAAA,OAAA;IAAA,KAAA,CAAA,EAAA,OAAA"}
|
package/dist/tools.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./schema-
|
|
2
|
-
import "./client-
|
|
1
|
+
import "./schema-BzPfPMq7.js";
|
|
2
|
+
import "./client-CpiyA8FR.js";
|
|
3
3
|
import "./types-H-TSmRpm.js";
|
|
4
4
|
import "./api-client-9mzrj2HY.js";
|
|
5
5
|
import "./formatting-Bacfde0I.js";
|
|
6
|
-
import "./issue-helpers-
|
|
6
|
+
import "./issue-helpers-Cx6bFCUv.js";
|
|
7
7
|
import "./logging-Cxm8lQvg.js";
|
|
8
|
-
import { TOOL_HANDLERS } from "./tools-
|
|
8
|
+
import { TOOL_HANDLERS } from "./tools-_Y9eV4LR.js";
|
|
9
9
|
|
|
10
10
|
export { TOOL_HANDLERS };
|
package/dist/tools.test.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
require('./schema-
|
|
3
|
-
require('./client-
|
|
2
|
+
require('./schema-BnXdl41H.cjs');
|
|
3
|
+
require('./client-GWxnTlSP.cjs');
|
|
4
4
|
require('./types-o3zWarRp.cjs');
|
|
5
5
|
require('./api-client-CEBuz3Zu.cjs');
|
|
6
6
|
require('./formatting-BTSvl7n7.cjs');
|
|
7
|
-
require('./issue-helpers-
|
|
7
|
+
require('./issue-helpers-CdWMhVWJ.cjs');
|
|
8
8
|
require('./logging-BEMgC5SA.cjs');
|
|
9
|
-
const require_tools = require('./tools-
|
|
9
|
+
const require_tools = require('./tools-Ck2CHZeM.cjs');
|
|
10
10
|
const require_dist = require('./dist-3oa5SxPp.cjs');
|
|
11
11
|
const require_vi_ClIskdbk = require('./vi.ClIskdbk-Bn6W0wTE.cjs');
|
|
12
12
|
|
|
@@ -22,7 +22,15 @@ require_dist.describe("list_organizations", () => {
|
|
|
22
22
|
require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
|
|
23
23
|
"# Organizations
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
## **sentry-mcp-evals**
|
|
26
|
+
|
|
27
|
+
**Web URL:** https://sentry.io/sentry-mcp-evals
|
|
28
|
+
**Region URL:** https://us.sentry.io
|
|
29
|
+
|
|
30
|
+
# Using this information
|
|
31
|
+
|
|
32
|
+
- The organization's name is the identifier for the organization, and is used in many tools for \`organizationSlug\`.
|
|
33
|
+
- If a tool supports passing in the \`regionUrl\`, you should also pass in the correct value there.
|
|
26
34
|
"
|
|
27
35
|
`);
|
|
28
36
|
});
|
|
@@ -54,13 +62,13 @@ require_dist.describe("list_projects", () => {
|
|
|
54
62
|
require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
|
|
55
63
|
"# Projects in **sentry-mcp-evals**
|
|
56
64
|
|
|
57
|
-
- cloudflare-mcp
|
|
65
|
+
- **cloudflare-mcp**
|
|
58
66
|
"
|
|
59
67
|
`);
|
|
60
68
|
});
|
|
61
69
|
});
|
|
62
70
|
require_dist.describe("list_issues", () => {
|
|
63
|
-
require_dist.it("serializes", async () => {
|
|
71
|
+
require_dist.it("serializes with project", async () => {
|
|
64
72
|
const tool = require_tools.TOOL_HANDLERS.list_issues;
|
|
65
73
|
const result = await tool({
|
|
66
74
|
accessToken: "access-token",
|
|
@@ -93,6 +101,44 @@ require_dist.describe("list_issues", () => {
|
|
|
93
101
|
|
|
94
102
|
# Using this information
|
|
95
103
|
|
|
104
|
+
- You can reference the Issue ID in commit messages (e.g. \`Fixes <issueID>\`) to automatically close the issue when the commit is merged.
|
|
105
|
+
- You can get more details about a specific issue by using the tool: \`get_issue_details(organizationSlug="sentry-mcp-evals", issueId=<issueID>)\`
|
|
106
|
+
"
|
|
107
|
+
`);
|
|
108
|
+
});
|
|
109
|
+
require_dist.it("serializes without project", async () => {
|
|
110
|
+
const tool = require_tools.TOOL_HANDLERS.list_issues;
|
|
111
|
+
const result = await tool({
|
|
112
|
+
accessToken: "access-token",
|
|
113
|
+
userId: "1",
|
|
114
|
+
organizationSlug: null
|
|
115
|
+
}, {
|
|
116
|
+
organizationSlug: "sentry-mcp-evals",
|
|
117
|
+
projectSlug: void 0,
|
|
118
|
+
query: void 0,
|
|
119
|
+
sortBy: "last_seen"
|
|
120
|
+
});
|
|
121
|
+
require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
|
|
122
|
+
"# Issues in **sentry-mcp-evals**
|
|
123
|
+
|
|
124
|
+
## CLOUDFLARE-MCP-41
|
|
125
|
+
|
|
126
|
+
**Description**: Error: Tool list_organizations is already registered
|
|
127
|
+
**Culprit**: Object.fetch(index)
|
|
128
|
+
**First Seen**: 2025-04-03T22:51:19.403Z
|
|
129
|
+
**Last Seen**: 2025-04-12T11:34:11.000Z
|
|
130
|
+
**URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-41
|
|
131
|
+
|
|
132
|
+
## CLOUDFLARE-MCP-42
|
|
133
|
+
|
|
134
|
+
**Description**: Error: Tool list_issues is already registered
|
|
135
|
+
**Culprit**: Object.fetch(index)
|
|
136
|
+
**First Seen**: 2025-04-11T22:51:19.403Z
|
|
137
|
+
**Last Seen**: 2025-04-12T11:34:11.000Z
|
|
138
|
+
**URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-42
|
|
139
|
+
|
|
140
|
+
# Using this information
|
|
141
|
+
|
|
96
142
|
- You can reference the Issue ID in commit messages (e.g. \`Fixes <issueID>\`) to automatically close the issue when the commit is merged.
|
|
97
143
|
- You can get more details about a specific issue by using the tool: \`get_issue_details(organizationSlug="sentry-mcp-evals", issueId=<issueID>)\`
|
|
98
144
|
"
|