diff --git a/src/@types/vscode.proposed.agentSessionsWorkspace.d.ts b/src/@types/vscode.proposed.agentSessionsWorkspace.d.ts index 278e4ccb7a..ebc1c4211d 100644 --- a/src/@types/vscode.proposed.agentSessionsWorkspace.d.ts +++ b/src/@types/vscode.proposed.agentSessionsWorkspace.d.ts @@ -8,11 +8,15 @@ declare module 'vscode' { export namespace workspace { /** - * Indicates whether the current workspace is an agent sessions workspace. + * Whether the editor manages the workspace for agent sessions, rather than the user + * opening it. A workspace that the user opened is not agent-managed, even when agents + * work in it. * - * Agent sessions workspace is a special workspace used for AI agent interactions - * where the window is dedicated to agent session management. + * The {@linkcode workspace.workspaceFolders workspace folders} of an agent-managed + * workspace follow the active agent session and can change when the user switches + * sessions. Sessions can span projects, so resources outside the current folders can + * still be part of the user's work. */ - export const isAgentSessionsWorkspace: boolean; + export const isAgentManaged: boolean; } } diff --git a/src/github/pullRequestOverview.ts b/src/github/pullRequestOverview.ts index 9f9d0e9534..19b4087736 100644 --- a/src/github/pullRequestOverview.ts +++ b/src/github/pullRequestOverview.ts @@ -692,7 +692,7 @@ export class PullRequestOverviewPanel extends IssueOverviewPanel(EXPERIMENTAL_OVERVIEW_TABS, false), stack: initialStack, stackLoaded: false,