Repository navigation
Maintenance audit (2026-10-16): prefer running the reviewed checkout/archive directly. The optional installer's non-Windows launcher resolves the entry path incorrectly, and its failure-recovery condition can throw before restoring the previous installation. Existing routing tests do not cover those installer paths. Do not rely on installer rollback; preserve configuration separately. Audit and blocked documentation PR. Protocol/local-mock evidence is not end-to-end certification of every desktop client or provider. Release assets are unchanged.
OmniRoute-PS v0.2.0 is a core architecture release that turns the v0.1 local MVP into a stable local LLM protocol router.
Highlights
- RunspacePool server with reusable workers and bounded concurrency
- Canonical protocol IR for OpenAI Chat, OpenAI Responses, and Anthropic Messages
- Native Claude Code-compatible
/v1/messages - Cross-protocol tools for OpenAI, Anthropic, and Gemini core paths
- Capability-aware routing for protocol, tools, vision, and streaming
- Refined provider runtime state and error-aware circuit breaking
- Atomic config hot reload with invalid-reload rollback
/health/live,/health/ready, enhanced/health, and Prometheus-compatible/metrics- CORS disabled by default and restricted to explicit origins when enabled
Architecture
The server no longer uses ThreadJob-per-request and no longer re-dot-sources all source files for every request. src/OmniRoute.psm1 is imported once per pooled worker, and pipelines borrow reusable runspaces.
Verification
- Pester: 60 passed, 0 failed
- PSScriptAnalyzer: 0 issues
- Windows CI and Ubuntu CI validated
- Local schema validation, startup smoke, health/readiness, metrics, CORS, bounded queue overload, hot reload,
/v1/messages, OpenAI SSE, and Anthropic SSE covered by tests - Benchmark: 100 sequential local mock completions improved from 172.5 ms/request to 21.95 ms/request; 50 parallel requests completed in 552.0 ms total
Compatibility notes
- Responses support covers the documented core fields.
- Cross-protocol tools cover the required OpenAI/Anthropic/Gemini core paths; uncommon provider-specific tool schemas return
unsupported_feature. - Streaming fallback after upstream headers are sent is not possible; an error event is emitted.
- Runtime health, metrics, circuit state, and rate-limit state are process-local.
- Client authentication is not implemented; keep the default loopback binding unless the environment is trusted.
The ZIP artifact and SHA256SUMS.txt are attached.