Protected ReadonlyactivationProtectedactiveTracks whether the currently active session is empty (= the home / overview is shown). Used to hide toolbar items that only make sense within an open chat (Home, lock/unlock auto-scroll, Summarize Current Session, ...).
ProtectedactiveModel listener for the active session; disposed and re-bound on active-session changes.
Protected ReadonlychatProtected ReadonlychatProtectedchatContext key set to true while the chat view widget is the active widget in the shell.
Broader than chatInputFocus/chatResponseFocus (which require DOM focus on a specific
sub-widget): clicks on non-focusable parts of the chat view still flip this key, so chat
view keybindings remain available.
Protected ReadonlycontextProtected ReadonlyeditorProtectedhasStore whether there are persisted sessions to make this information available in command enablement checks which are synchronous.
Protected ReadonlyloggerProtected ReadonlymessageReadonlyonFires when isActiveSessionEmpty flips. Consumed by toolbar items that hide on the overview.
Protected ReadonlyonProtected ReadonlyoptionsProtected ReadonlypreferenceProtected ReadonlyquickProtected ReadonlyquickProtected ReadonlysecondaryProtected ReadonlyshellProtected ReadonlytaskOptional ReadonlytoggleProtected ReadonlywidgetProtected Static ReadonlyREMOVE_Protected Static ReadonlyRENAME_True when the chat view currently displays the home/overview (the active session has no requests).
ProtectedaskProtectedattach(Re-)attach a model listener to the currently active session so the Home toolbar item can react when the user submits the first message and the welcome view is replaced by the chat tree.
ProtectedcheckProtecteddeleteProtectedextractProtectedgetReturns information about task context files that are currently opened
Object with arrays of opened context IDs and the active context ID
Called on application startup before configure is called.
Called after the application shell has been attached in case there is no previous workbench layout state. Should return a promise if it runs asynchronously.
Optionalargs: Partial<OpenViewArguments>Registers keybindings.
the keybinding registry.
Registers toolbar items.
the tabbar toolbar registry.
ProtectedrenameProtectedselectPrompts the user to select a chat agent with an optional default (pre-selected) agent.
OptionaldefaultAgentId: stringThe id of the agent to pre-select, if present
The selected agent or undefined if cancelled
ProtectedselectOptionalsessionId: stringProtectedselectPrompts the user to select a task context with special marking for currently opened files
The selected task context ID or undefined if cancelled
ProtectedsetProtectedsummarizeProtectedupdateProtectedwith
Representation of a tabbar toolbar contribution.