@gajae-code/natives 0.11.5 → 0.11.7
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/native/index.d.ts +15 -8
- package/native/index.js +3 -1
- package/package.json +6 -6
package/native/index.d.ts
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
/* auto-generated by NAPI-RS */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* macOS computer-use controller.
|
|
5
|
-
*
|
|
6
|
-
* This declaration and the named JS export are available on every platform so
|
|
7
|
-
* consumers can import them portably; the native controller itself is built
|
|
8
|
-
* only on macOS.
|
|
9
|
-
*/
|
|
10
3
|
export declare class ComputerController {
|
|
11
4
|
constructor()
|
|
12
5
|
screenshot(): ComputerScreenshot
|
|
@@ -477,7 +470,7 @@ export declare class Shell {
|
|
|
477
470
|
* `packages/natives/native/index.js` (which derives the name from
|
|
478
471
|
* `package.json#version`).
|
|
479
472
|
*/
|
|
480
|
-
export declare function
|
|
473
|
+
export declare function __piNativesV0_11_7(): void
|
|
481
474
|
|
|
482
475
|
/**
|
|
483
476
|
* Apply conservative pre-execution rewrites to a bash command.
|
|
@@ -1966,6 +1959,14 @@ export interface RecoveryFsResult {
|
|
|
1966
1959
|
|
|
1967
1960
|
export declare function renameNoReplacePath(sourcePath: string, destinationPath: string): NativeExactUnlinkResult
|
|
1968
1961
|
|
|
1962
|
+
/**
|
|
1963
|
+
* Repair an owner-only ACL on a retained expected path.
|
|
1964
|
+
*
|
|
1965
|
+
* Its no-follow handle must still identify the expected object before repair
|
|
1966
|
+
* and again after final ACL verification.
|
|
1967
|
+
*/
|
|
1968
|
+
export declare function repairOwnerOnlyPathSecurityExpected(path: string, kind: "directory" | "file", expectedDev: bigint, expectedIno: bigint): NativeOwnerOnlySecurityResult
|
|
1969
|
+
|
|
1969
1970
|
/** A client reply forwarded to the TypeScript host for gate resolution. */
|
|
1970
1971
|
export interface ReplyEvent {
|
|
1971
1972
|
/**
|
|
@@ -2194,6 +2195,12 @@ export declare function verifyOwnerOnlyFdSecurity(path: string, kind: "directory
|
|
|
2194
2195
|
|
|
2195
2196
|
export declare function verifyOwnerOnlyPathSecurity(path: string, kind: "directory" | "file"): NativeOwnerOnlySecurityResult
|
|
2196
2197
|
|
|
2198
|
+
/**
|
|
2199
|
+
* Verify owner-only ACL security without mutation only when the retained
|
|
2200
|
+
* no-follow handle identifies the expected object before and after inspection.
|
|
2201
|
+
*/
|
|
2202
|
+
export declare function verifyOwnerOnlyPathSecurityExpected(path: string, kind: "directory" | "file", expectedDev: bigint, expectedIno: bigint): NativeOwnerOnlySecurityResult
|
|
2203
|
+
|
|
2197
2204
|
/**
|
|
2198
2205
|
* Calculate visible width of text, excluding ANSI escape sequences.
|
|
2199
2206
|
*
|
package/native/index.js
CHANGED
|
@@ -29,7 +29,7 @@ export const RecoveryFsRoot = nativeBindings.RecoveryFsRoot;
|
|
|
29
29
|
export const Shell = nativeBindings.Shell;
|
|
30
30
|
|
|
31
31
|
// functions
|
|
32
|
-
export const
|
|
32
|
+
export const __piNativesV0_11_7 = nativeBindings.__piNativesV0_11_7;
|
|
33
33
|
export const applyBashFixups = nativeBindings.applyBashFixups;
|
|
34
34
|
export const applyOwnerOnlyFdSecurity = nativeBindings.applyOwnerOnlyFdSecurity;
|
|
35
35
|
export const applyOwnerOnlyPathSecurity = nativeBindings.applyOwnerOnlyPathSecurity;
|
|
@@ -77,6 +77,7 @@ export const parseKittySequence = nativeBindings.parseKittySequence;
|
|
|
77
77
|
export const ptyTimeoutCount = nativeBindings.ptyTimeoutCount;
|
|
78
78
|
export const readImageFromClipboard = nativeBindings.readImageFromClipboard;
|
|
79
79
|
export const renameNoReplacePath = nativeBindings.renameNoReplacePath;
|
|
80
|
+
export const repairOwnerOnlyPathSecurityExpected = nativeBindings.repairOwnerOnlyPathSecurityExpected;
|
|
80
81
|
export const retainBrokerPublication = nativeBindings.retainBrokerPublication;
|
|
81
82
|
export const search = nativeBindings.search;
|
|
82
83
|
export const sliceWithWidth = nativeBindings.sliceWithWidth;
|
|
@@ -87,6 +88,7 @@ export const truncateLinesToWidth = nativeBindings.truncateLinesToWidth;
|
|
|
87
88
|
export const truncateToWidth = nativeBindings.truncateToWidth;
|
|
88
89
|
export const verifyOwnerOnlyFdSecurity = nativeBindings.verifyOwnerOnlyFdSecurity;
|
|
89
90
|
export const verifyOwnerOnlyPathSecurity = nativeBindings.verifyOwnerOnlyPathSecurity;
|
|
91
|
+
export const verifyOwnerOnlyPathSecurityExpected = nativeBindings.verifyOwnerOnlyPathSecurityExpected;
|
|
90
92
|
export const visibleWidth = nativeBindings.visibleWidth;
|
|
91
93
|
export const visibleWidths = nativeBindings.visibleWidths;
|
|
92
94
|
export const wrapTextWithAnsi = nativeBindings.wrapTextWithAnsi;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gajae-code/natives",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.7",
|
|
4
4
|
"description": "Native Rust bindings for grep, clipboard, image processing, syntax highlighting, PTY, and shell operations via N-API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://gajae-code.com",
|
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
"README.md"
|
|
62
62
|
],
|
|
63
63
|
"optionalDependencies": {
|
|
64
|
-
"@gajae-code/natives-darwin-arm64": "0.11.
|
|
65
|
-
"@gajae-code/natives-darwin-x64": "0.11.
|
|
66
|
-
"@gajae-code/natives-linux-arm64": "0.11.
|
|
67
|
-
"@gajae-code/natives-linux-x64": "0.11.
|
|
68
|
-
"@gajae-code/natives-win32-x64": "0.11.
|
|
64
|
+
"@gajae-code/natives-darwin-arm64": "0.11.7",
|
|
65
|
+
"@gajae-code/natives-darwin-x64": "0.11.7",
|
|
66
|
+
"@gajae-code/natives-linux-arm64": "0.11.7",
|
|
67
|
+
"@gajae-code/natives-linux-x64": "0.11.7",
|
|
68
|
+
"@gajae-code/natives-win32-x64": "0.11.7"
|
|
69
69
|
},
|
|
70
70
|
"exports": {
|
|
71
71
|
".": {
|