@trycua/cua-driver 0.21.0 → 0.22.1
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.
|
@@ -261,13 +261,14 @@ export type EmbeddedDriverHostOptions = {
|
|
|
261
261
|
dangerouslyBypassApprovals: boolean;
|
|
262
262
|
environment: Array<EmbeddedEnvironmentVariable>;
|
|
263
263
|
inheritStderr: boolean;
|
|
264
|
+
noOverlay: boolean;
|
|
264
265
|
};
|
|
265
266
|
/**
|
|
266
267
|
* Generated factory for {@link EmbeddedDriverHostOptions} record objects.
|
|
267
268
|
*/
|
|
268
269
|
export declare const EmbeddedDriverHostOptions: Readonly<{
|
|
269
|
-
create: (partial: Partial<EmbeddedDriverHostOptions> & Required<Omit<EmbeddedDriverHostOptions, "socketPath" | "permissionMode" | "startupTimeoutMs" | "shutdownTimeoutMs" | "capabilityManifestPath" | "approveCapabilityManifest" | "sessionPolicyPath">>) => EmbeddedDriverHostOptions;
|
|
270
|
-
new: (partial: Partial<EmbeddedDriverHostOptions> & Required<Omit<EmbeddedDriverHostOptions, "socketPath" | "permissionMode" | "startupTimeoutMs" | "shutdownTimeoutMs" | "capabilityManifestPath" | "approveCapabilityManifest" | "sessionPolicyPath">>) => EmbeddedDriverHostOptions;
|
|
270
|
+
create: (partial: Partial<EmbeddedDriverHostOptions> & Required<Omit<EmbeddedDriverHostOptions, "socketPath" | "permissionMode" | "startupTimeoutMs" | "shutdownTimeoutMs" | "capabilityManifestPath" | "approveCapabilityManifest" | "sessionPolicyPath" | "noOverlay">>) => EmbeddedDriverHostOptions;
|
|
271
|
+
new: (partial: Partial<EmbeddedDriverHostOptions> & Required<Omit<EmbeddedDriverHostOptions, "socketPath" | "permissionMode" | "startupTimeoutMs" | "shutdownTimeoutMs" | "capabilityManifestPath" | "approveCapabilityManifest" | "sessionPolicyPath" | "noOverlay">>) => EmbeddedDriverHostOptions;
|
|
271
272
|
defaults: () => Partial<EmbeddedDriverHostOptions>;
|
|
272
273
|
}>;
|
|
273
274
|
export type ImageContent = {
|
|
@@ -704,6 +704,7 @@ export const EmbeddedDriverHostOptions = (() => {
|
|
|
704
704
|
const defaults = () => ({
|
|
705
705
|
capabilityManifestPath: undefined,
|
|
706
706
|
approveCapabilityManifest: false,
|
|
707
|
+
noOverlay: false
|
|
707
708
|
});
|
|
708
709
|
const create = (() => {
|
|
709
710
|
return uniffiCreateRecord(defaults);
|
|
@@ -730,7 +731,8 @@ const FfiConverterTypeEmbeddedDriverHostOptions = (() => {
|
|
|
730
731
|
approveSessionPolicy: FfiConverterBool.read(from),
|
|
731
732
|
dangerouslyBypassApprovals: FfiConverterBool.read(from),
|
|
732
733
|
environment: FfiConverterSequenceTypeEmbeddedEnvironmentVariable.read(from),
|
|
733
|
-
inheritStderr: FfiConverterBool.read(from)
|
|
734
|
+
inheritStderr: FfiConverterBool.read(from),
|
|
735
|
+
noOverlay: FfiConverterBool.read(from)
|
|
734
736
|
};
|
|
735
737
|
}
|
|
736
738
|
write(value, into) {
|
|
@@ -747,6 +749,7 @@ const FfiConverterTypeEmbeddedDriverHostOptions = (() => {
|
|
|
747
749
|
FfiConverterBool.write(value.dangerouslyBypassApprovals, into);
|
|
748
750
|
FfiConverterSequenceTypeEmbeddedEnvironmentVariable.write(value.environment, into);
|
|
749
751
|
FfiConverterBool.write(value.inheritStderr, into);
|
|
752
|
+
FfiConverterBool.write(value.noOverlay, into);
|
|
750
753
|
}
|
|
751
754
|
allocationSize(value) {
|
|
752
755
|
return FfiConverterString.allocationSize(value.binaryPath) +
|
|
@@ -761,7 +764,8 @@ const FfiConverterTypeEmbeddedDriverHostOptions = (() => {
|
|
|
761
764
|
FfiConverterBool.allocationSize(value.approveSessionPolicy) +
|
|
762
765
|
FfiConverterBool.allocationSize(value.dangerouslyBypassApprovals) +
|
|
763
766
|
FfiConverterSequenceTypeEmbeddedEnvironmentVariable.allocationSize(value.environment) +
|
|
764
|
-
FfiConverterBool.allocationSize(value.inheritStderr)
|
|
767
|
+
FfiConverterBool.allocationSize(value.inheritStderr) +
|
|
768
|
+
FfiConverterBool.allocationSize(value.noOverlay);
|
|
765
769
|
}
|
|
766
770
|
}
|
|
767
771
|
;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trycua/cua-driver",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.1",
|
|
4
4
|
"description": "Rust-backed Cua Driver SDK and embedded Node host",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"@ubjs/node": "0.31.0-3"
|
|
43
43
|
},
|
|
44
44
|
"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.
|
|
45
|
+
"@trycua/cua-driver-darwin-arm64": "0.22.1",
|
|
46
|
+
"@trycua/cua-driver-darwin-x64": "0.22.1",
|
|
47
|
+
"@trycua/cua-driver-linux-arm64-gnu": "0.22.1",
|
|
48
|
+
"@trycua/cua-driver-linux-x64-gnu": "0.22.1",
|
|
49
|
+
"@trycua/cua-driver-win32-arm64-msvc": "0.22.1",
|
|
50
|
+
"@trycua/cua-driver-win32-x64-msvc": "0.22.1"
|
|
51
51
|
}
|
|
52
52
|
}
|