@sentry/mcp-server 0.38.0 → 0.39.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/device-code-flow.cjs +2 -2
- package/dist/auth/device-code-flow.js +2 -2
- package/dist/auth/resolve-token.cjs +3 -3
- package/dist/auth/resolve-token.js +3 -3
- package/dist/{auth-CmWwtW3L.js → auth-BmLsTuwM.js} +2 -2
- package/dist/{auth-CmWwtW3L.js.map → auth-BmLsTuwM.js.map} +1 -1
- package/dist/{auth-BlhX8Vom.cjs → auth-CMwoYDhh.cjs} +2 -2
- package/dist/{auth-BlhX8Vom.cjs.map → auth-CMwoYDhh.cjs.map} +1 -1
- package/dist/cli/commands/auth.cjs +3 -3
- package/dist/cli/commands/auth.js +3 -3
- package/dist/cli/parse.d.ts.map +1 -1
- package/dist/{device-code-flow-D8_wFtpA.js → device-code-flow-BRSc_1Sh.js} +2 -2
- package/dist/{device-code-flow-D8_wFtpA.js.map → device-code-flow-BRSc_1Sh.js.map} +1 -1
- package/dist/{device-code-flow-R-ZBimNL.cjs → device-code-flow-Btx7zPjy.cjs} +2 -2
- package/dist/{device-code-flow-R-ZBimNL.cjs.map → device-code-flow-Btx7zPjy.cjs.map} +1 -1
- package/dist/index.cjs +193 -135
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +193 -135
- package/dist/index.js.map +1 -1
- package/dist/{resolve-token-6Nwn0wwt.js → resolve-token-D8oZbjtT.js} +2 -2
- package/dist/{resolve-token-6Nwn0wwt.js.map → resolve-token-D8oZbjtT.js.map} +1 -1
- package/dist/{resolve-token-D8ViFyUf.cjs → resolve-token-TOq9-TtB.cjs} +2 -2
- package/dist/{resolve-token-D8ViFyUf.cjs.map → resolve-token-TOq9-TtB.cjs.map} +1 -1
- package/dist/{stdio-BAG9vDZV.cjs → stdio-DFPpP3Gf.cjs} +2 -2
- package/dist/{stdio-BAG9vDZV.cjs.map → stdio-DFPpP3Gf.cjs.map} +1 -1
- package/dist/{stdio-DFJbp9zP.js → stdio-DrtNVy01.js} +2 -2
- package/dist/{stdio-DFJbp9zP.js.map → stdio-DrtNVy01.js.map} +1 -1
- package/dist/transports/stdio.cjs +2 -2
- package/dist/transports/stdio.js +2 -2
- package/dist/{version-CXUk1-K3.cjs → version-BHLBRM5t.cjs} +3 -3
- package/dist/version-BHLBRM5t.cjs.map +1 -0
- package/dist/version-BWR2MRdi.js +7 -0
- package/dist/version-BWR2MRdi.js.map +1 -0
- package/package.json +4 -4
- package/dist/version-CXUk1-K3.cjs.map +0 -1
- package/dist/version-Duuvuy5h.js +0 -7
- package/dist/version-Duuvuy5h.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
import { __commonJS, __export, __toDynamicImportESM, __toESM } from "./chunk-CunrlGP7.js";
|
|
3
3
|
import { ALL_SKILLS, SKILLS, finalize, isEnabledBySkills } from "./resolve-CS-Bms6W.js";
|
|
4
4
|
import { PUBLIC_EVENTS_DATASETS, extractConversationIdFromSearchQuery, getAIConversationUrl, getAIConversationsUrl, getContinuousProfileUrl, getDashboardUrl, getIssueUrl, getIssuesSearchUrl, getMonitorUrl, getPreprodSnapshotUrl, getProfileUrl, getProfilingExplorerUrl, getReleaseUrl, getReplayUrl, getReplaysSearchUrl, getTraceMetricsExploreUrl, getTraceUrl, getUptimeMonitorUrl, isMetricsDataset, isProfilesDataset, isSentryHost, normalizeEventsDataset } from "./constants-BZbaI-zR.js";
|
|
5
|
-
import { LIB_VERSION, USER_AGENT } from "./version-
|
|
5
|
+
import { LIB_VERSION, USER_AGENT } from "./version-BWR2MRdi.js";
|
|
6
6
|
import { require_token_error } from "./token-error-CBmJNKLY.js";
|
|
7
7
|
import { blobToBase64, createImagePreview } from "./blob-utils-CdbE_jsd-9sHzy4nK.js";
|
|
8
8
|
import { RECOMMENDED_FIELDS, TRACE_METRICS_SAMPLE_IDENTITY_FIELDS, systemPrompt } from "./config-BqCCImAX-C9xxoOuk.js";
|
|
9
|
-
import { startStdio } from "./stdio-
|
|
9
|
+
import { startStdio } from "./stdio-DrtNVy01.js";
|
|
10
10
|
import { buildUsage } from "./usage-Con424Df.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-BRSc_1Sh.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-D8oZbjtT.js";
|
|
17
|
+
import { authCommand } from "./auth-BmLsTuwM.js";
|
|
18
18
|
import { z } from "zod";
|
|
19
19
|
import { captureException, captureMessage, getActiveSpan, logger, setTag, setUser, startSpan, withScope, wrapMcpServerWithSentry } from "@sentry/core";
|
|
20
20
|
import util from "node:util";
|
|
@@ -2108,7 +2108,7 @@ function isApiAuthenticationErrorDeep(error) {
|
|
|
2108
2108
|
}
|
|
2109
2109
|
|
|
2110
2110
|
//#endregion
|
|
2111
|
-
//#region ../mcp-core/dist/schema-
|
|
2111
|
+
//#region ../mcp-core/dist/schema-BYZYkgA1.js
|
|
2112
2112
|
/**
|
|
2113
2113
|
* Schema for Sentry API error responses.
|
|
2114
2114
|
*
|
|
@@ -3532,11 +3532,27 @@ const AgenticOnboardingStageStatusUpdateSchema = z.enum([
|
|
|
3532
3532
|
"skipped",
|
|
3533
3533
|
"failed"
|
|
3534
3534
|
]);
|
|
3535
|
-
const
|
|
3536
|
-
|
|
3535
|
+
const AgenticOnboardingCreateProjectExtraSchema = z.object({ projectSlugs: z.array(z.string().trim().min(1)) }).strict();
|
|
3536
|
+
const AgenticOnboardingVerificationErrorExtraSchema = z.object({ issueIds: z.array(z.string().trim().min(1)) }).strict();
|
|
3537
|
+
const AgenticOnboardingStageWithoutExtraSchema = AgenticOnboardingStageSchema.exclude(["create_project", "receive_verification_error"]);
|
|
3538
|
+
const AgenticOnboardingStageStateBaseSchema = z.object({
|
|
3537
3539
|
status: AgenticOnboardingStageStatusSchema.nullable(),
|
|
3538
3540
|
eventNote: z.string().nullable()
|
|
3539
3541
|
});
|
|
3542
|
+
const AgenticOnboardingStageStateSchema = z.discriminatedUnion("stage", [
|
|
3543
|
+
AgenticOnboardingStageStateBaseSchema.extend({
|
|
3544
|
+
stage: z.literal("create_project"),
|
|
3545
|
+
extra: AgenticOnboardingCreateProjectExtraSchema.nullable()
|
|
3546
|
+
}),
|
|
3547
|
+
AgenticOnboardingStageStateBaseSchema.extend({
|
|
3548
|
+
stage: z.literal("receive_verification_error"),
|
|
3549
|
+
extra: AgenticOnboardingVerificationErrorExtraSchema.nullable()
|
|
3550
|
+
}),
|
|
3551
|
+
AgenticOnboardingStageStateBaseSchema.extend({
|
|
3552
|
+
stage: AgenticOnboardingStageWithoutExtraSchema,
|
|
3553
|
+
extra: z.null()
|
|
3554
|
+
})
|
|
3555
|
+
]);
|
|
3540
3556
|
const AgenticOnboardingRunStatusSchema = z.enum([
|
|
3541
3557
|
"active",
|
|
3542
3558
|
"completed",
|
|
@@ -3544,16 +3560,28 @@ const AgenticOnboardingRunStatusSchema = z.enum([
|
|
|
3544
3560
|
"cancelled"
|
|
3545
3561
|
]);
|
|
3546
3562
|
const AgenticOnboardingRunStatusUpdateSchema = z.enum(["completed", "failed"]);
|
|
3547
|
-
const
|
|
3563
|
+
const AgenticOnboardingRunTokenSchema = z.string().regex(/^[A-Za-z0-9]{10}$/);
|
|
3564
|
+
const AgenticOnboardingStatusUpdateBaseSchema = z.object({
|
|
3548
3565
|
schemaVersion: z.literal(1),
|
|
3549
|
-
runToken:
|
|
3550
|
-
stage: AgenticOnboardingStageSchema,
|
|
3566
|
+
runToken: AgenticOnboardingRunTokenSchema,
|
|
3551
3567
|
status: AgenticOnboardingStageStatusUpdateSchema,
|
|
3552
3568
|
runStatus: AgenticOnboardingRunStatusUpdateSchema.optional(),
|
|
3553
|
-
eventNote: z.string().trim().min(1).max(256).optional()
|
|
3554
|
-
projectSlugs: z.array(z.string().trim().min(1)).min(1).max(100).optional(),
|
|
3555
|
-
issueIds: z.array(z.string().trim().min(1)).min(1).max(100).optional()
|
|
3569
|
+
eventNote: z.string().trim().min(1).max(256).optional()
|
|
3556
3570
|
});
|
|
3571
|
+
const AgenticOnboardingStatusUpdateSchema = z.discriminatedUnion("stage", [
|
|
3572
|
+
AgenticOnboardingStatusUpdateBaseSchema.extend({
|
|
3573
|
+
stage: z.literal("create_project"),
|
|
3574
|
+
extra: AgenticOnboardingCreateProjectExtraSchema.optional()
|
|
3575
|
+
}),
|
|
3576
|
+
AgenticOnboardingStatusUpdateBaseSchema.extend({
|
|
3577
|
+
stage: z.literal("receive_verification_error"),
|
|
3578
|
+
extra: AgenticOnboardingVerificationErrorExtraSchema.optional()
|
|
3579
|
+
}),
|
|
3580
|
+
AgenticOnboardingStatusUpdateBaseSchema.extend({
|
|
3581
|
+
stage: AgenticOnboardingStageWithoutExtraSchema,
|
|
3582
|
+
extra: z.never().optional()
|
|
3583
|
+
})
|
|
3584
|
+
]);
|
|
3557
3585
|
const AgenticOnboardingRunSchema = z.object({
|
|
3558
3586
|
schemaVersion: z.literal(1),
|
|
3559
3587
|
runId: z.string(),
|
|
@@ -3565,13 +3593,11 @@ const AgenticOnboardingRunSchema = z.object({
|
|
|
3565
3593
|
expiresAt: z.string(),
|
|
3566
3594
|
continueUpdates: z.boolean(),
|
|
3567
3595
|
runStatus: AgenticOnboardingRunStatusSchema,
|
|
3568
|
-
projectSlugs: z.array(z.string()).nullable().transform((projectSlugs) => projectSlugs ?? []),
|
|
3569
|
-
issueIds: z.array(z.string()).nullable().transform((issueIds) => issueIds ?? []),
|
|
3570
3596
|
stages: z.array(AgenticOnboardingStageStateSchema)
|
|
3571
3597
|
});
|
|
3572
3598
|
|
|
3573
3599
|
//#endregion
|
|
3574
|
-
//#region ../mcp-core/dist/client-
|
|
3600
|
+
//#region ../mcp-core/dist/client-IUNQkit5.js
|
|
3575
3601
|
const SENTRY_MCP_SEARCH_EVENTS_REFERRER = "api.mcp.search-events";
|
|
3576
3602
|
/**
|
|
3577
3603
|
* Mapping of common network error codes to user-friendly messages.
|
|
@@ -5481,7 +5507,7 @@ var SentryApiService = class {
|
|
|
5481
5507
|
const projects = Array.isArray(project) ? project : [project];
|
|
5482
5508
|
for (const projectId of projects) queryParams.append("project", projectId);
|
|
5483
5509
|
if (cursor) queryParams.set("cursor", cursor);
|
|
5484
|
-
const response = await this.request(apiPath`/organizations/${organizationSlug}/
|
|
5510
|
+
const response = await this.request(apiPath`/organizations/${organizationSlug}/agents/conversations/${conversationId}/` + `?${queryParams.toString()}`, void 0, opts);
|
|
5485
5511
|
const body = await this.parseJsonResponse(response);
|
|
5486
5512
|
const details = AIConversationDetailsResponseSchema.parse(body);
|
|
5487
5513
|
title = details.title;
|
|
@@ -5513,7 +5539,7 @@ var SentryApiService = class {
|
|
|
5513
5539
|
this.applyTimeParams(queryParams, statsPeriod, start, end);
|
|
5514
5540
|
if (limit !== void 0) queryParams.set("per_page", String(limit));
|
|
5515
5541
|
if (cursor) queryParams.set("cursor", cursor);
|
|
5516
|
-
const response = await this.request(apiPath`/organizations/${organizationSlug}/
|
|
5542
|
+
const response = await this.request(apiPath`/organizations/${organizationSlug}/agents/conversations/` + `?${queryParams.toString()}`, void 0, opts);
|
|
5517
5543
|
const body = await this.parseJsonResponse(response);
|
|
5518
5544
|
return {
|
|
5519
5545
|
conversations: AIConversationSummaryListSchema.parse(body),
|
|
@@ -13586,7 +13612,7 @@ function validateRegionUrl(regionUrl, baseHost) {
|
|
|
13586
13612
|
}
|
|
13587
13613
|
|
|
13588
13614
|
//#endregion
|
|
13589
|
-
//#region ../mcp-core/dist/api-
|
|
13615
|
+
//#region ../mcp-core/dist/api-EaEPyKlQ.js
|
|
13590
13616
|
/**
|
|
13591
13617
|
* Create a Sentry API service from server context with optional region override
|
|
13592
13618
|
* @param context - Server context containing host and access token
|
|
@@ -13622,7 +13648,7 @@ function structuredResult(structuredContent) {
|
|
|
13622
13648
|
}
|
|
13623
13649
|
|
|
13624
13650
|
//#endregion
|
|
13625
|
-
//#region ../mcp-core/dist/whoami-
|
|
13651
|
+
//#region ../mcp-core/dist/whoami-Bz6QKirR.js
|
|
13626
13652
|
const whoamiOutputSchema = z.object({
|
|
13627
13653
|
user: z.object({
|
|
13628
13654
|
id: z.string(),
|
|
@@ -13673,7 +13699,7 @@ var whoami_default = defineTool({
|
|
|
13673
13699
|
});
|
|
13674
13700
|
|
|
13675
13701
|
//#endregion
|
|
13676
|
-
//#region ../mcp-core/dist/find-organizations-
|
|
13702
|
+
//#region ../mcp-core/dist/find-organizations-CXTZEMsb.js
|
|
13677
13703
|
const RESULT_LIMIT$3 = 25;
|
|
13678
13704
|
const findOrganizationsOutputSchema = z.object({
|
|
13679
13705
|
organizations: z.array(z.object({
|
|
@@ -13725,7 +13751,7 @@ var find_organizations_default = defineTool({
|
|
|
13725
13751
|
});
|
|
13726
13752
|
|
|
13727
13753
|
//#endregion
|
|
13728
|
-
//#region ../mcp-core/dist/find-teams-
|
|
13754
|
+
//#region ../mcp-core/dist/find-teams-ZsyAWNb7.js
|
|
13729
13755
|
const RESULT_LIMIT$2 = 25;
|
|
13730
13756
|
const findTeamsOutputSchema = z.object({
|
|
13731
13757
|
teams: z.array(z.object({
|
|
@@ -13783,7 +13809,7 @@ var find_teams_default = defineTool({
|
|
|
13783
13809
|
});
|
|
13784
13810
|
|
|
13785
13811
|
//#endregion
|
|
13786
|
-
//#region ../mcp-core/dist/find-projects-
|
|
13812
|
+
//#region ../mcp-core/dist/find-projects-BYeZfQDF.js
|
|
13787
13813
|
const RESULT_LIMIT$1 = 25;
|
|
13788
13814
|
const findProjectsOutputSchema = z.object({
|
|
13789
13815
|
projects: z.array(z.object({ slug: z.string() })),
|
|
@@ -13831,7 +13857,7 @@ var find_projects_default = defineTool({
|
|
|
13831
13857
|
});
|
|
13832
13858
|
|
|
13833
13859
|
//#endregion
|
|
13834
|
-
//#region ../mcp-core/dist/find-releases-
|
|
13860
|
+
//#region ../mcp-core/dist/find-releases-fkgr4qqZ.js
|
|
13835
13861
|
const RESULT_LIMIT = 25;
|
|
13836
13862
|
const findReleasesOutputSchema = z.object({
|
|
13837
13863
|
releases: z.array(z.object({
|
|
@@ -14000,7 +14026,7 @@ function assertProjectListContainsConstraint({ resourceLabel, scopedProjectSlug,
|
|
|
14000
14026
|
}
|
|
14001
14027
|
|
|
14002
14028
|
//#endregion
|
|
14003
|
-
//#region ../mcp-core/dist/get-release-details-
|
|
14029
|
+
//#region ../mcp-core/dist/get-release-details-0bKoH-Gv.js
|
|
14004
14030
|
function formatProjects(release) {
|
|
14005
14031
|
if (!release.projects || release.projects.length === 0) return null;
|
|
14006
14032
|
return release.projects.map((project) => project.slug ?? project.name).join(", ");
|
|
@@ -14284,7 +14310,7 @@ async function resolveDashboardId({ apiService, organizationSlug, dashboardIdOrT
|
|
|
14284
14310
|
}
|
|
14285
14311
|
|
|
14286
14312
|
//#endregion
|
|
14287
|
-
//#region ../mcp-core/dist/find-dashboards-
|
|
14313
|
+
//#region ../mcp-core/dist/find-dashboards-DE0x5cIv.js
|
|
14288
14314
|
const PROJECT_DASHBOARD_CURSOR_PREFIX = "mcp-dashboard-project:";
|
|
14289
14315
|
const dashboardSummarySchema = z.object({
|
|
14290
14316
|
id: z.string(),
|
|
@@ -14495,7 +14521,7 @@ var find_dashboards_default = defineTool({
|
|
|
14495
14521
|
});
|
|
14496
14522
|
|
|
14497
14523
|
//#endregion
|
|
14498
|
-
//#region ../mcp-core/dist/get-dashboard-details-
|
|
14524
|
+
//#region ../mcp-core/dist/get-dashboard-details-7tf-4Q_F.js
|
|
14499
14525
|
var get_dashboard_details_default = defineTool({
|
|
14500
14526
|
name: "get_dashboard_details",
|
|
14501
14527
|
skills: ["inspect"],
|
|
@@ -14569,7 +14595,7 @@ var get_dashboard_details_default = defineTool({
|
|
|
14569
14595
|
});
|
|
14570
14596
|
|
|
14571
14597
|
//#endregion
|
|
14572
|
-
//#region ../mcp-core/dist/find-monitors-
|
|
14598
|
+
//#region ../mcp-core/dist/find-monitors-DOaVdrCU.js
|
|
14573
14599
|
const ENVIRONMENT_LIMIT = 5;
|
|
14574
14600
|
const monitorScheduleOutputSchema = z.object({
|
|
14575
14601
|
type: z.string().nullable(),
|
|
@@ -14747,7 +14773,7 @@ var find_monitors_default = defineTool({
|
|
|
14747
14773
|
});
|
|
14748
14774
|
|
|
14749
14775
|
//#endregion
|
|
14750
|
-
//#region ../mcp-core/dist/get-monitor-details-
|
|
14776
|
+
//#region ../mcp-core/dist/get-monitor-details-CP_Cj6P3.js
|
|
14751
14777
|
function formatProject(monitor) {
|
|
14752
14778
|
if (!monitor.project) return null;
|
|
14753
14779
|
return monitor.project.slug ?? monitor.project.name ?? null;
|
|
@@ -15040,7 +15066,7 @@ function toUptimeMonitorSummary(monitor, webUrl) {
|
|
|
15040
15066
|
}
|
|
15041
15067
|
|
|
15042
15068
|
//#endregion
|
|
15043
|
-
//#region ../mcp-core/dist/find-uptime-monitors-
|
|
15069
|
+
//#region ../mcp-core/dist/find-uptime-monitors-NZjkNLjM.js
|
|
15044
15070
|
const findUptimeMonitorsOutputSchema = z.object({
|
|
15045
15071
|
monitors: z.array(uptimeMonitorListItemSchema),
|
|
15046
15072
|
hasMore: z.boolean()
|
|
@@ -15108,7 +15134,7 @@ var find_uptime_monitors_default = defineTool({
|
|
|
15108
15134
|
});
|
|
15109
15135
|
|
|
15110
15136
|
//#endregion
|
|
15111
|
-
//#region ../mcp-core/dist/get-uptime-monitor-details-
|
|
15137
|
+
//#region ../mcp-core/dist/get-uptime-monitor-details-DfFRiDqD.js
|
|
15112
15138
|
function formatCheck(check, monitorEnvironment) {
|
|
15113
15139
|
const time = formatDate(check.timestamp) ?? formatDate(check.scheduledCheckTime) ?? "unknown time";
|
|
15114
15140
|
const status = check.checkStatus ?? "unknown";
|
|
@@ -15230,7 +15256,7 @@ var get_uptime_monitor_details_default = defineTool({
|
|
|
15230
15256
|
});
|
|
15231
15257
|
|
|
15232
15258
|
//#endregion
|
|
15233
|
-
//#region ../mcp-core/dist/create-uptime-monitor-
|
|
15259
|
+
//#region ../mcp-core/dist/create-uptime-monitor-fo-rIhsm.js
|
|
15234
15260
|
const createUptimeMonitorOutputSchema = z.object({ monitor: uptimeMonitorSummarySchema });
|
|
15235
15261
|
var create_uptime_monitor_default = defineTool({
|
|
15236
15262
|
name: "create_uptime_monitor",
|
|
@@ -15311,7 +15337,7 @@ var create_uptime_monitor_default = defineTool({
|
|
|
15311
15337
|
});
|
|
15312
15338
|
|
|
15313
15339
|
//#endregion
|
|
15314
|
-
//#region ../mcp-core/dist/update-uptime-monitor-
|
|
15340
|
+
//#region ../mcp-core/dist/update-uptime-monitor-CXyi5lFD.js
|
|
15315
15341
|
const updateUptimeMonitorOutputSchema = z.object({ monitor: uptimeMonitorSummarySchema });
|
|
15316
15342
|
function hasDefinedUpdate(value) {
|
|
15317
15343
|
return value !== void 0;
|
|
@@ -15402,7 +15428,7 @@ var update_uptime_monitor_default = defineTool({
|
|
|
15402
15428
|
});
|
|
15403
15429
|
|
|
15404
15430
|
//#endregion
|
|
15405
|
-
//#region ../mcp-core/dist/delete-uptime-monitor-
|
|
15431
|
+
//#region ../mcp-core/dist/delete-uptime-monitor-CHj4Cluv.js
|
|
15406
15432
|
const deleteUptimeMonitorOutputSchema = z.object({
|
|
15407
15433
|
success: z.literal(true),
|
|
15408
15434
|
uptimeMonitorId: z.string(),
|
|
@@ -15461,7 +15487,7 @@ var delete_uptime_monitor_default = defineTool({
|
|
|
15461
15487
|
});
|
|
15462
15488
|
|
|
15463
15489
|
//#endregion
|
|
15464
|
-
//#region ../mcp-core/dist/find-alert-rules-
|
|
15490
|
+
//#region ../mcp-core/dist/find-alert-rules-Co9XjMKY.js
|
|
15465
15491
|
const AlertRuleKind$1 = z.enum([
|
|
15466
15492
|
"all",
|
|
15467
15493
|
"issue",
|
|
@@ -15882,7 +15908,7 @@ async function resolveMetricAlertRule(apiService, params) {
|
|
|
15882
15908
|
}
|
|
15883
15909
|
|
|
15884
15910
|
//#endregion
|
|
15885
|
-
//#region ../mcp-core/dist/get-alert-rule-
|
|
15911
|
+
//#region ../mcp-core/dist/get-alert-rule-WfTdEa_v.js
|
|
15886
15912
|
const AlertRuleKind = z.enum([
|
|
15887
15913
|
"all",
|
|
15888
15914
|
"issue",
|
|
@@ -16074,7 +16100,7 @@ function formatAvailableToolCallInstruction({ toolName, experimentalMode, purpos
|
|
|
16074
16100
|
}
|
|
16075
16101
|
|
|
16076
16102
|
//#endregion
|
|
16077
|
-
//#region ../mcp-core/dist/ai-conversation-actions-
|
|
16103
|
+
//#region ../mcp-core/dist/ai-conversation-actions-rbKawWyG.js
|
|
16078
16104
|
const MAX_SUGGESTED_ACTIONS = 3;
|
|
16079
16105
|
function formatInlineCode$1(value) {
|
|
16080
16106
|
const backtickRuns = value.match(/`+/g) ?? [];
|
|
@@ -16085,8 +16111,8 @@ function formatInlineCode$1(value) {
|
|
|
16085
16111
|
}
|
|
16086
16112
|
/** Builds transcript actions that match the session's direct or catalog surface. */
|
|
16087
16113
|
function getAIConversationSuggestedActions({ organizationSlug, aiConversations, experimentalMode, availableToolNames, directToolNames }) {
|
|
16088
|
-
if (aiConversations.length === 0 || !isToolAvailableInSession("
|
|
16089
|
-
const targetIsDirect = directToolNames ? directToolNames.has("
|
|
16114
|
+
if (aiConversations.length === 0 || !isToolAvailableInSession("get_agent_conversation_details", availableToolNames)) return [];
|
|
16115
|
+
const targetIsDirect = directToolNames ? directToolNames.has("get_agent_conversation_details") : isTopLevelToolName("get_agent_conversation_details", experimentalMode);
|
|
16090
16116
|
const executeToolIsDirect = directToolNames ? directToolNames.has("execute_sentry_tool") : isTopLevelToolName("execute_sentry_tool", experimentalMode);
|
|
16091
16117
|
const useCatalogGateway = !targetIsDirect && executeToolIsDirect && isToolAvailableInSession("execute_sentry_tool", availableToolNames);
|
|
16092
16118
|
if (!targetIsDirect && !useCatalogGateway) return [];
|
|
@@ -16097,17 +16123,17 @@ function getAIConversationSuggestedActions({ organizationSlug, aiConversations,
|
|
|
16097
16123
|
};
|
|
16098
16124
|
return targetIsDirect ? {
|
|
16099
16125
|
type: "tool_call",
|
|
16100
|
-
toolName: "
|
|
16126
|
+
toolName: "get_agent_conversation_details",
|
|
16101
16127
|
arguments: targetArguments,
|
|
16102
|
-
reason: "Fetch the full transcript for this
|
|
16128
|
+
reason: "Fetch the full transcript for this agent conversation."
|
|
16103
16129
|
} : {
|
|
16104
16130
|
type: "tool_call",
|
|
16105
16131
|
toolName: "execute_sentry_tool",
|
|
16106
16132
|
arguments: {
|
|
16107
|
-
name: "
|
|
16133
|
+
name: "get_agent_conversation_details",
|
|
16108
16134
|
arguments: targetArguments
|
|
16109
16135
|
},
|
|
16110
|
-
reason: "Fetch the full transcript for this
|
|
16136
|
+
reason: "Fetch the full transcript for this agent conversation."
|
|
16111
16137
|
};
|
|
16112
16138
|
});
|
|
16113
16139
|
}
|
|
@@ -16120,7 +16146,7 @@ function formatAIConversationActionInstructions({ organizationSlug, aiConversati
|
|
|
16120
16146
|
availableToolNames,
|
|
16121
16147
|
directToolNames
|
|
16122
16148
|
});
|
|
16123
|
-
if (actions.length === 0) return ["
|
|
16149
|
+
if (actions.length === 0) return ["Agent conversation detail lookup is not available in this session."];
|
|
16124
16150
|
return actions.map((action) => `Use the Sentry tool ${formatInlineCode$1(formatToolCall({
|
|
16125
16151
|
toolName: action.toolName,
|
|
16126
16152
|
arguments: action.arguments
|
|
@@ -16477,7 +16503,7 @@ function formatUserGeoSummary(value) {
|
|
|
16477
16503
|
}
|
|
16478
16504
|
|
|
16479
16505
|
//#endregion
|
|
16480
|
-
//#region ../mcp-core/dist/formatting-
|
|
16506
|
+
//#region ../mcp-core/dist/formatting-Cviy8-dX.js
|
|
16481
16507
|
/**
|
|
16482
16508
|
* Convert Seer fixability score to actionability label.
|
|
16483
16509
|
* Thresholds match Sentry core: src/sentry/seer/autofix/constants.py
|
|
@@ -17736,10 +17762,10 @@ function formatAIConversationResponseNote({ aiConversations, organizationSlug, e
|
|
|
17736
17762
|
if (aiConversations.length === 1) {
|
|
17737
17763
|
const [conversation] = aiConversations;
|
|
17738
17764
|
const spanSuffix = conversation.spanId ? ` Matching span: \`${conversation.spanId}\`.` : "";
|
|
17739
|
-
return `-
|
|
17765
|
+
return `- Agent conversation found in this trace: \`${conversation.conversationId}\`.${spanSuffix}\n${instructions.map((instruction) => `- ${instruction}`).join("\n")}\n`;
|
|
17740
17766
|
}
|
|
17741
17767
|
const conversationIds = aiConversations.map((conversation) => `\`${conversation.conversationId}\``).join(", ");
|
|
17742
|
-
return `- Multiple
|
|
17768
|
+
return `- Multiple agent conversations were found in this trace: ${conversationIds}.\n${instructions.map((instruction) => `- ${instruction}`).join("\n")}\n`;
|
|
17743
17769
|
}
|
|
17744
17770
|
const MAX_DISPLAY_REPLAYS = 5;
|
|
17745
17771
|
function formatIssueReplayOutput({ apiService, organizationSlug, event, relatedReplayIds, experimentalMode, availableToolNames, directToolNames }) {
|
|
@@ -17847,7 +17873,7 @@ async function ensureIssueWithinProjectConstraint({ apiService, organizationSlug
|
|
|
17847
17873
|
}
|
|
17848
17874
|
|
|
17849
17875
|
//#endregion
|
|
17850
|
-
//#region ../mcp-core/dist/code-location-
|
|
17876
|
+
//#region ../mcp-core/dist/code-location-C0fIXD0V.js
|
|
17851
17877
|
const CODE_LOCATION_TIMEOUT_MS = 3e3;
|
|
17852
17878
|
/** Resolves a verified source location, omitting optional enrichment failures. */
|
|
17853
17879
|
async function resolveCodeLocation({ apiService, organizationSlug, projectSlug: projectSlug$1, event }) {
|
|
@@ -17950,7 +17976,7 @@ function getString$1(value) {
|
|
|
17950
17976
|
}
|
|
17951
17977
|
|
|
17952
17978
|
//#endregion
|
|
17953
|
-
//#region ../mcp-core/dist/get-issue-details-
|
|
17979
|
+
//#region ../mcp-core/dist/get-issue-details-DHDUffp5.js
|
|
17954
17980
|
const MAX_AI_CONVERSATION_MATCHES = 3;
|
|
17955
17981
|
const AI_CONVERSATION_LOOKUP_WINDOW_MS = 24 * 60 * 60 * 1e3;
|
|
17956
17982
|
const TRACE_ID_PATTERN = /^[0-9a-fA-F]{32}$/;
|
|
@@ -18324,7 +18350,7 @@ function getReplayDataSource(issue) {
|
|
|
18324
18350
|
}
|
|
18325
18351
|
|
|
18326
18352
|
//#endregion
|
|
18327
|
-
//#region ../mcp-core/dist/event-stacktrace-
|
|
18353
|
+
//#region ../mcp-core/dist/event-stacktrace-DNVGqkZt.js
|
|
18328
18354
|
/**
|
|
18329
18355
|
* Fetches an issue event and formats the selected thread stacktrace.
|
|
18330
18356
|
*/
|
|
@@ -18403,7 +18429,7 @@ function selectUnique(threads, predicate, notFoundMessage, ambiguousMessage) {
|
|
|
18403
18429
|
}
|
|
18404
18430
|
|
|
18405
18431
|
//#endregion
|
|
18406
|
-
//#region ../mcp-core/dist/get-event-stacktrace-
|
|
18432
|
+
//#region ../mcp-core/dist/get-event-stacktrace-ODRk7GSR.js
|
|
18407
18433
|
var get_event_stacktrace_default = defineTool({
|
|
18408
18434
|
name: "get_event_stacktrace",
|
|
18409
18435
|
skills: [
|
|
@@ -18474,7 +18500,7 @@ var get_event_stacktrace_default = defineTool({
|
|
|
18474
18500
|
});
|
|
18475
18501
|
|
|
18476
18502
|
//#endregion
|
|
18477
|
-
//#region ../mcp-core/dist/get-issue-activity-
|
|
18503
|
+
//#region ../mcp-core/dist/get-issue-activity-CKhQWy99.js
|
|
18478
18504
|
function getActivityText(activity) {
|
|
18479
18505
|
const data = activity.data;
|
|
18480
18506
|
if (!data) return null;
|
|
@@ -18631,7 +18657,7 @@ function cleanAndTruncate(str, maxLen) {
|
|
|
18631
18657
|
}
|
|
18632
18658
|
|
|
18633
18659
|
//#endregion
|
|
18634
|
-
//#region ../mcp-core/dist/get-issue-breadcrumbs-
|
|
18660
|
+
//#region ../mcp-core/dist/get-issue-breadcrumbs-D5AeF8Vm.js
|
|
18635
18661
|
var get_issue_breadcrumbs_default = defineTool({
|
|
18636
18662
|
name: "get_issue_breadcrumbs",
|
|
18637
18663
|
skills: ["inspect", "triage"],
|
|
@@ -18693,7 +18719,7 @@ var get_issue_breadcrumbs_default = defineTool({
|
|
|
18693
18719
|
});
|
|
18694
18720
|
|
|
18695
18721
|
//#endregion
|
|
18696
|
-
//#region ../mcp-core/dist/get-issue-tag-values-
|
|
18722
|
+
//#region ../mcp-core/dist/get-issue-tag-values-DtJZnl37.js
|
|
18697
18723
|
const getIssueTagValuesOutputSchema = z.object({ tag: z.object({
|
|
18698
18724
|
key: z.string(),
|
|
18699
18725
|
name: z.string(),
|
|
@@ -18811,7 +18837,7 @@ var get_issue_tag_values_default = defineTool({
|
|
|
18811
18837
|
});
|
|
18812
18838
|
|
|
18813
18839
|
//#endregion
|
|
18814
|
-
//#region ../mcp-core/dist/get-issue-user-reports-
|
|
18840
|
+
//#region ../mcp-core/dist/get-issue-user-reports-D73TLuX2.js
|
|
18815
18841
|
function getReporter(report) {
|
|
18816
18842
|
const userId = report.user?.id?.trim();
|
|
18817
18843
|
const userIdReporter = userId && !["none", "null"].includes(userId.toLowerCase()) ? `user:${userId}` : null;
|
|
@@ -22399,7 +22425,7 @@ function createAnthropic(options = {}) {
|
|
|
22399
22425
|
var anthropic = createAnthropic();
|
|
22400
22426
|
|
|
22401
22427
|
//#endregion
|
|
22402
|
-
//#region ../mcp-core/dist/anthropic-provider-
|
|
22428
|
+
//#region ../mcp-core/dist/anthropic-provider-CRd6GA4E.js
|
|
22403
22429
|
const DEFAULT_ANTHROPIC_MODEL = "claude-sonnet-4-5";
|
|
22404
22430
|
let configuredBaseUrl$2;
|
|
22405
22431
|
/**
|
|
@@ -27052,7 +27078,7 @@ function createOpenAI(options = {}) {
|
|
|
27052
27078
|
var openai = createOpenAI();
|
|
27053
27079
|
|
|
27054
27080
|
//#endregion
|
|
27055
|
-
//#region ../mcp-core/dist/azure-openai-provider-
|
|
27081
|
+
//#region ../mcp-core/dist/azure-openai-provider-BNAjkBmg.js
|
|
27056
27082
|
const DEFAULT_OPENAI_MODEL$1 = "gpt-5";
|
|
27057
27083
|
let configuredBaseUrl$1;
|
|
27058
27084
|
function setAzureOpenAIBaseUrl(baseUrl) {
|
|
@@ -27110,7 +27136,7 @@ function getAzureOpenAIModel(model) {
|
|
|
27110
27136
|
}
|
|
27111
27137
|
|
|
27112
27138
|
//#endregion
|
|
27113
|
-
//#region ../mcp-core/dist/openai-provider-
|
|
27139
|
+
//#region ../mcp-core/dist/openai-provider-DK3FdwQ_.js
|
|
27114
27140
|
const DEFAULT_OPENAI_MODEL = "gpt-5";
|
|
27115
27141
|
let configuredBaseUrl;
|
|
27116
27142
|
/**
|
|
@@ -27150,7 +27176,7 @@ function getOpenAIModel(model) {
|
|
|
27150
27176
|
}
|
|
27151
27177
|
|
|
27152
27178
|
//#endregion
|
|
27153
|
-
//#region ../mcp-core/dist/openrouter-provider-
|
|
27179
|
+
//#region ../mcp-core/dist/openrouter-provider-JT8w8qQ6.js
|
|
27154
27180
|
const DEFAULT_OPENROUTER_MODEL = "openai/gpt-5.6-luna";
|
|
27155
27181
|
const DEFAULT_OPENROUTER_REASONING_EFFORT = "high";
|
|
27156
27182
|
const OPENROUTER_BASE_URL = "https://openrouter.ai/api/v1";
|
|
@@ -27202,7 +27228,7 @@ function getOpenRouterProviderOptions() {
|
|
|
27202
27228
|
}
|
|
27203
27229
|
|
|
27204
27230
|
//#endregion
|
|
27205
|
-
//#region ../mcp-core/dist/provider-factory-
|
|
27231
|
+
//#region ../mcp-core/dist/provider-factory-Cs_2DBhe.js
|
|
27206
27232
|
let configuredProvider;
|
|
27207
27233
|
/**
|
|
27208
27234
|
* Configure the embedded agent provider explicitly.
|
|
@@ -27347,7 +27373,7 @@ function getResolvedProviderType() {
|
|
|
27347
27373
|
}
|
|
27348
27374
|
|
|
27349
27375
|
//#endregion
|
|
27350
|
-
//#region ../mcp-core/dist/resolve-region-url-
|
|
27376
|
+
//#region ../mcp-core/dist/resolve-region-url-DutLwiPb.js
|
|
27351
27377
|
const regionUrlCache = /* @__PURE__ */ new WeakMap();
|
|
27352
27378
|
function getRegionUrlCache(context$1) {
|
|
27353
27379
|
let cache = regionUrlCache.get(context$1);
|
|
@@ -27774,7 +27800,7 @@ function formatDisplayPart(value, maxLength) {
|
|
|
27774
27800
|
}
|
|
27775
27801
|
|
|
27776
27802
|
//#endregion
|
|
27777
|
-
//#region ../mcp-core/dist/get-trace-details-
|
|
27803
|
+
//#region ../mcp-core/dist/get-trace-details-D7U8b5_V.js
|
|
27778
27804
|
const MAX_TRACE_FETCH_LIMIT = 1e3;
|
|
27779
27805
|
const MAX_FOCUSED_TRACE_FETCH_LIMIT = 1e4;
|
|
27780
27806
|
const MIN_TRACE_FETCH_LIMIT = 50;
|
|
@@ -28454,7 +28480,7 @@ function formatAIConversationSection({ aiConversations, organizationSlug, experi
|
|
|
28454
28480
|
availableToolNames,
|
|
28455
28481
|
directToolNames
|
|
28456
28482
|
});
|
|
28457
|
-
const lines = ["##
|
|
28483
|
+
const lines = ["## Agent Conversations", ""];
|
|
28458
28484
|
if (aiConversations.length === 1) {
|
|
28459
28485
|
const [conversation] = aiConversations;
|
|
28460
28486
|
lines.push(`**Conversation ID**: \`${conversation.conversationId}\``);
|
|
@@ -28534,7 +28560,7 @@ function buildTraceNextSteps({ organizationSlug, traceId, spanFocused = false, e
|
|
|
28534
28560
|
}
|
|
28535
28561
|
|
|
28536
28562
|
//#endregion
|
|
28537
|
-
//#region ../mcp-core/dist/get-span-details-
|
|
28563
|
+
//#region ../mcp-core/dist/get-span-details-DfXIT1v_.js
|
|
28538
28564
|
var get_span_details_default = defineTool({
|
|
28539
28565
|
name: "get_span_details",
|
|
28540
28566
|
skills: ["inspect"],
|
|
@@ -28838,7 +28864,7 @@ function isProfileUrl(url) {
|
|
|
28838
28864
|
}
|
|
28839
28865
|
|
|
28840
28866
|
//#endregion
|
|
28841
|
-
//#region ../mcp-core/dist/get-replay-details-
|
|
28867
|
+
//#region ../mcp-core/dist/get-replay-details-BWeEKq_j.js
|
|
28842
28868
|
const MAX_ACTIVITY_EVENTS = 6;
|
|
28843
28869
|
const MAX_RELATED_ERRORS = 3;
|
|
28844
28870
|
const MAX_RELATED_TRACES = 2;
|
|
@@ -29175,7 +29201,7 @@ function quoteDetail(value) {
|
|
|
29175
29201
|
}
|
|
29176
29202
|
|
|
29177
29203
|
//#endregion
|
|
29178
|
-
//#region ../mcp-core/dist/get-event-attachment-
|
|
29204
|
+
//#region ../mcp-core/dist/get-event-attachment-h8oTTPZt.js
|
|
29179
29205
|
var get_event_attachment_default = defineTool({
|
|
29180
29206
|
name: "get_event_attachment",
|
|
29181
29207
|
skills: ["inspect"],
|
|
@@ -29332,7 +29358,7 @@ function formatAssignedTo(assignedTo) {
|
|
|
29332
29358
|
}
|
|
29333
29359
|
|
|
29334
29360
|
//#endregion
|
|
29335
|
-
//#region ../mcp-core/dist/update-issue-
|
|
29361
|
+
//#region ../mcp-core/dist/update-issue-q9a5YNJb.js
|
|
29336
29362
|
function pluralize(value, noun) {
|
|
29337
29363
|
return `${value} ${noun}${value === 1 ? "" : "s"}`;
|
|
29338
29364
|
}
|
|
@@ -29778,7 +29804,7 @@ async function withProviderFallback({ operation, fallback, onFallback, run }) {
|
|
|
29778
29804
|
}
|
|
29779
29805
|
|
|
29780
29806
|
//#endregion
|
|
29781
|
-
//#region ../mcp-core/dist/callEmbeddedAgent-
|
|
29807
|
+
//#region ../mcp-core/dist/callEmbeddedAgent-ffwEeqdP.js
|
|
29782
29808
|
/**
|
|
29783
29809
|
* Resolve the underlying provider failure from an AI SDK error.
|
|
29784
29810
|
*
|
|
@@ -36186,7 +36212,7 @@ function createValidateEventsSearchTool(options) {
|
|
|
36186
36212
|
}
|
|
36187
36213
|
|
|
36188
36214
|
//#endregion
|
|
36189
|
-
//#region ../mcp-core/dist/agent-
|
|
36215
|
+
//#region ../mcp-core/dist/agent-BCH9XRWB.js
|
|
36190
36216
|
const SEARCH_EVENTS_DATASETS$1 = [...PUBLIC_EVENTS_DATASETS, "replays"];
|
|
36191
36217
|
const searchEventsAgentOutputSchema = z.object({
|
|
36192
36218
|
dataset: z.enum(SEARCH_EVENTS_DATASETS$1).describe("Which dataset to use for the query"),
|
|
@@ -37102,7 +37128,7 @@ function formatReplayEnvironment(environment) {
|
|
|
37102
37128
|
}
|
|
37103
37129
|
|
|
37104
37130
|
//#endregion
|
|
37105
|
-
//#region ../mcp-core/dist/search-events-
|
|
37131
|
+
//#region ../mcp-core/dist/search-events-C8aVtdIY.js
|
|
37106
37132
|
const SEARCH_EVENTS_DATASETS = [...PUBLIC_EVENTS_DATASETS, "replays"];
|
|
37107
37133
|
const DEFAULT_EVENTS_SORT = "-timestamp";
|
|
37108
37134
|
function defaultSortForDataset(dataset) {
|
|
@@ -37513,7 +37539,7 @@ var search_events_default = defineTool({
|
|
|
37513
37539
|
});
|
|
37514
37540
|
|
|
37515
37541
|
//#endregion
|
|
37516
|
-
//#region ../mcp-core/dist/create-team-
|
|
37542
|
+
//#region ../mcp-core/dist/create-team-Bz1tSDLQ.js
|
|
37517
37543
|
const createTeamOutputSchema = z.object({ team: z.object({
|
|
37518
37544
|
id: z.string(),
|
|
37519
37545
|
slug: z.string(),
|
|
@@ -37572,7 +37598,7 @@ var create_team_default = defineTool({
|
|
|
37572
37598
|
});
|
|
37573
37599
|
|
|
37574
37600
|
//#endregion
|
|
37575
|
-
//#region ../mcp-core/dist/create-project-
|
|
37601
|
+
//#region ../mcp-core/dist/create-project-CTQakq9G.js
|
|
37576
37602
|
function getUsableClientKey(clientKeys) {
|
|
37577
37603
|
return clientKeys.find((key) => key.name === "Default" && key.isActive && key.dsn.public) ?? clientKeys.find((key) => key.isActive && key.dsn.public);
|
|
37578
37604
|
}
|
|
@@ -37728,7 +37754,7 @@ var create_project_default = defineTool({
|
|
|
37728
37754
|
});
|
|
37729
37755
|
|
|
37730
37756
|
//#endregion
|
|
37731
|
-
//#region ../mcp-core/dist/update-project-
|
|
37757
|
+
//#region ../mcp-core/dist/update-project-BYY10KTt.js
|
|
37732
37758
|
const updateProjectOutputSchema = z.object({ project: z.object({
|
|
37733
37759
|
id: z.string(),
|
|
37734
37760
|
slug: z.string(),
|
|
@@ -37817,7 +37843,7 @@ var update_project_default = defineTool({
|
|
|
37817
37843
|
});
|
|
37818
37844
|
|
|
37819
37845
|
//#endregion
|
|
37820
|
-
//#region ../mcp-core/dist/add-team-to-project-
|
|
37846
|
+
//#region ../mcp-core/dist/add-team-to-project-DrTGc_T9.js
|
|
37821
37847
|
const assignedTeamSchema$1 = z.object({
|
|
37822
37848
|
id: z.string(),
|
|
37823
37849
|
slug: z.string(),
|
|
@@ -37904,7 +37930,7 @@ var add_team_to_project_default = defineTool({
|
|
|
37904
37930
|
});
|
|
37905
37931
|
|
|
37906
37932
|
//#endregion
|
|
37907
|
-
//#region ../mcp-core/dist/remove-team-from-project-
|
|
37933
|
+
//#region ../mcp-core/dist/remove-team-from-project-CT7eqBf7.js
|
|
37908
37934
|
const assignedTeamSchema = z.object({
|
|
37909
37935
|
id: z.string(),
|
|
37910
37936
|
slug: z.string(),
|
|
@@ -37990,7 +38016,7 @@ var remove_team_from_project_default = defineTool({
|
|
|
37990
38016
|
});
|
|
37991
38017
|
|
|
37992
38018
|
//#endregion
|
|
37993
|
-
//#region ../mcp-core/dist/create-dsn-
|
|
38019
|
+
//#region ../mcp-core/dist/create-dsn-C-kIpqG7.js
|
|
37994
38020
|
const createDsnOutputSchema = z.object({ dsn: z.object({
|
|
37995
38021
|
id: z.string(),
|
|
37996
38022
|
name: z.string(),
|
|
@@ -38055,7 +38081,7 @@ var create_dsn_default = defineTool({
|
|
|
38055
38081
|
});
|
|
38056
38082
|
|
|
38057
38083
|
//#endregion
|
|
38058
|
-
//#region ../mcp-core/dist/find-dsns-
|
|
38084
|
+
//#region ../mcp-core/dist/find-dsns-DCUQXIHr.js
|
|
38059
38085
|
const findDsnsOutputSchema = z.object({ dsns: z.array(z.object({
|
|
38060
38086
|
id: z.string(),
|
|
38061
38087
|
name: z.string(),
|
|
@@ -38105,7 +38131,7 @@ var find_dsns_default = defineTool({
|
|
|
38105
38131
|
});
|
|
38106
38132
|
|
|
38107
38133
|
//#endregion
|
|
38108
|
-
//#region ../mcp-core/dist/update-dsn-
|
|
38134
|
+
//#region ../mcp-core/dist/update-dsn-Ce0IWsRx.js
|
|
38109
38135
|
var update_dsn_default = defineTool({
|
|
38110
38136
|
name: "update_dsn",
|
|
38111
38137
|
skills: ["project-management"],
|
|
@@ -38289,7 +38315,7 @@ async function retryWithBackoff(fn, { maxRetries = 3, initialDelay = 1e3, should
|
|
|
38289
38315
|
}
|
|
38290
38316
|
|
|
38291
38317
|
//#endregion
|
|
38292
|
-
//#region ../mcp-core/dist/analyze-issue-with-seer-
|
|
38318
|
+
//#region ../mcp-core/dist/analyze-issue-with-seer-Dy01BWPf.js
|
|
38293
38319
|
var analyze_issue_with_seer_default = defineTool({
|
|
38294
38320
|
name: "analyze_issue_with_seer",
|
|
38295
38321
|
skills: ["seer"],
|
|
@@ -38575,7 +38601,7 @@ var search_docs_default = defineTool({
|
|
|
38575
38601
|
});
|
|
38576
38602
|
|
|
38577
38603
|
//#endregion
|
|
38578
|
-
//#region ../mcp-core/dist/get-doc-
|
|
38604
|
+
//#region ../mcp-core/dist/get-doc-CnSvhrTG.js
|
|
38579
38605
|
var get_doc_default = defineTool({
|
|
38580
38606
|
name: "get_doc",
|
|
38581
38607
|
skills: ["inspect", "docs"],
|
|
@@ -38750,7 +38776,7 @@ Use issueFields only when a requested field is not in the built-in fields list.
|
|
|
38750
38776
|
Use whoami only for natural-language me references.`;
|
|
38751
38777
|
|
|
38752
38778
|
//#endregion
|
|
38753
|
-
//#region ../mcp-core/dist/agent-
|
|
38779
|
+
//#region ../mcp-core/dist/agent-BIAUd2t1.js
|
|
38754
38780
|
const searchIssuesAgentOutputSchema = z.object({
|
|
38755
38781
|
query: z.string().describe("The Sentry issue search query"),
|
|
38756
38782
|
sort: z.enum([
|
|
@@ -38784,7 +38810,7 @@ async function searchIssuesAgent(options) {
|
|
|
38784
38810
|
}
|
|
38785
38811
|
|
|
38786
38812
|
//#endregion
|
|
38787
|
-
//#region ../mcp-core/dist/formatters-
|
|
38813
|
+
//#region ../mcp-core/dist/formatters-3Z1cdvzp.js
|
|
38788
38814
|
/**
|
|
38789
38815
|
* Format an explanation for how the input query was translated
|
|
38790
38816
|
*/
|
|
@@ -38878,7 +38904,7 @@ function formatDate$1(dateString) {
|
|
|
38878
38904
|
}
|
|
38879
38905
|
|
|
38880
38906
|
//#endregion
|
|
38881
|
-
//#region ../mcp-core/dist/search-issues-
|
|
38907
|
+
//#region ../mcp-core/dist/search-issues-CQ0efOru.js
|
|
38882
38908
|
const ProjectSlugOrIdSchema = z.string().trim().superRefine(validateSlugOrId);
|
|
38883
38909
|
function buildIssueSearchRepairPrompt(params) {
|
|
38884
38910
|
return [
|
|
@@ -39474,7 +39500,7 @@ Received: ${params.issueUrl}`);
|
|
|
39474
39500
|
}
|
|
39475
39501
|
|
|
39476
39502
|
//#endregion
|
|
39477
|
-
//#region ../mcp-core/dist/agent-
|
|
39503
|
+
//#region ../mcp-core/dist/agent-Bbb5dUlD.js
|
|
39478
39504
|
const searchIssueEventsAgentOutputSchema = z.object({
|
|
39479
39505
|
query: z.string().describe("Sentry query filters for tags/fields (NOT including issue: prefix - handler adds that)"),
|
|
39480
39506
|
fields: z.array(z.string()).describe("Array of field names to return in results"),
|
|
@@ -39516,7 +39542,7 @@ async function searchIssueEventsAgent(options) {
|
|
|
39516
39542
|
}
|
|
39517
39543
|
|
|
39518
39544
|
//#endregion
|
|
39519
|
-
//#region ../mcp-core/dist/search-issue-events-
|
|
39545
|
+
//#region ../mcp-core/dist/search-issue-events-fYjr_r6r.js
|
|
39520
39546
|
function buildIssueEventSearchRepairPrompt(params) {
|
|
39521
39547
|
return [
|
|
39522
39548
|
"Fix this Sentry issue event search request.",
|
|
@@ -40045,7 +40071,7 @@ function formatSdkSummary(profile) {
|
|
|
40045
40071
|
}
|
|
40046
40072
|
|
|
40047
40073
|
//#endregion
|
|
40048
|
-
//#region ../mcp-core/dist/get-profile-
|
|
40074
|
+
//#region ../mcp-core/dist/get-profile-CilEVKTg.js
|
|
40049
40075
|
/**
|
|
40050
40076
|
* Resolves profile parameters from URL or explicit params.
|
|
40051
40077
|
* URL takes precedence if provided and valid.
|
|
@@ -40263,7 +40289,7 @@ var get_profile_default = defineTool({
|
|
|
40263
40289
|
});
|
|
40264
40290
|
|
|
40265
40291
|
//#endregion
|
|
40266
|
-
//#region ../mcp-core/dist/get-profile-details-
|
|
40292
|
+
//#region ../mcp-core/dist/get-profile-details-B7TCia0B.js
|
|
40267
40293
|
function resolveProfileDetailsParams(params) {
|
|
40268
40294
|
if (params.profileUrl) {
|
|
40269
40295
|
if (!isProfileUrl(params.profileUrl)) throw new UserInputError("Invalid profile URL. URL must point to a Sentry profile resource.");
|
|
@@ -40491,7 +40517,7 @@ var get_profile_details_default = defineTool({
|
|
|
40491
40517
|
});
|
|
40492
40518
|
|
|
40493
40519
|
//#endregion
|
|
40494
|
-
//#region ../mcp-core/dist/get-
|
|
40520
|
+
//#region ../mcp-core/dist/get-agent-conversation-details-DTJR8hFg.js
|
|
40495
40521
|
function withoutUndefined(value) {
|
|
40496
40522
|
return Object.fromEntries(Object.entries(value).filter(([, item]) => item !== void 0));
|
|
40497
40523
|
}
|
|
@@ -40851,8 +40877,8 @@ function buildConversationArtifact(apiService, organizationSlug, conversationId,
|
|
|
40851
40877
|
timeline
|
|
40852
40878
|
});
|
|
40853
40879
|
}
|
|
40854
|
-
var
|
|
40855
|
-
name: "
|
|
40880
|
+
var get_agent_conversation_details_default = defineTool({
|
|
40881
|
+
name: "get_agent_conversation_details",
|
|
40856
40882
|
skills: [
|
|
40857
40883
|
"inspect",
|
|
40858
40884
|
"triage",
|
|
@@ -40860,13 +40886,13 @@ var get_ai_conversation_details_default = defineTool({
|
|
|
40860
40886
|
],
|
|
40861
40887
|
requiredScopes: ["event:read", "project:read"],
|
|
40862
40888
|
description: [
|
|
40863
|
-
"Fetch the chronological transcript and debugging details for one AI conversation.",
|
|
40889
|
+
"Fetch the chronological transcript and debugging details for one agent conversation, formerly called an AI conversation.",
|
|
40864
40890
|
"",
|
|
40865
|
-
"Returns a timeline of user messages, assistant messages, and tool calls, with trace/span IDs for deeper debugging. To discover or list conversations, use
|
|
40891
|
+
"Returns a timeline of user messages, assistant messages, and tool calls, with trace/span IDs for deeper debugging. To discover or list conversations, use search_agent_conversations."
|
|
40866
40892
|
].join("\n"),
|
|
40867
40893
|
inputSchema: {
|
|
40868
40894
|
organizationSlug: ParamOrganizationSlug,
|
|
40869
|
-
conversationId: z.string().trim().describe("The
|
|
40895
|
+
conversationId: z.string().trim().describe("The agent conversation ID from gen_ai.conversation.id."),
|
|
40870
40896
|
project: z.string().trim().optional().describe("Numeric project ID to scope the query. Falls back to context constraint or all projects."),
|
|
40871
40897
|
start: z.string().trim().optional().describe("Explicit start time for the conversation lookup window."),
|
|
40872
40898
|
end: z.string().trim().optional().describe("Explicit end time for the conversation lookup window."),
|
|
@@ -41267,7 +41293,7 @@ async function fetchSnapshotSummary(apiService, organizationSlug, snapshotId, so
|
|
|
41267
41293
|
}
|
|
41268
41294
|
|
|
41269
41295
|
//#endregion
|
|
41270
|
-
//#region ../mcp-core/dist/get-snapshot-
|
|
41296
|
+
//#region ../mcp-core/dist/get-snapshot-Ce1Z98WR.js
|
|
41271
41297
|
var get_snapshot_default = defineTool({
|
|
41272
41298
|
name: "get_snapshot",
|
|
41273
41299
|
skills: ["inspect"],
|
|
@@ -41345,7 +41371,7 @@ var get_snapshot_default = defineTool({
|
|
|
41345
41371
|
});
|
|
41346
41372
|
|
|
41347
41373
|
//#endregion
|
|
41348
|
-
//#region ../mcp-core/dist/get-snapshot-image-
|
|
41374
|
+
//#region ../mcp-core/dist/get-snapshot-image-CWtW-DQz.js
|
|
41349
41375
|
var get_snapshot_image_default = defineTool({
|
|
41350
41376
|
name: "get_snapshot_image",
|
|
41351
41377
|
skills: ["inspect"],
|
|
@@ -41406,7 +41432,7 @@ var get_snapshot_image_default = defineTool({
|
|
|
41406
41432
|
});
|
|
41407
41433
|
|
|
41408
41434
|
//#endregion
|
|
41409
|
-
//#region ../mcp-core/dist/get-sentry-resource-
|
|
41435
|
+
//#region ../mcp-core/dist/get-sentry-resource-DAx17Rhc.js
|
|
41410
41436
|
/** Types with full API integration. */
|
|
41411
41437
|
const FULLY_SUPPORTED_TYPES = [
|
|
41412
41438
|
"issue",
|
|
@@ -41481,7 +41507,7 @@ function resolveFromParsedUrl(parsed, params) {
|
|
|
41481
41507
|
});
|
|
41482
41508
|
if (detectedType === "unknown") {
|
|
41483
41509
|
if (parsed.transaction) throw new UserInputError(`Detected a performance summary URL for transaction "${parsed.transaction}". Use \`search_events\` to find traces and performance data for this transaction.`);
|
|
41484
|
-
throw new UserInputError("Could not determine resource type from URL. Supported URL patterns: issues, events, traces,
|
|
41510
|
+
throw new UserInputError("Could not determine resource type from URL. Supported URL patterns: issues, events, traces, agent conversations, profiles, replays, monitors, and releases.");
|
|
41485
41511
|
}
|
|
41486
41512
|
if (params.resourceType && params.resourceType !== detectedType) {
|
|
41487
41513
|
if (params.resourceType === "trace" && detectedType === "span") {
|
|
@@ -41526,7 +41552,7 @@ function resolveFromParsedUrl(parsed, params) {
|
|
|
41526
41552
|
spanId: parsed.spanId
|
|
41527
41553
|
};
|
|
41528
41554
|
case "ai_conversation":
|
|
41529
|
-
if (!parsed.conversationId) throw new UserInputError("Could not extract
|
|
41555
|
+
if (!parsed.conversationId) throw new UserInputError("Could not extract agent conversation ID from URL.");
|
|
41530
41556
|
return {
|
|
41531
41557
|
type: "ai_conversation",
|
|
41532
41558
|
organizationSlug,
|
|
@@ -41646,7 +41672,7 @@ var get_sentry_resource_default = defineTool({
|
|
|
41646
41672
|
fallbackInstruction: "Full-resolution snapshot image bytes are not available in this session",
|
|
41647
41673
|
purpose: "for full-resolution image bytes"
|
|
41648
41674
|
});
|
|
41649
|
-
const supportedResources = monitorResourcesAvailable ? "issues, events, traces, spans,
|
|
41675
|
+
const supportedResources = monitorResourcesAvailable ? "issues, events, traces, spans, agent conversations, replays, monitors, preprod snapshots, and snapshot images." : "issues, events, traces, spans, agent conversations, replays, preprod snapshots, and snapshot images.";
|
|
41650
41676
|
const resourceIds = [...monitorResourcesAvailable ? ["- monitor: <monitorSlug>"] : [], "- snapshot: <snapshotId>"];
|
|
41651
41677
|
return [
|
|
41652
41678
|
"Fetch a Sentry resource by URL, or by resourceType plus resourceId.",
|
|
@@ -41655,7 +41681,7 @@ var get_sentry_resource_default = defineTool({
|
|
|
41655
41681
|
`Supports ${supportedResources}`,
|
|
41656
41682
|
"Trace lookups return a condensed overview by default.",
|
|
41657
41683
|
"",
|
|
41658
|
-
"
|
|
41684
|
+
"Agent Conversations: A conversation is a set of spans sharing the same gen_ai.conversation.id. Use resourceType='ai_conversation' with a conversation ID, or pass a Sentry conversation URL, to fetch the transcript/details. To discover or list conversations, use search_agent_conversations. Conversations are NOT issues — do not use search_issues for conversation queries.",
|
|
41659
41685
|
"",
|
|
41660
41686
|
"For preprod snapshot URLs (matching 'sentry.io/preprod/snapshots/'):",
|
|
41661
41687
|
"- Without ?selectedSnapshot=: returns the snapshot diff summary (changed, added, removed images)",
|
|
@@ -41684,7 +41710,7 @@ var get_sentry_resource_default = defineTool({
|
|
|
41684
41710
|
"monitor",
|
|
41685
41711
|
"snapshot"
|
|
41686
41712
|
]).optional().describe("Resource type. With a URL, can override a span-focused trace URL with `trace`. Use `monitor` with a monitor slug only when inspect monitor tools are available or `snapshot` with a snapshot artifact ID."),
|
|
41687
|
-
resourceId: z.string().trim().optional().describe("Resource identifier: issue shortId (e.g., 'PROJECT-123'), event ID, trace ID,
|
|
41713
|
+
resourceId: z.string().trim().optional().describe("Resource identifier: issue shortId (e.g., 'PROJECT-123'), event ID, trace ID, agent conversation ID, replay ID, monitor slug when inspect monitor tools are available, or snapshot artifact ID. Required when not using a URL."),
|
|
41688
41714
|
organizationSlug: ParamOrganizationSlug.optional()
|
|
41689
41715
|
},
|
|
41690
41716
|
annotations: {
|
|
@@ -41731,7 +41757,7 @@ var get_sentry_resource_default = defineTool({
|
|
|
41731
41757
|
spanId: resolved.spanId,
|
|
41732
41758
|
regionUrl: context$1.constraints.regionUrl ?? null
|
|
41733
41759
|
}, context$1);
|
|
41734
|
-
case "ai_conversation": return
|
|
41760
|
+
case "ai_conversation": return get_agent_conversation_details_default.handler({
|
|
41735
41761
|
organizationSlug: resolved.organizationSlug,
|
|
41736
41762
|
conversationId: resolved.conversationId,
|
|
41737
41763
|
project: resolved.projectSlugOrId,
|
|
@@ -41794,7 +41820,7 @@ var get_sentry_resource_default = defineTool({
|
|
|
41794
41820
|
});
|
|
41795
41821
|
|
|
41796
41822
|
//#endregion
|
|
41797
|
-
//#region ../mcp-core/dist/get-latest-base-snapshot-
|
|
41823
|
+
//#region ../mcp-core/dist/get-latest-base-snapshot-KoSAQyLF.js
|
|
41798
41824
|
var get_latest_base_snapshot_default = defineTool({
|
|
41799
41825
|
name: "get_latest_base_snapshot",
|
|
41800
41826
|
skills: ["inspect"],
|
|
@@ -41890,7 +41916,7 @@ var get_latest_base_snapshot_default = defineTool({
|
|
|
41890
41916
|
});
|
|
41891
41917
|
|
|
41892
41918
|
//#endregion
|
|
41893
|
-
//#region ../mcp-core/dist/search-
|
|
41919
|
+
//#region ../mcp-core/dist/search-agent-conversations-CUhIOq09.js
|
|
41894
41920
|
const PREVIEW_LENGTH = 240;
|
|
41895
41921
|
const TRACE_ID_SAMPLE_SIZE = 3;
|
|
41896
41922
|
const aiConversationSearchResultSchema = z.object({
|
|
@@ -41993,8 +42019,8 @@ function buildArtifact(apiService, organizationSlug, conversations, nextCursor,
|
|
|
41993
42019
|
})
|
|
41994
42020
|
};
|
|
41995
42021
|
}
|
|
41996
|
-
var
|
|
41997
|
-
name: "
|
|
42022
|
+
var search_agent_conversations_default = defineTool({
|
|
42023
|
+
name: "search_agent_conversations",
|
|
41998
42024
|
skills: [
|
|
41999
42025
|
"inspect",
|
|
42000
42026
|
"triage",
|
|
@@ -42002,15 +42028,15 @@ var search_ai_conversations_default = defineTool({
|
|
|
42002
42028
|
],
|
|
42003
42029
|
requiredScopes: ["event:read", "project:read"],
|
|
42004
42030
|
description: [
|
|
42005
|
-
"Search Sentry AI Conversations and return one summary row per conversation.",
|
|
42031
|
+
"Search Sentry Agent Conversations, formerly called AI Conversations, and return one summary row per conversation.",
|
|
42006
42032
|
"",
|
|
42007
|
-
"Use this tool to find or list
|
|
42033
|
+
"Use this tool to find or list Agent Conversations. Results are conversation summaries, not raw span rows.",
|
|
42008
42034
|
"Each row includes title (when available), cost, tokens, call counts, previews, and other list metadata.",
|
|
42009
|
-
"Use
|
|
42035
|
+
"Use get_agent_conversation_details with a conversationId to fetch the transcript. Use get_sentry_resource for Sentry conversation URLs.",
|
|
42010
42036
|
"",
|
|
42011
42037
|
"<examples>",
|
|
42012
|
-
"
|
|
42013
|
-
"
|
|
42038
|
+
"search_agent_conversations(organizationSlug='my-org', query='failed conversations', period='7d')",
|
|
42039
|
+
"search_agent_conversations(organizationSlug='my-org', query='checkout', project='backend')",
|
|
42014
42040
|
"</examples>"
|
|
42015
42041
|
].join("\n"),
|
|
42016
42042
|
inputSchema: {
|
|
@@ -42069,7 +42095,7 @@ var search_ai_conversations_default = defineTool({
|
|
|
42069
42095
|
});
|
|
42070
42096
|
|
|
42071
42097
|
//#endregion
|
|
42072
|
-
//#region ../mcp-core/dist/add-issue-note-
|
|
42098
|
+
//#region ../mcp-core/dist/add-issue-note-DqTid9mJ.js
|
|
42073
42099
|
function formatComment(comment) {
|
|
42074
42100
|
const actor = comment.user ? formatActor(comment.user) : "current user";
|
|
42075
42101
|
const text$1 = comment.data ? readString(comment.data, "text") : null;
|
|
@@ -42145,7 +42171,26 @@ var add_issue_note_default = defineTool({
|
|
|
42145
42171
|
});
|
|
42146
42172
|
|
|
42147
42173
|
//#endregion
|
|
42148
|
-
//#region ../mcp-core/dist/onboarding-status-update-
|
|
42174
|
+
//#region ../mcp-core/dist/onboarding-status-update-ZaTsL300.js
|
|
42175
|
+
const updateBaseSchema = z.object({
|
|
42176
|
+
status: AgenticOnboardingStageStatusUpdateSchema.describe("The stage's current status."),
|
|
42177
|
+
runStatus: AgenticOnboardingRunStatusUpdateSchema.optional().describe("Set only when the entire onboarding run has completed or failed."),
|
|
42178
|
+
eventNote: z.string().trim().min(1).max(256).optional().describe("Short context to display with this progress event. Required when status is failed.")
|
|
42179
|
+
}).strict();
|
|
42180
|
+
const createProjectUpdateSchema = updateBaseSchema.extend({
|
|
42181
|
+
stage: z.literal("create_project").describe("Report progress while creating or selecting Sentry projects."),
|
|
42182
|
+
extra: z.object({ projectSlugs: z.array(z.string().trim().min(1)).min(1).max(100).describe("Sentry project slugs created or selected during onboarding. Values accumulate across updates; include each project as it becomes usable while active, then all known projects when completed.") }).strict().optional().describe("Project metadata accepted only by the create_project stage.")
|
|
42183
|
+
});
|
|
42184
|
+
const receiveVerificationErrorUpdateSchema = updateBaseSchema.extend({
|
|
42185
|
+
stage: z.literal("receive_verification_error").describe("Report progress while receiving the verification error in Sentry."),
|
|
42186
|
+
extra: z.object({ issueIds: z.array(z.string().trim().min(1)).min(1).max(100).describe("Sentry issue IDs observed after sending the verification error. Values accumulate across updates; include each matching issue as it is confirmed, then all known issues when completed.") }).strict().optional().describe("Issue metadata accepted only by the receive_verification_error stage.")
|
|
42187
|
+
});
|
|
42188
|
+
const updateWithoutExtraSchema = updateBaseSchema.extend({ stage: AgenticOnboardingStageSchema.exclude(["create_project", "receive_verification_error"]).describe("Report progress for a stage that does not accept extra metadata.") });
|
|
42189
|
+
const onboardingUpdateSchema = z.discriminatedUnion("stage", [
|
|
42190
|
+
createProjectUpdateSchema,
|
|
42191
|
+
receiveVerificationErrorUpdateSchema,
|
|
42192
|
+
updateWithoutExtraSchema
|
|
42193
|
+
]).describe("The stage-specific onboarding progress update.");
|
|
42149
42194
|
var onboarding_status_update_default = defineTool({
|
|
42150
42195
|
name: "onboarding_status_update",
|
|
42151
42196
|
skills: ALL_SKILLS,
|
|
@@ -42168,13 +42213,8 @@ var onboarding_status_update_default = defineTool({
|
|
|
42168
42213
|
inputSchema: {
|
|
42169
42214
|
organizationSlug: ParamOrganizationSlug,
|
|
42170
42215
|
regionUrl: ParamRegionUrl.nullable().default(null),
|
|
42171
|
-
runToken:
|
|
42172
|
-
|
|
42173
|
-
status: AgenticOnboardingStageStatusUpdateSchema.describe("The stage's current status."),
|
|
42174
|
-
runStatus: AgenticOnboardingRunStatusUpdateSchema.optional().describe("Set only when the entire onboarding run has completed or failed."),
|
|
42175
|
-
eventNote: z.string().trim().min(1).max(256).optional().describe("Short context to display with this progress event. Required when status is failed."),
|
|
42176
|
-
projectSlugs: AgenticOnboardingStatusUpdateSchema.shape.projectSlugs.describe("Validated Sentry project slugs. Send only for create_project. Values accumulate across updates; include each project as it becomes usable while active, then all known projects when completed."),
|
|
42177
|
-
issueIds: AgenticOnboardingStatusUpdateSchema.shape.issueIds.describe("Validated Sentry issue IDs returned by MCP. Send only for receive_verification_error. Values accumulate across updates; include each matching issue as it is confirmed, then all known issues when completed.")
|
|
42216
|
+
runToken: AgenticOnboardingRunTokenSchema.describe("The 10-character onboarding run token supplied by Sentry."),
|
|
42217
|
+
update: onboardingUpdateSchema
|
|
42178
42218
|
},
|
|
42179
42219
|
annotations: {
|
|
42180
42220
|
readOnlyHint: false,
|
|
@@ -42185,25 +42225,41 @@ var onboarding_status_update_default = defineTool({
|
|
|
42185
42225
|
async handler(params, context$1) {
|
|
42186
42226
|
const apiService = apiServiceFromContext(context$1, { regionUrl: params.regionUrl ?? context$1.constraints.regionUrl ?? void 0 });
|
|
42187
42227
|
setTag("organization.slug", params.organizationSlug);
|
|
42228
|
+
const update = AgenticOnboardingStatusUpdateSchema.parse({
|
|
42229
|
+
schemaVersion: 1,
|
|
42230
|
+
runToken: params.runToken,
|
|
42231
|
+
...params.update
|
|
42232
|
+
});
|
|
42188
42233
|
const run = await apiService.updateAgenticOnboardingStatus({
|
|
42189
42234
|
organizationSlug: params.organizationSlug,
|
|
42190
|
-
update
|
|
42191
|
-
schemaVersion: 1,
|
|
42192
|
-
runToken: params.runToken,
|
|
42193
|
-
stage: params.stage,
|
|
42194
|
-
status: params.status,
|
|
42195
|
-
...params.runStatus ? { runStatus: params.runStatus } : {},
|
|
42196
|
-
...params.eventNote ? { eventNote: params.eventNote } : {},
|
|
42197
|
-
...params.projectSlugs ? { projectSlugs: params.projectSlugs } : {},
|
|
42198
|
-
...params.issueIds ? { issueIds: params.issueIds } : {}
|
|
42199
|
-
}
|
|
42235
|
+
update
|
|
42200
42236
|
});
|
|
42201
42237
|
return `Onboarding status updated. Continue updates: ${run.continueUpdates ? "yes" : "no"}.`;
|
|
42202
42238
|
}
|
|
42203
42239
|
});
|
|
42204
42240
|
|
|
42205
42241
|
//#endregion
|
|
42206
|
-
//#region ../mcp-core/dist/catalog-
|
|
42242
|
+
//#region ../mcp-core/dist/catalog-DaTB1cy-.js
|
|
42243
|
+
const legacyGetAIConversationDetails = {
|
|
42244
|
+
...get_agent_conversation_details_default,
|
|
42245
|
+
name: "get_ai_conversation_details",
|
|
42246
|
+
includeInSkillDefinitions: false,
|
|
42247
|
+
description: [
|
|
42248
|
+
"Deprecated alias for get_agent_conversation_details.",
|
|
42249
|
+
"",
|
|
42250
|
+
"Use get_agent_conversation_details for new integrations. This alias is kept for backward compatibility."
|
|
42251
|
+
].join("\n")
|
|
42252
|
+
};
|
|
42253
|
+
const legacySearchAIConversations = {
|
|
42254
|
+
...search_agent_conversations_default,
|
|
42255
|
+
name: "search_ai_conversations",
|
|
42256
|
+
includeInSkillDefinitions: false,
|
|
42257
|
+
description: [
|
|
42258
|
+
"Deprecated alias for search_agent_conversations.",
|
|
42259
|
+
"",
|
|
42260
|
+
"Use search_agent_conversations for new integrations. This alias is kept for backward compatibility."
|
|
42261
|
+
].join("\n")
|
|
42262
|
+
};
|
|
42207
42263
|
/**
|
|
42208
42264
|
* Catalog of ordinary Sentry MCP operations.
|
|
42209
42265
|
*
|
|
@@ -42262,8 +42318,10 @@ const catalogTools = {
|
|
|
42262
42318
|
get_snapshot: get_snapshot_default,
|
|
42263
42319
|
get_snapshot_image: get_snapshot_image_default,
|
|
42264
42320
|
get_latest_base_snapshot: get_latest_base_snapshot_default,
|
|
42265
|
-
|
|
42266
|
-
|
|
42321
|
+
get_agent_conversation_details: get_agent_conversation_details_default,
|
|
42322
|
+
get_ai_conversation_details: legacyGetAIConversationDetails,
|
|
42323
|
+
search_agent_conversations: search_agent_conversations_default,
|
|
42324
|
+
search_ai_conversations: legacySearchAIConversations,
|
|
42267
42325
|
add_issue_note: add_issue_note_default,
|
|
42268
42326
|
onboarding_status_update: onboarding_status_update_default
|
|
42269
42327
|
};
|
|
@@ -42499,7 +42557,7 @@ function createExecuteTool(getTools) {
|
|
|
42499
42557
|
}
|
|
42500
42558
|
|
|
42501
42559
|
//#endregion
|
|
42502
|
-
//#region ../mcp-core/dist/tools-
|
|
42560
|
+
//#region ../mcp-core/dist/tools-fGO-TOBm.js
|
|
42503
42561
|
function getAllTools() {
|
|
42504
42562
|
return allTools;
|
|
42505
42563
|
}
|