@stackwright-pro/mcp 0.2.0-alpha.105 → 0.2.0-alpha.107
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 +1 -1
- package/dist/integrity.js.map +1 -1
- package/dist/integrity.mjs +1 -1
- package/dist/integrity.mjs.map +1 -1
- package/dist/pipeline-constants.js +16 -1
- package/dist/pipeline-constants.js.map +1 -1
- package/dist/pipeline-constants.mjs +16 -1
- package/dist/pipeline-constants.mjs.map +1 -1
- package/dist/server.js +429 -214
- package/dist/server.js.map +1 -1
- package/dist/server.mjs +371 -156
- package/dist/server.mjs.map +1 -1
- package/package.json +6 -6
|
@@ -8,6 +8,21 @@ import { z } from "zod";
|
|
|
8
8
|
// src/artifact-signing.ts
|
|
9
9
|
import { z as z2 } from "zod";
|
|
10
10
|
|
|
11
|
+
// src/tools/validate-pulse-content.ts
|
|
12
|
+
import { load as yamlLoad } from "js-yaml";
|
|
13
|
+
import { PULSE_CONTENT_SCHEMAS, ColumnSchema } from "@stackwright-pro/pulse";
|
|
14
|
+
function getAllowedProps(schema) {
|
|
15
|
+
let inner = schema;
|
|
16
|
+
while (inner && typeof inner.unwrap === "function") {
|
|
17
|
+
inner = inner.unwrap();
|
|
18
|
+
}
|
|
19
|
+
if (inner && typeof inner === "object" && inner.shape && typeof inner.shape === "object") {
|
|
20
|
+
return Object.keys(inner.shape);
|
|
21
|
+
}
|
|
22
|
+
return [];
|
|
23
|
+
}
|
|
24
|
+
var COLUMN_ALLOWED_PROPS = getAllowedProps(ColumnSchema);
|
|
25
|
+
|
|
11
26
|
// src/tools/pipeline.ts
|
|
12
27
|
import { WorkflowFileSchema, authConfigSchema as authConfigSchema3 } from "@stackwright-pro/types";
|
|
13
28
|
|
|
@@ -23,7 +38,7 @@ import {
|
|
|
23
38
|
|
|
24
39
|
// src/tools/validate-yaml-fragment.ts
|
|
25
40
|
import { z as z3 } from "zod";
|
|
26
|
-
import { load as
|
|
41
|
+
import { load as yamlLoad2 } from "js-yaml";
|
|
27
42
|
import {
|
|
28
43
|
WorkflowStepSchema,
|
|
29
44
|
WorkflowDefinitionSchema,
|