fix(vscode): support agent manager prompt bidi - #12015
Merged
marius-kilocode merged 1 commit intoJul 7, 2026
Merged
Conversation
5 tasks
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (3 files)
Reviewed by claude-sonnet-5-20260630 · Input: 16 · Output: 3K · Cached: 314.9K Review guidance: REVIEW.md from base branch |
marius-kilocode
approved these changes
Jul 7, 2026
Collaborator
|
LGTM. Much appreciated @mjnaderi ! |
t7tran
pushed a commit
to t7tran/kilocode
that referenced
this pull request
Aug 14, 2026
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.
Issue
No linked issue.
Context
The main chat prompt already supports bidirectional text input. This aligns the Agent Manager “New Worktree” prompt modal with that behavior so mixed left-to-right and right-to-left content is handled consistently across prompt surfaces.
Implementation
Adds
dir="auto"to the Agent Manager new worktree prompt textarea. The modal uses a native textarea without the chat prompt’s highlight overlay, so no extra overlay bidi styling is needed.The existing prompt bidirectional unit coverage was extended to guard this modal prompt as well.
Screenshots / Video
How to Test
Manual/local verification
bun test tests/unit/prompt-input-bidirectional.test.tsbun eslint webview-ui/agent-manager/NewWorktreeDialog.tsx tests/unit/prompt-input-bidirectional.test.tsbun run check-types:webviewReviewer test steps
Blocked checks and substitute verification
Checklist