@smartbear/mcp 0.12.0 → 0.13.1

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 (89) hide show
  1. package/README.md +30 -6
  2. package/dist/bugsnag/client/api/CurrentUser.js +50 -26
  3. package/dist/bugsnag/client/api/Error.js +158 -57
  4. package/dist/bugsnag/client/api/Project.js +398 -243
  5. package/dist/bugsnag/client/api/api.js +4087 -3837
  6. package/dist/bugsnag/client/api/base.js +155 -173
  7. package/dist/bugsnag/client/api/configuration.js +28 -25
  8. package/dist/bugsnag/client/filters.js +11 -20
  9. package/dist/bugsnag/client.js +1398 -1277
  10. package/dist/bugsnag/input-schemas.js +39 -57
  11. package/dist/collaborator/client.js +335 -371
  12. package/dist/common/bugsnag.js +5 -3
  13. package/dist/common/cache.js +50 -57
  14. package/dist/common/client-registry.js +106 -119
  15. package/dist/common/info.js +7 -3
  16. package/dist/common/register-clients.js +0 -16
  17. package/dist/common/server.js +270 -228
  18. package/dist/common/tools.js +19 -0
  19. package/dist/common/transport-http.js +252 -343
  20. package/dist/common/transport-stdio.js +40 -37
  21. package/dist/common/zod-utils.js +20 -0
  22. package/dist/index.js +18 -23
  23. package/dist/package.json.js +11 -0
  24. package/dist/pactflow/client/ai.js +142 -169
  25. package/dist/pactflow/client/base.js +41 -51
  26. package/dist/pactflow/client/prompt-utils.js +93 -84
  27. package/dist/pactflow/client/prompts.js +95 -92
  28. package/dist/pactflow/client/tools.js +94 -83
  29. package/dist/pactflow/client/utils.js +60 -64
  30. package/dist/pactflow/client.js +399 -320
  31. package/dist/qmetry/client/api/client-api.js +43 -41
  32. package/dist/qmetry/client/api/error-handler.js +264 -310
  33. package/dist/qmetry/client/auto-resolve.js +78 -99
  34. package/dist/qmetry/client/automation.js +139 -162
  35. package/dist/qmetry/client/handlers.js +49 -46
  36. package/dist/qmetry/client/issues.js +133 -115
  37. package/dist/qmetry/client/project.js +153 -174
  38. package/dist/qmetry/client/requirement.js +82 -70
  39. package/dist/qmetry/client/testcase.js +240 -208
  40. package/dist/qmetry/client/testsuite.js +332 -293
  41. package/dist/qmetry/client/tools/automation-tools.js +291 -288
  42. package/dist/qmetry/client/tools/index.js +16 -13
  43. package/dist/qmetry/client/tools/issue-tools.js +534 -543
  44. package/dist/qmetry/client/tools/project-tools.js +635 -656
  45. package/dist/qmetry/client/tools/requirement-tools.js +525 -528
  46. package/dist/qmetry/client/tools/testcase-tools.js +773 -786
  47. package/dist/qmetry/client/tools/testsuite-tools.js +1069 -1083
  48. package/dist/qmetry/client/utils.js +8 -14
  49. package/dist/qmetry/client.js +111 -109
  50. package/dist/qmetry/config/constants.js +48 -44
  51. package/dist/qmetry/config/rest-endpoints.js +51 -48
  52. package/dist/qmetry/types/automation.js +7 -7
  53. package/dist/qmetry/types/common.js +763 -1049
  54. package/dist/qmetry/types/issues.js +26 -19
  55. package/dist/qmetry/types/project.js +32 -25
  56. package/dist/qmetry/types/requirements.js +26 -21
  57. package/dist/qmetry/types/testcase.js +55 -44
  58. package/dist/qmetry/types/testsuite.js +66 -52
  59. package/dist/reflect/client.js +284 -226
  60. package/dist/swagger/client/api.js +645 -662
  61. package/dist/swagger/client/configuration.js +31 -33
  62. package/dist/swagger/client/portal-types.js +204 -244
  63. package/dist/swagger/client/registry-types.js +62 -96
  64. package/dist/swagger/client/tools.js +148 -158
  65. package/dist/swagger/client/user-management-types.js +11 -22
  66. package/dist/swagger/client.js +143 -135
  67. package/dist/swagger/config-utils.js +10 -16
  68. package/dist/zephyr/client.js +43 -42
  69. package/dist/zephyr/common/api-client.js +35 -30
  70. package/dist/zephyr/common/auth-service.js +16 -13
  71. package/dist/zephyr/common/rest-api-schemas.js +3173 -5146
  72. package/dist/zephyr/tool/environment/get-environments.js +66 -66
  73. package/dist/zephyr/tool/priority/get-priorities.js +41 -41
  74. package/dist/zephyr/tool/project/get-project.js +37 -37
  75. package/dist/zephyr/tool/project/get-projects.js +46 -46
  76. package/dist/zephyr/tool/status/get-statuses.js +47 -47
  77. package/dist/zephyr/tool/test-case/get-test-case.js +37 -37
  78. package/dist/zephyr/tool/test-case/get-test-cases.js +62 -62
  79. package/dist/zephyr/tool/test-cycle/get-test-cycle.js +37 -37
  80. package/dist/zephyr/tool/test-cycle/get-test-cycles.js +70 -70
  81. package/dist/zephyr/tool/test-execution/get-test-execution.js +37 -37
  82. package/dist/zephyr/tool/test-execution/get-test-executions.js +43 -43
  83. package/package.json +5 -5
  84. package/dist/bugsnag/client/api/index.js +0 -6
  85. package/dist/common/types.js +0 -6
  86. package/dist/qmetry/client/tools/types.js +0 -1
  87. package/dist/swagger/client/index.js +0 -6
  88. package/dist/tests/unit/bugsnag/utils/factories.js +0 -86
  89. package/dist/zephyr/tool/zephyr-tool.js +0 -1
@@ -1,64 +1,64 @@
1
- import { listTestCasesCursorPaginatedQueryParams, listTestCasesCursorPaginatedResponse, } from "../../common/rest-api-schemas.js";
2
- export class GetTestCases {
3
- apiClient;
4
- constructor(apiClient) {
5
- this.apiClient = apiClient;
6
- }
7
- specification = {
8
- title: "Get Test Cases",
9
- summary: "Get details of test cases in Zephyr",
10
- readOnly: true,
11
- idempotent: true,
12
- inputSchema: listTestCasesCursorPaginatedQueryParams,
13
- outputSchema: listTestCasesCursorPaginatedResponse,
14
- examples: [
15
- {
16
- description: "Get the first 10 Test Cases",
17
- parameters: {
18
- limit: 10,
19
- startAtId: 1,
20
- },
21
- expectedOutput: "The first 10 Test Cases with their details",
22
- },
23
- {
24
- description: "Get any Test Case",
25
- parameters: {
26
- limit: 1,
27
- },
28
- expectedOutput: "One Test Case with its details",
29
- },
30
- {
31
- description: "Get five Test Cases starting from the ID 123",
32
- parameters: {
33
- limit: 5,
34
- startAtId: 123,
35
- },
36
- expectedOutput: "Five Test Cases starting from the ID 123 with their details",
37
- },
38
- {
39
- description: "Get one Test Case from the project PROJ",
40
- parameters: {
41
- projectKey: "PROJ",
42
- limit: 1,
43
- },
44
- expectedOutput: "One Test Case from project PROJ with its details",
45
- },
46
- {
47
- description: "Get one Test Case from the folder with ID 123",
48
- parameters: {
49
- folderId: 123,
50
- limit: 1,
51
- },
52
- expectedOutput: "One Test Case from folder with ID 123 with its details",
53
- },
54
- ],
55
- };
56
- handle = async (args) => {
57
- const parsedArgs = listTestCasesCursorPaginatedQueryParams.parse(args);
58
- const response = await this.apiClient.get("/testcases/nextgen", parsedArgs);
59
- return {
60
- structuredContent: response,
61
- content: [],
62
- };
1
+ import { Tool } from "../../../common/tools.js";
2
+ import { listTestCasesCursorPaginatedResponse, listTestCasesCursorPaginatedQueryParams } from "../../common/rest-api-schemas.js";
3
+ class GetTestCases extends Tool {
4
+ specification = {
5
+ title: "Get Test Cases",
6
+ summary: "Get details of test cases in Zephyr",
7
+ readOnly: true,
8
+ idempotent: true,
9
+ inputSchema: listTestCasesCursorPaginatedQueryParams,
10
+ outputSchema: listTestCasesCursorPaginatedResponse,
11
+ examples: [
12
+ {
13
+ description: "Get the first 10 Test Cases",
14
+ parameters: {
15
+ limit: 10,
16
+ startAtId: 1
17
+ },
18
+ expectedOutput: "The first 10 Test Cases with their details"
19
+ },
20
+ {
21
+ description: "Get any Test Case",
22
+ parameters: {
23
+ limit: 1
24
+ },
25
+ expectedOutput: "One Test Case with its details"
26
+ },
27
+ {
28
+ description: "Get five Test Cases starting from the ID 123",
29
+ parameters: {
30
+ limit: 5,
31
+ startAtId: 123
32
+ },
33
+ expectedOutput: "Five Test Cases starting from the ID 123 with their details"
34
+ },
35
+ {
36
+ description: "Get one Test Case from the project PROJ",
37
+ parameters: {
38
+ projectKey: "PROJ",
39
+ limit: 1
40
+ },
41
+ expectedOutput: "One Test Case from project PROJ with its details"
42
+ },
43
+ {
44
+ description: "Get one Test Case from the folder with ID 123",
45
+ parameters: {
46
+ folderId: 123,
47
+ limit: 1
48
+ },
49
+ expectedOutput: "One Test Case from folder with ID 123 with its details"
50
+ }
51
+ ]
52
+ };
53
+ handle = async (args) => {
54
+ const parsedArgs = listTestCasesCursorPaginatedQueryParams.parse(args);
55
+ const response = await this.client.getApiClient().get("/testcases/nextgen", parsedArgs);
56
+ return {
57
+ structuredContent: response,
58
+ content: []
63
59
  };
60
+ };
64
61
  }
62
+ export {
63
+ GetTestCases
64
+ };
@@ -1,39 +1,39 @@
1
- import { getTestCycleParams, getTestCycleResponse, } from "../../common/rest-api-schemas.js";
2
- export class GetTestCycle {
3
- apiClient;
4
- constructor(apiClient) {
5
- this.apiClient = apiClient;
6
- }
7
- specification = {
8
- title: "Get Test Cycle",
9
- summary: "Get details of test cycle specified by id or key in Zephyr",
10
- readOnly: true,
11
- idempotent: true,
12
- inputSchema: getTestCycleParams,
13
- outputSchema: getTestCycleResponse,
14
- examples: [
15
- {
16
- description: "Get the test cycle with id 1",
17
- parameters: {
18
- testCycleIdOrKey: "1",
19
- },
20
- expectedOutput: "The test cycle with its details",
21
- },
22
- {
23
- description: "Get the test cycle with key 'SA-R40'",
24
- parameters: {
25
- testCycleIdOrKey: "SA-R40",
26
- },
27
- expectedOutput: "The test cycle with its details",
28
- },
29
- ],
30
- };
31
- handle = async (args) => {
32
- const { testCycleIdOrKey } = getTestCycleParams.parse(args);
33
- const response = await this.apiClient.get(`/testcycles/${testCycleIdOrKey}`);
34
- return {
35
- structuredContent: response,
36
- content: [],
37
- };
1
+ import { Tool } from "../../../common/tools.js";
2
+ import { getTestCycleResponse, getTestCycleParams } from "../../common/rest-api-schemas.js";
3
+ class GetTestCycle extends Tool {
4
+ specification = {
5
+ title: "Get Test Cycle",
6
+ summary: "Get details of test cycle specified by id or key in Zephyr",
7
+ readOnly: true,
8
+ idempotent: true,
9
+ inputSchema: getTestCycleParams,
10
+ outputSchema: getTestCycleResponse,
11
+ examples: [
12
+ {
13
+ description: "Get the test cycle with id 1",
14
+ parameters: {
15
+ testCycleIdOrKey: "1"
16
+ },
17
+ expectedOutput: "The test cycle with its details"
18
+ },
19
+ {
20
+ description: "Get the test cycle with key 'SA-R40'",
21
+ parameters: {
22
+ testCycleIdOrKey: "SA-R40"
23
+ },
24
+ expectedOutput: "The test cycle with its details"
25
+ }
26
+ ]
27
+ };
28
+ handle = async (args) => {
29
+ const { testCycleIdOrKey } = getTestCycleParams.parse(args);
30
+ const response = await this.client.getApiClient().get(`/testcycles/${testCycleIdOrKey}`);
31
+ return {
32
+ structuredContent: response,
33
+ content: []
38
34
  };
35
+ };
39
36
  }
37
+ export {
38
+ GetTestCycle
39
+ };
@@ -1,72 +1,72 @@
1
- import { listTestCyclesQueryParams, listTestCyclesResponse, } from "../../common/rest-api-schemas.js";
2
- export class GetTestCycles {
3
- apiClient;
4
- constructor(apiClient) {
5
- this.apiClient = apiClient;
6
- }
7
- specification = {
8
- title: "Get Test Cycles",
9
- summary: "Get details of Test Cycles in Zephyr",
10
- readOnly: true,
11
- idempotent: true,
12
- inputSchema: listTestCyclesQueryParams,
13
- outputSchema: listTestCyclesResponse,
14
- examples: [
15
- {
16
- description: "Get the first 10 Test Cycles",
17
- parameters: {
18
- maxResults: 10,
19
- startAt: 0,
20
- },
21
- expectedOutput: "The first 10 Test Cycles with their details",
22
- },
23
- {
24
- description: "Get any Test Cycle",
25
- parameters: {
26
- maxResults: 1,
27
- },
28
- expectedOutput: "One Test Cycle with its details",
29
- },
30
- {
31
- description: "Get five Test Cycles starting from the 7th Test Cycles of the list",
32
- parameters: {
33
- maxResults: 5,
34
- startAt: 6,
35
- },
36
- expectedOutput: "The 7th to the 11th Test Cycles with their details",
37
- },
38
- {
39
- description: "Get one Test Cycle from the project PROJ",
40
- parameters: {
41
- projectKey: "PROJ",
42
- maxResults: 1,
43
- },
44
- expectedOutput: "One Test Cycle from project PROJ with its details",
45
- },
46
- {
47
- description: "Get one Test Cycle from the folder with ID 123",
48
- parameters: {
49
- folderId: 123,
50
- maxResults: 1,
51
- },
52
- expectedOutput: "One Test Cycle from folder with ID 123 with its details",
53
- },
54
- {
55
- description: "Get one Test Cycle from the version 456",
56
- parameters: {
57
- jiraProjectVersionId: 456,
58
- maxResults: 1,
59
- },
60
- expectedOutput: "One Test Cycle from version 456 with its details",
61
- },
62
- ],
63
- };
64
- handle = async (args) => {
65
- const parsedArgs = listTestCyclesQueryParams.parse(args);
66
- const response = await this.apiClient.get("/testcycles", parsedArgs);
67
- return {
68
- structuredContent: response,
69
- content: [],
70
- };
1
+ import { Tool } from "../../../common/tools.js";
2
+ import { listTestCyclesResponse, listTestCyclesQueryParams } from "../../common/rest-api-schemas.js";
3
+ class GetTestCycles extends Tool {
4
+ specification = {
5
+ title: "Get Test Cycles",
6
+ summary: "Get details of Test Cycles in Zephyr",
7
+ readOnly: true,
8
+ idempotent: true,
9
+ inputSchema: listTestCyclesQueryParams,
10
+ outputSchema: listTestCyclesResponse,
11
+ examples: [
12
+ {
13
+ description: "Get the first 10 Test Cycles",
14
+ parameters: {
15
+ maxResults: 10,
16
+ startAt: 0
17
+ },
18
+ expectedOutput: "The first 10 Test Cycles with their details"
19
+ },
20
+ {
21
+ description: "Get any Test Cycle",
22
+ parameters: {
23
+ maxResults: 1
24
+ },
25
+ expectedOutput: "One Test Cycle with its details"
26
+ },
27
+ {
28
+ description: "Get five Test Cycles starting from the 7th Test Cycles of the list",
29
+ parameters: {
30
+ maxResults: 5,
31
+ startAt: 6
32
+ },
33
+ expectedOutput: "The 7th to the 11th Test Cycles with their details"
34
+ },
35
+ {
36
+ description: "Get one Test Cycle from the project PROJ",
37
+ parameters: {
38
+ projectKey: "PROJ",
39
+ maxResults: 1
40
+ },
41
+ expectedOutput: "One Test Cycle from project PROJ with its details"
42
+ },
43
+ {
44
+ description: "Get one Test Cycle from the folder with ID 123",
45
+ parameters: {
46
+ folderId: 123,
47
+ maxResults: 1
48
+ },
49
+ expectedOutput: "One Test Cycle from folder with ID 123 with its details"
50
+ },
51
+ {
52
+ description: "Get one Test Cycle from the version 456",
53
+ parameters: {
54
+ jiraProjectVersionId: 456,
55
+ maxResults: 1
56
+ },
57
+ expectedOutput: "One Test Cycle from version 456 with its details"
58
+ }
59
+ ]
60
+ };
61
+ handle = async (args) => {
62
+ const parsedArgs = listTestCyclesQueryParams.parse(args);
63
+ const response = await this.client.getApiClient().get("/testcycles", parsedArgs);
64
+ return {
65
+ structuredContent: response,
66
+ content: []
71
67
  };
68
+ };
72
69
  }
70
+ export {
71
+ GetTestCycles
72
+ };
@@ -1,39 +1,39 @@
1
- import { getTestExecutionParams, getTestExecutionResponse, } from "../../common/rest-api-schemas.js";
2
- export class GetTestExecution {
3
- apiClient;
4
- constructor(apiClient) {
5
- this.apiClient = apiClient;
6
- }
7
- specification = {
8
- title: "Get Test Execution",
9
- summary: "Get details of test execution specified by id or key in Zephyr",
10
- readOnly: true,
11
- idempotent: true,
12
- inputSchema: getTestExecutionParams,
13
- outputSchema: getTestExecutionResponse,
14
- examples: [
15
- {
16
- description: "Get the test execution with id 1",
17
- parameters: {
18
- testExecutionIdOrKey: "1",
19
- },
20
- expectedOutput: "The test execution with its details",
21
- },
22
- {
23
- description: "Get the test execution with key 'PROJ-E123'",
24
- parameters: {
25
- testExecutionIdOrKey: "PROJ-E123",
26
- },
27
- expectedOutput: "The test execution with its details",
28
- },
29
- ],
30
- };
31
- handle = async (args) => {
32
- const { testExecutionIdOrKey } = getTestExecutionParams.parse(args);
33
- const response = await this.apiClient.get(`/testexecutions/${testExecutionIdOrKey}`);
34
- return {
35
- structuredContent: response,
36
- content: [],
37
- };
1
+ import { Tool } from "../../../common/tools.js";
2
+ import { getTestExecutionResponse, getTestExecutionParams } from "../../common/rest-api-schemas.js";
3
+ class GetTestExecution extends Tool {
4
+ specification = {
5
+ title: "Get Test Execution",
6
+ summary: "Get details of test execution specified by id or key in Zephyr",
7
+ readOnly: true,
8
+ idempotent: true,
9
+ inputSchema: getTestExecutionParams,
10
+ outputSchema: getTestExecutionResponse,
11
+ examples: [
12
+ {
13
+ description: "Get the test execution with id 1",
14
+ parameters: {
15
+ testExecutionIdOrKey: "1"
16
+ },
17
+ expectedOutput: "The test execution with its details"
18
+ },
19
+ {
20
+ description: "Get the test execution with key 'PROJ-E123'",
21
+ parameters: {
22
+ testExecutionIdOrKey: "PROJ-E123"
23
+ },
24
+ expectedOutput: "The test execution with its details"
25
+ }
26
+ ]
27
+ };
28
+ handle = async (args) => {
29
+ const { testExecutionIdOrKey } = getTestExecutionParams.parse(args);
30
+ const response = await this.client.getApiClient().get(`/testexecutions/${testExecutionIdOrKey}`);
31
+ return {
32
+ structuredContent: response,
33
+ content: []
38
34
  };
35
+ };
39
36
  }
37
+ export {
38
+ GetTestExecution
39
+ };
@@ -1,45 +1,45 @@
1
- import { listTestExecutionsNextgenQueryParams, listTestExecutionsNextgenResponse, } from "../../common/rest-api-schemas.js";
2
- export class GetTestExecutions {
3
- apiClient;
4
- constructor(apiClient) {
5
- this.apiClient = apiClient;
6
- }
7
- specification = {
8
- title: "Get Test Executions",
9
- summary: "Get test executions with optional filters",
10
- readOnly: true,
11
- idempotent: true,
12
- inputSchema: listTestExecutionsNextgenQueryParams,
13
- outputSchema: listTestExecutionsNextgenResponse,
14
- examples: [
15
- {
16
- description: "Get the first 10 test executions",
17
- parameters: { limit: 10, startAtId: 0 },
18
- expectedOutput: "The first 10 test executions with their details",
19
- },
20
- {
21
- description: "Get 5 test executions for the project PROJ",
22
- parameters: { projectKey: "PROJ", limit: 5 },
23
- expectedOutput: "Up to 5 test executions for project PROJ",
24
- },
25
- {
26
- description: "Get some test executions that finished after 01/Jan/2024",
27
- parameters: { actualEndDateAfter: "2024-01-01T00:00:00Z" },
28
- expectedOutput: "Test executions that ended after 2024-01-01",
29
- },
30
- {
31
- description: "Get test executions with step links included",
32
- parameters: { includeStepLinks: true },
33
- expectedOutput: "Test executions with step links included",
34
- },
35
- ],
36
- };
37
- handle = async (args) => {
38
- const parsedArgs = listTestExecutionsNextgenQueryParams.parse(args);
39
- const response = await this.apiClient.get("/testexecutions/nextgen", parsedArgs);
40
- return {
41
- structuredContent: response,
42
- content: [],
43
- };
1
+ import { Tool } from "../../../common/tools.js";
2
+ import { listTestExecutionsNextgenResponse, listTestExecutionsNextgenQueryParams } from "../../common/rest-api-schemas.js";
3
+ class GetTestExecutions extends Tool {
4
+ specification = {
5
+ title: "Get Test Executions",
6
+ summary: "Get test executions with optional filters",
7
+ readOnly: true,
8
+ idempotent: true,
9
+ inputSchema: listTestExecutionsNextgenQueryParams,
10
+ outputSchema: listTestExecutionsNextgenResponse,
11
+ examples: [
12
+ {
13
+ description: "Get the first 10 test executions",
14
+ parameters: { limit: 10, startAtId: 0 },
15
+ expectedOutput: "The first 10 test executions with their details"
16
+ },
17
+ {
18
+ description: "Get 5 test executions for the project PROJ",
19
+ parameters: { projectKey: "PROJ", limit: 5 },
20
+ expectedOutput: "Up to 5 test executions for project PROJ"
21
+ },
22
+ {
23
+ description: "Get some test executions that finished after 01/Jan/2024",
24
+ parameters: { actualEndDateAfter: "2024-01-01T00:00:00Z" },
25
+ expectedOutput: "Test executions that ended after 2024-01-01"
26
+ },
27
+ {
28
+ description: "Get test executions with step links included",
29
+ parameters: { includeStepLinks: true },
30
+ expectedOutput: "Test executions with step links included"
31
+ }
32
+ ]
33
+ };
34
+ handle = async (args) => {
35
+ const parsedArgs = listTestExecutionsNextgenQueryParams.parse(args);
36
+ const response = await this.client.getApiClient().get("/testexecutions/nextgen", parsedArgs);
37
+ return {
38
+ structuredContent: response,
39
+ content: []
44
40
  };
41
+ };
45
42
  }
43
+ export {
44
+ GetTestExecutions
45
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbear/mcp",
3
- "version": "0.12.0",
3
+ "version": "0.13.1",
4
4
  "description": "MCP server for interacting SmartBear Products",
5
5
  "keywords": [
6
6
  "smartbear",
@@ -31,13 +31,13 @@
31
31
  "mcpServerName": "SmartBear MCP Server"
32
32
  },
33
33
  "scripts": {
34
- "build": "tsc && shx chmod +x dist/*.js",
34
+ "build": "vite build && shx chmod +x dist/*.js",
35
35
  "lint": "biome lint .",
36
36
  "lint:fix": "biome lint . --fix",
37
37
  "format": "biome format . --write",
38
38
  "format:check": "biome format .",
39
39
  "prepare": "npm run build",
40
- "watch": "tsc --watch",
40
+ "watch": "vite build --watch",
41
41
  "test": "vitest",
42
42
  "test:watch": "vitest --watch",
43
43
  "test:coverage": "vitest --coverage",
@@ -51,8 +51,8 @@
51
51
  "@modelcontextprotocol/sdk": "^1.15.0",
52
52
  "node-cache": "^5.1.2",
53
53
  "swagger-client": "^3.35.6",
54
- "zod": "^3",
55
- "zod-to-json-schema": "^3.24.6"
54
+ "vite": "^7.3.1",
55
+ "zod": "^4"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@biomejs/biome": "^2.2.4",
@@ -1,6 +0,0 @@
1
- // Exporting all the types required outside of the api module - all imports from the tool should come from here
2
- export { ErrorUpdateRequest, TraceField, } from "./api.js";
3
- export { CurrentUserAPI } from "./CurrentUser.js";
4
- export { Configuration } from "./configuration.js";
5
- export { ErrorAPI } from "./Error.js";
6
- export { ProjectAPI } from "./Project.js";
@@ -1,6 +0,0 @@
1
- /**
2
- * Error class for tool-specific errors – these result in a response to the LLM with `isError: true`
3
- * and are not reported to BugSnag
4
- */
5
- export class ToolError extends Error {
6
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- export { SwaggerAPI } from "./api.js";
2
- export { SwaggerConfiguration, } from "./configuration.js";
3
- export * from "./portal-types.js";
4
- export * from "./registry-types.js";
5
- export { TOOLS } from "./tools.js";
6
- export * from "./user-management-types.js";