ef852af986
- Replaced monolithic desktop native bindings and action batching with a modular cross-platform backend structure supporting Wayland, X11, macOS, and Win32. - Updated the computer tool schema and supervisor to execute persistent JavaScript script runs with timeout clamping and asynchronous tool calling. - Integrated accessibility (AX) tree snapshotting, node querying, and bounds-based hit testing across platform desktop layers. - Added native clipboard bindings and updated coding-agent prompts, renderers, and tests to validate script-based computer workflows.
77 lines
1.9 KiB
JSON
77 lines
1.9 KiB
JSON
{
|
|
"name": "@oh-my-pi/pi-natives",
|
|
"version": "17.2.4",
|
|
"description": "Native Rust bindings for audio, WebRTC, grep, clipboard, image processing, syntax highlighting, PTY, and shell operations via N-API",
|
|
"type": "module",
|
|
"homepage": "https://omp.sh",
|
|
"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": "bun ../../scripts/bazel-natives.ts host --dest native",
|
|
"build:bindings": "bun scripts/build-bindings.ts",
|
|
"check": "biome check . && bun run check:types",
|
|
"check:types": "tsgo -p tsconfig.json --noEmit",
|
|
"lint": "biome lint .",
|
|
"test": "bun test --parallel",
|
|
"fix": "biome check --write --unsafe .",
|
|
"fmt": "biome format --write .",
|
|
"gen:native": "bun scripts/embed-native.ts",
|
|
"gen:native:reset": "bun scripts/embed-native.ts --reset",
|
|
"gen:npm": "bun scripts/gen-npm-packages.ts",
|
|
"bench": "bun bench/grep.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@napi-rs/cli": "catalog:",
|
|
"@types/bun": "catalog:"
|
|
},
|
|
"engines": {
|
|
"bun": ">=1.3.14"
|
|
},
|
|
"napi": {
|
|
"binaryName": "pi_natives",
|
|
"triples": {}
|
|
},
|
|
"files": [
|
|
"src",
|
|
"native",
|
|
"README.md",
|
|
"CHANGELOG.md"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./native/index.d.ts",
|
|
"import": "./native/index.js"
|
|
},
|
|
"./desktop": {
|
|
"types": "./native/desktop.d.ts",
|
|
"import": "./native/desktop.js"
|
|
},
|
|
"./clipboard": {
|
|
"types": "./native/clipboard.d.ts",
|
|
"import": "./native/clipboard.js"
|
|
}
|
|
}
|
|
}
|