@trycua/cua 0.2.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 +121 -0
- package/bin/cua.js +37 -0
- package/browser/cua_sdk-ffi.d.ts +6 -0
- package/browser/cua_sdk-ffi.js +3 -0
- package/browser/cua_sdk-ffi.ts +14 -0
- package/browser/cua_sdk.d.ts +2237 -0
- package/browser/cua_sdk.js +2607 -0
- package/browser/cua_sdk.ts +3644 -0
- package/browser/cyclops_sdk_schema-ffi.d.ts +6 -0
- package/browser/cyclops_sdk_schema-ffi.js +3 -0
- package/browser/cyclops_sdk_schema-ffi.ts +14 -0
- package/browser/cyclops_sdk_schema.d.ts +996 -0
- package/browser/cyclops_sdk_schema.js +2194 -0
- package/browser/cyclops_sdk_schema.ts +2934 -0
- package/browser/fleet_sdk-ffi.d.ts +28 -0
- package/browser/fleet_sdk-ffi.js +3 -0
- package/browser/fleet_sdk-ffi.ts +35 -0
- package/browser/fleet_sdk.d.ts +3056 -0
- package/browser/fleet_sdk.js +5088 -0
- package/browser/fleet_sdk.ts +6830 -0
- package/browser/index.d.ts +2 -0
- package/browser/index.js +18 -0
- package/browser/index.web.ts +34 -0
- package/browser/tsconfig.json +20 -0
- package/browser/wasm-bindgen/index.d.ts +2346 -0
- package/browser/wasm-bindgen/index.js +6642 -0
- package/browser/wasm-bindgen/index_bg.wasm +0 -0
- package/browser/wasm-bindgen/index_bg.wasm.d.ts +1154 -0
- package/dist/index.d.ts +118 -0
- package/dist/index.js +207 -0
- package/dist/mcp.d.ts +33 -0
- package/dist/mcp.js +41 -0
- package/dist/native/cua_sdk-ffi.d.ts +1038 -0
- package/dist/native/cua_sdk-ffi.js +5095 -0
- package/dist/native/cua_sdk.d.ts +15906 -0
- package/dist/native/cua_sdk.js +27061 -0
- package/dist/native/index.d.ts +7 -0
- package/dist/native/index.js +12 -0
- package/dist/native/node-runtime.d.ts +72 -0
- package/dist/native/node-runtime.js +35 -0
- package/dist/spaces/cursorArt.d.ts +27 -0
- package/dist/spaces/cursorArt.js +59 -0
- package/dist/spaces/errors.d.ts +81 -0
- package/dist/spaces/errors.js +102 -0
- package/dist/spaces/events.d.ts +154 -0
- package/dist/spaces/events.js +182 -0
- package/dist/spaces/groups.d.ts +130 -0
- package/dist/spaces/groups.js +275 -0
- package/dist/spaces/host.d.ts +71 -0
- package/dist/spaces/host.js +154 -0
- package/dist/spaces/index.d.ts +48 -0
- package/dist/spaces/index.js +44 -0
- package/dist/spaces/pip.d.ts +128 -0
- package/dist/spaces/pip.js +250 -0
- package/dist/spaces/presence.d.ts +187 -0
- package/dist/spaces/presence.js +449 -0
- package/dist/spaces/presenceTypes.check.d.ts +12 -0
- package/dist/spaces/presenceTypes.check.js +1 -0
- package/dist/spaces/presenceTypes.d.ts +47 -0
- package/dist/spaces/presenceTypes.js +7 -0
- package/dist/spaces/routines.d.ts +158 -0
- package/dist/spaces/routines.js +339 -0
- package/dist/spaces/thread.d.ts +147 -0
- package/dist/spaces/thread.js +285 -0
- package/dist/spaces/transport/http.d.ts +51 -0
- package/dist/spaces/transport/http.js +113 -0
- package/dist/spaces/transport/index.d.ts +19 -0
- package/dist/spaces/transport/index.js +19 -0
- package/dist/spaces/transport/session.d.ts +120 -0
- package/dist/spaces/transport/session.js +188 -0
- package/dist/spaces/transport/tauri.d.ts +50 -0
- package/dist/spaces/transport/tauri.js +90 -0
- package/dist/spaces/transport/types.d.ts +123 -0
- package/dist/spaces/transport/types.js +59 -0
- package/dist/teleport/controller.d.ts +34 -0
- package/dist/teleport/controller.js +107 -0
- package/dist/teleport/drop.d.ts +62 -0
- package/dist/teleport/drop.js +138 -0
- package/dist/teleport/dropZone.d.ts +59 -0
- package/dist/teleport/dropZone.js +166 -0
- package/dist/teleport/element.d.ts +28 -0
- package/dist/teleport/element.js +340 -0
- package/dist/teleport/index.d.ts +32 -0
- package/dist/teleport/index.js +32 -0
- package/dist/teleport/install.d.ts +31 -0
- package/dist/teleport/install.js +65 -0
- package/dist/teleport/model.d.ts +245 -0
- package/dist/teleport/model.js +334 -0
- package/dist/teleport/windowDrag.d.ts +86 -0
- package/dist/teleport/windowDrag.js +71 -0
- package/package.json +93 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export type UniffiRustFutureContinuationCallback = (data: bigint, pollResult: number) => void;
|
|
2
|
+
export type UniffiForeignFutureDroppedCallback = (handle: bigint) => void;
|
|
3
|
+
export type UniffiForeignFutureDroppedCallbackStruct = {
|
|
4
|
+
handle: bigint;
|
|
5
|
+
free: UniffiForeignFutureDroppedCallback;
|
|
6
|
+
};
|
|
7
|
+
export type UniffiForeignFutureResultRustBuffer = {
|
|
8
|
+
return_value: Uint8Array;
|
|
9
|
+
call_status: UniffiRustCallStatus;
|
|
10
|
+
};
|
|
11
|
+
export type UniffiForeignFutureCompleterustBuffer = (callbackData: bigint, result: UniffiForeignFutureResultRustBuffer) => void;
|
|
12
|
+
type UniffiCallbackInterfaceFleetSdkAccessTokenProviderMethod0 = (uniffiHandle: bigint, forceRefresh: number, uniffiFutureCallback: UniffiForeignFutureCompleterustBuffer, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
|
|
13
|
+
type UniffiCallbackInterfaceCloneFleetSdkAccessTokenProvider = (handle: bigint) => UniffiResult<void>;
|
|
14
|
+
type UniffiCallbackInterfaceFreeFleetSdkAccessTokenProvider = (handle: bigint) => void;
|
|
15
|
+
export type UniffiVTableCallbackInterfaceFleetSdkAccessTokenProvider = {
|
|
16
|
+
uniffi_free: UniffiCallbackInterfaceFreeFleetSdkAccessTokenProvider;
|
|
17
|
+
uniffi_clone: UniffiCallbackInterfaceCloneFleetSdkAccessTokenProvider;
|
|
18
|
+
get_access_token: UniffiCallbackInterfaceFleetSdkAccessTokenProviderMethod0;
|
|
19
|
+
};
|
|
20
|
+
type UniffiCallbackInterfaceFleetSdkHttpClientMethod0 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleterustBuffer, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
|
|
21
|
+
type UniffiCallbackInterfaceCloneFleetSdkHttpClient = (handle: bigint) => UniffiResult<void>;
|
|
22
|
+
type UniffiCallbackInterfaceFreeFleetSdkHttpClient = (handle: bigint) => void;
|
|
23
|
+
export type UniffiVTableCallbackInterfaceFleetSdkHttpClient = {
|
|
24
|
+
uniffi_free: UniffiCallbackInterfaceFreeFleetSdkHttpClient;
|
|
25
|
+
uniffi_clone: UniffiCallbackInterfaceCloneFleetSdkHttpClient;
|
|
26
|
+
execute: UniffiCallbackInterfaceFleetSdkHttpClientMethod0;
|
|
27
|
+
};
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// This file was autogenerated by some hot garbage in the `uniffi-bindgen-react-native` crate.
|
|
2
|
+
// Trust me, you don't want to mess with it!
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// @ts-nocheck
|
|
7
|
+
|
|
8
|
+
// Structs and function types for calling back into Typescript from Rust.
|
|
9
|
+
export type UniffiRustFutureContinuationCallback = (data: bigint, pollResult: number) => void;
|
|
10
|
+
export type UniffiForeignFutureDroppedCallback = (handle: bigint) => void;
|
|
11
|
+
export type UniffiForeignFutureDroppedCallbackStruct = {
|
|
12
|
+
handle: bigint;
|
|
13
|
+
free: UniffiForeignFutureDroppedCallback;
|
|
14
|
+
};
|
|
15
|
+
export type UniffiForeignFutureResultRustBuffer = {
|
|
16
|
+
return_value: Uint8Array;
|
|
17
|
+
call_status: UniffiRustCallStatus;
|
|
18
|
+
};
|
|
19
|
+
export type UniffiForeignFutureCompleterustBuffer = (callbackData: bigint, result: UniffiForeignFutureResultRustBuffer) => void;
|
|
20
|
+
type UniffiCallbackInterfaceFleetSdkAccessTokenProviderMethod0 = (uniffiHandle: bigint, forceRefresh: number, uniffiFutureCallback: UniffiForeignFutureCompleterustBuffer, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
|
|
21
|
+
type UniffiCallbackInterfaceCloneFleetSdkAccessTokenProvider = (handle: bigint) => UniffiResult<void>;
|
|
22
|
+
type UniffiCallbackInterfaceFreeFleetSdkAccessTokenProvider = (handle: bigint) => void;
|
|
23
|
+
export type UniffiVTableCallbackInterfaceFleetSdkAccessTokenProvider = {
|
|
24
|
+
uniffi_free: UniffiCallbackInterfaceFreeFleetSdkAccessTokenProvider;
|
|
25
|
+
uniffi_clone: UniffiCallbackInterfaceCloneFleetSdkAccessTokenProvider;
|
|
26
|
+
get_access_token: UniffiCallbackInterfaceFleetSdkAccessTokenProviderMethod0;
|
|
27
|
+
};
|
|
28
|
+
type UniffiCallbackInterfaceFleetSdkHttpClientMethod0 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleterustBuffer, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
|
|
29
|
+
type UniffiCallbackInterfaceCloneFleetSdkHttpClient = (handle: bigint) => UniffiResult<void>;
|
|
30
|
+
type UniffiCallbackInterfaceFreeFleetSdkHttpClient = (handle: bigint) => void;
|
|
31
|
+
export type UniffiVTableCallbackInterfaceFleetSdkHttpClient = {
|
|
32
|
+
uniffi_free: UniffiCallbackInterfaceFreeFleetSdkHttpClient;
|
|
33
|
+
uniffi_clone: UniffiCallbackInterfaceCloneFleetSdkHttpClient;
|
|
34
|
+
execute: UniffiCallbackInterfaceFleetSdkHttpClientMethod0;
|
|
35
|
+
};
|