@oh-my-pi/pi-natives 15.8.3 → 15.9.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/native/index.d.ts CHANGED
@@ -136,7 +136,7 @@ export declare class Shell {
136
136
  * `packages/natives/native/index.js` (which derives the name from
137
137
  * `package.json#version`).
138
138
  */
139
- export declare function __piNativesV15_8_3(): void
139
+ export declare function __piNativesV15_9_0(): void
140
140
 
141
141
  /**
142
142
  * Apply conservative pre-execution rewrites to a bash command.
@@ -544,8 +544,9 @@ export declare function getWorkProfile(lastSeconds: number): WorkProfile
544
544
  * Resolves the search root, scans entries, applies glob and optional file-type
545
545
  * filters, and optionally streams each accepted match through `on_match`.
546
546
  *
547
- * If `sortByMtime` is enabled, all matching entries are collected, sorted by
548
- * descending mtime, then truncated to `maxResults`.
547
+ * If `sortByMtime` is enabled with a finite `maxResults`, uncached scans keep
548
+ * only the current top results while traversing instead of collecting the full
549
+ * tree.
549
550
  *
550
551
  * # Errors
551
552
  * Returns an error when the search path cannot be resolved, the path is not a
package/native/index.js CHANGED
@@ -23,7 +23,7 @@ export const PtySession = nativeBindings.PtySession;
23
23
  export const Shell = nativeBindings.Shell;
24
24
 
25
25
  // functions
26
- export const __piNativesV15_8_3 = nativeBindings.__piNativesV15_8_3;
26
+ export const __piNativesV15_9_0 = nativeBindings.__piNativesV15_9_0;
27
27
  export const applyBashFixups = nativeBindings.applyBashFixups;
28
28
  export const astEdit = nativeBindings.astEdit;
29
29
  export const astGrep = nativeBindings.astGrep;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oh-my-pi/pi-natives",
3
- "version": "15.8.3",
3
+ "version": "15.9.0",
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://omp.sh",
@@ -66,10 +66,10 @@
66
66
  }
67
67
  },
68
68
  "optionalDependencies": {
69
- "@oh-my-pi/pi-natives-linux-x64": "15.8.3",
70
- "@oh-my-pi/pi-natives-linux-arm64": "15.8.3",
71
- "@oh-my-pi/pi-natives-darwin-x64": "15.8.3",
72
- "@oh-my-pi/pi-natives-darwin-arm64": "15.8.3",
73
- "@oh-my-pi/pi-natives-win32-x64": "15.8.3"
69
+ "@oh-my-pi/pi-natives-linux-x64": "15.9.0",
70
+ "@oh-my-pi/pi-natives-linux-arm64": "15.9.0",
71
+ "@oh-my-pi/pi-natives-darwin-x64": "15.9.0",
72
+ "@oh-my-pi/pi-natives-darwin-arm64": "15.9.0",
73
+ "@oh-my-pi/pi-natives-win32-x64": "15.9.0"
74
74
  }
75
75
  }