@xpert-ai/contracts 3.33.1 → 3.35.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 (68) hide show
  1. package/index.cjs.js +545 -168
  2. package/index.esm.js +517 -169
  3. package/package.json +2 -2
  4. package/src/ai/ai.model.d.ts +1 -1
  5. package/src/ai/chat-group-entity.model.d.ts +1 -1
  6. package/src/ai/chat-group.model.d.ts +116 -3
  7. package/src/ai/conversation-trail.model.d.ts +2 -2
  8. package/src/ai/evolution/baseline.d.ts +12 -0
  9. package/src/ai/evolution/candidate.d.ts +20 -0
  10. package/src/ai/evolution/capability-version.d.ts +12 -0
  11. package/src/ai/evolution/change.d.ts +40 -2
  12. package/src/ai/evolution/evaluation.d.ts +26 -0
  13. package/src/ai/evolution/example.d.ts +5 -0
  14. package/src/ai/evolution/experience.d.ts +3 -0
  15. package/src/ai/evolution/governance.d.ts +29 -3
  16. package/src/ai/evolution/index.d.ts +1 -0
  17. package/src/ai/evolution/learning-event.d.ts +13 -0
  18. package/src/ai/evolution/learning-review.d.ts +61 -0
  19. package/src/ai/evolution/persistence.d.ts +7 -2
  20. package/src/ai/evolution/provider.d.ts +38 -0
  21. package/src/ai/evolution/release.d.ts +24 -6
  22. package/src/ai/evolution/runtime.d.ts +19 -0
  23. package/src/ai/evolution/strategy.d.ts +10 -0
  24. package/src/ai/evolution/target.d.ts +34 -6
  25. package/src/ai/execution-control-evidence.schema.d.ts +46 -4
  26. package/src/ai/index.d.ts +4 -0
  27. package/src/ai/model-execution.model.d.ts +2 -0
  28. package/src/ai/project-configuration-view.model.d.ts +77 -0
  29. package/src/ai/project-pipeline/analytics.d.ts +5 -33
  30. package/src/ai/project-pipeline/budget.schema.d.ts +38 -0
  31. package/src/ai/project-pipeline/commands.schema.d.ts +10 -10
  32. package/src/ai/project-pipeline/configuration-form.d.ts +2 -2
  33. package/src/ai/project-pipeline/index.d.ts +1 -0
  34. package/src/ai/project-pipeline/model-usage-statistics.d.ts +6 -26
  35. package/src/ai/project-pipeline/operation.schema.d.ts +370 -40
  36. package/src/ai/project-pipeline/plugin-deployment.schema.d.ts +152 -0
  37. package/src/ai/project-pipeline/portfolio.schema.d.ts +14 -86
  38. package/src/ai/project-pipeline/provider-actions.schema.d.ts +12 -12
  39. package/src/ai/project-pipeline/runtime.schema.d.ts +2 -2
  40. package/src/ai/project-pipeline/statistics.d.ts +5 -33
  41. package/src/ai/project-task-runtime.model.d.ts +1329 -78
  42. package/src/ai/project-type-configuration.model.d.ts +48 -0
  43. package/src/ai/xpert-agent-execution.model.d.ts +16 -2
  44. package/src/ai/xpert-project-type.model.d.ts +3 -0
  45. package/src/ai/xpert-project.model.d.ts +3 -1
  46. package/src/ai/xpert-task.model.d.ts +16 -0
  47. package/src/ai/xpert.model.d.ts +2 -0
  48. package/src/app-platform.d.ts +36 -36
  49. package/src/artifact-group-reference.model.d.ts +71 -0
  50. package/src/artifact-use-grant-command.d.ts +54 -0
  51. package/src/artifact-use-grant.model.d.ts +62 -0
  52. package/src/content-resource.model.d.ts +3 -0
  53. package/src/conversation-resource.model.d.ts +63 -0
  54. package/src/desktop-shell.model.d.ts +13 -1
  55. package/src/icon-definition.schema.d.ts +24 -0
  56. package/src/index.d.ts +6 -0
  57. package/src/plugin-management.d.ts +13 -0
  58. package/src/plugin.d.ts +2 -0
  59. package/src/resource-analysis.model.d.ts +140 -0
  60. package/src/runtime-control.d.ts +6 -0
  61. package/src/types.d.ts +1 -2
  62. package/src/user-notification.schema.d.ts +29 -0
  63. package/src/user.model.d.ts +11 -0
  64. package/src/view-extension/client-commands.d.ts +176 -0
  65. package/src/view-extension/context-event.d.ts +66 -0
  66. package/src/view-extension/index.d.ts +2 -0
  67. package/src/view-extension/model.d.ts +2 -158
  68. package/src/view-extension/workbench-open.d.ts +17 -2
@@ -242,8 +242,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
242
242
  };
243
243
  source: "unavailable";
244
244
  version: 1;
245
- state: "unknown";
246
245
  reason: "unregistered" | "unconfirmed" | "unsupported";
246
+ state: "unknown";
247
247
  observedAt: string;
248
248
  }, {
249
249
  subject: {
@@ -255,8 +255,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
255
255
  };
256
256
  source: "unavailable";
257
257
  version: 1;
258
- state: "unknown";
259
258
  reason: "unregistered" | "unconfirmed" | "unsupported";
259
+ state: "unknown";
260
260
  observedAt: string;
261
261
  }>, z.ZodObject<{
262
262
  source: z.ZodLiteral<"platform">;
@@ -423,6 +423,48 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
423
423
  version: 1;
424
424
  generation: string;
425
425
  } | undefined;
426
+ }>, z.ZodObject<{
427
+ source: z.ZodLiteral<"native_graph">;
428
+ subject: z.ZodObject<{
429
+ kind: z.ZodLiteral<"invocation">;
430
+ id: z.ZodString;
431
+ }, "strict", z.ZodTypeAny, {
432
+ kind: "invocation";
433
+ id: string;
434
+ }, {
435
+ kind: "invocation";
436
+ id: string;
437
+ }>;
438
+ scope: z.ZodLiteral<"operation">;
439
+ state: z.ZodLiteral<"settled">;
440
+ outcome: z.ZodLiteral<"cancelled">;
441
+ executionId: z.ZodString;
442
+ version: z.ZodLiteral<1>;
443
+ observedAt: z.ZodString;
444
+ }, "strict", z.ZodTypeAny, {
445
+ subject: {
446
+ kind: "invocation";
447
+ id: string;
448
+ };
449
+ outcome: "cancelled";
450
+ source: "native_graph";
451
+ version: 1;
452
+ scope: "operation";
453
+ state: "settled";
454
+ observedAt: string;
455
+ executionId: string;
456
+ }, {
457
+ subject: {
458
+ kind: "invocation";
459
+ id: string;
460
+ };
461
+ outcome: "cancelled";
462
+ source: "native_graph";
463
+ version: 1;
464
+ scope: "operation";
465
+ state: "settled";
466
+ observedAt: string;
467
+ executionId: string;
426
468
  }>, z.ZodObject<{
427
469
  source: z.ZodLiteral<"host_admission">;
428
470
  subject: z.ZodObject<{
@@ -449,9 +491,9 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
449
491
  outcome: "failed" | "cancelled";
450
492
  source: "host_admission";
451
493
  version: 1;
494
+ reason: "not_started";
452
495
  scope: "operation";
453
496
  state: "settled";
454
- reason: "not_started";
455
497
  observedAt: string;
456
498
  }, {
457
499
  subject: {
@@ -461,9 +503,9 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
461
503
  outcome: "failed" | "cancelled";
462
504
  source: "host_admission";
463
505
  version: 1;
506
+ reason: "not_started";
464
507
  scope: "operation";
465
508
  state: "settled";
466
- reason: "not_started";
467
509
  observedAt: string;
468
510
  }>]>>;
469
511
  receiptKey: z.ZodString;
@@ -538,8 +580,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
538
580
  };
539
581
  source: "unavailable";
540
582
  version: 1;
541
- state: "unknown";
542
583
  reason: "unregistered" | "unconfirmed" | "unsupported";
584
+ state: "unknown";
543
585
  observedAt: string;
544
586
  } | {
545
587
  subject: {
@@ -584,6 +626,18 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
584
626
  version: 1;
585
627
  generation: string;
586
628
  } | undefined;
629
+ } | {
630
+ subject: {
631
+ kind: "invocation";
632
+ id: string;
633
+ };
634
+ outcome: "cancelled";
635
+ source: "native_graph";
636
+ version: 1;
637
+ scope: "operation";
638
+ state: "settled";
639
+ observedAt: string;
640
+ executionId: string;
587
641
  } | {
588
642
  subject: {
589
643
  kind: "invocation";
@@ -592,9 +646,9 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
592
646
  outcome: "failed" | "cancelled";
593
647
  source: "host_admission";
594
648
  version: 1;
649
+ reason: "not_started";
595
650
  scope: "operation";
596
651
  state: "settled";
597
- reason: "not_started";
598
652
  observedAt: string;
599
653
  } | undefined;
600
654
  }, {
@@ -625,8 +679,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
625
679
  };
626
680
  source: "unavailable";
627
681
  version: 1;
628
- state: "unknown";
629
682
  reason: "unregistered" | "unconfirmed" | "unsupported";
683
+ state: "unknown";
630
684
  observedAt: string;
631
685
  } | {
632
686
  subject: {
@@ -671,6 +725,18 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
671
725
  version: 1;
672
726
  generation: string;
673
727
  } | undefined;
728
+ } | {
729
+ subject: {
730
+ kind: "invocation";
731
+ id: string;
732
+ };
733
+ outcome: "cancelled";
734
+ source: "native_graph";
735
+ version: 1;
736
+ scope: "operation";
737
+ state: "settled";
738
+ observedAt: string;
739
+ executionId: string;
674
740
  } | {
675
741
  subject: {
676
742
  kind: "invocation";
@@ -679,9 +745,9 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
679
745
  outcome: "failed" | "cancelled";
680
746
  source: "host_admission";
681
747
  version: 1;
748
+ reason: "not_started";
682
749
  scope: "operation";
683
750
  state: "settled";
684
- reason: "not_started";
685
751
  observedAt: string;
686
752
  } | undefined;
687
753
  }>, z.ZodObject<{
@@ -758,8 +824,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
758
824
  };
759
825
  source: "unavailable";
760
826
  version: 1;
761
- state: "unknown";
762
827
  reason: "unregistered" | "unconfirmed" | "unsupported";
828
+ state: "unknown";
763
829
  observedAt: string;
764
830
  }, {
765
831
  subject: {
@@ -771,8 +837,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
771
837
  };
772
838
  source: "unavailable";
773
839
  version: 1;
774
- state: "unknown";
775
840
  reason: "unregistered" | "unconfirmed" | "unsupported";
841
+ state: "unknown";
776
842
  observedAt: string;
777
843
  }>, z.ZodObject<{
778
844
  source: z.ZodLiteral<"platform">;
@@ -939,6 +1005,48 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
939
1005
  version: 1;
940
1006
  generation: string;
941
1007
  } | undefined;
1008
+ }>, z.ZodObject<{
1009
+ source: z.ZodLiteral<"native_graph">;
1010
+ subject: z.ZodObject<{
1011
+ kind: z.ZodLiteral<"invocation">;
1012
+ id: z.ZodString;
1013
+ }, "strict", z.ZodTypeAny, {
1014
+ kind: "invocation";
1015
+ id: string;
1016
+ }, {
1017
+ kind: "invocation";
1018
+ id: string;
1019
+ }>;
1020
+ scope: z.ZodLiteral<"operation">;
1021
+ state: z.ZodLiteral<"settled">;
1022
+ outcome: z.ZodLiteral<"cancelled">;
1023
+ executionId: z.ZodString;
1024
+ version: z.ZodLiteral<1>;
1025
+ observedAt: z.ZodString;
1026
+ }, "strict", z.ZodTypeAny, {
1027
+ subject: {
1028
+ kind: "invocation";
1029
+ id: string;
1030
+ };
1031
+ outcome: "cancelled";
1032
+ source: "native_graph";
1033
+ version: 1;
1034
+ scope: "operation";
1035
+ state: "settled";
1036
+ observedAt: string;
1037
+ executionId: string;
1038
+ }, {
1039
+ subject: {
1040
+ kind: "invocation";
1041
+ id: string;
1042
+ };
1043
+ outcome: "cancelled";
1044
+ source: "native_graph";
1045
+ version: 1;
1046
+ scope: "operation";
1047
+ state: "settled";
1048
+ observedAt: string;
1049
+ executionId: string;
942
1050
  }>, z.ZodObject<{
943
1051
  source: z.ZodLiteral<"host_admission">;
944
1052
  subject: z.ZodObject<{
@@ -965,9 +1073,9 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
965
1073
  outcome: "failed" | "cancelled";
966
1074
  source: "host_admission";
967
1075
  version: 1;
1076
+ reason: "not_started";
968
1077
  scope: "operation";
969
1078
  state: "settled";
970
- reason: "not_started";
971
1079
  observedAt: string;
972
1080
  }, {
973
1081
  subject: {
@@ -977,9 +1085,9 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
977
1085
  outcome: "failed" | "cancelled";
978
1086
  source: "host_admission";
979
1087
  version: 1;
1088
+ reason: "not_started";
980
1089
  scope: "operation";
981
1090
  state: "settled";
982
- reason: "not_started";
983
1091
  observedAt: string;
984
1092
  }>]>>;
985
1093
  receiptKey: z.ZodString;
@@ -1062,8 +1170,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1062
1170
  };
1063
1171
  source: "unavailable";
1064
1172
  version: 1;
1065
- state: "unknown";
1066
1173
  reason: "unregistered" | "unconfirmed" | "unsupported";
1174
+ state: "unknown";
1067
1175
  observedAt: string;
1068
1176
  } | {
1069
1177
  subject: {
@@ -1108,6 +1216,18 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1108
1216
  version: 1;
1109
1217
  generation: string;
1110
1218
  } | undefined;
1219
+ } | {
1220
+ subject: {
1221
+ kind: "invocation";
1222
+ id: string;
1223
+ };
1224
+ outcome: "cancelled";
1225
+ source: "native_graph";
1226
+ version: 1;
1227
+ scope: "operation";
1228
+ state: "settled";
1229
+ observedAt: string;
1230
+ executionId: string;
1111
1231
  } | {
1112
1232
  subject: {
1113
1233
  kind: "invocation";
@@ -1116,9 +1236,9 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1116
1236
  outcome: "failed" | "cancelled";
1117
1237
  source: "host_admission";
1118
1238
  version: 1;
1239
+ reason: "not_started";
1119
1240
  scope: "operation";
1120
1241
  state: "settled";
1121
- reason: "not_started";
1122
1242
  observedAt: string;
1123
1243
  } | undefined;
1124
1244
  }, {
@@ -1157,8 +1277,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1157
1277
  };
1158
1278
  source: "unavailable";
1159
1279
  version: 1;
1160
- state: "unknown";
1161
1280
  reason: "unregistered" | "unconfirmed" | "unsupported";
1281
+ state: "unknown";
1162
1282
  observedAt: string;
1163
1283
  } | {
1164
1284
  subject: {
@@ -1203,6 +1323,18 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1203
1323
  version: 1;
1204
1324
  generation: string;
1205
1325
  } | undefined;
1326
+ } | {
1327
+ subject: {
1328
+ kind: "invocation";
1329
+ id: string;
1330
+ };
1331
+ outcome: "cancelled";
1332
+ source: "native_graph";
1333
+ version: 1;
1334
+ scope: "operation";
1335
+ state: "settled";
1336
+ observedAt: string;
1337
+ executionId: string;
1206
1338
  } | {
1207
1339
  subject: {
1208
1340
  kind: "invocation";
@@ -1211,9 +1343,9 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1211
1343
  outcome: "failed" | "cancelled";
1212
1344
  source: "host_admission";
1213
1345
  version: 1;
1346
+ reason: "not_started";
1214
1347
  scope: "operation";
1215
1348
  state: "settled";
1216
- reason: "not_started";
1217
1349
  observedAt: string;
1218
1350
  } | undefined;
1219
1351
  }>, z.ZodObject<{
@@ -1254,8 +1386,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1254
1386
  };
1255
1387
  source: "unavailable";
1256
1388
  version: 1;
1257
- state: "unknown";
1258
1389
  reason: "unregistered" | "unconfirmed" | "unsupported";
1390
+ state: "unknown";
1259
1391
  observedAt: string;
1260
1392
  }, {
1261
1393
  subject: {
@@ -1267,8 +1399,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1267
1399
  };
1268
1400
  source: "unavailable";
1269
1401
  version: 1;
1270
- state: "unknown";
1271
1402
  reason: "unregistered" | "unconfirmed" | "unsupported";
1403
+ state: "unknown";
1272
1404
  observedAt: string;
1273
1405
  }>, z.ZodObject<{
1274
1406
  source: z.ZodLiteral<"platform">;
@@ -1435,6 +1567,48 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1435
1567
  version: 1;
1436
1568
  generation: string;
1437
1569
  } | undefined;
1570
+ }>, z.ZodObject<{
1571
+ source: z.ZodLiteral<"native_graph">;
1572
+ subject: z.ZodObject<{
1573
+ kind: z.ZodLiteral<"invocation">;
1574
+ id: z.ZodString;
1575
+ }, "strict", z.ZodTypeAny, {
1576
+ kind: "invocation";
1577
+ id: string;
1578
+ }, {
1579
+ kind: "invocation";
1580
+ id: string;
1581
+ }>;
1582
+ scope: z.ZodLiteral<"operation">;
1583
+ state: z.ZodLiteral<"settled">;
1584
+ outcome: z.ZodLiteral<"cancelled">;
1585
+ executionId: z.ZodString;
1586
+ version: z.ZodLiteral<1>;
1587
+ observedAt: z.ZodString;
1588
+ }, "strict", z.ZodTypeAny, {
1589
+ subject: {
1590
+ kind: "invocation";
1591
+ id: string;
1592
+ };
1593
+ outcome: "cancelled";
1594
+ source: "native_graph";
1595
+ version: 1;
1596
+ scope: "operation";
1597
+ state: "settled";
1598
+ observedAt: string;
1599
+ executionId: string;
1600
+ }, {
1601
+ subject: {
1602
+ kind: "invocation";
1603
+ id: string;
1604
+ };
1605
+ outcome: "cancelled";
1606
+ source: "native_graph";
1607
+ version: 1;
1608
+ scope: "operation";
1609
+ state: "settled";
1610
+ observedAt: string;
1611
+ executionId: string;
1438
1612
  }>, z.ZodObject<{
1439
1613
  source: z.ZodLiteral<"host_admission">;
1440
1614
  subject: z.ZodObject<{
@@ -1461,9 +1635,9 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1461
1635
  outcome: "failed" | "cancelled";
1462
1636
  source: "host_admission";
1463
1637
  version: 1;
1638
+ reason: "not_started";
1464
1639
  scope: "operation";
1465
1640
  state: "settled";
1466
- reason: "not_started";
1467
1641
  observedAt: string;
1468
1642
  }, {
1469
1643
  subject: {
@@ -1473,9 +1647,9 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1473
1647
  outcome: "failed" | "cancelled";
1474
1648
  source: "host_admission";
1475
1649
  version: 1;
1650
+ reason: "not_started";
1476
1651
  scope: "operation";
1477
1652
  state: "settled";
1478
- reason: "not_started";
1479
1653
  observedAt: string;
1480
1654
  }>]>>;
1481
1655
  receiptKey: z.ZodString;
@@ -1551,8 +1725,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1551
1725
  };
1552
1726
  source: "unavailable";
1553
1727
  version: 1;
1554
- state: "unknown";
1555
1728
  reason: "unregistered" | "unconfirmed" | "unsupported";
1729
+ state: "unknown";
1556
1730
  observedAt: string;
1557
1731
  } | {
1558
1732
  subject: {
@@ -1597,6 +1771,18 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1597
1771
  version: 1;
1598
1772
  generation: string;
1599
1773
  } | undefined;
1774
+ } | {
1775
+ subject: {
1776
+ kind: "invocation";
1777
+ id: string;
1778
+ };
1779
+ outcome: "cancelled";
1780
+ source: "native_graph";
1781
+ version: 1;
1782
+ scope: "operation";
1783
+ state: "settled";
1784
+ observedAt: string;
1785
+ executionId: string;
1600
1786
  } | {
1601
1787
  subject: {
1602
1788
  kind: "invocation";
@@ -1605,9 +1791,9 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1605
1791
  outcome: "failed" | "cancelled";
1606
1792
  source: "host_admission";
1607
1793
  version: 1;
1794
+ reason: "not_started";
1608
1795
  scope: "operation";
1609
1796
  state: "settled";
1610
- reason: "not_started";
1611
1797
  observedAt: string;
1612
1798
  } | undefined;
1613
1799
  }, {
@@ -1639,8 +1825,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1639
1825
  };
1640
1826
  source: "unavailable";
1641
1827
  version: 1;
1642
- state: "unknown";
1643
1828
  reason: "unregistered" | "unconfirmed" | "unsupported";
1829
+ state: "unknown";
1644
1830
  observedAt: string;
1645
1831
  } | {
1646
1832
  subject: {
@@ -1685,6 +1871,18 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1685
1871
  version: 1;
1686
1872
  generation: string;
1687
1873
  } | undefined;
1874
+ } | {
1875
+ subject: {
1876
+ kind: "invocation";
1877
+ id: string;
1878
+ };
1879
+ outcome: "cancelled";
1880
+ source: "native_graph";
1881
+ version: 1;
1882
+ scope: "operation";
1883
+ state: "settled";
1884
+ observedAt: string;
1885
+ executionId: string;
1688
1886
  } | {
1689
1887
  subject: {
1690
1888
  kind: "invocation";
@@ -1693,9 +1891,9 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1693
1891
  outcome: "failed" | "cancelled";
1694
1892
  source: "host_admission";
1695
1893
  version: 1;
1894
+ reason: "not_started";
1696
1895
  scope: "operation";
1697
1896
  state: "settled";
1698
- reason: "not_started";
1699
1897
  observedAt: string;
1700
1898
  } | undefined;
1701
1899
  }>, z.ZodObject<{
@@ -1735,8 +1933,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1735
1933
  };
1736
1934
  source: "unavailable";
1737
1935
  version: 1;
1738
- state: "unknown";
1739
1936
  reason: "unregistered" | "unconfirmed" | "unsupported";
1937
+ state: "unknown";
1740
1938
  observedAt: string;
1741
1939
  }, {
1742
1940
  subject: {
@@ -1748,8 +1946,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1748
1946
  };
1749
1947
  source: "unavailable";
1750
1948
  version: 1;
1751
- state: "unknown";
1752
1949
  reason: "unregistered" | "unconfirmed" | "unsupported";
1950
+ state: "unknown";
1753
1951
  observedAt: string;
1754
1952
  }>, z.ZodObject<{
1755
1953
  source: z.ZodLiteral<"platform">;
@@ -1916,6 +2114,48 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1916
2114
  version: 1;
1917
2115
  generation: string;
1918
2116
  } | undefined;
2117
+ }>, z.ZodObject<{
2118
+ source: z.ZodLiteral<"native_graph">;
2119
+ subject: z.ZodObject<{
2120
+ kind: z.ZodLiteral<"invocation">;
2121
+ id: z.ZodString;
2122
+ }, "strict", z.ZodTypeAny, {
2123
+ kind: "invocation";
2124
+ id: string;
2125
+ }, {
2126
+ kind: "invocation";
2127
+ id: string;
2128
+ }>;
2129
+ scope: z.ZodLiteral<"operation">;
2130
+ state: z.ZodLiteral<"settled">;
2131
+ outcome: z.ZodLiteral<"cancelled">;
2132
+ executionId: z.ZodString;
2133
+ version: z.ZodLiteral<1>;
2134
+ observedAt: z.ZodString;
2135
+ }, "strict", z.ZodTypeAny, {
2136
+ subject: {
2137
+ kind: "invocation";
2138
+ id: string;
2139
+ };
2140
+ outcome: "cancelled";
2141
+ source: "native_graph";
2142
+ version: 1;
2143
+ scope: "operation";
2144
+ state: "settled";
2145
+ observedAt: string;
2146
+ executionId: string;
2147
+ }, {
2148
+ subject: {
2149
+ kind: "invocation";
2150
+ id: string;
2151
+ };
2152
+ outcome: "cancelled";
2153
+ source: "native_graph";
2154
+ version: 1;
2155
+ scope: "operation";
2156
+ state: "settled";
2157
+ observedAt: string;
2158
+ executionId: string;
1919
2159
  }>, z.ZodObject<{
1920
2160
  source: z.ZodLiteral<"host_admission">;
1921
2161
  subject: z.ZodObject<{
@@ -1942,9 +2182,9 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1942
2182
  outcome: "failed" | "cancelled";
1943
2183
  source: "host_admission";
1944
2184
  version: 1;
2185
+ reason: "not_started";
1945
2186
  scope: "operation";
1946
2187
  state: "settled";
1947
- reason: "not_started";
1948
2188
  observedAt: string;
1949
2189
  }, {
1950
2190
  subject: {
@@ -1954,9 +2194,9 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
1954
2194
  outcome: "failed" | "cancelled";
1955
2195
  source: "host_admission";
1956
2196
  version: 1;
2197
+ reason: "not_started";
1957
2198
  scope: "operation";
1958
2199
  state: "settled";
1959
- reason: "not_started";
1960
2200
  observedAt: string;
1961
2201
  }>]>>;
1962
2202
  receiptKey: z.ZodString;
@@ -2031,8 +2271,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2031
2271
  };
2032
2272
  source: "unavailable";
2033
2273
  version: 1;
2034
- state: "unknown";
2035
2274
  reason: "unregistered" | "unconfirmed" | "unsupported";
2275
+ state: "unknown";
2036
2276
  observedAt: string;
2037
2277
  } | {
2038
2278
  subject: {
@@ -2077,6 +2317,18 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2077
2317
  version: 1;
2078
2318
  generation: string;
2079
2319
  } | undefined;
2320
+ } | {
2321
+ subject: {
2322
+ kind: "invocation";
2323
+ id: string;
2324
+ };
2325
+ outcome: "cancelled";
2326
+ source: "native_graph";
2327
+ version: 1;
2328
+ scope: "operation";
2329
+ state: "settled";
2330
+ observedAt: string;
2331
+ executionId: string;
2080
2332
  } | {
2081
2333
  subject: {
2082
2334
  kind: "invocation";
@@ -2085,9 +2337,9 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2085
2337
  outcome: "failed" | "cancelled";
2086
2338
  source: "host_admission";
2087
2339
  version: 1;
2340
+ reason: "not_started";
2088
2341
  scope: "operation";
2089
2342
  state: "settled";
2090
- reason: "not_started";
2091
2343
  observedAt: string;
2092
2344
  } | undefined;
2093
2345
  }, {
@@ -2118,8 +2370,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2118
2370
  };
2119
2371
  source: "unavailable";
2120
2372
  version: 1;
2121
- state: "unknown";
2122
2373
  reason: "unregistered" | "unconfirmed" | "unsupported";
2374
+ state: "unknown";
2123
2375
  observedAt: string;
2124
2376
  } | {
2125
2377
  subject: {
@@ -2164,6 +2416,18 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2164
2416
  version: 1;
2165
2417
  generation: string;
2166
2418
  } | undefined;
2419
+ } | {
2420
+ subject: {
2421
+ kind: "invocation";
2422
+ id: string;
2423
+ };
2424
+ outcome: "cancelled";
2425
+ source: "native_graph";
2426
+ version: 1;
2427
+ scope: "operation";
2428
+ state: "settled";
2429
+ observedAt: string;
2430
+ executionId: string;
2167
2431
  } | {
2168
2432
  subject: {
2169
2433
  kind: "invocation";
@@ -2172,9 +2436,9 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2172
2436
  outcome: "failed" | "cancelled";
2173
2437
  source: "host_admission";
2174
2438
  version: 1;
2439
+ reason: "not_started";
2175
2440
  scope: "operation";
2176
2441
  state: "settled";
2177
- reason: "not_started";
2178
2442
  observedAt: string;
2179
2443
  } | undefined;
2180
2444
  }>, z.ZodObject<{
@@ -2213,8 +2477,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2213
2477
  };
2214
2478
  source: "unavailable";
2215
2479
  version: 1;
2216
- state: "unknown";
2217
2480
  reason: "unregistered" | "unconfirmed" | "unsupported";
2481
+ state: "unknown";
2218
2482
  observedAt: string;
2219
2483
  }, {
2220
2484
  subject: {
@@ -2226,8 +2490,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2226
2490
  };
2227
2491
  source: "unavailable";
2228
2492
  version: 1;
2229
- state: "unknown";
2230
2493
  reason: "unregistered" | "unconfirmed" | "unsupported";
2494
+ state: "unknown";
2231
2495
  observedAt: string;
2232
2496
  }>, z.ZodObject<{
2233
2497
  source: z.ZodLiteral<"platform">;
@@ -2394,6 +2658,48 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2394
2658
  version: 1;
2395
2659
  generation: string;
2396
2660
  } | undefined;
2661
+ }>, z.ZodObject<{
2662
+ source: z.ZodLiteral<"native_graph">;
2663
+ subject: z.ZodObject<{
2664
+ kind: z.ZodLiteral<"invocation">;
2665
+ id: z.ZodString;
2666
+ }, "strict", z.ZodTypeAny, {
2667
+ kind: "invocation";
2668
+ id: string;
2669
+ }, {
2670
+ kind: "invocation";
2671
+ id: string;
2672
+ }>;
2673
+ scope: z.ZodLiteral<"operation">;
2674
+ state: z.ZodLiteral<"settled">;
2675
+ outcome: z.ZodLiteral<"cancelled">;
2676
+ executionId: z.ZodString;
2677
+ version: z.ZodLiteral<1>;
2678
+ observedAt: z.ZodString;
2679
+ }, "strict", z.ZodTypeAny, {
2680
+ subject: {
2681
+ kind: "invocation";
2682
+ id: string;
2683
+ };
2684
+ outcome: "cancelled";
2685
+ source: "native_graph";
2686
+ version: 1;
2687
+ scope: "operation";
2688
+ state: "settled";
2689
+ observedAt: string;
2690
+ executionId: string;
2691
+ }, {
2692
+ subject: {
2693
+ kind: "invocation";
2694
+ id: string;
2695
+ };
2696
+ outcome: "cancelled";
2697
+ source: "native_graph";
2698
+ version: 1;
2699
+ scope: "operation";
2700
+ state: "settled";
2701
+ observedAt: string;
2702
+ executionId: string;
2397
2703
  }>, z.ZodObject<{
2398
2704
  source: z.ZodLiteral<"host_admission">;
2399
2705
  subject: z.ZodObject<{
@@ -2420,9 +2726,9 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2420
2726
  outcome: "failed" | "cancelled";
2421
2727
  source: "host_admission";
2422
2728
  version: 1;
2729
+ reason: "not_started";
2423
2730
  scope: "operation";
2424
2731
  state: "settled";
2425
- reason: "not_started";
2426
2732
  observedAt: string;
2427
2733
  }, {
2428
2734
  subject: {
@@ -2432,9 +2738,9 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2432
2738
  outcome: "failed" | "cancelled";
2433
2739
  source: "host_admission";
2434
2740
  version: 1;
2741
+ reason: "not_started";
2435
2742
  scope: "operation";
2436
2743
  state: "settled";
2437
- reason: "not_started";
2438
2744
  observedAt: string;
2439
2745
  }>]>>;
2440
2746
  receiptKey: z.ZodOptional<z.ZodString>;
@@ -2510,8 +2816,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2510
2816
  };
2511
2817
  source: "unavailable";
2512
2818
  version: 1;
2513
- state: "unknown";
2514
2819
  reason: "unregistered" | "unconfirmed" | "unsupported";
2820
+ state: "unknown";
2515
2821
  observedAt: string;
2516
2822
  } | {
2517
2823
  subject: {
@@ -2556,6 +2862,18 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2556
2862
  version: 1;
2557
2863
  generation: string;
2558
2864
  } | undefined;
2865
+ } | {
2866
+ subject: {
2867
+ kind: "invocation";
2868
+ id: string;
2869
+ };
2870
+ outcome: "cancelled";
2871
+ source: "native_graph";
2872
+ version: 1;
2873
+ scope: "operation";
2874
+ state: "settled";
2875
+ observedAt: string;
2876
+ executionId: string;
2559
2877
  } | {
2560
2878
  subject: {
2561
2879
  kind: "invocation";
@@ -2564,9 +2882,9 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2564
2882
  outcome: "failed" | "cancelled";
2565
2883
  source: "host_admission";
2566
2884
  version: 1;
2885
+ reason: "not_started";
2567
2886
  scope: "operation";
2568
2887
  state: "settled";
2569
- reason: "not_started";
2570
2888
  observedAt: string;
2571
2889
  } | undefined;
2572
2890
  }, {
@@ -2597,8 +2915,8 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2597
2915
  };
2598
2916
  source: "unavailable";
2599
2917
  version: 1;
2600
- state: "unknown";
2601
2918
  reason: "unregistered" | "unconfirmed" | "unsupported";
2919
+ state: "unknown";
2602
2920
  observedAt: string;
2603
2921
  } | {
2604
2922
  subject: {
@@ -2643,6 +2961,18 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2643
2961
  version: 1;
2644
2962
  generation: string;
2645
2963
  } | undefined;
2964
+ } | {
2965
+ subject: {
2966
+ kind: "invocation";
2967
+ id: string;
2968
+ };
2969
+ outcome: "cancelled";
2970
+ source: "native_graph";
2971
+ version: 1;
2972
+ scope: "operation";
2973
+ state: "settled";
2974
+ observedAt: string;
2975
+ executionId: string;
2646
2976
  } | {
2647
2977
  subject: {
2648
2978
  kind: "invocation";
@@ -2651,9 +2981,9 @@ export declare const projectPipelineOperationReceiptSchema: z.ZodDiscriminatedUn
2651
2981
  outcome: "failed" | "cancelled";
2652
2982
  source: "host_admission";
2653
2983
  version: 1;
2984
+ reason: "not_started";
2654
2985
  scope: "operation";
2655
2986
  state: "settled";
2656
- reason: "not_started";
2657
2987
  observedAt: string;
2658
2988
  } | undefined;
2659
2989
  }>]>;