Repository navigation
feat: add an interactive terminal review workspace - #1739
Closed
Qiyuanqiii wants to merge 3 commits into
Closed
Qiyuanqiii wants to merge 3 commits into
Qiyuanqiii wants to merge 3 commits into
Conversation
This was referenced Oct 13, 2026
Contributor
|
🔍 OpenCodeReview found 6 issue(s) in this PR.
|
Contributor
Author
|
暂不在计划内,close |
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.
Description
Add
ocr tui, an interactive terminal workspace for selecting changes, previewing files, running reviews, following progress, reading findings, and reopening saved sessions./loginreuses upstream's ChatGPT browser sign-in command and directs first-time users to/providerfor configuration. Login outcomes preserve the existing provider/model and review selection.This PR builds directly on upstream
mainand contains the TUI only. Native plugins and the marketplace are submitted in #1738; their UI integration can follow after both changes land. The existing integrated fork remains available separately.Type of Change
How Has This Been Tested?
On Windows with Go 1.26.9:
make license-addandmake checkpassed.make test PACKAGES="./cmd/opencodereview ./internal/agent"passed with the Makefile's race detector andLC_ALL=C.make coveragepassed: 90.3% total coverage./results, and opens the retained finding at terminal heights of 10 and 40 rows.make checkandmake test PACKAGES="./cmd/opencodereview -run TestTUI"passed after the navigation fix./loginpalette entry, and clean exit.Unit tests cover login command arguments and success/error return handling without performing real account authorization. The standalone smoke test did not call a paid model; earlier full review screenshots and usage came from the integrated prototype.
Prototype screenshots: home and language settings
These user-provided screenshots are from the integrated fork. This standalone patch retains the workspace and language settings; the plugin shortcut visible on the prototype home screen belongs to the separate plugin integration.
Checklist
AI Assistance
OpenAI Codex was used for implementation, tests, and this draft, with GPT-6 and delegated GPT-6.1 Sol agents at xhigh. OCR Delegate supplied deterministic file selection and review rules; Codex performed the review. Commits have no AI attribution trailers. This PR remains a draft while the contributor completes self-review and confirms the contribution checklist.
Related Issues
Closes #1737.
Separate plugin/marketplace contribution: #1736 and #1738.