@exaudeus/workrail 3.41.0 → 3.42.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.
- package/dist/cli-worktrain.js +40 -11
- package/dist/console-ui/assets/{index-CQt4UhPB.js → index-DwfWMKvv.js} +1 -1
- package/dist/console-ui/index.html +1 -1
- package/dist/context-assembly/deps.d.ts +8 -0
- package/dist/context-assembly/deps.js +2 -0
- package/dist/context-assembly/index.d.ts +6 -0
- package/dist/context-assembly/index.js +50 -0
- package/dist/context-assembly/infra.d.ts +3 -0
- package/dist/context-assembly/infra.js +154 -0
- package/dist/context-assembly/types.d.ts +30 -0
- package/dist/context-assembly/types.js +2 -0
- package/dist/coordinators/pr-review.d.ts +3 -1
- package/dist/coordinators/pr-review.js +25 -4
- package/dist/daemon/workflow-runner.js +11 -0
- package/dist/domain/execution/state.d.ts +6 -6
- package/dist/manifest.json +64 -32
- package/dist/mcp/handlers/v2-workflow.d.ts +2 -2
- package/dist/mcp/output-schemas.d.ts +234 -234
- package/dist/mcp/tools.d.ts +2 -2
- package/dist/mcp/v2/tools.d.ts +24 -24
- package/dist/v2/durable-core/schemas/artifacts/assessment.d.ts +2 -2
- package/dist/v2/durable-core/schemas/artifacts/coordinator-signal.d.ts +2 -2
- package/dist/v2/durable-core/schemas/artifacts/loop-control.d.ts +6 -6
- package/dist/v2/durable-core/schemas/artifacts/review-verdict.d.ts +6 -6
- package/dist/v2/durable-core/schemas/compiled-workflow/index.d.ts +56 -56
- package/dist/v2/durable-core/schemas/execution-snapshot/blocked-snapshot.d.ts +83 -83
- package/dist/v2/durable-core/schemas/execution-snapshot/execution-snapshot.v1.d.ts +1024 -1024
- package/dist/v2/durable-core/schemas/export-bundle/index.d.ts +2336 -2336
- package/dist/v2/durable-core/schemas/session/dag-topology.d.ts +6 -6
- package/dist/v2/durable-core/schemas/session/events.d.ts +339 -339
- package/dist/v2/durable-core/schemas/session/gaps.d.ts +30 -30
- package/dist/v2/durable-core/schemas/session/manifest.d.ts +6 -6
- package/dist/v2/durable-core/schemas/session/outputs.d.ts +8 -8
- package/dist/v2/durable-core/schemas/session/validation-event.d.ts +3 -3
- package/docs/design/context-assembly-design-candidates.md +199 -0
- package/docs/design/context-assembly-implementation-plan.md +211 -0
- package/docs/design/context-assembly-review-findings.md +112 -0
- package/docs/ideas/backlog.md +64 -0
- package/package.json +1 -1
package/dist/mcp/tools.d.ts
CHANGED
|
@@ -27,19 +27,19 @@ export declare const WorkflowNextInput: z.ZodObject<{
|
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
28
|
workflowId: string;
|
|
29
29
|
state: import("../domain/execution/state.js").ExecutionState;
|
|
30
|
-
context?: Record<string, unknown> | undefined;
|
|
31
30
|
event?: {
|
|
32
31
|
readonly kind: "step_completed";
|
|
33
32
|
readonly stepInstanceId: import("../domain/execution/ids.js").StepInstanceId;
|
|
34
33
|
} | undefined;
|
|
34
|
+
context?: Record<string, unknown> | undefined;
|
|
35
35
|
}, {
|
|
36
36
|
workflowId: string;
|
|
37
37
|
state: import("../domain/execution/state.js").ExecutionState;
|
|
38
|
-
context?: Record<string, unknown> | undefined;
|
|
39
38
|
event?: {
|
|
40
39
|
readonly kind: "step_completed";
|
|
41
40
|
readonly stepInstanceId: import("../domain/execution/ids.js").StepInstanceId;
|
|
42
41
|
} | undefined;
|
|
42
|
+
context?: Record<string, unknown> | undefined;
|
|
43
43
|
}>;
|
|
44
44
|
export type WorkflowNextInput = z.infer<typeof WorkflowNextInput>;
|
|
45
45
|
export declare const WorkflowValidateJsonInput: z.ZodObject<{
|
package/dist/mcp/v2/tools.d.ts
CHANGED
|
@@ -34,12 +34,12 @@ export declare const V2StartWorkflowInput: z.ZodObject<{
|
|
|
34
34
|
goal: z.ZodString;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
36
|
workflowId: string;
|
|
37
|
-
workspacePath: string;
|
|
38
37
|
goal: string;
|
|
38
|
+
workspacePath: string;
|
|
39
39
|
}, {
|
|
40
40
|
workflowId: string;
|
|
41
|
-
workspacePath: string;
|
|
42
41
|
goal: string;
|
|
42
|
+
workspacePath: string;
|
|
43
43
|
}>;
|
|
44
44
|
export type V2StartWorkflowInput = z.infer<typeof V2StartWorkflowInput>;
|
|
45
45
|
export declare const V2ContinueWorkflowInputShape: z.ZodObject<{
|
|
@@ -59,22 +59,22 @@ export declare const V2ContinueWorkflowInputShape: z.ZodObject<{
|
|
|
59
59
|
}>>;
|
|
60
60
|
}, "strict", z.ZodTypeAny, {
|
|
61
61
|
continueToken: string;
|
|
62
|
-
context?: Record<string, unknown> | undefined;
|
|
63
|
-
workspacePath?: string | undefined;
|
|
64
62
|
output?: {
|
|
65
63
|
notesMarkdown?: string | undefined;
|
|
66
64
|
artifacts?: unknown[] | undefined;
|
|
67
65
|
} | undefined;
|
|
68
|
-
intent?: "
|
|
69
|
-
}, {
|
|
70
|
-
continueToken: string;
|
|
66
|
+
intent?: "rehydrate" | "advance" | undefined;
|
|
71
67
|
context?: Record<string, unknown> | undefined;
|
|
72
68
|
workspacePath?: string | undefined;
|
|
69
|
+
}, {
|
|
70
|
+
continueToken: string;
|
|
73
71
|
output?: {
|
|
74
72
|
notesMarkdown?: string | undefined;
|
|
75
73
|
artifacts?: unknown[] | undefined;
|
|
76
74
|
} | undefined;
|
|
77
|
-
intent?: "
|
|
75
|
+
intent?: "rehydrate" | "advance" | undefined;
|
|
76
|
+
context?: Record<string, unknown> | undefined;
|
|
77
|
+
workspacePath?: string | undefined;
|
|
78
78
|
}>;
|
|
79
79
|
export declare const V2ContinueWorkflowInput: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
80
80
|
workspacePath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
@@ -95,43 +95,43 @@ export declare const V2ContinueWorkflowInput: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
95
95
|
contextVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
96
96
|
}, "strict", z.ZodTypeAny, {
|
|
97
97
|
continueToken: string;
|
|
98
|
-
context?: Record<string, unknown> | undefined;
|
|
99
|
-
workspacePath?: string | undefined;
|
|
100
98
|
output?: {
|
|
101
99
|
notesMarkdown?: string | undefined;
|
|
102
100
|
artifacts?: unknown[] | undefined;
|
|
103
101
|
} | undefined;
|
|
104
|
-
intent?: "
|
|
102
|
+
intent?: "rehydrate" | "advance" | undefined;
|
|
103
|
+
context?: Record<string, unknown> | undefined;
|
|
104
|
+
workspacePath?: string | undefined;
|
|
105
105
|
contextVariables?: Record<string, unknown> | undefined;
|
|
106
106
|
}, {
|
|
107
107
|
continueToken: string;
|
|
108
|
-
context?: Record<string, unknown> | undefined;
|
|
109
|
-
workspacePath?: string | undefined;
|
|
110
108
|
output?: {
|
|
111
109
|
notesMarkdown?: string | undefined;
|
|
112
110
|
artifacts?: unknown[] | undefined;
|
|
113
111
|
} | undefined;
|
|
114
|
-
intent?: "
|
|
112
|
+
intent?: "rehydrate" | "advance" | undefined;
|
|
113
|
+
context?: Record<string, unknown> | undefined;
|
|
114
|
+
workspacePath?: string | undefined;
|
|
115
115
|
contextVariables?: Record<string, unknown> | undefined;
|
|
116
116
|
}>, {
|
|
117
117
|
continueToken: string;
|
|
118
|
-
context?: Record<string, unknown> | undefined;
|
|
119
|
-
workspacePath?: string | undefined;
|
|
120
118
|
output?: {
|
|
121
119
|
notesMarkdown?: string | undefined;
|
|
122
120
|
artifacts?: unknown[] | undefined;
|
|
123
121
|
} | undefined;
|
|
124
|
-
intent?: "
|
|
122
|
+
intent?: "rehydrate" | "advance" | undefined;
|
|
123
|
+
context?: Record<string, unknown> | undefined;
|
|
124
|
+
workspacePath?: string | undefined;
|
|
125
125
|
contextVariables?: Record<string, unknown> | undefined;
|
|
126
126
|
}, {
|
|
127
127
|
continueToken: string;
|
|
128
|
-
context?: Record<string, unknown> | undefined;
|
|
129
|
-
workspacePath?: string | undefined;
|
|
130
128
|
output?: {
|
|
131
129
|
notesMarkdown?: string | undefined;
|
|
132
130
|
artifacts?: unknown[] | undefined;
|
|
133
131
|
} | undefined;
|
|
134
|
-
intent?: "
|
|
132
|
+
intent?: "rehydrate" | "advance" | undefined;
|
|
133
|
+
context?: Record<string, unknown> | undefined;
|
|
134
|
+
workspacePath?: string | undefined;
|
|
135
135
|
contextVariables?: Record<string, unknown> | undefined;
|
|
136
136
|
}>, {
|
|
137
137
|
workspacePath?: string | undefined;
|
|
@@ -140,17 +140,17 @@ export declare const V2ContinueWorkflowInput: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
140
140
|
artifacts?: unknown[] | undefined;
|
|
141
141
|
} | undefined;
|
|
142
142
|
context?: {} | undefined;
|
|
143
|
-
intent: "
|
|
143
|
+
intent: "rehydrate" | "advance";
|
|
144
144
|
continueToken: string;
|
|
145
145
|
}, {
|
|
146
146
|
continueToken: string;
|
|
147
|
-
context?: Record<string, unknown> | undefined;
|
|
148
|
-
workspacePath?: string | undefined;
|
|
149
147
|
output?: {
|
|
150
148
|
notesMarkdown?: string | undefined;
|
|
151
149
|
artifacts?: unknown[] | undefined;
|
|
152
150
|
} | undefined;
|
|
153
|
-
intent?: "
|
|
151
|
+
intent?: "rehydrate" | "advance" | undefined;
|
|
152
|
+
context?: Record<string, unknown> | undefined;
|
|
153
|
+
workspacePath?: string | undefined;
|
|
154
154
|
contextVariables?: Record<string, unknown> | undefined;
|
|
155
155
|
}>;
|
|
156
156
|
export type V2ContinueWorkflowInput = z.infer<typeof V2ContinueWorkflowInput>;
|
|
@@ -37,16 +37,16 @@ export declare const AssessmentArtifactV1Schema: z.ZodObject<{
|
|
|
37
37
|
level: string;
|
|
38
38
|
rationale?: string | undefined;
|
|
39
39
|
}>;
|
|
40
|
-
assessmentId?: string | undefined;
|
|
41
40
|
summary?: string | undefined;
|
|
41
|
+
assessmentId?: string | undefined;
|
|
42
42
|
}, {
|
|
43
43
|
kind: "wr.assessment";
|
|
44
44
|
dimensions: Record<string, string | {
|
|
45
45
|
level: string;
|
|
46
46
|
rationale?: string | undefined;
|
|
47
47
|
}>;
|
|
48
|
-
assessmentId?: string | undefined;
|
|
49
48
|
summary?: string | undefined;
|
|
49
|
+
assessmentId?: string | undefined;
|
|
50
50
|
}>;
|
|
51
51
|
export type AssessmentArtifactV1 = z.infer<typeof AssessmentArtifactV1Schema>;
|
|
52
52
|
export declare function isAssessmentArtifact(artifact: unknown): artifact is {
|
|
@@ -9,13 +9,13 @@ export declare const CoordinatorSignalArtifactV1Schema: z.ZodObject<{
|
|
|
9
9
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
10
10
|
}, "strict", z.ZodTypeAny, {
|
|
11
11
|
kind: "wr.coordinator_signal";
|
|
12
|
-
signalKind: "blocked" | "progress" | "finding" | "data_needed" | "approval_needed";
|
|
13
12
|
payload: Record<string, unknown>;
|
|
13
|
+
signalKind: "blocked" | "progress" | "finding" | "data_needed" | "approval_needed";
|
|
14
14
|
sessionId?: string | undefined;
|
|
15
15
|
}, {
|
|
16
16
|
kind: "wr.coordinator_signal";
|
|
17
|
-
signalKind: "blocked" | "progress" | "finding" | "data_needed" | "approval_needed";
|
|
18
17
|
payload: Record<string, unknown>;
|
|
18
|
+
signalKind: "blocked" | "progress" | "finding" | "data_needed" | "approval_needed";
|
|
19
19
|
sessionId?: string | undefined;
|
|
20
20
|
}>;
|
|
21
21
|
export type CoordinatorSignalArtifactV1 = z.infer<typeof CoordinatorSignalArtifactV1Schema>;
|
|
@@ -9,14 +9,14 @@ export declare const LoopControlMetadataV1Schema: z.ZodOptional<z.ZodObject<{
|
|
|
9
9
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
10
10
|
}, "strict", z.ZodTypeAny, {
|
|
11
11
|
reason?: string | undefined;
|
|
12
|
+
confidence?: number | undefined;
|
|
12
13
|
issuesFound?: number | undefined;
|
|
13
14
|
iterationIndex?: number | undefined;
|
|
14
|
-
confidence?: number | undefined;
|
|
15
15
|
}, {
|
|
16
16
|
reason?: string | undefined;
|
|
17
|
+
confidence?: number | undefined;
|
|
17
18
|
issuesFound?: number | undefined;
|
|
18
19
|
iterationIndex?: number | undefined;
|
|
19
|
-
confidence?: number | undefined;
|
|
20
20
|
}>>;
|
|
21
21
|
export type LoopControlMetadataV1 = z.infer<typeof LoopControlMetadataV1Schema>;
|
|
22
22
|
export declare const LoopControlArtifactV1Schema: z.ZodObject<{
|
|
@@ -30,14 +30,14 @@ export declare const LoopControlArtifactV1Schema: z.ZodObject<{
|
|
|
30
30
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
31
31
|
}, "strict", z.ZodTypeAny, {
|
|
32
32
|
reason?: string | undefined;
|
|
33
|
+
confidence?: number | undefined;
|
|
33
34
|
issuesFound?: number | undefined;
|
|
34
35
|
iterationIndex?: number | undefined;
|
|
35
|
-
confidence?: number | undefined;
|
|
36
36
|
}, {
|
|
37
37
|
reason?: string | undefined;
|
|
38
|
+
confidence?: number | undefined;
|
|
38
39
|
issuesFound?: number | undefined;
|
|
39
40
|
iterationIndex?: number | undefined;
|
|
40
|
-
confidence?: number | undefined;
|
|
41
41
|
}>>;
|
|
42
42
|
}, "strict", z.ZodTypeAny, {
|
|
43
43
|
kind: "wr.loop_control";
|
|
@@ -45,9 +45,9 @@ export declare const LoopControlArtifactV1Schema: z.ZodObject<{
|
|
|
45
45
|
loopId?: string | undefined;
|
|
46
46
|
metadata?: {
|
|
47
47
|
reason?: string | undefined;
|
|
48
|
+
confidence?: number | undefined;
|
|
48
49
|
issuesFound?: number | undefined;
|
|
49
50
|
iterationIndex?: number | undefined;
|
|
50
|
-
confidence?: number | undefined;
|
|
51
51
|
} | undefined;
|
|
52
52
|
}, {
|
|
53
53
|
kind: "wr.loop_control";
|
|
@@ -55,9 +55,9 @@ export declare const LoopControlArtifactV1Schema: z.ZodObject<{
|
|
|
55
55
|
loopId?: string | undefined;
|
|
56
56
|
metadata?: {
|
|
57
57
|
reason?: string | undefined;
|
|
58
|
+
confidence?: number | undefined;
|
|
58
59
|
issuesFound?: number | undefined;
|
|
59
60
|
iterationIndex?: number | undefined;
|
|
60
|
-
confidence?: number | undefined;
|
|
61
61
|
} | undefined;
|
|
62
62
|
}>;
|
|
63
63
|
export type LoopControlArtifactV1 = z.infer<typeof LoopControlArtifactV1Schema>;
|
|
@@ -8,30 +8,30 @@ export declare const ReviewVerdictArtifactV1Schema: z.ZodObject<{
|
|
|
8
8
|
severity: z.ZodEnum<["critical", "major", "minor", "nit"]>;
|
|
9
9
|
summary: z.ZodString;
|
|
10
10
|
}, "strict", z.ZodTypeAny, {
|
|
11
|
+
severity: "critical" | "minor" | "major" | "nit";
|
|
11
12
|
summary: string;
|
|
12
|
-
severity: "minor" | "critical" | "major" | "nit";
|
|
13
13
|
}, {
|
|
14
|
+
severity: "critical" | "minor" | "major" | "nit";
|
|
14
15
|
summary: string;
|
|
15
|
-
severity: "minor" | "critical" | "major" | "nit";
|
|
16
16
|
}>, "many">;
|
|
17
17
|
summary: z.ZodString;
|
|
18
18
|
}, "strict", z.ZodTypeAny, {
|
|
19
19
|
kind: "wr.review_verdict";
|
|
20
20
|
summary: string;
|
|
21
|
-
confidence: "
|
|
21
|
+
confidence: "low" | "high" | "medium";
|
|
22
22
|
verdict: "clean" | "minor" | "blocking";
|
|
23
23
|
findings: {
|
|
24
|
+
severity: "critical" | "minor" | "major" | "nit";
|
|
24
25
|
summary: string;
|
|
25
|
-
severity: "minor" | "critical" | "major" | "nit";
|
|
26
26
|
}[];
|
|
27
27
|
}, {
|
|
28
28
|
kind: "wr.review_verdict";
|
|
29
29
|
summary: string;
|
|
30
|
-
confidence: "
|
|
30
|
+
confidence: "low" | "high" | "medium";
|
|
31
31
|
verdict: "clean" | "minor" | "blocking";
|
|
32
32
|
findings: {
|
|
33
|
+
severity: "critical" | "minor" | "major" | "nit";
|
|
33
34
|
summary: string;
|
|
34
|
-
severity: "minor" | "critical" | "major" | "nit";
|
|
35
35
|
}[];
|
|
36
36
|
}>;
|
|
37
37
|
export type ReviewVerdictArtifactV1 = z.infer<typeof ReviewVerdictArtifactV1Schema>;
|
|
@@ -20,10 +20,10 @@ export declare const CompiledWorkflowSnapshotV1Schema: z.ZodDiscriminatedUnion<"
|
|
|
20
20
|
prompt: string;
|
|
21
21
|
}>;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
workflowId: string;
|
|
23
24
|
name: string;
|
|
24
25
|
description: string;
|
|
25
26
|
version: string;
|
|
26
|
-
workflowId: string;
|
|
27
27
|
schemaVersion: 1;
|
|
28
28
|
sourceKind: "v1_preview";
|
|
29
29
|
preview: {
|
|
@@ -32,10 +32,10 @@ export declare const CompiledWorkflowSnapshotV1Schema: z.ZodDiscriminatedUnion<"
|
|
|
32
32
|
prompt: string;
|
|
33
33
|
};
|
|
34
34
|
}, {
|
|
35
|
+
workflowId: string;
|
|
35
36
|
name: string;
|
|
36
37
|
description: string;
|
|
37
38
|
version: string;
|
|
38
|
-
workflowId: string;
|
|
39
39
|
schemaVersion: 1;
|
|
40
40
|
sourceKind: "v1_preview";
|
|
41
41
|
preview: {
|
|
@@ -64,19 +64,19 @@ export declare const CompiledWorkflowSnapshotV1Schema: z.ZodDiscriminatedUnion<"
|
|
|
64
64
|
resolvedPath: z.ZodString;
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
66
66
|
status: "resolved";
|
|
67
|
-
|
|
67
|
+
source: string;
|
|
68
68
|
title: string;
|
|
69
|
+
id: string;
|
|
69
70
|
purpose: string;
|
|
70
|
-
source: string;
|
|
71
71
|
authoritative: boolean;
|
|
72
72
|
resolveFrom: "workspace" | "package";
|
|
73
73
|
resolvedPath: string;
|
|
74
74
|
}, {
|
|
75
75
|
status: "resolved";
|
|
76
|
-
|
|
76
|
+
source: string;
|
|
77
77
|
title: string;
|
|
78
|
+
id: string;
|
|
78
79
|
purpose: string;
|
|
79
|
-
source: string;
|
|
80
80
|
authoritative: boolean;
|
|
81
81
|
resolveFrom: "workspace" | "package";
|
|
82
82
|
resolvedPath: string;
|
|
@@ -90,18 +90,18 @@ export declare const CompiledWorkflowSnapshotV1Schema: z.ZodDiscriminatedUnion<"
|
|
|
90
90
|
status: z.ZodLiteral<"unresolved">;
|
|
91
91
|
}, "strip", z.ZodTypeAny, {
|
|
92
92
|
status: "unresolved";
|
|
93
|
-
|
|
93
|
+
source: string;
|
|
94
94
|
title: string;
|
|
95
|
+
id: string;
|
|
95
96
|
purpose: string;
|
|
96
|
-
source: string;
|
|
97
97
|
authoritative: boolean;
|
|
98
98
|
resolveFrom: "workspace" | "package";
|
|
99
99
|
}, {
|
|
100
100
|
status: "unresolved";
|
|
101
|
-
|
|
101
|
+
source: string;
|
|
102
102
|
title: string;
|
|
103
|
+
id: string;
|
|
103
104
|
purpose: string;
|
|
104
|
-
source: string;
|
|
105
105
|
authoritative: boolean;
|
|
106
106
|
resolveFrom: "workspace" | "package";
|
|
107
107
|
}>, z.ZodObject<{
|
|
@@ -114,26 +114,26 @@ export declare const CompiledWorkflowSnapshotV1Schema: z.ZodDiscriminatedUnion<"
|
|
|
114
114
|
status: z.ZodLiteral<"pinned">;
|
|
115
115
|
}, "strip", z.ZodTypeAny, {
|
|
116
116
|
status: "pinned";
|
|
117
|
-
|
|
117
|
+
source: string;
|
|
118
118
|
title: string;
|
|
119
|
+
id: string;
|
|
119
120
|
purpose: string;
|
|
120
|
-
source: string;
|
|
121
121
|
authoritative: boolean;
|
|
122
122
|
resolveFrom: "workspace" | "package";
|
|
123
123
|
}, {
|
|
124
124
|
status: "pinned";
|
|
125
|
-
|
|
125
|
+
source: string;
|
|
126
126
|
title: string;
|
|
127
|
+
id: string;
|
|
127
128
|
purpose: string;
|
|
128
|
-
source: string;
|
|
129
129
|
authoritative: boolean;
|
|
130
130
|
resolveFrom: "workspace" | "package";
|
|
131
131
|
}>]>, "many">>;
|
|
132
132
|
}, "strip", z.ZodTypeAny, {
|
|
133
|
+
workflowId: string;
|
|
133
134
|
name: string;
|
|
134
135
|
description: string;
|
|
135
136
|
version: string;
|
|
136
|
-
workflowId: string;
|
|
137
137
|
schemaVersion: 1;
|
|
138
138
|
sourceKind: "v1_pinned";
|
|
139
139
|
definition?: unknown;
|
|
@@ -141,35 +141,35 @@ export declare const CompiledWorkflowSnapshotV1Schema: z.ZodDiscriminatedUnion<"
|
|
|
141
141
|
pinnedOverrides?: Record<string, string> | undefined;
|
|
142
142
|
resolvedReferences?: ({
|
|
143
143
|
status: "resolved";
|
|
144
|
-
|
|
144
|
+
source: string;
|
|
145
145
|
title: string;
|
|
146
|
+
id: string;
|
|
146
147
|
purpose: string;
|
|
147
|
-
source: string;
|
|
148
148
|
authoritative: boolean;
|
|
149
149
|
resolveFrom: "workspace" | "package";
|
|
150
150
|
resolvedPath: string;
|
|
151
151
|
} | {
|
|
152
152
|
status: "unresolved";
|
|
153
|
-
|
|
153
|
+
source: string;
|
|
154
154
|
title: string;
|
|
155
|
+
id: string;
|
|
155
156
|
purpose: string;
|
|
156
|
-
source: string;
|
|
157
157
|
authoritative: boolean;
|
|
158
158
|
resolveFrom: "workspace" | "package";
|
|
159
159
|
} | {
|
|
160
160
|
status: "pinned";
|
|
161
|
-
|
|
161
|
+
source: string;
|
|
162
162
|
title: string;
|
|
163
|
+
id: string;
|
|
163
164
|
purpose: string;
|
|
164
|
-
source: string;
|
|
165
165
|
authoritative: boolean;
|
|
166
166
|
resolveFrom: "workspace" | "package";
|
|
167
167
|
})[] | undefined;
|
|
168
168
|
}, {
|
|
169
|
+
workflowId: string;
|
|
169
170
|
name: string;
|
|
170
171
|
description: string;
|
|
171
172
|
version: string;
|
|
172
|
-
workflowId: string;
|
|
173
173
|
schemaVersion: 1;
|
|
174
174
|
sourceKind: "v1_pinned";
|
|
175
175
|
definition?: unknown;
|
|
@@ -177,27 +177,27 @@ export declare const CompiledWorkflowSnapshotV1Schema: z.ZodDiscriminatedUnion<"
|
|
|
177
177
|
pinnedOverrides?: Record<string, string> | undefined;
|
|
178
178
|
resolvedReferences?: ({
|
|
179
179
|
status: "resolved";
|
|
180
|
-
|
|
180
|
+
source: string;
|
|
181
181
|
title: string;
|
|
182
|
+
id: string;
|
|
182
183
|
purpose: string;
|
|
183
|
-
source: string;
|
|
184
184
|
authoritative: boolean;
|
|
185
185
|
resolveFrom: "workspace" | "package";
|
|
186
186
|
resolvedPath: string;
|
|
187
187
|
} | {
|
|
188
188
|
status: "unresolved";
|
|
189
|
-
|
|
189
|
+
source: string;
|
|
190
190
|
title: string;
|
|
191
|
+
id: string;
|
|
191
192
|
purpose: string;
|
|
192
|
-
source: string;
|
|
193
193
|
authoritative: boolean;
|
|
194
194
|
resolveFrom: "workspace" | "package";
|
|
195
195
|
} | {
|
|
196
196
|
status: "pinned";
|
|
197
|
-
|
|
197
|
+
source: string;
|
|
198
198
|
title: string;
|
|
199
|
+
id: string;
|
|
199
200
|
purpose: string;
|
|
200
|
-
source: string;
|
|
201
201
|
authoritative: boolean;
|
|
202
202
|
resolveFrom: "workspace" | "package";
|
|
203
203
|
})[] | undefined;
|
|
@@ -224,10 +224,10 @@ export declare const CompiledWorkflowSnapshotSchema: z.ZodDiscriminatedUnion<"so
|
|
|
224
224
|
prompt: string;
|
|
225
225
|
}>;
|
|
226
226
|
}, "strip", z.ZodTypeAny, {
|
|
227
|
+
workflowId: string;
|
|
227
228
|
name: string;
|
|
228
229
|
description: string;
|
|
229
230
|
version: string;
|
|
230
|
-
workflowId: string;
|
|
231
231
|
schemaVersion: 1;
|
|
232
232
|
sourceKind: "v1_preview";
|
|
233
233
|
preview: {
|
|
@@ -236,10 +236,10 @@ export declare const CompiledWorkflowSnapshotSchema: z.ZodDiscriminatedUnion<"so
|
|
|
236
236
|
prompt: string;
|
|
237
237
|
};
|
|
238
238
|
}, {
|
|
239
|
+
workflowId: string;
|
|
239
240
|
name: string;
|
|
240
241
|
description: string;
|
|
241
242
|
version: string;
|
|
242
|
-
workflowId: string;
|
|
243
243
|
schemaVersion: 1;
|
|
244
244
|
sourceKind: "v1_preview";
|
|
245
245
|
preview: {
|
|
@@ -268,19 +268,19 @@ export declare const CompiledWorkflowSnapshotSchema: z.ZodDiscriminatedUnion<"so
|
|
|
268
268
|
resolvedPath: z.ZodString;
|
|
269
269
|
}, "strip", z.ZodTypeAny, {
|
|
270
270
|
status: "resolved";
|
|
271
|
-
|
|
271
|
+
source: string;
|
|
272
272
|
title: string;
|
|
273
|
+
id: string;
|
|
273
274
|
purpose: string;
|
|
274
|
-
source: string;
|
|
275
275
|
authoritative: boolean;
|
|
276
276
|
resolveFrom: "workspace" | "package";
|
|
277
277
|
resolvedPath: string;
|
|
278
278
|
}, {
|
|
279
279
|
status: "resolved";
|
|
280
|
-
|
|
280
|
+
source: string;
|
|
281
281
|
title: string;
|
|
282
|
+
id: string;
|
|
282
283
|
purpose: string;
|
|
283
|
-
source: string;
|
|
284
284
|
authoritative: boolean;
|
|
285
285
|
resolveFrom: "workspace" | "package";
|
|
286
286
|
resolvedPath: string;
|
|
@@ -294,18 +294,18 @@ export declare const CompiledWorkflowSnapshotSchema: z.ZodDiscriminatedUnion<"so
|
|
|
294
294
|
status: z.ZodLiteral<"unresolved">;
|
|
295
295
|
}, "strip", z.ZodTypeAny, {
|
|
296
296
|
status: "unresolved";
|
|
297
|
-
|
|
297
|
+
source: string;
|
|
298
298
|
title: string;
|
|
299
|
+
id: string;
|
|
299
300
|
purpose: string;
|
|
300
|
-
source: string;
|
|
301
301
|
authoritative: boolean;
|
|
302
302
|
resolveFrom: "workspace" | "package";
|
|
303
303
|
}, {
|
|
304
304
|
status: "unresolved";
|
|
305
|
-
|
|
305
|
+
source: string;
|
|
306
306
|
title: string;
|
|
307
|
+
id: string;
|
|
307
308
|
purpose: string;
|
|
308
|
-
source: string;
|
|
309
309
|
authoritative: boolean;
|
|
310
310
|
resolveFrom: "workspace" | "package";
|
|
311
311
|
}>, z.ZodObject<{
|
|
@@ -318,26 +318,26 @@ export declare const CompiledWorkflowSnapshotSchema: z.ZodDiscriminatedUnion<"so
|
|
|
318
318
|
status: z.ZodLiteral<"pinned">;
|
|
319
319
|
}, "strip", z.ZodTypeAny, {
|
|
320
320
|
status: "pinned";
|
|
321
|
-
|
|
321
|
+
source: string;
|
|
322
322
|
title: string;
|
|
323
|
+
id: string;
|
|
323
324
|
purpose: string;
|
|
324
|
-
source: string;
|
|
325
325
|
authoritative: boolean;
|
|
326
326
|
resolveFrom: "workspace" | "package";
|
|
327
327
|
}, {
|
|
328
328
|
status: "pinned";
|
|
329
|
-
|
|
329
|
+
source: string;
|
|
330
330
|
title: string;
|
|
331
|
+
id: string;
|
|
331
332
|
purpose: string;
|
|
332
|
-
source: string;
|
|
333
333
|
authoritative: boolean;
|
|
334
334
|
resolveFrom: "workspace" | "package";
|
|
335
335
|
}>]>, "many">>;
|
|
336
336
|
}, "strip", z.ZodTypeAny, {
|
|
337
|
+
workflowId: string;
|
|
337
338
|
name: string;
|
|
338
339
|
description: string;
|
|
339
340
|
version: string;
|
|
340
|
-
workflowId: string;
|
|
341
341
|
schemaVersion: 1;
|
|
342
342
|
sourceKind: "v1_pinned";
|
|
343
343
|
definition?: unknown;
|
|
@@ -345,35 +345,35 @@ export declare const CompiledWorkflowSnapshotSchema: z.ZodDiscriminatedUnion<"so
|
|
|
345
345
|
pinnedOverrides?: Record<string, string> | undefined;
|
|
346
346
|
resolvedReferences?: ({
|
|
347
347
|
status: "resolved";
|
|
348
|
-
|
|
348
|
+
source: string;
|
|
349
349
|
title: string;
|
|
350
|
+
id: string;
|
|
350
351
|
purpose: string;
|
|
351
|
-
source: string;
|
|
352
352
|
authoritative: boolean;
|
|
353
353
|
resolveFrom: "workspace" | "package";
|
|
354
354
|
resolvedPath: string;
|
|
355
355
|
} | {
|
|
356
356
|
status: "unresolved";
|
|
357
|
-
|
|
357
|
+
source: string;
|
|
358
358
|
title: string;
|
|
359
|
+
id: string;
|
|
359
360
|
purpose: string;
|
|
360
|
-
source: string;
|
|
361
361
|
authoritative: boolean;
|
|
362
362
|
resolveFrom: "workspace" | "package";
|
|
363
363
|
} | {
|
|
364
364
|
status: "pinned";
|
|
365
|
-
|
|
365
|
+
source: string;
|
|
366
366
|
title: string;
|
|
367
|
+
id: string;
|
|
367
368
|
purpose: string;
|
|
368
|
-
source: string;
|
|
369
369
|
authoritative: boolean;
|
|
370
370
|
resolveFrom: "workspace" | "package";
|
|
371
371
|
})[] | undefined;
|
|
372
372
|
}, {
|
|
373
|
+
workflowId: string;
|
|
373
374
|
name: string;
|
|
374
375
|
description: string;
|
|
375
376
|
version: string;
|
|
376
|
-
workflowId: string;
|
|
377
377
|
schemaVersion: 1;
|
|
378
378
|
sourceKind: "v1_pinned";
|
|
379
379
|
definition?: unknown;
|
|
@@ -381,27 +381,27 @@ export declare const CompiledWorkflowSnapshotSchema: z.ZodDiscriminatedUnion<"so
|
|
|
381
381
|
pinnedOverrides?: Record<string, string> | undefined;
|
|
382
382
|
resolvedReferences?: ({
|
|
383
383
|
status: "resolved";
|
|
384
|
-
|
|
384
|
+
source: string;
|
|
385
385
|
title: string;
|
|
386
|
+
id: string;
|
|
386
387
|
purpose: string;
|
|
387
|
-
source: string;
|
|
388
388
|
authoritative: boolean;
|
|
389
389
|
resolveFrom: "workspace" | "package";
|
|
390
390
|
resolvedPath: string;
|
|
391
391
|
} | {
|
|
392
392
|
status: "unresolved";
|
|
393
|
-
|
|
393
|
+
source: string;
|
|
394
394
|
title: string;
|
|
395
|
+
id: string;
|
|
395
396
|
purpose: string;
|
|
396
|
-
source: string;
|
|
397
397
|
authoritative: boolean;
|
|
398
398
|
resolveFrom: "workspace" | "package";
|
|
399
399
|
} | {
|
|
400
400
|
status: "pinned";
|
|
401
|
-
|
|
401
|
+
source: string;
|
|
402
402
|
title: string;
|
|
403
|
+
id: string;
|
|
403
404
|
purpose: string;
|
|
404
|
-
source: string;
|
|
405
405
|
authoritative: boolean;
|
|
406
406
|
resolveFrom: "workspace" | "package";
|
|
407
407
|
})[] | undefined;
|