refactor: migrated native tools to WASM-based implementation

- Consolidated grep, find, and image processing into a new `@oh-my-pi/pi-natives` WASM package.
- Eliminated subprocess overhead and simplified JS tool implementations.
- Updated CI to include Rust workspace, linting, formatting, and WASM build steps.
- Documented `Promise.withResolvers()` and `using` declarations for wasm-bindgen.
This commit is contained in:
can1357
2026-01-29 05:46:49 +01:00
parent 44b64e99d4
commit 978b93ba62
57 changed files with 5964 additions and 8785 deletions
+1 -4
View File
@@ -58,10 +58,6 @@
"types": "./src/internal-urls/*.ts",
"import": "./src/internal-urls/*.ts"
},
"./vendor/photon/*": {
"types": "./src/vendor/photon/*",
"import": "./src/vendor/photon/*"
},
"./*": {
"types": "./src/*.ts",
"import": "./src/*.ts"
@@ -86,6 +82,7 @@
"@oh-my-pi/omp-stats": "workspace:*",
"@oh-my-pi/pi-agent-core": "workspace:*",
"@oh-my-pi/pi-ai": "workspace:*",
"@oh-my-pi/pi-natives": "workspace:*",
"@oh-my-pi/pi-tui": "workspace:*",
"@oh-my-pi/pi-utils": "workspace:*",
"@openai/agents": "^0.4.4",