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