@skyramp/mcp 0.4.4-rc.1 → 0.4.4
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/build/index.js +239 -210
- package/build/playwright/PlaywrightTraceService.d.ts +1 -1
- package/build/playwright/blueprintDigestStore.d.ts +1 -1
- package/build/playwright/registerPlaywrightTools.d.ts +1 -1
- package/build/playwright/traceRecordingPrompt.d.ts +1 -1
- package/build/playwright/traceRecordingPrompt.js +2 -2
- package/build/prompts/local-dev/local-dev-prompts.d.ts +1 -1
- package/build/prompts/local-dev/local-dev-prompts.js +2 -2
- package/build/prompts/startTraceCollectionPrompts.d.ts +1 -1
- package/build/prompts/startTraceCollectionPrompts.js +2 -3
- package/build/prompts/test-recommendation/registerRecommendTestsPrompt.d.ts +1 -1
- package/build/prompts/test-recommendation/registerRecommendTestsPrompt.js +2 -2
- package/build/prompts/testbot/testbot-prompts.d.ts +1 -1
- package/build/prompts/testbot/testbot-prompts.js +4 -7
- package/build/recommendation/answers.d.ts +17 -52
- package/build/recommendation/answers.js +29 -99
- package/build/recommendation/pullRequestText.d.ts +0 -2
- package/build/recommendation/pullRequestText.js +0 -16
- package/build/recommendation/registerPlan.d.ts +4 -7
- package/build/recommendation/registerPlan.js +11 -37
- package/build/recommendation/types.d.ts +4 -21
- package/build/recommendation/verifierContracts.d.ts +4 -4
- package/build/recommendation/verifierContracts.js +4 -4
- package/build/recommendation/verifiers/citedPath.d.ts +2 -2
- package/build/recommendation/verifiers/citedPath.js +2 -2
- package/build/recommendation/verifiers/issueTraceability.d.ts +5 -1
- package/build/recommendation/verifiers/issueTraceability.js +35 -4
- package/build/resources/analysisResources.d.ts +1 -1
- package/build/resources/analysisResources.js +1 -1
- package/build/resources/progressResource.d.ts +1 -1
- package/build/resources/sutSetupResource.d.ts +1 -1
- package/build/resources/sutSetupResource.js +1 -1
- package/build/resources/testbotResource.d.ts +1 -1
- package/build/resources/testbotResource.js +1 -1
- package/build/services/AnalyticsService.d.ts +1 -1
- package/build/services/FleetExecutionService.d.ts +130 -0
- package/build/services/FleetExecutionService.js +391 -0
- package/build/services/ModularizationService.d.ts +1 -1
- package/build/services/TestExecutionService.d.ts +7 -0
- package/build/services/TestExecutionService.js +21 -0
- package/build/services/TestGenerationService.d.ts +1 -1
- package/build/tool-phases.js +2 -0
- package/build/tools/auth/loginTool.d.ts +1 -1
- package/build/tools/auth/loginTool.js +2 -2
- package/build/tools/auth/logoutTool.d.ts +1 -1
- package/build/tools/auth/logoutTool.js +2 -2
- package/build/tools/code-refactor/alignAssertionsTool.d.ts +1 -1
- package/build/tools/code-refactor/alignAssertionsTool.js +1 -1
- package/build/tools/code-refactor/assertionSkillTools.d.ts +1 -1
- package/build/tools/code-refactor/assertionSkillTools.js +2 -2
- package/build/tools/code-refactor/codeReuseTool.d.ts +1 -1
- package/build/tools/code-refactor/codeReuseTool.js +2 -2
- package/build/tools/code-refactor/enhanceAssertionsTool.d.ts +1 -1
- package/build/tools/code-refactor/enhanceAssertionsTool.js +1 -1
- package/build/tools/code-refactor/modularizationTool.d.ts +1 -1
- package/build/tools/code-refactor/modularizationTool.js +2 -2
- package/build/tools/enrichTestWithMocksTool.d.ts +1 -1
- package/build/tools/enrichTestWithMocksTool.js +2 -2
- package/build/tools/executeFleetTool.d.ts +28 -0
- package/build/tools/executeFleetTool.js +107 -0
- package/build/tools/executeSkyrampTestTool.d.ts +8 -5
- package/build/tools/executeSkyrampTestTool.js +5 -5
- package/build/tools/fixErrorTool.d.ts +1 -1
- package/build/tools/fixErrorTool.js +1 -1
- package/build/tools/generate-tests/batchMockGenerationTool.d.ts +6 -57
- package/build/tools/generate-tests/batchMockGenerationTool.js +3 -3
- package/build/tools/generate-tests/generateBatchScenarioRestTool.d.ts +9 -45
- package/build/tools/generate-tests/generateBatchScenarioRestTool.js +29 -11
- package/build/tools/generate-tests/generateContractRestTool.d.ts +1 -2
- package/build/tools/generate-tests/generateContractRestTool.js +1 -1
- package/build/tools/generate-tests/generateE2ERestTool.d.ts +1 -2
- package/build/tools/generate-tests/generateE2ERestTool.js +1 -1
- package/build/tools/generate-tests/generateFuzzRestTool.d.ts +1 -1
- package/build/tools/generate-tests/generateFuzzRestTool.js +1 -1
- package/build/tools/generate-tests/generateIntegrationRestTool.d.ts +1 -2
- package/build/tools/generate-tests/generateIntegrationRestTool.js +1 -1
- package/build/tools/generate-tests/generateLoadRestTool.d.ts +1 -2
- package/build/tools/generate-tests/generateLoadRestTool.js +2 -1
- package/build/tools/generate-tests/generateMockRestTool.d.ts +1 -2
- package/build/tools/generate-tests/generateMockRestTool.js +3 -3
- package/build/tools/generate-tests/generateSmokeRestTool.d.ts +1 -1
- package/build/tools/generate-tests/generateSmokeRestTool.js +1 -1
- package/build/tools/generate-tests/generateUILoadRestTool.d.ts +64 -0
- package/build/tools/generate-tests/generateUILoadRestTool.js +512 -0
- package/build/tools/generate-tests/generateUIRestTool.d.ts +6 -7
- package/build/tools/generate-tests/generateUIRestTool.js +1 -1
- package/build/tools/generate-tests/loadTestSchema.d.ts +15 -15
- package/build/tools/generate-tests/trace-reuse-guard.d.ts +1 -1
- package/build/tools/generateEnrichedIntegrationTestTool.d.ts +1 -2
- package/build/tools/generateEnrichedIntegrationTestTool.js +1 -1
- package/build/tools/localDevWorkerComposeTool.d.ts +1 -1
- package/build/tools/localDevWorkerComposeTool.js +2 -2
- package/build/tools/one-click/oneClickTool.d.ts +1 -1
- package/build/tools/one-click/oneClickTool.js +1 -1
- package/build/tools/preflightMockCheckTool.d.ts +1 -1
- package/build/tools/preflightMockCheckTool.js +3 -3
- package/build/tools/queryProxyMocksTool.d.ts +1 -1
- package/build/tools/queryProxyMocksTool.js +3 -3
- package/build/tools/submitReportTool.d.ts +111 -414
- package/build/tools/submitReportTool.js +154 -138
- package/build/tools/test-management/actionsTool.d.ts +1 -1
- package/build/tools/test-management/actionsTool.js +7 -7
- package/build/tools/test-management/analyzeChangesTool.d.ts +22 -118
- package/build/tools/test-management/analyzeChangesTool.js +4 -4
- package/build/tools/test-management/analyzeTestHealthTool.d.ts +1 -1
- package/build/tools/test-management/analyzeTestHealthTool.js +4 -4
- package/build/tools/test-management/registerTestPlanTool.d.ts +111 -743
- package/build/tools/test-management/registerTestPlanTool.js +20 -36
- package/build/tools/test-management/resolveScreenTool.d.ts +1 -1
- package/build/tools/test-management/resolveScreenTool.js +6 -2
- package/build/tools/trace/startTraceCollectionTool.d.ts +1 -1
- package/build/tools/trace/startTraceCollectionTool.js +4 -4
- package/build/tools/trace/stopTraceCollectionTool.d.ts +1 -1
- package/build/tools/trace/stopTraceCollectionTool.js +2 -2
- package/build/tools/verifyTestDependenciesTool.d.ts +1 -1
- package/build/tools/verifyTestDependenciesTool.js +1 -1
- package/build/tools/workspace/initScanWorkspaceTool.d.ts +1 -1
- package/build/tools/workspace/initScanWorkspaceTool.js +1 -1
- package/build/tools/workspace/initializeWorkspaceTool.d.ts +1 -1
- package/build/tools/workspace/initializeWorkspaceTool.js +1 -1
- package/build/types/RepositoryAnalysis.d.ts +164 -1170
- package/build/types/RepositoryAnalysis.js +12 -10
- package/build/types/StepMethod.d.ts +24 -1
- package/build/types/StepMethod.js +1 -1
- package/build/types/TestTypes.d.ts +34 -133
- package/build/types/TestTypes.js +3 -3
- package/build/types/TestbotReport.d.ts +37 -0
- package/build/types/TestbotReport.js +22 -0
- package/build/types/index.d.ts +1 -1
- package/build/types/index.js +1 -1
- package/build/utils/docker.d.ts +29 -7
- package/build/utils/docker.js +83 -27
- package/build/utils/initAgent.d.ts +3 -3
- package/build/utils/initAgent.js +58 -26
- package/build/utils/progress.d.ts +3 -4
- package/build/utils/progress.js +4 -4
- package/build/utils/utils.d.ts +1 -1
- package/build/utils/versions.d.ts +3 -3
- package/build/utils/versions.js +1 -1
- package/build/workspace/workspace.d.ts +117 -538
- package/build/workspace/workspace.js +2 -2
- package/package.json +6 -5
- package/plugin/prompts/testbot-task1.md +1 -1
- package/plugin/skills/repair-staged-files/SKILL.md +17 -0
- package/build/recommendation/blockerProbes.d.ts +0 -13
- package/build/recommendation/blockerProbes.js +0 -91
- package/build/recommendation/blockers.d.ts +0 -65
- package/build/recommendation/blockers.js +0 -135
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { McpServer } from "@modelcontextprotocol/
|
|
1
|
+
import { McpServer } from "@modelcontextprotocol/server";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { TestType } from "../types/TestTypes.js";
|
|
4
4
|
/**
|
|
@@ -18,43 +18,42 @@ export declare const REPORT_FILE_NAME = "testbot-result.txt";
|
|
|
18
18
|
export declare const targetElementSchema: z.ZodObject<{
|
|
19
19
|
role: z.ZodString;
|
|
20
20
|
accessibleName: z.ZodString;
|
|
21
|
-
testId: z.
|
|
22
|
-
stableId: z.
|
|
23
|
-
contextText: z.
|
|
24
|
-
mutability: z.ZodOptional<z.ZodEnum<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
},
|
|
35
|
-
role: string;
|
|
36
|
-
accessibleName: string;
|
|
37
|
-
testId?: string | null | undefined;
|
|
38
|
-
stableId?: string | null | undefined;
|
|
39
|
-
contextText?: string[] | null | undefined;
|
|
40
|
-
mutability?: "unknown" | "mutable" | "immutable" | undefined;
|
|
41
|
-
widgetType?: "unknown" | "custom" | "native" | undefined;
|
|
42
|
-
}>;
|
|
21
|
+
testId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
22
|
+
stableId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
23
|
+
contextText: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>, z.ZodTransform<string[] | null, string[] | null | undefined>>;
|
|
24
|
+
mutability: z.ZodOptional<z.ZodEnum<{
|
|
25
|
+
unknown: "unknown";
|
|
26
|
+
mutable: "mutable";
|
|
27
|
+
immutable: "immutable";
|
|
28
|
+
}>>;
|
|
29
|
+
widgetType: z.ZodOptional<z.ZodEnum<{
|
|
30
|
+
unknown: "unknown";
|
|
31
|
+
custom: "custom";
|
|
32
|
+
native: "native";
|
|
33
|
+
}>>;
|
|
34
|
+
}, z.core.$strip>;
|
|
43
35
|
export declare const pageContextSchema: z.ZodObject<{
|
|
44
36
|
url: z.ZodString;
|
|
45
37
|
pageHash: z.ZodOptional<z.ZodString>;
|
|
46
|
-
},
|
|
47
|
-
|
|
48
|
-
pageHash?: string | undefined;
|
|
49
|
-
}, {
|
|
50
|
-
url: string;
|
|
51
|
-
pageHash?: string | undefined;
|
|
52
|
-
}>;
|
|
53
|
-
export declare const newTestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
export declare const newTestSchema: z.ZodPreprocess<z.ZodObject<{
|
|
54
40
|
testId: z.ZodString;
|
|
55
41
|
plannedTestId: z.ZodOptional<z.ZodString>;
|
|
56
|
-
testType: z.
|
|
57
|
-
category: z.ZodEnum<
|
|
42
|
+
testType: z.ZodEnum<typeof TestType>;
|
|
43
|
+
category: z.ZodEnum<{
|
|
44
|
+
new_endpoint: "new_endpoint";
|
|
45
|
+
bug_caught: "bug_caught";
|
|
46
|
+
requirement_conflict: "requirement_conflict";
|
|
47
|
+
business_rule: "business_rule";
|
|
48
|
+
security_boundary: "security_boundary";
|
|
49
|
+
data_integrity: "data_integrity";
|
|
50
|
+
breaking_change: "breaking_change";
|
|
51
|
+
auth: "auth";
|
|
52
|
+
error_handling: "error_handling";
|
|
53
|
+
workflow: "workflow";
|
|
54
|
+
data_validation: "data_validation";
|
|
55
|
+
crud: "crud";
|
|
56
|
+
}>;
|
|
58
57
|
endpoint: z.ZodString;
|
|
59
58
|
fileName: z.ZodString;
|
|
60
59
|
description: z.ZodString;
|
|
@@ -66,199 +65,81 @@ export declare const newTestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
66
65
|
targetElements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
67
66
|
role: z.ZodString;
|
|
68
67
|
accessibleName: z.ZodString;
|
|
69
|
-
testId: z.
|
|
70
|
-
stableId: z.
|
|
71
|
-
contextText: z.
|
|
72
|
-
mutability: z.ZodOptional<z.ZodEnum<
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
},
|
|
83
|
-
role: string;
|
|
84
|
-
accessibleName: string;
|
|
85
|
-
testId?: string | null | undefined;
|
|
86
|
-
stableId?: string | null | undefined;
|
|
87
|
-
contextText?: string[] | null | undefined;
|
|
88
|
-
mutability?: "unknown" | "mutable" | "immutable" | undefined;
|
|
89
|
-
widgetType?: "unknown" | "custom" | "native" | undefined;
|
|
90
|
-
}>, "many">>>;
|
|
68
|
+
testId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
69
|
+
stableId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
70
|
+
contextText: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>, z.ZodTransform<string[] | null, string[] | null | undefined>>;
|
|
71
|
+
mutability: z.ZodOptional<z.ZodEnum<{
|
|
72
|
+
unknown: "unknown";
|
|
73
|
+
mutable: "mutable";
|
|
74
|
+
immutable: "immutable";
|
|
75
|
+
}>>;
|
|
76
|
+
widgetType: z.ZodOptional<z.ZodEnum<{
|
|
77
|
+
unknown: "unknown";
|
|
78
|
+
custom: "custom";
|
|
79
|
+
native: "native";
|
|
80
|
+
}>>;
|
|
81
|
+
}, z.core.$strip>>>>;
|
|
91
82
|
pageContext: z.ZodOptional<z.ZodObject<{
|
|
92
83
|
url: z.ZodString;
|
|
93
84
|
pageHash: z.ZodOptional<z.ZodString>;
|
|
94
|
-
},
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}, {
|
|
98
|
-
url: string;
|
|
99
|
-
pageHash?: string | undefined;
|
|
100
|
-
}>>;
|
|
101
|
-
}, "strip", z.ZodTypeAny, {
|
|
102
|
-
description: string;
|
|
103
|
-
repository: string;
|
|
104
|
-
testType: TestType;
|
|
105
|
-
endpoint: string;
|
|
106
|
-
category: "new_endpoint" | "bug_caught" | "requirement_conflict" | "business_rule" | "security_boundary" | "data_integrity" | "breaking_change" | "auth" | "error_handling" | "workflow" | "data_validation" | "crud";
|
|
107
|
-
fileName: string;
|
|
108
|
-
testId: string;
|
|
109
|
-
reasoning: string;
|
|
110
|
-
plannedTestId?: string | undefined;
|
|
111
|
-
traceFile?: string | undefined;
|
|
112
|
-
scenarioFile?: string | undefined;
|
|
113
|
-
targetElements?: {
|
|
114
|
-
role: string;
|
|
115
|
-
testId: string | null;
|
|
116
|
-
stableId: string | null;
|
|
117
|
-
accessibleName: string;
|
|
118
|
-
contextText: string[] | null;
|
|
119
|
-
mutability?: "unknown" | "mutable" | "immutable" | undefined;
|
|
120
|
-
widgetType?: "unknown" | "custom" | "native" | undefined;
|
|
121
|
-
}[] | null | undefined;
|
|
122
|
-
pageContext?: {
|
|
123
|
-
url: string;
|
|
124
|
-
pageHash?: string | undefined;
|
|
125
|
-
} | undefined;
|
|
126
|
-
frontendTrace?: string | undefined;
|
|
127
|
-
}, {
|
|
128
|
-
description: string;
|
|
129
|
-
repository: string;
|
|
130
|
-
testType: TestType;
|
|
131
|
-
endpoint: string;
|
|
132
|
-
category: "new_endpoint" | "bug_caught" | "requirement_conflict" | "business_rule" | "security_boundary" | "data_integrity" | "breaking_change" | "auth" | "error_handling" | "workflow" | "data_validation" | "crud";
|
|
133
|
-
fileName: string;
|
|
134
|
-
testId: string;
|
|
135
|
-
reasoning: string;
|
|
136
|
-
plannedTestId?: string | undefined;
|
|
137
|
-
traceFile?: string | undefined;
|
|
138
|
-
scenarioFile?: string | undefined;
|
|
139
|
-
targetElements?: {
|
|
140
|
-
role: string;
|
|
141
|
-
accessibleName: string;
|
|
142
|
-
testId?: string | null | undefined;
|
|
143
|
-
stableId?: string | null | undefined;
|
|
144
|
-
contextText?: string[] | null | undefined;
|
|
145
|
-
mutability?: "unknown" | "mutable" | "immutable" | undefined;
|
|
146
|
-
widgetType?: "unknown" | "custom" | "native" | undefined;
|
|
147
|
-
}[] | null | undefined;
|
|
148
|
-
pageContext?: {
|
|
149
|
-
url: string;
|
|
150
|
-
pageHash?: string | undefined;
|
|
151
|
-
} | undefined;
|
|
152
|
-
frontendTrace?: string | undefined;
|
|
153
|
-
}>, {
|
|
154
|
-
description: string;
|
|
155
|
-
repository: string;
|
|
156
|
-
testType: TestType;
|
|
157
|
-
endpoint: string;
|
|
158
|
-
category: "new_endpoint" | "bug_caught" | "requirement_conflict" | "business_rule" | "security_boundary" | "data_integrity" | "breaking_change" | "auth" | "error_handling" | "workflow" | "data_validation" | "crud";
|
|
159
|
-
fileName: string;
|
|
160
|
-
testId: string;
|
|
161
|
-
reasoning: string;
|
|
162
|
-
plannedTestId?: string | undefined;
|
|
163
|
-
traceFile?: string | undefined;
|
|
164
|
-
scenarioFile?: string | undefined;
|
|
165
|
-
targetElements?: {
|
|
166
|
-
role: string;
|
|
167
|
-
testId: string | null;
|
|
168
|
-
stableId: string | null;
|
|
169
|
-
accessibleName: string;
|
|
170
|
-
contextText: string[] | null;
|
|
171
|
-
mutability?: "unknown" | "mutable" | "immutable" | undefined;
|
|
172
|
-
widgetType?: "unknown" | "custom" | "native" | undefined;
|
|
173
|
-
}[] | null | undefined;
|
|
174
|
-
pageContext?: {
|
|
175
|
-
url: string;
|
|
176
|
-
pageHash?: string | undefined;
|
|
177
|
-
} | undefined;
|
|
178
|
-
frontendTrace?: string | undefined;
|
|
179
|
-
}, {
|
|
180
|
-
description: string;
|
|
181
|
-
repository: string;
|
|
182
|
-
testType: TestType;
|
|
183
|
-
endpoint: string;
|
|
184
|
-
category: "new_endpoint" | "bug_caught" | "requirement_conflict" | "business_rule" | "security_boundary" | "data_integrity" | "breaking_change" | "auth" | "error_handling" | "workflow" | "data_validation" | "crud";
|
|
185
|
-
fileName: string;
|
|
186
|
-
testId: string;
|
|
187
|
-
reasoning: string;
|
|
188
|
-
plannedTestId?: string | undefined;
|
|
189
|
-
traceFile?: string | undefined;
|
|
190
|
-
scenarioFile?: string | undefined;
|
|
191
|
-
targetElements?: {
|
|
192
|
-
role: string;
|
|
193
|
-
accessibleName: string;
|
|
194
|
-
testId?: string | null | undefined;
|
|
195
|
-
stableId?: string | null | undefined;
|
|
196
|
-
contextText?: string[] | null | undefined;
|
|
197
|
-
mutability?: "unknown" | "mutable" | "immutable" | undefined;
|
|
198
|
-
widgetType?: "unknown" | "custom" | "native" | undefined;
|
|
199
|
-
}[] | null | undefined;
|
|
200
|
-
pageContext?: {
|
|
201
|
-
url: string;
|
|
202
|
-
pageHash?: string | undefined;
|
|
203
|
-
} | undefined;
|
|
204
|
-
frontendTrace?: string | undefined;
|
|
205
|
-
}>, {
|
|
206
|
-
description: string;
|
|
207
|
-
repository: string;
|
|
208
|
-
testType: TestType;
|
|
209
|
-
endpoint: string;
|
|
210
|
-
category: "new_endpoint" | "bug_caught" | "requirement_conflict" | "business_rule" | "security_boundary" | "data_integrity" | "breaking_change" | "auth" | "error_handling" | "workflow" | "data_validation" | "crud";
|
|
211
|
-
fileName: string;
|
|
212
|
-
testId: string;
|
|
213
|
-
reasoning: string;
|
|
214
|
-
plannedTestId?: string | undefined;
|
|
215
|
-
traceFile?: string | undefined;
|
|
216
|
-
scenarioFile?: string | undefined;
|
|
217
|
-
targetElements?: {
|
|
218
|
-
role: string;
|
|
219
|
-
testId: string | null;
|
|
220
|
-
stableId: string | null;
|
|
221
|
-
accessibleName: string;
|
|
222
|
-
contextText: string[] | null;
|
|
223
|
-
mutability?: "unknown" | "mutable" | "immutable" | undefined;
|
|
224
|
-
widgetType?: "unknown" | "custom" | "native" | undefined;
|
|
225
|
-
}[] | null | undefined;
|
|
226
|
-
pageContext?: {
|
|
227
|
-
url: string;
|
|
228
|
-
pageHash?: string | undefined;
|
|
229
|
-
} | undefined;
|
|
230
|
-
frontendTrace?: string | undefined;
|
|
231
|
-
}, unknown>;
|
|
232
|
-
export declare const additionalRecommendationSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
85
|
+
}, z.core.$strip>>;
|
|
86
|
+
}, z.core.$strip>, unknown>;
|
|
87
|
+
export declare const additionalRecommendationSchema: z.ZodPreprocess<z.ZodObject<{
|
|
233
88
|
testId: z.ZodString;
|
|
234
|
-
testType: z.
|
|
235
|
-
category: z.ZodEnum<
|
|
89
|
+
testType: z.ZodEnum<typeof TestType>;
|
|
90
|
+
category: z.ZodEnum<{
|
|
91
|
+
new_endpoint: "new_endpoint";
|
|
92
|
+
bug_caught: "bug_caught";
|
|
93
|
+
requirement_conflict: "requirement_conflict";
|
|
94
|
+
business_rule: "business_rule";
|
|
95
|
+
security_boundary: "security_boundary";
|
|
96
|
+
data_integrity: "data_integrity";
|
|
97
|
+
breaking_change: "breaking_change";
|
|
98
|
+
auth: "auth";
|
|
99
|
+
error_handling: "error_handling";
|
|
100
|
+
workflow: "workflow";
|
|
101
|
+
data_validation: "data_validation";
|
|
102
|
+
crud: "crud";
|
|
103
|
+
}>;
|
|
236
104
|
primaryEndpoint: z.ZodOptional<z.ZodString>;
|
|
237
105
|
scenarioName: z.ZodOptional<z.ZodString>;
|
|
238
106
|
steps: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
239
|
-
method: z.ZodOptional<z.
|
|
107
|
+
method: z.ZodOptional<z.ZodPreprocess<z.ZodEnum<{
|
|
108
|
+
GET: "GET";
|
|
109
|
+
POST: "POST";
|
|
110
|
+
PUT: "PUT";
|
|
111
|
+
DELETE: "DELETE";
|
|
112
|
+
PATCH: "PATCH";
|
|
113
|
+
HEAD: "HEAD";
|
|
114
|
+
OPTIONS: "OPTIONS";
|
|
115
|
+
type: "type";
|
|
116
|
+
TRACE: "TRACE";
|
|
117
|
+
CONNECT: "CONNECT";
|
|
118
|
+
assert: "assert";
|
|
119
|
+
click: "click";
|
|
120
|
+
drag: "drag";
|
|
121
|
+
"drag-hold": "drag-hold";
|
|
122
|
+
hover: "hover";
|
|
123
|
+
inspect: "inspect";
|
|
124
|
+
navigate: "navigate";
|
|
125
|
+
press: "press";
|
|
126
|
+
release: "release";
|
|
127
|
+
tap: "tap";
|
|
128
|
+
wait: "wait";
|
|
129
|
+
OPERATION: "OPERATION";
|
|
130
|
+
}>, unknown>>;
|
|
240
131
|
path: z.ZodOptional<z.ZodString>;
|
|
241
132
|
description: z.ZodString;
|
|
242
133
|
expectedStatusCode: z.ZodOptional<z.ZodNumber>;
|
|
243
134
|
requestBody: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
244
|
-
responseBody: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny
|
|
245
|
-
},
|
|
246
|
-
description: string;
|
|
247
|
-
path?: string | undefined;
|
|
248
|
-
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | "type" | "TRACE" | "CONNECT" | "assert" | "click" | "drag" | "drag-hold" | "hover" | "inspect" | "navigate" | "press" | "release" | "tap" | "wait" | "OPERATION" | undefined;
|
|
249
|
-
requestBody?: Record<string, any> | undefined;
|
|
250
|
-
responseBody?: any[] | Record<string, any> | undefined;
|
|
251
|
-
expectedStatusCode?: number | undefined;
|
|
252
|
-
}, {
|
|
253
|
-
description: string;
|
|
254
|
-
path?: string | undefined;
|
|
255
|
-
method?: unknown;
|
|
256
|
-
requestBody?: Record<string, any> | undefined;
|
|
257
|
-
responseBody?: any[] | Record<string, any> | undefined;
|
|
258
|
-
expectedStatusCode?: number | undefined;
|
|
259
|
-
}>, "many">>>;
|
|
135
|
+
responseBody: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
|
|
136
|
+
}, z.core.$strip>>>>;
|
|
260
137
|
description: z.ZodString;
|
|
261
|
-
priority: z.
|
|
138
|
+
priority: z.ZodPreprocess<z.ZodEnum<{
|
|
139
|
+
high: "high";
|
|
140
|
+
medium: "medium";
|
|
141
|
+
low: "low";
|
|
142
|
+
}>, unknown>;
|
|
262
143
|
openApiSpec: z.ZodOptional<z.ZodString>;
|
|
263
144
|
backendTrace: z.ZodOptional<z.ZodString>;
|
|
264
145
|
frontendTrace: z.ZodOptional<z.ZodString>;
|
|
@@ -267,209 +148,25 @@ export declare const additionalRecommendationSchema: z.ZodEffects<z.ZodEffects<z
|
|
|
267
148
|
targetElements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
268
149
|
role: z.ZodString;
|
|
269
150
|
accessibleName: z.ZodString;
|
|
270
|
-
testId: z.
|
|
271
|
-
stableId: z.
|
|
272
|
-
contextText: z.
|
|
273
|
-
mutability: z.ZodOptional<z.ZodEnum<
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
},
|
|
284
|
-
role: string;
|
|
285
|
-
accessibleName: string;
|
|
286
|
-
testId?: string | null | undefined;
|
|
287
|
-
stableId?: string | null | undefined;
|
|
288
|
-
contextText?: string[] | null | undefined;
|
|
289
|
-
mutability?: "unknown" | "mutable" | "immutable" | undefined;
|
|
290
|
-
widgetType?: "unknown" | "custom" | "native" | undefined;
|
|
291
|
-
}>, "many">>>;
|
|
151
|
+
testId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
152
|
+
stableId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
153
|
+
contextText: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>, z.ZodTransform<string[] | null, string[] | null | undefined>>;
|
|
154
|
+
mutability: z.ZodOptional<z.ZodEnum<{
|
|
155
|
+
unknown: "unknown";
|
|
156
|
+
mutable: "mutable";
|
|
157
|
+
immutable: "immutable";
|
|
158
|
+
}>>;
|
|
159
|
+
widgetType: z.ZodOptional<z.ZodEnum<{
|
|
160
|
+
unknown: "unknown";
|
|
161
|
+
custom: "custom";
|
|
162
|
+
native: "native";
|
|
163
|
+
}>>;
|
|
164
|
+
}, z.core.$strip>>>>;
|
|
292
165
|
pageContext: z.ZodOptional<z.ZodObject<{
|
|
293
166
|
url: z.ZodString;
|
|
294
167
|
pageHash: z.ZodOptional<z.ZodString>;
|
|
295
|
-
},
|
|
296
|
-
|
|
297
|
-
pageHash?: string | undefined;
|
|
298
|
-
}, {
|
|
299
|
-
url: string;
|
|
300
|
-
pageHash?: string | undefined;
|
|
301
|
-
}>>;
|
|
302
|
-
}, "strip", z.ZodTypeAny, {
|
|
303
|
-
description: string;
|
|
304
|
-
priority: "high" | "medium" | "low";
|
|
305
|
-
repository: string;
|
|
306
|
-
testType: TestType;
|
|
307
|
-
category: "new_endpoint" | "bug_caught" | "requirement_conflict" | "business_rule" | "security_boundary" | "data_integrity" | "breaking_change" | "auth" | "error_handling" | "workflow" | "data_validation" | "crud";
|
|
308
|
-
steps: {
|
|
309
|
-
description: string;
|
|
310
|
-
path?: string | undefined;
|
|
311
|
-
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | "type" | "TRACE" | "CONNECT" | "assert" | "click" | "drag" | "drag-hold" | "hover" | "inspect" | "navigate" | "press" | "release" | "tap" | "wait" | "OPERATION" | undefined;
|
|
312
|
-
requestBody?: Record<string, any> | undefined;
|
|
313
|
-
responseBody?: any[] | Record<string, any> | undefined;
|
|
314
|
-
expectedStatusCode?: number | undefined;
|
|
315
|
-
}[];
|
|
316
|
-
testId: string;
|
|
317
|
-
reasoning: string;
|
|
318
|
-
scenarioName?: string | undefined;
|
|
319
|
-
targetElements?: {
|
|
320
|
-
role: string;
|
|
321
|
-
testId: string | null;
|
|
322
|
-
stableId: string | null;
|
|
323
|
-
accessibleName: string;
|
|
324
|
-
contextText: string[] | null;
|
|
325
|
-
mutability?: "unknown" | "mutable" | "immutable" | undefined;
|
|
326
|
-
widgetType?: "unknown" | "custom" | "native" | undefined;
|
|
327
|
-
}[] | null | undefined;
|
|
328
|
-
pageContext?: {
|
|
329
|
-
url: string;
|
|
330
|
-
pageHash?: string | undefined;
|
|
331
|
-
} | undefined;
|
|
332
|
-
frontendTrace?: string | undefined;
|
|
333
|
-
primaryEndpoint?: string | undefined;
|
|
334
|
-
openApiSpec?: string | undefined;
|
|
335
|
-
backendTrace?: string | undefined;
|
|
336
|
-
}, {
|
|
337
|
-
description: string;
|
|
338
|
-
repository: string;
|
|
339
|
-
testType: TestType;
|
|
340
|
-
category: "new_endpoint" | "bug_caught" | "requirement_conflict" | "business_rule" | "security_boundary" | "data_integrity" | "breaking_change" | "auth" | "error_handling" | "workflow" | "data_validation" | "crud";
|
|
341
|
-
testId: string;
|
|
342
|
-
reasoning: string;
|
|
343
|
-
priority?: unknown;
|
|
344
|
-
scenarioName?: string | undefined;
|
|
345
|
-
steps?: {
|
|
346
|
-
description: string;
|
|
347
|
-
path?: string | undefined;
|
|
348
|
-
method?: unknown;
|
|
349
|
-
requestBody?: Record<string, any> | undefined;
|
|
350
|
-
responseBody?: any[] | Record<string, any> | undefined;
|
|
351
|
-
expectedStatusCode?: number | undefined;
|
|
352
|
-
}[] | undefined;
|
|
353
|
-
targetElements?: {
|
|
354
|
-
role: string;
|
|
355
|
-
accessibleName: string;
|
|
356
|
-
testId?: string | null | undefined;
|
|
357
|
-
stableId?: string | null | undefined;
|
|
358
|
-
contextText?: string[] | null | undefined;
|
|
359
|
-
mutability?: "unknown" | "mutable" | "immutable" | undefined;
|
|
360
|
-
widgetType?: "unknown" | "custom" | "native" | undefined;
|
|
361
|
-
}[] | null | undefined;
|
|
362
|
-
pageContext?: {
|
|
363
|
-
url: string;
|
|
364
|
-
pageHash?: string | undefined;
|
|
365
|
-
} | undefined;
|
|
366
|
-
frontendTrace?: string | undefined;
|
|
367
|
-
primaryEndpoint?: string | undefined;
|
|
368
|
-
openApiSpec?: string | undefined;
|
|
369
|
-
backendTrace?: string | undefined;
|
|
370
|
-
}>, {
|
|
371
|
-
description: string;
|
|
372
|
-
priority: "high" | "medium" | "low";
|
|
373
|
-
repository: string;
|
|
374
|
-
testType: TestType;
|
|
375
|
-
category: "new_endpoint" | "bug_caught" | "requirement_conflict" | "business_rule" | "security_boundary" | "data_integrity" | "breaking_change" | "auth" | "error_handling" | "workflow" | "data_validation" | "crud";
|
|
376
|
-
steps: {
|
|
377
|
-
description: string;
|
|
378
|
-
path?: string | undefined;
|
|
379
|
-
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | "type" | "TRACE" | "CONNECT" | "assert" | "click" | "drag" | "drag-hold" | "hover" | "inspect" | "navigate" | "press" | "release" | "tap" | "wait" | "OPERATION" | undefined;
|
|
380
|
-
requestBody?: Record<string, any> | undefined;
|
|
381
|
-
responseBody?: any[] | Record<string, any> | undefined;
|
|
382
|
-
expectedStatusCode?: number | undefined;
|
|
383
|
-
}[];
|
|
384
|
-
testId: string;
|
|
385
|
-
reasoning: string;
|
|
386
|
-
scenarioName?: string | undefined;
|
|
387
|
-
targetElements?: {
|
|
388
|
-
role: string;
|
|
389
|
-
testId: string | null;
|
|
390
|
-
stableId: string | null;
|
|
391
|
-
accessibleName: string;
|
|
392
|
-
contextText: string[] | null;
|
|
393
|
-
mutability?: "unknown" | "mutable" | "immutable" | undefined;
|
|
394
|
-
widgetType?: "unknown" | "custom" | "native" | undefined;
|
|
395
|
-
}[] | null | undefined;
|
|
396
|
-
pageContext?: {
|
|
397
|
-
url: string;
|
|
398
|
-
pageHash?: string | undefined;
|
|
399
|
-
} | undefined;
|
|
400
|
-
frontendTrace?: string | undefined;
|
|
401
|
-
primaryEndpoint?: string | undefined;
|
|
402
|
-
openApiSpec?: string | undefined;
|
|
403
|
-
backendTrace?: string | undefined;
|
|
404
|
-
}, {
|
|
405
|
-
description: string;
|
|
406
|
-
repository: string;
|
|
407
|
-
testType: TestType;
|
|
408
|
-
category: "new_endpoint" | "bug_caught" | "requirement_conflict" | "business_rule" | "security_boundary" | "data_integrity" | "breaking_change" | "auth" | "error_handling" | "workflow" | "data_validation" | "crud";
|
|
409
|
-
testId: string;
|
|
410
|
-
reasoning: string;
|
|
411
|
-
priority?: unknown;
|
|
412
|
-
scenarioName?: string | undefined;
|
|
413
|
-
steps?: {
|
|
414
|
-
description: string;
|
|
415
|
-
path?: string | undefined;
|
|
416
|
-
method?: unknown;
|
|
417
|
-
requestBody?: Record<string, any> | undefined;
|
|
418
|
-
responseBody?: any[] | Record<string, any> | undefined;
|
|
419
|
-
expectedStatusCode?: number | undefined;
|
|
420
|
-
}[] | undefined;
|
|
421
|
-
targetElements?: {
|
|
422
|
-
role: string;
|
|
423
|
-
accessibleName: string;
|
|
424
|
-
testId?: string | null | undefined;
|
|
425
|
-
stableId?: string | null | undefined;
|
|
426
|
-
contextText?: string[] | null | undefined;
|
|
427
|
-
mutability?: "unknown" | "mutable" | "immutable" | undefined;
|
|
428
|
-
widgetType?: "unknown" | "custom" | "native" | undefined;
|
|
429
|
-
}[] | null | undefined;
|
|
430
|
-
pageContext?: {
|
|
431
|
-
url: string;
|
|
432
|
-
pageHash?: string | undefined;
|
|
433
|
-
} | undefined;
|
|
434
|
-
frontendTrace?: string | undefined;
|
|
435
|
-
primaryEndpoint?: string | undefined;
|
|
436
|
-
openApiSpec?: string | undefined;
|
|
437
|
-
backendTrace?: string | undefined;
|
|
438
|
-
}>, {
|
|
439
|
-
description: string;
|
|
440
|
-
priority: "high" | "medium" | "low";
|
|
441
|
-
repository: string;
|
|
442
|
-
testType: TestType;
|
|
443
|
-
category: "new_endpoint" | "bug_caught" | "requirement_conflict" | "business_rule" | "security_boundary" | "data_integrity" | "breaking_change" | "auth" | "error_handling" | "workflow" | "data_validation" | "crud";
|
|
444
|
-
steps: {
|
|
445
|
-
description: string;
|
|
446
|
-
path?: string | undefined;
|
|
447
|
-
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | "type" | "TRACE" | "CONNECT" | "assert" | "click" | "drag" | "drag-hold" | "hover" | "inspect" | "navigate" | "press" | "release" | "tap" | "wait" | "OPERATION" | undefined;
|
|
448
|
-
requestBody?: Record<string, any> | undefined;
|
|
449
|
-
responseBody?: any[] | Record<string, any> | undefined;
|
|
450
|
-
expectedStatusCode?: number | undefined;
|
|
451
|
-
}[];
|
|
452
|
-
testId: string;
|
|
453
|
-
reasoning: string;
|
|
454
|
-
scenarioName?: string | undefined;
|
|
455
|
-
targetElements?: {
|
|
456
|
-
role: string;
|
|
457
|
-
testId: string | null;
|
|
458
|
-
stableId: string | null;
|
|
459
|
-
accessibleName: string;
|
|
460
|
-
contextText: string[] | null;
|
|
461
|
-
mutability?: "unknown" | "mutable" | "immutable" | undefined;
|
|
462
|
-
widgetType?: "unknown" | "custom" | "native" | undefined;
|
|
463
|
-
}[] | null | undefined;
|
|
464
|
-
pageContext?: {
|
|
465
|
-
url: string;
|
|
466
|
-
pageHash?: string | undefined;
|
|
467
|
-
} | undefined;
|
|
468
|
-
frontendTrace?: string | undefined;
|
|
469
|
-
primaryEndpoint?: string | undefined;
|
|
470
|
-
openApiSpec?: string | undefined;
|
|
471
|
-
backendTrace?: string | undefined;
|
|
472
|
-
}, unknown>;
|
|
168
|
+
}, z.core.$strip>>;
|
|
169
|
+
}, z.core.$strip>, unknown>;
|
|
473
170
|
/**
|
|
474
171
|
* Remove every comment addressed to a Skyramp gate from the files this run delivers.
|
|
475
172
|
*
|