Skip to content

Agents - do not pass the session metadata to commands#315214

Merged
lszomoru merged 2 commits intomainfrom
lszomoru/successive-chipmunk
May 8, 2026
Merged

Agents - do not pass the session metadata to commands#315214
lszomoru merged 2 commits intomainfrom
lszomoru/successive-chipmunk

Conversation

@lszomoru
Copy link
Copy Markdown
Member

@lszomoru lszomoru commented May 8, 2026

No description provided.

Copilot AI review requested due to automatic review settings May 8, 2026 09:09
@lszomoru lszomoru enabled auto-merge (squash) May 8, 2026 09:09
@lszomoru lszomoru self-assigned this May 8, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Agents “Changes” toolbar wiring to stop passing session metadata into command invocations, limiting command arguments to just the active session resource.

Changes:

  • Update MenuWorkbenchButtonBar menuOptions to pass only arg: sessionResource (instead of [sessionResource, sessionMetadata]).
Show a summary per file
File Description
src/vs/sessions/contrib/changes/browser/changesView.ts Removes session metadata from the command argument payload for the Changes toolbar.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment thread src/vs/sessions/contrib/changes/browser/changesView.ts
@lszomoru lszomoru merged commit 3c96730 into main May 8, 2026
26 checks passed
@lszomoru lszomoru deleted the lszomoru/successive-chipmunk branch May 8, 2026 09:52
@vs-code-engineering vs-code-engineering Bot added this to the 1.120.0 milestone May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants