ruicode 0.75.0 → 0.75.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/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export { Rui, type HostSettings, type ClientOptions, type ExitEvent } from "./client.ts";
2
2
  export { RuiRequestError, RuiStartError, RuiUnavailableError } from "./errors.ts";
3
- export { Session, Sessions, type AgentSpec, type ListSessionsOptions, type SessionArchiveState, type SessionArchiveResult, type SessionPinResult, type SessionCreate, type ModelSummary, type SendOptions, type SessionSpec, type SessionSummary, type SessionStatus, type SessionUpdate, type WriteOptions, } from "./sessions.ts";
3
+ export { Session, Sessions, type AgentSpec, type ActionStatus, type ListSessionsOptions, type SessionArchiveState, type SessionArchiveResult, type SessionPinResult, type SessionCreate, type ModelSummary, type SendOptions, type SessionSpec, type SessionSummary, type SessionStatus, type SessionUpdate, type WriteOptions, } from "./sessions.ts";
4
4
  export { FEED_KINDS, INLINE_TEXT_BYTES, type FeedEntry, type FeedKind, type ListActivityOptions, type SearchActivityOptions, type ActivitySearchEntry } from "./feed.ts";
@@ -8,6 +8,7 @@ export interface Link {
8
8
  exchange(path: string, build: (store: string) => string, environment?: Buffer, limits?: ReplyLimits): Promise<Buffer>;
9
9
  }
10
10
  type Schemas = components["schemas"];
11
+ export type ActionStatus = Schemas["ReadActionReply"];
11
12
  /** The Session settings the Host takes today. */
12
13
  export interface AgentSpec {
13
14
  /** The working directory for Bash. Required with `bash`, fixed for the Session's life. */
@@ -141,6 +142,8 @@ export declare class Session {
141
142
  pin(options?: WriteOptions): Promise<SessionPinResult>;
142
143
  /** Removes this Session's pin without changing its work. */
143
144
  unpin(options?: WriteOptions): Promise<SessionPinResult>;
145
+ /** Reads an owned Action. Acceptance and attempted state do not assert a running process. */
146
+ readAction(action: string, offset?: string): Promise<ActionStatus>;
144
147
  /**
145
148
  * Cuts off the model call that is current now while the Session keeps going.
146
149
  * It takes no key: each call names the work it sees at that moment, so a
package/dist/sessions.js CHANGED
@@ -188,6 +188,12 @@ export class Session {
188
188
  this.#link.activity?.notify(this.id);
189
189
  return { pinned: answer.pinned };
190
190
  }
191
+ /** Reads an owned Action. Acceptance and attempted state do not assert a running process. */
192
+ async readAction(action, offset = "0") {
193
+ return parse(await this.#link.exchange("/v1/read-action", (store) => JSON.stringify({
194
+ version: WIRE_VERSION, kind: "read_action", store, session: this.id, action, offset,
195
+ })));
196
+ }
191
197
  /**
192
198
  * Cuts off the model call that is current now while the Session keeps going.
193
199
  * It takes no key: each call names the work it sees at that moment, so a
@@ -1,5 +1,5 @@
1
1
  /** The wire version openapi.json describes. A test keeps the two equal. */
2
- export declare const WIRE_VERSION = "18";
2
+ export declare const WIRE_VERSION = "19";
3
3
  export interface Post {
4
4
  socketPath: string;
5
5
  path: string;
package/dist/transport.js CHANGED
@@ -4,7 +4,7 @@
4
4
  import { request } from "node:http";
5
5
  import { RuiRequestError } from "./errors.js";
6
6
  /** The wire version openapi.json describes. A test keeps the two equal. */
7
- export const WIRE_VERSION = "18";
7
+ export const WIRE_VERSION = "19";
8
8
  /** The largest reply body read. The Host's own replies stay far below it. */
9
9
  const MAX_REPLY_BYTES = 64 * 1024 * 1024;
10
10
  /** After the request is sent, the longest the Host may stay silent before its first reply byte. */
package/dist/wire.d.ts CHANGED
@@ -173,6 +173,23 @@ export interface paths {
173
173
  patch?: never;
174
174
  trace?: never;
175
175
  };
176
+ "/v1/read-action": {
177
+ parameters: {
178
+ query?: never;
179
+ header?: never;
180
+ path?: never;
181
+ cookie?: never;
182
+ };
183
+ get?: never;
184
+ put?: never;
185
+ /** Reads one Session-owned Action's status and one bounded final-result window without waiting or consuming it. */
186
+ post: operations["readAction"];
187
+ delete?: never;
188
+ options?: never;
189
+ head?: never;
190
+ patch?: never;
191
+ trace?: never;
192
+ };
176
193
  "/v1/observe-command": {
177
194
  parameters: {
178
195
  query?: never;
@@ -400,7 +417,7 @@ export interface components {
400
417
  schemas: {
401
418
  ActivityContentRequest: {
402
419
  /** @constant */
403
- version: "18";
420
+ version: "19";
404
421
  /** @constant */
405
422
  kind: "activity_content";
406
423
  store: string;
@@ -619,7 +636,7 @@ export interface components {
619
636
  };
620
637
  ActivityPageReply: {
621
638
  /** @constant */
622
- version: "18";
639
+ version: "19";
623
640
  /** @constant */
624
641
  type: "activity_page";
625
642
  end: components["schemas"]["Decimal"];
@@ -635,7 +652,7 @@ export interface components {
635
652
  since: string | null;
636
653
  } | {
637
654
  /** @constant */
638
- version: "18";
655
+ version: "19";
639
656
  /** @constant */
640
657
  type: "activity_page";
641
658
  /** @constant */
@@ -644,7 +661,7 @@ export interface components {
644
661
  };
645
662
  ActivityPageRequest: {
646
663
  /** @constant */
647
- version: "18";
664
+ version: "19";
648
665
  /** @constant */
649
666
  kind: "activity_page";
650
667
  store: string;
@@ -677,7 +694,7 @@ export interface components {
677
694
  };
678
695
  ActivitySearchReply: {
679
696
  /** @constant */
680
- version: "18";
697
+ version: "19";
681
698
  /** @constant */
682
699
  type: "activity_search";
683
700
  items: components["schemas"]["ActivitySearchItem"][];
@@ -685,7 +702,7 @@ export interface components {
685
702
  };
686
703
  ActivitySearchRequest: {
687
704
  /** @constant */
688
- version: "18";
705
+ version: "19";
689
706
  /** @constant */
690
707
  kind: "activity_search";
691
708
  store: string;
@@ -745,7 +762,7 @@ export interface components {
745
762
  };
746
763
  ConfigureConflictReply: {
747
764
  /** @constant */
748
- version: "18";
765
+ version: "19";
749
766
  /** @constant */
750
767
  type: "configuration_reply";
751
768
  answer: {
@@ -766,7 +783,7 @@ export interface components {
766
783
  };
767
784
  ConfigureReply: {
768
785
  /** @constant */
769
- version: "18";
786
+ version: "19";
770
787
  /** @constant */
771
788
  type: "configuration_reply";
772
789
  answer: {
@@ -785,7 +802,7 @@ export interface components {
785
802
  };
786
803
  } | {
787
804
  /** @constant */
788
- version: "18";
805
+ version: "19";
789
806
  /** @constant */
790
807
  type: "configuration_reply";
791
808
  answer: {
@@ -807,7 +824,7 @@ export interface components {
807
824
  };
808
825
  } | {
809
826
  /** @constant */
810
- version: "18";
827
+ version: "19";
811
828
  /** @constant */
812
829
  type: "configuration_reply";
813
830
  answer: {
@@ -828,7 +845,7 @@ export interface components {
828
845
  };
829
846
  ConfigureRequest: {
830
847
  /** @constant */
831
- version: "18";
848
+ version: "19";
832
849
  /** @constant */
833
850
  kind: "configure";
834
851
  store: string;
@@ -843,7 +860,7 @@ export interface components {
843
860
  };
844
861
  ConversationContentRequest: {
845
862
  /** @constant */
846
- version: "18";
863
+ version: "19";
847
864
  /** @constant */
848
865
  kind: "conversation_content";
849
866
  store: string;
@@ -857,7 +874,7 @@ export interface components {
857
874
  };
858
875
  ConversationPageReply: {
859
876
  /** @constant */
860
- version: "18";
877
+ version: "19";
861
878
  /** @constant */
862
879
  type: "conversation_page";
863
880
  /** @constant */
@@ -937,7 +954,7 @@ export interface components {
937
954
  more: false;
938
955
  } | {
939
956
  /** @constant */
940
- version: "18";
957
+ version: "19";
941
958
  /** @constant */
942
959
  type: "conversation_page";
943
960
  /** @constant */
@@ -1020,7 +1037,7 @@ export interface components {
1020
1037
  };
1021
1038
  ConversationPageRequest: {
1022
1039
  /** @constant */
1023
- version: "18";
1040
+ version: "19";
1024
1041
  /** @constant */
1025
1042
  kind: "conversation_page";
1026
1043
  store: string;
@@ -1033,7 +1050,7 @@ export interface components {
1033
1050
  Decimal: string;
1034
1051
  ErrorReply: {
1035
1052
  /** @constant */
1036
- version: "18";
1053
+ version: "19";
1037
1054
  /** @enum {string} */
1038
1055
  type: "invocation_error" | "observation_error" | "busy" | "unsupported" | "host_unavailable" | "result_unavailable" | "action_unavailable" | "conversation_unavailable" | "activity_unavailable" | "failed_response_unavailable";
1039
1056
  code: string;
@@ -1047,7 +1064,7 @@ export interface components {
1047
1064
  };
1048
1065
  HostInfoReply: {
1049
1066
  /** @constant */
1050
- version: "18";
1067
+ version: "19";
1051
1068
  /** @constant */
1052
1069
  type: "host_info";
1053
1070
  store: string;
@@ -1074,21 +1091,21 @@ export interface components {
1074
1091
  };
1075
1092
  HostInfoRequest: {
1076
1093
  /** @constant */
1077
- version: "18";
1094
+ version: "19";
1078
1095
  /** @constant */
1079
1096
  kind: "host_info";
1080
1097
  store: string;
1081
1098
  };
1082
1099
  HostPauseReply: {
1083
1100
  /** @constant */
1084
- version: "18";
1101
+ version: "19";
1085
1102
  /** @constant */
1086
1103
  type: "host_pause_reply";
1087
1104
  paused: boolean;
1088
1105
  };
1089
1106
  HostPauseRequest: {
1090
1107
  /** @constant */
1091
- version: "18";
1108
+ version: "19";
1092
1109
  /** @constant */
1093
1110
  kind: "host_pause";
1094
1111
  store: string;
@@ -1225,7 +1242,7 @@ export interface components {
1225
1242
  };
1226
1243
  HostStopReply: {
1227
1244
  /** @constant */
1228
- version: "18";
1245
+ version: "19";
1229
1246
  /** @constant */
1230
1247
  type: "host_stop_reply";
1231
1248
  /** @constant */
@@ -1233,14 +1250,14 @@ export interface components {
1233
1250
  };
1234
1251
  HostStopRequest: {
1235
1252
  /** @constant */
1236
- version: "18";
1253
+ version: "19";
1237
1254
  /** @constant */
1238
1255
  kind: "host_stop";
1239
1256
  store: string;
1240
1257
  };
1241
1258
  InspectSessionReply: {
1242
1259
  /** @constant */
1243
- version: "18";
1260
+ version: "19";
1244
1261
  /** @constant */
1245
1262
  type: "session_report";
1246
1263
  /** @constant */
@@ -1263,7 +1280,7 @@ export interface components {
1263
1280
  execution: components["schemas"]["domainreportExecutionJson"];
1264
1281
  } | {
1265
1282
  /** @constant */
1266
- version: "18";
1283
+ version: "19";
1267
1284
  /** @constant */
1268
1285
  type: "session_report";
1269
1286
  /** @constant */
@@ -1284,7 +1301,7 @@ export interface components {
1284
1301
  execution: components["schemas"]["domainreportExecutionJson"];
1285
1302
  } | {
1286
1303
  /** @constant */
1287
- version: "18";
1304
+ version: "19";
1288
1305
  /** @constant */
1289
1306
  type: "session_report";
1290
1307
  /** @constant */
@@ -1303,7 +1320,7 @@ export interface components {
1303
1320
  };
1304
1321
  } | {
1305
1322
  /** @constant */
1306
- version: "18";
1323
+ version: "19";
1307
1324
  /** @constant */
1308
1325
  type: "session_report";
1309
1326
  /** @constant */
@@ -1320,7 +1337,7 @@ export interface components {
1320
1337
  };
1321
1338
  InspectSessionRequest: {
1322
1339
  /** @constant */
1323
- version: "18";
1340
+ version: "19";
1324
1341
  /** @constant */
1325
1342
  kind: "inspect_session";
1326
1343
  store: string;
@@ -1328,7 +1345,7 @@ export interface components {
1328
1345
  since?: string | null;
1329
1346
  } | {
1330
1347
  /** @constant */
1331
- version: "18";
1348
+ version: "19";
1332
1349
  /** @constant */
1333
1350
  kind: "inspect_session";
1334
1351
  store: string;
@@ -1337,7 +1354,7 @@ export interface components {
1337
1354
  profile: "full";
1338
1355
  } | {
1339
1356
  /** @constant */
1340
- version: "18";
1357
+ version: "19";
1341
1358
  /** @constant */
1342
1359
  kind: "inspect_session";
1343
1360
  store: string;
@@ -1353,7 +1370,7 @@ export interface components {
1353
1370
  };
1354
1371
  ListSessionsReply: {
1355
1372
  /** @constant */
1356
- version: "18";
1373
+ version: "19";
1357
1374
  /** @constant */
1358
1375
  type: "session_list";
1359
1376
  sessions: components["schemas"]["SessionRow"][];
@@ -1366,7 +1383,7 @@ export interface components {
1366
1383
  };
1367
1384
  } | {
1368
1385
  /** @constant */
1369
- version: "18";
1386
+ version: "19";
1370
1387
  /** @constant */
1371
1388
  type: "session_list";
1372
1389
  sessions: components["schemas"]["SessionRow"][];
@@ -1379,7 +1396,7 @@ export interface components {
1379
1396
  };
1380
1397
  } | {
1381
1398
  /** @constant */
1382
- version: "18";
1399
+ version: "19";
1383
1400
  /** @constant */
1384
1401
  type: "session_list";
1385
1402
  sessions: components["schemas"]["SessionRow"][];
@@ -1390,7 +1407,7 @@ export interface components {
1390
1407
  };
1391
1408
  ListSessionsRequest: {
1392
1409
  /** @constant */
1393
- version: "18";
1410
+ version: "19";
1394
1411
  /** @constant */
1395
1412
  kind: "list_sessions";
1396
1413
  store: string;
@@ -1405,7 +1422,7 @@ export interface components {
1405
1422
  };
1406
1423
  MessageConflictReply: {
1407
1424
  /** @constant */
1408
- version: "18";
1425
+ version: "19";
1409
1426
  /** @constant */
1410
1427
  type: "message_reply";
1411
1428
  answer: {
@@ -1434,7 +1451,7 @@ export interface components {
1434
1451
  };
1435
1452
  MessageReply: {
1436
1453
  /** @constant */
1437
- version: "18";
1454
+ version: "19";
1438
1455
  /** @constant */
1439
1456
  type: "message_reply";
1440
1457
  answer: {
@@ -1461,7 +1478,7 @@ export interface components {
1461
1478
  };
1462
1479
  } | {
1463
1480
  /** @constant */
1464
- version: "18";
1481
+ version: "19";
1465
1482
  /** @constant */
1466
1483
  type: "message_reply";
1467
1484
  answer: {
@@ -1486,7 +1503,7 @@ export interface components {
1486
1503
  };
1487
1504
  MessageRequest: {
1488
1505
  /** @constant */
1489
- version: "18";
1506
+ version: "19";
1490
1507
  /** @constant */
1491
1508
  kind: "message";
1492
1509
  store: string;
@@ -1509,7 +1526,7 @@ export interface components {
1509
1526
  };
1510
1527
  ModelInterruptionConflictReply: {
1511
1528
  /** @constant */
1512
- version: "18";
1529
+ version: "19";
1513
1530
  /** @constant */
1514
1531
  type: "model_interruption_reply";
1515
1532
  answer: {
@@ -1528,7 +1545,7 @@ export interface components {
1528
1545
  };
1529
1546
  ModelInterruptionReply: {
1530
1547
  /** @constant */
1531
- version: "18";
1548
+ version: "19";
1532
1549
  /** @constant */
1533
1550
  type: "model_interruption_reply";
1534
1551
  answer: {
@@ -1543,7 +1560,7 @@ export interface components {
1543
1560
  };
1544
1561
  } | {
1545
1562
  /** @constant */
1546
- version: "18";
1563
+ version: "19";
1547
1564
  /** @constant */
1548
1565
  type: "model_interruption_reply";
1549
1566
  answer: {
@@ -1561,7 +1578,7 @@ export interface components {
1561
1578
  };
1562
1579
  ModelInterruptionRequest: {
1563
1580
  /** @constant */
1564
- version: "18";
1581
+ version: "19";
1565
1582
  /** @constant */
1566
1583
  kind: "model_interruption";
1567
1584
  store: string;
@@ -1584,14 +1601,14 @@ export interface components {
1584
1601
  };
1585
1602
  ModelListReply: {
1586
1603
  /** @constant */
1587
- version: "18";
1604
+ version: "19";
1588
1605
  /** @constant */
1589
1606
  type: "model_list";
1590
1607
  providers: components["schemas"]["ModelListEntry"][];
1591
1608
  };
1592
1609
  ModelListRequest: {
1593
1610
  /** @constant */
1594
- version: "18";
1611
+ version: "19";
1595
1612
  /** @constant */
1596
1613
  kind: "model_list";
1597
1614
  store: string;
@@ -1602,7 +1619,7 @@ export interface components {
1602
1619
  };
1603
1620
  ObserveCommandReply: {
1604
1621
  /** @constant */
1605
- version: "18";
1622
+ version: "19";
1606
1623
  /** @constant */
1607
1624
  type: "command_observation";
1608
1625
  key: string;
@@ -1615,7 +1632,7 @@ export interface components {
1615
1632
  };
1616
1633
  } | {
1617
1634
  /** @constant */
1618
- version: "18";
1635
+ version: "19";
1619
1636
  /** @constant */
1620
1637
  type: "command_observation";
1621
1638
  key: string;
@@ -1655,7 +1672,7 @@ export interface components {
1655
1672
  };
1656
1673
  } | {
1657
1674
  /** @constant */
1658
- version: "18";
1675
+ version: "19";
1659
1676
  /** @constant */
1660
1677
  type: "command_observation";
1661
1678
  key: string;
@@ -2464,7 +2481,7 @@ export interface components {
2464
2481
  };
2465
2482
  } | {
2466
2483
  /** @constant */
2467
- version: "18";
2484
+ version: "19";
2468
2485
  /** @constant */
2469
2486
  type: "command_observation";
2470
2487
  key: string;
@@ -2516,7 +2533,7 @@ export interface components {
2516
2533
  };
2517
2534
  } | {
2518
2535
  /** @constant */
2519
- version: "18";
2536
+ version: "19";
2520
2537
  /** @constant */
2521
2538
  type: "command_observation";
2522
2539
  key: string;
@@ -2562,7 +2579,7 @@ export interface components {
2562
2579
  };
2563
2580
  } | {
2564
2581
  /** @constant */
2565
- version: "18";
2582
+ version: "19";
2566
2583
  /** @constant */
2567
2584
  type: "command_observation";
2568
2585
  key: string;
@@ -2608,7 +2625,7 @@ export interface components {
2608
2625
  };
2609
2626
  } | {
2610
2627
  /** @constant */
2611
- version: "18";
2628
+ version: "19";
2612
2629
  /** @constant */
2613
2630
  type: "command_observation";
2614
2631
  key: string;
@@ -2654,7 +2671,7 @@ export interface components {
2654
2671
  };
2655
2672
  } | {
2656
2673
  /** @constant */
2657
- version: "18";
2674
+ version: "19";
2658
2675
  /** @constant */
2659
2676
  type: "command_observation";
2660
2677
  key: string;
@@ -2692,7 +2709,7 @@ export interface components {
2692
2709
  };
2693
2710
  } | {
2694
2711
  /** @constant */
2695
- version: "18";
2712
+ version: "19";
2696
2713
  /** @constant */
2697
2714
  type: "command_observation";
2698
2715
  key: string;
@@ -2702,7 +2719,7 @@ export interface components {
2702
2719
  };
2703
2720
  ObserveCommandRequest: {
2704
2721
  /** @constant */
2705
- version: "18";
2722
+ version: "19";
2706
2723
  /** @constant */
2707
2724
  kind: "observe_command";
2708
2725
  store: string;
@@ -2727,7 +2744,7 @@ export interface components {
2727
2744
  };
2728
2745
  PermissionDecisionConflictReply: {
2729
2746
  /** @constant */
2730
- version: "18";
2747
+ version: "19";
2731
2748
  /** @constant */
2732
2749
  type: "permission_decision_reply";
2733
2750
  answer: {
@@ -2745,7 +2762,7 @@ export interface components {
2745
2762
  };
2746
2763
  PermissionDecisionReply: {
2747
2764
  /** @constant */
2748
- version: "18";
2765
+ version: "19";
2749
2766
  /** @constant */
2750
2767
  type: "permission_decision_reply";
2751
2768
  answer: {
@@ -2759,7 +2776,7 @@ export interface components {
2759
2776
  };
2760
2777
  } | {
2761
2778
  /** @constant */
2762
- version: "18";
2779
+ version: "19";
2763
2780
  /** @constant */
2764
2781
  type: "permission_decision_reply";
2765
2782
  answer: {
@@ -2776,7 +2793,7 @@ export interface components {
2776
2793
  };
2777
2794
  PermissionDecisionRequest: {
2778
2795
  /** @constant */
2779
- version: "18";
2796
+ version: "19";
2780
2797
  /** @constant */
2781
2798
  kind: "permission_decision";
2782
2799
  store: string;
@@ -2794,7 +2811,7 @@ export interface components {
2794
2811
  };
2795
2812
  ReadActionArgumentsRequest: {
2796
2813
  /** @constant */
2797
- version: "18";
2814
+ version: "19";
2798
2815
  /** @constant */
2799
2816
  kind: "read_action_arguments";
2800
2817
  store: string;
@@ -2803,16 +2820,60 @@ export interface components {
2803
2820
  };
2804
2821
  ReadActionCallIdRequest: {
2805
2822
  /** @constant */
2806
- version: "18";
2823
+ version: "19";
2807
2824
  /** @constant */
2808
2825
  kind: "read_action_call_id";
2809
2826
  store: string;
2810
2827
  session: string;
2811
2828
  action: components["schemas"]["Decimal"];
2812
2829
  };
2830
+ ReadActionReply: {
2831
+ /** @constant */
2832
+ version: "19";
2833
+ /** @constant */
2834
+ type: "action_read";
2835
+ session: string;
2836
+ action: components["schemas"]["Decimal"];
2837
+ /** @enum {string} */
2838
+ state: "waiting_approval" | "queued" | "attempted";
2839
+ final: null;
2840
+ } | {
2841
+ /** @constant */
2842
+ version: "19";
2843
+ /** @constant */
2844
+ type: "action_read";
2845
+ session: string;
2846
+ action: components["schemas"]["Decimal"];
2847
+ /** @constant */
2848
+ state: "resolved";
2849
+ final: {
2850
+ position: components["schemas"]["Decimal"];
2851
+ code: string;
2852
+ content: {
2853
+ bytes: components["schemas"]["Decimal"];
2854
+ sha256: string;
2855
+ };
2856
+ window: {
2857
+ offset: components["schemas"]["Decimal"];
2858
+ next: components["schemas"]["Decimal"];
2859
+ more: boolean;
2860
+ text: string;
2861
+ };
2862
+ };
2863
+ };
2864
+ ReadActionRequest: {
2865
+ /** @constant */
2866
+ version: "19";
2867
+ /** @constant */
2868
+ kind: "read_action";
2869
+ store: string;
2870
+ session: string;
2871
+ action: components["schemas"]["Decimal"];
2872
+ offset?: components["schemas"]["Decimal"];
2873
+ };
2813
2874
  ReadResultRequest: {
2814
2875
  /** @constant */
2815
- version: "18";
2876
+ version: "19";
2816
2877
  /** @constant */
2817
2878
  kind: "read_result";
2818
2879
  store: string;
@@ -2820,7 +2881,7 @@ export interface components {
2820
2881
  };
2821
2882
  SessionArchiveConflictReply: {
2822
2883
  /** @constant */
2823
- version: "18";
2884
+ version: "19";
2824
2885
  /** @constant */
2825
2886
  type: "session_archive_reply";
2826
2887
  answer: {
@@ -2839,7 +2900,7 @@ export interface components {
2839
2900
  };
2840
2901
  SessionArchiveReply: {
2841
2902
  /** @constant */
2842
- version: "18";
2903
+ version: "19";
2843
2904
  /** @constant */
2844
2905
  type: "session_archive_reply";
2845
2906
  answer: {
@@ -2855,7 +2916,7 @@ export interface components {
2855
2916
  };
2856
2917
  } | {
2857
2918
  /** @constant */
2858
- version: "18";
2919
+ version: "19";
2859
2920
  /** @constant */
2860
2921
  type: "session_archive_reply";
2861
2922
  answer: {
@@ -2873,7 +2934,7 @@ export interface components {
2873
2934
  };
2874
2935
  SessionArchiveRequest: {
2875
2936
  /** @constant */
2876
- version: "18";
2937
+ version: "19";
2877
2938
  /** @constant */
2878
2939
  kind: "session_archive";
2879
2940
  store: string;
@@ -2883,7 +2944,7 @@ export interface components {
2883
2944
  };
2884
2945
  SessionPinConflictReply: {
2885
2946
  /** @constant */
2886
- version: "18";
2947
+ version: "19";
2887
2948
  /** @constant */
2888
2949
  type: "session_pin_reply";
2889
2950
  answer: {
@@ -2898,7 +2959,7 @@ export interface components {
2898
2959
  };
2899
2960
  SessionPinReply: {
2900
2961
  /** @constant */
2901
- version: "18";
2962
+ version: "19";
2902
2963
  /** @constant */
2903
2964
  type: "session_pin_reply";
2904
2965
  answer: {
@@ -2910,7 +2971,7 @@ export interface components {
2910
2971
  };
2911
2972
  } | {
2912
2973
  /** @constant */
2913
- version: "18";
2974
+ version: "19";
2914
2975
  /** @constant */
2915
2976
  type: "session_pin_reply";
2916
2977
  answer: {
@@ -2924,7 +2985,7 @@ export interface components {
2924
2985
  };
2925
2986
  SessionPinRequest: {
2926
2987
  /** @constant */
2927
- version: "18";
2988
+ version: "19";
2928
2989
  /** @constant */
2929
2990
  kind: "session_pin";
2930
2991
  store: string;
@@ -2958,7 +3019,7 @@ export interface components {
2958
3019
  };
2959
3020
  SessionStopConflictReply: {
2960
3021
  /** @constant */
2961
- version: "18";
3022
+ version: "19";
2962
3023
  /** @constant */
2963
3024
  type: "session_stop_reply";
2964
3025
  answer: {
@@ -2977,7 +3038,7 @@ export interface components {
2977
3038
  };
2978
3039
  SessionStopReply: {
2979
3040
  /** @constant */
2980
- version: "18";
3041
+ version: "19";
2981
3042
  /** @constant */
2982
3043
  type: "session_stop_reply";
2983
3044
  answer: {
@@ -2996,7 +3057,7 @@ export interface components {
2996
3057
  };
2997
3058
  } | {
2998
3059
  /** @constant */
2999
- version: "18";
3060
+ version: "19";
3000
3061
  /** @constant */
3001
3062
  type: "session_stop_reply";
3002
3063
  answer: {
@@ -3014,7 +3075,7 @@ export interface components {
3014
3075
  };
3015
3076
  SessionStopRequest: {
3016
3077
  /** @constant */
3017
- version: "18";
3078
+ version: "19";
3018
3079
  /** @constant */
3019
3080
  kind: "session_stop";
3020
3081
  store: string;
@@ -3029,7 +3090,7 @@ export interface components {
3029
3090
  };
3030
3091
  SkillSuggestionsReply: {
3031
3092
  /** @constant */
3032
- version: "18";
3093
+ version: "19";
3033
3094
  /** @constant */
3034
3095
  type: "skill_suggestions";
3035
3096
  revision: components["schemas"]["Decimal"];
@@ -3041,7 +3102,7 @@ export interface components {
3041
3102
  };
3042
3103
  SkillSuggestionsRequest: {
3043
3104
  /** @constant */
3044
- version: "18";
3105
+ version: "19";
3045
3106
  /** @constant */
3046
3107
  kind: "skill_suggestions";
3047
3108
  store: string;
@@ -3049,7 +3110,7 @@ export interface components {
3049
3110
  prefix: string;
3050
3111
  } | {
3051
3112
  /** @constant */
3052
- version: "18";
3113
+ version: "19";
3053
3114
  /** @constant */
3054
3115
  kind: "skill_suggestions";
3055
3116
  store: string;
@@ -3396,7 +3457,7 @@ export interface components {
3396
3457
  responses: never;
3397
3458
  parameters: {
3398
3459
  /** @description The wire version this document describes. Any other version is refused. */
3399
- WireVersion: "18";
3460
+ WireVersion: "19";
3400
3461
  /** @description The Host instance (from host-info) the request is meant for; a different instance refuses it. */
3401
3462
  HostInstance: string;
3402
3463
  /** @description The Host instance (from host-info) the request is meant for; a different instance refuses it, and a request without it is refused. */
@@ -3855,6 +3916,44 @@ export interface operations {
3855
3916
  };
3856
3917
  };
3857
3918
  };
3919
+ readAction: {
3920
+ parameters: {
3921
+ query?: never;
3922
+ header: {
3923
+ /** @description The wire version this document describes. Any other version is refused. */
3924
+ "X-Rui-Wire-Version": components["parameters"]["WireVersion"];
3925
+ /** @description The Host instance (from host-info) the request is meant for; a different instance refuses it. */
3926
+ "X-Rui-Host-Instance"?: components["parameters"]["HostInstance"];
3927
+ };
3928
+ path?: never;
3929
+ cookie?: never;
3930
+ };
3931
+ requestBody: {
3932
+ content: {
3933
+ "application/json": components["schemas"]["ReadActionRequest"];
3934
+ };
3935
+ };
3936
+ responses: {
3937
+ /** @description The reply. */
3938
+ 200: {
3939
+ headers: {
3940
+ [name: string]: unknown;
3941
+ };
3942
+ content: {
3943
+ "application/json": components["schemas"]["ReadActionReply"];
3944
+ };
3945
+ };
3946
+ /** @description A refusal or failure. */
3947
+ default: {
3948
+ headers: {
3949
+ [name: string]: unknown;
3950
+ };
3951
+ content: {
3952
+ "application/json": components["schemas"]["ErrorReply"];
3953
+ };
3954
+ };
3955
+ };
3956
+ };
3858
3957
  observeCommand: {
3859
3958
  parameters: {
3860
3959
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ruicode",
3
- "version": "0.75.0",
3
+ "version": "0.75.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.75.0",
32
- "ruicode-linux-arm64": "0.75.0",
33
- "ruicode-darwin-arm64": "0.75.0"
31
+ "ruicode-linux-x64": "0.75.1",
32
+ "ruicode-linux-arm64": "0.75.1",
33
+ "ruicode-darwin-arm64": "0.75.1"
34
34
  }
35
35
  }