feat(vscode): send inline review draft comments directly from diff - #11822
Merged
Conversation
marius-kilocode
enabled auto-merge
June 30, 2026 08:30
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (5 files)
Reviewed by gpt-5.4-20260305 · Input: 89K · Output: 14K · Cached: 1.3M Review guidance: REVIEW.md from base branch |
chrarnoldus
approved these changes
Jun 30, 2026
t7tran
pushed a commit
to t7tran/kilocode
that referenced
this pull request
Aug 14, 2026
feat(agent-manager): send inline review draft comments directly from diff
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.
Problem
When reviewing a diff in Agent Manager (and the full-screen diff view and the vscode diff view), the inline comment composer only offered a
Commentaction. That action saves the draft as a pending review comment in the footer. To actually send a single line comment to the chat, you had to save it as pending first and then use the per-comment "Send to chat" icon. There was no way to send one inline draft straight to the agent in a single step.What changed
The inline draft composer now has a
Sendbutton next toCancelandComment. Clicking it sends the current draft directly through the existing review-comment append path (appendReviewComments/appendReviewCommentsToTerminalwithautoSend: true), the same path the saved-comment "Send to chat" icon already uses, then clears the draft without leaving a pending comment behind.Commentkeeps its existing behavior of saving a pending review comment.Both action buttons are disabled while the textarea is empty or whitespace-only, and they now carry a proper disabled style (dimmed with a not-allowed cursor) so the unclickable state is visible rather than just functional.
Cancelstays enabled.The send dispatch was extracted into a shared
sendReviewCommentshelper so the new draftSendbutton and the existing saved-comment send icon use one implementation. The change is wired into both review surfaces: the Agent Manager inlineDiffPaneland the full-screenFullScreenDiffView.