ruicode 0.75.0 → 0.82.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/read-action": {
211
+ parameters: {
212
+ query?: never;
213
+ header?: never;
214
+ path?: never;
215
+ cookie?: never;
216
+ };
217
+ get?: never;
218
+ put?: never;
219
+ /** Reads one Session-owned Action's status and one bounded final-result window without waiting or consuming it. */
220
+ post: operations["readAction"];
221
+ delete?: never;
222
+ options?: never;
223
+ head?: never;
224
+ patch?: never;
225
+ trace?: never;
226
+ };
176
227
  "/v1/observe-command": {
177
228
  parameters: {
178
229
  query?: never;
@@ -398,9 +449,121 @@ export interface paths {
398
449
  export type webhooks = Record<string, never>;
399
450
  export interface components {
400
451
  schemas: {
452
+ ActionBackgroundConflictReply: {
453
+ /** @constant */
454
+ version: "20";
455
+ /** @constant */
456
+ type: "action_background_reply";
457
+ answer: {
458
+ /** @constant */
459
+ status: "conflict";
460
+ /** @constant */
461
+ replayed: false;
462
+ session: string;
463
+ action: components["schemas"]["Decimal"];
464
+ /** @constant */
465
+ code: "idempotency_key_conflict";
466
+ };
467
+ };
468
+ ActionBackgroundReply: {
469
+ /** @constant */
470
+ version: "20";
471
+ /** @constant */
472
+ type: "action_background_reply";
473
+ answer: {
474
+ /** @constant */
475
+ status: "accepted";
476
+ replayed: boolean;
477
+ session: string;
478
+ action: components["schemas"]["Decimal"];
479
+ action_selection: {
480
+ /** @enum {string} */
481
+ kind: "background" | "final";
482
+ position: components["schemas"]["Decimal"];
483
+ };
484
+ };
485
+ } | {
486
+ /** @constant */
487
+ version: "20";
488
+ /** @constant */
489
+ type: "action_background_reply";
490
+ answer: {
491
+ /** @constant */
492
+ status: "rejected";
493
+ replayed: boolean;
494
+ session: string;
495
+ action: components["schemas"]["Decimal"];
496
+ /** @enum {string} */
497
+ code: "invalid_session_reference" | "invalid_target" | "unknown_session" | "unknown_action" | "target_mismatch" | "source_stopped" | "action_not_backgroundable" | "background_unavailable";
498
+ };
499
+ };
500
+ ActionBackgroundRequest: {
501
+ /** @constant */
502
+ version: "20";
503
+ /** @constant */
504
+ kind: "action_background";
505
+ store: string;
506
+ key: string;
507
+ session: string;
508
+ action: components["schemas"]["Decimal"];
509
+ };
510
+ ActionStopConflictReply: {
511
+ /** @constant */
512
+ version: "20";
513
+ /** @constant */
514
+ type: "action_stop_reply";
515
+ answer: {
516
+ /** @constant */
517
+ status: "conflict";
518
+ /** @constant */
519
+ replayed: false;
520
+ session: string;
521
+ action: components["schemas"]["Decimal"];
522
+ /** @constant */
523
+ code: "idempotency_key_conflict";
524
+ };
525
+ };
526
+ ActionStopReply: {
527
+ /** @constant */
528
+ version: "20";
529
+ /** @constant */
530
+ type: "action_stop_reply";
531
+ answer: {
532
+ /** @constant */
533
+ status: "accepted";
534
+ replayed: boolean;
535
+ session: string;
536
+ action: components["schemas"]["Decimal"];
537
+ resolution_position: components["schemas"]["Decimal"] | null;
538
+ };
539
+ } | {
540
+ /** @constant */
541
+ version: "20";
542
+ /** @constant */
543
+ type: "action_stop_reply";
544
+ answer: {
545
+ /** @constant */
546
+ status: "rejected";
547
+ replayed: boolean;
548
+ session: string;
549
+ action: components["schemas"]["Decimal"];
550
+ /** @enum {string} */
551
+ code: "invalid_session_reference" | "invalid_target" | "unknown_session" | "unknown_action" | "target_mismatch" | "source_stopped" | "action_not_backgroundable" | "background_unavailable";
552
+ };
553
+ };
554
+ ActionStopRequest: {
555
+ /** @constant */
556
+ version: "20";
557
+ /** @constant */
558
+ kind: "action_stop";
559
+ store: string;
560
+ key: string;
561
+ session: string;
562
+ action: components["schemas"]["Decimal"];
563
+ };
401
564
  ActivityContentRequest: {
402
565
  /** @constant */
403
- version: "18";
566
+ version: "20";
404
567
  /** @constant */
405
568
  kind: "activity_content";
406
569
  store: string;
@@ -421,6 +584,7 @@ export interface components {
421
584
  state: "queued" | "applied" | "excluded";
422
585
  admitted_at: components["schemas"]["Decimal"];
423
586
  sender: components["schemas"]["NamedPeer"] | null;
587
+ source_action: components["schemas"]["Decimal"] | null;
424
588
  content: components["schemas"]["ActivityItemContent"];
425
589
  };
426
590
  };
@@ -437,6 +601,7 @@ export interface components {
437
601
  state: "queued" | "applied" | "excluded";
438
602
  admitted_at: components["schemas"]["Decimal"];
439
603
  sender: components["schemas"]["NamedPeer"] | null;
604
+ source_action: components["schemas"]["Decimal"] | null;
440
605
  content: components["schemas"]["ActivityItemContent"];
441
606
  };
442
607
  };
@@ -555,6 +720,7 @@ export interface components {
555
720
  state: "queued" | "applied" | "excluded";
556
721
  admitted_at: components["schemas"]["Decimal"];
557
722
  sender: components["schemas"]["NamedPeer"] | null;
723
+ source_action: components["schemas"]["Decimal"] | null;
558
724
  content: components["schemas"]["ActivityItemContent"];
559
725
  };
560
726
  };
@@ -619,7 +785,7 @@ export interface components {
619
785
  };
620
786
  ActivityPageReply: {
621
787
  /** @constant */
622
- version: "18";
788
+ version: "20";
623
789
  /** @constant */
624
790
  type: "activity_page";
625
791
  end: components["schemas"]["Decimal"];
@@ -635,7 +801,7 @@ export interface components {
635
801
  since: string | null;
636
802
  } | {
637
803
  /** @constant */
638
- version: "18";
804
+ version: "20";
639
805
  /** @constant */
640
806
  type: "activity_page";
641
807
  /** @constant */
@@ -644,7 +810,7 @@ export interface components {
644
810
  };
645
811
  ActivityPageRequest: {
646
812
  /** @constant */
647
- version: "18";
813
+ version: "20";
648
814
  /** @constant */
649
815
  kind: "activity_page";
650
816
  store: string;
@@ -677,7 +843,7 @@ export interface components {
677
843
  };
678
844
  ActivitySearchReply: {
679
845
  /** @constant */
680
- version: "18";
846
+ version: "20";
681
847
  /** @constant */
682
848
  type: "activity_search";
683
849
  items: components["schemas"]["ActivitySearchItem"][];
@@ -685,7 +851,7 @@ export interface components {
685
851
  };
686
852
  ActivitySearchRequest: {
687
853
  /** @constant */
688
- version: "18";
854
+ version: "20";
689
855
  /** @constant */
690
856
  kind: "activity_search";
691
857
  store: string;
@@ -745,7 +911,7 @@ export interface components {
745
911
  };
746
912
  ConfigureConflictReply: {
747
913
  /** @constant */
748
- version: "18";
914
+ version: "20";
749
915
  /** @constant */
750
916
  type: "configuration_reply";
751
917
  answer: {
@@ -766,7 +932,7 @@ export interface components {
766
932
  };
767
933
  ConfigureReply: {
768
934
  /** @constant */
769
- version: "18";
935
+ version: "20";
770
936
  /** @constant */
771
937
  type: "configuration_reply";
772
938
  answer: {
@@ -785,7 +951,7 @@ export interface components {
785
951
  };
786
952
  } | {
787
953
  /** @constant */
788
- version: "18";
954
+ version: "20";
789
955
  /** @constant */
790
956
  type: "configuration_reply";
791
957
  answer: {
@@ -807,7 +973,7 @@ export interface components {
807
973
  };
808
974
  } | {
809
975
  /** @constant */
810
- version: "18";
976
+ version: "20";
811
977
  /** @constant */
812
978
  type: "configuration_reply";
813
979
  answer: {
@@ -828,7 +994,7 @@ export interface components {
828
994
  };
829
995
  ConfigureRequest: {
830
996
  /** @constant */
831
- version: "18";
997
+ version: "20";
832
998
  /** @constant */
833
999
  kind: "configure";
834
1000
  store: string;
@@ -843,7 +1009,7 @@ export interface components {
843
1009
  };
844
1010
  ConversationContentRequest: {
845
1011
  /** @constant */
846
- version: "18";
1012
+ version: "20";
847
1013
  /** @constant */
848
1014
  kind: "conversation_content";
849
1015
  store: string;
@@ -857,7 +1023,7 @@ export interface components {
857
1023
  };
858
1024
  ConversationPageReply: {
859
1025
  /** @constant */
860
- version: "18";
1026
+ version: "20";
861
1027
  /** @constant */
862
1028
  type: "conversation_page";
863
1029
  /** @constant */
@@ -887,6 +1053,7 @@ export interface components {
887
1053
  };
888
1054
  admitted_at: components["schemas"]["Decimal"];
889
1055
  sender: components["schemas"]["NamedPeer"] | null;
1056
+ source_action: components["schemas"]["Decimal"] | null;
890
1057
  } | {
891
1058
  position: components["schemas"]["Decimal"];
892
1059
  ordinal: components["schemas"]["Decimal"];
@@ -937,7 +1104,7 @@ export interface components {
937
1104
  more: false;
938
1105
  } | {
939
1106
  /** @constant */
940
- version: "18";
1107
+ version: "20";
941
1108
  /** @constant */
942
1109
  type: "conversation_page";
943
1110
  /** @constant */
@@ -967,6 +1134,7 @@ export interface components {
967
1134
  };
968
1135
  admitted_at: components["schemas"]["Decimal"];
969
1136
  sender: components["schemas"]["NamedPeer"] | null;
1137
+ source_action: components["schemas"]["Decimal"] | null;
970
1138
  } | {
971
1139
  position: components["schemas"]["Decimal"];
972
1140
  ordinal: components["schemas"]["Decimal"];
@@ -1020,7 +1188,7 @@ export interface components {
1020
1188
  };
1021
1189
  ConversationPageRequest: {
1022
1190
  /** @constant */
1023
- version: "18";
1191
+ version: "20";
1024
1192
  /** @constant */
1025
1193
  kind: "conversation_page";
1026
1194
  store: string;
@@ -1033,7 +1201,7 @@ export interface components {
1033
1201
  Decimal: string;
1034
1202
  ErrorReply: {
1035
1203
  /** @constant */
1036
- version: "18";
1204
+ version: "20";
1037
1205
  /** @enum {string} */
1038
1206
  type: "invocation_error" | "observation_error" | "busy" | "unsupported" | "host_unavailable" | "result_unavailable" | "action_unavailable" | "conversation_unavailable" | "activity_unavailable" | "failed_response_unavailable";
1039
1207
  code: string;
@@ -1047,7 +1215,7 @@ export interface components {
1047
1215
  };
1048
1216
  HostInfoReply: {
1049
1217
  /** @constant */
1050
- version: "18";
1218
+ version: "20";
1051
1219
  /** @constant */
1052
1220
  type: "host_info";
1053
1221
  store: string;
@@ -1074,21 +1242,21 @@ export interface components {
1074
1242
  };
1075
1243
  HostInfoRequest: {
1076
1244
  /** @constant */
1077
- version: "18";
1245
+ version: "20";
1078
1246
  /** @constant */
1079
1247
  kind: "host_info";
1080
1248
  store: string;
1081
1249
  };
1082
1250
  HostPauseReply: {
1083
1251
  /** @constant */
1084
- version: "18";
1252
+ version: "20";
1085
1253
  /** @constant */
1086
1254
  type: "host_pause_reply";
1087
1255
  paused: boolean;
1088
1256
  };
1089
1257
  HostPauseRequest: {
1090
1258
  /** @constant */
1091
- version: "18";
1259
+ version: "20";
1092
1260
  /** @constant */
1093
1261
  kind: "host_pause";
1094
1262
  store: string;
@@ -1130,6 +1298,7 @@ export interface components {
1130
1298
  credentialFile?: (string | {
1131
1299
  hex: string;
1132
1300
  }) | null;
1301
+ tokenEndpoint?: string | null;
1133
1302
  /** @description Send no credential to a development endpoint. */
1134
1303
  unauthenticated?: boolean;
1135
1304
  } | null;
@@ -1157,6 +1326,7 @@ export interface components {
1157
1326
  credentialFile?: (string | {
1158
1327
  hex: string;
1159
1328
  }) | null;
1329
+ tokenEndpoint?: string | null;
1160
1330
  /** @description Send no credential to a development endpoint. */
1161
1331
  unauthenticated?: boolean;
1162
1332
  } | null;
@@ -1167,6 +1337,10 @@ export interface components {
1167
1337
  hex: string;
1168
1338
  }) | null;
1169
1339
  };
1340
+ /** @description Model catalog settings. */
1341
+ models?: {
1342
+ catalogUrl?: string | null;
1343
+ };
1170
1344
  /** @description The tool Adapters offered to Sessions. */
1171
1345
  tools?: {
1172
1346
  /** @description The built-in Bash tool. */
@@ -1215,6 +1389,8 @@ export interface components {
1215
1389
  execution?: {
1216
1390
  /** @description How many Turns may run at once. */
1217
1391
  activeCapacity?: number;
1392
+ /** @description Background a live Host-run Action after this many milliseconds. */
1393
+ backgroundAfterMs?: number;
1218
1394
  /** @description Open with Turns held, as after host_pause. */
1219
1395
  paused?: boolean;
1220
1396
  };
@@ -1225,7 +1401,7 @@ export interface components {
1225
1401
  };
1226
1402
  HostStopReply: {
1227
1403
  /** @constant */
1228
- version: "18";
1404
+ version: "20";
1229
1405
  /** @constant */
1230
1406
  type: "host_stop_reply";
1231
1407
  /** @constant */
@@ -1233,14 +1409,14 @@ export interface components {
1233
1409
  };
1234
1410
  HostStopRequest: {
1235
1411
  /** @constant */
1236
- version: "18";
1412
+ version: "20";
1237
1413
  /** @constant */
1238
1414
  kind: "host_stop";
1239
1415
  store: string;
1240
1416
  };
1241
1417
  InspectSessionReply: {
1242
1418
  /** @constant */
1243
- version: "18";
1419
+ version: "20";
1244
1420
  /** @constant */
1245
1421
  type: "session_report";
1246
1422
  /** @constant */
@@ -1263,7 +1439,7 @@ export interface components {
1263
1439
  execution: components["schemas"]["domainreportExecutionJson"];
1264
1440
  } | {
1265
1441
  /** @constant */
1266
- version: "18";
1442
+ version: "20";
1267
1443
  /** @constant */
1268
1444
  type: "session_report";
1269
1445
  /** @constant */
@@ -1284,7 +1460,7 @@ export interface components {
1284
1460
  execution: components["schemas"]["domainreportExecutionJson"];
1285
1461
  } | {
1286
1462
  /** @constant */
1287
- version: "18";
1463
+ version: "20";
1288
1464
  /** @constant */
1289
1465
  type: "session_report";
1290
1466
  /** @constant */
@@ -1303,7 +1479,7 @@ export interface components {
1303
1479
  };
1304
1480
  } | {
1305
1481
  /** @constant */
1306
- version: "18";
1482
+ version: "20";
1307
1483
  /** @constant */
1308
1484
  type: "session_report";
1309
1485
  /** @constant */
@@ -1320,7 +1496,7 @@ export interface components {
1320
1496
  };
1321
1497
  InspectSessionRequest: {
1322
1498
  /** @constant */
1323
- version: "18";
1499
+ version: "20";
1324
1500
  /** @constant */
1325
1501
  kind: "inspect_session";
1326
1502
  store: string;
@@ -1328,7 +1504,7 @@ export interface components {
1328
1504
  since?: string | null;
1329
1505
  } | {
1330
1506
  /** @constant */
1331
- version: "18";
1507
+ version: "20";
1332
1508
  /** @constant */
1333
1509
  kind: "inspect_session";
1334
1510
  store: string;
@@ -1337,7 +1513,7 @@ export interface components {
1337
1513
  profile: "full";
1338
1514
  } | {
1339
1515
  /** @constant */
1340
- version: "18";
1516
+ version: "20";
1341
1517
  /** @constant */
1342
1518
  kind: "inspect_session";
1343
1519
  store: string;
@@ -1353,7 +1529,7 @@ export interface components {
1353
1529
  };
1354
1530
  ListSessionsReply: {
1355
1531
  /** @constant */
1356
- version: "18";
1532
+ version: "20";
1357
1533
  /** @constant */
1358
1534
  type: "session_list";
1359
1535
  sessions: components["schemas"]["SessionRow"][];
@@ -1366,7 +1542,7 @@ export interface components {
1366
1542
  };
1367
1543
  } | {
1368
1544
  /** @constant */
1369
- version: "18";
1545
+ version: "20";
1370
1546
  /** @constant */
1371
1547
  type: "session_list";
1372
1548
  sessions: components["schemas"]["SessionRow"][];
@@ -1379,7 +1555,7 @@ export interface components {
1379
1555
  };
1380
1556
  } | {
1381
1557
  /** @constant */
1382
- version: "18";
1558
+ version: "20";
1383
1559
  /** @constant */
1384
1560
  type: "session_list";
1385
1561
  sessions: components["schemas"]["SessionRow"][];
@@ -1390,7 +1566,7 @@ export interface components {
1390
1566
  };
1391
1567
  ListSessionsRequest: {
1392
1568
  /** @constant */
1393
- version: "18";
1569
+ version: "20";
1394
1570
  /** @constant */
1395
1571
  kind: "list_sessions";
1396
1572
  store: string;
@@ -1405,7 +1581,7 @@ export interface components {
1405
1581
  };
1406
1582
  MessageConflictReply: {
1407
1583
  /** @constant */
1408
- version: "18";
1584
+ version: "20";
1409
1585
  /** @constant */
1410
1586
  type: "message_reply";
1411
1587
  answer: {
@@ -1434,7 +1610,7 @@ export interface components {
1434
1610
  };
1435
1611
  MessageReply: {
1436
1612
  /** @constant */
1437
- version: "18";
1613
+ version: "20";
1438
1614
  /** @constant */
1439
1615
  type: "message_reply";
1440
1616
  answer: {
@@ -1461,7 +1637,7 @@ export interface components {
1461
1637
  };
1462
1638
  } | {
1463
1639
  /** @constant */
1464
- version: "18";
1640
+ version: "20";
1465
1641
  /** @constant */
1466
1642
  type: "message_reply";
1467
1643
  answer: {
@@ -1486,7 +1662,7 @@ export interface components {
1486
1662
  };
1487
1663
  MessageRequest: {
1488
1664
  /** @constant */
1489
- version: "18";
1665
+ version: "20";
1490
1666
  /** @constant */
1491
1667
  kind: "message";
1492
1668
  store: string;
@@ -1509,7 +1685,7 @@ export interface components {
1509
1685
  };
1510
1686
  ModelInterruptionConflictReply: {
1511
1687
  /** @constant */
1512
- version: "18";
1688
+ version: "20";
1513
1689
  /** @constant */
1514
1690
  type: "model_interruption_reply";
1515
1691
  answer: {
@@ -1528,7 +1704,7 @@ export interface components {
1528
1704
  };
1529
1705
  ModelInterruptionReply: {
1530
1706
  /** @constant */
1531
- version: "18";
1707
+ version: "20";
1532
1708
  /** @constant */
1533
1709
  type: "model_interruption_reply";
1534
1710
  answer: {
@@ -1543,7 +1719,7 @@ export interface components {
1543
1719
  };
1544
1720
  } | {
1545
1721
  /** @constant */
1546
- version: "18";
1722
+ version: "20";
1547
1723
  /** @constant */
1548
1724
  type: "model_interruption_reply";
1549
1725
  answer: {
@@ -1561,7 +1737,7 @@ export interface components {
1561
1737
  };
1562
1738
  ModelInterruptionRequest: {
1563
1739
  /** @constant */
1564
- version: "18";
1740
+ version: "20";
1565
1741
  /** @constant */
1566
1742
  kind: "model_interruption";
1567
1743
  store: string;
@@ -1584,14 +1760,14 @@ export interface components {
1584
1760
  };
1585
1761
  ModelListReply: {
1586
1762
  /** @constant */
1587
- version: "18";
1763
+ version: "20";
1588
1764
  /** @constant */
1589
1765
  type: "model_list";
1590
1766
  providers: components["schemas"]["ModelListEntry"][];
1591
1767
  };
1592
1768
  ModelListRequest: {
1593
1769
  /** @constant */
1594
- version: "18";
1770
+ version: "20";
1595
1771
  /** @constant */
1596
1772
  kind: "model_list";
1597
1773
  store: string;
@@ -1602,7 +1778,7 @@ export interface components {
1602
1778
  };
1603
1779
  ObserveCommandReply: {
1604
1780
  /** @constant */
1605
- version: "18";
1781
+ version: "20";
1606
1782
  /** @constant */
1607
1783
  type: "command_observation";
1608
1784
  key: string;
@@ -1615,7 +1791,7 @@ export interface components {
1615
1791
  };
1616
1792
  } | {
1617
1793
  /** @constant */
1618
- version: "18";
1794
+ version: "20";
1619
1795
  /** @constant */
1620
1796
  type: "command_observation";
1621
1797
  key: string;
@@ -1655,7 +1831,7 @@ export interface components {
1655
1831
  };
1656
1832
  } | {
1657
1833
  /** @constant */
1658
- version: "18";
1834
+ version: "20";
1659
1835
  /** @constant */
1660
1836
  type: "command_observation";
1661
1837
  key: string;
@@ -1729,6 +1905,10 @@ export interface components {
1729
1905
  work: {
1730
1906
  state: components["schemas"]["WorkStateJson"];
1731
1907
  first_action: components["schemas"]["Decimal"] | null;
1908
+ attention: components["schemas"]["WorkAttentionJson"] | null;
1909
+ /** @enum {string} */
1910
+ group: "needs_you" | "working" | "queued" | "done";
1911
+ actions: components["schemas"]["WorkActionsJson"];
1732
1912
  };
1733
1913
  } | {
1734
1914
  /** @enum {string} */
@@ -1752,6 +1932,10 @@ export interface components {
1752
1932
  work: {
1753
1933
  state: components["schemas"]["WorkStateJson"];
1754
1934
  first_action: components["schemas"]["Decimal"] | null;
1935
+ attention: components["schemas"]["WorkAttentionJson"] | null;
1936
+ /** @enum {string} */
1937
+ group: "needs_you" | "working" | "queued" | "done";
1938
+ actions: components["schemas"]["WorkActionsJson"];
1755
1939
  };
1756
1940
  } | {
1757
1941
  /** @enum {string} */
@@ -1779,6 +1963,10 @@ export interface components {
1779
1963
  work: {
1780
1964
  state: components["schemas"]["WorkStateJson"];
1781
1965
  first_action: components["schemas"]["Decimal"] | null;
1966
+ attention: components["schemas"]["WorkAttentionJson"] | null;
1967
+ /** @enum {string} */
1968
+ group: "needs_you" | "working" | "queued" | "done";
1969
+ actions: components["schemas"]["WorkActionsJson"];
1782
1970
  };
1783
1971
  } | {
1784
1972
  /** @enum {string} */
@@ -1807,6 +1995,10 @@ export interface components {
1807
1995
  work: {
1808
1996
  state: components["schemas"]["WorkStateJson"];
1809
1997
  first_action: components["schemas"]["Decimal"] | null;
1998
+ attention: components["schemas"]["WorkAttentionJson"] | null;
1999
+ /** @enum {string} */
2000
+ group: "needs_you" | "working" | "queued" | "done";
2001
+ actions: components["schemas"]["WorkActionsJson"];
1810
2002
  };
1811
2003
  } | {
1812
2004
  /** @enum {string} */
@@ -1834,6 +2026,10 @@ export interface components {
1834
2026
  work: {
1835
2027
  state: components["schemas"]["WorkStateJson"];
1836
2028
  first_action: components["schemas"]["Decimal"] | null;
2029
+ attention: components["schemas"]["WorkAttentionJson"] | null;
2030
+ /** @enum {string} */
2031
+ group: "needs_you" | "working" | "queued" | "done";
2032
+ actions: components["schemas"]["WorkActionsJson"];
1837
2033
  };
1838
2034
  recovery: components["schemas"]["MessageRecoveryJson"];
1839
2035
  } | {
@@ -1863,6 +2059,10 @@ export interface components {
1863
2059
  work: {
1864
2060
  state: components["schemas"]["WorkStateJson"];
1865
2061
  first_action: components["schemas"]["Decimal"] | null;
2062
+ attention: components["schemas"]["WorkAttentionJson"] | null;
2063
+ /** @enum {string} */
2064
+ group: "needs_you" | "working" | "queued" | "done";
2065
+ actions: components["schemas"]["WorkActionsJson"];
1866
2066
  };
1867
2067
  recovery: components["schemas"]["MessageRecoveryJson"];
1868
2068
  } | {
@@ -1890,6 +2090,10 @@ export interface components {
1890
2090
  since: components["schemas"]["Decimal"];
1891
2091
  };
1892
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"];
1893
2097
  };
1894
2098
  } | {
1895
2099
  /** @enum {string} */
@@ -1917,6 +2121,10 @@ export interface components {
1917
2121
  since: components["schemas"]["Decimal"];
1918
2122
  };
1919
2123
  first_action: components["schemas"]["Decimal"] | null;
2124
+ attention: components["schemas"]["WorkAttentionJson"] | null;
2125
+ /** @enum {string} */
2126
+ group: "needs_you" | "working" | "queued" | "done";
2127
+ actions: components["schemas"]["WorkActionsJson"];
1920
2128
  };
1921
2129
  } | {
1922
2130
  /** @enum {string} */
@@ -1948,6 +2156,10 @@ export interface components {
1948
2156
  since: components["schemas"]["Decimal"];
1949
2157
  };
1950
2158
  first_action: components["schemas"]["Decimal"] | null;
2159
+ attention: components["schemas"]["WorkAttentionJson"] | null;
2160
+ /** @enum {string} */
2161
+ group: "needs_you" | "working" | "queued" | "done";
2162
+ actions: components["schemas"]["WorkActionsJson"];
1951
2163
  };
1952
2164
  } | {
1953
2165
  /** @enum {string} */
@@ -1980,6 +2192,10 @@ export interface components {
1980
2192
  since: components["schemas"]["Decimal"];
1981
2193
  };
1982
2194
  first_action: components["schemas"]["Decimal"] | null;
2195
+ attention: components["schemas"]["WorkAttentionJson"] | null;
2196
+ /** @enum {string} */
2197
+ group: "needs_you" | "working" | "queued" | "done";
2198
+ actions: components["schemas"]["WorkActionsJson"];
1983
2199
  };
1984
2200
  } | {
1985
2201
  /** @enum {string} */
@@ -2011,6 +2227,10 @@ export interface components {
2011
2227
  since: components["schemas"]["Decimal"];
2012
2228
  };
2013
2229
  first_action: components["schemas"]["Decimal"] | null;
2230
+ attention: components["schemas"]["WorkAttentionJson"] | null;
2231
+ /** @enum {string} */
2232
+ group: "needs_you" | "working" | "queued" | "done";
2233
+ actions: components["schemas"]["WorkActionsJson"];
2014
2234
  };
2015
2235
  recovery: components["schemas"]["MessageRecoveryJson"];
2016
2236
  } | {
@@ -2044,6 +2264,10 @@ export interface components {
2044
2264
  since: components["schemas"]["Decimal"];
2045
2265
  };
2046
2266
  first_action: components["schemas"]["Decimal"] | null;
2267
+ attention: components["schemas"]["WorkAttentionJson"] | null;
2268
+ /** @enum {string} */
2269
+ group: "needs_you" | "working" | "queued" | "done";
2270
+ actions: components["schemas"]["WorkActionsJson"];
2047
2271
  };
2048
2272
  recovery: components["schemas"]["MessageRecoveryJson"];
2049
2273
  } | {
@@ -2464,7 +2688,7 @@ export interface components {
2464
2688
  };
2465
2689
  } | {
2466
2690
  /** @constant */
2467
- version: "18";
2691
+ version: "20";
2468
2692
  /** @constant */
2469
2693
  type: "command_observation";
2470
2694
  key: string;
@@ -2516,7 +2740,7 @@ export interface components {
2516
2740
  };
2517
2741
  } | {
2518
2742
  /** @constant */
2519
- version: "18";
2743
+ version: "20";
2520
2744
  /** @constant */
2521
2745
  type: "command_observation";
2522
2746
  key: string;
@@ -2562,7 +2786,7 @@ export interface components {
2562
2786
  };
2563
2787
  } | {
2564
2788
  /** @constant */
2565
- version: "18";
2789
+ version: "20";
2566
2790
  /** @constant */
2567
2791
  type: "command_observation";
2568
2792
  key: string;
@@ -2608,7 +2832,7 @@ export interface components {
2608
2832
  };
2609
2833
  } | {
2610
2834
  /** @constant */
2611
- version: "18";
2835
+ version: "20";
2612
2836
  /** @constant */
2613
2837
  type: "command_observation";
2614
2838
  key: string;
@@ -2654,7 +2878,7 @@ export interface components {
2654
2878
  };
2655
2879
  } | {
2656
2880
  /** @constant */
2657
- version: "18";
2881
+ version: "20";
2658
2882
  /** @constant */
2659
2883
  type: "command_observation";
2660
2884
  key: string;
@@ -2692,7 +2916,115 @@ export interface components {
2692
2916
  };
2693
2917
  } | {
2694
2918
  /** @constant */
2695
- version: "18";
2919
+ version: "20";
2920
+ /** @constant */
2921
+ type: "command_observation";
2922
+ key: string;
2923
+ /** @constant */
2924
+ delta: "full";
2925
+ since: string | null;
2926
+ observation: {
2927
+ /** @enum {string} */
2928
+ status: "absent" | "accepted" | "rejected";
2929
+ /** @constant */
2930
+ kind: "action_background";
2931
+ target: string;
2932
+ action_target: {
2933
+ action: components["schemas"]["Decimal"];
2934
+ };
2935
+ } | {
2936
+ /** @enum {string} */
2937
+ status: "absent" | "accepted" | "rejected";
2938
+ /** @constant */
2939
+ kind: "action_background";
2940
+ target: string;
2941
+ code: string;
2942
+ action_target: {
2943
+ action: components["schemas"]["Decimal"];
2944
+ };
2945
+ } | {
2946
+ /** @enum {string} */
2947
+ status: "absent" | "accepted" | "rejected";
2948
+ /** @constant */
2949
+ kind: "action_background";
2950
+ target: string;
2951
+ action_target: {
2952
+ action: components["schemas"]["Decimal"];
2953
+ };
2954
+ action_selection: {
2955
+ /** @enum {string} */
2956
+ kind: "background" | "final";
2957
+ position: components["schemas"]["Decimal"];
2958
+ };
2959
+ } | {
2960
+ /** @enum {string} */
2961
+ status: "absent" | "accepted" | "rejected";
2962
+ /** @constant */
2963
+ kind: "action_background";
2964
+ target: string;
2965
+ code: string;
2966
+ action_target: {
2967
+ action: components["schemas"]["Decimal"];
2968
+ };
2969
+ action_selection: {
2970
+ /** @enum {string} */
2971
+ kind: "background" | "final";
2972
+ position: components["schemas"]["Decimal"];
2973
+ };
2974
+ };
2975
+ } | {
2976
+ /** @constant */
2977
+ version: "20";
2978
+ /** @constant */
2979
+ type: "command_observation";
2980
+ key: string;
2981
+ /** @constant */
2982
+ delta: "full";
2983
+ since: string | null;
2984
+ observation: {
2985
+ /** @enum {string} */
2986
+ status: "absent" | "accepted" | "rejected";
2987
+ /** @constant */
2988
+ kind: "action_stop";
2989
+ target: string;
2990
+ action_target: {
2991
+ action: components["schemas"]["Decimal"];
2992
+ };
2993
+ } | {
2994
+ /** @enum {string} */
2995
+ status: "absent" | "accepted" | "rejected";
2996
+ /** @constant */
2997
+ kind: "action_stop";
2998
+ target: string;
2999
+ code: string;
3000
+ action_target: {
3001
+ action: components["schemas"]["Decimal"];
3002
+ };
3003
+ } | {
3004
+ /** @enum {string} */
3005
+ status: "absent" | "accepted" | "rejected";
3006
+ /** @constant */
3007
+ kind: "action_stop";
3008
+ target: string;
3009
+ action_target: {
3010
+ action: components["schemas"]["Decimal"];
3011
+ };
3012
+ resolution_position: components["schemas"]["Decimal"] | null;
3013
+ } | {
3014
+ /** @enum {string} */
3015
+ status: "absent" | "accepted" | "rejected";
3016
+ /** @constant */
3017
+ kind: "action_stop";
3018
+ target: string;
3019
+ code: string;
3020
+ action_target: {
3021
+ action: components["schemas"]["Decimal"];
3022
+ };
3023
+ resolution_position: components["schemas"]["Decimal"] | null;
3024
+ };
3025
+ } | {
3026
+ /** @constant */
3027
+ version: "20";
2696
3028
  /** @constant */
2697
3029
  type: "command_observation";
2698
3030
  key: string;
@@ -2702,7 +3034,7 @@ export interface components {
2702
3034
  };
2703
3035
  ObserveCommandRequest: {
2704
3036
  /** @constant */
2705
- version: "18";
3037
+ version: "20";
2706
3038
  /** @constant */
2707
3039
  kind: "observe_command";
2708
3040
  store: string;
@@ -2710,11 +3042,16 @@ export interface components {
2710
3042
  since?: string | null;
2711
3043
  };
2712
3044
  PageWork: {
3045
+ creator: string | null;
2713
3046
  read_version: string;
2714
3047
  state: components["schemas"]["WorkStateJson"];
2715
3048
  turn: components["schemas"]["Decimal"] | null;
2716
3049
  operation: components["schemas"]["Decimal"] | null;
2717
3050
  first_action: components["schemas"]["Decimal"] | null;
3051
+ attention: components["schemas"]["WorkAttentionJson"] | null;
3052
+ /** @enum {string} */
3053
+ group: "needs_you" | "working" | "queued" | "done";
3054
+ actions: components["schemas"]["WorkActionsJson"];
2718
3055
  last_line: components["schemas"]["LastLineFields"] | null;
2719
3056
  revision: components["schemas"]["Decimal"];
2720
3057
  workspace: string;
@@ -2727,7 +3064,7 @@ export interface components {
2727
3064
  };
2728
3065
  PermissionDecisionConflictReply: {
2729
3066
  /** @constant */
2730
- version: "18";
3067
+ version: "20";
2731
3068
  /** @constant */
2732
3069
  type: "permission_decision_reply";
2733
3070
  answer: {
@@ -2745,7 +3082,7 @@ export interface components {
2745
3082
  };
2746
3083
  PermissionDecisionReply: {
2747
3084
  /** @constant */
2748
- version: "18";
3085
+ version: "20";
2749
3086
  /** @constant */
2750
3087
  type: "permission_decision_reply";
2751
3088
  answer: {
@@ -2759,7 +3096,7 @@ export interface components {
2759
3096
  };
2760
3097
  } | {
2761
3098
  /** @constant */
2762
- version: "18";
3099
+ version: "20";
2763
3100
  /** @constant */
2764
3101
  type: "permission_decision_reply";
2765
3102
  answer: {
@@ -2776,7 +3113,7 @@ export interface components {
2776
3113
  };
2777
3114
  PermissionDecisionRequest: {
2778
3115
  /** @constant */
2779
- version: "18";
3116
+ version: "20";
2780
3117
  /** @constant */
2781
3118
  kind: "permission_decision";
2782
3119
  store: string;
@@ -2794,7 +3131,7 @@ export interface components {
2794
3131
  };
2795
3132
  ReadActionArgumentsRequest: {
2796
3133
  /** @constant */
2797
- version: "18";
3134
+ version: "20";
2798
3135
  /** @constant */
2799
3136
  kind: "read_action_arguments";
2800
3137
  store: string;
@@ -2803,16 +3140,60 @@ export interface components {
2803
3140
  };
2804
3141
  ReadActionCallIdRequest: {
2805
3142
  /** @constant */
2806
- version: "18";
3143
+ version: "20";
2807
3144
  /** @constant */
2808
3145
  kind: "read_action_call_id";
2809
3146
  store: string;
2810
3147
  session: string;
2811
3148
  action: components["schemas"]["Decimal"];
2812
3149
  };
3150
+ ReadActionReply: {
3151
+ /** @constant */
3152
+ version: "20";
3153
+ /** @constant */
3154
+ type: "action_read";
3155
+ session: string;
3156
+ action: components["schemas"]["Decimal"];
3157
+ /** @enum {string} */
3158
+ state: "waiting_approval" | "queued" | "attempted";
3159
+ final: null;
3160
+ } | {
3161
+ /** @constant */
3162
+ version: "20";
3163
+ /** @constant */
3164
+ type: "action_read";
3165
+ session: string;
3166
+ action: components["schemas"]["Decimal"];
3167
+ /** @constant */
3168
+ state: "resolved";
3169
+ final: {
3170
+ position: components["schemas"]["Decimal"];
3171
+ code: string;
3172
+ content: {
3173
+ bytes: components["schemas"]["Decimal"];
3174
+ sha256: string;
3175
+ };
3176
+ window: {
3177
+ offset: components["schemas"]["Decimal"];
3178
+ next: components["schemas"]["Decimal"];
3179
+ more: boolean;
3180
+ text: string;
3181
+ };
3182
+ };
3183
+ };
3184
+ ReadActionRequest: {
3185
+ /** @constant */
3186
+ version: "20";
3187
+ /** @constant */
3188
+ kind: "read_action";
3189
+ store: string;
3190
+ session: string;
3191
+ action: components["schemas"]["Decimal"];
3192
+ offset?: components["schemas"]["Decimal"];
3193
+ };
2813
3194
  ReadResultRequest: {
2814
3195
  /** @constant */
2815
- version: "18";
3196
+ version: "20";
2816
3197
  /** @constant */
2817
3198
  kind: "read_result";
2818
3199
  store: string;
@@ -2820,7 +3201,7 @@ export interface components {
2820
3201
  };
2821
3202
  SessionArchiveConflictReply: {
2822
3203
  /** @constant */
2823
- version: "18";
3204
+ version: "20";
2824
3205
  /** @constant */
2825
3206
  type: "session_archive_reply";
2826
3207
  answer: {
@@ -2839,7 +3220,7 @@ export interface components {
2839
3220
  };
2840
3221
  SessionArchiveReply: {
2841
3222
  /** @constant */
2842
- version: "18";
3223
+ version: "20";
2843
3224
  /** @constant */
2844
3225
  type: "session_archive_reply";
2845
3226
  answer: {
@@ -2855,7 +3236,7 @@ export interface components {
2855
3236
  };
2856
3237
  } | {
2857
3238
  /** @constant */
2858
- version: "18";
3239
+ version: "20";
2859
3240
  /** @constant */
2860
3241
  type: "session_archive_reply";
2861
3242
  answer: {
@@ -2873,7 +3254,7 @@ export interface components {
2873
3254
  };
2874
3255
  SessionArchiveRequest: {
2875
3256
  /** @constant */
2876
- version: "18";
3257
+ version: "20";
2877
3258
  /** @constant */
2878
3259
  kind: "session_archive";
2879
3260
  store: string;
@@ -2883,7 +3264,7 @@ export interface components {
2883
3264
  };
2884
3265
  SessionPinConflictReply: {
2885
3266
  /** @constant */
2886
- version: "18";
3267
+ version: "20";
2887
3268
  /** @constant */
2888
3269
  type: "session_pin_reply";
2889
3270
  answer: {
@@ -2898,7 +3279,7 @@ export interface components {
2898
3279
  };
2899
3280
  SessionPinReply: {
2900
3281
  /** @constant */
2901
- version: "18";
3282
+ version: "20";
2902
3283
  /** @constant */
2903
3284
  type: "session_pin_reply";
2904
3285
  answer: {
@@ -2910,7 +3291,7 @@ export interface components {
2910
3291
  };
2911
3292
  } | {
2912
3293
  /** @constant */
2913
- version: "18";
3294
+ version: "20";
2914
3295
  /** @constant */
2915
3296
  type: "session_pin_reply";
2916
3297
  answer: {
@@ -2924,7 +3305,7 @@ export interface components {
2924
3305
  };
2925
3306
  SessionPinRequest: {
2926
3307
  /** @constant */
2927
- version: "18";
3308
+ version: "20";
2928
3309
  /** @constant */
2929
3310
  kind: "session_pin";
2930
3311
  store: string;
@@ -2947,6 +3328,7 @@ export interface components {
2947
3328
  /** @enum {string} */
2948
3329
  permission_mode: "ask" | "bypass";
2949
3330
  parent: string | null;
3331
+ creator: string | null;
2950
3332
  label: string | null;
2951
3333
  created_at: components["schemas"]["Decimal"];
2952
3334
  revision: components["schemas"]["Decimal"];
@@ -2958,7 +3340,7 @@ export interface components {
2958
3340
  };
2959
3341
  SessionStopConflictReply: {
2960
3342
  /** @constant */
2961
- version: "18";
3343
+ version: "20";
2962
3344
  /** @constant */
2963
3345
  type: "session_stop_reply";
2964
3346
  answer: {
@@ -2977,7 +3359,7 @@ export interface components {
2977
3359
  };
2978
3360
  SessionStopReply: {
2979
3361
  /** @constant */
2980
- version: "18";
3362
+ version: "20";
2981
3363
  /** @constant */
2982
3364
  type: "session_stop_reply";
2983
3365
  answer: {
@@ -2996,7 +3378,7 @@ export interface components {
2996
3378
  };
2997
3379
  } | {
2998
3380
  /** @constant */
2999
- version: "18";
3381
+ version: "20";
3000
3382
  /** @constant */
3001
3383
  type: "session_stop_reply";
3002
3384
  answer: {
@@ -3014,7 +3396,7 @@ export interface components {
3014
3396
  };
3015
3397
  SessionStopRequest: {
3016
3398
  /** @constant */
3017
- version: "18";
3399
+ version: "20";
3018
3400
  /** @constant */
3019
3401
  kind: "session_stop";
3020
3402
  store: string;
@@ -3026,10 +3408,14 @@ export interface components {
3026
3408
  turn: components["schemas"]["Decimal"] | null;
3027
3409
  operation: components["schemas"]["Decimal"] | null;
3028
3410
  first_action: components["schemas"]["Decimal"] | null;
3411
+ attention: components["schemas"]["WorkAttentionJson"] | null;
3412
+ /** @enum {string} */
3413
+ group: "needs_you" | "working" | "queued" | "done";
3414
+ actions: components["schemas"]["WorkActionsJson"];
3029
3415
  };
3030
3416
  SkillSuggestionsReply: {
3031
3417
  /** @constant */
3032
- version: "18";
3418
+ version: "20";
3033
3419
  /** @constant */
3034
3420
  type: "skill_suggestions";
3035
3421
  revision: components["schemas"]["Decimal"];
@@ -3041,7 +3427,7 @@ export interface components {
3041
3427
  };
3042
3428
  SkillSuggestionsRequest: {
3043
3429
  /** @constant */
3044
- version: "18";
3430
+ version: "20";
3045
3431
  /** @constant */
3046
3432
  kind: "skill_suggestions";
3047
3433
  store: string;
@@ -3049,7 +3435,7 @@ export interface components {
3049
3435
  prefix: string;
3050
3436
  } | {
3051
3437
  /** @constant */
3052
- version: "18";
3438
+ version: "20";
3053
3439
  /** @constant */
3054
3440
  kind: "skill_suggestions";
3055
3441
  store: string;
@@ -3066,9 +3452,24 @@ export interface components {
3066
3452
  ToolPresentation: {
3067
3453
  description: string | null;
3068
3454
  /** @enum {string} */
3069
- code: "unresolved" | "pending_permission" | "succeeded" | "failed" | "timed_out" | "indeterminate" | "storage_failed" | "spawn_failed" | "cancelled" | "infrastructure_shutdown" | "denied" | "unknown_tool" | "invalid_arguments";
3455
+ code: "unresolved" | "pending_permission" | "background" | "succeeded" | "failed" | "timed_out" | "indeterminate" | "storage_failed" | "spawn_failed" | "cancelled" | "infrastructure_shutdown" | "denied" | "unknown_tool" | "invalid_arguments";
3070
3456
  publication_position: components["schemas"]["Decimal"] | null;
3071
3457
  };
3458
+ WorkActionsJson: {
3459
+ stop: boolean;
3460
+ interrupt: components["schemas"]["WorkInterruptJson"] | null;
3461
+ decide: components["schemas"]["Decimal"] | null;
3462
+ };
3463
+ WorkAttentionJson: {
3464
+ /** @enum {string} */
3465
+ kind: "approval" | "failed" | "finished";
3466
+ turn: components["schemas"]["Decimal"];
3467
+ step: components["schemas"]["Decimal"];
3468
+ };
3469
+ WorkInterruptJson: {
3470
+ turn: components["schemas"]["Decimal"];
3471
+ operation: components["schemas"]["Decimal"];
3472
+ };
3072
3473
  WorkStateJson: {
3073
3474
  /** @enum {string} */
3074
3475
  kind: "idle" | "pending" | "working" | "retrying" | "bash" | "approval" | "stopping" | "finished" | "failed" | "stopped";
@@ -3189,7 +3590,7 @@ export interface components {
3189
3590
  parent_operation: components["schemas"]["Decimal"];
3190
3591
  call_ordinal: components["schemas"]["Decimal"];
3191
3592
  /** @enum {string} */
3192
- tool: "bash" | "find_tools" | "message_agent" | "read_transcript" | "skill" | "start_agent" | "web_search";
3593
+ tool: "bash" | "find_tools" | "message_agent" | "read_action" | "read_image" | "read_transcript" | "skill" | "start_agent" | "stop_action" | "web_search";
3193
3594
  permission_revision: components["schemas"]["Decimal"];
3194
3595
  /** @enum {string} */
3195
3596
  authorization: "core" | "pending" | "bypass" | "allow_once";
@@ -3214,6 +3615,10 @@ export interface components {
3214
3615
  turn: components["schemas"]["Decimal"] | null;
3215
3616
  operation: components["schemas"]["Decimal"] | null;
3216
3617
  first_action: components["schemas"]["Decimal"] | null;
3618
+ attention: components["schemas"]["WorkAttentionJson"] | null;
3619
+ /** @enum {string} */
3620
+ group: "needs_you" | "working" | "queued" | "done";
3621
+ actions: components["schemas"]["WorkActionsJson"];
3217
3622
  latest_outcome: components["schemas"]["domainreportCurrentJsonOutcome"] | null;
3218
3623
  };
3219
3624
  domainreportExecutionJson: {
@@ -3323,6 +3728,8 @@ export interface components {
3323
3728
  request_id: string | null;
3324
3729
  /** @enum {unknown} */
3325
3730
  reasoning_effort: "none" | "low" | "medium" | "high" | "xhigh" | "max" | null;
3731
+ /** @description None repeated; the names' bytes total at most x-rui-max-bytes. The effective tool offer frozen at this Operation's admission. */
3732
+ offered_tools: string[];
3326
3733
  };
3327
3734
  domainreport_full_shapeFullOutcome: {
3328
3735
  code: string;
@@ -3396,7 +3803,7 @@ export interface components {
3396
3803
  responses: never;
3397
3804
  parameters: {
3398
3805
  /** @description The wire version this document describes. Any other version is refused. */
3399
- WireVersion: "18";
3806
+ WireVersion: "20";
3400
3807
  /** @description The Host instance (from host-info) the request is meant for; a different instance refuses it. */
3401
3808
  HostInstance: string;
3402
3809
  /** @description The Host instance (from host-info) the request is meant for; a different instance refuses it, and a request without it is refused. */
@@ -3855,6 +4262,138 @@ export interface operations {
3855
4262
  };
3856
4263
  };
3857
4264
  };
4265
+ actionBackground: {
4266
+ parameters: {
4267
+ query?: never;
4268
+ header: {
4269
+ /** @description The wire version this document describes. Any other version is refused. */
4270
+ "X-Rui-Wire-Version": components["parameters"]["WireVersion"];
4271
+ /** @description The Host instance (from host-info) the request is meant for; a different instance refuses it. */
4272
+ "X-Rui-Host-Instance"?: components["parameters"]["HostInstance"];
4273
+ };
4274
+ path?: never;
4275
+ cookie?: never;
4276
+ };
4277
+ requestBody: {
4278
+ content: {
4279
+ "application/json": components["schemas"]["ActionBackgroundRequest"];
4280
+ };
4281
+ };
4282
+ responses: {
4283
+ /** @description The reply. */
4284
+ 200: {
4285
+ headers: {
4286
+ [name: string]: unknown;
4287
+ };
4288
+ content: {
4289
+ "application/json": components["schemas"]["ActionBackgroundReply"];
4290
+ };
4291
+ };
4292
+ /** @description The key was used before with different input (the conflict reply), or the request names another Store or Host instance (a refusal). */
4293
+ 409: {
4294
+ headers: {
4295
+ [name: string]: unknown;
4296
+ };
4297
+ content: {
4298
+ "application/json": components["schemas"]["ActionBackgroundConflictReply"] | components["schemas"]["ErrorReply"];
4299
+ };
4300
+ };
4301
+ /** @description A refusal or failure. */
4302
+ default: {
4303
+ headers: {
4304
+ [name: string]: unknown;
4305
+ };
4306
+ content: {
4307
+ "application/json": components["schemas"]["ErrorReply"];
4308
+ };
4309
+ };
4310
+ };
4311
+ };
4312
+ actionStop: {
4313
+ parameters: {
4314
+ query?: never;
4315
+ header: {
4316
+ /** @description The wire version this document describes. Any other version is refused. */
4317
+ "X-Rui-Wire-Version": components["parameters"]["WireVersion"];
4318
+ /** @description The Host instance (from host-info) the request is meant for; a different instance refuses it. */
4319
+ "X-Rui-Host-Instance"?: components["parameters"]["HostInstance"];
4320
+ };
4321
+ path?: never;
4322
+ cookie?: never;
4323
+ };
4324
+ requestBody: {
4325
+ content: {
4326
+ "application/json": components["schemas"]["ActionStopRequest"];
4327
+ };
4328
+ };
4329
+ responses: {
4330
+ /** @description The reply. */
4331
+ 200: {
4332
+ headers: {
4333
+ [name: string]: unknown;
4334
+ };
4335
+ content: {
4336
+ "application/json": components["schemas"]["ActionStopReply"];
4337
+ };
4338
+ };
4339
+ /** @description The key was used before with different input (the conflict reply), or the request names another Store or Host instance (a refusal). */
4340
+ 409: {
4341
+ headers: {
4342
+ [name: string]: unknown;
4343
+ };
4344
+ content: {
4345
+ "application/json": components["schemas"]["ActionStopConflictReply"] | components["schemas"]["ErrorReply"];
4346
+ };
4347
+ };
4348
+ /** @description A refusal or failure. */
4349
+ default: {
4350
+ headers: {
4351
+ [name: string]: unknown;
4352
+ };
4353
+ content: {
4354
+ "application/json": components["schemas"]["ErrorReply"];
4355
+ };
4356
+ };
4357
+ };
4358
+ };
4359
+ readAction: {
4360
+ parameters: {
4361
+ query?: never;
4362
+ header: {
4363
+ /** @description The wire version this document describes. Any other version is refused. */
4364
+ "X-Rui-Wire-Version": components["parameters"]["WireVersion"];
4365
+ /** @description The Host instance (from host-info) the request is meant for; a different instance refuses it. */
4366
+ "X-Rui-Host-Instance"?: components["parameters"]["HostInstance"];
4367
+ };
4368
+ path?: never;
4369
+ cookie?: never;
4370
+ };
4371
+ requestBody: {
4372
+ content: {
4373
+ "application/json": components["schemas"]["ReadActionRequest"];
4374
+ };
4375
+ };
4376
+ responses: {
4377
+ /** @description The reply. */
4378
+ 200: {
4379
+ headers: {
4380
+ [name: string]: unknown;
4381
+ };
4382
+ content: {
4383
+ "application/json": components["schemas"]["ReadActionReply"];
4384
+ };
4385
+ };
4386
+ /** @description A refusal or failure. */
4387
+ default: {
4388
+ headers: {
4389
+ [name: string]: unknown;
4390
+ };
4391
+ content: {
4392
+ "application/json": components["schemas"]["ErrorReply"];
4393
+ };
4394
+ };
4395
+ };
4396
+ };
3858
4397
  observeCommand: {
3859
4398
  parameters: {
3860
4399
  query?: never;