Files
oh-my-pi/packages/natives/package.json
T
can1357 45bade9612 feat(chunk): added canonical chunk paths with CRC validation and selector resolution
- Added fully-qualified anchor paths in chunk read output showing complete path hierarchy with CRC checksums.
- Added exact chunk selector resolution with CRC validation to enforce canonical chunk paths in edit operations.
- Added `?` selector option to read syntax-aware chunks by canonical path listing when anchor paths are unclear.
- Improved tree-sitter range handling with `end_row_as_line()` function to correctly convert half-open ranges to 1-indexed line numbers.
- Extracted anchor label logic into `chunk_anchor_label()` const function and consolidated style-based selection.
- Removed --dev flag support from native build pipeline and dev:native npm scripts.
2026-04-07 23:31:39 +02:00

57 lines
1.2 KiB
JSON

{
"type": "module",
"name": "@oh-my-pi/pi-natives",
"version": "13.19.0",
"description": "Native Rust bindings for grep, clipboard, image processing, syntax highlighting, PTY, and shell operations via N-API",
"homepage": "https://github.com/can1357/oh-my-pi",
"author": "Can Boluk",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/can1357/oh-my-pi.git",
"directory": "packages/natives"
},
"bugs": {
"url": "https://github.com/can1357/oh-my-pi/issues"
},
"keywords": [
"napi",
"rust",
"native",
"grep",
"text-processing",
"clipboard",
"image",
"pty",
"shell",
"syntax-highlighting"
],
"main": "./native/index.js",
"types": "./native/index.d.ts",
"scripts": {
"build:native": "bun scripts/build-native.ts",
"embed:native": "bun scripts/embed-native.ts",
"check": "biome check . && tsgo -p tsconfig.json",
"fix": "biome check --write --unsafe .",
"test": "bun run build:native && bun test",
"bench": "bun bench/grep.ts"
},
"devDependencies": {
"@napi-rs/cli": "3.6.0",
"@types/bun": "^1.3"
},
"napi": {
"binaryName": "pi_natives",
"triples": {}
},
"engines": {
"bun": ">=1.3.7"
},
"files": [
"src",
"native",
"README.md"
]
}