dsh-tender-workbench 0.5.7 → 0.5.8

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 (43) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.en.md +7 -7
  3. package/README.md +8 -8
  4. package/docs/RELEASE-0.5.8.md +14 -0
  5. package/lib/client.js +539 -282
  6. package/lib/client.js.map +1 -1
  7. package/lib/index.js +483 -23
  8. package/lib/types/client/index.d.ts.map +1 -1
  9. package/lib/types/client/workbench/SessionWriteProgress.d.ts +5 -1
  10. package/lib/types/client/workbench/SessionWriteProgress.d.ts.map +1 -1
  11. package/lib/types/client/workbench/TenderHistoryView.d.ts +10 -0
  12. package/lib/types/client/workbench/TenderHistoryView.d.ts.map +1 -0
  13. package/lib/types/client/workbench/TenderWorkbench.d.ts +5 -1
  14. package/lib/types/client/workbench/TenderWorkbench.d.ts.map +1 -1
  15. package/lib/types/contracts/execution.d.ts +58 -0
  16. package/lib/types/contracts/execution.d.ts.map +1 -0
  17. package/lib/types/contracts/history.d.ts +60 -0
  18. package/lib/types/contracts/history.d.ts.map +1 -0
  19. package/lib/types/contracts/reporting.d.ts +3 -3
  20. package/lib/types/contracts/workflow.d.ts +142 -24
  21. package/lib/types/contracts/workflow.d.ts.map +1 -1
  22. package/lib/types/host/history.d.ts +26 -0
  23. package/lib/types/host/history.d.ts.map +1 -0
  24. package/lib/types/host/http-trust.d.ts +2 -0
  25. package/lib/types/host/http-trust.d.ts.map +1 -1
  26. package/lib/types/host/pipeline/provider-envelope.d.ts +10 -0
  27. package/lib/types/host/pipeline/provider-envelope.d.ts.map +1 -0
  28. package/lib/types/host/pipeline/qcc-adapters.d.ts +1 -1
  29. package/lib/types/host/pipeline/qcc-adapters.d.ts.map +1 -1
  30. package/lib/types/host/projection.d.ts +6 -0
  31. package/lib/types/host/projection.d.ts.map +1 -1
  32. package/lib/types/host/tools/analysis-review-tools.d.ts +213 -36
  33. package/lib/types/host/tools/analysis-review-tools.d.ts.map +1 -1
  34. package/lib/types/host/tools/query-tool.d.ts +71 -12
  35. package/lib/types/host/tools/query-tool.d.ts.map +1 -1
  36. package/lib/types/host/tools/report-tools.d.ts +148 -30
  37. package/lib/types/host/tools/report-tools.d.ts.map +1 -1
  38. package/lib/types/host/tools/rule-tools.d.ts +142 -24
  39. package/lib/types/host/tools/rule-tools.d.ts.map +1 -1
  40. package/lib/types/host/tools/workflow-state-tool.d.ts +5 -5
  41. package/lib/types/index.d.ts.map +1 -1
  42. package/package.json +2 -2
  43. package/docs/RELEASE-0.5.7.md +0 -20
@@ -28,6 +28,49 @@ declare const QueryToolResultV2Schema: z.ZodObject<{
28
28
  report: "report";
29
29
  }>;
30
30
  observedTurn: z.ZodOptional<z.ZodNumber>;
31
+ execution: z.ZodOptional<z.ZodObject<{
32
+ operationId: z.ZodString;
33
+ status: z.ZodEnum<{
34
+ succeeded: "succeeded";
35
+ failed: "failed";
36
+ running: "running";
37
+ partial: "partial";
38
+ interrupted: "interrupted";
39
+ }>;
40
+ currentAction: z.ZodString;
41
+ startedAt: z.ZodNumber;
42
+ updatedAt: z.ZodNumber;
43
+ finishedAt: z.ZodOptional<z.ZodNumber>;
44
+ counts: z.ZodObject<{
45
+ queried: z.ZodNumber;
46
+ succeeded: z.ZodNumber;
47
+ zero: z.ZodNumber;
48
+ failed: z.ZodNumber;
49
+ noPermission: z.ZodNumber;
50
+ unknown: z.ZodNumber;
51
+ needsReview: z.ZodNumber;
52
+ }, z.core.$strict>;
53
+ recentItem: z.ZodOptional<z.ZodString>;
54
+ queryTarget: z.ZodOptional<z.ZodString>;
55
+ providers: z.ZodObject<{
56
+ tender: z.ZodEnum<{
57
+ unknown: "unknown";
58
+ failed: "failed";
59
+ data: "data";
60
+ zero: "zero";
61
+ "not-needed": "not-needed";
62
+ "no-permission": "no-permission";
63
+ }>;
64
+ proposed: z.ZodEnum<{
65
+ unknown: "unknown";
66
+ failed: "failed";
67
+ data: "data";
68
+ zero: "zero";
69
+ "not-needed": "not-needed";
70
+ "no-permission": "no-permission";
71
+ }>;
72
+ }, z.core.$strict>;
73
+ }, z.core.$strict>>;
31
74
  pendingIntent: z.ZodOptional<z.ZodObject<{
32
75
  intentId: z.ZodString;
33
76
  kind: z.ZodEnum<{
@@ -55,8 +98,8 @@ declare const QueryToolResultV2Schema: z.ZodObject<{
55
98
  conversation: "conversation";
56
99
  }>;
57
100
  status: z.ZodEnum<{
58
- "waiting-agent": "waiting-agent";
59
101
  running: "running";
102
+ "waiting-agent": "waiting-agent";
60
103
  }>;
61
104
  turn: z.ZodNumber;
62
105
  expectedTool: z.ZodEnum<{
@@ -138,9 +181,9 @@ declare const QueryToolResultV2Schema: z.ZodObject<{
138
181
  status: z.ZodEnum<{
139
182
  succeeded: "succeeded";
140
183
  failed: "failed";
184
+ running: "running";
141
185
  "not-started": "not-started";
142
186
  "waiting-agent": "waiting-agent";
143
- running: "running";
144
187
  blocked: "blocked";
145
188
  }>;
146
189
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -153,9 +196,9 @@ declare const QueryToolResultV2Schema: z.ZodObject<{
153
196
  status: z.ZodEnum<{
154
197
  succeeded: "succeeded";
155
198
  failed: "failed";
199
+ running: "running";
156
200
  "not-started": "not-started";
157
201
  "waiting-agent": "waiting-agent";
158
- running: "running";
159
202
  blocked: "blocked";
160
203
  }>;
161
204
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -166,9 +209,9 @@ declare const QueryToolResultV2Schema: z.ZodObject<{
166
209
  status: z.ZodEnum<{
167
210
  succeeded: "succeeded";
168
211
  failed: "failed";
212
+ running: "running";
169
213
  "not-started": "not-started";
170
214
  "waiting-agent": "waiting-agent";
171
- running: "running";
172
215
  blocked: "blocked";
173
216
  }>;
174
217
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -179,9 +222,9 @@ declare const QueryToolResultV2Schema: z.ZodObject<{
179
222
  status: z.ZodEnum<{
180
223
  succeeded: "succeeded";
181
224
  failed: "failed";
225
+ running: "running";
182
226
  "not-started": "not-started";
183
227
  "waiting-agent": "waiting-agent";
184
- running: "running";
185
228
  blocked: "blocked";
186
229
  }>;
187
230
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -192,9 +235,9 @@ declare const QueryToolResultV2Schema: z.ZodObject<{
192
235
  status: z.ZodEnum<{
193
236
  succeeded: "succeeded";
194
237
  failed: "failed";
238
+ running: "running";
195
239
  "not-started": "not-started";
196
240
  "waiting-agent": "waiting-agent";
197
- running: "running";
198
241
  blocked: "blocked";
199
242
  }>;
200
243
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -205,9 +248,9 @@ declare const QueryToolResultV2Schema: z.ZodObject<{
205
248
  status: z.ZodEnum<{
206
249
  succeeded: "succeeded";
207
250
  failed: "failed";
251
+ running: "running";
208
252
  "not-started": "not-started";
209
253
  "waiting-agent": "waiting-agent";
210
- running: "running";
211
254
  blocked: "blocked";
212
255
  }>;
213
256
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -218,9 +261,9 @@ declare const QueryToolResultV2Schema: z.ZodObject<{
218
261
  status: z.ZodEnum<{
219
262
  succeeded: "succeeded";
220
263
  failed: "failed";
264
+ running: "running";
221
265
  "not-started": "not-started";
222
266
  "waiting-agent": "waiting-agent";
223
- running: "running";
224
267
  blocked: "blocked";
225
268
  }>;
226
269
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -231,9 +274,9 @@ declare const QueryToolResultV2Schema: z.ZodObject<{
231
274
  status: z.ZodEnum<{
232
275
  succeeded: "succeeded";
233
276
  failed: "failed";
277
+ running: "running";
234
278
  "not-started": "not-started";
235
279
  "waiting-agent": "waiting-agent";
236
- running: "running";
237
280
  blocked: "blocked";
238
281
  }>;
239
282
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -277,6 +320,14 @@ declare const QueryToolResultV2Schema: z.ZodObject<{
277
320
  failed: "failed";
278
321
  }>;
279
322
  loaded: z.ZodNumber;
323
+ outcome: z.ZodOptional<z.ZodEnum<{
324
+ unknown: "unknown";
325
+ failed: "failed";
326
+ data: "data";
327
+ zero: "zero";
328
+ "not-needed": "not-needed";
329
+ "no-permission": "no-permission";
330
+ }>>;
280
331
  errorMessage: z.ZodOptional<z.ZodString>;
281
332
  sourceData: z.ZodOptional<z.ZodObject<{
282
333
  id: z.ZodString;
@@ -307,6 +358,14 @@ declare const QueryToolResultV2Schema: z.ZodObject<{
307
358
  failed: "failed";
308
359
  }>;
309
360
  loaded: z.ZodNumber;
361
+ outcome: z.ZodOptional<z.ZodEnum<{
362
+ unknown: "unknown";
363
+ failed: "failed";
364
+ data: "data";
365
+ zero: "zero";
366
+ "not-needed": "not-needed";
367
+ "no-permission": "no-permission";
368
+ }>>;
310
369
  errorMessage: z.ZodOptional<z.ZodString>;
311
370
  sourceData: z.ZodOptional<z.ZodObject<{
312
371
  id: z.ZodString;
@@ -565,8 +624,8 @@ declare const QueryToolResultV2Schema: z.ZodObject<{
565
624
  }, z.core.$strict>>;
566
625
  finalSnapshotId: z.ZodOptional<z.ZodString>;
567
626
  completeness: z.ZodOptional<z.ZodEnum<{
568
- complete: "complete";
569
627
  partial: "partial";
628
+ complete: "complete";
570
629
  }>>;
571
630
  createdAt: z.ZodOptional<z.ZodString>;
572
631
  rawRecords: z.ZodOptional<z.ZodNumber>;
@@ -584,8 +643,8 @@ declare const QueryToolResultV2Schema: z.ZodObject<{
584
643
  status: z.ZodEnum<{
585
644
  succeeded: "succeeded";
586
645
  failed: "failed";
587
- "not-started": "not-started";
588
646
  running: "running";
647
+ "not-started": "not-started";
589
648
  }>;
590
649
  artifact: z.ZodOptional<z.ZodObject<{
591
650
  id: z.ZodString;
@@ -615,8 +674,8 @@ declare const QueryToolResultV2Schema: z.ZodObject<{
615
674
  status: z.ZodEnum<{
616
675
  succeeded: "succeeded";
617
676
  failed: "failed";
618
- "not-started": "not-started";
619
677
  running: "running";
678
+ "not-started": "not-started";
620
679
  }>;
621
680
  artifact: z.ZodOptional<z.ZodObject<{
622
681
  id: z.ZodString;
@@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BAAyB,CAAA;IACtD,QAAQ,CAAC,QAAQ,EAAE,wBAAwB,CAAA;CAC5C;AA8CD,0EAA0E;AAC1E,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,OAAO,GAAG,SAAS,SAAS,EAAE,CA2BzF;AAED,qFAAqF;AACrF,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,OAAO,GAAG,SAAS,CAIpE;AAgKD,wBAAgB,8BAA8B,CAAC,YAAY,EAAE,qBAAqB,mDAsKjF"}
@@ -93,8 +93,8 @@ declare const CreateReportResultV2Schema: z.ZodObject<{
93
93
  finalSnapshotId: z.ZodString;
94
94
  finalSnapshotArtifactRef: z.ZodString;
95
95
  completeness: z.ZodEnum<{
96
- complete: "complete";
97
96
  partial: "partial";
97
+ complete: "complete";
98
98
  }>;
99
99
  excelArtifactRef: z.ZodOptional<z.ZodString>;
100
100
  pdfArtifactRef: z.ZodOptional<z.ZodString>;
@@ -106,14 +106,14 @@ declare const CreateReportResultV2Schema: z.ZodObject<{
106
106
  excel: z.ZodEnum<{
107
107
  succeeded: "succeeded";
108
108
  failed: "failed";
109
- "not-started": "not-started";
110
109
  running: "running";
110
+ "not-started": "not-started";
111
111
  }>;
112
112
  pdf: z.ZodEnum<{
113
113
  succeeded: "succeeded";
114
114
  failed: "failed";
115
- "not-started": "not-started";
116
115
  running: "running";
116
+ "not-started": "not-started";
117
117
  }>;
118
118
  }, z.core.$strict>;
119
119
  projectionRevision: z.ZodNumber;
@@ -131,6 +131,49 @@ declare const CreateReportResultV2Schema: z.ZodObject<{
131
131
  report: "report";
132
132
  }>;
133
133
  observedTurn: z.ZodOptional<z.ZodNumber>;
134
+ execution: z.ZodOptional<z.ZodObject<{
135
+ operationId: z.ZodString;
136
+ status: z.ZodEnum<{
137
+ succeeded: "succeeded";
138
+ failed: "failed";
139
+ running: "running";
140
+ partial: "partial";
141
+ interrupted: "interrupted";
142
+ }>;
143
+ currentAction: z.ZodString;
144
+ startedAt: z.ZodNumber;
145
+ updatedAt: z.ZodNumber;
146
+ finishedAt: z.ZodOptional<z.ZodNumber>;
147
+ counts: z.ZodObject<{
148
+ queried: z.ZodNumber;
149
+ succeeded: z.ZodNumber;
150
+ zero: z.ZodNumber;
151
+ failed: z.ZodNumber;
152
+ noPermission: z.ZodNumber;
153
+ unknown: z.ZodNumber;
154
+ needsReview: z.ZodNumber;
155
+ }, z.core.$strict>;
156
+ recentItem: z.ZodOptional<z.ZodString>;
157
+ queryTarget: z.ZodOptional<z.ZodString>;
158
+ providers: z.ZodObject<{
159
+ tender: z.ZodEnum<{
160
+ unknown: "unknown";
161
+ failed: "failed";
162
+ data: "data";
163
+ zero: "zero";
164
+ "not-needed": "not-needed";
165
+ "no-permission": "no-permission";
166
+ }>;
167
+ proposed: z.ZodEnum<{
168
+ unknown: "unknown";
169
+ failed: "failed";
170
+ data: "data";
171
+ zero: "zero";
172
+ "not-needed": "not-needed";
173
+ "no-permission": "no-permission";
174
+ }>;
175
+ }, z.core.$strict>;
176
+ }, z.core.$strict>>;
134
177
  pendingIntent: z.ZodOptional<z.ZodObject<{
135
178
  intentId: z.ZodString;
136
179
  kind: z.ZodEnum<{
@@ -158,8 +201,8 @@ declare const CreateReportResultV2Schema: z.ZodObject<{
158
201
  conversation: "conversation";
159
202
  }>;
160
203
  status: z.ZodEnum<{
161
- "waiting-agent": "waiting-agent";
162
204
  running: "running";
205
+ "waiting-agent": "waiting-agent";
163
206
  }>;
164
207
  turn: z.ZodNumber;
165
208
  expectedTool: z.ZodEnum<{
@@ -241,9 +284,9 @@ declare const CreateReportResultV2Schema: z.ZodObject<{
241
284
  status: z.ZodEnum<{
242
285
  succeeded: "succeeded";
243
286
  failed: "failed";
287
+ running: "running";
244
288
  "not-started": "not-started";
245
289
  "waiting-agent": "waiting-agent";
246
- running: "running";
247
290
  blocked: "blocked";
248
291
  }>;
249
292
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -256,9 +299,9 @@ declare const CreateReportResultV2Schema: z.ZodObject<{
256
299
  status: z.ZodEnum<{
257
300
  succeeded: "succeeded";
258
301
  failed: "failed";
302
+ running: "running";
259
303
  "not-started": "not-started";
260
304
  "waiting-agent": "waiting-agent";
261
- running: "running";
262
305
  blocked: "blocked";
263
306
  }>;
264
307
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -269,9 +312,9 @@ declare const CreateReportResultV2Schema: z.ZodObject<{
269
312
  status: z.ZodEnum<{
270
313
  succeeded: "succeeded";
271
314
  failed: "failed";
315
+ running: "running";
272
316
  "not-started": "not-started";
273
317
  "waiting-agent": "waiting-agent";
274
- running: "running";
275
318
  blocked: "blocked";
276
319
  }>;
277
320
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -282,9 +325,9 @@ declare const CreateReportResultV2Schema: z.ZodObject<{
282
325
  status: z.ZodEnum<{
283
326
  succeeded: "succeeded";
284
327
  failed: "failed";
328
+ running: "running";
285
329
  "not-started": "not-started";
286
330
  "waiting-agent": "waiting-agent";
287
- running: "running";
288
331
  blocked: "blocked";
289
332
  }>;
290
333
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -295,9 +338,9 @@ declare const CreateReportResultV2Schema: z.ZodObject<{
295
338
  status: z.ZodEnum<{
296
339
  succeeded: "succeeded";
297
340
  failed: "failed";
341
+ running: "running";
298
342
  "not-started": "not-started";
299
343
  "waiting-agent": "waiting-agent";
300
- running: "running";
301
344
  blocked: "blocked";
302
345
  }>;
303
346
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -308,9 +351,9 @@ declare const CreateReportResultV2Schema: z.ZodObject<{
308
351
  status: z.ZodEnum<{
309
352
  succeeded: "succeeded";
310
353
  failed: "failed";
354
+ running: "running";
311
355
  "not-started": "not-started";
312
356
  "waiting-agent": "waiting-agent";
313
- running: "running";
314
357
  blocked: "blocked";
315
358
  }>;
316
359
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -321,9 +364,9 @@ declare const CreateReportResultV2Schema: z.ZodObject<{
321
364
  status: z.ZodEnum<{
322
365
  succeeded: "succeeded";
323
366
  failed: "failed";
367
+ running: "running";
324
368
  "not-started": "not-started";
325
369
  "waiting-agent": "waiting-agent";
326
- running: "running";
327
370
  blocked: "blocked";
328
371
  }>;
329
372
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -334,9 +377,9 @@ declare const CreateReportResultV2Schema: z.ZodObject<{
334
377
  status: z.ZodEnum<{
335
378
  succeeded: "succeeded";
336
379
  failed: "failed";
380
+ running: "running";
337
381
  "not-started": "not-started";
338
382
  "waiting-agent": "waiting-agent";
339
- running: "running";
340
383
  blocked: "blocked";
341
384
  }>;
342
385
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -380,6 +423,14 @@ declare const CreateReportResultV2Schema: z.ZodObject<{
380
423
  failed: "failed";
381
424
  }>;
382
425
  loaded: z.ZodNumber;
426
+ outcome: z.ZodOptional<z.ZodEnum<{
427
+ unknown: "unknown";
428
+ failed: "failed";
429
+ data: "data";
430
+ zero: "zero";
431
+ "not-needed": "not-needed";
432
+ "no-permission": "no-permission";
433
+ }>>;
383
434
  errorMessage: z.ZodOptional<z.ZodString>;
384
435
  sourceData: z.ZodOptional<z.ZodObject<{
385
436
  id: z.ZodString;
@@ -410,6 +461,14 @@ declare const CreateReportResultV2Schema: z.ZodObject<{
410
461
  failed: "failed";
411
462
  }>;
412
463
  loaded: z.ZodNumber;
464
+ outcome: z.ZodOptional<z.ZodEnum<{
465
+ unknown: "unknown";
466
+ failed: "failed";
467
+ data: "data";
468
+ zero: "zero";
469
+ "not-needed": "not-needed";
470
+ "no-permission": "no-permission";
471
+ }>>;
413
472
  errorMessage: z.ZodOptional<z.ZodString>;
414
473
  sourceData: z.ZodOptional<z.ZodObject<{
415
474
  id: z.ZodString;
@@ -668,8 +727,8 @@ declare const CreateReportResultV2Schema: z.ZodObject<{
668
727
  }, z.core.$strict>>;
669
728
  finalSnapshotId: z.ZodOptional<z.ZodString>;
670
729
  completeness: z.ZodOptional<z.ZodEnum<{
671
- complete: "complete";
672
730
  partial: "partial";
731
+ complete: "complete";
673
732
  }>>;
674
733
  createdAt: z.ZodOptional<z.ZodString>;
675
734
  rawRecords: z.ZodOptional<z.ZodNumber>;
@@ -687,8 +746,8 @@ declare const CreateReportResultV2Schema: z.ZodObject<{
687
746
  status: z.ZodEnum<{
688
747
  succeeded: "succeeded";
689
748
  failed: "failed";
690
- "not-started": "not-started";
691
749
  running: "running";
750
+ "not-started": "not-started";
692
751
  }>;
693
752
  artifact: z.ZodOptional<z.ZodObject<{
694
753
  id: z.ZodString;
@@ -718,8 +777,8 @@ declare const CreateReportResultV2Schema: z.ZodObject<{
718
777
  status: z.ZodEnum<{
719
778
  succeeded: "succeeded";
720
779
  failed: "failed";
721
- "not-started": "not-started";
722
780
  running: "running";
781
+ "not-started": "not-started";
723
782
  }>;
724
783
  artifact: z.ZodOptional<z.ZodObject<{
725
784
  id: z.ZodString;
@@ -785,8 +844,8 @@ declare const RetryReportResultV2Schema: z.ZodObject<{
785
844
  finalSnapshotId: z.ZodString;
786
845
  finalSnapshotArtifactRef: z.ZodString;
787
846
  completeness: z.ZodEnum<{
788
- complete: "complete";
789
847
  partial: "partial";
848
+ complete: "complete";
790
849
  }>;
791
850
  excelArtifactRef: z.ZodOptional<z.ZodString>;
792
851
  pdfArtifactRef: z.ZodOptional<z.ZodString>;
@@ -798,14 +857,14 @@ declare const RetryReportResultV2Schema: z.ZodObject<{
798
857
  excel: z.ZodEnum<{
799
858
  succeeded: "succeeded";
800
859
  failed: "failed";
801
- "not-started": "not-started";
802
860
  running: "running";
861
+ "not-started": "not-started";
803
862
  }>;
804
863
  pdf: z.ZodEnum<{
805
864
  succeeded: "succeeded";
806
865
  failed: "failed";
807
- "not-started": "not-started";
808
866
  running: "running";
867
+ "not-started": "not-started";
809
868
  }>;
810
869
  }, z.core.$strict>;
811
870
  projectionRevision: z.ZodNumber;
@@ -823,6 +882,49 @@ declare const RetryReportResultV2Schema: z.ZodObject<{
823
882
  report: "report";
824
883
  }>;
825
884
  observedTurn: z.ZodOptional<z.ZodNumber>;
885
+ execution: z.ZodOptional<z.ZodObject<{
886
+ operationId: z.ZodString;
887
+ status: z.ZodEnum<{
888
+ succeeded: "succeeded";
889
+ failed: "failed";
890
+ running: "running";
891
+ partial: "partial";
892
+ interrupted: "interrupted";
893
+ }>;
894
+ currentAction: z.ZodString;
895
+ startedAt: z.ZodNumber;
896
+ updatedAt: z.ZodNumber;
897
+ finishedAt: z.ZodOptional<z.ZodNumber>;
898
+ counts: z.ZodObject<{
899
+ queried: z.ZodNumber;
900
+ succeeded: z.ZodNumber;
901
+ zero: z.ZodNumber;
902
+ failed: z.ZodNumber;
903
+ noPermission: z.ZodNumber;
904
+ unknown: z.ZodNumber;
905
+ needsReview: z.ZodNumber;
906
+ }, z.core.$strict>;
907
+ recentItem: z.ZodOptional<z.ZodString>;
908
+ queryTarget: z.ZodOptional<z.ZodString>;
909
+ providers: z.ZodObject<{
910
+ tender: z.ZodEnum<{
911
+ unknown: "unknown";
912
+ failed: "failed";
913
+ data: "data";
914
+ zero: "zero";
915
+ "not-needed": "not-needed";
916
+ "no-permission": "no-permission";
917
+ }>;
918
+ proposed: z.ZodEnum<{
919
+ unknown: "unknown";
920
+ failed: "failed";
921
+ data: "data";
922
+ zero: "zero";
923
+ "not-needed": "not-needed";
924
+ "no-permission": "no-permission";
925
+ }>;
926
+ }, z.core.$strict>;
927
+ }, z.core.$strict>>;
826
928
  pendingIntent: z.ZodOptional<z.ZodObject<{
827
929
  intentId: z.ZodString;
828
930
  kind: z.ZodEnum<{
@@ -850,8 +952,8 @@ declare const RetryReportResultV2Schema: z.ZodObject<{
850
952
  conversation: "conversation";
851
953
  }>;
852
954
  status: z.ZodEnum<{
853
- "waiting-agent": "waiting-agent";
854
955
  running: "running";
956
+ "waiting-agent": "waiting-agent";
855
957
  }>;
856
958
  turn: z.ZodNumber;
857
959
  expectedTool: z.ZodEnum<{
@@ -933,9 +1035,9 @@ declare const RetryReportResultV2Schema: z.ZodObject<{
933
1035
  status: z.ZodEnum<{
934
1036
  succeeded: "succeeded";
935
1037
  failed: "failed";
1038
+ running: "running";
936
1039
  "not-started": "not-started";
937
1040
  "waiting-agent": "waiting-agent";
938
- running: "running";
939
1041
  blocked: "blocked";
940
1042
  }>;
941
1043
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -948,9 +1050,9 @@ declare const RetryReportResultV2Schema: z.ZodObject<{
948
1050
  status: z.ZodEnum<{
949
1051
  succeeded: "succeeded";
950
1052
  failed: "failed";
1053
+ running: "running";
951
1054
  "not-started": "not-started";
952
1055
  "waiting-agent": "waiting-agent";
953
- running: "running";
954
1056
  blocked: "blocked";
955
1057
  }>;
956
1058
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -961,9 +1063,9 @@ declare const RetryReportResultV2Schema: z.ZodObject<{
961
1063
  status: z.ZodEnum<{
962
1064
  succeeded: "succeeded";
963
1065
  failed: "failed";
1066
+ running: "running";
964
1067
  "not-started": "not-started";
965
1068
  "waiting-agent": "waiting-agent";
966
- running: "running";
967
1069
  blocked: "blocked";
968
1070
  }>;
969
1071
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -974,9 +1076,9 @@ declare const RetryReportResultV2Schema: z.ZodObject<{
974
1076
  status: z.ZodEnum<{
975
1077
  succeeded: "succeeded";
976
1078
  failed: "failed";
1079
+ running: "running";
977
1080
  "not-started": "not-started";
978
1081
  "waiting-agent": "waiting-agent";
979
- running: "running";
980
1082
  blocked: "blocked";
981
1083
  }>;
982
1084
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -987,9 +1089,9 @@ declare const RetryReportResultV2Schema: z.ZodObject<{
987
1089
  status: z.ZodEnum<{
988
1090
  succeeded: "succeeded";
989
1091
  failed: "failed";
1092
+ running: "running";
990
1093
  "not-started": "not-started";
991
1094
  "waiting-agent": "waiting-agent";
992
- running: "running";
993
1095
  blocked: "blocked";
994
1096
  }>;
995
1097
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -1000,9 +1102,9 @@ declare const RetryReportResultV2Schema: z.ZodObject<{
1000
1102
  status: z.ZodEnum<{
1001
1103
  succeeded: "succeeded";
1002
1104
  failed: "failed";
1105
+ running: "running";
1003
1106
  "not-started": "not-started";
1004
1107
  "waiting-agent": "waiting-agent";
1005
- running: "running";
1006
1108
  blocked: "blocked";
1007
1109
  }>;
1008
1110
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -1013,9 +1115,9 @@ declare const RetryReportResultV2Schema: z.ZodObject<{
1013
1115
  status: z.ZodEnum<{
1014
1116
  succeeded: "succeeded";
1015
1117
  failed: "failed";
1118
+ running: "running";
1016
1119
  "not-started": "not-started";
1017
1120
  "waiting-agent": "waiting-agent";
1018
- running: "running";
1019
1121
  blocked: "blocked";
1020
1122
  }>;
1021
1123
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -1026,9 +1128,9 @@ declare const RetryReportResultV2Schema: z.ZodObject<{
1026
1128
  status: z.ZodEnum<{
1027
1129
  succeeded: "succeeded";
1028
1130
  failed: "failed";
1131
+ running: "running";
1029
1132
  "not-started": "not-started";
1030
1133
  "waiting-agent": "waiting-agent";
1031
- running: "running";
1032
1134
  blocked: "blocked";
1033
1135
  }>;
1034
1136
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -1072,6 +1174,14 @@ declare const RetryReportResultV2Schema: z.ZodObject<{
1072
1174
  failed: "failed";
1073
1175
  }>;
1074
1176
  loaded: z.ZodNumber;
1177
+ outcome: z.ZodOptional<z.ZodEnum<{
1178
+ unknown: "unknown";
1179
+ failed: "failed";
1180
+ data: "data";
1181
+ zero: "zero";
1182
+ "not-needed": "not-needed";
1183
+ "no-permission": "no-permission";
1184
+ }>>;
1075
1185
  errorMessage: z.ZodOptional<z.ZodString>;
1076
1186
  sourceData: z.ZodOptional<z.ZodObject<{
1077
1187
  id: z.ZodString;
@@ -1102,6 +1212,14 @@ declare const RetryReportResultV2Schema: z.ZodObject<{
1102
1212
  failed: "failed";
1103
1213
  }>;
1104
1214
  loaded: z.ZodNumber;
1215
+ outcome: z.ZodOptional<z.ZodEnum<{
1216
+ unknown: "unknown";
1217
+ failed: "failed";
1218
+ data: "data";
1219
+ zero: "zero";
1220
+ "not-needed": "not-needed";
1221
+ "no-permission": "no-permission";
1222
+ }>>;
1105
1223
  errorMessage: z.ZodOptional<z.ZodString>;
1106
1224
  sourceData: z.ZodOptional<z.ZodObject<{
1107
1225
  id: z.ZodString;
@@ -1360,8 +1478,8 @@ declare const RetryReportResultV2Schema: z.ZodObject<{
1360
1478
  }, z.core.$strict>>;
1361
1479
  finalSnapshotId: z.ZodOptional<z.ZodString>;
1362
1480
  completeness: z.ZodOptional<z.ZodEnum<{
1363
- complete: "complete";
1364
1481
  partial: "partial";
1482
+ complete: "complete";
1365
1483
  }>>;
1366
1484
  createdAt: z.ZodOptional<z.ZodString>;
1367
1485
  rawRecords: z.ZodOptional<z.ZodNumber>;
@@ -1379,8 +1497,8 @@ declare const RetryReportResultV2Schema: z.ZodObject<{
1379
1497
  status: z.ZodEnum<{
1380
1498
  succeeded: "succeeded";
1381
1499
  failed: "failed";
1382
- "not-started": "not-started";
1383
1500
  running: "running";
1501
+ "not-started": "not-started";
1384
1502
  }>;
1385
1503
  artifact: z.ZodOptional<z.ZodObject<{
1386
1504
  id: z.ZodString;
@@ -1410,8 +1528,8 @@ declare const RetryReportResultV2Schema: z.ZodObject<{
1410
1528
  status: z.ZodEnum<{
1411
1529
  succeeded: "succeeded";
1412
1530
  failed: "failed";
1413
- "not-started": "not-started";
1414
1531
  running: "running";
1532
+ "not-started": "not-started";
1415
1533
  }>;
1416
1534
  artifact: z.ZodOptional<z.ZodObject<{
1417
1535
  id: z.ZodString;