@trycua/cua-driver 0.34.1 → 0.35.4
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/daemon.d.ts +14 -0
- package/dist/daemon.js +59 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +14 -8
- package/dist/native/cua_driver_contract.d.ts +86 -20
- package/dist/native/cua_driver_contract.js +102 -20
- package/dist/native/cua_driver_sdk-ffi.d.ts +32 -0
- package/dist/native/cua_driver_sdk-ffi.js +160 -0
- package/dist/native/cua_driver_sdk.d.ts +1212 -43
- package/dist/native/cua_driver_sdk.js +1674 -55
- package/package.json +10 -8
|
@@ -272,6 +272,16 @@ const DEFINITIONS = {
|
|
|
272
272
|
ret: FfiType.Void,
|
|
273
273
|
hasRustCallStatus: true,
|
|
274
274
|
},
|
|
275
|
+
"uniffi_cua_driver_sdk_fn_clone_cursortrajectory": {
|
|
276
|
+
args: [FfiType.Handle],
|
|
277
|
+
ret: FfiType.Handle,
|
|
278
|
+
hasRustCallStatus: true,
|
|
279
|
+
},
|
|
280
|
+
"uniffi_cua_driver_sdk_fn_free_cursortrajectory": {
|
|
281
|
+
args: [FfiType.Handle],
|
|
282
|
+
ret: FfiType.Void,
|
|
283
|
+
hasRustCallStatus: true,
|
|
284
|
+
},
|
|
275
285
|
"uniffi_cua_driver_sdk_fn_clone_driveractivityobserver": {
|
|
276
286
|
args: [FfiType.Handle],
|
|
277
287
|
ret: FfiType.Handle,
|
|
@@ -372,6 +382,21 @@ const DEFINITIONS = {
|
|
|
372
382
|
ret: FfiType.RustBuffer,
|
|
373
383
|
hasRustCallStatus: true,
|
|
374
384
|
},
|
|
385
|
+
"uniffi_cua_driver_sdk_fn_func_cursor_click_effects": {
|
|
386
|
+
args: [FfiType.RustBuffer, FfiType.Float64, FfiType.Float64, FfiType.Float64],
|
|
387
|
+
ret: FfiType.RustBuffer,
|
|
388
|
+
hasRustCallStatus: true,
|
|
389
|
+
},
|
|
390
|
+
"uniffi_cua_driver_sdk_fn_func_cursor_motion_spec_for_style": {
|
|
391
|
+
args: [FfiType.RustBuffer, FfiType.RustBuffer],
|
|
392
|
+
ret: FfiType.RustBuffer,
|
|
393
|
+
hasRustCallStatus: true,
|
|
394
|
+
},
|
|
395
|
+
"uniffi_cua_driver_sdk_fn_func_default_cursor_motion_params": {
|
|
396
|
+
args: [],
|
|
397
|
+
ret: FfiType.RustBuffer,
|
|
398
|
+
hasRustCallStatus: true,
|
|
399
|
+
},
|
|
375
400
|
"uniffi_cua_driver_sdk_fn_func_open_mac_os_screen_recording_settings": {
|
|
376
401
|
args: [],
|
|
377
402
|
ret: FfiType.Void,
|
|
@@ -382,6 +407,16 @@ const DEFINITIONS = {
|
|
|
382
407
|
ret: FfiType.Handle,
|
|
383
408
|
hasRustCallStatus: true,
|
|
384
409
|
},
|
|
410
|
+
"uniffi_cua_driver_sdk_fn_func_plan_cursor_move": {
|
|
411
|
+
args: [FfiType.RustBuffer, FfiType.RustBuffer],
|
|
412
|
+
ret: FfiType.Handle,
|
|
413
|
+
hasRustCallStatus: true,
|
|
414
|
+
},
|
|
415
|
+
"uniffi_cua_driver_sdk_fn_func_plan_cursor_spec": {
|
|
416
|
+
args: [FfiType.RustBuffer, FfiType.RustBuffer],
|
|
417
|
+
ret: FfiType.Handle,
|
|
418
|
+
hasRustCallStatus: true,
|
|
419
|
+
},
|
|
385
420
|
"uniffi_cua_driver_sdk_fn_func_request_mac_os_permissions": {
|
|
386
421
|
args: [],
|
|
387
422
|
ret: FfiType.RustBuffer,
|
|
@@ -802,6 +837,56 @@ const DEFINITIONS = {
|
|
|
802
837
|
ret: FfiType.Handle,
|
|
803
838
|
hasRustCallStatus: false,
|
|
804
839
|
},
|
|
840
|
+
"uniffi_cua_driver_sdk_fn_method_cursortrajectory_arrival_t": {
|
|
841
|
+
args: [FfiType.Handle],
|
|
842
|
+
ret: FfiType.Float64,
|
|
843
|
+
hasRustCallStatus: true,
|
|
844
|
+
},
|
|
845
|
+
"uniffi_cua_driver_sdk_fn_method_cursortrajectory_duration": {
|
|
846
|
+
args: [FfiType.Handle],
|
|
847
|
+
ret: FfiType.Float64,
|
|
848
|
+
hasRustCallStatus: true,
|
|
849
|
+
},
|
|
850
|
+
"uniffi_cua_driver_sdk_fn_method_cursortrajectory_effect_frame": {
|
|
851
|
+
args: [FfiType.Handle, FfiType.Float64, FfiType.Int8],
|
|
852
|
+
ret: FfiType.RustBuffer,
|
|
853
|
+
hasRustCallStatus: true,
|
|
854
|
+
},
|
|
855
|
+
"uniffi_cua_driver_sdk_fn_method_cursortrajectory_effects": {
|
|
856
|
+
args: [FfiType.Handle],
|
|
857
|
+
ret: FfiType.RustBuffer,
|
|
858
|
+
hasRustCallStatus: true,
|
|
859
|
+
},
|
|
860
|
+
"uniffi_cua_driver_sdk_fn_method_cursortrajectory_linger": {
|
|
861
|
+
args: [FfiType.Handle],
|
|
862
|
+
ret: FfiType.Float64,
|
|
863
|
+
hasRustCallStatus: true,
|
|
864
|
+
},
|
|
865
|
+
"uniffi_cua_driver_sdk_fn_method_cursortrajectory_sample_at": {
|
|
866
|
+
args: [FfiType.Handle, FfiType.Float64],
|
|
867
|
+
ret: FfiType.RustBuffer,
|
|
868
|
+
hasRustCallStatus: true,
|
|
869
|
+
},
|
|
870
|
+
"uniffi_cua_driver_sdk_fn_method_cursortrajectory_samples": {
|
|
871
|
+
args: [FfiType.Handle],
|
|
872
|
+
ret: FfiType.RustBuffer,
|
|
873
|
+
hasRustCallStatus: true,
|
|
874
|
+
},
|
|
875
|
+
"uniffi_cua_driver_sdk_fn_method_cursortrajectory_snap_t": {
|
|
876
|
+
args: [FfiType.Handle],
|
|
877
|
+
ret: FfiType.RustBuffer,
|
|
878
|
+
hasRustCallStatus: true,
|
|
879
|
+
},
|
|
880
|
+
"uniffi_cua_driver_sdk_fn_method_cursortrajectory_target": {
|
|
881
|
+
args: [FfiType.Handle],
|
|
882
|
+
ret: FfiType.RustBuffer,
|
|
883
|
+
hasRustCallStatus: true,
|
|
884
|
+
},
|
|
885
|
+
"uniffi_cua_driver_sdk_fn_method_cursortrajectory_target_known": {
|
|
886
|
+
args: [FfiType.Handle],
|
|
887
|
+
ret: FfiType.Int8,
|
|
888
|
+
hasRustCallStatus: true,
|
|
889
|
+
},
|
|
805
890
|
"uniffi_cua_driver_sdk_fn_method_driveractivityobserver_on_activity": {
|
|
806
891
|
args: [FfiType.Handle, FfiType.RustBuffer],
|
|
807
892
|
ret: FfiType.Void,
|
|
@@ -932,6 +1017,21 @@ const DEFINITIONS = {
|
|
|
932
1017
|
ret: FfiType.UInt16,
|
|
933
1018
|
hasRustCallStatus: false,
|
|
934
1019
|
},
|
|
1020
|
+
"uniffi_cua_driver_sdk_checksum_func_cursor_click_effects": {
|
|
1021
|
+
args: [],
|
|
1022
|
+
ret: FfiType.UInt16,
|
|
1023
|
+
hasRustCallStatus: false,
|
|
1024
|
+
},
|
|
1025
|
+
"uniffi_cua_driver_sdk_checksum_func_cursor_motion_spec_for_style": {
|
|
1026
|
+
args: [],
|
|
1027
|
+
ret: FfiType.UInt16,
|
|
1028
|
+
hasRustCallStatus: false,
|
|
1029
|
+
},
|
|
1030
|
+
"uniffi_cua_driver_sdk_checksum_func_default_cursor_motion_params": {
|
|
1031
|
+
args: [],
|
|
1032
|
+
ret: FfiType.UInt16,
|
|
1033
|
+
hasRustCallStatus: false,
|
|
1034
|
+
},
|
|
935
1035
|
"uniffi_cua_driver_sdk_checksum_func_open_mac_os_screen_recording_settings": {
|
|
936
1036
|
args: [],
|
|
937
1037
|
ret: FfiType.UInt16,
|
|
@@ -942,6 +1042,16 @@ const DEFINITIONS = {
|
|
|
942
1042
|
ret: FfiType.UInt16,
|
|
943
1043
|
hasRustCallStatus: false,
|
|
944
1044
|
},
|
|
1045
|
+
"uniffi_cua_driver_sdk_checksum_func_plan_cursor_move": {
|
|
1046
|
+
args: [],
|
|
1047
|
+
ret: FfiType.UInt16,
|
|
1048
|
+
hasRustCallStatus: false,
|
|
1049
|
+
},
|
|
1050
|
+
"uniffi_cua_driver_sdk_checksum_func_plan_cursor_spec": {
|
|
1051
|
+
args: [],
|
|
1052
|
+
ret: FfiType.UInt16,
|
|
1053
|
+
hasRustCallStatus: false,
|
|
1054
|
+
},
|
|
945
1055
|
"uniffi_cua_driver_sdk_checksum_func_request_mac_os_permissions": {
|
|
946
1056
|
args: [],
|
|
947
1057
|
ret: FfiType.UInt16,
|
|
@@ -1362,6 +1472,56 @@ const DEFINITIONS = {
|
|
|
1362
1472
|
ret: FfiType.UInt16,
|
|
1363
1473
|
hasRustCallStatus: false,
|
|
1364
1474
|
},
|
|
1475
|
+
"uniffi_cua_driver_sdk_checksum_method_cursortrajectory_arrival_t": {
|
|
1476
|
+
args: [],
|
|
1477
|
+
ret: FfiType.UInt16,
|
|
1478
|
+
hasRustCallStatus: false,
|
|
1479
|
+
},
|
|
1480
|
+
"uniffi_cua_driver_sdk_checksum_method_cursortrajectory_duration": {
|
|
1481
|
+
args: [],
|
|
1482
|
+
ret: FfiType.UInt16,
|
|
1483
|
+
hasRustCallStatus: false,
|
|
1484
|
+
},
|
|
1485
|
+
"uniffi_cua_driver_sdk_checksum_method_cursortrajectory_effect_frame": {
|
|
1486
|
+
args: [],
|
|
1487
|
+
ret: FfiType.UInt16,
|
|
1488
|
+
hasRustCallStatus: false,
|
|
1489
|
+
},
|
|
1490
|
+
"uniffi_cua_driver_sdk_checksum_method_cursortrajectory_effects": {
|
|
1491
|
+
args: [],
|
|
1492
|
+
ret: FfiType.UInt16,
|
|
1493
|
+
hasRustCallStatus: false,
|
|
1494
|
+
},
|
|
1495
|
+
"uniffi_cua_driver_sdk_checksum_method_cursortrajectory_linger": {
|
|
1496
|
+
args: [],
|
|
1497
|
+
ret: FfiType.UInt16,
|
|
1498
|
+
hasRustCallStatus: false,
|
|
1499
|
+
},
|
|
1500
|
+
"uniffi_cua_driver_sdk_checksum_method_cursortrajectory_sample_at": {
|
|
1501
|
+
args: [],
|
|
1502
|
+
ret: FfiType.UInt16,
|
|
1503
|
+
hasRustCallStatus: false,
|
|
1504
|
+
},
|
|
1505
|
+
"uniffi_cua_driver_sdk_checksum_method_cursortrajectory_samples": {
|
|
1506
|
+
args: [],
|
|
1507
|
+
ret: FfiType.UInt16,
|
|
1508
|
+
hasRustCallStatus: false,
|
|
1509
|
+
},
|
|
1510
|
+
"uniffi_cua_driver_sdk_checksum_method_cursortrajectory_snap_t": {
|
|
1511
|
+
args: [],
|
|
1512
|
+
ret: FfiType.UInt16,
|
|
1513
|
+
hasRustCallStatus: false,
|
|
1514
|
+
},
|
|
1515
|
+
"uniffi_cua_driver_sdk_checksum_method_cursortrajectory_target": {
|
|
1516
|
+
args: [],
|
|
1517
|
+
ret: FfiType.UInt16,
|
|
1518
|
+
hasRustCallStatus: false,
|
|
1519
|
+
},
|
|
1520
|
+
"uniffi_cua_driver_sdk_checksum_method_cursortrajectory_target_known": {
|
|
1521
|
+
args: [],
|
|
1522
|
+
ret: FfiType.UInt16,
|
|
1523
|
+
hasRustCallStatus: false,
|
|
1524
|
+
},
|
|
1365
1525
|
"uniffi_cua_driver_sdk_checksum_method_driveractivityobserver_on_activity": {
|
|
1366
1526
|
args: [],
|
|
1367
1527
|
ret: FfiType.UInt16,
|