import { RawContextKey } from "../../../../../platform/contextkey/common/contextkey.js"; import { ViewContainerLocation } from "../../../../common/views.js"; import { ChatAgentLocation, ChatModeKind, ChatPermissionLevel } from "../constants.js"; export declare namespace ChatContextKeys { const responseVote: RawContextKey; const responseDetectedAgentCommand: RawContextKey; const responseSupportsIssueReporting: RawContextKey; const responseIsFiltered: RawContextKey; const responseHasError: RawContextKey; const responseHasFeedbackSurvey: RawContextKey; const responseFeedbackSurveyOpen: RawContextKey; const requestInProgress: RawContextKey; const transcriptProgressActive: RawContextKey; const hasActiveRequest: RawContextKey; const currentlyEditing: RawContextKey; const currentlyEditingInput: RawContextKey; enum EditingRequestType { Sent = "s", Queue = "q", Steer = "st" } const editingRequestType: RawContextKey; const isResponse: RawContextKey; const isRequest: RawContextKey; const contextMenuIsBackground: RawContextKey; const contextMenuHasLink: RawContextKey; const contextMenuHasAvailableEditors: RawContextKey; const contextMenuHasResponseSelection: RawContextKey; const isFirstRequest: RawContextKey; const isPendingRequest: RawContextKey; const itemId: RawContextKey; const lastItemId: RawContextKey; const editApplied: RawContextKey; const inputHasText: RawContextKey; const inputHasSendableContent: RawContextKey; const inputHasFocus: RawContextKey; const inChatInput: RawContextKey; const inputInlineAttachmentActive: RawContextKey; const inChatSessionWorkingSet: RawContextKey; const sessionWorkingSetKeepEnabled: RawContextKey; const sessionWorkingSetReviewEnabled: RawContextKey; const sessionWorkingSetHasUndo: RawContextKey; const sessionWorkingSetUndoEnabled: RawContextKey; const inChatSession: RawContextKey; const inChatQuestionCarousel: RawContextKey; const chatQuestionCarouselHasTerminal: RawContextKey; const inChatEditor: RawContextKey; const findSupported: RawContextKey; const findWidgetVisible: RawContextKey; const findInputFocused: RawContextKey; const findWidgetFocused: RawContextKey; const inChatTodoList: RawContextKey; const inChatTip: RawContextKey; const inChatComposer: RawContextKey; const multipleChatTips: RawContextKey; const inChatTerminalToolOutput: RawContextKey; const inChatBackgroundShellOutput: RawContextKey; const chatModeKind: RawContextKey; const chatPermissionLevel: RawContextKey; const chatModeName: RawContextKey; const agentPickerInAttachContext: RawContextKey; const chatModelId: RawContextKey; const speechToTextRecording: RawContextKey; const speechToTextConfigured: RawContextKey; const speechToTextPreparing: RawContextKey; const speechToTextUsesMai: RawContextKey; const supported: import("../../../../../platform/contextkey/common/contextkey.js").ContextKeyExpression | undefined; const enabled: RawContextKey; const accountPolicyGateActive: RawContextKey; /** * True when the chat widget is locked to the coding agent session. */ const lockedToCodingAgent: RawContextKey; const lockedCodingAgentId: RawContextKey; /** * Widget-scoped: true when the chat shown in this widget is read-only (non-interactive), * e.g. an observable worker chat. Read-only chats hide the composer and do not offer * mutating actions such as Start Over or Restore Checkpoint. */ const inputBlocked: RawContextKey; const readOnly: RawContextKey; /** * Widget-scoped: true when this chat widget is locked to an Agent Host-backed chat session. */ const chatIsAgentHostSession: RawContextKey; /** * Widget-scoped: logical Agent Host provider ID for this chat widget, e.g. `copilotcli`, `claude`, or `codex`. */ const chatAgentHostProviderId: RawContextKey; /** Widget-scoped: whether the locked Agent Host provider pins an immutable primary working directory. */ const chatAgentHostHasImmutablePrimaryWorkingDirectory: RawContextKey; /** Widget-scoped: whether the multi-root Folder picker should be shown for this session. Defaults to hidden; the harness decision reveals it, so the chip never flashes visible-then-hidden. */ const chatAgentHostFolderPickerVisible: RawContextKey; /** * True when the chat session has a customAgentTarget defined in its contribution, * which means the mode picker should be shown with filtered custom agents. */ const chatSessionHasCustomAgentTarget: RawContextKey; /** * True when the current chat session has models that specifically target it * via `targetChatSessionType`, which means the model picker should be shown * even when the widget is locked to a coding agent. */ const chatSessionHasTargetedModels: RawContextKey; const agentSupportsAttachments: RawContextKey; const withinEditSessionDiff: RawContextKey; const filePartOfEditSession: RawContextKey; const extensionParticipantRegistered: RawContextKey; const panelParticipantRegistered: RawContextKey; const chatEditingCanUndo: RawContextKey; const chatEditingCanRedo: RawContextKey; const languageModelsAreUserSelectable: RawContextKey; const nonCopilotLanguageModelsAreUserSelectable: RawContextKey; const chatSessionHasModels: RawContextKey; const chatSessionOptionsValid: RawContextKey; const extensionInvalid: RawContextKey; const inputCursorAtTop: RawContextKey; const inputHasAgent: RawContextKey; const location: RawContextKey; const inQuickChat: RawContextKey; const inAgentSessionsWelcome: RawContextKey; const inAutomationsDialog: RawContextKey; const chatSessionType: RawContextKey; const hasFileAttachments: RawContextKey; const chatSessionIsEmpty: RawContextKey; const hasPendingRequests: RawContextKey; const chatSessionHasDebugData: RawContextKey; const chatSessionHasDebugTools: RawContextKey; const remoteJobCreating: RawContextKey; const hasRemoteCodingAgent: RawContextKey; const hasCanDelegateProviders: RawContextKey; const enableRemoteCodingAgentPromptFileOverlay: RawContextKey; const Setup: { hidden: RawContextKey; installed: RawContextKey; disabled: RawContextKey; disabledInWorkspace: RawContextKey; untrusted: RawContextKey; later: RawContextKey; registered: RawContextKey; completed: RawContextKey; }; const Entitlement: { signedOut: RawContextKey; canSignUp: RawContextKey; planFree: RawContextKey; planPro: RawContextKey; planEdu: RawContextKey; planProPlus: RawContextKey; planMax: RawContextKey; planBusiness: RawContextKey; planEnterprise: RawContextKey; organisations: RawContextKey; internal: RawContextKey; sku: RawContextKey; }; const chatQuotaExceeded: RawContextKey; const completionsQuotaExceeded: RawContextKey; const Editing: { hasToolConfirmation: RawContextKey; hasElicitationRequest: RawContextKey; hasQuestionCarousel: RawContextKey; }; const Tools: { toolsCount: RawContextKey; }; const foregroundSessionCount: RawContextKey; const Modes: { hasCustomChatModes: RawContextKey; agentModeDisabledByPolicy: RawContextKey; }; const panelLocation: RawContextKey; const agentSessionsViewerFocused: RawContextKey; const agentSessionsViewerOrientation: RawContextKey; const agentSessionsViewerPosition: RawContextKey; const agentSessionsViewerVisible: RawContextKey; const hasCreatedSessionInAgentsWindow: RawContextKey; const agentSessionType: RawContextKey; const isAgentSessionChild: RawContextKey; const agentSessionChildCanArchive: RawContextKey; /** * Whether the agent session item has an associated pull request. Tri-state, so gate with * `chatSessionPullRequest != 'none'` to keep contributions visible when the state is unknown. */ const agentSessionPullRequest: RawContextKey; const chatSessionSupportsDelegation: RawContextKey; const hasPendingDelegationTarget: RawContextKey; const chatSessionSupportsFork: RawContextKey; const chatSessionSupportsSideChat: RawContextKey; const chatSessionSupportsRename: RawContextKey; const agentSessionSection: RawContextKey; const isArchivedAgentSession: RawContextKey; const isPinnedAgentSession: RawContextKey; const isReadAgentSession: RawContextKey; const hasMultipleAgentSessionsSelected: RawContextKey; const hasAgentSessionChanges: RawContextKey; const isKatexMathElement: RawContextKey; /** * True when the user has submitted a chat request using any of the `/create-*` slash commands. * This is persisted in application storage and used to suppress onboarding tips once discovered. */ const hasUsedCreateSlashCommands: RawContextKey; const contextUsageHasBeenOpened: RawContextKey; const newChatButtonExperimentIcon: RawContextKey; } export declare namespace ChatContextKeyExprs { const inEditingMode: import("../../../../../platform/contextkey/common/contextkey.js").ContextKeyExpression | undefined; /** * True when the locked coding agent is an Agent Host session. * These sessions use {@link AgentHostSnapshotController} which supports checkpoint-based restore. */ const isAgentHostSession: import("../../../../../platform/contextkey/common/contextkey.js").ContextKeyExpression; /** * True when an agent session item (e.g. in the sessions viewer) is an agent * host session (agent-host-* or remote-*). Keyed on {@link ChatContextKeys.agentSessionType} * rather than the locked coding agent, for use in session item menus and keybindings. */ const isAgentHostSessionItem: import("../../../../../platform/contextkey/common/contextkey.js").ContextKeyExpression | undefined; }