@oh-my-pi/pi-natives 17.1.4 → 17.1.6

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
@@ -246,7 +246,7 @@ export declare function __ompInstallTokioRuntime(): void
246
246
  * `packages/natives/native/index.js` (which derives the name from
247
247
  * `package.json#version`).
248
248
  */
249
- export declare function __piNativesV17_1_4(): void
249
+ export declare function __piNativesV17_1_6(): void
250
250
 
251
251
  /**
252
252
  * Apply ast-grep rewrite rules to matching files; honors `dryRun` and returns
package/native/index.js CHANGED
@@ -28,7 +28,7 @@ export const Shell = nativeBindings.Shell;
28
28
 
29
29
  // functions
30
30
  export const __ompInstallTokioRuntime = nativeBindings.__ompInstallTokioRuntime;
31
- export const __piNativesV17_1_4 = nativeBindings.__piNativesV17_1_4;
31
+ export const __piNativesV17_1_6 = nativeBindings.__piNativesV17_1_6;
32
32
  export const astEdit = nativeBindings.astEdit;
33
33
  export const astGrep = nativeBindings.astGrep;
34
34
  export const astMatch = nativeBindings.astMatch;
@@ -688,7 +688,7 @@ function buildHelpMessage(ctx) {
688
688
  return (
689
689
  "If installed via npm/bun, try reinstalling: bun install @oh-my-pi/pi-natives\n" +
690
690
  "If developing locally, build with: bun --cwd=packages/natives run build\n" +
691
- "Optional x64 variants: TARGET_VARIANT=baseline|modern bun --cwd=packages/natives run build"
691
+ "Explicit targets: bun scripts/bazel-natives.ts <target> --dest packages/natives/native"
692
692
  );
693
693
  }
694
694
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oh-my-pi/pi-natives",
3
- "version": "17.1.4",
3
+ "version": "17.1.6",
4
4
  "description": "Native Rust bindings for 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",
@@ -29,7 +29,8 @@
29
29
  "main": "./native/index.js",
30
30
  "types": "./native/index.d.ts",
31
31
  "scripts": {
32
- "build": "bun scripts/build-native.ts",
32
+ "build": "bun ../../scripts/bazel-natives.ts host --dest native",
33
+ "build:bindings": "bun scripts/build-bindings.ts",
33
34
  "check": "biome check . && bun run check:types",
34
35
  "check:types": "tsgo -p tsconfig.json --noEmit",
35
36
  "lint": "biome lint .",
@@ -73,10 +74,10 @@
73
74
  }
74
75
  },
75
76
  "optionalDependencies": {
76
- "@oh-my-pi/pi-natives-linux-x64": "17.1.4",
77
- "@oh-my-pi/pi-natives-linux-arm64": "17.1.4",
78
- "@oh-my-pi/pi-natives-darwin-x64": "17.1.4",
79
- "@oh-my-pi/pi-natives-darwin-arm64": "17.1.4",
80
- "@oh-my-pi/pi-natives-win32-x64": "17.1.4"
77
+ "@oh-my-pi/pi-natives-linux-x64": "17.1.6",
78
+ "@oh-my-pi/pi-natives-linux-arm64": "17.1.6",
79
+ "@oh-my-pi/pi-natives-darwin-x64": "17.1.6",
80
+ "@oh-my-pi/pi-natives-darwin-arm64": "17.1.6",
81
+ "@oh-my-pi/pi-natives-win32-x64": "17.1.6"
81
82
  }
82
83
  }