{{ message }}
Repository navigation
Add Copilot agent body language features - #343021
Merged
Martin Aeschlimann (aeschli) merged 2 commits intoOct 21, 2026
Merged
Conversation
Martin Aeschlimann (aeschli)
added this pull request to stack #342888
October 20, 2026 21:23
roblourens
previously approved these changes
Oct 20, 2026
Martin Aeschlimann (aeschli)
force-pushed
the
aeschli/agent-file-copilot-body
branch
from
October 20, 2026 21:29
b76b4f9 to
bc885a4
Compare
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Placeholder completion filtering and replacement ranges need correction before the feature works reliably.
2 open issues
What changed in this PR
Extends harness-aware agent editing with Copilot-specific body syntax, building on the agent schema support.
Changes:
- Adds seven placeholders with completion, hover, parsing, and highlighting support.
- Marks unknown placeholders and unsupported Local references unused.
- Adds focused language-provider tests.
Review effort: Balanced
roblourens
previously approved these changes
Oct 20, 2026
Dmitriy Vasyura (dmitrivMS)
approved these changes
Oct 20, 2026
Dmitriy Vasyura (dmitrivMS)
previously approved these changes
Oct 20, 2026
Martin Aeschlimann (aeschli)
dismissed stale reviews from Dmitriy Vasyura (dmitrivMS) and roblourens
via
October 20, 2026 22:16
4236674
Complete, highlight, hover, and validate Copilot body placeholders while suppressing unsupported Local file and tool reference syntax. Refs #342854 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep placeholder suggestions visible through Monaco filtering and replace existing identifier and closing-brace suffixes without duplication. Refs #342854 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Martin Aeschlimann (aeschli)
force-pushed
the
aeschli/agent-file-copilot-body
branch
from
October 20, 2026 22:24
4236674 to
e2a1b39
Compare
Dmitriy Vasyura (dmitrivMS)
approved these changes
Oct 20, 2026
Aaron Munger (amunger)
approved these changes
Oct 20, 2026
Martin Aeschlimann (aeschli)
deleted the
aeschli/agent-file-copilot-body
branch
October 21, 2026 08:32
1 task
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
Adds Copilot-specific
*.agent.mdbody language features on top of #342887.{{cwd}}{{homedir}}{{configDir}}{{grepToolName}}{{globToolName}}{{shellToolName}}{{shellCommandExamples}}#file:and#tool:references for Copilot targets.This PR is stacked on #342887 and is part of #342854.
Testing
npm run build-fast -- --client-only— passednpm run typecheck-client— passed.\scripts\test.bat --run src/vs/workbench/contrib/chat/test/browser/promptSyntax/languageProviders/promptBodyAutocompletion.test.ts --run src/vs/workbench/contrib/chat/test/browser/promptSyntax/languageProviders/promptHovers.test.ts --run src/vs/workbench/contrib/chat/test/browser/promptSyntax/languageProviders/promptValidator.test.ts --run src/vs/workbench/contrib/chat/test/browser/promptSyntax/languageProviders/promptDocumentSemanticTokensProvider.test.ts— passed, 220 tests