@oh-my-pi/pi-natives 16.4.3 → 16.4.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 CHANGED
@@ -170,16 +170,7 @@ export declare function __ompInstallTokioRuntime(): void
170
170
  * `packages/natives/native/index.js` (which derives the name from
171
171
  * `package.json#version`).
172
172
  */
173
- export declare function __piNativesV16_4_3(): void
174
-
175
- /**
176
- * Apply conservative pre-execution rewrites to a bash command.
177
- *
178
- * Strips trailing `| head|tail [safe-args]` and redundant trailing `2>&1`
179
- * from each top-level pipeline. The full rules and bail conditions live in
180
- * `pi_shell::fixup`. Synchronous and cheap (one parse pass over the input).
181
- */
182
- export declare function applyBashFixups(command: string): BashFixupResult
173
+ export declare function __piNativesV16_4_5(): void
183
174
 
184
175
  /**
185
176
  * Apply ast-grep rewrite rules to matching files; honors `dryRun` and returns
@@ -417,17 +408,6 @@ export interface AstReplaceResult {
417
408
  parseErrors?: Array<string>
418
409
  }
419
410
 
420
- /**
421
- * Result of [`apply_bash_fixups`]: a possibly-rewritten command plus the
422
- * substrings that were removed (in source order).
423
- */
424
- export interface BashFixupResult {
425
- /** Possibly-rewritten command. Equal to the input when no fixup fired. */
426
- command: string
427
- /** Substrings removed, in source order — suitable for a user-facing notice. */
428
- stripped: Array<string>
429
- }
430
-
431
411
  export interface BlockRange {
432
412
  /** 1-indexed inclusive first line of the resolved block. */
433
413
  startLine: number
package/native/index.js CHANGED
@@ -24,8 +24,7 @@ export const Shell = nativeBindings.Shell;
24
24
 
25
25
  // functions
26
26
  export const __ompInstallTokioRuntime = nativeBindings.__ompInstallTokioRuntime;
27
- export const __piNativesV16_4_3 = nativeBindings.__piNativesV16_4_3;
28
- export const applyBashFixups = nativeBindings.applyBashFixups;
27
+ export const __piNativesV16_4_5 = nativeBindings.__piNativesV16_4_5;
29
28
  export const astEdit = nativeBindings.astEdit;
30
29
  export const astGrep = nativeBindings.astGrep;
31
30
  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": "16.4.3",
3
+ "version": "16.4.5",
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.4.3",
71
- "@oh-my-pi/pi-natives-linux-arm64": "16.4.3",
72
- "@oh-my-pi/pi-natives-darwin-x64": "16.4.3",
73
- "@oh-my-pi/pi-natives-darwin-arm64": "16.4.3",
74
- "@oh-my-pi/pi-natives-win32-x64": "16.4.3"
70
+ "@oh-my-pi/pi-natives-linux-x64": "16.4.5",
71
+ "@oh-my-pi/pi-natives-linux-arm64": "16.4.5",
72
+ "@oh-my-pi/pi-natives-darwin-x64": "16.4.5",
73
+ "@oh-my-pi/pi-natives-darwin-arm64": "16.4.5",
74
+ "@oh-my-pi/pi-natives-win32-x64": "16.4.5"
75
75
  }
76
76
  }