Repository navigation
Releases
OmniRoute-PS v0.2.0
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.
OmniRoute-PS v0.1.0
OmniRoute-PS v0.1.0 is an independent, local-first OpenAI-compatible LLM router implemented in PowerShell 7 and modern .NET.
Highlights
- OpenAI-compatible
/v1/chat/completionsand limited/v1/responses - True SSE streaming with incremental forwarding and cancellation
- OpenAI, custom OpenAI, Ollama, Anthropic, and Gemini upstream adapters
- Wildcard routes, aliases,
provider:model, priority scoring, and fallback - Closed/Open/HalfOpen circuit breaker
- Passive health state and live CLI probes
- JSON configuration validation with environment-variable secrets
- 32 Pester tests and a cross-platform Windows/Ubuntu CI matrix
Compatibility Note
Native Claude Code requires an inbound Anthropic Messages API. OmniRoute-PS v0.1.0 supports Anthropic as an upstream provider but does not yet expose /v1/messages; see the README limitations and roadmap.
Verification
- Pester: 32 passed, 0 failed
- PSScriptAnalyzer: 0 issues using
PSScriptAnalyzerSettings.psd1 - Configuration validation: passed
- HTTP startup smoke test: passed
- Install/uninstall round trip: passed
The release archive and SHA256SUMS.txt are attached. GitHub also provides automatic source archives.