Repository navigation
refactor!: remove the bare REPL - #838
Merged
Merged
Conversation
8 tasks done
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
hakula139
force-pushed
the
refactor/remove-repl
branch
from
November 7, 2026 15:46
81d09a8 to
16f1872
Compare
Require a terminal on stdin and stdout for interactive sessions and direct scripts to -p before loading config, credentials, or sessions. Remove the REPL driver, approval input abstraction, and command adapter while retaining headless output and signal handling.
Adapt retained CLI, session, signal, and slash-command tests to TUI and print routing. Keep multi-turn thinking and compaction checks through saved-session continuation, and cover early terminal rejection and removal of the legacy flag.
hakula139
force-pushed
the
refactor/remove-repl
branch
from
November 7, 2026 16:09
16f1872 to
431576b
Compare
hakula139
marked this pull request as ready for review
November 7, 2026 16:09
3 of 5 tasks
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.
Summary
Remove the bare
--no-tuiREPL. Interactive sessions now require a terminal on both stdin and stdout, and otherwise exit with a-phint before loading configuration, credentials, or session storage. Bare-rexplains how to resume directly with a session ID and-p.-pfor one-shot prompts and piped input, including continued sessions and structured output.Closes #837.
Test plan
cargo test --locked -p ox --bin oxpassed 99 tests,cargo test --locked -p ox --test clipassed 43 tests, andcargo clippy --locked --all-targetspassed.cargo fmt --check,git diff --check, and all configured pre-commit hooks.Real model checks were not run. The existing live checks were compiled with the all-target lint pass.