@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.
Files changed (58) hide show
  1. package/index.cjs.js +5296 -368
  2. package/index.esm.js +5185 -369
  3. package/package.json +2 -2
  4. package/src/ai/agent-output-delivery.model.d.ts +10 -10
  5. package/src/ai/agent-runtime.model.d.ts +24 -24
  6. package/src/ai/assistant-model.model.d.ts +8 -0
  7. package/src/ai/assistant-template-dependencies.model.d.ts +1 -1
  8. package/src/ai/chat-group.model.d.ts +7 -3
  9. package/src/ai/index.d.ts +2 -0
  10. package/src/ai/mcp-publication.model.d.ts +20 -0
  11. package/src/ai/model-discovery.model.d.ts +2 -0
  12. package/src/ai/project-pipeline/analytics.d.ts +1685 -0
  13. package/src/ai/project-pipeline/budget.schema.d.ts +78 -0
  14. package/src/ai/project-pipeline/catalog.schema.d.ts +188 -0
  15. package/src/ai/project-pipeline/catalog.validation.d.ts +4 -0
  16. package/src/ai/project-pipeline/commands.schema.d.ts +4381 -0
  17. package/src/ai/project-pipeline/compatibility.d.ts +5 -0
  18. package/src/ai/project-pipeline/compatibility.schema.d.ts +29 -0
  19. package/src/ai/project-pipeline/configuration-form.d.ts +17374 -0
  20. package/src/ai/project-pipeline/configuration.schema.d.ts +3774 -0
  21. package/src/ai/project-pipeline/contribution.schema.d.ts +6721 -0
  22. package/src/ai/project-pipeline/dataflow.validation.d.ts +6 -0
  23. package/src/ai/project-pipeline/definition.schema.d.ts +3808 -0
  24. package/src/ai/project-pipeline/definition.validation.d.ts +7 -0
  25. package/src/ai/project-pipeline/execution-statistics.d.ts +267 -0
  26. package/src/ai/project-pipeline/graph.model.d.ts +89 -0
  27. package/src/ai/project-pipeline/human-wait-statistics.d.ts +70 -0
  28. package/src/ai/project-pipeline/human-wait.schema.d.ts +26 -0
  29. package/src/ai/project-pipeline/index.d.ts +28 -0
  30. package/src/ai/project-pipeline/model-usage-statistics.d.ts +143 -0
  31. package/src/ai/project-pipeline/native-source.schema.d.ts +40 -0
  32. package/src/ai/project-pipeline/node.schema.d.ts +839 -0
  33. package/src/ai/project-pipeline/operation.schema.d.ts +800 -0
  34. package/src/ai/project-pipeline/portfolio.schema.d.ts +3817 -0
  35. package/src/ai/project-pipeline/primitives.schema.d.ts +138 -0
  36. package/src/ai/project-pipeline/projection.schema.d.ts +4715 -0
  37. package/src/ai/project-pipeline/provider-actions.schema.d.ts +2030 -0
  38. package/src/ai/project-pipeline/queue-statistics.d.ts +326 -0
  39. package/src/ai/project-pipeline/resources.schema.d.ts +73 -0
  40. package/src/ai/project-pipeline/runtime.schema.d.ts +934 -0
  41. package/src/ai/project-pipeline/statistics.d.ts +811 -0
  42. package/src/ai/project-task-graph.model.d.ts +18 -2
  43. package/src/ai/project-task-runtime.model.d.ts +924 -924
  44. package/src/ai/provider-credential-validation.model.d.ts +63 -0
  45. package/src/ai/template-installation.model.d.ts +27 -0
  46. package/src/ai/types.d.ts +6 -4
  47. package/src/ai/xpert-project-type.model.d.ts +15 -4
  48. package/src/ai/xpert-project.model.d.ts +9 -2
  49. package/src/ai/xpert.model.d.ts +5 -0
  50. package/src/analytics-query.model.d.ts +180 -0
  51. package/src/artifact-presentation.model.d.ts +28 -0
  52. package/src/artifact.model.d.ts +15 -0
  53. package/src/assistant-sharing.model.d.ts +32 -0
  54. package/src/index.d.ts +4 -0
  55. package/src/plugin-application.d.ts +4 -1
  56. package/src/user-directory.model.d.ts +15 -0
  57. package/src/user-group.model.d.ts +1 -0
  58. package/src/view-extension/model.d.ts +16 -1
@@ -0,0 +1,800 @@
1
+ import { z } from 'zod/v3';
2
+ export declare const projectPipelineOperationInputSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
3
+ kind: z.ZodLiteral<"evidence">;
4
+ value: z.ZodObject<{
5
+ resolverRef: z.ZodString;
6
+ objectKey: z.ZodString;
7
+ version: z.ZodString;
8
+ digest: z.ZodString;
9
+ } & {
10
+ schemaRef: z.ZodString;
11
+ producerOperationId: z.ZodOptional<z.ZodString>;
12
+ }, "strict", z.ZodTypeAny, {
13
+ version: string;
14
+ resolverRef: string;
15
+ digest: string;
16
+ objectKey: string;
17
+ schemaRef: string;
18
+ producerOperationId?: string | undefined;
19
+ }, {
20
+ version: string;
21
+ resolverRef: string;
22
+ digest: string;
23
+ objectKey: string;
24
+ schemaRef: string;
25
+ producerOperationId?: string | undefined;
26
+ }>;
27
+ }, "strict", z.ZodTypeAny, {
28
+ value: {
29
+ version: string;
30
+ resolverRef: string;
31
+ digest: string;
32
+ objectKey: string;
33
+ schemaRef: string;
34
+ producerOperationId?: string | undefined;
35
+ };
36
+ kind: "evidence";
37
+ }, {
38
+ value: {
39
+ version: string;
40
+ resolverRef: string;
41
+ digest: string;
42
+ objectKey: string;
43
+ schemaRef: string;
44
+ producerOperationId?: string | undefined;
45
+ };
46
+ kind: "evidence";
47
+ }>, z.ZodObject<{
48
+ kind: z.ZodLiteral<"evidence_collection">;
49
+ value: z.ZodArray<z.ZodObject<{
50
+ resolverRef: z.ZodString;
51
+ objectKey: z.ZodString;
52
+ version: z.ZodString;
53
+ digest: z.ZodString;
54
+ } & {
55
+ schemaRef: z.ZodString;
56
+ producerOperationId: z.ZodOptional<z.ZodString>;
57
+ }, "strict", z.ZodTypeAny, {
58
+ version: string;
59
+ resolverRef: string;
60
+ digest: string;
61
+ objectKey: string;
62
+ schemaRef: string;
63
+ producerOperationId?: string | undefined;
64
+ }, {
65
+ version: string;
66
+ resolverRef: string;
67
+ digest: string;
68
+ objectKey: string;
69
+ schemaRef: string;
70
+ producerOperationId?: string | undefined;
71
+ }>, "many">;
72
+ }, "strict", z.ZodTypeAny, {
73
+ value: {
74
+ version: string;
75
+ resolverRef: string;
76
+ digest: string;
77
+ objectKey: string;
78
+ schemaRef: string;
79
+ producerOperationId?: string | undefined;
80
+ }[];
81
+ kind: "evidence_collection";
82
+ }, {
83
+ value: {
84
+ version: string;
85
+ resolverRef: string;
86
+ digest: string;
87
+ objectKey: string;
88
+ schemaRef: string;
89
+ producerOperationId?: string | undefined;
90
+ }[];
91
+ kind: "evidence_collection";
92
+ }>, z.ZodObject<{
93
+ kind: z.ZodLiteral<"subjects">;
94
+ value: z.ZodArray<z.ZodObject<{
95
+ resolverRef: z.ZodString;
96
+ objectKey: z.ZodString;
97
+ version: z.ZodString;
98
+ digest: z.ZodString;
99
+ }, "strict", z.ZodTypeAny, {
100
+ version: string;
101
+ resolverRef: string;
102
+ digest: string;
103
+ objectKey: string;
104
+ }, {
105
+ version: string;
106
+ resolverRef: string;
107
+ digest: string;
108
+ objectKey: string;
109
+ }>, "many">;
110
+ }, "strict", z.ZodTypeAny, {
111
+ value: {
112
+ version: string;
113
+ resolverRef: string;
114
+ digest: string;
115
+ objectKey: string;
116
+ }[];
117
+ kind: "subjects";
118
+ }, {
119
+ value: {
120
+ version: string;
121
+ resolverRef: string;
122
+ digest: string;
123
+ objectKey: string;
124
+ }[];
125
+ kind: "subjects";
126
+ }>, z.ZodObject<{
127
+ kind: z.ZodLiteral<"parameter">;
128
+ value: z.ZodType<import("./primitives.schema").ProjectPipelineJsonValue, z.ZodTypeDef, import("./primitives.schema").ProjectPipelineJsonValue>;
129
+ }, "strict", z.ZodTypeAny, {
130
+ value: import("./primitives.schema").ProjectPipelineJsonValue;
131
+ kind: "parameter";
132
+ }, {
133
+ value: import("./primitives.schema").ProjectPipelineJsonValue;
134
+ kind: "parameter";
135
+ }>]>;
136
+ export declare const projectPipelineAssistantInputSchema: z.ZodObject<{
137
+ prompt: z.ZodString;
138
+ context: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodType<import("./primitives.schema").ProjectPipelineJsonValue, z.ZodTypeDef, import("./primitives.schema").ProjectPipelineJsonValue>>>;
139
+ humanInput: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodType<import("./primitives.schema").ProjectPipelineJsonValue, z.ZodTypeDef, import("./primitives.schema").ProjectPipelineJsonValue>>>;
140
+ }, "strict", z.ZodTypeAny, {
141
+ prompt: string;
142
+ context?: Record<string, import("./primitives.schema").ProjectPipelineJsonValue> | undefined;
143
+ humanInput?: Record<string, import("./primitives.schema").ProjectPipelineJsonValue> | undefined;
144
+ }, {
145
+ prompt: string;
146
+ context?: Record<string, import("./primitives.schema").ProjectPipelineJsonValue> | undefined;
147
+ humanInput?: Record<string, import("./primitives.schema").ProjectPipelineJsonValue> | undefined;
148
+ }>;
149
+ export type ProjectPipelineAssistantInput = z.output<typeof projectPipelineAssistantInputSchema>;
150
+ export declare const projectPipelineRuntimeInputSchema: z.ZodObject<{
151
+ prompt: z.ZodString;
152
+ context: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodType<import("./primitives.schema").ProjectPipelineJsonValue, z.ZodTypeDef, import("./primitives.schema").ProjectPipelineJsonValue>>>;
153
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodType<import("./primitives.schema").ProjectPipelineJsonValue, z.ZodTypeDef, import("./primitives.schema").ProjectPipelineJsonValue>>>;
154
+ }, "strict", z.ZodTypeAny, {
155
+ prompt: string;
156
+ parameters?: Record<string, import("./primitives.schema").ProjectPipelineJsonValue> | undefined;
157
+ context?: Record<string, import("./primitives.schema").ProjectPipelineJsonValue> | undefined;
158
+ }, {
159
+ prompt: string;
160
+ parameters?: Record<string, import("./primitives.schema").ProjectPipelineJsonValue> | undefined;
161
+ context?: Record<string, import("./primitives.schema").ProjectPipelineJsonValue> | undefined;
162
+ }>;
163
+ export type ProjectPipelineRuntimeInput = z.output<typeof projectPipelineRuntimeInputSchema>;
164
+ export declare const projectPipelineAssistantExecutionSchema: z.ZodObject<{
165
+ kind: z.ZodLiteral<"assistant_task">;
166
+ executionId: z.ZodString;
167
+ conversationId: z.ZodString;
168
+ xpertId: z.ZodString;
169
+ publishedVersion: z.ZodString;
170
+ status: z.ZodEnum<["queued", "running", "waiting", "succeeded", "failed", "cancelled", "unknown"]>;
171
+ }, "strict", z.ZodTypeAny, {
172
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
173
+ kind: "assistant_task";
174
+ xpertId: string;
175
+ conversationId: string;
176
+ publishedVersion: string;
177
+ executionId: string;
178
+ }, {
179
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
180
+ kind: "assistant_task";
181
+ xpertId: string;
182
+ conversationId: string;
183
+ publishedVersion: string;
184
+ executionId: string;
185
+ }>;
186
+ export declare const projectPipelineRuntimeExecutionSchema: z.ZodObject<{
187
+ kind: z.ZodLiteral<"runtime_invocation">;
188
+ invocationId: z.ZodString;
189
+ bindingId: z.ZodString;
190
+ provider: z.ZodString;
191
+ revision: z.ZodString;
192
+ status: z.ZodEnum<["queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
193
+ }, "strict", z.ZodTypeAny, {
194
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
195
+ kind: "runtime_invocation";
196
+ provider: string;
197
+ revision: string;
198
+ bindingId: string;
199
+ invocationId: string;
200
+ }, {
201
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
202
+ kind: "runtime_invocation";
203
+ provider: string;
204
+ revision: string;
205
+ bindingId: string;
206
+ invocationId: string;
207
+ }>;
208
+ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
209
+ status: z.ZodLiteral<"pending">;
210
+ receiptKey: z.ZodString;
211
+ execution: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
212
+ kind: z.ZodLiteral<"assistant_task">;
213
+ executionId: z.ZodString;
214
+ conversationId: z.ZodString;
215
+ xpertId: z.ZodString;
216
+ publishedVersion: z.ZodString;
217
+ status: z.ZodEnum<["queued", "running", "waiting", "succeeded", "failed", "cancelled", "unknown"]>;
218
+ }, "strict", z.ZodTypeAny, {
219
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
220
+ kind: "assistant_task";
221
+ xpertId: string;
222
+ conversationId: string;
223
+ publishedVersion: string;
224
+ executionId: string;
225
+ }, {
226
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
227
+ kind: "assistant_task";
228
+ xpertId: string;
229
+ conversationId: string;
230
+ publishedVersion: string;
231
+ executionId: string;
232
+ }>, z.ZodObject<{
233
+ kind: z.ZodLiteral<"runtime_invocation">;
234
+ invocationId: z.ZodString;
235
+ bindingId: z.ZodString;
236
+ provider: z.ZodString;
237
+ revision: z.ZodString;
238
+ status: z.ZodEnum<["queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
239
+ }, "strict", z.ZodTypeAny, {
240
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
241
+ kind: "runtime_invocation";
242
+ provider: string;
243
+ revision: string;
244
+ bindingId: string;
245
+ invocationId: string;
246
+ }, {
247
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
248
+ kind: "runtime_invocation";
249
+ provider: string;
250
+ revision: string;
251
+ bindingId: string;
252
+ invocationId: string;
253
+ }>]>>;
254
+ }, "strict", z.ZodTypeAny, {
255
+ status: "pending";
256
+ receiptKey: string;
257
+ execution?: {
258
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
259
+ kind: "assistant_task";
260
+ xpertId: string;
261
+ conversationId: string;
262
+ publishedVersion: string;
263
+ executionId: string;
264
+ } | {
265
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
266
+ kind: "runtime_invocation";
267
+ provider: string;
268
+ revision: string;
269
+ bindingId: string;
270
+ invocationId: string;
271
+ } | undefined;
272
+ }, {
273
+ status: "pending";
274
+ receiptKey: string;
275
+ execution?: {
276
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
277
+ kind: "assistant_task";
278
+ xpertId: string;
279
+ conversationId: string;
280
+ publishedVersion: string;
281
+ executionId: string;
282
+ } | {
283
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
284
+ kind: "runtime_invocation";
285
+ provider: string;
286
+ revision: string;
287
+ bindingId: string;
288
+ invocationId: string;
289
+ } | undefined;
290
+ }>, z.ZodObject<{
291
+ status: z.ZodLiteral<"succeeded">;
292
+ outputs: z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
293
+ resolverRef: z.ZodString;
294
+ objectKey: z.ZodString;
295
+ version: z.ZodString;
296
+ digest: z.ZodString;
297
+ } & {
298
+ schemaRef: z.ZodString;
299
+ producerOperationId: z.ZodOptional<z.ZodString>;
300
+ }, "strict", z.ZodTypeAny, {
301
+ version: string;
302
+ resolverRef: string;
303
+ digest: string;
304
+ objectKey: string;
305
+ schemaRef: string;
306
+ producerOperationId?: string | undefined;
307
+ }, {
308
+ version: string;
309
+ resolverRef: string;
310
+ digest: string;
311
+ objectKey: string;
312
+ schemaRef: string;
313
+ producerOperationId?: string | undefined;
314
+ }>>, Record<string, {
315
+ version: string;
316
+ resolverRef: string;
317
+ digest: string;
318
+ objectKey: string;
319
+ schemaRef: string;
320
+ producerOperationId?: string | undefined;
321
+ }>, Record<string, {
322
+ version: string;
323
+ resolverRef: string;
324
+ digest: string;
325
+ objectKey: string;
326
+ schemaRef: string;
327
+ producerOperationId?: string | undefined;
328
+ }>>;
329
+ receiptKey: z.ZodString;
330
+ execution: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
331
+ kind: z.ZodLiteral<"assistant_task">;
332
+ executionId: z.ZodString;
333
+ conversationId: z.ZodString;
334
+ xpertId: z.ZodString;
335
+ publishedVersion: z.ZodString;
336
+ status: z.ZodEnum<["queued", "running", "waiting", "succeeded", "failed", "cancelled", "unknown"]>;
337
+ }, "strict", z.ZodTypeAny, {
338
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
339
+ kind: "assistant_task";
340
+ xpertId: string;
341
+ conversationId: string;
342
+ publishedVersion: string;
343
+ executionId: string;
344
+ }, {
345
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
346
+ kind: "assistant_task";
347
+ xpertId: string;
348
+ conversationId: string;
349
+ publishedVersion: string;
350
+ executionId: string;
351
+ }>, z.ZodObject<{
352
+ kind: z.ZodLiteral<"runtime_invocation">;
353
+ invocationId: z.ZodString;
354
+ bindingId: z.ZodString;
355
+ provider: z.ZodString;
356
+ revision: z.ZodString;
357
+ status: z.ZodEnum<["queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
358
+ }, "strict", z.ZodTypeAny, {
359
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
360
+ kind: "runtime_invocation";
361
+ provider: string;
362
+ revision: string;
363
+ bindingId: string;
364
+ invocationId: string;
365
+ }, {
366
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
367
+ kind: "runtime_invocation";
368
+ provider: string;
369
+ revision: string;
370
+ bindingId: string;
371
+ invocationId: string;
372
+ }>]>>;
373
+ }, "strict", z.ZodTypeAny, {
374
+ status: "succeeded";
375
+ outputs: Record<string, {
376
+ version: string;
377
+ resolverRef: string;
378
+ digest: string;
379
+ objectKey: string;
380
+ schemaRef: string;
381
+ producerOperationId?: string | undefined;
382
+ }>;
383
+ receiptKey: string;
384
+ execution?: {
385
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
386
+ kind: "assistant_task";
387
+ xpertId: string;
388
+ conversationId: string;
389
+ publishedVersion: string;
390
+ executionId: string;
391
+ } | {
392
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
393
+ kind: "runtime_invocation";
394
+ provider: string;
395
+ revision: string;
396
+ bindingId: string;
397
+ invocationId: string;
398
+ } | undefined;
399
+ }, {
400
+ status: "succeeded";
401
+ outputs: Record<string, {
402
+ version: string;
403
+ resolverRef: string;
404
+ digest: string;
405
+ objectKey: string;
406
+ schemaRef: string;
407
+ producerOperationId?: string | undefined;
408
+ }>;
409
+ receiptKey: string;
410
+ execution?: {
411
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
412
+ kind: "assistant_task";
413
+ xpertId: string;
414
+ conversationId: string;
415
+ publishedVersion: string;
416
+ executionId: string;
417
+ } | {
418
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
419
+ kind: "runtime_invocation";
420
+ provider: string;
421
+ revision: string;
422
+ bindingId: string;
423
+ invocationId: string;
424
+ } | undefined;
425
+ }>, z.ZodObject<{
426
+ status: z.ZodLiteral<"failed">;
427
+ code: z.ZodEffects<z.ZodString, string, string>;
428
+ receiptKey: z.ZodString;
429
+ execution: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
430
+ kind: z.ZodLiteral<"assistant_task">;
431
+ executionId: z.ZodString;
432
+ conversationId: z.ZodString;
433
+ xpertId: z.ZodString;
434
+ publishedVersion: z.ZodString;
435
+ status: z.ZodEnum<["queued", "running", "waiting", "succeeded", "failed", "cancelled", "unknown"]>;
436
+ }, "strict", z.ZodTypeAny, {
437
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
438
+ kind: "assistant_task";
439
+ xpertId: string;
440
+ conversationId: string;
441
+ publishedVersion: string;
442
+ executionId: string;
443
+ }, {
444
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
445
+ kind: "assistant_task";
446
+ xpertId: string;
447
+ conversationId: string;
448
+ publishedVersion: string;
449
+ executionId: string;
450
+ }>, z.ZodObject<{
451
+ kind: z.ZodLiteral<"runtime_invocation">;
452
+ invocationId: z.ZodString;
453
+ bindingId: z.ZodString;
454
+ provider: z.ZodString;
455
+ revision: z.ZodString;
456
+ status: z.ZodEnum<["queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
457
+ }, "strict", z.ZodTypeAny, {
458
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
459
+ kind: "runtime_invocation";
460
+ provider: string;
461
+ revision: string;
462
+ bindingId: string;
463
+ invocationId: string;
464
+ }, {
465
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
466
+ kind: "runtime_invocation";
467
+ provider: string;
468
+ revision: string;
469
+ bindingId: string;
470
+ invocationId: string;
471
+ }>]>>;
472
+ }, "strict", z.ZodTypeAny, {
473
+ code: string;
474
+ status: "failed";
475
+ receiptKey: string;
476
+ execution?: {
477
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
478
+ kind: "assistant_task";
479
+ xpertId: string;
480
+ conversationId: string;
481
+ publishedVersion: string;
482
+ executionId: string;
483
+ } | {
484
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
485
+ kind: "runtime_invocation";
486
+ provider: string;
487
+ revision: string;
488
+ bindingId: string;
489
+ invocationId: string;
490
+ } | undefined;
491
+ }, {
492
+ code: string;
493
+ status: "failed";
494
+ receiptKey: string;
495
+ execution?: {
496
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
497
+ kind: "assistant_task";
498
+ xpertId: string;
499
+ conversationId: string;
500
+ publishedVersion: string;
501
+ executionId: string;
502
+ } | {
503
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
504
+ kind: "runtime_invocation";
505
+ provider: string;
506
+ revision: string;
507
+ bindingId: string;
508
+ invocationId: string;
509
+ } | undefined;
510
+ }>, z.ZodObject<{
511
+ status: z.ZodLiteral<"cancelled">;
512
+ receiptKey: z.ZodString;
513
+ execution: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
514
+ kind: z.ZodLiteral<"assistant_task">;
515
+ executionId: z.ZodString;
516
+ conversationId: z.ZodString;
517
+ xpertId: z.ZodString;
518
+ publishedVersion: z.ZodString;
519
+ status: z.ZodEnum<["queued", "running", "waiting", "succeeded", "failed", "cancelled", "unknown"]>;
520
+ }, "strict", z.ZodTypeAny, {
521
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
522
+ kind: "assistant_task";
523
+ xpertId: string;
524
+ conversationId: string;
525
+ publishedVersion: string;
526
+ executionId: string;
527
+ }, {
528
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
529
+ kind: "assistant_task";
530
+ xpertId: string;
531
+ conversationId: string;
532
+ publishedVersion: string;
533
+ executionId: string;
534
+ }>, z.ZodObject<{
535
+ kind: z.ZodLiteral<"runtime_invocation">;
536
+ invocationId: z.ZodString;
537
+ bindingId: z.ZodString;
538
+ provider: z.ZodString;
539
+ revision: z.ZodString;
540
+ status: z.ZodEnum<["queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
541
+ }, "strict", z.ZodTypeAny, {
542
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
543
+ kind: "runtime_invocation";
544
+ provider: string;
545
+ revision: string;
546
+ bindingId: string;
547
+ invocationId: string;
548
+ }, {
549
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
550
+ kind: "runtime_invocation";
551
+ provider: string;
552
+ revision: string;
553
+ bindingId: string;
554
+ invocationId: string;
555
+ }>]>>;
556
+ }, "strict", z.ZodTypeAny, {
557
+ status: "cancelled";
558
+ receiptKey: string;
559
+ execution?: {
560
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
561
+ kind: "assistant_task";
562
+ xpertId: string;
563
+ conversationId: string;
564
+ publishedVersion: string;
565
+ executionId: string;
566
+ } | {
567
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
568
+ kind: "runtime_invocation";
569
+ provider: string;
570
+ revision: string;
571
+ bindingId: string;
572
+ invocationId: string;
573
+ } | undefined;
574
+ }, {
575
+ status: "cancelled";
576
+ receiptKey: string;
577
+ execution?: {
578
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
579
+ kind: "assistant_task";
580
+ xpertId: string;
581
+ conversationId: string;
582
+ publishedVersion: string;
583
+ executionId: string;
584
+ } | {
585
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
586
+ kind: "runtime_invocation";
587
+ provider: string;
588
+ revision: string;
589
+ bindingId: string;
590
+ invocationId: string;
591
+ } | undefined;
592
+ }>, z.ZodObject<{
593
+ receiptKey: z.ZodOptional<z.ZodString>;
594
+ execution: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
595
+ kind: z.ZodLiteral<"assistant_task">;
596
+ executionId: z.ZodString;
597
+ conversationId: z.ZodString;
598
+ xpertId: z.ZodString;
599
+ publishedVersion: z.ZodString;
600
+ status: z.ZodEnum<["queued", "running", "waiting", "succeeded", "failed", "cancelled", "unknown"]>;
601
+ }, "strict", z.ZodTypeAny, {
602
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
603
+ kind: "assistant_task";
604
+ xpertId: string;
605
+ conversationId: string;
606
+ publishedVersion: string;
607
+ executionId: string;
608
+ }, {
609
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
610
+ kind: "assistant_task";
611
+ xpertId: string;
612
+ conversationId: string;
613
+ publishedVersion: string;
614
+ executionId: string;
615
+ }>, z.ZodObject<{
616
+ kind: z.ZodLiteral<"runtime_invocation">;
617
+ invocationId: z.ZodString;
618
+ bindingId: z.ZodString;
619
+ provider: z.ZodString;
620
+ revision: z.ZodString;
621
+ status: z.ZodEnum<["queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
622
+ }, "strict", z.ZodTypeAny, {
623
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
624
+ kind: "runtime_invocation";
625
+ provider: string;
626
+ revision: string;
627
+ bindingId: string;
628
+ invocationId: string;
629
+ }, {
630
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
631
+ kind: "runtime_invocation";
632
+ provider: string;
633
+ revision: string;
634
+ bindingId: string;
635
+ invocationId: string;
636
+ }>]>>;
637
+ status: z.ZodLiteral<"unknown">;
638
+ }, "strict", z.ZodTypeAny, {
639
+ status: "unknown";
640
+ receiptKey?: string | undefined;
641
+ execution?: {
642
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
643
+ kind: "assistant_task";
644
+ xpertId: string;
645
+ conversationId: string;
646
+ publishedVersion: string;
647
+ executionId: string;
648
+ } | {
649
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
650
+ kind: "runtime_invocation";
651
+ provider: string;
652
+ revision: string;
653
+ bindingId: string;
654
+ invocationId: string;
655
+ } | undefined;
656
+ }, {
657
+ status: "unknown";
658
+ receiptKey?: string | undefined;
659
+ execution?: {
660
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled";
661
+ kind: "assistant_task";
662
+ xpertId: string;
663
+ conversationId: string;
664
+ publishedVersion: string;
665
+ executionId: string;
666
+ } | {
667
+ status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
668
+ kind: "runtime_invocation";
669
+ provider: string;
670
+ revision: string;
671
+ bindingId: string;
672
+ invocationId: string;
673
+ } | undefined;
674
+ }>]>;
675
+ export declare const projectPipelineCompletionReceiptSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
676
+ status: z.ZodLiteral<"accepted">;
677
+ evidence: z.ZodArray<z.ZodObject<{
678
+ resolverRef: z.ZodString;
679
+ objectKey: z.ZodString;
680
+ version: z.ZodString;
681
+ digest: z.ZodString;
682
+ } & {
683
+ schemaRef: z.ZodString;
684
+ producerOperationId: z.ZodOptional<z.ZodString>;
685
+ }, "strict", z.ZodTypeAny, {
686
+ version: string;
687
+ resolverRef: string;
688
+ digest: string;
689
+ objectKey: string;
690
+ schemaRef: string;
691
+ producerOperationId?: string | undefined;
692
+ }, {
693
+ version: string;
694
+ resolverRef: string;
695
+ digest: string;
696
+ objectKey: string;
697
+ schemaRef: string;
698
+ producerOperationId?: string | undefined;
699
+ }>, "many">;
700
+ }, "strict", z.ZodTypeAny, {
701
+ status: "accepted";
702
+ evidence: {
703
+ version: string;
704
+ resolverRef: string;
705
+ digest: string;
706
+ objectKey: string;
707
+ schemaRef: string;
708
+ producerOperationId?: string | undefined;
709
+ }[];
710
+ }, {
711
+ status: "accepted";
712
+ evidence: {
713
+ version: string;
714
+ resolverRef: string;
715
+ digest: string;
716
+ objectKey: string;
717
+ schemaRef: string;
718
+ producerOperationId?: string | undefined;
719
+ }[];
720
+ }>, z.ZodObject<{
721
+ status: z.ZodLiteral<"pending">;
722
+ code: z.ZodEffects<z.ZodString, string, string>;
723
+ }, "strict", z.ZodTypeAny, {
724
+ code: string;
725
+ status: "pending";
726
+ }, {
727
+ code: string;
728
+ status: "pending";
729
+ }>, z.ZodObject<{
730
+ status: z.ZodLiteral<"rejected">;
731
+ code: z.ZodEffects<z.ZodString, string, string>;
732
+ }, "strict", z.ZodTypeAny, {
733
+ code: string;
734
+ status: "rejected";
735
+ }, {
736
+ code: string;
737
+ status: "rejected";
738
+ }>]>;
739
+ export declare const projectPipelinePolicyReceiptSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
740
+ status: z.ZodLiteral<"decided">;
741
+ outcome: z.ZodEffects<z.ZodString, string, string>;
742
+ evidence: z.ZodArray<z.ZodObject<{
743
+ resolverRef: z.ZodString;
744
+ objectKey: z.ZodString;
745
+ version: z.ZodString;
746
+ digest: z.ZodString;
747
+ } & {
748
+ schemaRef: z.ZodString;
749
+ producerOperationId: z.ZodOptional<z.ZodString>;
750
+ }, "strict", z.ZodTypeAny, {
751
+ version: string;
752
+ resolverRef: string;
753
+ digest: string;
754
+ objectKey: string;
755
+ schemaRef: string;
756
+ producerOperationId?: string | undefined;
757
+ }, {
758
+ version: string;
759
+ resolverRef: string;
760
+ digest: string;
761
+ objectKey: string;
762
+ schemaRef: string;
763
+ producerOperationId?: string | undefined;
764
+ }>, "many">;
765
+ }, "strict", z.ZodTypeAny, {
766
+ status: "decided";
767
+ outcome: string;
768
+ evidence: {
769
+ version: string;
770
+ resolverRef: string;
771
+ digest: string;
772
+ objectKey: string;
773
+ schemaRef: string;
774
+ producerOperationId?: string | undefined;
775
+ }[];
776
+ }, {
777
+ status: "decided";
778
+ outcome: string;
779
+ evidence: {
780
+ version: string;
781
+ resolverRef: string;
782
+ digest: string;
783
+ objectKey: string;
784
+ schemaRef: string;
785
+ producerOperationId?: string | undefined;
786
+ }[];
787
+ }>, z.ZodObject<{
788
+ status: z.ZodLiteral<"blocked">;
789
+ code: z.ZodEffects<z.ZodString, string, string>;
790
+ }, "strict", z.ZodTypeAny, {
791
+ code: string;
792
+ status: "blocked";
793
+ }, {
794
+ code: string;
795
+ status: "blocked";
796
+ }>]>;
797
+ export type ProjectPipelineOperationInput = z.output<typeof projectPipelineOperationInputSchema>;
798
+ export type ProjectPipelineOperationReceipt = z.output<typeof projectPipelineOperationReceiptSchema>;
799
+ export type ProjectPipelineCompletionReceipt = z.output<typeof projectPipelineCompletionReceiptSchema>;
800
+ export type ProjectPipelinePolicyReceipt = z.output<typeof projectPipelinePolicyReceiptSchema>;