optrex
v0.2.3
Published
Cornea installer. Downloads the prebuilt Cornea binary for your platform and exposes the cornea command. Deterministic visual inspection for AI agents.
Maintainers
Readme
optrex (Cornea npm installer)
Installs the prebuilt Cornea binary for your platform and exposes the cornea command. Cornea is deterministic visual inspection for AI agents: overlap, overflow, contrast and quality as token-cheap geometry instead of pixel dumps. No Chromium.
npm install -g optrex
cornea --helpOn install, the matching binary is downloaded from GitHub Releases into the package bin/ folder. No Rust toolchain needed.
Supported platforms
| OS | Arch | Asset |
|----|------|-------|
| Linux (glibc) | x64 | cornea-x86_64-unknown-linux-gnu |
| Linux (glibc) | arm64 | cornea-aarch64-unknown-linux-gnu |
| macOS | arm64 | cornea-aarch64-apple-darwin |
| macOS | x64 | cornea-x86_64-apple-darwin |
| Windows | x64 | cornea-x86_64-pc-windows-msvc.exe |
Not listed, e.g. Android, or musl/Alpine: the installer stops with a clear error. Install from source instead (cargo install cornea) or pick a build from the releases page.
Usage
Same as the native binary:
cornea page.html 360
cornea --serve # MCP server over stdio for agentsVersions
npm package version tracks the Cornea release version. [email protected] installs Cornea 0.2.2.
Uninstall
npm uninstall -g optrexLicense
MIT. See LICENSE. Binary builds follow the Cornea repo license.
Links: npm | GitHub | Tawakkul Labs
