Skip to content

v1.4.0 — Pure ONNX Runtime Engine (Zero-Torch), Offline-First & Safe Subprocess Runner

Choose a tag to compare

@sarthexe sarthexe released this 12 Nov 17:54
· 18 commits to main since this release

Highlights

  • Pure ONNX Runtime Stage 2 Engine (onnx_ner.py): Removed torch and gliner dependencies completely (~2GB -> ~60MB install) using onnxruntime + tokenizers against onnx-community/gliner_small-v2.1 with 100.0% benchmark parity across all 2,000 evaluation rows.
  • Cache-First & Air-Gapped Ready: Resolves ONNX model weights from local cache first (local_files_only=True) with zero network calls after initial warmup and silent JSON-RPC stdio streams.
  • Safe Subprocess Runner (airlock_exec): Injects real .env secrets into child processes while scrubbing stdout/stderr before returning output to the LLM.
  • Custom Project Config (.airlock.toml): Define custom Stage 1 regex rules and Stage 2 allowlists per repository.
  • Git Pre-Commit Scanner (code-airlock scan --staged & init --pre-commit): Sub-millisecond (0.20ms p50) deterministic secret gate for staged Git commits.
  • Hardened MCP Boundaries: Lazy model loading, workspace path jailing, 1MB/binary file caps, case-insensitive token rehydration, and hallucination-safe write verification.