You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've introduced current working directory (cwd) awareness to the terminal chat agent this iteration to address issues like #17486. Note that this only applies to non-background terminals.
Key Changes
Terminal and chat session tracking has been refactored.
This refactor and other changes enable the agent to accurately understand the terminal's cwd when shell integration is active and a Copilot terminal is present.
Test Instructions
Open a new terminal with shell integration enabled.
You can confirm shell integration is working by hovering over the terminal tab and checking that it says Shell Integration: Rich (see screenshot below).
Run terminal commands via the chat agent in agent mode.
Verify that:
The command executes in the correct working directory.
Chat accurately reflects the current directory in its responses or logic.
Closing sessions closes the terminals.
Reloading the window persists Copilot terminals.
💡 This feature depends on shell integration, so please ensure it’s active during testing.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Refs #17486
Complexity: 4
Authors: @meganrogge, @roblourens
Terminal Chat Agent:
cwd
AwarenessWe've introduced current working directory (cwd) awareness to the terminal chat agent this iteration to address issues like #17486. Note that this only applies to non-background terminals.
Key Changes
Test Instructions
Shell Integration: Rich
(see screenshot below).The text was updated successfully, but these errors were encountered: