@gajae-code/natives 0.13.1 → 0.13.2

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 CHANGED
@@ -523,7 +523,7 @@ export declare function __piNativesPublishOutcomeV1(): void
523
523
  * `packages/natives/native/index.js` (which derives the name from
524
524
  * `package.json#version`).
525
525
  */
526
- export declare function __piNativesV0_13_1(): void
526
+ export declare function __piNativesV0_13_2(): void
527
527
 
528
528
  /**
529
529
  * Apply conservative pre-execution rewrites to a bash command.
@@ -1509,6 +1509,12 @@ export interface LineDiffPart {
1509
1509
  */
1510
1510
  export declare function linkNoReplacePath(sourcePath: string, destinationPath: string): NativeNoReplaceResult
1511
1511
 
1512
+ /**
1513
+ * Async variant of [`link_no_replace_path`] scheduled on the libuv blocking
1514
+ * pool; see [`rename_no_replace_path_async`] for the rationale.
1515
+ */
1516
+ export declare function linkNoReplacePathAsync(sourcePath: string, destinationPath: string): Promise<NativeNoReplaceResult>
1517
+
1512
1518
  /**
1513
1519
  * Walk the workspace once and return tree entries plus AGENTS.md candidates.
1514
1520
  *
@@ -2120,6 +2126,18 @@ export interface RecoveryFsRetainedCleanupResult {
2120
2126
 
2121
2127
  export declare function renameNoReplacePath(sourcePath: string, destinationPath: string): NativeNoReplaceResult
2122
2128
 
2129
+ /**
2130
+ * Async variant of [`rename_no_replace_path`] scheduled on the libuv blocking
2131
+ * pool.
2132
+ *
2133
+ * Managed output publication awaits this boundary so a rename that stalls in
2134
+ * the kernel (oversized APFS directory namespaces, issue #4394) blocks one
2135
+ * pool thread instead of the agent's event loop: await timeouts, sibling
2136
+ * subagents, and watchdogs keep running, and a hung publication degrades to
2137
+ * one unresolved receipt rather than a frozen process.
2138
+ */
2139
+ export declare function renameNoReplacePathAsync(sourcePath: string, destinationPath: string): Promise<NativeNoReplaceResult>
2140
+
2123
2141
  /**
2124
2142
  * Repair an owner-only ACL on a retained expected path.
2125
2143
  *
package/native/index.js CHANGED
@@ -30,7 +30,7 @@ export const Shell = nativeBindings.Shell;
30
30
 
31
31
  // functions
32
32
  export const __piNativesPublishOutcomeV1 = nativeBindings.__piNativesPublishOutcomeV1;
33
- export const __piNativesV0_13_1 = nativeBindings.__piNativesV0_13_1;
33
+ export const __piNativesV0_13_2 = nativeBindings.__piNativesV0_13_2;
34
34
  export const applyBashFixups = nativeBindings.applyBashFixups;
35
35
  export const applyOwnerOnlyFdSecurity = nativeBindings.applyOwnerOnlyFdSecurity;
36
36
  export const applyOwnerOnlyPathSecurity = nativeBindings.applyOwnerOnlyPathSecurity;
@@ -69,6 +69,7 @@ export const isoResolve = nativeBindings.isoResolve;
69
69
  export const isoStart = nativeBindings.isoStart;
70
70
  export const isoStop = nativeBindings.isoStop;
71
71
  export const linkNoReplacePath = nativeBindings.linkNoReplacePath;
72
+ export const linkNoReplacePathAsync = nativeBindings.linkNoReplacePathAsync;
72
73
  export const listWorkspace = nativeBindings.listWorkspace;
73
74
  export const matchesKey = nativeBindings.matchesKey;
74
75
  export const matchesKittySequence = nativeBindings.matchesKittySequence;
@@ -81,6 +82,7 @@ export const probeWindowsJobMemory = nativeBindings.probeWindowsJobMemory;
81
82
  export const ptyTimeoutCount = nativeBindings.ptyTimeoutCount;
82
83
  export const readImageFromClipboard = nativeBindings.readImageFromClipboard;
83
84
  export const renameNoReplacePath = nativeBindings.renameNoReplacePath;
85
+ export const renameNoReplacePathAsync = nativeBindings.renameNoReplacePathAsync;
84
86
  export const repairOwnerOnlyPathSecurityExpected = nativeBindings.repairOwnerOnlyPathSecurityExpected;
85
87
  export const retainBrokerPublication = nativeBindings.retainBrokerPublication;
86
88
  export const search = nativeBindings.search;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gajae-code/natives",
3
- "version": "0.13.1",
3
+ "version": "0.13.2",
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.13.1",
65
- "@gajae-code/natives-darwin-x64": "0.13.1",
66
- "@gajae-code/natives-linux-arm64": "0.13.1",
67
- "@gajae-code/natives-linux-x64": "0.13.1",
68
- "@gajae-code/natives-win32-x64": "0.13.1"
64
+ "@gajae-code/natives-darwin-arm64": "0.13.2",
65
+ "@gajae-code/natives-darwin-x64": "0.13.2",
66
+ "@gajae-code/natives-linux-arm64": "0.13.2",
67
+ "@gajae-code/natives-linux-x64": "0.13.2",
68
+ "@gajae-code/natives-win32-x64": "0.13.2"
69
69
  },
70
70
  "exports": {
71
71
  ".": {