ruicode 0.92.0 → 0.93.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.
@@ -5,6 +5,7 @@ export const REJECTION_SENTENCES = {
5
5
  "archive_pending": "This Session is still settling its archive request.",
6
6
  "background_unavailable": "This saved promotion was refused under an earlier Host policy.",
7
7
  "compact_at_too_large": "The compaction trigger is larger than the model's context window.",
8
+ "connection_unserved": "This Host does not serve that connection.",
8
9
  "invalid_arguments": "The tool arguments are invalid.",
9
10
  "invalid_compaction_trigger": "The compaction trigger is not a positive token count.",
10
11
  "invalid_label": "The Label is too long or contains a line break or control character.",
@@ -237,4 +237,6 @@ export interface ToolReloadOutcome {
237
237
  * server has landed there once any list has finished. A missing row, or `never` once landed, is an invalid reply.
238
238
  */
239
239
  export declare function reloadTools(link: Link, server?: string): Promise<ToolReloadOutcome[]>;
240
+ /** Reads `tools_status`; undefined while the Host is busy. Exported for the tests that read each row. */
241
+ export declare function readToolsStatus(link: Link): Promise<Schemas["ToolsStatusReply"] | undefined>;
240
242
  export {};
package/dist/sessions.js CHANGED
@@ -356,7 +356,8 @@ export async function reloadTools(link, server) {
356
356
  await new Promise((resolve) => setTimeout(resolve, Math.min(RELOAD_POLL_MS, remaining)));
357
357
  }
358
358
  }
359
- async function readToolsStatus(link) {
359
+ /** Reads `tools_status`; undefined while the Host is busy. Exported for the tests that read each row. */
360
+ export async function readToolsStatus(link) {
360
361
  try {
361
362
  return parse(await link.exchange("/v1/tools-status", (store) => JSON.stringify({
362
363
  version: WIRE_VERSION,
@@ -1,4 +1,4 @@
1
- export declare const WIRE_VERSION = "24";
1
+ export declare const WIRE_VERSION = "26";
2
2
  export interface Post {
3
3
  socketPath: string;
4
4
  path: string;
package/dist/transport.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { request } from "node:http";
2
2
  import { RuiRequestError } from "./errors.js";
3
- export const WIRE_VERSION = "24";
3
+ export const WIRE_VERSION = "26";
4
4
  const MAX_REPLY_BYTES = 64 * 1024 * 1024;
5
5
  const TRANSFER_IDLE_MS = 60_000;
6
6
  export class ConnectionError extends Error {
package/dist/wire.d.ts CHANGED
@@ -536,7 +536,7 @@ export interface components {
536
536
  schemas: {
537
537
  ActionBackgroundConflictReply: {
538
538
  /** @constant */
539
- version: "24";
539
+ version: "26";
540
540
  /** @constant */
541
541
  type: "action_background_reply";
542
542
  answer: {
@@ -552,7 +552,7 @@ export interface components {
552
552
  };
553
553
  ActionBackgroundReply: {
554
554
  /** @constant */
555
- version: "24";
555
+ version: "26";
556
556
  /** @constant */
557
557
  type: "action_background_reply";
558
558
  answer: {
@@ -569,7 +569,7 @@ export interface components {
569
569
  };
570
570
  } | {
571
571
  /** @constant */
572
- version: "24";
572
+ version: "26";
573
573
  /** @constant */
574
574
  type: "action_background_reply";
575
575
  answer: {
@@ -584,7 +584,7 @@ export interface components {
584
584
  };
585
585
  ActionBackgroundRequest: {
586
586
  /** @constant */
587
- version: "24";
587
+ version: "26";
588
588
  /** @constant */
589
589
  kind: "action_background";
590
590
  store: string;
@@ -600,7 +600,7 @@ export interface components {
600
600
  };
601
601
  ActionPublishRequest: {
602
602
  /** @constant */
603
- version: "24";
603
+ version: "26";
604
604
  /** @constant */
605
605
  kind: "action_publish";
606
606
  store: string;
@@ -610,7 +610,7 @@ export interface components {
610
610
  };
611
611
  ActionStopConflictReply: {
612
612
  /** @constant */
613
- version: "24";
613
+ version: "26";
614
614
  /** @constant */
615
615
  type: "action_stop_reply";
616
616
  answer: {
@@ -626,7 +626,7 @@ export interface components {
626
626
  };
627
627
  ActionStopReply: {
628
628
  /** @constant */
629
- version: "24";
629
+ version: "26";
630
630
  /** @constant */
631
631
  type: "action_stop_reply";
632
632
  answer: {
@@ -639,7 +639,7 @@ export interface components {
639
639
  };
640
640
  } | {
641
641
  /** @constant */
642
- version: "24";
642
+ version: "26";
643
643
  /** @constant */
644
644
  type: "action_stop_reply";
645
645
  answer: {
@@ -654,7 +654,7 @@ export interface components {
654
654
  };
655
655
  ActionStopRequest: {
656
656
  /** @constant */
657
- version: "24";
657
+ version: "26";
658
658
  /** @constant */
659
659
  kind: "action_stop";
660
660
  store: string;
@@ -664,7 +664,7 @@ export interface components {
664
664
  };
665
665
  ActivityContentRequest: {
666
666
  /** @constant */
667
- version: "24";
667
+ version: "26";
668
668
  /** @constant */
669
669
  kind: "activity_content";
670
670
  store: string;
@@ -882,7 +882,7 @@ export interface components {
882
882
  };
883
883
  ActivityPageReply: {
884
884
  /** @constant */
885
- version: "24";
885
+ version: "26";
886
886
  /** @constant */
887
887
  type: "activity_page";
888
888
  end: components["schemas"]["Decimal"];
@@ -898,7 +898,7 @@ export interface components {
898
898
  since: string | null;
899
899
  } | {
900
900
  /** @constant */
901
- version: "24";
901
+ version: "26";
902
902
  /** @constant */
903
903
  type: "activity_page";
904
904
  /** @constant */
@@ -907,7 +907,7 @@ export interface components {
907
907
  };
908
908
  ActivityPageRequest: {
909
909
  /** @constant */
910
- version: "24";
910
+ version: "26";
911
911
  /** @constant */
912
912
  kind: "activity_page";
913
913
  store: string;
@@ -941,7 +941,7 @@ export interface components {
941
941
  };
942
942
  ActivitySearchReply: {
943
943
  /** @constant */
944
- version: "24";
944
+ version: "26";
945
945
  /** @constant */
946
946
  type: "activity_search";
947
947
  items: components["schemas"]["ActivitySearchItem"][];
@@ -949,7 +949,7 @@ export interface components {
949
949
  };
950
950
  ActivitySearchRequest: {
951
951
  /** @constant */
952
- version: "24";
952
+ version: "26";
953
953
  /** @constant */
954
954
  kind: "activity_search";
955
955
  store: string;
@@ -1029,7 +1029,7 @@ export interface components {
1029
1029
  };
1030
1030
  ConfigureConflictReply: {
1031
1031
  /** @constant */
1032
- version: "24";
1032
+ version: "26";
1033
1033
  /** @constant */
1034
1034
  type: "configuration_reply";
1035
1035
  answer: {
@@ -1050,7 +1050,7 @@ export interface components {
1050
1050
  };
1051
1051
  ConfigureReply: {
1052
1052
  /** @constant */
1053
- version: "24";
1053
+ version: "26";
1054
1054
  /** @constant */
1055
1055
  type: "configuration_reply";
1056
1056
  answer: {
@@ -1069,7 +1069,7 @@ export interface components {
1069
1069
  };
1070
1070
  } | {
1071
1071
  /** @constant */
1072
- version: "24";
1072
+ version: "26";
1073
1073
  /** @constant */
1074
1074
  type: "configuration_reply";
1075
1075
  answer: {
@@ -1103,7 +1103,7 @@ export interface components {
1103
1103
  };
1104
1104
  } | {
1105
1105
  /** @constant */
1106
- version: "24";
1106
+ version: "26";
1107
1107
  /** @constant */
1108
1108
  type: "configuration_reply";
1109
1109
  answer: {
@@ -1125,7 +1125,7 @@ export interface components {
1125
1125
  };
1126
1126
  } | {
1127
1127
  /** @constant */
1128
- version: "24";
1128
+ version: "26";
1129
1129
  /** @constant */
1130
1130
  type: "configuration_reply";
1131
1131
  answer: {
@@ -1134,7 +1134,7 @@ export interface components {
1134
1134
  replayed: boolean;
1135
1135
  session: string;
1136
1136
  /** @enum {string} */
1137
- code: "invalid_session_reference" | "unknown_session" | "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" | "missing_settings" | "settings_on_reload" | "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" | "preferences_on_update";
1137
+ code: "invalid_session_reference" | "unknown_session" | "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" | "missing_settings" | "settings_on_reload" | "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" | "preferences_on_update" | "connection_unserved";
1138
1138
  message: string | null;
1139
1139
  missing: ("model" | "workspace" | "provider")[] | null;
1140
1140
  };
@@ -1147,7 +1147,7 @@ export interface components {
1147
1147
  };
1148
1148
  ConfigureRequest: {
1149
1149
  /** @constant */
1150
- version: "24";
1150
+ version: "26";
1151
1151
  /** @constant */
1152
1152
  kind: "configure";
1153
1153
  store: string;
@@ -1174,7 +1174,7 @@ export interface components {
1174
1174
  };
1175
1175
  ConversationContentRequest: {
1176
1176
  /** @constant */
1177
- version: "24";
1177
+ version: "26";
1178
1178
  /** @constant */
1179
1179
  kind: "conversation_content";
1180
1180
  store: string;
@@ -1188,7 +1188,7 @@ export interface components {
1188
1188
  };
1189
1189
  ConversationPageReply: {
1190
1190
  /** @constant */
1191
- version: "24";
1191
+ version: "26";
1192
1192
  /** @constant */
1193
1193
  type: "conversation_page";
1194
1194
  /** @constant */
@@ -1244,7 +1244,7 @@ export interface components {
1244
1244
  more: false;
1245
1245
  } | {
1246
1246
  /** @constant */
1247
- version: "24";
1247
+ version: "26";
1248
1248
  /** @constant */
1249
1249
  type: "conversation_page";
1250
1250
  /** @constant */
@@ -1303,7 +1303,7 @@ export interface components {
1303
1303
  };
1304
1304
  ConversationPageRequest: {
1305
1305
  /** @constant */
1306
- version: "24";
1306
+ version: "26";
1307
1307
  /** @constant */
1308
1308
  kind: "conversation_page";
1309
1309
  store: string;
@@ -1316,7 +1316,7 @@ export interface components {
1316
1316
  Decimal: string;
1317
1317
  ErrorReply: {
1318
1318
  /** @constant */
1319
- version: "24";
1319
+ version: "26";
1320
1320
  /** @enum {string} */
1321
1321
  type: "invocation_error" | "observation_error" | "busy" | "unsupported" | "host_unavailable" | "result_unavailable" | "action_unavailable" | "conversation_unavailable" | "activity_unavailable" | "failed_response_unavailable" | "parts_unavailable";
1322
1322
  code: string;
@@ -1330,7 +1330,7 @@ export interface components {
1330
1330
  };
1331
1331
  HostInfoReply: {
1332
1332
  /** @constant */
1333
- version: "24";
1333
+ version: "26";
1334
1334
  /** @constant */
1335
1335
  type: "host_info";
1336
1336
  store: string;
@@ -1358,21 +1358,21 @@ export interface components {
1358
1358
  };
1359
1359
  HostInfoRequest: {
1360
1360
  /** @constant */
1361
- version: "24";
1361
+ version: "26";
1362
1362
  /** @constant */
1363
1363
  kind: "host_info";
1364
1364
  store: string;
1365
1365
  };
1366
1366
  HostPauseReply: {
1367
1367
  /** @constant */
1368
- version: "24";
1368
+ version: "26";
1369
1369
  /** @constant */
1370
1370
  type: "host_pause_reply";
1371
1371
  paused: boolean;
1372
1372
  };
1373
1373
  HostPauseRequest: {
1374
1374
  /** @constant */
1375
- version: "24";
1375
+ version: "26";
1376
1376
  /** @constant */
1377
1377
  kind: "host_pause";
1378
1378
  store: string;
@@ -1517,14 +1517,14 @@ export interface components {
1517
1517
  };
1518
1518
  HostStopReply: {
1519
1519
  /** @constant */
1520
- version: "24";
1520
+ version: "26";
1521
1521
  /** @constant */
1522
1522
  type: "host_stop_reply";
1523
1523
  /** @constant */
1524
1524
  status: "acknowledged";
1525
1525
  } | {
1526
1526
  /** @constant */
1527
- version: "24";
1527
+ version: "26";
1528
1528
  /** @constant */
1529
1529
  type: "host_stop_reply";
1530
1530
  /** @constant */
@@ -1533,13 +1533,13 @@ export interface components {
1533
1533
  };
1534
1534
  HostStopRequest: {
1535
1535
  /** @constant */
1536
- version: "24";
1536
+ version: "26";
1537
1537
  /** @constant */
1538
1538
  kind: "host_stop";
1539
1539
  store: string;
1540
1540
  } | {
1541
1541
  /** @constant */
1542
- version: "24";
1542
+ version: "26";
1543
1543
  /** @constant */
1544
1544
  kind: "host_stop";
1545
1545
  store: string;
@@ -1559,7 +1559,7 @@ export interface components {
1559
1559
  };
1560
1560
  InspectSessionReply: {
1561
1561
  /** @constant */
1562
- version: "24";
1562
+ version: "26";
1563
1563
  /** @constant */
1564
1564
  type: "session_report";
1565
1565
  /** @constant */
@@ -1582,7 +1582,7 @@ export interface components {
1582
1582
  execution: components["schemas"]["domainreportExecutionJson"];
1583
1583
  } | {
1584
1584
  /** @constant */
1585
- version: "24";
1585
+ version: "26";
1586
1586
  /** @constant */
1587
1587
  type: "session_report";
1588
1588
  /** @constant */
@@ -1603,7 +1603,7 @@ export interface components {
1603
1603
  execution: components["schemas"]["domainreportExecutionJson"];
1604
1604
  } | {
1605
1605
  /** @constant */
1606
- version: "24";
1606
+ version: "26";
1607
1607
  /** @constant */
1608
1608
  type: "session_report";
1609
1609
  /** @constant */
@@ -1622,7 +1622,7 @@ export interface components {
1622
1622
  };
1623
1623
  } | {
1624
1624
  /** @constant */
1625
- version: "24";
1625
+ version: "26";
1626
1626
  /** @constant */
1627
1627
  type: "session_report";
1628
1628
  /** @constant */
@@ -1639,7 +1639,7 @@ export interface components {
1639
1639
  };
1640
1640
  InspectSessionRequest: {
1641
1641
  /** @constant */
1642
- version: "24";
1642
+ version: "26";
1643
1643
  /** @constant */
1644
1644
  kind: "inspect_session";
1645
1645
  store: string;
@@ -1647,7 +1647,7 @@ export interface components {
1647
1647
  since?: string | null;
1648
1648
  } | {
1649
1649
  /** @constant */
1650
- version: "24";
1650
+ version: "26";
1651
1651
  /** @constant */
1652
1652
  kind: "inspect_session";
1653
1653
  store: string;
@@ -1656,7 +1656,7 @@ export interface components {
1656
1656
  profile: "full";
1657
1657
  } | {
1658
1658
  /** @constant */
1659
- version: "24";
1659
+ version: "26";
1660
1660
  /** @constant */
1661
1661
  kind: "inspect_session";
1662
1662
  store: string;
@@ -1672,7 +1672,7 @@ export interface components {
1672
1672
  };
1673
1673
  ListSessionsReply: {
1674
1674
  /** @constant */
1675
- version: "24";
1675
+ version: "26";
1676
1676
  /** @constant */
1677
1677
  type: "session_list";
1678
1678
  sessions: components["schemas"]["SessionRow"][];
@@ -1685,7 +1685,7 @@ export interface components {
1685
1685
  };
1686
1686
  } | {
1687
1687
  /** @constant */
1688
- version: "24";
1688
+ version: "26";
1689
1689
  /** @constant */
1690
1690
  type: "session_list";
1691
1691
  sessions: components["schemas"]["SessionRow"][];
@@ -1698,7 +1698,7 @@ export interface components {
1698
1698
  };
1699
1699
  } | {
1700
1700
  /** @constant */
1701
- version: "24";
1701
+ version: "26";
1702
1702
  /** @constant */
1703
1703
  type: "session_list";
1704
1704
  sessions: components["schemas"]["SessionRow"][];
@@ -1708,7 +1708,7 @@ export interface components {
1708
1708
  next: null;
1709
1709
  } | {
1710
1710
  /** @constant */
1711
- version: "24";
1711
+ version: "26";
1712
1712
  /** @constant */
1713
1713
  type: "session_list";
1714
1714
  sessions: components["schemas"]["ArchivedRowFields"][];
@@ -1724,7 +1724,7 @@ export interface components {
1724
1724
  };
1725
1725
  ListSessionsRequest: {
1726
1726
  /** @constant */
1727
- version: "24";
1727
+ version: "26";
1728
1728
  /** @constant */
1729
1729
  kind: "list_sessions";
1730
1730
  store: string;
@@ -1738,7 +1738,7 @@ export interface components {
1738
1738
  after_reference?: string;
1739
1739
  } | {
1740
1740
  /** @constant */
1741
- version: "24";
1741
+ version: "26";
1742
1742
  /** @constant */
1743
1743
  kind: "list_sessions";
1744
1744
  store: string;
@@ -1751,7 +1751,7 @@ export interface components {
1751
1751
  };
1752
1752
  MessageConflictReply: {
1753
1753
  /** @constant */
1754
- version: "24";
1754
+ version: "26";
1755
1755
  /** @constant */
1756
1756
  type: "message_reply";
1757
1757
  answer: {
@@ -1794,7 +1794,7 @@ export interface components {
1794
1794
  };
1795
1795
  MessageReply: {
1796
1796
  /** @constant */
1797
- version: "24";
1797
+ version: "26";
1798
1798
  /** @constant */
1799
1799
  type: "message_reply";
1800
1800
  answer: {
@@ -1816,7 +1816,7 @@ export interface components {
1816
1816
  };
1817
1817
  } | {
1818
1818
  /** @constant */
1819
- version: "24";
1819
+ version: "26";
1820
1820
  /** @constant */
1821
1821
  type: "message_reply";
1822
1822
  answer: {
@@ -1853,7 +1853,7 @@ export interface components {
1853
1853
  };
1854
1854
  } | {
1855
1855
  /** @constant */
1856
- version: "24";
1856
+ version: "26";
1857
1857
  /** @constant */
1858
1858
  type: "message_reply";
1859
1859
  answer: {
@@ -1862,7 +1862,7 @@ export interface components {
1862
1862
  replayed: boolean;
1863
1863
  session: string;
1864
1864
  /** @enum {string} */
1865
- 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" | "missing_settings" | "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" | "preferences_on_update" | "skill_file_unavailable" | "skill_file_too_large" | "skill_text_invalid";
1865
+ code: "session_archiving" | "invalid_session_reference" | "unknown_session" | "invalid_sender_handle" | "unsupported_permission_mode" | "unsupported_provider" | "connection_unserved" | "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" | "missing_settings" | "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" | "preferences_on_update" | "skill_file_unavailable" | "skill_file_too_large" | "skill_text_invalid";
1866
1866
  message: string | null;
1867
1867
  missing: ("model" | "workspace" | "provider")[] | null;
1868
1868
  };
@@ -1878,7 +1878,7 @@ export interface components {
1878
1878
  };
1879
1879
  } | {
1880
1880
  /** @constant */
1881
- version: "24";
1881
+ version: "26";
1882
1882
  /** @constant */
1883
1883
  type: "message_reply";
1884
1884
  answer: {
@@ -1887,7 +1887,7 @@ export interface components {
1887
1887
  replayed: boolean;
1888
1888
  session: string;
1889
1889
  /** @enum {string} */
1890
- 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" | "missing_settings" | "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" | "preferences_on_update" | "skill_file_unavailable" | "skill_file_too_large" | "skill_text_invalid";
1890
+ code: "session_archiving" | "invalid_session_reference" | "unknown_session" | "invalid_sender_handle" | "unsupported_permission_mode" | "unsupported_provider" | "connection_unserved" | "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" | "missing_settings" | "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" | "preferences_on_update" | "skill_file_unavailable" | "skill_file_too_large" | "skill_text_invalid";
1891
1891
  message: string | null;
1892
1892
  missing: ("model" | "workspace" | "provider")[] | null;
1893
1893
  };
@@ -1904,7 +1904,7 @@ export interface components {
1904
1904
  };
1905
1905
  MessageRequest: {
1906
1906
  /** @constant */
1907
- version: "24";
1907
+ version: "26";
1908
1908
  /** @constant */
1909
1909
  kind: "message";
1910
1910
  store: string;
@@ -1926,7 +1926,7 @@ export interface components {
1926
1926
  require_model?: true;
1927
1927
  } | {
1928
1928
  /** @constant */
1929
- version: "24";
1929
+ version: "26";
1930
1930
  /** @constant */
1931
1931
  kind: "message";
1932
1932
  store: string;
@@ -1944,7 +1944,7 @@ export interface components {
1944
1944
  };
1945
1945
  ModelInterruptionConflictReply: {
1946
1946
  /** @constant */
1947
- version: "24";
1947
+ version: "26";
1948
1948
  /** @constant */
1949
1949
  type: "model_interruption_reply";
1950
1950
  answer: {
@@ -1963,7 +1963,7 @@ export interface components {
1963
1963
  };
1964
1964
  ModelInterruptionReply: {
1965
1965
  /** @constant */
1966
- version: "24";
1966
+ version: "26";
1967
1967
  /** @constant */
1968
1968
  type: "model_interruption_reply";
1969
1969
  answer: {
@@ -1978,7 +1978,7 @@ export interface components {
1978
1978
  };
1979
1979
  } | {
1980
1980
  /** @constant */
1981
- version: "24";
1981
+ version: "26";
1982
1982
  /** @constant */
1983
1983
  type: "model_interruption_reply";
1984
1984
  answer: {
@@ -1996,7 +1996,7 @@ export interface components {
1996
1996
  };
1997
1997
  ModelInterruptionRequest: {
1998
1998
  /** @constant */
1999
- version: "24";
1999
+ version: "26";
2000
2000
  /** @constant */
2001
2001
  kind: "model_interruption";
2002
2002
  store: string;
@@ -2019,14 +2019,14 @@ export interface components {
2019
2019
  };
2020
2020
  ModelListReply: {
2021
2021
  /** @constant */
2022
- version: "24";
2022
+ version: "26";
2023
2023
  /** @constant */
2024
2024
  type: "model_list";
2025
2025
  providers: components["schemas"]["ModelListEntry"][];
2026
2026
  };
2027
2027
  ModelListRequest: {
2028
2028
  /** @constant */
2029
- version: "24";
2029
+ version: "26";
2030
2030
  /** @constant */
2031
2031
  kind: "model_list";
2032
2032
  store: string;
@@ -2037,7 +2037,7 @@ export interface components {
2037
2037
  };
2038
2038
  ObserveCommandReply: {
2039
2039
  /** @constant */
2040
- version: "24";
2040
+ version: "26";
2041
2041
  /** @constant */
2042
2042
  type: "command_observation";
2043
2043
  key: string;
@@ -2050,7 +2050,7 @@ export interface components {
2050
2050
  };
2051
2051
  } | {
2052
2052
  /** @constant */
2053
- version: "24";
2053
+ version: "26";
2054
2054
  /** @constant */
2055
2055
  type: "command_observation";
2056
2056
  key: string;
@@ -2090,7 +2090,7 @@ export interface components {
2090
2090
  };
2091
2091
  } | ({
2092
2092
  /** @constant */
2093
- version: "24";
2093
+ version: "26";
2094
2094
  /** @constant */
2095
2095
  type: "command_observation";
2096
2096
  key: string;
@@ -2121,7 +2121,7 @@ export interface components {
2121
2121
  };
2122
2122
  } | {
2123
2123
  /** @constant */
2124
- version: "24";
2124
+ version: "26";
2125
2125
  /** @constant */
2126
2126
  type: "command_observation";
2127
2127
  key: string;
@@ -2157,7 +2157,7 @@ export interface components {
2157
2157
  };
2158
2158
  } | {
2159
2159
  /** @constant */
2160
- version: "24";
2160
+ version: "26";
2161
2161
  /** @constant */
2162
2162
  type: "command_observation";
2163
2163
  key: string;
@@ -2194,7 +2194,7 @@ export interface components {
2194
2194
  };
2195
2195
  } | {
2196
2196
  /** @constant */
2197
- version: "24";
2197
+ version: "26";
2198
2198
  /** @constant */
2199
2199
  type: "command_observation";
2200
2200
  key: string;
@@ -2229,7 +2229,7 @@ export interface components {
2229
2229
  };
2230
2230
  } | {
2231
2231
  /** @constant */
2232
- version: "24";
2232
+ version: "26";
2233
2233
  /** @constant */
2234
2234
  type: "command_observation";
2235
2235
  key: string;
@@ -2269,7 +2269,7 @@ export interface components {
2269
2269
  };
2270
2270
  } | {
2271
2271
  /** @constant */
2272
- version: "24";
2272
+ version: "26";
2273
2273
  /** @constant */
2274
2274
  type: "command_observation";
2275
2275
  key: string;
@@ -2310,7 +2310,7 @@ export interface components {
2310
2310
  };
2311
2311
  } | {
2312
2312
  /** @constant */
2313
- version: "24";
2313
+ version: "26";
2314
2314
  /** @constant */
2315
2315
  type: "command_observation";
2316
2316
  key: string;
@@ -2338,7 +2338,7 @@ export interface components {
2338
2338
  };
2339
2339
  } | {
2340
2340
  /** @constant */
2341
- version: "24";
2341
+ version: "26";
2342
2342
  /** @constant */
2343
2343
  type: "command_observation";
2344
2344
  key: string;
@@ -2376,7 +2376,7 @@ export interface components {
2376
2376
  };
2377
2377
  } | {
2378
2378
  /** @constant */
2379
- version: "24";
2379
+ version: "26";
2380
2380
  /** @constant */
2381
2381
  type: "command_observation";
2382
2382
  key: string;
@@ -2415,7 +2415,7 @@ export interface components {
2415
2415
  };
2416
2416
  } | {
2417
2417
  /** @constant */
2418
- version: "24";
2418
+ version: "26";
2419
2419
  /** @constant */
2420
2420
  type: "command_observation";
2421
2421
  key: string;
@@ -2448,7 +2448,7 @@ export interface components {
2448
2448
  };
2449
2449
  } | {
2450
2450
  /** @constant */
2451
- version: "24";
2451
+ version: "26";
2452
2452
  /** @constant */
2453
2453
  type: "command_observation";
2454
2454
  key: string;
@@ -2482,7 +2482,7 @@ export interface components {
2482
2482
  };
2483
2483
  } | {
2484
2484
  /** @constant */
2485
- version: "24";
2485
+ version: "26";
2486
2486
  /** @constant */
2487
2487
  type: "command_observation";
2488
2488
  key: string;
@@ -2515,7 +2515,7 @@ export interface components {
2515
2515
  };
2516
2516
  } | {
2517
2517
  /** @constant */
2518
- version: "24";
2518
+ version: "26";
2519
2519
  /** @constant */
2520
2520
  type: "command_observation";
2521
2521
  key: string;
@@ -2549,7 +2549,7 @@ export interface components {
2549
2549
  };
2550
2550
  } | {
2551
2551
  /** @constant */
2552
- version: "24";
2552
+ version: "26";
2553
2553
  /** @constant */
2554
2554
  type: "command_observation";
2555
2555
  key: string;
@@ -2568,7 +2568,7 @@ export interface components {
2568
2568
  };
2569
2569
  }) | {
2570
2570
  /** @constant */
2571
- version: "24";
2571
+ version: "26";
2572
2572
  /** @constant */
2573
2573
  type: "command_observation";
2574
2574
  key: string;
@@ -2620,7 +2620,7 @@ export interface components {
2620
2620
  };
2621
2621
  } | {
2622
2622
  /** @constant */
2623
- version: "24";
2623
+ version: "26";
2624
2624
  /** @constant */
2625
2625
  type: "command_observation";
2626
2626
  key: string;
@@ -2666,7 +2666,7 @@ export interface components {
2666
2666
  };
2667
2667
  } | {
2668
2668
  /** @constant */
2669
- version: "24";
2669
+ version: "26";
2670
2670
  /** @constant */
2671
2671
  type: "command_observation";
2672
2672
  key: string;
@@ -2712,7 +2712,7 @@ export interface components {
2712
2712
  };
2713
2713
  } | {
2714
2714
  /** @constant */
2715
- version: "24";
2715
+ version: "26";
2716
2716
  /** @constant */
2717
2717
  type: "command_observation";
2718
2718
  key: string;
@@ -2758,7 +2758,7 @@ export interface components {
2758
2758
  };
2759
2759
  } | {
2760
2760
  /** @constant */
2761
- version: "24";
2761
+ version: "26";
2762
2762
  /** @constant */
2763
2763
  type: "command_observation";
2764
2764
  key: string;
@@ -2796,7 +2796,7 @@ export interface components {
2796
2796
  };
2797
2797
  } | {
2798
2798
  /** @constant */
2799
- version: "24";
2799
+ version: "26";
2800
2800
  /** @constant */
2801
2801
  type: "command_observation";
2802
2802
  key: string;
@@ -2854,7 +2854,7 @@ export interface components {
2854
2854
  };
2855
2855
  } | {
2856
2856
  /** @constant */
2857
- version: "24";
2857
+ version: "26";
2858
2858
  /** @constant */
2859
2859
  type: "command_observation";
2860
2860
  key: string;
@@ -2904,7 +2904,7 @@ export interface components {
2904
2904
  };
2905
2905
  } | {
2906
2906
  /** @constant */
2907
- version: "24";
2907
+ version: "26";
2908
2908
  /** @constant */
2909
2909
  type: "command_observation";
2910
2910
  key: string;
@@ -2914,7 +2914,7 @@ export interface components {
2914
2914
  };
2915
2915
  ObserveCommandRequest: {
2916
2916
  /** @constant */
2917
- version: "24";
2917
+ version: "26";
2918
2918
  /** @constant */
2919
2919
  kind: "observe_command";
2920
2920
  store: string;
@@ -2949,7 +2949,7 @@ export interface components {
2949
2949
  };
2950
2950
  PermissionDecisionConflictReply: {
2951
2951
  /** @constant */
2952
- version: "24";
2952
+ version: "26";
2953
2953
  /** @constant */
2954
2954
  type: "permission_decision_reply";
2955
2955
  answer: {
@@ -2967,7 +2967,7 @@ export interface components {
2967
2967
  };
2968
2968
  PermissionDecisionReply: {
2969
2969
  /** @constant */
2970
- version: "24";
2970
+ version: "26";
2971
2971
  /** @constant */
2972
2972
  type: "permission_decision_reply";
2973
2973
  answer: {
@@ -2981,7 +2981,7 @@ export interface components {
2981
2981
  };
2982
2982
  } | {
2983
2983
  /** @constant */
2984
- version: "24";
2984
+ version: "26";
2985
2985
  /** @constant */
2986
2986
  type: "permission_decision_reply";
2987
2987
  answer: {
@@ -2998,7 +2998,7 @@ export interface components {
2998
2998
  };
2999
2999
  PermissionDecisionRequest: {
3000
3000
  /** @constant */
3001
- version: "24";
3001
+ version: "26";
3002
3002
  /** @constant */
3003
3003
  kind: "permission_decision";
3004
3004
  store: string;
@@ -3033,7 +3033,7 @@ export interface components {
3033
3033
  };
3034
3034
  PublicPartContentRequest: {
3035
3035
  /** @constant */
3036
- version: "24";
3036
+ version: "26";
3037
3037
  /** @constant */
3038
3038
  kind: "public_part_content";
3039
3039
  store: string;
@@ -3046,7 +3046,7 @@ export interface components {
3046
3046
  };
3047
3047
  PublicPartsReply: {
3048
3048
  /** @constant */
3049
- version: "24";
3049
+ version: "26";
3050
3050
  /** @constant */
3051
3051
  type: "public_parts";
3052
3052
  session: string;
@@ -3055,7 +3055,7 @@ export interface components {
3055
3055
  };
3056
3056
  PublicPartsRequest: {
3057
3057
  /** @constant */
3058
- version: "24";
3058
+ version: "26";
3059
3059
  /** @constant */
3060
3060
  kind: "public_parts";
3061
3061
  store: string;
@@ -3071,7 +3071,7 @@ export interface components {
3071
3071
  };
3072
3072
  ReadActionArgumentsRequest: {
3073
3073
  /** @constant */
3074
- version: "24";
3074
+ version: "26";
3075
3075
  /** @constant */
3076
3076
  kind: "read_action_arguments";
3077
3077
  store: string;
@@ -3080,7 +3080,7 @@ export interface components {
3080
3080
  };
3081
3081
  ReadActionCallIdRequest: {
3082
3082
  /** @constant */
3083
- version: "24";
3083
+ version: "26";
3084
3084
  /** @constant */
3085
3085
  kind: "read_action_call_id";
3086
3086
  store: string;
@@ -3089,7 +3089,7 @@ export interface components {
3089
3089
  };
3090
3090
  ReadActionReply: {
3091
3091
  /** @constant */
3092
- version: "24";
3092
+ version: "26";
3093
3093
  /** @constant */
3094
3094
  type: "action_read";
3095
3095
  session: string;
@@ -3108,7 +3108,7 @@ export interface components {
3108
3108
  };
3109
3109
  } | {
3110
3110
  /** @constant */
3111
- version: "24";
3111
+ version: "26";
3112
3112
  /** @constant */
3113
3113
  type: "action_read";
3114
3114
  session: string;
@@ -3137,7 +3137,7 @@ export interface components {
3137
3137
  };
3138
3138
  } | {
3139
3139
  /** @constant */
3140
- version: "24";
3140
+ version: "26";
3141
3141
  /** @constant */
3142
3142
  type: "action_read";
3143
3143
  session: string;
@@ -3162,7 +3162,7 @@ export interface components {
3162
3162
  };
3163
3163
  ReadActionRequest: {
3164
3164
  /** @constant */
3165
- version: "24";
3165
+ version: "26";
3166
3166
  /** @constant */
3167
3167
  kind: "read_action";
3168
3168
  store: string;
@@ -3173,7 +3173,7 @@ export interface components {
3173
3173
  };
3174
3174
  ReadResultRequest: {
3175
3175
  /** @constant */
3176
- version: "24";
3176
+ version: "26";
3177
3177
  /** @constant */
3178
3178
  kind: "read_result";
3179
3179
  store: string;
@@ -3181,7 +3181,7 @@ export interface components {
3181
3181
  };
3182
3182
  SessionArchiveConflictReply: {
3183
3183
  /** @constant */
3184
- version: "24";
3184
+ version: "26";
3185
3185
  /** @constant */
3186
3186
  type: "session_archive_reply";
3187
3187
  answer: {
@@ -3200,7 +3200,7 @@ export interface components {
3200
3200
  };
3201
3201
  SessionArchiveReply: {
3202
3202
  /** @constant */
3203
- version: "24";
3203
+ version: "26";
3204
3204
  /** @constant */
3205
3205
  type: "session_archive_reply";
3206
3206
  answer: {
@@ -3216,7 +3216,7 @@ export interface components {
3216
3216
  };
3217
3217
  } | {
3218
3218
  /** @constant */
3219
- version: "24";
3219
+ version: "26";
3220
3220
  /** @constant */
3221
3221
  type: "session_archive_reply";
3222
3222
  answer: {
@@ -3234,7 +3234,7 @@ export interface components {
3234
3234
  };
3235
3235
  SessionArchiveRequest: {
3236
3236
  /** @constant */
3237
- version: "24";
3237
+ version: "26";
3238
3238
  /** @constant */
3239
3239
  kind: "session_archive";
3240
3240
  store: string;
@@ -3244,7 +3244,7 @@ export interface components {
3244
3244
  };
3245
3245
  SessionPinConflictReply: {
3246
3246
  /** @constant */
3247
- version: "24";
3247
+ version: "26";
3248
3248
  /** @constant */
3249
3249
  type: "session_pin_reply";
3250
3250
  answer: {
@@ -3259,7 +3259,7 @@ export interface components {
3259
3259
  };
3260
3260
  SessionPinReply: {
3261
3261
  /** @constant */
3262
- version: "24";
3262
+ version: "26";
3263
3263
  /** @constant */
3264
3264
  type: "session_pin_reply";
3265
3265
  answer: {
@@ -3271,7 +3271,7 @@ export interface components {
3271
3271
  };
3272
3272
  } | {
3273
3273
  /** @constant */
3274
- version: "24";
3274
+ version: "26";
3275
3275
  /** @constant */
3276
3276
  type: "session_pin_reply";
3277
3277
  answer: {
@@ -3285,7 +3285,7 @@ export interface components {
3285
3285
  };
3286
3286
  SessionPinRequest: {
3287
3287
  /** @constant */
3288
- version: "24";
3288
+ version: "26";
3289
3289
  /** @constant */
3290
3290
  kind: "session_pin";
3291
3291
  store: string;
@@ -3325,7 +3325,7 @@ export interface components {
3325
3325
  };
3326
3326
  SessionStopConflictReply: {
3327
3327
  /** @constant */
3328
- version: "24";
3328
+ version: "26";
3329
3329
  /** @constant */
3330
3330
  type: "session_stop_reply";
3331
3331
  answer: {
@@ -3344,7 +3344,7 @@ export interface components {
3344
3344
  };
3345
3345
  SessionStopReply: {
3346
3346
  /** @constant */
3347
- version: "24";
3347
+ version: "26";
3348
3348
  /** @constant */
3349
3349
  type: "session_stop_reply";
3350
3350
  answer: {
@@ -3363,7 +3363,7 @@ export interface components {
3363
3363
  };
3364
3364
  } | {
3365
3365
  /** @constant */
3366
- version: "24";
3366
+ version: "26";
3367
3367
  /** @constant */
3368
3368
  type: "session_stop_reply";
3369
3369
  answer: {
@@ -3381,7 +3381,7 @@ export interface components {
3381
3381
  };
3382
3382
  SessionStopRequest: {
3383
3383
  /** @constant */
3384
- version: "24";
3384
+ version: "26";
3385
3385
  /** @constant */
3386
3386
  kind: "session_stop";
3387
3387
  store: string;
@@ -3400,7 +3400,7 @@ export interface components {
3400
3400
  };
3401
3401
  SkillSuggestionsReply: {
3402
3402
  /** @constant */
3403
- version: "24";
3403
+ version: "26";
3404
3404
  /** @constant */
3405
3405
  type: "skill_suggestions";
3406
3406
  revision: components["schemas"]["Decimal"];
@@ -3412,7 +3412,7 @@ export interface components {
3412
3412
  };
3413
3413
  SkillSuggestionsRequest: {
3414
3414
  /** @constant */
3415
- version: "24";
3415
+ version: "26";
3416
3416
  /** @constant */
3417
3417
  kind: "skill_suggestions";
3418
3418
  store: string;
@@ -3420,7 +3420,7 @@ export interface components {
3420
3420
  prefix: string;
3421
3421
  } | {
3422
3422
  /** @constant */
3423
- version: "24";
3423
+ version: "26";
3424
3424
  /** @constant */
3425
3425
  kind: "skill_suggestions";
3426
3426
  store: string;
@@ -3442,7 +3442,7 @@ export interface components {
3442
3442
  };
3443
3443
  ToolsReloadReply: {
3444
3444
  /** @constant */
3445
- version: "24";
3445
+ version: "26";
3446
3446
  /** @constant */
3447
3447
  type: "tools_reload_reply";
3448
3448
  instance: string;
@@ -3453,13 +3453,13 @@ export interface components {
3453
3453
  };
3454
3454
  ToolsReloadRequest: {
3455
3455
  /** @constant */
3456
- version: "24";
3456
+ version: "26";
3457
3457
  /** @constant */
3458
3458
  kind: "tools_reload";
3459
3459
  store: string;
3460
3460
  } | {
3461
3461
  /** @constant */
3462
- version: "24";
3462
+ version: "26";
3463
3463
  /** @constant */
3464
3464
  kind: "tools_reload";
3465
3465
  store: string;
@@ -3467,7 +3467,7 @@ export interface components {
3467
3467
  };
3468
3468
  ToolsStatusReply: {
3469
3469
  /** @constant */
3470
- version: "24";
3470
+ version: "26";
3471
3471
  /** @constant */
3472
3472
  type: "tools_status";
3473
3473
  instance: string;
@@ -3480,11 +3480,13 @@ export interface components {
3480
3480
  finished: components["schemas"]["Decimal"];
3481
3481
  tools: components["schemas"]["Decimal"];
3482
3482
  left_out: components["schemas"]["Decimal"];
3483
+ /** @enum {string} */
3484
+ listen: "off" | "opening" | "open" | "unsupported";
3483
3485
  }[];
3484
3486
  };
3485
3487
  ToolsStatusRequest: {
3486
3488
  /** @constant */
3487
- version: "24";
3489
+ version: "26";
3488
3490
  /** @constant */
3489
3491
  kind: "tools_status";
3490
3492
  store: string;
@@ -3851,7 +3853,7 @@ export interface components {
3851
3853
  responses: never;
3852
3854
  parameters: {
3853
3855
  /** @description The wire version this document describes. Any other version is refused. */
3854
- WireVersion: "24";
3856
+ WireVersion: "26";
3855
3857
  /** @description The Host instance (from host-info) the request is meant for; a different instance refuses it. */
3856
3858
  HostInstance: string;
3857
3859
  /** @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.92.0",
3
+ "version": "0.93.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": {
@@ -32,8 +32,8 @@
32
32
  "mcp"
33
33
  ],
34
34
  "optionalDependencies": {
35
- "ruicode-linux-x64": "0.92.0",
36
- "ruicode-linux-arm64": "0.92.0",
37
- "ruicode-darwin-arm64": "0.92.0"
35
+ "ruicode-linux-x64": "0.93.1",
36
+ "ruicode-linux-arm64": "0.93.1",
37
+ "ruicode-darwin-arm64": "0.93.1"
38
38
  }
39
39
  }