feat(agent): add a vim-native responsive agent workspace#156
Open
fcoury-oai wants to merge 3 commits into
Open
feat(agent): add a vim-native responsive agent workspace#156fcoury-oai wants to merge 3 commits into
fcoury-oai wants to merge 3 commits into
Conversation
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.
Why
The Codex agent should feel like a native part of Red: prompts and follow-ups need real Vim editing, the conversation needs to fit any editor layout, and native Codex tools and approvals should remain available without weakening the isolated review workflow.
What changed
Ctrl+Entersubmission.Ctrl+W H/J/K/Land:AgentLeft,:AgentRight,:AgentTop, and:AgentBottom. Preserve drafts, history, reading position, focus, editor space, and theme-correct rendering across moves and terminal resizes.0.4.1agent conversation plugin APIs, update[agent]defaults and workflow documentation, and add targeted modal composer, panel, editor, plugin, and app-server regressions.How to Test
codexonPATH, pressSpace A, compose a multiline prompt, switch between Insert and Normal modes, and submit withCtrl+Enter. Expected: the prompt opens a streaming docked conversation; plainEnterstill inserts a newline in Insert mode, andCtrl+Sremains an editor save shortcut. When using tmux, first enableextended-keys onandextended-keys-format csi-u.Ctrl+W H,Ctrl+W J,Ctrl+W K, andCtrl+W L; resize to a narrow terminal and back. Expected: all four positions work and the draft, conversation, cursor, focus, and usable editor viewport survive each move and resize.[agent] mode = "review", request a file edit, and inspect it with:AgentReview. Expected: the workspace remains unchanged until the proposed hunk is explicitly accepted. In native Agent mode, verify a completed change reloads a clean open buffer while an unsaved buffer is preserved and reported as a conflict; dismissing an approval must deny it.