@xpert-ai/contracts 3.22.0 → 3.25.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/index.cjs.js +5296 -368
- package/index.esm.js +5185 -369
- package/package.json +2 -2
- package/src/ai/agent-output-delivery.model.d.ts +10 -10
- package/src/ai/agent-runtime.model.d.ts +24 -24
- package/src/ai/assistant-model.model.d.ts +8 -0
- package/src/ai/assistant-template-dependencies.model.d.ts +1 -1
- package/src/ai/chat-group.model.d.ts +7 -3
- package/src/ai/index.d.ts +2 -0
- package/src/ai/mcp-publication.model.d.ts +20 -0
- package/src/ai/model-discovery.model.d.ts +2 -0
- package/src/ai/project-pipeline/analytics.d.ts +1685 -0
- package/src/ai/project-pipeline/budget.schema.d.ts +78 -0
- package/src/ai/project-pipeline/catalog.schema.d.ts +188 -0
- package/src/ai/project-pipeline/catalog.validation.d.ts +4 -0
- package/src/ai/project-pipeline/commands.schema.d.ts +4381 -0
- package/src/ai/project-pipeline/compatibility.d.ts +5 -0
- package/src/ai/project-pipeline/compatibility.schema.d.ts +29 -0
- package/src/ai/project-pipeline/configuration-form.d.ts +17374 -0
- package/src/ai/project-pipeline/configuration.schema.d.ts +3774 -0
- package/src/ai/project-pipeline/contribution.schema.d.ts +6721 -0
- package/src/ai/project-pipeline/dataflow.validation.d.ts +6 -0
- package/src/ai/project-pipeline/definition.schema.d.ts +3808 -0
- package/src/ai/project-pipeline/definition.validation.d.ts +7 -0
- package/src/ai/project-pipeline/execution-statistics.d.ts +267 -0
- package/src/ai/project-pipeline/graph.model.d.ts +89 -0
- package/src/ai/project-pipeline/human-wait-statistics.d.ts +70 -0
- package/src/ai/project-pipeline/human-wait.schema.d.ts +26 -0
- package/src/ai/project-pipeline/index.d.ts +28 -0
- package/src/ai/project-pipeline/model-usage-statistics.d.ts +143 -0
- package/src/ai/project-pipeline/native-source.schema.d.ts +40 -0
- package/src/ai/project-pipeline/node.schema.d.ts +839 -0
- package/src/ai/project-pipeline/operation.schema.d.ts +800 -0
- package/src/ai/project-pipeline/portfolio.schema.d.ts +3817 -0
- package/src/ai/project-pipeline/primitives.schema.d.ts +138 -0
- package/src/ai/project-pipeline/projection.schema.d.ts +4715 -0
- package/src/ai/project-pipeline/provider-actions.schema.d.ts +2030 -0
- package/src/ai/project-pipeline/queue-statistics.d.ts +326 -0
- package/src/ai/project-pipeline/resources.schema.d.ts +73 -0
- package/src/ai/project-pipeline/runtime.schema.d.ts +934 -0
- package/src/ai/project-pipeline/statistics.d.ts +811 -0
- package/src/ai/project-task-graph.model.d.ts +18 -2
- package/src/ai/project-task-runtime.model.d.ts +924 -924
- package/src/ai/provider-credential-validation.model.d.ts +63 -0
- package/src/ai/template-installation.model.d.ts +27 -0
- package/src/ai/types.d.ts +6 -4
- package/src/ai/xpert-project-type.model.d.ts +15 -4
- package/src/ai/xpert-project.model.d.ts +9 -2
- package/src/ai/xpert.model.d.ts +5 -0
- package/src/analytics-query.model.d.ts +180 -0
- package/src/artifact-presentation.model.d.ts +28 -0
- package/src/artifact.model.d.ts +15 -0
- package/src/assistant-sharing.model.d.ts +32 -0
- package/src/index.d.ts +4 -0
- package/src/plugin-application.d.ts +4 -1
- package/src/user-directory.model.d.ts +15 -0
- package/src/user-group.model.d.ts +1 -0
- package/src/view-extension/model.d.ts +16 -1
|
@@ -10,48 +10,48 @@ export declare const projectTaskSpecificationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
10
10
|
stepIndex: z.ZodNumber;
|
|
11
11
|
description: z.ZodString;
|
|
12
12
|
}, "strict", z.ZodTypeAny, {
|
|
13
|
-
description
|
|
14
|
-
stepIndex
|
|
13
|
+
description: string;
|
|
14
|
+
stepIndex: number;
|
|
15
15
|
}, {
|
|
16
|
-
description
|
|
17
|
-
stepIndex
|
|
16
|
+
description: string;
|
|
17
|
+
stepIndex: number;
|
|
18
18
|
}>, "many">;
|
|
19
19
|
}, "strict", z.ZodTypeAny, {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
stepIndex?: number;
|
|
20
|
+
version: 1;
|
|
21
|
+
title: string;
|
|
22
|
+
steps: {
|
|
23
|
+
description: string;
|
|
24
|
+
stepIndex: number;
|
|
26
25
|
}[];
|
|
27
|
-
requirements
|
|
26
|
+
requirements: string[];
|
|
27
|
+
description?: string | undefined;
|
|
28
28
|
}, {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
stepIndex?: number;
|
|
29
|
+
version: 1;
|
|
30
|
+
title: string;
|
|
31
|
+
steps: {
|
|
32
|
+
description: string;
|
|
33
|
+
stepIndex: number;
|
|
35
34
|
}[];
|
|
36
|
-
requirements
|
|
35
|
+
requirements: string[];
|
|
36
|
+
description?: string | undefined;
|
|
37
37
|
}>, {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
stepIndex?: number;
|
|
38
|
+
version: 1;
|
|
39
|
+
title: string;
|
|
40
|
+
steps: {
|
|
41
|
+
description: string;
|
|
42
|
+
stepIndex: number;
|
|
44
43
|
}[];
|
|
45
|
-
requirements
|
|
44
|
+
requirements: string[];
|
|
45
|
+
description?: string | undefined;
|
|
46
46
|
}, {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
stepIndex?: number;
|
|
47
|
+
version: 1;
|
|
48
|
+
title: string;
|
|
49
|
+
steps: {
|
|
50
|
+
description: string;
|
|
51
|
+
stepIndex: number;
|
|
53
52
|
}[];
|
|
54
|
-
requirements
|
|
53
|
+
requirements: string[];
|
|
54
|
+
description?: string | undefined;
|
|
55
55
|
}>;
|
|
56
56
|
export type ProjectTaskSpecification = z.output<typeof projectTaskSpecificationSchema>;
|
|
57
57
|
/** The host verifies the digest against the specification at the persistence boundary. */
|
|
@@ -66,72 +66,72 @@ export declare const projectTaskSpecificationSnapshotSchema: z.ZodObject<{
|
|
|
66
66
|
stepIndex: z.ZodNumber;
|
|
67
67
|
description: z.ZodString;
|
|
68
68
|
}, "strict", z.ZodTypeAny, {
|
|
69
|
-
description
|
|
70
|
-
stepIndex
|
|
69
|
+
description: string;
|
|
70
|
+
stepIndex: number;
|
|
71
71
|
}, {
|
|
72
|
-
description
|
|
73
|
-
stepIndex
|
|
72
|
+
description: string;
|
|
73
|
+
stepIndex: number;
|
|
74
74
|
}>, "many">;
|
|
75
75
|
}, "strict", z.ZodTypeAny, {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
stepIndex?: number;
|
|
76
|
+
version: 1;
|
|
77
|
+
title: string;
|
|
78
|
+
steps: {
|
|
79
|
+
description: string;
|
|
80
|
+
stepIndex: number;
|
|
82
81
|
}[];
|
|
83
|
-
requirements
|
|
82
|
+
requirements: string[];
|
|
83
|
+
description?: string | undefined;
|
|
84
84
|
}, {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
stepIndex?: number;
|
|
85
|
+
version: 1;
|
|
86
|
+
title: string;
|
|
87
|
+
steps: {
|
|
88
|
+
description: string;
|
|
89
|
+
stepIndex: number;
|
|
91
90
|
}[];
|
|
92
|
-
requirements
|
|
91
|
+
requirements: string[];
|
|
92
|
+
description?: string | undefined;
|
|
93
93
|
}>, {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
stepIndex?: number;
|
|
94
|
+
version: 1;
|
|
95
|
+
title: string;
|
|
96
|
+
steps: {
|
|
97
|
+
description: string;
|
|
98
|
+
stepIndex: number;
|
|
100
99
|
}[];
|
|
101
|
-
requirements
|
|
100
|
+
requirements: string[];
|
|
101
|
+
description?: string | undefined;
|
|
102
102
|
}, {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
stepIndex?: number;
|
|
103
|
+
version: 1;
|
|
104
|
+
title: string;
|
|
105
|
+
steps: {
|
|
106
|
+
description: string;
|
|
107
|
+
stepIndex: number;
|
|
109
108
|
}[];
|
|
110
|
-
requirements
|
|
109
|
+
requirements: string[];
|
|
110
|
+
description?: string | undefined;
|
|
111
111
|
}>;
|
|
112
112
|
}, "strict", z.ZodTypeAny, {
|
|
113
|
-
digest
|
|
114
|
-
specification
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
stepIndex?: number;
|
|
113
|
+
digest: string;
|
|
114
|
+
specification: {
|
|
115
|
+
version: 1;
|
|
116
|
+
title: string;
|
|
117
|
+
steps: {
|
|
118
|
+
description: string;
|
|
119
|
+
stepIndex: number;
|
|
121
120
|
}[];
|
|
122
|
-
requirements
|
|
121
|
+
requirements: string[];
|
|
122
|
+
description?: string | undefined;
|
|
123
123
|
};
|
|
124
124
|
}, {
|
|
125
|
-
digest
|
|
126
|
-
specification
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
stepIndex?: number;
|
|
125
|
+
digest: string;
|
|
126
|
+
specification: {
|
|
127
|
+
version: 1;
|
|
128
|
+
title: string;
|
|
129
|
+
steps: {
|
|
130
|
+
description: string;
|
|
131
|
+
stepIndex: number;
|
|
133
132
|
}[];
|
|
134
|
-
requirements
|
|
133
|
+
requirements: string[];
|
|
134
|
+
description?: string | undefined;
|
|
135
135
|
};
|
|
136
136
|
}>;
|
|
137
137
|
export type ProjectTaskSpecificationSnapshot = z.output<typeof projectTaskSpecificationSnapshotSchema>;
|
|
@@ -141,45 +141,45 @@ export declare const projectTaskEvidenceReferenceSchema: z.ZodDiscriminatedUnion
|
|
|
141
141
|
artifactId: z.ZodString;
|
|
142
142
|
versionId: z.ZodString;
|
|
143
143
|
}, "strict", z.ZodTypeAny, {
|
|
144
|
-
type
|
|
145
|
-
|
|
146
|
-
|
|
144
|
+
type: "artifact";
|
|
145
|
+
artifactId: string;
|
|
146
|
+
versionId: string;
|
|
147
147
|
}, {
|
|
148
|
-
type
|
|
149
|
-
|
|
150
|
-
|
|
148
|
+
type: "artifact";
|
|
149
|
+
artifactId: string;
|
|
150
|
+
versionId: string;
|
|
151
151
|
}>, z.ZodObject<{
|
|
152
152
|
type: z.ZodLiteral<"invocation_result">;
|
|
153
153
|
invocationId: z.ZodString;
|
|
154
154
|
revision: z.ZodNumber;
|
|
155
155
|
}, "strict", z.ZodTypeAny, {
|
|
156
|
-
type
|
|
157
|
-
revision
|
|
158
|
-
invocationId
|
|
156
|
+
type: "invocation_result";
|
|
157
|
+
revision: number;
|
|
158
|
+
invocationId: string;
|
|
159
159
|
}, {
|
|
160
|
-
type
|
|
161
|
-
revision
|
|
162
|
-
invocationId
|
|
160
|
+
type: "invocation_result";
|
|
161
|
+
revision: number;
|
|
162
|
+
invocationId: string;
|
|
163
163
|
}>, z.ZodObject<{
|
|
164
164
|
type: z.ZodLiteral<"workspace_snapshot">;
|
|
165
165
|
snapshotId: z.ZodString;
|
|
166
166
|
digest: z.ZodString;
|
|
167
167
|
}, "strict", z.ZodTypeAny, {
|
|
168
|
-
type
|
|
169
|
-
digest
|
|
170
|
-
snapshotId
|
|
168
|
+
type: "workspace_snapshot";
|
|
169
|
+
digest: string;
|
|
170
|
+
snapshotId: string;
|
|
171
171
|
}, {
|
|
172
|
-
type
|
|
173
|
-
digest
|
|
174
|
-
snapshotId
|
|
172
|
+
type: "workspace_snapshot";
|
|
173
|
+
digest: string;
|
|
174
|
+
snapshotId: string;
|
|
175
175
|
}>]>;
|
|
176
176
|
export type ProjectTaskEvidenceReference = z.output<typeof projectTaskEvidenceReferenceSchema>;
|
|
177
177
|
export declare const projectTaskExecutionPurposeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
178
178
|
type: z.ZodLiteral<"implementation">;
|
|
179
179
|
}, "strict", z.ZodTypeAny, {
|
|
180
|
-
type
|
|
180
|
+
type: "implementation";
|
|
181
181
|
}, {
|
|
182
|
-
type
|
|
182
|
+
type: "implementation";
|
|
183
183
|
}>, z.ZodObject<{
|
|
184
184
|
type: z.ZodLiteral<"review">;
|
|
185
185
|
implementationExecutionId: z.ZodString;
|
|
@@ -190,74 +190,74 @@ export declare const projectTaskExecutionPurposeSchema: z.ZodDiscriminatedUnion<
|
|
|
190
190
|
artifactId: z.ZodString;
|
|
191
191
|
versionId: z.ZodString;
|
|
192
192
|
}, "strict", z.ZodTypeAny, {
|
|
193
|
-
type
|
|
194
|
-
|
|
195
|
-
|
|
193
|
+
type: "artifact";
|
|
194
|
+
artifactId: string;
|
|
195
|
+
versionId: string;
|
|
196
196
|
}, {
|
|
197
|
-
type
|
|
198
|
-
|
|
199
|
-
|
|
197
|
+
type: "artifact";
|
|
198
|
+
artifactId: string;
|
|
199
|
+
versionId: string;
|
|
200
200
|
}>, z.ZodObject<{
|
|
201
201
|
type: z.ZodLiteral<"invocation_result">;
|
|
202
202
|
invocationId: z.ZodString;
|
|
203
203
|
revision: z.ZodNumber;
|
|
204
204
|
}, "strict", z.ZodTypeAny, {
|
|
205
|
-
type
|
|
206
|
-
revision
|
|
207
|
-
invocationId
|
|
205
|
+
type: "invocation_result";
|
|
206
|
+
revision: number;
|
|
207
|
+
invocationId: string;
|
|
208
208
|
}, {
|
|
209
|
-
type
|
|
210
|
-
revision
|
|
211
|
-
invocationId
|
|
209
|
+
type: "invocation_result";
|
|
210
|
+
revision: number;
|
|
211
|
+
invocationId: string;
|
|
212
212
|
}>, z.ZodObject<{
|
|
213
213
|
type: z.ZodLiteral<"workspace_snapshot">;
|
|
214
214
|
snapshotId: z.ZodString;
|
|
215
215
|
digest: z.ZodString;
|
|
216
216
|
}, "strict", z.ZodTypeAny, {
|
|
217
|
-
type
|
|
218
|
-
digest
|
|
219
|
-
snapshotId
|
|
217
|
+
type: "workspace_snapshot";
|
|
218
|
+
digest: string;
|
|
219
|
+
snapshotId: string;
|
|
220
220
|
}, {
|
|
221
|
-
type
|
|
222
|
-
digest
|
|
223
|
-
snapshotId
|
|
221
|
+
type: "workspace_snapshot";
|
|
222
|
+
digest: string;
|
|
223
|
+
snapshotId: string;
|
|
224
224
|
}>]>, "many">;
|
|
225
225
|
}, "strict", z.ZodTypeAny, {
|
|
226
|
-
type
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
type?: "artifact";
|
|
232
|
-
versionId?: string;
|
|
233
|
-
artifactId?: string;
|
|
226
|
+
type: "review";
|
|
227
|
+
evidence: ({
|
|
228
|
+
type: "artifact";
|
|
229
|
+
artifactId: string;
|
|
230
|
+
versionId: string;
|
|
234
231
|
} | {
|
|
235
|
-
type
|
|
236
|
-
revision
|
|
237
|
-
invocationId
|
|
232
|
+
type: "invocation_result";
|
|
233
|
+
revision: number;
|
|
234
|
+
invocationId: string;
|
|
238
235
|
} | {
|
|
239
|
-
type
|
|
240
|
-
digest
|
|
241
|
-
snapshotId
|
|
236
|
+
type: "workspace_snapshot";
|
|
237
|
+
digest: string;
|
|
238
|
+
snapshotId: string;
|
|
242
239
|
})[];
|
|
240
|
+
implementationExecutionId: string;
|
|
241
|
+
implementationInvocationId: string;
|
|
242
|
+
specificationDigest: string;
|
|
243
243
|
}, {
|
|
244
|
-
type
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
type?: "artifact";
|
|
250
|
-
versionId?: string;
|
|
251
|
-
artifactId?: string;
|
|
244
|
+
type: "review";
|
|
245
|
+
evidence: ({
|
|
246
|
+
type: "artifact";
|
|
247
|
+
artifactId: string;
|
|
248
|
+
versionId: string;
|
|
252
249
|
} | {
|
|
253
|
-
type
|
|
254
|
-
revision
|
|
255
|
-
invocationId
|
|
250
|
+
type: "invocation_result";
|
|
251
|
+
revision: number;
|
|
252
|
+
invocationId: string;
|
|
256
253
|
} | {
|
|
257
|
-
type
|
|
258
|
-
digest
|
|
259
|
-
snapshotId
|
|
254
|
+
type: "workspace_snapshot";
|
|
255
|
+
digest: string;
|
|
256
|
+
snapshotId: string;
|
|
260
257
|
})[];
|
|
258
|
+
implementationExecutionId: string;
|
|
259
|
+
implementationInvocationId: string;
|
|
260
|
+
specificationDigest: string;
|
|
261
261
|
}>]>;
|
|
262
262
|
export type ProjectTaskExecutionPurpose = z.output<typeof projectTaskExecutionPurposeSchema>;
|
|
263
263
|
export declare const projectTaskExecutionReferenceSchema: z.ZodObject<{
|
|
@@ -265,13 +265,13 @@ export declare const projectTaskExecutionReferenceSchema: z.ZodObject<{
|
|
|
265
265
|
projectTaskId: z.ZodString;
|
|
266
266
|
taskExecutionId: z.ZodString;
|
|
267
267
|
}, "strict", z.ZodTypeAny, {
|
|
268
|
-
projectId
|
|
269
|
-
projectTaskId
|
|
270
|
-
taskExecutionId
|
|
268
|
+
projectId: string;
|
|
269
|
+
projectTaskId: string;
|
|
270
|
+
taskExecutionId: string;
|
|
271
271
|
}, {
|
|
272
|
-
projectId
|
|
273
|
-
projectTaskId
|
|
274
|
-
taskExecutionId
|
|
272
|
+
projectId: string;
|
|
273
|
+
projectTaskId: string;
|
|
274
|
+
taskExecutionId: string;
|
|
275
275
|
}>;
|
|
276
276
|
export type ProjectTaskExecutionReference = z.output<typeof projectTaskExecutionReferenceSchema>;
|
|
277
277
|
/** Host-owned attempt context. Review is a new attempt and grants no completion authority. */
|
|
@@ -291,80 +291,80 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
|
|
|
291
291
|
stepIndex: z.ZodNumber;
|
|
292
292
|
description: z.ZodString;
|
|
293
293
|
}, "strict", z.ZodTypeAny, {
|
|
294
|
-
description
|
|
295
|
-
stepIndex
|
|
294
|
+
description: string;
|
|
295
|
+
stepIndex: number;
|
|
296
296
|
}, {
|
|
297
|
-
description
|
|
298
|
-
stepIndex
|
|
297
|
+
description: string;
|
|
298
|
+
stepIndex: number;
|
|
299
299
|
}>, "many">;
|
|
300
300
|
}, "strict", z.ZodTypeAny, {
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
stepIndex?: number;
|
|
301
|
+
version: 1;
|
|
302
|
+
title: string;
|
|
303
|
+
steps: {
|
|
304
|
+
description: string;
|
|
305
|
+
stepIndex: number;
|
|
307
306
|
}[];
|
|
308
|
-
requirements
|
|
307
|
+
requirements: string[];
|
|
308
|
+
description?: string | undefined;
|
|
309
309
|
}, {
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
stepIndex?: number;
|
|
310
|
+
version: 1;
|
|
311
|
+
title: string;
|
|
312
|
+
steps: {
|
|
313
|
+
description: string;
|
|
314
|
+
stepIndex: number;
|
|
316
315
|
}[];
|
|
317
|
-
requirements
|
|
316
|
+
requirements: string[];
|
|
317
|
+
description?: string | undefined;
|
|
318
318
|
}>, {
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
stepIndex?: number;
|
|
319
|
+
version: 1;
|
|
320
|
+
title: string;
|
|
321
|
+
steps: {
|
|
322
|
+
description: string;
|
|
323
|
+
stepIndex: number;
|
|
325
324
|
}[];
|
|
326
|
-
requirements
|
|
325
|
+
requirements: string[];
|
|
326
|
+
description?: string | undefined;
|
|
327
327
|
}, {
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
stepIndex?: number;
|
|
328
|
+
version: 1;
|
|
329
|
+
title: string;
|
|
330
|
+
steps: {
|
|
331
|
+
description: string;
|
|
332
|
+
stepIndex: number;
|
|
334
333
|
}[];
|
|
335
|
-
requirements
|
|
334
|
+
requirements: string[];
|
|
335
|
+
description?: string | undefined;
|
|
336
336
|
}>;
|
|
337
337
|
}, "strict", z.ZodTypeAny, {
|
|
338
|
-
digest
|
|
339
|
-
specification
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
stepIndex?: number;
|
|
338
|
+
digest: string;
|
|
339
|
+
specification: {
|
|
340
|
+
version: 1;
|
|
341
|
+
title: string;
|
|
342
|
+
steps: {
|
|
343
|
+
description: string;
|
|
344
|
+
stepIndex: number;
|
|
346
345
|
}[];
|
|
347
|
-
requirements
|
|
346
|
+
requirements: string[];
|
|
347
|
+
description?: string | undefined;
|
|
348
348
|
};
|
|
349
349
|
}, {
|
|
350
|
-
digest
|
|
351
|
-
specification
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
stepIndex?: number;
|
|
350
|
+
digest: string;
|
|
351
|
+
specification: {
|
|
352
|
+
version: 1;
|
|
353
|
+
title: string;
|
|
354
|
+
steps: {
|
|
355
|
+
description: string;
|
|
356
|
+
stepIndex: number;
|
|
358
357
|
}[];
|
|
359
|
-
requirements
|
|
358
|
+
requirements: string[];
|
|
359
|
+
description?: string | undefined;
|
|
360
360
|
};
|
|
361
361
|
}>;
|
|
362
362
|
purpose: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
363
363
|
type: z.ZodLiteral<"implementation">;
|
|
364
364
|
}, "strict", z.ZodTypeAny, {
|
|
365
|
-
type
|
|
365
|
+
type: "implementation";
|
|
366
366
|
}, {
|
|
367
|
-
type
|
|
367
|
+
type: "implementation";
|
|
368
368
|
}>, z.ZodObject<{
|
|
369
369
|
type: z.ZodLiteral<"review">;
|
|
370
370
|
implementationExecutionId: z.ZodString;
|
|
@@ -375,227 +375,227 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
|
|
|
375
375
|
artifactId: z.ZodString;
|
|
376
376
|
versionId: z.ZodString;
|
|
377
377
|
}, "strict", z.ZodTypeAny, {
|
|
378
|
-
type
|
|
379
|
-
|
|
380
|
-
|
|
378
|
+
type: "artifact";
|
|
379
|
+
artifactId: string;
|
|
380
|
+
versionId: string;
|
|
381
381
|
}, {
|
|
382
|
-
type
|
|
383
|
-
|
|
384
|
-
|
|
382
|
+
type: "artifact";
|
|
383
|
+
artifactId: string;
|
|
384
|
+
versionId: string;
|
|
385
385
|
}>, z.ZodObject<{
|
|
386
386
|
type: z.ZodLiteral<"invocation_result">;
|
|
387
387
|
invocationId: z.ZodString;
|
|
388
388
|
revision: z.ZodNumber;
|
|
389
389
|
}, "strict", z.ZodTypeAny, {
|
|
390
|
-
type
|
|
391
|
-
revision
|
|
392
|
-
invocationId
|
|
390
|
+
type: "invocation_result";
|
|
391
|
+
revision: number;
|
|
392
|
+
invocationId: string;
|
|
393
393
|
}, {
|
|
394
|
-
type
|
|
395
|
-
revision
|
|
396
|
-
invocationId
|
|
394
|
+
type: "invocation_result";
|
|
395
|
+
revision: number;
|
|
396
|
+
invocationId: string;
|
|
397
397
|
}>, z.ZodObject<{
|
|
398
398
|
type: z.ZodLiteral<"workspace_snapshot">;
|
|
399
399
|
snapshotId: z.ZodString;
|
|
400
400
|
digest: z.ZodString;
|
|
401
401
|
}, "strict", z.ZodTypeAny, {
|
|
402
|
-
type
|
|
403
|
-
digest
|
|
404
|
-
snapshotId
|
|
402
|
+
type: "workspace_snapshot";
|
|
403
|
+
digest: string;
|
|
404
|
+
snapshotId: string;
|
|
405
405
|
}, {
|
|
406
|
-
type
|
|
407
|
-
digest
|
|
408
|
-
snapshotId
|
|
406
|
+
type: "workspace_snapshot";
|
|
407
|
+
digest: string;
|
|
408
|
+
snapshotId: string;
|
|
409
409
|
}>]>, "many">;
|
|
410
410
|
}, "strict", z.ZodTypeAny, {
|
|
411
|
-
type
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
type?: "artifact";
|
|
417
|
-
versionId?: string;
|
|
418
|
-
artifactId?: string;
|
|
411
|
+
type: "review";
|
|
412
|
+
evidence: ({
|
|
413
|
+
type: "artifact";
|
|
414
|
+
artifactId: string;
|
|
415
|
+
versionId: string;
|
|
419
416
|
} | {
|
|
420
|
-
type
|
|
421
|
-
revision
|
|
422
|
-
invocationId
|
|
417
|
+
type: "invocation_result";
|
|
418
|
+
revision: number;
|
|
419
|
+
invocationId: string;
|
|
423
420
|
} | {
|
|
424
|
-
type
|
|
425
|
-
digest
|
|
426
|
-
snapshotId
|
|
421
|
+
type: "workspace_snapshot";
|
|
422
|
+
digest: string;
|
|
423
|
+
snapshotId: string;
|
|
427
424
|
})[];
|
|
425
|
+
implementationExecutionId: string;
|
|
426
|
+
implementationInvocationId: string;
|
|
427
|
+
specificationDigest: string;
|
|
428
428
|
}, {
|
|
429
|
-
type
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
type?: "artifact";
|
|
435
|
-
versionId?: string;
|
|
436
|
-
artifactId?: string;
|
|
429
|
+
type: "review";
|
|
430
|
+
evidence: ({
|
|
431
|
+
type: "artifact";
|
|
432
|
+
artifactId: string;
|
|
433
|
+
versionId: string;
|
|
437
434
|
} | {
|
|
438
|
-
type
|
|
439
|
-
revision
|
|
440
|
-
invocationId
|
|
435
|
+
type: "invocation_result";
|
|
436
|
+
revision: number;
|
|
437
|
+
invocationId: string;
|
|
441
438
|
} | {
|
|
442
|
-
type
|
|
443
|
-
digest
|
|
444
|
-
snapshotId
|
|
439
|
+
type: "workspace_snapshot";
|
|
440
|
+
digest: string;
|
|
441
|
+
snapshotId: string;
|
|
445
442
|
})[];
|
|
443
|
+
implementationExecutionId: string;
|
|
444
|
+
implementationInvocationId: string;
|
|
445
|
+
specificationDigest: string;
|
|
446
446
|
}>]>;
|
|
447
447
|
}, "strict", z.ZodTypeAny, {
|
|
448
|
-
projectId
|
|
449
|
-
|
|
450
|
-
|
|
448
|
+
projectId: string;
|
|
449
|
+
specification: {
|
|
450
|
+
digest: string;
|
|
451
|
+
specification: {
|
|
452
|
+
version: 1;
|
|
453
|
+
title: string;
|
|
454
|
+
steps: {
|
|
455
|
+
description: string;
|
|
456
|
+
stepIndex: number;
|
|
457
|
+
}[];
|
|
458
|
+
requirements: string[];
|
|
459
|
+
description?: string | undefined;
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
projectTaskId: string;
|
|
463
|
+
taskExecutionId: string;
|
|
464
|
+
purpose: {
|
|
465
|
+
type: "implementation";
|
|
451
466
|
} | {
|
|
452
|
-
type
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
type?: "artifact";
|
|
458
|
-
versionId?: string;
|
|
459
|
-
artifactId?: string;
|
|
467
|
+
type: "review";
|
|
468
|
+
evidence: ({
|
|
469
|
+
type: "artifact";
|
|
470
|
+
artifactId: string;
|
|
471
|
+
versionId: string;
|
|
460
472
|
} | {
|
|
461
|
-
type
|
|
462
|
-
revision
|
|
463
|
-
invocationId
|
|
473
|
+
type: "invocation_result";
|
|
474
|
+
revision: number;
|
|
475
|
+
invocationId: string;
|
|
464
476
|
} | {
|
|
465
|
-
type
|
|
466
|
-
digest
|
|
467
|
-
snapshotId
|
|
477
|
+
type: "workspace_snapshot";
|
|
478
|
+
digest: string;
|
|
479
|
+
snapshotId: string;
|
|
468
480
|
})[];
|
|
481
|
+
implementationExecutionId: string;
|
|
482
|
+
implementationInvocationId: string;
|
|
483
|
+
specificationDigest: string;
|
|
469
484
|
};
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
485
|
+
}, {
|
|
486
|
+
projectId: string;
|
|
487
|
+
specification: {
|
|
488
|
+
digest: string;
|
|
489
|
+
specification: {
|
|
490
|
+
version: 1;
|
|
491
|
+
title: string;
|
|
492
|
+
steps: {
|
|
493
|
+
description: string;
|
|
494
|
+
stepIndex: number;
|
|
479
495
|
}[];
|
|
480
|
-
requirements
|
|
496
|
+
requirements: string[];
|
|
497
|
+
description?: string | undefined;
|
|
481
498
|
};
|
|
482
499
|
};
|
|
483
|
-
projectTaskId
|
|
484
|
-
taskExecutionId
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
purpose?: {
|
|
488
|
-
type?: "implementation";
|
|
500
|
+
projectTaskId: string;
|
|
501
|
+
taskExecutionId: string;
|
|
502
|
+
purpose: {
|
|
503
|
+
type: "implementation";
|
|
489
504
|
} | {
|
|
490
|
-
type
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
type?: "artifact";
|
|
496
|
-
versionId?: string;
|
|
497
|
-
artifactId?: string;
|
|
505
|
+
type: "review";
|
|
506
|
+
evidence: ({
|
|
507
|
+
type: "artifact";
|
|
508
|
+
artifactId: string;
|
|
509
|
+
versionId: string;
|
|
498
510
|
} | {
|
|
499
|
-
type
|
|
500
|
-
revision
|
|
501
|
-
invocationId
|
|
511
|
+
type: "invocation_result";
|
|
512
|
+
revision: number;
|
|
513
|
+
invocationId: string;
|
|
502
514
|
} | {
|
|
503
|
-
type
|
|
504
|
-
digest
|
|
505
|
-
snapshotId
|
|
515
|
+
type: "workspace_snapshot";
|
|
516
|
+
digest: string;
|
|
517
|
+
snapshotId: string;
|
|
506
518
|
})[];
|
|
519
|
+
implementationExecutionId: string;
|
|
520
|
+
implementationInvocationId: string;
|
|
521
|
+
specificationDigest: string;
|
|
507
522
|
};
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
523
|
+
}>, {
|
|
524
|
+
projectId: string;
|
|
525
|
+
specification: {
|
|
526
|
+
digest: string;
|
|
527
|
+
specification: {
|
|
528
|
+
version: 1;
|
|
529
|
+
title: string;
|
|
530
|
+
steps: {
|
|
531
|
+
description: string;
|
|
532
|
+
stepIndex: number;
|
|
517
533
|
}[];
|
|
518
|
-
requirements
|
|
534
|
+
requirements: string[];
|
|
535
|
+
description?: string | undefined;
|
|
519
536
|
};
|
|
520
537
|
};
|
|
521
|
-
projectTaskId
|
|
522
|
-
taskExecutionId
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
purpose?: {
|
|
526
|
-
type?: "implementation";
|
|
538
|
+
projectTaskId: string;
|
|
539
|
+
taskExecutionId: string;
|
|
540
|
+
purpose: {
|
|
541
|
+
type: "implementation";
|
|
527
542
|
} | {
|
|
528
|
-
type
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
type?: "artifact";
|
|
534
|
-
versionId?: string;
|
|
535
|
-
artifactId?: string;
|
|
543
|
+
type: "review";
|
|
544
|
+
evidence: ({
|
|
545
|
+
type: "artifact";
|
|
546
|
+
artifactId: string;
|
|
547
|
+
versionId: string;
|
|
536
548
|
} | {
|
|
537
|
-
type
|
|
538
|
-
revision
|
|
539
|
-
invocationId
|
|
549
|
+
type: "invocation_result";
|
|
550
|
+
revision: number;
|
|
551
|
+
invocationId: string;
|
|
540
552
|
} | {
|
|
541
|
-
type
|
|
542
|
-
digest
|
|
543
|
-
snapshotId
|
|
553
|
+
type: "workspace_snapshot";
|
|
554
|
+
digest: string;
|
|
555
|
+
snapshotId: string;
|
|
544
556
|
})[];
|
|
557
|
+
implementationExecutionId: string;
|
|
558
|
+
implementationInvocationId: string;
|
|
559
|
+
specificationDigest: string;
|
|
545
560
|
};
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
561
|
+
}, {
|
|
562
|
+
projectId: string;
|
|
563
|
+
specification: {
|
|
564
|
+
digest: string;
|
|
565
|
+
specification: {
|
|
566
|
+
version: 1;
|
|
567
|
+
title: string;
|
|
568
|
+
steps: {
|
|
569
|
+
description: string;
|
|
570
|
+
stepIndex: number;
|
|
555
571
|
}[];
|
|
556
|
-
requirements
|
|
572
|
+
requirements: string[];
|
|
573
|
+
description?: string | undefined;
|
|
557
574
|
};
|
|
558
575
|
};
|
|
559
|
-
projectTaskId
|
|
560
|
-
taskExecutionId
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
purpose?: {
|
|
564
|
-
type?: "implementation";
|
|
576
|
+
projectTaskId: string;
|
|
577
|
+
taskExecutionId: string;
|
|
578
|
+
purpose: {
|
|
579
|
+
type: "implementation";
|
|
565
580
|
} | {
|
|
566
|
-
type
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
type?: "artifact";
|
|
572
|
-
versionId?: string;
|
|
573
|
-
artifactId?: string;
|
|
581
|
+
type: "review";
|
|
582
|
+
evidence: ({
|
|
583
|
+
type: "artifact";
|
|
584
|
+
artifactId: string;
|
|
585
|
+
versionId: string;
|
|
574
586
|
} | {
|
|
575
|
-
type
|
|
576
|
-
revision
|
|
577
|
-
invocationId
|
|
587
|
+
type: "invocation_result";
|
|
588
|
+
revision: number;
|
|
589
|
+
invocationId: string;
|
|
578
590
|
} | {
|
|
579
|
-
type
|
|
580
|
-
digest
|
|
581
|
-
snapshotId
|
|
591
|
+
type: "workspace_snapshot";
|
|
592
|
+
digest: string;
|
|
593
|
+
snapshotId: string;
|
|
582
594
|
})[];
|
|
595
|
+
implementationExecutionId: string;
|
|
596
|
+
implementationInvocationId: string;
|
|
597
|
+
specificationDigest: string;
|
|
583
598
|
};
|
|
584
|
-
specification?: {
|
|
585
|
-
digest?: string;
|
|
586
|
-
specification?: {
|
|
587
|
-
description?: string;
|
|
588
|
-
version?: 1;
|
|
589
|
-
title?: string;
|
|
590
|
-
steps?: {
|
|
591
|
-
description?: string;
|
|
592
|
-
stepIndex?: number;
|
|
593
|
-
}[];
|
|
594
|
-
requirements?: string[];
|
|
595
|
-
};
|
|
596
|
-
};
|
|
597
|
-
projectTaskId?: string;
|
|
598
|
-
taskExecutionId?: string;
|
|
599
599
|
}>;
|
|
600
600
|
export type ProjectTaskExecutionContext = z.output<typeof projectTaskExecutionContextSchema>;
|
|
601
601
|
/** A receipt is neither a business completion decision nor proof that the process has started. */
|
|
@@ -607,17 +607,17 @@ export declare const projectTaskDispatchReceiptSchema: z.ZodObject<{
|
|
|
607
607
|
invocationId: z.ZodString;
|
|
608
608
|
status: z.ZodEnum<["queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
|
|
609
609
|
}, "strict", z.ZodTypeAny, {
|
|
610
|
-
status
|
|
611
|
-
projectId
|
|
612
|
-
invocationId
|
|
613
|
-
projectTaskId
|
|
614
|
-
taskExecutionId
|
|
610
|
+
status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
|
|
611
|
+
projectId: string;
|
|
612
|
+
invocationId: string;
|
|
613
|
+
projectTaskId: string;
|
|
614
|
+
taskExecutionId: string;
|
|
615
615
|
}, {
|
|
616
|
-
status
|
|
617
|
-
projectId
|
|
618
|
-
invocationId
|
|
619
|
-
projectTaskId
|
|
620
|
-
taskExecutionId
|
|
616
|
+
status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
|
|
617
|
+
projectId: string;
|
|
618
|
+
invocationId: string;
|
|
619
|
+
projectTaskId: string;
|
|
620
|
+
taskExecutionId: string;
|
|
621
621
|
}>;
|
|
622
622
|
export type ProjectTaskDispatchReceipt = z.output<typeof projectTaskDispatchReceiptSchema>;
|
|
623
623
|
export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -629,18 +629,18 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
629
629
|
type: z.ZodLiteral<"group_member">;
|
|
630
630
|
participantId: z.ZodString;
|
|
631
631
|
}, "strict", z.ZodTypeAny, {
|
|
632
|
-
type
|
|
633
|
-
participantId
|
|
632
|
+
type: "group_member";
|
|
633
|
+
participantId: string;
|
|
634
634
|
}, {
|
|
635
|
-
type
|
|
636
|
-
participantId
|
|
635
|
+
type: "group_member";
|
|
636
|
+
participantId: string;
|
|
637
637
|
}>>;
|
|
638
638
|
purpose: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
639
639
|
type: z.ZodLiteral<"implementation">;
|
|
640
640
|
}, "strict", z.ZodTypeAny, {
|
|
641
|
-
type
|
|
641
|
+
type: "implementation";
|
|
642
642
|
}, {
|
|
643
|
-
type
|
|
643
|
+
type: "implementation";
|
|
644
644
|
}>, z.ZodObject<{
|
|
645
645
|
type: z.ZodLiteral<"review">;
|
|
646
646
|
implementationExecutionId: z.ZodString;
|
|
@@ -651,261 +651,261 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
651
651
|
artifactId: z.ZodString;
|
|
652
652
|
versionId: z.ZodString;
|
|
653
653
|
}, "strict", z.ZodTypeAny, {
|
|
654
|
-
type
|
|
655
|
-
|
|
656
|
-
|
|
654
|
+
type: "artifact";
|
|
655
|
+
artifactId: string;
|
|
656
|
+
versionId: string;
|
|
657
657
|
}, {
|
|
658
|
-
type
|
|
659
|
-
|
|
660
|
-
|
|
658
|
+
type: "artifact";
|
|
659
|
+
artifactId: string;
|
|
660
|
+
versionId: string;
|
|
661
661
|
}>, z.ZodObject<{
|
|
662
662
|
type: z.ZodLiteral<"invocation_result">;
|
|
663
663
|
invocationId: z.ZodString;
|
|
664
664
|
revision: z.ZodNumber;
|
|
665
665
|
}, "strict", z.ZodTypeAny, {
|
|
666
|
-
type
|
|
667
|
-
revision
|
|
668
|
-
invocationId
|
|
666
|
+
type: "invocation_result";
|
|
667
|
+
revision: number;
|
|
668
|
+
invocationId: string;
|
|
669
669
|
}, {
|
|
670
|
-
type
|
|
671
|
-
revision
|
|
672
|
-
invocationId
|
|
670
|
+
type: "invocation_result";
|
|
671
|
+
revision: number;
|
|
672
|
+
invocationId: string;
|
|
673
673
|
}>, z.ZodObject<{
|
|
674
674
|
type: z.ZodLiteral<"workspace_snapshot">;
|
|
675
675
|
snapshotId: z.ZodString;
|
|
676
676
|
digest: z.ZodString;
|
|
677
677
|
}, "strict", z.ZodTypeAny, {
|
|
678
|
-
type
|
|
679
|
-
digest
|
|
680
|
-
snapshotId
|
|
678
|
+
type: "workspace_snapshot";
|
|
679
|
+
digest: string;
|
|
680
|
+
snapshotId: string;
|
|
681
681
|
}, {
|
|
682
|
-
type
|
|
683
|
-
digest
|
|
684
|
-
snapshotId
|
|
682
|
+
type: "workspace_snapshot";
|
|
683
|
+
digest: string;
|
|
684
|
+
snapshotId: string;
|
|
685
685
|
}>]>, "many">;
|
|
686
686
|
}, "strict", z.ZodTypeAny, {
|
|
687
|
-
type
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
type?: "artifact";
|
|
693
|
-
versionId?: string;
|
|
694
|
-
artifactId?: string;
|
|
687
|
+
type: "review";
|
|
688
|
+
evidence: ({
|
|
689
|
+
type: "artifact";
|
|
690
|
+
artifactId: string;
|
|
691
|
+
versionId: string;
|
|
695
692
|
} | {
|
|
696
|
-
type
|
|
697
|
-
revision
|
|
698
|
-
invocationId
|
|
693
|
+
type: "invocation_result";
|
|
694
|
+
revision: number;
|
|
695
|
+
invocationId: string;
|
|
699
696
|
} | {
|
|
700
|
-
type
|
|
701
|
-
digest
|
|
702
|
-
snapshotId
|
|
697
|
+
type: "workspace_snapshot";
|
|
698
|
+
digest: string;
|
|
699
|
+
snapshotId: string;
|
|
703
700
|
})[];
|
|
701
|
+
implementationExecutionId: string;
|
|
702
|
+
implementationInvocationId: string;
|
|
703
|
+
specificationDigest: string;
|
|
704
704
|
}, {
|
|
705
|
-
type
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
type?: "artifact";
|
|
711
|
-
versionId?: string;
|
|
712
|
-
artifactId?: string;
|
|
705
|
+
type: "review";
|
|
706
|
+
evidence: ({
|
|
707
|
+
type: "artifact";
|
|
708
|
+
artifactId: string;
|
|
709
|
+
versionId: string;
|
|
713
710
|
} | {
|
|
714
|
-
type
|
|
715
|
-
revision
|
|
716
|
-
invocationId
|
|
711
|
+
type: "invocation_result";
|
|
712
|
+
revision: number;
|
|
713
|
+
invocationId: string;
|
|
717
714
|
} | {
|
|
718
|
-
type
|
|
719
|
-
digest
|
|
720
|
-
snapshotId
|
|
715
|
+
type: "workspace_snapshot";
|
|
716
|
+
digest: string;
|
|
717
|
+
snapshotId: string;
|
|
721
718
|
})[];
|
|
719
|
+
implementationExecutionId: string;
|
|
720
|
+
implementationInvocationId: string;
|
|
721
|
+
specificationDigest: string;
|
|
722
722
|
}>]>>;
|
|
723
723
|
delivery: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
724
724
|
mode: z.ZodLiteral<"none">;
|
|
725
725
|
}, "strict", z.ZodTypeAny, {
|
|
726
|
-
mode
|
|
726
|
+
mode: "none";
|
|
727
727
|
}, {
|
|
728
|
-
mode
|
|
728
|
+
mode: "none";
|
|
729
729
|
}>, z.ZodObject<{
|
|
730
730
|
mode: z.ZodLiteral<"files">;
|
|
731
731
|
paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">>;
|
|
732
732
|
}, "strict", z.ZodTypeAny, {
|
|
733
|
-
mode
|
|
734
|
-
paths?: string[];
|
|
733
|
+
mode: "files";
|
|
734
|
+
paths?: string[] | undefined;
|
|
735
735
|
}, {
|
|
736
|
-
mode
|
|
737
|
-
paths?: string[];
|
|
736
|
+
mode: "files";
|
|
737
|
+
paths?: string[] | undefined;
|
|
738
738
|
}>, z.ZodObject<{
|
|
739
739
|
mode: z.ZodLiteral<"archive">;
|
|
740
740
|
paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">>;
|
|
741
741
|
}, "strict", z.ZodTypeAny, {
|
|
742
|
-
mode
|
|
743
|
-
paths?: string[];
|
|
742
|
+
mode: "archive";
|
|
743
|
+
paths?: string[] | undefined;
|
|
744
744
|
}, {
|
|
745
|
-
mode
|
|
746
|
-
paths?: string[];
|
|
745
|
+
mode: "archive";
|
|
746
|
+
paths?: string[] | undefined;
|
|
747
747
|
}>]>>;
|
|
748
748
|
instructions: z.ZodDefault<z.ZodString>;
|
|
749
749
|
}, "strict", z.ZodTypeAny, {
|
|
750
|
-
requestId
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
instructions?: string;
|
|
756
|
-
taskId?: string;
|
|
757
|
-
bindingId?: string;
|
|
750
|
+
requestId: string;
|
|
751
|
+
expectedRevision: number;
|
|
752
|
+
taskId: string;
|
|
753
|
+
instructions: string;
|
|
754
|
+
bindingId?: string | undefined;
|
|
758
755
|
purpose?: {
|
|
759
|
-
type
|
|
756
|
+
type: "implementation";
|
|
760
757
|
} | {
|
|
761
|
-
type
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
type?: "artifact";
|
|
767
|
-
versionId?: string;
|
|
768
|
-
artifactId?: string;
|
|
758
|
+
type: "review";
|
|
759
|
+
evidence: ({
|
|
760
|
+
type: "artifact";
|
|
761
|
+
artifactId: string;
|
|
762
|
+
versionId: string;
|
|
769
763
|
} | {
|
|
770
|
-
type
|
|
771
|
-
revision
|
|
772
|
-
invocationId
|
|
764
|
+
type: "invocation_result";
|
|
765
|
+
revision: number;
|
|
766
|
+
invocationId: string;
|
|
773
767
|
} | {
|
|
774
|
-
type
|
|
775
|
-
digest
|
|
776
|
-
snapshotId
|
|
768
|
+
type: "workspace_snapshot";
|
|
769
|
+
digest: string;
|
|
770
|
+
snapshotId: string;
|
|
777
771
|
})[];
|
|
778
|
-
|
|
779
|
-
|
|
772
|
+
implementationExecutionId: string;
|
|
773
|
+
implementationInvocationId: string;
|
|
774
|
+
specificationDigest: string;
|
|
775
|
+
} | undefined;
|
|
776
|
+
target?: {
|
|
777
|
+
type: "group_member";
|
|
778
|
+
participantId: string;
|
|
779
|
+
} | undefined;
|
|
780
780
|
delivery?: {
|
|
781
|
-
mode
|
|
781
|
+
mode: "none";
|
|
782
782
|
} | {
|
|
783
|
-
mode
|
|
784
|
-
paths?: string[];
|
|
783
|
+
mode: "files";
|
|
784
|
+
paths?: string[] | undefined;
|
|
785
785
|
} | {
|
|
786
|
-
mode
|
|
787
|
-
paths?: string[];
|
|
788
|
-
};
|
|
786
|
+
mode: "archive";
|
|
787
|
+
paths?: string[] | undefined;
|
|
788
|
+
} | undefined;
|
|
789
789
|
}, {
|
|
790
|
-
requestId
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
};
|
|
795
|
-
instructions?: string;
|
|
796
|
-
taskId?: string;
|
|
797
|
-
bindingId?: string;
|
|
790
|
+
requestId: string;
|
|
791
|
+
expectedRevision: number;
|
|
792
|
+
taskId: string;
|
|
793
|
+
bindingId?: string | undefined;
|
|
798
794
|
purpose?: {
|
|
799
|
-
type
|
|
795
|
+
type: "implementation";
|
|
800
796
|
} | {
|
|
801
|
-
type
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
type?: "artifact";
|
|
807
|
-
versionId?: string;
|
|
808
|
-
artifactId?: string;
|
|
797
|
+
type: "review";
|
|
798
|
+
evidence: ({
|
|
799
|
+
type: "artifact";
|
|
800
|
+
artifactId: string;
|
|
801
|
+
versionId: string;
|
|
809
802
|
} | {
|
|
810
|
-
type
|
|
811
|
-
revision
|
|
812
|
-
invocationId
|
|
803
|
+
type: "invocation_result";
|
|
804
|
+
revision: number;
|
|
805
|
+
invocationId: string;
|
|
813
806
|
} | {
|
|
814
|
-
type
|
|
815
|
-
digest
|
|
816
|
-
snapshotId
|
|
807
|
+
type: "workspace_snapshot";
|
|
808
|
+
digest: string;
|
|
809
|
+
snapshotId: string;
|
|
817
810
|
})[];
|
|
818
|
-
|
|
819
|
-
|
|
811
|
+
implementationExecutionId: string;
|
|
812
|
+
implementationInvocationId: string;
|
|
813
|
+
specificationDigest: string;
|
|
814
|
+
} | undefined;
|
|
815
|
+
target?: {
|
|
816
|
+
type: "group_member";
|
|
817
|
+
participantId: string;
|
|
818
|
+
} | undefined;
|
|
820
819
|
delivery?: {
|
|
821
|
-
mode
|
|
820
|
+
mode: "none";
|
|
822
821
|
} | {
|
|
823
|
-
mode
|
|
824
|
-
paths?: string[];
|
|
822
|
+
mode: "files";
|
|
823
|
+
paths?: string[] | undefined;
|
|
825
824
|
} | {
|
|
826
|
-
mode
|
|
827
|
-
paths?: string[];
|
|
828
|
-
};
|
|
825
|
+
mode: "archive";
|
|
826
|
+
paths?: string[] | undefined;
|
|
827
|
+
} | undefined;
|
|
828
|
+
instructions?: string | undefined;
|
|
829
829
|
}>, {
|
|
830
|
-
requestId
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
instructions?: string;
|
|
836
|
-
taskId?: string;
|
|
837
|
-
bindingId?: string;
|
|
830
|
+
requestId: string;
|
|
831
|
+
expectedRevision: number;
|
|
832
|
+
taskId: string;
|
|
833
|
+
instructions: string;
|
|
834
|
+
bindingId?: string | undefined;
|
|
838
835
|
purpose?: {
|
|
839
|
-
type
|
|
836
|
+
type: "implementation";
|
|
840
837
|
} | {
|
|
841
|
-
type
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
type?: "artifact";
|
|
847
|
-
versionId?: string;
|
|
848
|
-
artifactId?: string;
|
|
838
|
+
type: "review";
|
|
839
|
+
evidence: ({
|
|
840
|
+
type: "artifact";
|
|
841
|
+
artifactId: string;
|
|
842
|
+
versionId: string;
|
|
849
843
|
} | {
|
|
850
|
-
type
|
|
851
|
-
revision
|
|
852
|
-
invocationId
|
|
844
|
+
type: "invocation_result";
|
|
845
|
+
revision: number;
|
|
846
|
+
invocationId: string;
|
|
853
847
|
} | {
|
|
854
|
-
type
|
|
855
|
-
digest
|
|
856
|
-
snapshotId
|
|
848
|
+
type: "workspace_snapshot";
|
|
849
|
+
digest: string;
|
|
850
|
+
snapshotId: string;
|
|
857
851
|
})[];
|
|
858
|
-
|
|
859
|
-
|
|
852
|
+
implementationExecutionId: string;
|
|
853
|
+
implementationInvocationId: string;
|
|
854
|
+
specificationDigest: string;
|
|
855
|
+
} | undefined;
|
|
856
|
+
target?: {
|
|
857
|
+
type: "group_member";
|
|
858
|
+
participantId: string;
|
|
859
|
+
} | undefined;
|
|
860
860
|
delivery?: {
|
|
861
|
-
mode
|
|
861
|
+
mode: "none";
|
|
862
862
|
} | {
|
|
863
|
-
mode
|
|
864
|
-
paths?: string[];
|
|
863
|
+
mode: "files";
|
|
864
|
+
paths?: string[] | undefined;
|
|
865
865
|
} | {
|
|
866
|
-
mode
|
|
867
|
-
paths?: string[];
|
|
868
|
-
};
|
|
866
|
+
mode: "archive";
|
|
867
|
+
paths?: string[] | undefined;
|
|
868
|
+
} | undefined;
|
|
869
869
|
}, {
|
|
870
|
-
requestId
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
};
|
|
875
|
-
instructions?: string;
|
|
876
|
-
taskId?: string;
|
|
877
|
-
bindingId?: string;
|
|
870
|
+
requestId: string;
|
|
871
|
+
expectedRevision: number;
|
|
872
|
+
taskId: string;
|
|
873
|
+
bindingId?: string | undefined;
|
|
878
874
|
purpose?: {
|
|
879
|
-
type
|
|
875
|
+
type: "implementation";
|
|
880
876
|
} | {
|
|
881
|
-
type
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
type?: "artifact";
|
|
887
|
-
versionId?: string;
|
|
888
|
-
artifactId?: string;
|
|
877
|
+
type: "review";
|
|
878
|
+
evidence: ({
|
|
879
|
+
type: "artifact";
|
|
880
|
+
artifactId: string;
|
|
881
|
+
versionId: string;
|
|
889
882
|
} | {
|
|
890
|
-
type
|
|
891
|
-
revision
|
|
892
|
-
invocationId
|
|
883
|
+
type: "invocation_result";
|
|
884
|
+
revision: number;
|
|
885
|
+
invocationId: string;
|
|
893
886
|
} | {
|
|
894
|
-
type
|
|
895
|
-
digest
|
|
896
|
-
snapshotId
|
|
887
|
+
type: "workspace_snapshot";
|
|
888
|
+
digest: string;
|
|
889
|
+
snapshotId: string;
|
|
897
890
|
})[];
|
|
898
|
-
|
|
899
|
-
|
|
891
|
+
implementationExecutionId: string;
|
|
892
|
+
implementationInvocationId: string;
|
|
893
|
+
specificationDigest: string;
|
|
894
|
+
} | undefined;
|
|
895
|
+
target?: {
|
|
896
|
+
type: "group_member";
|
|
897
|
+
participantId: string;
|
|
898
|
+
} | undefined;
|
|
900
899
|
delivery?: {
|
|
901
|
-
mode
|
|
900
|
+
mode: "none";
|
|
902
901
|
} | {
|
|
903
|
-
mode
|
|
904
|
-
paths?: string[];
|
|
902
|
+
mode: "files";
|
|
903
|
+
paths?: string[] | undefined;
|
|
905
904
|
} | {
|
|
906
|
-
mode
|
|
907
|
-
paths?: string[];
|
|
908
|
-
};
|
|
905
|
+
mode: "archive";
|
|
906
|
+
paths?: string[] | undefined;
|
|
907
|
+
} | undefined;
|
|
908
|
+
instructions?: string | undefined;
|
|
909
909
|
}>;
|
|
910
910
|
export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObject<Omit<{
|
|
911
911
|
requestId: z.ZodString;
|
|
@@ -916,18 +916,18 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
|
|
|
916
916
|
type: z.ZodLiteral<"group_member">;
|
|
917
917
|
participantId: z.ZodString;
|
|
918
918
|
}, "strict", z.ZodTypeAny, {
|
|
919
|
-
type
|
|
920
|
-
participantId
|
|
919
|
+
type: "group_member";
|
|
920
|
+
participantId: string;
|
|
921
921
|
}, {
|
|
922
|
-
type
|
|
923
|
-
participantId
|
|
922
|
+
type: "group_member";
|
|
923
|
+
participantId: string;
|
|
924
924
|
}>>;
|
|
925
925
|
purpose: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
926
926
|
type: z.ZodLiteral<"implementation">;
|
|
927
927
|
}, "strict", z.ZodTypeAny, {
|
|
928
|
-
type
|
|
928
|
+
type: "implementation";
|
|
929
929
|
}, {
|
|
930
|
-
type
|
|
930
|
+
type: "implementation";
|
|
931
931
|
}>, z.ZodObject<{
|
|
932
932
|
type: z.ZodLiteral<"review">;
|
|
933
933
|
implementationExecutionId: z.ZodString;
|
|
@@ -938,257 +938,257 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
|
|
|
938
938
|
artifactId: z.ZodString;
|
|
939
939
|
versionId: z.ZodString;
|
|
940
940
|
}, "strict", z.ZodTypeAny, {
|
|
941
|
-
type
|
|
942
|
-
|
|
943
|
-
|
|
941
|
+
type: "artifact";
|
|
942
|
+
artifactId: string;
|
|
943
|
+
versionId: string;
|
|
944
944
|
}, {
|
|
945
|
-
type
|
|
946
|
-
|
|
947
|
-
|
|
945
|
+
type: "artifact";
|
|
946
|
+
artifactId: string;
|
|
947
|
+
versionId: string;
|
|
948
948
|
}>, z.ZodObject<{
|
|
949
949
|
type: z.ZodLiteral<"invocation_result">;
|
|
950
950
|
invocationId: z.ZodString;
|
|
951
951
|
revision: z.ZodNumber;
|
|
952
952
|
}, "strict", z.ZodTypeAny, {
|
|
953
|
-
type
|
|
954
|
-
revision
|
|
955
|
-
invocationId
|
|
953
|
+
type: "invocation_result";
|
|
954
|
+
revision: number;
|
|
955
|
+
invocationId: string;
|
|
956
956
|
}, {
|
|
957
|
-
type
|
|
958
|
-
revision
|
|
959
|
-
invocationId
|
|
957
|
+
type: "invocation_result";
|
|
958
|
+
revision: number;
|
|
959
|
+
invocationId: string;
|
|
960
960
|
}>, z.ZodObject<{
|
|
961
961
|
type: z.ZodLiteral<"workspace_snapshot">;
|
|
962
962
|
snapshotId: z.ZodString;
|
|
963
963
|
digest: z.ZodString;
|
|
964
964
|
}, "strict", z.ZodTypeAny, {
|
|
965
|
-
type
|
|
966
|
-
digest
|
|
967
|
-
snapshotId
|
|
965
|
+
type: "workspace_snapshot";
|
|
966
|
+
digest: string;
|
|
967
|
+
snapshotId: string;
|
|
968
968
|
}, {
|
|
969
|
-
type
|
|
970
|
-
digest
|
|
971
|
-
snapshotId
|
|
969
|
+
type: "workspace_snapshot";
|
|
970
|
+
digest: string;
|
|
971
|
+
snapshotId: string;
|
|
972
972
|
}>]>, "many">;
|
|
973
973
|
}, "strict", z.ZodTypeAny, {
|
|
974
|
-
type
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
type?: "artifact";
|
|
980
|
-
versionId?: string;
|
|
981
|
-
artifactId?: string;
|
|
974
|
+
type: "review";
|
|
975
|
+
evidence: ({
|
|
976
|
+
type: "artifact";
|
|
977
|
+
artifactId: string;
|
|
978
|
+
versionId: string;
|
|
982
979
|
} | {
|
|
983
|
-
type
|
|
984
|
-
revision
|
|
985
|
-
invocationId
|
|
980
|
+
type: "invocation_result";
|
|
981
|
+
revision: number;
|
|
982
|
+
invocationId: string;
|
|
986
983
|
} | {
|
|
987
|
-
type
|
|
988
|
-
digest
|
|
989
|
-
snapshotId
|
|
984
|
+
type: "workspace_snapshot";
|
|
985
|
+
digest: string;
|
|
986
|
+
snapshotId: string;
|
|
990
987
|
})[];
|
|
988
|
+
implementationExecutionId: string;
|
|
989
|
+
implementationInvocationId: string;
|
|
990
|
+
specificationDigest: string;
|
|
991
991
|
}, {
|
|
992
|
-
type
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
type?: "artifact";
|
|
998
|
-
versionId?: string;
|
|
999
|
-
artifactId?: string;
|
|
992
|
+
type: "review";
|
|
993
|
+
evidence: ({
|
|
994
|
+
type: "artifact";
|
|
995
|
+
artifactId: string;
|
|
996
|
+
versionId: string;
|
|
1000
997
|
} | {
|
|
1001
|
-
type
|
|
1002
|
-
revision
|
|
1003
|
-
invocationId
|
|
998
|
+
type: "invocation_result";
|
|
999
|
+
revision: number;
|
|
1000
|
+
invocationId: string;
|
|
1004
1001
|
} | {
|
|
1005
|
-
type
|
|
1006
|
-
digest
|
|
1007
|
-
snapshotId
|
|
1002
|
+
type: "workspace_snapshot";
|
|
1003
|
+
digest: string;
|
|
1004
|
+
snapshotId: string;
|
|
1008
1005
|
})[];
|
|
1006
|
+
implementationExecutionId: string;
|
|
1007
|
+
implementationInvocationId: string;
|
|
1008
|
+
specificationDigest: string;
|
|
1009
1009
|
}>]>>;
|
|
1010
1010
|
delivery: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
1011
1011
|
mode: z.ZodLiteral<"none">;
|
|
1012
1012
|
}, "strict", z.ZodTypeAny, {
|
|
1013
|
-
mode
|
|
1013
|
+
mode: "none";
|
|
1014
1014
|
}, {
|
|
1015
|
-
mode
|
|
1015
|
+
mode: "none";
|
|
1016
1016
|
}>, z.ZodObject<{
|
|
1017
1017
|
mode: z.ZodLiteral<"files">;
|
|
1018
1018
|
paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">>;
|
|
1019
1019
|
}, "strict", z.ZodTypeAny, {
|
|
1020
|
-
mode
|
|
1021
|
-
paths?: string[];
|
|
1020
|
+
mode: "files";
|
|
1021
|
+
paths?: string[] | undefined;
|
|
1022
1022
|
}, {
|
|
1023
|
-
mode
|
|
1024
|
-
paths?: string[];
|
|
1023
|
+
mode: "files";
|
|
1024
|
+
paths?: string[] | undefined;
|
|
1025
1025
|
}>, z.ZodObject<{
|
|
1026
1026
|
mode: z.ZodLiteral<"archive">;
|
|
1027
1027
|
paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">>;
|
|
1028
1028
|
}, "strict", z.ZodTypeAny, {
|
|
1029
|
-
mode
|
|
1030
|
-
paths?: string[];
|
|
1029
|
+
mode: "archive";
|
|
1030
|
+
paths?: string[] | undefined;
|
|
1031
1031
|
}, {
|
|
1032
|
-
mode
|
|
1033
|
-
paths?: string[];
|
|
1032
|
+
mode: "archive";
|
|
1033
|
+
paths?: string[] | undefined;
|
|
1034
1034
|
}>]>>;
|
|
1035
1035
|
instructions: z.ZodDefault<z.ZodString>;
|
|
1036
1036
|
}, "requestId">, "strict", z.ZodTypeAny, {
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
instructions?: string;
|
|
1042
|
-
taskId?: string;
|
|
1043
|
-
bindingId?: string;
|
|
1037
|
+
expectedRevision: number;
|
|
1038
|
+
taskId: string;
|
|
1039
|
+
instructions: string;
|
|
1040
|
+
bindingId?: string | undefined;
|
|
1044
1041
|
purpose?: {
|
|
1045
|
-
type
|
|
1042
|
+
type: "implementation";
|
|
1046
1043
|
} | {
|
|
1047
|
-
type
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
type?: "artifact";
|
|
1053
|
-
versionId?: string;
|
|
1054
|
-
artifactId?: string;
|
|
1044
|
+
type: "review";
|
|
1045
|
+
evidence: ({
|
|
1046
|
+
type: "artifact";
|
|
1047
|
+
artifactId: string;
|
|
1048
|
+
versionId: string;
|
|
1055
1049
|
} | {
|
|
1056
|
-
type
|
|
1057
|
-
revision
|
|
1058
|
-
invocationId
|
|
1050
|
+
type: "invocation_result";
|
|
1051
|
+
revision: number;
|
|
1052
|
+
invocationId: string;
|
|
1059
1053
|
} | {
|
|
1060
|
-
type
|
|
1061
|
-
digest
|
|
1062
|
-
snapshotId
|
|
1054
|
+
type: "workspace_snapshot";
|
|
1055
|
+
digest: string;
|
|
1056
|
+
snapshotId: string;
|
|
1063
1057
|
})[];
|
|
1064
|
-
|
|
1065
|
-
|
|
1058
|
+
implementationExecutionId: string;
|
|
1059
|
+
implementationInvocationId: string;
|
|
1060
|
+
specificationDigest: string;
|
|
1061
|
+
} | undefined;
|
|
1062
|
+
target?: {
|
|
1063
|
+
type: "group_member";
|
|
1064
|
+
participantId: string;
|
|
1065
|
+
} | undefined;
|
|
1066
1066
|
delivery?: {
|
|
1067
|
-
mode
|
|
1067
|
+
mode: "none";
|
|
1068
1068
|
} | {
|
|
1069
|
-
mode
|
|
1070
|
-
paths?: string[];
|
|
1069
|
+
mode: "files";
|
|
1070
|
+
paths?: string[] | undefined;
|
|
1071
1071
|
} | {
|
|
1072
|
-
mode
|
|
1073
|
-
paths?: string[];
|
|
1074
|
-
};
|
|
1072
|
+
mode: "archive";
|
|
1073
|
+
paths?: string[] | undefined;
|
|
1074
|
+
} | undefined;
|
|
1075
1075
|
}, {
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
};
|
|
1080
|
-
instructions?: string;
|
|
1081
|
-
taskId?: string;
|
|
1082
|
-
bindingId?: string;
|
|
1076
|
+
expectedRevision: number;
|
|
1077
|
+
taskId: string;
|
|
1078
|
+
bindingId?: string | undefined;
|
|
1083
1079
|
purpose?: {
|
|
1084
|
-
type
|
|
1080
|
+
type: "implementation";
|
|
1085
1081
|
} | {
|
|
1086
|
-
type
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
type?: "artifact";
|
|
1092
|
-
versionId?: string;
|
|
1093
|
-
artifactId?: string;
|
|
1082
|
+
type: "review";
|
|
1083
|
+
evidence: ({
|
|
1084
|
+
type: "artifact";
|
|
1085
|
+
artifactId: string;
|
|
1086
|
+
versionId: string;
|
|
1094
1087
|
} | {
|
|
1095
|
-
type
|
|
1096
|
-
revision
|
|
1097
|
-
invocationId
|
|
1088
|
+
type: "invocation_result";
|
|
1089
|
+
revision: number;
|
|
1090
|
+
invocationId: string;
|
|
1098
1091
|
} | {
|
|
1099
|
-
type
|
|
1100
|
-
digest
|
|
1101
|
-
snapshotId
|
|
1092
|
+
type: "workspace_snapshot";
|
|
1093
|
+
digest: string;
|
|
1094
|
+
snapshotId: string;
|
|
1102
1095
|
})[];
|
|
1103
|
-
|
|
1104
|
-
|
|
1096
|
+
implementationExecutionId: string;
|
|
1097
|
+
implementationInvocationId: string;
|
|
1098
|
+
specificationDigest: string;
|
|
1099
|
+
} | undefined;
|
|
1100
|
+
target?: {
|
|
1101
|
+
type: "group_member";
|
|
1102
|
+
participantId: string;
|
|
1103
|
+
} | undefined;
|
|
1105
1104
|
delivery?: {
|
|
1106
|
-
mode
|
|
1105
|
+
mode: "none";
|
|
1107
1106
|
} | {
|
|
1108
|
-
mode
|
|
1109
|
-
paths?: string[];
|
|
1107
|
+
mode: "files";
|
|
1108
|
+
paths?: string[] | undefined;
|
|
1110
1109
|
} | {
|
|
1111
|
-
mode
|
|
1112
|
-
paths?: string[];
|
|
1113
|
-
};
|
|
1110
|
+
mode: "archive";
|
|
1111
|
+
paths?: string[] | undefined;
|
|
1112
|
+
} | undefined;
|
|
1113
|
+
instructions?: string | undefined;
|
|
1114
1114
|
}>, {
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
instructions?: string;
|
|
1120
|
-
taskId?: string;
|
|
1121
|
-
bindingId?: string;
|
|
1115
|
+
expectedRevision: number;
|
|
1116
|
+
taskId: string;
|
|
1117
|
+
instructions: string;
|
|
1118
|
+
bindingId?: string | undefined;
|
|
1122
1119
|
purpose?: {
|
|
1123
|
-
type
|
|
1120
|
+
type: "implementation";
|
|
1124
1121
|
} | {
|
|
1125
|
-
type
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
type?: "artifact";
|
|
1131
|
-
versionId?: string;
|
|
1132
|
-
artifactId?: string;
|
|
1122
|
+
type: "review";
|
|
1123
|
+
evidence: ({
|
|
1124
|
+
type: "artifact";
|
|
1125
|
+
artifactId: string;
|
|
1126
|
+
versionId: string;
|
|
1133
1127
|
} | {
|
|
1134
|
-
type
|
|
1135
|
-
revision
|
|
1136
|
-
invocationId
|
|
1128
|
+
type: "invocation_result";
|
|
1129
|
+
revision: number;
|
|
1130
|
+
invocationId: string;
|
|
1137
1131
|
} | {
|
|
1138
|
-
type
|
|
1139
|
-
digest
|
|
1140
|
-
snapshotId
|
|
1132
|
+
type: "workspace_snapshot";
|
|
1133
|
+
digest: string;
|
|
1134
|
+
snapshotId: string;
|
|
1141
1135
|
})[];
|
|
1142
|
-
|
|
1143
|
-
|
|
1136
|
+
implementationExecutionId: string;
|
|
1137
|
+
implementationInvocationId: string;
|
|
1138
|
+
specificationDigest: string;
|
|
1139
|
+
} | undefined;
|
|
1140
|
+
target?: {
|
|
1141
|
+
type: "group_member";
|
|
1142
|
+
participantId: string;
|
|
1143
|
+
} | undefined;
|
|
1144
1144
|
delivery?: {
|
|
1145
|
-
mode
|
|
1145
|
+
mode: "none";
|
|
1146
1146
|
} | {
|
|
1147
|
-
mode
|
|
1148
|
-
paths?: string[];
|
|
1147
|
+
mode: "files";
|
|
1148
|
+
paths?: string[] | undefined;
|
|
1149
1149
|
} | {
|
|
1150
|
-
mode
|
|
1151
|
-
paths?: string[];
|
|
1152
|
-
};
|
|
1150
|
+
mode: "archive";
|
|
1151
|
+
paths?: string[] | undefined;
|
|
1152
|
+
} | undefined;
|
|
1153
1153
|
}, {
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
};
|
|
1158
|
-
instructions?: string;
|
|
1159
|
-
taskId?: string;
|
|
1160
|
-
bindingId?: string;
|
|
1154
|
+
expectedRevision: number;
|
|
1155
|
+
taskId: string;
|
|
1156
|
+
bindingId?: string | undefined;
|
|
1161
1157
|
purpose?: {
|
|
1162
|
-
type
|
|
1158
|
+
type: "implementation";
|
|
1163
1159
|
} | {
|
|
1164
|
-
type
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
type?: "artifact";
|
|
1170
|
-
versionId?: string;
|
|
1171
|
-
artifactId?: string;
|
|
1160
|
+
type: "review";
|
|
1161
|
+
evidence: ({
|
|
1162
|
+
type: "artifact";
|
|
1163
|
+
artifactId: string;
|
|
1164
|
+
versionId: string;
|
|
1172
1165
|
} | {
|
|
1173
|
-
type
|
|
1174
|
-
revision
|
|
1175
|
-
invocationId
|
|
1166
|
+
type: "invocation_result";
|
|
1167
|
+
revision: number;
|
|
1168
|
+
invocationId: string;
|
|
1176
1169
|
} | {
|
|
1177
|
-
type
|
|
1178
|
-
digest
|
|
1179
|
-
snapshotId
|
|
1170
|
+
type: "workspace_snapshot";
|
|
1171
|
+
digest: string;
|
|
1172
|
+
snapshotId: string;
|
|
1180
1173
|
})[];
|
|
1181
|
-
|
|
1182
|
-
|
|
1174
|
+
implementationExecutionId: string;
|
|
1175
|
+
implementationInvocationId: string;
|
|
1176
|
+
specificationDigest: string;
|
|
1177
|
+
} | undefined;
|
|
1178
|
+
target?: {
|
|
1179
|
+
type: "group_member";
|
|
1180
|
+
participantId: string;
|
|
1181
|
+
} | undefined;
|
|
1183
1182
|
delivery?: {
|
|
1184
|
-
mode
|
|
1183
|
+
mode: "none";
|
|
1185
1184
|
} | {
|
|
1186
|
-
mode
|
|
1187
|
-
paths?: string[];
|
|
1185
|
+
mode: "files";
|
|
1186
|
+
paths?: string[] | undefined;
|
|
1188
1187
|
} | {
|
|
1189
|
-
mode
|
|
1190
|
-
paths?: string[];
|
|
1191
|
-
};
|
|
1188
|
+
mode: "archive";
|
|
1189
|
+
paths?: string[] | undefined;
|
|
1190
|
+
} | undefined;
|
|
1191
|
+
instructions?: string | undefined;
|
|
1192
1192
|
}>;
|
|
1193
1193
|
export type ProjectTaskDispatchInput = z.output<typeof projectTaskDispatchInputSchema>;
|
|
1194
1194
|
/** Exact JSON response from an evidence-only reviewer; prose never implies a passing verdict. */
|
|
@@ -1202,80 +1202,80 @@ export declare const projectTaskReviewReportSchema: z.ZodObject<{
|
|
|
1202
1202
|
artifactId: z.ZodString;
|
|
1203
1203
|
versionId: z.ZodString;
|
|
1204
1204
|
}, "strict", z.ZodTypeAny, {
|
|
1205
|
-
type
|
|
1206
|
-
|
|
1207
|
-
|
|
1205
|
+
type: "artifact";
|
|
1206
|
+
artifactId: string;
|
|
1207
|
+
versionId: string;
|
|
1208
1208
|
}, {
|
|
1209
|
-
type
|
|
1210
|
-
|
|
1211
|
-
|
|
1209
|
+
type: "artifact";
|
|
1210
|
+
artifactId: string;
|
|
1211
|
+
versionId: string;
|
|
1212
1212
|
}>, z.ZodObject<{
|
|
1213
1213
|
type: z.ZodLiteral<"invocation_result">;
|
|
1214
1214
|
invocationId: z.ZodString;
|
|
1215
1215
|
revision: z.ZodNumber;
|
|
1216
1216
|
}, "strict", z.ZodTypeAny, {
|
|
1217
|
-
type
|
|
1218
|
-
revision
|
|
1219
|
-
invocationId
|
|
1217
|
+
type: "invocation_result";
|
|
1218
|
+
revision: number;
|
|
1219
|
+
invocationId: string;
|
|
1220
1220
|
}, {
|
|
1221
|
-
type
|
|
1222
|
-
revision
|
|
1223
|
-
invocationId
|
|
1221
|
+
type: "invocation_result";
|
|
1222
|
+
revision: number;
|
|
1223
|
+
invocationId: string;
|
|
1224
1224
|
}>, z.ZodObject<{
|
|
1225
1225
|
type: z.ZodLiteral<"workspace_snapshot">;
|
|
1226
1226
|
snapshotId: z.ZodString;
|
|
1227
1227
|
digest: z.ZodString;
|
|
1228
1228
|
}, "strict", z.ZodTypeAny, {
|
|
1229
|
-
type
|
|
1230
|
-
digest
|
|
1231
|
-
snapshotId
|
|
1229
|
+
type: "workspace_snapshot";
|
|
1230
|
+
digest: string;
|
|
1231
|
+
snapshotId: string;
|
|
1232
1232
|
}, {
|
|
1233
|
-
type
|
|
1234
|
-
digest
|
|
1235
|
-
snapshotId
|
|
1233
|
+
type: "workspace_snapshot";
|
|
1234
|
+
digest: string;
|
|
1235
|
+
snapshotId: string;
|
|
1236
1236
|
}>]>, "many">;
|
|
1237
1237
|
findings: z.ZodArray<z.ZodString, "many">;
|
|
1238
1238
|
limitations: z.ZodArray<z.ZodString, "many">;
|
|
1239
1239
|
}, "strict", z.ZodTypeAny, {
|
|
1240
|
-
version
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
versionId?: string;
|
|
1246
|
-
artifactId?: string;
|
|
1240
|
+
version: 1;
|
|
1241
|
+
evidence: ({
|
|
1242
|
+
type: "artifact";
|
|
1243
|
+
artifactId: string;
|
|
1244
|
+
versionId: string;
|
|
1247
1245
|
} | {
|
|
1248
|
-
type
|
|
1249
|
-
revision
|
|
1250
|
-
invocationId
|
|
1246
|
+
type: "invocation_result";
|
|
1247
|
+
revision: number;
|
|
1248
|
+
invocationId: string;
|
|
1251
1249
|
} | {
|
|
1252
|
-
type
|
|
1253
|
-
digest
|
|
1254
|
-
snapshotId
|
|
1250
|
+
type: "workspace_snapshot";
|
|
1251
|
+
digest: string;
|
|
1252
|
+
snapshotId: string;
|
|
1255
1253
|
})[];
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1254
|
+
implementationInvocationId: string;
|
|
1255
|
+
specificationDigest: string;
|
|
1256
|
+
verdict: "pass" | "changes_required" | "indeterminate";
|
|
1257
|
+
findings: string[];
|
|
1258
|
+
limitations: string[];
|
|
1259
1259
|
}, {
|
|
1260
|
-
version
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
versionId?: string;
|
|
1266
|
-
artifactId?: string;
|
|
1260
|
+
version: 1;
|
|
1261
|
+
evidence: ({
|
|
1262
|
+
type: "artifact";
|
|
1263
|
+
artifactId: string;
|
|
1264
|
+
versionId: string;
|
|
1267
1265
|
} | {
|
|
1268
|
-
type
|
|
1269
|
-
revision
|
|
1270
|
-
invocationId
|
|
1266
|
+
type: "invocation_result";
|
|
1267
|
+
revision: number;
|
|
1268
|
+
invocationId: string;
|
|
1271
1269
|
} | {
|
|
1272
|
-
type
|
|
1273
|
-
digest
|
|
1274
|
-
snapshotId
|
|
1270
|
+
type: "workspace_snapshot";
|
|
1271
|
+
digest: string;
|
|
1272
|
+
snapshotId: string;
|
|
1275
1273
|
})[];
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1274
|
+
implementationInvocationId: string;
|
|
1275
|
+
specificationDigest: string;
|
|
1276
|
+
verdict: "pass" | "changes_required" | "indeterminate";
|
|
1277
|
+
findings: string[];
|
|
1278
|
+
limitations: string[];
|
|
1279
1279
|
}>;
|
|
1280
1280
|
export type ProjectTaskReviewReport = z.output<typeof projectTaskReviewReportSchema>;
|
|
1281
1281
|
export declare const projectTaskDecisionInputSchema: z.ZodObject<{
|
|
@@ -1289,88 +1289,88 @@ export declare const projectTaskDecisionInputSchema: z.ZodObject<{
|
|
|
1289
1289
|
artifactId: z.ZodString;
|
|
1290
1290
|
versionId: z.ZodString;
|
|
1291
1291
|
}, "strict", z.ZodTypeAny, {
|
|
1292
|
-
type
|
|
1293
|
-
|
|
1294
|
-
|
|
1292
|
+
type: "artifact";
|
|
1293
|
+
artifactId: string;
|
|
1294
|
+
versionId: string;
|
|
1295
1295
|
}, {
|
|
1296
|
-
type
|
|
1297
|
-
|
|
1298
|
-
|
|
1296
|
+
type: "artifact";
|
|
1297
|
+
artifactId: string;
|
|
1298
|
+
versionId: string;
|
|
1299
1299
|
}>, z.ZodObject<{
|
|
1300
1300
|
type: z.ZodLiteral<"invocation_result">;
|
|
1301
1301
|
invocationId: z.ZodString;
|
|
1302
1302
|
revision: z.ZodNumber;
|
|
1303
1303
|
}, "strict", z.ZodTypeAny, {
|
|
1304
|
-
type
|
|
1305
|
-
revision
|
|
1306
|
-
invocationId
|
|
1304
|
+
type: "invocation_result";
|
|
1305
|
+
revision: number;
|
|
1306
|
+
invocationId: string;
|
|
1307
1307
|
}, {
|
|
1308
|
-
type
|
|
1309
|
-
revision
|
|
1310
|
-
invocationId
|
|
1308
|
+
type: "invocation_result";
|
|
1309
|
+
revision: number;
|
|
1310
|
+
invocationId: string;
|
|
1311
1311
|
}>, z.ZodObject<{
|
|
1312
1312
|
type: z.ZodLiteral<"workspace_snapshot">;
|
|
1313
1313
|
snapshotId: z.ZodString;
|
|
1314
1314
|
digest: z.ZodString;
|
|
1315
1315
|
}, "strict", z.ZodTypeAny, {
|
|
1316
|
-
type
|
|
1317
|
-
digest
|
|
1318
|
-
snapshotId
|
|
1316
|
+
type: "workspace_snapshot";
|
|
1317
|
+
digest: string;
|
|
1318
|
+
snapshotId: string;
|
|
1319
1319
|
}, {
|
|
1320
|
-
type
|
|
1321
|
-
digest
|
|
1322
|
-
snapshotId
|
|
1320
|
+
type: "workspace_snapshot";
|
|
1321
|
+
digest: string;
|
|
1322
|
+
snapshotId: string;
|
|
1323
1323
|
}>]>, "many">;
|
|
1324
1324
|
reviewExecutionId: z.ZodOptional<z.ZodString>;
|
|
1325
1325
|
outcome: z.ZodEnum<["accept", "rework"]>;
|
|
1326
1326
|
rationale: z.ZodString;
|
|
1327
1327
|
checks: z.ZodArray<z.ZodString, "many">;
|
|
1328
1328
|
}, "strict", z.ZodTypeAny, {
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
type?: "artifact";
|
|
1336
|
-
versionId?: string;
|
|
1337
|
-
artifactId?: string;
|
|
1329
|
+
outcome: "accept" | "rework";
|
|
1330
|
+
requestId: string;
|
|
1331
|
+
evidence: ({
|
|
1332
|
+
type: "artifact";
|
|
1333
|
+
artifactId: string;
|
|
1334
|
+
versionId: string;
|
|
1338
1335
|
} | {
|
|
1339
|
-
type
|
|
1340
|
-
revision
|
|
1341
|
-
invocationId
|
|
1336
|
+
type: "invocation_result";
|
|
1337
|
+
revision: number;
|
|
1338
|
+
invocationId: string;
|
|
1342
1339
|
} | {
|
|
1343
|
-
type
|
|
1344
|
-
digest
|
|
1345
|
-
snapshotId
|
|
1340
|
+
type: "workspace_snapshot";
|
|
1341
|
+
digest: string;
|
|
1342
|
+
snapshotId: string;
|
|
1346
1343
|
})[];
|
|
1347
|
-
expectedRevision
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1344
|
+
expectedRevision: number;
|
|
1345
|
+
implementationExecutionId: string;
|
|
1346
|
+
specificationDigest: string;
|
|
1347
|
+
taskId: string;
|
|
1348
|
+
rationale: string;
|
|
1349
|
+
checks: string[];
|
|
1350
|
+
reviewExecutionId?: string | undefined;
|
|
1351
1351
|
}, {
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
type?: "artifact";
|
|
1359
|
-
versionId?: string;
|
|
1360
|
-
artifactId?: string;
|
|
1352
|
+
outcome: "accept" | "rework";
|
|
1353
|
+
requestId: string;
|
|
1354
|
+
evidence: ({
|
|
1355
|
+
type: "artifact";
|
|
1356
|
+
artifactId: string;
|
|
1357
|
+
versionId: string;
|
|
1361
1358
|
} | {
|
|
1362
|
-
type
|
|
1363
|
-
revision
|
|
1364
|
-
invocationId
|
|
1359
|
+
type: "invocation_result";
|
|
1360
|
+
revision: number;
|
|
1361
|
+
invocationId: string;
|
|
1365
1362
|
} | {
|
|
1366
|
-
type
|
|
1367
|
-
digest
|
|
1368
|
-
snapshotId
|
|
1363
|
+
type: "workspace_snapshot";
|
|
1364
|
+
digest: string;
|
|
1365
|
+
snapshotId: string;
|
|
1369
1366
|
})[];
|
|
1370
|
-
expectedRevision
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1367
|
+
expectedRevision: number;
|
|
1368
|
+
implementationExecutionId: string;
|
|
1369
|
+
specificationDigest: string;
|
|
1370
|
+
taskId: string;
|
|
1371
|
+
rationale: string;
|
|
1372
|
+
checks: string[];
|
|
1373
|
+
reviewExecutionId?: string | undefined;
|
|
1374
1374
|
}>;
|
|
1375
1375
|
export type ProjectTaskDecisionInput = z.output<typeof projectTaskDecisionInputSchema>;
|
|
1376
1376
|
export declare const projectTaskDecisionSchema: z.ZodObject<{
|
|
@@ -1384,37 +1384,37 @@ export declare const projectTaskDecisionSchema: z.ZodObject<{
|
|
|
1384
1384
|
artifactId: z.ZodString;
|
|
1385
1385
|
versionId: z.ZodString;
|
|
1386
1386
|
}, "strict", z.ZodTypeAny, {
|
|
1387
|
-
type
|
|
1388
|
-
|
|
1389
|
-
|
|
1387
|
+
type: "artifact";
|
|
1388
|
+
artifactId: string;
|
|
1389
|
+
versionId: string;
|
|
1390
1390
|
}, {
|
|
1391
|
-
type
|
|
1392
|
-
|
|
1393
|
-
|
|
1391
|
+
type: "artifact";
|
|
1392
|
+
artifactId: string;
|
|
1393
|
+
versionId: string;
|
|
1394
1394
|
}>, z.ZodObject<{
|
|
1395
1395
|
type: z.ZodLiteral<"invocation_result">;
|
|
1396
1396
|
invocationId: z.ZodString;
|
|
1397
1397
|
revision: z.ZodNumber;
|
|
1398
1398
|
}, "strict", z.ZodTypeAny, {
|
|
1399
|
-
type
|
|
1400
|
-
revision
|
|
1401
|
-
invocationId
|
|
1399
|
+
type: "invocation_result";
|
|
1400
|
+
revision: number;
|
|
1401
|
+
invocationId: string;
|
|
1402
1402
|
}, {
|
|
1403
|
-
type
|
|
1404
|
-
revision
|
|
1405
|
-
invocationId
|
|
1403
|
+
type: "invocation_result";
|
|
1404
|
+
revision: number;
|
|
1405
|
+
invocationId: string;
|
|
1406
1406
|
}>, z.ZodObject<{
|
|
1407
1407
|
type: z.ZodLiteral<"workspace_snapshot">;
|
|
1408
1408
|
snapshotId: z.ZodString;
|
|
1409
1409
|
digest: z.ZodString;
|
|
1410
1410
|
}, "strict", z.ZodTypeAny, {
|
|
1411
|
-
type
|
|
1412
|
-
digest
|
|
1413
|
-
snapshotId
|
|
1411
|
+
type: "workspace_snapshot";
|
|
1412
|
+
digest: string;
|
|
1413
|
+
snapshotId: string;
|
|
1414
1414
|
}, {
|
|
1415
|
-
type
|
|
1416
|
-
digest
|
|
1417
|
-
snapshotId
|
|
1415
|
+
type: "workspace_snapshot";
|
|
1416
|
+
digest: string;
|
|
1417
|
+
snapshotId: string;
|
|
1418
1418
|
}>]>, "many">;
|
|
1419
1419
|
reviewExecutionId: z.ZodOptional<z.ZodString>;
|
|
1420
1420
|
outcome: z.ZodEnum<["accept", "rework"]>;
|
|
@@ -1427,60 +1427,60 @@ export declare const projectTaskDecisionSchema: z.ZodObject<{
|
|
|
1427
1427
|
decidedAt: z.ZodString;
|
|
1428
1428
|
taskRevision: z.ZodNumber;
|
|
1429
1429
|
}, "strict", z.ZodTypeAny, {
|
|
1430
|
-
|
|
1431
|
-
requestId
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
taskId?: string;
|
|
1437
|
-
implementationExecutionId?: string;
|
|
1438
|
-
specificationDigest?: string;
|
|
1439
|
-
evidence?: ({
|
|
1440
|
-
type?: "artifact";
|
|
1441
|
-
versionId?: string;
|
|
1442
|
-
artifactId?: string;
|
|
1430
|
+
outcome: "accept" | "rework";
|
|
1431
|
+
requestId: string;
|
|
1432
|
+
evidence: ({
|
|
1433
|
+
type: "artifact";
|
|
1434
|
+
artifactId: string;
|
|
1435
|
+
versionId: string;
|
|
1443
1436
|
} | {
|
|
1444
|
-
type
|
|
1445
|
-
revision
|
|
1446
|
-
invocationId
|
|
1437
|
+
type: "invocation_result";
|
|
1438
|
+
revision: number;
|
|
1439
|
+
invocationId: string;
|
|
1447
1440
|
} | {
|
|
1448
|
-
type
|
|
1449
|
-
digest
|
|
1450
|
-
snapshotId
|
|
1441
|
+
type: "workspace_snapshot";
|
|
1442
|
+
digest: string;
|
|
1443
|
+
snapshotId: string;
|
|
1451
1444
|
})[];
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1445
|
+
decidedAt: string;
|
|
1446
|
+
expectedRevision: number;
|
|
1447
|
+
implementationExecutionId: string;
|
|
1448
|
+
specificationDigest: string;
|
|
1449
|
+
taskId: string;
|
|
1450
|
+
rationale: string;
|
|
1451
|
+
checks: string[];
|
|
1452
|
+
actorId: string;
|
|
1453
|
+
actorType: "user" | "xpert" | "project_agent";
|
|
1454
|
+
taskRevision: number;
|
|
1455
|
+
executionId?: string | undefined;
|
|
1456
|
+
reviewExecutionId?: string | undefined;
|
|
1457
1457
|
}, {
|
|
1458
|
-
|
|
1459
|
-
requestId
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
taskId?: string;
|
|
1465
|
-
implementationExecutionId?: string;
|
|
1466
|
-
specificationDigest?: string;
|
|
1467
|
-
evidence?: ({
|
|
1468
|
-
type?: "artifact";
|
|
1469
|
-
versionId?: string;
|
|
1470
|
-
artifactId?: string;
|
|
1458
|
+
outcome: "accept" | "rework";
|
|
1459
|
+
requestId: string;
|
|
1460
|
+
evidence: ({
|
|
1461
|
+
type: "artifact";
|
|
1462
|
+
artifactId: string;
|
|
1463
|
+
versionId: string;
|
|
1471
1464
|
} | {
|
|
1472
|
-
type
|
|
1473
|
-
revision
|
|
1474
|
-
invocationId
|
|
1465
|
+
type: "invocation_result";
|
|
1466
|
+
revision: number;
|
|
1467
|
+
invocationId: string;
|
|
1475
1468
|
} | {
|
|
1476
|
-
type
|
|
1477
|
-
digest
|
|
1478
|
-
snapshotId
|
|
1469
|
+
type: "workspace_snapshot";
|
|
1470
|
+
digest: string;
|
|
1471
|
+
snapshotId: string;
|
|
1479
1472
|
})[];
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1473
|
+
decidedAt: string;
|
|
1474
|
+
expectedRevision: number;
|
|
1475
|
+
implementationExecutionId: string;
|
|
1476
|
+
specificationDigest: string;
|
|
1477
|
+
taskId: string;
|
|
1478
|
+
rationale: string;
|
|
1479
|
+
checks: string[];
|
|
1480
|
+
actorId: string;
|
|
1481
|
+
actorType: "user" | "xpert" | "project_agent";
|
|
1482
|
+
taskRevision: number;
|
|
1483
|
+
executionId?: string | undefined;
|
|
1484
|
+
reviewExecutionId?: string | undefined;
|
|
1485
1485
|
}>;
|
|
1486
1486
|
export type ProjectTaskDecision = z.output<typeof projectTaskDecisionSchema>;
|