@trycua/cua-driver 0.24.0 → 0.26.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.
@@ -58,8 +58,13 @@ interface NativeModuleInterface {
58
58
  uniffi_cua_driver_sdk_fn_free_driverauthorizationhost(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
59
59
  uniffi_cua_driver_sdk_fn_clone_embeddedcuadriverhost(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
60
60
  uniffi_cua_driver_sdk_fn_free_embeddedcuadriverhost(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
61
+ uniffi_cua_driver_sdk_fn_clone_foreigndriverenvelopechannel(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
62
+ uniffi_cua_driver_sdk_fn_free_foreigndriverenvelopechannel(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
61
63
  uniffi_cua_driver_sdk_fn_init_callback_vtable_driveractivityobserver(vtable: UniffiVTableCallbackInterfaceCuaDriverSdkDriverActivityObserver): void;
62
64
  uniffi_cua_driver_sdk_fn_init_callback_vtable_driverauthorizationhost(vtable: UniffiVTableCallbackInterfaceCuaDriverSdkDriverAuthorizationHost): void;
65
+ uniffi_cua_driver_sdk_fn_init_callback_vtable_foreigndriverenvelopechannel(vtable: UniffiVTableCallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannel): void;
66
+ uniffi_cua_driver_sdk_fn_func_connect_remote_channel(channel: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
67
+ uniffi_cua_driver_sdk_fn_func_create_remote_trusted_session(driver: bigint, options: Uint8Array): bigint;
63
68
  uniffi_cua_driver_sdk_fn_func_create_trusted_session(driver: bigint, options: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
64
69
  uniffi_cua_driver_sdk_fn_func_current_mac_os_permission_status(uniffi_out_err: UniffiRustCallStatus): Uint8Array;
65
70
  uniffi_cua_driver_sdk_fn_func_open_mac_os_screen_recording_settings(uniffi_out_err: UniffiRustCallStatus): void;
@@ -92,12 +97,15 @@ interface NativeModuleInterface {
92
97
  uniffi_cua_driver_sdk_fn_method_cuadriver_get_screen_size(uniffiSelf: bigint, input: Uint8Array): bigint;
93
98
  uniffi_cua_driver_sdk_fn_method_cuadriver_get_session(uniffiSelf: bigint, input: Uint8Array): bigint;
94
99
  uniffi_cua_driver_sdk_fn_method_cuadriver_get_session_state(uniffiSelf: bigint, input: Uint8Array): bigint;
100
+ uniffi_cua_driver_sdk_fn_method_cuadriver_get_window_state(uniffiSelf: bigint, input: Uint8Array): bigint;
95
101
  uniffi_cua_driver_sdk_fn_method_cuadriver_hotkey(uniffiSelf: bigint, input: Uint8Array): bigint;
96
102
  uniffi_cua_driver_sdk_fn_method_cuadriver_invoke_menu(uniffiSelf: bigint, input: Uint8Array): bigint;
97
103
  uniffi_cua_driver_sdk_fn_method_cuadriver_is_available(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): number;
104
+ uniffi_cua_driver_sdk_fn_method_cuadriver_list_apps(uniffiSelf: bigint, input: Uint8Array): bigint;
98
105
  uniffi_cua_driver_sdk_fn_method_cuadriver_list_host_sessions_json(uniffiSelf: bigint): bigint;
99
106
  uniffi_cua_driver_sdk_fn_method_cuadriver_list_sessions(uniffiSelf: bigint, input: Uint8Array): bigint;
100
107
  uniffi_cua_driver_sdk_fn_method_cuadriver_list_tools_json(uniffiSelf: bigint): bigint;
108
+ uniffi_cua_driver_sdk_fn_method_cuadriver_list_windows(uniffiSelf: bigint, input: Uint8Array): bigint;
101
109
  uniffi_cua_driver_sdk_fn_method_cuadriver_metadata(uniffiSelf: bigint): bigint;
102
110
  uniffi_cua_driver_sdk_fn_method_cuadriver_move_cursor(uniffiSelf: bigint, input: Uint8Array): bigint;
103
111
  uniffi_cua_driver_sdk_fn_method_cuadriver_press_key(uniffiSelf: bigint, input: Uint8Array): bigint;
@@ -126,9 +134,12 @@ interface NativeModuleInterface {
126
134
  uniffi_cua_driver_sdk_fn_method_cuadriversession_get_screen_size(uniffiSelf: bigint, input: Uint8Array): bigint;
127
135
  uniffi_cua_driver_sdk_fn_method_cuadriversession_get_session(uniffiSelf: bigint, input: Uint8Array): bigint;
128
136
  uniffi_cua_driver_sdk_fn_method_cuadriversession_get_session_state(uniffiSelf: bigint, input: Uint8Array): bigint;
137
+ uniffi_cua_driver_sdk_fn_method_cuadriversession_get_window_state(uniffiSelf: bigint, input: Uint8Array): bigint;
129
138
  uniffi_cua_driver_sdk_fn_method_cuadriversession_hotkey(uniffiSelf: bigint, input: Uint8Array): bigint;
130
139
  uniffi_cua_driver_sdk_fn_method_cuadriversession_invoke_menu(uniffiSelf: bigint, input: Uint8Array): bigint;
140
+ uniffi_cua_driver_sdk_fn_method_cuadriversession_list_apps(uniffiSelf: bigint, input: Uint8Array): bigint;
131
141
  uniffi_cua_driver_sdk_fn_method_cuadriversession_list_sessions(uniffiSelf: bigint, input: Uint8Array): bigint;
142
+ uniffi_cua_driver_sdk_fn_method_cuadriversession_list_windows(uniffiSelf: bigint, input: Uint8Array): bigint;
132
143
  uniffi_cua_driver_sdk_fn_method_cuadriversession_move_cursor(uniffiSelf: bigint, input: Uint8Array): bigint;
133
144
  uniffi_cua_driver_sdk_fn_method_cuadriversession_press_key(uniffiSelf: bigint, input: Uint8Array): bigint;
134
145
  uniffi_cua_driver_sdk_fn_method_cuadriversession_scroll(uniffiSelf: bigint, input: Uint8Array): bigint;
@@ -149,7 +160,15 @@ interface NativeModuleInterface {
149
160
  uniffi_cua_driver_sdk_fn_method_embeddedcuadriverhost_state(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
150
161
  uniffi_cua_driver_sdk_fn_method_embeddedcuadriverhost_stop(uniffiSelf: bigint): bigint;
151
162
  uniffi_cua_driver_sdk_fn_method_embeddedcuadriverhost_wait_for_exit(uniffiSelf: bigint, generation: Uint8Array): bigint;
163
+ uniffi_cua_driver_sdk_fn_method_foreigndriverenvelopechannel_identity(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
164
+ uniffi_cua_driver_sdk_fn_method_foreigndriverenvelopechannel_negotiate(uniffiSelf: bigint): bigint;
165
+ uniffi_cua_driver_sdk_fn_method_foreigndriverenvelopechannel_exchange(uniffiSelf: bigint, request: Uint8Array): bigint;
166
+ uniffi_cua_driver_sdk_fn_method_foreigndriverenvelopechannel_bind_session(uniffiSelf: bigint, options: Uint8Array): bigint;
167
+ uniffi_cua_driver_sdk_fn_method_foreigndriverenvelopechannel_cancel(uniffiSelf: bigint, requestId: Uint8Array): bigint;
168
+ uniffi_cua_driver_sdk_fn_method_foreigndriverenvelopechannel_close(uniffiSelf: bigint): bigint;
152
169
  ffi_cua_driver_sdk_uniffi_contract_version(): number;
170
+ uniffi_cua_driver_sdk_checksum_func_connect_remote_channel(): number;
171
+ uniffi_cua_driver_sdk_checksum_func_create_remote_trusted_session(): number;
153
172
  uniffi_cua_driver_sdk_checksum_func_create_trusted_session(): number;
154
173
  uniffi_cua_driver_sdk_checksum_func_current_mac_os_permission_status(): number;
155
174
  uniffi_cua_driver_sdk_checksum_func_open_mac_os_screen_recording_settings(): number;
@@ -182,12 +201,15 @@ interface NativeModuleInterface {
182
201
  uniffi_cua_driver_sdk_checksum_method_cuadriver_get_screen_size(): number;
183
202
  uniffi_cua_driver_sdk_checksum_method_cuadriver_get_session(): number;
184
203
  uniffi_cua_driver_sdk_checksum_method_cuadriver_get_session_state(): number;
204
+ uniffi_cua_driver_sdk_checksum_method_cuadriver_get_window_state(): number;
185
205
  uniffi_cua_driver_sdk_checksum_method_cuadriver_hotkey(): number;
186
206
  uniffi_cua_driver_sdk_checksum_method_cuadriver_invoke_menu(): number;
187
207
  uniffi_cua_driver_sdk_checksum_method_cuadriver_is_available(): number;
208
+ uniffi_cua_driver_sdk_checksum_method_cuadriver_list_apps(): number;
188
209
  uniffi_cua_driver_sdk_checksum_method_cuadriver_list_host_sessions_json(): number;
189
210
  uniffi_cua_driver_sdk_checksum_method_cuadriver_list_sessions(): number;
190
211
  uniffi_cua_driver_sdk_checksum_method_cuadriver_list_tools_json(): number;
212
+ uniffi_cua_driver_sdk_checksum_method_cuadriver_list_windows(): number;
191
213
  uniffi_cua_driver_sdk_checksum_method_cuadriver_metadata(): number;
192
214
  uniffi_cua_driver_sdk_checksum_method_cuadriver_move_cursor(): number;
193
215
  uniffi_cua_driver_sdk_checksum_method_cuadriver_press_key(): number;
@@ -216,9 +238,12 @@ interface NativeModuleInterface {
216
238
  uniffi_cua_driver_sdk_checksum_method_cuadriversession_get_screen_size(): number;
217
239
  uniffi_cua_driver_sdk_checksum_method_cuadriversession_get_session(): number;
218
240
  uniffi_cua_driver_sdk_checksum_method_cuadriversession_get_session_state(): number;
241
+ uniffi_cua_driver_sdk_checksum_method_cuadriversession_get_window_state(): number;
219
242
  uniffi_cua_driver_sdk_checksum_method_cuadriversession_hotkey(): number;
220
243
  uniffi_cua_driver_sdk_checksum_method_cuadriversession_invoke_menu(): number;
244
+ uniffi_cua_driver_sdk_checksum_method_cuadriversession_list_apps(): number;
221
245
  uniffi_cua_driver_sdk_checksum_method_cuadriversession_list_sessions(): number;
246
+ uniffi_cua_driver_sdk_checksum_method_cuadriversession_list_windows(): number;
222
247
  uniffi_cua_driver_sdk_checksum_method_cuadriversession_move_cursor(): number;
223
248
  uniffi_cua_driver_sdk_checksum_method_cuadriversession_press_key(): number;
224
249
  uniffi_cua_driver_sdk_checksum_method_cuadriversession_scroll(): number;
@@ -239,6 +264,12 @@ interface NativeModuleInterface {
239
264
  uniffi_cua_driver_sdk_checksum_method_embeddedcuadriverhost_state(): number;
240
265
  uniffi_cua_driver_sdk_checksum_method_embeddedcuadriverhost_stop(): number;
241
266
  uniffi_cua_driver_sdk_checksum_method_embeddedcuadriverhost_wait_for_exit(): number;
267
+ uniffi_cua_driver_sdk_checksum_method_foreigndriverenvelopechannel_identity(): number;
268
+ uniffi_cua_driver_sdk_checksum_method_foreigndriverenvelopechannel_negotiate(): number;
269
+ uniffi_cua_driver_sdk_checksum_method_foreigndriverenvelopechannel_exchange(): number;
270
+ uniffi_cua_driver_sdk_checksum_method_foreigndriverenvelopechannel_bind_session(): number;
271
+ uniffi_cua_driver_sdk_checksum_method_foreigndriverenvelopechannel_cancel(): number;
272
+ uniffi_cua_driver_sdk_checksum_method_foreigndriverenvelopechannel_close(): number;
242
273
  rustbuffer_alloc(n: number): Uint8Array;
243
274
  rustbuffer_free(view: Uint8Array): void;
244
275
  }
@@ -271,3 +302,25 @@ export type UniffiVTableCallbackInterfaceCuaDriverSdkDriverAuthorizationHost = {
271
302
  uniffi_clone: UniffiCallbackInterfaceCloneCuaDriverSdkDriverAuthorizationHost;
272
303
  authorize: UniffiCallbackInterfaceCuaDriverSdkDriverAuthorizationHostMethod0;
273
304
  };
305
+ type UniffiCallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod0 = (uniffiHandle: bigint) => Uint8Array;
306
+ type UniffiCallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod1 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleterustBuffer, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
307
+ type UniffiCallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod2 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleterustBuffer, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
308
+ type UniffiCallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod3 = (uniffiHandle: bigint, options: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleterustBuffer, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
309
+ export type UniffiForeignFutureResultVoid = {
310
+ call_status: UniffiRustCallStatus;
311
+ };
312
+ export type UniffiForeignFutureCompletevoid = (callbackData: bigint, result: UniffiForeignFutureResultVoid) => void;
313
+ type UniffiCallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod4 = (uniffiHandle: bigint, requestId: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompletevoid, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
314
+ type UniffiCallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod5 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompletevoid, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
315
+ type UniffiCallbackInterfaceCloneCuaDriverSdkForeignDriverEnvelopeChannel = (handle: bigint) => UniffiResult<void>;
316
+ type UniffiCallbackInterfaceFreeCuaDriverSdkForeignDriverEnvelopeChannel = (handle: bigint) => void;
317
+ export type UniffiVTableCallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannel = {
318
+ uniffi_free: UniffiCallbackInterfaceFreeCuaDriverSdkForeignDriverEnvelopeChannel;
319
+ uniffi_clone: UniffiCallbackInterfaceCloneCuaDriverSdkForeignDriverEnvelopeChannel;
320
+ identity: UniffiCallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod0;
321
+ negotiate: UniffiCallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod1;
322
+ exchange: UniffiCallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod2;
323
+ bind_session: UniffiCallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod3;
324
+ cancel: UniffiCallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod4;
325
+ close: UniffiCallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod5;
326
+ };
@@ -302,6 +302,16 @@ const DEFINITIONS = {
302
302
  ret: FfiType.Void,
303
303
  hasRustCallStatus: true,
304
304
  },
305
+ "uniffi_cua_driver_sdk_fn_clone_foreigndriverenvelopechannel": {
306
+ args: [FfiType.Handle],
307
+ ret: FfiType.Handle,
308
+ hasRustCallStatus: true,
309
+ },
310
+ "uniffi_cua_driver_sdk_fn_free_foreigndriverenvelopechannel": {
311
+ args: [FfiType.Handle],
312
+ ret: FfiType.Void,
313
+ hasRustCallStatus: true,
314
+ },
305
315
  "uniffi_cua_driver_sdk_fn_init_callback_vtable_driveractivityobserver": {
306
316
  args: [FfiType.Reference(FfiType.Struct("VTableCallbackInterfaceCuaDriverSdkDriverActivityObserver"))],
307
317
  ret: FfiType.Void,
@@ -312,6 +322,21 @@ const DEFINITIONS = {
312
322
  ret: FfiType.Void,
313
323
  hasRustCallStatus: false,
314
324
  },
325
+ "uniffi_cua_driver_sdk_fn_init_callback_vtable_foreigndriverenvelopechannel": {
326
+ args: [FfiType.Reference(FfiType.Struct("VTableCallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannel"))],
327
+ ret: FfiType.Void,
328
+ hasRustCallStatus: false,
329
+ },
330
+ "uniffi_cua_driver_sdk_fn_func_connect_remote_channel": {
331
+ args: [FfiType.Handle],
332
+ ret: FfiType.Handle,
333
+ hasRustCallStatus: true,
334
+ },
335
+ "uniffi_cua_driver_sdk_fn_func_create_remote_trusted_session": {
336
+ args: [FfiType.Handle, FfiType.RustBuffer],
337
+ ret: FfiType.Handle,
338
+ hasRustCallStatus: false,
339
+ },
315
340
  "uniffi_cua_driver_sdk_fn_func_create_trusted_session": {
316
341
  args: [FfiType.Handle, FfiType.RustBuffer],
317
342
  ret: FfiType.Handle,
@@ -472,6 +497,11 @@ const DEFINITIONS = {
472
497
  ret: FfiType.Handle,
473
498
  hasRustCallStatus: false,
474
499
  },
500
+ "uniffi_cua_driver_sdk_fn_method_cuadriver_get_window_state": {
501
+ args: [FfiType.Handle, FfiType.RustBuffer],
502
+ ret: FfiType.Handle,
503
+ hasRustCallStatus: false,
504
+ },
475
505
  "uniffi_cua_driver_sdk_fn_method_cuadriver_hotkey": {
476
506
  args: [FfiType.Handle, FfiType.RustBuffer],
477
507
  ret: FfiType.Handle,
@@ -487,6 +517,11 @@ const DEFINITIONS = {
487
517
  ret: FfiType.Int8,
488
518
  hasRustCallStatus: true,
489
519
  },
520
+ "uniffi_cua_driver_sdk_fn_method_cuadriver_list_apps": {
521
+ args: [FfiType.Handle, FfiType.RustBuffer],
522
+ ret: FfiType.Handle,
523
+ hasRustCallStatus: false,
524
+ },
490
525
  "uniffi_cua_driver_sdk_fn_method_cuadriver_list_host_sessions_json": {
491
526
  args: [FfiType.Handle],
492
527
  ret: FfiType.Handle,
@@ -502,6 +537,11 @@ const DEFINITIONS = {
502
537
  ret: FfiType.Handle,
503
538
  hasRustCallStatus: false,
504
539
  },
540
+ "uniffi_cua_driver_sdk_fn_method_cuadriver_list_windows": {
541
+ args: [FfiType.Handle, FfiType.RustBuffer],
542
+ ret: FfiType.Handle,
543
+ hasRustCallStatus: false,
544
+ },
505
545
  "uniffi_cua_driver_sdk_fn_method_cuadriver_metadata": {
506
546
  args: [FfiType.Handle],
507
547
  ret: FfiType.Handle,
@@ -642,6 +682,11 @@ const DEFINITIONS = {
642
682
  ret: FfiType.Handle,
643
683
  hasRustCallStatus: false,
644
684
  },
685
+ "uniffi_cua_driver_sdk_fn_method_cuadriversession_get_window_state": {
686
+ args: [FfiType.Handle, FfiType.RustBuffer],
687
+ ret: FfiType.Handle,
688
+ hasRustCallStatus: false,
689
+ },
645
690
  "uniffi_cua_driver_sdk_fn_method_cuadriversession_hotkey": {
646
691
  args: [FfiType.Handle, FfiType.RustBuffer],
647
692
  ret: FfiType.Handle,
@@ -652,11 +697,21 @@ const DEFINITIONS = {
652
697
  ret: FfiType.Handle,
653
698
  hasRustCallStatus: false,
654
699
  },
700
+ "uniffi_cua_driver_sdk_fn_method_cuadriversession_list_apps": {
701
+ args: [FfiType.Handle, FfiType.RustBuffer],
702
+ ret: FfiType.Handle,
703
+ hasRustCallStatus: false,
704
+ },
655
705
  "uniffi_cua_driver_sdk_fn_method_cuadriversession_list_sessions": {
656
706
  args: [FfiType.Handle, FfiType.RustBuffer],
657
707
  ret: FfiType.Handle,
658
708
  hasRustCallStatus: false,
659
709
  },
710
+ "uniffi_cua_driver_sdk_fn_method_cuadriversession_list_windows": {
711
+ args: [FfiType.Handle, FfiType.RustBuffer],
712
+ ret: FfiType.Handle,
713
+ hasRustCallStatus: false,
714
+ },
660
715
  "uniffi_cua_driver_sdk_fn_method_cuadriversession_move_cursor": {
661
716
  args: [FfiType.Handle, FfiType.RustBuffer],
662
717
  ret: FfiType.Handle,
@@ -757,11 +812,51 @@ const DEFINITIONS = {
757
812
  ret: FfiType.Handle,
758
813
  hasRustCallStatus: false,
759
814
  },
815
+ "uniffi_cua_driver_sdk_fn_method_foreigndriverenvelopechannel_identity": {
816
+ args: [FfiType.Handle],
817
+ ret: FfiType.RustBuffer,
818
+ hasRustCallStatus: true,
819
+ },
820
+ "uniffi_cua_driver_sdk_fn_method_foreigndriverenvelopechannel_negotiate": {
821
+ args: [FfiType.Handle],
822
+ ret: FfiType.Handle,
823
+ hasRustCallStatus: false,
824
+ },
825
+ "uniffi_cua_driver_sdk_fn_method_foreigndriverenvelopechannel_exchange": {
826
+ args: [FfiType.Handle, FfiType.RustBuffer],
827
+ ret: FfiType.Handle,
828
+ hasRustCallStatus: false,
829
+ },
830
+ "uniffi_cua_driver_sdk_fn_method_foreigndriverenvelopechannel_bind_session": {
831
+ args: [FfiType.Handle, FfiType.RustBuffer],
832
+ ret: FfiType.Handle,
833
+ hasRustCallStatus: false,
834
+ },
835
+ "uniffi_cua_driver_sdk_fn_method_foreigndriverenvelopechannel_cancel": {
836
+ args: [FfiType.Handle, FfiType.RustBuffer],
837
+ ret: FfiType.Handle,
838
+ hasRustCallStatus: false,
839
+ },
840
+ "uniffi_cua_driver_sdk_fn_method_foreigndriverenvelopechannel_close": {
841
+ args: [FfiType.Handle],
842
+ ret: FfiType.Handle,
843
+ hasRustCallStatus: false,
844
+ },
760
845
  "ffi_cua_driver_sdk_uniffi_contract_version": {
761
846
  args: [],
762
847
  ret: FfiType.UInt32,
763
848
  hasRustCallStatus: false,
764
849
  },
850
+ "uniffi_cua_driver_sdk_checksum_func_connect_remote_channel": {
851
+ args: [],
852
+ ret: FfiType.UInt16,
853
+ hasRustCallStatus: false,
854
+ },
855
+ "uniffi_cua_driver_sdk_checksum_func_create_remote_trusted_session": {
856
+ args: [],
857
+ ret: FfiType.UInt16,
858
+ hasRustCallStatus: false,
859
+ },
765
860
  "uniffi_cua_driver_sdk_checksum_func_create_trusted_session": {
766
861
  args: [],
767
862
  ret: FfiType.UInt16,
@@ -922,6 +1017,11 @@ const DEFINITIONS = {
922
1017
  ret: FfiType.UInt16,
923
1018
  hasRustCallStatus: false,
924
1019
  },
1020
+ "uniffi_cua_driver_sdk_checksum_method_cuadriver_get_window_state": {
1021
+ args: [],
1022
+ ret: FfiType.UInt16,
1023
+ hasRustCallStatus: false,
1024
+ },
925
1025
  "uniffi_cua_driver_sdk_checksum_method_cuadriver_hotkey": {
926
1026
  args: [],
927
1027
  ret: FfiType.UInt16,
@@ -937,6 +1037,11 @@ const DEFINITIONS = {
937
1037
  ret: FfiType.UInt16,
938
1038
  hasRustCallStatus: false,
939
1039
  },
1040
+ "uniffi_cua_driver_sdk_checksum_method_cuadriver_list_apps": {
1041
+ args: [],
1042
+ ret: FfiType.UInt16,
1043
+ hasRustCallStatus: false,
1044
+ },
940
1045
  "uniffi_cua_driver_sdk_checksum_method_cuadriver_list_host_sessions_json": {
941
1046
  args: [],
942
1047
  ret: FfiType.UInt16,
@@ -952,6 +1057,11 @@ const DEFINITIONS = {
952
1057
  ret: FfiType.UInt16,
953
1058
  hasRustCallStatus: false,
954
1059
  },
1060
+ "uniffi_cua_driver_sdk_checksum_method_cuadriver_list_windows": {
1061
+ args: [],
1062
+ ret: FfiType.UInt16,
1063
+ hasRustCallStatus: false,
1064
+ },
955
1065
  "uniffi_cua_driver_sdk_checksum_method_cuadriver_metadata": {
956
1066
  args: [],
957
1067
  ret: FfiType.UInt16,
@@ -1092,6 +1202,11 @@ const DEFINITIONS = {
1092
1202
  ret: FfiType.UInt16,
1093
1203
  hasRustCallStatus: false,
1094
1204
  },
1205
+ "uniffi_cua_driver_sdk_checksum_method_cuadriversession_get_window_state": {
1206
+ args: [],
1207
+ ret: FfiType.UInt16,
1208
+ hasRustCallStatus: false,
1209
+ },
1095
1210
  "uniffi_cua_driver_sdk_checksum_method_cuadriversession_hotkey": {
1096
1211
  args: [],
1097
1212
  ret: FfiType.UInt16,
@@ -1102,11 +1217,21 @@ const DEFINITIONS = {
1102
1217
  ret: FfiType.UInt16,
1103
1218
  hasRustCallStatus: false,
1104
1219
  },
1220
+ "uniffi_cua_driver_sdk_checksum_method_cuadriversession_list_apps": {
1221
+ args: [],
1222
+ ret: FfiType.UInt16,
1223
+ hasRustCallStatus: false,
1224
+ },
1105
1225
  "uniffi_cua_driver_sdk_checksum_method_cuadriversession_list_sessions": {
1106
1226
  args: [],
1107
1227
  ret: FfiType.UInt16,
1108
1228
  hasRustCallStatus: false,
1109
1229
  },
1230
+ "uniffi_cua_driver_sdk_checksum_method_cuadriversession_list_windows": {
1231
+ args: [],
1232
+ ret: FfiType.UInt16,
1233
+ hasRustCallStatus: false,
1234
+ },
1110
1235
  "uniffi_cua_driver_sdk_checksum_method_cuadriversession_move_cursor": {
1111
1236
  args: [],
1112
1237
  ret: FfiType.UInt16,
@@ -1207,6 +1332,36 @@ const DEFINITIONS = {
1207
1332
  ret: FfiType.UInt16,
1208
1333
  hasRustCallStatus: false,
1209
1334
  },
1335
+ "uniffi_cua_driver_sdk_checksum_method_foreigndriverenvelopechannel_identity": {
1336
+ args: [],
1337
+ ret: FfiType.UInt16,
1338
+ hasRustCallStatus: false,
1339
+ },
1340
+ "uniffi_cua_driver_sdk_checksum_method_foreigndriverenvelopechannel_negotiate": {
1341
+ args: [],
1342
+ ret: FfiType.UInt16,
1343
+ hasRustCallStatus: false,
1344
+ },
1345
+ "uniffi_cua_driver_sdk_checksum_method_foreigndriverenvelopechannel_exchange": {
1346
+ args: [],
1347
+ ret: FfiType.UInt16,
1348
+ hasRustCallStatus: false,
1349
+ },
1350
+ "uniffi_cua_driver_sdk_checksum_method_foreigndriverenvelopechannel_bind_session": {
1351
+ args: [],
1352
+ ret: FfiType.UInt16,
1353
+ hasRustCallStatus: false,
1354
+ },
1355
+ "uniffi_cua_driver_sdk_checksum_method_foreigndriverenvelopechannel_cancel": {
1356
+ args: [],
1357
+ ret: FfiType.UInt16,
1358
+ hasRustCallStatus: false,
1359
+ },
1360
+ "uniffi_cua_driver_sdk_checksum_method_foreigndriverenvelopechannel_close": {
1361
+ args: [],
1362
+ ret: FfiType.UInt16,
1363
+ hasRustCallStatus: false,
1364
+ },
1210
1365
  },
1211
1366
  callbacks: {
1212
1367
  "RustFutureContinuationCallback": {
@@ -1256,6 +1411,57 @@ const DEFINITIONS = {
1256
1411
  ret: FfiType.Void,
1257
1412
  hasRustCallStatus: false,
1258
1413
  },
1414
+ "CallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod0": {
1415
+ args: [FfiType.Handle],
1416
+ ret: FfiType.RustBuffer,
1417
+ hasRustCallStatus: true,
1418
+ outReturn: true,
1419
+ },
1420
+ "CallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod1": {
1421
+ args: [FfiType.Handle, FfiType.Callback("ForeignFutureCompleterust_buffer"), FfiType.Handle],
1422
+ ret: FfiType.Struct("ForeignFutureDroppedCallbackStruct"),
1423
+ hasRustCallStatus: false,
1424
+ outReturn: true,
1425
+ },
1426
+ "CallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod2": {
1427
+ args: [FfiType.Handle, FfiType.RustBuffer, FfiType.Callback("ForeignFutureCompleterust_buffer"), FfiType.Handle],
1428
+ ret: FfiType.Struct("ForeignFutureDroppedCallbackStruct"),
1429
+ hasRustCallStatus: false,
1430
+ outReturn: true,
1431
+ },
1432
+ "CallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod3": {
1433
+ args: [FfiType.Handle, FfiType.RustBuffer, FfiType.Callback("ForeignFutureCompleterust_buffer"), FfiType.Handle],
1434
+ ret: FfiType.Struct("ForeignFutureDroppedCallbackStruct"),
1435
+ hasRustCallStatus: false,
1436
+ outReturn: true,
1437
+ },
1438
+ "ForeignFutureCompletevoid": {
1439
+ args: [FfiType.Handle, FfiType.Struct("ForeignFutureResultVoid")],
1440
+ ret: FfiType.Void,
1441
+ hasRustCallStatus: false,
1442
+ },
1443
+ "CallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod4": {
1444
+ args: [FfiType.Handle, FfiType.RustBuffer, FfiType.Callback("ForeignFutureCompletevoid"), FfiType.Handle],
1445
+ ret: FfiType.Struct("ForeignFutureDroppedCallbackStruct"),
1446
+ hasRustCallStatus: false,
1447
+ outReturn: true,
1448
+ },
1449
+ "CallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod5": {
1450
+ args: [FfiType.Handle, FfiType.Callback("ForeignFutureCompletevoid"), FfiType.Handle],
1451
+ ret: FfiType.Struct("ForeignFutureDroppedCallbackStruct"),
1452
+ hasRustCallStatus: false,
1453
+ outReturn: true,
1454
+ },
1455
+ "CallbackInterfaceCloneCuaDriverSdk_ForeignDriverEnvelopeChannel": {
1456
+ args: [FfiType.Handle],
1457
+ ret: FfiType.Handle,
1458
+ hasRustCallStatus: false,
1459
+ },
1460
+ "CallbackInterfaceFreeCuaDriverSdk_ForeignDriverEnvelopeChannel": {
1461
+ args: [FfiType.Handle],
1462
+ ret: FfiType.Void,
1463
+ hasRustCallStatus: false,
1464
+ },
1259
1465
  },
1260
1466
  structs: {
1261
1467
  "ForeignFutureDroppedCallbackStruct": [
@@ -1276,6 +1482,19 @@ const DEFINITIONS = {
1276
1482
  { name: "uniffi_clone", type: FfiType.Callback("CallbackInterfaceCloneCuaDriverSdk_DriverAuthorizationHost") },
1277
1483
  { name: "authorize", type: FfiType.Callback("CallbackInterfaceCuaDriverSdkDriverAuthorizationHostMethod0") },
1278
1484
  ],
1485
+ "ForeignFutureResultVoid": [
1486
+ { name: "call_status", type: FfiType.RustCallStatus },
1487
+ ],
1488
+ "VTableCallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannel": [
1489
+ { name: "uniffi_free", type: FfiType.Callback("CallbackInterfaceFreeCuaDriverSdk_ForeignDriverEnvelopeChannel") },
1490
+ { name: "uniffi_clone", type: FfiType.Callback("CallbackInterfaceCloneCuaDriverSdk_ForeignDriverEnvelopeChannel") },
1491
+ { name: "identity", type: FfiType.Callback("CallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod0") },
1492
+ { name: "negotiate", type: FfiType.Callback("CallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod1") },
1493
+ { name: "exchange", type: FfiType.Callback("CallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod2") },
1494
+ { name: "bind_session", type: FfiType.Callback("CallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod3") },
1495
+ { name: "cancel", type: FfiType.Callback("CallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod4") },
1496
+ { name: "close", type: FfiType.Callback("CallbackInterfaceCuaDriverSdkForeignDriverEnvelopeChannelMethod5") },
1497
+ ],
1279
1498
  },
1280
1499
  };
1281
1500
  let _nativeModule;