Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
"The identifier of the session in scope (the active session globally, or a specific session within an isolated component such as the session view or a context menu overlay)"
)
)
;
export
const
=
new
RawContextKey<string>
(
'sessionProviderId'
,
''
,
localize
(
'sessionProviderId'
,
"The provider ID of the session in scope (the active session globally, or a specific session within an isolated component such as the session view or a context menu overlay)"
)
)
;
export
const
=
new
RawContextKey<string>
(
'sessionType'
,
''
,
localize
(
'sessionType'
,
"The session type of the session in scope (the active session globally, or a specific session within an isolated component such as the session view or a context menu overlay)"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionWorkspaceIsVirtual'
,
true
,
localize
(
'sessionWorkspaceIsVirtual'
,
"Whether the session's workspace is virtual"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionHasGitRepository'
,
false
,
localize
(
'sessionHasGitRepository'
,
"Whether the session has a usable git repository"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionHasGitSyncActionRunning'
,
false
,
localize
(
'sessionHasGitSyncActionRunning'
,
"Whether the session has a git sync action currently running"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionUsesCombinedConfigPicker'
,
false
,
localize
(
'sessionUsesCombinedConfigPicker'
,
"Whether the session's provider offers a combined mode and model configuration picker (used on phone layouts in place of the standalone pickers)"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionSupportsRename'
,
false
,
localize
(
'sessionSupportsRename'
,
"Whether the session can be renamed"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionSupportsDelete'
,
false
,
localize
(
'sessionSupportsDelete'
,
"Whether the session can be deleted"
)
)
;
//#endregion
//#region < --- Session View --- >
export
const
=
new
RawContextKey<boolean>
(
'sessionIsCreated'
,
false
,
localize
(
'sessionIsCreated'
,
"Whether the session view's session has been created (chat view shown, not new-session view)"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionIsSticky'
,
false
,
localize
(
'sessionIsSticky'
,
"Whether the session view's session is sticky in the grid"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionIsMaximized'
,
false
,
localize
(
'sessionIsMaximized'
,
"Whether the session view is currently maximized in the sessions part's grid"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionSupportsMultipleChats'
,
false
,
localize
(
'sessionSupportsMultipleChats'
,
"Whether the session view's session supports multiple chats"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionSupportsFork'
,
false
,
localize
(
'sessionSupportsFork'
,
"Whether the session view's session supports forking a chat from a turn into a new peer chat"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionSupportsSideChat'
,
false
,
localize
(
'sessionSupportsSideChat'
,
"Whether the session view's session supports creating a side chat from a turn (via /btw)"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionHasMultipleCommittedChats'
,
false
,
localize
(
'sessionHasMultipleCommittedChats'
,
"Whether the session view's session has more than one committed (non-draft) chat, which drives the Chats dropdown visibility"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionHasSideChats'
,
false
,
localize
(
'sessionHasSideChats'
,
"Whether the session has side chats, which are shown in the Side Chats dropdown"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionShouldShowChatTabs'
,
false
,
localize
(
'sessionShouldShowChatTabs'
,
"Whether the session view's chat tab strip is shown, i.e. the session has more than one chat actually showing as a tab. A single visible tab always hides the strip"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionHasMultipleOpenChats'
,
false
,
localize
(
'sessionHasMultipleOpenChats'
,
"Whether the session view's session has more than one open chat (the tabs shown in the strip, including in-composer drafts). Used to scope chat-to-chat navigation (next/previous chat, the Ctrl+Tab chat switcher)"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionActiveChatIsClosable'
,
false
,
localize
(
'sessionActiveChatIsClosable'
,
"Whether the session's active chat can be closed (hidden) from the tab strip, i.e. it is not the main chat. Includes read-only subagent chats. Used to scope the close-chat keybinding so it closes the tab instead of the session"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionActiveChatIsDeletable'
,
false
,
localize
(
'sessionActiveChatIsDeletable'
,
"Whether the session's active chat can be permanently deleted from the tab strip, i.e. it is a real, user-created non-main chat (not the main chat and not a tool-spawned subagent chat, which are transient children). Used to scope the delete-chat keybinding"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionIsRead'
,
true
,
localize
(
'sessionIsRead'
,
"Whether the session has been marked as read"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionIsArchived'
,
false
,
localize
(
'sessionIsArchived'
,
"Whether the session in scope is archived/marked as done (the active session globally, or a specific session within an isolated component such as the session view or a context menu overlay)"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionIsActive'
,
false
,
localize
(
'sessionIsActive'
,
"Whether the session in scope is in progress or needs input"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionHasChanges'
,
false
,
localize
(
'sessionHasChanges'
,
"Whether the session view's session has pending changes (insertions or deletions)"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionHasCachedChanges'
,
false
,
localize
(
'sessionHasCachedChanges'
,
"Whether the session view's session has remembered changes from the last time its changes pill was shown, while it has not reported its own changes yet. Used to render the changes pill optimistically when a session opens"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionHasPullRequest'
,
false
,
localize
(
'sessionHasPullRequest'
,
"Whether the session view's session is associated with a GitHub pull request"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionHasIssues'
,
false
,
localize
(
'sessionHasIssues'
,
"Whether the session view's session references at least one GitHub issue"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionHasWorkspace'
,
false
,
localize
(
'sessionHasWorkspace'
,
"Whether the session view's session has an associated workspace folder"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionsChatBackgroundAvailable'
,
false
,
localize
(
'sessionsChatBackgroundAvailable'
,
"Whether chat background customization is available for the current color theme"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionsChatBackgroundConfigured'
,
false
,
localize
(
'sessionsChatBackgroundConfigured'
,
"Whether a chat background is configured for the current color theme"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionsChatBackgroundImageConfigured'
,
false
,
localize
(
'sessionsChatBackgroundImageConfigured'
,
"Whether a chat background image is configured for the current color theme"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'isQuickChatSession'
,
false
,
localize
(
'isQuickChatSession'
,
"Whether the session in scope is a workspace-less quick chat"
)
)
;
//#endregion
//#region < --- Sessions Part --- >
export
const
=
new
RawContextKey<string>
(
'activeSessions'
,
''
,
localize
(
'activeSessions'
,
"The identifier of the active sessions panel"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionsFocus'
,
false
,
localize
(
'sessionsFocus'
,
"Whether the sessions part has keyboard focus"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionsVisible'
,
false
,
localize
(
'sessionsVisible'
,
"Whether the sessions part is visible"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'multipleSessionsVisible'
,
false
,
localize
(
'multipleSessionsVisible'
,
"Whether more than one session is visible in the sessions part's grid"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionsHasClosedItem'
,
false
,
localize
(
'sessionsHasClosedItem'
,
"Whether a chat or session was closed recently and can be reopened with the Reopen Closed Chat or Session command"
)
)
;
/**
* Focus is inside the Agents window's editor surface: an editor part, or the
* auxiliary bar, which the single-pane layout docks into the side pane as the
* detail panel (Files/Changes). Shortcuts shared with VS Code's editor
* commands defer to those commands while this holds.
*/
export
const
=
.
or
(
,
)
!
;
//#endregion
//#region < --- Custom View Grid --- >
export
const
=
new
RawContextKey<boolean>
(
'customViewVisible'
,
false
,
localize
(
'customViewVisible'
,
"Whether a custom view is shown in place of the sessions grid. The side panel and the panel are hidden while it is."
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'automationsCustomViewFocus'
,
false
,
localize
(
'automationsCustomViewFocus'
,
"Whether the Automations custom view has keyboard focus"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'automationsHasItems'
,
false
,
localize
(
'automationsHasItems'
,
"Whether there is at least one automation"
)
)
;
//#endregion
//#region < --- Changes --- >
/**
* Id of the first pull request operation the agent host currently advertises
* for the active session (for example `pr-merge`), or the empty string when
* none is advertised. Lets client-side contributions to the changes button bar
* react to the pull request's live state without duplicating it.
*/
export
const
=
new
RawContextKey<string>
(
'sessionPrimaryPullRequestOperation'
,
''
,
localize
(
'sessionPrimaryPullRequestOperation'
,
"The id of the first pull request operation advertised for the active session, or empty when there is none"
)
)
;
/** Whether Agent Merge is currently enabled on the active session. */
export
const
=
new
RawContextKey<boolean>
(
'sessionAgentMergeEnabled'
,
false
,
localize
(
'sessionAgentMergeEnabled'
,
"True when Agent Merge is enabled for the active agent session"
)
)
;
/**
* Whether the active session has an open pull request, independent of whether
* the agent host has any operation to offer for it. A pull request that is
* open but blocked — and whose repository does not allow auto-merge — offers
* no operation, yet is exactly when Agent Merge has work to do.
*/
export
const
=
new
RawContextKey<boolean>
(
'sessionHasOpenPullRequest'
,
false
,
localize
(
'sessionHasOpenPullRequest'
,
"Whether the active session's branch has an open pull request"
)
)
;
//#endregion
//#region < --- Welcome --- >
export
const
=
new
RawContextKey<boolean>
(
'sessionsWelcomeVisible'
,
false
,
localize
(
'sessionsWelcomeVisible'
,
"Whether the sessions welcome overlay is visible"
)
)
;
//#endregion
//#region < --- Experiments --- >
export
const
=
new
RawContextKey<boolean>
(
'sessionsTitleBarNewSessionEnabled'
,
false
,
localize
(
'sessionsTitleBarNewSessionEnabled'
,
"Whether the new-session button is shown in the titlebar when the sessions list is hidden (A/B experiment)"
)
)
;
//#endregion
//#region < --- Workspace Picker --- >
export
const
=
new
RawContextKey<string>
(
'sessionWorkspacePickerGroup'
,
''
,
localize
(
'sessionWorkspacePickerGroup'
,
"The currently active group tab in the session workspace picker"
)
)
;
//#endregion
//#region < --- New Session Pickers --- >
export
const
=
new
RawContextKey<boolean>
(
'sessionWorkspacePickerVisible'
,
false
,
localize
(
'sessionWorkspacePickerVisible'
,
"Whether the new-session view's workspace picker is rendered (as opposed to being replaced by the no-agent-host empty state)"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionHarnessPickerVisible'
,
false
,
localize
(
'sessionHarnessPickerVisible'
,
"Whether the new-session view's harness (session type) picker is visible — it is hidden when at most one harness can serve the selected workspace"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionIsolationPickerVisible'
,
false
,
localize
(
'sessionIsolationPickerVisible'
,
"Whether the new-session view's isolation picker is visible — it is shown only when the isolation option is enabled and the workspace has a git repository"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'agentHostSessionTypesAvailable'
,
false
,
localize
(
'agentHostSessionTypesAvailable'
,
"Whether at least one connected agent-host provider has advertised session types"
)
)
;
//#endregion
//#region < --- Sessions Picker --- >
export
const
=
new
RawContextKey<boolean>
(
'sessionsPickerVisible'
,
false
,
localize
(
'sessionsPickerVisible'
,
"Whether the sessions picker is visible"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionChatsPickerVisible'
,
false
,
localize
(
'sessionChatsPickerVisible'
,
"Whether the chats picker (chats within the active session) is visible"
)
)
;
//#endregion
//#region < --- Blocked Sessions --- >
export
const
=
new
RawContextKey<boolean>
(
'sessionsBlockedSessionsVisible'
,
false
,
localize
(
'sessionsBlockedSessionsVisible'
,
"Whether the blocked-sessions dropdown (surfacing sessions that require input) is open in the sessions titlebar"
)
)
;
//#endregion
//#region < --- Aquarium --- >
export
const
=
new
RawContextKey<boolean>
(
'sessionsAquariumActive'
,
false
,
localize
(
'sessionsAquariumActive'
,
"Whether the sessions aquarium overlay is active"
)
)
;
//#endregion
//#region < --- Session Navigation --- >
export
const
=
new
RawContextKey<boolean>
(
'sessionsCanGoBack'
,
false
,
localize
(
'sessionsCanGoBack'
,
"Whether there is a previous session in the navigation history"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'sessionsCanGoForward'
,
false
,
localize
(
'sessionsCanGoForward'
,
"Whether there is a next session in the navigation history"
)
)
;
//#endregion
//#region < --- Editor --- >
export
const
=
new
RawContextKey<boolean>
(
'editorMaximized'
,
false
,
localize
(
'editorMaximized'
,
"Whether the editor area is maximized"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'agentSessionsSinglePaneLayoutEnabled'
,
false
,
localize
(
'agentSessionsSinglePaneLayoutEnabled'
,
"Whether the Agents window is using the single-pane (docked detail panel) layout. Single source of truth for gating single-pane behaviour — set once by the workbench from the layout it was constructed with; features must read this instead of the underlying setting"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'agentSessionsHasDockedDetails'
,
false
,
localize
(
'agentSessionsHasDockedDetails'
,
"Whether the single-pane active editor has a docked detail panel (a managed Changes/Files tab or a text file editor)"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'agentSessionsSinglePaneDiffEditorInputActive'
,
false
,
localize
(
'agentSessionsSinglePaneDiffEditorInputActive'
,
"Whether the active single-pane editor input is a diff, independent of the editor used to render it"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'agentSessionsSinglePaneChangesTabMissing'
,
false
,
localize
(
'agentSessionsSinglePaneChangesTabMissing'
,
"Whether the single-pane session supports a Changes editor but its tab is not currently open"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'agentSessionsSinglePaneFilesTabMissing'
,
false
,
localize
(
'agentSessionsSinglePaneFilesTabMissing'
,
"Whether the single-pane session supports a Files tab but its tab is not currently open"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'agentSessionsSinglePaneChangesTabAvailable'
,
false
,
localize
(
'agentSessionsSinglePaneChangesTabAvailable'
,
"Whether the single-pane session supports a Changes editor"
)
)
;
export
const
=
new
RawContextKey<boolean>
(
'agentSessionsSinglePaneFilesTabAvailable'
,
false
,
localize
(
'agentSessionsSinglePaneFilesTabAvailable'
,
"Whether the single-pane session supports a Files editor"