ruicode 0.102.0 → 0.104.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/feed.d.ts CHANGED
@@ -5,7 +5,7 @@ type Schemas = components["schemas"];
5
5
  export declare function servedWork(work: Pick<Schemas["SessionWork"], "actions">): ServedWork;
6
6
  type Row = Schemas["ActivityItem"];
7
7
  /** Every kind the Host's feed has, in its own order. */
8
- export declare const FEED_KINDS: readonly ["admission", "user", "assistant", "call", "tool_result", "hosted_call", "turn_ended", "stop", "received", "approval_requested", "session_changed", "compacted", "model_call", "instruction", "skill"];
8
+ export declare const FEED_KINDS: readonly ["admission", "user", "assistant", "call", "tool_result", "hosted_call", "turn_ended", "stop", "received", "approval_requested", "session_changed", "compacted", "model_call", "instruction", "skill", "agents_md"];
9
9
  export type FeedKind = (typeof FEED_KINDS)[number];
10
10
  /** Entry text is inline up to this many bytes (D168). */
11
11
  export declare const INLINE_TEXT_BYTES: number;
package/dist/feed.js CHANGED
@@ -30,6 +30,7 @@ export const FEED_KINDS = [
30
30
  "model_call",
31
31
  "instruction",
32
32
  "skill",
33
+ "agents_md",
33
34
  ];
34
35
  const complete = true;
35
36
  void complete;
@@ -31,6 +31,7 @@ export const REJECTION_SENTENCES = {
31
31
  "missing_settings": "A new Session is missing a required setting.",
32
32
  "model_capability_unavailable": "This Host does not serve the Session's required provider.",
33
33
  "model_is_immutable": "This saved command was rejected when a Session could not change its model.",
34
+ "model_not_allowed": "The model is not allowed by the connection settings.",
34
35
  "operation_resolved": "That Operation has already resolved.",
35
36
  "parent_on_update": "spec.parent: an existing Session cannot change its parent. Nothing was changed.",
36
37
  "parent_provider_forbidden": "A child Session always uses its parent's provider.",
@@ -1,4 +1,4 @@
1
- export declare const WIRE_VERSION = "37";
1
+ export declare const WIRE_VERSION = "39";
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 = "37";
3
+ export const WIRE_VERSION = "39";
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
@@ -502,7 +502,7 @@ export interface components {
502
502
  schemas: {
503
503
  ActionBackgroundConflictReply: {
504
504
  /** @constant */
505
- version: "37";
505
+ version: "39";
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: "37";
521
+ version: "39";
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: "37";
538
+ version: "39";
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: "37";
553
+ version: "39";
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: "37";
569
+ version: "39";
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: "37";
579
+ version: "39";
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: "37";
595
+ version: "39";
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: "37";
608
+ version: "39";
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: "37";
623
+ version: "39";
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: "37";
633
+ version: "39";
634
634
  /** @constant */
635
635
  kind: "activity_content";
636
636
  store: string;
@@ -847,10 +847,20 @@ export interface components {
847
847
  content: components["schemas"]["ContentValue"];
848
848
  };
849
849
  };
850
+ } | {
851
+ position: components["schemas"]["Decimal"];
852
+ ordinal: components["schemas"]["Decimal"];
853
+ at: components["schemas"]["Decimal"];
854
+ value: {
855
+ agents_md: {
856
+ turn: components["schemas"]["Decimal"];
857
+ content: components["schemas"]["ContentValue"];
858
+ };
859
+ };
850
860
  };
851
861
  ActivityPageReply: {
852
862
  /** @constant */
853
- version: "37";
863
+ version: "39";
854
864
  /** @constant */
855
865
  type: "activity_page";
856
866
  end: components["schemas"]["Decimal"];
@@ -865,7 +875,7 @@ export interface components {
865
875
  since: string | null;
866
876
  } | {
867
877
  /** @constant */
868
- version: "37";
878
+ version: "39";
869
879
  /** @constant */
870
880
  type: "activity_page";
871
881
  /** @constant */
@@ -874,7 +884,7 @@ export interface components {
874
884
  };
875
885
  ActivityPageRequest: {
876
886
  /** @constant */
877
- version: "37";
887
+ version: "39";
878
888
  /** @constant */
879
889
  kind: "activity_page";
880
890
  store: string;
@@ -885,7 +895,7 @@ export interface components {
885
895
  /** @enum {string} */
886
896
  direction: "forward" | "backward";
887
897
  /** @description Each at most once, in the order the enum lists them. */
888
- kinds: ("admission" | "user" | "assistant" | "call" | "tool_result" | "hosted_call" | "turn_ended" | "stop" | "received" | "approval_requested" | "session_changed" | "compacted" | "model_call" | "instruction" | "skill")[];
898
+ kinds: ("admission" | "user" | "assistant" | "call" | "tool_result" | "hosted_call" | "turn_ended" | "stop" | "received" | "approval_requested" | "session_changed" | "compacted" | "model_call" | "instruction" | "skill" | "agents_md")[];
889
899
  limit: components["schemas"]["Decimal"];
890
900
  since?: string | null;
891
901
  };
@@ -903,12 +913,12 @@ export interface components {
903
913
  position: components["schemas"]["Decimal"];
904
914
  ordinal: components["schemas"]["Decimal"];
905
915
  /** @enum {string} */
906
- kind: "admission" | "user" | "assistant" | "call" | "tool_result" | "hosted_call" | "turn_ended" | "stop" | "received" | "approval_requested" | "session_changed" | "compacted" | "model_call" | "instruction" | "skill";
916
+ kind: "admission" | "user" | "assistant" | "call" | "tool_result" | "hosted_call" | "turn_ended" | "stop" | "received" | "approval_requested" | "session_changed" | "compacted" | "model_call" | "instruction" | "skill" | "agents_md";
907
917
  hits: components["schemas"]["ActivitySearchFactsHit"][];
908
918
  };
909
919
  ActivitySearchReply: {
910
920
  /** @constant */
911
- version: "37";
921
+ version: "39";
912
922
  /** @constant */
913
923
  type: "activity_search";
914
924
  items: components["schemas"]["ActivitySearchItem"][];
@@ -916,14 +926,14 @@ export interface components {
916
926
  };
917
927
  ActivitySearchRequest: {
918
928
  /** @constant */
919
- version: "37";
929
+ version: "39";
920
930
  /** @constant */
921
931
  kind: "activity_search";
922
932
  store: string;
923
933
  session: string;
924
934
  query: string;
925
935
  /** @description Each at most once, in the order the enum lists them. */
926
- kinds?: ("admission" | "user" | "assistant" | "call" | "tool_result" | "hosted_call" | "turn_ended" | "stop" | "received" | "approval_requested" | "session_changed" | "compacted" | "model_call" | "instruction" | "skill")[];
936
+ kinds?: ("admission" | "user" | "assistant" | "call" | "tool_result" | "hosted_call" | "turn_ended" | "stop" | "received" | "approval_requested" | "session_changed" | "compacted" | "model_call" | "instruction" | "skill" | "agents_md")[];
927
937
  before_position?: components["schemas"]["Decimal"] | null;
928
938
  before_ordinal?: components["schemas"]["Decimal"] | null;
929
939
  limit?: components["schemas"]["Decimal"];
@@ -1006,7 +1016,7 @@ export interface components {
1006
1016
  };
1007
1017
  ConfigureConflictReply: {
1008
1018
  /** @constant */
1009
- version: "37";
1019
+ version: "39";
1010
1020
  /** @constant */
1011
1021
  type: "configuration_reply";
1012
1022
  answer: {
@@ -1027,7 +1037,7 @@ export interface components {
1027
1037
  };
1028
1038
  ConfigureReply: {
1029
1039
  /** @constant */
1030
- version: "37";
1040
+ version: "39";
1031
1041
  /** @constant */
1032
1042
  type: "configuration_reply";
1033
1043
  answer: {
@@ -1046,7 +1056,7 @@ export interface components {
1046
1056
  };
1047
1057
  } | {
1048
1058
  /** @constant */
1049
- version: "37";
1059
+ version: "39";
1050
1060
  /** @constant */
1051
1061
  type: "configuration_reply";
1052
1062
  answer: {
@@ -1079,7 +1089,7 @@ export interface components {
1079
1089
  };
1080
1090
  } | {
1081
1091
  /** @constant */
1082
- version: "37";
1092
+ version: "39";
1083
1093
  /** @constant */
1084
1094
  type: "configuration_reply";
1085
1095
  answer: {
@@ -1101,7 +1111,7 @@ export interface components {
1101
1111
  };
1102
1112
  } | {
1103
1113
  /** @constant */
1104
- version: "37";
1114
+ version: "39";
1105
1115
  /** @constant */
1106
1116
  type: "configuration_reply";
1107
1117
  answer: {
@@ -1110,7 +1120,7 @@ export interface components {
1110
1120
  replayed: boolean;
1111
1121
  session: string;
1112
1122
  /** @enum {string} */
1113
- code: "invalid_session_reference" | "unknown_session" | "unsupported_permission_mode" | "unknown_connection" | "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" | "connection_is_immutable" | "connection_wire_differs" | "model_is_immutable" | "revision_exhausted" | "skills_unavailable" | "preferences_on_update" | "invalid_app_tools" | "app_tools_too_large" | "invalid_app_tool_name" | "duplicate_app_tool_name" | "app_tool_built_in_clash" | "app_tool_host_clash" | "invalid_app_tool_policy" | "app_tools_on_child" | "connection_unserved";
1123
+ code: "invalid_session_reference" | "unknown_session" | "unsupported_permission_mode" | "unknown_connection" | "invalid_model" | "model_not_allowed" | "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" | "connection_is_immutable" | "connection_wire_differs" | "model_is_immutable" | "revision_exhausted" | "skills_unavailable" | "preferences_on_update" | "invalid_app_tools" | "app_tools_too_large" | "invalid_app_tool_name" | "duplicate_app_tool_name" | "app_tool_built_in_clash" | "app_tool_host_clash" | "invalid_app_tool_policy" | "app_tools_on_child" | "connection_unserved";
1114
1124
  message: string | null;
1115
1125
  missing: ("model" | "workspace" | "connection")[] | null;
1116
1126
  };
@@ -1123,7 +1133,7 @@ export interface components {
1123
1133
  };
1124
1134
  ConfigureRequest: {
1125
1135
  /** @constant */
1126
- version: "37";
1136
+ version: "39";
1127
1137
  /** @constant */
1128
1138
  kind: "configure";
1129
1139
  store: string;
@@ -1165,7 +1175,7 @@ export interface components {
1165
1175
  Decimal: string;
1166
1176
  ErrorReply: {
1167
1177
  /** @constant */
1168
- version: "37";
1178
+ version: "39";
1169
1179
  /** @enum {string} */
1170
1180
  type: "invocation_error" | "observation_error" | "busy" | "unsupported" | "host_unavailable" | "result_unavailable" | "action_unavailable" | "activity_unavailable" | "failed_response_unavailable" | "parts_unavailable";
1171
1181
  code: string;
@@ -1185,7 +1195,7 @@ export interface components {
1185
1195
  };
1186
1196
  HostInfoReply: {
1187
1197
  /** @constant */
1188
- version: "37";
1198
+ version: "39";
1189
1199
  /** @constant */
1190
1200
  type: "host_info";
1191
1201
  store: string;
@@ -1206,21 +1216,21 @@ export interface components {
1206
1216
  };
1207
1217
  HostInfoRequest: {
1208
1218
  /** @constant */
1209
- version: "37";
1219
+ version: "39";
1210
1220
  /** @constant */
1211
1221
  kind: "host_info";
1212
1222
  store: string;
1213
1223
  };
1214
1224
  HostPauseReply: {
1215
1225
  /** @constant */
1216
- version: "37";
1226
+ version: "39";
1217
1227
  /** @constant */
1218
1228
  type: "host_pause_reply";
1219
1229
  paused: boolean;
1220
1230
  };
1221
1231
  HostPauseRequest: {
1222
1232
  /** @constant */
1223
- version: "37";
1233
+ version: "39";
1224
1234
  /** @constant */
1225
1235
  kind: "host_pause";
1226
1236
  store: string;
@@ -1348,6 +1358,8 @@ export interface components {
1348
1358
  * @enum {string}
1349
1359
  */
1350
1360
  lifetime?: "detached" | "stdin";
1361
+ /** @description How many live lines the interface holds open at once. Background lines leave the last quarter for interactive clients. */
1362
+ lineCapacity?: number;
1351
1363
  };
1352
1364
  /** @description How Turns run. */
1353
1365
  execution?: {
@@ -1370,14 +1382,14 @@ export interface components {
1370
1382
  };
1371
1383
  HostStopReply: {
1372
1384
  /** @constant */
1373
- version: "37";
1385
+ version: "39";
1374
1386
  /** @constant */
1375
1387
  type: "host_stop_reply";
1376
1388
  /** @constant */
1377
1389
  status: "acknowledged";
1378
1390
  } | {
1379
1391
  /** @constant */
1380
- version: "37";
1392
+ version: "39";
1381
1393
  /** @constant */
1382
1394
  type: "host_stop_reply";
1383
1395
  /** @constant */
@@ -1386,13 +1398,13 @@ export interface components {
1386
1398
  };
1387
1399
  HostStopRequest: {
1388
1400
  /** @constant */
1389
- version: "37";
1401
+ version: "39";
1390
1402
  /** @constant */
1391
1403
  kind: "host_stop";
1392
1404
  store: string;
1393
1405
  } | {
1394
1406
  /** @constant */
1395
- version: "37";
1407
+ version: "39";
1396
1408
  /** @constant */
1397
1409
  kind: "host_stop";
1398
1410
  store: string;
@@ -1419,7 +1431,7 @@ export interface components {
1419
1431
  };
1420
1432
  InspectSessionReply: {
1421
1433
  /** @constant */
1422
- version: "37";
1434
+ version: "39";
1423
1435
  /** @constant */
1424
1436
  type: "session_report";
1425
1437
  /** @constant */
@@ -1439,10 +1451,11 @@ export interface components {
1439
1451
  actions: components["schemas"]["domainreportCurrentJsonActions"];
1440
1452
  rejected_calls: components["schemas"]["domainreportCurrentJsonRejectedCalls"];
1441
1453
  actionable_permissions: components["schemas"]["domainreportCurrentJsonActionable"][];
1454
+ background_actions: components["schemas"]["domainreportCurrentJsonBackground"][];
1442
1455
  execution: components["schemas"]["domainreportExecutionJson"];
1443
1456
  } | {
1444
1457
  /** @constant */
1445
- version: "37";
1458
+ version: "39";
1446
1459
  /** @constant */
1447
1460
  type: "session_report";
1448
1461
  /** @constant */
@@ -1459,11 +1472,12 @@ export interface components {
1459
1472
  actions: components["schemas"]["domainreportCurrentJsonActions"];
1460
1473
  rejected_calls: components["schemas"]["domainreportCurrentJsonRejectedCalls"];
1461
1474
  actionable_permissions: components["schemas"]["domainreportCurrentJsonActionable"][];
1475
+ background_actions: components["schemas"]["domainreportCurrentJsonBackground"][];
1462
1476
  full: components["schemas"]["domainreport_full_shapeFull"];
1463
1477
  execution: components["schemas"]["domainreportExecutionJson"];
1464
1478
  } | {
1465
1479
  /** @constant */
1466
- version: "37";
1480
+ version: "39";
1467
1481
  /** @constant */
1468
1482
  type: "session_report";
1469
1483
  /** @constant */
@@ -1482,7 +1496,7 @@ export interface components {
1482
1496
  };
1483
1497
  } | {
1484
1498
  /** @constant */
1485
- version: "37";
1499
+ version: "39";
1486
1500
  /** @constant */
1487
1501
  type: "session_report";
1488
1502
  /** @constant */
@@ -1499,7 +1513,7 @@ export interface components {
1499
1513
  };
1500
1514
  InspectSessionRequest: {
1501
1515
  /** @constant */
1502
- version: "37";
1516
+ version: "39";
1503
1517
  /** @constant */
1504
1518
  kind: "inspect_session";
1505
1519
  store: string;
@@ -1507,7 +1521,7 @@ export interface components {
1507
1521
  since?: string | null;
1508
1522
  } | {
1509
1523
  /** @constant */
1510
- version: "37";
1524
+ version: "39";
1511
1525
  /** @constant */
1512
1526
  kind: "inspect_session";
1513
1527
  store: string;
@@ -1516,7 +1530,7 @@ export interface components {
1516
1530
  profile: "full";
1517
1531
  } | {
1518
1532
  /** @constant */
1519
- version: "37";
1533
+ version: "39";
1520
1534
  /** @constant */
1521
1535
  kind: "inspect_session";
1522
1536
  store: string;
@@ -1528,7 +1542,7 @@ export interface components {
1528
1542
  };
1529
1543
  ListSessionsReply: {
1530
1544
  /** @constant */
1531
- version: "37";
1545
+ version: "39";
1532
1546
  /** @constant */
1533
1547
  type: "session_list";
1534
1548
  sessions: components["schemas"]["SessionRow"][];
@@ -1541,7 +1555,7 @@ export interface components {
1541
1555
  };
1542
1556
  } | {
1543
1557
  /** @constant */
1544
- version: "37";
1558
+ version: "39";
1545
1559
  /** @constant */
1546
1560
  type: "session_list";
1547
1561
  sessions: components["schemas"]["SessionRow"][];
@@ -1554,7 +1568,7 @@ export interface components {
1554
1568
  };
1555
1569
  } | {
1556
1570
  /** @constant */
1557
- version: "37";
1571
+ version: "39";
1558
1572
  /** @constant */
1559
1573
  type: "session_list";
1560
1574
  sessions: components["schemas"]["SessionRow"][];
@@ -1564,7 +1578,7 @@ export interface components {
1564
1578
  next: null;
1565
1579
  } | {
1566
1580
  /** @constant */
1567
- version: "37";
1581
+ version: "39";
1568
1582
  /** @constant */
1569
1583
  type: "session_list";
1570
1584
  sessions: components["schemas"]["ArchivedRowFields"][];
@@ -1580,7 +1594,7 @@ export interface components {
1580
1594
  };
1581
1595
  ListSessionsRequest: {
1582
1596
  /** @constant */
1583
- version: "37";
1597
+ version: "39";
1584
1598
  /** @constant */
1585
1599
  kind: "list_sessions";
1586
1600
  store: string;
@@ -1594,7 +1608,7 @@ export interface components {
1594
1608
  after_reference?: string;
1595
1609
  } | {
1596
1610
  /** @constant */
1597
- version: "37";
1611
+ version: "39";
1598
1612
  /** @constant */
1599
1613
  kind: "list_sessions";
1600
1614
  store: string;
@@ -1608,7 +1622,7 @@ export interface components {
1608
1622
  };
1609
1623
  MessageConflictReply: {
1610
1624
  /** @constant */
1611
- version: "37";
1625
+ version: "39";
1612
1626
  /** @constant */
1613
1627
  type: "message_reply";
1614
1628
  answer: {
@@ -1660,7 +1674,7 @@ export interface components {
1660
1674
  };
1661
1675
  MessageReply: {
1662
1676
  /** @constant */
1663
- version: "37";
1677
+ version: "39";
1664
1678
  /** @constant */
1665
1679
  type: "message_reply";
1666
1680
  answer: {
@@ -1682,7 +1696,7 @@ export interface components {
1682
1696
  };
1683
1697
  } | {
1684
1698
  /** @constant */
1685
- version: "37";
1699
+ version: "39";
1686
1700
  /** @constant */
1687
1701
  type: "message_reply";
1688
1702
  answer: {
@@ -1718,7 +1732,7 @@ export interface components {
1718
1732
  };
1719
1733
  } | {
1720
1734
  /** @constant */
1721
- version: "37";
1735
+ version: "39";
1722
1736
  /** @constant */
1723
1737
  type: "message_reply";
1724
1738
  answer: {
@@ -1727,7 +1741,7 @@ export interface components {
1727
1741
  replayed: boolean;
1728
1742
  session: string;
1729
1743
  /** @enum {string} */
1730
- code: "session_archiving" | "invalid_session_reference" | "unknown_session" | "unsupported_permission_mode" | "unknown_connection" | "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" | "connection_is_immutable" | "connection_wire_differs" | "model_is_immutable" | "revision_exhausted" | "skills_unavailable" | "preferences_on_update" | "invalid_app_tools" | "app_tools_too_large" | "invalid_app_tool_name" | "duplicate_app_tool_name" | "app_tool_built_in_clash" | "invalid_app_tool_policy" | "app_tools_on_child" | "skill_file_unavailable" | "skill_file_too_large" | "skill_text_invalid";
1744
+ code: "session_archiving" | "invalid_session_reference" | "unknown_session" | "unsupported_permission_mode" | "unknown_connection" | "connection_unserved" | "invalid_model" | "model_not_allowed" | "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" | "connection_is_immutable" | "connection_wire_differs" | "model_is_immutable" | "revision_exhausted" | "skills_unavailable" | "preferences_on_update" | "invalid_app_tools" | "app_tools_too_large" | "invalid_app_tool_name" | "duplicate_app_tool_name" | "app_tool_built_in_clash" | "invalid_app_tool_policy" | "app_tools_on_child" | "skill_file_unavailable" | "skill_file_too_large" | "skill_text_invalid";
1731
1745
  message: string | null;
1732
1746
  missing: ("model" | "workspace" | "connection")[] | null;
1733
1747
  };
@@ -1743,7 +1757,7 @@ export interface components {
1743
1757
  };
1744
1758
  } | {
1745
1759
  /** @constant */
1746
- version: "37";
1760
+ version: "39";
1747
1761
  /** @constant */
1748
1762
  type: "message_reply";
1749
1763
  answer: {
@@ -1752,7 +1766,7 @@ export interface components {
1752
1766
  replayed: boolean;
1753
1767
  session: string;
1754
1768
  /** @enum {string} */
1755
- code: "session_archiving" | "invalid_session_reference" | "unknown_session" | "unsupported_permission_mode" | "unknown_connection" | "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" | "connection_is_immutable" | "connection_wire_differs" | "model_is_immutable" | "revision_exhausted" | "skills_unavailable" | "preferences_on_update" | "invalid_app_tools" | "app_tools_too_large" | "invalid_app_tool_name" | "duplicate_app_tool_name" | "app_tool_built_in_clash" | "invalid_app_tool_policy" | "app_tools_on_child" | "skill_file_unavailable" | "skill_file_too_large" | "skill_text_invalid";
1769
+ code: "session_archiving" | "invalid_session_reference" | "unknown_session" | "unsupported_permission_mode" | "unknown_connection" | "connection_unserved" | "invalid_model" | "model_not_allowed" | "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" | "connection_is_immutable" | "connection_wire_differs" | "model_is_immutable" | "revision_exhausted" | "skills_unavailable" | "preferences_on_update" | "invalid_app_tools" | "app_tools_too_large" | "invalid_app_tool_name" | "duplicate_app_tool_name" | "app_tool_built_in_clash" | "invalid_app_tool_policy" | "app_tools_on_child" | "skill_file_unavailable" | "skill_file_too_large" | "skill_text_invalid";
1756
1770
  message: string | null;
1757
1771
  missing: ("model" | "workspace" | "connection")[] | null;
1758
1772
  };
@@ -1769,7 +1783,7 @@ export interface components {
1769
1783
  };
1770
1784
  MessageRequest: {
1771
1785
  /** @constant */
1772
- version: "37";
1786
+ version: "39";
1773
1787
  /** @constant */
1774
1788
  kind: "message";
1775
1789
  store: string;
@@ -1786,7 +1800,7 @@ export interface components {
1786
1800
  require_model?: true;
1787
1801
  } | {
1788
1802
  /** @constant */
1789
- version: "37";
1803
+ version: "39";
1790
1804
  /** @constant */
1791
1805
  kind: "message";
1792
1806
  store: string;
@@ -1799,7 +1813,7 @@ export interface components {
1799
1813
  };
1800
1814
  ModelInterruptionConflictReply: {
1801
1815
  /** @constant */
1802
- version: "37";
1816
+ version: "39";
1803
1817
  /** @constant */
1804
1818
  type: "model_interruption_reply";
1805
1819
  answer: {
@@ -1818,7 +1832,7 @@ export interface components {
1818
1832
  };
1819
1833
  ModelInterruptionReply: {
1820
1834
  /** @constant */
1821
- version: "37";
1835
+ version: "39";
1822
1836
  /** @constant */
1823
1837
  type: "model_interruption_reply";
1824
1838
  answer: {
@@ -1833,7 +1847,7 @@ export interface components {
1833
1847
  };
1834
1848
  } | {
1835
1849
  /** @constant */
1836
- version: "37";
1850
+ version: "39";
1837
1851
  /** @constant */
1838
1852
  type: "model_interruption_reply";
1839
1853
  answer: {
@@ -1851,7 +1865,7 @@ export interface components {
1851
1865
  };
1852
1866
  ModelInterruptionRequest: {
1853
1867
  /** @constant */
1854
- version: "37";
1868
+ version: "39";
1855
1869
  /** @constant */
1856
1870
  kind: "model_interruption";
1857
1871
  store: string;
@@ -1873,17 +1887,47 @@ export interface components {
1873
1887
  };
1874
1888
  ModelListReply: {
1875
1889
  /** @constant */
1876
- version: "37";
1890
+ version: "39";
1877
1891
  /** @constant */
1878
1892
  type: "model_list";
1879
1893
  connections: components["schemas"]["ModelListEntry"][];
1894
+ } | {
1895
+ /** @constant */
1896
+ version: "39";
1897
+ /** @constant */
1898
+ type: "model_refresh";
1899
+ connections: components["schemas"]["ModelListEntry"][];
1900
+ instance: string;
1901
+ generation: components["schemas"]["Decimal"];
1902
+ /** @enum {string} */
1903
+ status: "accepted" | "pending" | "succeeded" | "failed" | "superseded" | "unknown" | "stale_instance";
1880
1904
  };
1881
1905
  ModelListRequest: {
1882
1906
  /** @constant */
1883
- version: "37";
1907
+ version: "39";
1908
+ /** @constant */
1909
+ kind: "model_list";
1910
+ store: string;
1911
+ } | {
1912
+ /** @constant */
1913
+ version: "39";
1914
+ /** @constant */
1915
+ kind: "model_list";
1916
+ store: string;
1917
+ /** @constant */
1918
+ mode: "refresh";
1919
+ connection: string;
1920
+ } | {
1921
+ /** @constant */
1922
+ version: "39";
1884
1923
  /** @constant */
1885
1924
  kind: "model_list";
1886
1925
  store: string;
1926
+ /** @constant */
1927
+ mode: "observe";
1928
+ connection: string;
1929
+ instance: string;
1930
+ generation: components["schemas"]["Decimal"];
1887
1931
  };
1888
1932
  NamedPeer: {
1889
1933
  session: string;
@@ -1891,7 +1935,7 @@ export interface components {
1891
1935
  };
1892
1936
  ObserveCommandReply: {
1893
1937
  /** @constant */
1894
- version: "37";
1938
+ version: "39";
1895
1939
  /** @constant */
1896
1940
  type: "command_observation";
1897
1941
  key: string;
@@ -1904,7 +1948,7 @@ export interface components {
1904
1948
  };
1905
1949
  } | {
1906
1950
  /** @constant */
1907
- version: "37";
1951
+ version: "39";
1908
1952
  /** @constant */
1909
1953
  type: "command_observation";
1910
1954
  key: string;
@@ -1944,7 +1988,7 @@ export interface components {
1944
1988
  };
1945
1989
  } | ({
1946
1990
  /** @constant */
1947
- version: "37";
1991
+ version: "39";
1948
1992
  /** @constant */
1949
1993
  type: "command_observation";
1950
1994
  key: string;
@@ -1972,7 +2016,7 @@ export interface components {
1972
2016
  };
1973
2017
  } | {
1974
2018
  /** @constant */
1975
- version: "37";
2019
+ version: "39";
1976
2020
  /** @constant */
1977
2021
  type: "command_observation";
1978
2022
  key: string;
@@ -2005,7 +2049,7 @@ export interface components {
2005
2049
  };
2006
2050
  } | {
2007
2051
  /** @constant */
2008
- version: "37";
2052
+ version: "39";
2009
2053
  /** @constant */
2010
2054
  type: "command_observation";
2011
2055
  key: string;
@@ -2039,7 +2083,7 @@ export interface components {
2039
2083
  };
2040
2084
  } | {
2041
2085
  /** @constant */
2042
- version: "37";
2086
+ version: "39";
2043
2087
  /** @constant */
2044
2088
  type: "command_observation";
2045
2089
  key: string;
@@ -2071,7 +2115,7 @@ export interface components {
2071
2115
  };
2072
2116
  } | {
2073
2117
  /** @constant */
2074
- version: "37";
2118
+ version: "39";
2075
2119
  /** @constant */
2076
2120
  type: "command_observation";
2077
2121
  key: string;
@@ -2108,7 +2152,7 @@ export interface components {
2108
2152
  };
2109
2153
  } | {
2110
2154
  /** @constant */
2111
- version: "37";
2155
+ version: "39";
2112
2156
  /** @constant */
2113
2157
  type: "command_observation";
2114
2158
  key: string;
@@ -2146,7 +2190,7 @@ export interface components {
2146
2190
  };
2147
2191
  } | {
2148
2192
  /** @constant */
2149
- version: "37";
2193
+ version: "39";
2150
2194
  /** @constant */
2151
2195
  type: "command_observation";
2152
2196
  key: string;
@@ -2174,7 +2218,7 @@ export interface components {
2174
2218
  };
2175
2219
  } | {
2176
2220
  /** @constant */
2177
- version: "37";
2221
+ version: "39";
2178
2222
  /** @constant */
2179
2223
  type: "command_observation";
2180
2224
  key: string;
@@ -2212,7 +2256,7 @@ export interface components {
2212
2256
  };
2213
2257
  } | {
2214
2258
  /** @constant */
2215
- version: "37";
2259
+ version: "39";
2216
2260
  /** @constant */
2217
2261
  type: "command_observation";
2218
2262
  key: string;
@@ -2251,7 +2295,7 @@ export interface components {
2251
2295
  };
2252
2296
  } | {
2253
2297
  /** @constant */
2254
- version: "37";
2298
+ version: "39";
2255
2299
  /** @constant */
2256
2300
  type: "command_observation";
2257
2301
  key: string;
@@ -2284,7 +2328,7 @@ export interface components {
2284
2328
  };
2285
2329
  } | {
2286
2330
  /** @constant */
2287
- version: "37";
2331
+ version: "39";
2288
2332
  /** @constant */
2289
2333
  type: "command_observation";
2290
2334
  key: string;
@@ -2318,7 +2362,7 @@ export interface components {
2318
2362
  };
2319
2363
  } | {
2320
2364
  /** @constant */
2321
- version: "37";
2365
+ version: "39";
2322
2366
  /** @constant */
2323
2367
  type: "command_observation";
2324
2368
  key: string;
@@ -2351,7 +2395,7 @@ export interface components {
2351
2395
  };
2352
2396
  } | {
2353
2397
  /** @constant */
2354
- version: "37";
2398
+ version: "39";
2355
2399
  /** @constant */
2356
2400
  type: "command_observation";
2357
2401
  key: string;
@@ -2385,7 +2429,7 @@ export interface components {
2385
2429
  };
2386
2430
  } | {
2387
2431
  /** @constant */
2388
- version: "37";
2432
+ version: "39";
2389
2433
  /** @constant */
2390
2434
  type: "command_observation";
2391
2435
  key: string;
@@ -2404,7 +2448,7 @@ export interface components {
2404
2448
  };
2405
2449
  }) | {
2406
2450
  /** @constant */
2407
- version: "37";
2451
+ version: "39";
2408
2452
  /** @constant */
2409
2453
  type: "command_observation";
2410
2454
  key: string;
@@ -2456,7 +2500,7 @@ export interface components {
2456
2500
  };
2457
2501
  } | {
2458
2502
  /** @constant */
2459
- version: "37";
2503
+ version: "39";
2460
2504
  /** @constant */
2461
2505
  type: "command_observation";
2462
2506
  key: string;
@@ -2502,7 +2546,7 @@ export interface components {
2502
2546
  };
2503
2547
  } | {
2504
2548
  /** @constant */
2505
- version: "37";
2549
+ version: "39";
2506
2550
  /** @constant */
2507
2551
  type: "command_observation";
2508
2552
  key: string;
@@ -2548,7 +2592,7 @@ export interface components {
2548
2592
  };
2549
2593
  } | {
2550
2594
  /** @constant */
2551
- version: "37";
2595
+ version: "39";
2552
2596
  /** @constant */
2553
2597
  type: "command_observation";
2554
2598
  key: string;
@@ -2594,7 +2638,7 @@ export interface components {
2594
2638
  };
2595
2639
  } | {
2596
2640
  /** @constant */
2597
- version: "37";
2641
+ version: "39";
2598
2642
  /** @constant */
2599
2643
  type: "command_observation";
2600
2644
  key: string;
@@ -2632,7 +2676,7 @@ export interface components {
2632
2676
  };
2633
2677
  } | {
2634
2678
  /** @constant */
2635
- version: "37";
2679
+ version: "39";
2636
2680
  /** @constant */
2637
2681
  type: "command_observation";
2638
2682
  key: string;
@@ -2690,7 +2734,7 @@ export interface components {
2690
2734
  };
2691
2735
  } | {
2692
2736
  /** @constant */
2693
- version: "37";
2737
+ version: "39";
2694
2738
  /** @constant */
2695
2739
  type: "command_observation";
2696
2740
  key: string;
@@ -2740,7 +2784,7 @@ export interface components {
2740
2784
  };
2741
2785
  } | {
2742
2786
  /** @constant */
2743
- version: "37";
2787
+ version: "39";
2744
2788
  /** @constant */
2745
2789
  type: "command_observation";
2746
2790
  key: string;
@@ -2750,7 +2794,7 @@ export interface components {
2750
2794
  };
2751
2795
  ObserveCommandRequest: {
2752
2796
  /** @constant */
2753
- version: "37";
2797
+ version: "39";
2754
2798
  /** @constant */
2755
2799
  kind: "observe_command";
2756
2800
  store: string;
@@ -2781,7 +2825,7 @@ export interface components {
2781
2825
  };
2782
2826
  PermissionDecisionConflictReply: {
2783
2827
  /** @constant */
2784
- version: "37";
2828
+ version: "39";
2785
2829
  /** @constant */
2786
2830
  type: "permission_decision_reply";
2787
2831
  answer: {
@@ -2799,7 +2843,7 @@ export interface components {
2799
2843
  };
2800
2844
  PermissionDecisionReply: {
2801
2845
  /** @constant */
2802
- version: "37";
2846
+ version: "39";
2803
2847
  /** @constant */
2804
2848
  type: "permission_decision_reply";
2805
2849
  answer: {
@@ -2813,7 +2857,7 @@ export interface components {
2813
2857
  };
2814
2858
  } | {
2815
2859
  /** @constant */
2816
- version: "37";
2860
+ version: "39";
2817
2861
  /** @constant */
2818
2862
  type: "permission_decision_reply";
2819
2863
  answer: {
@@ -2830,7 +2874,7 @@ export interface components {
2830
2874
  };
2831
2875
  PermissionDecisionRequest: {
2832
2876
  /** @constant */
2833
- version: "37";
2877
+ version: "39";
2834
2878
  /** @constant */
2835
2879
  kind: "permission_decision";
2836
2880
  store: string;
@@ -2865,7 +2909,7 @@ export interface components {
2865
2909
  };
2866
2910
  PublicPartContentRequest: {
2867
2911
  /** @constant */
2868
- version: "37";
2912
+ version: "39";
2869
2913
  /** @constant */
2870
2914
  kind: "public_part_content";
2871
2915
  store: string;
@@ -2878,7 +2922,7 @@ export interface components {
2878
2922
  };
2879
2923
  PublicPartsReply: {
2880
2924
  /** @constant */
2881
- version: "37";
2925
+ version: "39";
2882
2926
  /** @constant */
2883
2927
  type: "public_parts";
2884
2928
  session: string;
@@ -2887,7 +2931,7 @@ export interface components {
2887
2931
  };
2888
2932
  PublicPartsRequest: {
2889
2933
  /** @constant */
2890
- version: "37";
2934
+ version: "39";
2891
2935
  /** @constant */
2892
2936
  kind: "public_parts";
2893
2937
  store: string;
@@ -2903,7 +2947,7 @@ export interface components {
2903
2947
  };
2904
2948
  ReadActionArgumentsRequest: {
2905
2949
  /** @constant */
2906
- version: "37";
2950
+ version: "39";
2907
2951
  /** @constant */
2908
2952
  kind: "read_action_arguments";
2909
2953
  store: string;
@@ -2912,7 +2956,7 @@ export interface components {
2912
2956
  };
2913
2957
  ReadActionCallIdRequest: {
2914
2958
  /** @constant */
2915
- version: "37";
2959
+ version: "39";
2916
2960
  /** @constant */
2917
2961
  kind: "read_action_call_id";
2918
2962
  store: string;
@@ -2921,7 +2965,7 @@ export interface components {
2921
2965
  };
2922
2966
  ReadActionReply: {
2923
2967
  /** @constant */
2924
- version: "37";
2968
+ version: "39";
2925
2969
  /** @constant */
2926
2970
  type: "action_read";
2927
2971
  session: string;
@@ -2933,6 +2977,7 @@ export interface components {
2933
2977
  items: {
2934
2978
  ordinal: components["schemas"]["Decimal"];
2935
2979
  key: string;
2980
+ published_at: components["schemas"]["Decimal"];
2936
2981
  text: string;
2937
2982
  }[];
2938
2983
  next: components["schemas"]["Decimal"];
@@ -2940,7 +2985,7 @@ export interface components {
2940
2985
  };
2941
2986
  } | {
2942
2987
  /** @constant */
2943
- version: "37";
2988
+ version: "39";
2944
2989
  /** @constant */
2945
2990
  type: "action_read";
2946
2991
  session: string;
@@ -2962,6 +3007,7 @@ export interface components {
2962
3007
  items: {
2963
3008
  ordinal: components["schemas"]["Decimal"];
2964
3009
  key: string;
3010
+ published_at: components["schemas"]["Decimal"];
2965
3011
  text: string;
2966
3012
  }[];
2967
3013
  next: components["schemas"]["Decimal"];
@@ -2969,7 +3015,7 @@ export interface components {
2969
3015
  };
2970
3016
  } | {
2971
3017
  /** @constant */
2972
- version: "37";
3018
+ version: "39";
2973
3019
  /** @constant */
2974
3020
  type: "action_read";
2975
3021
  session: string;
@@ -2986,6 +3032,7 @@ export interface components {
2986
3032
  items: {
2987
3033
  ordinal: components["schemas"]["Decimal"];
2988
3034
  key: string;
3035
+ published_at: components["schemas"]["Decimal"];
2989
3036
  text: string;
2990
3037
  }[];
2991
3038
  next: components["schemas"]["Decimal"];
@@ -2994,7 +3041,7 @@ export interface components {
2994
3041
  };
2995
3042
  ReadActionRequest: {
2996
3043
  /** @constant */
2997
- version: "37";
3044
+ version: "39";
2998
3045
  /** @constant */
2999
3046
  kind: "read_action";
3000
3047
  store: string;
@@ -3005,7 +3052,7 @@ export interface components {
3005
3052
  };
3006
3053
  ReadResultRequest: {
3007
3054
  /** @constant */
3008
- version: "37";
3055
+ version: "39";
3009
3056
  /** @constant */
3010
3057
  kind: "read_result";
3011
3058
  store: string;
@@ -3013,7 +3060,7 @@ export interface components {
3013
3060
  };
3014
3061
  SessionArchiveConflictReply: {
3015
3062
  /** @constant */
3016
- version: "37";
3063
+ version: "39";
3017
3064
  /** @constant */
3018
3065
  type: "session_archive_reply";
3019
3066
  answer: {
@@ -3032,7 +3079,7 @@ export interface components {
3032
3079
  };
3033
3080
  SessionArchiveReply: {
3034
3081
  /** @constant */
3035
- version: "37";
3082
+ version: "39";
3036
3083
  /** @constant */
3037
3084
  type: "session_archive_reply";
3038
3085
  answer: {
@@ -3048,7 +3095,7 @@ export interface components {
3048
3095
  };
3049
3096
  } | {
3050
3097
  /** @constant */
3051
- version: "37";
3098
+ version: "39";
3052
3099
  /** @constant */
3053
3100
  type: "session_archive_reply";
3054
3101
  answer: {
@@ -3066,7 +3113,7 @@ export interface components {
3066
3113
  };
3067
3114
  SessionArchiveRequest: {
3068
3115
  /** @constant */
3069
- version: "37";
3116
+ version: "39";
3070
3117
  /** @constant */
3071
3118
  kind: "session_archive";
3072
3119
  store: string;
@@ -3076,7 +3123,7 @@ export interface components {
3076
3123
  };
3077
3124
  SessionPinConflictReply: {
3078
3125
  /** @constant */
3079
- version: "37";
3126
+ version: "39";
3080
3127
  /** @constant */
3081
3128
  type: "session_pin_reply";
3082
3129
  answer: {
@@ -3091,7 +3138,7 @@ export interface components {
3091
3138
  };
3092
3139
  SessionPinReply: {
3093
3140
  /** @constant */
3094
- version: "37";
3141
+ version: "39";
3095
3142
  /** @constant */
3096
3143
  type: "session_pin_reply";
3097
3144
  answer: {
@@ -3103,7 +3150,7 @@ export interface components {
3103
3150
  };
3104
3151
  } | {
3105
3152
  /** @constant */
3106
- version: "37";
3153
+ version: "39";
3107
3154
  /** @constant */
3108
3155
  type: "session_pin_reply";
3109
3156
  answer: {
@@ -3117,7 +3164,7 @@ export interface components {
3117
3164
  };
3118
3165
  SessionPinRequest: {
3119
3166
  /** @constant */
3120
- version: "37";
3167
+ version: "39";
3121
3168
  /** @constant */
3122
3169
  kind: "session_pin";
3123
3170
  store: string;
@@ -3155,7 +3202,7 @@ export interface components {
3155
3202
  };
3156
3203
  SessionStopConflictReply: {
3157
3204
  /** @constant */
3158
- version: "37";
3205
+ version: "39";
3159
3206
  /** @constant */
3160
3207
  type: "session_stop_reply";
3161
3208
  answer: {
@@ -3174,7 +3221,7 @@ export interface components {
3174
3221
  };
3175
3222
  SessionStopReply: {
3176
3223
  /** @constant */
3177
- version: "37";
3224
+ version: "39";
3178
3225
  /** @constant */
3179
3226
  type: "session_stop_reply";
3180
3227
  answer: {
@@ -3193,7 +3240,7 @@ export interface components {
3193
3240
  };
3194
3241
  } | {
3195
3242
  /** @constant */
3196
- version: "37";
3243
+ version: "39";
3197
3244
  /** @constant */
3198
3245
  type: "session_stop_reply";
3199
3246
  answer: {
@@ -3211,7 +3258,7 @@ export interface components {
3211
3258
  };
3212
3259
  SessionStopRequest: {
3213
3260
  /** @constant */
3214
- version: "37";
3261
+ version: "39";
3215
3262
  /** @constant */
3216
3263
  kind: "session_stop";
3217
3264
  store: string;
@@ -3227,7 +3274,7 @@ export interface components {
3227
3274
  };
3228
3275
  SkillSuggestionsReply: {
3229
3276
  /** @constant */
3230
- version: "37";
3277
+ version: "39";
3231
3278
  /** @constant */
3232
3279
  type: "skill_suggestions";
3233
3280
  revision: components["schemas"]["Decimal"];
@@ -3239,7 +3286,7 @@ export interface components {
3239
3286
  };
3240
3287
  SkillSuggestionsRequest: {
3241
3288
  /** @constant */
3242
- version: "37";
3289
+ version: "39";
3243
3290
  /** @constant */
3244
3291
  kind: "skill_suggestions";
3245
3292
  store: string;
@@ -3247,7 +3294,7 @@ export interface components {
3247
3294
  prefix: string;
3248
3295
  } | {
3249
3296
  /** @constant */
3250
- version: "37";
3297
+ version: "39";
3251
3298
  /** @constant */
3252
3299
  kind: "skill_suggestions";
3253
3300
  store: string;
@@ -3276,7 +3323,7 @@ export interface components {
3276
3323
  };
3277
3324
  ToolsReloadReply: {
3278
3325
  /** @constant */
3279
- version: "37";
3326
+ version: "39";
3280
3327
  /** @constant */
3281
3328
  type: "tools_reload_reply";
3282
3329
  instance: string;
@@ -3287,13 +3334,13 @@ export interface components {
3287
3334
  };
3288
3335
  ToolsReloadRequest: {
3289
3336
  /** @constant */
3290
- version: "37";
3337
+ version: "39";
3291
3338
  /** @constant */
3292
3339
  kind: "tools_reload";
3293
3340
  store: string;
3294
3341
  } | {
3295
3342
  /** @constant */
3296
- version: "37";
3343
+ version: "39";
3297
3344
  /** @constant */
3298
3345
  kind: "tools_reload";
3299
3346
  store: string;
@@ -3301,7 +3348,7 @@ export interface components {
3301
3348
  };
3302
3349
  ToolsStatusReply: {
3303
3350
  /** @constant */
3304
- version: "37";
3351
+ version: "39";
3305
3352
  /** @constant */
3306
3353
  type: "tools_status";
3307
3354
  instance: string;
@@ -3320,7 +3367,7 @@ export interface components {
3320
3367
  };
3321
3368
  ToolsStatusRequest: {
3322
3369
  /** @constant */
3323
- version: "37";
3370
+ version: "39";
3324
3371
  /** @constant */
3325
3372
  kind: "tools_status";
3326
3373
  store: string;
@@ -3398,6 +3445,30 @@ export interface components {
3398
3445
  unresolved: components["schemas"]["domainreportCurrentJsonUnresolved"][];
3399
3446
  resolved: components["schemas"]["domainreportCurrentJsonResolved"][];
3400
3447
  };
3448
+ domainreportCurrentJsonBackground: {
3449
+ action: components["schemas"]["Decimal"];
3450
+ /** @enum {string} */
3451
+ tool: "bash" | "find_tools" | "message_agent" | "read_image" | "read_transcript" | "skill" | "start_agent" | "stop_action" | "watch_github_pr" | "web_search";
3452
+ presentation: components["schemas"]["ToolPresentation"];
3453
+ attempted_at: components["schemas"]["Decimal"] | null;
3454
+ background_at: components["schemas"]["Decimal"];
3455
+ values: components["schemas"]["Decimal"];
3456
+ latest_value: components["schemas"]["domainreportCurrentJsonBackgroundValue"] | null;
3457
+ } | {
3458
+ action: components["schemas"]["Decimal"];
3459
+ tool: string;
3460
+ server: string;
3461
+ presentation: components["schemas"]["ToolPresentation"];
3462
+ attempted_at: components["schemas"]["Decimal"] | null;
3463
+ background_at: components["schemas"]["Decimal"];
3464
+ values: components["schemas"]["Decimal"];
3465
+ latest_value: components["schemas"]["domainreportCurrentJsonBackgroundValue"] | null;
3466
+ };
3467
+ domainreportCurrentJsonBackgroundValue: {
3468
+ ordinal: components["schemas"]["Decimal"];
3469
+ published_at: components["schemas"]["Decimal"];
3470
+ text: components["schemas"]["ContentValue"];
3471
+ };
3401
3472
  domainreportCurrentJsonOutcome: {
3402
3473
  code: string;
3403
3474
  content: components["schemas"]["ContentValue"] | null;
@@ -3542,7 +3613,7 @@ export interface components {
3542
3613
  ordinal: components["schemas"]["Decimal"];
3543
3614
  position: components["schemas"]["Decimal"];
3544
3615
  /** @enum {string} */
3545
- kind: "message" | "settings" | "assistant" | "skill";
3616
+ kind: "message" | "settings" | "assistant" | "skill" | "agents_md";
3546
3617
  turn: components["schemas"]["Decimal"] | null;
3547
3618
  source_admission: components["schemas"]["Decimal"] | null;
3548
3619
  source_revision: components["schemas"]["Decimal"] | null;
@@ -3690,7 +3761,7 @@ export interface components {
3690
3761
  responses: never;
3691
3762
  parameters: {
3692
3763
  /** @description The wire version this document describes. Any other version is refused. */
3693
- WireVersion: "37";
3764
+ WireVersion: "39";
3694
3765
  /** @description The Host instance (from host-info) the request is meant for; a different instance refuses it. */
3695
3766
  HostInstance: string;
3696
3767
  /** @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.102.0",
3
+ "version": "0.104.0",
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.102.0",
36
- "ruicode-linux-arm64": "0.102.0",
37
- "ruicode-darwin-arm64": "0.102.0"
35
+ "ruicode-linux-x64": "0.104.0",
36
+ "ruicode-linux-arm64": "0.104.0",
37
+ "ruicode-darwin-arm64": "0.104.0"
38
38
  }
39
39
  }