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 requestInProgress: RawContextKey; const currentlyEditing: RawContextKey; const currentlyEditingInput: RawContextKey; enum EditingRequestType { Sent = "s", QueueOrSteer = "qs" } const editingRequestType: RawContextKey; const isResponse: RawContextKey; const isRequest: RawContextKey; const isPendingRequest: RawContextKey; const itemId: RawContextKey; const lastItemId: RawContextKey; const editApplied: RawContextKey; const inputHasText: RawContextKey; const inputHasFocus: RawContextKey; const inChatInput: RawContextKey; const inChatSession: RawContextKey; const inChatQuestionCarousel: RawContextKey; const inChatEditor: RawContextKey; const inChatTodoList: RawContextKey; const inChatTip: RawContextKey; const multipleChatTips: RawContextKey; const inChatTerminalToolOutput: RawContextKey; const chatModeKind: RawContextKey; const chatPermissionLevel: RawContextKey; const chatModeName: RawContextKey; const chatModelId: RawContextKey; const supported: import("../../../../../platform/contextkey/common/contextkey.js").ContextKeyExpression | undefined; const enabled: RawContextKey; /** * True when the chat widget is locked to the coding agent session. */ const lockedToCodingAgent: 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 chatSessionHasModels: RawContextKey; const chatSessionOptionsValid: RawContextKey; const extensionInvalid: RawContextKey; const inputCursorAtTop: RawContextKey; const inputHasAgent: RawContextKey; const location: RawContextKey; const inQuickChat: RawContextKey; const inAgentSessionsWelcome: RawContextKey; const chatSessionType: RawContextKey; const hasFileAttachments: RawContextKey; const chatSessionIsEmpty: RawContextKey; const hasPendingRequests: RawContextKey; const chatSessionHasDebugData: RawContextKey; const chatSessionHasAttachedDebugData: RawContextKey; const remoteJobCreating: RawContextKey; const hasRemoteCodingAgent: RawContextKey; const hasCanDelegateProviders: RawContextKey; const enableRemoteCodingAgentPromptFileOverlay: RawContextKey; /** Used by the extension to skip the quit confirmation when #new wants to open a new folder */ const skipChatRequestInProgressMessage: RawContextKey; const Setup: { hidden: RawContextKey; installed: RawContextKey; disabled: RawContextKey; untrusted: RawContextKey; later: RawContextKey; registered: RawContextKey; }; const Entitlement: { signedOut: RawContextKey; canSignUp: RawContextKey; planFree: RawContextKey; planPro: RawContextKey; planProPlus: 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 agentSessionType: RawContextKey; const agentSessionSection: RawContextKey; const isArchivedAgentSession: 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; /** * Context expression that indicates when the welcome/setup view should be shown */ const chatSetupTriggerContext: import("../../../../../platform/contextkey/common/contextkey.js").ContextKeyExpression | undefined; }