@trycua/cua-driver 0.14.2 → 0.16.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.
@@ -80,6 +80,8 @@ interface NativeModuleInterface {
80
80
  uniffi_cua_driver_sdk_fn_constructor_cuadriver_create_with_client_kind(options: Uint8Array, clientKind: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
81
81
  uniffi_cua_driver_sdk_fn_method_cuadriver_call_tool(uniffiSelf: bigint, name: Uint8Array, argumentsJson: Uint8Array): bigint;
82
82
  uniffi_cua_driver_sdk_fn_method_cuadriver_click(uniffiSelf: bigint, input: Uint8Array): bigint;
83
+ uniffi_cua_driver_sdk_fn_method_cuadriver_clipboard_read(uniffiSelf: bigint, input: Uint8Array): bigint;
84
+ uniffi_cua_driver_sdk_fn_method_cuadriver_clipboard_write(uniffiSelf: bigint, input: Uint8Array): bigint;
83
85
  uniffi_cua_driver_sdk_fn_method_cuadriver_drag(uniffiSelf: bigint, input: Uint8Array): bigint;
84
86
  uniffi_cua_driver_sdk_fn_method_cuadriver_end_session(uniffiSelf: bigint, input: Uint8Array): bigint;
85
87
  uniffi_cua_driver_sdk_fn_method_cuadriver_escalate_session(uniffiSelf: bigint, input: Uint8Array): bigint;
@@ -100,12 +102,16 @@ interface NativeModuleInterface {
100
102
  uniffi_cua_driver_sdk_fn_method_cuadriver_set_agent_cursor_enabled(uniffiSelf: bigint, input: Uint8Array): bigint;
101
103
  uniffi_cua_driver_sdk_fn_method_cuadriver_set_agent_cursor_motion(uniffiSelf: bigint, input: Uint8Array): bigint;
102
104
  uniffi_cua_driver_sdk_fn_method_cuadriver_set_agent_cursor_theme(uniffiSelf: bigint, input: Uint8Array): bigint;
105
+ uniffi_cua_driver_sdk_fn_method_cuadriver_set_window_frame(uniffiSelf: bigint, input: Uint8Array): bigint;
103
106
  uniffi_cua_driver_sdk_fn_method_cuadriver_shutdown(uniffiSelf: bigint): bigint;
104
107
  uniffi_cua_driver_sdk_fn_method_cuadriver_socket_path(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
105
108
  uniffi_cua_driver_sdk_fn_method_cuadriver_start_session(uniffiSelf: bigint, input: Uint8Array): bigint;
106
109
  uniffi_cua_driver_sdk_fn_method_cuadriver_type_text(uniffiSelf: bigint, input: Uint8Array): bigint;
110
+ uniffi_cua_driver_sdk_fn_method_cuadriver_verify_state(uniffiSelf: bigint, input: Uint8Array): bigint;
107
111
  uniffi_cua_driver_sdk_fn_method_cuadriversession_call_tool(uniffiSelf: bigint, name: Uint8Array, argumentsJson: Uint8Array): bigint;
108
112
  uniffi_cua_driver_sdk_fn_method_cuadriversession_click(uniffiSelf: bigint, input: Uint8Array): bigint;
113
+ uniffi_cua_driver_sdk_fn_method_cuadriversession_clipboard_read(uniffiSelf: bigint, input: Uint8Array): bigint;
114
+ uniffi_cua_driver_sdk_fn_method_cuadriversession_clipboard_write(uniffiSelf: bigint, input: Uint8Array): bigint;
109
115
  uniffi_cua_driver_sdk_fn_method_cuadriversession_close(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): void;
110
116
  uniffi_cua_driver_sdk_fn_method_cuadriversession_drag(uniffiSelf: bigint, input: Uint8Array): bigint;
111
117
  uniffi_cua_driver_sdk_fn_method_cuadriversession_end_session(uniffiSelf: bigint, input: Uint8Array): bigint;
@@ -122,8 +128,10 @@ interface NativeModuleInterface {
122
128
  uniffi_cua_driver_sdk_fn_method_cuadriversession_set_agent_cursor_enabled(uniffiSelf: bigint, input: Uint8Array): bigint;
123
129
  uniffi_cua_driver_sdk_fn_method_cuadriversession_set_agent_cursor_motion(uniffiSelf: bigint, input: Uint8Array): bigint;
124
130
  uniffi_cua_driver_sdk_fn_method_cuadriversession_set_agent_cursor_theme(uniffiSelf: bigint, input: Uint8Array): bigint;
131
+ uniffi_cua_driver_sdk_fn_method_cuadriversession_set_window_frame(uniffiSelf: bigint, input: Uint8Array): bigint;
125
132
  uniffi_cua_driver_sdk_fn_method_cuadriversession_start_session(uniffiSelf: bigint, input: Uint8Array): bigint;
126
133
  uniffi_cua_driver_sdk_fn_method_cuadriversession_type_text(uniffiSelf: bigint, input: Uint8Array): bigint;
134
+ uniffi_cua_driver_sdk_fn_method_cuadriversession_verify_state(uniffiSelf: bigint, input: Uint8Array): bigint;
127
135
  uniffi_cua_driver_sdk_fn_method_driveractivityobserver_on_activity(uniffiSelf: bigint, event: Uint8Array, uniffi_out_err: UniffiRustCallStatus): void;
128
136
  uniffi_cua_driver_sdk_fn_method_driverauthorizationhost_authorize(uniffiSelf: bigint, request: Uint8Array): bigint;
129
137
  uniffi_cua_driver_sdk_fn_constructor_embeddedcuadriverhost_new(binaryPath: Uint8Array, hostBundleId: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
@@ -155,6 +163,8 @@ interface NativeModuleInterface {
155
163
  uniffi_cua_driver_sdk_checksum_constructor_cuadriver_create_with_client_kind(): number;
156
164
  uniffi_cua_driver_sdk_checksum_method_cuadriver_call_tool(): number;
157
165
  uniffi_cua_driver_sdk_checksum_method_cuadriver_click(): number;
166
+ uniffi_cua_driver_sdk_checksum_method_cuadriver_clipboard_read(): number;
167
+ uniffi_cua_driver_sdk_checksum_method_cuadriver_clipboard_write(): number;
158
168
  uniffi_cua_driver_sdk_checksum_method_cuadriver_drag(): number;
159
169
  uniffi_cua_driver_sdk_checksum_method_cuadriver_end_session(): number;
160
170
  uniffi_cua_driver_sdk_checksum_method_cuadriver_escalate_session(): number;
@@ -175,12 +185,16 @@ interface NativeModuleInterface {
175
185
  uniffi_cua_driver_sdk_checksum_method_cuadriver_set_agent_cursor_enabled(): number;
176
186
  uniffi_cua_driver_sdk_checksum_method_cuadriver_set_agent_cursor_motion(): number;
177
187
  uniffi_cua_driver_sdk_checksum_method_cuadriver_set_agent_cursor_theme(): number;
188
+ uniffi_cua_driver_sdk_checksum_method_cuadriver_set_window_frame(): number;
178
189
  uniffi_cua_driver_sdk_checksum_method_cuadriver_shutdown(): number;
179
190
  uniffi_cua_driver_sdk_checksum_method_cuadriver_socket_path(): number;
180
191
  uniffi_cua_driver_sdk_checksum_method_cuadriver_start_session(): number;
181
192
  uniffi_cua_driver_sdk_checksum_method_cuadriver_type_text(): number;
193
+ uniffi_cua_driver_sdk_checksum_method_cuadriver_verify_state(): number;
182
194
  uniffi_cua_driver_sdk_checksum_method_cuadriversession_call_tool(): number;
183
195
  uniffi_cua_driver_sdk_checksum_method_cuadriversession_click(): number;
196
+ uniffi_cua_driver_sdk_checksum_method_cuadriversession_clipboard_read(): number;
197
+ uniffi_cua_driver_sdk_checksum_method_cuadriversession_clipboard_write(): number;
184
198
  uniffi_cua_driver_sdk_checksum_method_cuadriversession_close(): number;
185
199
  uniffi_cua_driver_sdk_checksum_method_cuadriversession_drag(): number;
186
200
  uniffi_cua_driver_sdk_checksum_method_cuadriversession_end_session(): number;
@@ -197,8 +211,10 @@ interface NativeModuleInterface {
197
211
  uniffi_cua_driver_sdk_checksum_method_cuadriversession_set_agent_cursor_enabled(): number;
198
212
  uniffi_cua_driver_sdk_checksum_method_cuadriversession_set_agent_cursor_motion(): number;
199
213
  uniffi_cua_driver_sdk_checksum_method_cuadriversession_set_agent_cursor_theme(): number;
214
+ uniffi_cua_driver_sdk_checksum_method_cuadriversession_set_window_frame(): number;
200
215
  uniffi_cua_driver_sdk_checksum_method_cuadriversession_start_session(): number;
201
216
  uniffi_cua_driver_sdk_checksum_method_cuadriversession_type_text(): number;
217
+ uniffi_cua_driver_sdk_checksum_method_cuadriversession_verify_state(): number;
202
218
  uniffi_cua_driver_sdk_checksum_method_driveractivityobserver_on_activity(): number;
203
219
  uniffi_cua_driver_sdk_checksum_method_driverauthorizationhost_authorize(): number;
204
220
  uniffi_cua_driver_sdk_checksum_constructor_embeddedcuadriverhost_new(): number;
@@ -412,6 +412,16 @@ const DEFINITIONS = {
412
412
  ret: FfiType.Handle,
413
413
  hasRustCallStatus: false,
414
414
  },
415
+ "uniffi_cua_driver_sdk_fn_method_cuadriver_clipboard_read": {
416
+ args: [FfiType.Handle, FfiType.RustBuffer],
417
+ ret: FfiType.Handle,
418
+ hasRustCallStatus: false,
419
+ },
420
+ "uniffi_cua_driver_sdk_fn_method_cuadriver_clipboard_write": {
421
+ args: [FfiType.Handle, FfiType.RustBuffer],
422
+ ret: FfiType.Handle,
423
+ hasRustCallStatus: false,
424
+ },
415
425
  "uniffi_cua_driver_sdk_fn_method_cuadriver_drag": {
416
426
  args: [FfiType.Handle, FfiType.RustBuffer],
417
427
  ret: FfiType.Handle,
@@ -512,6 +522,11 @@ const DEFINITIONS = {
512
522
  ret: FfiType.Handle,
513
523
  hasRustCallStatus: false,
514
524
  },
525
+ "uniffi_cua_driver_sdk_fn_method_cuadriver_set_window_frame": {
526
+ args: [FfiType.Handle, FfiType.RustBuffer],
527
+ ret: FfiType.Handle,
528
+ hasRustCallStatus: false,
529
+ },
515
530
  "uniffi_cua_driver_sdk_fn_method_cuadriver_shutdown": {
516
531
  args: [FfiType.Handle],
517
532
  ret: FfiType.Handle,
@@ -532,6 +547,11 @@ const DEFINITIONS = {
532
547
  ret: FfiType.Handle,
533
548
  hasRustCallStatus: false,
534
549
  },
550
+ "uniffi_cua_driver_sdk_fn_method_cuadriver_verify_state": {
551
+ args: [FfiType.Handle, FfiType.RustBuffer],
552
+ ret: FfiType.Handle,
553
+ hasRustCallStatus: false,
554
+ },
535
555
  "uniffi_cua_driver_sdk_fn_method_cuadriversession_call_tool": {
536
556
  args: [FfiType.Handle, FfiType.RustBuffer, FfiType.RustBuffer],
537
557
  ret: FfiType.Handle,
@@ -542,6 +562,16 @@ const DEFINITIONS = {
542
562
  ret: FfiType.Handle,
543
563
  hasRustCallStatus: false,
544
564
  },
565
+ "uniffi_cua_driver_sdk_fn_method_cuadriversession_clipboard_read": {
566
+ args: [FfiType.Handle, FfiType.RustBuffer],
567
+ ret: FfiType.Handle,
568
+ hasRustCallStatus: false,
569
+ },
570
+ "uniffi_cua_driver_sdk_fn_method_cuadriversession_clipboard_write": {
571
+ args: [FfiType.Handle, FfiType.RustBuffer],
572
+ ret: FfiType.Handle,
573
+ hasRustCallStatus: false,
574
+ },
545
575
  "uniffi_cua_driver_sdk_fn_method_cuadriversession_close": {
546
576
  args: [FfiType.Handle],
547
577
  ret: FfiType.Void,
@@ -622,6 +652,11 @@ const DEFINITIONS = {
622
652
  ret: FfiType.Handle,
623
653
  hasRustCallStatus: false,
624
654
  },
655
+ "uniffi_cua_driver_sdk_fn_method_cuadriversession_set_window_frame": {
656
+ args: [FfiType.Handle, FfiType.RustBuffer],
657
+ ret: FfiType.Handle,
658
+ hasRustCallStatus: false,
659
+ },
625
660
  "uniffi_cua_driver_sdk_fn_method_cuadriversession_start_session": {
626
661
  args: [FfiType.Handle, FfiType.RustBuffer],
627
662
  ret: FfiType.Handle,
@@ -632,6 +667,11 @@ const DEFINITIONS = {
632
667
  ret: FfiType.Handle,
633
668
  hasRustCallStatus: false,
634
669
  },
670
+ "uniffi_cua_driver_sdk_fn_method_cuadriversession_verify_state": {
671
+ args: [FfiType.Handle, FfiType.RustBuffer],
672
+ ret: FfiType.Handle,
673
+ hasRustCallStatus: false,
674
+ },
635
675
  "uniffi_cua_driver_sdk_fn_method_driveractivityobserver_on_activity": {
636
676
  args: [FfiType.Handle, FfiType.RustBuffer],
637
677
  ret: FfiType.Void,
@@ -787,6 +827,16 @@ const DEFINITIONS = {
787
827
  ret: FfiType.UInt16,
788
828
  hasRustCallStatus: false,
789
829
  },
830
+ "uniffi_cua_driver_sdk_checksum_method_cuadriver_clipboard_read": {
831
+ args: [],
832
+ ret: FfiType.UInt16,
833
+ hasRustCallStatus: false,
834
+ },
835
+ "uniffi_cua_driver_sdk_checksum_method_cuadriver_clipboard_write": {
836
+ args: [],
837
+ ret: FfiType.UInt16,
838
+ hasRustCallStatus: false,
839
+ },
790
840
  "uniffi_cua_driver_sdk_checksum_method_cuadriver_drag": {
791
841
  args: [],
792
842
  ret: FfiType.UInt16,
@@ -887,6 +937,11 @@ const DEFINITIONS = {
887
937
  ret: FfiType.UInt16,
888
938
  hasRustCallStatus: false,
889
939
  },
940
+ "uniffi_cua_driver_sdk_checksum_method_cuadriver_set_window_frame": {
941
+ args: [],
942
+ ret: FfiType.UInt16,
943
+ hasRustCallStatus: false,
944
+ },
890
945
  "uniffi_cua_driver_sdk_checksum_method_cuadriver_shutdown": {
891
946
  args: [],
892
947
  ret: FfiType.UInt16,
@@ -907,6 +962,11 @@ const DEFINITIONS = {
907
962
  ret: FfiType.UInt16,
908
963
  hasRustCallStatus: false,
909
964
  },
965
+ "uniffi_cua_driver_sdk_checksum_method_cuadriver_verify_state": {
966
+ args: [],
967
+ ret: FfiType.UInt16,
968
+ hasRustCallStatus: false,
969
+ },
910
970
  "uniffi_cua_driver_sdk_checksum_method_cuadriversession_call_tool": {
911
971
  args: [],
912
972
  ret: FfiType.UInt16,
@@ -917,6 +977,16 @@ const DEFINITIONS = {
917
977
  ret: FfiType.UInt16,
918
978
  hasRustCallStatus: false,
919
979
  },
980
+ "uniffi_cua_driver_sdk_checksum_method_cuadriversession_clipboard_read": {
981
+ args: [],
982
+ ret: FfiType.UInt16,
983
+ hasRustCallStatus: false,
984
+ },
985
+ "uniffi_cua_driver_sdk_checksum_method_cuadriversession_clipboard_write": {
986
+ args: [],
987
+ ret: FfiType.UInt16,
988
+ hasRustCallStatus: false,
989
+ },
920
990
  "uniffi_cua_driver_sdk_checksum_method_cuadriversession_close": {
921
991
  args: [],
922
992
  ret: FfiType.UInt16,
@@ -997,6 +1067,11 @@ const DEFINITIONS = {
997
1067
  ret: FfiType.UInt16,
998
1068
  hasRustCallStatus: false,
999
1069
  },
1070
+ "uniffi_cua_driver_sdk_checksum_method_cuadriversession_set_window_frame": {
1071
+ args: [],
1072
+ ret: FfiType.UInt16,
1073
+ hasRustCallStatus: false,
1074
+ },
1000
1075
  "uniffi_cua_driver_sdk_checksum_method_cuadriversession_start_session": {
1001
1076
  args: [],
1002
1077
  ret: FfiType.UInt16,
@@ -1007,6 +1082,11 @@ const DEFINITIONS = {
1007
1082
  ret: FfiType.UInt16,
1008
1083
  hasRustCallStatus: false,
1009
1084
  },
1085
+ "uniffi_cua_driver_sdk_checksum_method_cuadriversession_verify_state": {
1086
+ args: [],
1087
+ ret: FfiType.UInt16,
1088
+ hasRustCallStatus: false,
1089
+ },
1010
1090
  "uniffi_cua_driver_sdk_checksum_method_driveractivityobserver_on_activity": {
1011
1091
  args: [],
1012
1092
  ret: FfiType.UInt16,
@@ -1,4 +1,4 @@
1
- import { type ClickInput, type DragInput, type EndSessionInput, type EndSessionOutput, type EscalateSessionInput, type GetAgentCursorStateInput, type GetCursorPositionInput, type GetDesktopStateInput, type GetScreenSizeInput, type GetSessionStateInput, type HotkeyInput, type MoveCursorInput, type PressKeyInput, type ScrollInput, type SessionStateOutput, type SetAgentCursorEnabledInput, type SetAgentCursorMotionInput, type SetAgentCursorThemeInput, type StartSessionInput, type StartSessionOutput, type TypeTextInput } from "./cua_driver_contract.js";
1
+ import { type ActionResult, type ClickInput, type ClipboardReadInput, type ClipboardWriteInput, type DragInput, type EndSessionInput, type EndSessionOutput, type EscalateSessionInput, type GetAgentCursorStateInput, type GetCursorPositionInput, type GetDesktopStateInput, type GetScreenSizeInput, type GetSessionStateInput, type HotkeyInput, type MoveCursorInput, type PressKeyInput, type ScrollInput, type SessionStateOutput, type SetAgentCursorEnabledInput, type SetAgentCursorMotionInput, type SetAgentCursorThemeInput, type SetWindowFrameInput, type StartSessionInput, type StartSessionOutput, type TypeTextInput, type VerifyStateInput, type VerifyStateOutput } from "./cua_driver_contract.js";
2
2
  import { type UniffiByteArray, type UniffiGcObject, type UniffiHandle, FfiConverterObject, FfiConverterObjectWithCallbacks, RustBuffer, UniffiAbstractObject, destructorGuardSymbol, pointerLiteralSymbol, uniffiTypeNameSymbol } from "@ubjs/core";
3
3
  /**
4
4
  * Generated-language host factory for a session-bound action surface.
@@ -323,7 +323,8 @@ export type ToolResult = {
323
323
  structuredJson?: string;
324
324
  isError: boolean;
325
325
  errorCode?: string;
326
- verified?: boolean;
326
+ action?: ActionResult;
327
+ verification?: VerifyStateOutput;
327
328
  degraded: boolean;
328
329
  rawJson: string;
329
330
  };
@@ -331,8 +332,8 @@ export type ToolResult = {
331
332
  * Generated factory for {@link ToolResult} record objects.
332
333
  */
333
334
  export declare const ToolResult: Readonly<{
334
- create: (partial: Partial<ToolResult> & Required<Omit<ToolResult, "errorCode" | "structuredJson" | "verified">>) => ToolResult;
335
- new: (partial: Partial<ToolResult> & Required<Omit<ToolResult, "errorCode" | "structuredJson" | "verified">>) => ToolResult;
335
+ create: (partial: Partial<ToolResult> & Required<Omit<ToolResult, "errorCode" | "action" | "structuredJson" | "verification">>) => ToolResult;
336
+ new: (partial: Partial<ToolResult> & Required<Omit<ToolResult, "errorCode" | "action" | "structuredJson" | "verification">>) => ToolResult;
336
337
  defaults: () => Partial<ToolResult>;
337
338
  }>;
338
339
  /**
@@ -2022,6 +2023,12 @@ export interface CuaDriverLike {
2022
2023
  click(input: ClickInput, asyncOpts_?: {
2023
2024
  signal: AbortSignal;
2024
2025
  }): Promise<ToolResult>;
2026
+ clipboardRead(input: ClipboardReadInput, asyncOpts_?: {
2027
+ signal: AbortSignal;
2028
+ }): Promise<ToolResult>;
2029
+ clipboardWrite(input: ClipboardWriteInput, asyncOpts_?: {
2030
+ signal: AbortSignal;
2031
+ }): Promise<ToolResult>;
2025
2032
  drag(input: DragInput, asyncOpts_?: {
2026
2033
  signal: AbortSignal;
2027
2034
  }): Promise<ToolResult>;
@@ -2079,6 +2086,9 @@ export interface CuaDriverLike {
2079
2086
  setAgentCursorTheme(input: SetAgentCursorThemeInput, asyncOpts_?: {
2080
2087
  signal: AbortSignal;
2081
2088
  }): Promise<ToolResult>;
2089
+ setWindowFrame(input: SetWindowFrameInput, asyncOpts_?: {
2090
+ signal: AbortSignal;
2091
+ }): Promise<ToolResult>;
2082
2092
  /**
2083
2093
  * Stop accepting new embedded operations. Repeated calls are harmless;
2084
2094
  * daemon compatibility clients do not own the daemon and therefore no-op.
@@ -2097,6 +2107,9 @@ export interface CuaDriverLike {
2097
2107
  typeText(input: TypeTextInput, asyncOpts_?: {
2098
2108
  signal: AbortSignal;
2099
2109
  }): Promise<ToolResult>;
2110
+ verifyState(input: VerifyStateInput, asyncOpts_?: {
2111
+ signal: AbortSignal;
2112
+ }): Promise<ToolResult>;
2100
2113
  }
2101
2114
  /**
2102
2115
  * @deprecated Use `CuaDriverLike` instead.
@@ -2192,6 +2205,12 @@ export declare class CuaDriver extends UniffiAbstractObject implements CuaDriver
2192
2205
  click(input: ClickInput, asyncOpts_?: {
2193
2206
  signal: AbortSignal;
2194
2207
  }): Promise<ToolResult>;
2208
+ clipboardRead(input: ClipboardReadInput, asyncOpts_?: {
2209
+ signal: AbortSignal;
2210
+ }): Promise<ToolResult>;
2211
+ clipboardWrite(input: ClipboardWriteInput, asyncOpts_?: {
2212
+ signal: AbortSignal;
2213
+ }): Promise<ToolResult>;
2195
2214
  drag(input: DragInput, asyncOpts_?: {
2196
2215
  signal: AbortSignal;
2197
2216
  }): Promise<ToolResult>;
@@ -2249,6 +2268,9 @@ export declare class CuaDriver extends UniffiAbstractObject implements CuaDriver
2249
2268
  setAgentCursorTheme(input: SetAgentCursorThemeInput, asyncOpts_?: {
2250
2269
  signal: AbortSignal;
2251
2270
  }): Promise<ToolResult>;
2271
+ setWindowFrame(input: SetWindowFrameInput, asyncOpts_?: {
2272
+ signal: AbortSignal;
2273
+ }): Promise<ToolResult>;
2252
2274
  /**
2253
2275
  * Stop accepting new embedded operations. Repeated calls are harmless;
2254
2276
  * daemon compatibility clients do not own the daemon and therefore no-op.
@@ -2267,6 +2289,9 @@ export declare class CuaDriver extends UniffiAbstractObject implements CuaDriver
2267
2289
  typeText(input: TypeTextInput, asyncOpts_?: {
2268
2290
  signal: AbortSignal;
2269
2291
  }): Promise<ToolResult>;
2292
+ verifyState(input: VerifyStateInput, asyncOpts_?: {
2293
+ signal: AbortSignal;
2294
+ }): Promise<ToolResult>;
2270
2295
  uniffiDestroy(): void;
2271
2296
  static instanceOf(obj_: any): obj_ is CuaDriver;
2272
2297
  }
@@ -2277,6 +2302,12 @@ export interface CuaDriverSessionLike {
2277
2302
  click(input: ClickInput, asyncOpts_?: {
2278
2303
  signal: AbortSignal;
2279
2304
  }): Promise<ToolResult>;
2305
+ clipboardRead(input: ClipboardReadInput, asyncOpts_?: {
2306
+ signal: AbortSignal;
2307
+ }): Promise<ToolResult>;
2308
+ clipboardWrite(input: ClipboardWriteInput, asyncOpts_?: {
2309
+ signal: AbortSignal;
2310
+ }): Promise<ToolResult>;
2280
2311
  /**
2281
2312
  * Revoke the session-bound authority and release its native handle.
2282
2313
  *
@@ -2329,12 +2360,18 @@ export interface CuaDriverSessionLike {
2329
2360
  setAgentCursorTheme(input: SetAgentCursorThemeInput, asyncOpts_?: {
2330
2361
  signal: AbortSignal;
2331
2362
  }): Promise<ToolResult>;
2363
+ setWindowFrame(input: SetWindowFrameInput, asyncOpts_?: {
2364
+ signal: AbortSignal;
2365
+ }): Promise<ToolResult>;
2332
2366
  startSession(input: StartSessionInput, asyncOpts_?: {
2333
2367
  signal: AbortSignal;
2334
2368
  }): Promise<StartSessionOutput>;
2335
2369
  typeText(input: TypeTextInput, asyncOpts_?: {
2336
2370
  signal: AbortSignal;
2337
2371
  }): Promise<ToolResult>;
2372
+ verifyState(input: VerifyStateInput, asyncOpts_?: {
2373
+ signal: AbortSignal;
2374
+ }): Promise<ToolResult>;
2338
2375
  }
2339
2376
  /**
2340
2377
  * @deprecated Use `CuaDriverSessionLike` instead.
@@ -2351,6 +2388,12 @@ export declare class CuaDriverSession extends UniffiAbstractObject implements Cu
2351
2388
  click(input: ClickInput, asyncOpts_?: {
2352
2389
  signal: AbortSignal;
2353
2390
  }): Promise<ToolResult>;
2391
+ clipboardRead(input: ClipboardReadInput, asyncOpts_?: {
2392
+ signal: AbortSignal;
2393
+ }): Promise<ToolResult>;
2394
+ clipboardWrite(input: ClipboardWriteInput, asyncOpts_?: {
2395
+ signal: AbortSignal;
2396
+ }): Promise<ToolResult>;
2354
2397
  /**
2355
2398
  * Revoke the session-bound authority and release its native handle.
2356
2399
  *
@@ -2403,12 +2446,18 @@ export declare class CuaDriverSession extends UniffiAbstractObject implements Cu
2403
2446
  setAgentCursorTheme(input: SetAgentCursorThemeInput, asyncOpts_?: {
2404
2447
  signal: AbortSignal;
2405
2448
  }): Promise<ToolResult>;
2449
+ setWindowFrame(input: SetWindowFrameInput, asyncOpts_?: {
2450
+ signal: AbortSignal;
2451
+ }): Promise<ToolResult>;
2406
2452
  startSession(input: StartSessionInput, asyncOpts_?: {
2407
2453
  signal: AbortSignal;
2408
2454
  }): Promise<StartSessionOutput>;
2409
2455
  typeText(input: TypeTextInput, asyncOpts_?: {
2410
2456
  signal: AbortSignal;
2411
2457
  }): Promise<ToolResult>;
2458
+ verifyState(input: VerifyStateInput, asyncOpts_?: {
2459
+ signal: AbortSignal;
2460
+ }): Promise<ToolResult>;
2412
2461
  uniffiDestroy(): void;
2413
2462
  static instanceOf(obj_: any): obj_ is CuaDriverSession;
2414
2463
  }