@oh-my-pi/pi-natives 16.1.7 → 16.1.9
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 +7 -7
- package/native/index.js +1 -1
- package/package.json +6 -6
package/native/index.d.ts
CHANGED
|
@@ -155,7 +155,7 @@ export declare function __ompInstallTokioRuntime(): void
|
|
|
155
155
|
* `packages/natives/native/index.js` (which derives the name from
|
|
156
156
|
* `package.json#version`).
|
|
157
157
|
*/
|
|
158
|
-
export declare function
|
|
158
|
+
export declare function __piNativesV16_1_9(): void
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
161
|
* Apply conservative pre-execution rewrites to a bash command.
|
|
@@ -1302,8 +1302,8 @@ export interface PtyStartOptions {
|
|
|
1302
1302
|
export declare function readImageFromClipboard(): Promise<ClipboardImage | undefined | null>
|
|
1303
1303
|
|
|
1304
1304
|
/**
|
|
1305
|
-
* Render one snapcompact frame: print pre-normalized text
|
|
1306
|
-
* `size`-wide bitmap and encode it as PNG.
|
|
1305
|
+
* Render one snapcompact frame on a libuv worker: print pre-normalized text
|
|
1306
|
+
* onto a `size`-wide bitmap and encode it as PNG.
|
|
1307
1307
|
*
|
|
1308
1308
|
* The bitmap height hugs the rows the text actually occupies
|
|
1309
1309
|
* (`usedRows * lineRepeat * cellHeight`), so a partially filled frame never
|
|
@@ -1315,11 +1315,11 @@ export declare function readImageFromClipboard(): Promise<ClipboardImage | undef
|
|
|
1315
1315
|
* requested cell box; `columns: 2` flows pre-wrapped newline-separated lines
|
|
1316
1316
|
* down two newspaper columns. `U+000E`/`U+000F` in `text` toggle dim-gray ink
|
|
1317
1317
|
* spans without occupying a cell.
|
|
1318
|
-
* Returns the PNG encoded as base64, created as a one-byte
|
|
1319
|
-
* string straight from native code — no `Uint8Array` hop or
|
|
1320
|
-
* re-encode.
|
|
1318
|
+
* Returns a promise for the PNG encoded as base64, created as a one-byte
|
|
1319
|
+
* (Latin-1) JS string straight from native code — no `Uint8Array` hop or
|
|
1320
|
+
* JS-side re-encode.
|
|
1321
1321
|
*/
|
|
1322
|
-
export declare function renderSnapcompactPng(text: string, options: SnapcompactRenderOptions): string
|
|
1322
|
+
export declare function renderSnapcompactPng(text: string, options: SnapcompactRenderOptions): Promise<string>
|
|
1323
1323
|
|
|
1324
1324
|
/**
|
|
1325
1325
|
* Search content for a pattern (one-shot, compiles pattern each time).
|
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_1_9 = nativeBindings.__piNativesV16_1_9;
|
|
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.1.
|
|
3
|
+
"version": "16.1.9",
|
|
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": "16.1.
|
|
70
|
-
"@oh-my-pi/pi-natives-linux-arm64": "16.1.
|
|
71
|
-
"@oh-my-pi/pi-natives-darwin-x64": "16.1.
|
|
72
|
-
"@oh-my-pi/pi-natives-darwin-arm64": "16.1.
|
|
73
|
-
"@oh-my-pi/pi-natives-win32-x64": "16.1.
|
|
69
|
+
"@oh-my-pi/pi-natives-linux-x64": "16.1.9",
|
|
70
|
+
"@oh-my-pi/pi-natives-linux-arm64": "16.1.9",
|
|
71
|
+
"@oh-my-pi/pi-natives-darwin-x64": "16.1.9",
|
|
72
|
+
"@oh-my-pi/pi-natives-darwin-arm64": "16.1.9",
|
|
73
|
+
"@oh-my-pi/pi-natives-win32-x64": "16.1.9"
|
|
74
74
|
}
|
|
75
75
|
}
|