feat(cli): init→REPL flow, fuzzy model search in REPL, defaults + polish#15
Merged
Conversation
Owner
jwill9999
commented
Sep 13, 2025
- Default: openrouter runs setup, then opens REPL (TTY)
- Init: OpenRouter-only domain; only prompt for API key if missing; fuzzy model picker; clearer key error guidance
- Ask: non‑stream + markdown by default; spinner; policy error hint
- REPL: streaming off by default; markdown by default; inline /model fuzzy search; robust prompt (no unexpected exit)
- Models: picker opens by default in TTY; query seeds results
- Config: prints config, then launches REPL in TTY; add hidden --danger-reset and --override-json for debugging
- UI: styled banner/help; headers/footers; spinners on stderr; warnBox
- Errors: friendly messages with details to ~/.config/openrouter-cli/cli.log
- Docs: README refreshed; added existing_structure.md
- Tooling: add Prettier + lint-staged formatting
…d, visual polish UI/theming,Rendering,Spinners:Models,Error logging BREAKING CHANGE: ask now defaults to non-stream and md rendering; pass --stream to streamREPL starts with streaming off and md for non-stream outputs; toggle with /stream on|off, /format md|plain
…ch in REPL, defaults + polish n BREAKING CHANGE: n
|
🎉 This PR is included in version 4.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.