@gajae-code/natives 0.18.7 → 0.18.8

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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "schema": "gjc.diagnostic-artifact",
3
- "version": "0.18.7",
3
+ "version": "0.18.8",
4
4
  "artifacts": {
5
- "pi_natives.darwin-arm64.node": "3d074ffc8128980c3a8cbe1d62c99cc1f3a6dc1e4c86dfee3a8fd721b00a0717",
6
- "pi_natives.darwin-x64-baseline.node": "68eda6a629816cf9ddfedb26afb3e105b7fb1455bfde52e47b41adeda17b007a",
7
- "pi_natives.linux-arm64.node": "260992679d66e4f3de25ed77a0b99a494fe577bf2e2dabf3fd74178782bfebb4",
8
- "pi_natives.linux-x64-baseline.node": "d1be8531cffa10bc77660e955cb889c5e95e68951bf966f79a878c7b32245743",
9
- "pi_natives.linux-x64-modern.node": "259f0d4b1e99e6766924c823dfd246d8a5df4382b3167a24da2ecf1f37fd09c2",
10
- "pi_natives.win32-x64-baseline.node": "9aa8311f1457009fdfc9b3098aedb0fa0c3e770119a6eae9caf58b57d0186357"
5
+ "pi_natives.darwin-arm64.node": "7b5ab866e1f1ba3fe0581b496da7c3bf8fd34f46b66ceb471cec6f1c920676cb",
6
+ "pi_natives.darwin-x64-baseline.node": "b4a6a86c8faf11ce6264c2b5098b8c7baef6194f77808c437ef5520a29ae76e0",
7
+ "pi_natives.linux-arm64.node": "d84eb12df6f9995a8f35c4b6220c3cc2436ef7c2159116f1e5ad740dda6001c0",
8
+ "pi_natives.linux-x64-baseline.node": "1780abf333f4ef6a64c8ac725ea80ff54cde28caffa0e2d9c83bb94a0ffe66ae",
9
+ "pi_natives.linux-x64-modern.node": "7c78c17b6e9a52d9feb6a37b01496d509ea746fcb6c638c8a18c5e20b4ea0178",
10
+ "pi_natives.win32-x64-baseline.node": "f1bc139e83a0ec95b2d7f80654e2131a33f8fdfe05319ad82ad1c15b25c5ac37"
11
11
  }
12
12
  }
package/native/index.d.ts CHANGED
@@ -687,7 +687,7 @@ export declare function __piNativesPublishOutcomeV1(): void
687
687
  * `packages/natives/native/index.js` (which derives the name from
688
688
  * `package.json#version`).
689
689
  */
690
- export declare function __piNativesV0_18_7(): void
690
+ export declare function __piNativesV0_18_8(): void
691
691
 
692
692
  /**
693
693
  * Apply conservative pre-execution rewrites to a bash command.
@@ -2912,6 +2912,12 @@ export declare function sliceWithWidth(line: string, startCol: number, length: n
2912
2912
  */
2913
2913
  export declare function snapshotDirectoryTree(path: string): NativeDirectoryTreeResult
2914
2914
 
2915
+ /**
2916
+ * Capture native root metadata only after proving a directory has no entries.
2917
+ * Enumeration stops at the first non-dot child; no child is opened or read.
2918
+ */
2919
+ export declare function snapshotEmptyDirectory(path: string): NativeDirectoryTreeResult
2920
+
2915
2921
  /**
2916
2922
  * Unified-diff hunks with jsdiff
2917
2923
  * `structuredPatch(_, _, oldText, newText, _, _, { context }).hunks`
package/native/index.js CHANGED
@@ -35,7 +35,7 @@ export const TtyWriter = nativeBindings.TtyWriter;
35
35
  // functions
36
36
  export const __gjcInstallTokioRuntime = nativeBindings.__gjcInstallTokioRuntime;
37
37
  export const __piNativesPublishOutcomeV1 = nativeBindings.__piNativesPublishOutcomeV1;
38
- export const __piNativesV0_18_7 = nativeBindings.__piNativesV0_18_7;
38
+ export const __piNativesV0_18_8 = nativeBindings.__piNativesV0_18_8;
39
39
  export const applyBashFixups = nativeBindings.applyBashFixups;
40
40
  export const applyOwnerOnlyFdSecurity = nativeBindings.applyOwnerOnlyFdSecurity;
41
41
  export const applyOwnerOnlyPathSecurity = nativeBindings.applyOwnerOnlyPathSecurity;
@@ -112,6 +112,7 @@ export const search = nativeBindings.search;
112
112
  export const setHangulCompatJamoWidthOverride = nativeBindings.setHangulCompatJamoWidthOverride;
113
113
  export const sliceWithWidth = nativeBindings.sliceWithWidth;
114
114
  export const snapshotDirectoryTree = nativeBindings.snapshotDirectoryTree;
115
+ export const snapshotEmptyDirectory = nativeBindings.snapshotEmptyDirectory;
115
116
  export const structuredPatchHunks = nativeBindings.structuredPatchHunks;
116
117
  export const summarizeCode = nativeBindings.summarizeCode;
117
118
  export const supportsLanguage = nativeBindings.supportsLanguage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gajae-code/natives",
3
- "version": "0.18.7",
3
+ "version": "0.18.8",
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",
@@ -65,11 +65,11 @@
65
65
  "README.md"
66
66
  ],
67
67
  "optionalDependencies": {
68
- "@gajae-code/natives-darwin-arm64": "0.18.7",
69
- "@gajae-code/natives-darwin-x64": "0.18.7",
70
- "@gajae-code/natives-linux-arm64": "0.18.7",
71
- "@gajae-code/natives-linux-x64": "0.18.7",
72
- "@gajae-code/natives-win32-x64": "0.18.7"
68
+ "@gajae-code/natives-darwin-arm64": "0.18.8",
69
+ "@gajae-code/natives-darwin-x64": "0.18.8",
70
+ "@gajae-code/natives-linux-arm64": "0.18.8",
71
+ "@gajae-code/natives-linux-x64": "0.18.8",
72
+ "@gajae-code/natives-win32-x64": "0.18.8"
73
73
  },
74
74
  "exports": {
75
75
  ".": {