@trycua/cua-driver 0.14.2 → 0.17.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/dist/native/cua_driver_contract.d.ts +545 -0
- package/dist/native/cua_driver_contract.js +1060 -25
- package/dist/native/cua_driver_sdk-ffi.d.ts +20 -0
- package/dist/native/cua_driver_sdk-ffi.js +100 -0
- package/dist/native/cua_driver_sdk.d.ts +65 -4
- package/dist/native/cua_driver_sdk.js +331 -6
- package/package.json +7 -7
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
import nativeModule from "./cua_driver_contract-ffi.js";
|
|
7
|
-
import { AbstractFfiConverterByteArray, FfiConverterArray, FfiConverterBool, FfiConverterFloat64, FfiConverterInt32, FfiConverterOptional, FfiConverterUInt32, FfiConverterUInt64, UniffiInternalError, UniffiRustCaller, uniffiCreateFfiConverterString, uniffiCreateRecord, } from "@ubjs/core";
|
|
7
|
+
import { AbstractFfiConverterByteArray, FfiConverterArray, FfiConverterBool, FfiConverterFloat64, FfiConverterInt32, FfiConverterInt64, FfiConverterOptional, FfiConverterUInt32, FfiConverterUInt64, UniffiInternalError, UniffiRustCaller, uniffiCreateFfiConverterString, uniffiCreateRecord, } from "@ubjs/core";
|
|
8
8
|
const uniffiCaller = new UniffiRustCaller(() => ({ code: 0 }));
|
|
9
9
|
const uniffiIsDebug =
|
|
10
10
|
// @ts-ignore -- The process global might not be defined
|
|
@@ -13,6 +13,395 @@ typeof process !== "object" ||
|
|
|
13
13
|
process?.env?.NODE_ENV !== "production" ||
|
|
14
14
|
false;
|
|
15
15
|
// Public interface members begin here.
|
|
16
|
+
export var ActionDeliveryMode;
|
|
17
|
+
(function (ActionDeliveryMode) {
|
|
18
|
+
ActionDeliveryMode[ActionDeliveryMode["Background"] = 0] = "Background";
|
|
19
|
+
ActionDeliveryMode[ActionDeliveryMode["Foreground"] = 1] = "Foreground";
|
|
20
|
+
ActionDeliveryMode[ActionDeliveryMode["NotApplicable"] = 2] = "NotApplicable";
|
|
21
|
+
ActionDeliveryMode[ActionDeliveryMode["Unknown"] = 3] = "Unknown";
|
|
22
|
+
})(ActionDeliveryMode || (ActionDeliveryMode = {}));
|
|
23
|
+
const FfiConverterTypeActionDeliveryMode = (() => {
|
|
24
|
+
const ordinalConverter = FfiConverterInt32;
|
|
25
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
26
|
+
read(from) {
|
|
27
|
+
switch (ordinalConverter.read(from)) {
|
|
28
|
+
case 1: return ActionDeliveryMode.Background;
|
|
29
|
+
case 2: return ActionDeliveryMode.Foreground;
|
|
30
|
+
case 3: return ActionDeliveryMode.NotApplicable;
|
|
31
|
+
case 4: return ActionDeliveryMode.Unknown;
|
|
32
|
+
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
write(value, into) {
|
|
36
|
+
switch (value) {
|
|
37
|
+
case ActionDeliveryMode.Background: return ordinalConverter.write(1, into);
|
|
38
|
+
case ActionDeliveryMode.Foreground: return ordinalConverter.write(2, into);
|
|
39
|
+
case ActionDeliveryMode.NotApplicable: return ordinalConverter.write(3, into);
|
|
40
|
+
case ActionDeliveryMode.Unknown: return ordinalConverter.write(4, into);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
allocationSize(value) {
|
|
44
|
+
return ordinalConverter.allocationSize(0);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return new FFIConverter();
|
|
48
|
+
})();
|
|
49
|
+
/**
|
|
50
|
+
* Generated factory for {@link ActionDelivery} record objects.
|
|
51
|
+
*/
|
|
52
|
+
export const ActionDelivery = (() => {
|
|
53
|
+
const defaults = () => ({});
|
|
54
|
+
const create = (() => {
|
|
55
|
+
return uniffiCreateRecord(defaults);
|
|
56
|
+
})();
|
|
57
|
+
return Object.freeze({
|
|
58
|
+
create,
|
|
59
|
+
new: create,
|
|
60
|
+
defaults: () => Object.freeze(defaults()),
|
|
61
|
+
});
|
|
62
|
+
})();
|
|
63
|
+
const FfiConverterTypeActionDelivery = (() => {
|
|
64
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
65
|
+
read(from) {
|
|
66
|
+
return {
|
|
67
|
+
mode: FfiConverterTypeActionDeliveryMode.read(from),
|
|
68
|
+
deliveredCount: FfiConverterOptionalUInt32.read(from)
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
write(value, into) {
|
|
72
|
+
FfiConverterTypeActionDeliveryMode.write(value.mode, into);
|
|
73
|
+
FfiConverterOptionalUInt32.write(value.deliveredCount, into);
|
|
74
|
+
}
|
|
75
|
+
allocationSize(value) {
|
|
76
|
+
return FfiConverterTypeActionDeliveryMode.allocationSize(value.mode) +
|
|
77
|
+
FfiConverterOptionalUInt32.allocationSize(value.deliveredCount);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
;
|
|
81
|
+
return new FFIConverter();
|
|
82
|
+
})();
|
|
83
|
+
export var ActionEscalationTarget;
|
|
84
|
+
(function (ActionEscalationTarget) {
|
|
85
|
+
ActionEscalationTarget[ActionEscalationTarget["Pixel"] = 0] = "Pixel";
|
|
86
|
+
ActionEscalationTarget[ActionEscalationTarget["Foreground"] = 1] = "Foreground";
|
|
87
|
+
ActionEscalationTarget[ActionEscalationTarget["Page"] = 2] = "Page";
|
|
88
|
+
ActionEscalationTarget[ActionEscalationTarget["Session"] = 3] = "Session";
|
|
89
|
+
})(ActionEscalationTarget || (ActionEscalationTarget = {}));
|
|
90
|
+
const FfiConverterTypeActionEscalationTarget = (() => {
|
|
91
|
+
const ordinalConverter = FfiConverterInt32;
|
|
92
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
93
|
+
read(from) {
|
|
94
|
+
switch (ordinalConverter.read(from)) {
|
|
95
|
+
case 1: return ActionEscalationTarget.Pixel;
|
|
96
|
+
case 2: return ActionEscalationTarget.Foreground;
|
|
97
|
+
case 3: return ActionEscalationTarget.Page;
|
|
98
|
+
case 4: return ActionEscalationTarget.Session;
|
|
99
|
+
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
write(value, into) {
|
|
103
|
+
switch (value) {
|
|
104
|
+
case ActionEscalationTarget.Pixel: return ordinalConverter.write(1, into);
|
|
105
|
+
case ActionEscalationTarget.Foreground: return ordinalConverter.write(2, into);
|
|
106
|
+
case ActionEscalationTarget.Page: return ordinalConverter.write(3, into);
|
|
107
|
+
case ActionEscalationTarget.Session: return ordinalConverter.write(4, into);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
allocationSize(value) {
|
|
111
|
+
return ordinalConverter.allocationSize(0);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
return new FFIConverter();
|
|
115
|
+
})();
|
|
116
|
+
export var ActionEscalationReason;
|
|
117
|
+
(function (ActionEscalationReason) {
|
|
118
|
+
ActionEscalationReason[ActionEscalationReason["RouteUnavailable"] = 0] = "RouteUnavailable";
|
|
119
|
+
ActionEscalationReason[ActionEscalationReason["DeliveryFailed"] = 1] = "DeliveryFailed";
|
|
120
|
+
ActionEscalationReason[ActionEscalationReason["EffectUnconfirmed"] = 2] = "EffectUnconfirmed";
|
|
121
|
+
ActionEscalationReason[ActionEscalationReason["SuspectedNoop"] = 3] = "SuspectedNoop";
|
|
122
|
+
ActionEscalationReason[ActionEscalationReason["PermissionRequired"] = 4] = "PermissionRequired";
|
|
123
|
+
})(ActionEscalationReason || (ActionEscalationReason = {}));
|
|
124
|
+
const FfiConverterTypeActionEscalationReason = (() => {
|
|
125
|
+
const ordinalConverter = FfiConverterInt32;
|
|
126
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
127
|
+
read(from) {
|
|
128
|
+
switch (ordinalConverter.read(from)) {
|
|
129
|
+
case 1: return ActionEscalationReason.RouteUnavailable;
|
|
130
|
+
case 2: return ActionEscalationReason.DeliveryFailed;
|
|
131
|
+
case 3: return ActionEscalationReason.EffectUnconfirmed;
|
|
132
|
+
case 4: return ActionEscalationReason.SuspectedNoop;
|
|
133
|
+
case 5: return ActionEscalationReason.PermissionRequired;
|
|
134
|
+
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
write(value, into) {
|
|
138
|
+
switch (value) {
|
|
139
|
+
case ActionEscalationReason.RouteUnavailable: return ordinalConverter.write(1, into);
|
|
140
|
+
case ActionEscalationReason.DeliveryFailed: return ordinalConverter.write(2, into);
|
|
141
|
+
case ActionEscalationReason.EffectUnconfirmed: return ordinalConverter.write(3, into);
|
|
142
|
+
case ActionEscalationReason.SuspectedNoop: return ordinalConverter.write(4, into);
|
|
143
|
+
case ActionEscalationReason.PermissionRequired: return ordinalConverter.write(5, into);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
allocationSize(value) {
|
|
147
|
+
return ordinalConverter.allocationSize(0);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
return new FFIConverter();
|
|
151
|
+
})();
|
|
152
|
+
/**
|
|
153
|
+
* Generated factory for {@link ActionEscalation} record objects.
|
|
154
|
+
*/
|
|
155
|
+
export const ActionEscalation = (() => {
|
|
156
|
+
const defaults = () => ({});
|
|
157
|
+
const create = (() => {
|
|
158
|
+
return uniffiCreateRecord(defaults);
|
|
159
|
+
})();
|
|
160
|
+
return Object.freeze({
|
|
161
|
+
create,
|
|
162
|
+
new: create,
|
|
163
|
+
defaults: () => Object.freeze(defaults()),
|
|
164
|
+
});
|
|
165
|
+
})();
|
|
166
|
+
const FfiConverterTypeActionEscalation = (() => {
|
|
167
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
168
|
+
read(from) {
|
|
169
|
+
return {
|
|
170
|
+
target: FfiConverterTypeActionEscalationTarget.read(from),
|
|
171
|
+
reason: FfiConverterTypeActionEscalationReason.read(from)
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
write(value, into) {
|
|
175
|
+
FfiConverterTypeActionEscalationTarget.write(value.target, into);
|
|
176
|
+
FfiConverterTypeActionEscalationReason.write(value.reason, into);
|
|
177
|
+
}
|
|
178
|
+
allocationSize(value) {
|
|
179
|
+
return FfiConverterTypeActionEscalationTarget.allocationSize(value.target) +
|
|
180
|
+
FfiConverterTypeActionEscalationReason.allocationSize(value.reason);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
;
|
|
184
|
+
return new FFIConverter();
|
|
185
|
+
})();
|
|
186
|
+
export var ActionEvidenceKind;
|
|
187
|
+
(function (ActionEvidenceKind) {
|
|
188
|
+
ActionEvidenceKind[ActionEvidenceKind["ValueReadback"] = 0] = "ValueReadback";
|
|
189
|
+
ActionEvidenceKind[ActionEvidenceKind["WindowChange"] = 1] = "WindowChange";
|
|
190
|
+
})(ActionEvidenceKind || (ActionEvidenceKind = {}));
|
|
191
|
+
const FfiConverterTypeActionEvidenceKind = (() => {
|
|
192
|
+
const ordinalConverter = FfiConverterInt32;
|
|
193
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
194
|
+
read(from) {
|
|
195
|
+
switch (ordinalConverter.read(from)) {
|
|
196
|
+
case 1: return ActionEvidenceKind.ValueReadback;
|
|
197
|
+
case 2: return ActionEvidenceKind.WindowChange;
|
|
198
|
+
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
write(value, into) {
|
|
202
|
+
switch (value) {
|
|
203
|
+
case ActionEvidenceKind.ValueReadback: return ordinalConverter.write(1, into);
|
|
204
|
+
case ActionEvidenceKind.WindowChange: return ordinalConverter.write(2, into);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
allocationSize(value) {
|
|
208
|
+
return ordinalConverter.allocationSize(0);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
return new FFIConverter();
|
|
212
|
+
})();
|
|
213
|
+
/**
|
|
214
|
+
* Generated factory for {@link ActionEvidence} record objects.
|
|
215
|
+
*/
|
|
216
|
+
export const ActionEvidence = (() => {
|
|
217
|
+
const defaults = () => ({});
|
|
218
|
+
const create = (() => {
|
|
219
|
+
return uniffiCreateRecord(defaults);
|
|
220
|
+
})();
|
|
221
|
+
return Object.freeze({
|
|
222
|
+
create,
|
|
223
|
+
new: create,
|
|
224
|
+
defaults: () => Object.freeze(defaults()),
|
|
225
|
+
});
|
|
226
|
+
})();
|
|
227
|
+
const FfiConverterTypeActionEvidence = (() => {
|
|
228
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
229
|
+
read(from) {
|
|
230
|
+
return {
|
|
231
|
+
kind: FfiConverterTypeActionEvidenceKind.read(from)
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
write(value, into) {
|
|
235
|
+
FfiConverterTypeActionEvidenceKind.write(value.kind, into);
|
|
236
|
+
}
|
|
237
|
+
allocationSize(value) {
|
|
238
|
+
return FfiConverterTypeActionEvidenceKind.allocationSize(value.kind);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
;
|
|
242
|
+
return new FFIConverter();
|
|
243
|
+
})();
|
|
244
|
+
export var ActionEffect;
|
|
245
|
+
(function (ActionEffect) {
|
|
246
|
+
ActionEffect[ActionEffect["Confirmed"] = 0] = "Confirmed";
|
|
247
|
+
ActionEffect[ActionEffect["Partial"] = 1] = "Partial";
|
|
248
|
+
ActionEffect[ActionEffect["Unverifiable"] = 2] = "Unverifiable";
|
|
249
|
+
ActionEffect[ActionEffect["SuspectedNoop"] = 3] = "SuspectedNoop";
|
|
250
|
+
ActionEffect[ActionEffect["Refused"] = 4] = "Refused";
|
|
251
|
+
})(ActionEffect || (ActionEffect = {}));
|
|
252
|
+
const FfiConverterTypeActionEffect = (() => {
|
|
253
|
+
const ordinalConverter = FfiConverterInt32;
|
|
254
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
255
|
+
read(from) {
|
|
256
|
+
switch (ordinalConverter.read(from)) {
|
|
257
|
+
case 1: return ActionEffect.Confirmed;
|
|
258
|
+
case 2: return ActionEffect.Partial;
|
|
259
|
+
case 3: return ActionEffect.Unverifiable;
|
|
260
|
+
case 4: return ActionEffect.SuspectedNoop;
|
|
261
|
+
case 5: return ActionEffect.Refused;
|
|
262
|
+
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
write(value, into) {
|
|
266
|
+
switch (value) {
|
|
267
|
+
case ActionEffect.Confirmed: return ordinalConverter.write(1, into);
|
|
268
|
+
case ActionEffect.Partial: return ordinalConverter.write(2, into);
|
|
269
|
+
case ActionEffect.Unverifiable: return ordinalConverter.write(3, into);
|
|
270
|
+
case ActionEffect.SuspectedNoop: return ordinalConverter.write(4, into);
|
|
271
|
+
case ActionEffect.Refused: return ordinalConverter.write(5, into);
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
allocationSize(value) {
|
|
275
|
+
return ordinalConverter.allocationSize(0);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
return new FFIConverter();
|
|
279
|
+
})();
|
|
280
|
+
export var ActionRoute;
|
|
281
|
+
(function (ActionRoute) {
|
|
282
|
+
ActionRoute[ActionRoute["Accessibility"] = 0] = "Accessibility";
|
|
283
|
+
ActionRoute[ActionRoute["SyntheticEvents"] = 1] = "SyntheticEvents";
|
|
284
|
+
ActionRoute[ActionRoute["GlobalInput"] = 2] = "GlobalInput";
|
|
285
|
+
ActionRoute[ActionRoute["SystemApi"] = 3] = "SystemApi";
|
|
286
|
+
ActionRoute[ActionRoute["Dom"] = 4] = "Dom";
|
|
287
|
+
ActionRoute[ActionRoute["TrustedInput"] = 5] = "TrustedInput";
|
|
288
|
+
})(ActionRoute || (ActionRoute = {}));
|
|
289
|
+
const FfiConverterTypeActionRoute = (() => {
|
|
290
|
+
const ordinalConverter = FfiConverterInt32;
|
|
291
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
292
|
+
read(from) {
|
|
293
|
+
switch (ordinalConverter.read(from)) {
|
|
294
|
+
case 1: return ActionRoute.Accessibility;
|
|
295
|
+
case 2: return ActionRoute.SyntheticEvents;
|
|
296
|
+
case 3: return ActionRoute.GlobalInput;
|
|
297
|
+
case 4: return ActionRoute.SystemApi;
|
|
298
|
+
case 5: return ActionRoute.Dom;
|
|
299
|
+
case 6: return ActionRoute.TrustedInput;
|
|
300
|
+
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
write(value, into) {
|
|
304
|
+
switch (value) {
|
|
305
|
+
case ActionRoute.Accessibility: return ordinalConverter.write(1, into);
|
|
306
|
+
case ActionRoute.SyntheticEvents: return ordinalConverter.write(2, into);
|
|
307
|
+
case ActionRoute.GlobalInput: return ordinalConverter.write(3, into);
|
|
308
|
+
case ActionRoute.SystemApi: return ordinalConverter.write(4, into);
|
|
309
|
+
case ActionRoute.Dom: return ordinalConverter.write(5, into);
|
|
310
|
+
case ActionRoute.TrustedInput: return ordinalConverter.write(6, into);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
allocationSize(value) {
|
|
314
|
+
return ordinalConverter.allocationSize(0);
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
return new FFIConverter();
|
|
318
|
+
})();
|
|
319
|
+
/**
|
|
320
|
+
* Generated factory for {@link ActionResult} record objects.
|
|
321
|
+
*/
|
|
322
|
+
export const ActionResult = (() => {
|
|
323
|
+
const defaults = () => ({});
|
|
324
|
+
const create = (() => {
|
|
325
|
+
return uniffiCreateRecord(defaults);
|
|
326
|
+
})();
|
|
327
|
+
return Object.freeze({
|
|
328
|
+
create,
|
|
329
|
+
new: create,
|
|
330
|
+
defaults: () => Object.freeze(defaults()),
|
|
331
|
+
});
|
|
332
|
+
})();
|
|
333
|
+
const FfiConverterTypeActionResult = (() => {
|
|
334
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
335
|
+
read(from) {
|
|
336
|
+
return {
|
|
337
|
+
effect: FfiConverterTypeActionEffect.read(from),
|
|
338
|
+
route: FfiConverterTypeActionRoute.read(from),
|
|
339
|
+
delivery: FfiConverterOptionalTypeActionDelivery.read(from),
|
|
340
|
+
evidence: FfiConverterOptionalSequenceTypeActionEvidence.read(from),
|
|
341
|
+
escalation: FfiConverterOptionalTypeActionEscalation.read(from)
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
write(value, into) {
|
|
345
|
+
FfiConverterTypeActionEffect.write(value.effect, into);
|
|
346
|
+
FfiConverterTypeActionRoute.write(value.route, into);
|
|
347
|
+
FfiConverterOptionalTypeActionDelivery.write(value.delivery, into);
|
|
348
|
+
FfiConverterOptionalSequenceTypeActionEvidence.write(value.evidence, into);
|
|
349
|
+
FfiConverterOptionalTypeActionEscalation.write(value.escalation, into);
|
|
350
|
+
}
|
|
351
|
+
allocationSize(value) {
|
|
352
|
+
return FfiConverterTypeActionEffect.allocationSize(value.effect) +
|
|
353
|
+
FfiConverterTypeActionRoute.allocationSize(value.route) +
|
|
354
|
+
FfiConverterOptionalTypeActionDelivery.allocationSize(value.delivery) +
|
|
355
|
+
FfiConverterOptionalSequenceTypeActionEvidence.allocationSize(value.evidence) +
|
|
356
|
+
FfiConverterOptionalTypeActionEscalation.allocationSize(value.escalation);
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
;
|
|
360
|
+
return new FFIConverter();
|
|
361
|
+
})();
|
|
362
|
+
/**
|
|
363
|
+
* Generated factory for {@link BoundsExpectation} record objects.
|
|
364
|
+
*/
|
|
365
|
+
export const BoundsExpectation = (() => {
|
|
366
|
+
const defaults = () => ({});
|
|
367
|
+
const create = (() => {
|
|
368
|
+
return uniffiCreateRecord(defaults);
|
|
369
|
+
})();
|
|
370
|
+
return Object.freeze({
|
|
371
|
+
create,
|
|
372
|
+
new: create,
|
|
373
|
+
defaults: () => Object.freeze(defaults()),
|
|
374
|
+
});
|
|
375
|
+
})();
|
|
376
|
+
const FfiConverterTypeBoundsExpectation = (() => {
|
|
377
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
378
|
+
read(from) {
|
|
379
|
+
return {
|
|
380
|
+
x: FfiConverterFloat64.read(from),
|
|
381
|
+
y: FfiConverterFloat64.read(from),
|
|
382
|
+
width: FfiConverterFloat64.read(from),
|
|
383
|
+
height: FfiConverterFloat64.read(from),
|
|
384
|
+
tolerancePx: FfiConverterOptionalFloat64.read(from)
|
|
385
|
+
};
|
|
386
|
+
}
|
|
387
|
+
write(value, into) {
|
|
388
|
+
FfiConverterFloat64.write(value.x, into);
|
|
389
|
+
FfiConverterFloat64.write(value.y, into);
|
|
390
|
+
FfiConverterFloat64.write(value.width, into);
|
|
391
|
+
FfiConverterFloat64.write(value.height, into);
|
|
392
|
+
FfiConverterOptionalFloat64.write(value.tolerancePx, into);
|
|
393
|
+
}
|
|
394
|
+
allocationSize(value) {
|
|
395
|
+
return FfiConverterFloat64.allocationSize(value.x) +
|
|
396
|
+
FfiConverterFloat64.allocationSize(value.y) +
|
|
397
|
+
FfiConverterFloat64.allocationSize(value.width) +
|
|
398
|
+
FfiConverterFloat64.allocationSize(value.height) +
|
|
399
|
+
FfiConverterOptionalFloat64.allocationSize(value.tolerancePx);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
;
|
|
403
|
+
return new FFIConverter();
|
|
404
|
+
})();
|
|
16
405
|
export var DesktopScope;
|
|
17
406
|
(function (DesktopScope) {
|
|
18
407
|
DesktopScope[DesktopScope["Desktop"] = 0] = "Desktop";
|
|
@@ -128,6 +517,166 @@ const FfiConverterTypeClickInput = (() => {
|
|
|
128
517
|
;
|
|
129
518
|
return new FFIConverter();
|
|
130
519
|
})();
|
|
520
|
+
/**
|
|
521
|
+
* Generated factory for {@link ClipboardReadInput} record objects.
|
|
522
|
+
*/
|
|
523
|
+
export const ClipboardReadInput = (() => {
|
|
524
|
+
const defaults = () => ({});
|
|
525
|
+
const create = (() => {
|
|
526
|
+
return uniffiCreateRecord(defaults);
|
|
527
|
+
})();
|
|
528
|
+
return Object.freeze({
|
|
529
|
+
create,
|
|
530
|
+
new: create,
|
|
531
|
+
defaults: () => Object.freeze(defaults()),
|
|
532
|
+
});
|
|
533
|
+
})();
|
|
534
|
+
const FfiConverterTypeClipboardReadInput = (() => {
|
|
535
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
536
|
+
read(from) {
|
|
537
|
+
return {
|
|
538
|
+
includeText: FfiConverterBool.read(from),
|
|
539
|
+
session: FfiConverterOptionalString.read(from)
|
|
540
|
+
};
|
|
541
|
+
}
|
|
542
|
+
write(value, into) {
|
|
543
|
+
FfiConverterBool.write(value.includeText, into);
|
|
544
|
+
FfiConverterOptionalString.write(value.session, into);
|
|
545
|
+
}
|
|
546
|
+
allocationSize(value) {
|
|
547
|
+
return FfiConverterBool.allocationSize(value.includeText) +
|
|
548
|
+
FfiConverterOptionalString.allocationSize(value.session);
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
;
|
|
552
|
+
return new FFIConverter();
|
|
553
|
+
})();
|
|
554
|
+
/**
|
|
555
|
+
* Generated factory for {@link ClipboardReadOutput} record objects.
|
|
556
|
+
*/
|
|
557
|
+
export const ClipboardReadOutput = (() => {
|
|
558
|
+
const defaults = () => ({});
|
|
559
|
+
const create = (() => {
|
|
560
|
+
return uniffiCreateRecord(defaults);
|
|
561
|
+
})();
|
|
562
|
+
return Object.freeze({
|
|
563
|
+
create,
|
|
564
|
+
new: create,
|
|
565
|
+
defaults: () => Object.freeze(defaults()),
|
|
566
|
+
});
|
|
567
|
+
})();
|
|
568
|
+
const FfiConverterTypeClipboardReadOutput = (() => {
|
|
569
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
570
|
+
read(from) {
|
|
571
|
+
return {
|
|
572
|
+
supported: FfiConverterBool.read(from),
|
|
573
|
+
types: FfiConverterSequenceString.read(from),
|
|
574
|
+
text: FfiConverterOptionalString.read(from),
|
|
575
|
+
privacySensitive: FfiConverterBool.read(from),
|
|
576
|
+
contentRedactedFromTelemetry: FfiConverterBool.read(from)
|
|
577
|
+
};
|
|
578
|
+
}
|
|
579
|
+
write(value, into) {
|
|
580
|
+
FfiConverterBool.write(value.supported, into);
|
|
581
|
+
FfiConverterSequenceString.write(value.types, into);
|
|
582
|
+
FfiConverterOptionalString.write(value.text, into);
|
|
583
|
+
FfiConverterBool.write(value.privacySensitive, into);
|
|
584
|
+
FfiConverterBool.write(value.contentRedactedFromTelemetry, into);
|
|
585
|
+
}
|
|
586
|
+
allocationSize(value) {
|
|
587
|
+
return FfiConverterBool.allocationSize(value.supported) +
|
|
588
|
+
FfiConverterSequenceString.allocationSize(value.types) +
|
|
589
|
+
FfiConverterOptionalString.allocationSize(value.text) +
|
|
590
|
+
FfiConverterBool.allocationSize(value.privacySensitive) +
|
|
591
|
+
FfiConverterBool.allocationSize(value.contentRedactedFromTelemetry);
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
;
|
|
595
|
+
return new FFIConverter();
|
|
596
|
+
})();
|
|
597
|
+
/**
|
|
598
|
+
* Generated factory for {@link ClipboardWriteInput} record objects.
|
|
599
|
+
*/
|
|
600
|
+
export const ClipboardWriteInput = (() => {
|
|
601
|
+
const defaults = () => ({});
|
|
602
|
+
const create = (() => {
|
|
603
|
+
return uniffiCreateRecord(defaults);
|
|
604
|
+
})();
|
|
605
|
+
return Object.freeze({
|
|
606
|
+
create,
|
|
607
|
+
new: create,
|
|
608
|
+
defaults: () => Object.freeze(defaults()),
|
|
609
|
+
});
|
|
610
|
+
})();
|
|
611
|
+
const FfiConverterTypeClipboardWriteInput = (() => {
|
|
612
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
613
|
+
read(from) {
|
|
614
|
+
return {
|
|
615
|
+
text: FfiConverterOptionalString.read(from),
|
|
616
|
+
imagePath: FfiConverterOptionalString.read(from),
|
|
617
|
+
filePath: FfiConverterOptionalString.read(from),
|
|
618
|
+
session: FfiConverterOptionalString.read(from)
|
|
619
|
+
};
|
|
620
|
+
}
|
|
621
|
+
write(value, into) {
|
|
622
|
+
FfiConverterOptionalString.write(value.text, into);
|
|
623
|
+
FfiConverterOptionalString.write(value.imagePath, into);
|
|
624
|
+
FfiConverterOptionalString.write(value.filePath, into);
|
|
625
|
+
FfiConverterOptionalString.write(value.session, into);
|
|
626
|
+
}
|
|
627
|
+
allocationSize(value) {
|
|
628
|
+
return FfiConverterOptionalString.allocationSize(value.text) +
|
|
629
|
+
FfiConverterOptionalString.allocationSize(value.imagePath) +
|
|
630
|
+
FfiConverterOptionalString.allocationSize(value.filePath) +
|
|
631
|
+
FfiConverterOptionalString.allocationSize(value.session);
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
;
|
|
635
|
+
return new FFIConverter();
|
|
636
|
+
})();
|
|
637
|
+
/**
|
|
638
|
+
* Generated factory for {@link ClipboardWriteOutput} record objects.
|
|
639
|
+
*/
|
|
640
|
+
export const ClipboardWriteOutput = (() => {
|
|
641
|
+
const defaults = () => ({});
|
|
642
|
+
const create = (() => {
|
|
643
|
+
return uniffiCreateRecord(defaults);
|
|
644
|
+
})();
|
|
645
|
+
return Object.freeze({
|
|
646
|
+
create,
|
|
647
|
+
new: create,
|
|
648
|
+
defaults: () => Object.freeze(defaults()),
|
|
649
|
+
});
|
|
650
|
+
})();
|
|
651
|
+
const FfiConverterTypeClipboardWriteOutput = (() => {
|
|
652
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
653
|
+
read(from) {
|
|
654
|
+
return {
|
|
655
|
+
supported: FfiConverterBool.read(from),
|
|
656
|
+
writtenType: FfiConverterString.read(from),
|
|
657
|
+
types: FfiConverterSequenceString.read(from),
|
|
658
|
+
privacySensitive: FfiConverterBool.read(from),
|
|
659
|
+
contentRedactedFromTelemetry: FfiConverterBool.read(from)
|
|
660
|
+
};
|
|
661
|
+
}
|
|
662
|
+
write(value, into) {
|
|
663
|
+
FfiConverterBool.write(value.supported, into);
|
|
664
|
+
FfiConverterString.write(value.writtenType, into);
|
|
665
|
+
FfiConverterSequenceString.write(value.types, into);
|
|
666
|
+
FfiConverterBool.write(value.privacySensitive, into);
|
|
667
|
+
FfiConverterBool.write(value.contentRedactedFromTelemetry, into);
|
|
668
|
+
}
|
|
669
|
+
allocationSize(value) {
|
|
670
|
+
return FfiConverterBool.allocationSize(value.supported) +
|
|
671
|
+
FfiConverterString.allocationSize(value.writtenType) +
|
|
672
|
+
FfiConverterSequenceString.allocationSize(value.types) +
|
|
673
|
+
FfiConverterBool.allocationSize(value.privacySensitive) +
|
|
674
|
+
FfiConverterBool.allocationSize(value.contentRedactedFromTelemetry);
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
;
|
|
678
|
+
return new FFIConverter();
|
|
679
|
+
})();
|
|
131
680
|
/**
|
|
132
681
|
* Generated factory for {@link CursorMotionOutput} record objects.
|
|
133
682
|
*/
|
|
@@ -458,28 +1007,105 @@ const FfiConverterTypeDragInput = (() => {
|
|
|
458
1007
|
};
|
|
459
1008
|
}
|
|
460
1009
|
write(value, into) {
|
|
461
|
-
FfiConverterFloat64.write(value.fromX, into);
|
|
462
|
-
FfiConverterFloat64.write(value.fromY, into);
|
|
463
|
-
FfiConverterFloat64.write(value.toX, into);
|
|
464
|
-
FfiConverterFloat64.write(value.toY, into);
|
|
465
|
-
FfiConverterTypeDesktopScope.write(value.scope, into);
|
|
466
|
-
FfiConverterOptionalString.write(value.session, into);
|
|
467
|
-
FfiConverterOptionalUInt64.write(value.durationMs, into);
|
|
468
|
-
FfiConverterOptionalUInt64.write(value.steps, into);
|
|
469
|
-
FfiConverterOptionalTypeClickButton.write(value.button, into);
|
|
470
|
-
FfiConverterOptionalSequenceString.write(value.modifier, into);
|
|
1010
|
+
FfiConverterFloat64.write(value.fromX, into);
|
|
1011
|
+
FfiConverterFloat64.write(value.fromY, into);
|
|
1012
|
+
FfiConverterFloat64.write(value.toX, into);
|
|
1013
|
+
FfiConverterFloat64.write(value.toY, into);
|
|
1014
|
+
FfiConverterTypeDesktopScope.write(value.scope, into);
|
|
1015
|
+
FfiConverterOptionalString.write(value.session, into);
|
|
1016
|
+
FfiConverterOptionalUInt64.write(value.durationMs, into);
|
|
1017
|
+
FfiConverterOptionalUInt64.write(value.steps, into);
|
|
1018
|
+
FfiConverterOptionalTypeClickButton.write(value.button, into);
|
|
1019
|
+
FfiConverterOptionalSequenceString.write(value.modifier, into);
|
|
1020
|
+
}
|
|
1021
|
+
allocationSize(value) {
|
|
1022
|
+
return FfiConverterFloat64.allocationSize(value.fromX) +
|
|
1023
|
+
FfiConverterFloat64.allocationSize(value.fromY) +
|
|
1024
|
+
FfiConverterFloat64.allocationSize(value.toX) +
|
|
1025
|
+
FfiConverterFloat64.allocationSize(value.toY) +
|
|
1026
|
+
FfiConverterTypeDesktopScope.allocationSize(value.scope) +
|
|
1027
|
+
FfiConverterOptionalString.allocationSize(value.session) +
|
|
1028
|
+
FfiConverterOptionalUInt64.allocationSize(value.durationMs) +
|
|
1029
|
+
FfiConverterOptionalUInt64.allocationSize(value.steps) +
|
|
1030
|
+
FfiConverterOptionalTypeClickButton.allocationSize(value.button) +
|
|
1031
|
+
FfiConverterOptionalSequenceString.allocationSize(value.modifier);
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1034
|
+
;
|
|
1035
|
+
return new FFIConverter();
|
|
1036
|
+
})();
|
|
1037
|
+
/**
|
|
1038
|
+
* Generated factory for {@link ElementSelector} record objects.
|
|
1039
|
+
*/
|
|
1040
|
+
export const ElementSelector = (() => {
|
|
1041
|
+
const defaults = () => ({});
|
|
1042
|
+
const create = (() => {
|
|
1043
|
+
return uniffiCreateRecord(defaults);
|
|
1044
|
+
})();
|
|
1045
|
+
return Object.freeze({
|
|
1046
|
+
create,
|
|
1047
|
+
new: create,
|
|
1048
|
+
defaults: () => Object.freeze(defaults()),
|
|
1049
|
+
});
|
|
1050
|
+
})();
|
|
1051
|
+
const FfiConverterTypeElementSelector = (() => {
|
|
1052
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
1053
|
+
read(from) {
|
|
1054
|
+
return {
|
|
1055
|
+
role: FfiConverterOptionalString.read(from),
|
|
1056
|
+
labelContains: FfiConverterOptionalString.read(from)
|
|
1057
|
+
};
|
|
1058
|
+
}
|
|
1059
|
+
write(value, into) {
|
|
1060
|
+
FfiConverterOptionalString.write(value.role, into);
|
|
1061
|
+
FfiConverterOptionalString.write(value.labelContains, into);
|
|
1062
|
+
}
|
|
1063
|
+
allocationSize(value) {
|
|
1064
|
+
return FfiConverterOptionalString.allocationSize(value.role) +
|
|
1065
|
+
FfiConverterOptionalString.allocationSize(value.labelContains);
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
;
|
|
1069
|
+
return new FFIConverter();
|
|
1070
|
+
})();
|
|
1071
|
+
/**
|
|
1072
|
+
* Generated factory for {@link ElementPredicate} record objects.
|
|
1073
|
+
*/
|
|
1074
|
+
export const ElementPredicate = (() => {
|
|
1075
|
+
const defaults = () => ({});
|
|
1076
|
+
const create = (() => {
|
|
1077
|
+
return uniffiCreateRecord(defaults);
|
|
1078
|
+
})();
|
|
1079
|
+
return Object.freeze({
|
|
1080
|
+
create,
|
|
1081
|
+
new: create,
|
|
1082
|
+
defaults: () => Object.freeze(defaults()),
|
|
1083
|
+
});
|
|
1084
|
+
})();
|
|
1085
|
+
const FfiConverterTypeElementPredicate = (() => {
|
|
1086
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
1087
|
+
read(from) {
|
|
1088
|
+
return {
|
|
1089
|
+
selector: FfiConverterTypeElementSelector.read(from),
|
|
1090
|
+
exists: FfiConverterOptionalBoolean.read(from),
|
|
1091
|
+
valueEquals: FfiConverterOptionalString.read(from),
|
|
1092
|
+
enabled: FfiConverterOptionalBoolean.read(from),
|
|
1093
|
+
selected: FfiConverterOptionalBoolean.read(from)
|
|
1094
|
+
};
|
|
1095
|
+
}
|
|
1096
|
+
write(value, into) {
|
|
1097
|
+
FfiConverterTypeElementSelector.write(value.selector, into);
|
|
1098
|
+
FfiConverterOptionalBoolean.write(value.exists, into);
|
|
1099
|
+
FfiConverterOptionalString.write(value.valueEquals, into);
|
|
1100
|
+
FfiConverterOptionalBoolean.write(value.enabled, into);
|
|
1101
|
+
FfiConverterOptionalBoolean.write(value.selected, into);
|
|
471
1102
|
}
|
|
472
1103
|
allocationSize(value) {
|
|
473
|
-
return
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
FfiConverterOptionalString.allocationSize(value.session) +
|
|
479
|
-
FfiConverterOptionalUInt64.allocationSize(value.durationMs) +
|
|
480
|
-
FfiConverterOptionalUInt64.allocationSize(value.steps) +
|
|
481
|
-
FfiConverterOptionalTypeClickButton.allocationSize(value.button) +
|
|
482
|
-
FfiConverterOptionalSequenceString.allocationSize(value.modifier);
|
|
1104
|
+
return FfiConverterTypeElementSelector.allocationSize(value.selector) +
|
|
1105
|
+
FfiConverterOptionalBoolean.allocationSize(value.exists) +
|
|
1106
|
+
FfiConverterOptionalString.allocationSize(value.valueEquals) +
|
|
1107
|
+
FfiConverterOptionalBoolean.allocationSize(value.enabled) +
|
|
1108
|
+
FfiConverterOptionalBoolean.allocationSize(value.selected);
|
|
483
1109
|
}
|
|
484
1110
|
}
|
|
485
1111
|
;
|
|
@@ -864,6 +1490,46 @@ const FfiConverterTypeHotkeyInput = (() => {
|
|
|
864
1490
|
;
|
|
865
1491
|
return new FFIConverter();
|
|
866
1492
|
})();
|
|
1493
|
+
/**
|
|
1494
|
+
* Generated factory for {@link InvokeMenuInput} record objects.
|
|
1495
|
+
*/
|
|
1496
|
+
export const InvokeMenuInput = (() => {
|
|
1497
|
+
const defaults = () => ({});
|
|
1498
|
+
const create = (() => {
|
|
1499
|
+
return uniffiCreateRecord(defaults);
|
|
1500
|
+
})();
|
|
1501
|
+
return Object.freeze({
|
|
1502
|
+
create,
|
|
1503
|
+
new: create,
|
|
1504
|
+
defaults: () => Object.freeze(defaults()),
|
|
1505
|
+
});
|
|
1506
|
+
})();
|
|
1507
|
+
const FfiConverterTypeInvokeMenuInput = (() => {
|
|
1508
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
1509
|
+
read(from) {
|
|
1510
|
+
return {
|
|
1511
|
+
pid: FfiConverterUInt32.read(from),
|
|
1512
|
+
windowId: FfiConverterUInt64.read(from),
|
|
1513
|
+
path: FfiConverterSequenceString.read(from),
|
|
1514
|
+
session: FfiConverterOptionalString.read(from)
|
|
1515
|
+
};
|
|
1516
|
+
}
|
|
1517
|
+
write(value, into) {
|
|
1518
|
+
FfiConverterUInt32.write(value.pid, into);
|
|
1519
|
+
FfiConverterUInt64.write(value.windowId, into);
|
|
1520
|
+
FfiConverterSequenceString.write(value.path, into);
|
|
1521
|
+
FfiConverterOptionalString.write(value.session, into);
|
|
1522
|
+
}
|
|
1523
|
+
allocationSize(value) {
|
|
1524
|
+
return FfiConverterUInt32.allocationSize(value.pid) +
|
|
1525
|
+
FfiConverterUInt64.allocationSize(value.windowId) +
|
|
1526
|
+
FfiConverterSequenceString.allocationSize(value.path) +
|
|
1527
|
+
FfiConverterOptionalString.allocationSize(value.session);
|
|
1528
|
+
}
|
|
1529
|
+
}
|
|
1530
|
+
;
|
|
1531
|
+
return new FFIConverter();
|
|
1532
|
+
})();
|
|
867
1533
|
/**
|
|
868
1534
|
* Generated factory for {@link MoveCursorInput} record objects.
|
|
869
1535
|
*/
|
|
@@ -904,6 +1570,118 @@ const FfiConverterTypeMoveCursorInput = (() => {
|
|
|
904
1570
|
;
|
|
905
1571
|
return new FFIConverter();
|
|
906
1572
|
})();
|
|
1573
|
+
export var VerificationStatus;
|
|
1574
|
+
(function (VerificationStatus) {
|
|
1575
|
+
VerificationStatus[VerificationStatus["Satisfied"] = 0] = "Satisfied";
|
|
1576
|
+
VerificationStatus[VerificationStatus["Unsatisfied"] = 1] = "Unsatisfied";
|
|
1577
|
+
VerificationStatus[VerificationStatus["Unknown"] = 2] = "Unknown";
|
|
1578
|
+
})(VerificationStatus || (VerificationStatus = {}));
|
|
1579
|
+
const FfiConverterTypeVerificationStatus = (() => {
|
|
1580
|
+
const ordinalConverter = FfiConverterInt32;
|
|
1581
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
1582
|
+
read(from) {
|
|
1583
|
+
switch (ordinalConverter.read(from)) {
|
|
1584
|
+
case 1: return VerificationStatus.Satisfied;
|
|
1585
|
+
case 2: return VerificationStatus.Unsatisfied;
|
|
1586
|
+
case 3: return VerificationStatus.Unknown;
|
|
1587
|
+
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
1588
|
+
}
|
|
1589
|
+
}
|
|
1590
|
+
write(value, into) {
|
|
1591
|
+
switch (value) {
|
|
1592
|
+
case VerificationStatus.Satisfied: return ordinalConverter.write(1, into);
|
|
1593
|
+
case VerificationStatus.Unsatisfied: return ordinalConverter.write(2, into);
|
|
1594
|
+
case VerificationStatus.Unknown: return ordinalConverter.write(3, into);
|
|
1595
|
+
}
|
|
1596
|
+
}
|
|
1597
|
+
allocationSize(value) {
|
|
1598
|
+
return ordinalConverter.allocationSize(0);
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
return new FFIConverter();
|
|
1602
|
+
})();
|
|
1603
|
+
export var UnknownReason;
|
|
1604
|
+
(function (UnknownReason) {
|
|
1605
|
+
UnknownReason[UnknownReason["InvalidPredicate"] = 0] = "InvalidPredicate";
|
|
1606
|
+
UnknownReason[UnknownReason["UnsupportedPredicate"] = 1] = "UnsupportedPredicate";
|
|
1607
|
+
UnknownReason[UnknownReason["UntrustedSource"] = 2] = "UntrustedSource";
|
|
1608
|
+
UnknownReason[UnknownReason["MultiMatch"] = 3] = "MultiMatch";
|
|
1609
|
+
UnknownReason[UnknownReason["TargetMissing"] = 4] = "TargetMissing";
|
|
1610
|
+
UnknownReason[UnknownReason["ObservationUnavailable"] = 5] = "ObservationUnavailable";
|
|
1611
|
+
UnknownReason[UnknownReason["StabilityUnproven"] = 6] = "StabilityUnproven";
|
|
1612
|
+
})(UnknownReason || (UnknownReason = {}));
|
|
1613
|
+
const FfiConverterTypeUnknownReason = (() => {
|
|
1614
|
+
const ordinalConverter = FfiConverterInt32;
|
|
1615
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
1616
|
+
read(from) {
|
|
1617
|
+
switch (ordinalConverter.read(from)) {
|
|
1618
|
+
case 1: return UnknownReason.InvalidPredicate;
|
|
1619
|
+
case 2: return UnknownReason.UnsupportedPredicate;
|
|
1620
|
+
case 3: return UnknownReason.UntrustedSource;
|
|
1621
|
+
case 4: return UnknownReason.MultiMatch;
|
|
1622
|
+
case 5: return UnknownReason.TargetMissing;
|
|
1623
|
+
case 6: return UnknownReason.ObservationUnavailable;
|
|
1624
|
+
case 7: return UnknownReason.StabilityUnproven;
|
|
1625
|
+
default: throw new UniffiInternalError.UnexpectedEnumCase();
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
write(value, into) {
|
|
1629
|
+
switch (value) {
|
|
1630
|
+
case UnknownReason.InvalidPredicate: return ordinalConverter.write(1, into);
|
|
1631
|
+
case UnknownReason.UnsupportedPredicate: return ordinalConverter.write(2, into);
|
|
1632
|
+
case UnknownReason.UntrustedSource: return ordinalConverter.write(3, into);
|
|
1633
|
+
case UnknownReason.MultiMatch: return ordinalConverter.write(4, into);
|
|
1634
|
+
case UnknownReason.TargetMissing: return ordinalConverter.write(5, into);
|
|
1635
|
+
case UnknownReason.ObservationUnavailable: return ordinalConverter.write(6, into);
|
|
1636
|
+
case UnknownReason.StabilityUnproven: return ordinalConverter.write(7, into);
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
allocationSize(value) {
|
|
1640
|
+
return ordinalConverter.allocationSize(0);
|
|
1641
|
+
}
|
|
1642
|
+
}
|
|
1643
|
+
return new FFIConverter();
|
|
1644
|
+
})();
|
|
1645
|
+
/**
|
|
1646
|
+
* Generated factory for {@link PredicateOutcome} record objects.
|
|
1647
|
+
*/
|
|
1648
|
+
export const PredicateOutcome = (() => {
|
|
1649
|
+
const defaults = () => ({});
|
|
1650
|
+
const create = (() => {
|
|
1651
|
+
return uniffiCreateRecord(defaults);
|
|
1652
|
+
})();
|
|
1653
|
+
return Object.freeze({
|
|
1654
|
+
create,
|
|
1655
|
+
new: create,
|
|
1656
|
+
defaults: () => Object.freeze(defaults()),
|
|
1657
|
+
});
|
|
1658
|
+
})();
|
|
1659
|
+
const FfiConverterTypePredicateOutcome = (() => {
|
|
1660
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
1661
|
+
read(from) {
|
|
1662
|
+
return {
|
|
1663
|
+
index: FfiConverterUInt64.read(from),
|
|
1664
|
+
status: FfiConverterTypeVerificationStatus.read(from),
|
|
1665
|
+
unknownReason: FfiConverterOptionalTypeUnknownReason.read(from),
|
|
1666
|
+
observedJson: FfiConverterOptionalString.read(from)
|
|
1667
|
+
};
|
|
1668
|
+
}
|
|
1669
|
+
write(value, into) {
|
|
1670
|
+
FfiConverterUInt64.write(value.index, into);
|
|
1671
|
+
FfiConverterTypeVerificationStatus.write(value.status, into);
|
|
1672
|
+
FfiConverterOptionalTypeUnknownReason.write(value.unknownReason, into);
|
|
1673
|
+
FfiConverterOptionalString.write(value.observedJson, into);
|
|
1674
|
+
}
|
|
1675
|
+
allocationSize(value) {
|
|
1676
|
+
return FfiConverterUInt64.allocationSize(value.index) +
|
|
1677
|
+
FfiConverterTypeVerificationStatus.allocationSize(value.status) +
|
|
1678
|
+
FfiConverterOptionalTypeUnknownReason.allocationSize(value.unknownReason) +
|
|
1679
|
+
FfiConverterOptionalString.allocationSize(value.observedJson);
|
|
1680
|
+
}
|
|
1681
|
+
}
|
|
1682
|
+
;
|
|
1683
|
+
return new FFIConverter();
|
|
1684
|
+
})();
|
|
907
1685
|
/**
|
|
908
1686
|
* Generated factory for {@link PressKeyInput} record objects.
|
|
909
1687
|
*/
|
|
@@ -1387,6 +2165,55 @@ const FfiConverterTypeSetAgentCursorThemeOutput = (() => {
|
|
|
1387
2165
|
;
|
|
1388
2166
|
return new FFIConverter();
|
|
1389
2167
|
})();
|
|
2168
|
+
/**
|
|
2169
|
+
* Generated factory for {@link SetWindowFrameInput} record objects.
|
|
2170
|
+
*/
|
|
2171
|
+
export const SetWindowFrameInput = (() => {
|
|
2172
|
+
const defaults = () => ({});
|
|
2173
|
+
const create = (() => {
|
|
2174
|
+
return uniffiCreateRecord(defaults);
|
|
2175
|
+
})();
|
|
2176
|
+
return Object.freeze({
|
|
2177
|
+
create,
|
|
2178
|
+
new: create,
|
|
2179
|
+
defaults: () => Object.freeze(defaults()),
|
|
2180
|
+
});
|
|
2181
|
+
})();
|
|
2182
|
+
const FfiConverterTypeSetWindowFrameInput = (() => {
|
|
2183
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
2184
|
+
read(from) {
|
|
2185
|
+
return {
|
|
2186
|
+
pid: FfiConverterUInt32.read(from),
|
|
2187
|
+
windowId: FfiConverterUInt64.read(from),
|
|
2188
|
+
x: FfiConverterFloat64.read(from),
|
|
2189
|
+
y: FfiConverterFloat64.read(from),
|
|
2190
|
+
width: FfiConverterFloat64.read(from),
|
|
2191
|
+
height: FfiConverterFloat64.read(from),
|
|
2192
|
+
session: FfiConverterOptionalString.read(from)
|
|
2193
|
+
};
|
|
2194
|
+
}
|
|
2195
|
+
write(value, into) {
|
|
2196
|
+
FfiConverterUInt32.write(value.pid, into);
|
|
2197
|
+
FfiConverterUInt64.write(value.windowId, into);
|
|
2198
|
+
FfiConverterFloat64.write(value.x, into);
|
|
2199
|
+
FfiConverterFloat64.write(value.y, into);
|
|
2200
|
+
FfiConverterFloat64.write(value.width, into);
|
|
2201
|
+
FfiConverterFloat64.write(value.height, into);
|
|
2202
|
+
FfiConverterOptionalString.write(value.session, into);
|
|
2203
|
+
}
|
|
2204
|
+
allocationSize(value) {
|
|
2205
|
+
return FfiConverterUInt32.allocationSize(value.pid) +
|
|
2206
|
+
FfiConverterUInt64.allocationSize(value.windowId) +
|
|
2207
|
+
FfiConverterFloat64.allocationSize(value.x) +
|
|
2208
|
+
FfiConverterFloat64.allocationSize(value.y) +
|
|
2209
|
+
FfiConverterFloat64.allocationSize(value.width) +
|
|
2210
|
+
FfiConverterFloat64.allocationSize(value.height) +
|
|
2211
|
+
FfiConverterOptionalString.allocationSize(value.session);
|
|
2212
|
+
}
|
|
2213
|
+
}
|
|
2214
|
+
;
|
|
2215
|
+
return new FFIConverter();
|
|
2216
|
+
})();
|
|
1390
2217
|
/**
|
|
1391
2218
|
* Generated factory for {@link StartSessionInput} record objects.
|
|
1392
2219
|
*/
|
|
@@ -1461,6 +2288,74 @@ const FfiConverterTypeStartSessionOutput = (() => {
|
|
|
1461
2288
|
;
|
|
1462
2289
|
return new FFIConverter();
|
|
1463
2290
|
})();
|
|
2291
|
+
/**
|
|
2292
|
+
* Generated factory for {@link WindowPredicate} record objects.
|
|
2293
|
+
*/
|
|
2294
|
+
export const WindowPredicate = (() => {
|
|
2295
|
+
const defaults = () => ({});
|
|
2296
|
+
const create = (() => {
|
|
2297
|
+
return uniffiCreateRecord(defaults);
|
|
2298
|
+
})();
|
|
2299
|
+
return Object.freeze({
|
|
2300
|
+
create,
|
|
2301
|
+
new: create,
|
|
2302
|
+
defaults: () => Object.freeze(defaults()),
|
|
2303
|
+
});
|
|
2304
|
+
})();
|
|
2305
|
+
const FfiConverterTypeWindowPredicate = (() => {
|
|
2306
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
2307
|
+
read(from) {
|
|
2308
|
+
return {
|
|
2309
|
+
exists: FfiConverterOptionalBoolean.read(from),
|
|
2310
|
+
bounds: FfiConverterOptionalTypeBoundsExpectation.read(from)
|
|
2311
|
+
};
|
|
2312
|
+
}
|
|
2313
|
+
write(value, into) {
|
|
2314
|
+
FfiConverterOptionalBoolean.write(value.exists, into);
|
|
2315
|
+
FfiConverterOptionalTypeBoundsExpectation.write(value.bounds, into);
|
|
2316
|
+
}
|
|
2317
|
+
allocationSize(value) {
|
|
2318
|
+
return FfiConverterOptionalBoolean.allocationSize(value.exists) +
|
|
2319
|
+
FfiConverterOptionalTypeBoundsExpectation.allocationSize(value.bounds);
|
|
2320
|
+
}
|
|
2321
|
+
}
|
|
2322
|
+
;
|
|
2323
|
+
return new FFIConverter();
|
|
2324
|
+
})();
|
|
2325
|
+
/**
|
|
2326
|
+
* Generated factory for {@link StatePredicate} record objects.
|
|
2327
|
+
*/
|
|
2328
|
+
export const StatePredicate = (() => {
|
|
2329
|
+
const defaults = () => ({});
|
|
2330
|
+
const create = (() => {
|
|
2331
|
+
return uniffiCreateRecord(defaults);
|
|
2332
|
+
})();
|
|
2333
|
+
return Object.freeze({
|
|
2334
|
+
create,
|
|
2335
|
+
new: create,
|
|
2336
|
+
defaults: () => Object.freeze(defaults()),
|
|
2337
|
+
});
|
|
2338
|
+
})();
|
|
2339
|
+
const FfiConverterTypeStatePredicate = (() => {
|
|
2340
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
2341
|
+
read(from) {
|
|
2342
|
+
return {
|
|
2343
|
+
window: FfiConverterOptionalTypeWindowPredicate.read(from),
|
|
2344
|
+
element: FfiConverterOptionalTypeElementPredicate.read(from)
|
|
2345
|
+
};
|
|
2346
|
+
}
|
|
2347
|
+
write(value, into) {
|
|
2348
|
+
FfiConverterOptionalTypeWindowPredicate.write(value.window, into);
|
|
2349
|
+
FfiConverterOptionalTypeElementPredicate.write(value.element, into);
|
|
2350
|
+
}
|
|
2351
|
+
allocationSize(value) {
|
|
2352
|
+
return FfiConverterOptionalTypeWindowPredicate.allocationSize(value.window) +
|
|
2353
|
+
FfiConverterOptionalTypeElementPredicate.allocationSize(value.element);
|
|
2354
|
+
}
|
|
2355
|
+
}
|
|
2356
|
+
;
|
|
2357
|
+
return new FFIConverter();
|
|
2358
|
+
})();
|
|
1464
2359
|
/**
|
|
1465
2360
|
* Generated factory for {@link TypeTextInput} record objects.
|
|
1466
2361
|
*/
|
|
@@ -1498,6 +2393,98 @@ const FfiConverterTypeTypeTextInput = (() => {
|
|
|
1498
2393
|
;
|
|
1499
2394
|
return new FFIConverter();
|
|
1500
2395
|
})();
|
|
2396
|
+
/**
|
|
2397
|
+
* Generated factory for {@link VerifyStateInput} record objects.
|
|
2398
|
+
*/
|
|
2399
|
+
export const VerifyStateInput = (() => {
|
|
2400
|
+
const defaults = () => ({});
|
|
2401
|
+
const create = (() => {
|
|
2402
|
+
return uniffiCreateRecord(defaults);
|
|
2403
|
+
})();
|
|
2404
|
+
return Object.freeze({
|
|
2405
|
+
create,
|
|
2406
|
+
new: create,
|
|
2407
|
+
defaults: () => Object.freeze(defaults()),
|
|
2408
|
+
});
|
|
2409
|
+
})();
|
|
2410
|
+
const FfiConverterTypeVerifyStateInput = (() => {
|
|
2411
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
2412
|
+
read(from) {
|
|
2413
|
+
return {
|
|
2414
|
+
pid: FfiConverterInt64.read(from),
|
|
2415
|
+
windowId: FfiConverterUInt64.read(from),
|
|
2416
|
+
expect: FfiConverterSequenceTypeStatePredicate.read(from),
|
|
2417
|
+
session: FfiConverterOptionalString.read(from),
|
|
2418
|
+
timeoutMs: FfiConverterOptionalUInt64.read(from),
|
|
2419
|
+
stableSamples: FfiConverterOptionalUInt64.read(from),
|
|
2420
|
+
includeScreenshot: FfiConverterOptionalBoolean.read(from)
|
|
2421
|
+
};
|
|
2422
|
+
}
|
|
2423
|
+
write(value, into) {
|
|
2424
|
+
FfiConverterInt64.write(value.pid, into);
|
|
2425
|
+
FfiConverterUInt64.write(value.windowId, into);
|
|
2426
|
+
FfiConverterSequenceTypeStatePredicate.write(value.expect, into);
|
|
2427
|
+
FfiConverterOptionalString.write(value.session, into);
|
|
2428
|
+
FfiConverterOptionalUInt64.write(value.timeoutMs, into);
|
|
2429
|
+
FfiConverterOptionalUInt64.write(value.stableSamples, into);
|
|
2430
|
+
FfiConverterOptionalBoolean.write(value.includeScreenshot, into);
|
|
2431
|
+
}
|
|
2432
|
+
allocationSize(value) {
|
|
2433
|
+
return FfiConverterInt64.allocationSize(value.pid) +
|
|
2434
|
+
FfiConverterUInt64.allocationSize(value.windowId) +
|
|
2435
|
+
FfiConverterSequenceTypeStatePredicate.allocationSize(value.expect) +
|
|
2436
|
+
FfiConverterOptionalString.allocationSize(value.session) +
|
|
2437
|
+
FfiConverterOptionalUInt64.allocationSize(value.timeoutMs) +
|
|
2438
|
+
FfiConverterOptionalUInt64.allocationSize(value.stableSamples) +
|
|
2439
|
+
FfiConverterOptionalBoolean.allocationSize(value.includeScreenshot);
|
|
2440
|
+
}
|
|
2441
|
+
}
|
|
2442
|
+
;
|
|
2443
|
+
return new FFIConverter();
|
|
2444
|
+
})();
|
|
2445
|
+
/**
|
|
2446
|
+
* Generated factory for {@link VerifyStateOutput} record objects.
|
|
2447
|
+
*/
|
|
2448
|
+
export const VerifyStateOutput = (() => {
|
|
2449
|
+
const defaults = () => ({});
|
|
2450
|
+
const create = (() => {
|
|
2451
|
+
return uniffiCreateRecord(defaults);
|
|
2452
|
+
})();
|
|
2453
|
+
return Object.freeze({
|
|
2454
|
+
create,
|
|
2455
|
+
new: create,
|
|
2456
|
+
defaults: () => Object.freeze(defaults()),
|
|
2457
|
+
});
|
|
2458
|
+
})();
|
|
2459
|
+
const FfiConverterTypeVerifyStateOutput = (() => {
|
|
2460
|
+
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
2461
|
+
read(from) {
|
|
2462
|
+
return {
|
|
2463
|
+
status: FfiConverterTypeVerificationStatus.read(from),
|
|
2464
|
+
stable: FfiConverterBool.read(from),
|
|
2465
|
+
elapsedMs: FfiConverterUInt64.read(from),
|
|
2466
|
+
samples: FfiConverterUInt64.read(from),
|
|
2467
|
+
predicates: FfiConverterSequenceTypePredicateOutcome.read(from)
|
|
2468
|
+
};
|
|
2469
|
+
}
|
|
2470
|
+
write(value, into) {
|
|
2471
|
+
FfiConverterTypeVerificationStatus.write(value.status, into);
|
|
2472
|
+
FfiConverterBool.write(value.stable, into);
|
|
2473
|
+
FfiConverterUInt64.write(value.elapsedMs, into);
|
|
2474
|
+
FfiConverterUInt64.write(value.samples, into);
|
|
2475
|
+
FfiConverterSequenceTypePredicateOutcome.write(value.predicates, into);
|
|
2476
|
+
}
|
|
2477
|
+
allocationSize(value) {
|
|
2478
|
+
return FfiConverterTypeVerificationStatus.allocationSize(value.status) +
|
|
2479
|
+
FfiConverterBool.allocationSize(value.stable) +
|
|
2480
|
+
FfiConverterUInt64.allocationSize(value.elapsedMs) +
|
|
2481
|
+
FfiConverterUInt64.allocationSize(value.samples) +
|
|
2482
|
+
FfiConverterSequenceTypePredicateOutcome.allocationSize(value.predicates);
|
|
2483
|
+
}
|
|
2484
|
+
}
|
|
2485
|
+
;
|
|
2486
|
+
return new FFIConverter();
|
|
2487
|
+
})();
|
|
1501
2488
|
export var Platform;
|
|
1502
2489
|
(function (Platform) {
|
|
1503
2490
|
Platform[Platform["Macos"] = 0] = "Macos";
|
|
@@ -1528,30 +2515,52 @@ const FfiConverterTypePlatform = (() => {
|
|
|
1528
2515
|
}
|
|
1529
2516
|
return new FFIConverter();
|
|
1530
2517
|
})();
|
|
2518
|
+
// FfiConverter for number | undefined
|
|
2519
|
+
const FfiConverterOptionalUInt32 = new FfiConverterOptional(FfiConverterUInt32);
|
|
2520
|
+
// FfiConverter for ActionDelivery | undefined
|
|
2521
|
+
const FfiConverterOptionalTypeActionDelivery = new FfiConverterOptional(FfiConverterTypeActionDelivery);
|
|
2522
|
+
// FfiConverter for Array<ActionEvidence>
|
|
2523
|
+
const FfiConverterSequenceTypeActionEvidence = new FfiConverterArray(FfiConverterTypeActionEvidence);
|
|
2524
|
+
// FfiConverter for Array<ActionEvidence> | undefined
|
|
2525
|
+
const FfiConverterOptionalSequenceTypeActionEvidence = new FfiConverterOptional(FfiConverterSequenceTypeActionEvidence);
|
|
2526
|
+
// FfiConverter for ActionEscalation | undefined
|
|
2527
|
+
const FfiConverterOptionalTypeActionEscalation = new FfiConverterOptional(FfiConverterTypeActionEscalation);
|
|
2528
|
+
// FfiConverter for number | undefined
|
|
2529
|
+
const FfiConverterOptionalFloat64 = new FfiConverterOptional(FfiConverterFloat64);
|
|
1531
2530
|
// FfiConverter for string | undefined
|
|
1532
2531
|
const FfiConverterOptionalString = new FfiConverterOptional(FfiConverterString);
|
|
1533
2532
|
// FfiConverter for ClickButton | undefined
|
|
1534
2533
|
const FfiConverterOptionalTypeClickButton = new FfiConverterOptional(FfiConverterTypeClickButton);
|
|
1535
|
-
// FfiConverter for number | undefined
|
|
1536
|
-
const FfiConverterOptionalUInt32 = new FfiConverterOptional(FfiConverterUInt32);
|
|
1537
2534
|
// FfiConverter for Array<string>
|
|
1538
2535
|
const FfiConverterSequenceString = new FfiConverterArray(FfiConverterString);
|
|
1539
2536
|
// FfiConverter for bigint | undefined
|
|
1540
2537
|
const FfiConverterOptionalUInt64 = new FfiConverterOptional(FfiConverterUInt64);
|
|
1541
2538
|
// FfiConverter for Array<string> | undefined
|
|
1542
2539
|
const FfiConverterOptionalSequenceString = new FfiConverterOptional(FfiConverterSequenceString);
|
|
2540
|
+
// FfiConverter for boolean | undefined
|
|
2541
|
+
const FfiConverterOptionalBoolean = new FfiConverterOptional(FfiConverterBool);
|
|
1543
2542
|
// FfiConverter for CursorPointOutput | undefined
|
|
1544
2543
|
const FfiConverterOptionalTypeCursorPointOutput = new FfiConverterOptional(FfiConverterTypeCursorPointOutput);
|
|
2544
|
+
// FfiConverter for UnknownReason | undefined
|
|
2545
|
+
const FfiConverterOptionalTypeUnknownReason = new FfiConverterOptional(FfiConverterTypeUnknownReason);
|
|
1545
2546
|
// FfiConverter for ScrollBy | undefined
|
|
1546
2547
|
const FfiConverterOptionalTypeScrollBy = new FfiConverterOptional(FfiConverterTypeScrollBy);
|
|
1547
2548
|
// FfiConverter for EscalationReason | undefined
|
|
1548
2549
|
const FfiConverterOptionalTypeEscalationReason = new FfiConverterOptional(FfiConverterTypeEscalationReason);
|
|
1549
|
-
// FfiConverter for number | undefined
|
|
1550
|
-
const FfiConverterOptionalFloat64 = new FfiConverterOptional(FfiConverterFloat64);
|
|
1551
2550
|
// FfiConverter for CaptureScope | undefined
|
|
1552
2551
|
const FfiConverterOptionalTypeCaptureScope = new FfiConverterOptional(FfiConverterTypeCaptureScope);
|
|
1553
2552
|
// FfiConverter for CursorThemeSelection | undefined
|
|
1554
2553
|
const FfiConverterOptionalTypeCursorThemeSelection = new FfiConverterOptional(FfiConverterTypeCursorThemeSelection);
|
|
2554
|
+
// FfiConverter for BoundsExpectation | undefined
|
|
2555
|
+
const FfiConverterOptionalTypeBoundsExpectation = new FfiConverterOptional(FfiConverterTypeBoundsExpectation);
|
|
2556
|
+
// FfiConverter for WindowPredicate | undefined
|
|
2557
|
+
const FfiConverterOptionalTypeWindowPredicate = new FfiConverterOptional(FfiConverterTypeWindowPredicate);
|
|
2558
|
+
// FfiConverter for ElementPredicate | undefined
|
|
2559
|
+
const FfiConverterOptionalTypeElementPredicate = new FfiConverterOptional(FfiConverterTypeElementPredicate);
|
|
2560
|
+
// FfiConverter for Array<StatePredicate>
|
|
2561
|
+
const FfiConverterSequenceTypeStatePredicate = new FfiConverterArray(FfiConverterTypeStatePredicate);
|
|
2562
|
+
// FfiConverter for Array<PredicateOutcome>
|
|
2563
|
+
const FfiConverterSequenceTypePredicateOutcome = new FfiConverterArray(FfiConverterTypePredicateOutcome);
|
|
1555
2564
|
/**
|
|
1556
2565
|
* This should be called before anything else.
|
|
1557
2566
|
*
|
|
@@ -1574,9 +2583,24 @@ function uniffiEnsureInitialized() {
|
|
|
1574
2583
|
export default Object.freeze({
|
|
1575
2584
|
initialize: uniffiEnsureInitialized,
|
|
1576
2585
|
converters: {
|
|
2586
|
+
FfiConverterTypeActionDelivery,
|
|
2587
|
+
FfiConverterTypeActionDeliveryMode,
|
|
2588
|
+
FfiConverterTypeActionEffect,
|
|
2589
|
+
FfiConverterTypeActionEscalation,
|
|
2590
|
+
FfiConverterTypeActionEscalationReason,
|
|
2591
|
+
FfiConverterTypeActionEscalationTarget,
|
|
2592
|
+
FfiConverterTypeActionEvidence,
|
|
2593
|
+
FfiConverterTypeActionEvidenceKind,
|
|
2594
|
+
FfiConverterTypeActionResult,
|
|
2595
|
+
FfiConverterTypeActionRoute,
|
|
2596
|
+
FfiConverterTypeBoundsExpectation,
|
|
1577
2597
|
FfiConverterTypeCaptureScope,
|
|
1578
2598
|
FfiConverterTypeClickButton,
|
|
1579
2599
|
FfiConverterTypeClickInput,
|
|
2600
|
+
FfiConverterTypeClipboardReadInput,
|
|
2601
|
+
FfiConverterTypeClipboardReadOutput,
|
|
2602
|
+
FfiConverterTypeClipboardWriteInput,
|
|
2603
|
+
FfiConverterTypeClipboardWriteOutput,
|
|
1580
2604
|
FfiConverterTypeCursorAction,
|
|
1581
2605
|
FfiConverterTypeCursorMotionOutput,
|
|
1582
2606
|
FfiConverterTypeCursorPointOutput,
|
|
@@ -1587,6 +2611,8 @@ export default Object.freeze({
|
|
|
1587
2611
|
FfiConverterTypeDesktopScope,
|
|
1588
2612
|
FfiConverterTypeDragInput,
|
|
1589
2613
|
FfiConverterTypeEffectiveScope,
|
|
2614
|
+
FfiConverterTypeElementPredicate,
|
|
2615
|
+
FfiConverterTypeElementSelector,
|
|
1590
2616
|
FfiConverterTypeEndSessionInput,
|
|
1591
2617
|
FfiConverterTypeEndSessionOutput,
|
|
1592
2618
|
FfiConverterTypeEscalateSessionInput,
|
|
@@ -1598,8 +2624,10 @@ export default Object.freeze({
|
|
|
1598
2624
|
FfiConverterTypeGetScreenSizeInput,
|
|
1599
2625
|
FfiConverterTypeGetSessionStateInput,
|
|
1600
2626
|
FfiConverterTypeHotkeyInput,
|
|
2627
|
+
FfiConverterTypeInvokeMenuInput,
|
|
1601
2628
|
FfiConverterTypeMoveCursorInput,
|
|
1602
2629
|
FfiConverterTypePlatform,
|
|
2630
|
+
FfiConverterTypePredicateOutcome,
|
|
1603
2631
|
FfiConverterTypePressKeyInput,
|
|
1604
2632
|
FfiConverterTypeScrollBy,
|
|
1605
2633
|
FfiConverterTypeScrollDirection,
|
|
@@ -1611,8 +2639,15 @@ export default Object.freeze({
|
|
|
1611
2639
|
FfiConverterTypeSetAgentCursorMotionOutput,
|
|
1612
2640
|
FfiConverterTypeSetAgentCursorThemeInput,
|
|
1613
2641
|
FfiConverterTypeSetAgentCursorThemeOutput,
|
|
2642
|
+
FfiConverterTypeSetWindowFrameInput,
|
|
1614
2643
|
FfiConverterTypeStartSessionInput,
|
|
1615
2644
|
FfiConverterTypeStartSessionOutput,
|
|
2645
|
+
FfiConverterTypeStatePredicate,
|
|
1616
2646
|
FfiConverterTypeTypeTextInput,
|
|
2647
|
+
FfiConverterTypeUnknownReason,
|
|
2648
|
+
FfiConverterTypeVerificationStatus,
|
|
2649
|
+
FfiConverterTypeVerifyStateInput,
|
|
2650
|
+
FfiConverterTypeVerifyStateOutput,
|
|
2651
|
+
FfiConverterTypeWindowPredicate,
|
|
1617
2652
|
}
|
|
1618
2653
|
});
|