@sentry/mcp-server 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- 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 +2 -2
- package/dist/api-client/index.d.cts +3 -3
- package/dist/api-client/index.d.ts +3 -3
- package/dist/api-client/index.js +2 -2
- package/dist/api-client/schema.cjs +1 -1
- package/dist/api-client/schema.d.cts +1 -1
- package/dist/api-client/schema.d.ts +1 -1
- package/dist/api-client/schema.js +1 -1
- package/dist/api-client/types.d.cts +2 -2
- package/dist/api-client/types.d.ts +2 -2
- package/dist/{client-DQ837FXP.cjs → client-B4Ux5Zdg.cjs} +7 -4
- package/dist/client-B4Ux5Zdg.cjs.map +1 -0
- package/dist/{client-CTm4cvI7.js → client-Bz_PNC8o.js} +7 -4
- package/dist/client-Bz_PNC8o.js.map +1 -0
- package/dist/{client-1dRfG57H.d.ts → client-J6VSRmQS.d.ts} +5 -3
- package/dist/client-J6VSRmQS.d.ts.map +1 -0
- package/dist/{client-BsYOQsEI.d.cts → client-tE6FD__9.d.cts} +5 -3
- package/dist/client-tE6FD__9.d.cts.map +1 -0
- package/dist/{formatting-C-0bHtbh.cjs → formatting-B0SJqiqX.cjs} +11 -3
- package/dist/formatting-B0SJqiqX.cjs.map +1 -0
- package/dist/{formatting-BQRAzO5v.js → formatting-ggD6YRYR.js} +11 -3
- package/dist/formatting-ggD6YRYR.js.map +1 -0
- package/dist/index.cjs +11 -11
- package/dist/index.js +11 -11
- package/dist/internal/formatting.cjs +1 -1
- package/dist/internal/formatting.d.cts +3 -3
- package/dist/internal/formatting.d.cts.map +1 -1
- package/dist/internal/formatting.d.ts +3 -3
- package/dist/internal/formatting.d.ts.map +1 -1
- package/dist/internal/formatting.js +1 -1
- package/dist/internal/issue-helpers.test.cjs +2 -2
- package/dist/internal/issue-helpers.test.cjs.map +1 -1
- package/dist/internal/issue-helpers.test.js +2 -2
- package/dist/internal/issue-helpers.test.js.map +1 -1
- package/dist/{promptDefinitions-Dcz3d9wL.d.cts → promptDefinitions-BR7PxWcH.d.cts} +3 -3
- package/dist/promptDefinitions-BR7PxWcH.d.cts.map +1 -0
- package/dist/{promptDefinitions-CPTadtuI.js → promptDefinitions-DBNOeSg-.js} +5 -5
- package/dist/promptDefinitions-DBNOeSg-.js.map +1 -0
- package/dist/{promptDefinitions-5jiZMBg5.cjs → promptDefinitions-pHRpPOpJ.cjs} +5 -5
- package/dist/promptDefinitions-pHRpPOpJ.cjs.map +1 -0
- package/dist/{promptDefinitions-DrGK-v8n.d.ts → promptDefinitions-tpKruPny.d.ts} +3 -3
- package/dist/promptDefinitions-tpKruPny.d.ts.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.d.cts +5 -5
- package/dist/prompts.d.ts +5 -5
- package/dist/{schema-KEMqYaQn.cjs → schema-3VLYcf4D.cjs} +9 -2
- package/dist/schema-3VLYcf4D.cjs.map +1 -0
- package/dist/{schema-DwPOkoSP.d.ts → schema-B7A-FyIi.d.ts} +341 -263
- package/dist/{schema-DwPOkoSP.d.ts.map → schema-B7A-FyIi.d.ts.map} +1 -1
- package/dist/schema-BKa41TQ4.js +17 -0
- package/dist/schema-BKa41TQ4.js.map +1 -0
- package/dist/{schema-nyYqVk4Y.js → schema-Dltbjui7.js} +9 -2
- package/dist/schema-Dltbjui7.js.map +1 -0
- package/dist/{schema-CaJV2aIO.d.cts → schema-PvgLrC1b.d.cts} +339 -261
- package/dist/{schema-CaJV2aIO.d.cts.map → schema-PvgLrC1b.d.cts.map} +1 -1
- package/dist/schema-jk88gqOu.cjs +78 -0
- package/dist/schema-jk88gqOu.cjs.map +1 -0
- package/dist/schema.cjs +3 -1
- package/dist/schema.d.cts +3 -1
- package/dist/schema.d.cts.map +1 -1
- package/dist/schema.d.ts +3 -1
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +2 -2
- package/dist/{server-BWoJZj5B.cjs → server-VwFSUPQn.cjs} +5 -5
- package/dist/{server-BWoJZj5B.cjs.map → server-VwFSUPQn.cjs.map} +1 -1
- package/dist/{server-DtNbD1c-.js → server-yb4PkNyo.js} +5 -5
- package/dist/{server-DtNbD1c-.js.map → server-yb4PkNyo.js.map} +1 -1
- package/dist/server.cjs +8 -8
- package/dist/server.d.cts +3 -3
- package/dist/server.d.ts +3 -3
- package/dist/server.js +8 -8
- package/dist/{stdio-BLzMxGqU.cjs → stdio-65sYKLOk.cjs} +2 -2
- package/dist/{stdio-BLzMxGqU.cjs.map → stdio-65sYKLOk.cjs.map} +1 -1
- package/dist/{stdio-D4oW-qT6.js → stdio-DkU2-spy.js} +2 -2
- package/dist/{stdio-D4oW-qT6.js.map → stdio-DkU2-spy.js.map} +1 -1
- package/dist/test-setup.cjs +1338 -1142
- package/dist/test-setup.cjs.map +1 -1
- package/dist/test-setup.js +1338 -1141
- package/dist/test-setup.js.map +1 -1
- package/dist/{toolDefinitions-K_TVqaLU.d.cts → toolDefinitions-B94CNDbt.d.cts} +22 -22
- package/dist/toolDefinitions-B94CNDbt.d.cts.map +1 -0
- package/dist/{toolDefinitions-BF-D81bS.js → toolDefinitions-Bb_1ejkl.js} +83 -78
- package/dist/toolDefinitions-Bb_1ejkl.js.map +1 -0
- package/dist/{toolDefinitions-CO65cU86.cjs → toolDefinitions-DIhvw3vk.cjs} +83 -78
- package/dist/toolDefinitions-DIhvw3vk.cjs.map +1 -0
- package/dist/{toolDefinitions-CCscRQoM.d.ts → toolDefinitions-q_1-70fG.d.ts} +22 -22
- package/dist/toolDefinitions-q_1-70fG.d.ts.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-BYt-G6p2.cjs → tools-BdkmyaZo.cjs} +36 -52
- package/dist/tools-BdkmyaZo.cjs.map +1 -0
- package/dist/{tools-B8ufMRZx.js → tools-CMFpMPpD.js} +36 -52
- package/dist/tools-CMFpMPpD.js.map +1 -0
- package/dist/tools.cjs +4 -4
- package/dist/tools.d.cts +24 -24
- package/dist/tools.d.cts.map +1 -1
- package/dist/tools.d.ts +24 -24
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +4 -4
- package/dist/tools.test.cjs +111 -34
- package/dist/tools.test.cjs.map +1 -1
- package/dist/tools.test.js +111 -34
- package/dist/tools.test.js.map +1 -1
- package/dist/transports/stdio.cjs +9 -9
- package/dist/transports/stdio.d.cts +3 -3
- package/dist/transports/stdio.d.ts +3 -3
- package/dist/transports/stdio.js +9 -9
- package/dist/{types-CPuN4Qmi.d.cts → types-B03G337q.d.cts} +2 -2
- package/dist/{types-CPuN4Qmi.d.cts.map → types-B03G337q.d.cts.map} +1 -1
- package/dist/{types-Ds7qzCBB.d.ts → types-CN4NEway.d.ts} +2 -2
- package/dist/{types-Ds7qzCBB.d.ts.map → types-CN4NEway.d.ts.map} +1 -1
- package/dist/{types-TaJcaAVg.d.cts → types-OeoNXRm-.d.cts} +3 -3
- package/dist/{types-TaJcaAVg.d.cts.map → types-OeoNXRm-.d.cts.map} +1 -1
- package/dist/{types-DyM4kaGZ.d.ts → types-jftb-CP9.d.ts} +3 -3
- package/dist/{types-DyM4kaGZ.d.ts.map → types-jftb-CP9.d.ts.map} +1 -1
- package/dist/types.d.cts +3 -3
- package/dist/types.d.ts +3 -3
- package/dist/{version-B0O4KvZ9.cjs → version-CDnh7DyW.cjs} +2 -2
- package/dist/{version-B0O4KvZ9.cjs.map → version-CDnh7DyW.cjs.map} +1 -1
- package/dist/version-TjO7fHpC.js +6 -0
- package/dist/{version-dTEKpaGt.js.map → version-TjO7fHpC.js.map} +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/client-1dRfG57H.d.ts.map +0 -1
- package/dist/client-BsYOQsEI.d.cts.map +0 -1
- package/dist/client-CTm4cvI7.js.map +0 -1
- package/dist/client-DQ837FXP.cjs.map +0 -1
- package/dist/formatting-BQRAzO5v.js.map +0 -1
- package/dist/formatting-C-0bHtbh.cjs.map +0 -1
- package/dist/promptDefinitions-5jiZMBg5.cjs.map +0 -1
- package/dist/promptDefinitions-CPTadtuI.js.map +0 -1
- package/dist/promptDefinitions-Dcz3d9wL.d.cts.map +0 -1
- package/dist/promptDefinitions-DrGK-v8n.d.ts.map +0 -1
- package/dist/schema-BCkBPgjj.cjs +0 -64
- package/dist/schema-BCkBPgjj.cjs.map +0 -1
- package/dist/schema-CJrk_GUH.js +0 -15
- package/dist/schema-CJrk_GUH.js.map +0 -1
- package/dist/schema-KEMqYaQn.cjs.map +0 -1
- package/dist/schema-nyYqVk4Y.js.map +0 -1
- package/dist/toolDefinitions-BF-D81bS.js.map +0 -1
- package/dist/toolDefinitions-CCscRQoM.d.ts.map +0 -1
- package/dist/toolDefinitions-CO65cU86.cjs.map +0 -1
- package/dist/toolDefinitions-K_TVqaLU.d.cts.map +0 -1
- package/dist/tools-B8ufMRZx.js.map +0 -1
- package/dist/tools-BYt-G6p2.cjs.map +0 -1
- package/dist/version-dTEKpaGt.js +0 -6
package/dist/tools.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./promptDefinitions-
|
|
2
|
-
import "./toolDefinitions-
|
|
3
|
-
import { ServerContext } from "./types-
|
|
1
|
+
import "./promptDefinitions-BR7PxWcH.cjs";
|
|
2
|
+
import "./toolDefinitions-B94CNDbt.cjs";
|
|
3
|
+
import { ServerContext } from "./types-OeoNXRm-.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/tools.d.ts
|
|
6
6
|
declare const TOOL_HANDLERS: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
organizationSlug: string
|
|
7
|
+
find_organizations: (context: ServerContext) => Promise<string>;
|
|
8
|
+
find_teams: (context: ServerContext, params: {
|
|
9
|
+
organizationSlug: string;
|
|
10
10
|
regionUrl: string | undefined;
|
|
11
11
|
projectSlug?: unknown;
|
|
12
12
|
query?: unknown;
|
|
@@ -20,8 +20,8 @@ declare const TOOL_HANDLERS: {
|
|
|
20
20
|
teamSlug?: unknown;
|
|
21
21
|
platform?: unknown;
|
|
22
22
|
}) => Promise<string>;
|
|
23
|
-
|
|
24
|
-
organizationSlug: string
|
|
23
|
+
find_projects: (context: ServerContext, params: {
|
|
24
|
+
organizationSlug: string;
|
|
25
25
|
regionUrl: string | undefined;
|
|
26
26
|
projectSlug?: unknown;
|
|
27
27
|
query?: unknown;
|
|
@@ -35,8 +35,8 @@ declare const TOOL_HANDLERS: {
|
|
|
35
35
|
teamSlug?: unknown;
|
|
36
36
|
platform?: unknown;
|
|
37
37
|
}) => Promise<string>;
|
|
38
|
-
|
|
39
|
-
organizationSlug: string
|
|
38
|
+
find_issues: (context: ServerContext, params: {
|
|
39
|
+
organizationSlug: string;
|
|
40
40
|
regionUrl: string | undefined;
|
|
41
41
|
projectSlug: string | undefined;
|
|
42
42
|
query: string | undefined;
|
|
@@ -50,11 +50,11 @@ declare const TOOL_HANDLERS: {
|
|
|
50
50
|
teamSlug?: unknown;
|
|
51
51
|
platform?: unknown;
|
|
52
52
|
}) => Promise<string>;
|
|
53
|
-
|
|
54
|
-
organizationSlug: string
|
|
53
|
+
find_releases: (context: ServerContext, params: {
|
|
54
|
+
organizationSlug: string;
|
|
55
55
|
regionUrl: string | undefined;
|
|
56
56
|
projectSlug: string | undefined;
|
|
57
|
-
query
|
|
57
|
+
query: string | undefined;
|
|
58
58
|
sortBy?: unknown;
|
|
59
59
|
issueId?: unknown;
|
|
60
60
|
eventId?: unknown;
|
|
@@ -65,8 +65,8 @@ declare const TOOL_HANDLERS: {
|
|
|
65
65
|
teamSlug?: unknown;
|
|
66
66
|
platform?: unknown;
|
|
67
67
|
}) => Promise<string>;
|
|
68
|
-
|
|
69
|
-
organizationSlug: string
|
|
68
|
+
find_tags: (context: ServerContext, params: {
|
|
69
|
+
organizationSlug: string;
|
|
70
70
|
regionUrl: string | undefined;
|
|
71
71
|
projectSlug?: unknown;
|
|
72
72
|
query?: unknown;
|
|
@@ -95,8 +95,8 @@ declare const TOOL_HANDLERS: {
|
|
|
95
95
|
teamSlug?: unknown;
|
|
96
96
|
platform?: unknown;
|
|
97
97
|
}) => Promise<string>;
|
|
98
|
-
|
|
99
|
-
organizationSlug: string
|
|
98
|
+
find_errors: (context: ServerContext, params: {
|
|
99
|
+
organizationSlug: string;
|
|
100
100
|
regionUrl: string | undefined;
|
|
101
101
|
projectSlug: string | undefined;
|
|
102
102
|
filename: string | undefined;
|
|
@@ -110,8 +110,8 @@ declare const TOOL_HANDLERS: {
|
|
|
110
110
|
teamSlug?: unknown;
|
|
111
111
|
platform?: unknown;
|
|
112
112
|
}) => Promise<string>;
|
|
113
|
-
|
|
114
|
-
organizationSlug: string
|
|
113
|
+
find_transactions: (context: ServerContext, params: {
|
|
114
|
+
organizationSlug: string;
|
|
115
115
|
regionUrl: string | undefined;
|
|
116
116
|
projectSlug: string | undefined;
|
|
117
117
|
transaction: string | undefined;
|
|
@@ -126,7 +126,7 @@ declare const TOOL_HANDLERS: {
|
|
|
126
126
|
platform?: unknown;
|
|
127
127
|
}) => Promise<string>;
|
|
128
128
|
create_team: (context: ServerContext, params: {
|
|
129
|
-
organizationSlug: string
|
|
129
|
+
organizationSlug: string;
|
|
130
130
|
regionUrl: string | undefined;
|
|
131
131
|
name: string;
|
|
132
132
|
projectSlug?: unknown;
|
|
@@ -141,7 +141,7 @@ declare const TOOL_HANDLERS: {
|
|
|
141
141
|
platform?: unknown;
|
|
142
142
|
}) => Promise<string>;
|
|
143
143
|
create_project: (context: ServerContext, params: {
|
|
144
|
-
organizationSlug: string
|
|
144
|
+
organizationSlug: string;
|
|
145
145
|
regionUrl: string | undefined;
|
|
146
146
|
teamSlug: string;
|
|
147
147
|
name: string;
|
|
@@ -156,7 +156,7 @@ declare const TOOL_HANDLERS: {
|
|
|
156
156
|
transaction?: unknown;
|
|
157
157
|
}) => Promise<string>;
|
|
158
158
|
create_dsn: (context: ServerContext, params: {
|
|
159
|
-
organizationSlug: string
|
|
159
|
+
organizationSlug: string;
|
|
160
160
|
regionUrl: string | undefined;
|
|
161
161
|
projectSlug: string;
|
|
162
162
|
name: string;
|
|
@@ -170,8 +170,8 @@ declare const TOOL_HANDLERS: {
|
|
|
170
170
|
teamSlug?: unknown;
|
|
171
171
|
platform?: unknown;
|
|
172
172
|
}) => Promise<string>;
|
|
173
|
-
|
|
174
|
-
organizationSlug: string
|
|
173
|
+
find_dsns: (context: ServerContext, params: {
|
|
174
|
+
organizationSlug: string;
|
|
175
175
|
regionUrl: string | undefined;
|
|
176
176
|
projectSlug: string;
|
|
177
177
|
query?: 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":";;;;;cAyBa;
|
|
1
|
+
{"version":3,"file":"tools.d.cts","names":[],"sources":["../src/tools.ts"],"sourcesContent":null,"mappings":";;;;;cAyBa;gCA6gBW;;;IA7gBX,SAAA,EAAA,MA6gBW,GAAA,SAAA;IAAA,WAAA,CAAA,EAAA,OAAA;IAAA,KAAA,CAAA,EAAA,OAAA"}
|
package/dist/tools.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./promptDefinitions-
|
|
2
|
-
import "./toolDefinitions-
|
|
3
|
-
import { ServerContext } from "./types-
|
|
1
|
+
import "./promptDefinitions-tpKruPny.js";
|
|
2
|
+
import "./toolDefinitions-q_1-70fG.js";
|
|
3
|
+
import { ServerContext } from "./types-jftb-CP9.js";
|
|
4
4
|
|
|
5
5
|
//#region src/tools.d.ts
|
|
6
6
|
declare const TOOL_HANDLERS: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
organizationSlug: string
|
|
7
|
+
find_organizations: (context: ServerContext) => Promise<string>;
|
|
8
|
+
find_teams: (context: ServerContext, params: {
|
|
9
|
+
organizationSlug: string;
|
|
10
10
|
regionUrl: string | undefined;
|
|
11
11
|
projectSlug?: unknown;
|
|
12
12
|
query?: unknown;
|
|
@@ -20,8 +20,8 @@ declare const TOOL_HANDLERS: {
|
|
|
20
20
|
teamSlug?: unknown;
|
|
21
21
|
platform?: unknown;
|
|
22
22
|
}) => Promise<string>;
|
|
23
|
-
|
|
24
|
-
organizationSlug: string
|
|
23
|
+
find_projects: (context: ServerContext, params: {
|
|
24
|
+
organizationSlug: string;
|
|
25
25
|
regionUrl: string | undefined;
|
|
26
26
|
projectSlug?: unknown;
|
|
27
27
|
query?: unknown;
|
|
@@ -35,8 +35,8 @@ declare const TOOL_HANDLERS: {
|
|
|
35
35
|
teamSlug?: unknown;
|
|
36
36
|
platform?: unknown;
|
|
37
37
|
}) => Promise<string>;
|
|
38
|
-
|
|
39
|
-
organizationSlug: string
|
|
38
|
+
find_issues: (context: ServerContext, params: {
|
|
39
|
+
organizationSlug: string;
|
|
40
40
|
regionUrl: string | undefined;
|
|
41
41
|
projectSlug: string | undefined;
|
|
42
42
|
query: string | undefined;
|
|
@@ -50,11 +50,11 @@ declare const TOOL_HANDLERS: {
|
|
|
50
50
|
teamSlug?: unknown;
|
|
51
51
|
platform?: unknown;
|
|
52
52
|
}) => Promise<string>;
|
|
53
|
-
|
|
54
|
-
organizationSlug: string
|
|
53
|
+
find_releases: (context: ServerContext, params: {
|
|
54
|
+
organizationSlug: string;
|
|
55
55
|
regionUrl: string | undefined;
|
|
56
56
|
projectSlug: string | undefined;
|
|
57
|
-
query
|
|
57
|
+
query: string | undefined;
|
|
58
58
|
sortBy?: unknown;
|
|
59
59
|
issueId?: unknown;
|
|
60
60
|
eventId?: unknown;
|
|
@@ -65,8 +65,8 @@ declare const TOOL_HANDLERS: {
|
|
|
65
65
|
teamSlug?: unknown;
|
|
66
66
|
platform?: unknown;
|
|
67
67
|
}) => Promise<string>;
|
|
68
|
-
|
|
69
|
-
organizationSlug: string
|
|
68
|
+
find_tags: (context: ServerContext, params: {
|
|
69
|
+
organizationSlug: string;
|
|
70
70
|
regionUrl: string | undefined;
|
|
71
71
|
projectSlug?: unknown;
|
|
72
72
|
query?: unknown;
|
|
@@ -95,8 +95,8 @@ declare const TOOL_HANDLERS: {
|
|
|
95
95
|
teamSlug?: unknown;
|
|
96
96
|
platform?: unknown;
|
|
97
97
|
}) => Promise<string>;
|
|
98
|
-
|
|
99
|
-
organizationSlug: string
|
|
98
|
+
find_errors: (context: ServerContext, params: {
|
|
99
|
+
organizationSlug: string;
|
|
100
100
|
regionUrl: string | undefined;
|
|
101
101
|
projectSlug: string | undefined;
|
|
102
102
|
filename: string | undefined;
|
|
@@ -110,8 +110,8 @@ declare const TOOL_HANDLERS: {
|
|
|
110
110
|
teamSlug?: unknown;
|
|
111
111
|
platform?: unknown;
|
|
112
112
|
}) => Promise<string>;
|
|
113
|
-
|
|
114
|
-
organizationSlug: string
|
|
113
|
+
find_transactions: (context: ServerContext, params: {
|
|
114
|
+
organizationSlug: string;
|
|
115
115
|
regionUrl: string | undefined;
|
|
116
116
|
projectSlug: string | undefined;
|
|
117
117
|
transaction: string | undefined;
|
|
@@ -126,7 +126,7 @@ declare const TOOL_HANDLERS: {
|
|
|
126
126
|
platform?: unknown;
|
|
127
127
|
}) => Promise<string>;
|
|
128
128
|
create_team: (context: ServerContext, params: {
|
|
129
|
-
organizationSlug: string
|
|
129
|
+
organizationSlug: string;
|
|
130
130
|
regionUrl: string | undefined;
|
|
131
131
|
name: string;
|
|
132
132
|
projectSlug?: unknown;
|
|
@@ -141,7 +141,7 @@ declare const TOOL_HANDLERS: {
|
|
|
141
141
|
platform?: unknown;
|
|
142
142
|
}) => Promise<string>;
|
|
143
143
|
create_project: (context: ServerContext, params: {
|
|
144
|
-
organizationSlug: string
|
|
144
|
+
organizationSlug: string;
|
|
145
145
|
regionUrl: string | undefined;
|
|
146
146
|
teamSlug: string;
|
|
147
147
|
name: string;
|
|
@@ -156,7 +156,7 @@ declare const TOOL_HANDLERS: {
|
|
|
156
156
|
transaction?: unknown;
|
|
157
157
|
}) => Promise<string>;
|
|
158
158
|
create_dsn: (context: ServerContext, params: {
|
|
159
|
-
organizationSlug: string
|
|
159
|
+
organizationSlug: string;
|
|
160
160
|
regionUrl: string | undefined;
|
|
161
161
|
projectSlug: string;
|
|
162
162
|
name: string;
|
|
@@ -170,8 +170,8 @@ declare const TOOL_HANDLERS: {
|
|
|
170
170
|
teamSlug?: unknown;
|
|
171
171
|
platform?: unknown;
|
|
172
172
|
}) => Promise<string>;
|
|
173
|
-
|
|
174
|
-
organizationSlug: string
|
|
173
|
+
find_dsns: (context: ServerContext, params: {
|
|
174
|
+
organizationSlug: string;
|
|
175
175
|
regionUrl: string | undefined;
|
|
176
176
|
projectSlug: string;
|
|
177
177
|
query?: 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":";;;;;cAyBa;
|
|
1
|
+
{"version":3,"file":"tools.d.ts","names":[],"sources":["../src/tools.ts"],"sourcesContent":null,"mappings":";;;;;cAyBa;gCA6gBW;;;IA7gBX,SAAA,EAAA,MA6gBW,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-Dltbjui7.js";
|
|
2
|
+
import "./client-Bz_PNC8o.js";
|
|
3
3
|
import "./types-H-TSmRpm.js";
|
|
4
4
|
import "./api-client-9mzrj2HY.js";
|
|
5
|
-
import "./formatting-
|
|
5
|
+
import "./formatting-ggD6YRYR.js";
|
|
6
6
|
import "./issue-helpers-CyoHu5j4.js";
|
|
7
7
|
import "./logging-Cxm8lQvg.js";
|
|
8
|
-
import { TOOL_HANDLERS } from "./tools-
|
|
8
|
+
import { TOOL_HANDLERS } from "./tools-CMFpMPpD.js";
|
|
9
9
|
|
|
10
10
|
export { TOOL_HANDLERS };
|
package/dist/tools.test.cjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
require('./schema-
|
|
3
|
-
require('./client-
|
|
2
|
+
require('./schema-3VLYcf4D.cjs');
|
|
3
|
+
require('./client-B4Ux5Zdg.cjs');
|
|
4
4
|
require('./types-o3zWarRp.cjs');
|
|
5
5
|
require('./api-client-CEBuz3Zu.cjs');
|
|
6
|
-
require('./formatting-
|
|
6
|
+
require('./formatting-B0SJqiqX.cjs');
|
|
7
7
|
require('./issue-helpers-DbsECZFq.cjs');
|
|
8
8
|
require('./logging-BEMgC5SA.cjs');
|
|
9
|
-
const require_tools = require('./tools-
|
|
9
|
+
const require_tools = require('./tools-BdkmyaZo.cjs');
|
|
10
10
|
const require_dist = require('./dist-wiyJYfAH.cjs');
|
|
11
11
|
const require_vi_ClIskdbk = require('./vi.ClIskdbk-Bs263gvI.cjs');
|
|
12
12
|
|
|
13
13
|
//#region src/tools.test.ts
|
|
14
|
-
require_dist.describe("
|
|
14
|
+
require_dist.describe("find_organizations", () => {
|
|
15
15
|
require_dist.it("serializes", async () => {
|
|
16
|
-
const tool = require_tools.TOOL_HANDLERS.
|
|
16
|
+
const tool = require_tools.TOOL_HANDLERS.find_organizations;
|
|
17
17
|
const result = await tool({
|
|
18
18
|
accessToken: "access-token",
|
|
19
19
|
userId: "1",
|
|
@@ -35,9 +35,9 @@ require_dist.describe("list_organizations", () => {
|
|
|
35
35
|
`);
|
|
36
36
|
});
|
|
37
37
|
});
|
|
38
|
-
require_dist.describe("
|
|
38
|
+
require_dist.describe("find_teams", () => {
|
|
39
39
|
require_dist.it("serializes", async () => {
|
|
40
|
-
const tool = require_tools.TOOL_HANDLERS.
|
|
40
|
+
const tool = require_tools.TOOL_HANDLERS.find_teams;
|
|
41
41
|
const result = await tool({
|
|
42
42
|
accessToken: "access-token",
|
|
43
43
|
userId: "1",
|
|
@@ -54,9 +54,9 @@ require_dist.describe("list_teams", () => {
|
|
|
54
54
|
`);
|
|
55
55
|
});
|
|
56
56
|
});
|
|
57
|
-
require_dist.describe("
|
|
57
|
+
require_dist.describe("find_projects", () => {
|
|
58
58
|
require_dist.it("serializes", async () => {
|
|
59
|
-
const tool = require_tools.TOOL_HANDLERS.
|
|
59
|
+
const tool = require_tools.TOOL_HANDLERS.find_projects;
|
|
60
60
|
const result = await tool({
|
|
61
61
|
accessToken: "access-token",
|
|
62
62
|
userId: "1",
|
|
@@ -73,9 +73,9 @@ require_dist.describe("list_projects", () => {
|
|
|
73
73
|
`);
|
|
74
74
|
});
|
|
75
75
|
});
|
|
76
|
-
require_dist.describe("
|
|
76
|
+
require_dist.describe("find_issues", () => {
|
|
77
77
|
require_dist.it("serializes with project", async () => {
|
|
78
|
-
const tool = require_tools.TOOL_HANDLERS.
|
|
78
|
+
const tool = require_tools.TOOL_HANDLERS.find_issues;
|
|
79
79
|
const result = await tool({
|
|
80
80
|
accessToken: "access-token",
|
|
81
81
|
userId: "1",
|
|
@@ -114,7 +114,7 @@ require_dist.describe("list_issues", () => {
|
|
|
114
114
|
`);
|
|
115
115
|
});
|
|
116
116
|
require_dist.it("serializes without project", async () => {
|
|
117
|
-
const tool = require_tools.TOOL_HANDLERS.
|
|
117
|
+
const tool = require_tools.TOOL_HANDLERS.find_issues;
|
|
118
118
|
const result = await tool({
|
|
119
119
|
accessToken: "access-token",
|
|
120
120
|
userId: "1",
|
|
@@ -153,9 +153,9 @@ require_dist.describe("list_issues", () => {
|
|
|
153
153
|
`);
|
|
154
154
|
});
|
|
155
155
|
});
|
|
156
|
-
require_dist.describe("
|
|
156
|
+
require_dist.describe("find_releases", () => {
|
|
157
157
|
require_dist.it("works without project", async () => {
|
|
158
|
-
const tool = require_tools.TOOL_HANDLERS.
|
|
158
|
+
const tool = require_tools.TOOL_HANDLERS.find_releases;
|
|
159
159
|
const result = await tool({
|
|
160
160
|
accessToken: "access-token",
|
|
161
161
|
userId: "1",
|
|
@@ -163,7 +163,8 @@ require_dist.describe("list_releases", () => {
|
|
|
163
163
|
}, {
|
|
164
164
|
organizationSlug: "sentry-mcp-evals",
|
|
165
165
|
projectSlug: void 0,
|
|
166
|
-
regionUrl: void 0
|
|
166
|
+
regionUrl: void 0,
|
|
167
|
+
query: void 0
|
|
167
168
|
});
|
|
168
169
|
require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
|
|
169
170
|
"# Releases in **sentry-mcp-evals**
|
|
@@ -179,12 +180,12 @@ require_dist.describe("list_releases", () => {
|
|
|
179
180
|
# Using this information
|
|
180
181
|
|
|
181
182
|
- You can reference the Release version in commit messages or documentation.
|
|
182
|
-
- You can search for issues in a specific release using the \`
|
|
183
|
+
- You can search for issues in a specific release using the \`find_errors()\` tool with the query \`release:8ce89484-0fec-4913-a2cd-e8e2d41dee36\`.
|
|
183
184
|
"
|
|
184
185
|
`);
|
|
185
186
|
});
|
|
186
187
|
require_dist.it("works with project", async () => {
|
|
187
|
-
const tool = require_tools.TOOL_HANDLERS.
|
|
188
|
+
const tool = require_tools.TOOL_HANDLERS.find_releases;
|
|
188
189
|
const result = await tool({
|
|
189
190
|
accessToken: "access-token",
|
|
190
191
|
userId: "1",
|
|
@@ -192,7 +193,8 @@ require_dist.describe("list_releases", () => {
|
|
|
192
193
|
}, {
|
|
193
194
|
organizationSlug: "sentry-mcp-evals",
|
|
194
195
|
projectSlug: "cloudflare-mcp",
|
|
195
|
-
regionUrl: void 0
|
|
196
|
+
regionUrl: void 0,
|
|
197
|
+
query: void 0
|
|
196
198
|
});
|
|
197
199
|
require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
|
|
198
200
|
"# Releases in **sentry-mcp-evals/cloudflare-mcp**
|
|
@@ -208,14 +210,14 @@ require_dist.describe("list_releases", () => {
|
|
|
208
210
|
# Using this information
|
|
209
211
|
|
|
210
212
|
- You can reference the Release version in commit messages or documentation.
|
|
211
|
-
- You can search for issues in a specific release using the \`
|
|
213
|
+
- You can search for issues in a specific release using the \`find_errors()\` tool with the query \`release:8ce89484-0fec-4913-a2cd-e8e2d41dee36\`.
|
|
212
214
|
"
|
|
213
215
|
`);
|
|
214
216
|
});
|
|
215
217
|
});
|
|
216
|
-
require_dist.describe("
|
|
218
|
+
require_dist.describe("find_tags", () => {
|
|
217
219
|
require_dist.it("works", async () => {
|
|
218
|
-
const tool = require_tools.TOOL_HANDLERS.
|
|
220
|
+
const tool = require_tools.TOOL_HANDLERS.find_tags;
|
|
219
221
|
const result = await tool({
|
|
220
222
|
accessToken: "access-token",
|
|
221
223
|
userId: "1",
|
|
@@ -255,9 +257,9 @@ require_dist.describe("list_tags", () => {
|
|
|
255
257
|
`);
|
|
256
258
|
});
|
|
257
259
|
});
|
|
258
|
-
require_dist.describe("
|
|
260
|
+
require_dist.describe("find_errors", () => {
|
|
259
261
|
require_dist.it("serializes", async () => {
|
|
260
|
-
const tool = require_tools.TOOL_HANDLERS.
|
|
262
|
+
const tool = require_tools.TOOL_HANDLERS.find_errors;
|
|
261
263
|
const result = await tool({
|
|
262
264
|
accessToken: "access-token",
|
|
263
265
|
userId: "1",
|
|
@@ -292,9 +294,9 @@ require_dist.describe("search_errors", () => {
|
|
|
292
294
|
`);
|
|
293
295
|
});
|
|
294
296
|
});
|
|
295
|
-
require_dist.describe("
|
|
297
|
+
require_dist.describe("find_transactions", () => {
|
|
296
298
|
require_dist.it("serializes", async () => {
|
|
297
|
-
const tool = require_tools.TOOL_HANDLERS.
|
|
299
|
+
const tool = require_tools.TOOL_HANDLERS.find_transactions;
|
|
298
300
|
const result = await tool({
|
|
299
301
|
accessToken: "access-token",
|
|
300
302
|
userId: "1",
|
|
@@ -369,7 +371,9 @@ require_dist.describe("get_issue_details", () => {
|
|
|
369
371
|
|
|
370
372
|
**Event ID**: 7ca573c0f4814912aaa9bdc77d1a7d51
|
|
371
373
|
**Occurred At**: 2025-04-08T21:15:04.000Z
|
|
372
|
-
|
|
374
|
+
|
|
375
|
+
### Error
|
|
376
|
+
|
|
373
377
|
\`\`\`
|
|
374
378
|
Error: Tool list_organizations is already registered
|
|
375
379
|
\`\`\`
|
|
@@ -381,8 +385,31 @@ require_dist.describe("get_issue_details", () => {
|
|
|
381
385
|
index.js:19631:28 (Object.fetch)
|
|
382
386
|
\`\`\`
|
|
383
387
|
|
|
384
|
-
|
|
388
|
+
### HTTP Request
|
|
389
|
+
|
|
390
|
+
**Method:** GET
|
|
385
391
|
**URL:** https://mcp.sentry.dev/sse
|
|
392
|
+
|
|
393
|
+
### Additional Context
|
|
394
|
+
|
|
395
|
+
These are additional context provided by the user when they're instrumenting their application.
|
|
396
|
+
|
|
397
|
+
**cloud_resource**
|
|
398
|
+
cloud.provider: "cloudflare"
|
|
399
|
+
|
|
400
|
+
**culture**
|
|
401
|
+
timezone: "Europe/London"
|
|
402
|
+
|
|
403
|
+
**runtime**
|
|
404
|
+
name: "cloudflare"
|
|
405
|
+
|
|
406
|
+
**trace**
|
|
407
|
+
trace_id: "3032af8bcdfe4423b937fc5c041d5d82"
|
|
408
|
+
span_id: "953da703d2a6f4c7"
|
|
409
|
+
status: "unknown"
|
|
410
|
+
client_sample_rate: 1
|
|
411
|
+
sampled: true
|
|
412
|
+
|
|
386
413
|
# Using this information
|
|
387
414
|
|
|
388
415
|
- You can reference the IssueID in commit messages (e.g. \`Fixes CLOUDFLARE-MCP-41\`) to automatically close the issue when the commit is merged.
|
|
@@ -421,7 +448,9 @@ require_dist.describe("get_issue_details", () => {
|
|
|
421
448
|
|
|
422
449
|
**Event ID**: 7ca573c0f4814912aaa9bdc77d1a7d51
|
|
423
450
|
**Occurred At**: 2025-04-08T21:15:04.000Z
|
|
424
|
-
|
|
451
|
+
|
|
452
|
+
### Error
|
|
453
|
+
|
|
425
454
|
\`\`\`
|
|
426
455
|
Error: Tool list_organizations is already registered
|
|
427
456
|
\`\`\`
|
|
@@ -433,8 +462,31 @@ require_dist.describe("get_issue_details", () => {
|
|
|
433
462
|
index.js:19631:28 (Object.fetch)
|
|
434
463
|
\`\`\`
|
|
435
464
|
|
|
436
|
-
|
|
465
|
+
### HTTP Request
|
|
466
|
+
|
|
467
|
+
**Method:** GET
|
|
437
468
|
**URL:** https://mcp.sentry.dev/sse
|
|
469
|
+
|
|
470
|
+
### Additional Context
|
|
471
|
+
|
|
472
|
+
These are additional context provided by the user when they're instrumenting their application.
|
|
473
|
+
|
|
474
|
+
**cloud_resource**
|
|
475
|
+
cloud.provider: "cloudflare"
|
|
476
|
+
|
|
477
|
+
**culture**
|
|
478
|
+
timezone: "Europe/London"
|
|
479
|
+
|
|
480
|
+
**runtime**
|
|
481
|
+
name: "cloudflare"
|
|
482
|
+
|
|
483
|
+
**trace**
|
|
484
|
+
trace_id: "3032af8bcdfe4423b937fc5c041d5d82"
|
|
485
|
+
span_id: "953da703d2a6f4c7"
|
|
486
|
+
status: "unknown"
|
|
487
|
+
client_sample_rate: 1
|
|
488
|
+
sampled: true
|
|
489
|
+
|
|
438
490
|
# Using this information
|
|
439
491
|
|
|
440
492
|
- You can reference the IssueID in commit messages (e.g. \`Fixes CLOUDFLARE-MCP-41\`) to automatically close the issue when the commit is merged.
|
|
@@ -473,7 +525,9 @@ require_dist.describe("get_issue_details", () => {
|
|
|
473
525
|
|
|
474
526
|
**Event ID**: 7ca573c0f4814912aaa9bdc77d1a7d51
|
|
475
527
|
**Occurred At**: 2025-04-08T21:15:04.000Z
|
|
476
|
-
|
|
528
|
+
|
|
529
|
+
### Error
|
|
530
|
+
|
|
477
531
|
\`\`\`
|
|
478
532
|
Error: Tool list_organizations is already registered
|
|
479
533
|
\`\`\`
|
|
@@ -485,8 +539,31 @@ require_dist.describe("get_issue_details", () => {
|
|
|
485
539
|
index.js:19631:28 (Object.fetch)
|
|
486
540
|
\`\`\`
|
|
487
541
|
|
|
488
|
-
|
|
542
|
+
### HTTP Request
|
|
543
|
+
|
|
544
|
+
**Method:** GET
|
|
489
545
|
**URL:** https://mcp.sentry.dev/sse
|
|
546
|
+
|
|
547
|
+
### Additional Context
|
|
548
|
+
|
|
549
|
+
These are additional context provided by the user when they're instrumenting their application.
|
|
550
|
+
|
|
551
|
+
**cloud_resource**
|
|
552
|
+
cloud.provider: "cloudflare"
|
|
553
|
+
|
|
554
|
+
**culture**
|
|
555
|
+
timezone: "Europe/London"
|
|
556
|
+
|
|
557
|
+
**runtime**
|
|
558
|
+
name: "cloudflare"
|
|
559
|
+
|
|
560
|
+
**trace**
|
|
561
|
+
trace_id: "3032af8bcdfe4423b937fc5c041d5d82"
|
|
562
|
+
span_id: "953da703d2a6f4c7"
|
|
563
|
+
status: "unknown"
|
|
564
|
+
client_sample_rate: 1
|
|
565
|
+
sampled: true
|
|
566
|
+
|
|
490
567
|
# Using this information
|
|
491
568
|
|
|
492
569
|
- You can reference the IssueID in commit messages (e.g. \`Fixes CLOUDFLARE-MCP-41\`) to automatically close the issue when the commit is merged.
|
|
@@ -576,9 +653,9 @@ require_dist.describe("create_dsn", () => {
|
|
|
576
653
|
`);
|
|
577
654
|
});
|
|
578
655
|
});
|
|
579
|
-
require_dist.describe("
|
|
656
|
+
require_dist.describe("find_dsns", () => {
|
|
580
657
|
require_dist.it("serializes", async () => {
|
|
581
|
-
const tool = require_tools.TOOL_HANDLERS.
|
|
658
|
+
const tool = require_tools.TOOL_HANDLERS.find_dsns;
|
|
582
659
|
const result = await tool({
|
|
583
660
|
accessToken: "access-token",
|
|
584
661
|
userId: "1",
|