@maudecode/talaria-web-contracts 1.20.0 → 1.21.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 (59) hide show
  1. package/dist/checkpoint.d.ts +78 -0
  2. package/dist/checkpoint.js +16 -0
  3. package/dist/checkpoint.js.map +1 -0
  4. package/dist/context-detail.d.ts +1 -1
  5. package/dist/gateway-session.d.ts +160 -3
  6. package/dist/gateway-session.js +23 -1
  7. package/dist/gateway-session.js.map +1 -1
  8. package/dist/index.d.ts +4 -0
  9. package/dist/index.js +4 -0
  10. package/dist/index.js.map +1 -1
  11. package/dist/mcp-cost-policy.d.ts +110 -0
  12. package/dist/mcp-cost-policy.js +24 -0
  13. package/dist/mcp-cost-policy.js.map +1 -0
  14. package/dist/outbound-drafts.d.ts +114 -0
  15. package/dist/outbound-drafts.js +20 -0
  16. package/dist/outbound-drafts.js.map +1 -0
  17. package/dist/prompt-queue.d.ts +96 -0
  18. package/dist/prompt-queue.js +19 -0
  19. package/dist/prompt-queue.js.map +1 -0
  20. package/dist/router.d.ts +2394 -80
  21. package/dist/routes/automation.d.ts +328 -9
  22. package/dist/routes/automation.js +16 -2
  23. package/dist/routes/automation.js.map +1 -1
  24. package/dist/routes/chat.d.ts +503 -16
  25. package/dist/routes/core.d.ts +2 -2
  26. package/dist/routes/git.d.ts +50 -0
  27. package/dist/routes/git.js +3 -2
  28. package/dist/routes/git.js.map +1 -1
  29. package/dist/routes/sessions.d.ts +1369 -38
  30. package/dist/routes/sessions.js +5 -0
  31. package/dist/routes/sessions.js.map +1 -1
  32. package/dist/routes/tools.d.ts +533 -29
  33. package/dist/routes/tools.js +19 -1
  34. package/dist/routes/tools.js.map +1 -1
  35. package/dist/routes/workspaces.d.ts +45 -0
  36. package/dist/routes/workspaces.js +5 -4
  37. package/dist/routes/workspaces.js.map +1 -1
  38. package/dist/sidecar/methods.d.ts +310 -10
  39. package/dist/sidecar/namespaces.d.ts +335 -13
  40. package/dist/sidecar/namespaces.js +20 -1
  41. package/dist/sidecar/namespaces.js.map +1 -1
  42. package/dist/sidecar/runtime.d.ts +43 -0
  43. package/dist/sidecar/runtime.js +12 -2
  44. package/dist/sidecar/runtime.js.map +1 -1
  45. package/dist/sidecar/version.d.ts +1 -1
  46. package/dist/sidecar/version.js +1 -1
  47. package/dist/sse.d.ts +126 -8
  48. package/dist/sse.js +7 -2
  49. package/dist/sse.js.map +1 -1
  50. package/dist/views.d.ts +1066 -36
  51. package/dist/views.js +58 -16
  52. package/dist/views.js.map +1 -1
  53. package/fixtures/sidecar/gateway.json +45 -0
  54. package/fixtures/sidecar/kanban.json +197 -0
  55. package/fixtures/sidecar/managed-buffers.json +16 -0
  56. package/fixtures/sidecar/mcp.json +12 -0
  57. package/fixtures/sidecar/outbound-drafts.json +1 -0
  58. package/fixtures/sidecar/runtime.json +3 -3
  59. package/package.json +1 -1
@@ -23,6 +23,58 @@ export declare const MemoryWriteRefusalSchema: z.ZodUnion<readonly [z.ZodObject<
23
23
  code: z.ZodLiteral<"memory_conflict">;
24
24
  }, z.core.$strip>]>;
25
25
  export type MemoryWriteRefusal = z.infer<typeof MemoryWriteRefusalSchema>;
26
+ /** User-requested preview, separate from Agent pending writes; apply accepts only this opaque receipt. */
27
+ export declare const MemoryCompactionPreviewSchema: z.ZodObject<{
28
+ section: z.ZodEnum<{
29
+ memory: "memory";
30
+ user: "user";
31
+ }>;
32
+ revision: z.ZodString;
33
+ proposed_revision: z.ZodString;
34
+ receipt: z.ZodString;
35
+ source: z.ZodString;
36
+ proposed: z.ZodString;
37
+ diff: z.ZodString;
38
+ model: z.ZodString;
39
+ expires_at: z.ZodNumber;
40
+ }, z.core.$strip>;
41
+ export type MemoryCompactionPreview = z.infer<typeof MemoryCompactionPreviewSchema>;
42
+ export declare const MemoryCompactionApplySchema: z.ZodObject<{
43
+ ok: z.ZodLiteral<true>;
44
+ section: z.ZodEnum<{
45
+ memory: "memory";
46
+ user: "user";
47
+ }>;
48
+ revision: z.ZodString;
49
+ }, z.core.$strip>;
50
+ export declare const MemoryCompactionRefusalSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
51
+ error: z.ZodString;
52
+ code: z.ZodLiteral<"memory_char_limit">;
53
+ char_limit: z.ZodObject<{
54
+ count: z.ZodNumber;
55
+ limit: z.ZodNumber;
56
+ }, z.core.$strip>;
57
+ }, z.core.$strip>, z.ZodObject<{
58
+ error: z.ZodString;
59
+ code: z.ZodEnum<{
60
+ memory_mask_ambiguous: "memory_mask_ambiguous";
61
+ memory_mask_edited: "memory_mask_edited";
62
+ }>;
63
+ mask: z.ZodString;
64
+ }, z.core.$strip>, z.ZodObject<{
65
+ error: z.ZodString;
66
+ code: z.ZodLiteral<"memory_conflict">;
67
+ }, z.core.$strip>]>, z.ZodObject<{
68
+ error: z.ZodString;
69
+ code: z.ZodEnum<{
70
+ memory_compaction_conflict: "memory_compaction_conflict";
71
+ memory_compaction_invalid: "memory_compaction_invalid";
72
+ }>;
73
+ }, z.core.$strip>, z.ZodObject<{
74
+ error: z.ZodString;
75
+ code: z.ZodLiteral<"memory_compaction_unavailable">;
76
+ condition: z.ZodString;
77
+ }, z.core.$strip>]>;
26
78
  /** TAL-819: a kind's staged writes and whether the page shows its review panel. */
27
79
  export declare const PendingWritesSchema: z.ZodObject<{
28
80
  kind: z.ZodEnum<{
@@ -136,6 +188,36 @@ export declare const toolsContract: {
136
188
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
137
189
  };
138
190
  memory: {
191
+ compactionPreview: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
192
+ section: z.ZodEnum<{
193
+ memory: "memory";
194
+ user: "user";
195
+ }>;
196
+ revision: z.ZodString;
197
+ }, z.core.$strip>, z.ZodObject<{
198
+ section: z.ZodEnum<{
199
+ memory: "memory";
200
+ user: "user";
201
+ }>;
202
+ revision: z.ZodString;
203
+ proposed_revision: z.ZodString;
204
+ receipt: z.ZodString;
205
+ source: z.ZodString;
206
+ proposed: z.ZodString;
207
+ diff: z.ZodString;
208
+ model: z.ZodString;
209
+ expires_at: z.ZodNumber;
210
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
211
+ compactionApply: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
212
+ receipt: z.ZodString;
213
+ }, z.core.$strip>, z.ZodObject<{
214
+ ok: z.ZodLiteral<true>;
215
+ section: z.ZodEnum<{
216
+ memory: "memory";
217
+ user: "user";
218
+ }>;
219
+ revision: z.ZodString;
220
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
139
221
  get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
140
222
  session_id: z.ZodOptional<z.ZodString>;
141
223
  workspace: z.ZodOptional<z.ZodString>;
@@ -550,6 +632,7 @@ export declare const toolsContract: {
550
632
  }, z.core.$loose>>;
551
633
  docs: z.ZodObject<{
552
634
  project: z.ZodOptional<z.ZodNullable<z.ZodObject<{
635
+ name: z.ZodOptional<z.ZodString>;
553
636
  path: z.ZodOptional<z.ZodString>;
554
637
  content: z.ZodOptional<z.ZodString>;
555
638
  lines: z.ZodOptional<z.ZodNumber>;
@@ -571,8 +654,15 @@ export declare const toolsContract: {
571
654
  table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
572
655
  table_truncated: z.ZodOptional<z.ZodBoolean>;
573
656
  preview_url: z.ZodOptional<z.ZodString>;
657
+ source: z.ZodOptional<z.ZodEnum<{
658
+ workspace: "workspace";
659
+ managed: "managed";
660
+ }>>;
661
+ read_only: z.ZodOptional<z.ZodBoolean>;
662
+ write_semantics: z.ZodOptional<z.ZodLiteral<"unconditional">>;
574
663
  }, z.core.$loose>>>;
575
664
  plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
665
+ name: z.ZodOptional<z.ZodString>;
576
666
  path: z.ZodOptional<z.ZodString>;
577
667
  content: z.ZodOptional<z.ZodString>;
578
668
  lines: z.ZodOptional<z.ZodNumber>;
@@ -594,8 +684,15 @@ export declare const toolsContract: {
594
684
  table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
595
685
  table_truncated: z.ZodOptional<z.ZodBoolean>;
596
686
  preview_url: z.ZodOptional<z.ZodString>;
687
+ source: z.ZodOptional<z.ZodEnum<{
688
+ workspace: "workspace";
689
+ managed: "managed";
690
+ }>>;
691
+ read_only: z.ZodOptional<z.ZodBoolean>;
692
+ write_semantics: z.ZodOptional<z.ZodLiteral<"unconditional">>;
597
693
  }, z.core.$loose>>>;
598
694
  status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
695
+ name: z.ZodOptional<z.ZodString>;
599
696
  path: z.ZodOptional<z.ZodString>;
600
697
  content: z.ZodOptional<z.ZodString>;
601
698
  lines: z.ZodOptional<z.ZodNumber>;
@@ -617,8 +714,15 @@ export declare const toolsContract: {
617
714
  table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
618
715
  table_truncated: z.ZodOptional<z.ZodBoolean>;
619
716
  preview_url: z.ZodOptional<z.ZodString>;
717
+ source: z.ZodOptional<z.ZodEnum<{
718
+ workspace: "workspace";
719
+ managed: "managed";
720
+ }>>;
721
+ read_only: z.ZodOptional<z.ZodBoolean>;
722
+ write_semantics: z.ZodOptional<z.ZodLiteral<"unconditional">>;
620
723
  }, z.core.$loose>>>;
621
724
  blocker_resolver: z.ZodOptional<z.ZodNullable<z.ZodObject<{
725
+ name: z.ZodOptional<z.ZodString>;
622
726
  path: z.ZodOptional<z.ZodString>;
623
727
  content: z.ZodOptional<z.ZodString>;
624
728
  lines: z.ZodOptional<z.ZodNumber>;
@@ -640,6 +744,12 @@ export declare const toolsContract: {
640
744
  table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
641
745
  table_truncated: z.ZodOptional<z.ZodBoolean>;
642
746
  preview_url: z.ZodOptional<z.ZodString>;
747
+ source: z.ZodOptional<z.ZodEnum<{
748
+ workspace: "workspace";
749
+ managed: "managed";
750
+ }>>;
751
+ read_only: z.ZodOptional<z.ZodBoolean>;
752
+ write_semantics: z.ZodOptional<z.ZodLiteral<"unconditional">>;
643
753
  }, z.core.$loose>>>;
644
754
  }, z.core.$strip>;
645
755
  handoff: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -778,6 +888,55 @@ export declare const toolsContract: {
778
888
  mcp: {
779
889
  servers: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
780
890
  servers: z.ZodArray<z.ZodObject<{
891
+ cost_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
892
+ error: z.ZodNullable<z.ZodString>;
893
+ source: z.ZodEnum<{
894
+ native: "native";
895
+ package: "package";
896
+ native_override: "native_override";
897
+ }>;
898
+ can_edit: z.ZodBoolean;
899
+ tool_costs: z.ZodArray<z.ZodObject<{
900
+ name: z.ZodString;
901
+ low: z.ZodNumber;
902
+ high: z.ZodNumber;
903
+ note: z.ZodString;
904
+ }, z.core.$strip>>;
905
+ spend_limit: z.ZodNumber;
906
+ cost_unit: z.ZodString;
907
+ name: z.ZodString;
908
+ valid: z.ZodBoolean;
909
+ overrides: z.ZodObject<{
910
+ tool_costs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>, z.ZodObject<{
911
+ credits: z.ZodUnion<readonly [z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>;
912
+ note: z.ZodOptional<z.ZodString>;
913
+ }, z.core.$strict>]>>>;
914
+ spend_limit: z.ZodNullable<z.ZodNumber>;
915
+ cost_unit: z.ZodNullable<z.ZodString>;
916
+ }, z.core.$strip>;
917
+ budget_enabled: z.ZodBoolean;
918
+ field_sources: z.ZodObject<{
919
+ tool_costs: z.ZodEnum<{
920
+ default: "default";
921
+ native: "native";
922
+ package: "package";
923
+ }>;
924
+ spend_limit: z.ZodEnum<{
925
+ default: "default";
926
+ native: "native";
927
+ package: "package";
928
+ }>;
929
+ cost_unit: z.ZodEnum<{
930
+ default: "default";
931
+ native: "native";
932
+ package: "package";
933
+ }>;
934
+ }, z.core.$strip>;
935
+ revision: z.ZodString;
936
+ provenance: z.ZodLiteral<"declared_estimate">;
937
+ reload_required: z.ZodLiteral<true>;
938
+ runtime_state: z.ZodLiteral<"unknown">;
939
+ }, z.core.$strip>>>;
781
940
  name: z.ZodString;
782
941
  id: z.ZodOptional<z.ZodString>;
783
942
  transport: z.ZodOptional<z.ZodString>;
@@ -822,9 +981,67 @@ export declare const toolsContract: {
822
981
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
823
982
  update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
824
983
  name: z.ZodString;
984
+ config_revision: z.ZodOptional<z.ZodString>;
985
+ cost_policy: z.ZodOptional<z.ZodObject<{
986
+ tool_costs: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>, z.ZodObject<{
987
+ credits: z.ZodUnion<readonly [z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>;
988
+ note: z.ZodOptional<z.ZodString>;
989
+ }, z.core.$strict>]>>>>;
990
+ spend_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
991
+ cost_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
992
+ }, z.core.$strict>>;
825
993
  }, z.core.$catchall<z.ZodUnknown>>, z.ZodObject<{
826
994
  ok: z.ZodLiteral<true>;
827
995
  server: z.ZodObject<{
996
+ cost_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
997
+ error: z.ZodNullable<z.ZodString>;
998
+ source: z.ZodEnum<{
999
+ native: "native";
1000
+ package: "package";
1001
+ native_override: "native_override";
1002
+ }>;
1003
+ can_edit: z.ZodBoolean;
1004
+ tool_costs: z.ZodArray<z.ZodObject<{
1005
+ name: z.ZodString;
1006
+ low: z.ZodNumber;
1007
+ high: z.ZodNumber;
1008
+ note: z.ZodString;
1009
+ }, z.core.$strip>>;
1010
+ spend_limit: z.ZodNumber;
1011
+ cost_unit: z.ZodString;
1012
+ name: z.ZodString;
1013
+ valid: z.ZodBoolean;
1014
+ overrides: z.ZodObject<{
1015
+ tool_costs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>, z.ZodObject<{
1016
+ credits: z.ZodUnion<readonly [z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>;
1017
+ note: z.ZodOptional<z.ZodString>;
1018
+ }, z.core.$strict>]>>>;
1019
+ spend_limit: z.ZodNullable<z.ZodNumber>;
1020
+ cost_unit: z.ZodNullable<z.ZodString>;
1021
+ }, z.core.$strip>;
1022
+ budget_enabled: z.ZodBoolean;
1023
+ field_sources: z.ZodObject<{
1024
+ tool_costs: z.ZodEnum<{
1025
+ default: "default";
1026
+ native: "native";
1027
+ package: "package";
1028
+ }>;
1029
+ spend_limit: z.ZodEnum<{
1030
+ default: "default";
1031
+ native: "native";
1032
+ package: "package";
1033
+ }>;
1034
+ cost_unit: z.ZodEnum<{
1035
+ default: "default";
1036
+ native: "native";
1037
+ package: "package";
1038
+ }>;
1039
+ }, z.core.$strip>;
1040
+ revision: z.ZodString;
1041
+ provenance: z.ZodLiteral<"declared_estimate">;
1042
+ reload_required: z.ZodLiteral<true>;
1043
+ runtime_state: z.ZodLiteral<"unknown">;
1044
+ }, z.core.$strip>>>;
828
1045
  name: z.ZodString;
829
1046
  id: z.ZodOptional<z.ZodString>;
830
1047
  transport: z.ZodOptional<z.ZodString>;
@@ -873,8 +1090,8 @@ export declare const toolsContract: {
873
1090
  problem: z.ZodNullable<z.ZodEnum<{
874
1091
  pending: "pending";
875
1092
  expired: "expired";
876
- revoked: "revoked";
877
1093
  failed: "failed";
1094
+ revoked: "revoked";
878
1095
  inactive: "inactive";
879
1096
  }>>;
880
1097
  status_reason: z.ZodNullable<z.ZodString>;
@@ -939,17 +1156,17 @@ export declare const toolsContract: {
939
1156
  pending: "pending";
940
1157
  expired: "expired";
941
1158
  skipped: "skipped";
1159
+ failed: "failed";
942
1160
  initiated: "initiated";
943
1161
  connected: "connected";
944
- failed: "failed";
945
1162
  not_connected: "not_connected";
946
1163
  }>;
947
1164
  detail: z.ZodString;
948
1165
  connect_url: z.ZodNullable<z.ZodString>;
949
1166
  actions: z.ZodArray<z.ZodEnum<{
950
1167
  retry: "retry";
951
- skip: "skip";
952
1168
  approve: "approve";
1169
+ skip: "skip";
953
1170
  }>>;
954
1171
  env_fields: z.ZodArray<z.ZodObject<{
955
1172
  name: z.ZodString;
@@ -983,17 +1200,17 @@ export declare const toolsContract: {
983
1200
  pending: "pending";
984
1201
  expired: "expired";
985
1202
  skipped: "skipped";
1203
+ failed: "failed";
986
1204
  initiated: "initiated";
987
1205
  connected: "connected";
988
- failed: "failed";
989
1206
  not_connected: "not_connected";
990
1207
  }>;
991
1208
  detail: z.ZodString;
992
1209
  connect_url: z.ZodNullable<z.ZodString>;
993
1210
  actions: z.ZodArray<z.ZodEnum<{
994
1211
  retry: "retry";
995
- skip: "skip";
996
1212
  approve: "approve";
1213
+ skip: "skip";
997
1214
  }>>;
998
1215
  env_fields: z.ZodArray<z.ZodObject<{
999
1216
  name: z.ZodString;
@@ -1007,8 +1224,8 @@ export declare const toolsContract: {
1007
1224
  op_id: z.ZodString;
1008
1225
  action: z.ZodEnum<{
1009
1226
  retry: "retry";
1010
- skip: "skip";
1011
1227
  approve: "approve";
1228
+ skip: "skip";
1012
1229
  continue: "continue";
1013
1230
  }>;
1014
1231
  target: z.ZodOptional<z.ZodString>;
@@ -1030,17 +1247,17 @@ export declare const toolsContract: {
1030
1247
  pending: "pending";
1031
1248
  expired: "expired";
1032
1249
  skipped: "skipped";
1250
+ failed: "failed";
1033
1251
  initiated: "initiated";
1034
1252
  connected: "connected";
1035
- failed: "failed";
1036
1253
  not_connected: "not_connected";
1037
1254
  }>;
1038
1255
  detail: z.ZodString;
1039
1256
  connect_url: z.ZodNullable<z.ZodString>;
1040
1257
  actions: z.ZodArray<z.ZodEnum<{
1041
1258
  retry: "retry";
1042
- skip: "skip";
1043
1259
  approve: "approve";
1260
+ skip: "skip";
1044
1261
  }>>;
1045
1262
  env_fields: z.ZodArray<z.ZodObject<{
1046
1263
  name: z.ZodString;
@@ -1239,6 +1456,28 @@ export declare const toolsContract: {
1239
1456
  attempt: z.ZodNumber;
1240
1457
  detail: z.ZodString;
1241
1458
  retry_at: z.ZodNullable<z.ZodString>;
1459
+ operation_id: z.ZodOptional<z.ZodUUID>;
1460
+ operation: z.ZodOptional<z.ZodObject<{
1461
+ operation_id: z.ZodUUID;
1462
+ baseline_revision: z.ZodString;
1463
+ target_revision: z.ZodString;
1464
+ stage: z.ZodEnum<{
1465
+ install: "install";
1466
+ gateway_restart: "gateway_restart";
1467
+ agent_ready: "agent_ready";
1468
+ }>;
1469
+ recovered_revision: z.ZodOptional<z.ZodString>;
1470
+ source_moved: z.ZodOptional<z.ZodBoolean>;
1471
+ attempt_error: z.ZodOptional<z.ZodString>;
1472
+ failed_stage: z.ZodOptional<z.ZodEnum<{
1473
+ install: "install";
1474
+ gateway_restart: "gateway_restart";
1475
+ agent_ready: "agent_ready";
1476
+ }>>;
1477
+ }, z.core.$strip>>;
1478
+ verified_revision: z.ZodOptional<z.ZodString>;
1479
+ runtime_revision: z.ZodOptional<z.ZodString>;
1480
+ verified_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1242
1481
  }, z.core.$strip>>;
1243
1482
  disabled: z.ZodOptional<z.ZodBoolean>;
1244
1483
  cached: z.ZodOptional<z.ZodBoolean>;
@@ -1413,6 +1652,28 @@ export declare const toolsContract: {
1413
1652
  attempt: z.ZodNumber;
1414
1653
  detail: z.ZodString;
1415
1654
  retry_at: z.ZodNullable<z.ZodString>;
1655
+ operation_id: z.ZodOptional<z.ZodUUID>;
1656
+ operation: z.ZodOptional<z.ZodObject<{
1657
+ operation_id: z.ZodUUID;
1658
+ baseline_revision: z.ZodString;
1659
+ target_revision: z.ZodString;
1660
+ stage: z.ZodEnum<{
1661
+ install: "install";
1662
+ gateway_restart: "gateway_restart";
1663
+ agent_ready: "agent_ready";
1664
+ }>;
1665
+ recovered_revision: z.ZodOptional<z.ZodString>;
1666
+ source_moved: z.ZodOptional<z.ZodBoolean>;
1667
+ attempt_error: z.ZodOptional<z.ZodString>;
1668
+ failed_stage: z.ZodOptional<z.ZodEnum<{
1669
+ install: "install";
1670
+ gateway_restart: "gateway_restart";
1671
+ agent_ready: "agent_ready";
1672
+ }>>;
1673
+ }, z.core.$strip>>;
1674
+ verified_revision: z.ZodOptional<z.ZodString>;
1675
+ runtime_revision: z.ZodOptional<z.ZodString>;
1676
+ verified_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1416
1677
  }, z.core.$strip>>;
1417
1678
  disabled: z.ZodOptional<z.ZodBoolean>;
1418
1679
  cached: z.ZodOptional<z.ZodBoolean>;
@@ -1580,6 +1841,10 @@ export declare const toolsContract: {
1580
1841
  target: z.ZodOptional<z.ZodString>;
1581
1842
  channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1582
1843
  }, z.core.$strip>, z.ZodObject<{
1844
+ recovery_only: z.ZodOptional<z.ZodBoolean>;
1845
+ recovery_pending: z.ZodOptional<z.ZodBoolean>;
1846
+ verified_revision: z.ZodOptional<z.ZodString>;
1847
+ verified_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1583
1848
  recovery_compatibility: z.ZodOptional<z.ZodObject<{
1584
1849
  manual_execution: z.ZodBoolean;
1585
1850
  bot_chat_delivery: z.ZodBoolean;
@@ -1620,6 +1885,10 @@ export declare const toolsContract: {
1620
1885
  target: z.ZodOptional<z.ZodString>;
1621
1886
  channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1622
1887
  }, z.core.$strip>, z.ZodObject<{
1888
+ recovery_only: z.ZodOptional<z.ZodBoolean>;
1889
+ recovery_pending: z.ZodOptional<z.ZodBoolean>;
1890
+ verified_revision: z.ZodOptional<z.ZodString>;
1891
+ verified_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1623
1892
  recovery_compatibility: z.ZodOptional<z.ZodObject<{
1624
1893
  manual_execution: z.ZodBoolean;
1625
1894
  bot_chat_delivery: z.ZodBoolean;
@@ -1660,6 +1929,10 @@ export declare const toolsContract: {
1660
1929
  target: z.ZodOptional<z.ZodString>;
1661
1930
  channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1662
1931
  }, z.core.$strip>, z.ZodObject<{
1932
+ recovery_only: z.ZodOptional<z.ZodBoolean>;
1933
+ recovery_pending: z.ZodOptional<z.ZodBoolean>;
1934
+ verified_revision: z.ZodOptional<z.ZodString>;
1935
+ verified_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1663
1936
  recovery_compatibility: z.ZodOptional<z.ZodObject<{
1664
1937
  manual_execution: z.ZodBoolean;
1665
1938
  bot_chat_delivery: z.ZodBoolean;
@@ -1747,6 +2020,7 @@ export declare const toolsContract: {
1747
2020
  awaiting_confirmation: "awaiting_confirmation";
1748
2021
  waiting_for_idle: "waiting_for_idle";
1749
2022
  verifying: "verifying";
2023
+ recovering: "recovering";
1750
2024
  succeeded: "succeeded";
1751
2025
  }>, z.ZodString]>;
1752
2026
  severity: z.ZodEnum<{
@@ -1780,18 +2054,50 @@ export declare const toolsContract: {
1780
2054
  verified_revision: z.ZodNullable<z.ZodString>;
1781
2055
  verified_version: z.ZodNullable<z.ZodString>;
1782
2056
  detail: z.ZodNullable<z.ZodString>;
2057
+ recovery: z.ZodOptional<z.ZodObject<{
2058
+ operation: z.ZodObject<{
2059
+ operation_id: z.ZodUUID;
2060
+ baseline_revision: z.ZodString;
2061
+ target_revision: z.ZodString;
2062
+ stage: z.ZodEnum<{
2063
+ install: "install";
2064
+ gateway_restart: "gateway_restart";
2065
+ agent_ready: "agent_ready";
2066
+ }>;
2067
+ recovered_revision: z.ZodOptional<z.ZodString>;
2068
+ source_moved: z.ZodOptional<z.ZodBoolean>;
2069
+ attempt_error: z.ZodOptional<z.ZodString>;
2070
+ failed_stage: z.ZodOptional<z.ZodEnum<{
2071
+ install: "install";
2072
+ gateway_restart: "gateway_restart";
2073
+ agent_ready: "agent_ready";
2074
+ }>>;
2075
+ }, z.core.$strip>;
2076
+ attempt_error: z.ZodNullable<z.ZodString>;
2077
+ runtime_revision: z.ZodNullable<z.ZodString>;
2078
+ rollback: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2079
+ outcome: z.ZodEnum<{
2080
+ unknown: "unknown";
2081
+ blocked: "blocked";
2082
+ recovering: "recovering";
2083
+ target_installed: "target_installed";
2084
+ baseline_restored: "baseline_restored";
2085
+ other_revision: "other_revision";
2086
+ }>;
2087
+ }, z.core.$strip>>;
1783
2088
  unread: z.ZodBoolean;
1784
2089
  active: z.ZodBoolean;
1785
2090
  requires_interaction: z.ZodBoolean;
1786
2091
  can_dismiss: z.ZodBoolean;
1787
2092
  steps: z.ZodArray<z.ZodObject<{
1788
2093
  id: z.ZodEnum<{
1789
- ready: "ready";
1790
- gateway_restart: "gateway_restart";
1791
2094
  install: "install";
2095
+ gateway_restart: "gateway_restart";
2096
+ agent_ready: "agent_ready";
2097
+ ready: "ready";
1792
2098
  web_restart: "web_restart";
1793
2099
  gateway_wait: "gateway_wait";
1794
- agent_ready: "agent_ready";
2100
+ recovery: "recovery";
1795
2101
  }>;
1796
2102
  label: z.ZodString;
1797
2103
  state: z.ZodEnum<{
@@ -1825,6 +2131,7 @@ export declare const toolsContract: {
1825
2131
  awaiting_confirmation: "awaiting_confirmation";
1826
2132
  waiting_for_idle: "waiting_for_idle";
1827
2133
  verifying: "verifying";
2134
+ recovering: "recovering";
1828
2135
  succeeded: "succeeded";
1829
2136
  }>, z.ZodString]>;
1830
2137
  severity: z.ZodEnum<{
@@ -1858,18 +2165,50 @@ export declare const toolsContract: {
1858
2165
  verified_revision: z.ZodNullable<z.ZodString>;
1859
2166
  verified_version: z.ZodNullable<z.ZodString>;
1860
2167
  detail: z.ZodNullable<z.ZodString>;
2168
+ recovery: z.ZodOptional<z.ZodObject<{
2169
+ operation: z.ZodObject<{
2170
+ operation_id: z.ZodUUID;
2171
+ baseline_revision: z.ZodString;
2172
+ target_revision: z.ZodString;
2173
+ stage: z.ZodEnum<{
2174
+ install: "install";
2175
+ gateway_restart: "gateway_restart";
2176
+ agent_ready: "agent_ready";
2177
+ }>;
2178
+ recovered_revision: z.ZodOptional<z.ZodString>;
2179
+ source_moved: z.ZodOptional<z.ZodBoolean>;
2180
+ attempt_error: z.ZodOptional<z.ZodString>;
2181
+ failed_stage: z.ZodOptional<z.ZodEnum<{
2182
+ install: "install";
2183
+ gateway_restart: "gateway_restart";
2184
+ agent_ready: "agent_ready";
2185
+ }>>;
2186
+ }, z.core.$strip>;
2187
+ attempt_error: z.ZodNullable<z.ZodString>;
2188
+ runtime_revision: z.ZodNullable<z.ZodString>;
2189
+ rollback: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2190
+ outcome: z.ZodEnum<{
2191
+ unknown: "unknown";
2192
+ blocked: "blocked";
2193
+ recovering: "recovering";
2194
+ target_installed: "target_installed";
2195
+ baseline_restored: "baseline_restored";
2196
+ other_revision: "other_revision";
2197
+ }>;
2198
+ }, z.core.$strip>>;
1861
2199
  unread: z.ZodBoolean;
1862
2200
  active: z.ZodBoolean;
1863
2201
  requires_interaction: z.ZodBoolean;
1864
2202
  can_dismiss: z.ZodBoolean;
1865
2203
  steps: z.ZodArray<z.ZodObject<{
1866
2204
  id: z.ZodEnum<{
1867
- ready: "ready";
1868
- gateway_restart: "gateway_restart";
1869
2205
  install: "install";
2206
+ gateway_restart: "gateway_restart";
2207
+ agent_ready: "agent_ready";
2208
+ ready: "ready";
1870
2209
  web_restart: "web_restart";
1871
2210
  gateway_wait: "gateway_wait";
1872
- agent_ready: "agent_ready";
2211
+ recovery: "recovery";
1873
2212
  }>;
1874
2213
  label: z.ZodString;
1875
2214
  state: z.ZodEnum<{
@@ -1912,6 +2251,7 @@ export declare const toolsContract: {
1912
2251
  awaiting_confirmation: "awaiting_confirmation";
1913
2252
  waiting_for_idle: "waiting_for_idle";
1914
2253
  verifying: "verifying";
2254
+ recovering: "recovering";
1915
2255
  succeeded: "succeeded";
1916
2256
  }>, z.ZodString]>;
1917
2257
  severity: z.ZodEnum<{
@@ -1945,18 +2285,50 @@ export declare const toolsContract: {
1945
2285
  verified_revision: z.ZodNullable<z.ZodString>;
1946
2286
  verified_version: z.ZodNullable<z.ZodString>;
1947
2287
  detail: z.ZodNullable<z.ZodString>;
2288
+ recovery: z.ZodOptional<z.ZodObject<{
2289
+ operation: z.ZodObject<{
2290
+ operation_id: z.ZodUUID;
2291
+ baseline_revision: z.ZodString;
2292
+ target_revision: z.ZodString;
2293
+ stage: z.ZodEnum<{
2294
+ install: "install";
2295
+ gateway_restart: "gateway_restart";
2296
+ agent_ready: "agent_ready";
2297
+ }>;
2298
+ recovered_revision: z.ZodOptional<z.ZodString>;
2299
+ source_moved: z.ZodOptional<z.ZodBoolean>;
2300
+ attempt_error: z.ZodOptional<z.ZodString>;
2301
+ failed_stage: z.ZodOptional<z.ZodEnum<{
2302
+ install: "install";
2303
+ gateway_restart: "gateway_restart";
2304
+ agent_ready: "agent_ready";
2305
+ }>>;
2306
+ }, z.core.$strip>;
2307
+ attempt_error: z.ZodNullable<z.ZodString>;
2308
+ runtime_revision: z.ZodNullable<z.ZodString>;
2309
+ rollback: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2310
+ outcome: z.ZodEnum<{
2311
+ unknown: "unknown";
2312
+ blocked: "blocked";
2313
+ recovering: "recovering";
2314
+ target_installed: "target_installed";
2315
+ baseline_restored: "baseline_restored";
2316
+ other_revision: "other_revision";
2317
+ }>;
2318
+ }, z.core.$strip>>;
1948
2319
  unread: z.ZodBoolean;
1949
2320
  active: z.ZodBoolean;
1950
2321
  requires_interaction: z.ZodBoolean;
1951
2322
  can_dismiss: z.ZodBoolean;
1952
2323
  steps: z.ZodArray<z.ZodObject<{
1953
2324
  id: z.ZodEnum<{
1954
- ready: "ready";
1955
- gateway_restart: "gateway_restart";
1956
2325
  install: "install";
2326
+ gateway_restart: "gateway_restart";
2327
+ agent_ready: "agent_ready";
2328
+ ready: "ready";
1957
2329
  web_restart: "web_restart";
1958
2330
  gateway_wait: "gateway_wait";
1959
- agent_ready: "agent_ready";
2331
+ recovery: "recovery";
1960
2332
  }>;
1961
2333
  label: z.ZodString;
1962
2334
  state: z.ZodEnum<{
@@ -2009,6 +2381,7 @@ export declare const toolsContract: {
2009
2381
  awaiting_confirmation: "awaiting_confirmation";
2010
2382
  waiting_for_idle: "waiting_for_idle";
2011
2383
  verifying: "verifying";
2384
+ recovering: "recovering";
2012
2385
  succeeded: "succeeded";
2013
2386
  }>, z.ZodString]>;
2014
2387
  severity: z.ZodEnum<{
@@ -2042,18 +2415,50 @@ export declare const toolsContract: {
2042
2415
  verified_revision: z.ZodNullable<z.ZodString>;
2043
2416
  verified_version: z.ZodNullable<z.ZodString>;
2044
2417
  detail: z.ZodNullable<z.ZodString>;
2418
+ recovery: z.ZodOptional<z.ZodObject<{
2419
+ operation: z.ZodObject<{
2420
+ operation_id: z.ZodUUID;
2421
+ baseline_revision: z.ZodString;
2422
+ target_revision: z.ZodString;
2423
+ stage: z.ZodEnum<{
2424
+ install: "install";
2425
+ gateway_restart: "gateway_restart";
2426
+ agent_ready: "agent_ready";
2427
+ }>;
2428
+ recovered_revision: z.ZodOptional<z.ZodString>;
2429
+ source_moved: z.ZodOptional<z.ZodBoolean>;
2430
+ attempt_error: z.ZodOptional<z.ZodString>;
2431
+ failed_stage: z.ZodOptional<z.ZodEnum<{
2432
+ install: "install";
2433
+ gateway_restart: "gateway_restart";
2434
+ agent_ready: "agent_ready";
2435
+ }>>;
2436
+ }, z.core.$strip>;
2437
+ attempt_error: z.ZodNullable<z.ZodString>;
2438
+ runtime_revision: z.ZodNullable<z.ZodString>;
2439
+ rollback: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2440
+ outcome: z.ZodEnum<{
2441
+ unknown: "unknown";
2442
+ blocked: "blocked";
2443
+ recovering: "recovering";
2444
+ target_installed: "target_installed";
2445
+ baseline_restored: "baseline_restored";
2446
+ other_revision: "other_revision";
2447
+ }>;
2448
+ }, z.core.$strip>>;
2045
2449
  unread: z.ZodBoolean;
2046
2450
  active: z.ZodBoolean;
2047
2451
  requires_interaction: z.ZodBoolean;
2048
2452
  can_dismiss: z.ZodBoolean;
2049
2453
  steps: z.ZodArray<z.ZodObject<{
2050
2454
  id: z.ZodEnum<{
2051
- ready: "ready";
2052
- gateway_restart: "gateway_restart";
2053
2455
  install: "install";
2456
+ gateway_restart: "gateway_restart";
2457
+ agent_ready: "agent_ready";
2458
+ ready: "ready";
2054
2459
  web_restart: "web_restart";
2055
2460
  gateway_wait: "gateway_wait";
2056
- agent_ready: "agent_ready";
2461
+ recovery: "recovery";
2057
2462
  }>;
2058
2463
  label: z.ZodString;
2059
2464
  state: z.ZodEnum<{
@@ -2087,6 +2492,7 @@ export declare const toolsContract: {
2087
2492
  awaiting_confirmation: "awaiting_confirmation";
2088
2493
  waiting_for_idle: "waiting_for_idle";
2089
2494
  verifying: "verifying";
2495
+ recovering: "recovering";
2090
2496
  succeeded: "succeeded";
2091
2497
  }>, z.ZodString]>;
2092
2498
  severity: z.ZodEnum<{
@@ -2120,18 +2526,50 @@ export declare const toolsContract: {
2120
2526
  verified_revision: z.ZodNullable<z.ZodString>;
2121
2527
  verified_version: z.ZodNullable<z.ZodString>;
2122
2528
  detail: z.ZodNullable<z.ZodString>;
2529
+ recovery: z.ZodOptional<z.ZodObject<{
2530
+ operation: z.ZodObject<{
2531
+ operation_id: z.ZodUUID;
2532
+ baseline_revision: z.ZodString;
2533
+ target_revision: z.ZodString;
2534
+ stage: z.ZodEnum<{
2535
+ install: "install";
2536
+ gateway_restart: "gateway_restart";
2537
+ agent_ready: "agent_ready";
2538
+ }>;
2539
+ recovered_revision: z.ZodOptional<z.ZodString>;
2540
+ source_moved: z.ZodOptional<z.ZodBoolean>;
2541
+ attempt_error: z.ZodOptional<z.ZodString>;
2542
+ failed_stage: z.ZodOptional<z.ZodEnum<{
2543
+ install: "install";
2544
+ gateway_restart: "gateway_restart";
2545
+ agent_ready: "agent_ready";
2546
+ }>>;
2547
+ }, z.core.$strip>;
2548
+ attempt_error: z.ZodNullable<z.ZodString>;
2549
+ runtime_revision: z.ZodNullable<z.ZodString>;
2550
+ rollback: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2551
+ outcome: z.ZodEnum<{
2552
+ unknown: "unknown";
2553
+ blocked: "blocked";
2554
+ recovering: "recovering";
2555
+ target_installed: "target_installed";
2556
+ baseline_restored: "baseline_restored";
2557
+ other_revision: "other_revision";
2558
+ }>;
2559
+ }, z.core.$strip>>;
2123
2560
  unread: z.ZodBoolean;
2124
2561
  active: z.ZodBoolean;
2125
2562
  requires_interaction: z.ZodBoolean;
2126
2563
  can_dismiss: z.ZodBoolean;
2127
2564
  steps: z.ZodArray<z.ZodObject<{
2128
2565
  id: z.ZodEnum<{
2129
- ready: "ready";
2130
- gateway_restart: "gateway_restart";
2131
2566
  install: "install";
2567
+ gateway_restart: "gateway_restart";
2568
+ agent_ready: "agent_ready";
2569
+ ready: "ready";
2132
2570
  web_restart: "web_restart";
2133
2571
  gateway_wait: "gateway_wait";
2134
- agent_ready: "agent_ready";
2572
+ recovery: "recovery";
2135
2573
  }>;
2136
2574
  label: z.ZodString;
2137
2575
  state: z.ZodEnum<{
@@ -2173,6 +2611,7 @@ export declare const toolsContract: {
2173
2611
  awaiting_confirmation: "awaiting_confirmation";
2174
2612
  waiting_for_idle: "waiting_for_idle";
2175
2613
  verifying: "verifying";
2614
+ recovering: "recovering";
2176
2615
  succeeded: "succeeded";
2177
2616
  }>, z.ZodString]>;
2178
2617
  severity: z.ZodEnum<{
@@ -2206,18 +2645,50 @@ export declare const toolsContract: {
2206
2645
  verified_revision: z.ZodNullable<z.ZodString>;
2207
2646
  verified_version: z.ZodNullable<z.ZodString>;
2208
2647
  detail: z.ZodNullable<z.ZodString>;
2648
+ recovery: z.ZodOptional<z.ZodObject<{
2649
+ operation: z.ZodObject<{
2650
+ operation_id: z.ZodUUID;
2651
+ baseline_revision: z.ZodString;
2652
+ target_revision: z.ZodString;
2653
+ stage: z.ZodEnum<{
2654
+ install: "install";
2655
+ gateway_restart: "gateway_restart";
2656
+ agent_ready: "agent_ready";
2657
+ }>;
2658
+ recovered_revision: z.ZodOptional<z.ZodString>;
2659
+ source_moved: z.ZodOptional<z.ZodBoolean>;
2660
+ attempt_error: z.ZodOptional<z.ZodString>;
2661
+ failed_stage: z.ZodOptional<z.ZodEnum<{
2662
+ install: "install";
2663
+ gateway_restart: "gateway_restart";
2664
+ agent_ready: "agent_ready";
2665
+ }>>;
2666
+ }, z.core.$strip>;
2667
+ attempt_error: z.ZodNullable<z.ZodString>;
2668
+ runtime_revision: z.ZodNullable<z.ZodString>;
2669
+ rollback: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2670
+ outcome: z.ZodEnum<{
2671
+ unknown: "unknown";
2672
+ blocked: "blocked";
2673
+ recovering: "recovering";
2674
+ target_installed: "target_installed";
2675
+ baseline_restored: "baseline_restored";
2676
+ other_revision: "other_revision";
2677
+ }>;
2678
+ }, z.core.$strip>>;
2209
2679
  unread: z.ZodBoolean;
2210
2680
  active: z.ZodBoolean;
2211
2681
  requires_interaction: z.ZodBoolean;
2212
2682
  can_dismiss: z.ZodBoolean;
2213
2683
  steps: z.ZodArray<z.ZodObject<{
2214
2684
  id: z.ZodEnum<{
2215
- ready: "ready";
2216
- gateway_restart: "gateway_restart";
2217
2685
  install: "install";
2686
+ gateway_restart: "gateway_restart";
2687
+ agent_ready: "agent_ready";
2688
+ ready: "ready";
2218
2689
  web_restart: "web_restart";
2219
2690
  gateway_wait: "gateway_wait";
2220
- agent_ready: "agent_ready";
2691
+ recovery: "recovery";
2221
2692
  }>;
2222
2693
  label: z.ZodString;
2223
2694
  state: z.ZodEnum<{
@@ -2256,6 +2727,7 @@ export declare const toolsContract: {
2256
2727
  awaiting_confirmation: "awaiting_confirmation";
2257
2728
  waiting_for_idle: "waiting_for_idle";
2258
2729
  verifying: "verifying";
2730
+ recovering: "recovering";
2259
2731
  succeeded: "succeeded";
2260
2732
  }>, z.ZodString]>;
2261
2733
  severity: z.ZodEnum<{
@@ -2289,18 +2761,50 @@ export declare const toolsContract: {
2289
2761
  verified_revision: z.ZodNullable<z.ZodString>;
2290
2762
  verified_version: z.ZodNullable<z.ZodString>;
2291
2763
  detail: z.ZodNullable<z.ZodString>;
2764
+ recovery: z.ZodOptional<z.ZodObject<{
2765
+ operation: z.ZodObject<{
2766
+ operation_id: z.ZodUUID;
2767
+ baseline_revision: z.ZodString;
2768
+ target_revision: z.ZodString;
2769
+ stage: z.ZodEnum<{
2770
+ install: "install";
2771
+ gateway_restart: "gateway_restart";
2772
+ agent_ready: "agent_ready";
2773
+ }>;
2774
+ recovered_revision: z.ZodOptional<z.ZodString>;
2775
+ source_moved: z.ZodOptional<z.ZodBoolean>;
2776
+ attempt_error: z.ZodOptional<z.ZodString>;
2777
+ failed_stage: z.ZodOptional<z.ZodEnum<{
2778
+ install: "install";
2779
+ gateway_restart: "gateway_restart";
2780
+ agent_ready: "agent_ready";
2781
+ }>>;
2782
+ }, z.core.$strip>;
2783
+ attempt_error: z.ZodNullable<z.ZodString>;
2784
+ runtime_revision: z.ZodNullable<z.ZodString>;
2785
+ rollback: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2786
+ outcome: z.ZodEnum<{
2787
+ unknown: "unknown";
2788
+ blocked: "blocked";
2789
+ recovering: "recovering";
2790
+ target_installed: "target_installed";
2791
+ baseline_restored: "baseline_restored";
2792
+ other_revision: "other_revision";
2793
+ }>;
2794
+ }, z.core.$strip>>;
2292
2795
  unread: z.ZodBoolean;
2293
2796
  active: z.ZodBoolean;
2294
2797
  requires_interaction: z.ZodBoolean;
2295
2798
  can_dismiss: z.ZodBoolean;
2296
2799
  steps: z.ZodArray<z.ZodObject<{
2297
2800
  id: z.ZodEnum<{
2298
- ready: "ready";
2299
- gateway_restart: "gateway_restart";
2300
2801
  install: "install";
2802
+ gateway_restart: "gateway_restart";
2803
+ agent_ready: "agent_ready";
2804
+ ready: "ready";
2301
2805
  web_restart: "web_restart";
2302
2806
  gateway_wait: "gateway_wait";
2303
- agent_ready: "agent_ready";
2807
+ recovery: "recovery";
2304
2808
  }>;
2305
2809
  label: z.ZodString;
2306
2810
  state: z.ZodEnum<{