ruicode 0.87.0 → 0.88.1

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/sessions.js CHANGED
@@ -311,9 +311,7 @@ export async function models(link) {
311
311
  version: WIRE_VERSION,
312
312
  kind: "model_list",
313
313
  store,
314
- }), undefined, {
315
- responseMs: 30_000,
316
- }));
314
+ })));
317
315
  return reply.providers.flatMap((entry) => entry.models.map((model) => ({ provider: entry.provider, id: model.id, known: model.known })));
318
316
  }
319
317
  export async function setPaused(link, paused) {
@@ -1,4 +1,4 @@
1
- export declare const WIRE_VERSION = "22";
1
+ export declare const WIRE_VERSION = "23";
2
2
  export interface Post {
3
3
  socketPath: string;
4
4
  path: string;
@@ -10,7 +10,6 @@ export interface Post {
10
10
  export interface ReplyLimits {
11
11
  prefix?: number;
12
12
  max?: number;
13
- responseMs?: number;
14
13
  idleMs?: number;
15
14
  }
16
15
  export declare class ConnectionError extends Error {
package/dist/transport.js CHANGED
@@ -1,8 +1,7 @@
1
1
  import { request } from "node:http";
2
2
  import { RuiRequestError } from "./errors.js";
3
- export const WIRE_VERSION = "22";
3
+ export const WIRE_VERSION = "23";
4
4
  const MAX_REPLY_BYTES = 64 * 1024 * 1024;
5
- const RESPONSE_WAIT_MS = 5_000;
6
5
  const TRANSFER_IDLE_MS = 60_000;
7
6
  export class ConnectionError extends Error {
8
7
  name = "ConnectionError";
@@ -24,7 +23,6 @@ export function post(call) {
24
23
  const idle = call.limits?.idleMs ?? TRANSFER_IDLE_MS;
25
24
  outgoing.setTimeout(idle);
26
25
  outgoing.on("timeout", () => outgoing.destroy(new Error("the Host made no progress in time")));
27
- outgoing.on("finish", () => outgoing.setTimeout(call.limits?.responseMs ?? RESPONSE_WAIT_MS));
28
26
  outgoing.on("error", (error) => reject(new ConnectionError(error.message, { cause: error })));
29
27
  outgoing.on("response", (incoming) => {
30
28
  outgoing.setTimeout(idle);
package/dist/wire.d.ts CHANGED
@@ -29,7 +29,7 @@ export interface paths {
29
29
  };
30
30
  get?: never;
31
31
  put?: never;
32
- /** Stops the Host after its work drains. */
32
+ /** Stops the Host, or with drain_seconds holds new Turns and stops once running work ends or the bound passes. */
33
33
  post: operations["hostStop"];
34
34
  delete?: never;
35
35
  options?: never;
@@ -502,7 +502,7 @@ export interface components {
502
502
  schemas: {
503
503
  ActionBackgroundConflictReply: {
504
504
  /** @constant */
505
- version: "22";
505
+ version: "23";
506
506
  /** @constant */
507
507
  type: "action_background_reply";
508
508
  answer: {
@@ -518,7 +518,7 @@ export interface components {
518
518
  };
519
519
  ActionBackgroundReply: {
520
520
  /** @constant */
521
- version: "22";
521
+ version: "23";
522
522
  /** @constant */
523
523
  type: "action_background_reply";
524
524
  answer: {
@@ -535,7 +535,7 @@ export interface components {
535
535
  };
536
536
  } | {
537
537
  /** @constant */
538
- version: "22";
538
+ version: "23";
539
539
  /** @constant */
540
540
  type: "action_background_reply";
541
541
  answer: {
@@ -550,7 +550,7 @@ export interface components {
550
550
  };
551
551
  ActionBackgroundRequest: {
552
552
  /** @constant */
553
- version: "22";
553
+ version: "23";
554
554
  /** @constant */
555
555
  kind: "action_background";
556
556
  store: string;
@@ -566,7 +566,7 @@ export interface components {
566
566
  };
567
567
  ActionPublishRequest: {
568
568
  /** @constant */
569
- version: "22";
569
+ version: "23";
570
570
  /** @constant */
571
571
  kind: "action_publish";
572
572
  store: string;
@@ -576,7 +576,7 @@ export interface components {
576
576
  };
577
577
  ActionStopConflictReply: {
578
578
  /** @constant */
579
- version: "22";
579
+ version: "23";
580
580
  /** @constant */
581
581
  type: "action_stop_reply";
582
582
  answer: {
@@ -592,7 +592,7 @@ export interface components {
592
592
  };
593
593
  ActionStopReply: {
594
594
  /** @constant */
595
- version: "22";
595
+ version: "23";
596
596
  /** @constant */
597
597
  type: "action_stop_reply";
598
598
  answer: {
@@ -605,7 +605,7 @@ export interface components {
605
605
  };
606
606
  } | {
607
607
  /** @constant */
608
- version: "22";
608
+ version: "23";
609
609
  /** @constant */
610
610
  type: "action_stop_reply";
611
611
  answer: {
@@ -620,7 +620,7 @@ export interface components {
620
620
  };
621
621
  ActionStopRequest: {
622
622
  /** @constant */
623
- version: "22";
623
+ version: "23";
624
624
  /** @constant */
625
625
  kind: "action_stop";
626
626
  store: string;
@@ -630,7 +630,7 @@ export interface components {
630
630
  };
631
631
  ActivityContentRequest: {
632
632
  /** @constant */
633
- version: "22";
633
+ version: "23";
634
634
  /** @constant */
635
635
  kind: "activity_content";
636
636
  store: string;
@@ -848,7 +848,7 @@ export interface components {
848
848
  };
849
849
  ActivityPageReply: {
850
850
  /** @constant */
851
- version: "22";
851
+ version: "23";
852
852
  /** @constant */
853
853
  type: "activity_page";
854
854
  end: components["schemas"]["Decimal"];
@@ -864,7 +864,7 @@ export interface components {
864
864
  since: string | null;
865
865
  } | {
866
866
  /** @constant */
867
- version: "22";
867
+ version: "23";
868
868
  /** @constant */
869
869
  type: "activity_page";
870
870
  /** @constant */
@@ -873,7 +873,7 @@ export interface components {
873
873
  };
874
874
  ActivityPageRequest: {
875
875
  /** @constant */
876
- version: "22";
876
+ version: "23";
877
877
  /** @constant */
878
878
  kind: "activity_page";
879
879
  store: string;
@@ -907,7 +907,7 @@ export interface components {
907
907
  };
908
908
  ActivitySearchReply: {
909
909
  /** @constant */
910
- version: "22";
910
+ version: "23";
911
911
  /** @constant */
912
912
  type: "activity_search";
913
913
  items: components["schemas"]["ActivitySearchItem"][];
@@ -915,7 +915,7 @@ export interface components {
915
915
  };
916
916
  ActivitySearchRequest: {
917
917
  /** @constant */
918
- version: "22";
918
+ version: "23";
919
919
  /** @constant */
920
920
  kind: "activity_search";
921
921
  store: string;
@@ -995,7 +995,7 @@ export interface components {
995
995
  };
996
996
  ConfigureConflictReply: {
997
997
  /** @constant */
998
- version: "22";
998
+ version: "23";
999
999
  /** @constant */
1000
1000
  type: "configuration_reply";
1001
1001
  answer: {
@@ -1016,7 +1016,7 @@ export interface components {
1016
1016
  };
1017
1017
  ConfigureReply: {
1018
1018
  /** @constant */
1019
- version: "22";
1019
+ version: "23";
1020
1020
  /** @constant */
1021
1021
  type: "configuration_reply";
1022
1022
  answer: {
@@ -1035,7 +1035,7 @@ export interface components {
1035
1035
  };
1036
1036
  } | {
1037
1037
  /** @constant */
1038
- version: "22";
1038
+ version: "23";
1039
1039
  /** @constant */
1040
1040
  type: "configuration_reply";
1041
1041
  answer: {
@@ -1069,7 +1069,7 @@ export interface components {
1069
1069
  };
1070
1070
  } | {
1071
1071
  /** @constant */
1072
- version: "22";
1072
+ version: "23";
1073
1073
  /** @constant */
1074
1074
  type: "configuration_reply";
1075
1075
  answer: {
@@ -1091,7 +1091,7 @@ export interface components {
1091
1091
  };
1092
1092
  } | {
1093
1093
  /** @constant */
1094
- version: "22";
1094
+ version: "23";
1095
1095
  /** @constant */
1096
1096
  type: "configuration_reply";
1097
1097
  answer: {
@@ -1112,7 +1112,7 @@ export interface components {
1112
1112
  };
1113
1113
  ConfigureRequest: {
1114
1114
  /** @constant */
1115
- version: "22";
1115
+ version: "23";
1116
1116
  /** @constant */
1117
1117
  kind: "configure";
1118
1118
  store: string;
@@ -1139,7 +1139,7 @@ export interface components {
1139
1139
  };
1140
1140
  ConversationContentRequest: {
1141
1141
  /** @constant */
1142
- version: "22";
1142
+ version: "23";
1143
1143
  /** @constant */
1144
1144
  kind: "conversation_content";
1145
1145
  store: string;
@@ -1153,7 +1153,7 @@ export interface components {
1153
1153
  };
1154
1154
  ConversationPageReply: {
1155
1155
  /** @constant */
1156
- version: "22";
1156
+ version: "23";
1157
1157
  /** @constant */
1158
1158
  type: "conversation_page";
1159
1159
  /** @constant */
@@ -1209,7 +1209,7 @@ export interface components {
1209
1209
  more: false;
1210
1210
  } | {
1211
1211
  /** @constant */
1212
- version: "22";
1212
+ version: "23";
1213
1213
  /** @constant */
1214
1214
  type: "conversation_page";
1215
1215
  /** @constant */
@@ -1268,7 +1268,7 @@ export interface components {
1268
1268
  };
1269
1269
  ConversationPageRequest: {
1270
1270
  /** @constant */
1271
- version: "22";
1271
+ version: "23";
1272
1272
  /** @constant */
1273
1273
  kind: "conversation_page";
1274
1274
  store: string;
@@ -1281,7 +1281,7 @@ export interface components {
1281
1281
  Decimal: string;
1282
1282
  ErrorReply: {
1283
1283
  /** @constant */
1284
- version: "22";
1284
+ version: "23";
1285
1285
  /** @enum {string} */
1286
1286
  type: "invocation_error" | "observation_error" | "busy" | "unsupported" | "host_unavailable" | "result_unavailable" | "action_unavailable" | "conversation_unavailable" | "activity_unavailable" | "failed_response_unavailable" | "parts_unavailable";
1287
1287
  code: string;
@@ -1295,7 +1295,7 @@ export interface components {
1295
1295
  };
1296
1296
  HostInfoReply: {
1297
1297
  /** @constant */
1298
- version: "22";
1298
+ version: "23";
1299
1299
  /** @constant */
1300
1300
  type: "host_info";
1301
1301
  store: string;
@@ -1323,21 +1323,21 @@ export interface components {
1323
1323
  };
1324
1324
  HostInfoRequest: {
1325
1325
  /** @constant */
1326
- version: "22";
1326
+ version: "23";
1327
1327
  /** @constant */
1328
1328
  kind: "host_info";
1329
1329
  store: string;
1330
1330
  };
1331
1331
  HostPauseReply: {
1332
1332
  /** @constant */
1333
- version: "22";
1333
+ version: "23";
1334
1334
  /** @constant */
1335
1335
  type: "host_pause_reply";
1336
1336
  paused: boolean;
1337
1337
  };
1338
1338
  HostPauseRequest: {
1339
1339
  /** @constant */
1340
- version: "22";
1340
+ version: "23";
1341
1341
  /** @constant */
1342
1342
  kind: "host_pause";
1343
1343
  store: string;
@@ -1482,18 +1482,33 @@ export interface components {
1482
1482
  };
1483
1483
  HostStopReply: {
1484
1484
  /** @constant */
1485
- version: "22";
1485
+ version: "23";
1486
1486
  /** @constant */
1487
1487
  type: "host_stop_reply";
1488
1488
  /** @constant */
1489
1489
  status: "acknowledged";
1490
+ } | {
1491
+ /** @constant */
1492
+ version: "23";
1493
+ /** @constant */
1494
+ type: "host_stop_reply";
1495
+ /** @constant */
1496
+ status: "draining";
1497
+ until_unix_ms: components["schemas"]["Decimal"];
1490
1498
  };
1491
1499
  HostStopRequest: {
1492
1500
  /** @constant */
1493
- version: "22";
1501
+ version: "23";
1502
+ /** @constant */
1503
+ kind: "host_stop";
1504
+ store: string;
1505
+ } | {
1506
+ /** @constant */
1507
+ version: "23";
1494
1508
  /** @constant */
1495
1509
  kind: "host_stop";
1496
1510
  store: string;
1511
+ drain_seconds: components["schemas"]["Decimal"];
1497
1512
  };
1498
1513
  InputPartSchema: {
1499
1514
  /** @constant */
@@ -1509,7 +1524,7 @@ export interface components {
1509
1524
  };
1510
1525
  InspectSessionReply: {
1511
1526
  /** @constant */
1512
- version: "22";
1527
+ version: "23";
1513
1528
  /** @constant */
1514
1529
  type: "session_report";
1515
1530
  /** @constant */
@@ -1532,7 +1547,7 @@ export interface components {
1532
1547
  execution: components["schemas"]["domainreportExecutionJson"];
1533
1548
  } | {
1534
1549
  /** @constant */
1535
- version: "22";
1550
+ version: "23";
1536
1551
  /** @constant */
1537
1552
  type: "session_report";
1538
1553
  /** @constant */
@@ -1553,7 +1568,7 @@ export interface components {
1553
1568
  execution: components["schemas"]["domainreportExecutionJson"];
1554
1569
  } | {
1555
1570
  /** @constant */
1556
- version: "22";
1571
+ version: "23";
1557
1572
  /** @constant */
1558
1573
  type: "session_report";
1559
1574
  /** @constant */
@@ -1572,7 +1587,7 @@ export interface components {
1572
1587
  };
1573
1588
  } | {
1574
1589
  /** @constant */
1575
- version: "22";
1590
+ version: "23";
1576
1591
  /** @constant */
1577
1592
  type: "session_report";
1578
1593
  /** @constant */
@@ -1589,7 +1604,7 @@ export interface components {
1589
1604
  };
1590
1605
  InspectSessionRequest: {
1591
1606
  /** @constant */
1592
- version: "22";
1607
+ version: "23";
1593
1608
  /** @constant */
1594
1609
  kind: "inspect_session";
1595
1610
  store: string;
@@ -1597,7 +1612,7 @@ export interface components {
1597
1612
  since?: string | null;
1598
1613
  } | {
1599
1614
  /** @constant */
1600
- version: "22";
1615
+ version: "23";
1601
1616
  /** @constant */
1602
1617
  kind: "inspect_session";
1603
1618
  store: string;
@@ -1606,7 +1621,7 @@ export interface components {
1606
1621
  profile: "full";
1607
1622
  } | {
1608
1623
  /** @constant */
1609
- version: "22";
1624
+ version: "23";
1610
1625
  /** @constant */
1611
1626
  kind: "inspect_session";
1612
1627
  store: string;
@@ -1622,7 +1637,7 @@ export interface components {
1622
1637
  };
1623
1638
  ListSessionsReply: {
1624
1639
  /** @constant */
1625
- version: "22";
1640
+ version: "23";
1626
1641
  /** @constant */
1627
1642
  type: "session_list";
1628
1643
  sessions: components["schemas"]["SessionRow"][];
@@ -1635,7 +1650,7 @@ export interface components {
1635
1650
  };
1636
1651
  } | {
1637
1652
  /** @constant */
1638
- version: "22";
1653
+ version: "23";
1639
1654
  /** @constant */
1640
1655
  type: "session_list";
1641
1656
  sessions: components["schemas"]["SessionRow"][];
@@ -1648,7 +1663,7 @@ export interface components {
1648
1663
  };
1649
1664
  } | {
1650
1665
  /** @constant */
1651
- version: "22";
1666
+ version: "23";
1652
1667
  /** @constant */
1653
1668
  type: "session_list";
1654
1669
  sessions: components["schemas"]["SessionRow"][];
@@ -1658,7 +1673,7 @@ export interface components {
1658
1673
  next: null;
1659
1674
  } | {
1660
1675
  /** @constant */
1661
- version: "22";
1676
+ version: "23";
1662
1677
  /** @constant */
1663
1678
  type: "session_list";
1664
1679
  sessions: components["schemas"]["ArchivedRowFields"][];
@@ -1674,7 +1689,7 @@ export interface components {
1674
1689
  };
1675
1690
  ListSessionsRequest: {
1676
1691
  /** @constant */
1677
- version: "22";
1692
+ version: "23";
1678
1693
  /** @constant */
1679
1694
  kind: "list_sessions";
1680
1695
  store: string;
@@ -1688,7 +1703,7 @@ export interface components {
1688
1703
  after_reference?: string;
1689
1704
  } | {
1690
1705
  /** @constant */
1691
- version: "22";
1706
+ version: "23";
1692
1707
  /** @constant */
1693
1708
  kind: "list_sessions";
1694
1709
  store: string;
@@ -1701,7 +1716,7 @@ export interface components {
1701
1716
  };
1702
1717
  MessageConflictReply: {
1703
1718
  /** @constant */
1704
- version: "22";
1719
+ version: "23";
1705
1720
  /** @constant */
1706
1721
  type: "message_reply";
1707
1722
  answer: {
@@ -1744,7 +1759,7 @@ export interface components {
1744
1759
  };
1745
1760
  MessageReply: {
1746
1761
  /** @constant */
1747
- version: "22";
1762
+ version: "23";
1748
1763
  /** @constant */
1749
1764
  type: "message_reply";
1750
1765
  answer: {
@@ -1766,7 +1781,7 @@ export interface components {
1766
1781
  };
1767
1782
  } | {
1768
1783
  /** @constant */
1769
- version: "22";
1784
+ version: "23";
1770
1785
  /** @constant */
1771
1786
  type: "message_reply";
1772
1787
  answer: {
@@ -1803,7 +1818,7 @@ export interface components {
1803
1818
  };
1804
1819
  } | {
1805
1820
  /** @constant */
1806
- version: "22";
1821
+ version: "23";
1807
1822
  /** @constant */
1808
1823
  type: "message_reply";
1809
1824
  answer: {
@@ -1827,7 +1842,7 @@ export interface components {
1827
1842
  };
1828
1843
  } | {
1829
1844
  /** @constant */
1830
- version: "22";
1845
+ version: "23";
1831
1846
  /** @constant */
1832
1847
  type: "message_reply";
1833
1848
  answer: {
@@ -1852,7 +1867,7 @@ export interface components {
1852
1867
  };
1853
1868
  MessageRequest: {
1854
1869
  /** @constant */
1855
- version: "22";
1870
+ version: "23";
1856
1871
  /** @constant */
1857
1872
  kind: "message";
1858
1873
  store: string;
@@ -1874,7 +1889,7 @@ export interface components {
1874
1889
  require_model?: true;
1875
1890
  } | {
1876
1891
  /** @constant */
1877
- version: "22";
1892
+ version: "23";
1878
1893
  /** @constant */
1879
1894
  kind: "message";
1880
1895
  store: string;
@@ -1892,7 +1907,7 @@ export interface components {
1892
1907
  };
1893
1908
  ModelInterruptionConflictReply: {
1894
1909
  /** @constant */
1895
- version: "22";
1910
+ version: "23";
1896
1911
  /** @constant */
1897
1912
  type: "model_interruption_reply";
1898
1913
  answer: {
@@ -1911,7 +1926,7 @@ export interface components {
1911
1926
  };
1912
1927
  ModelInterruptionReply: {
1913
1928
  /** @constant */
1914
- version: "22";
1929
+ version: "23";
1915
1930
  /** @constant */
1916
1931
  type: "model_interruption_reply";
1917
1932
  answer: {
@@ -1926,7 +1941,7 @@ export interface components {
1926
1941
  };
1927
1942
  } | {
1928
1943
  /** @constant */
1929
- version: "22";
1944
+ version: "23";
1930
1945
  /** @constant */
1931
1946
  type: "model_interruption_reply";
1932
1947
  answer: {
@@ -1944,7 +1959,7 @@ export interface components {
1944
1959
  };
1945
1960
  ModelInterruptionRequest: {
1946
1961
  /** @constant */
1947
- version: "22";
1962
+ version: "23";
1948
1963
  /** @constant */
1949
1964
  kind: "model_interruption";
1950
1965
  store: string;
@@ -1967,14 +1982,14 @@ export interface components {
1967
1982
  };
1968
1983
  ModelListReply: {
1969
1984
  /** @constant */
1970
- version: "22";
1985
+ version: "23";
1971
1986
  /** @constant */
1972
1987
  type: "model_list";
1973
1988
  providers: components["schemas"]["ModelListEntry"][];
1974
1989
  };
1975
1990
  ModelListRequest: {
1976
1991
  /** @constant */
1977
- version: "22";
1992
+ version: "23";
1978
1993
  /** @constant */
1979
1994
  kind: "model_list";
1980
1995
  store: string;
@@ -1985,7 +2000,7 @@ export interface components {
1985
2000
  };
1986
2001
  ObserveCommandReply: {
1987
2002
  /** @constant */
1988
- version: "22";
2003
+ version: "23";
1989
2004
  /** @constant */
1990
2005
  type: "command_observation";
1991
2006
  key: string;
@@ -1998,7 +2013,7 @@ export interface components {
1998
2013
  };
1999
2014
  } | {
2000
2015
  /** @constant */
2001
- version: "22";
2016
+ version: "23";
2002
2017
  /** @constant */
2003
2018
  type: "command_observation";
2004
2019
  key: string;
@@ -2038,7 +2053,7 @@ export interface components {
2038
2053
  };
2039
2054
  } | ({
2040
2055
  /** @constant */
2041
- version: "22";
2056
+ version: "23";
2042
2057
  /** @constant */
2043
2058
  type: "command_observation";
2044
2059
  key: string;
@@ -2069,7 +2084,7 @@ export interface components {
2069
2084
  };
2070
2085
  } | {
2071
2086
  /** @constant */
2072
- version: "22";
2087
+ version: "23";
2073
2088
  /** @constant */
2074
2089
  type: "command_observation";
2075
2090
  key: string;
@@ -2105,7 +2120,7 @@ export interface components {
2105
2120
  };
2106
2121
  } | {
2107
2122
  /** @constant */
2108
- version: "22";
2123
+ version: "23";
2109
2124
  /** @constant */
2110
2125
  type: "command_observation";
2111
2126
  key: string;
@@ -2142,7 +2157,7 @@ export interface components {
2142
2157
  };
2143
2158
  } | {
2144
2159
  /** @constant */
2145
- version: "22";
2160
+ version: "23";
2146
2161
  /** @constant */
2147
2162
  type: "command_observation";
2148
2163
  key: string;
@@ -2177,7 +2192,7 @@ export interface components {
2177
2192
  };
2178
2193
  } | {
2179
2194
  /** @constant */
2180
- version: "22";
2195
+ version: "23";
2181
2196
  /** @constant */
2182
2197
  type: "command_observation";
2183
2198
  key: string;
@@ -2217,7 +2232,7 @@ export interface components {
2217
2232
  };
2218
2233
  } | {
2219
2234
  /** @constant */
2220
- version: "22";
2235
+ version: "23";
2221
2236
  /** @constant */
2222
2237
  type: "command_observation";
2223
2238
  key: string;
@@ -2258,7 +2273,7 @@ export interface components {
2258
2273
  };
2259
2274
  } | {
2260
2275
  /** @constant */
2261
- version: "22";
2276
+ version: "23";
2262
2277
  /** @constant */
2263
2278
  type: "command_observation";
2264
2279
  key: string;
@@ -2286,7 +2301,7 @@ export interface components {
2286
2301
  };
2287
2302
  } | {
2288
2303
  /** @constant */
2289
- version: "22";
2304
+ version: "23";
2290
2305
  /** @constant */
2291
2306
  type: "command_observation";
2292
2307
  key: string;
@@ -2324,7 +2339,7 @@ export interface components {
2324
2339
  };
2325
2340
  } | {
2326
2341
  /** @constant */
2327
- version: "22";
2342
+ version: "23";
2328
2343
  /** @constant */
2329
2344
  type: "command_observation";
2330
2345
  key: string;
@@ -2363,7 +2378,7 @@ export interface components {
2363
2378
  };
2364
2379
  } | {
2365
2380
  /** @constant */
2366
- version: "22";
2381
+ version: "23";
2367
2382
  /** @constant */
2368
2383
  type: "command_observation";
2369
2384
  key: string;
@@ -2396,7 +2411,7 @@ export interface components {
2396
2411
  };
2397
2412
  } | {
2398
2413
  /** @constant */
2399
- version: "22";
2414
+ version: "23";
2400
2415
  /** @constant */
2401
2416
  type: "command_observation";
2402
2417
  key: string;
@@ -2430,7 +2445,7 @@ export interface components {
2430
2445
  };
2431
2446
  } | {
2432
2447
  /** @constant */
2433
- version: "22";
2448
+ version: "23";
2434
2449
  /** @constant */
2435
2450
  type: "command_observation";
2436
2451
  key: string;
@@ -2463,7 +2478,7 @@ export interface components {
2463
2478
  };
2464
2479
  } | {
2465
2480
  /** @constant */
2466
- version: "22";
2481
+ version: "23";
2467
2482
  /** @constant */
2468
2483
  type: "command_observation";
2469
2484
  key: string;
@@ -2497,7 +2512,7 @@ export interface components {
2497
2512
  };
2498
2513
  } | {
2499
2514
  /** @constant */
2500
- version: "22";
2515
+ version: "23";
2501
2516
  /** @constant */
2502
2517
  type: "command_observation";
2503
2518
  key: string;
@@ -2516,7 +2531,7 @@ export interface components {
2516
2531
  };
2517
2532
  }) | {
2518
2533
  /** @constant */
2519
- version: "22";
2534
+ version: "23";
2520
2535
  /** @constant */
2521
2536
  type: "command_observation";
2522
2537
  key: string;
@@ -2568,7 +2583,7 @@ export interface components {
2568
2583
  };
2569
2584
  } | {
2570
2585
  /** @constant */
2571
- version: "22";
2586
+ version: "23";
2572
2587
  /** @constant */
2573
2588
  type: "command_observation";
2574
2589
  key: string;
@@ -2614,7 +2629,7 @@ export interface components {
2614
2629
  };
2615
2630
  } | {
2616
2631
  /** @constant */
2617
- version: "22";
2632
+ version: "23";
2618
2633
  /** @constant */
2619
2634
  type: "command_observation";
2620
2635
  key: string;
@@ -2660,7 +2675,7 @@ export interface components {
2660
2675
  };
2661
2676
  } | {
2662
2677
  /** @constant */
2663
- version: "22";
2678
+ version: "23";
2664
2679
  /** @constant */
2665
2680
  type: "command_observation";
2666
2681
  key: string;
@@ -2706,7 +2721,7 @@ export interface components {
2706
2721
  };
2707
2722
  } | {
2708
2723
  /** @constant */
2709
- version: "22";
2724
+ version: "23";
2710
2725
  /** @constant */
2711
2726
  type: "command_observation";
2712
2727
  key: string;
@@ -2744,7 +2759,7 @@ export interface components {
2744
2759
  };
2745
2760
  } | {
2746
2761
  /** @constant */
2747
- version: "22";
2762
+ version: "23";
2748
2763
  /** @constant */
2749
2764
  type: "command_observation";
2750
2765
  key: string;
@@ -2802,7 +2817,7 @@ export interface components {
2802
2817
  };
2803
2818
  } | {
2804
2819
  /** @constant */
2805
- version: "22";
2820
+ version: "23";
2806
2821
  /** @constant */
2807
2822
  type: "command_observation";
2808
2823
  key: string;
@@ -2852,7 +2867,7 @@ export interface components {
2852
2867
  };
2853
2868
  } | {
2854
2869
  /** @constant */
2855
- version: "22";
2870
+ version: "23";
2856
2871
  /** @constant */
2857
2872
  type: "command_observation";
2858
2873
  key: string;
@@ -2862,7 +2877,7 @@ export interface components {
2862
2877
  };
2863
2878
  ObserveCommandRequest: {
2864
2879
  /** @constant */
2865
- version: "22";
2880
+ version: "23";
2866
2881
  /** @constant */
2867
2882
  kind: "observe_command";
2868
2883
  store: string;
@@ -2897,7 +2912,7 @@ export interface components {
2897
2912
  };
2898
2913
  PermissionDecisionConflictReply: {
2899
2914
  /** @constant */
2900
- version: "22";
2915
+ version: "23";
2901
2916
  /** @constant */
2902
2917
  type: "permission_decision_reply";
2903
2918
  answer: {
@@ -2915,7 +2930,7 @@ export interface components {
2915
2930
  };
2916
2931
  PermissionDecisionReply: {
2917
2932
  /** @constant */
2918
- version: "22";
2933
+ version: "23";
2919
2934
  /** @constant */
2920
2935
  type: "permission_decision_reply";
2921
2936
  answer: {
@@ -2929,7 +2944,7 @@ export interface components {
2929
2944
  };
2930
2945
  } | {
2931
2946
  /** @constant */
2932
- version: "22";
2947
+ version: "23";
2933
2948
  /** @constant */
2934
2949
  type: "permission_decision_reply";
2935
2950
  answer: {
@@ -2946,7 +2961,7 @@ export interface components {
2946
2961
  };
2947
2962
  PermissionDecisionRequest: {
2948
2963
  /** @constant */
2949
- version: "22";
2964
+ version: "23";
2950
2965
  /** @constant */
2951
2966
  kind: "permission_decision";
2952
2967
  store: string;
@@ -2981,7 +2996,7 @@ export interface components {
2981
2996
  };
2982
2997
  PublicPartContentRequest: {
2983
2998
  /** @constant */
2984
- version: "22";
2999
+ version: "23";
2985
3000
  /** @constant */
2986
3001
  kind: "public_part_content";
2987
3002
  store: string;
@@ -2994,7 +3009,7 @@ export interface components {
2994
3009
  };
2995
3010
  PublicPartsReply: {
2996
3011
  /** @constant */
2997
- version: "22";
3012
+ version: "23";
2998
3013
  /** @constant */
2999
3014
  type: "public_parts";
3000
3015
  session: string;
@@ -3003,7 +3018,7 @@ export interface components {
3003
3018
  };
3004
3019
  PublicPartsRequest: {
3005
3020
  /** @constant */
3006
- version: "22";
3021
+ version: "23";
3007
3022
  /** @constant */
3008
3023
  kind: "public_parts";
3009
3024
  store: string;
@@ -3019,7 +3034,7 @@ export interface components {
3019
3034
  };
3020
3035
  ReadActionArgumentsRequest: {
3021
3036
  /** @constant */
3022
- version: "22";
3037
+ version: "23";
3023
3038
  /** @constant */
3024
3039
  kind: "read_action_arguments";
3025
3040
  store: string;
@@ -3028,7 +3043,7 @@ export interface components {
3028
3043
  };
3029
3044
  ReadActionCallIdRequest: {
3030
3045
  /** @constant */
3031
- version: "22";
3046
+ version: "23";
3032
3047
  /** @constant */
3033
3048
  kind: "read_action_call_id";
3034
3049
  store: string;
@@ -3037,7 +3052,7 @@ export interface components {
3037
3052
  };
3038
3053
  ReadActionReply: {
3039
3054
  /** @constant */
3040
- version: "22";
3055
+ version: "23";
3041
3056
  /** @constant */
3042
3057
  type: "action_read";
3043
3058
  session: string;
@@ -3056,7 +3071,7 @@ export interface components {
3056
3071
  };
3057
3072
  } | {
3058
3073
  /** @constant */
3059
- version: "22";
3074
+ version: "23";
3060
3075
  /** @constant */
3061
3076
  type: "action_read";
3062
3077
  session: string;
@@ -3085,7 +3100,7 @@ export interface components {
3085
3100
  };
3086
3101
  } | {
3087
3102
  /** @constant */
3088
- version: "22";
3103
+ version: "23";
3089
3104
  /** @constant */
3090
3105
  type: "action_read";
3091
3106
  session: string;
@@ -3110,7 +3125,7 @@ export interface components {
3110
3125
  };
3111
3126
  ReadActionRequest: {
3112
3127
  /** @constant */
3113
- version: "22";
3128
+ version: "23";
3114
3129
  /** @constant */
3115
3130
  kind: "read_action";
3116
3131
  store: string;
@@ -3121,7 +3136,7 @@ export interface components {
3121
3136
  };
3122
3137
  ReadResultRequest: {
3123
3138
  /** @constant */
3124
- version: "22";
3139
+ version: "23";
3125
3140
  /** @constant */
3126
3141
  kind: "read_result";
3127
3142
  store: string;
@@ -3129,7 +3144,7 @@ export interface components {
3129
3144
  };
3130
3145
  SessionArchiveConflictReply: {
3131
3146
  /** @constant */
3132
- version: "22";
3147
+ version: "23";
3133
3148
  /** @constant */
3134
3149
  type: "session_archive_reply";
3135
3150
  answer: {
@@ -3148,7 +3163,7 @@ export interface components {
3148
3163
  };
3149
3164
  SessionArchiveReply: {
3150
3165
  /** @constant */
3151
- version: "22";
3166
+ version: "23";
3152
3167
  /** @constant */
3153
3168
  type: "session_archive_reply";
3154
3169
  answer: {
@@ -3164,7 +3179,7 @@ export interface components {
3164
3179
  };
3165
3180
  } | {
3166
3181
  /** @constant */
3167
- version: "22";
3182
+ version: "23";
3168
3183
  /** @constant */
3169
3184
  type: "session_archive_reply";
3170
3185
  answer: {
@@ -3182,7 +3197,7 @@ export interface components {
3182
3197
  };
3183
3198
  SessionArchiveRequest: {
3184
3199
  /** @constant */
3185
- version: "22";
3200
+ version: "23";
3186
3201
  /** @constant */
3187
3202
  kind: "session_archive";
3188
3203
  store: string;
@@ -3192,7 +3207,7 @@ export interface components {
3192
3207
  };
3193
3208
  SessionPinConflictReply: {
3194
3209
  /** @constant */
3195
- version: "22";
3210
+ version: "23";
3196
3211
  /** @constant */
3197
3212
  type: "session_pin_reply";
3198
3213
  answer: {
@@ -3207,7 +3222,7 @@ export interface components {
3207
3222
  };
3208
3223
  SessionPinReply: {
3209
3224
  /** @constant */
3210
- version: "22";
3225
+ version: "23";
3211
3226
  /** @constant */
3212
3227
  type: "session_pin_reply";
3213
3228
  answer: {
@@ -3219,7 +3234,7 @@ export interface components {
3219
3234
  };
3220
3235
  } | {
3221
3236
  /** @constant */
3222
- version: "22";
3237
+ version: "23";
3223
3238
  /** @constant */
3224
3239
  type: "session_pin_reply";
3225
3240
  answer: {
@@ -3233,7 +3248,7 @@ export interface components {
3233
3248
  };
3234
3249
  SessionPinRequest: {
3235
3250
  /** @constant */
3236
- version: "22";
3251
+ version: "23";
3237
3252
  /** @constant */
3238
3253
  kind: "session_pin";
3239
3254
  store: string;
@@ -3273,7 +3288,7 @@ export interface components {
3273
3288
  };
3274
3289
  SessionStopConflictReply: {
3275
3290
  /** @constant */
3276
- version: "22";
3291
+ version: "23";
3277
3292
  /** @constant */
3278
3293
  type: "session_stop_reply";
3279
3294
  answer: {
@@ -3292,7 +3307,7 @@ export interface components {
3292
3307
  };
3293
3308
  SessionStopReply: {
3294
3309
  /** @constant */
3295
- version: "22";
3310
+ version: "23";
3296
3311
  /** @constant */
3297
3312
  type: "session_stop_reply";
3298
3313
  answer: {
@@ -3311,7 +3326,7 @@ export interface components {
3311
3326
  };
3312
3327
  } | {
3313
3328
  /** @constant */
3314
- version: "22";
3329
+ version: "23";
3315
3330
  /** @constant */
3316
3331
  type: "session_stop_reply";
3317
3332
  answer: {
@@ -3329,7 +3344,7 @@ export interface components {
3329
3344
  };
3330
3345
  SessionStopRequest: {
3331
3346
  /** @constant */
3332
- version: "22";
3347
+ version: "23";
3333
3348
  /** @constant */
3334
3349
  kind: "session_stop";
3335
3350
  store: string;
@@ -3348,7 +3363,7 @@ export interface components {
3348
3363
  };
3349
3364
  SkillSuggestionsReply: {
3350
3365
  /** @constant */
3351
- version: "22";
3366
+ version: "23";
3352
3367
  /** @constant */
3353
3368
  type: "skill_suggestions";
3354
3369
  revision: components["schemas"]["Decimal"];
@@ -3360,7 +3375,7 @@ export interface components {
3360
3375
  };
3361
3376
  SkillSuggestionsRequest: {
3362
3377
  /** @constant */
3363
- version: "22";
3378
+ version: "23";
3364
3379
  /** @constant */
3365
3380
  kind: "skill_suggestions";
3366
3381
  store: string;
@@ -3368,7 +3383,7 @@ export interface components {
3368
3383
  prefix: string;
3369
3384
  } | {
3370
3385
  /** @constant */
3371
- version: "22";
3386
+ version: "23";
3372
3387
  /** @constant */
3373
3388
  kind: "skill_suggestions";
3374
3389
  store: string;
@@ -3750,7 +3765,7 @@ export interface components {
3750
3765
  responses: never;
3751
3766
  parameters: {
3752
3767
  /** @description The wire version this document describes. Any other version is refused. */
3753
- WireVersion: "22";
3768
+ WireVersion: "23";
3754
3769
  /** @description The Host instance (from host-info) the request is meant for; a different instance refuses it. */
3755
3770
  HostInstance: string;
3756
3771
  /** @description The Host instance (from host-info) the request is meant for; a different instance refuses it, and a request without it is refused. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ruicode",
3
- "version": "0.87.0",
3
+ "version": "0.88.1",
4
4
  "description": "Start a Rui Host as a child process and talk to it over its local socket.",
5
5
  "type": "module",
6
6
  "engines": {
@@ -28,8 +28,8 @@
28
28
  "mcp"
29
29
  ],
30
30
  "optionalDependencies": {
31
- "ruicode-linux-x64": "0.87.0",
32
- "ruicode-linux-arm64": "0.87.0",
33
- "ruicode-darwin-arm64": "0.87.0"
31
+ "ruicode-linux-x64": "0.88.1",
32
+ "ruicode-linux-arm64": "0.88.1",
33
+ "ruicode-darwin-arm64": "0.88.1"
34
34
  }
35
35
  }