@f5-sales-demo/pi-natives 23.10.13 → 23.10.16

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
@@ -1,5 +1,6 @@
1
1
  /* auto-generated by NAPI-RS */
2
2
  /* eslint-disable */
3
+
3
4
  /**
4
5
  * Parsed file as a chunk tree: query nodes, render views, format grep hits,
5
6
  * and apply edits.
@@ -240,7 +241,7 @@ export declare enum AstMatchStrictness {
240
241
  /** Match structural signatures. */
241
242
  Signature = 'signature',
242
243
  /** Template-style pattern matching. */
243
- Template = 'template'
244
+ Template = 'template',
244
245
  }
245
246
 
246
247
  /**
@@ -375,7 +376,7 @@ export declare enum ChunkAnchorStyle {
375
376
  /** `[.kind]` without checksum. */
376
377
  KindOmit = 'kind-omit',
377
378
  /** Minimal anchor without name or checksum. */
378
- None = 'none'
379
+ None = 'none',
379
380
  }
380
381
 
381
382
  /** Structural edit to apply relative to a chunk anchor. */
@@ -393,7 +394,7 @@ export declare enum ChunkEditOp {
393
394
  /** Insert `content` at the start inside the targeted region. */
394
395
  Prepend = 'prepend',
395
396
  /** Insert `content` at the end inside the targeted region. */
396
- Append = 'append'
397
+ Append = 'append',
397
398
  }
398
399
 
399
400
  /** How a chunk participates in a focus-scoped render pass. */
@@ -406,7 +407,7 @@ export declare enum ChunkFocusMode {
406
407
  * Emit opening + closing anchors; recurse into focused children only.
407
408
  * Interior gap lines between children are suppressed.
408
409
  */
409
- Container = 'container'
410
+ Container = 'container',
410
411
  }
411
412
 
412
413
  /** Summary of a single chunk node for tool output and navigation. */
@@ -432,7 +433,7 @@ export declare enum ChunkReadStatus {
432
433
  /** No chunk matched the requested selector. */
433
434
  NotFound = 'not_found',
434
435
  /** Chunk matched but does not support the requested region. */
435
- UnsupportedRegion = 'unsupported_region'
436
+ UnsupportedRegion = 'unsupported_region',
436
437
  }
437
438
 
438
439
  /** Outcome of resolving which chunk was read for a `renderRead`-style request. */
@@ -445,7 +446,7 @@ export interface ChunkReadTarget {
445
446
 
446
447
  export declare enum ChunkRegion {
447
448
  Head = '^',
448
- Body = '~'
449
+ Body = '~',
449
450
  }
450
451
 
451
452
  /** Clipboard image payload encoded as PNG bytes. */
@@ -609,7 +610,7 @@ export declare enum Ellipsis {
609
610
  /** Use three ASCII dots ("..."). */
610
611
  Ascii = 1,
611
612
  /** Omit ellipsis entirely. */
612
- Omit = 2
613
+ Omit = 2,
613
614
  }
614
615
 
615
616
  /**
@@ -666,7 +667,7 @@ export declare enum FileType {
666
667
  /** Directory. */
667
668
  Dir = 2,
668
669
  /** Symbolic link. */
669
- Symlink = 3
670
+ Symlink = 3,
670
671
  }
671
672
 
672
673
  /** Path + focus mode pair for the N-API boundary (`HashMap` doesn't cross FFI). */
@@ -881,7 +882,7 @@ export declare enum GrepOutputMode {
881
882
  /** Emit per-file or total counts instead of line content. */
882
883
  Count = 'count',
883
884
  /** Emit one row per file that matched, without line content. */
884
- FilesWithMatches = 'filesWithMatches'
885
+ FilesWithMatches = 'filesWithMatches',
885
886
  }
886
887
 
887
888
  /** Result of searching files. */
@@ -994,7 +995,7 @@ export declare enum KeyEventType {
994
995
  /** Key repeat event. */
995
996
  Repeat = 2,
996
997
  /** Key release event. */
997
- Release = 3
998
+ Release = 3,
998
999
  }
999
1000
 
1000
1001
  /**
@@ -1021,7 +1022,7 @@ export declare enum MacOSAppearance {
1021
1022
  /** Dark color scheme. */
1022
1023
  Dark = 'dark',
1023
1024
  /** Light color scheme. */
1024
- Light = 'light'
1025
+ Light = 'light',
1025
1026
  }
1026
1027
 
1027
1028
  /** A single match in the content. */
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "schema_version": 1,
3
- "source_sha": "a433d692bbe704c1f55afb0564a6d86e5c6ad07a",
3
+ "source_sha": "e533b6a0b3f2ba5040796737011551b8824b16cf",
4
4
  "files": [
5
5
  {
6
6
  "path": "packages/natives/native/pi_natives.linux-x64-baseline.node",
7
- "sha256": "76693844cf3324e593795fe4cbe3ccb910b23a5054a876c523eef300b63ac31c",
7
+ "sha256": "30227af98a24fec8020647fd9975389fb3c52ed18d3afcb57b4cc08e0ad2e2c2",
8
8
  "size": 109663600
9
9
  },
10
10
  {
11
11
  "path": "packages/natives/native/pi_natives.linux-x64-modern.node",
12
- "sha256": "14b1ee8cc42ca0d1a55ad73ba8c937f1128fb9d0b27b416edc64eb6f383e770f",
12
+ "sha256": "d12447bf93ef5877b06f13c08d60f61edcc5fdd8a08089650dcd33c202a44dc7",
13
13
  "size": 109688104
14
14
  }
15
15
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@f5-sales-demo/pi-natives",
3
- "version": "23.10.13",
3
+ "version": "23.10.16",
4
4
  "description": "Native Rust bindings for grep, clipboard, image processing, syntax highlighting, PTY, and shell operations via N-API",
5
5
  "homepage": "https://github.com/f5-sales-demo/xcsh",
6
6
  "author": "Can Boluk",
@@ -30,7 +30,7 @@
30
30
  "scripts": {
31
31
  "build": "bun scripts/build-native.ts",
32
32
  "check": "biome check . && bun run check:types",
33
- "check:types": "tsgo -p tsconfig.json --noEmit",
33
+ "check:types": "tsc -p tsconfig.json --noEmit",
34
34
  "lint": "biome lint .",
35
35
  "test": "bun scripts/test-native.ts",
36
36
  "fix": "biome check --write --unsafe .",
@@ -39,7 +39,7 @@
39
39
  "bench": "bun bench/grep.ts"
40
40
  },
41
41
  "devDependencies": {
42
- "@napi-rs/cli": "3.9.0",
42
+ "@napi-rs/cli": "3.10.12",
43
43
  "@types/bun": "1.4.4"
44
44
  },
45
45
  "engines": {
@@ -66,11 +66,11 @@
66
66
  }
67
67
  },
68
68
  "optionalDependencies": {
69
- "@f5-sales-demo/pi-natives-linux-x64-gnu": "23.10.13",
70
- "@f5-sales-demo/pi-natives-linux-arm64-gnu": "23.10.13",
71
- "@f5-sales-demo/pi-natives-darwin-x64": "23.10.13",
72
- "@f5-sales-demo/pi-natives-darwin-arm64": "23.10.13",
73
- "@f5-sales-demo/pi-natives-win32-x64-msvc": "23.10.13"
69
+ "@f5-sales-demo/pi-natives-linux-x64-gnu": "23.10.16",
70
+ "@f5-sales-demo/pi-natives-linux-arm64-gnu": "23.10.16",
71
+ "@f5-sales-demo/pi-natives-darwin-x64": "23.10.16",
72
+ "@f5-sales-demo/pi-natives-darwin-arm64": "23.10.16",
73
+ "@f5-sales-demo/pi-natives-win32-x64-msvc": "23.10.16"
74
74
  },
75
75
  "files": [
76
76
  "native/*.js",