chore: removed WASM-specific naming and updated to N-API implementation
- Removed WASM-specific naming conventions and terminology throughout the codebase, including import aliases, comments, and type aliases. - Removed legacy type aliases 'WasmMatch' and 'WasmSearchResult' from grep types module. - Removed TypeScript module declaration for '*.wasm?raw' file imports. - Updated error handling in task executor to properly handle stopReason === 'error' case with exit code and error message capture. - Simplified documentation comments to remove implementation details about WASM and Photon library internals. - Updated README to reflect shift from WASM to N-API for pi-natives crate implementation.
This commit is contained in:
@@ -341,20 +341,20 @@ Handles whitespace and indentation variance automatically:
|
||||
|
||||
## Packages
|
||||
|
||||
| Package | Description |
|
||||
| ------------------------------------------------------ | ----------------------------------------------------------------------------- |
|
||||
| Package | Description |
|
||||
| ------------------------------------------------------ | -------------------------------------------------------------------------------------- |
|
||||
| **[@oh-my-pi/pi-ai](packages/ai)** | Multi-provider LLM client (Anthropic, OpenAI, Gemini, Bedrock, Cursor, Codex, Copilot) |
|
||||
| **[@oh-my-pi/pi-agent-core](packages/agent)** | Agent runtime with tool calling and state management |
|
||||
| **[@oh-my-pi/pi-coding-agent](packages/coding-agent)** | Interactive coding agent CLI |
|
||||
| **[@oh-my-pi/pi-tui](packages/tui)** | Terminal UI library with differential rendering |
|
||||
| **[@oh-my-pi/pi-natives](packages/natives)** | WASM bindings for native text, image, and grep operations |
|
||||
| **[@oh-my-pi/omp-stats](packages/stats)** | Local observability dashboard for AI usage statistics |
|
||||
| **[@oh-my-pi/pi-agent-core](packages/agent)** | Agent runtime with tool calling and state management |
|
||||
| **[@oh-my-pi/pi-coding-agent](packages/coding-agent)** | Interactive coding agent CLI |
|
||||
| **[@oh-my-pi/pi-tui](packages/tui)** | Terminal UI library with differential rendering |
|
||||
| **[@oh-my-pi/pi-natives](packages/natives)** | WASM bindings for native text, image, and grep operations |
|
||||
| **[@oh-my-pi/omp-stats](packages/stats)** | Local observability dashboard for AI usage statistics |
|
||||
|
||||
### Rust Crates
|
||||
|
||||
| Crate | Description |
|
||||
| ---------------------------------- | -------------------------------------------------------- |
|
||||
| **[pi-natives](crates/pi-natives)** | Rust WASM crate for performance-critical text/grep ops |
|
||||
| Crate | Description |
|
||||
| ----------------------------------- | --------------------------------------------- |
|
||||
| **[pi-natives](crates/pi-natives)** | Rust N-API crate for performance-critical ops |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user