@sentry/mcp-server 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-client/client.cjs +1 -1
- package/dist/api-client/client.d.cts +3 -3
- package/dist/api-client/client.d.ts +3 -3
- package/dist/api-client/client.js +1 -1
- package/dist/api-client/client.test.cjs +3 -3
- package/dist/api-client/client.test.js +3 -3
- package/dist/api-client/index.cjs +1 -1
- package/dist/api-client/index.d.cts +4 -4
- package/dist/api-client/index.d.ts +4 -4
- package/dist/api-client/index.js +1 -1
- package/dist/api-client/schema.d.cts +1 -1
- package/dist/api-client/schema.d.ts +1 -1
- package/dist/api-client/types.d.cts +2 -2
- package/dist/api-client/types.d.ts +2 -2
- package/dist/{client.d-eUhyVsN_.d.ts → client-7aaWrjcF.d.ts} +11 -2
- package/dist/client-7aaWrjcF.d.ts.map +1 -0
- package/dist/{client-GWxnTlSP.cjs → client-CLuQEpjg.cjs} +12 -5
- package/dist/client-CLuQEpjg.cjs.map +1 -0
- package/dist/{client.d-ar2BvC_o.d.cts → client-D1qv6QT3.d.cts} +12 -3
- package/dist/client-D1qv6QT3.d.cts.map +1 -0
- package/dist/{client-CpiyA8FR.js → client-D9mOWh6s.js} +12 -5
- package/dist/client-D9mOWh6s.js.map +1 -0
- package/dist/{dist-Bewd5-7a.js → dist-BKh-M1A1.js} +11 -11
- package/dist/{dist-Bewd5-7a.js.map → dist-BKh-M1A1.js.map} +1 -1
- package/dist/{dist-3oa5SxPp.cjs → dist-wiyJYfAH.cjs} +11 -11
- package/dist/{dist-3oa5SxPp.cjs.map → dist-wiyJYfAH.cjs.map} +1 -1
- package/dist/{formatting-BTSvl7n7.cjs → formatting-BmbJ5-Uh.cjs} +25 -1
- package/dist/formatting-BmbJ5-Uh.cjs.map +1 -0
- package/dist/formatting-C6Py2iOz.js +46 -0
- package/dist/formatting-C6Py2iOz.js.map +1 -0
- package/dist/index.cjs +16 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +16 -10
- package/dist/index.js.map +1 -1
- package/dist/internal/formatting.cjs +3 -2
- package/dist/internal/formatting.d.cts +16 -5
- package/dist/internal/formatting.d.cts.map +1 -1
- package/dist/internal/formatting.d.ts +16 -5
- package/dist/internal/formatting.d.ts.map +1 -1
- package/dist/internal/formatting.js +2 -2
- package/dist/internal/issue-helpers.test.cjs +2 -2
- package/dist/internal/issue-helpers.test.js +2 -2
- package/dist/{promptDefinitions.d-DyHOzL57.d.ts → promptDefinitions-C85r2wAk.d.ts} +1 -1
- package/dist/promptDefinitions-C85r2wAk.d.ts.map +1 -0
- package/dist/{promptDefinitions.d-ByaZdRYv.d.cts → promptDefinitions-CkGJr3c4.d.cts} +1 -1
- package/dist/promptDefinitions-CkGJr3c4.d.cts.map +1 -0
- package/dist/promptDefinitions.d.cts +1 -1
- package/dist/promptDefinitions.d.ts +1 -1
- package/dist/{schema.d-DwpHAZsi.d.ts → schema-BnIwkBRb.d.ts} +1 -1
- package/dist/schema-BnIwkBRb.d.ts.map +1 -0
- package/dist/{schema.d-DJThZSuo.d.cts → schema-aits0AJg.d.cts} +29 -29
- package/dist/schema-aits0AJg.d.cts.map +1 -0
- package/dist/{server-oefnmsHZ.js → server-0pTMWBNO.js} +11 -9
- package/dist/server-0pTMWBNO.js.map +1 -0
- package/dist/{server-D-JY6wPp.cjs → server-C9hKLN_c.cjs} +10 -8
- package/dist/server-C9hKLN_c.cjs.map +1 -0
- package/dist/server.cjs +5 -5
- package/dist/server.d.cts +3 -3
- package/dist/server.d.cts.map +1 -1
- package/dist/server.d.ts +3 -3
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +5 -5
- package/dist/{stdio-B31CD06F.js → stdio-8gK912aj.js} +2 -2
- package/dist/{stdio-B31CD06F.js.map → stdio-8gK912aj.js.map} +1 -1
- package/dist/{stdio-BsGPoQfx.cjs → stdio-BsM7bvfc.cjs} +2 -2
- package/dist/{stdio-BsGPoQfx.cjs.map → stdio-BsM7bvfc.cjs.map} +1 -1
- package/dist/test-setup.cjs +40 -74
- package/dist/test-setup.cjs.map +1 -1
- package/dist/test-setup.js +40 -74
- package/dist/test-setup.js.map +1 -1
- package/dist/{toolDefinitions-C0t6Y5Su.cjs → toolDefinitions-CRtHauHJ.cjs} +18 -3
- package/dist/toolDefinitions-CRtHauHJ.cjs.map +1 -0
- package/dist/{toolDefinitions-DB4pPvgy.js → toolDefinitions-CfNXEIaX.js} +18 -3
- package/dist/toolDefinitions-CfNXEIaX.js.map +1 -0
- package/dist/{toolDefinitions.d-CsT15_MF.d.cts → toolDefinitions-DPePAe0y.d.cts} +16 -1
- package/dist/toolDefinitions-DPePAe0y.d.cts.map +1 -0
- package/dist/{toolDefinitions.d-C5JUBInb.d.ts → toolDefinitions-abNbVXb5.d.ts} +16 -1
- package/dist/toolDefinitions-abNbVXb5.d.ts.map +1 -0
- package/dist/toolDefinitions.cjs +1 -1
- package/dist/toolDefinitions.d.cts +1 -1
- package/dist/toolDefinitions.d.ts +1 -1
- package/dist/toolDefinitions.js +1 -1
- package/dist/toolDefinitions.test.cjs +2 -2
- package/dist/toolDefinitions.test.js +2 -2
- package/dist/{tools-Ck2CHZeM.cjs → tools-2PgtFQ7q.cjs} +65 -46
- package/dist/tools-2PgtFQ7q.cjs.map +1 -0
- package/dist/{tools-_Y9eV4LR.js → tools-D5yXarBR.js} +65 -47
- package/dist/tools-D5yXarBR.js.map +1 -0
- package/dist/tools.cjs +3 -3
- package/dist/tools.d.cts +18 -3
- package/dist/tools.d.cts.map +1 -1
- package/dist/tools.d.ts +18 -3
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +3 -3
- package/dist/tools.test.cjs +99 -27
- package/dist/tools.test.cjs.map +1 -1
- package/dist/tools.test.js +99 -27
- package/dist/tools.test.js.map +1 -1
- package/dist/transports/stdio.cjs +6 -6
- package/dist/transports/stdio.d.cts +3 -3
- package/dist/transports/stdio.d.ts +3 -3
- package/dist/transports/stdio.js +6 -6
- package/dist/{types.d-BfhMPrt_.d.cts → types-DFKY4nvR.d.cts} +4 -3
- package/dist/types-DFKY4nvR.d.cts.map +1 -0
- package/dist/{types.d-Z5OEf3rw.d.cts → types-Dg6ARePW.d.cts} +2 -2
- package/dist/types-Dg6ARePW.d.cts.map +1 -0
- package/dist/{types.d-B-acZthg.d.ts → types-RxedZjnY.d.ts} +2 -2
- package/dist/types-RxedZjnY.d.ts.map +1 -0
- package/dist/{types.d-BeKsSRmy.d.ts → types-X3ot7x0d.d.ts} +4 -3
- package/dist/types-X3ot7x0d.d.ts.map +1 -0
- package/dist/types.d.cts +3 -3
- package/dist/types.d.ts +3 -3
- package/dist/{version-BFCcfCIj.cjs → version-B3dZ0aPQ.cjs} +2 -2
- package/dist/{version-BFCcfCIj.cjs.map → version-B3dZ0aPQ.cjs.map} +1 -1
- package/dist/version-psBzsZ8-.js +6 -0
- package/dist/{version-B5Fav38l.js.map → version-psBzsZ8-.js.map} +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.js +1 -1
- package/dist/{vi.ClIskdbk-Dd6dTM3O.js → vi.ClIskdbk-BbUmO3mx.js} +9 -9
- package/dist/{vi.ClIskdbk-Dd6dTM3O.js.map → vi.ClIskdbk-BbUmO3mx.js.map} +1 -1
- package/dist/{vi.ClIskdbk-Bn6W0wTE.cjs → vi.ClIskdbk-TqmAThAO.cjs} +9 -9
- package/dist/{vi.ClIskdbk-Bn6W0wTE.cjs.map → vi.ClIskdbk-TqmAThAO.cjs.map} +1 -1
- package/package.json +8 -8
- package/dist/client-CpiyA8FR.js.map +0 -1
- package/dist/client-GWxnTlSP.cjs.map +0 -1
- package/dist/client.d-ar2BvC_o.d.cts.map +0 -1
- package/dist/client.d-eUhyVsN_.d.ts.map +0 -1
- package/dist/formatting-BTSvl7n7.cjs.map +0 -1
- package/dist/formatting-Bacfde0I.js +0 -28
- package/dist/formatting-Bacfde0I.js.map +0 -1
- package/dist/promptDefinitions.d-ByaZdRYv.d.cts.map +0 -1
- package/dist/promptDefinitions.d-DyHOzL57.d.ts.map +0 -1
- package/dist/schema.d-DJThZSuo.d.cts.map +0 -1
- package/dist/schema.d-DwpHAZsi.d.ts.map +0 -1
- package/dist/server-D-JY6wPp.cjs.map +0 -1
- package/dist/server-oefnmsHZ.js.map +0 -1
- package/dist/toolDefinitions-C0t6Y5Su.cjs.map +0 -1
- package/dist/toolDefinitions-DB4pPvgy.js.map +0 -1
- package/dist/toolDefinitions.d-C5JUBInb.d.ts.map +0 -1
- package/dist/toolDefinitions.d-CsT15_MF.d.cts.map +0 -1
- package/dist/tools-Ck2CHZeM.cjs.map +0 -1
- package/dist/tools-_Y9eV4LR.js.map +0 -1
- package/dist/types.d-B-acZthg.d.ts.map +0 -1
- package/dist/types.d-BeKsSRmy.d.ts.map +0 -1
- package/dist/types.d-BfhMPrt_.d.cts.map +0 -1
- package/dist/types.d-Z5OEf3rw.d.cts.map +0 -1
- package/dist/version-B5Fav38l.js +0 -6
- /package/dist/{index.d-Cb-lHGvn.d.cts → index-BPSCxsMC.d.cts} +0 -0
- /package/dist/{index.d-kYckfDWv.d.ts → index-h64gcVNJ.d.ts} +0 -0
|
@@ -24,6 +24,24 @@ function formatEventOutput(event) {
|
|
|
24
24
|
}
|
|
25
25
|
return output;
|
|
26
26
|
}
|
|
27
|
+
function formatIssueOutput({ organizationSlug, issue, event, apiService }) {
|
|
28
|
+
let output = `# Issue ${issue.shortId} in **${organizationSlug}**\n\n`;
|
|
29
|
+
output += `**Description**: ${issue.title}\n`;
|
|
30
|
+
output += `**Culprit**: ${issue.culprit}\n`;
|
|
31
|
+
output += `**First Seen**: ${new Date(issue.firstSeen).toISOString()}\n`;
|
|
32
|
+
output += `**Last Seen**: ${new Date(issue.lastSeen).toISOString()}\n`;
|
|
33
|
+
output += `**URL**: ${apiService.getIssueUrl(organizationSlug, issue.shortId)}\n`;
|
|
34
|
+
output += "\n";
|
|
35
|
+
output += "## Event Details\n\n";
|
|
36
|
+
output += `**Event ID**: ${event.id}\n`;
|
|
37
|
+
if (event.type === "error") output += `**Occurred At**: ${new Date(event.dateCreated).toISOString()}\n`;
|
|
38
|
+
if (event.message) output += `**Message**:\n${event.message}\n`;
|
|
39
|
+
output += formatEventOutput(event);
|
|
40
|
+
output += "# Using this information\n\n";
|
|
41
|
+
output += `- You can reference the IssueID in commit messages (e.g. \`Fixes ${issue.shortId}\`) to automatically close the issue when the commit is merged.\n`;
|
|
42
|
+
output += "- The stacktrace includes both first-party application code as well as third-party code, its important to triage to first-party code.\n";
|
|
43
|
+
return output;
|
|
44
|
+
}
|
|
27
45
|
|
|
28
46
|
//#endregion
|
|
29
47
|
Object.defineProperty(exports, 'formatEventOutput', {
|
|
@@ -38,4 +56,10 @@ Object.defineProperty(exports, 'formatFrameHeader', {
|
|
|
38
56
|
return formatFrameHeader;
|
|
39
57
|
}
|
|
40
58
|
});
|
|
41
|
-
|
|
59
|
+
Object.defineProperty(exports, 'formatIssueOutput', {
|
|
60
|
+
enumerable: true,
|
|
61
|
+
get: function () {
|
|
62
|
+
return formatIssueOutput;
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
//# sourceMappingURL=formatting-BmbJ5-Uh.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatting-BmbJ5-Uh.cjs","names":["frame: z.infer<typeof FrameInterface>","platform: string | undefined | null","event: Event"],"sources":["../src/internal/formatting.ts"],"sourcesContent":["import type { z } from \"zod\";\nimport type { Event, Issue } from \"../api-client/types\";\nimport type {\n ErrorEntrySchema,\n ErrorEventSchema,\n FrameInterface,\n SentryApiService,\n} from \"../api-client\";\n\nexport function formatFrameHeader(\n frame: z.infer<typeof FrameInterface>,\n platform: string | undefined | null,\n) {\n if (platform?.startsWith(\"javascript\")) {\n return `${[frame.filename, frame.lineNo, frame.colNo]\n .filter((i) => !!i)\n .join(\":\")}${frame.function ? ` (${frame.function})` : \"\"}`;\n }\n return `${frame.function ? `\"${frame.function}\"` : \"unknown function\"} in \"${frame.filename || frame.module}\"${\n frame.lineNo\n ? ` at line ${frame.lineNo}${frame.colNo !== null ? `:${frame.colNo}` : \"\"}`\n : \"\"\n }`;\n}\n\nexport function formatEventOutput(event: Event) {\n let output = \"\";\n for (const entry of event.entries) {\n if (entry.type === \"exception\") {\n const data = entry.data as z.infer<typeof ErrorEntrySchema>;\n const firstError = data.value ?? data.values[0];\n if (!firstError) {\n continue;\n }\n output += `**Error:**\\n${\"```\"}\\n${firstError.type}: ${\n firstError.value\n }\\n${\"```\"}\\n\\n`;\n if (!firstError.stacktrace || !firstError.stacktrace.frames) {\n continue;\n }\n output += `**Stacktrace:**\\n${\"```\"}\\n${firstError.stacktrace.frames\n .map((frame) => {\n const context = frame.context?.length\n ? `${frame.context\n .filter(([lineno, _]) => lineno === frame.lineNo)\n .map(([_, code]) => `\\n${code}`)\n .join(\"\")}`\n : \"\";\n\n return `${formatFrameHeader(frame, event.platform)}${context}`;\n })\n .join(\"\\n\")}\\n${\"```\"}\\n\\n`;\n }\n }\n return output;\n}\n\nexport function formatIssueOutput({\n organizationSlug,\n issue,\n event,\n apiService,\n}: {\n organizationSlug: string;\n issue: Issue;\n event: Event;\n apiService: SentryApiService;\n}) {\n let output = `# Issue ${issue.shortId} in **${organizationSlug}**\\n\\n`;\n output += `**Description**: ${issue.title}\\n`;\n output += `**Culprit**: ${issue.culprit}\\n`;\n output += `**First Seen**: ${new Date(issue.firstSeen).toISOString()}\\n`;\n output += `**Last Seen**: ${new Date(issue.lastSeen).toISOString()}\\n`;\n output += `**URL**: ${apiService.getIssueUrl(organizationSlug, issue.shortId)}\\n`;\n output += \"\\n\";\n output += \"## Event Details\\n\\n\";\n output += `**Event ID**: ${event.id}\\n`;\n if (event.type === \"error\") {\n output += `**Occurred At**: ${new Date((event as z.infer<typeof ErrorEventSchema>).dateCreated).toISOString()}\\n`;\n }\n if (event.message) {\n output += `**Message**:\\n${event.message}\\n`;\n }\n output += formatEventOutput(event);\n output += \"# Using this information\\n\\n\";\n output += `- You can reference the IssueID in commit messages (e.g. \\`Fixes ${issue.shortId}\\`) to automatically close the issue when the commit is merged.\\n`;\n output +=\n \"- The stacktrace includes both first-party application code as well as third-party code, its important to triage to first-party code.\\n\";\n return output;\n}\n"],"mappings":";;;AASA,SAAgB,kBACdA,OACAC,UACA;AACA,KAAI,UAAU,WAAW,aAAa,CACpC,SAAQ,EAAE;EAAC,MAAM;EAAU,MAAM;EAAQ,MAAM;CAAM,EAClD,OAAO,CAAC,QAAQ,EAAE,CAClB,KAAK,IAAI,CAAC,EAAE,MAAM,YAAY,IAAI,MAAM,SAAS,KAAK,GAAG;AAE9D,SAAQ,EAAE,MAAM,YAAY,GAAG,MAAM,SAAS,KAAK,mBAAmB,OAAO,MAAM,YAAY,MAAM,OAAO,GAC1G,MAAM,UACD,WAAW,MAAM,OAAO,EAAE,MAAM,UAAU,QAAQ,GAAG,MAAM,MAAM,IAAI,GAAG,IACzE,GACL;AACF;AAED,SAAgB,kBAAkBC,OAAc;CAC9C,IAAI,SAAS;AACb,MAAK,MAAM,SAAS,MAAM,QACxB,KAAI,MAAM,SAAS,aAAa;EAC9B,MAAM,OAAO,MAAM;EACnB,MAAM,aAAa,KAAK,SAAS,KAAK,OAAO;AAC7C,OAAK,WACH;AAEF,aAAW,sBAAwB,WAAW,KAAK,IACjD,WAAW,MACZ;AACD,OAAK,WAAW,eAAe,WAAW,WAAW,OACnD;AAEF,aAAW,2BAA6B,WAAW,WAAW,OAC3D,IAAI,CAAC,UAAU;GACd,MAAM,UAAU,MAAM,SAAS,UAC1B,EAAE,MAAM,QACN,OAAO,CAAC,CAAC,QAAQ,EAAE,KAAK,WAAW,MAAM,OAAO,CAChD,IAAI,CAAC,CAAC,GAAG,KAAK,MAAM,IAAI,KAAK,EAAE,CAC/B,KAAK,GAAG,CAAC,IACZ;AAEJ,WAAQ,EAAE,kBAAkB,OAAO,MAAM,SAAS,CAAC,EAAE,QAAQ;EAC9D,EAAC,CACD,KAAK,KAAK,CAAC;CACf;AAEH,QAAO;AACR;AAED,SAAgB,kBAAkB,EAChC,kBACA,OACA,OACA,YAMD,EAAE;CACD,IAAI,UAAU,UAAU,MAAM,QAAQ,QAAQ,iBAAiB;AAC/D,YAAW,mBAAmB,MAAM,MAAM;AAC1C,YAAW,eAAe,MAAM,QAAQ;AACxC,YAAW,kBAAkB,IAAI,KAAK,MAAM,WAAW,aAAa,CAAC;AACrE,YAAW,iBAAiB,IAAI,KAAK,MAAM,UAAU,aAAa,CAAC;AACnE,YAAW,WAAW,WAAW,YAAY,kBAAkB,MAAM,QAAQ,CAAC;AAC9E,WAAU;AACV,WAAU;AACV,YAAW,gBAAgB,MAAM,GAAG;AACpC,KAAI,MAAM,SAAS,QACjB,YAAW,mBAAmB,IAAI,KAAM,MAA2C,aAAa,aAAa,CAAC;AAEhH,KAAI,MAAM,QACR,YAAW,gBAAgB,MAAM,QAAQ;AAE3C,WAAU,kBAAkB,MAAM;AAClC,WAAU;AACV,YAAW,mEAAmE,MAAM,QAAQ;AAC5F,WACE;AACF,QAAO;AACR"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
//#region src/internal/formatting.ts
|
|
2
|
+
function formatFrameHeader(frame, platform) {
|
|
3
|
+
if (platform?.startsWith("javascript")) return `${[
|
|
4
|
+
frame.filename,
|
|
5
|
+
frame.lineNo,
|
|
6
|
+
frame.colNo
|
|
7
|
+
].filter((i) => !!i).join(":")}${frame.function ? ` (${frame.function})` : ""}`;
|
|
8
|
+
return `${frame.function ? `"${frame.function}"` : "unknown function"} in "${frame.filename || frame.module}"${frame.lineNo ? ` at line ${frame.lineNo}${frame.colNo !== null ? `:${frame.colNo}` : ""}` : ""}`;
|
|
9
|
+
}
|
|
10
|
+
function formatEventOutput(event) {
|
|
11
|
+
let output = "";
|
|
12
|
+
for (const entry of event.entries) if (entry.type === "exception") {
|
|
13
|
+
const data = entry.data;
|
|
14
|
+
const firstError = data.value ?? data.values[0];
|
|
15
|
+
if (!firstError) continue;
|
|
16
|
+
output += `**Error:**\n\`\`\`\n${firstError.type}: ${firstError.value}\n\`\`\`\n\n`;
|
|
17
|
+
if (!firstError.stacktrace || !firstError.stacktrace.frames) continue;
|
|
18
|
+
output += `**Stacktrace:**\n\`\`\`\n${firstError.stacktrace.frames.map((frame) => {
|
|
19
|
+
const context = frame.context?.length ? `${frame.context.filter(([lineno, _]) => lineno === frame.lineNo).map(([_, code]) => `\n${code}`).join("")}` : "";
|
|
20
|
+
return `${formatFrameHeader(frame, event.platform)}${context}`;
|
|
21
|
+
}).join("\n")}\n\`\`\`\n\n`;
|
|
22
|
+
}
|
|
23
|
+
return output;
|
|
24
|
+
}
|
|
25
|
+
function formatIssueOutput({ organizationSlug, issue, event, apiService }) {
|
|
26
|
+
let output = `# Issue ${issue.shortId} in **${organizationSlug}**\n\n`;
|
|
27
|
+
output += `**Description**: ${issue.title}\n`;
|
|
28
|
+
output += `**Culprit**: ${issue.culprit}\n`;
|
|
29
|
+
output += `**First Seen**: ${new Date(issue.firstSeen).toISOString()}\n`;
|
|
30
|
+
output += `**Last Seen**: ${new Date(issue.lastSeen).toISOString()}\n`;
|
|
31
|
+
output += `**URL**: ${apiService.getIssueUrl(organizationSlug, issue.shortId)}\n`;
|
|
32
|
+
output += "\n";
|
|
33
|
+
output += "## Event Details\n\n";
|
|
34
|
+
output += `**Event ID**: ${event.id}\n`;
|
|
35
|
+
if (event.type === "error") output += `**Occurred At**: ${new Date(event.dateCreated).toISOString()}\n`;
|
|
36
|
+
if (event.message) output += `**Message**:\n${event.message}\n`;
|
|
37
|
+
output += formatEventOutput(event);
|
|
38
|
+
output += "# Using this information\n\n";
|
|
39
|
+
output += `- You can reference the IssueID in commit messages (e.g. \`Fixes ${issue.shortId}\`) to automatically close the issue when the commit is merged.\n`;
|
|
40
|
+
output += "- The stacktrace includes both first-party application code as well as third-party code, its important to triage to first-party code.\n";
|
|
41
|
+
return output;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
//#endregion
|
|
45
|
+
export { formatEventOutput, formatFrameHeader, formatIssueOutput };
|
|
46
|
+
//# sourceMappingURL=formatting-C6Py2iOz.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatting-C6Py2iOz.js","names":["frame: z.infer<typeof FrameInterface>","platform: string | undefined | null","event: Event"],"sources":["../src/internal/formatting.ts"],"sourcesContent":["import type { z } from \"zod\";\nimport type { Event, Issue } from \"../api-client/types\";\nimport type {\n ErrorEntrySchema,\n ErrorEventSchema,\n FrameInterface,\n SentryApiService,\n} from \"../api-client\";\n\nexport function formatFrameHeader(\n frame: z.infer<typeof FrameInterface>,\n platform: string | undefined | null,\n) {\n if (platform?.startsWith(\"javascript\")) {\n return `${[frame.filename, frame.lineNo, frame.colNo]\n .filter((i) => !!i)\n .join(\":\")}${frame.function ? ` (${frame.function})` : \"\"}`;\n }\n return `${frame.function ? `\"${frame.function}\"` : \"unknown function\"} in \"${frame.filename || frame.module}\"${\n frame.lineNo\n ? ` at line ${frame.lineNo}${frame.colNo !== null ? `:${frame.colNo}` : \"\"}`\n : \"\"\n }`;\n}\n\nexport function formatEventOutput(event: Event) {\n let output = \"\";\n for (const entry of event.entries) {\n if (entry.type === \"exception\") {\n const data = entry.data as z.infer<typeof ErrorEntrySchema>;\n const firstError = data.value ?? data.values[0];\n if (!firstError) {\n continue;\n }\n output += `**Error:**\\n${\"```\"}\\n${firstError.type}: ${\n firstError.value\n }\\n${\"```\"}\\n\\n`;\n if (!firstError.stacktrace || !firstError.stacktrace.frames) {\n continue;\n }\n output += `**Stacktrace:**\\n${\"```\"}\\n${firstError.stacktrace.frames\n .map((frame) => {\n const context = frame.context?.length\n ? `${frame.context\n .filter(([lineno, _]) => lineno === frame.lineNo)\n .map(([_, code]) => `\\n${code}`)\n .join(\"\")}`\n : \"\";\n\n return `${formatFrameHeader(frame, event.platform)}${context}`;\n })\n .join(\"\\n\")}\\n${\"```\"}\\n\\n`;\n }\n }\n return output;\n}\n\nexport function formatIssueOutput({\n organizationSlug,\n issue,\n event,\n apiService,\n}: {\n organizationSlug: string;\n issue: Issue;\n event: Event;\n apiService: SentryApiService;\n}) {\n let output = `# Issue ${issue.shortId} in **${organizationSlug}**\\n\\n`;\n output += `**Description**: ${issue.title}\\n`;\n output += `**Culprit**: ${issue.culprit}\\n`;\n output += `**First Seen**: ${new Date(issue.firstSeen).toISOString()}\\n`;\n output += `**Last Seen**: ${new Date(issue.lastSeen).toISOString()}\\n`;\n output += `**URL**: ${apiService.getIssueUrl(organizationSlug, issue.shortId)}\\n`;\n output += \"\\n\";\n output += \"## Event Details\\n\\n\";\n output += `**Event ID**: ${event.id}\\n`;\n if (event.type === \"error\") {\n output += `**Occurred At**: ${new Date((event as z.infer<typeof ErrorEventSchema>).dateCreated).toISOString()}\\n`;\n }\n if (event.message) {\n output += `**Message**:\\n${event.message}\\n`;\n }\n output += formatEventOutput(event);\n output += \"# Using this information\\n\\n\";\n output += `- You can reference the IssueID in commit messages (e.g. \\`Fixes ${issue.shortId}\\`) to automatically close the issue when the commit is merged.\\n`;\n output +=\n \"- The stacktrace includes both first-party application code as well as third-party code, its important to triage to first-party code.\\n\";\n return output;\n}\n"],"mappings":";AASA,SAAgB,kBACdA,OACAC,UACA;AACA,KAAI,UAAU,WAAW,aAAa,CACpC,SAAQ,EAAE;EAAC,MAAM;EAAU,MAAM;EAAQ,MAAM;CAAM,EAClD,OAAO,CAAC,QAAQ,EAAE,CAClB,KAAK,IAAI,CAAC,EAAE,MAAM,YAAY,IAAI,MAAM,SAAS,KAAK,GAAG;AAE9D,SAAQ,EAAE,MAAM,YAAY,GAAG,MAAM,SAAS,KAAK,mBAAmB,OAAO,MAAM,YAAY,MAAM,OAAO,GAC1G,MAAM,UACD,WAAW,MAAM,OAAO,EAAE,MAAM,UAAU,QAAQ,GAAG,MAAM,MAAM,IAAI,GAAG,IACzE,GACL;AACF;AAED,SAAgB,kBAAkBC,OAAc;CAC9C,IAAI,SAAS;AACb,MAAK,MAAM,SAAS,MAAM,QACxB,KAAI,MA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
@@ -2,29 +2,28 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
const require_chunk = require('./chunk-BtT13l48.cjs');
|
|
4
4
|
require('./schema-BnXdl41H.cjs');
|
|
5
|
-
require('./client-
|
|
5
|
+
require('./client-CLuQEpjg.cjs');
|
|
6
6
|
require('./types-o3zWarRp.cjs');
|
|
7
7
|
require('./api-client-CEBuz3Zu.cjs');
|
|
8
|
-
require('./formatting-
|
|
8
|
+
require('./formatting-BmbJ5-Uh.cjs');
|
|
9
9
|
require('./issue-helpers-CdWMhVWJ.cjs');
|
|
10
10
|
require('./logging-BEMgC5SA.cjs');
|
|
11
|
-
require('./tools-
|
|
11
|
+
require('./tools-2PgtFQ7q.cjs');
|
|
12
12
|
require('./schema-_xqdSRLo.cjs');
|
|
13
|
-
require('./toolDefinitions-
|
|
13
|
+
require('./toolDefinitions-CRtHauHJ.cjs');
|
|
14
14
|
require('./resources-BAE7VVZZ.cjs');
|
|
15
15
|
require('./promptDefinitions-OnJHLqrZ.cjs');
|
|
16
16
|
require('./prompts--QCiXmR2.cjs');
|
|
17
|
-
require('./server-
|
|
18
|
-
const require_stdio = require('./stdio-
|
|
19
|
-
const require_version = require('./version-
|
|
17
|
+
require('./server-C9hKLN_c.cjs');
|
|
18
|
+
const require_stdio = require('./stdio-BsM7bvfc.cjs');
|
|
19
|
+
const require_version = require('./version-B3dZ0aPQ.cjs');
|
|
20
20
|
const __modelcontextprotocol_sdk_server_mcp_js = require_chunk.__toESM(require("@modelcontextprotocol/sdk/server/mcp.js"));
|
|
21
|
-
const __sentry_core = require_chunk.__toESM(require("@sentry/core"));
|
|
22
21
|
const __sentry_node = require_chunk.__toESM(require("@sentry/node"));
|
|
23
22
|
|
|
24
23
|
//#region src/index.ts
|
|
25
24
|
let accessToken = process.env.SENTRY_AUTH_TOKEN;
|
|
26
25
|
let host = process.env.SENTRY_HOST;
|
|
27
|
-
let sentryDsn = process.env.SENTRY_DSN || "https://
|
|
26
|
+
let sentryDsn = process.env.SENTRY_DSN || "https://d0805acebb937435abcb5958da99cdab@o1.ingest.us.sentry.io/4509062593708032";
|
|
28
27
|
const packageName = "@sentry/mcp-server";
|
|
29
28
|
function getUsage() {
|
|
30
29
|
return `Usage: ${packageName} --access-token=<token> [--host=<host>] [--sentry-dsn=<dsn>]`;
|
|
@@ -51,13 +50,20 @@ if (!accessToken) {
|
|
|
51
50
|
__sentry_node.init({
|
|
52
51
|
dsn: sentryDsn,
|
|
53
52
|
sendDefaultPii: true,
|
|
53
|
+
tracesSampleRate: 1,
|
|
54
|
+
initialScope: { tags: {
|
|
55
|
+
"mcp.server_version": require_version.LIB_VERSION,
|
|
56
|
+
"mcp.transport": "stdio",
|
|
57
|
+
"sentry.host": host
|
|
58
|
+
} },
|
|
59
|
+
integrations: [__sentry_node.consoleLoggingIntegration(), __sentry_node.zodErrorsIntegration()],
|
|
54
60
|
environment: "stdio"
|
|
55
61
|
});
|
|
56
62
|
const server = new __modelcontextprotocol_sdk_server_mcp_js.McpServer({
|
|
57
63
|
name: "Sentry MCP",
|
|
58
64
|
version: require_version.LIB_VERSION
|
|
59
65
|
});
|
|
60
|
-
const instrumentedServer =
|
|
66
|
+
const instrumentedServer = __sentry_node.wrapMcpServerWithSentry(server);
|
|
61
67
|
const SENTRY_TIMEOUT = 5e3;
|
|
62
68
|
require_stdio.startStdio(instrumentedServer, {
|
|
63
69
|
accessToken,
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":["accessToken: string | undefined","host: string | undefined","sentryDsn: string | undefined","LIB_VERSION","McpServer"],"sources":["../src/index.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { McpServer } from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport { startStdio } from \"./transports/stdio\";\nimport
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["accessToken: string | undefined","host: string | undefined","sentryDsn: string | undefined","LIB_VERSION","McpServer"],"sources":["../src/index.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { McpServer } from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport { startStdio } from \"./transports/stdio\";\nimport * as Sentry from \"@sentry/node\";\nimport { LIB_VERSION } from \"./version\";\n\nlet accessToken: string | undefined = process.env.SENTRY_AUTH_TOKEN;\nlet host: string | undefined = process.env.SENTRY_HOST;\nlet sentryDsn: string | undefined =\n process.env.SENTRY_DSN || process.env.DEFAULT_SENTRY_DSN;\n\nconst packageName = \"@sentry/mcp-server\";\n\nfunction getUsage() {\n return `Usage: ${packageName} --access-token=<token> [--host=<host>] [--sentry-dsn=<dsn>]`;\n}\n\nfor (const arg of process.argv.slice(2)) {\n if (arg === \"--version\" || arg === \"-v\") {\n console.log(`${packageName} ${LIB_VERSION}`);\n process.exit(0);\n }\n if (arg.startsWith(\"--access-token=\")) {\n accessToken = arg.split(\"=\")[1];\n } else if (arg.startsWith(\"--host=\")) {\n host = arg.split(\"=\")[1];\n } else if (arg.startsWith(\"--sentry-dsn=\")) {\n sentryDsn = arg.split(\"=\")[1];\n } else {\n console.error(\"Error: Invalid argument:\", arg);\n console.error(getUsage());\n process.exit(1);\n }\n}\n\nif (!accessToken) {\n console.error(\n \"Error: No access token was provided. Pass one with `--access-token` or via `SENTRY_AUTH_TOKEN`.\",\n );\n console.error(getUsage());\n process.exit(1);\n}\n\nSentry.init({\n dsn: sentryDsn,\n sendDefaultPii: true,\n tracesSampleRate: 1,\n initialScope: {\n tags: {\n \"mcp.server_version\": LIB_VERSION,\n \"mcp.transport\": \"stdio\",\n \"sentry.host\": host,\n },\n },\n integrations: [\n Sentry.consoleLoggingIntegration(),\n Sentry.zodErrorsIntegration(),\n ],\n environment:\n process.env.SENTRY_ENVIRONMENT ??\n (process.env.NODE_ENV !== \"production\" ? \"development\" : \"production\"),\n});\n\nconst server = new McpServer({\n name: \"Sentry MCP\",\n version: LIB_VERSION,\n});\n\nconst instrumentedServer = Sentry.wrapMcpServerWithSentry(server);\n\nconst SENTRY_TIMEOUT = 5000; // 5 seconds\n\n// XXX: we could do what we're doing in routes/auth.ts and pass the context\n// identically, but we don't really need userId and userName yet\nstartStdio(instrumentedServer, {\n accessToken,\n organizationSlug: null,\n host,\n}).catch((err) => {\n console.error(\"Server error:\", err);\n // ensure we've flushed all events\n Sentry.flush(SENTRY_TIMEOUT);\n process.exit(1);\n});\n\n// ensure we've flushed all events\nSentry.flush(SENTRY_TIMEOUT);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAOA,IAAIA,cAAkC,QAAQ,IAAI;AAClD,IAAIC,OAA2B,QAAQ,IAAI;AAC3C,IAAIC,YACF,QAAQ,IAAI;AAEd,MAAM,cAAc;AAEpB,SAAS,WAAW;AAClB,SAAQ,SAAS,YAAY;AAC9B;AAED,KAAK,MAAM,OAAO,QAAQ,KAAK,MAAM,EAAE,EAAE;AACvC,KAAI,QAAQ,eAAe,QAAQ,MAAM;AACvC,UAAQ,KAAK,EAAE,YAAY,GAAGC,4BAAY,EAAE;AAC5C,UAAQ,KAAK,EAAE;CAChB;AACD,KAAI,IAAI,WAAW,kBAAkB,CACnC,eAAc,IAAI,MAAM,IAAI,CAAC;UACpB,IAAI,WAAW,UAAU,CAClC,QAAO,IAAI,MAAM,IAAI,CAAC;UACb,IAAI,WAAW,gBAAgB,CACxC,aAAY,IAAI,MAAM,IAAI,CAAC;MACtB;AACL,UAAQ,MAAM,4BAA4B,IAAI;AAC9C,UAAQ,MAAM,UAAU,CAAC;AACzB,UAAQ,KAAK,EAAE;CAChB;AACF;AAED,KAAK,aAAa;AAChB,SAAQ,MACN,kGACD;AACD,SAAQ,MAAM,UAAU,CAAC;AACzB,SAAQ,KAAK,EAAE;AAChB;AAED,cAAO,KAAK;CACV,KAAK;CACL,gBAAgB;CAChB,kBAAkB;CAClB,cAAc,EACZ,MAAM;EACJ,sBAAsBA;EACtB,iBAAiB;EACjB,eAAe;CAChB,EACF;CACD,cAAc,CACZ,cAAO,2BAA2B,EAClC,cAAO,sBAAsB,AAC9B;CACD;AAGD,EAAC;AAEF,MAAM,SAAS,IAAIC,mDAAU;CAC3B,MAAM;CACN,SAASD;AACV;AAED,MAAM,qBAAqB,cAAO,wBAAwB,OAAO;AAEjE,MAAM,iBAAiB;AAIvB,yBAAW,oBAAoB;CAC7B;CACA,kBAAkB;CAClB;AACD,EAAC,CAAC,MAAM,CAAC,QAAQ;AAChB,SAAQ,MAAM,iBAAiB,IAAI;AAEnC,eAAO,MAAM,eAAe;AAC5B,SAAQ,KAAK,EAAE;AAChB,EAAC;AAGF,cAAO,MAAM,eAAe"}
|
package/dist/index.js
CHANGED
|
@@ -1,28 +1,27 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import "./schema-BzPfPMq7.js";
|
|
3
|
-
import "./client-
|
|
3
|
+
import "./client-D9mOWh6s.js";
|
|
4
4
|
import "./types-H-TSmRpm.js";
|
|
5
5
|
import "./api-client-9mzrj2HY.js";
|
|
6
|
-
import "./formatting-
|
|
6
|
+
import "./formatting-C6Py2iOz.js";
|
|
7
7
|
import "./issue-helpers-Cx6bFCUv.js";
|
|
8
8
|
import "./logging-Cxm8lQvg.js";
|
|
9
|
-
import "./tools-
|
|
9
|
+
import "./tools-D5yXarBR.js";
|
|
10
10
|
import "./schema-pZrPEvtp.js";
|
|
11
|
-
import "./toolDefinitions-
|
|
11
|
+
import "./toolDefinitions-CfNXEIaX.js";
|
|
12
12
|
import "./resources-OM3EAnnj.js";
|
|
13
13
|
import "./promptDefinitions-C9aGYWZ6.js";
|
|
14
14
|
import "./prompts-Tz-qECa0.js";
|
|
15
|
-
import "./server-
|
|
16
|
-
import { startStdio } from "./stdio-
|
|
17
|
-
import { LIB_VERSION } from "./version-
|
|
15
|
+
import "./server-0pTMWBNO.js";
|
|
16
|
+
import { startStdio } from "./stdio-8gK912aj.js";
|
|
17
|
+
import { LIB_VERSION } from "./version-psBzsZ8-.js";
|
|
18
18
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
19
|
-
import { wrapMcpServerWithSentry } from "@sentry/core";
|
|
20
19
|
import * as Sentry from "@sentry/node";
|
|
21
20
|
|
|
22
21
|
//#region src/index.ts
|
|
23
22
|
let accessToken = process.env.SENTRY_AUTH_TOKEN;
|
|
24
23
|
let host = process.env.SENTRY_HOST;
|
|
25
|
-
let sentryDsn = process.env.SENTRY_DSN || "https://
|
|
24
|
+
let sentryDsn = process.env.SENTRY_DSN || "https://d0805acebb937435abcb5958da99cdab@o1.ingest.us.sentry.io/4509062593708032";
|
|
26
25
|
const packageName = "@sentry/mcp-server";
|
|
27
26
|
function getUsage() {
|
|
28
27
|
return `Usage: ${packageName} --access-token=<token> [--host=<host>] [--sentry-dsn=<dsn>]`;
|
|
@@ -49,13 +48,20 @@ if (!accessToken) {
|
|
|
49
48
|
Sentry.init({
|
|
50
49
|
dsn: sentryDsn,
|
|
51
50
|
sendDefaultPii: true,
|
|
51
|
+
tracesSampleRate: 1,
|
|
52
|
+
initialScope: { tags: {
|
|
53
|
+
"mcp.server_version": LIB_VERSION,
|
|
54
|
+
"mcp.transport": "stdio",
|
|
55
|
+
"sentry.host": host
|
|
56
|
+
} },
|
|
57
|
+
integrations: [Sentry.consoleLoggingIntegration(), Sentry.zodErrorsIntegration()],
|
|
52
58
|
environment: "stdio"
|
|
53
59
|
});
|
|
54
60
|
const server = new McpServer({
|
|
55
61
|
name: "Sentry MCP",
|
|
56
62
|
version: LIB_VERSION
|
|
57
63
|
});
|
|
58
|
-
const instrumentedServer = wrapMcpServerWithSentry(server);
|
|
64
|
+
const instrumentedServer = Sentry.wrapMcpServerWithSentry(server);
|
|
59
65
|
const SENTRY_TIMEOUT = 5e3;
|
|
60
66
|
startStdio(instrumentedServer, {
|
|
61
67
|
accessToken,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["accessToken: string | undefined","host: string | undefined","sentryDsn: string | undefined"],"sources":["../src/index.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { McpServer } from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport { startStdio } from \"./transports/stdio\";\nimport
|
|
1
|
+
{"version":3,"file":"index.js","names":["accessToken: string | undefined","host: string | undefined","sentryDsn: string | undefined"],"sources":["../src/index.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { McpServer } from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport { startStdio } from \"./transports/stdio\";\nimport * as Sentry from \"@sentry/node\";\nimport { LIB_VERSION } from \"./version\";\n\nlet accessToken: string | undefined = process.env.SENTRY_AUTH_TOKEN;\nlet host: string | undefined = process.env.SENTRY_HOST;\nlet sentryDsn: string | undefined =\n process.env.SENTRY_DSN || process.env.DEFAULT_SENTRY_DSN;\n\nconst packageName = \"@sentry/mcp-server\";\n\nfunction getUsage() {\n return `Usage: ${packageName} --access-token=<token> [--host=<host>] [--sentry-dsn=<dsn>]`;\n}\n\nfor (const arg of process.argv.slice(2)) {\n if (arg === \"--version\" || arg === \"-v\") {\n console.log(`${packageName} ${LIB_VERSION}`);\n process.exit(0);\n }\n if (arg.startsWith(\"--access-token=\")) {\n accessToken = arg.split(\"=\")[1];\n } else if (arg.startsWith(\"--host=\")) {\n host = arg.split(\"=\")[1];\n } else if (arg.startsWith(\"--sentry-dsn=\")) {\n sentryDsn = arg.split(\"=\")[1];\n } else {\n console.error(\"Error: Invalid argument:\", arg);\n console.error(getUsage());\n process.exit(1);\n }\n}\n\nif (!accessToken) {\n console.error(\n \"Error: No access token was provided. Pass one with `--access-token` or via `SENTRY_AUTH_TOKEN`.\",\n );\n console.error(getUsage());\n process.exit(1);\n}\n\nSentry.init({\n dsn: sentryDsn,\n sendDefaultPii: true,\n tracesSampleRate: 1,\n initialScope: {\n tags: {\n \"mcp.server_version\": LIB_VERSION,\n \"mcp.transport\": \"stdio\",\n \"sentry.host\": host,\n },\n },\n integrations: [\n Sentry.consoleLoggingIntegration(),\n Sentry.zodErrorsIntegration(),\n ],\n environment:\n process.env.SENTRY_ENVIRONMENT ??\n (process.env.NODE_ENV !== \"production\" ? \"development\" : \"production\"),\n});\n\nconst server = new McpServer({\n name: \"Sentry MCP\",\n version: LIB_VERSION,\n});\n\nconst instrumentedServer = Sentry.wrapMcpServerWithSentry(server);\n\nconst SENTRY_TIMEOUT = 5000; // 5 seconds\n\n// XXX: we could do what we're doing in routes/auth.ts and pass the context\n// identically, but we don't really need userId and userName yet\nstartStdio(instrumentedServer, {\n accessToken,\n organizationSlug: null,\n host,\n}).catch((err) => {\n console.error(\"Server error:\", err);\n // ensure we've flushed all events\n Sentry.flush(SENTRY_TIMEOUT);\n process.exit(1);\n});\n\n// ensure we've flushed all events\nSentry.flush(SENTRY_TIMEOUT);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAOA,IAAIA,cAAkC,QAAQ,IAAI;AAClD,IAAIC,OAA2B,QAAQ,IAAI;AAC3C,IAAIC,YACF,QAAQ,IAAI;AAEd,MAAM,cAAc;AAEpB,SAAS,WAAW;AAClB,SAAQ,SAAS,YAAY;AAC9B;AAED,KAAK,MAAM,OAAO,QAAQ,KAAK,MAAM,EAAE,EAAE;AACvC,KAAI,QAAQ,eAAe,QAAQ,MAAM;AACvC,UAAQ,KAAK,EAAE,YAAY,GAAG,YAAY,EAAE;AAC5C,UAAQ,KAAK,EAAE;CAChB;AACD,KAAI,IAAI,WAAW,kBAAkB,CACnC,eAAc,IAAI,MAAM,IAAI,CAAC;UACpB,IAAI,WAAW,UAAU,CAClC,QAAO,IAAI,MAAM,IAAI,CAAC;UACb,IAAI,WAAW,gBAAgB,CACxC,aAAY,IAAI,MAAM,IAAI,CAAC;MACtB;AACL,UAAQ,MAAM,4BAA4B,IAAI;AAC9C,UAAQ,MAAM,UAAU,CAAC;AACzB,UAAQ,KAAK,EAAE;CAChB;AACF;AAED,KAAK,aAAa;AAChB,SAAQ,MACN,kGACD;AACD,SAAQ,MAAM,UAAU,CAAC;AACzB,SAAQ,KAAK,EAAE;AAChB;AAED,OAAO,KAAK;CACV,KAAK;CACL,gBAAgB;CAChB,kBAAkB;CAClB,cAAc,EACZ,MAAM;EACJ,sBAAsB;EACtB,iBAAiB;EACjB,eAAe;CAChB,EACF;CACD,cAAc,CACZ,OAAO,2BAA2B,EAClC,OAAO,sBAAsB,AAC9B;CACD;AAGD,EAAC;AAEF,MAAM,SAAS,IAAI,UAAU;CAC3B,MAAM;CACN,SAAS;AACV;AAED,MAAM,qBAAqB,OAAO,wBAAwB,OAAO;AAEjE,MAAM,iBAAiB;AAIvB,WAAW,oBAAoB;CAC7B;CACA,kBAAkB;CAClB;AACD,EAAC,CAAC,MAAM,CAAC,QAAQ;AAChB,SAAQ,MAAM,iBAAiB,IAAI;AAEnC,QAAO,MAAM,eAAe;AAC5B,SAAQ,KAAK,EAAE;AAChB,EAAC;AAGF,OAAO,MAAM,eAAe"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
const require_formatting = require('../formatting-
|
|
1
|
+
const require_formatting = require('../formatting-BmbJ5-Uh.cjs');
|
|
2
2
|
|
|
3
3
|
exports.formatEventOutput = require_formatting.formatEventOutput
|
|
4
|
-
exports.formatFrameHeader = require_formatting.formatFrameHeader
|
|
4
|
+
exports.formatFrameHeader = require_formatting.formatFrameHeader
|
|
5
|
+
exports.formatIssueOutput = require_formatting.formatIssueOutput
|
|
@@ -1,15 +1,26 @@
|
|
|
1
|
-
import { FrameInterface } from "../schema
|
|
2
|
-
import { Event } from "../types
|
|
3
|
-
import "../client
|
|
4
|
-
import "../index
|
|
1
|
+
import { FrameInterface } from "../schema-aits0AJg.cjs";
|
|
2
|
+
import { Event, Issue } from "../types-Dg6ARePW.cjs";
|
|
3
|
+
import { SentryApiService } from "../client-D1qv6QT3.cjs";
|
|
4
|
+
import "../index-BPSCxsMC.cjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/internal/formatting.d.ts
|
|
8
8
|
declare function formatFrameHeader(frame: z.infer<typeof FrameInterface>, platform: string | undefined | null): string;
|
|
9
9
|
declare function formatEventOutput(event: Event): string;
|
|
10
|
+
declare function formatIssueOutput({
|
|
11
|
+
organizationSlug,
|
|
12
|
+
issue,
|
|
13
|
+
event,
|
|
14
|
+
apiService
|
|
15
|
+
}: {
|
|
16
|
+
organizationSlug: string;
|
|
17
|
+
issue: Issue;
|
|
18
|
+
event: Event;
|
|
19
|
+
apiService: SentryApiService;
|
|
20
|
+
}): string;
|
|
10
21
|
|
|
11
22
|
//#endregion
|
|
12
23
|
//# sourceMappingURL=formatting.d.ts.map
|
|
13
24
|
|
|
14
|
-
export { formatEventOutput, formatFrameHeader };
|
|
25
|
+
export { formatEventOutput, formatFrameHeader, formatIssueOutput };
|
|
15
26
|
//# sourceMappingURL=formatting.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatting.d.cts","names":[],"sources":["../../src/internal/formatting.ts"],"sourcesContent":null,"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"formatting.d.cts","names":[],"sources":["../../src/internal/formatting.ts"],"sourcesContent":null,"mappings":";;;;;;;iBASgB,iBAAA,QACP,CAAA,CAAE,aAAa;iBAeR,iBAAA,QAAyB;iBAgCzB,iBAAA;;;;;;;EAhDA,KAAA,EAuDP,KAvDO;EAAiB,KAAA,EAwDxB,KAxDwB;EAAA,UACT,EAwDV,gBAxDU;CAAc,CAAA,EAAA,MAA3B;;;AAAK"}
|
|
@@ -1,15 +1,26 @@
|
|
|
1
|
-
import { FrameInterface$1 as FrameInterface } from "../schema
|
|
2
|
-
import { Event } from "../types
|
|
3
|
-
import "../client
|
|
4
|
-
import "../index
|
|
1
|
+
import { FrameInterface$1 as FrameInterface } from "../schema-BnIwkBRb.js";
|
|
2
|
+
import { Event, Issue } from "../types-RxedZjnY.js";
|
|
3
|
+
import { SentryApiService$1 as SentryApiService } from "../client-7aaWrjcF.js";
|
|
4
|
+
import "../index-h64gcVNJ.js";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/internal/formatting.d.ts
|
|
8
8
|
declare function formatFrameHeader(frame: z.infer<typeof FrameInterface>, platform: string | undefined | null): string;
|
|
9
9
|
declare function formatEventOutput(event: Event): string;
|
|
10
|
+
declare function formatIssueOutput({
|
|
11
|
+
organizationSlug,
|
|
12
|
+
issue,
|
|
13
|
+
event,
|
|
14
|
+
apiService
|
|
15
|
+
}: {
|
|
16
|
+
organizationSlug: string;
|
|
17
|
+
issue: Issue;
|
|
18
|
+
event: Event;
|
|
19
|
+
apiService: SentryApiService;
|
|
20
|
+
}): string;
|
|
10
21
|
|
|
11
22
|
//#endregion
|
|
12
23
|
//# sourceMappingURL=formatting.d.ts.map
|
|
13
24
|
|
|
14
|
-
export { formatEventOutput, formatFrameHeader };
|
|
25
|
+
export { formatEventOutput, formatFrameHeader, formatIssueOutput };
|
|
15
26
|
//# sourceMappingURL=formatting.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatting.d.ts","names":[],"sources":["../../src/internal/formatting.ts"],"sourcesContent":null,"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"formatting.d.ts","names":[],"sources":["../../src/internal/formatting.ts"],"sourcesContent":null,"mappings":";;;;;;;iBASgB,iBAAA,QACP,CAAA,CAAE,aAAa;iBAeR,iBAAA,QAAyB;iBAgCzB,iBAAA;;;;;;;EAhDA,KAAA,EAuDP,KAvDO;EAAiB,KAAA,EAwDxB,KAxDwB;EAAA,UACT,EAwDV,gBAxDU;CAAc,CAAA,EAAA,MAA3B;;;AAAK"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { formatEventOutput, formatFrameHeader } from "../formatting-
|
|
1
|
+
import { formatEventOutput, formatFrameHeader, formatIssueOutput } from "../formatting-C6Py2iOz.js";
|
|
2
2
|
|
|
3
|
-
export { formatEventOutput, formatFrameHeader };
|
|
3
|
+
export { formatEventOutput, formatFrameHeader, formatIssueOutput };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const require_issue_helpers = require('../issue-helpers-CdWMhVWJ.cjs');
|
|
3
|
-
const require_dist = require('../dist-
|
|
4
|
-
const require_vi_ClIskdbk = require('../vi.ClIskdbk-
|
|
3
|
+
const require_dist = require('../dist-wiyJYfAH.cjs');
|
|
4
|
+
const require_vi_ClIskdbk = require('../vi.ClIskdbk-TqmAThAO.cjs');
|
|
5
5
|
|
|
6
6
|
//#region src/internal/issue-helpers.test.ts
|
|
7
7
|
require_dist.describe("extractIssueId", () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { extractIssueId, parseIssueId, parseIssueParams } from "../issue-helpers-Cx6bFCUv.js";
|
|
2
|
-
import { describe, it } from "../dist-
|
|
3
|
-
import { globalExpect } from "../vi.ClIskdbk-
|
|
2
|
+
import { describe, it } from "../dist-BKh-M1A1.js";
|
|
3
|
+
import { globalExpect } from "../vi.ClIskdbk-BbUmO3mx.js";
|
|
4
4
|
|
|
5
5
|
//#region src/internal/issue-helpers.test.ts
|
|
6
6
|
describe("extractIssueId", () => {
|
|
@@ -12,4 +12,4 @@ declare const PROMPT_DEFINITIONS: {
|
|
|
12
12
|
//#endregion
|
|
13
13
|
//# sourceMappingURL=promptDefinitions.d.ts.map
|
|
14
14
|
export { PROMPT_DEFINITIONS as PROMPT_DEFINITIONS$1 };
|
|
15
|
-
//# sourceMappingURL=promptDefinitions
|
|
15
|
+
//# sourceMappingURL=promptDefinitions-C85r2wAk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"promptDefinitions-C85r2wAk.d.ts","names":[],"sources":["../src/promptDefinitions.ts"],"sourcesContent":null,"mappings":";;;cAGa;;EAAA,WAAA,EAAA,MAAA;EAWZ,YAAA,EAAA;IAAA,gBAAA,EAAA,CAAA,CAAA,SAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"promptDefinitions-CkGJr3c4.d.cts","names":[],"sources":["../src/promptDefinitions.ts"],"sourcesContent":null,"mappings":";;;cAGa;;EAAA,WAAA,EAAA,MAAA;EAWZ,YAAA,EAAA;IAAA,gBAAA,EAAA,CAAA,CAAA,SAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { PROMPT_DEFINITIONS } from "./promptDefinitions
|
|
1
|
+
import { PROMPT_DEFINITIONS } from "./promptDefinitions-CkGJr3c4.cjs";
|
|
2
2
|
export { PROMPT_DEFINITIONS };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { PROMPT_DEFINITIONS$1 as PROMPT_DEFINITIONS } from "./promptDefinitions
|
|
1
|
+
import { PROMPT_DEFINITIONS$1 as PROMPT_DEFINITIONS } from "./promptDefinitions-C85r2wAk.js";
|
|
2
2
|
export { PROMPT_DEFINITIONS };
|
|
@@ -8534,4 +8534,4 @@ declare const AutofixRunStateSchema: z.ZodObject<{
|
|
|
8534
8534
|
|
|
8535
8535
|
//# sourceMappingURL=schema.d.ts.map
|
|
8536
8536
|
export { ApiErrorSchema as ApiErrorSchema$1, AutofixRunSchema as AutofixRunSchema$1, AutofixRunStateSchema as AutofixRunStateSchema$1, AutofixRunStepDefaultSchema as AutofixRunStepDefaultSchema$1, AutofixRunStepRootCauseAnalysisSchema as AutofixRunStepRootCauseAnalysisSchema$1, AutofixRunStepSchema as AutofixRunStepSchema$1, AutofixRunStepSolutionSchema as AutofixRunStepSolutionSchema$1, ClientKeyListSchema as ClientKeyListSchema$1, ClientKeySchema as ClientKeySchema$1, ErrorEntrySchema as ErrorEntrySchema$1, ErrorEventSchema as ErrorEventSchema$1, ErrorsSearchResponseSchema as ErrorsSearchResponseSchema$1, EventSchema as EventSchema$1, EventsResponseSchema as EventsResponseSchema$1, ExceptionInterface as ExceptionInterface$1, FrameInterface as FrameInterface$1, IssueListSchema as IssueListSchema$1, IssueSchema as IssueSchema$1, OrganizationListSchema as OrganizationListSchema$1, OrganizationSchema as OrganizationSchema$1, ProjectListSchema as ProjectListSchema$1, ProjectSchema as ProjectSchema$1, ReleaseListSchema as ReleaseListSchema$1, ReleaseSchema as ReleaseSchema$1, SpansSearchResponseSchema as SpansSearchResponseSchema$1, TagListSchema as TagListSchema$1, TagSchema as TagSchema$1, TeamListSchema as TeamListSchema$1, TeamSchema as TeamSchema$1, TransactionEventSchema as TransactionEventSchema$1, UnknownEventSchema as UnknownEventSchema$1 };
|
|
8537
|
-
//# sourceMappingURL=schema
|
|
8537
|
+
//# sourceMappingURL=schema-BnIwkBRb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema-BnIwkBRb.d.ts","names":[],"sources":["../src/api-client/schema.ts"],"sourcesContent":null,"mappings":";;;cAEa,gBAAc,CAAA,CAAA;UAIX,CAAA,CAAA;AAJhB,CAAA,EAAA,aAAa,cAIG,oBAAA,CAAA;EAAA,MAAA,aAAA;CAAA,cAAA,EAAA,aAAA,CAAA,mBAAA,CAAA;;;cAEH,oBAAkB,CAAA,CAAA;kBAQ7B,CAAA,CAAA;;;;IAdyB,SAAA,aAAA;IAAA,eAAA,aAAA;EAMd,CAAA,EAAA,OAAA,cAQX,EAAA;IAAA,SAAA,EAAA,MAAA;IAAA,eAAA,EAAA,MAAA;;;;;;;;;;IAR6B,SAAA,EAAA,MAAA;IAAA,eAAA,EAAA,MAAA;EAUlB,CAAA;CAAoD,EAAA;EAAA,IAAA,EAAA,MAAA;;;;;;;;cAApD,wBAAsB,CAAA,CAAA,SAAA,CAAA,CAAA;kBAA8B,CAAA,CAAA;MAA9B,aAAA;EAAA,IAAA,aAAA;EAAA,KAAA,aAAA,CAAA;IAEtB,SAIX,aAAA;IAAA,eAAA,aAAA;EAAA,CAAA,EAAA,OAAA,cAAA,EAAA;;;;;;;AAJqB,CAAA,EAAA,OAAA,cAAA,EAAA;EAMV,IAAA,EAAA,MAAA;EAAoC,EAAA,EAAA,MAAA,GAAA,MAAA;EAAA,IAAA,EAAA,MAAA;;;;;;MAAtB,EAAA,MAAA;EAAA,EAA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