This repository was archived by the owner on May 9, 2026. It is now read-only.
fix: slash command Enter-to-select, live config reload, model normalization#103
Open
sagarm85 wants to merge 1 commit into
Open
fix: slash command Enter-to-select, live config reload, model normalization#103sagarm85 wants to merge 1 commit into
sagarm85 wants to merge 1 commit into
Conversation
…zation - InputBox: Enter now selects and immediately executes the highlighted slash command; Tab still selects into the input box for editing - driver.ts: re-read config on every turn so setModel/setProvider changes take effect without restarting the REPL - personal.ts: run normalizeModelForProvider on load to auto-repair cross-provider orphan model slugs in personal.json - .gitignore: exclude CLAUDE.md and pnpm-workspace.yaml Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
driver.tsre-reads config on every chat turn so thatsetModel/setProviderchanges take effect immediately without restarting the REPL.loadPersonalConfignow runsnormalizeModelForProvideron load to auto-repair cross-provider orphan model slugs (e.g. an OpenRouter slug left behind after switching to direct Anthropic).Test plan
/in the chat REPL, highlight a command with arrow keys, press Enter — confirm the command executes (not the raw slash text)setModelmid-session, send a follow-up message — confirm the new model is used without restartingpersonal.jsonwith a mismatched provider/model slug — confirm it is repaired on next load🤖 Generated with Claude Code