Files
vscode/product.json
T
Bhavya U d9c7d78c4c Warn when changing model/options mid-session breaks the prompt cache (#323594)
chat: warn when changing model/options mid-session breaks the prompt cache

The model and options pickers surface a cache-break cost hint when the
chat session's prompt cache is warm — switching the model or changing
options mid-session resets that warm cache and may increase cost. The hint
includes a "Learn more" link (rendered via the shared Link widget through
a new optional headerLink on the action list header banner) pointing at
the Copilot docs on optimizing AI usage.

Warmth is derived directly from the session's request history at the
picker rather than tracked in a parallel in-memory map: getRequests()
length for the default chat, and session status leaving Untitled for
agent-host sessions. Both warm as soon as the first request is sent, so
the signal is drift-free and consistent across surfaces — it covers
reloaded/restored sessions, every request path, and the agents window.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-01 07:35:18 -07:00

242 lines
7.6 KiB
JSON

{
"nameShort": "Code - OSS",
"nameLong": "Code - OSS",
"applicationName": "code-oss",
"dataFolderName": ".vscode-oss",
"sharedDataFolderName": ".vscode-oss-shared",
"win32MutexName": "vscodeoss",
"licenseName": "MIT",
"licenseUrl": "https://github.com/microsoft/vscode/blob/main/LICENSE.txt",
"serverLicenseUrl": "https://github.com/microsoft/vscode/blob/main/LICENSE.txt",
"serverGreeting": [],
"serverLicense": [],
"serverLicensePrompt": "",
"serverApplicationName": "code-server-oss",
"serverDataFolderName": ".vscode-server-oss",
"tunnelApplicationName": "code-tunnel-oss",
"win32DirName": "Microsoft Code OSS",
"win32NameVersion": "Microsoft Code OSS",
"win32RegValueName": "CodeOSS",
"win32x64AppId": "{{D77B7E06-80BA-4137-BCF4-654B95CCEBC5}",
"win32arm64AppId": "{{D1ACE434-89C5-48D1-88D3-E2991DF85475}",
"win32x64UserAppId": "{{CC6B787D-37A0-49E8-AE24-8559A032BE0C}",
"win32arm64UserAppId": "{{3AEBF0C8-F733-4AD4-BADE-FDB816D53D7B}",
"win32AppUserModelId": "Microsoft.CodeOSS",
"win32ShellNameShort": "C&ode - OSS",
"win32TunnelServiceMutex": "vscodeoss-tunnelservice",
"win32TunnelMutex": "vscodeoss-tunnel",
"darwinBundleIdentifier": "com.visualstudio.code.oss",
"darwinProfileUUID": "47827DD9-4734-49A0-AF80-7E19B11495CC",
"darwinProfilePayloadUUID": "CF808BE7-53F3-46C6-A7E2-7EDB98A5E959",
"linuxIconName": "code-oss",
"licenseFileName": "LICENSE.txt",
"reportIssueUrl": "https://github.com/microsoft/vscode/issues/new",
"nodejsArtifactFeed": "",
"electronArtifactFeed": "",
"urlProtocol": "code-oss",
"agentsTelemetryAppName": "agents",
"webviewContentExternalBaseUrlTemplate": "https://{{uuid}}.vscode-cdn.net/insider/ef65ac1ba57f57f2a3961bfe94aa20481caca4c6/out/vs/workbench/contrib/webview/browser/pre/",
"builtInExtensions": [
{
"name": "ms-vscode.js-debug-companion",
"version": "1.1.3",
"sha256": "7380a890787452f14b2db7835dfa94de538caf358ebc263f9d46dd68ac52de93",
"repo": "https://github.com/microsoft/vscode-js-debug-companion",
"metadata": {
"id": "99cb0b7f-7354-4278-b8da-6cc79972169d",
"publisherId": {
"publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",
"publisherName": "ms-vscode",
"displayName": "Microsoft",
"flags": "verified"
},
"publisherDisplayName": "Microsoft"
}
},
{
"name": "ms-vscode.js-debug",
"version": "1.117.0",
"sha256": "854eeb8a785b1f41ba2bd02d7ccd4fdbe10021b61473293973c7e96d036c7fb8",
"repo": "https://github.com/microsoft/vscode-js-debug",
"metadata": {
"id": "25629058-ddac-4e17-abba-74678e126c5d",
"publisherId": {
"publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",
"publisherName": "ms-vscode",
"displayName": "Microsoft",
"flags": "verified"
},
"publisherDisplayName": "Microsoft"
}
},
{
"name": "ms-vscode.vscode-js-profile-table",
"version": "1.0.10",
"sha256": "7361748ddf9fd09d8a2ed1f2a2d7376a2cf9aae708692820b799708385c38e08",
"repo": "https://github.com/microsoft/vscode-js-profile-visualizer",
"metadata": {
"id": "7e52b41b-71ad-457b-ab7e-0620f1fc4feb",
"publisherId": {
"publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",
"publisherName": "ms-vscode",
"displayName": "Microsoft",
"flags": "verified"
},
"publisherDisplayName": "Microsoft"
}
}
],
"defaultChatAgent": {
"extensionId": "GitHub.copilot",
"chatExtensionId": "GitHub.copilot-chat",
"chatExtensionOutputId": "GitHub.copilot-chat.GitHub Copilot Chat.log",
"chatExtensionOutputExtensionStateCommand": "github.copilot.debug.extensionState",
"documentationUrl": "https://aka.ms/github-copilot-overview",
"termsStatementUrl": "https://aka.ms/github-copilot-terms-statement",
"privacyStatementUrl": "https://aka.ms/github-copilot-privacy-statement",
"skusDocumentationUrl": "https://aka.ms/github-copilot-plans",
"optimizeUsageDocumentationUrl": "https://aka.ms/token-usage-tips",
"publicCodeMatchesUrl": "https://aka.ms/github-copilot-match-public-code",
"managePlanUrl": "https://aka.ms/github-copilot-manage-plan",
"upgradePlanUrl": "https://aka.ms/github-copilot-upgrade-plan",
"signUpUrl": "https://aka.ms/github-sign-up",
"provider": {
"default": {
"id": "github",
"name": "GitHub"
},
"enterprise": {
"id": "github-enterprise",
"name": "GHE"
},
"google": {
"id": "google",
"name": "Google"
},
"apple": {
"id": "apple",
"name": "Apple"
}
},
"providerExtensionId": "vscode.github-authentication",
"providerUriSetting": "github-enterprise.uri",
"providerScopes": [
[
"read:user",
"user:email",
"repo",
"workflow"
],
[
"user:email"
],
[
"read:user"
]
],
"entitlementUrl": "https://api.github.com/copilot_internal/user",
"entitlementSignupLimitedUrl": "https://api.github.com/copilot_internal/subscribe_limited_user",
"chatQuotaExceededContext": "github.copilot.chat.quotaExceeded",
"completionsQuotaExceededContext": "github.copilot.completions.quotaExceeded",
"walkthroughCommand": "github.copilot.open.walkthrough",
"completionsMenuCommand": "github.copilot.toggleStatusMenu",
"chatRefreshTokenCommand": "github.copilot.refreshToken",
"generateCommitMessageCommand": "github.copilot.git.generateCommitMessage",
"resolveMergeConflictsCommand": "github.copilot.git.resolveMergeConflicts",
"completionsAdvancedSetting": "github.copilot.advanced",
"completionsEnablementSetting": "github.copilot.enable",
"nextEditSuggestionsSetting": "github.copilot.nextEditSuggestions.enabled",
"tokenEntitlementUrl": "https://api.github.com/copilot_internal/v2/token",
"mcpRegistryDataUrl": "https://api.github.com/copilot/mcp_registry",
"managedSettingsUrl": "https://api.github.com/copilot_internal/managed_settings"
},
"trustedExtensionAuthAccess": {
"github": [
"GitHub.copilot-chat"
],
"github-enterprise": [
"GitHub.copilot-chat"
]
},
"onboardingKeymaps": [
{
"id": "vscode",
"label": "VS Code",
"description": "Default keyboard mapping"
},
{
"id": "sublime",
"label": "Sublime Text",
"extensionId": "ms-vscode.sublime-keybindings",
"description": "Keyboard mapping from Sublime Text"
},
{
"id": "intellij",
"label": "IntelliJ / JetBrains",
"extensionId": "k--kato.intellij-idea-keybindings",
"description": "Keyboard mapping from IntelliJ IDEA"
},
{
"id": "vim",
"label": "Vim",
"extensionId": "vscodevim.vim",
"description": "Vim modal editing"
},
{
"id": "eclipse",
"label": "Eclipse",
"extensionId": "alphabotsec.vscode-eclipse-keybindings",
"description": "Keyboard mapping from Eclipse"
},
{
"id": "notepadpp",
"label": "Notepad++",
"extensionId": "ms-vscode.notepadplusplus-keybindings",
"description": "Keyboard mapping from Notepad++"
}
],
"onboardingThemes": [
{
"id": "dark-2026",
"label": "Dark 2026",
"themeId": "Dark 2026",
"type": "dark"
},
{
"id": "hc-dark",
"label": "Dark High Contrast",
"themeId": "Default High Contrast",
"type": "hcDark"
},
{
"id": "solarized-dark",
"label": "Solarized Dark",
"themeId": "Solarized Dark",
"type": "dark"
},
{
"id": "light-2026",
"label": "Light 2026",
"themeId": "Light 2026",
"type": "light"
},
{
"id": "hc-light",
"label": "Light High Contrast",
"themeId": "Default High Contrast Light",
"type": "hcLight"
},
{
"id": "solarized-light",
"label": "Solarized Light",
"themeId": "Solarized Light",
"type": "light"
}
],
"builtInExtensionsEnabledWithAutoUpdates": [
"GitHub.copilot-chat"
],
"sessionsWindowAllowedExtensions": [],
"voiceWsUrl": "wss://falcon-caas.mai.microsoft.com/voice-code/api/v1/realtime/voice"
}