Skip to content

feat!: add mixed model routing - #1

Merged
doedja merged 3 commits into
mainfrom
agent/model-routing-v2
Jul 27, 2026
Merged

feat!: add mixed model routing#1
doedja merged 3 commits into
mainfrom
agent/model-routing-v2

Conversation

@doedja

@doedja doedja commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

What changed

  • Replace permanent provider switching with process-scoped kenari claude and kenari codex wrappers.
  • Add role-based native, fixed Kenari, picker, and inherit routing.
  • Add private per-invocation router processes with IPC credential transfer, auth isolation, streaming, signal forwarding, and fail-closed behavior.
  • Add version 2 config, model cache, migration backups, conflict handling, status checks, JSON output, reset, and logout.
  • Remove kenari use and kenari key.
  • Release package version 0.3.0.

Why

Native subscription models and Kenari models need to work in one session without writing Kenari credentials or provider settings into Claude Code or Codex configuration.

Breaking change

kenari use and kenari key no longer exist. Users configure roles with kenari configure, launch through the tool wrappers, and manage credentials with kenari login and kenari logout.

Validation

  • node --test, 81 passing
  • native-only cold launch through installed Claude Code 2.1.220 and Codex CLI 0.145.0
  • Codex strict config validation for runtime overrides
  • merged Codex native and Kenari catalog parsed by codex debug models
  • npm pack --dry-run --json for @kenarihq/cli@0.3.0
  • git diff --check

doedja added 3 commits July 27, 2026 13:41
Replace persistent provider switching with process-scoped wrappers so native and Kenari models can share one CLI session without storing Kenari credentials in tool configuration.

BREAKING CHANGE: Remove kenari use and kenari key. Use configure, login, logout, and the claude or codex wrapper commands.
@doedja
doedja merged commit 05ca860 into main Jul 27, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant