@sentry/mcp-server 0.41.0 → 0.42.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/auth/constants.cjs +1 -1
- package/dist/auth/constants.js +1 -1
- package/dist/auth/device-code-flow.cjs +3 -3
- package/dist/auth/device-code-flow.js +3 -3
- package/dist/auth/resolve-token.cjs +4 -4
- package/dist/auth/resolve-token.js +4 -4
- package/dist/{auth-CYOpb-jm.cjs → auth-B__Aec1m.cjs} +4 -4
- package/dist/{auth-CYOpb-jm.cjs.map → auth-B__Aec1m.cjs.map} +1 -1
- package/dist/{auth-YZqLxyqD.js → auth-BtRpItji.js} +4 -4
- package/dist/{auth-YZqLxyqD.js.map → auth-BtRpItji.js.map} +1 -1
- package/dist/cli/commands/auth.cjs +5 -5
- package/dist/cli/commands/auth.js +5 -5
- package/dist/cli/parse.d.cts.map +1 -1
- package/dist/cli/resolve.cjs +2 -2
- package/dist/cli/resolve.js +2 -2
- package/dist/{constants-Da7VwSRQ.js → constants-CGu8w21D.js} +9 -7
- package/dist/constants-CGu8w21D.js.map +1 -0
- package/dist/{constants-BqO-QSHl.cjs → constants-Cw_BclsW.cjs} +14 -6
- package/dist/constants-Cw_BclsW.cjs.map +1 -0
- package/dist/{device-code-flow-Dv-auCiV.cjs → device-code-flow-afx1qvK6.cjs} +3 -3
- package/dist/{device-code-flow-Dv-auCiV.cjs.map → device-code-flow-afx1qvK6.cjs.map} +1 -1
- package/dist/{device-code-flow-Bk6L232R.js → device-code-flow-mwBASRbi.js} +3 -3
- package/dist/{device-code-flow-Bk6L232R.js.map → device-code-flow-mwBASRbi.js.map} +1 -1
- package/dist/index.cjs +93 -98
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +93 -98
- package/dist/index.js.map +1 -1
- package/dist/{resolve-CZUghJrC.cjs → resolve-BvvBO-dw.cjs} +2 -2
- package/dist/{resolve-CZUghJrC.cjs.map → resolve-BvvBO-dw.cjs.map} +1 -1
- package/dist/{resolve-CkkdMFiR.js → resolve-DOyeMm4X.js} +2 -2
- package/dist/{resolve-CkkdMFiR.js.map → resolve-DOyeMm4X.js.map} +1 -1
- package/dist/{resolve-token-4RkU7UPe.js → resolve-token-BHBj9ll0.js} +3 -3
- package/dist/{resolve-token-4RkU7UPe.js.map → resolve-token-BHBj9ll0.js.map} +1 -1
- package/dist/{resolve-token-Daqu57f-.cjs → resolve-token-dsXzYI7-.cjs} +3 -3
- package/dist/{resolve-token-Daqu57f-.cjs.map → resolve-token-dsXzYI7-.cjs.map} +1 -1
- package/dist/{stdio-C0wKX460.js → stdio-0Gl343e-.js} +2 -2
- package/dist/{stdio-C0wKX460.js.map → stdio-0Gl343e-.js.map} +1 -1
- package/dist/{stdio-4lgW_97D.cjs → stdio-CZiqpRKP.cjs} +2 -2
- package/dist/{stdio-4lgW_97D.cjs.map → stdio-CZiqpRKP.cjs.map} +1 -1
- package/dist/transports/stdio.cjs +2 -2
- package/dist/transports/stdio.js +2 -2
- package/dist/version-NjstoynH.js +7 -0
- package/dist/version-NjstoynH.js.map +1 -0
- package/dist/{version-B-XjWQrQ.cjs → version-_1CmW0BF.cjs} +3 -3
- package/dist/version-_1CmW0BF.cjs.map +1 -0
- package/package.json +4 -4
- package/dist/constants-BqO-QSHl.cjs.map +0 -1
- package/dist/constants-Da7VwSRQ.js.map +0 -1
- package/dist/version-B-XjWQrQ.cjs.map +0 -1
- package/dist/version-CWKzsUXy.js +0 -7
- package/dist/version-CWKzsUXy.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
const require_chunk = require('./chunk-Cv9WC9bY.cjs');
|
|
3
|
-
const require_resolve = require('./resolve-
|
|
4
|
-
const require_constants = require('./constants-
|
|
5
|
-
const require_version = require('./version-
|
|
3
|
+
const require_resolve = require('./resolve-BvvBO-dw.cjs');
|
|
4
|
+
const require_constants = require('./constants-Cw_BclsW.cjs');
|
|
5
|
+
const require_version = require('./version-_1CmW0BF.cjs');
|
|
6
6
|
const require_token_error$1 = require('./token-error-x_miDBP3.cjs');
|
|
7
7
|
const require_blob_utils_B0ae0K_m = require('./blob-utils-B0ae0K-m-BF8kTomr.cjs');
|
|
8
8
|
const require_config_40SaJWzQ = require('./config-40SaJWzQ-Bxau3bPR.cjs');
|
|
9
|
-
const require_stdio = require('./stdio-
|
|
9
|
+
const require_stdio = require('./stdio-CZiqpRKP.cjs');
|
|
10
10
|
const require_usage = require('./usage-DZ4QDygT.cjs');
|
|
11
11
|
const require_output = require('./output-DEoNyYz7.cjs');
|
|
12
12
|
const require_parse = require('./parse-CPY7-_2_.cjs');
|
|
13
13
|
require('./types-dghCRFW4.cjs');
|
|
14
|
-
require('./device-code-flow-
|
|
14
|
+
require('./device-code-flow-afx1qvK6.cjs');
|
|
15
15
|
require('./token-cache-ATUcs1cg.cjs');
|
|
16
|
-
const require_resolve_token = require('./resolve-token-
|
|
17
|
-
const require_auth = require('./auth-
|
|
16
|
+
const require_resolve_token = require('./resolve-token-dsXzYI7-.cjs');
|
|
17
|
+
const require_auth = require('./auth-B__Aec1m.cjs');
|
|
18
18
|
const zod = require_chunk.__toESM(require("zod"));
|
|
19
19
|
const __sentry_core = require_chunk.__toESM(require("@sentry/core"));
|
|
20
20
|
const node_util = require_chunk.__toESM(require("node:util"));
|
|
@@ -3727,7 +3727,7 @@ const EventsStatsResponseSchema = zod.z.object({
|
|
|
3727
3727
|
}).passthrough();
|
|
3728
3728
|
|
|
3729
3729
|
//#endregion
|
|
3730
|
-
//#region ../mcp-core/dist/client-
|
|
3730
|
+
//#region ../mcp-core/dist/client-BMqioSXJ.js
|
|
3731
3731
|
const SENTRY_MCP_SEARCH_EVENTS_REFERRER = "api.mcp.search-events";
|
|
3732
3732
|
/**
|
|
3733
3733
|
* Mapping of common network error codes to user-friendly messages.
|
|
@@ -3944,15 +3944,10 @@ var SentryApiService = class {
|
|
|
3944
3944
|
this.apiPrefix = `${this.protocol}://${this.host}/api/0`;
|
|
3945
3945
|
}
|
|
3946
3946
|
/**
|
|
3947
|
-
*
|
|
3948
|
-
*
|
|
3949
|
-
* Used to determine API endpoint availability and URL formats.
|
|
3950
|
-
* Self-hosted instances may not have all endpoints available.
|
|
3951
|
-
*
|
|
3952
|
-
* @returns True if using Sentry SaaS, false for self-hosted instances
|
|
3947
|
+
* Whether API control requests and web URLs use public SaaS routing.
|
|
3953
3948
|
*/
|
|
3954
|
-
|
|
3955
|
-
return require_constants.
|
|
3949
|
+
isPublicSaas() {
|
|
3950
|
+
return require_constants.isPublicSentryHost(this.host);
|
|
3956
3951
|
}
|
|
3957
3952
|
/**
|
|
3958
3953
|
* Validates and applies time parameters to a URLSearchParams object.
|
|
@@ -4252,12 +4247,12 @@ var SentryApiService = class {
|
|
|
4252
4247
|
}
|
|
4253
4248
|
getIssueAlertRuleUrl(organizationSlug, ruleId) {
|
|
4254
4249
|
const encodedRuleId = encodeURIComponent(String(ruleId));
|
|
4255
|
-
if (this.
|
|
4250
|
+
if (this.isPublicSaas()) return `${this.protocol}://${organizationSlug}.sentry.io/monitors/alerts/${encodedRuleId}/`;
|
|
4256
4251
|
return `${this.protocol}://${this.host}/organizations/${organizationSlug}/monitors/alerts/${encodedRuleId}/`;
|
|
4257
4252
|
}
|
|
4258
4253
|
getMetricAlertRuleUrl(organizationSlug, ruleId) {
|
|
4259
4254
|
const encodedRuleId = encodeURIComponent(String(ruleId));
|
|
4260
|
-
if (this.
|
|
4255
|
+
if (this.isPublicSaas()) return `${this.protocol}://${organizationSlug}.sentry.io/issues/alerts/rules/details/${encodedRuleId}/`;
|
|
4261
4256
|
return `${this.protocol}://${this.host}/organizations/${organizationSlug}/issues/alerts/rules/details/${encodedRuleId}/`;
|
|
4262
4257
|
}
|
|
4263
4258
|
/**
|
|
@@ -4294,8 +4289,8 @@ var SentryApiService = class {
|
|
|
4294
4289
|
urlParams.set("mode", "aggregate");
|
|
4295
4290
|
if (aggregateFunctions && aggregateFunctions.length > 0) urlParams.set("yAxis", aggregateFunctions[0]);
|
|
4296
4291
|
} else urlParams.set("yAxis", "count()");
|
|
4297
|
-
const webHost = this.
|
|
4298
|
-
const path = this.
|
|
4292
|
+
const webHost = this.isPublicSaas() ? "sentry.io" : this.host;
|
|
4293
|
+
const path = this.isPublicSaas() ? `${this.protocol}://${organizationSlug}.${webHost}/explore/discover/homepage/` : `${this.protocol}://${this.host}/organizations/${organizationSlug}/explore/discover/homepage/`;
|
|
4299
4294
|
return `${path}?${urlParams.toString()}`;
|
|
4300
4295
|
}
|
|
4301
4296
|
isAggregateExplorerQuery(params) {
|
|
@@ -4328,7 +4323,7 @@ var SentryApiService = class {
|
|
|
4328
4323
|
} else urlParams.set("statsPeriod", params.statsPeriod || "24h");
|
|
4329
4324
|
}
|
|
4330
4325
|
buildExplorePath(organizationSlug, page) {
|
|
4331
|
-
if (this.
|
|
4326
|
+
if (this.isPublicSaas()) return `${this.protocol}://${organizationSlug}.sentry.io/explore/${page}/`;
|
|
4332
4327
|
return `${this.protocol}://${this.host}/organizations/${organizationSlug}/explore/${page}/`;
|
|
4333
4328
|
}
|
|
4334
4329
|
/** Builds a Spans Explorer URL using its `query`, `field`, and `sort` contract. */
|
|
@@ -4462,7 +4457,7 @@ var SentryApiService = class {
|
|
|
4462
4457
|
*/
|
|
4463
4458
|
async getAuthenticatedUser(opts) {
|
|
4464
4459
|
let authHost;
|
|
4465
|
-
if (this.
|
|
4460
|
+
if (this.isPublicSaas()) authHost = "sentry.io";
|
|
4466
4461
|
const body = await this.requestJSON("/auth/", void 0, {
|
|
4467
4462
|
...opts,
|
|
4468
4463
|
host: authHost
|
|
@@ -4496,7 +4491,7 @@ var SentryApiService = class {
|
|
|
4496
4491
|
const queryString = queryParams.toString();
|
|
4497
4492
|
const path = `/organizations/?${queryString}`;
|
|
4498
4493
|
let host = void 0;
|
|
4499
|
-
if (this.
|
|
4494
|
+
if (this.isPublicSaas()) host = "sentry.io";
|
|
4500
4495
|
const body = await this.requestJSON(path, void 0, { host });
|
|
4501
4496
|
return OrganizationListSchema.parse(body);
|
|
4502
4497
|
}
|
|
@@ -13933,7 +13928,7 @@ function validateRegionUrl(regionUrl, baseHost) {
|
|
|
13933
13928
|
}
|
|
13934
13929
|
|
|
13935
13930
|
//#endregion
|
|
13936
|
-
//#region ../mcp-core/dist/api-
|
|
13931
|
+
//#region ../mcp-core/dist/api-WgAP3kxC.js
|
|
13937
13932
|
/**
|
|
13938
13933
|
* Create a Sentry API service from server context with optional region override
|
|
13939
13934
|
* @param context - Server context containing host and access token
|
|
@@ -13987,7 +13982,7 @@ function structuredResult(structuredContent) {
|
|
|
13987
13982
|
}
|
|
13988
13983
|
|
|
13989
13984
|
//#endregion
|
|
13990
|
-
//#region ../mcp-core/dist/whoami-
|
|
13985
|
+
//#region ../mcp-core/dist/whoami-EoDhvBvs.js
|
|
13991
13986
|
const whoamiOutputSchema = zod.z.object({
|
|
13992
13987
|
user: zod.z.object({
|
|
13993
13988
|
id: zod.z.string(),
|
|
@@ -14038,7 +14033,7 @@ var whoami_default = defineTool({
|
|
|
14038
14033
|
});
|
|
14039
14034
|
|
|
14040
14035
|
//#endregion
|
|
14041
|
-
//#region ../mcp-core/dist/get-sentry-mcp-info-
|
|
14036
|
+
//#region ../mcp-core/dist/get-sentry-mcp-info-DKxD0sCm.js
|
|
14042
14037
|
const getSentryMcpInfoOutputSchema = zod.z.object({ version: zod.z.string().describe("The Sentry MCP server version.") });
|
|
14043
14038
|
var get_sentry_mcp_info_default = defineTool({
|
|
14044
14039
|
name: "get_sentry_mcp_info",
|
|
@@ -14064,7 +14059,7 @@ var get_sentry_mcp_info_default = defineTool({
|
|
|
14064
14059
|
});
|
|
14065
14060
|
|
|
14066
14061
|
//#endregion
|
|
14067
|
-
//#region ../mcp-core/dist/find-organizations-
|
|
14062
|
+
//#region ../mcp-core/dist/find-organizations-Cn0PtgIL.js
|
|
14068
14063
|
const RESULT_LIMIT$3 = 25;
|
|
14069
14064
|
const findOrganizationsOutputSchema = zod.z.object({
|
|
14070
14065
|
organizations: zod.z.array(zod.z.object({
|
|
@@ -14123,7 +14118,7 @@ function setOrganizationContext(organizationSlug) {
|
|
|
14123
14118
|
}
|
|
14124
14119
|
|
|
14125
14120
|
//#endregion
|
|
14126
|
-
//#region ../mcp-core/dist/find-teams-
|
|
14121
|
+
//#region ../mcp-core/dist/find-teams-DBDkm24J.js
|
|
14127
14122
|
const RESULT_LIMIT$2 = 25;
|
|
14128
14123
|
const findTeamsOutputSchema = zod.z.object({
|
|
14129
14124
|
teams: zod.z.array(zod.z.object({
|
|
@@ -14181,7 +14176,7 @@ var find_teams_default = defineTool({
|
|
|
14181
14176
|
});
|
|
14182
14177
|
|
|
14183
14178
|
//#endregion
|
|
14184
|
-
//#region ../mcp-core/dist/find-projects-
|
|
14179
|
+
//#region ../mcp-core/dist/find-projects-Dw0XbBbl.js
|
|
14185
14180
|
const RESULT_LIMIT$1 = 25;
|
|
14186
14181
|
const findProjectsOutputSchema = zod.z.object({
|
|
14187
14182
|
projects: zod.z.array(zod.z.object({ slug: zod.z.string() })),
|
|
@@ -14229,7 +14224,7 @@ var find_projects_default = defineTool({
|
|
|
14229
14224
|
});
|
|
14230
14225
|
|
|
14231
14226
|
//#endregion
|
|
14232
|
-
//#region ../mcp-core/dist/find-releases-
|
|
14227
|
+
//#region ../mcp-core/dist/find-releases-BANyYOrP.js
|
|
14233
14228
|
const RESULT_LIMIT = 25;
|
|
14234
14229
|
const findReleasesOutputSchema = zod.z.object({
|
|
14235
14230
|
releases: zod.z.array(zod.z.object({
|
|
@@ -14402,7 +14397,7 @@ function assertProjectConstraintEvidence({ resourceLabel, scopedProjectSlug, has
|
|
|
14402
14397
|
}
|
|
14403
14398
|
|
|
14404
14399
|
//#endregion
|
|
14405
|
-
//#region ../mcp-core/dist/get-release-details-
|
|
14400
|
+
//#region ../mcp-core/dist/get-release-details-EO7WDxG1.js
|
|
14406
14401
|
function formatProjects(release) {
|
|
14407
14402
|
if (!release.projects || release.projects.length === 0) return null;
|
|
14408
14403
|
return release.projects.map((project) => project.slug ?? project.name).join(", ");
|
|
@@ -14686,7 +14681,7 @@ async function resolveDashboardId({ apiService, organizationSlug, dashboardIdOrT
|
|
|
14686
14681
|
}
|
|
14687
14682
|
|
|
14688
14683
|
//#endregion
|
|
14689
|
-
//#region ../mcp-core/dist/find-dashboards-
|
|
14684
|
+
//#region ../mcp-core/dist/find-dashboards-DKLP0i-d.js
|
|
14690
14685
|
const PROJECT_DASHBOARD_CURSOR_PREFIX = "mcp-dashboard-project:";
|
|
14691
14686
|
const dashboardSummarySchema = zod.z.object({
|
|
14692
14687
|
id: zod.z.string(),
|
|
@@ -14897,7 +14892,7 @@ var find_dashboards_default = defineTool({
|
|
|
14897
14892
|
});
|
|
14898
14893
|
|
|
14899
14894
|
//#endregion
|
|
14900
|
-
//#region ../mcp-core/dist/get-dashboard-details
|
|
14895
|
+
//#region ../mcp-core/dist/get-dashboard-details--oIztzid.js
|
|
14901
14896
|
var get_dashboard_details_default = defineTool({
|
|
14902
14897
|
name: "get_dashboard_details",
|
|
14903
14898
|
skills: ["inspect"],
|
|
@@ -14971,7 +14966,7 @@ var get_dashboard_details_default = defineTool({
|
|
|
14971
14966
|
});
|
|
14972
14967
|
|
|
14973
14968
|
//#endregion
|
|
14974
|
-
//#region ../mcp-core/dist/find-monitors-
|
|
14969
|
+
//#region ../mcp-core/dist/find-monitors-CL13rhUK.js
|
|
14975
14970
|
const ENVIRONMENT_LIMIT = 5;
|
|
14976
14971
|
const monitorScheduleOutputSchema = zod.z.object({
|
|
14977
14972
|
type: zod.z.string().nullable(),
|
|
@@ -15149,7 +15144,7 @@ var find_monitors_default = defineTool({
|
|
|
15149
15144
|
});
|
|
15150
15145
|
|
|
15151
15146
|
//#endregion
|
|
15152
|
-
//#region ../mcp-core/dist/get-monitor-details-
|
|
15147
|
+
//#region ../mcp-core/dist/get-monitor-details-rOWfK-z4.js
|
|
15153
15148
|
function formatProject(monitor) {
|
|
15154
15149
|
if (!monitor.project) return null;
|
|
15155
15150
|
return monitor.project.slug ?? monitor.project.name ?? null;
|
|
@@ -15442,7 +15437,7 @@ function toUptimeMonitorSummary(monitor, webUrl) {
|
|
|
15442
15437
|
}
|
|
15443
15438
|
|
|
15444
15439
|
//#endregion
|
|
15445
|
-
//#region ../mcp-core/dist/find-uptime-monitors-
|
|
15440
|
+
//#region ../mcp-core/dist/find-uptime-monitors-CfklmxHQ.js
|
|
15446
15441
|
const findUptimeMonitorsOutputSchema = zod.z.object({
|
|
15447
15442
|
monitors: zod.z.array(uptimeMonitorListItemSchema),
|
|
15448
15443
|
hasMore: zod.z.boolean()
|
|
@@ -15510,7 +15505,7 @@ var find_uptime_monitors_default = defineTool({
|
|
|
15510
15505
|
});
|
|
15511
15506
|
|
|
15512
15507
|
//#endregion
|
|
15513
|
-
//#region ../mcp-core/dist/get-uptime-monitor-details-
|
|
15508
|
+
//#region ../mcp-core/dist/get-uptime-monitor-details-DTAs_Yxr.js
|
|
15514
15509
|
function formatCheck(check, monitorEnvironment) {
|
|
15515
15510
|
const time = formatDate(check.timestamp) ?? formatDate(check.scheduledCheckTime) ?? "unknown time";
|
|
15516
15511
|
const status = check.checkStatus ?? "unknown";
|
|
@@ -15789,7 +15784,7 @@ async function findExactMetricMonitorMatches(api, params) {
|
|
|
15789
15784
|
}
|
|
15790
15785
|
|
|
15791
15786
|
//#endregion
|
|
15792
|
-
//#region ../mcp-core/dist/find-metric-monitors-
|
|
15787
|
+
//#region ../mcp-core/dist/find-metric-monitors-CV2esXDV.js
|
|
15793
15788
|
const findMetricMonitorsOutputSchema = zod.z.object({
|
|
15794
15789
|
monitors: zod.z.array(metricMonitorSummarySchema),
|
|
15795
15790
|
nextCursor: zod.z.string().nullable()
|
|
@@ -15842,7 +15837,7 @@ var find_metric_monitors_default = defineTool({
|
|
|
15842
15837
|
});
|
|
15843
15838
|
|
|
15844
15839
|
//#endregion
|
|
15845
|
-
//#region ../mcp-core/dist/get-metric-monitor-details-
|
|
15840
|
+
//#region ../mcp-core/dist/get-metric-monitor-details-CgVPjtPz.js
|
|
15846
15841
|
const getMetricMonitorDetailsOutputSchema = zod.z.object({ monitor: metricMonitorDetailsSchema });
|
|
15847
15842
|
var get_metric_monitor_details_default = defineTool({
|
|
15848
15843
|
name: "get_metric_monitor_details",
|
|
@@ -15997,7 +15992,7 @@ function toMetricDetectionConfig(config, conditions, current = {}) {
|
|
|
15997
15992
|
}
|
|
15998
15993
|
|
|
15999
15994
|
//#endregion
|
|
16000
|
-
//#region ../mcp-core/dist/create-metric-monitor-
|
|
15995
|
+
//#region ../mcp-core/dist/create-metric-monitor-Bs7AJsRO.js
|
|
16001
15996
|
var create_metric_monitor_default = defineTool({
|
|
16002
15997
|
name: "create_metric_monitor",
|
|
16003
15998
|
skills: ["project-management"],
|
|
@@ -16075,7 +16070,7 @@ var create_metric_monitor_default = defineTool({
|
|
|
16075
16070
|
});
|
|
16076
16071
|
|
|
16077
16072
|
//#endregion
|
|
16078
|
-
//#region ../mcp-core/dist/update-metric-monitor-
|
|
16073
|
+
//#region ../mcp-core/dist/update-metric-monitor-CiKmGFny.js
|
|
16079
16074
|
var update_metric_monitor_default = defineTool({
|
|
16080
16075
|
name: "update_metric_monitor",
|
|
16081
16076
|
skills: ["project-management"],
|
|
@@ -16128,7 +16123,7 @@ var update_metric_monitor_default = defineTool({
|
|
|
16128
16123
|
});
|
|
16129
16124
|
|
|
16130
16125
|
//#endregion
|
|
16131
|
-
//#region ../mcp-core/dist/delete-metric-monitor-
|
|
16126
|
+
//#region ../mcp-core/dist/delete-metric-monitor-CnILGM5O.js
|
|
16132
16127
|
var delete_metric_monitor_default = defineTool({
|
|
16133
16128
|
name: "delete_metric_monitor",
|
|
16134
16129
|
skills: ["project-management"],
|
|
@@ -16174,7 +16169,7 @@ var delete_metric_monitor_default = defineTool({
|
|
|
16174
16169
|
});
|
|
16175
16170
|
|
|
16176
16171
|
//#endregion
|
|
16177
|
-
//#region ../mcp-core/dist/create-uptime-monitor-
|
|
16172
|
+
//#region ../mcp-core/dist/create-uptime-monitor-Dhp0SDV_.js
|
|
16178
16173
|
const createUptimeMonitorOutputSchema = zod.z.object({ monitor: uptimeMonitorSummarySchema });
|
|
16179
16174
|
var create_uptime_monitor_default = defineTool({
|
|
16180
16175
|
name: "create_uptime_monitor",
|
|
@@ -16255,7 +16250,7 @@ var create_uptime_monitor_default = defineTool({
|
|
|
16255
16250
|
});
|
|
16256
16251
|
|
|
16257
16252
|
//#endregion
|
|
16258
|
-
//#region ../mcp-core/dist/update-uptime-monitor-
|
|
16253
|
+
//#region ../mcp-core/dist/update-uptime-monitor-200hEimx.js
|
|
16259
16254
|
const updateUptimeMonitorOutputSchema = zod.z.object({ monitor: uptimeMonitorSummarySchema });
|
|
16260
16255
|
function hasDefinedUpdate(value) {
|
|
16261
16256
|
return value !== void 0;
|
|
@@ -16346,7 +16341,7 @@ var update_uptime_monitor_default = defineTool({
|
|
|
16346
16341
|
});
|
|
16347
16342
|
|
|
16348
16343
|
//#endregion
|
|
16349
|
-
//#region ../mcp-core/dist/delete-uptime-monitor-
|
|
16344
|
+
//#region ../mcp-core/dist/delete-uptime-monitor-Ccj4Oh8W.js
|
|
16350
16345
|
const deleteUptimeMonitorOutputSchema = zod.z.object({
|
|
16351
16346
|
success: zod.z.literal(true),
|
|
16352
16347
|
uptimeMonitorId: zod.z.string(),
|
|
@@ -16405,7 +16400,7 @@ var delete_uptime_monitor_default = defineTool({
|
|
|
16405
16400
|
});
|
|
16406
16401
|
|
|
16407
16402
|
//#endregion
|
|
16408
|
-
//#region ../mcp-core/dist/find-alert-rules-
|
|
16403
|
+
//#region ../mcp-core/dist/find-alert-rules-B0eNUZYx.js
|
|
16409
16404
|
const AlertRuleKind$1 = zod.z.enum([
|
|
16410
16405
|
"all",
|
|
16411
16406
|
"issue",
|
|
@@ -16795,7 +16790,7 @@ async function resolveMetricAlertRule(apiService, params) {
|
|
|
16795
16790
|
}
|
|
16796
16791
|
|
|
16797
16792
|
//#endregion
|
|
16798
|
-
//#region ../mcp-core/dist/get-alert-rule-
|
|
16793
|
+
//#region ../mcp-core/dist/get-alert-rule-3MdBC-Ec.js
|
|
16799
16794
|
const AlertRuleKind = zod.z.enum([
|
|
16800
16795
|
"all",
|
|
16801
16796
|
"issue",
|
|
@@ -16924,7 +16919,7 @@ var get_alert_rule_default = defineTool({
|
|
|
16924
16919
|
});
|
|
16925
16920
|
|
|
16926
16921
|
//#endregion
|
|
16927
|
-
//#region ../mcp-core/dist/get-alert-options-
|
|
16922
|
+
//#region ../mcp-core/dist/get-alert-options-D-dQOLAa.js
|
|
16928
16923
|
const sectionSchema = zod.z.enum([
|
|
16929
16924
|
"actions",
|
|
16930
16925
|
"conditions",
|
|
@@ -17253,7 +17248,7 @@ function assertResolvedAlertDestinations(rule, operation = "update") {
|
|
|
17253
17248
|
}
|
|
17254
17249
|
|
|
17255
17250
|
//#endregion
|
|
17256
|
-
//#region ../mcp-core/dist/update-alert-rule-
|
|
17251
|
+
//#region ../mcp-core/dist/update-alert-rule-BhijrzEe.js
|
|
17257
17252
|
const updateAlertRuleOutputSchema = zod.z.object({ alertRule: alertRuleSummarySchema });
|
|
17258
17253
|
/** Preserve copied actions while asking Sentry to resolve a changed Slack destination. */
|
|
17259
17254
|
function resolveChangedSlackDestinations(groups, current) {
|
|
@@ -17402,7 +17397,7 @@ var update_alert_rule_default = defineTool({
|
|
|
17402
17397
|
});
|
|
17403
17398
|
|
|
17404
17399
|
//#endregion
|
|
17405
|
-
//#region ../mcp-core/dist/create-alert-rule-
|
|
17400
|
+
//#region ../mcp-core/dist/create-alert-rule-DgTirEA-.js
|
|
17406
17401
|
var create_alert_rule_default = defineTool({
|
|
17407
17402
|
name: "create_alert_rule",
|
|
17408
17403
|
skills: ["project-management"],
|
|
@@ -17487,7 +17482,7 @@ var create_alert_rule_default = defineTool({
|
|
|
17487
17482
|
});
|
|
17488
17483
|
|
|
17489
17484
|
//#endregion
|
|
17490
|
-
//#region ../mcp-core/dist/delete-alert-rule-
|
|
17485
|
+
//#region ../mcp-core/dist/delete-alert-rule-Chf3KTmT.js
|
|
17491
17486
|
var delete_alert_rule_default = defineTool({
|
|
17492
17487
|
name: "delete_alert_rule",
|
|
17493
17488
|
skills: ["project-management"],
|
|
@@ -19502,7 +19497,7 @@ function getString$1(value) {
|
|
|
19502
19497
|
}
|
|
19503
19498
|
|
|
19504
19499
|
//#endregion
|
|
19505
|
-
//#region ../mcp-core/dist/get-issue-details-
|
|
19500
|
+
//#region ../mcp-core/dist/get-issue-details-eoGHUc5t.js
|
|
19506
19501
|
const MAX_RELATED_REPLAYS = 5;
|
|
19507
19502
|
const MAX_AI_CONVERSATION_MATCHES = 3;
|
|
19508
19503
|
const AI_CONVERSATION_LOOKUP_WINDOW_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -20131,7 +20126,7 @@ function selectUnique(threads, predicate, notFoundMessage, ambiguousMessage) {
|
|
|
20131
20126
|
}
|
|
20132
20127
|
|
|
20133
20128
|
//#endregion
|
|
20134
|
-
//#region ../mcp-core/dist/get-event-stacktrace-
|
|
20129
|
+
//#region ../mcp-core/dist/get-event-stacktrace-bBkw7XcE.js
|
|
20135
20130
|
var get_event_stacktrace_default = defineTool({
|
|
20136
20131
|
name: "get_event_stacktrace",
|
|
20137
20132
|
skills: [
|
|
@@ -20202,7 +20197,7 @@ var get_event_stacktrace_default = defineTool({
|
|
|
20202
20197
|
});
|
|
20203
20198
|
|
|
20204
20199
|
//#endregion
|
|
20205
|
-
//#region ../mcp-core/dist/get-issue-activity-
|
|
20200
|
+
//#region ../mcp-core/dist/get-issue-activity-kTtszY5w.js
|
|
20206
20201
|
function getActivityText(activity) {
|
|
20207
20202
|
const data = activity.data;
|
|
20208
20203
|
if (!data) return null;
|
|
@@ -20359,7 +20354,7 @@ function cleanAndTruncate(str, maxLen) {
|
|
|
20359
20354
|
}
|
|
20360
20355
|
|
|
20361
20356
|
//#endregion
|
|
20362
|
-
//#region ../mcp-core/dist/get-issue-breadcrumbs-
|
|
20357
|
+
//#region ../mcp-core/dist/get-issue-breadcrumbs-CUYsYU0Z.js
|
|
20363
20358
|
var get_issue_breadcrumbs_default = defineTool({
|
|
20364
20359
|
name: "get_issue_breadcrumbs",
|
|
20365
20360
|
skills: ["inspect", "triage"],
|
|
@@ -20421,7 +20416,7 @@ var get_issue_breadcrumbs_default = defineTool({
|
|
|
20421
20416
|
});
|
|
20422
20417
|
|
|
20423
20418
|
//#endregion
|
|
20424
|
-
//#region ../mcp-core/dist/get-issue-tag-values-
|
|
20419
|
+
//#region ../mcp-core/dist/get-issue-tag-values-DyhK3PJ0.js
|
|
20425
20420
|
const getIssueTagValuesOutputSchema = zod.z.object({ tag: zod.z.object({
|
|
20426
20421
|
key: zod.z.string(),
|
|
20427
20422
|
name: zod.z.string(),
|
|
@@ -20539,7 +20534,7 @@ var get_issue_tag_values_default = defineTool({
|
|
|
20539
20534
|
});
|
|
20540
20535
|
|
|
20541
20536
|
//#endregion
|
|
20542
|
-
//#region ../mcp-core/dist/get-issue-user-reports-
|
|
20537
|
+
//#region ../mcp-core/dist/get-issue-user-reports-D4BEYSq0.js
|
|
20543
20538
|
function getReporter(report) {
|
|
20544
20539
|
const userId = report.user?.id?.trim();
|
|
20545
20540
|
const userIdReporter = userId && !["none", "null"].includes(userId.toLowerCase()) ? `user:${userId}` : null;
|
|
@@ -24127,7 +24122,7 @@ function createAnthropic(options = {}) {
|
|
|
24127
24122
|
var anthropic = createAnthropic();
|
|
24128
24123
|
|
|
24129
24124
|
//#endregion
|
|
24130
|
-
//#region ../mcp-core/dist/anthropic-provider
|
|
24125
|
+
//#region ../mcp-core/dist/anthropic-provider-CXJE4xN5.js
|
|
24131
24126
|
const DEFAULT_ANTHROPIC_MODEL = "claude-sonnet-4-5";
|
|
24132
24127
|
let configuredBaseUrl$2;
|
|
24133
24128
|
/**
|
|
@@ -28780,7 +28775,7 @@ function createOpenAI(options = {}) {
|
|
|
28780
28775
|
var openai = createOpenAI();
|
|
28781
28776
|
|
|
28782
28777
|
//#endregion
|
|
28783
|
-
//#region ../mcp-core/dist/azure-openai-provider-
|
|
28778
|
+
//#region ../mcp-core/dist/azure-openai-provider-B-75yre2.js
|
|
28784
28779
|
const DEFAULT_OPENAI_MODEL$1 = "gpt-5";
|
|
28785
28780
|
let configuredBaseUrl$1;
|
|
28786
28781
|
function setAzureOpenAIBaseUrl(baseUrl) {
|
|
@@ -28838,7 +28833,7 @@ function getAzureOpenAIModel(model) {
|
|
|
28838
28833
|
}
|
|
28839
28834
|
|
|
28840
28835
|
//#endregion
|
|
28841
|
-
//#region ../mcp-core/dist/openai-provider-
|
|
28836
|
+
//#region ../mcp-core/dist/openai-provider-BKwazO-Y.js
|
|
28842
28837
|
const DEFAULT_OPENAI_MODEL = "gpt-5";
|
|
28843
28838
|
let configuredBaseUrl;
|
|
28844
28839
|
/**
|
|
@@ -28878,7 +28873,7 @@ function getOpenAIModel(model) {
|
|
|
28878
28873
|
}
|
|
28879
28874
|
|
|
28880
28875
|
//#endregion
|
|
28881
|
-
//#region ../mcp-core/dist/openrouter-provider-
|
|
28876
|
+
//#region ../mcp-core/dist/openrouter-provider-BxvmG7fM.js
|
|
28882
28877
|
const DEFAULT_OPENROUTER_MODEL = "openai/gpt-5.6-luna";
|
|
28883
28878
|
const DEFAULT_OPENROUTER_REASONING_EFFORT = "high";
|
|
28884
28879
|
const OPENROUTER_BASE_URL = "https://openrouter.ai/api/v1";
|
|
@@ -28930,7 +28925,7 @@ function getOpenRouterProviderOptions() {
|
|
|
28930
28925
|
}
|
|
28931
28926
|
|
|
28932
28927
|
//#endregion
|
|
28933
|
-
//#region ../mcp-core/dist/provider-factory-
|
|
28928
|
+
//#region ../mcp-core/dist/provider-factory-PfhftGGp.js
|
|
28934
28929
|
let configuredProvider;
|
|
28935
28930
|
/**
|
|
28936
28931
|
* Configure the embedded agent provider explicitly.
|
|
@@ -29075,7 +29070,7 @@ function getResolvedProviderType() {
|
|
|
29075
29070
|
}
|
|
29076
29071
|
|
|
29077
29072
|
//#endregion
|
|
29078
|
-
//#region ../mcp-core/dist/resolve-region-url-
|
|
29073
|
+
//#region ../mcp-core/dist/resolve-region-url-DNZh3Z8R.js
|
|
29079
29074
|
const regionUrlCache = /* @__PURE__ */ new WeakMap();
|
|
29080
29075
|
function getRegionUrlCache(context$1) {
|
|
29081
29076
|
let cache = regionUrlCache.get(context$1);
|
|
@@ -29502,7 +29497,7 @@ function formatDisplayPart(value, maxLength) {
|
|
|
29502
29497
|
}
|
|
29503
29498
|
|
|
29504
29499
|
//#endregion
|
|
29505
|
-
//#region ../mcp-core/dist/get-trace-details-
|
|
29500
|
+
//#region ../mcp-core/dist/get-trace-details-BD28I1Vc.js
|
|
29506
29501
|
const MAX_TRACE_FETCH_LIMIT = 1e3;
|
|
29507
29502
|
const MAX_FOCUSED_TRACE_FETCH_LIMIT = 1e4;
|
|
29508
29503
|
const MIN_TRACE_FETCH_LIMIT = 50;
|
|
@@ -30255,7 +30250,7 @@ function buildTraceNextSteps({ organizationSlug, traceId, spanFocused = false, e
|
|
|
30255
30250
|
}
|
|
30256
30251
|
|
|
30257
30252
|
//#endregion
|
|
30258
|
-
//#region ../mcp-core/dist/get-span-details-
|
|
30253
|
+
//#region ../mcp-core/dist/get-span-details-BAuZ3dc4.js
|
|
30259
30254
|
var get_span_details_default = defineTool({
|
|
30260
30255
|
name: "get_span_details",
|
|
30261
30256
|
skills: ["inspect"],
|
|
@@ -30559,7 +30554,7 @@ function isProfileUrl(url) {
|
|
|
30559
30554
|
}
|
|
30560
30555
|
|
|
30561
30556
|
//#endregion
|
|
30562
|
-
//#region ../mcp-core/dist/get-replay-details-
|
|
30557
|
+
//#region ../mcp-core/dist/get-replay-details-6gC-jaim.js
|
|
30563
30558
|
const MAX_ACTIVITY_EVENTS = 6;
|
|
30564
30559
|
const MAX_RELATED_ERRORS = 3;
|
|
30565
30560
|
const MAX_RELATED_TRACES = 2;
|
|
@@ -30896,7 +30891,7 @@ function quoteDetail(value) {
|
|
|
30896
30891
|
}
|
|
30897
30892
|
|
|
30898
30893
|
//#endregion
|
|
30899
|
-
//#region ../mcp-core/dist/get-event-attachment-
|
|
30894
|
+
//#region ../mcp-core/dist/get-event-attachment-CfKLgOEQ.js
|
|
30900
30895
|
function formatMegabytes(bytes) {
|
|
30901
30896
|
return `${(bytes / (1024 * 1024)).toFixed(1)} MB`;
|
|
30902
30897
|
}
|
|
@@ -31101,7 +31096,7 @@ function formatAssignedTo(assignedTo) {
|
|
|
31101
31096
|
}
|
|
31102
31097
|
|
|
31103
31098
|
//#endregion
|
|
31104
|
-
//#region ../mcp-core/dist/update-issue-
|
|
31099
|
+
//#region ../mcp-core/dist/update-issue-poSM1hi0.js
|
|
31105
31100
|
function pluralize(value, noun) {
|
|
31106
31101
|
return `${value} ${noun}${value === 1 ? "" : "s"}`;
|
|
31107
31102
|
}
|
|
@@ -31669,7 +31664,7 @@ function scrubSensitiveText(text$1) {
|
|
|
31669
31664
|
}
|
|
31670
31665
|
|
|
31671
31666
|
//#endregion
|
|
31672
|
-
//#region ../mcp-core/dist/callEmbeddedAgent-
|
|
31667
|
+
//#region ../mcp-core/dist/callEmbeddedAgent-DZIFOnvg.js
|
|
31673
31668
|
/**
|
|
31674
31669
|
* Resolve the underlying provider failure from an AI SDK error.
|
|
31675
31670
|
*
|
|
@@ -38084,7 +38079,7 @@ function createValidateEventsSearchTool(options) {
|
|
|
38084
38079
|
}
|
|
38085
38080
|
|
|
38086
38081
|
//#endregion
|
|
38087
|
-
//#region ../mcp-core/dist/agent-
|
|
38082
|
+
//#region ../mcp-core/dist/agent-3xfzatLu.js
|
|
38088
38083
|
const SEARCH_EVENTS_DATASETS$1 = [...require_constants.PUBLIC_EVENTS_DATASETS, "replays"];
|
|
38089
38084
|
const searchEventsAgentOutputSchema = zod.z.object({
|
|
38090
38085
|
dataset: zod.z.enum(SEARCH_EVENTS_DATASETS$1).describe("Which dataset to use for the query"),
|
|
@@ -39077,7 +39072,7 @@ function formatReplayEnvironment(environment) {
|
|
|
39077
39072
|
}
|
|
39078
39073
|
|
|
39079
39074
|
//#endregion
|
|
39080
|
-
//#region ../mcp-core/dist/search-events-
|
|
39075
|
+
//#region ../mcp-core/dist/search-events-9GC_uKqn.js
|
|
39081
39076
|
const SEARCH_EVENTS_DATASETS = [...require_constants.PUBLIC_EVENTS_DATASETS, "replays"];
|
|
39082
39077
|
const DEFAULT_EVENTS_SORT = "-timestamp";
|
|
39083
39078
|
function defaultSortForDataset(dataset) {
|
|
@@ -39575,7 +39570,7 @@ var search_events_default = defineTool({
|
|
|
39575
39570
|
});
|
|
39576
39571
|
|
|
39577
39572
|
//#endregion
|
|
39578
|
-
//#region ../mcp-core/dist/create-team-
|
|
39573
|
+
//#region ../mcp-core/dist/create-team-BxcEavRa.js
|
|
39579
39574
|
const createTeamOutputSchema = zod.z.object({ team: zod.z.object({
|
|
39580
39575
|
id: zod.z.string(),
|
|
39581
39576
|
slug: zod.z.string(),
|
|
@@ -39634,7 +39629,7 @@ var create_team_default = defineTool({
|
|
|
39634
39629
|
});
|
|
39635
39630
|
|
|
39636
39631
|
//#endregion
|
|
39637
|
-
//#region ../mcp-core/dist/create-project-
|
|
39632
|
+
//#region ../mcp-core/dist/create-project-BPfG37b9.js
|
|
39638
39633
|
function getUsableClientKey(clientKeys) {
|
|
39639
39634
|
return clientKeys.find((key) => key.name === "Default" && key.isActive && key.dsn.public) ?? clientKeys.find((key) => key.isActive && key.dsn.public);
|
|
39640
39635
|
}
|
|
@@ -39790,7 +39785,7 @@ var create_project_default = defineTool({
|
|
|
39790
39785
|
});
|
|
39791
39786
|
|
|
39792
39787
|
//#endregion
|
|
39793
|
-
//#region ../mcp-core/dist/update-project-
|
|
39788
|
+
//#region ../mcp-core/dist/update-project-YphAStAB.js
|
|
39794
39789
|
const updateProjectOutputSchema = zod.z.object({ project: zod.z.object({
|
|
39795
39790
|
id: zod.z.string(),
|
|
39796
39791
|
slug: zod.z.string(),
|
|
@@ -39880,7 +39875,7 @@ var update_project_default = defineTool({
|
|
|
39880
39875
|
});
|
|
39881
39876
|
|
|
39882
39877
|
//#endregion
|
|
39883
|
-
//#region ../mcp-core/dist/add-team-to-project-
|
|
39878
|
+
//#region ../mcp-core/dist/add-team-to-project-CKW-0xoY.js
|
|
39884
39879
|
const assignedTeamSchema$1 = zod.z.object({
|
|
39885
39880
|
id: zod.z.string(),
|
|
39886
39881
|
slug: zod.z.string(),
|
|
@@ -39967,7 +39962,7 @@ var add_team_to_project_default = defineTool({
|
|
|
39967
39962
|
});
|
|
39968
39963
|
|
|
39969
39964
|
//#endregion
|
|
39970
|
-
//#region ../mcp-core/dist/remove-team-from-project-
|
|
39965
|
+
//#region ../mcp-core/dist/remove-team-from-project-DAA3jAct.js
|
|
39971
39966
|
const assignedTeamSchema = zod.z.object({
|
|
39972
39967
|
id: zod.z.string(),
|
|
39973
39968
|
slug: zod.z.string(),
|
|
@@ -40053,7 +40048,7 @@ var remove_team_from_project_default = defineTool({
|
|
|
40053
40048
|
});
|
|
40054
40049
|
|
|
40055
40050
|
//#endregion
|
|
40056
|
-
//#region ../mcp-core/dist/create-dsn-
|
|
40051
|
+
//#region ../mcp-core/dist/create-dsn-Vt_rAOT2.js
|
|
40057
40052
|
const createDsnOutputSchema = zod.z.object({ dsn: zod.z.object({
|
|
40058
40053
|
id: zod.z.string(),
|
|
40059
40054
|
name: zod.z.string(),
|
|
@@ -40118,7 +40113,7 @@ var create_dsn_default = defineTool({
|
|
|
40118
40113
|
});
|
|
40119
40114
|
|
|
40120
40115
|
//#endregion
|
|
40121
|
-
//#region ../mcp-core/dist/find-dsns-
|
|
40116
|
+
//#region ../mcp-core/dist/find-dsns-BVtlnryz.js
|
|
40122
40117
|
const findDsnsOutputSchema = zod.z.object({ dsns: zod.z.array(zod.z.object({
|
|
40123
40118
|
id: zod.z.string(),
|
|
40124
40119
|
name: zod.z.string(),
|
|
@@ -40168,7 +40163,7 @@ var find_dsns_default = defineTool({
|
|
|
40168
40163
|
});
|
|
40169
40164
|
|
|
40170
40165
|
//#endregion
|
|
40171
|
-
//#region ../mcp-core/dist/update-dsn-
|
|
40166
|
+
//#region ../mcp-core/dist/update-dsn-DJa7zQFs.js
|
|
40172
40167
|
var update_dsn_default = defineTool({
|
|
40173
40168
|
name: "update_dsn",
|
|
40174
40169
|
skills: ["project-management"],
|
|
@@ -40302,7 +40297,7 @@ var update_dsn_default = defineTool({
|
|
|
40302
40297
|
});
|
|
40303
40298
|
|
|
40304
40299
|
//#endregion
|
|
40305
|
-
//#region ../mcp-core/dist/analyze-issue-with-seer-
|
|
40300
|
+
//#region ../mcp-core/dist/analyze-issue-with-seer-CX58IHSd.js
|
|
40306
40301
|
var analyze_issue_with_seer_default = defineTool({
|
|
40307
40302
|
name: "analyze_issue_with_seer",
|
|
40308
40303
|
skills: ["seer"],
|
|
@@ -40588,7 +40583,7 @@ var search_docs_default = defineTool({
|
|
|
40588
40583
|
});
|
|
40589
40584
|
|
|
40590
40585
|
//#endregion
|
|
40591
|
-
//#region ../mcp-core/dist/get-doc-
|
|
40586
|
+
//#region ../mcp-core/dist/get-doc-Bgv-F6A-.js
|
|
40592
40587
|
var get_doc_default = defineTool({
|
|
40593
40588
|
name: "get_doc",
|
|
40594
40589
|
skills: ["inspect", "docs"],
|
|
@@ -40763,7 +40758,7 @@ Use issueFields only when a requested field is not in the built-in fields list.
|
|
|
40763
40758
|
Use whoami only for natural-language me references.`;
|
|
40764
40759
|
|
|
40765
40760
|
//#endregion
|
|
40766
|
-
//#region ../mcp-core/dist/agent-
|
|
40761
|
+
//#region ../mcp-core/dist/agent-Cf8D7DxG.js
|
|
40767
40762
|
const searchIssuesAgentOutputSchema = zod.z.object({
|
|
40768
40763
|
query: zod.z.string().describe("The Sentry issue search query"),
|
|
40769
40764
|
sort: zod.z.enum([
|
|
@@ -40797,7 +40792,7 @@ async function searchIssuesAgent(options) {
|
|
|
40797
40792
|
}
|
|
40798
40793
|
|
|
40799
40794
|
//#endregion
|
|
40800
|
-
//#region ../mcp-core/dist/formatters-
|
|
40795
|
+
//#region ../mcp-core/dist/formatters-DHxOgm8X.js
|
|
40801
40796
|
/**
|
|
40802
40797
|
* Format an explanation for how the input query was translated
|
|
40803
40798
|
*/
|
|
@@ -40891,7 +40886,7 @@ function formatDate$1(dateString) {
|
|
|
40891
40886
|
}
|
|
40892
40887
|
|
|
40893
40888
|
//#endregion
|
|
40894
|
-
//#region ../mcp-core/dist/search-issues-
|
|
40889
|
+
//#region ../mcp-core/dist/search-issues-D5VnkOKc.js
|
|
40895
40890
|
const ProjectSlugOrIdSchema = zod.z.string().trim().superRefine(validateSlugOrId);
|
|
40896
40891
|
function buildIssueSearchRepairPrompt(params) {
|
|
40897
40892
|
return [
|
|
@@ -41487,7 +41482,7 @@ Received: ${params.issueUrl}`);
|
|
|
41487
41482
|
}
|
|
41488
41483
|
|
|
41489
41484
|
//#endregion
|
|
41490
|
-
//#region ../mcp-core/dist/agent-
|
|
41485
|
+
//#region ../mcp-core/dist/agent-Diy1JYNf.js
|
|
41491
41486
|
const searchIssueEventsAgentOutputSchema = zod.z.object({
|
|
41492
41487
|
query: zod.z.string().describe("Sentry query filters for tags/fields (NOT including issue: prefix - handler adds that)"),
|
|
41493
41488
|
fields: zod.z.array(zod.z.string()).describe("Array of field names to return in results"),
|
|
@@ -41529,7 +41524,7 @@ async function searchIssueEventsAgent(options) {
|
|
|
41529
41524
|
}
|
|
41530
41525
|
|
|
41531
41526
|
//#endregion
|
|
41532
|
-
//#region ../mcp-core/dist/search-issue-events-
|
|
41527
|
+
//#region ../mcp-core/dist/search-issue-events-Cl8muuTj.js
|
|
41533
41528
|
function buildIssueEventSearchRepairPrompt(params) {
|
|
41534
41529
|
return [
|
|
41535
41530
|
"Fix this Sentry issue event search request.",
|
|
@@ -42058,7 +42053,7 @@ function formatSdkSummary(profile) {
|
|
|
42058
42053
|
}
|
|
42059
42054
|
|
|
42060
42055
|
//#endregion
|
|
42061
|
-
//#region ../mcp-core/dist/get-profile-
|
|
42056
|
+
//#region ../mcp-core/dist/get-profile-DWVqmH1v.js
|
|
42062
42057
|
/**
|
|
42063
42058
|
* Resolves profile parameters from URL or explicit params.
|
|
42064
42059
|
* URL takes precedence if provided and valid.
|
|
@@ -42276,7 +42271,7 @@ var get_profile_default = defineTool({
|
|
|
42276
42271
|
});
|
|
42277
42272
|
|
|
42278
42273
|
//#endregion
|
|
42279
|
-
//#region ../mcp-core/dist/get-profile-details-
|
|
42274
|
+
//#region ../mcp-core/dist/get-profile-details-CASWVK-x.js
|
|
42280
42275
|
function resolveProfileDetailsParams(params) {
|
|
42281
42276
|
if (params.profileUrl) {
|
|
42282
42277
|
if (!isProfileUrl(params.profileUrl)) throw new UserInputError("Invalid profile URL. URL must point to a Sentry profile resource.");
|
|
@@ -42504,7 +42499,7 @@ var get_profile_details_default = defineTool({
|
|
|
42504
42499
|
});
|
|
42505
42500
|
|
|
42506
42501
|
//#endregion
|
|
42507
|
-
//#region ../mcp-core/dist/get-agent-conversation-details-
|
|
42502
|
+
//#region ../mcp-core/dist/get-agent-conversation-details-CE1puwgh.js
|
|
42508
42503
|
function withoutUndefined(value) {
|
|
42509
42504
|
return Object.fromEntries(Object.entries(value).filter(([, item]) => item !== void 0));
|
|
42510
42505
|
}
|
|
@@ -43280,7 +43275,7 @@ async function fetchSnapshotSummary(apiService, organizationSlug, snapshotId, so
|
|
|
43280
43275
|
}
|
|
43281
43276
|
|
|
43282
43277
|
//#endregion
|
|
43283
|
-
//#region ../mcp-core/dist/get-snapshot-
|
|
43278
|
+
//#region ../mcp-core/dist/get-snapshot-Cp8WUme2.js
|
|
43284
43279
|
var get_snapshot_default = defineTool({
|
|
43285
43280
|
name: "get_snapshot",
|
|
43286
43281
|
skills: ["inspect"],
|
|
@@ -43358,7 +43353,7 @@ var get_snapshot_default = defineTool({
|
|
|
43358
43353
|
});
|
|
43359
43354
|
|
|
43360
43355
|
//#endregion
|
|
43361
|
-
//#region ../mcp-core/dist/get-snapshot-image-
|
|
43356
|
+
//#region ../mcp-core/dist/get-snapshot-image-Bcz3N5o-.js
|
|
43362
43357
|
var get_snapshot_image_default = defineTool({
|
|
43363
43358
|
name: "get_snapshot_image",
|
|
43364
43359
|
skills: ["inspect"],
|
|
@@ -43419,7 +43414,7 @@ var get_snapshot_image_default = defineTool({
|
|
|
43419
43414
|
});
|
|
43420
43415
|
|
|
43421
43416
|
//#endregion
|
|
43422
|
-
//#region ../mcp-core/dist/get-sentry-resource-
|
|
43417
|
+
//#region ../mcp-core/dist/get-sentry-resource-DJ9t-d53.js
|
|
43423
43418
|
/** Types with full API integration. */
|
|
43424
43419
|
const FULLY_SUPPORTED_TYPES = [
|
|
43425
43420
|
"issue",
|
|
@@ -43807,7 +43802,7 @@ var get_sentry_resource_default = defineTool({
|
|
|
43807
43802
|
});
|
|
43808
43803
|
|
|
43809
43804
|
//#endregion
|
|
43810
|
-
//#region ../mcp-core/dist/get-latest-base-snapshot-
|
|
43805
|
+
//#region ../mcp-core/dist/get-latest-base-snapshot-Dl4s52CB.js
|
|
43811
43806
|
var get_latest_base_snapshot_default = defineTool({
|
|
43812
43807
|
name: "get_latest_base_snapshot",
|
|
43813
43808
|
skills: ["inspect"],
|
|
@@ -43903,7 +43898,7 @@ var get_latest_base_snapshot_default = defineTool({
|
|
|
43903
43898
|
});
|
|
43904
43899
|
|
|
43905
43900
|
//#endregion
|
|
43906
|
-
//#region ../mcp-core/dist/search-agent-conversations-
|
|
43901
|
+
//#region ../mcp-core/dist/search-agent-conversations-jYjAqguW.js
|
|
43907
43902
|
const PREVIEW_LENGTH = 240;
|
|
43908
43903
|
const TRACE_ID_SAMPLE_SIZE = 3;
|
|
43909
43904
|
const usdFormatter = new Intl.NumberFormat("en-US", {
|
|
@@ -44093,7 +44088,7 @@ var search_agent_conversations_default = defineTool({
|
|
|
44093
44088
|
});
|
|
44094
44089
|
|
|
44095
44090
|
//#endregion
|
|
44096
|
-
//#region ../mcp-core/dist/add-issue-note-
|
|
44091
|
+
//#region ../mcp-core/dist/add-issue-note-pMptax5b.js
|
|
44097
44092
|
function formatComment(comment) {
|
|
44098
44093
|
const actor = comment.user ? formatActor(comment.user) : "current user";
|
|
44099
44094
|
const text$1 = comment.data ? readString(comment.data, "text") : null;
|
|
@@ -44169,7 +44164,7 @@ var add_issue_note_default = defineTool({
|
|
|
44169
44164
|
});
|
|
44170
44165
|
|
|
44171
44166
|
//#endregion
|
|
44172
|
-
//#region ../mcp-core/dist/onboarding-status-update-
|
|
44167
|
+
//#region ../mcp-core/dist/onboarding-status-update-BFCjGpyi.js
|
|
44173
44168
|
const updateBaseSchema = zod.z.object({
|
|
44174
44169
|
status: AgenticOnboardingStageStatusUpdateSchema.describe("The stage's current status."),
|
|
44175
44170
|
runStatus: AgenticOnboardingRunStatusUpdateSchema.optional().describe("Set only when the entire onboarding run has completed or failed."),
|
|
@@ -44237,7 +44232,7 @@ var onboarding_status_update_default = defineTool({
|
|
|
44237
44232
|
});
|
|
44238
44233
|
|
|
44239
44234
|
//#endregion
|
|
44240
|
-
//#region ../mcp-core/dist/catalog-
|
|
44235
|
+
//#region ../mcp-core/dist/catalog-BJlVMc9Y.js
|
|
44241
44236
|
const legacyGetAIConversationDetails = {
|
|
44242
44237
|
...get_agent_conversation_details_default,
|
|
44243
44238
|
name: "get_ai_conversation_details",
|
|
@@ -44566,7 +44561,7 @@ function createExecuteTool(getTools) {
|
|
|
44566
44561
|
}
|
|
44567
44562
|
|
|
44568
44563
|
//#endregion
|
|
44569
|
-
//#region ../mcp-core/dist/tools-
|
|
44564
|
+
//#region ../mcp-core/dist/tools-B_S658xh.js
|
|
44570
44565
|
function getAllTools() {
|
|
44571
44566
|
return allTools;
|
|
44572
44567
|
}
|