refactor(tau-coding): reduce coupling in session and TUI hotspots - #666
Open
darion-yaphet wants to merge 1 commit into
Open
refactor(tau-coding): reduce coupling in session and TUI hotspots#666darion-yaphet wants to merge 1 commit into
darion-yaphet wants to merge 1 commit into
Conversation
Move terminal-command parsing, session-tree traversal, completion rendering, and completion layout into focused modules while preserving the session, app, and widgets compatibility facades for existing CLI, RPC, TUI, and test imports.
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
Splits low-coupling helpers out of Tau's largest
tau_codingmodules while preserving existing behavior and import paths.tau_coding.sessiontau_coding.sessiontau_coding.tui.widgetstau_coding.tui.appsession.py,tui/app.py, andtui/widgets.pyas compatibility facadesCompatibility
No public import paths or runtime behavior should change. Existing CLI, RPC, TUI, and test imports continue to resolve through the original modules.
Validation
tests/test_tui_app.py: 382 passedruff check src testsmypypython -m compileall -q srcFollow-up
This is the first structural split only. Future PRs can extract session resources, sidebar/transcript rendering, prompt input, and TUI screens behind the same compatibility boundaries.