@stackwright-pro/mcp 0.2.0-alpha.109 → 0.2.0-alpha.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/integrity.js +2 -2
- package/dist/integrity.js.map +1 -1
- package/dist/integrity.mjs +2 -2
- package/dist/integrity.mjs.map +1 -1
- package/dist/pipeline-constants.js +24 -21
- package/dist/pipeline-constants.js.map +1 -1
- package/dist/pipeline-constants.mjs +24 -21
- package/dist/pipeline-constants.mjs.map +1 -1
- package/dist/server.js +267 -159
- package/dist/server.js.map +1 -1
- package/dist/server.mjs +267 -159
- package/dist/server.mjs.map +1 -1
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/tools/pipeline.ts
|
|
2
|
-
import { z as
|
|
2
|
+
import { z as z6 } from "zod";
|
|
3
3
|
import { lockSync } from "proper-lockfile";
|
|
4
4
|
|
|
5
5
|
// src/coerce.ts
|
|
@@ -28,11 +28,14 @@ var CANONICAL_API_AUTH_TYPES = ["apiKey", "bearer", "oauth2", "oidc", "none"];
|
|
|
28
28
|
var CANONICAL_SET = new Set(CANONICAL_API_AUTH_TYPES);
|
|
29
29
|
var VALID_SET_DISPLAY = CANONICAL_API_AUTH_TYPES.map((t) => `\`${t}\``).join(", ");
|
|
30
30
|
|
|
31
|
+
// src/tools/auth-manifest-aggregator.ts
|
|
32
|
+
import { z as z3 } from "zod";
|
|
33
|
+
|
|
31
34
|
// src/tools/pipeline.ts
|
|
32
35
|
import { WorkflowFileSchema, authConfigSchema as authConfigSchema3 } from "@stackwright-pro/types";
|
|
33
36
|
|
|
34
37
|
// src/tools/get-schema.ts
|
|
35
|
-
import { z as
|
|
38
|
+
import { z as z5 } from "zod";
|
|
36
39
|
import {
|
|
37
40
|
WorkflowStepSchema as WorkflowStepSchema2,
|
|
38
41
|
WorkflowDefinitionSchema as WorkflowDefinitionSchema2,
|
|
@@ -42,7 +45,7 @@ import {
|
|
|
42
45
|
} from "@stackwright-pro/types";
|
|
43
46
|
|
|
44
47
|
// src/tools/validate-yaml-fragment.ts
|
|
45
|
-
import { z as
|
|
48
|
+
import { z as z4 } from "zod";
|
|
46
49
|
import { load as yamlLoad2 } from "js-yaml";
|
|
47
50
|
import {
|
|
48
51
|
WorkflowStepSchema,
|
|
@@ -51,35 +54,35 @@ import {
|
|
|
51
54
|
WorkflowActionSchema,
|
|
52
55
|
authConfigSchema
|
|
53
56
|
} from "@stackwright-pro/types";
|
|
54
|
-
var NavigationLinkSchema =
|
|
55
|
-
() =>
|
|
56
|
-
label:
|
|
57
|
-
href:
|
|
58
|
-
children:
|
|
57
|
+
var NavigationLinkSchema = z4.lazy(
|
|
58
|
+
() => z4.object({
|
|
59
|
+
label: z4.string().min(1),
|
|
60
|
+
href: z4.string().min(1),
|
|
61
|
+
children: z4.array(NavigationLinkSchema).optional()
|
|
59
62
|
})
|
|
60
63
|
);
|
|
61
|
-
var NavigationSectionSchema =
|
|
62
|
-
section:
|
|
63
|
-
items:
|
|
64
|
+
var NavigationSectionSchema = z4.object({
|
|
65
|
+
section: z4.string().min(1),
|
|
66
|
+
items: z4.array(NavigationLinkSchema)
|
|
64
67
|
});
|
|
65
|
-
var NavigationItemSchema =
|
|
68
|
+
var NavigationItemSchema = z4.union([
|
|
66
69
|
NavigationLinkSchema,
|
|
67
70
|
NavigationSectionSchema
|
|
68
71
|
]);
|
|
69
72
|
|
|
70
73
|
// src/tools/get-schema.ts
|
|
71
|
-
var NavigationLinkSchema2 =
|
|
72
|
-
() =>
|
|
73
|
-
label:
|
|
74
|
-
href:
|
|
75
|
-
children:
|
|
74
|
+
var NavigationLinkSchema2 = z5.lazy(
|
|
75
|
+
() => z5.object({
|
|
76
|
+
label: z5.string().min(1),
|
|
77
|
+
href: z5.string().min(1),
|
|
78
|
+
children: z5.array(NavigationLinkSchema2).optional()
|
|
76
79
|
})
|
|
77
80
|
);
|
|
78
|
-
var NavigationSectionSchema2 =
|
|
79
|
-
section:
|
|
80
|
-
items:
|
|
81
|
+
var NavigationSectionSchema2 = z5.object({
|
|
82
|
+
section: z5.string().min(1),
|
|
83
|
+
items: z5.array(NavigationLinkSchema2)
|
|
81
84
|
});
|
|
82
|
-
var NavigationItemSchema2 =
|
|
85
|
+
var NavigationItemSchema2 = z5.union([
|
|
83
86
|
NavigationLinkSchema2,
|
|
84
87
|
NavigationSectionSchema2
|
|
85
88
|
]);
|