@oh-my-pi/pi-natives 18.1.4 → 18.1.5
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 +20 -2
- package/native/index.js +1 -1
- package/package.json +6 -6
package/native/index.d.ts
CHANGED
|
@@ -381,7 +381,7 @@ export declare class VcsGitRepo {
|
|
|
381
381
|
/** List worktrees. */
|
|
382
382
|
worktrees(signal?: unknown | undefined | null): Promise<Array<VcsWorktreeEntry>>
|
|
383
383
|
/** Add worktree. */
|
|
384
|
-
worktreeAdd(path: string, refName: string,
|
|
384
|
+
worktreeAdd(path: string, refName: string, options: VcsWorktreeAddOptions, signal?: unknown | undefined | null): Promise<VcsWorktreeAddResult>
|
|
385
385
|
/** Remove worktree. */
|
|
386
386
|
worktreeRemove(path: string, force: boolean, signal?: unknown | undefined | null): Promise<boolean>
|
|
387
387
|
/** Prune worktrees. */
|
|
@@ -573,7 +573,7 @@ export declare function __ompInstallTokioRuntime(): void
|
|
|
573
573
|
* `packages/natives/native/index.js` (which derives the name from
|
|
574
574
|
* `package.json#version`).
|
|
575
575
|
*/
|
|
576
|
-
export declare function
|
|
576
|
+
export declare function __piNativesV18_1_5(): void
|
|
577
577
|
|
|
578
578
|
/**
|
|
579
579
|
* Apply ast-grep rewrite rules to matching files; honors `dryRun` and returns
|
|
@@ -2589,6 +2589,24 @@ export interface VcsStatusSummary {
|
|
|
2589
2589
|
/** Validate hunk selections. */
|
|
2590
2590
|
export declare function vcsValidateHunkSelections(rawDiff: string, selections: Array<VcsHunkSelection>): Array<VcsHunkSelectionError>
|
|
2591
2591
|
|
|
2592
|
+
/** Worktree creation options. */
|
|
2593
|
+
export interface VcsWorktreeAddOptions {
|
|
2594
|
+
detach: boolean
|
|
2595
|
+
clone: boolean
|
|
2596
|
+
backend?: IsoBackendKind
|
|
2597
|
+
/**
|
|
2598
|
+
* Carry the source checkout's uncommitted changes into the new worktree
|
|
2599
|
+
* (target must be the source `HEAD`).
|
|
2600
|
+
*/
|
|
2601
|
+
keepChanges?: boolean
|
|
2602
|
+
}
|
|
2603
|
+
|
|
2604
|
+
/** Worktree creation outcome. */
|
|
2605
|
+
export interface VcsWorktreeAddResult {
|
|
2606
|
+
clonedWith?: IsoBackendKind
|
|
2607
|
+
cloneError?: string
|
|
2608
|
+
}
|
|
2609
|
+
|
|
2592
2610
|
/** One worktree listing row. */
|
|
2593
2611
|
export interface VcsWorktreeEntry {
|
|
2594
2612
|
path: string
|
package/native/index.js
CHANGED
|
@@ -36,7 +36,7 @@ export const VcsRepo = nativeBindings.VcsRepo;
|
|
|
36
36
|
|
|
37
37
|
// functions
|
|
38
38
|
export const __ompInstallTokioRuntime = nativeBindings.__ompInstallTokioRuntime;
|
|
39
|
-
export const
|
|
39
|
+
export const __piNativesV18_1_5 = nativeBindings.__piNativesV18_1_5;
|
|
40
40
|
export const astEdit = nativeBindings.astEdit;
|
|
41
41
|
export const astGrep = nativeBindings.astGrep;
|
|
42
42
|
export const astMatch = nativeBindings.astMatch;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oh-my-pi/pi-natives",
|
|
3
|
-
"version": "18.1.
|
|
3
|
+
"version": "18.1.5",
|
|
4
4
|
"description": "Native Rust bindings for PDF conversion, audio, WebRTC, grep, clipboard, image processing, syntax highlighting, PTY, and shell operations via N-API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://omp.sh",
|
|
@@ -98,10 +98,10 @@
|
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
100
|
"optionalDependencies": {
|
|
101
|
-
"@oh-my-pi/pi-natives-linux-x64": "18.1.
|
|
102
|
-
"@oh-my-pi/pi-natives-linux-arm64": "18.1.
|
|
103
|
-
"@oh-my-pi/pi-natives-darwin-x64": "18.1.
|
|
104
|
-
"@oh-my-pi/pi-natives-darwin-arm64": "18.1.
|
|
105
|
-
"@oh-my-pi/pi-natives-win32-x64": "18.1.
|
|
101
|
+
"@oh-my-pi/pi-natives-linux-x64": "18.1.5",
|
|
102
|
+
"@oh-my-pi/pi-natives-linux-arm64": "18.1.5",
|
|
103
|
+
"@oh-my-pi/pi-natives-darwin-x64": "18.1.5",
|
|
104
|
+
"@oh-my-pi/pi-natives-darwin-arm64": "18.1.5",
|
|
105
|
+
"@oh-my-pi/pi-natives-win32-x64": "18.1.5"
|
|
106
106
|
}
|
|
107
107
|
}
|