Skip to content

chat: Hide debug log export for Agent Host sessions#323281

Merged
roblourens merged 1 commit into
mainfrom
agents/remove-export-agent-debug-log
Jun 27, 2026
Merged

chat: Hide debug log export for Agent Host sessions#323281
roblourens merged 1 commit into
mainfrom
agents/remove-export-agent-debug-log

Conversation

@roblourens

Copy link
Copy Markdown
Member

Summary

  • hide Export Agent Debug Log... while an Agent Host-backed chat session is focused
  • keep the command available for regular chat sessions
  • avoid confusion with Export Agent Host Debug Logs...

Validation

  • npm run typecheck-client
  • npm run precommit
  • npm run valid-layers-check

(Written by Copilot)

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 27, 2026 18:17
@roblourens roblourens enabled auto-merge (squash) June 27, 2026 18:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 adjusts the visibility of the “Export Agent Debug Log...” command so it does not appear when a chat widget is locked to an Agent Host-backed session, reducing ambiguity with “Export Agent Host Debug Logs...” while keeping the existing behavior for regular chat sessions.

Changes:

  • Tightened the workbench.action.chat.exportAgentDebugLog action precondition to require chatIsAgentHostSession to be false.
  • Preserved existing enablement gating via ChatContextKeys.enabled.
Show a summary per file
File Description
src/vs/workbench/contrib/chat/browser/actions/chatOpenAgentDebugPanelAction.ts Updates the export command precondition to hide it when an Agent Host session is focused/locked.

Review details

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Low

@roblourens roblourens merged commit b71651e into main Jun 27, 2026
30 checks passed
@roblourens roblourens deleted the agents/remove-export-agent-debug-log branch June 27, 2026 18:35
@vs-code-engineering vs-code-engineering Bot added this to the 1.127.0 milestone Jun 27, 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