ruicode 0.75.1 → 0.83.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/wire.d.ts CHANGED
@@ -173,6 +173,57 @@ export interface paths {
173
173
  patch?: never;
174
174
  trace?: never;
175
175
  };
176
+ "/v1/control/action-background": {
177
+ parameters: {
178
+ query?: never;
179
+ header?: never;
180
+ path?: never;
181
+ cookie?: never;
182
+ };
183
+ get?: never;
184
+ put?: never;
185
+ /** Promotes the same Action to Session-owned background work and returns its immutable call receipt selection. Completion is read explicitly with read-action; no final input or model wake is delivered. Retried by its key. */
186
+ post: operations["actionBackground"];
187
+ delete?: never;
188
+ options?: never;
189
+ head?: never;
190
+ patch?: never;
191
+ trace?: never;
192
+ };
193
+ "/v1/control/action-stop": {
194
+ parameters: {
195
+ query?: never;
196
+ header?: never;
197
+ path?: never;
198
+ cookie?: never;
199
+ };
200
+ get?: never;
201
+ put?: never;
202
+ /** Selects one owned Action for stop, preserving an existing Resolution. Read completion with read-action. Retried by its key. */
203
+ post: operations["actionStop"];
204
+ delete?: never;
205
+ options?: never;
206
+ head?: never;
207
+ patch?: never;
208
+ trace?: never;
209
+ };
210
+ "/v1/action-publish": {
211
+ parameters: {
212
+ query?: never;
213
+ header?: never;
214
+ path?: never;
215
+ cookie?: never;
216
+ };
217
+ get?: never;
218
+ put?: never;
219
+ /** Publishes one value from the running Action identified by its sender handle. */
220
+ post: operations["actionPublish"];
221
+ delete?: never;
222
+ options?: never;
223
+ head?: never;
224
+ patch?: never;
225
+ trace?: never;
226
+ };
176
227
  "/v1/read-action": {
177
228
  parameters: {
178
229
  query?: never;
@@ -326,6 +377,40 @@ export interface paths {
326
377
  patch?: never;
327
378
  trace?: never;
328
379
  };
380
+ "/v1/public-parts": {
381
+ parameters: {
382
+ query?: never;
383
+ header?: never;
384
+ path?: never;
385
+ cookie?: never;
386
+ };
387
+ get?: never;
388
+ put?: never;
389
+ /** The complete certified, ordered part list of a Message or Action Resolution parts value, addressed by its owner in the Session. */
390
+ post: operations["publicParts"];
391
+ delete?: never;
392
+ options?: never;
393
+ head?: never;
394
+ patch?: never;
395
+ trace?: never;
396
+ };
397
+ "/v1/public-part-content": {
398
+ parameters: {
399
+ query?: never;
400
+ header?: never;
401
+ path?: never;
402
+ cookie?: never;
403
+ };
404
+ get?: never;
405
+ put?: never;
406
+ /** The exact bytes of one part of an owner's parts value, framed as conversation content. */
407
+ post: operations["publicPartContent"];
408
+ delete?: never;
409
+ options?: never;
410
+ head?: never;
411
+ patch?: never;
412
+ trace?: never;
413
+ };
329
414
  "/v1/activity-search": {
330
415
  parameters: {
331
416
  query?: never;
@@ -415,9 +500,137 @@ export interface paths {
415
500
  export type webhooks = Record<string, never>;
416
501
  export interface components {
417
502
  schemas: {
503
+ ActionBackgroundConflictReply: {
504
+ /** @constant */
505
+ version: "21";
506
+ /** @constant */
507
+ type: "action_background_reply";
508
+ answer: {
509
+ /** @constant */
510
+ status: "conflict";
511
+ /** @constant */
512
+ replayed: false;
513
+ session: string;
514
+ action: components["schemas"]["Decimal"];
515
+ /** @constant */
516
+ code: "idempotency_key_conflict";
517
+ };
518
+ };
519
+ ActionBackgroundReply: {
520
+ /** @constant */
521
+ version: "21";
522
+ /** @constant */
523
+ type: "action_background_reply";
524
+ answer: {
525
+ /** @constant */
526
+ status: "accepted";
527
+ replayed: boolean;
528
+ session: string;
529
+ action: components["schemas"]["Decimal"];
530
+ action_selection: {
531
+ /** @enum {string} */
532
+ kind: "background" | "final";
533
+ position: components["schemas"]["Decimal"];
534
+ };
535
+ };
536
+ } | {
537
+ /** @constant */
538
+ version: "21";
539
+ /** @constant */
540
+ type: "action_background_reply";
541
+ answer: {
542
+ /** @constant */
543
+ status: "rejected";
544
+ replayed: boolean;
545
+ session: string;
546
+ action: components["schemas"]["Decimal"];
547
+ /** @enum {string} */
548
+ code: "invalid_session_reference" | "invalid_target" | "unknown_session" | "unknown_action" | "target_mismatch" | "source_stopped" | "action_not_backgroundable" | "background_unavailable";
549
+ };
550
+ };
551
+ ActionBackgroundRequest: {
552
+ /** @constant */
553
+ version: "21";
554
+ /** @constant */
555
+ kind: "action_background";
556
+ store: string;
557
+ key: string;
558
+ session: string;
559
+ action: components["schemas"]["Decimal"];
560
+ };
561
+ ActionPublishReply: {
562
+ action_id: components["schemas"]["Decimal"];
563
+ ordinal: components["schemas"]["Decimal"];
564
+ admission_id: components["schemas"]["Decimal"] | null;
565
+ replayed: boolean;
566
+ };
567
+ ActionPublishRequest: {
568
+ /** @constant */
569
+ version: "21";
570
+ /** @constant */
571
+ kind: "action_publish";
572
+ store: string;
573
+ handle: string;
574
+ key: string;
575
+ value: string;
576
+ };
577
+ ActionStopConflictReply: {
578
+ /** @constant */
579
+ version: "21";
580
+ /** @constant */
581
+ type: "action_stop_reply";
582
+ answer: {
583
+ /** @constant */
584
+ status: "conflict";
585
+ /** @constant */
586
+ replayed: false;
587
+ session: string;
588
+ action: components["schemas"]["Decimal"];
589
+ /** @constant */
590
+ code: "idempotency_key_conflict";
591
+ };
592
+ };
593
+ ActionStopReply: {
594
+ /** @constant */
595
+ version: "21";
596
+ /** @constant */
597
+ type: "action_stop_reply";
598
+ answer: {
599
+ /** @constant */
600
+ status: "accepted";
601
+ replayed: boolean;
602
+ session: string;
603
+ action: components["schemas"]["Decimal"];
604
+ resolution_position: components["schemas"]["Decimal"] | null;
605
+ };
606
+ } | {
607
+ /** @constant */
608
+ version: "21";
609
+ /** @constant */
610
+ type: "action_stop_reply";
611
+ answer: {
612
+ /** @constant */
613
+ status: "rejected";
614
+ replayed: boolean;
615
+ session: string;
616
+ action: components["schemas"]["Decimal"];
617
+ /** @enum {string} */
618
+ code: "invalid_session_reference" | "invalid_target" | "unknown_session" | "unknown_action" | "target_mismatch" | "source_stopped" | "action_not_backgroundable" | "background_unavailable";
619
+ };
620
+ };
621
+ ActionStopRequest: {
622
+ /** @constant */
623
+ version: "21";
624
+ /** @constant */
625
+ kind: "action_stop";
626
+ store: string;
627
+ key: string;
628
+ session: string;
629
+ action: components["schemas"]["Decimal"];
630
+ };
418
631
  ActivityContentRequest: {
419
632
  /** @constant */
420
- version: "19";
633
+ version: "21";
421
634
  /** @constant */
422
635
  kind: "activity_content";
423
636
  store: string;
@@ -438,7 +651,8 @@ export interface components {
438
651
  state: "queued" | "applied" | "excluded";
439
652
  admitted_at: components["schemas"]["Decimal"];
440
653
  sender: components["schemas"]["NamedPeer"] | null;
441
- content: components["schemas"]["ActivityItemContent"];
654
+ source_action: components["schemas"]["Decimal"] | null;
655
+ content: components["schemas"]["ContentValue"];
442
656
  };
443
657
  };
444
658
  } | {
@@ -454,7 +668,8 @@ export interface components {
454
668
  state: "queued" | "applied" | "excluded";
455
669
  admitted_at: components["schemas"]["Decimal"];
456
670
  sender: components["schemas"]["NamedPeer"] | null;
457
- content: components["schemas"]["ActivityItemContent"];
671
+ source_action: components["schemas"]["Decimal"] | null;
672
+ content: components["schemas"]["ContentValue"];
458
673
  };
459
674
  };
460
675
  } | {
@@ -463,7 +678,7 @@ export interface components {
463
678
  at: components["schemas"]["Decimal"];
464
679
  value: {
465
680
  assistant: {
466
- content: components["schemas"]["ActivityItemContent"];
681
+ content: components["schemas"]["ContentValue"];
467
682
  final: boolean;
468
683
  };
469
684
  };
@@ -480,9 +695,9 @@ export interface components {
480
695
  /** @enum {unknown} */
481
696
  rejection: "unknown_tool" | "invalid_arguments" | null;
482
697
  fields: [
483
- components["schemas"]["ActivityItemContent"],
484
- components["schemas"]["ActivityItemContent"],
485
- components["schemas"]["ActivityItemContent"]
698
+ components["schemas"]["ContentValue"],
699
+ components["schemas"]["ContentValue"],
700
+ components["schemas"]["ContentValue"]
486
701
  ];
487
702
  description: string | null;
488
703
  tool: string | null;
@@ -495,7 +710,7 @@ export interface components {
495
710
  at: components["schemas"]["Decimal"];
496
711
  value: {
497
712
  tool_result: {
498
- content: components["schemas"]["ActivityItemContent"];
713
+ content: components["schemas"]["ContentValue"];
499
714
  presentation: components["schemas"]["ToolPresentation"];
500
715
  };
501
716
  };
@@ -520,7 +735,7 @@ export interface components {
520
735
  /** @enum {string} */
521
736
  ending: "done" | "context_full" | "provider_refused" | "provider_unavailable" | "stopped" | "interrupted" | "failed";
522
737
  code: string;
523
- content: components["schemas"]["ActivityItemContent"] | null;
738
+ content: components["schemas"]["ContentValue"] | null;
524
739
  };
525
740
  };
526
741
  } | {
@@ -545,7 +760,7 @@ export interface components {
545
760
  admission: components["schemas"]["Decimal"];
546
761
  admitted_at: components["schemas"]["Decimal"];
547
762
  target: components["schemas"]["NamedPeer"];
548
- content: components["schemas"]["ActivityItemContent"];
763
+ content: components["schemas"]["ContentValue"];
549
764
  };
550
765
  };
551
766
  } | {
@@ -572,7 +787,8 @@ export interface components {
572
787
  state: "queued" | "applied" | "excluded";
573
788
  admitted_at: components["schemas"]["Decimal"];
574
789
  sender: components["schemas"]["NamedPeer"] | null;
575
- content: components["schemas"]["ActivityItemContent"];
790
+ source_action: components["schemas"]["Decimal"] | null;
791
+ content: components["schemas"]["ContentValue"];
576
792
  };
577
793
  };
578
794
  } | {
@@ -630,13 +846,9 @@ export interface components {
630
846
  };
631
847
  };
632
848
  };
633
- ActivityItemContent: {
634
- bytes: components["schemas"]["Decimal"];
635
- sha256: string;
636
- };
637
849
  ActivityPageReply: {
638
850
  /** @constant */
639
- version: "19";
851
+ version: "21";
640
852
  /** @constant */
641
853
  type: "activity_page";
642
854
  end: components["schemas"]["Decimal"];
@@ -652,7 +864,7 @@ export interface components {
652
864
  since: string | null;
653
865
  } | {
654
866
  /** @constant */
655
- version: "19";
867
+ version: "21";
656
868
  /** @constant */
657
869
  type: "activity_page";
658
870
  /** @constant */
@@ -661,7 +873,7 @@ export interface components {
661
873
  };
662
874
  ActivityPageRequest: {
663
875
  /** @constant */
664
- version: "19";
876
+ version: "21";
665
877
  /** @constant */
666
878
  kind: "activity_page";
667
879
  store: string;
@@ -684,6 +896,7 @@ export interface components {
684
896
  snippet: string;
685
897
  offset: components["schemas"]["Decimal"];
686
898
  length: components["schemas"]["Decimal"];
899
+ part: components["schemas"]["Decimal"] | null;
687
900
  };
688
901
  ActivitySearchItem: {
689
902
  position: components["schemas"]["Decimal"];
@@ -694,7 +907,7 @@ export interface components {
694
907
  };
695
908
  ActivitySearchReply: {
696
909
  /** @constant */
697
- version: "19";
910
+ version: "21";
698
911
  /** @constant */
699
912
  type: "activity_search";
700
913
  items: components["schemas"]["ActivitySearchItem"][];
@@ -702,7 +915,7 @@ export interface components {
702
915
  };
703
916
  ActivitySearchRequest: {
704
917
  /** @constant */
705
- version: "19";
918
+ version: "21";
706
919
  /** @constant */
707
920
  kind: "activity_search";
708
921
  store: string;
@@ -762,7 +975,7 @@ export interface components {
762
975
  };
763
976
  ConfigureConflictReply: {
764
977
  /** @constant */
765
- version: "19";
978
+ version: "21";
766
979
  /** @constant */
767
980
  type: "configuration_reply";
768
981
  answer: {
@@ -783,7 +996,7 @@ export interface components {
783
996
  };
784
997
  ConfigureReply: {
785
998
  /** @constant */
786
- version: "19";
999
+ version: "21";
787
1000
  /** @constant */
788
1001
  type: "configuration_reply";
789
1002
  answer: {
@@ -802,7 +1015,7 @@ export interface components {
802
1015
  };
803
1016
  } | {
804
1017
  /** @constant */
805
- version: "19";
1018
+ version: "21";
806
1019
  /** @constant */
807
1020
  type: "configuration_reply";
808
1021
  answer: {
@@ -824,7 +1037,7 @@ export interface components {
824
1037
  };
825
1038
  } | {
826
1039
  /** @constant */
827
- version: "19";
1040
+ version: "21";
828
1041
  /** @constant */
829
1042
  type: "configuration_reply";
830
1043
  answer: {
@@ -845,7 +1058,7 @@ export interface components {
845
1058
  };
846
1059
  ConfigureRequest: {
847
1060
  /** @constant */
848
- version: "19";
1061
+ version: "21";
849
1062
  /** @constant */
850
1063
  kind: "configure";
851
1064
  store: string;
@@ -858,9 +1071,21 @@ export interface components {
858
1071
  require_model?: true;
859
1072
  preset?: string;
860
1073
  };
1074
+ ContentValue: {
1075
+ /** @constant */
1076
+ type: "text";
1077
+ bytes: components["schemas"]["Decimal"];
1078
+ sha256: string;
1079
+ } | {
1080
+ /** @constant */
1081
+ type: "parts";
1082
+ bytes: components["schemas"]["Decimal"];
1083
+ sha256: string;
1084
+ owner: components["schemas"]["PartOwner"];
1085
+ };
861
1086
  ConversationContentRequest: {
862
1087
  /** @constant */
863
- version: "19";
1088
+ version: "21";
864
1089
  /** @constant */
865
1090
  kind: "conversation_content";
866
1091
  store: string;
@@ -874,7 +1099,7 @@ export interface components {
874
1099
  };
875
1100
  ConversationPageReply: {
876
1101
  /** @constant */
877
- version: "19";
1102
+ version: "21";
878
1103
  /** @constant */
879
1104
  type: "conversation_page";
880
1105
  /** @constant */
@@ -885,58 +1110,34 @@ export interface components {
885
1110
  ordinal: components["schemas"]["Decimal"];
886
1111
  /** @constant */
887
1112
  kind: "user";
888
- content: {
889
- bytes: components["schemas"]["Decimal"];
890
- sha256: string;
891
- /** @constant */
892
- display: "omitted";
893
- };
1113
+ content: components["schemas"]["ContentValue"];
894
1114
  } | {
895
1115
  position: components["schemas"]["Decimal"];
896
1116
  ordinal: components["schemas"]["Decimal"];
897
1117
  /** @constant */
898
1118
  kind: "user";
899
- content: {
900
- bytes: components["schemas"]["Decimal"];
901
- sha256: string;
902
- /** @constant */
903
- display: "omitted";
904
- };
1119
+ content: components["schemas"]["ContentValue"];
905
1120
  admitted_at: components["schemas"]["Decimal"];
906
1121
  sender: components["schemas"]["NamedPeer"] | null;
1122
+ source_action: components["schemas"]["Decimal"] | null;
907
1123
  } | {
908
1124
  position: components["schemas"]["Decimal"];
909
1125
  ordinal: components["schemas"]["Decimal"];
910
1126
  /** @constant */
911
1127
  kind: "assistant";
912
- content: {
913
- bytes: components["schemas"]["Decimal"];
914
- sha256: string;
915
- /** @constant */
916
- display: "omitted";
917
- };
1128
+ content: components["schemas"]["ContentValue"];
918
1129
  } | {
919
1130
  position: components["schemas"]["Decimal"];
920
1131
  ordinal: components["schemas"]["Decimal"];
921
1132
  /** @constant */
922
1133
  kind: "tool_result";
923
- content: {
924
- bytes: components["schemas"]["Decimal"];
925
- sha256: string;
926
- /** @constant */
927
- display: "omitted";
928
- };
1134
+ content: components["schemas"]["ContentValue"];
929
1135
  } | {
930
1136
  position: components["schemas"]["Decimal"];
931
1137
  ordinal: components["schemas"]["Decimal"];
932
1138
  /** @constant */
933
1139
  kind: "tool_result";
934
- content: {
935
- bytes: components["schemas"]["Decimal"];
936
- sha256: string;
937
- /** @constant */
938
- display: "omitted";
939
- };
1140
+ content: components["schemas"]["ContentValue"];
940
1141
  presentation: components["schemas"]["ToolPresentation"];
941
1142
  } | {
942
1143
  position: components["schemas"]["Decimal"];
@@ -954,7 +1155,7 @@ export interface components {
954
1155
  more: false;
955
1156
  } | {
956
1157
  /** @constant */
957
- version: "19";
1158
+ version: "21";
958
1159
  /** @constant */
959
1160
  type: "conversation_page";
960
1161
  /** @constant */
@@ -965,58 +1166,34 @@ export interface components {
965
1166
  ordinal: components["schemas"]["Decimal"];
966
1167
  /** @constant */
967
1168
  kind: "user";
968
- content: {
969
- bytes: components["schemas"]["Decimal"];
970
- sha256: string;
971
- /** @constant */
972
- display: "omitted";
973
- };
1169
+ content: components["schemas"]["ContentValue"];
974
1170
  } | {
975
1171
  position: components["schemas"]["Decimal"];
976
1172
  ordinal: components["schemas"]["Decimal"];
977
1173
  /** @constant */
978
1174
  kind: "user";
979
- content: {
980
- bytes: components["schemas"]["Decimal"];
981
- sha256: string;
982
- /** @constant */
983
- display: "omitted";
984
- };
1175
+ content: components["schemas"]["ContentValue"];
985
1176
  admitted_at: components["schemas"]["Decimal"];
986
1177
  sender: components["schemas"]["NamedPeer"] | null;
1178
+ source_action: components["schemas"]["Decimal"] | null;
987
1179
  } | {
988
1180
  position: components["schemas"]["Decimal"];
989
1181
  ordinal: components["schemas"]["Decimal"];
990
1182
  /** @constant */
991
1183
  kind: "assistant";
992
- content: {
993
- bytes: components["schemas"]["Decimal"];
994
- sha256: string;
995
- /** @constant */
996
- display: "omitted";
997
- };
1184
+ content: components["schemas"]["ContentValue"];
998
1185
  } | {
999
1186
  position: components["schemas"]["Decimal"];
1000
1187
  ordinal: components["schemas"]["Decimal"];
1001
1188
  /** @constant */
1002
1189
  kind: "tool_result";
1003
- content: {
1004
- bytes: components["schemas"]["Decimal"];
1005
- sha256: string;
1006
- /** @constant */
1007
- display: "omitted";
1008
- };
1190
+ content: components["schemas"]["ContentValue"];
1009
1191
  } | {
1010
1192
  position: components["schemas"]["Decimal"];
1011
1193
  ordinal: components["schemas"]["Decimal"];
1012
1194
  /** @constant */
1013
1195
  kind: "tool_result";
1014
- content: {
1015
- bytes: components["schemas"]["Decimal"];
1016
- sha256: string;
1017
- /** @constant */
1018
- display: "omitted";
1019
- };
1196
+ content: components["schemas"]["ContentValue"];
1020
1197
  presentation: components["schemas"]["ToolPresentation"];
1021
1198
  } | {
1022
1199
  position: components["schemas"]["Decimal"];
@@ -1037,7 +1214,7 @@ export interface components {
1037
1214
  };
1038
1215
  ConversationPageRequest: {
1039
1216
  /** @constant */
1040
- version: "19";
1217
+ version: "21";
1041
1218
  /** @constant */
1042
1219
  kind: "conversation_page";
1043
1220
  store: string;
@@ -1050,9 +1227,9 @@ export interface components {
1050
1227
  Decimal: string;
1051
1228
  ErrorReply: {
1052
1229
  /** @constant */
1053
- version: "19";
1230
+ version: "21";
1054
1231
  /** @enum {string} */
1055
- type: "invocation_error" | "observation_error" | "busy" | "unsupported" | "host_unavailable" | "result_unavailable" | "action_unavailable" | "conversation_unavailable" | "activity_unavailable" | "failed_response_unavailable";
1232
+ type: "invocation_error" | "observation_error" | "busy" | "unsupported" | "host_unavailable" | "result_unavailable" | "action_unavailable" | "conversation_unavailable" | "activity_unavailable" | "failed_response_unavailable" | "parts_unavailable";
1056
1233
  code: string;
1057
1234
  };
1058
1235
  FirstMessage: {
@@ -1060,11 +1237,11 @@ export interface components {
1060
1237
  admission: components["schemas"]["Decimal"];
1061
1238
  admitted_at: components["schemas"]["Decimal"];
1062
1239
  sender: components["schemas"]["Peer"] | null;
1063
- content: components["schemas"]["ActivityItemContent"];
1240
+ content: components["schemas"]["ContentValue"];
1064
1241
  };
1065
1242
  HostInfoReply: {
1066
1243
  /** @constant */
1067
- version: "19";
1244
+ version: "21";
1068
1245
  /** @constant */
1069
1246
  type: "host_info";
1070
1247
  store: string;
@@ -1091,21 +1268,21 @@ export interface components {
1091
1268
  };
1092
1269
  HostInfoRequest: {
1093
1270
  /** @constant */
1094
- version: "19";
1271
+ version: "21";
1095
1272
  /** @constant */
1096
1273
  kind: "host_info";
1097
1274
  store: string;
1098
1275
  };
1099
1276
  HostPauseReply: {
1100
1277
  /** @constant */
1101
- version: "19";
1278
+ version: "21";
1102
1279
  /** @constant */
1103
1280
  type: "host_pause_reply";
1104
1281
  paused: boolean;
1105
1282
  };
1106
1283
  HostPauseRequest: {
1107
1284
  /** @constant */
1108
- version: "19";
1285
+ version: "21";
1109
1286
  /** @constant */
1110
1287
  kind: "host_pause";
1111
1288
  store: string;
@@ -1147,6 +1324,7 @@ export interface components {
1147
1324
  credentialFile?: (string | {
1148
1325
  hex: string;
1149
1326
  }) | null;
1327
+ tokenEndpoint?: string | null;
1150
1328
  /** @description Send no credential to a development endpoint. */
1151
1329
  unauthenticated?: boolean;
1152
1330
  } | null;
@@ -1174,6 +1352,7 @@ export interface components {
1174
1352
  credentialFile?: (string | {
1175
1353
  hex: string;
1176
1354
  }) | null;
1355
+ tokenEndpoint?: string | null;
1177
1356
  /** @description Send no credential to a development endpoint. */
1178
1357
  unauthenticated?: boolean;
1179
1358
  } | null;
@@ -1184,6 +1363,10 @@ export interface components {
1184
1363
  hex: string;
1185
1364
  }) | null;
1186
1365
  };
1366
+ /** @description Model catalog settings. */
1367
+ models?: {
1368
+ catalogUrl?: string | null;
1369
+ };
1187
1370
  /** @description The tool Adapters offered to Sessions. */
1188
1371
  tools?: {
1189
1372
  /** @description The built-in Bash tool. */
@@ -1232,6 +1415,8 @@ export interface components {
1232
1415
  execution?: {
1233
1416
  /** @description How many Turns may run at once. */
1234
1417
  activeCapacity?: number;
1418
+ /** @description Background a live Host-run Action after this many milliseconds. */
1419
+ backgroundAfterMs?: number;
1235
1420
  /** @description Open with Turns held, as after host_pause. */
1236
1421
  paused?: boolean;
1237
1422
  };
@@ -1242,7 +1427,7 @@ export interface components {
1242
1427
  };
1243
1428
  HostStopReply: {
1244
1429
  /** @constant */
1245
- version: "19";
1430
+ version: "21";
1246
1431
  /** @constant */
1247
1432
  type: "host_stop_reply";
1248
1433
  /** @constant */
@@ -1250,14 +1435,26 @@ export interface components {
1250
1435
  };
1251
1436
  HostStopRequest: {
1252
1437
  /** @constant */
1253
- version: "19";
1438
+ version: "21";
1254
1439
  /** @constant */
1255
1440
  kind: "host_stop";
1256
1441
  store: string;
1257
1442
  };
1443
+ InputPartSchema: {
1444
+ /** @constant */
1445
+ type: "text";
1446
+ /** @description Text of any length, saved as content. */
1447
+ text: string;
1448
+ } | {
1449
+ /** @constant */
1450
+ type: "image";
1451
+ /** @enum {string} */
1452
+ mime: "image/png" | "image/jpeg";
1453
+ data: string;
1454
+ };
1258
1455
  InspectSessionReply: {
1259
1456
  /** @constant */
1260
- version: "19";
1457
+ version: "21";
1261
1458
  /** @constant */
1262
1459
  type: "session_report";
1263
1460
  /** @constant */
@@ -1280,7 +1477,7 @@ export interface components {
1280
1477
  execution: components["schemas"]["domainreportExecutionJson"];
1281
1478
  } | {
1282
1479
  /** @constant */
1283
- version: "19";
1480
+ version: "21";
1284
1481
  /** @constant */
1285
1482
  type: "session_report";
1286
1483
  /** @constant */
@@ -1301,7 +1498,7 @@ export interface components {
1301
1498
  execution: components["schemas"]["domainreportExecutionJson"];
1302
1499
  } | {
1303
1500
  /** @constant */
1304
- version: "19";
1501
+ version: "21";
1305
1502
  /** @constant */
1306
1503
  type: "session_report";
1307
1504
  /** @constant */
@@ -1320,7 +1517,7 @@ export interface components {
1320
1517
  };
1321
1518
  } | {
1322
1519
  /** @constant */
1323
- version: "19";
1520
+ version: "21";
1324
1521
  /** @constant */
1325
1522
  type: "session_report";
1326
1523
  /** @constant */
@@ -1337,7 +1534,7 @@ export interface components {
1337
1534
  };
1338
1535
  InspectSessionRequest: {
1339
1536
  /** @constant */
1340
- version: "19";
1537
+ version: "21";
1341
1538
  /** @constant */
1342
1539
  kind: "inspect_session";
1343
1540
  store: string;
@@ -1345,7 +1542,7 @@ export interface components {
1345
1542
  since?: string | null;
1346
1543
  } | {
1347
1544
  /** @constant */
1348
- version: "19";
1545
+ version: "21";
1349
1546
  /** @constant */
1350
1547
  kind: "inspect_session";
1351
1548
  store: string;
@@ -1354,7 +1551,7 @@ export interface components {
1354
1551
  profile: "full";
1355
1552
  } | {
1356
1553
  /** @constant */
1357
- version: "19";
1554
+ version: "21";
1358
1555
  /** @constant */
1359
1556
  kind: "inspect_session";
1360
1557
  store: string;
@@ -1370,7 +1567,7 @@ export interface components {
1370
1567
  };
1371
1568
  ListSessionsReply: {
1372
1569
  /** @constant */
1373
- version: "19";
1570
+ version: "21";
1374
1571
  /** @constant */
1375
1572
  type: "session_list";
1376
1573
  sessions: components["schemas"]["SessionRow"][];
@@ -1383,7 +1580,7 @@ export interface components {
1383
1580
  };
1384
1581
  } | {
1385
1582
  /** @constant */
1386
- version: "19";
1583
+ version: "21";
1387
1584
  /** @constant */
1388
1585
  type: "session_list";
1389
1586
  sessions: components["schemas"]["SessionRow"][];
@@ -1396,7 +1593,7 @@ export interface components {
1396
1593
  };
1397
1594
  } | {
1398
1595
  /** @constant */
1399
- version: "19";
1596
+ version: "21";
1400
1597
  /** @constant */
1401
1598
  type: "session_list";
1402
1599
  sessions: components["schemas"]["SessionRow"][];
@@ -1407,7 +1604,7 @@ export interface components {
1407
1604
  };
1408
1605
  ListSessionsRequest: {
1409
1606
  /** @constant */
1410
- version: "19";
1607
+ version: "21";
1411
1608
  /** @constant */
1412
1609
  kind: "list_sessions";
1413
1610
  store: string;
@@ -1422,7 +1619,7 @@ export interface components {
1422
1619
  };
1423
1620
  MessageConflictReply: {
1424
1621
  /** @constant */
1425
- version: "19";
1622
+ version: "21";
1426
1623
  /** @constant */
1427
1624
  type: "message_reply";
1428
1625
  answer: {
@@ -1439,6 +1636,20 @@ export interface components {
1439
1636
  status: "queued";
1440
1637
  };
1441
1638
  };
1639
+ MessageInput: {
1640
+ /** @constant */
1641
+ type: "text";
1642
+ bytes: components["schemas"]["Decimal"];
1643
+ sha256: string;
1644
+ } | {
1645
+ /** @constant */
1646
+ type: "parts";
1647
+ bytes: components["schemas"]["Decimal"];
1648
+ sha256: string;
1649
+ owner: {
1650
+ message: components["schemas"]["Decimal"];
1651
+ };
1652
+ };
1442
1653
  MessageRecoveryJson: {
1443
1654
  unknown_outcomes: {
1444
1655
  action: components["schemas"]["Decimal"];
@@ -1451,7 +1662,7 @@ export interface components {
1451
1662
  };
1452
1663
  MessageReply: {
1453
1664
  /** @constant */
1454
- version: "19";
1665
+ version: "21";
1455
1666
  /** @constant */
1456
1667
  type: "message_reply";
1457
1668
  answer: {
@@ -1461,12 +1672,7 @@ export interface components {
1461
1672
  session: string;
1462
1673
  admission: components["schemas"]["Decimal"];
1463
1674
  };
1464
- input: {
1465
- /** @constant */
1466
- type: "text";
1467
- bytes: components["schemas"]["Decimal"];
1468
- sha256: string;
1469
- };
1675
+ input: components["schemas"]["MessageInput"];
1470
1676
  queue: {
1471
1677
  /** @constant */
1472
1678
  status: "queued";
@@ -1478,7 +1684,7 @@ export interface components {
1478
1684
  };
1479
1685
  } | {
1480
1686
  /** @constant */
1481
- version: "19";
1687
+ version: "21";
1482
1688
  /** @constant */
1483
1689
  type: "message_reply";
1484
1690
  answer: {
@@ -1500,10 +1706,34 @@ export interface components {
1500
1706
  /** @constant */
1501
1707
  status: "queued";
1502
1708
  };
1709
+ } | {
1710
+ /** @constant */
1711
+ version: "21";
1712
+ /** @constant */
1713
+ type: "message_reply";
1714
+ answer: {
1715
+ /** @constant */
1716
+ status: "rejected";
1717
+ replayed: boolean;
1718
+ session: string;
1719
+ /** @enum {string} */
1720
+ code: "session_archiving" | "invalid_session_reference" | "unknown_session" | "invalid_sender_handle" | "unsupported_permission_mode" | "unsupported_provider" | "invalid_model" | "model_capability_unavailable" | "invalid_output_schema" | "invalid_compaction_trigger" | "compact_at_too_large" | "invalid_output_reservation" | "unsupported_reasoning_effort" | "unknown_tool" | "mcp_server_unavailable" | "provider_tool_missing" | "loaded_tools_not_in_tools" | "loaded_tools_unreachable" | "invalid_label" | "incomplete_initial_configuration" | "unknown_preset" | "preset_on_update" | "parent_on_update" | "parent_provider_forbidden" | "parent_workspace_forbidden" | "tools_not_in_parent" | "permission_mode_wider_than_parent" | "invalid_workspace" | "workspace_is_immutable" | "provider_is_immutable" | "model_is_immutable" | "revision_exhausted" | "skills_unavailable" | "skill_file_unavailable" | "skill_file_too_large" | "skill_text_invalid";
1721
+ message: string | null;
1722
+ };
1723
+ input: {
1724
+ /** @constant */
1725
+ type: "parts";
1726
+ bytes: components["schemas"]["Decimal"];
1727
+ sha256: string;
1728
+ };
1729
+ execution: {
1730
+ /** @constant */
1731
+ status: "queued";
1732
+ };
1503
1733
  };
1504
1734
  MessageRequest: {
1505
1735
  /** @constant */
1506
- version: "19";
1736
+ version: "21";
1507
1737
  /** @constant */
1508
1738
  kind: "message";
1509
1739
  store: string;
@@ -1523,13 +1753,30 @@ export interface components {
1523
1753
  };
1524
1754
  /** @constant */
1525
1755
  require_model?: true;
1526
- };
1527
- ModelInterruptionConflictReply: {
1756
+ } | {
1528
1757
  /** @constant */
1529
- version: "19";
1758
+ version: "21";
1530
1759
  /** @constant */
1531
- type: "model_interruption_reply";
1532
- answer: {
1760
+ kind: "message";
1761
+ store: string;
1762
+ key: string;
1763
+ session: string;
1764
+ sender: {
1765
+ store: string;
1766
+ session: string;
1767
+ } | null;
1768
+ sender_handle: string | null;
1769
+ configuration?: components["schemas"]["Configuration"];
1770
+ parts: components["schemas"]["InputPartSchema"][];
1771
+ /** @constant */
1772
+ require_model?: true;
1773
+ };
1774
+ ModelInterruptionConflictReply: {
1775
+ /** @constant */
1776
+ version: "21";
1777
+ /** @constant */
1778
+ type: "model_interruption_reply";
1779
+ answer: {
1533
1780
  /** @constant */
1534
1781
  status: "conflict";
1535
1782
  /** @constant */
@@ -1545,7 +1792,7 @@ export interface components {
1545
1792
  };
1546
1793
  ModelInterruptionReply: {
1547
1794
  /** @constant */
1548
- version: "19";
1795
+ version: "21";
1549
1796
  /** @constant */
1550
1797
  type: "model_interruption_reply";
1551
1798
  answer: {
@@ -1560,7 +1807,7 @@ export interface components {
1560
1807
  };
1561
1808
  } | {
1562
1809
  /** @constant */
1563
- version: "19";
1810
+ version: "21";
1564
1811
  /** @constant */
1565
1812
  type: "model_interruption_reply";
1566
1813
  answer: {
@@ -1578,7 +1825,7 @@ export interface components {
1578
1825
  };
1579
1826
  ModelInterruptionRequest: {
1580
1827
  /** @constant */
1581
- version: "19";
1828
+ version: "21";
1582
1829
  /** @constant */
1583
1830
  kind: "model_interruption";
1584
1831
  store: string;
@@ -1601,14 +1848,14 @@ export interface components {
1601
1848
  };
1602
1849
  ModelListReply: {
1603
1850
  /** @constant */
1604
- version: "19";
1851
+ version: "21";
1605
1852
  /** @constant */
1606
1853
  type: "model_list";
1607
1854
  providers: components["schemas"]["ModelListEntry"][];
1608
1855
  };
1609
1856
  ModelListRequest: {
1610
1857
  /** @constant */
1611
- version: "19";
1858
+ version: "21";
1612
1859
  /** @constant */
1613
1860
  kind: "model_list";
1614
1861
  store: string;
@@ -1619,7 +1866,7 @@ export interface components {
1619
1866
  };
1620
1867
  ObserveCommandReply: {
1621
1868
  /** @constant */
1622
- version: "19";
1869
+ version: "21";
1623
1870
  /** @constant */
1624
1871
  type: "command_observation";
1625
1872
  key: string;
@@ -1632,7 +1879,7 @@ export interface components {
1632
1879
  };
1633
1880
  } | {
1634
1881
  /** @constant */
1635
- version: "19";
1882
+ version: "21";
1636
1883
  /** @constant */
1637
1884
  type: "command_observation";
1638
1885
  key: string;
@@ -1670,9 +1917,9 @@ export interface components {
1670
1917
  revision: components["schemas"]["Decimal"];
1671
1918
  created: boolean;
1672
1919
  };
1673
- } | {
1920
+ } | ({
1674
1921
  /** @constant */
1675
- version: "19";
1922
+ version: "21";
1676
1923
  /** @constant */
1677
1924
  type: "command_observation";
1678
1925
  key: string;
@@ -1680,88 +1927,14 @@ export interface components {
1680
1927
  delta: "full";
1681
1928
  since: string | null;
1682
1929
  observation: {
1683
- /** @enum {string} */
1684
- status: "absent" | "accepted" | "rejected";
1685
- /** @constant */
1686
- kind: "message";
1687
- target: string;
1688
- /** @constant */
1689
- state: "rejected";
1690
- } | {
1691
- /** @enum {string} */
1692
- status: "absent" | "accepted" | "rejected";
1693
- /** @constant */
1694
- kind: "message";
1695
- target: string;
1696
- code: string;
1697
- /** @constant */
1698
- state: "rejected";
1699
- } | {
1700
- /** @enum {string} */
1701
- status: "absent" | "accepted" | "rejected";
1702
- /** @constant */
1703
- kind: "message";
1704
- target: string;
1705
- /** @constant */
1706
- state: "rejected";
1707
- input: {
1708
- /** @constant */
1709
- type: "text";
1710
- bytes: components["schemas"]["Decimal"];
1711
- sha256: string;
1712
- };
1713
- } | {
1714
- /** @enum {string} */
1715
- status: "absent" | "accepted" | "rejected";
1716
1930
  /** @constant */
1717
- kind: "message";
1718
- target: string;
1719
- code: string;
1720
- /** @constant */
1721
- state: "rejected";
1722
- input: {
1723
- /** @constant */
1724
- type: "text";
1725
- bytes: components["schemas"]["Decimal"];
1726
- sha256: string;
1727
- };
1728
- } | {
1729
- /** @enum {string} */
1730
- status: "absent" | "accepted" | "rejected";
1731
- /** @constant */
1732
- kind: "message";
1733
- target: string;
1734
- /** @constant */
1735
- state: "queued";
1736
- input: {
1737
- /** @constant */
1738
- type: "text";
1739
- bytes: components["schemas"]["Decimal"];
1740
- sha256: string;
1741
- };
1742
- queue: {
1743
- admission: components["schemas"]["Decimal"];
1744
- admitted_at: components["schemas"]["Decimal"];
1745
- };
1746
- work: {
1747
- state: components["schemas"]["WorkStateJson"];
1748
- first_action: components["schemas"]["Decimal"] | null;
1749
- };
1750
- } | {
1751
- /** @enum {string} */
1752
- status: "absent" | "accepted" | "rejected";
1931
+ status: "accepted";
1753
1932
  /** @constant */
1754
1933
  kind: "message";
1755
1934
  target: string;
1756
- code: string;
1757
1935
  /** @constant */
1758
1936
  state: "queued";
1759
- input: {
1760
- /** @constant */
1761
- type: "text";
1762
- bytes: components["schemas"]["Decimal"];
1763
- sha256: string;
1764
- };
1937
+ input: components["schemas"]["MessageInput"];
1765
1938
  queue: {
1766
1939
  admission: components["schemas"]["Decimal"];
1767
1940
  admitted_at: components["schemas"]["Decimal"];
@@ -1769,49 +1942,30 @@ export interface components {
1769
1942
  work: {
1770
1943
  state: components["schemas"]["WorkStateJson"];
1771
1944
  first_action: components["schemas"]["Decimal"] | null;
1945
+ attention: components["schemas"]["WorkAttentionJson"] | null;
1946
+ /** @enum {string} */
1947
+ group: "needs_you" | "working" | "queued" | "done";
1948
+ actions: components["schemas"]["WorkActionsJson"];
1772
1949
  };
1773
- } | {
1774
- /** @enum {string} */
1775
- status: "absent" | "accepted" | "rejected";
1776
- /** @constant */
1777
- kind: "message";
1778
- target: string;
1950
+ };
1951
+ } | {
1952
+ /** @constant */
1953
+ version: "21";
1954
+ /** @constant */
1955
+ type: "command_observation";
1956
+ key: string;
1957
+ /** @constant */
1958
+ delta: "full";
1959
+ since: string | null;
1960
+ observation: {
1779
1961
  /** @constant */
1780
- state: "processing";
1781
- input: {
1782
- /** @constant */
1783
- type: "text";
1784
- bytes: components["schemas"]["Decimal"];
1785
- sha256: string;
1786
- };
1787
- queue: {
1788
- admission: components["schemas"]["Decimal"];
1789
- admitted_at: components["schemas"]["Decimal"];
1790
- };
1791
- binding: {
1792
- turn: components["schemas"]["Decimal"];
1793
- operation: components["schemas"]["Decimal"];
1794
- attempt: components["schemas"]["Decimal"];
1795
- };
1796
- work: {
1797
- state: components["schemas"]["WorkStateJson"];
1798
- first_action: components["schemas"]["Decimal"] | null;
1799
- };
1800
- } | {
1801
- /** @enum {string} */
1802
- status: "absent" | "accepted" | "rejected";
1962
+ status: "accepted";
1803
1963
  /** @constant */
1804
1964
  kind: "message";
1805
1965
  target: string;
1806
- code: string;
1807
1966
  /** @constant */
1808
1967
  state: "processing";
1809
- input: {
1810
- /** @constant */
1811
- type: "text";
1812
- bytes: components["schemas"]["Decimal"];
1813
- sha256: string;
1814
- };
1968
+ input: components["schemas"]["MessageInput"];
1815
1969
  queue: {
1816
1970
  admission: components["schemas"]["Decimal"];
1817
1971
  admitted_at: components["schemas"]["Decimal"];
@@ -1824,50 +1978,30 @@ export interface components {
1824
1978
  work: {
1825
1979
  state: components["schemas"]["WorkStateJson"];
1826
1980
  first_action: components["schemas"]["Decimal"] | null;
1981
+ attention: components["schemas"]["WorkAttentionJson"] | null;
1982
+ /** @enum {string} */
1983
+ group: "needs_you" | "working" | "queued" | "done";
1984
+ actions: components["schemas"]["WorkActionsJson"];
1827
1985
  };
1828
- } | {
1829
- /** @enum {string} */
1830
- status: "absent" | "accepted" | "rejected";
1831
- /** @constant */
1832
- kind: "message";
1833
- target: string;
1986
+ };
1987
+ } | {
1988
+ /** @constant */
1989
+ version: "21";
1990
+ /** @constant */
1991
+ type: "command_observation";
1992
+ key: string;
1993
+ /** @constant */
1994
+ delta: "full";
1995
+ since: string | null;
1996
+ observation: {
1834
1997
  /** @constant */
1835
- state: "processing";
1836
- input: {
1837
- /** @constant */
1838
- type: "text";
1839
- bytes: components["schemas"]["Decimal"];
1840
- sha256: string;
1841
- };
1842
- queue: {
1843
- admission: components["schemas"]["Decimal"];
1844
- admitted_at: components["schemas"]["Decimal"];
1845
- };
1846
- binding: {
1847
- turn: components["schemas"]["Decimal"];
1848
- operation: components["schemas"]["Decimal"];
1849
- attempt: components["schemas"]["Decimal"];
1850
- };
1851
- work: {
1852
- state: components["schemas"]["WorkStateJson"];
1853
- first_action: components["schemas"]["Decimal"] | null;
1854
- };
1855
- recovery: components["schemas"]["MessageRecoveryJson"];
1856
- } | {
1857
- /** @enum {string} */
1858
- status: "absent" | "accepted" | "rejected";
1998
+ status: "accepted";
1859
1999
  /** @constant */
1860
2000
  kind: "message";
1861
2001
  target: string;
1862
- code: string;
1863
2002
  /** @constant */
1864
2003
  state: "processing";
1865
- input: {
1866
- /** @constant */
1867
- type: "text";
1868
- bytes: components["schemas"]["Decimal"];
1869
- sha256: string;
1870
- };
2004
+ input: components["schemas"]["MessageInput"];
1871
2005
  queue: {
1872
2006
  admission: components["schemas"]["Decimal"];
1873
2007
  admitted_at: components["schemas"]["Decimal"];
@@ -1880,49 +2014,31 @@ export interface components {
1880
2014
  work: {
1881
2015
  state: components["schemas"]["WorkStateJson"];
1882
2016
  first_action: components["schemas"]["Decimal"] | null;
2017
+ attention: components["schemas"]["WorkAttentionJson"] | null;
2018
+ /** @enum {string} */
2019
+ group: "needs_you" | "working" | "queued" | "done";
2020
+ actions: components["schemas"]["WorkActionsJson"];
1883
2021
  };
1884
2022
  recovery: components["schemas"]["MessageRecoveryJson"];
1885
- } | {
1886
- /** @enum {string} */
1887
- status: "absent" | "accepted" | "rejected";
1888
- /** @constant */
1889
- kind: "message";
1890
- target: string;
2023
+ };
2024
+ } | {
2025
+ /** @constant */
2026
+ version: "21";
2027
+ /** @constant */
2028
+ type: "command_observation";
2029
+ key: string;
2030
+ /** @constant */
2031
+ delta: "full";
2032
+ since: string | null;
2033
+ observation: {
1891
2034
  /** @constant */
1892
- state: "waiting_for_permission";
1893
- input: {
1894
- /** @constant */
1895
- type: "text";
1896
- bytes: components["schemas"]["Decimal"];
1897
- sha256: string;
1898
- };
1899
- queue: {
1900
- admission: components["schemas"]["Decimal"];
1901
- admitted_at: components["schemas"]["Decimal"];
1902
- };
1903
- work: {
1904
- state: {
1905
- /** @constant */
1906
- kind: "approval";
1907
- since: components["schemas"]["Decimal"];
1908
- };
1909
- first_action: components["schemas"]["Decimal"] | null;
1910
- };
1911
- } | {
1912
- /** @enum {string} */
1913
- status: "absent" | "accepted" | "rejected";
2035
+ status: "accepted";
1914
2036
  /** @constant */
1915
2037
  kind: "message";
1916
2038
  target: string;
1917
- code: string;
1918
2039
  /** @constant */
1919
2040
  state: "waiting_for_permission";
1920
- input: {
1921
- /** @constant */
1922
- type: "text";
1923
- bytes: components["schemas"]["Decimal"];
1924
- sha256: string;
1925
- };
2041
+ input: components["schemas"]["MessageInput"];
1926
2042
  queue: {
1927
2043
  admission: components["schemas"]["Decimal"];
1928
2044
  admitted_at: components["schemas"]["Decimal"];
@@ -1934,53 +2050,30 @@ export interface components {
1934
2050
  since: components["schemas"]["Decimal"];
1935
2051
  };
1936
2052
  first_action: components["schemas"]["Decimal"] | null;
2053
+ attention: components["schemas"]["WorkAttentionJson"] | null;
2054
+ /** @enum {string} */
2055
+ group: "needs_you" | "working" | "queued" | "done";
2056
+ actions: components["schemas"]["WorkActionsJson"];
1937
2057
  };
1938
- } | {
1939
- /** @enum {string} */
1940
- status: "absent" | "accepted" | "rejected";
1941
- /** @constant */
1942
- kind: "message";
1943
- target: string;
2058
+ };
2059
+ } | {
2060
+ /** @constant */
2061
+ version: "21";
2062
+ /** @constant */
2063
+ type: "command_observation";
2064
+ key: string;
2065
+ /** @constant */
2066
+ delta: "full";
2067
+ since: string | null;
2068
+ observation: {
1944
2069
  /** @constant */
1945
- state: "waiting_for_permission";
1946
- input: {
1947
- /** @constant */
1948
- type: "text";
1949
- bytes: components["schemas"]["Decimal"];
1950
- sha256: string;
1951
- };
1952
- queue: {
1953
- admission: components["schemas"]["Decimal"];
1954
- admitted_at: components["schemas"]["Decimal"];
1955
- };
1956
- binding: {
1957
- turn: components["schemas"]["Decimal"];
1958
- operation: components["schemas"]["Decimal"];
1959
- attempt: components["schemas"]["Decimal"];
1960
- };
1961
- work: {
1962
- state: {
1963
- /** @constant */
1964
- kind: "approval";
1965
- since: components["schemas"]["Decimal"];
1966
- };
1967
- first_action: components["schemas"]["Decimal"] | null;
1968
- };
1969
- } | {
1970
- /** @enum {string} */
1971
- status: "absent" | "accepted" | "rejected";
2070
+ status: "accepted";
1972
2071
  /** @constant */
1973
2072
  kind: "message";
1974
2073
  target: string;
1975
- code: string;
1976
2074
  /** @constant */
1977
2075
  state: "waiting_for_permission";
1978
- input: {
1979
- /** @constant */
1980
- type: "text";
1981
- bytes: components["schemas"]["Decimal"];
1982
- sha256: string;
1983
- };
2076
+ input: components["schemas"]["MessageInput"];
1984
2077
  queue: {
1985
2078
  admission: components["schemas"]["Decimal"];
1986
2079
  admitted_at: components["schemas"]["Decimal"];
@@ -1997,54 +2090,30 @@ export interface components {
1997
2090
  since: components["schemas"]["Decimal"];
1998
2091
  };
1999
2092
  first_action: components["schemas"]["Decimal"] | null;
2093
+ attention: components["schemas"]["WorkAttentionJson"] | null;
2094
+ /** @enum {string} */
2095
+ group: "needs_you" | "working" | "queued" | "done";
2096
+ actions: components["schemas"]["WorkActionsJson"];
2000
2097
  };
2001
- } | {
2002
- /** @enum {string} */
2003
- status: "absent" | "accepted" | "rejected";
2004
- /** @constant */
2005
- kind: "message";
2006
- target: string;
2098
+ };
2099
+ } | {
2100
+ /** @constant */
2101
+ version: "21";
2102
+ /** @constant */
2103
+ type: "command_observation";
2104
+ key: string;
2105
+ /** @constant */
2106
+ delta: "full";
2107
+ since: string | null;
2108
+ observation: {
2007
2109
  /** @constant */
2008
- state: "waiting_for_permission";
2009
- input: {
2010
- /** @constant */
2011
- type: "text";
2012
- bytes: components["schemas"]["Decimal"];
2013
- sha256: string;
2014
- };
2015
- queue: {
2016
- admission: components["schemas"]["Decimal"];
2017
- admitted_at: components["schemas"]["Decimal"];
2018
- };
2019
- binding: {
2020
- turn: components["schemas"]["Decimal"];
2021
- operation: components["schemas"]["Decimal"];
2022
- attempt: components["schemas"]["Decimal"];
2023
- };
2024
- work: {
2025
- state: {
2026
- /** @constant */
2027
- kind: "approval";
2028
- since: components["schemas"]["Decimal"];
2029
- };
2030
- first_action: components["schemas"]["Decimal"] | null;
2031
- };
2032
- recovery: components["schemas"]["MessageRecoveryJson"];
2033
- } | {
2034
- /** @enum {string} */
2035
- status: "absent" | "accepted" | "rejected";
2110
+ status: "accepted";
2036
2111
  /** @constant */
2037
2112
  kind: "message";
2038
2113
  target: string;
2039
- code: string;
2040
2114
  /** @constant */
2041
2115
  state: "waiting_for_permission";
2042
- input: {
2043
- /** @constant */
2044
- type: "text";
2045
- bytes: components["schemas"]["Decimal"];
2046
- sha256: string;
2047
- };
2116
+ input: components["schemas"]["MessageInput"];
2048
2117
  queue: {
2049
2118
  admission: components["schemas"]["Decimal"];
2050
2119
  admitted_at: components["schemas"]["Decimal"];
@@ -2061,262 +2130,59 @@ export interface components {
2061
2130
  since: components["schemas"]["Decimal"];
2062
2131
  };
2063
2132
  first_action: components["schemas"]["Decimal"] | null;
2133
+ attention: components["schemas"]["WorkAttentionJson"] | null;
2134
+ /** @enum {string} */
2135
+ group: "needs_you" | "working" | "queued" | "done";
2136
+ actions: components["schemas"]["WorkActionsJson"];
2064
2137
  };
2065
2138
  recovery: components["schemas"]["MessageRecoveryJson"];
2066
- } | {
2067
- /** @enum {string} */
2068
- status: "absent" | "accepted" | "rejected";
2069
- /** @constant */
2070
- kind: "message";
2071
- target: string;
2072
- /** @constant */
2073
- state: "cancelled";
2074
- input: {
2075
- /** @constant */
2076
- type: "text";
2077
- bytes: components["schemas"]["Decimal"];
2078
- sha256: string;
2079
- };
2080
- queue: {
2081
- admission: components["schemas"]["Decimal"];
2082
- admitted_at: components["schemas"]["Decimal"];
2083
- };
2084
- result: {
2085
- /** @constant */
2086
- status: "cancelled";
2087
- code: string;
2088
- };
2089
- } | {
2090
- /** @enum {string} */
2091
- status: "absent" | "accepted" | "rejected";
2092
- /** @constant */
2093
- kind: "message";
2094
- target: string;
2095
- code: string;
2096
- /** @constant */
2097
- state: "cancelled";
2098
- input: {
2099
- /** @constant */
2100
- type: "text";
2101
- bytes: components["schemas"]["Decimal"];
2102
- sha256: string;
2103
- };
2104
- queue: {
2105
- admission: components["schemas"]["Decimal"];
2106
- admitted_at: components["schemas"]["Decimal"];
2107
- };
2108
- result: {
2109
- /** @constant */
2110
- status: "cancelled";
2111
- code: string;
2112
- };
2113
- } | {
2114
- /** @enum {string} */
2115
- status: "absent" | "accepted" | "rejected";
2116
- /** @constant */
2117
- kind: "message";
2118
- target: string;
2119
- /** @constant */
2120
- state: "completed";
2121
- input: {
2122
- /** @constant */
2123
- type: "text";
2124
- bytes: components["schemas"]["Decimal"];
2125
- sha256: string;
2126
- };
2127
- queue: {
2128
- admission: components["schemas"]["Decimal"];
2129
- admitted_at: components["schemas"]["Decimal"];
2130
- };
2131
- binding: {
2132
- turn: components["schemas"]["Decimal"];
2133
- operation: components["schemas"]["Decimal"];
2134
- attempt: components["schemas"]["Decimal"];
2135
- };
2136
- result: {
2137
- /** @constant */
2138
- status: "completed";
2139
- text: {
2140
- /** @constant */
2141
- type: "text";
2142
- bytes: components["schemas"]["Decimal"];
2143
- sha256: string;
2144
- };
2145
- };
2146
- } | {
2147
- /** @enum {string} */
2148
- status: "absent" | "accepted" | "rejected";
2149
- /** @constant */
2150
- kind: "message";
2151
- target: string;
2152
- code: string;
2153
- /** @constant */
2154
- state: "completed";
2155
- input: {
2156
- /** @constant */
2157
- type: "text";
2158
- bytes: components["schemas"]["Decimal"];
2159
- sha256: string;
2160
- };
2161
- queue: {
2162
- admission: components["schemas"]["Decimal"];
2163
- admitted_at: components["schemas"]["Decimal"];
2164
- };
2165
- binding: {
2166
- turn: components["schemas"]["Decimal"];
2167
- operation: components["schemas"]["Decimal"];
2168
- attempt: components["schemas"]["Decimal"];
2169
- };
2170
- result: {
2171
- /** @constant */
2172
- status: "completed";
2173
- text: {
2174
- /** @constant */
2175
- type: "text";
2176
- bytes: components["schemas"]["Decimal"];
2177
- sha256: string;
2178
- };
2179
- };
2180
- } | {
2181
- /** @enum {string} */
2182
- status: "absent" | "accepted" | "rejected";
2183
- /** @constant */
2184
- kind: "message";
2185
- target: string;
2186
- /** @constant */
2187
- state: "completed";
2188
- input: {
2189
- /** @constant */
2190
- type: "text";
2191
- bytes: components["schemas"]["Decimal"];
2192
- sha256: string;
2193
- };
2194
- queue: {
2195
- admission: components["schemas"]["Decimal"];
2196
- admitted_at: components["schemas"]["Decimal"];
2197
- };
2198
- binding: {
2199
- turn: components["schemas"]["Decimal"];
2200
- operation: components["schemas"]["Decimal"];
2201
- attempt: components["schemas"]["Decimal"];
2202
- };
2203
- result: {
2204
- /** @constant */
2205
- status: "completed";
2206
- text: {
2207
- /** @constant */
2208
- type: "text";
2209
- bytes: components["schemas"]["Decimal"];
2210
- sha256: string;
2211
- };
2212
- };
2213
- recovery: components["schemas"]["MessageRecoveryJson"];
2214
- } | {
2215
- /** @enum {string} */
2216
- status: "absent" | "accepted" | "rejected";
2217
- /** @constant */
2218
- kind: "message";
2219
- target: string;
2220
- code: string;
2221
- /** @constant */
2222
- state: "completed";
2223
- input: {
2224
- /** @constant */
2225
- type: "text";
2226
- bytes: components["schemas"]["Decimal"];
2227
- sha256: string;
2228
- };
2229
- queue: {
2230
- admission: components["schemas"]["Decimal"];
2231
- admitted_at: components["schemas"]["Decimal"];
2232
- };
2233
- binding: {
2234
- turn: components["schemas"]["Decimal"];
2235
- operation: components["schemas"]["Decimal"];
2236
- attempt: components["schemas"]["Decimal"];
2237
- };
2238
- result: {
2239
- /** @constant */
2240
- status: "completed";
2241
- text: {
2242
- /** @constant */
2243
- type: "text";
2244
- bytes: components["schemas"]["Decimal"];
2245
- sha256: string;
2246
- };
2247
- };
2248
- recovery: components["schemas"]["MessageRecoveryJson"];
2249
- } | {
2250
- /** @enum {string} */
2251
- status: "absent" | "accepted" | "rejected";
2252
- /** @constant */
2253
- kind: "message";
2254
- target: string;
2139
+ };
2140
+ } | {
2141
+ /** @constant */
2142
+ version: "21";
2143
+ /** @constant */
2144
+ type: "command_observation";
2145
+ key: string;
2146
+ /** @constant */
2147
+ delta: "full";
2148
+ since: string | null;
2149
+ observation: {
2255
2150
  /** @constant */
2256
- state: "cancelled";
2257
- input: {
2258
- /** @constant */
2259
- type: "text";
2260
- bytes: components["schemas"]["Decimal"];
2261
- sha256: string;
2262
- };
2263
- queue: {
2264
- admission: components["schemas"]["Decimal"];
2265
- admitted_at: components["schemas"]["Decimal"];
2266
- };
2267
- binding: {
2268
- turn: components["schemas"]["Decimal"];
2269
- operation: components["schemas"]["Decimal"];
2270
- attempt: components["schemas"]["Decimal"];
2271
- };
2272
- result: {
2273
- /** @constant */
2274
- status: "cancelled";
2275
- code: string;
2276
- };
2277
- } | {
2278
- /** @enum {string} */
2279
- status: "absent" | "accepted" | "rejected";
2151
+ status: "accepted";
2280
2152
  /** @constant */
2281
2153
  kind: "message";
2282
2154
  target: string;
2283
- code: string;
2284
2155
  /** @constant */
2285
2156
  state: "cancelled";
2286
- input: {
2287
- /** @constant */
2288
- type: "text";
2289
- bytes: components["schemas"]["Decimal"];
2290
- sha256: string;
2291
- };
2157
+ input: components["schemas"]["MessageInput"];
2292
2158
  queue: {
2293
2159
  admission: components["schemas"]["Decimal"];
2294
2160
  admitted_at: components["schemas"]["Decimal"];
2295
2161
  };
2296
- binding: {
2297
- turn: components["schemas"]["Decimal"];
2298
- operation: components["schemas"]["Decimal"];
2299
- attempt: components["schemas"]["Decimal"];
2300
- };
2301
2162
  result: {
2302
2163
  /** @constant */
2303
2164
  status: "cancelled";
2304
2165
  code: string;
2305
2166
  };
2306
- } | {
2307
- /** @enum {string} */
2308
- status: "absent" | "accepted" | "rejected";
2167
+ };
2168
+ } | {
2169
+ /** @constant */
2170
+ version: "21";
2171
+ /** @constant */
2172
+ type: "command_observation";
2173
+ key: string;
2174
+ /** @constant */
2175
+ delta: "full";
2176
+ since: string | null;
2177
+ observation: {
2178
+ /** @constant */
2179
+ status: "accepted";
2309
2180
  /** @constant */
2310
2181
  kind: "message";
2311
2182
  target: string;
2312
2183
  /** @constant */
2313
- state: "cancelled";
2314
- input: {
2315
- /** @constant */
2316
- type: "text";
2317
- bytes: components["schemas"]["Decimal"];
2318
- sha256: string;
2319
- };
2184
+ state: "completed";
2185
+ input: components["schemas"]["MessageInput"];
2320
2186
  queue: {
2321
2187
  admission: components["schemas"]["Decimal"];
2322
2188
  admitted_at: components["schemas"]["Decimal"];
@@ -2328,25 +2194,33 @@ export interface components {
2328
2194
  };
2329
2195
  result: {
2330
2196
  /** @constant */
2331
- status: "cancelled";
2332
- code: string;
2197
+ status: "completed";
2198
+ text: {
2199
+ /** @constant */
2200
+ type: "text";
2201
+ bytes: components["schemas"]["Decimal"];
2202
+ sha256: string;
2203
+ };
2333
2204
  };
2334
- recovery: components["schemas"]["MessageRecoveryJson"];
2335
- } | {
2336
- /** @enum {string} */
2337
- status: "absent" | "accepted" | "rejected";
2205
+ };
2206
+ } | {
2207
+ /** @constant */
2208
+ version: "21";
2209
+ /** @constant */
2210
+ type: "command_observation";
2211
+ key: string;
2212
+ /** @constant */
2213
+ delta: "full";
2214
+ since: string | null;
2215
+ observation: {
2216
+ /** @constant */
2217
+ status: "accepted";
2338
2218
  /** @constant */
2339
2219
  kind: "message";
2340
2220
  target: string;
2341
- code: string;
2342
2221
  /** @constant */
2343
- state: "cancelled";
2344
- input: {
2345
- /** @constant */
2346
- type: "text";
2347
- bytes: components["schemas"]["Decimal"];
2348
- sha256: string;
2349
- };
2222
+ state: "completed";
2223
+ input: components["schemas"]["MessageInput"];
2350
2224
  queue: {
2351
2225
  admission: components["schemas"]["Decimal"];
2352
2226
  admitted_at: components["schemas"]["Decimal"];
@@ -2358,24 +2232,34 @@ export interface components {
2358
2232
  };
2359
2233
  result: {
2360
2234
  /** @constant */
2361
- status: "cancelled";
2362
- code: string;
2235
+ status: "completed";
2236
+ text: {
2237
+ /** @constant */
2238
+ type: "text";
2239
+ bytes: components["schemas"]["Decimal"];
2240
+ sha256: string;
2241
+ };
2363
2242
  };
2364
2243
  recovery: components["schemas"]["MessageRecoveryJson"];
2365
- } | {
2366
- /** @enum {string} */
2367
- status: "absent" | "accepted" | "rejected";
2244
+ };
2245
+ } | {
2246
+ /** @constant */
2247
+ version: "21";
2248
+ /** @constant */
2249
+ type: "command_observation";
2250
+ key: string;
2251
+ /** @constant */
2252
+ delta: "full";
2253
+ since: string | null;
2254
+ observation: {
2255
+ /** @constant */
2256
+ status: "accepted";
2368
2257
  /** @constant */
2369
2258
  kind: "message";
2370
2259
  target: string;
2371
2260
  /** @constant */
2372
- state: "failed";
2373
- input: {
2374
- /** @constant */
2375
- type: "text";
2376
- bytes: components["schemas"]["Decimal"];
2377
- sha256: string;
2378
- };
2261
+ state: "cancelled";
2262
+ input: components["schemas"]["MessageInput"];
2379
2263
  queue: {
2380
2264
  admission: components["schemas"]["Decimal"];
2381
2265
  admitted_at: components["schemas"]["Decimal"];
@@ -2387,24 +2271,28 @@ export interface components {
2387
2271
  };
2388
2272
  result: {
2389
2273
  /** @constant */
2390
- status: "failed";
2274
+ status: "cancelled";
2391
2275
  code: string;
2392
2276
  };
2393
- } | {
2394
- /** @enum {string} */
2395
- status: "absent" | "accepted" | "rejected";
2277
+ };
2278
+ } | {
2279
+ /** @constant */
2280
+ version: "21";
2281
+ /** @constant */
2282
+ type: "command_observation";
2283
+ key: string;
2284
+ /** @constant */
2285
+ delta: "full";
2286
+ since: string | null;
2287
+ observation: {
2288
+ /** @constant */
2289
+ status: "accepted";
2396
2290
  /** @constant */
2397
2291
  kind: "message";
2398
2292
  target: string;
2399
- code: string;
2400
2293
  /** @constant */
2401
- state: "failed";
2402
- input: {
2403
- /** @constant */
2404
- type: "text";
2405
- bytes: components["schemas"]["Decimal"];
2406
- sha256: string;
2407
- };
2294
+ state: "cancelled";
2295
+ input: components["schemas"]["MessageInput"];
2408
2296
  queue: {
2409
2297
  admission: components["schemas"]["Decimal"];
2410
2298
  admitted_at: components["schemas"]["Decimal"];
@@ -2416,23 +2304,29 @@ export interface components {
2416
2304
  };
2417
2305
  result: {
2418
2306
  /** @constant */
2419
- status: "failed";
2307
+ status: "cancelled";
2420
2308
  code: string;
2421
2309
  };
2422
- } | {
2423
- /** @enum {string} */
2424
- status: "absent" | "accepted" | "rejected";
2310
+ recovery: components["schemas"]["MessageRecoveryJson"];
2311
+ };
2312
+ } | {
2313
+ /** @constant */
2314
+ version: "21";
2315
+ /** @constant */
2316
+ type: "command_observation";
2317
+ key: string;
2318
+ /** @constant */
2319
+ delta: "full";
2320
+ since: string | null;
2321
+ observation: {
2322
+ /** @constant */
2323
+ status: "accepted";
2425
2324
  /** @constant */
2426
2325
  kind: "message";
2427
2326
  target: string;
2428
2327
  /** @constant */
2429
2328
  state: "failed";
2430
- input: {
2431
- /** @constant */
2432
- type: "text";
2433
- bytes: components["schemas"]["Decimal"];
2434
- sha256: string;
2435
- };
2329
+ input: components["schemas"]["MessageInput"];
2436
2330
  queue: {
2437
2331
  admission: components["schemas"]["Decimal"];
2438
2332
  admitted_at: components["schemas"]["Decimal"];
@@ -2447,22 +2341,25 @@ export interface components {
2447
2341
  status: "failed";
2448
2342
  code: string;
2449
2343
  };
2450
- recovery: components["schemas"]["MessageRecoveryJson"];
2451
- } | {
2452
- /** @enum {string} */
2453
- status: "absent" | "accepted" | "rejected";
2344
+ };
2345
+ } | {
2346
+ /** @constant */
2347
+ version: "21";
2348
+ /** @constant */
2349
+ type: "command_observation";
2350
+ key: string;
2351
+ /** @constant */
2352
+ delta: "full";
2353
+ since: string | null;
2354
+ observation: {
2355
+ /** @constant */
2356
+ status: "accepted";
2454
2357
  /** @constant */
2455
2358
  kind: "message";
2456
2359
  target: string;
2457
- code: string;
2458
2360
  /** @constant */
2459
2361
  state: "failed";
2460
- input: {
2461
- /** @constant */
2462
- type: "text";
2463
- bytes: components["schemas"]["Decimal"];
2464
- sha256: string;
2465
- };
2362
+ input: components["schemas"]["MessageInput"];
2466
2363
  queue: {
2467
2364
  admission: components["schemas"]["Decimal"];
2468
2365
  admitted_at: components["schemas"]["Decimal"];
@@ -2481,7 +2378,26 @@ export interface components {
2481
2378
  };
2482
2379
  } | {
2483
2380
  /** @constant */
2484
- version: "19";
2381
+ version: "21";
2382
+ /** @constant */
2383
+ type: "command_observation";
2384
+ key: string;
2385
+ /** @constant */
2386
+ delta: "full";
2387
+ since: string | null;
2388
+ observation: {
2389
+ /** @constant */
2390
+ status: "rejected";
2391
+ /** @constant */
2392
+ kind: "message";
2393
+ target: string;
2394
+ code: string;
2395
+ /** @constant */
2396
+ state: "rejected";
2397
+ };
2398
+ }) | {
2399
+ /** @constant */
2400
+ version: "21";
2485
2401
  /** @constant */
2486
2402
  type: "command_observation";
2487
2403
  key: string;
@@ -2533,7 +2449,7 @@ export interface components {
2533
2449
  };
2534
2450
  } | {
2535
2451
  /** @constant */
2536
- version: "19";
2452
+ version: "21";
2537
2453
  /** @constant */
2538
2454
  type: "command_observation";
2539
2455
  key: string;
@@ -2579,7 +2495,7 @@ export interface components {
2579
2495
  };
2580
2496
  } | {
2581
2497
  /** @constant */
2582
- version: "19";
2498
+ version: "21";
2583
2499
  /** @constant */
2584
2500
  type: "command_observation";
2585
2501
  key: string;
@@ -2625,7 +2541,7 @@ export interface components {
2625
2541
  };
2626
2542
  } | {
2627
2543
  /** @constant */
2628
- version: "19";
2544
+ version: "21";
2629
2545
  /** @constant */
2630
2546
  type: "command_observation";
2631
2547
  key: string;
@@ -2671,7 +2587,7 @@ export interface components {
2671
2587
  };
2672
2588
  } | {
2673
2589
  /** @constant */
2674
- version: "19";
2590
+ version: "21";
2675
2591
  /** @constant */
2676
2592
  type: "command_observation";
2677
2593
  key: string;
@@ -2709,7 +2625,115 @@ export interface components {
2709
2625
  };
2710
2626
  } | {
2711
2627
  /** @constant */
2712
- version: "19";
2628
+ version: "21";
2629
+ /** @constant */
2630
+ type: "command_observation";
2631
+ key: string;
2632
+ /** @constant */
2633
+ delta: "full";
2634
+ since: string | null;
2635
+ observation: {
2636
+ /** @enum {string} */
2637
+ status: "absent" | "accepted" | "rejected";
2638
+ /** @constant */
2639
+ kind: "action_background";
2640
+ target: string;
2641
+ action_target: {
2642
+ action: components["schemas"]["Decimal"];
2643
+ };
2644
+ } | {
2645
+ /** @enum {string} */
2646
+ status: "absent" | "accepted" | "rejected";
2647
+ /** @constant */
2648
+ kind: "action_background";
2649
+ target: string;
2650
+ code: string;
2651
+ action_target: {
2652
+ action: components["schemas"]["Decimal"];
2653
+ };
2654
+ } | {
2655
+ /** @enum {string} */
2656
+ status: "absent" | "accepted" | "rejected";
2657
+ /** @constant */
2658
+ kind: "action_background";
2659
+ target: string;
2660
+ action_target: {
2661
+ action: components["schemas"]["Decimal"];
2662
+ };
2663
+ action_selection: {
2664
+ /** @enum {string} */
2665
+ kind: "background" | "final";
2666
+ position: components["schemas"]["Decimal"];
2667
+ };
2668
+ } | {
2669
+ /** @enum {string} */
2670
+ status: "absent" | "accepted" | "rejected";
2671
+ /** @constant */
2672
+ kind: "action_background";
2673
+ target: string;
2674
+ code: string;
2675
+ action_target: {
2676
+ action: components["schemas"]["Decimal"];
2677
+ };
2678
+ action_selection: {
2679
+ /** @enum {string} */
2680
+ kind: "background" | "final";
2681
+ position: components["schemas"]["Decimal"];
2682
+ };
2683
+ };
2684
+ } | {
2685
+ /** @constant */
2686
+ version: "21";
2687
+ /** @constant */
2688
+ type: "command_observation";
2689
+ key: string;
2690
+ /** @constant */
2691
+ delta: "full";
2692
+ since: string | null;
2693
+ observation: {
2694
+ /** @enum {string} */
2695
+ status: "absent" | "accepted" | "rejected";
2696
+ /** @constant */
2697
+ kind: "action_stop";
2698
+ target: string;
2699
+ action_target: {
2700
+ action: components["schemas"]["Decimal"];
2701
+ };
2702
+ } | {
2703
+ /** @enum {string} */
2704
+ status: "absent" | "accepted" | "rejected";
2705
+ /** @constant */
2706
+ kind: "action_stop";
2707
+ target: string;
2708
+ code: string;
2709
+ action_target: {
2710
+ action: components["schemas"]["Decimal"];
2711
+ };
2712
+ } | {
2713
+ /** @enum {string} */
2714
+ status: "absent" | "accepted" | "rejected";
2715
+ /** @constant */
2716
+ kind: "action_stop";
2717
+ target: string;
2718
+ action_target: {
2719
+ action: components["schemas"]["Decimal"];
2720
+ };
2721
+ resolution_position: components["schemas"]["Decimal"] | null;
2722
+ } | {
2723
+ /** @enum {string} */
2724
+ status: "absent" | "accepted" | "rejected";
2725
+ /** @constant */
2726
+ kind: "action_stop";
2727
+ target: string;
2728
+ code: string;
2729
+ action_target: {
2730
+ action: components["schemas"]["Decimal"];
2731
+ };
2732
+ resolution_position: components["schemas"]["Decimal"] | null;
2733
+ };
2734
+ } | {
2735
+ /** @constant */
2736
+ version: "21";
2713
2737
  /** @constant */
2714
2738
  type: "command_observation";
2715
2739
  key: string;
@@ -2719,7 +2743,7 @@ export interface components {
2719
2743
  };
2720
2744
  ObserveCommandRequest: {
2721
2745
  /** @constant */
2722
- version: "19";
2746
+ version: "21";
2723
2747
  /** @constant */
2724
2748
  kind: "observe_command";
2725
2749
  store: string;
@@ -2727,15 +2751,25 @@ export interface components {
2727
2751
  since?: string | null;
2728
2752
  };
2729
2753
  PageWork: {
2754
+ creator: string | null;
2730
2755
  read_version: string;
2731
2756
  state: components["schemas"]["WorkStateJson"];
2732
2757
  turn: components["schemas"]["Decimal"] | null;
2733
2758
  operation: components["schemas"]["Decimal"] | null;
2734
2759
  first_action: components["schemas"]["Decimal"] | null;
2760
+ attention: components["schemas"]["WorkAttentionJson"] | null;
2761
+ /** @enum {string} */
2762
+ group: "needs_you" | "working" | "queued" | "done";
2763
+ actions: components["schemas"]["WorkActionsJson"];
2735
2764
  last_line: components["schemas"]["LastLineFields"] | null;
2736
2765
  revision: components["schemas"]["Decimal"];
2737
2766
  workspace: string;
2738
2767
  };
2768
+ PartOwner: {
2769
+ message: components["schemas"]["Decimal"];
2770
+ } | {
2771
+ action: components["schemas"]["Decimal"];
2772
+ };
2739
2773
  Peer: {
2740
2774
  session: string;
2741
2775
  };
@@ -2744,7 +2778,7 @@ export interface components {
2744
2778
  };
2745
2779
  PermissionDecisionConflictReply: {
2746
2780
  /** @constant */
2747
- version: "19";
2781
+ version: "21";
2748
2782
  /** @constant */
2749
2783
  type: "permission_decision_reply";
2750
2784
  answer: {
@@ -2762,7 +2796,7 @@ export interface components {
2762
2796
  };
2763
2797
  PermissionDecisionReply: {
2764
2798
  /** @constant */
2765
- version: "19";
2799
+ version: "21";
2766
2800
  /** @constant */
2767
2801
  type: "permission_decision_reply";
2768
2802
  answer: {
@@ -2776,7 +2810,7 @@ export interface components {
2776
2810
  };
2777
2811
  } | {
2778
2812
  /** @constant */
2779
- version: "19";
2813
+ version: "21";
2780
2814
  /** @constant */
2781
2815
  type: "permission_decision_reply";
2782
2816
  answer: {
@@ -2791,27 +2825,76 @@ export interface components {
2791
2825
  code: "invalid_session_reference" | "invalid_target" | "unknown_session" | "unknown_action" | "target_mismatch" | "action_not_pending";
2792
2826
  };
2793
2827
  };
2794
- PermissionDecisionRequest: {
2828
+ PermissionDecisionRequest: {
2829
+ /** @constant */
2830
+ version: "21";
2831
+ /** @constant */
2832
+ kind: "permission_decision";
2833
+ store: string;
2834
+ key: string;
2835
+ session: string;
2836
+ action: components["schemas"]["Decimal"];
2837
+ /** @enum {string} */
2838
+ decision: "allow_once" | "deny";
2839
+ };
2840
+ PublicPart: {
2841
+ ordinal: components["schemas"]["Decimal"];
2842
+ /** @constant */
2843
+ type: "text";
2844
+ bytes: components["schemas"]["Decimal"];
2845
+ sha256: string;
2846
+ } | {
2847
+ ordinal: components["schemas"]["Decimal"];
2848
+ /** @constant */
2849
+ type: "image";
2850
+ mime: string;
2851
+ width: components["schemas"]["Decimal"];
2852
+ height: components["schemas"]["Decimal"];
2853
+ name: string | null;
2854
+ bytes: components["schemas"]["Decimal"];
2855
+ sha256: string;
2856
+ };
2857
+ PublicPartContentRequest: {
2858
+ /** @constant */
2859
+ version: "21";
2860
+ /** @constant */
2861
+ kind: "public_part_content";
2862
+ store: string;
2863
+ session: string;
2864
+ owner: components["schemas"]["PartOwner"];
2865
+ part: components["schemas"]["Decimal"];
2866
+ start: components["schemas"]["Decimal"];
2867
+ /** @constant */
2868
+ stream?: true;
2869
+ };
2870
+ PublicPartsReply: {
2795
2871
  /** @constant */
2796
- version: "19";
2872
+ version: "21";
2797
2873
  /** @constant */
2798
- kind: "permission_decision";
2874
+ type: "public_parts";
2875
+ session: string;
2876
+ value: components["schemas"]["ContentValue"];
2877
+ parts: components["schemas"]["PublicPart"][];
2878
+ };
2879
+ PublicPartsRequest: {
2880
+ /** @constant */
2881
+ version: "21";
2882
+ /** @constant */
2883
+ kind: "public_parts";
2799
2884
  store: string;
2800
- key: string;
2801
2885
  session: string;
2802
- action: components["schemas"]["Decimal"];
2803
- /** @enum {string} */
2804
- decision: "allow_once" | "deny";
2886
+ owner: components["schemas"]["PartOwner"];
2805
2887
  };
2806
2888
  Queued: {
2807
2889
  count: components["schemas"]["Decimal"];
2808
2890
  oldest_position: components["schemas"]["Decimal"];
2809
2891
  newest_admission: components["schemas"]["Decimal"];
2810
2892
  newest_position: components["schemas"]["Decimal"];
2893
+ newest_content: components["schemas"]["ContentValue"] | null;
2811
2894
  };
2812
2895
  ReadActionArgumentsRequest: {
2813
2896
  /** @constant */
2814
- version: "19";
2897
+ version: "21";
2815
2898
  /** @constant */
2816
2899
  kind: "read_action_arguments";
2817
2900
  store: string;
@@ -2820,7 +2903,7 @@ export interface components {
2820
2903
  };
2821
2904
  ReadActionCallIdRequest: {
2822
2905
  /** @constant */
2823
- version: "19";
2906
+ version: "21";
2824
2907
  /** @constant */
2825
2908
  kind: "read_action_call_id";
2826
2909
  store: string;
@@ -2829,7 +2912,7 @@ export interface components {
2829
2912
  };
2830
2913
  ReadActionReply: {
2831
2914
  /** @constant */
2832
- version: "19";
2915
+ version: "21";
2833
2916
  /** @constant */
2834
2917
  type: "action_read";
2835
2918
  session: string;
@@ -2837,9 +2920,18 @@ export interface components {
2837
2920
  /** @enum {string} */
2838
2921
  state: "waiting_approval" | "queued" | "attempted";
2839
2922
  final: null;
2923
+ values: {
2924
+ items: {
2925
+ ordinal: components["schemas"]["Decimal"];
2926
+ key: string;
2927
+ text: string;
2928
+ }[];
2929
+ next: components["schemas"]["Decimal"];
2930
+ more: boolean;
2931
+ };
2840
2932
  } | {
2841
2933
  /** @constant */
2842
- version: "19";
2934
+ version: "21";
2843
2935
  /** @constant */
2844
2936
  type: "action_read";
2845
2937
  session: string;
@@ -2849,10 +2941,7 @@ export interface components {
2849
2941
  final: {
2850
2942
  position: components["schemas"]["Decimal"];
2851
2943
  code: string;
2852
- content: {
2853
- bytes: components["schemas"]["Decimal"];
2854
- sha256: string;
2855
- };
2944
+ content: components["schemas"]["ContentValue"];
2856
2945
  window: {
2857
2946
  offset: components["schemas"]["Decimal"];
2858
2947
  next: components["schemas"]["Decimal"];
@@ -2860,20 +2949,54 @@ export interface components {
2860
2949
  text: string;
2861
2950
  };
2862
2951
  };
2952
+ values: {
2953
+ items: {
2954
+ ordinal: components["schemas"]["Decimal"];
2955
+ key: string;
2956
+ text: string;
2957
+ }[];
2958
+ next: components["schemas"]["Decimal"];
2959
+ more: boolean;
2960
+ };
2961
+ } | {
2962
+ /** @constant */
2963
+ version: "21";
2964
+ /** @constant */
2965
+ type: "action_read";
2966
+ session: string;
2967
+ action: components["schemas"]["Decimal"];
2968
+ /** @constant */
2969
+ state: "resolved";
2970
+ final: {
2971
+ position: components["schemas"]["Decimal"];
2972
+ code: string;
2973
+ content: components["schemas"]["ContentValue"];
2974
+ window: null;
2975
+ };
2976
+ values: {
2977
+ items: {
2978
+ ordinal: components["schemas"]["Decimal"];
2979
+ key: string;
2980
+ text: string;
2981
+ }[];
2982
+ next: components["schemas"]["Decimal"];
2983
+ more: boolean;
2984
+ };
2863
2985
  };
2864
2986
  ReadActionRequest: {
2865
2987
  /** @constant */
2866
- version: "19";
2988
+ version: "21";
2867
2989
  /** @constant */
2868
2990
  kind: "read_action";
2869
2991
  store: string;
2870
2992
  session: string;
2871
2993
  action: components["schemas"]["Decimal"];
2872
2994
  offset?: components["schemas"]["Decimal"];
2995
+ after?: components["schemas"]["Decimal"];
2873
2996
  };
2874
2997
  ReadResultRequest: {
2875
2998
  /** @constant */
2876
- version: "19";
2999
+ version: "21";
2877
3000
  /** @constant */
2878
3001
  kind: "read_result";
2879
3002
  store: string;
@@ -2881,7 +3004,7 @@ export interface components {
2881
3004
  };
2882
3005
  SessionArchiveConflictReply: {
2883
3006
  /** @constant */
2884
- version: "19";
3007
+ version: "21";
2885
3008
  /** @constant */
2886
3009
  type: "session_archive_reply";
2887
3010
  answer: {
@@ -2900,7 +3023,7 @@ export interface components {
2900
3023
  };
2901
3024
  SessionArchiveReply: {
2902
3025
  /** @constant */
2903
- version: "19";
3026
+ version: "21";
2904
3027
  /** @constant */
2905
3028
  type: "session_archive_reply";
2906
3029
  answer: {
@@ -2916,7 +3039,7 @@ export interface components {
2916
3039
  };
2917
3040
  } | {
2918
3041
  /** @constant */
2919
- version: "19";
3042
+ version: "21";
2920
3043
  /** @constant */
2921
3044
  type: "session_archive_reply";
2922
3045
  answer: {
@@ -2934,7 +3057,7 @@ export interface components {
2934
3057
  };
2935
3058
  SessionArchiveRequest: {
2936
3059
  /** @constant */
2937
- version: "19";
3060
+ version: "21";
2938
3061
  /** @constant */
2939
3062
  kind: "session_archive";
2940
3063
  store: string;
@@ -2944,7 +3067,7 @@ export interface components {
2944
3067
  };
2945
3068
  SessionPinConflictReply: {
2946
3069
  /** @constant */
2947
- version: "19";
3070
+ version: "21";
2948
3071
  /** @constant */
2949
3072
  type: "session_pin_reply";
2950
3073
  answer: {
@@ -2959,7 +3082,7 @@ export interface components {
2959
3082
  };
2960
3083
  SessionPinReply: {
2961
3084
  /** @constant */
2962
- version: "19";
3085
+ version: "21";
2963
3086
  /** @constant */
2964
3087
  type: "session_pin_reply";
2965
3088
  answer: {
@@ -2971,7 +3094,7 @@ export interface components {
2971
3094
  };
2972
3095
  } | {
2973
3096
  /** @constant */
2974
- version: "19";
3097
+ version: "21";
2975
3098
  /** @constant */
2976
3099
  type: "session_pin_reply";
2977
3100
  answer: {
@@ -2985,7 +3108,7 @@ export interface components {
2985
3108
  };
2986
3109
  SessionPinRequest: {
2987
3110
  /** @constant */
2988
- version: "19";
3111
+ version: "21";
2989
3112
  /** @constant */
2990
3113
  kind: "session_pin";
2991
3114
  store: string;
@@ -3008,6 +3131,7 @@ export interface components {
3008
3131
  /** @enum {string} */
3009
3132
  permission_mode: "ask" | "bypass";
3010
3133
  parent: string | null;
3134
+ creator: string | null;
3011
3135
  label: string | null;
3012
3136
  created_at: components["schemas"]["Decimal"];
3013
3137
  revision: components["schemas"]["Decimal"];
@@ -3019,7 +3143,7 @@ export interface components {
3019
3143
  };
3020
3144
  SessionStopConflictReply: {
3021
3145
  /** @constant */
3022
- version: "19";
3146
+ version: "21";
3023
3147
  /** @constant */
3024
3148
  type: "session_stop_reply";
3025
3149
  answer: {
@@ -3038,7 +3162,7 @@ export interface components {
3038
3162
  };
3039
3163
  SessionStopReply: {
3040
3164
  /** @constant */
3041
- version: "19";
3165
+ version: "21";
3042
3166
  /** @constant */
3043
3167
  type: "session_stop_reply";
3044
3168
  answer: {
@@ -3057,7 +3181,7 @@ export interface components {
3057
3181
  };
3058
3182
  } | {
3059
3183
  /** @constant */
3060
- version: "19";
3184
+ version: "21";
3061
3185
  /** @constant */
3062
3186
  type: "session_stop_reply";
3063
3187
  answer: {
@@ -3075,7 +3199,7 @@ export interface components {
3075
3199
  };
3076
3200
  SessionStopRequest: {
3077
3201
  /** @constant */
3078
- version: "19";
3202
+ version: "21";
3079
3203
  /** @constant */
3080
3204
  kind: "session_stop";
3081
3205
  store: string;
@@ -3087,10 +3211,14 @@ export interface components {
3087
3211
  turn: components["schemas"]["Decimal"] | null;
3088
3212
  operation: components["schemas"]["Decimal"] | null;
3089
3213
  first_action: components["schemas"]["Decimal"] | null;
3214
+ attention: components["schemas"]["WorkAttentionJson"] | null;
3215
+ /** @enum {string} */
3216
+ group: "needs_you" | "working" | "queued" | "done";
3217
+ actions: components["schemas"]["WorkActionsJson"];
3090
3218
  };
3091
3219
  SkillSuggestionsReply: {
3092
3220
  /** @constant */
3093
- version: "19";
3221
+ version: "21";
3094
3222
  /** @constant */
3095
3223
  type: "skill_suggestions";
3096
3224
  revision: components["schemas"]["Decimal"];
@@ -3102,7 +3230,7 @@ export interface components {
3102
3230
  };
3103
3231
  SkillSuggestionsRequest: {
3104
3232
  /** @constant */
3105
- version: "19";
3233
+ version: "21";
3106
3234
  /** @constant */
3107
3235
  kind: "skill_suggestions";
3108
3236
  store: string;
@@ -3110,7 +3238,7 @@ export interface components {
3110
3238
  prefix: string;
3111
3239
  } | {
3112
3240
  /** @constant */
3113
- version: "19";
3241
+ version: "21";
3114
3242
  /** @constant */
3115
3243
  kind: "skill_suggestions";
3116
3244
  store: string;
@@ -3127,13 +3255,34 @@ export interface components {
3127
3255
  ToolPresentation: {
3128
3256
  description: string | null;
3129
3257
  /** @enum {string} */
3130
- code: "unresolved" | "pending_permission" | "succeeded" | "failed" | "timed_out" | "indeterminate" | "storage_failed" | "spawn_failed" | "cancelled" | "infrastructure_shutdown" | "denied" | "unknown_tool" | "invalid_arguments";
3258
+ code: "unresolved" | "pending_permission" | "background" | "succeeded" | "failed" | "timed_out" | "indeterminate" | "storage_failed" | "spawn_failed" | "cancelled" | "infrastructure_shutdown" | "denied" | "unknown_tool" | "invalid_arguments";
3131
3259
  publication_position: components["schemas"]["Decimal"] | null;
3132
3260
  };
3261
+ WorkActionsJson: {
3262
+ stop: boolean;
3263
+ interrupt: components["schemas"]["WorkInterruptJson"] | null;
3264
+ decide: components["schemas"]["Decimal"] | null;
3265
+ };
3266
+ WorkAttentionJson: {
3267
+ /** @enum {string} */
3268
+ kind: "approval" | "failed" | "finished";
3269
+ turn: components["schemas"]["Decimal"];
3270
+ step: components["schemas"]["Decimal"];
3271
+ };
3272
+ WorkInterruptJson: {
3273
+ turn: components["schemas"]["Decimal"];
3274
+ operation: components["schemas"]["Decimal"];
3275
+ };
3133
3276
  WorkStateJson: {
3134
3277
  /** @enum {string} */
3135
3278
  kind: "idle" | "pending" | "working" | "retrying" | "bash" | "approval" | "stopping" | "finished" | "failed" | "stopped";
3136
3279
  since: components["schemas"]["Decimal"];
3280
+ } | {
3281
+ /** @constant */
3282
+ kind: "working";
3283
+ since: components["schemas"]["Decimal"];
3284
+ /** @constant */
3285
+ compaction: true;
3137
3286
  } | {
3138
3287
  /** @constant */
3139
3288
  kind: "retrying";
@@ -3180,7 +3329,7 @@ export interface components {
3180
3329
  };
3181
3330
  domainreportCurrentJsonOutcome: {
3182
3331
  code: string;
3183
- content: components["schemas"]["ActivityItemContent"] | null;
3332
+ content: components["schemas"]["ContentValue"] | null;
3184
3333
  };
3185
3334
  domainreportCurrentJsonRecent: {
3186
3335
  turn: components["schemas"]["Decimal"];
@@ -3192,10 +3341,10 @@ export interface components {
3192
3341
  call_ordinal: components["schemas"]["Decimal"];
3193
3342
  code: string;
3194
3343
  acceptance_position: components["schemas"]["Decimal"];
3195
- result: components["schemas"]["domainreportCurrentJsonTextReference"];
3196
- name: components["schemas"]["domainreportCurrentJsonTextReference"];
3197
- call_id: components["schemas"]["domainreportCurrentJsonTextReference"];
3198
- arguments: components["schemas"]["domainreportCurrentJsonTextReference"];
3344
+ result: components["schemas"]["ContentValue"];
3345
+ name: components["schemas"]["ContentValue"];
3346
+ call_id: components["schemas"]["ContentValue"];
3347
+ arguments: components["schemas"]["ContentValue"];
3199
3348
  presentation: components["schemas"]["ToolPresentation"];
3200
3349
  };
3201
3350
  domainreportCurrentJsonRejectedCalls: {
@@ -3208,7 +3357,7 @@ export interface components {
3208
3357
  call_ordinal: components["schemas"]["Decimal"];
3209
3358
  code: string;
3210
3359
  acceptance_position: components["schemas"]["Decimal"];
3211
- result: components["schemas"]["domainreportCurrentJsonTextReference"];
3360
+ result: components["schemas"]["ContentValue"];
3212
3361
  presentation: components["schemas"]["ToolPresentation"];
3213
3362
  };
3214
3363
  domainreportCurrentJsonSettings: {
@@ -3234,28 +3383,22 @@ export interface components {
3234
3383
  loaded_tools: string[];
3235
3384
  /** @enum {string} */
3236
3385
  permission_mode: "ask" | "bypass";
3237
- instructions: components["schemas"]["ActivityItemContent"];
3238
- output_schema: components["schemas"]["ActivityItemContent"] | null;
3386
+ instructions: components["schemas"]["ContentValue"];
3387
+ output_schema: components["schemas"]["ContentValue"] | null;
3239
3388
  label: string | null;
3240
3389
  created_at: components["schemas"]["Decimal"];
3241
3390
  };
3242
- domainreportCurrentJsonTextReference: {
3243
- /** @constant */
3244
- type: "text";
3245
- bytes: components["schemas"]["Decimal"];
3246
- sha256: string;
3247
- };
3248
3391
  domainreportCurrentJsonUnresolved: {
3249
3392
  action: components["schemas"]["Decimal"];
3250
3393
  parent_operation: components["schemas"]["Decimal"];
3251
3394
  call_ordinal: components["schemas"]["Decimal"];
3252
3395
  /** @enum {string} */
3253
- tool: "bash" | "find_tools" | "message_agent" | "read_transcript" | "skill" | "start_agent" | "web_search";
3396
+ tool: "bash" | "find_tools" | "message_agent" | "read_action" | "read_image" | "read_transcript" | "skill" | "start_agent" | "stop_action" | "web_search";
3254
3397
  permission_revision: components["schemas"]["Decimal"];
3255
3398
  /** @enum {string} */
3256
3399
  authorization: "core" | "pending" | "bypass" | "allow_once";
3257
- call_id: components["schemas"]["domainreportCurrentJsonTextReference"];
3258
- arguments: components["schemas"]["domainreportCurrentJsonTextReference"];
3400
+ call_id: components["schemas"]["ContentValue"];
3401
+ arguments: components["schemas"]["ContentValue"];
3259
3402
  presentation: components["schemas"]["ToolPresentation"];
3260
3403
  } | {
3261
3404
  action: components["schemas"]["Decimal"];
@@ -3265,9 +3408,9 @@ export interface components {
3265
3408
  permission_revision: components["schemas"]["Decimal"];
3266
3409
  /** @enum {string} */
3267
3410
  authorization: "core" | "pending" | "bypass" | "allow_once";
3268
- call_id: components["schemas"]["domainreportCurrentJsonTextReference"];
3411
+ call_id: components["schemas"]["ContentValue"];
3269
3412
  server: string;
3270
- arguments: components["schemas"]["domainreportCurrentJsonTextReference"];
3413
+ arguments: components["schemas"]["ContentValue"];
3271
3414
  presentation: components["schemas"]["ToolPresentation"];
3272
3415
  };
3273
3416
  domainreportCurrentJsonWork: {
@@ -3275,6 +3418,10 @@ export interface components {
3275
3418
  turn: components["schemas"]["Decimal"] | null;
3276
3419
  operation: components["schemas"]["Decimal"] | null;
3277
3420
  first_action: components["schemas"]["Decimal"] | null;
3421
+ attention: components["schemas"]["WorkAttentionJson"] | null;
3422
+ /** @enum {string} */
3423
+ group: "needs_you" | "working" | "queued" | "done";
3424
+ actions: components["schemas"]["WorkActionsJson"];
3278
3425
  latest_outcome: components["schemas"]["domainreportCurrentJsonOutcome"] | null;
3279
3426
  };
3280
3427
  domainreportExecutionJson: {
@@ -3308,7 +3455,7 @@ export interface components {
3308
3455
  /** @enum {string} */
3309
3456
  permission: "denied" | "authorized" | "requested";
3310
3457
  resolution: string | null;
3311
- result: components["schemas"]["domainreport_full_shapeFullInline"] | null;
3458
+ result: components["schemas"]["domainreport_full_shapeFullStored"] | null;
3312
3459
  acceptance_position: components["schemas"]["Decimal"] | null;
3313
3460
  };
3314
3461
  domainreport_full_shapeFullCall: {
@@ -3333,7 +3480,7 @@ export interface components {
3333
3480
  source_catalog_position: components["schemas"]["Decimal"] | null;
3334
3481
  source_skill_position: components["schemas"]["Decimal"] | null;
3335
3482
  source_operation: components["schemas"]["Decimal"] | null;
3336
- content: components["schemas"]["ActivityItemContent"];
3483
+ content: components["schemas"]["ContentValue"];
3337
3484
  };
3338
3485
  domainreport_full_shapeFullDecision: {
3339
3486
  command_key: string;
@@ -3368,7 +3515,7 @@ export interface components {
3368
3515
  domainreport_full_shapeFullMessage: {
3369
3516
  admission: components["schemas"]["Decimal"];
3370
3517
  command_key: string;
3371
- content: components["schemas"]["domainreport_full_shapeFullInline"];
3518
+ content: components["schemas"]["domainreport_full_shapeFullStored"];
3372
3519
  turn: components["schemas"]["Decimal"] | null;
3373
3520
  /** @enum {string} */
3374
3521
  application: "applied" | "pending" | "excluded";
@@ -3384,10 +3531,12 @@ export interface components {
3384
3531
  request_id: string | null;
3385
3532
  /** @enum {unknown} */
3386
3533
  reasoning_effort: "none" | "low" | "medium" | "high" | "xhigh" | "max" | null;
3534
+ /** @description None repeated; the names' bytes total at most x-rui-max-bytes. The effective tool offer frozen at this Operation's admission. */
3535
+ offered_tools: string[];
3387
3536
  };
3388
3537
  domainreport_full_shapeFullOutcome: {
3389
3538
  code: string;
3390
- content: components["schemas"]["ActivityItemContent"] | null;
3539
+ content: components["schemas"]["ContentValue"] | null;
3391
3540
  };
3392
3541
  domainreport_full_shapeFullResolution: {
3393
3542
  code: string;
@@ -3399,7 +3548,7 @@ export interface components {
3399
3548
  acceptance_position: components["schemas"]["Decimal"];
3400
3549
  call_id: components["schemas"]["domainreport_full_shapeFullInline"];
3401
3550
  code: string;
3402
- result: components["schemas"]["domainreport_full_shapeFullInline"];
3551
+ result: components["schemas"]["domainreport_full_shapeFullStored"];
3403
3552
  };
3404
3553
  domainreport_full_shapeFullRevision: {
3405
3554
  revision: components["schemas"]["Decimal"];
@@ -3446,6 +3595,20 @@ export interface components {
3446
3595
  selected_turn: components["schemas"]["Decimal"] | null;
3447
3596
  admission_cutoff: components["schemas"]["Decimal"] | null;
3448
3597
  };
3598
+ domainreport_full_shapeFullStored: {
3599
+ /** @constant */
3600
+ type: "text";
3601
+ bytes: components["schemas"]["Decimal"];
3602
+ sha256: string;
3603
+ /** @description Text of any length, saved as content. */
3604
+ text: string;
3605
+ } | {
3606
+ /** @constant */
3607
+ type: "parts";
3608
+ bytes: components["schemas"]["Decimal"];
3609
+ sha256: string;
3610
+ owner: components["schemas"]["PartOwner"];
3611
+ };
3449
3612
  domainreport_full_shapeFullTurn: {
3450
3613
  turn: components["schemas"]["Decimal"];
3451
3614
  first_admission: components["schemas"]["Decimal"];
@@ -3457,7 +3620,7 @@ export interface components {
3457
3620
  responses: never;
3458
3621
  parameters: {
3459
3622
  /** @description The wire version this document describes. Any other version is refused. */
3460
- WireVersion: "19";
3623
+ WireVersion: "21";
3461
3624
  /** @description The Host instance (from host-info) the request is meant for; a different instance refuses it. */
3462
3625
  HostInstance: string;
3463
3626
  /** @description The Host instance (from host-info) the request is meant for; a different instance refuses it, and a request without it is refused. */
@@ -3916,6 +4079,138 @@ export interface operations {
3916
4079
  };
3917
4080
  };
3918
4081
  };
4082
+ actionBackground: {
4083
+ parameters: {
4084
+ query?: never;
4085
+ header: {
4086
+ /** @description The wire version this document describes. Any other version is refused. */
4087
+ "X-Rui-Wire-Version": components["parameters"]["WireVersion"];
4088
+ /** @description The Host instance (from host-info) the request is meant for; a different instance refuses it. */
4089
+ "X-Rui-Host-Instance"?: components["parameters"]["HostInstance"];
4090
+ };
4091
+ path?: never;
4092
+ cookie?: never;
4093
+ };
4094
+ requestBody: {
4095
+ content: {
4096
+ "application/json": components["schemas"]["ActionBackgroundRequest"];
4097
+ };
4098
+ };
4099
+ responses: {
4100
+ /** @description The reply. */
4101
+ 200: {
4102
+ headers: {
4103
+ [name: string]: unknown;
4104
+ };
4105
+ content: {
4106
+ "application/json": components["schemas"]["ActionBackgroundReply"];
4107
+ };
4108
+ };
4109
+ /** @description The key was used before with different input (the conflict reply), or the request names another Store or Host instance (a refusal). */
4110
+ 409: {
4111
+ headers: {
4112
+ [name: string]: unknown;
4113
+ };
4114
+ content: {
4115
+ "application/json": components["schemas"]["ActionBackgroundConflictReply"] | components["schemas"]["ErrorReply"];
4116
+ };
4117
+ };
4118
+ /** @description A refusal or failure. */
4119
+ default: {
4120
+ headers: {
4121
+ [name: string]: unknown;
4122
+ };
4123
+ content: {
4124
+ "application/json": components["schemas"]["ErrorReply"];
4125
+ };
4126
+ };
4127
+ };
4128
+ };
4129
+ actionStop: {
4130
+ parameters: {
4131
+ query?: never;
4132
+ header: {
4133
+ /** @description The wire version this document describes. Any other version is refused. */
4134
+ "X-Rui-Wire-Version": components["parameters"]["WireVersion"];
4135
+ /** @description The Host instance (from host-info) the request is meant for; a different instance refuses it. */
4136
+ "X-Rui-Host-Instance"?: components["parameters"]["HostInstance"];
4137
+ };
4138
+ path?: never;
4139
+ cookie?: never;
4140
+ };
4141
+ requestBody: {
4142
+ content: {
4143
+ "application/json": components["schemas"]["ActionStopRequest"];
4144
+ };
4145
+ };
4146
+ responses: {
4147
+ /** @description The reply. */
4148
+ 200: {
4149
+ headers: {
4150
+ [name: string]: unknown;
4151
+ };
4152
+ content: {
4153
+ "application/json": components["schemas"]["ActionStopReply"];
4154
+ };
4155
+ };
4156
+ /** @description The key was used before with different input (the conflict reply), or the request names another Store or Host instance (a refusal). */
4157
+ 409: {
4158
+ headers: {
4159
+ [name: string]: unknown;
4160
+ };
4161
+ content: {
4162
+ "application/json": components["schemas"]["ActionStopConflictReply"] | components["schemas"]["ErrorReply"];
4163
+ };
4164
+ };
4165
+ /** @description A refusal or failure. */
4166
+ default: {
4167
+ headers: {
4168
+ [name: string]: unknown;
4169
+ };
4170
+ content: {
4171
+ "application/json": components["schemas"]["ErrorReply"];
4172
+ };
4173
+ };
4174
+ };
4175
+ };
4176
+ actionPublish: {
4177
+ parameters: {
4178
+ query?: never;
4179
+ header: {
4180
+ /** @description The wire version this document describes. Any other version is refused. */
4181
+ "X-Rui-Wire-Version": components["parameters"]["WireVersion"];
4182
+ /** @description The Host instance (from host-info) the request is meant for; a different instance refuses it. */
4183
+ "X-Rui-Host-Instance"?: components["parameters"]["HostInstance"];
4184
+ };
4185
+ path?: never;
4186
+ cookie?: never;
4187
+ };
4188
+ requestBody: {
4189
+ content: {
4190
+ "application/json": components["schemas"]["ActionPublishRequest"];
4191
+ };
4192
+ };
4193
+ responses: {
4194
+ /** @description The reply. */
4195
+ 200: {
4196
+ headers: {
4197
+ [name: string]: unknown;
4198
+ };
4199
+ content: {
4200
+ "application/json": components["schemas"]["ActionPublishReply"];
4201
+ };
4202
+ };
4203
+ /** @description A refusal or failure. */
4204
+ default: {
4205
+ headers: {
4206
+ [name: string]: unknown;
4207
+ };
4208
+ content: {
4209
+ "application/json": components["schemas"]["ErrorReply"];
4210
+ };
4211
+ };
4212
+ };
4213
+ };
3919
4214
  readAction: {
3920
4215
  parameters: {
3921
4216
  query?: never;
@@ -4259,6 +4554,82 @@ export interface operations {
4259
4554
  };
4260
4555
  };
4261
4556
  };
4557
+ publicParts: {
4558
+ parameters: {
4559
+ query?: never;
4560
+ header: {
4561
+ /** @description The wire version this document describes. Any other version is refused. */
4562
+ "X-Rui-Wire-Version": components["parameters"]["WireVersion"];
4563
+ /** @description The Host instance (from host-info) the request is meant for; a different instance refuses it. */
4564
+ "X-Rui-Host-Instance"?: components["parameters"]["HostInstance"];
4565
+ };
4566
+ path?: never;
4567
+ cookie?: never;
4568
+ };
4569
+ requestBody: {
4570
+ content: {
4571
+ "application/json": components["schemas"]["PublicPartsRequest"];
4572
+ };
4573
+ };
4574
+ responses: {
4575
+ /** @description The reply. */
4576
+ 200: {
4577
+ headers: {
4578
+ [name: string]: unknown;
4579
+ };
4580
+ content: {
4581
+ "application/json": components["schemas"]["PublicPartsReply"];
4582
+ };
4583
+ };
4584
+ /** @description A refusal or failure. */
4585
+ default: {
4586
+ headers: {
4587
+ [name: string]: unknown;
4588
+ };
4589
+ content: {
4590
+ "application/json": components["schemas"]["ErrorReply"];
4591
+ };
4592
+ };
4593
+ };
4594
+ };
4595
+ publicPartContent: {
4596
+ parameters: {
4597
+ query?: never;
4598
+ header: {
4599
+ /** @description The wire version this document describes. Any other version is refused. */
4600
+ "X-Rui-Wire-Version": components["parameters"]["WireVersion"];
4601
+ /** @description The Host instance (from host-info) the request is meant for; a different instance refuses it. */
4602
+ "X-Rui-Host-Instance"?: components["parameters"]["HostInstance"];
4603
+ };
4604
+ path?: never;
4605
+ cookie?: never;
4606
+ };
4607
+ requestBody: {
4608
+ content: {
4609
+ "application/json": components["schemas"]["PublicPartContentRequest"];
4610
+ };
4611
+ };
4612
+ responses: {
4613
+ /** @description The content bytes, from the requested offset. */
4614
+ 200: {
4615
+ headers: {
4616
+ [name: string]: unknown;
4617
+ };
4618
+ content: {
4619
+ "application/octet-stream": string;
4620
+ };
4621
+ };
4622
+ /** @description A refusal or failure. */
4623
+ default: {
4624
+ headers: {
4625
+ [name: string]: unknown;
4626
+ };
4627
+ content: {
4628
+ "application/json": components["schemas"]["ErrorReply"];
4629
+ };
4630
+ };
4631
+ };
4632
+ };
4262
4633
  activitySearch: {
4263
4634
  parameters: {
4264
4635
  query?: never;