Skip to content

Hook-based model routing state + prompt-size switching#26

Merged
aayushostwal merged 1 commit into
mainfrom
feat/plugin-hook-parity-cleanup
May 13, 2026
Merged

Hook-based model routing state + prompt-size switching#26
aayushostwal merged 1 commit into
mainfrom
feat/plugin-hook-parity-cleanup

Conversation

@aayushostwal

Copy link
Copy Markdown
Owner

Summary

  • persist plugin runtime model state to .nexus/model-router-runtime.json on hook execution (no Nexus CLI required)
  • route Claude model on user-prompt-submit using prompt-size thresholds, with terminal logs on switch/restore/keep
  • keep Codex in observe-only mode while still recording current runtime model state
  • add hook-level tests for session-start state creation, Claude switch/restore flow, and Codex runtime state capture
  • document runtime state file path and threshold env vars in README

Validation

  • node --test

@vercel

vercel Bot commented May 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nexus Ready Ready Preview, Comment May 13, 2026 2:22pm

@aayushostwal
aayushostwal merged commit 2f7af8e into main May 13, 2026
3 checks passed
@aayushostwal
aayushostwal deleted the feat/plugin-hook-parity-cleanup branch May 13, 2026 14:24
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