@oh-my-pi/pi-natives 16.2.9 → 16.2.11
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 +10 -13
- package/native/index.js +1 -1
- package/package.json +6 -6
package/native/index.d.ts
CHANGED
|
@@ -162,7 +162,7 @@ export declare function __ompInstallTokioRuntime(): void
|
|
|
162
162
|
* `packages/natives/native/index.js` (which derives the name from
|
|
163
163
|
* `package.json#version`).
|
|
164
164
|
*/
|
|
165
|
-
export declare function
|
|
165
|
+
export declare function __piNativesV16_2_11(): void
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
168
|
* Apply conservative pre-execution rewrites to a bash command.
|
|
@@ -610,7 +610,7 @@ export interface FuzzyFindOptions {
|
|
|
610
610
|
hidden?: boolean
|
|
611
611
|
/** Respect .gitignore (default: true). */
|
|
612
612
|
gitignore?: boolean
|
|
613
|
-
/** Enable
|
|
613
|
+
/** Enable walker scan caching (default: false). */
|
|
614
614
|
cache?: boolean
|
|
615
615
|
/** Maximum number of matches to return (default: 100). */
|
|
616
616
|
maxResults?: number
|
|
@@ -645,9 +645,9 @@ export declare function getWorkProfile(lastSeconds: number): WorkProfile
|
|
|
645
645
|
* Resolves the search root, scans entries, applies glob and optional file-type
|
|
646
646
|
* filters, and optionally streams each accepted match through `on_match`.
|
|
647
647
|
*
|
|
648
|
-
*
|
|
649
|
-
*
|
|
650
|
-
*
|
|
648
|
+
* When `sortByMtime` is enabled, the walker ranks matches by mtime before the
|
|
649
|
+
* native layer applies final symlink-aware file-type filtering and callback
|
|
650
|
+
* emission.
|
|
651
651
|
*
|
|
652
652
|
* # Errors
|
|
653
653
|
* Returns an error when the search path cannot be resolved, the path is not a
|
|
@@ -662,10 +662,7 @@ export interface GlobMatch {
|
|
|
662
662
|
path: string
|
|
663
663
|
/** Resolved filesystem type for the match. */
|
|
664
664
|
fileType: FileType
|
|
665
|
-
/**
|
|
666
|
-
* Modification time in milliseconds since Unix epoch (from
|
|
667
|
-
* `symlink_metadata`).
|
|
668
|
-
*/
|
|
665
|
+
/** Modification time in milliseconds since Unix epoch. */
|
|
669
666
|
mtime?: number
|
|
670
667
|
/** File size in bytes for regular files. */
|
|
671
668
|
size?: number
|
|
@@ -690,7 +687,7 @@ export interface GlobOptions {
|
|
|
690
687
|
maxResults?: number
|
|
691
688
|
/** Respect .gitignore files (default: true). */
|
|
692
689
|
gitignore?: boolean
|
|
693
|
-
/** Enable
|
|
690
|
+
/** Enable walker scan caching (default: false). */
|
|
694
691
|
cache?: boolean
|
|
695
692
|
/** Sort results by mtime (most recent first) before applying limit. */
|
|
696
693
|
sortByMtime?: boolean
|
|
@@ -890,13 +887,13 @@ export interface HtmlToMarkdownOptions {
|
|
|
890
887
|
}
|
|
891
888
|
|
|
892
889
|
/**
|
|
893
|
-
* Invalidate the
|
|
890
|
+
* Invalidate the walker scan cache.
|
|
894
891
|
*
|
|
895
892
|
* When called with a path, removes entries for roots containing that path.
|
|
896
893
|
* When called without a path, clears the entire cache.
|
|
897
894
|
*
|
|
898
|
-
* Intended to be called after agent file mutations
|
|
899
|
-
* delete
|
|
895
|
+
* Intended to be called after agent file mutations: write, edit, rename, or
|
|
896
|
+
* delete.
|
|
900
897
|
*/
|
|
901
898
|
export declare function invalidateFsScanCache(path?: string | undefined | null): void
|
|
902
899
|
|
package/native/index.js
CHANGED
|
@@ -24,7 +24,7 @@ export const Shell = nativeBindings.Shell;
|
|
|
24
24
|
|
|
25
25
|
// functions
|
|
26
26
|
export const __ompInstallTokioRuntime = nativeBindings.__ompInstallTokioRuntime;
|
|
27
|
-
export const
|
|
27
|
+
export const __piNativesV16_2_11 = nativeBindings.__piNativesV16_2_11;
|
|
28
28
|
export const applyBashFixups = nativeBindings.applyBashFixups;
|
|
29
29
|
export const astEdit = nativeBindings.astEdit;
|
|
30
30
|
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": "16.2.
|
|
3
|
+
"version": "16.2.11",
|
|
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",
|
|
@@ -67,10 +67,10 @@
|
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
"optionalDependencies": {
|
|
70
|
-
"@oh-my-pi/pi-natives-linux-x64": "16.2.
|
|
71
|
-
"@oh-my-pi/pi-natives-linux-arm64": "16.2.
|
|
72
|
-
"@oh-my-pi/pi-natives-darwin-x64": "16.2.
|
|
73
|
-
"@oh-my-pi/pi-natives-darwin-arm64": "16.2.
|
|
74
|
-
"@oh-my-pi/pi-natives-win32-x64": "16.2.
|
|
70
|
+
"@oh-my-pi/pi-natives-linux-x64": "16.2.11",
|
|
71
|
+
"@oh-my-pi/pi-natives-linux-arm64": "16.2.11",
|
|
72
|
+
"@oh-my-pi/pi-natives-darwin-x64": "16.2.11",
|
|
73
|
+
"@oh-my-pi/pi-natives-darwin-arm64": "16.2.11",
|
|
74
|
+
"@oh-my-pi/pi-natives-win32-x64": "16.2.11"
|
|
75
75
|
}
|
|
76
76
|
}
|