@trycua/cua-driver 0.26.1 → 0.27.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/README.md +4 -1
- package/dist/fleet.d.ts +48 -0
- package/dist/fleet.js +98 -0
- package/dist/native/cua_driver_sdk-ffi.d.ts +25 -0
- package/dist/native/cua_driver_sdk-ffi.js +106 -0
- package/dist/native/cua_driver_sdk.d.ts +295 -0
- package/dist/native/cua_driver_sdk.js +531 -1
- package/package.json +13 -7
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
import nativeModule from "./cua_driver_sdk-ffi.js";
|
|
7
|
-
import { AbstractFfiConverterByteArray, FfiConverterArray, FfiConverterBool, FfiConverterInt32, FfiConverterObject, FfiConverterObjectWithCallbacks, FfiConverterOptional, FfiConverterUInt32, FfiConverterUInt64, UniffiAbstractObject, UniffiError, UniffiInternalError, UniffiResult, UniffiRustCaller, destructorGuardSymbol, pointerLiteralSymbol, uniffiCreateFfiConverterString, uniffiCreateRecord, uniffiRustCallAsync, uniffiTraitInterfaceCall, uniffiTraitInterfaceCallAsyncWithError, uniffiTraitInterfaceCallWithError, uniffiTypeNameSymbol, } from "@ubjs/core";
|
|
7
|
+
import { AbstractFfiConverterByteArray, FfiConverterArray, FfiConverterArrayBuffer, FfiConverterBool, FfiConverterInt32, FfiConverterObject, FfiConverterObjectWithCallbacks, FfiConverterOptional, FfiConverterUInt16, FfiConverterUInt32, FfiConverterUInt64, UniffiAbstractObject, UniffiError, UniffiInternalError, UniffiResult, UniffiRustCaller, destructorGuardSymbol, pointerLiteralSymbol, uniffiCreateFfiConverterString, uniffiCreateRecord, uniffiRustCallAsync, uniffiTraitInterfaceCall, uniffiTraitInterfaceCallAsyncWithError, uniffiTraitInterfaceCallWithError, uniffiTypeNameSymbol, } from "@ubjs/core";
|
|
8
8
|
import uniffiCuaDriverContractModule from "./cua_driver_contract.js";
|
|
9
9
|
const { FfiConverterTypeActionResult, FfiConverterTypeClickInput, FfiConverterTypeClipboardReadInput, FfiConverterTypeClipboardWriteInput, FfiConverterTypeDragInput, FfiConverterTypeEndSessionInput, FfiConverterTypeEndSessionOutput, FfiConverterTypeEscalateSessionInput, FfiConverterTypeGetAgentCursorStateInput, FfiConverterTypeGetCursorPositionInput, FfiConverterTypeGetDesktopStateInput, FfiConverterTypeGetScreenSizeInput, FfiConverterTypeGetSessionInput, FfiConverterTypeGetSessionStateInput, FfiConverterTypeGetWindowStateInput, FfiConverterTypeHotkeyInput, FfiConverterTypeInvokeMenuInput, FfiConverterTypeListAppsInput, FfiConverterTypeListAppsOutput, FfiConverterTypeListSessionsInput, FfiConverterTypeListSessionsOutput, FfiConverterTypeListWindowsInput, FfiConverterTypeListWindowsOutput, FfiConverterTypeMoveCursorInput, FfiConverterTypePressKeyInput, FfiConverterTypeScrollInput, FfiConverterTypeSessionOutput, FfiConverterTypeSessionStateOutput, FfiConverterTypeSetAgentCursorEnabledInput, FfiConverterTypeSetAgentCursorMotionInput, FfiConverterTypeSetAgentCursorThemeInput, FfiConverterTypeSetWindowFrameInput, FfiConverterTypeStartSessionInput, FfiConverterTypeStartSessionOutput, FfiConverterTypeTypeTextInput, FfiConverterTypeVerifyStateInput, FfiConverterTypeVerifyStateOutput, FfiConverterTypeWindowStateOutput } = uniffiCuaDriverContractModule.converters;
|
|
10
10
|
const uniffiCaller = new UniffiRustCaller(() => ({ code: 0 }));
|
|
@@ -95,6 +95,17 @@ export function openMacOsScreenRecordingSettings() {
|
|
|
95
95
|
},
|
|
96
96
|
/*liftString:*/ FfiConverterString.lift.bind(FfiConverterString));
|
|
97
97
|
}
|
|
98
|
+
/**
|
|
99
|
+
* Construct before opening so the owner can invalidate an in-flight initialize.
|
|
100
|
+
*/
|
|
101
|
+
export function openMcpDriverChannel(transport, authenticatedPrincipal) {
|
|
102
|
+
return FfiConverterTypeMcpDriverChannel.lift(uniffiCaller.rustCallWithError(
|
|
103
|
+
/*liftError:*/ FfiConverterTypeDriverError.lift.bind(FfiConverterTypeDriverError),
|
|
104
|
+
/*caller:*/ (callStatus) => {
|
|
105
|
+
return nativeModule().uniffi_cua_driver_sdk_fn_func_open_mcp_driver_channel(FfiConverterTypeDriverServiceTransport.lower(transport, nativeModule().rustbuffer_alloc), FfiConverterString.lower(authenticatedPrincipal, nativeModule().rustbuffer_alloc), callStatus);
|
|
106
|
+
},
|
|
107
|
+
/*liftString:*/ FfiConverterString.lift.bind(FfiConverterString)));
|
|
108
|
+
}
|
|
98
109
|
export function requestMacOsPermissions() {
|
|
99
110
|
return ((__rb) => {
|
|
100
111
|
try {
|
|
@@ -553,6 +564,120 @@ const FfiConverterTypeDriverOptions = (() => {
|
|
|
553
564
|
;
|
|
554
565
|
return new FFIConverter();
|
|
555
566
|
})();
|
|
567
|
+
/**
|
|
568
|
+
* Generated factory for {@link DriverServiceHeader} record objects.
|
|
569
|
+
*/
|
|
570
|
+
export const DriverServiceHeader = (() => {
|
|
571
|
+
const defaults = () => ({});
|
|
572
|
+
const create = (() => {
|
|
573
|
+
return uniffiCreateRecord(defaults);
|
|
574
|
+
})();
|
|
575
|
+
return Object.freeze({
|
|
576
|
+
create,
|
|
577
|
+
new: create,
|
|
578
|
+
defaults: () => Object.freeze(defaults()),
|
|
579
|
+
});
|
|
580
|
+
})();
|
|
581
|
+
const FfiConverterTypeDriverServiceHeader = (() => {
|
|
582
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
583
|
+
read(from) {
|
|
584
|
+
return {
|
|
585
|
+
name: FfiConverterString.read(from),
|
|
586
|
+
value: FfiConverterString.read(from)
|
|
587
|
+
};
|
|
588
|
+
}
|
|
589
|
+
write(value, into) {
|
|
590
|
+
FfiConverterString.write(value.name, into);
|
|
591
|
+
FfiConverterString.write(value.value, into);
|
|
592
|
+
}
|
|
593
|
+
allocationSize(value) {
|
|
594
|
+
return FfiConverterString.allocationSize(value.name) +
|
|
595
|
+
FfiConverterString.allocationSize(value.value);
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
;
|
|
599
|
+
return new FFIConverter();
|
|
600
|
+
})();
|
|
601
|
+
/**
|
|
602
|
+
* Generated factory for {@link DriverServiceRequest} record objects.
|
|
603
|
+
*/
|
|
604
|
+
export const DriverServiceRequest = (() => {
|
|
605
|
+
const defaults = () => ({});
|
|
606
|
+
const create = (() => {
|
|
607
|
+
return uniffiCreateRecord(defaults);
|
|
608
|
+
})();
|
|
609
|
+
return Object.freeze({
|
|
610
|
+
create,
|
|
611
|
+
new: create,
|
|
612
|
+
defaults: () => Object.freeze(defaults()),
|
|
613
|
+
});
|
|
614
|
+
})();
|
|
615
|
+
const FfiConverterTypeDriverServiceRequest = (() => {
|
|
616
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
617
|
+
read(from) {
|
|
618
|
+
return {
|
|
619
|
+
method: FfiConverterString.read(from),
|
|
620
|
+
path: FfiConverterString.read(from),
|
|
621
|
+
headers: FfiConverterSequenceTypeDriverServiceHeader.read(from),
|
|
622
|
+
body: FfiConverterArrayBuffer.read(from),
|
|
623
|
+
timeoutMs: FfiConverterUInt64.read(from)
|
|
624
|
+
};
|
|
625
|
+
}
|
|
626
|
+
write(value, into) {
|
|
627
|
+
FfiConverterString.write(value.method, into);
|
|
628
|
+
FfiConverterString.write(value.path, into);
|
|
629
|
+
FfiConverterSequenceTypeDriverServiceHeader.write(value.headers, into);
|
|
630
|
+
FfiConverterArrayBuffer.write(value.body, into);
|
|
631
|
+
FfiConverterUInt64.write(value.timeoutMs, into);
|
|
632
|
+
}
|
|
633
|
+
allocationSize(value) {
|
|
634
|
+
return FfiConverterString.allocationSize(value.method) +
|
|
635
|
+
FfiConverterString.allocationSize(value.path) +
|
|
636
|
+
FfiConverterSequenceTypeDriverServiceHeader.allocationSize(value.headers) +
|
|
637
|
+
FfiConverterArrayBuffer.allocationSize(value.body) +
|
|
638
|
+
FfiConverterUInt64.allocationSize(value.timeoutMs);
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
;
|
|
642
|
+
return new FFIConverter();
|
|
643
|
+
})();
|
|
644
|
+
/**
|
|
645
|
+
* Generated factory for {@link DriverServiceResponse} record objects.
|
|
646
|
+
*/
|
|
647
|
+
export const DriverServiceResponse = (() => {
|
|
648
|
+
const defaults = () => ({});
|
|
649
|
+
const create = (() => {
|
|
650
|
+
return uniffiCreateRecord(defaults);
|
|
651
|
+
})();
|
|
652
|
+
return Object.freeze({
|
|
653
|
+
create,
|
|
654
|
+
new: create,
|
|
655
|
+
defaults: () => Object.freeze(defaults()),
|
|
656
|
+
});
|
|
657
|
+
})();
|
|
658
|
+
const FfiConverterTypeDriverServiceResponse = (() => {
|
|
659
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
660
|
+
read(from) {
|
|
661
|
+
return {
|
|
662
|
+
status: FfiConverterUInt16.read(from),
|
|
663
|
+
headers: FfiConverterSequenceTypeDriverServiceHeader.read(from),
|
|
664
|
+
body: FfiConverterArrayBuffer.read(from)
|
|
665
|
+
};
|
|
666
|
+
}
|
|
667
|
+
write(value, into) {
|
|
668
|
+
FfiConverterUInt16.write(value.status, into);
|
|
669
|
+
FfiConverterSequenceTypeDriverServiceHeader.write(value.headers, into);
|
|
670
|
+
FfiConverterArrayBuffer.write(value.body, into);
|
|
671
|
+
}
|
|
672
|
+
allocationSize(value) {
|
|
673
|
+
return FfiConverterUInt16.allocationSize(value.status) +
|
|
674
|
+
FfiConverterSequenceTypeDriverServiceHeader.allocationSize(value.headers) +
|
|
675
|
+
FfiConverterArrayBuffer.allocationSize(value.body);
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
;
|
|
679
|
+
return new FFIConverter();
|
|
680
|
+
})();
|
|
556
681
|
/**
|
|
557
682
|
* Generated factory for {@link EmbeddedEnvironmentVariable} record objects.
|
|
558
683
|
*/
|
|
@@ -2290,6 +2415,82 @@ const FfiConverterTypeDriverExecutionMode = (() => {
|
|
|
2290
2415
|
}
|
|
2291
2416
|
return new FFIConverter();
|
|
2292
2417
|
})();
|
|
2418
|
+
// Error type: DriverServiceTransportError
|
|
2419
|
+
export var DriverServiceTransportError_Tags;
|
|
2420
|
+
(function (DriverServiceTransportError_Tags) {
|
|
2421
|
+
DriverServiceTransportError_Tags["Failed"] = "Failed";
|
|
2422
|
+
})(DriverServiceTransportError_Tags || (DriverServiceTransportError_Tags = {}));
|
|
2423
|
+
export const DriverServiceTransportError = (() => {
|
|
2424
|
+
class Failed_ extends UniffiError {
|
|
2425
|
+
/**
|
|
2426
|
+
* @private
|
|
2427
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2428
|
+
*/
|
|
2429
|
+
[uniffiTypeNameSymbol] = "DriverServiceTransportError";
|
|
2430
|
+
tag = DriverServiceTransportError_Tags.Failed;
|
|
2431
|
+
inner;
|
|
2432
|
+
constructor(inner) {
|
|
2433
|
+
super("DriverServiceTransportError", "Failed");
|
|
2434
|
+
this.inner = Object.freeze(inner);
|
|
2435
|
+
}
|
|
2436
|
+
static new(inner) {
|
|
2437
|
+
return new Failed_(inner);
|
|
2438
|
+
}
|
|
2439
|
+
static instanceOf(obj) {
|
|
2440
|
+
return obj.tag === DriverServiceTransportError_Tags.Failed;
|
|
2441
|
+
}
|
|
2442
|
+
static hasInner(obj) {
|
|
2443
|
+
return Failed_.instanceOf(obj);
|
|
2444
|
+
}
|
|
2445
|
+
static getInner(obj) {
|
|
2446
|
+
return obj.inner;
|
|
2447
|
+
}
|
|
2448
|
+
}
|
|
2449
|
+
function instanceOf(obj) {
|
|
2450
|
+
return obj[uniffiTypeNameSymbol] === "DriverServiceTransportError";
|
|
2451
|
+
}
|
|
2452
|
+
return Object.freeze({
|
|
2453
|
+
instanceOf,
|
|
2454
|
+
Failed: Failed_
|
|
2455
|
+
});
|
|
2456
|
+
})();
|
|
2457
|
+
// FfiConverter for enum DriverServiceTransportError
|
|
2458
|
+
const FfiConverterTypeDriverServiceTransportError = (() => {
|
|
2459
|
+
const ordinalConverter = FfiConverterInt32;
|
|
2460
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
2461
|
+
read(from) {
|
|
2462
|
+
switch (ordinalConverter.read(from)) {
|
|
2463
|
+
case 1: return new DriverServiceTransportError.Failed({ reason: FfiConverterString.read(from) });
|
|
2464
|
+
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
2465
|
+
}
|
|
2466
|
+
}
|
|
2467
|
+
write(value, into) {
|
|
2468
|
+
switch (value.tag) {
|
|
2469
|
+
case DriverServiceTransportError_Tags.Failed: {
|
|
2470
|
+
ordinalConverter.write(1, into);
|
|
2471
|
+
const inner = value.inner;
|
|
2472
|
+
FfiConverterString.write(inner.reason, into);
|
|
2473
|
+
return;
|
|
2474
|
+
}
|
|
2475
|
+
default:
|
|
2476
|
+
// Throwing from here means that DriverServiceTransportError_Tags hasn't matched an ordinal.
|
|
2477
|
+
throw new UniffiInternalError.UnexpectedEnumCase();
|
|
2478
|
+
}
|
|
2479
|
+
}
|
|
2480
|
+
allocationSize(value) {
|
|
2481
|
+
switch (value.tag) {
|
|
2482
|
+
case DriverServiceTransportError_Tags.Failed: {
|
|
2483
|
+
const inner = value.inner;
|
|
2484
|
+
let size = ordinalConverter.allocationSize(1);
|
|
2485
|
+
size += FfiConverterString.allocationSize(inner.reason);
|
|
2486
|
+
return size;
|
|
2487
|
+
}
|
|
2488
|
+
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
2489
|
+
}
|
|
2490
|
+
}
|
|
2491
|
+
}
|
|
2492
|
+
return new FFIConverter();
|
|
2493
|
+
})();
|
|
2293
2494
|
// Error type: EmbeddedDriverError
|
|
2294
2495
|
export var EmbeddedDriverError_Tags;
|
|
2295
2496
|
(function (EmbeddedDriverError_Tags) {
|
|
@@ -5182,6 +5383,163 @@ const uniffiCallbackInterfaceDriverAuthorizationHost = {
|
|
|
5182
5383
|
nativeModule().uniffi_cua_driver_sdk_fn_init_callback_vtable_driverauthorizationhost(uniffiCallbackInterfaceDriverAuthorizationHost.vtable);
|
|
5183
5384
|
},
|
|
5184
5385
|
};
|
|
5386
|
+
/**
|
|
5387
|
+
* A host-bound named service, never a guest-selected URL or authority.
|
|
5388
|
+
* The transport must enforce `timeout_ms` and bound buffered response bytes to
|
|
5389
|
+
* 16 MiB. Rust bounds caller waits independently but deliberately never aborts
|
|
5390
|
+
* an active response stream during receiver teardown.
|
|
5391
|
+
*/
|
|
5392
|
+
export class DriverServiceTransportImpl extends UniffiAbstractObject {
|
|
5393
|
+
[uniffiTypeNameSymbol] = "DriverServiceTransportImpl";
|
|
5394
|
+
[destructorGuardSymbol];
|
|
5395
|
+
[pointerLiteralSymbol];
|
|
5396
|
+
// No primary constructor declared for this class.
|
|
5397
|
+
constructor(pointer) {
|
|
5398
|
+
super();
|
|
5399
|
+
this[pointerLiteralSymbol] = pointer;
|
|
5400
|
+
this[destructorGuardSymbol] = uniffiTypeDriverServiceTransportImplObjectFactory.bless(pointer);
|
|
5401
|
+
}
|
|
5402
|
+
async send(request, asyncOpts_) {
|
|
5403
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
5404
|
+
try {
|
|
5405
|
+
return await uniffiRustCallAsync(
|
|
5406
|
+
/*rustCaller:*/ uniffiCaller,
|
|
5407
|
+
/*rustFutureFunc:*/ () => {
|
|
5408
|
+
return nativeModule().uniffi_cua_driver_sdk_fn_method_driverservicetransport_send(uniffiTypeDriverServiceTransportImplObjectFactory.clonePointer(this), FfiConverterTypeDriverServiceRequest.lower(request, nativeModule().rustbuffer_alloc));
|
|
5409
|
+
},
|
|
5410
|
+
/*pollFunc:*/ nativeModule().ffi_cua_driver_sdk_rust_future_poll_rust_buffer,
|
|
5411
|
+
/*cancelFunc:*/ nativeModule().ffi_cua_driver_sdk_rust_future_cancel_rust_buffer,
|
|
5412
|
+
/*completeFunc:*/ nativeModule().ffi_cua_driver_sdk_rust_future_complete_rust_buffer,
|
|
5413
|
+
/*freeFunc:*/ nativeModule().ffi_cua_driver_sdk_rust_future_free_rust_buffer,
|
|
5414
|
+
// Async returns always go through the JS-side converter: the
|
|
5415
|
+
// FFI symbol returns the future handle (u64), and the user-level
|
|
5416
|
+
// RustBuffer comes back via the shared `rust_future_complete_*`
|
|
5417
|
+
// export. The bytes the runtime hands back must be deserialized
|
|
5418
|
+
// here using the per-callable return-type converter.
|
|
5419
|
+
/*liftFunc:*/ FfiConverterTypeDriverServiceResponse.lift.bind(FfiConverterTypeDriverServiceResponse),
|
|
5420
|
+
/*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),
|
|
5421
|
+
/*asyncOpts:*/ asyncOpts_,
|
|
5422
|
+
/*errorHandler:*/ FfiConverterTypeDriverServiceTransportError.lift.bind(FfiConverterTypeDriverServiceTransportError));
|
|
5423
|
+
}
|
|
5424
|
+
catch (__error) {
|
|
5425
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
5426
|
+
__error.stack = __stack;
|
|
5427
|
+
}
|
|
5428
|
+
throw __error;
|
|
5429
|
+
}
|
|
5430
|
+
}
|
|
5431
|
+
uniffiDestroy() {
|
|
5432
|
+
const ptr = this[destructorGuardSymbol];
|
|
5433
|
+
if (ptr !== undefined) {
|
|
5434
|
+
const pointer = uniffiTypeDriverServiceTransportImplObjectFactory.pointer(this);
|
|
5435
|
+
uniffiTypeDriverServiceTransportImplObjectFactory.freePointer(pointer);
|
|
5436
|
+
uniffiTypeDriverServiceTransportImplObjectFactory.unbless(ptr);
|
|
5437
|
+
delete this[destructorGuardSymbol];
|
|
5438
|
+
}
|
|
5439
|
+
}
|
|
5440
|
+
static instanceOf(obj_) {
|
|
5441
|
+
return uniffiTypeDriverServiceTransportImplObjectFactory.isConcreteType(obj_);
|
|
5442
|
+
}
|
|
5443
|
+
}
|
|
5444
|
+
const uniffiTypeDriverServiceTransportImplObjectFactory = (() => {
|
|
5445
|
+
/// <reference lib="es2021" />
|
|
5446
|
+
const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry((heldValue) => {
|
|
5447
|
+
uniffiTypeDriverServiceTransportImplObjectFactory.freePointer(heldValue);
|
|
5448
|
+
}) : null;
|
|
5449
|
+
return {
|
|
5450
|
+
create(pointer) {
|
|
5451
|
+
const instance = Object.create(DriverServiceTransportImpl.prototype);
|
|
5452
|
+
instance[pointerLiteralSymbol] = pointer;
|
|
5453
|
+
instance[destructorGuardSymbol] = this.bless(pointer);
|
|
5454
|
+
instance[uniffiTypeNameSymbol] = "DriverServiceTransportImpl";
|
|
5455
|
+
return instance;
|
|
5456
|
+
},
|
|
5457
|
+
bless(p) {
|
|
5458
|
+
const ptr = {
|
|
5459
|
+
p, // make sure this object doesn't get optimized away.
|
|
5460
|
+
markDestroyed: () => undefined,
|
|
5461
|
+
};
|
|
5462
|
+
if (registry) {
|
|
5463
|
+
registry.register(ptr, p, ptr);
|
|
5464
|
+
}
|
|
5465
|
+
return ptr;
|
|
5466
|
+
},
|
|
5467
|
+
unbless(ptr_) {
|
|
5468
|
+
if (registry) {
|
|
5469
|
+
registry.unregister(ptr_);
|
|
5470
|
+
}
|
|
5471
|
+
},
|
|
5472
|
+
pointer(obj_) {
|
|
5473
|
+
if (obj_[destructorGuardSymbol] === undefined) {
|
|
5474
|
+
throw new UniffiInternalError.UnexpectedNullPointer();
|
|
5475
|
+
}
|
|
5476
|
+
return obj_[pointerLiteralSymbol];
|
|
5477
|
+
},
|
|
5478
|
+
clonePointer(obj_) {
|
|
5479
|
+
const pointer = this.pointer(obj_);
|
|
5480
|
+
return uniffiCaller.rustCall(
|
|
5481
|
+
/*caller:*/ (callStatus) => nativeModule().uniffi_cua_driver_sdk_fn_clone_driverservicetransport(pointer, callStatus),
|
|
5482
|
+
/*liftString:*/ FfiConverterString.lift);
|
|
5483
|
+
},
|
|
5484
|
+
freePointer(pointer) {
|
|
5485
|
+
uniffiCaller.rustCall(
|
|
5486
|
+
/*caller:*/ (callStatus) => nativeModule().uniffi_cua_driver_sdk_fn_free_driverservicetransport(pointer, callStatus),
|
|
5487
|
+
/*liftString:*/ FfiConverterString.lift);
|
|
5488
|
+
},
|
|
5489
|
+
isConcreteType(obj_) {
|
|
5490
|
+
return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "DriverServiceTransportImpl";
|
|
5491
|
+
},
|
|
5492
|
+
};
|
|
5493
|
+
})();
|
|
5494
|
+
const FfiConverterTypeDriverServiceTransport = new FfiConverterObjectWithCallbacks(uniffiTypeDriverServiceTransportImplObjectFactory);
|
|
5495
|
+
// Add a vtable for the callbacks that go in DriverServiceTransport.
|
|
5496
|
+
// Put the implementation in a struct so we don't pollute the top-level namespace
|
|
5497
|
+
const uniffiCallbackInterfaceDriverServiceTransport = {
|
|
5498
|
+
// Create the VTable using a series of closures.
|
|
5499
|
+
// ts automatically converts these into C callback functions.
|
|
5500
|
+
vtable: {
|
|
5501
|
+
send: (uniffiHandle, request, uniffiFutureCallback, uniffiCallbackData) => {
|
|
5502
|
+
const uniffiMakeCall = async (signal) => {
|
|
5503
|
+
const jsCallback = FfiConverterTypeDriverServiceTransport.lift(uniffiHandle);
|
|
5504
|
+
return await jsCallback.send(FfiConverterTypeDriverServiceRequest.lift(request), { signal });
|
|
5505
|
+
};
|
|
5506
|
+
const uniffiHandleSuccess = (returnValue) => {
|
|
5507
|
+
uniffiFutureCallback.call(uniffiFutureCallback, uniffiCallbackData,
|
|
5508
|
+
/* UniffiForeignFutureResultRustBuffer */ {
|
|
5509
|
+
return_value: FfiConverterTypeDriverServiceResponse.lower(returnValue, nativeModule().rustbuffer_alloc),
|
|
5510
|
+
call_status: uniffiCaller.createCallStatus()
|
|
5511
|
+
});
|
|
5512
|
+
};
|
|
5513
|
+
const uniffiHandleError = (code, errorBuf) => {
|
|
5514
|
+
uniffiFutureCallback.call(uniffiFutureCallback, uniffiCallbackData,
|
|
5515
|
+
/* UniffiForeignFutureResultRustBuffer */ {
|
|
5516
|
+
return_value: /*empty*/ new Uint8Array(0),
|
|
5517
|
+
// TODO create callstatus with error.
|
|
5518
|
+
call_status: uniffiCaller.createErrorStatus(code, errorBuf),
|
|
5519
|
+
});
|
|
5520
|
+
};
|
|
5521
|
+
const uniffiForeignFuture = uniffiTraitInterfaceCallAsyncWithError(
|
|
5522
|
+
/*makeCall:*/ uniffiMakeCall,
|
|
5523
|
+
/*handleSuccess:*/ uniffiHandleSuccess,
|
|
5524
|
+
/*handleError:*/ uniffiHandleError,
|
|
5525
|
+
/*isErrorType:*/ DriverServiceTransportError.instanceOf,
|
|
5526
|
+
/*lowerError:*/ FfiConverterTypeDriverServiceTransportError.lower.bind(FfiConverterTypeDriverServiceTransportError),
|
|
5527
|
+
/*lowerString:*/ FfiConverterString.lower.bind(FfiConverterString),
|
|
5528
|
+
/*alloc:*/ nativeModule().rustbuffer_alloc);
|
|
5529
|
+
return uniffiForeignFuture;
|
|
5530
|
+
},
|
|
5531
|
+
uniffi_free: (uniffiHandle) => {
|
|
5532
|
+
// this will throw a stale handle error if the handle isn't found.
|
|
5533
|
+
FfiConverterTypeDriverServiceTransport.drop(uniffiHandle);
|
|
5534
|
+
},
|
|
5535
|
+
uniffi_clone: (uniffiHandle) => {
|
|
5536
|
+
return FfiConverterTypeDriverServiceTransport.clone(uniffiHandle);
|
|
5537
|
+
}
|
|
5538
|
+
},
|
|
5539
|
+
register: () => {
|
|
5540
|
+
nativeModule().uniffi_cua_driver_sdk_fn_init_callback_vtable_driverservicetransport(uniffiCallbackInterfaceDriverServiceTransport.vtable);
|
|
5541
|
+
},
|
|
5542
|
+
};
|
|
5185
5543
|
export class EmbeddedCuaDriverHost extends UniffiAbstractObject {
|
|
5186
5544
|
[uniffiTypeNameSymbol] = "EmbeddedCuaDriverHost";
|
|
5187
5545
|
[destructorGuardSymbol];
|
|
@@ -5408,12 +5766,159 @@ const uniffiTypeEmbeddedCuaDriverHostObjectFactory = (() => {
|
|
|
5408
5766
|
};
|
|
5409
5767
|
})();
|
|
5410
5768
|
const FfiConverterTypeEmbeddedCuaDriverHost = new FfiConverterObject(uniffiTypeEmbeddedCuaDriverHostObjectFactory);
|
|
5769
|
+
export class McpDriverChannel extends UniffiAbstractObject {
|
|
5770
|
+
[uniffiTypeNameSymbol] = "McpDriverChannel";
|
|
5771
|
+
[destructorGuardSymbol];
|
|
5772
|
+
[pointerLiteralSymbol];
|
|
5773
|
+
// No primary constructor declared for this class.
|
|
5774
|
+
constructor(pointer) {
|
|
5775
|
+
super();
|
|
5776
|
+
this[pointerLiteralSymbol] = pointer;
|
|
5777
|
+
this[destructorGuardSymbol] = uniffiTypeMcpDriverChannelObjectFactory.bless(pointer);
|
|
5778
|
+
}
|
|
5779
|
+
async close(asyncOpts_) {
|
|
5780
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
5781
|
+
try {
|
|
5782
|
+
return await uniffiRustCallAsync(
|
|
5783
|
+
/*rustCaller:*/ uniffiCaller,
|
|
5784
|
+
/*rustFutureFunc:*/ () => {
|
|
5785
|
+
return nativeModule().uniffi_cua_driver_sdk_fn_method_mcpdriverchannel_close(uniffiTypeMcpDriverChannelObjectFactory.clonePointer(this));
|
|
5786
|
+
},
|
|
5787
|
+
/*pollFunc:*/ nativeModule().ffi_cua_driver_sdk_rust_future_poll_void,
|
|
5788
|
+
/*cancelFunc:*/ nativeModule().ffi_cua_driver_sdk_rust_future_cancel_void,
|
|
5789
|
+
/*completeFunc:*/ nativeModule().ffi_cua_driver_sdk_rust_future_complete_void,
|
|
5790
|
+
/*freeFunc:*/ nativeModule().ffi_cua_driver_sdk_rust_future_free_void,
|
|
5791
|
+
/*liftFunc:*/ (_v) => { },
|
|
5792
|
+
/*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),
|
|
5793
|
+
/*asyncOpts:*/ asyncOpts_,
|
|
5794
|
+
/*errorHandler:*/ FfiConverterTypeDriverError.lift.bind(FfiConverterTypeDriverError));
|
|
5795
|
+
}
|
|
5796
|
+
catch (__error) {
|
|
5797
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
5798
|
+
__error.stack = __stack;
|
|
5799
|
+
}
|
|
5800
|
+
throw __error;
|
|
5801
|
+
}
|
|
5802
|
+
}
|
|
5803
|
+
driver() {
|
|
5804
|
+
return FfiConverterTypeCuaDriver.lift(uniffiCaller.rustCallWithError(
|
|
5805
|
+
/*liftError:*/ FfiConverterTypeDriverError.lift.bind(FfiConverterTypeDriverError),
|
|
5806
|
+
/*caller:*/ (callStatus) => {
|
|
5807
|
+
return nativeModule().uniffi_cua_driver_sdk_fn_method_mcpdriverchannel_driver(uniffiTypeMcpDriverChannelObjectFactory.clonePointer(this), callStatus);
|
|
5808
|
+
},
|
|
5809
|
+
/*liftString:*/ FfiConverterString.lift.bind(FfiConverterString)));
|
|
5810
|
+
}
|
|
5811
|
+
async open(asyncOpts_) {
|
|
5812
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
5813
|
+
try {
|
|
5814
|
+
return await uniffiRustCallAsync(
|
|
5815
|
+
/*rustCaller:*/ uniffiCaller,
|
|
5816
|
+
/*rustFutureFunc:*/ () => {
|
|
5817
|
+
return nativeModule().uniffi_cua_driver_sdk_fn_method_mcpdriverchannel_open(uniffiTypeMcpDriverChannelObjectFactory.clonePointer(this));
|
|
5818
|
+
},
|
|
5819
|
+
/*pollFunc:*/ nativeModule().ffi_cua_driver_sdk_rust_future_poll_void,
|
|
5820
|
+
/*cancelFunc:*/ nativeModule().ffi_cua_driver_sdk_rust_future_cancel_void,
|
|
5821
|
+
/*completeFunc:*/ nativeModule().ffi_cua_driver_sdk_rust_future_complete_void,
|
|
5822
|
+
/*freeFunc:*/ nativeModule().ffi_cua_driver_sdk_rust_future_free_void,
|
|
5823
|
+
/*liftFunc:*/ (_v) => { },
|
|
5824
|
+
/*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),
|
|
5825
|
+
/*asyncOpts:*/ asyncOpts_,
|
|
5826
|
+
/*errorHandler:*/ FfiConverterTypeDriverError.lift.bind(FfiConverterTypeDriverError));
|
|
5827
|
+
}
|
|
5828
|
+
catch (__error) {
|
|
5829
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
5830
|
+
__error.stack = __stack;
|
|
5831
|
+
}
|
|
5832
|
+
throw __error;
|
|
5833
|
+
}
|
|
5834
|
+
}
|
|
5835
|
+
publicSession() {
|
|
5836
|
+
return ((__rb) => {
|
|
5837
|
+
try {
|
|
5838
|
+
return FfiConverterString.lift(__rb);
|
|
5839
|
+
}
|
|
5840
|
+
finally {
|
|
5841
|
+
nativeModule().rustbuffer_free(__rb);
|
|
5842
|
+
}
|
|
5843
|
+
})(uniffiCaller.rustCallWithError(
|
|
5844
|
+
/*liftError:*/ FfiConverterTypeDriverError.lift.bind(FfiConverterTypeDriverError),
|
|
5845
|
+
/*caller:*/ (callStatus) => {
|
|
5846
|
+
return nativeModule().uniffi_cua_driver_sdk_fn_method_mcpdriverchannel_public_session(uniffiTypeMcpDriverChannelObjectFactory.clonePointer(this), callStatus);
|
|
5847
|
+
},
|
|
5848
|
+
/*liftString:*/ FfiConverterString.lift.bind(FfiConverterString)));
|
|
5849
|
+
}
|
|
5850
|
+
uniffiDestroy() {
|
|
5851
|
+
const ptr = this[destructorGuardSymbol];
|
|
5852
|
+
if (ptr !== undefined) {
|
|
5853
|
+
const pointer = uniffiTypeMcpDriverChannelObjectFactory.pointer(this);
|
|
5854
|
+
uniffiTypeMcpDriverChannelObjectFactory.freePointer(pointer);
|
|
5855
|
+
uniffiTypeMcpDriverChannelObjectFactory.unbless(ptr);
|
|
5856
|
+
delete this[destructorGuardSymbol];
|
|
5857
|
+
}
|
|
5858
|
+
}
|
|
5859
|
+
static instanceOf(obj_) {
|
|
5860
|
+
return uniffiTypeMcpDriverChannelObjectFactory.isConcreteType(obj_);
|
|
5861
|
+
}
|
|
5862
|
+
}
|
|
5863
|
+
const uniffiTypeMcpDriverChannelObjectFactory = (() => {
|
|
5864
|
+
/// <reference lib="es2021" />
|
|
5865
|
+
const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry((heldValue) => {
|
|
5866
|
+
uniffiTypeMcpDriverChannelObjectFactory.freePointer(heldValue);
|
|
5867
|
+
}) : null;
|
|
5868
|
+
return {
|
|
5869
|
+
create(pointer) {
|
|
5870
|
+
const instance = Object.create(McpDriverChannel.prototype);
|
|
5871
|
+
instance[pointerLiteralSymbol] = pointer;
|
|
5872
|
+
instance[destructorGuardSymbol] = this.bless(pointer);
|
|
5873
|
+
instance[uniffiTypeNameSymbol] = "McpDriverChannel";
|
|
5874
|
+
return instance;
|
|
5875
|
+
},
|
|
5876
|
+
bless(p) {
|
|
5877
|
+
const ptr = {
|
|
5878
|
+
p, // make sure this object doesn't get optimized away.
|
|
5879
|
+
markDestroyed: () => undefined,
|
|
5880
|
+
};
|
|
5881
|
+
if (registry) {
|
|
5882
|
+
registry.register(ptr, p, ptr);
|
|
5883
|
+
}
|
|
5884
|
+
return ptr;
|
|
5885
|
+
},
|
|
5886
|
+
unbless(ptr_) {
|
|
5887
|
+
if (registry) {
|
|
5888
|
+
registry.unregister(ptr_);
|
|
5889
|
+
}
|
|
5890
|
+
},
|
|
5891
|
+
pointer(obj_) {
|
|
5892
|
+
if (obj_[destructorGuardSymbol] === undefined) {
|
|
5893
|
+
throw new UniffiInternalError.UnexpectedNullPointer();
|
|
5894
|
+
}
|
|
5895
|
+
return obj_[pointerLiteralSymbol];
|
|
5896
|
+
},
|
|
5897
|
+
clonePointer(obj_) {
|
|
5898
|
+
const pointer = this.pointer(obj_);
|
|
5899
|
+
return uniffiCaller.rustCall(
|
|
5900
|
+
/*caller:*/ (callStatus) => nativeModule().uniffi_cua_driver_sdk_fn_clone_mcpdriverchannel(pointer, callStatus),
|
|
5901
|
+
/*liftString:*/ FfiConverterString.lift);
|
|
5902
|
+
},
|
|
5903
|
+
freePointer(pointer) {
|
|
5904
|
+
uniffiCaller.rustCall(
|
|
5905
|
+
/*caller:*/ (callStatus) => nativeModule().uniffi_cua_driver_sdk_fn_free_mcpdriverchannel(pointer, callStatus),
|
|
5906
|
+
/*liftString:*/ FfiConverterString.lift);
|
|
5907
|
+
},
|
|
5908
|
+
isConcreteType(obj_) {
|
|
5909
|
+
return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "McpDriverChannel";
|
|
5910
|
+
},
|
|
5911
|
+
};
|
|
5912
|
+
})();
|
|
5913
|
+
const FfiConverterTypeMcpDriverChannel = new FfiConverterObject(uniffiTypeMcpDriverChannelObjectFactory);
|
|
5411
5914
|
// FfiConverter for Array<SessionPermissionMode>
|
|
5412
5915
|
const FfiConverterSequenceTypeSessionPermissionMode = new FfiConverterArray(FfiConverterTypeSessionPermissionMode);
|
|
5413
5916
|
// FfiConverter for string | undefined
|
|
5414
5917
|
const FfiConverterOptionalString = new FfiConverterOptional(FfiConverterString);
|
|
5415
5918
|
// FfiConverter for Array<string>
|
|
5416
5919
|
const FfiConverterSequenceString = new FfiConverterArray(FfiConverterString);
|
|
5920
|
+
// FfiConverter for Array<DriverServiceHeader>
|
|
5921
|
+
const FfiConverterSequenceTypeDriverServiceHeader = new FfiConverterArray(FfiConverterTypeDriverServiceHeader);
|
|
5417
5922
|
// FfiConverter for Array<EmbeddedEnvironmentVariable>
|
|
5418
5923
|
const FfiConverterSequenceTypeEmbeddedEnvironmentVariable = new FfiConverterArray(FfiConverterTypeEmbeddedEnvironmentVariable);
|
|
5419
5924
|
// FfiConverter for number | undefined
|
|
@@ -5465,6 +5970,9 @@ function uniffiEnsureInitialized() {
|
|
|
5465
5970
|
if (nativeModule().uniffi_cua_driver_sdk_checksum_func_open_mac_os_screen_recording_settings() !== 6663) {
|
|
5466
5971
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cua_driver_sdk_checksum_func_open_mac_os_screen_recording_settings");
|
|
5467
5972
|
}
|
|
5973
|
+
if (nativeModule().uniffi_cua_driver_sdk_checksum_func_open_mcp_driver_channel() !== 952) {
|
|
5974
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cua_driver_sdk_checksum_func_open_mcp_driver_channel");
|
|
5975
|
+
}
|
|
5468
5976
|
if (nativeModule().uniffi_cua_driver_sdk_checksum_func_request_mac_os_permissions() !== 61823) {
|
|
5469
5977
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cua_driver_sdk_checksum_func_request_mac_os_permissions");
|
|
5470
5978
|
}
|
|
@@ -5717,6 +6225,9 @@ function uniffiEnsureInitialized() {
|
|
|
5717
6225
|
if (nativeModule().uniffi_cua_driver_sdk_checksum_method_driverauthorizationhost_authorize() !== 10089) {
|
|
5718
6226
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cua_driver_sdk_checksum_method_driverauthorizationhost_authorize");
|
|
5719
6227
|
}
|
|
6228
|
+
if (nativeModule().uniffi_cua_driver_sdk_checksum_method_driverservicetransport_send() !== 53285) {
|
|
6229
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cua_driver_sdk_checksum_method_driverservicetransport_send");
|
|
6230
|
+
}
|
|
5720
6231
|
if (nativeModule().uniffi_cua_driver_sdk_checksum_constructor_embeddedcuadriverhost_new() !== 10108) {
|
|
5721
6232
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cua_driver_sdk_checksum_constructor_embeddedcuadriverhost_new");
|
|
5722
6233
|
}
|
|
@@ -5759,9 +6270,22 @@ function uniffiEnsureInitialized() {
|
|
|
5759
6270
|
if (nativeModule().uniffi_cua_driver_sdk_checksum_method_foreigndriverenvelopechannel_close() !== 42601) {
|
|
5760
6271
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cua_driver_sdk_checksum_method_foreigndriverenvelopechannel_close");
|
|
5761
6272
|
}
|
|
6273
|
+
if (nativeModule().uniffi_cua_driver_sdk_checksum_method_mcpdriverchannel_close() !== 59055) {
|
|
6274
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cua_driver_sdk_checksum_method_mcpdriverchannel_close");
|
|
6275
|
+
}
|
|
6276
|
+
if (nativeModule().uniffi_cua_driver_sdk_checksum_method_mcpdriverchannel_driver() !== 6660) {
|
|
6277
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cua_driver_sdk_checksum_method_mcpdriverchannel_driver");
|
|
6278
|
+
}
|
|
6279
|
+
if (nativeModule().uniffi_cua_driver_sdk_checksum_method_mcpdriverchannel_open() !== 13274) {
|
|
6280
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cua_driver_sdk_checksum_method_mcpdriverchannel_open");
|
|
6281
|
+
}
|
|
6282
|
+
if (nativeModule().uniffi_cua_driver_sdk_checksum_method_mcpdriverchannel_public_session() !== 15027) {
|
|
6283
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cua_driver_sdk_checksum_method_mcpdriverchannel_public_session");
|
|
6284
|
+
}
|
|
5762
6285
|
uniffiCallbackInterfaceForeignDriverEnvelopeChannel.register();
|
|
5763
6286
|
uniffiCallbackInterfaceDriverActivityObserver.register();
|
|
5764
6287
|
uniffiCallbackInterfaceDriverAuthorizationHost.register();
|
|
6288
|
+
uniffiCallbackInterfaceDriverServiceTransport.register();
|
|
5765
6289
|
}
|
|
5766
6290
|
export default Object.freeze({
|
|
5767
6291
|
initialize: uniffiEnsureInitialized,
|
|
@@ -5782,6 +6306,11 @@ export default Object.freeze({
|
|
|
5782
6306
|
FfiConverterTypeDriverExecutionMode,
|
|
5783
6307
|
FfiConverterTypeDriverMetadata,
|
|
5784
6308
|
FfiConverterTypeDriverOptions,
|
|
6309
|
+
FfiConverterTypeDriverServiceHeader,
|
|
6310
|
+
FfiConverterTypeDriverServiceRequest,
|
|
6311
|
+
FfiConverterTypeDriverServiceResponse,
|
|
6312
|
+
FfiConverterTypeDriverServiceTransport,
|
|
6313
|
+
FfiConverterTypeDriverServiceTransportError,
|
|
5785
6314
|
FfiConverterTypeEmbeddedCuaDriverHost,
|
|
5786
6315
|
FfiConverterTypeEmbeddedDriverConnection,
|
|
5787
6316
|
FfiConverterTypeEmbeddedDriverError,
|
|
@@ -5800,6 +6329,7 @@ export default Object.freeze({
|
|
|
5800
6329
|
FfiConverterTypeForeignDriverResponseEnvelope,
|
|
5801
6330
|
FfiConverterTypeImageContent,
|
|
5802
6331
|
FfiConverterTypeMacOsPermissionStatus,
|
|
6332
|
+
FfiConverterTypeMcpDriverChannel,
|
|
5803
6333
|
FfiConverterTypePrivateWorkerOptions,
|
|
5804
6334
|
FfiConverterTypeRuntimeAuthorizationOptions,
|
|
5805
6335
|
FfiConverterTypeSdkClientKind,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trycua/cua-driver",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "Rust-backed Cua Driver SDK and embedded Node host",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,6 +22,10 @@
|
|
|
22
22
|
"./electron": {
|
|
23
23
|
"types": "./dist/electron.d.ts",
|
|
24
24
|
"import": "./dist/electron.js"
|
|
25
|
+
},
|
|
26
|
+
"./fleet": {
|
|
27
|
+
"types": "./dist/fleet.d.ts",
|
|
28
|
+
"import": "./dist/fleet.js"
|
|
25
29
|
}
|
|
26
30
|
},
|
|
27
31
|
"files": [
|
|
@@ -31,6 +35,8 @@
|
|
|
31
35
|
"dist/embedded.d.ts",
|
|
32
36
|
"dist/electron.js",
|
|
33
37
|
"dist/electron.d.ts",
|
|
38
|
+
"dist/fleet.js",
|
|
39
|
+
"dist/fleet.d.ts",
|
|
34
40
|
"dist/native",
|
|
35
41
|
"README.md"
|
|
36
42
|
],
|
|
@@ -42,11 +48,11 @@
|
|
|
42
48
|
"@ubjs/node": "0.31.0-3"
|
|
43
49
|
},
|
|
44
50
|
"optionalDependencies": {
|
|
45
|
-
"@trycua/cua-driver-darwin-arm64": "0.
|
|
46
|
-
"@trycua/cua-driver-darwin-x64": "0.
|
|
47
|
-
"@trycua/cua-driver-linux-arm64-gnu": "0.
|
|
48
|
-
"@trycua/cua-driver-linux-x64-gnu": "0.
|
|
49
|
-
"@trycua/cua-driver-win32-arm64-msvc": "0.
|
|
50
|
-
"@trycua/cua-driver-win32-x64-msvc": "0.
|
|
51
|
+
"@trycua/cua-driver-darwin-arm64": "0.27.0",
|
|
52
|
+
"@trycua/cua-driver-darwin-x64": "0.27.0",
|
|
53
|
+
"@trycua/cua-driver-linux-arm64-gnu": "0.27.0",
|
|
54
|
+
"@trycua/cua-driver-linux-x64-gnu": "0.27.0",
|
|
55
|
+
"@trycua/cua-driver-win32-arm64-msvc": "0.27.0",
|
|
56
|
+
"@trycua/cua-driver-win32-x64-msvc": "0.27.0"
|
|
51
57
|
}
|
|
52
58
|
}
|