Add @git-changes mention#9026
Merged
marius-kilocode merged 16 commits intomainfrom Apr 24, 2026
Merged
Conversation
Contributor
Code Review SummaryStatus: 2 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Other Observations (not in diff)Issues found in unchanged code that cannot receive inline comments: None. Fix these issues in Kilo Cloud Files Reviewed (1 files)
Reviewed by gpt-5.4 · 0 tokens |
07e076c to
ef790a0
Compare
# Conflicts: # packages/kilo-vscode/src/KiloProvider.ts
# Conflicts: # packages/kilo-vscode/src/agent-manager/AgentManagerProvider.ts # packages/kilo-vscode/tests/unit/file-mention-utils.test.ts # packages/kilo-vscode/webview-ui/src/components/chat/ChatView.tsx # packages/kilo-vscode/webview-ui/src/components/chat/PromptInput.tsx # packages/kilo-vscode/webview-ui/src/hooks/file-mention-utils.ts # packages/kilo-vscode/webview-ui/src/hooks/useFileMention.ts
imanolmzd-svg
approved these changes
Apr 24, 2026
# Conflicts: # packages/kilo-vscode/webview-ui/src/types/messages.ts
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
Add an
@git-changesprompt mention that attaches working-tree or worktree-scoped git diffs (including untracked file contents and repos without an initial commit).Route Agent Manager local/worktree tabs through the existing worktree diff API so the attached diff matches the diff viewer.
Context is gathered exactly like in the old extension, with the exception that now worktrees are handled properly.