Oryn-W Setup and Build¶
Prerequisites¶
- Rust toolchain
wasm-pack- Node.js + npm
- Chromium/Chrome
Install root dependencies:
Install wasm-pack if needed:
Canonical Build Command¶
From repository root:
This runs:
./scripts/sync-scanner.sh./scripts/build-wasm.sh./scripts/bundle-llm-libs.sh- required-file and WASM artifact verification
Build WASM Only¶
Expected output:
extension-w/wasm/oryn_core.jsextension-w/wasm/oryn_core_bg.wasm
Launch for Development¶
Linux/macOS¶
Windows¶
Manual Load (Alternative)¶
- Open
chrome://extensions - Enable Developer mode
- Click Load unpacked
- Select
extension-w/
Quick Validation¶
After loading, run in popup or sidepanel:
Rebuild Rules¶
- If Rust
oryn-corechanges: rebuild WASM. - If scanner changes: run scanner sync then rebuild extension bundle.
- If adapter/vendor JS changes: rerun
./scripts/build-extension-w.sh.