@sentry/mcp-server 0.7.1 → 0.8.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.
Files changed (174) hide show
  1. package/dist/api-client/client.cjs +2 -2
  2. package/dist/api-client/client.d.cts +3 -3
  3. package/dist/api-client/client.d.ts +3 -3
  4. package/dist/api-client/client.js +2 -2
  5. package/dist/api-client/client.test.cjs +2 -2
  6. package/dist/api-client/client.test.js +2 -2
  7. package/dist/api-client/index.cjs +2 -2
  8. package/dist/api-client/index.d.cts +3 -3
  9. package/dist/api-client/index.d.ts +3 -3
  10. package/dist/api-client/index.js +2 -2
  11. package/dist/api-client/schema.cjs +1 -1
  12. package/dist/api-client/schema.d.cts +1 -1
  13. package/dist/api-client/schema.d.ts +1 -1
  14. package/dist/api-client/schema.js +1 -1
  15. package/dist/api-client/types.d.cts +2 -2
  16. package/dist/api-client/types.d.ts +2 -2
  17. package/dist/{client-7aaWrjcF.d.ts → client-CRlGzHly.d.ts} +7 -7
  18. package/dist/{client-7aaWrjcF.d.ts.map → client-CRlGzHly.d.ts.map} +1 -1
  19. package/dist/{client-D9mOWh6s.js → client-CXUzhM1I.js} +2 -3
  20. package/dist/client-CXUzhM1I.js.map +1 -0
  21. package/dist/{client-CLuQEpjg.cjs → client-Cp-Y1PHr.cjs} +2 -3
  22. package/dist/client-Cp-Y1PHr.cjs.map +1 -0
  23. package/dist/{client-Ch0w22UE.d.cts → client-TjRMJC41.d.cts} +6 -6
  24. package/dist/{client-Ch0w22UE.d.cts.map → client-TjRMJC41.d.cts.map} +1 -1
  25. package/dist/index.cjs +12 -11
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.js +12 -11
  28. package/dist/index.js.map +1 -1
  29. package/dist/internal/formatting.d.cts +3 -3
  30. package/dist/internal/formatting.d.ts +3 -3
  31. package/dist/internal/issue-helpers.cjs +1 -1
  32. package/dist/internal/issue-helpers.d.cts.map +1 -1
  33. package/dist/internal/issue-helpers.d.ts.map +1 -1
  34. package/dist/internal/issue-helpers.js +1 -1
  35. package/dist/internal/issue-helpers.test.cjs +1 -1
  36. package/dist/internal/issue-helpers.test.js +1 -1
  37. package/dist/{issue-helpers-Cx6bFCUv.js → issue-helpers-CyoHu5j4.js} +3 -1
  38. package/dist/issue-helpers-CyoHu5j4.js.map +1 -0
  39. package/dist/{issue-helpers-CdWMhVWJ.cjs → issue-helpers-DbsECZFq.cjs} +3 -1
  40. package/dist/issue-helpers-DbsECZFq.cjs.map +1 -0
  41. package/dist/{promptDefinitions-OnJHLqrZ.cjs → promptDefinitions-5jiZMBg5.cjs} +10 -2
  42. package/dist/promptDefinitions-5jiZMBg5.cjs.map +1 -0
  43. package/dist/promptDefinitions-CPTadtuI.js +24 -0
  44. package/dist/promptDefinitions-CPTadtuI.js.map +1 -0
  45. package/dist/promptDefinitions-Dcz3d9wL.d.cts +26 -0
  46. package/dist/promptDefinitions-Dcz3d9wL.d.cts.map +1 -0
  47. package/dist/promptDefinitions-DrGK-v8n.d.ts +26 -0
  48. package/dist/promptDefinitions-DrGK-v8n.d.ts.map +1 -0
  49. package/dist/promptDefinitions.cjs +2 -2
  50. package/dist/promptDefinitions.d.cts +1 -1
  51. package/dist/promptDefinitions.d.ts +1 -1
  52. package/dist/promptDefinitions.js +2 -2
  53. package/dist/prompts-DgWOD2rU.js +32 -0
  54. package/dist/prompts-DgWOD2rU.js.map +1 -0
  55. package/dist/prompts-nfFU-zY-.cjs +39 -0
  56. package/dist/prompts-nfFU-zY-.cjs.map +1 -0
  57. package/dist/prompts.cjs +1 -1
  58. package/dist/prompts.d.cts +21 -11
  59. package/dist/prompts.d.cts.map +1 -1
  60. package/dist/prompts.d.ts +21 -11
  61. package/dist/prompts.d.ts.map +1 -1
  62. package/dist/prompts.js +1 -1
  63. package/dist/{schema-_xqdSRLo.cjs → schema-BCkBPgjj.cjs} +6 -6
  64. package/dist/schema-BCkBPgjj.cjs.map +1 -0
  65. package/dist/{schema-BnXdl41H.cjs → schema-BuByiEkr.cjs} +5 -2
  66. package/dist/schema-BuByiEkr.cjs.map +1 -0
  67. package/dist/{schema-BnIwkBRb.d.ts → schema-BzLH7LPa.d.ts} +335 -335
  68. package/dist/schema-BzLH7LPa.d.ts.map +1 -0
  69. package/dist/schema-CJrk_GUH.js +15 -0
  70. package/dist/schema-CJrk_GUH.js.map +1 -0
  71. package/dist/{schema-BbqVXLZS.d.cts → schema-DpID9ztC.d.cts} +537 -537
  72. package/dist/schema-DpID9ztC.d.cts.map +1 -0
  73. package/dist/{schema-BzPfPMq7.js → schema-Drnljuwf.js} +5 -2
  74. package/dist/schema-Drnljuwf.js.map +1 -0
  75. package/dist/schema.cjs +1 -1
  76. package/dist/schema.d.cts.map +1 -1
  77. package/dist/schema.d.ts.map +1 -1
  78. package/dist/schema.js +1 -1
  79. package/dist/{server-zkB6OPEz.js → server-BCmPE_Kt.js} +40 -10
  80. package/dist/server-BCmPE_Kt.js.map +1 -0
  81. package/dist/{server-D35uvgO3.cjs → server-fYrkDOmy.cjs} +40 -10
  82. package/dist/server-fYrkDOmy.cjs.map +1 -0
  83. package/dist/server.cjs +9 -9
  84. package/dist/server.d.cts +3 -3
  85. package/dist/server.d.cts.map +1 -1
  86. package/dist/server.d.ts +3 -3
  87. package/dist/server.d.ts.map +1 -1
  88. package/dist/server.js +9 -9
  89. package/dist/{stdio-Be17vc2M.cjs → stdio-BxJq3OU7.cjs} +2 -2
  90. package/dist/{stdio-Be17vc2M.cjs.map → stdio-BxJq3OU7.cjs.map} +1 -1
  91. package/dist/{stdio-DQcBQF6y.js → stdio-QBN7-Am6.js} +2 -2
  92. package/dist/{stdio-DQcBQF6y.js.map → stdio-QBN7-Am6.js.map} +1 -1
  93. package/dist/test-setup.cjs +2 -2
  94. package/dist/test-setup.cjs.map +1 -1
  95. package/dist/test-setup.js +2 -2
  96. package/dist/test-setup.js.map +1 -1
  97. package/dist/{toolDefinitions-CRtHauHJ.cjs → toolDefinitions-1SnflztE.cjs} +12 -12
  98. package/dist/toolDefinitions-1SnflztE.cjs.map +1 -0
  99. package/dist/{toolDefinitions-CfNXEIaX.js → toolDefinitions-D13S3vQE.js} +12 -12
  100. package/dist/toolDefinitions-D13S3vQE.js.map +1 -0
  101. package/dist/{toolDefinitions-abNbVXb5.d.ts → toolDefinitions-DkO9-iEg.d.ts} +3 -3
  102. package/dist/toolDefinitions-DkO9-iEg.d.ts.map +1 -0
  103. package/dist/{toolDefinitions-DPePAe0y.d.cts → toolDefinitions-Z-JGBEIN.d.cts} +3 -3
  104. package/dist/toolDefinitions-Z-JGBEIN.d.cts.map +1 -0
  105. package/dist/toolDefinitions.cjs +2 -2
  106. package/dist/toolDefinitions.d.cts +1 -1
  107. package/dist/toolDefinitions.d.ts +1 -1
  108. package/dist/toolDefinitions.js +2 -2
  109. package/dist/toolDefinitions.test.cjs +2 -2
  110. package/dist/toolDefinitions.test.js +2 -2
  111. package/dist/{tools-LuDiLnAX.cjs → tools-BgrGdS8I.cjs} +10 -10
  112. package/dist/{tools-LuDiLnAX.cjs.map → tools-BgrGdS8I.cjs.map} +1 -1
  113. package/dist/{tools-DtHRkHKh.js → tools-CnVttgaS.js} +10 -10
  114. package/dist/{tools-DtHRkHKh.js.map → tools-CnVttgaS.js.map} +1 -1
  115. package/dist/tools.cjs +4 -4
  116. package/dist/tools.d.cts +5 -5
  117. package/dist/tools.d.ts +8 -8
  118. package/dist/tools.js +4 -4
  119. package/dist/tools.test.cjs +12 -12
  120. package/dist/tools.test.cjs.map +1 -1
  121. package/dist/tools.test.js +12 -12
  122. package/dist/tools.test.js.map +1 -1
  123. package/dist/transports/stdio.cjs +10 -10
  124. package/dist/transports/stdio.d.cts +3 -3
  125. package/dist/transports/stdio.d.ts +3 -3
  126. package/dist/transports/stdio.js +10 -10
  127. package/dist/{types-DFKY4nvR.d.cts → types-BO0mZ8vj.d.cts} +7 -6
  128. package/dist/types-BO0mZ8vj.d.cts.map +1 -0
  129. package/dist/{types-BqMKv2m7.d.cts → types-CczA6AH1.d.cts} +2 -2
  130. package/dist/{types-BqMKv2m7.d.cts.map → types-CczA6AH1.d.cts.map} +1 -1
  131. package/dist/{types-X3ot7x0d.d.ts → types-Cis1PiVW.d.ts} +7 -6
  132. package/dist/types-Cis1PiVW.d.ts.map +1 -0
  133. package/dist/{types-RxedZjnY.d.ts → types-X5Epdrlo.d.ts} +2 -2
  134. package/dist/{types-RxedZjnY.d.ts.map → types-X5Epdrlo.d.ts.map} +1 -1
  135. package/dist/types.d.cts +4 -4
  136. package/dist/types.d.ts +4 -4
  137. package/dist/version-DtWIv-x9.js +6 -0
  138. package/dist/{version-BMRCgO0F.js.map → version-DtWIv-x9.js.map} +1 -1
  139. package/dist/{version-BkjSM_wB.cjs → version-sY-gY_s6.cjs} +2 -2
  140. package/dist/{version-BkjSM_wB.cjs.map → version-sY-gY_s6.cjs.map} +1 -1
  141. package/dist/version.cjs +1 -1
  142. package/dist/version.js +1 -1
  143. package/package.json +5 -5
  144. package/dist/client-CLuQEpjg.cjs.map +0 -1
  145. package/dist/client-D9mOWh6s.js.map +0 -1
  146. package/dist/issue-helpers-CdWMhVWJ.cjs.map +0 -1
  147. package/dist/issue-helpers-Cx6bFCUv.js.map +0 -1
  148. package/dist/promptDefinitions-C85r2wAk.d.ts +0 -15
  149. package/dist/promptDefinitions-C85r2wAk.d.ts.map +0 -1
  150. package/dist/promptDefinitions-C9aGYWZ6.js +0 -16
  151. package/dist/promptDefinitions-C9aGYWZ6.js.map +0 -1
  152. package/dist/promptDefinitions-CkGJr3c4.d.cts +0 -15
  153. package/dist/promptDefinitions-CkGJr3c4.d.cts.map +0 -1
  154. package/dist/promptDefinitions-OnJHLqrZ.cjs.map +0 -1
  155. package/dist/prompts--QCiXmR2.cjs +0 -26
  156. package/dist/prompts--QCiXmR2.cjs.map +0 -1
  157. package/dist/prompts-Tz-qECa0.js +0 -19
  158. package/dist/prompts-Tz-qECa0.js.map +0 -1
  159. package/dist/schema-BbqVXLZS.d.cts.map +0 -1
  160. package/dist/schema-BnIwkBRb.d.ts.map +0 -1
  161. package/dist/schema-BnXdl41H.cjs.map +0 -1
  162. package/dist/schema-BzPfPMq7.js.map +0 -1
  163. package/dist/schema-_xqdSRLo.cjs.map +0 -1
  164. package/dist/schema-pZrPEvtp.js +0 -15
  165. package/dist/schema-pZrPEvtp.js.map +0 -1
  166. package/dist/server-D35uvgO3.cjs.map +0 -1
  167. package/dist/server-zkB6OPEz.js.map +0 -1
  168. package/dist/toolDefinitions-CRtHauHJ.cjs.map +0 -1
  169. package/dist/toolDefinitions-CfNXEIaX.js.map +0 -1
  170. package/dist/toolDefinitions-DPePAe0y.d.cts.map +0 -1
  171. package/dist/toolDefinitions-abNbVXb5.d.ts.map +0 -1
  172. package/dist/types-DFKY4nvR.d.cts.map +0 -1
  173. package/dist/types-X3ot7x0d.d.ts.map +0 -1
  174. package/dist/version-BMRCgO0F.js +0 -6
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-_xqdSRLo.cjs","names":[],"sources":["../src/schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const ParamOrganizationSlug = z\n .string()\n .describe(\n \"The organization's slug. This will default to the first org you have access to.\",\n );\n\nexport const ParamTeamSlug = z\n .string()\n .describe(\n \"The team's slug. This will default to the first team you have access to.\",\n );\n\nexport const ParamProjectSlug = z\n .string()\n .describe(\n \"The project's slug. This will default to all projects you have access to. It is encouraged to specify this when possible.\",\n );\n\nexport const ParamIssueShortId = z\n .string()\n .describe(\"The Issue ID. e.g. `PROJECT-1Z43`\");\n\nexport const ParamPlatform = z\n .string()\n .describe(\n \"The platform for the project (e.g., python, javascript, react, etc.)\",\n );\n\nexport const ParamTransaction = z\n .string()\n .describe(\n \"The transaction name (also known as the endpoint, or route name).\",\n );\n\nexport const ParamQuery = z\n .string()\n .describe(\n `The search query to apply. Use the \\`help(subject=\"query_syntax\")\\` tool to get more information about the query syntax rather than guessing.`,\n );\n\nexport const ParamRegionUrl = z\n .string()\n .describe(\"The region URL for the organization you're querying, if known.\");\n"],"mappings":";;;;;AAEA,MAAa,wBAAwB,MAClC,QAAQ,CACR,SACC,kFACD;AAEH,MAAa,gBAAgB,MAC1B,QAAQ,CACR,SACC,2EACD;AAEH,MAAa,mBAAmB,MAC7B,QAAQ,CACR,SACC,4HACD;AAEH,MAAa,oBAAoB,MAC9B,QAAQ,CACR,SAAS,oCAAoC;AAEhD,MAAa,gBAAgB,MAC1B,QAAQ,CACR,SACC,uEACD;AAEH,MAAa,mBAAmB,MAC7B,QAAQ,CACR,SACC,oEACD;AAEH,MAAa,aAAa,MACvB,QAAQ,CACR,UACE,+IACF;AAEH,MAAa,iBAAiB,MAC3B,QAAQ,CACR,SAAS,iEAAiE"}
@@ -1,15 +0,0 @@
1
- import { z } from "zod";
2
-
3
- //#region src/schema.ts
4
- const ParamOrganizationSlug = z.string().describe("The organization's slug. This will default to the first org you have access to.");
5
- const ParamTeamSlug = z.string().describe("The team's slug. This will default to the first team you have access to.");
6
- const ParamProjectSlug = z.string().describe("The project's slug. This will default to all projects you have access to. It is encouraged to specify this when possible.");
7
- const ParamIssueShortId = z.string().describe("The Issue ID. e.g. `PROJECT-1Z43`");
8
- const ParamPlatform = z.string().describe("The platform for the project (e.g., python, javascript, react, etc.)");
9
- const ParamTransaction = z.string().describe("The transaction name (also known as the endpoint, or route name).");
10
- const ParamQuery = z.string().describe(`The search query to apply. Use the \`help(subject="query_syntax")\` tool to get more information about the query syntax rather than guessing.`);
11
- const ParamRegionUrl = z.string().describe("The region URL for the organization you're querying, if known.");
12
-
13
- //#endregion
14
- export { ParamIssueShortId, ParamOrganizationSlug, ParamPlatform, ParamProjectSlug, ParamQuery, ParamRegionUrl, ParamTeamSlug, ParamTransaction };
15
- //# sourceMappingURL=schema-pZrPEvtp.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-pZrPEvtp.js","names":[],"sources":["../src/schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const ParamOrganizationSlug = z\n .string()\n .describe(\n \"The organization's slug. This will default to the first org you have access to.\",\n );\n\nexport const ParamTeamSlug = z\n .string()\n .describe(\n \"The team's slug. This will default to the first team you have access to.\",\n );\n\nexport const ParamProjectSlug = z\n .string()\n .describe(\n \"The project's slug. This will default to all projects you have access to. It is encouraged to specify this when possible.\",\n );\n\nexport const ParamIssueShortId = z\n .string()\n .describe(\"The Issue ID. e.g. `PROJECT-1Z43`\");\n\nexport const ParamPlatform = z\n .string()\n .describe(\n \"The platform for the project (e.g., python, javascript, react, etc.)\",\n );\n\nexport const ParamTransaction = z\n .string()\n .describe(\n \"The transaction name (also known as the endpoint, or route name).\",\n );\n\nexport const ParamQuery = z\n .string()\n .describe(\n `The search query to apply. Use the \\`help(subject=\"query_syntax\")\\` tool to get more information about the query syntax rather than guessing.`,\n );\n\nexport const ParamRegionUrl = z\n .string()\n .describe(\"The region URL for the organization you're querying, if known.\");\n"],"mappings":";;;AAEA,MAAa,wBAAwB,EAClC,QAAQ,CACR,SACC,kFACD;AAEH,MAAa,gBAAgB,EAC1B,QAAQ,CACR,SACC,2EACD;AAEH,MAAa,mBAAmB,EAC7B,QAAQ,CACR,SACC,4HACD;AAEH,MAAa,oBAAoB,EAC9B,QAAQ,CACR,SAAS,oCAAoC;AAEhD,MAAa,gBAAgB,EAC1B,QAAQ,CACR,SACC,uEACD;AAEH,MAAa,mBAAmB,EAC7B,QAAQ,CACR,SACC,oEACD;AAEH,MAAa,aAAa,EACvB,QAAQ,CACR,UACE,+IACF;AAEH,MAAa,iBAAiB,EAC3B,QAAQ,CACR,SAAS,iEAAiE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"server-D35uvgO3.cjs","names":["error: unknown","ApiError","RESOURCES","PROMPT_DEFINITIONS","PROMPT_HANDLERS","TOOL_DEFINITIONS","TOOL_HANDLERS"],"sources":["../src/server.ts"],"sourcesContent":["import type { McpServer } from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport { TOOL_HANDLERS } from \"./tools\";\nimport { TOOL_DEFINITIONS } from \"./toolDefinitions\";\nimport type { ServerContext } from \"./types\";\nimport { setTag, setUser, startNewTrace, startSpan } from \"@sentry/core\";\nimport { logError } from \"./logging\";\nimport { RESOURCES } from \"./resources\";\nimport { PROMPT_DEFINITIONS } from \"./promptDefinitions\";\nimport { PROMPT_HANDLERS } from \"./prompts\";\nimport { ApiError } from \"./api-client\";\n\nfunction isApiError(error: unknown) {\n return error instanceof ApiError || Object.hasOwn(error as any, \"status\");\n}\n\nasync function logAndFormatError(error: unknown) {\n if (isApiError(error)) {\n const typedError = error as ApiError;\n return [\n \"**Error**\",\n `There was an HTTP ${typedError.status} error with the your request to the Sentry API.`,\n `${typedError.message}`,\n `You may be able to resolve the issue by addressing the concern and trying again.`,\n ].join(\"\\n\\n\");\n }\n\n const eventId = logError(error);\n\n return [\n \"**Error**\",\n \"It looks like there was a problem communicating with the Sentry API.\",\n \"Please report the following to the user for the Sentry team:\",\n `**Event ID**: ${eventId}`,\n process.env.NODE_ENV !== \"production\"\n ? error instanceof Error\n ? error.message\n : String(error)\n : \"\",\n ].join(\"\\n\\n\");\n}\n\nexport async function configureServer({\n server,\n context,\n onToolComplete,\n}: { server: McpServer; context: ServerContext; onToolComplete?: () => void }) {\n server.server.onerror = (error) => {\n logError(error);\n };\n\n for (const resource of RESOURCES) {\n server.resource(\n resource.name,\n resource.uri,\n {\n description: resource.description,\n mimeType: resource.mimeType,\n },\n // TODO: this doesnt support any error handling afaict via the spec\n async (url) => {\n return await startNewTrace(async () => {\n return await startSpan(\n { name: `mcp.resource/${resource.name}` },\n async () => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n\n return resource.handler(url);\n },\n );\n });\n },\n );\n }\n\n for (const prompt of PROMPT_DEFINITIONS) {\n const handler = PROMPT_HANDLERS[prompt.name];\n\n server.prompt(\n prompt.name,\n prompt.description,\n prompt.paramsSchema,\n async (...args) => {\n try {\n return await startNewTrace(async () => {\n return await startSpan(\n { name: `mcp.prompt/${prompt.name}` },\n async () => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n\n // TODO(dcramer): I'm too dumb to figure this out\n // @ts-ignore\n return await handler(...args);\n },\n );\n });\n } finally {\n onToolComplete?.();\n }\n },\n );\n }\n\n for (const tool of TOOL_DEFINITIONS) {\n const handler = TOOL_HANDLERS[tool.name];\n\n server.tool(\n tool.name as string,\n tool.description,\n tool.paramsSchema ? tool.paramsSchema : {},\n async (...args) => {\n try {\n return await startNewTrace(async () => {\n return await startSpan(\n { name: `mcp.tool/${tool.name}` },\n async () => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n\n try {\n // TODO(dcramer): I'm too dumb to figure this out\n // @ts-ignore\n const output = await handler(context, ...args);\n\n return {\n content: [\n {\n type: \"text\",\n text: output,\n },\n ],\n };\n } catch (error) {\n return {\n content: [\n {\n type: \"text\",\n text: await logAndFormatError(error),\n },\n ],\n isError: true,\n };\n }\n },\n );\n });\n } finally {\n onToolComplete?.();\n }\n },\n );\n }\n}\n"],"mappings":";;;;;;;;;;;;AAWA,SAAS,WAAWA,OAAgB;AAClC,QAAO,iBAAiBC,2BAAY,OAAO,OAAO,OAAc,SAAS;AAC1E;AAED,eAAe,kBAAkBD,OAAgB;AAC/C,KAAI,WAAW,MAAM,EAAE;EACrB,MAAM,aAAa;AACnB,SAAO;GACL;IACC,oBAAoB,WAAW,OAAO;IACtC,EAAE,WAAW,QAAQ;IACrB;EACF,EAAC,KAAK,OAAO;CACf;CAED,MAAM,UAAU,yBAAS,MAAM;AAE/B,QAAO;EACL;EACA;EACA;GACC,gBAAgB,QAAQ;EACzB,QAAQ,IAAI,aAAa,eACrB,iBAAiB,QACf,MAAM,UACN,OAAO,MAAM,GACf;CACL,EAAC,KAAK,OAAO;AACf;AAED,eAAsB,gBAAgB,EACpC,QACA,SACA,gBAC2E,E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ACV,4BAAQ,EACN,IAAI,QAAQ,OACb,EAAC;AAEJ,UAAI,QAAQ,SACV,2BAAO,aAAa,QAAQ,SAAS;AAGvC,UAAI;OAGF,MAAM,SAAS,MAAM,QAAQ,SAAS,GAAG,KAAK;AAE9C,cAAO,EACL,SAAS,CACP;QACE,MAAM;QACN,MAAM;OACP,CACF,EACF;MACF,SAAQ,OAAO;AACd,cAAO;QACL,SAAS,CACP;SACE,MAAM;SACN,MAAM,MAAM,kBAAkB,MAAM;QACrC,CACF;QACD,SAAS;OACV;MACF;KACF,EACF;IACF,EAAC;GACH,UAAS;AACR,sBAAkB;GACnB;EACF,EACF;CACF;AACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"server-zkB6OPEz.js","names":["error: unknown"],"sources":["../src/server.ts"],"sourcesContent":["import type { McpServer } from \"@modelcontextprotocol/sdk/server/mcp.js\";\nimport { TOOL_HANDLERS } from \"./tools\";\nimport { TOOL_DEFINITIONS } from \"./toolDefinitions\";\nimport type { ServerContext } from \"./types\";\nimport { setTag, setUser, startNewTrace, startSpan } from \"@sentry/core\";\nimport { logError } from \"./logging\";\nimport { RESOURCES } from \"./resources\";\nimport { PROMPT_DEFINITIONS } from \"./promptDefinitions\";\nimport { PROMPT_HANDLERS } from \"./prompts\";\nimport { ApiError } from \"./api-client\";\n\nfunction isApiError(error: unknown) {\n return error instanceof ApiError || Object.hasOwn(error as any, \"status\");\n}\n\nasync function logAndFormatError(error: unknown) {\n if (isApiError(error)) {\n const typedError = error as ApiError;\n return [\n \"**Error**\",\n `There was an HTTP ${typedError.status} error with the your request to the Sentry API.`,\n `${typedError.message}`,\n `You may be able to resolve the issue by addressing the concern and trying again.`,\n ].join(\"\\n\\n\");\n }\n\n const eventId = logError(error);\n\n return [\n \"**Error**\",\n \"It looks like there was a problem communicating with the Sentry API.\",\n \"Please report the following to the user for the Sentry team:\",\n `**Event ID**: ${eventId}`,\n process.env.NODE_ENV !== \"production\"\n ? error instanceof Error\n ? error.message\n : String(error)\n : \"\",\n ].join(\"\\n\\n\");\n}\n\nexport async function configureServer({\n server,\n context,\n onToolComplete,\n}: { server: McpServer; context: ServerContext; onToolComplete?: () => void }) {\n server.server.onerror = (error) => {\n logError(error);\n };\n\n for (const resource of RESOURCES) {\n server.resource(\n resource.name,\n resource.uri,\n {\n description: resource.description,\n mimeType: resource.mimeType,\n },\n // TODO: this doesnt support any error handling afaict via the spec\n async (url) => {\n return await startNewTrace(async () => {\n return await startSpan(\n { name: `mcp.resource/${resource.name}` },\n async () => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n\n return resource.handler(url);\n },\n );\n });\n },\n );\n }\n\n for (const prompt of PROMPT_DEFINITIONS) {\n const handler = PROMPT_HANDLERS[prompt.name];\n\n server.prompt(\n prompt.name,\n prompt.description,\n prompt.paramsSchema,\n async (...args) => {\n try {\n return await startNewTrace(async () => {\n return await startSpan(\n { name: `mcp.prompt/${prompt.name}` },\n async () => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n\n // TODO(dcramer): I'm too dumb to figure this out\n // @ts-ignore\n return await handler(...args);\n },\n );\n });\n } finally {\n onToolComplete?.();\n }\n },\n );\n }\n\n for (const tool of TOOL_DEFINITIONS) {\n const handler = TOOL_HANDLERS[tool.name];\n\n server.tool(\n tool.name as string,\n tool.description,\n tool.paramsSchema ? tool.paramsSchema : {},\n async (...args) => {\n try {\n return await startNewTrace(async () => {\n return await startSpan(\n { name: `mcp.tool/${tool.name}` },\n async () => {\n if (context.userId) {\n setUser({\n id: context.userId,\n });\n }\n if (context.clientId) {\n setTag(\"client.id\", context.clientId);\n }\n\n try {\n // TODO(dcramer): I'm too dumb to figure this out\n // @ts-ignore\n const output = await handler(context, ...args);\n\n return {\n content: [\n {\n type: \"text\",\n text: output,\n },\n ],\n };\n } catch (error) {\n return {\n content: [\n {\n type: \"text\",\n text: await logAndFormatError(error),\n },\n ],\n isError: true,\n };\n }\n },\n );\n });\n } finally {\n onToolComplete?.();\n }\n },\n );\n }\n}\n"],"mappings":";;;;;;;;;;AAWA,SAAS,WAAWA,OAAgB;AAClC,QAAO,iBAAiB,YAAY,OAAO,OAAO,OAAc,SAAS;AAC1E;AAED,eAAe,kBAAkBA,OAAgB;AAC/C,KAAI,WAAW,MAAM,EAAE;EACrB,MAAM,aAAa;AACnB,SAAO;GACL;IACC,oBAAoB,WAAW,OAAO;IACtC,EAAE,WAAW,QAAQ;IACrB;EACF,EAAC,KAAK,OAAO;CACf;CAED,MAAM,UAAU,SAAS,MAAM;AAE/B,QAAO;EACL;EACA;EACA;GACC,gBAAgB,QAAQ;EACzB,QAAQ,IAAI,aAAa,eACrB,iBAAiB,QACf,MAAM,UACN,OAAO,MAAM,GACf;CACL,EAAC,KAAK,OAAO;AACf;AAED,eAAsB,gBAAgB,EACpC,QACA,SACA,gBAC2E,EAAE;AAC7E,QAAO,OAAO,UAAU,CAAC,UAAU;AACjC,WAAS,MAAM;CAChB;AAED,MAAK,MAAM,YAAY,UACrB,QAAO;EACL,SAAS;EACT,SAAS;EACT;GACE,aAAa,SAAS;GACtB,UAAU,SAAS;EACpB;;EAED,OAAO,QAAQ;AACb,UAAO,MAAM,cAAc,YAAY;AACrC,WAAO,MAAM,UACX,EAAE,OAAO,eAAe,SAAS,KAAK,EAAG,GACzC,YAAY;AACV,SAAI,QAAQ,OACV,SAAQ,EACN,IAAI,QAAQ,OACb,EAAC;AAEJ,SAAI,QAAQ,SACV,QAAO,aAAa,QAAQ,SAAS;AAGvC,YAAO,SAAS,QAAQ,IAAI;IAC7B,EACF;GACF,EAAC;EACH;CACF;AAGH,MAAK,MAAM,UAAU,oBAAoB;EACvC,MAAM,UAAU,gBAAgB,OAAO;AAEvC,SAAO,OACL,OAAO,MACP,OAAO,aACP,OAAO,cACP,OAAO,GAAG,SAAS;AACjB,OAAI;AACF,WAAO,MAAM,cAAc,YAAY;AACrC,YAAO,MAAM,UACX,EAAE,OAAO,aAAa,OAAO,KAAK,EAAG,GACrC,YAAY;AACV,UAAI,QAAQ,OACV,SAAQ,EACN,IAAI,QAAQ,OACb,EAAC;AAEJ,UAAI,QAAQ,SACV,QAAO,aAAa,QAAQ,SAAS;AAKvC,aAAO,MAAM,QAAQ,GAAG,KAAK;KAC9B,EACF;IACF,EAAC;GACH,UAAS;AACR,sBAAkB;GACnB;EACF,EACF;CACF;AAED,MAAK,MAAM,QAAQ,kBAAkB;EACnC,MAAM,UAAU,cAAc,KAAK;AAEnC,SAAO,KACL,KAAK,MACL,KAAK,aACL,KAAK,eAAe,KAAK,eAAe,CAAE,GAC1C,OAAO,GAAG,SAAS;AACjB,OAAI;AACF,WAAO,MAAM,cAAc,YAAY;AACrC,YAAO,MAAM,UACX,EAAE,OAAO,WAAW,KAAK,KAAK,EAAG,GACjC,YAAY;AACV,UAAI,QAAQ,OACV,SAAQ,EACN,IAAI,QAAQ,OACb,EAAC;AAEJ,UAAI,QAAQ,SACV,QAAO,aAAa,QAAQ,SAAS;AAGvC,UAAI;OAGF,MAAM,SAAS,MAAM,QAAQ,SAAS,GAAG,KAAK;AAE9C,cAAO,EACL,SAAS,CACP;QACE,MAAM;QACN,MAAM;OACP,CACF,EACF;MACF,SAAQ,OAAO;AACd,cAAO;QACL,SAAS,CACP;SACE,MAAM;SACN,MAAM,MAAM,kBAAkB,MAAM;QACrC,CACF;QACD,SAAS;OACV;MACF;KACF,EACF;IACF,EAAC;GACH,UAAS;AACR,sBAAkB;GACnB;EACF,EACF;CACF;AACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"toolDefinitions-CRtHauHJ.cjs","names":[],"sources":["../src/toolDefinitions.ts"],"sourcesContent":["// TODO: this gets imported by the client code and thus is separated from server code\n// to avoid bundling issues. We'd like to find a better solution that isnt so brittle and keeps this code co-located w/ its tool calls.\nimport {\n ParamOrganizationSlug,\n ParamIssueShortId,\n ParamTeamSlug,\n ParamPlatform,\n ParamProjectSlug,\n ParamQuery,\n ParamTransaction,\n ParamRegionUrl,\n} from \"./schema\";\nimport { z } from \"zod\";\n\nexport const TOOL_DEFINITIONS = [\n {\n name: \"list_organizations\" as const,\n description: [\n \"List all organizations that the user has access to in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all organizations in Sentry\",\n \"- Find an organization's slug to aid other tool requests\",\n ].join(\"\\n\"),\n },\n {\n name: \"list_teams\" as const,\n description: [\n \"List all teams in an organization in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all teams in a Sentry organization\",\n \"- Find an team's slug to aid other tool requests\",\n \"\",\n \"<hints>\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n },\n },\n {\n name: \"list_projects\" as const,\n description: [\n \"Retrieve a list of projects in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all projects in a Sentry organization\",\n \"- Find an project's slug to aid other tool requests\",\n \"\",\n \"<hints>\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n },\n },\n {\n name: \"list_issues\" as const,\n description: [\n \"List all issues in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all issues in a Sentry organization\",\n \"\",\n \"If you're looking for more granular data beyond a summary of identified problems, you should use the `search_errors()` or `search_transactions()` tools instead.\",\n \"\",\n \"<examples>\",\n \"### Find the newest unresolved issues across 'my-organization'\",\n \"\",\n \"```\",\n \"list_issues(organizationSlug='my-organization', query='is:unresolved', sortBy='last_seen')\",\n \"```\",\n \"\",\n \"### Find the most frequently occurring crashes in the 'my-project' project\",\n \"\",\n \"```\",\n \"list_issues(organizationSlug='my-organization', projectSlug='my-project', query='is:unresolved error.handled:false', sortBy='count')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you should call `list_organizations()` first.\",\n \"- You can use the `list_tags()` tool to see what user-defined tags are available.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug.optional(),\n query: ParamQuery.optional(),\n sortBy: z\n .enum([\"last_seen\", \"first_seen\", \"count\", \"userCount\"])\n .describe(\n \"Sort the results either by the last time they occurred, the first time they occurred, the count of occurrences, or the number of users affected.\",\n )\n .optional(),\n },\n },\n {\n name: \"list_releases\" as const,\n description: [\n \"List all releases in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Find recent releases in a Sentry organization\",\n \"- Find the most recent version released of a specific project\",\n \"- Determine when a release was deployed to an environment\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you should call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug.optional(),\n },\n },\n {\n name: \"list_tags\" as const,\n description: [\n \"List all tags in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Find tags available to use in searches\",\n \"\",\n \"<hints>\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n },\n },\n {\n name: \"get_issue_summary\" as const,\n description: [\n \"Retrieve a summary of an issue in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View a summary of an issue in Sentry\",\n \"\",\n \"If the issue is an error, or you want additional information like the stacktrace, you should use `get_issue_details()` tool instead.\",\n \"\",\n \"<hints>\",\n \"- If the user provides the issueUrl, you can ignore the organizationSlug and issueId parameters.\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first. This especially important if an issueId is passed.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: z\n .string()\n .url()\n .describe(\"The URL of the issue to retrieve details for.\")\n .optional(),\n },\n },\n {\n name: \"get_issue_details\" as const,\n description: [\n \"Retrieve issue details from Sentry for a specific Issue ID, including the stacktrace and error message if available. Either issueId or issueUrl MUST be provided.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Investigate a specific production error\",\n \"- Access detailed error information and stacktraces from Sentry\",\n \"\",\n \"<examples>\",\n \"### Get details for issue ID 'CLOUDFLARE-MCP-41'\",\n \"\",\n \"```\",\n \"get_issue_details(organizationSlug='my-organization', issueId='CLOUDFLARE-MCP-41')\",\n \"```\",\n \"\",\n \"### Get details for event ID 'c49541c747cb4d8aa3efb70ca5aba243'\",\n \"\",\n \"```\",\n \"get_event_details(organizationSlug='my-organization', eventId='c49541c747cb4d8aa3efb70ca5aba243')\",\n \"```\",\n \"</examples>\",\n\n \"<hints>\",\n \"- If the user provides the `issueUrl`, you can ignore the other parameters.\",\n \"- If the user provides `issueId` or `eventId` (only one is needed), `organizationSlug` is required.\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n eventId: z.string().describe(\"The ID of the event.\").optional(),\n issueUrl: z\n .string()\n .url()\n .describe(\"The URL of the issue to retrieve details for.\")\n .optional(),\n },\n },\n {\n name: \"search_errors\" as const,\n description: [\n \"Query Sentry for errors using advanced search syntax.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Search for production errors in a specific file.\",\n \"- Analyze error patterns and frequencies.\",\n \"- Find recent or frequently occurring errors.\",\n \"\",\n \"<examples>\",\n \"### Find common errors within a file\",\n \"\",\n \"To find common errors within a file, you can use the `filename` parameter. This is a suffix based search, so only using the filename or the direct parent folder of the file. The parent folder is preferred when the filename is in a subfolder or a common filename. If you provide generic filenames like `index.js` you're going to end up finding errors that are might be from completely different projects.\",\n \"\",\n \"```\",\n \"search_errors(organizationSlug='my-organization', filename='index.js', sortBy='count')\",\n \"```\",\n \"\",\n \"### Find recent crashes from the 'peated' project\",\n \"\",\n \"```\",\n \"search_errors(organizationSlug='my-organization', query='is:unresolved error.handled:false', projectSlug='peated', sortBy='last_seen')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you should call `list_organizations()` first.\",\n \"- If you are looking for issues, in a way that you might be looking for something like 'unresolved errors', you should use the `list_issues()` tool\",\n \"- You can use the `list_tags()` tool to see what user-defined tags are available.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug.optional(),\n filename: z\n .string()\n .describe(\"The filename to search for errors in.\")\n .optional(),\n transaction: ParamTransaction.optional(),\n query: ParamQuery.optional(),\n sortBy: z\n .enum([\"last_seen\", \"count\"])\n .optional()\n .default(\"last_seen\")\n .describe(\n \"Sort the results either by the last time they occurred or the count of occurrences.\",\n ),\n },\n },\n {\n name: \"search_transactions\" as const,\n description: [\n \"Query Sentry for transactions using advanced search syntax.\",\n \"\",\n \"Transactions are segments of traces that are associated with a specific route or endpoint.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Search for production transaction data to understand performance.\",\n \"- Analyze traces and latency patterns.\",\n \"- Find examples of recent requests to endpoints.\",\n \"\",\n \"<examples>\",\n \"### Find slow requests to a route\",\n \"\",\n \"...\",\n \"\",\n \"```\",\n \"search_transactions(organizationSlug='my-organization', transaction='/checkout', sortBy='latency')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you might want to call `list_organizations()` first.\",\n \"- You can use the `list_tags()` tool to see what user-defined tags are available.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug.optional(),\n transaction: ParamTransaction.optional(),\n query: ParamQuery.optional(),\n sortBy: z\n .enum([\"timestamp\", \"duration\"])\n .optional()\n .default(\"timestamp\")\n .describe(\n \"Sort the results either by the timestamp of the request (most recent first) or the duration of the request (longest first).\",\n ),\n },\n },\n {\n name: \"create_team\" as const,\n description: [\n \"Create a new team in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Create a new team in a Sentry organization\",\n \"\",\n \"<hints>\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n name: z.string().describe(\"The name of the team to create.\"),\n },\n },\n {\n name: \"create_project\" as const,\n description: [\n \"Create a new project in Sentry, giving you access to a new SENTRY_DSN.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Create a new project in a Sentry organization\",\n \"\",\n \"<examples>\",\n \"### Create a new javascript project in the 'my-organization' organization\",\n \"\",\n \"```\",\n \"create_project(organizationSlug='my-organization', teamSlug='my-team', name='my-project', platform='javascript')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<teamSlug>.\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n teamSlug: z.string().describe(\"The team's slug.\"),\n name: z\n .string()\n .describe(\n \"The name of the project to create. Typically this is commonly the name of the repository or service. It is only used as a visual label in Sentry.\",\n ),\n platform: ParamPlatform.optional(),\n },\n },\n {\n name: \"create_dsn\" as const,\n description: [\n \"Create a new Sentry DSN for a specific project.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Create a new DSN for a specific project\",\n \"\",\n \"<examples>\",\n \"### Create a new DSN for the 'my-project' project\",\n \"\",\n \"```\",\n \"create_dsn(organizationSlug='my-organization', projectSlug='my-project', name='Default')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: z.string().describe(\"The project's slug.\"),\n name: z.string().describe(\"The name of the DSN to create.\"),\n },\n },\n {\n name: \"list_dsns\" as const,\n description: [\n \"List all Sentry DSNs for a specific project.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Retrieve a SENTRY_DSN for a specific project\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you might want to call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: z.string().describe(\"The project's slug.\"),\n },\n },\n {\n name: \"begin_autofix\" as const,\n description: [\n \"Analyze an issue in Sentry, identify a root cause, and suggest a fix for it.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Determine the root cause of an issue.\",\n \"- Generate a plan for fixing an issue.\",\n \"- Implement a fix for an issue.\",\n \"\",\n \"This operation may take some time, so you should call `get_autofix_status()` to check the status of the analysis after you begin it.\",\n \"\",\n \"<examples>\",\n \"### Analyze and propose a fix for 'ISSUE-123' in Sentry\",\n \"\",\n \"```\",\n \"begin_autofix(organizationSlug='my-organization', issueId='ISSUE-123')\",\n \"```\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- Always check to see if an autofix is in progress for before calling this tool by using `get_autofix_status()`.\",\n \"- If the user provides the issueUrl, you can ignore the organizationSlug and issueId parameters.\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first. This especially important if an issueId is passed.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: z\n .string()\n .url()\n .describe(\"The URL of the issue to retrieve details for.\")\n .optional(),\n },\n },\n {\n name: \"get_autofix_status\" as const,\n description: [\n \"Get the status of a root cause analysis for an issue in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Get the root cause analysis for an issue.\",\n \"- Get the status of a fix for an issue.\",\n \"\",\n \"<examples>\",\n \"### Get the status of a fix for the 'ISSUE-123' issue\",\n \"\",\n \"```\",\n \"get_autofix_status(organizationSlug='my-organization', issueId='ISSUE-123')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user provides the issueUrl, you can ignore the organizationSlug and issueId parameters.\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first. This especially important if an issueId is passed.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: z\n .string()\n .url()\n .describe(\"The URL of the issue to retrieve details for.\")\n .optional(),\n },\n },\n];\n"],"mappings":";;;;;;AAcA,MAAa,mBAAmB;CAC9B;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;CACb;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;EACrC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;EACrC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,aAAa,gCAAiB,UAAU;GACxC,OAAO,0BAAW,UAAU;GAC5B,QAAQ,MACL,KAAK;IAAC;IAAa;IAAc;IAAS;GAAY,EAAC,CACvD,SACC,mJACD,CACA,UAAU;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,aAAa,gCAAiB,UAAU;EACzC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;EACrC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,SAAS,iCAAkB,UAAU;GACrC,UAAU,MACP,QAAQ,CACR,KAAK,CACL,SAAS,gDAAgD,CACzD,UAAU;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GAEA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,SAAS,iCAAkB,UAAU;GACrC,SAAS,MAAE,QAAQ,CAAC,SAAS,uBAAuB,CAAC,UAAU;GAC/D,UAAU,MACP,QAAQ,CACR,KAAK,CACL,SAAS,gDAAgD,CACzD,UAAU;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAA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N,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,aAAa,MAAE,QAAQ,CAAC,SAAS,sBAAsB;GACvD,MAAM,MAAE,QAAQ,CAAC,SAAS,iCAAiC;EAC5D;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,aAAa,MAAE,QAAQ,CAAC,SAAS,sBAAsB;EACxD;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,SAAS,iCAAkB,UAAU;GACrC,UAAU,MACP,QAAQ,CACR,KAAK,CACL,SAAS,gDAAgD,CACzD,UAAU;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,qCAAsB,UAAU;GAClD,WAAW,8BAAe,UAAU;GACpC,SAAS,iCAAkB,UAAU;GACrC,UAAU,MACP,QAAQ,CACR,KAAK,CACL,SAAS,gDAAgD,CACzD,UAAU;EACd;CACF;AACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"toolDefinitions-CfNXEIaX.js","names":[],"sources":["../src/toolDefinitions.ts"],"sourcesContent":["// TODO: this gets imported by the client code and thus is separated from server code\n// to avoid bundling issues. We'd like to find a better solution that isnt so brittle and keeps this code co-located w/ its tool calls.\nimport {\n ParamOrganizationSlug,\n ParamIssueShortId,\n ParamTeamSlug,\n ParamPlatform,\n ParamProjectSlug,\n ParamQuery,\n ParamTransaction,\n ParamRegionUrl,\n} from \"./schema\";\nimport { z } from \"zod\";\n\nexport const TOOL_DEFINITIONS = [\n {\n name: \"list_organizations\" as const,\n description: [\n \"List all organizations that the user has access to in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all organizations in Sentry\",\n \"- Find an organization's slug to aid other tool requests\",\n ].join(\"\\n\"),\n },\n {\n name: \"list_teams\" as const,\n description: [\n \"List all teams in an organization in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all teams in a Sentry organization\",\n \"- Find an team's slug to aid other tool requests\",\n \"\",\n \"<hints>\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n },\n },\n {\n name: \"list_projects\" as const,\n description: [\n \"Retrieve a list of projects in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all projects in a Sentry organization\",\n \"- Find an project's slug to aid other tool requests\",\n \"\",\n \"<hints>\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n },\n },\n {\n name: \"list_issues\" as const,\n description: [\n \"List all issues in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View all issues in a Sentry organization\",\n \"\",\n \"If you're looking for more granular data beyond a summary of identified problems, you should use the `search_errors()` or `search_transactions()` tools instead.\",\n \"\",\n \"<examples>\",\n \"### Find the newest unresolved issues across 'my-organization'\",\n \"\",\n \"```\",\n \"list_issues(organizationSlug='my-organization', query='is:unresolved', sortBy='last_seen')\",\n \"```\",\n \"\",\n \"### Find the most frequently occurring crashes in the 'my-project' project\",\n \"\",\n \"```\",\n \"list_issues(organizationSlug='my-organization', projectSlug='my-project', query='is:unresolved error.handled:false', sortBy='count')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you should call `list_organizations()` first.\",\n \"- You can use the `list_tags()` tool to see what user-defined tags are available.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug.optional(),\n query: ParamQuery.optional(),\n sortBy: z\n .enum([\"last_seen\", \"first_seen\", \"count\", \"userCount\"])\n .describe(\n \"Sort the results either by the last time they occurred, the first time they occurred, the count of occurrences, or the number of users affected.\",\n )\n .optional(),\n },\n },\n {\n name: \"list_releases\" as const,\n description: [\n \"List all releases in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Find recent releases in a Sentry organization\",\n \"- Find the most recent version released of a specific project\",\n \"- Determine when a release was deployed to an environment\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you should call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug.optional(),\n },\n },\n {\n name: \"list_tags\" as const,\n description: [\n \"List all tags in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Find tags available to use in searches\",\n \"\",\n \"<hints>\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n },\n },\n {\n name: \"get_issue_summary\" as const,\n description: [\n \"Retrieve a summary of an issue in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- View a summary of an issue in Sentry\",\n \"\",\n \"If the issue is an error, or you want additional information like the stacktrace, you should use `get_issue_details()` tool instead.\",\n \"\",\n \"<hints>\",\n \"- If the user provides the issueUrl, you can ignore the organizationSlug and issueId parameters.\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first. This especially important if an issueId is passed.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: z\n .string()\n .url()\n .describe(\"The URL of the issue to retrieve details for.\")\n .optional(),\n },\n },\n {\n name: \"get_issue_details\" as const,\n description: [\n \"Retrieve issue details from Sentry for a specific Issue ID, including the stacktrace and error message if available. Either issueId or issueUrl MUST be provided.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Investigate a specific production error\",\n \"- Access detailed error information and stacktraces from Sentry\",\n \"\",\n \"<examples>\",\n \"### Get details for issue ID 'CLOUDFLARE-MCP-41'\",\n \"\",\n \"```\",\n \"get_issue_details(organizationSlug='my-organization', issueId='CLOUDFLARE-MCP-41')\",\n \"```\",\n \"\",\n \"### Get details for event ID 'c49541c747cb4d8aa3efb70ca5aba243'\",\n \"\",\n \"```\",\n \"get_event_details(organizationSlug='my-organization', eventId='c49541c747cb4d8aa3efb70ca5aba243')\",\n \"```\",\n \"</examples>\",\n\n \"<hints>\",\n \"- If the user provides the `issueUrl`, you can ignore the other parameters.\",\n \"- If the user provides `issueId` or `eventId` (only one is needed), `organizationSlug` is required.\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n eventId: z.string().describe(\"The ID of the event.\").optional(),\n issueUrl: z\n .string()\n .url()\n .describe(\"The URL of the issue to retrieve details for.\")\n .optional(),\n },\n },\n {\n name: \"search_errors\" as const,\n description: [\n \"Query Sentry for errors using advanced search syntax.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Search for production errors in a specific file.\",\n \"- Analyze error patterns and frequencies.\",\n \"- Find recent or frequently occurring errors.\",\n \"\",\n \"<examples>\",\n \"### Find common errors within a file\",\n \"\",\n \"To find common errors within a file, you can use the `filename` parameter. This is a suffix based search, so only using the filename or the direct parent folder of the file. The parent folder is preferred when the filename is in a subfolder or a common filename. If you provide generic filenames like `index.js` you're going to end up finding errors that are might be from completely different projects.\",\n \"\",\n \"```\",\n \"search_errors(organizationSlug='my-organization', filename='index.js', sortBy='count')\",\n \"```\",\n \"\",\n \"### Find recent crashes from the 'peated' project\",\n \"\",\n \"```\",\n \"search_errors(organizationSlug='my-organization', query='is:unresolved error.handled:false', projectSlug='peated', sortBy='last_seen')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you should call `list_organizations()` first.\",\n \"- If you are looking for issues, in a way that you might be looking for something like 'unresolved errors', you should use the `list_issues()` tool\",\n \"- You can use the `list_tags()` tool to see what user-defined tags are available.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug.optional(),\n filename: z\n .string()\n .describe(\"The filename to search for errors in.\")\n .optional(),\n transaction: ParamTransaction.optional(),\n query: ParamQuery.optional(),\n sortBy: z\n .enum([\"last_seen\", \"count\"])\n .optional()\n .default(\"last_seen\")\n .describe(\n \"Sort the results either by the last time they occurred or the count of occurrences.\",\n ),\n },\n },\n {\n name: \"search_transactions\" as const,\n description: [\n \"Query Sentry for transactions using advanced search syntax.\",\n \"\",\n \"Transactions are segments of traces that are associated with a specific route or endpoint.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Search for production transaction data to understand performance.\",\n \"- Analyze traces and latency patterns.\",\n \"- Find examples of recent requests to endpoints.\",\n \"\",\n \"<examples>\",\n \"### Find slow requests to a route\",\n \"\",\n \"...\",\n \"\",\n \"```\",\n \"search_transactions(organizationSlug='my-organization', transaction='/checkout', sortBy='latency')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you might want to call `list_organizations()` first.\",\n \"- You can use the `list_tags()` tool to see what user-defined tags are available.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: ParamProjectSlug.optional(),\n transaction: ParamTransaction.optional(),\n query: ParamQuery.optional(),\n sortBy: z\n .enum([\"timestamp\", \"duration\"])\n .optional()\n .default(\"timestamp\")\n .describe(\n \"Sort the results either by the timestamp of the request (most recent first) or the duration of the request (longest first).\",\n ),\n },\n },\n {\n name: \"create_team\" as const,\n description: [\n \"Create a new team in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Create a new team in a Sentry organization\",\n \"\",\n \"<hints>\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n name: z.string().describe(\"The name of the team to create.\"),\n },\n },\n {\n name: \"create_project\" as const,\n description: [\n \"Create a new project in Sentry, giving you access to a new SENTRY_DSN.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Create a new project in a Sentry organization\",\n \"\",\n \"<examples>\",\n \"### Create a new javascript project in the 'my-organization' organization\",\n \"\",\n \"```\",\n \"create_project(organizationSlug='my-organization', teamSlug='my-team', name='my-project', platform='javascript')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<teamSlug>.\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n teamSlug: z.string().describe(\"The team's slug.\"),\n name: z\n .string()\n .describe(\n \"The name of the project to create. Typically this is commonly the name of the repository or service. It is only used as a visual label in Sentry.\",\n ),\n platform: ParamPlatform.optional(),\n },\n },\n {\n name: \"create_dsn\" as const,\n description: [\n \"Create a new Sentry DSN for a specific project.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Create a new DSN for a specific project\",\n \"\",\n \"<examples>\",\n \"### Create a new DSN for the 'my-project' project\",\n \"\",\n \"```\",\n \"create_dsn(organizationSlug='my-organization', projectSlug='my-project', name='Default')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If any parameter is ambiguous, you should clarify with the user what they meant.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: z.string().describe(\"The project's slug.\"),\n name: z.string().describe(\"The name of the DSN to create.\"),\n },\n },\n {\n name: \"list_dsns\" as const,\n description: [\n \"List all Sentry DSNs for a specific project.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Retrieve a SENTRY_DSN for a specific project\",\n \"\",\n \"<hints>\",\n \"- If the user passes a parameter in the form of name/otherName, its likely in the format of <organizationSlug>/<projectSlug>.\",\n \"- If only one parameter is provided, and it could be either `organizationSlug` or `projectSlug`, its probably `organizationSlug`, but if you're really uncertain you might want to call `list_organizations()` first.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n projectSlug: z.string().describe(\"The project's slug.\"),\n },\n },\n {\n name: \"begin_autofix\" as const,\n description: [\n \"Analyze an issue in Sentry, identify a root cause, and suggest a fix for it.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Determine the root cause of an issue.\",\n \"- Generate a plan for fixing an issue.\",\n \"- Implement a fix for an issue.\",\n \"\",\n \"This operation may take some time, so you should call `get_autofix_status()` to check the status of the analysis after you begin it.\",\n \"\",\n \"<examples>\",\n \"### Analyze and propose a fix for 'ISSUE-123' in Sentry\",\n \"\",\n \"```\",\n \"begin_autofix(organizationSlug='my-organization', issueId='ISSUE-123')\",\n \"```\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- Always check to see if an autofix is in progress for before calling this tool by using `get_autofix_status()`.\",\n \"- If the user provides the issueUrl, you can ignore the organizationSlug and issueId parameters.\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first. This especially important if an issueId is passed.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: z\n .string()\n .url()\n .describe(\"The URL of the issue to retrieve details for.\")\n .optional(),\n },\n },\n {\n name: \"get_autofix_status\" as const,\n description: [\n \"Get the status of a root cause analysis for an issue in Sentry.\",\n \"\",\n \"Use this tool when you need to:\",\n \"- Get the root cause analysis for an issue.\",\n \"- Get the status of a fix for an issue.\",\n \"\",\n \"<examples>\",\n \"### Get the status of a fix for the 'ISSUE-123' issue\",\n \"\",\n \"```\",\n \"get_autofix_status(organizationSlug='my-organization', issueId='ISSUE-123')\",\n \"```\",\n \"\",\n \"</examples>\",\n \"\",\n \"<hints>\",\n \"- If the user provides the issueUrl, you can ignore the organizationSlug and issueId parameters.\",\n \"- If you're uncertain about which organization to query, you should call `list_organizations()` first. This especially important if an issueId is passed.\",\n \"</hints>\",\n ].join(\"\\n\"),\n paramsSchema: {\n organizationSlug: ParamOrganizationSlug.optional(),\n regionUrl: ParamRegionUrl.optional(),\n issueId: ParamIssueShortId.optional(),\n issueUrl: z\n .string()\n .url()\n .describe(\"The URL of the issue to retrieve details for.\")\n .optional(),\n },\n },\n];\n"],"mappings":";;;;AAcA,MAAa,mBAAmB;CAC9B;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;CACb;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;EACrC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;EACrC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,aAAa,iBAAiB,UAAU;GACxC,OAAO,WAAW,UAAU;GAC5B,QAAQ,EACL,KAAK;IAAC;IAAa;IAAc;IAAS;GAAY,EAAC,CACvD,SACC,mJACD,CACA,UAAU;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,aAAa,iBAAiB,UAAU;EACzC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;EACrC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,SAAS,kBAAkB,UAAU;GACrC,UAAU,EACP,QAAQ,CACR,KAAK,CACL,SAAS,gDAAgD,CACzD,UAAU;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GAEA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,SAAS,kBAAkB,UAAU;GACrC,SAAS,EAAE,QAAQ,CAAC,SAAS,uBAAuB,CAAC,UAAU;GAC/D,UAAU,EACP,QAAQ,CACR,KAAK,CACL,SAAS,gDAAgD,CACzD,UAAU;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GAC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U;GACpC,UAAU,EAAE,QAAQ,CAAC,SAAS,mBAAmB;GACjD,MAAM,EACH,QAAQ,CACR,SACC,oJACD;GACH,UAAU,cAAc,UAAU;EACnC;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,aAAa,EAAE,QAAQ,CAAC,SAAS,sBAAsB;GACvD,MAAM,EAAE,QAAQ,CAAC,SAAS,iCAAiC;EAC5D;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,aAAa,EAAE,QAAQ,CAAC,SAAS,sBAAsB;EACxD;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,SAAS,kBAAkB,UAAU;GACrC,UAAU,EACP,QAAQ,CACR,KAAK,CACL,SAAS,gDAAgD,CACzD,UAAU;EACd;CACF;CACD;EACE,MAAM;EACN,aAAa;GACX;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EAAC,KAAK,KAAK;EACZ,cAAc;GACZ,kBAAkB,sBAAsB,UAAU;GAClD,WAAW,eAAe,UAAU;GACpC,SAAS,kBAAkB,UAAU;GACrC,UAAU,EACP,QAAQ,CACR,KAAK,CACL,SAAS,gDAAgD,CACzD,UAAU;EACd;CACF;AACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"toolDefinitions-DPePAe0y.d.cts","names":[],"sources":["../src/toolDefinitions.ts"],"sourcesContent":null,"mappings":";;;cAca;;EAAA,WAAA,EAAA,MA+cZ;EAAA,YAAA,CAAA,EAAA,SAAA;CAAA,GAAA;;;;oCAAA,CAAA,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"toolDefinitions-abNbVXb5.d.ts","names":[],"sources":["../src/toolDefinitions.ts"],"sourcesContent":null,"mappings":";;;cAca;;EAAA,WAAA,EAAA,MA+cZ;EAAA,YAAA,CAAA,EAAA,SAAA;CAAA,GAAA;;;;oCAAA,CAAA,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types-DFKY4nvR.d.cts","names":[],"sources":["../src/types.ts"],"sourcesContent":null,"mappings":";;;;;;;KASK,uBAAuB,qCACd,IAAI,CAAA,CAAE,MAAM,EAAE,KAHgB;AAE3B,KAGL,UAAA,GAHK,CAAA,OAGgB,kBAHhB,CAAA,CAAA,MAAA,CAAA,CAAA,MAAA,CAAA;AAAW,KAKhB,gBALgB,CAAA,UAKW,UALX,CAAA,GAKyB,OALzB,CAAA,CAAA,OAMlB,kBANkB,CAAA,CAAA,MAAA,CAAA,EAAA;EAAM,IACpB,EAMJ,CANI;CAAC,CAAA;AAAa,KAShB,YATgB,CAAA,UASO,UATP,CAAA,GASqB,gBATrB,CASsC,CATtC,CAAA,SAAA;EAAC,YAAT,EAUJ,MAVI,CAAA,MAAA,EAAA,GAAA,CAAA;AAAK,CAAA,GAYrB,YAZqB,CAYR,gBAZQ,CAYS,CAZT,CAAA,CAAA,cAAA,CAAA,CAAA,GAarB,MAbqB,CAAA,MAAA,EAAA,KAAA,CAAA;AAEb,KAaA,aAbU,CAAA,UAac,UAbe,CAAA,GAAA,CAAA,MAAA,EAczC,YAdyC,CAc5B,CAd4B,CAAA,EAAA,GAe9C,OAf8C,CAet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