@codingame/monaco-vscode-chat-service-override 36.2.7 → 37.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (725) hide show
  1. package/index.d.ts +1 -0
  2. package/index.js +92 -10
  3. package/package.json +5 -5
  4. package/vscode/src/vs/platform/agentHost/browser/agentHostConnectionsService.d.ts +10 -3
  5. package/vscode/src/vs/platform/agentHost/browser/agentHostConnectionsService.js +54 -17
  6. package/vscode/src/vs/platform/agentHost/browser/agentHostEnablementService.d.ts +14 -0
  7. package/vscode/src/vs/platform/agentHost/browser/agentHostEnablementService.js +46 -0
  8. package/vscode/src/vs/platform/agentHost/browser/agentHostIpcChannelTransport.d.ts +7 -2
  9. package/vscode/src/vs/platform/agentHost/browser/agentHostIpcChannelTransport.js +34 -2
  10. package/vscode/src/vs/platform/agentHost/browser/{remoteAgentHostProtocolClient.d.ts → agentHostProtocolClient.d.ts} +240 -60
  11. package/vscode/src/vs/platform/agentHost/browser/agentHostProtocolClient.js +1911 -0
  12. package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.d.ts +30 -33
  13. package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.js +381 -315
  14. package/vscode/src/vs/platform/agentHost/browser/webSocketClientTransport.d.ts +3 -1
  15. package/vscode/src/vs/platform/agentHost/browser/webSocketClientTransport.js +2 -0
  16. package/vscode/src/vs/platform/agentHost/common/agentHostClientInfo.d.ts +9 -0
  17. package/vscode/src/vs/platform/agentHost/common/agentHostClientInfo.js +20 -0
  18. package/vscode/src/vs/platform/agentHost/common/agentHostExtensionProtocol.d.ts +144 -0
  19. package/vscode/src/vs/platform/agentHost/common/agentHostExtensionProtocol.js +20 -0
  20. package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemProvider.d.ts +14 -6
  21. package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemProvider.js +14 -10
  22. package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemService.js +1 -1
  23. package/vscode/src/vs/platform/agentHost/common/agentHostManagedRules.d.ts +47 -0
  24. package/vscode/src/vs/platform/agentHost/common/agentHostManagedRules.js +75 -0
  25. package/vscode/src/vs/platform/agentHost/common/agentHostManagedSettings.d.ts +68 -0
  26. package/vscode/src/vs/platform/agentHost/common/agentHostManagedSettings.js +161 -0
  27. package/vscode/src/vs/platform/agentHost/common/agentHostStarter.config.contribution.js +288 -45
  28. package/vscode/src/vs/platform/agentHost/common/agentMerge.d.ts +261 -0
  29. package/vscode/src/vs/platform/agentHost/common/agentMerge.js +67 -0
  30. package/vscode/src/vs/platform/agentHost/common/agentSdkSetup.d.ts +53 -0
  31. package/vscode/src/vs/platform/agentHost/common/agentSdkSetup.js +45 -0
  32. package/vscode/src/vs/platform/agentHost/common/changesetUri.d.ts +130 -0
  33. package/vscode/src/vs/platform/agentHost/common/changesetUri.js +27 -0
  34. package/vscode/src/vs/platform/agentHost/common/customAgents.d.ts +8 -2
  35. package/vscode/src/vs/platform/agentHost/common/customAgents.js +7 -0
  36. package/vscode/src/vs/platform/agentHost/common/meta/agentChatSurfaceMeta.d.ts +39 -0
  37. package/vscode/src/vs/platform/agentHost/common/meta/agentChatSurfaceMeta.js +25 -0
  38. package/vscode/src/vs/platform/agentHost/common/meta/agentCompletionAttachmentMeta.d.ts +110 -0
  39. package/vscode/src/vs/platform/agentHost/common/meta/agentCompletionAttachmentMeta.js +38 -0
  40. package/vscode/src/vs/platform/agentHost/common/meta/agentHostArtifactRemovalMeta.d.ts +4 -0
  41. package/vscode/src/vs/platform/agentHost/common/meta/clientPluginCustomizationMeta.d.ts +7 -0
  42. package/vscode/src/vs/platform/agentHost/common/meta/clientPluginCustomizationMeta.js +14 -0
  43. package/vscode/src/vs/platform/agentHost/common/sandboxConfigSchema.d.ts +3 -3
  44. package/vscode/src/vs/platform/agentHost/common/sandboxConfigSchema.js +16 -24
  45. package/vscode/src/vs/platform/agentHost/common/semanticSearchConstants.d.ts +8 -0
  46. package/vscode/src/vs/platform/agentHost/common/semanticSearchConstants.js +8 -0
  47. package/vscode/src/vs/platform/agentHost/common/sessionArtifacts.d.ts +75 -0
  48. package/vscode/src/vs/platform/agentHost/common/sessionArtifacts.js +84 -0
  49. package/vscode/src/vs/platform/agentHost/common/shellInitScript.d.ts +24 -0
  50. package/vscode/src/vs/platform/agentHost/common/shellInitScript.js +63 -0
  51. package/vscode/src/vs/platform/agentHost/common/state/agentSubscription.d.ts +71 -20
  52. package/vscode/src/vs/platform/agentHost/common/state/agentSubscription.js +187 -26
  53. package/vscode/src/vs/platform/agentHost/common/state/legacyProtocolCompatibility.d.ts +30 -0
  54. package/vscode/src/vs/platform/agentHost/common/state/legacyProtocolCompatibility.js +87 -0
  55. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-annotations/reducer.js +2 -2
  56. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation/reducer.d.ts +4 -0
  57. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation/reducer.js +37 -0
  58. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation-run/reducer.d.ts +4 -0
  59. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation-run/reducer.js +45 -0
  60. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/reducer.d.ts +5 -4
  61. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/reducer.js +100 -35
  62. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/reducer.js +193 -49
  63. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/reducer.js +161 -40
  64. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-terminal/reducer.d.ts +1 -1
  65. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-terminal/reducer.js +5 -1
  66. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/reducer-helpers.d.ts +2 -2
  67. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/timestamps.d.ts +1 -0
  68. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/timestamps.js +7 -0
  69. package/vscode/src/vs/platform/agentHost/common/state/protocol/version/registry.d.ts +1 -1
  70. package/vscode/src/vs/platform/agentHost/common/state/protocol/version/registry.js +114 -3
  71. package/vscode/src/vs/platform/agentHost/common/state/sessionActions.d.ts +28 -5
  72. package/vscode/src/vs/platform/agentHost/common/state/sessionActions.js +4 -2
  73. package/vscode/src/vs/platform/agentHost/common/state/sessionWorkingDirectories.d.ts +34 -0
  74. package/vscode/src/vs/platform/agentHost/common/state/sessionWorkingDirectories.js +28 -0
  75. package/vscode/src/vs/platform/agentHost/common/worktreePaths.d.ts +24 -0
  76. package/vscode/src/vs/platform/agentHost/common/worktreePaths.js +15 -0
  77. package/vscode/src/vs/platform/browserView/common/browserChatToolReferenceNames.d.ts +1 -1
  78. package/vscode/src/vs/platform/chat/common/aiAgentEnv.d.ts +18 -0
  79. package/vscode/src/vs/platform/chat/common/aiAgentEnv.js +6 -0
  80. package/vscode/src/vs/platform/networkFilter/common/domainMatcher.d.ts +5 -1
  81. package/vscode/src/vs/platform/networkFilter/common/domainMatcher.js +77 -5
  82. package/vscode/src/vs/platform/networkFilter/common/networkFilterService.d.ts +1 -1
  83. package/vscode/src/vs/platform/networkFilter/common/networkFilterService.js +9 -5
  84. package/vscode/src/vs/platform/networkFilter/common/settings.d.ts +1 -5
  85. package/vscode/src/vs/platform/networkFilter/common/settings.js +0 -4
  86. package/vscode/src/vs/platform/sandbox/common/terminalSandboxEngine.d.ts +19 -7
  87. package/vscode/src/vs/platform/sandbox/common/terminalSandboxEngine.js +49 -37
  88. package/vscode/src/vs/platform/sandbox/common/terminalSandboxReadAllowList.d.ts +2 -1
  89. package/vscode/src/vs/platform/sandbox/common/terminalSandboxReadAllowList.js +12 -0
  90. package/vscode/src/vs/platform/sandbox/common/terminalSandboxRuntimeConfigurationPerOperation.js +1 -2
  91. package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.d.ts +1 -0
  92. package/vscode/src/vs/platform/terminal/common/autoApprove/autoApproveParseSafety.d.ts +5 -0
  93. package/vscode/src/vs/platform/terminal/common/autoApprove/autoApproveParseSafety.js +7 -0
  94. package/vscode/src/vs/platform/terminal/common/autoApprove/cmdDelayedExpansion.d.ts +5 -0
  95. package/vscode/src/vs/platform/terminal/common/autoApprove/cmdDelayedExpansion.js +8 -0
  96. package/vscode/src/vs/{workbench/contrib/terminalContrib/chatAgentTools/browser/commandParsers → platform/terminal/common/autoApprove}/sedFileWriteParser.d.ts +1 -2
  97. package/vscode/src/vs/workbench/browser/chatChangesPill.d.ts +29 -0
  98. package/vscode/src/vs/workbench/browser/chatChangesPill.js +84 -0
  99. package/vscode/src/vs/workbench/common/chatPullRequest.d.ts +19 -0
  100. package/vscode/src/vs/workbench/common/chatPullRequest.js +53 -0
  101. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoice.contribution.js +342 -155
  102. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceSessionsPicker.js +2 -2
  103. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidget.d.ts +25 -2
  104. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidget.js +150 -67
  105. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidgetBinding.js +5 -3
  106. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWindowService.d.ts +5 -1
  107. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWindowService.js +39 -9
  108. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/confirmationComponent.d.ts +1 -1
  109. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/confirmationComponent.js +3 -3
  110. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/feedbackDialog.js +6 -6
  111. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/headerComponent.d.ts +4 -2
  112. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/headerComponent.js +54 -17
  113. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/onboardingComponent.js +11 -11
  114. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/sessionListComponent.d.ts +1 -1
  115. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/sessionListComponent.js +9 -9
  116. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/statusRowsComponent.d.ts +1 -1
  117. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/statusRowsComponent.js +5 -5
  118. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/tokens.d.ts +6 -0
  119. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/tokens.js +5 -1
  120. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/transcriptComponent.d.ts +1 -1
  121. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/voiceBarComponent.d.ts +1 -1
  122. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/voiceBarComponent.js +2 -2
  123. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/media/voiceModeOnboarding.css +252 -0
  124. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscripts.contribution.js +13 -13
  125. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscriptsView.js +7 -7
  126. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/voiceModeOnboarding.d.ts +146 -0
  127. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/voiceModeOnboarding.js +889 -0
  128. package/vscode/src/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.js +2 -2
  129. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.d.ts +2 -7
  130. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.js +3 -54
  131. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.d.ts +32 -3
  132. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.js +214 -161
  133. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +10 -9
  134. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.d.ts +2 -1
  135. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +256 -72
  136. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAgentRecommendationActions.js +1 -1
  137. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.d.ts +2 -1
  138. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +11 -12
  139. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +19 -15
  140. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +30 -14
  141. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +19 -10
  142. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +9 -9
  143. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +2 -2
  144. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFindActions.d.ts +6 -0
  145. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFindActions.js +237 -0
  146. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +7 -6
  147. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatLanguageModelActions.js +13 -13
  148. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +10 -10
  149. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatNewActions.d.ts +6 -0
  150. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatNewActions.js +68 -61
  151. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatOpenAgentDebugPanelAction.js +17 -21
  152. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPluginActions.js +17 -21
  153. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPromptNavigationActions.js +2 -2
  154. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQueueActions.d.ts +5 -0
  155. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQueueActions.js +68 -14
  156. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
  157. package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +21 -19
  158. package/vscode/src/vs/workbench/contrib/chat/browser/actions/createPluginAction.d.ts +7 -2
  159. package/vscode/src/vs/workbench/contrib/chat/browser/actions/createPluginAction.js +222 -72
  160. package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.d.ts +64 -17
  161. package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.js +530 -305
  162. package/vscode/src/vs/workbench/contrib/chat/browser/actions/openAgentHostStateFileAction.d.ts +25 -0
  163. package/vscode/src/vs/workbench/contrib/chat/browser/actions/openAgentHostStateFileAction.js +63 -0
  164. package/vscode/src/vs/workbench/contrib/chat/browser/agentHostCompletionAction.d.ts +30 -0
  165. package/vscode/src/vs/workbench/contrib/chat/browser/agentHostCompletionAction.js +37 -0
  166. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginCommands.d.ts +6 -0
  167. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginCommands.js +95 -0
  168. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditor.js +10 -6
  169. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditorInput.js +2 -2
  170. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginItems.d.ts +2 -1
  171. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.d.ts +18 -1
  172. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.js +86 -47
  173. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.js +61 -47
  174. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.d.ts +43 -24
  175. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.js +326 -76
  176. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.d.ts +112 -5
  177. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.js +33 -7
  178. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostImportConversationStore.d.ts +20 -0
  179. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostImportConversationStore.js +26 -0
  180. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalCustomizations.d.ts +28 -10
  181. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalCustomizations.js +110 -126
  182. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupport.d.ts +131 -0
  183. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupport.js +638 -0
  184. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupportScope.d.ts +41 -0
  185. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupportScope.js +202 -0
  186. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostModeSynchronizer.d.ts +24 -1
  187. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostModeSynchronizer.js +26 -5
  188. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPermissionUiContribution.js +10 -7
  189. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostProtectedResourcesService.d.ts +20 -0
  190. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostProtectedResourcesService.js +55 -0
  191. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostResponseFileChanges.d.ts +62 -0
  192. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostResponseFileChanges.js +40 -0
  193. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionInputPills.d.ts +59 -0
  194. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionInputPills.js +624 -0
  195. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectorySynchronizer.d.ts +90 -0
  196. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectorySynchronizer.js +207 -0
  197. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostShellInitSynchronizer.d.ts +31 -0
  198. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostShellInitSynchronizer.js +140 -0
  199. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolSetEnablementService.d.ts +4 -0
  200. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolSetEnablementService.js +5 -1
  201. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolUtils.js +5 -4
  202. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.d.ts +74 -5
  203. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.js +511 -171
  204. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSessionConfig.d.ts +32 -0
  205. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSessionConfig.js +48 -0
  206. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/syncedCustomizationBundler.d.ts +55 -6
  207. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/syncedCustomizationBundler.js +210 -20
  208. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.js +43 -24
  209. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.d.ts +46 -10
  210. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.js +216 -110
  211. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.d.ts +9 -4
  212. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.js +26 -17
  213. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjection.js +1 -1
  214. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionActions.js +4 -4
  215. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.js +1 -1
  216. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionsExperiments.contribution.js +4 -4
  217. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.js +30 -26
  218. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/media/agenttitlebarstatuswidget.css +5 -2
  219. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/media/unifiedQuickAccess.css +6 -6
  220. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccess.js +17 -17
  221. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccessActions.js +4 -4
  222. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/externalSessionsFilterMenu.d.ts +3 -0
  223. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/externalSessionsFilterMenu.js +62 -0
  224. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/sessionSummaryHover.css +104 -0
  225. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/sessionSummaryHover.d.ts +115 -0
  226. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/sessionSummaryHover.js +168 -0
  227. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/sessionSummaryHoverService.d.ts +24 -0
  228. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/sessionSummaryHoverService.js +32 -0
  229. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessionsConfiguration.js +56 -0
  230. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationIcons.d.ts +0 -4
  231. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationIcons.js +16 -17
  232. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.d.ts +7 -3
  233. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.js +1 -0
  234. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel.d.ts +2 -0
  235. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel.js +10 -1
  236. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.d.ts +48 -1
  237. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.js +913 -220
  238. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.d.ts +1 -1
  239. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.js +148 -84
  240. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.d.ts +161 -17
  241. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.js +2367 -247
  242. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditorInput.d.ts +5 -2
  243. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditorInput.js +21 -13
  244. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementSectionRegistry.d.ts +26 -0
  245. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementSectionRegistry.js +34 -0
  246. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationPresentation.d.ts +2 -0
  247. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationPresentation.js +23 -0
  248. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePage.d.ts +15 -0
  249. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePage.js +3 -0
  250. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePagePromptLaunchers.d.ts +10 -2
  251. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePagePromptLaunchers.js +143 -68
  252. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.d.ts +1 -0
  253. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.js +10 -5
  254. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationCardList.d.ts +40 -0
  255. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationCardList.js +302 -0
  256. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationCreatorService.d.ts +1 -2
  257. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationCreatorService.js +49 -8
  258. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationGroupHeaderRenderer.js +3 -3
  259. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigration.d.ts +38 -0
  260. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigration.js +240 -0
  261. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationAccessibility.d.ts +1 -0
  262. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationAccessibility.js +53 -0
  263. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationCategories.d.ts +82 -0
  264. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationCategories.js +762 -0
  265. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationDashboard.d.ts +80 -0
  266. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationDashboard.js +279 -0
  267. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationServiceImpl.d.ts +44 -0
  268. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationServiceImpl.js +437 -0
  269. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedAgentPluginDetail.d.ts +85 -6
  270. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedAgentPluginDetail.js +697 -15
  271. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedExtensionToolsDetail.js +7 -7
  272. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedMcpServerDetail.d.ts +40 -10
  273. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedMcpServerDetail.js +164 -42
  274. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/galleryItemRenderer.js +6 -9
  275. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.d.ts +260 -31
  276. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.js +2097 -589
  277. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpServerCustomizationMigration.d.ts +32 -0
  278. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpServerCustomizationMigration.js +860 -0
  279. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationManagement.css +2229 -1338
  280. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationWelcomePromptLaunchers.css +79 -26
  281. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/media/customizationMigrationDashboard.css +354 -0
  282. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.d.ts +85 -9
  283. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.js +1550 -357
  284. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/promptsServiceCustomizationItemProvider.d.ts +2 -4
  285. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/promptsServiceCustomizationItemProvider.js +13 -27
  286. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/toolsListWidget.d.ts +38 -26
  287. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/toolsListWidget.js +637 -319
  288. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.js +28 -10
  289. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatPasteTargetService.d.ts +10 -0
  290. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatPasteTargetService.js +22 -0
  291. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatReferenceAttachmentWidget.contribution.d.ts +15 -0
  292. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatReferenceAttachmentWidget.contribution.js +38 -0
  293. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/transcriptContextAttachmentWidget.contribution.d.ts +8 -0
  294. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/transcriptContextAttachmentWidget.contribution.js +38 -0
  295. package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +4 -1
  296. package/vscode/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.js +1675 -633
  297. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.d.ts +93 -6
  298. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.js +823 -52
  299. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostLogSources.d.ts +132 -0
  300. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostLogSources.js +446 -0
  301. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostUsageSidecar.d.ts +183 -0
  302. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostUsageSidecar.js +218 -0
  303. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatCustomizationDiscoveryRenderer.js +45 -42
  304. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheExplorerView.d.ts +11 -0
  305. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheExplorerView.js +163 -136
  306. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheInsights.js +72 -72
  307. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugDetailPanel.js +7 -7
  308. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditor.d.ts +22 -2
  309. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditor.js +105 -14
  310. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditorInput.js +2 -2
  311. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEnablement.d.ts +32 -0
  312. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEnablement.js +49 -0
  313. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventDetailRenderer.js +20 -20
  314. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventList.js +7 -7
  315. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFilters.js +4 -4
  316. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowChartView.js +7 -7
  317. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowGraph.js +27 -22
  318. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHomeView.d.ts +6 -0
  319. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHomeView.js +22 -23
  320. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHookContentRenderer.js +17 -17
  321. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugLogsView.js +25 -25
  322. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugMessageContentRenderer.js +8 -8
  323. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugModelTurnContentRenderer.js +23 -23
  324. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugOverviewView.d.ts +7 -2
  325. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugOverviewView.js +76 -43
  326. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugToolCallContentRenderer.js +11 -11
  327. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugTypes.d.ts +3 -2
  328. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugTypes.js +1 -0
  329. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugWireLogView.d.ts +145 -0
  330. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugWireLogView.js +839 -0
  331. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/media/chatDebug.css +277 -3
  332. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +1 -1
  333. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.d.ts +6 -6
  334. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +14 -14
  335. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +8 -8
  336. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.js +3 -3
  337. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.js +16 -16
  338. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.d.ts +4 -4
  339. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +2 -2
  340. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +8 -4
  341. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +1 -1
  342. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.d.ts +6 -3
  343. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +35 -19
  344. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +16 -9
  345. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSessionStorage.js +4 -3
  346. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.d.ts +4 -4
  347. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/media/chatEditingEditorOverlay.css +4 -0
  348. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/media/chatEditingExplanationWidget.css +7 -2
  349. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +1 -1
  350. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/notebookCellChanges.d.ts +5 -5
  351. package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.js +3 -3
  352. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPills.d.ts +86 -0
  353. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPills.js +282 -0
  354. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +14 -10
  355. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +2 -2
  356. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsViewModel.d.ts +5 -0
  357. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsViewModel.js +37 -25
  358. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.d.ts +7 -5
  359. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.js +135 -82
  360. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/media/chatModelsWidget.css +22 -3
  361. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutlineCreator.d.ts +17 -0
  362. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutlineCreator.js +28 -0
  363. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +5 -5
  364. package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +32 -32
  365. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementPreview.d.ts +7 -0
  366. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementPreview.js +114 -0
  367. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievements.contribution.d.ts +45 -0
  368. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievements.contribution.js +326 -0
  369. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditor.d.ts +33 -0
  370. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditor.js +99 -0
  371. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditorInput.d.ts +17 -0
  372. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditorInput.js +46 -0
  373. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsWidget.d.ts +27 -0
  374. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsWidget.js +301 -0
  375. package/vscode/src/vs/workbench/contrib/chat/browser/chatPromoNotification.d.ts +22 -0
  376. package/vscode/src/vs/workbench/contrib/chat/browser/chatPromoNotification.js +103 -0
  377. package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotaNotification.d.ts +9 -36
  378. package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotaNotification.js +103 -196
  379. package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.js +2 -2
  380. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +36 -30
  381. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.d.ts +2 -0
  382. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.js +51 -12
  383. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupGrowthSession.js +6 -6
  384. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.js +31 -27
  385. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.d.ts +65 -20
  386. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +291 -138
  387. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/media/chatSetup.css +9 -0
  388. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/media/microsoft-dark.svg +1 -0
  389. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/media/microsoft-light.svg +1 -0
  390. package/vscode/src/vs/workbench/contrib/chat/browser/chatSideChat.d.ts +9 -0
  391. package/vscode/src/vs/workbench/contrib/chat/browser/chatSideChat.js +24 -0
  392. package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.d.ts +2 -1
  393. package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.js +59 -35
  394. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.d.ts +7 -2
  395. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.js +221 -145
  396. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.js +15 -29
  397. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/media/chatStatus.css +21 -3
  398. package/vscode/src/vs/workbench/contrib/chat/browser/chatSubmitRequestHandlerService.d.ts +22 -0
  399. package/vscode/src/vs/workbench/contrib/chat/browser/chatSubmitRequestHandlerService.js +27 -0
  400. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipCatalog.d.ts +9 -0
  401. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipCatalog.js +23 -21
  402. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.d.ts +6 -1
  403. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.js +62 -6
  404. package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.d.ts +15 -1
  405. package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.js +97 -8
  406. package/vscode/src/vs/workbench/contrib/chat/browser/claudePluginRecommendations.js +2 -2
  407. package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContext.contribution.js +6 -6
  408. package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContextService.d.ts +11 -2
  409. package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContextService.js +24 -16
  410. package/vscode/src/vs/workbench/contrib/chat/browser/defaultModelContribution.js +5 -5
  411. package/vscode/src/vs/workbench/contrib/chat/browser/enablementStatusWidget.js +2 -2
  412. package/vscode/src/vs/workbench/contrib/chat/browser/expNotification/chatExpNotificationConfig.d.ts +44 -0
  413. package/vscode/src/vs/workbench/contrib/chat/browser/expNotification/chatExpNotificationConfig.js +232 -0
  414. package/vscode/src/vs/workbench/contrib/chat/browser/expNotification/chatExpNotificationContribution.d.ts +36 -0
  415. package/vscode/src/vs/workbench/contrib/chat/browser/expNotification/chatExpNotificationContribution.js +127 -0
  416. package/vscode/src/vs/workbench/contrib/chat/browser/exploreAgentDefaultModel.js +1 -1
  417. package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatModelFeedbackSurveyPromptContribution.d.ts +18 -0
  418. package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatModelFeedbackSurveyPromptContribution.js +55 -0
  419. package/vscode/src/vs/workbench/contrib/chat/browser/hasByokModelsContribution.js +4 -3
  420. package/vscode/src/vs/workbench/contrib/chat/browser/languageModelsConfigurationService.js +1 -1
  421. package/vscode/src/vs/workbench/contrib/chat/browser/media/chatPetAchievements.css +236 -0
  422. package/vscode/src/vs/workbench/contrib/chat/browser/planAgentDefaultModel.js +1 -1
  423. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorOverlay.d.ts +9 -0
  424. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorOverlay.js +260 -0
  425. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackService.d.ts +39 -5
  426. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackService.js +155 -56
  427. package/vscode/src/vs/workbench/contrib/chat/browser/pluginAutoUpdate.d.ts +10 -14
  428. package/vscode/src/vs/workbench/contrib/chat/browser/pluginAutoUpdate.js +29 -14
  429. package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.d.ts +2 -0
  430. package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.js +76 -24
  431. package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.d.ts +1 -1
  432. package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.js +53 -32
  433. package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.d.ts +1 -1
  434. package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.js +17 -17
  435. package/vscode/src/vs/workbench/contrib/chat/browser/pluginUrlHandler.js +8 -7
  436. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.d.ts +1 -1
  437. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +29 -71
  438. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookActions.d.ts +3 -0
  439. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookActions.js +36 -40
  440. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookUtils.d.ts +3 -0
  441. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookUtils.js +5 -5
  442. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +2 -2
  443. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolSetsCodeLensProvider.js +2 -2
  444. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolsCodeLensProvider.js +2 -2
  445. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptUrlHandler.js +8 -8
  446. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/runPromptAction.js +9 -16
  447. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveAsPromptFileActions.js +3 -3
  448. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/skillActions.js +5 -13
  449. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/media/promptTimeline.css +820 -0
  450. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptBucketing.d.ts +38 -0
  451. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptBucketing.js +100 -0
  452. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimeline.contribution.d.ts +1 -0
  453. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimeline.contribution.js +51 -0
  454. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineCard.d.ts +30 -0
  455. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineCard.js +113 -0
  456. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineGutterRail.d.ts +146 -0
  457. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineGutterRail.js +440 -0
  458. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineLayout.d.ts +16 -0
  459. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineLayout.js +5 -0
  460. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineModel.d.ts +194 -0
  461. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineModel.js +525 -0
  462. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineRail.d.ts +33 -0
  463. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineRulerRail.d.ts +128 -0
  464. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineRulerRail.js +460 -0
  465. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineStickyHeader.d.ts +38 -0
  466. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineStickyHeader.js +120 -0
  467. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineWidgetContrib.d.ts +53 -0
  468. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineWidgetContrib.js +160 -0
  469. package/vscode/src/vs/workbench/contrib/chat/browser/promptsDebugContribution.js +25 -22
  470. package/vscode/src/vs/workbench/contrib/chat/browser/sessionChatPillOptions.d.ts +13 -0
  471. package/vscode/src/vs/workbench/contrib/chat/browser/sessionChatPillOptions.js +52 -0
  472. package/vscode/src/vs/workbench/contrib/chat/browser/sessionPullRequestPill.d.ts +22 -0
  473. package/vscode/src/vs/workbench/contrib/chat/browser/sessionPullRequestPill.js +58 -0
  474. package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/voiceCodeTranscriptionClient.d.ts +63 -0
  475. package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/voiceCodeTranscriptionClient.js +361 -0
  476. package/vscode/src/vs/workbench/contrib/chat/browser/telemetry/chatEditorTopologyTelemetry.d.ts +35 -0
  477. package/vscode/src/vs/workbench/contrib/chat/browser/telemetry/chatEditorTopologyTelemetry.js +90 -0
  478. package/vscode/src/vs/workbench/contrib/chat/browser/tools/clientToolSetsContribution.js +25 -18
  479. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.d.ts +3 -1
  480. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.js +77 -41
  481. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.js +60 -43
  482. package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.d.ts +4 -1
  483. package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.js +60 -16
  484. package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolHelpers.d.ts +10 -8
  485. package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolHelpers.js +13 -4
  486. package/vscode/src/vs/workbench/contrib/chat/browser/tools/usagesTool.d.ts +3 -1
  487. package/vscode/src/vs/workbench/contrib/chat/browser/tools/usagesTool.js +44 -24
  488. package/vscode/src/vs/workbench/contrib/chat/browser/utilityModelContribution.js +4 -4
  489. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +5 -5
  490. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceClientService.d.ts +52 -6
  491. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceClientService.js +446 -79
  492. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceInputUtils.d.ts +11 -0
  493. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceInputUtils.js +13 -0
  494. package/vscode/src/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputMode.d.ts +66 -0
  495. package/vscode/src/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputMode.js +297 -0
  496. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentOpenChat.d.ts +137 -0
  497. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentOpenChat.js +714 -0
  498. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatSubagentOpenChat.css +379 -0
  499. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatFind/chatFindAccessibilityHelp.d.ts +10 -0
  500. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatFind/chatFindAccessibilityHelp.js +78 -0
  501. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPetWidgetService.d.ts +36 -0
  502. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPetWidgetService.js +172 -0
  503. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidgetService.d.ts +5 -1
  504. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidgetService.js +8 -1
  505. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNoticeHub.d.ts +15 -0
  506. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNoticeHub.js +30 -0
  507. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.d.ts +11 -1
  508. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.js +41 -13
  509. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletions.d.ts +5 -2
  510. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletions.js +133 -3
  511. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletionsBase.d.ts +3 -2
  512. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletionsBase.js +11 -2
  513. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatEditorInputContentProvider.js +4 -4
  514. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCommandArgumentHint.d.ts +1 -0
  515. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCommandArgumentHint.js +96 -0
  516. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletionUtils.d.ts +12 -0
  517. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletionUtils.js +36 -1
  518. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +67 -17
  519. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorContrib.js +23 -37
  520. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorHover.d.ts +18 -0
  521. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorHover.js +72 -3
  522. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputPlaceholderDecoration.d.ts +11 -0
  523. package/vscode/src/vs/workbench/contrib/{agentsVoice/common/agentsVoiceColors.js → chat/browser/widget/input/editor/chatInputPlaceholderDecoration.js} +17 -15
  524. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputReferenceDecorations.d.ts +3 -0
  525. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputReferenceDecorations.js +16 -0
  526. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/chatQuick.js +2 -2
  527. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.d.ts +6 -4
  528. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.js +21 -13
  529. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.d.ts +48 -8
  530. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.js +457 -142
  531. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.d.ts +1 -1
  532. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.js +22 -14
  533. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatViewPane.css +6 -22
  534. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationBlueprint.d.ts +22 -0
  535. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationBlueprint.js +163 -0
  536. package/vscode/src/vs/workbench/contrib/chat/common/chatDebugServiceImpl.d.ts +27 -5
  537. package/vscode/src/vs/workbench/contrib/chat/common/chatDebugServiceImpl.js +79 -32
  538. package/vscode/src/vs/workbench/contrib/chat/common/chatNotification.d.ts +6 -0
  539. package/vscode/src/vs/workbench/contrib/chat/common/chatNotification.js +12 -0
  540. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.d.ts +44 -11
  541. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.js +404 -51
  542. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceTelemetry.d.ts +64 -4
  543. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceTelemetry.js +33 -2
  544. package/vscode/src/vs/workbench/contrib/chat/common/chatSideChatService.d.ts +68 -0
  545. package/vscode/src/vs/workbench/contrib/chat/common/chatSideChatService.js +70 -0
  546. package/vscode/src/vs/workbench/contrib/chat/common/model/chatModelStore.d.ts +5 -2
  547. package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionOperationLog.js +18 -5
  548. package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.js +43 -14
  549. package/vscode/src/vs/workbench/contrib/chat/common/participants/chatSlashCommands.d.ts +4 -0
  550. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.d.ts +4 -9
  551. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.js +164 -71
  552. package/vscode/src/vs/workbench/contrib/chat/common/plugins/workspacePluginSettingsService.d.ts +1 -1
  553. package/vscode/src/vs/workbench/contrib/chat/common/plugins/workspacePluginSettingsService.js +1 -1
  554. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +18 -18
  555. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +12 -12
  556. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +5 -5
  557. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.js +12 -12
  558. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptLinkProvider.d.ts +3 -1
  559. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptLinkProvider.js +19 -10
  560. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.d.ts +3 -1
  561. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +172 -159
  562. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationService.d.ts +115 -0
  563. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationService.js +69 -0
  564. package/vscode/src/vs/workbench/contrib/chat/common/sessionChatPills.d.ts +60 -0
  565. package/vscode/src/vs/workbench/contrib/chat/common/sessionChatPills.js +139 -0
  566. package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
  567. package/vscode/src/vs/workbench/contrib/chat/common/voicePlaybackService.d.ts +5 -0
  568. package/vscode/src/vs/workbench/contrib/chat/common/voicePlaybackService.js +21 -1
  569. package/vscode/src/vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.d.ts +25 -2
  570. package/vscode/src/vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.js +55 -18
  571. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarousel.contribution.js +10 -10
  572. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditor.js +10 -10
  573. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditorInput.js +1 -1
  574. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +1 -0
  575. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +15 -15
  576. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatDefaultModel.js +2 -2
  577. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditReviewSession.d.ts +59 -0
  578. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditReviewSession.js +323 -0
  579. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionResolver.d.ts +30 -0
  580. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionResolver.js +79 -0
  581. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.d.ts +6 -2
  582. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +118 -13
  583. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.js +14 -14
  584. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.js +1 -1
  585. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +10 -10
  586. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +5 -5
  587. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +1 -1
  588. package/vscode/src/vs/workbench/contrib/remoteCodingAgents/browser/remoteCodingAgents.contribution.js +8 -8
  589. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminal.chat.contribution.js +1 -0
  590. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.d.ts +81 -0
  591. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +85 -0
  592. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.js +17 -17
  593. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibleView.js +1 -1
  594. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +23 -23
  595. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatEnabler.js +1 -1
  596. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatService.d.ts +17 -3
  597. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatService.js +81 -7
  598. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatSessionResolver.d.ts +30 -0
  599. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatSessionResolver.js +86 -0
  600. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.d.ts +10 -2
  601. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +97 -18
  602. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/agentHostSandboxForwarder.d.ts +2 -22
  603. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/agentHostSandboxForwarder.js +10 -8
  604. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/largeOutputFileWriter.js +2 -1
  605. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.d.ts +2 -0
  606. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +42 -36
  607. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalToolTelemetry.d.ts +8 -0
  608. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalToolTelemetry.js +10 -0
  609. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +4 -4
  610. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/toolTerminalCreator.js +2 -1
  611. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.js +1 -1
  612. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.js +25 -16
  613. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.js +4 -3
  614. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/consoleCompactor/consoleCompactor.d.ts +70 -0
  615. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/consoleCompactor/consoleCompactor.js +4316 -0
  616. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalLastCommandTool.js +3 -3
  617. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.js +3 -3
  618. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.js +3 -3
  619. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/killTerminalTool.js +3 -3
  620. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.d.ts +4 -4
  621. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.js +3 -3
  622. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +4 -4
  623. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.d.ts +6 -1
  624. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +188 -148
  625. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sendToTerminalTool.js +10 -10
  626. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +14 -14
  627. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +7 -7
  628. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +14 -14
  629. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.js +1 -1
  630. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/treeSitterCommandParser.d.ts +7 -0
  631. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/treeSitterCommandParser.js +82 -3
  632. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/sandboxSettingsReader.d.ts +5 -6
  633. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/sandboxSettingsReader.js +5 -42
  634. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalOutput.d.ts +2 -0
  635. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalOutput.js +8 -0
  636. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.d.ts +1 -0
  637. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.js +27 -8
  638. package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.d.ts +205 -0
  639. package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +1580 -0
  640. package/vscode/src/vs/workbench/services/agentEditorComments/browser/agentEditorCommentsOverlayWidget.d.ts +30 -0
  641. package/vscode/src/vs/workbench/services/agentEditorComments/browser/agentEditorCommentsOverlayWidget.js +175 -0
  642. package/vscode/src/vs/workbench/services/agentEditorComments/browser/media/agentEditorCommentsOverlayWidget.css +65 -0
  643. package/vscode/src/vs/workbench/services/agentHost/browser/agentSdkSetupService.d.ts +47 -0
  644. package/vscode/src/vs/workbench/services/agentHost/browser/agentSdkSetupService.js +129 -0
  645. package/vscode/src/vs/workbench/services/agentHost/browser/editorRemoteAgentHostServiceClient.d.ts +26 -8
  646. package/vscode/src/vs/workbench/services/agentHost/browser/editorRemoteAgentHostServiceClient.js +89 -27
  647. package/vscode/src/vs/workbench/services/agentHost/browser/webAgentHostEnablementService.d.ts +8 -0
  648. package/vscode/src/vs/workbench/services/agentHost/browser/webAgentHostEnablementService.js +28 -0
  649. package/vscode/src/vs/workbench/services/agentHost/common/agentHostFileSystemService.js +5 -1
  650. package/vscode/src/vs/workbench/services/agentHost/common/agentHostResourceService.d.ts +18 -18
  651. package/vscode/src/vs/workbench/services/agentHost/common/agentHostResourceService.js +159 -60
  652. package/vscode/src/vs/workbench/services/agentHost/common/editorRemoteAgentHostTransport.d.ts +47 -0
  653. package/vscode/src/vs/workbench/services/agentHost/common/editorRemoteAgentHostTransport.js +362 -0
  654. package/vscode/src/vs/platform/agentHost/browser/agentHost.config.contribution.d.ts +0 -1
  655. package/vscode/src/vs/platform/agentHost/browser/agentHost.config.contribution.js +0 -40
  656. package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostProtocolClient.js +0 -1110
  657. package/vscode/src/vs/platform/agentHost/common/agentHost.config.contribution.js +0 -76
  658. package/vscode/src/vs/platform/agentHost/common/agentHostResourceService.d.ts +0 -63
  659. package/vscode/src/vs/platform/agentHost/common/agentHostResourceService.js +0 -25
  660. package/vscode/src/vs/platform/agentHost/common/agentHostSchema.d.ts +0 -254
  661. package/vscode/src/vs/platform/agentHost/common/agentHostSchema.js +0 -451
  662. package/vscode/src/vs/platform/agentHost/common/agentService.d.ts +0 -1294
  663. package/vscode/src/vs/platform/agentHost/common/agentService.js +0 -92
  664. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/errors.d.ts +0 -186
  665. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/errors.js +0 -10
  666. package/vscode/src/vs/platform/agentHost/common/state/sessionTransport.d.ts +0 -42
  667. package/vscode/src/vs/platform/agentHost/common/state/sessionTransport.js +0 -7
  668. package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoice.d.ts +0 -15
  669. package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoice.js +0 -15
  670. package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoiceColors.d.ts +0 -2
  671. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatForkActions.d.ts +0 -19
  672. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatForkActions.js +0 -243
  673. package/vscode/src/vs/workbench/contrib/chat/browser/actions/openCopilotCliStateFileAction.d.ts +0 -24
  674. package/vscode/src/vs/workbench/contrib/chat/browser/actions/openCopilotCliStateFileAction.js +0 -77
  675. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginActions.d.ts +0 -92
  676. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginActions.js +0 -224
  677. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostNewSessionFolderService.d.ts +0 -23
  678. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostNewSessionFolderService.js +0 -52
  679. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsQuickAccess.d.ts +0 -16
  680. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsQuickAccess.js +0 -96
  681. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentDisabledInputTipContribution.d.ts +0 -27
  682. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentDisabledInputTipContribution.js +0 -152
  683. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/automationsListWidget.d.ts +0 -87
  684. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/automationsListWidget.js +0 -772
  685. package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.d.ts +0 -30
  686. package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.js +0 -29
  687. package/vscode/src/vs/workbench/contrib/chat/browser/enablementActions.d.ts +0 -20
  688. package/vscode/src/vs/workbench/contrib/chat/browser/enablementActions.js +0 -40
  689. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/media/planReviewFeedback.css +0 -160
  690. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorActions.d.ts +0 -9
  691. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorActions.js +0 -123
  692. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorContribution.d.ts +0 -37
  693. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorContribution.js +0 -572
  694. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.d.ts +0 -125
  695. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.js +0 -399
  696. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.d.ts +0 -321
  697. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.js +0 -2117
  698. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService.d.ts +0 -57
  699. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService.js +0 -367
  700. package/vscode/src/vs/workbench/contrib/chat/common/automations/automation.d.ts +0 -78
  701. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationDialogService.d.ts +0 -13
  702. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationDialogService.service.d.ts +0 -11
  703. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationDialogService.service.js +0 -6
  704. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationRunner.service.d.ts +0 -16
  705. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationRunner.service.js +0 -6
  706. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationService.d.ts +0 -46
  707. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationService.service.d.ts +0 -36
  708. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationService.service.js +0 -6
  709. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationsEnabled.d.ts +0 -12
  710. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationsEnabled.js +0 -6
  711. package/vscode/src/vs/workbench/contrib/chat/common/automations/schedule.d.ts +0 -9
  712. package/vscode/src/vs/workbench/contrib/chat/common/automations/schedule.js +0 -6
  713. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.d.ts +0 -15
  714. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.js +0 -177
  715. package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.d.ts +0 -67
  716. package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.js +0 -195
  717. package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.d.ts +0 -65
  718. package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.js +0 -264
  719. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.d.ts +0 -190
  720. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.js +0 -865
  721. package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.d.ts +0 -31
  722. package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.js +0 -122
  723. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/commandParsers/commandFileWriteParser.d.ts +0 -24
  724. /package/vscode/src/vs/{workbench/contrib/terminalContrib/chatAgentTools/browser/commandParsers → platform/terminal/common/autoApprove}/sedFileWriteParser.js +0 -0
  725. /package/vscode/src/vs/{platform/agentHost/common/agentHost.config.contribution.d.ts → workbench/contrib/chat/browser/agentSessionsConfiguration.d.ts} +0 -0
@@ -150,7 +150,7 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
150
150
  return;
151
151
  }
152
152
  const sessionTitle = this.chatService.getSessionTitle(this.currentSessionResource) || LocalChatSessionUri.parseLocalSessionId(this.currentSessionResource) || ( this.currentSessionResource.toString());
153
- this.breadcrumbWidget.setItems([( new TextBreadcrumbItem(( localize(6556, "Agent Debug Logs")), true)), ( new TextBreadcrumbItem(sessionTitle, true)), ( new TextBreadcrumbItem(( localize(6557, "Cache Explorer"))))]);
153
+ this.breadcrumbWidget.setItems([( new TextBreadcrumbItem(( localize(7615, "Agent Debug Logs")), true)), ( new TextBreadcrumbItem(sessionTitle, true)), ( new TextBreadcrumbItem(( localize(7616, "Cache Explorer"))))]);
154
154
  }
155
155
  async render() {
156
156
  const token = ++this.renderToken;
@@ -173,7 +173,7 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
173
173
  this.contentDisposables.clear();
174
174
  clearNode(this.content);
175
175
  const empty = append(this.content, $(".chat-debug-cache-empty"));
176
- empty.textContent = ( localize(6558, "No model turns recorded for this session yet."));
176
+ empty.textContent = ( localize(7617, "No model turns recorded for this session yet."));
177
177
  return;
178
178
  }
179
179
  const agentCounts = computeAgentCounts(this.allModelTurns);
@@ -186,7 +186,7 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
186
186
  this.contentDisposables.clear();
187
187
  clearNode(this.content);
188
188
  const empty = append(this.content, $(".chat-debug-cache-empty"));
189
- empty.textContent = ( localize(6559, "No model turns match the selected agent filter."));
189
+ empty.textContent = ( localize(7618, "No model turns match the selected agent filter."));
190
190
  return;
191
191
  }
192
192
  if (this.pendingSelectTurn) {
@@ -232,6 +232,14 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
232
232
  if (report && report.pairCount > 0) {
233
233
  this.renderSessionHealth(append(this.content, $(".chat-debug-cache-session-health")), report);
234
234
  }
235
+ const hasSignatureData = !!(a.system || a.tools || a.inputMessages.length || b.system || b.tools || b.inputMessages.length);
236
+ if (!hasSignatureData) {
237
+ this.renderTokenOnlySummary(a, b);
238
+ if (preserveScroll) {
239
+ this.content.scrollTop = prevScroll;
240
+ }
241
+ return;
242
+ }
235
243
  const compareInputMessages = shouldCompareInputMessages(a, b);
236
244
  const diff = compareInputMessages ? diffPromptSignature(a.inputMessages, b.inputMessages) : diffPromptSignature([], []);
237
245
  const drift = appendToolsDrift(appendSystemDrift([...diff.drift], a.system, b.system), a.tools, b.tools);
@@ -337,13 +345,13 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
337
345
  return report;
338
346
  }
339
347
  renderSessionHealth(container, report) {
340
- append(container, $(".chat-debug-cache-card-h", undefined, ( localize(6560, "Session cache health"))));
348
+ append(container, $(".chat-debug-cache-card-h", undefined, ( localize(7619, "Session cache health"))));
341
349
  if (report.overall) {
342
350
  const headline = append(container, $(".chat-debug-cache-card-headline"));
343
- headline.textContent = ( localize(6561, "{0}% overall cache hit", formatCachePct(report.overall.hitPct)));
351
+ headline.textContent = ( localize(7620, "{0}% overall cache hit", formatCachePct(report.overall.hitPct)));
344
352
  const sub = append(container, $(".chat-debug-cache-card-sub"));
345
353
  sub.textContent = ( localize(
346
- 6562,
354
+ 7621,
347
355
  "{0} of {1} input tokens served from cache across {2} requests (token-weighted)",
348
356
  numberFormatter.value.format(report.overall.cachedTokens),
349
357
  numberFormatter.value.format(report.overall.inputTokens),
@@ -352,13 +360,13 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
352
360
  }
353
361
  const statsLine = append(container, $(".chat-debug-cache-session-health-stats"));
354
362
  statsLine.textContent = report.avoidableLostTokens > 0 ? ( localize(
355
- 6563,
363
+ 7622,
356
364
  "{0} of {1} request pairs healthy · ~{2} tokens recomputed avoidably",
357
365
  report.healthyCount,
358
366
  report.pairCount,
359
367
  numberFormatter.value.format(report.avoidableLostTokens)
360
368
  )) : ( localize(
361
- 6564,
369
+ 7623,
362
370
  "{0} of {1} request pairs healthy",
363
371
  report.healthyCount,
364
372
  report.pairCount
@@ -374,7 +382,7 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
374
382
  "aria-hidden": "true"
375
383
  }));
376
384
  append(chip, $("span", undefined, ( localize(
377
- 6565,
385
+ 7624,
378
386
  "{0} ×{1} · {2} tok",
379
387
  cacheBreakCategoryLabel(stat.category),
380
388
  stat.count,
@@ -431,10 +439,10 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
431
439
  const selected = this.selectedAgents ?? ( new Set(agents));
432
440
  const selectedCount = agents.filter(a => ( selected.has(a))).length;
433
441
  const label = append(this.railToolbar, $("span.chat-debug-cache-filter-label"));
434
- label.textContent = ( localize(6566, "Agent"));
442
+ label.textContent = ( localize(7625, "Agent"));
435
443
  const button = append(this.railToolbar, $("button.chat-debug-cache-filter-button"));
436
444
  button.setAttribute("aria-haspopup", "menu");
437
- const summary = selectedCount === agents.length ? ( localize(6567, "All agents ({0})", agents.length)) : selectedCount === 1 ? agents.find(a => ( selected.has(a))) ?? "" : ( localize(6568, "{0} of {1} agents", selectedCount, agents.length));
445
+ const summary = selectedCount === agents.length ? ( localize(7626, "All agents ({0})", agents.length)) : selectedCount === 1 ? agents.find(a => ( selected.has(a))) ?? "" : ( localize(7627, "{0} of {1} agents", selectedCount, agents.length));
438
446
  const text = append(button, $("span.chat-debug-cache-filter-button-text"));
439
447
  text.textContent = summary;
440
448
  text.title = summary;
@@ -455,13 +463,13 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
455
463
  const selected = this.selectedAgents ?? ( new Set(agents));
456
464
  const agentActions = ( agents.map(agent => toAction({
457
465
  id: `chatDebug.cache.agent.${agent}`,
458
- label: ( localize(6569, "{0} ({1})", agent, agentCounts.get(agent) ?? 0)),
466
+ label: ( localize(7628, "{0} ({1})", agent, agentCounts.get(agent) ?? 0)),
459
467
  checked: ( selected.has(agent)),
460
468
  run: () => this.toggleAgent(agent)
461
469
  })));
462
470
  const selectAll = toAction({
463
471
  id: "chatDebug.cache.agentSelectAll",
464
- label: ( localize(6570, "Show All Agents")),
472
+ label: ( localize(7629, "Show All Agents")),
465
473
  run: () => this.setAgentSelection(( new Set(agents)))
466
474
  });
467
475
  this.contextMenuService.showContextMenu({
@@ -497,7 +505,7 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
497
505
  "aria-hidden": "true"
498
506
  }
499
507
  ));
500
- append(toggle, $("span", undefined, ( localize(6571, "Chunk breakdown"))));
508
+ append(toggle, $("span", undefined, ( localize(7630, "Chunk breakdown"))));
501
509
  this.contentDisposables.add(addDisposableListener(toggle, EventType.CLICK, () => {
502
510
  this.sigBreakdownOpen = !this.sigBreakdownOpen;
503
511
  const token = ++this.renderToken;
@@ -514,22 +522,22 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
514
522
  }));
515
523
  append(head, $(".cell.idx", {
516
524
  role: "columnheader"
517
- }, ( localize(6572, "#"))));
525
+ }, ( localize(7631, "#"))));
518
526
  append(head, $(".cell.chunk", {
519
527
  role: "columnheader"
520
- }, ( localize(6573, "Chunk"))));
528
+ }, ( localize(7632, "Chunk"))));
521
529
  append(head, $(".cell.num", {
522
530
  role: "columnheader"
523
- }, ( localize(6574, "Previous"))));
531
+ }, ( localize(7633, "Previous"))));
524
532
  append(head, $(".cell.num", {
525
533
  role: "columnheader"
526
- }, ( localize(6575, "Current"))));
534
+ }, ( localize(7634, "Current"))));
527
535
  append(head, $(".cell.num", {
528
536
  role: "columnheader"
529
- }, ( localize(6576, "≈ tok"))));
537
+ }, ( localize(7635, "≈ tok"))));
530
538
  append(head, $(".cell.num", {
531
539
  role: "columnheader"
532
- }, ( localize(6577, "% of current"))));
540
+ }, ( localize(7636, "% of current"))));
533
541
  rows.forEach((r, i) => {
534
542
  const row = append(table, $(".chat-debug-cache-sig-breakdown-row", {
535
543
  role: "row"
@@ -563,7 +571,7 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
563
571
  const pct = r.bChars !== undefined && totalB > 0 ? (r.bChars / totalB) * 100 : undefined;
564
572
  append(row, $(".cell.num", {
565
573
  role: "cell"
566
- }, pct !== undefined ? ( localize(6578, "{0}%", pct.toFixed(1))) : "—"));
574
+ }, pct !== undefined ? ( localize(7637, "{0}%", pct.toFixed(1))) : "—"));
567
575
  });
568
576
  const totals = append(table, $(".chat-debug-cache-sig-breakdown-row.total", {
569
577
  role: "row"
@@ -573,7 +581,7 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
573
581
  }, ""));
574
582
  append(totals, $(".cell.chunk", {
575
583
  role: "cell"
576
- }, ( localize(6579, "Total"))));
584
+ }, ( localize(7638, "Total"))));
577
585
  append(totals, $(".cell.num", {
578
586
  role: "cell"
579
587
  }, numberFormatter.value.format(totalA)));
@@ -585,7 +593,7 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
585
593
  }, bTokensPerChar !== undefined ? numberFormatter.value.format(Math.round(totalB * bTokensPerChar)) : "—"));
586
594
  append(totals, $(".cell.num", {
587
595
  role: "cell"
588
- }, ( localize(6578, "{0}%", "100"))));
596
+ }, ( localize(7637, "{0}%", "100"))));
589
597
  }
590
598
  async resolveSide(event) {
591
599
  let content;
@@ -635,7 +643,7 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
635
643
  append(gap, $("span.codicon.codicon-clock", {
636
644
  "aria-hidden": "true"
637
645
  }));
638
- append(gap, $("span", undefined, ( localize(6580, "{0} min idle · cache likely expired", gapMinutes.toFixed(1)))));
646
+ append(gap, $("span", undefined, ( localize(7639, "{0} min idle · cache likely expired", gapMinutes.toFixed(1)))));
639
647
  };
640
648
  for (const group of groups) {
641
649
  const collapsed = ( this.collapsedGroups.has(group.key));
@@ -650,16 +658,16 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
650
658
  header.tabIndex = 0;
651
659
  header.setAttribute("role", "button");
652
660
  header.setAttribute("aria-expanded", collapsed ? "false" : "true");
653
- header.title = ( localize(6581, "Toggle group"));
661
+ header.title = ( localize(7640, "Toggle group"));
654
662
  const topLine = append(header, $(".chat-debug-cache-group-top"));
655
663
  append(topLine, $("span.chat-debug-cache-group-chev"));
656
664
  const headerLine = append(topLine, $(".chat-debug-cache-group-prompt"));
657
- headerLine.textContent = group.userMessage?.message?.trim() || ( localize(6582, "(no prompt captured)"));
665
+ headerLine.textContent = group.userMessage?.message?.trim() || ( localize(7641, "(no prompt captured)"));
658
666
  const countBadge = append(topLine, $("span.chat-debug-cache-group-count"));
659
667
  countBadge.textContent = String(group.turns.length);
660
668
  const headerMeta = append(header, $(".chat-debug-cache-group-meta"));
661
669
  headerMeta.textContent = group.key;
662
- headerMeta.title = ( localize(6583, "Request id: {0}", group.key));
670
+ headerMeta.title = ( localize(7642, "Request id: {0}", group.key));
663
671
  const toggle = () => {
664
672
  if (( this.collapsedGroups.has(group.key))) {
665
673
  this.collapsedGroups.delete(group.key);
@@ -698,13 +706,13 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
698
706
  const main = append(row, $(".chat-debug-cache-turn-main"));
699
707
  const top = append(main, $(".chat-debug-cache-turn-top"));
700
708
  const source = append(top, $("span.chat-debug-cache-turn-source"));
701
- source.textContent = evt.requestName || ( localize(6584, "Model Turn"));
709
+ source.textContent = evt.requestName || ( localize(7643, "Model Turn"));
702
710
  if (evt.inputTokens) {
703
711
  const hit = computeCacheHit(evt);
704
712
  const hitChip = append(top, $(
705
713
  "span.chat-debug-cache-turn-chip.chat-debug-cache-turn-hit",
706
714
  undefined,
707
- ( localize(6585, "[cache {0}%]", formatCachePctInt(hit)))
715
+ ( localize(7644, "[cache {0}%]", formatCachePctInt(hit)))
708
716
  ));
709
717
  if (hit < 90) {
710
718
  hitChip.classList.add("is-bad");
@@ -712,7 +720,7 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
712
720
  }
713
721
  if (evt.durationInMillis !== undefined) {
714
722
  append(top, $("span.chat-debug-cache-turn-chip", undefined, ( localize(
715
- 6586,
723
+ 7645,
716
724
  "[{0}ms]",
717
725
  numberFormatter.value.format(Math.round(evt.durationInMillis))
718
726
  ))));
@@ -726,17 +734,17 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
726
734
  const sub = append(main, $(".chat-debug-cache-turn-sub"));
727
735
  sub.textContent = evt.model;
728
736
  }
729
- row.title = ( localize(6587, "Click to compare this request against the previous one"));
737
+ row.title = ( localize(7646, "Click to compare this request against the previous one"));
730
738
  row.tabIndex = 0;
731
739
  row.setAttribute("role", "button");
732
740
  if (i === this.selectedIndex) {
733
741
  row.setAttribute("aria-current", "true");
734
742
  }
735
743
  row.setAttribute("aria-label", ( localize(
736
- 6588,
744
+ 7647,
737
745
  "Turn {0}: {1}",
738
746
  i,
739
- evt.requestName ?? evt.model ?? ( localize(6584, "Model Turn"))
747
+ evt.requestName ?? evt.model ?? ( localize(7643, "Model Turn"))
740
748
  )));
741
749
  this.railDisposables.add(
742
750
  addDisposableListener(row, EventType.CLICK, () => this.selectTurn(i, {
@@ -763,36 +771,20 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
763
771
  renderTitleRow() {
764
772
  const titleRow = append(this.content, $(".chat-debug-cache-title-row"));
765
773
  const title = append(titleRow, $("h2.chat-debug-cache-title"));
766
- title.textContent = ( localize(6589, "Cache Explorer — Prefix Diff"));
774
+ title.textContent = ( localize(7648, "Cache Explorer — Prefix Diff"));
767
775
  }
768
776
  renderSummary(a, b, diff, compareInputMessages, insights, optionsDiff) {
769
777
  const row = append(this.content, $(".chat-debug-cache-summary"));
770
- row.appendChild(this.renderSideCard(a, ( localize(6590, "Previous request"))));
771
- row.appendChild(this.renderSideCard(b, ( localize(6591, "Request"))));
778
+ row.appendChild(this.renderSideCard(a, ( localize(7649, "Previous request"))));
779
+ row.appendChild(this.renderSideCard(b, ( localize(7650, "Request"))));
772
780
  const hit = computeCacheHit(b.event);
773
- const inputTokens = b.event.inputTokens ?? 0;
774
- const cachedTokens = b.event.cachedTokens ?? 0;
775
- const lostTokens = Math.max(0, inputTokens - cachedTokens);
776
781
  const breakCard = append(row, $(".chat-debug-cache-card.break"));
777
782
  breakCard.classList.add(`is-${maxInsightSeverity(insights)}`);
778
- append(breakCard, $(".chat-debug-cache-card-h", undefined, ( localize(6592, "Cache performance"))));
783
+ append(breakCard, $(".chat-debug-cache-card-h", undefined, ( localize(7651, "Cache performance"))));
779
784
  const primary = primaryInsight(insights);
780
785
  const headline = append(breakCard, $(".chat-debug-cache-card-headline"));
781
- headline.textContent = primary ? ( localize(6593, "{0}% cache hit — {1}", formatCachePct(hit), primary.title)) : ( localize(6594, "{0}% cache hit", formatCachePct(hit)));
782
- const counts = append(breakCard, $(".chat-debug-cache-card-sub"));
783
- counts.textContent = lostTokens > 0 && inputTokens > 0 ? ( localize(
784
- 6595,
785
- "{0} of {1} input tokens reused · {2} uncached ({3}%)",
786
- numberFormatter.value.format(cachedTokens),
787
- numberFormatter.value.format(inputTokens),
788
- numberFormatter.value.format(lostTokens),
789
- formatCachePct((lostTokens / inputTokens) * 100)
790
- )) : ( localize(
791
- 6596,
792
- "{0} of {1} input tokens reused",
793
- numberFormatter.value.format(cachedTokens),
794
- numberFormatter.value.format(inputTokens)
795
- ));
786
+ headline.textContent = primary ? ( localize(7652, "{0}% cache hit — {1}", formatCachePct(hit), primary.title)) : ( localize(7653, "{0}% cache hit", formatCachePct(hit)));
787
+ this.appendTokensReusedLine(breakCard, b.event);
796
788
  if (b.requestShape.description) {
797
789
  const shapeLine = append(
798
790
  breakCard,
@@ -801,33 +793,33 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
801
793
  shapeLine.textContent = b.requestShape.description;
802
794
  }
803
795
  append(breakCard, $(".chat-debug-cache-perf-rule"));
804
- append(breakCard, $(".chat-debug-cache-perf-section-h", undefined, ( localize(6597, "Findings"))));
796
+ append(breakCard, $(".chat-debug-cache-perf-section-h", undefined, ( localize(7654, "Findings"))));
805
797
  const list = append(breakCard, $(".chat-debug-cache-findings"));
806
798
  if (insights.length === 0) {
807
- append(list, $(".chat-debug-cache-finding-detail", undefined, ( localize(6598, "No findings for this request pair."))));
799
+ append(list, $(".chat-debug-cache-finding-detail", undefined, ( localize(7655, "No findings for this request pair."))));
808
800
  }
809
801
  for (const insight of insights) {
810
802
  this.renderFinding(list, insight);
811
803
  }
812
804
  if (compareInputMessages) {
813
805
  append(breakCard, $(".chat-debug-cache-perf-rule"));
814
- append(breakCard, $(".chat-debug-cache-perf-section-h", undefined, ( localize(6599, "Diff summary"))));
806
+ append(breakCard, $(".chat-debug-cache-perf-section-h", undefined, ( localize(7656, "Diff summary"))));
815
807
  const summaryLine = append(breakCard, $(".chat-debug-cache-perf-line"));
816
808
  const inPlaceChanged = diff.counts.contentDrift + diff.counts.lengthChange;
817
809
  const addedInB = diff.counts.onlyInB;
818
810
  const droppedFromA = diff.counts.onlyInA;
819
- const parts = [( localize(6600, "{0} identical", diff.counts.identical)), ( localize(6601, "{0} in-place changed", inPlaceChanged))];
811
+ const parts = [( localize(7657, "{0} identical", diff.counts.identical)), ( localize(7658, "{0} in-place changed", inPlaceChanged))];
820
812
  if (addedInB > 0) {
821
- parts.push(( localize(6602, "{0} added in this request", addedInB)));
813
+ parts.push(( localize(7659, "{0} added in this request", addedInB)));
822
814
  }
823
815
  if (droppedFromA > 0) {
824
- parts.push(( localize(6603, "{0} dropped from previous", droppedFromA)));
816
+ parts.push(( localize(7660, "{0} dropped from previous", droppedFromA)));
825
817
  }
826
818
  summaryLine.textContent = parts.join(" · ");
827
819
  }
828
820
  if (optionsDiff.length > 0) {
829
821
  const optsLine = append(this.content, $(".chat-debug-cache-options-banner"));
830
- optsLine.textContent = ( localize(6604, "Options changed: {0}", ( optionsDiff.map(
822
+ optsLine.textContent = ( localize(7661, "Options changed: {0}", ( optionsDiff.map(
831
823
  d => `${d.key} (${formatOptionValue(d.previous)} \u2192 ${formatOptionValue(d.current)})`
832
824
  )).join(", ")));
833
825
  }
@@ -852,7 +844,7 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
852
844
  append(body, $(".chat-debug-cache-finding-hint", undefined, insight.hint));
853
845
  }
854
846
  if (isLink) {
855
- row.title = ( localize(6605, "Reveal {0} in Components", insight.component));
847
+ row.title = ( localize(7662, "Reveal {0} in Components", insight.component));
856
848
  this.contentDisposables.add(
857
849
  addDisposableListener(row, EventType.CLICK, () => this.revealComponent(insight.component))
858
850
  );
@@ -887,40 +879,40 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
887
879
  if (title) {
888
880
  append(card, $(".chat-debug-cache-card-h", undefined, title));
889
881
  }
890
- this.appendKv(card, ( localize(6606, "model")), data.event.model ?? "—");
891
- this.appendKv(card, ( localize(6607, "input tok")), formatTokens(data.event.inputTokens));
892
- this.appendKv(card, ( localize(6608, "cached tok")), formatTokens(data.event.cachedTokens));
893
- this.appendKv(card, ( localize(6609, "cache hit")), `${formatCachePct(computeCacheHit(data.event))}%`);
894
- this.appendKv(card, ( localize(6610, "shape")), data.requestShape.label);
882
+ this.appendKv(card, ( localize(7663, "model")), data.event.model ?? "—");
883
+ this.appendKv(card, ( localize(7664, "input tok")), formatTokens(data.event.inputTokens));
884
+ this.appendKv(card, ( localize(7665, "cached tok")), formatTokens(data.event.cachedTokens));
885
+ this.appendKv(card, ( localize(7666, "cache hit")), `${formatCachePct(computeCacheHit(data.event))}%`);
886
+ this.appendKv(card, ( localize(7667, "shape")), data.requestShape.label);
895
887
  const startTime = data.event.created;
896
888
  const endTime = data.event.durationInMillis !== undefined ? ( new Date(startTime.getTime() + data.event.durationInMillis)) : undefined;
897
- this.appendKv(card, ( localize(6611, "startTime")), startTime.toISOString(), true);
889
+ this.appendKv(card, ( localize(7668, "startTime")), startTime.toISOString(), true);
898
890
  if (endTime) {
899
- this.appendKv(card, ( localize(6612, "endTime")), endTime.toISOString(), true);
891
+ this.appendKv(card, ( localize(7669, "endTime")), endTime.toISOString(), true);
900
892
  }
901
893
  if (data.event.durationInMillis !== undefined) {
902
- this.appendKv(card, ( localize(6613, "duration")), `${numberFormatter.value.format(Math.round(data.event.durationInMillis))}ms`);
894
+ this.appendKv(card, ( localize(7670, "duration")), `${numberFormatter.value.format(Math.round(data.event.durationInMillis))}ms`);
903
895
  }
904
896
  const ttft = data.content?.timeToFirstTokenInMillis;
905
897
  if (ttft !== undefined) {
906
- this.appendKv(card, ( localize(6614, "timeToFirstToken")), `${numberFormatter.value.format(Math.round(ttft))}ms`);
898
+ this.appendKv(card, ( localize(7671, "timeToFirstToken")), `${numberFormatter.value.format(Math.round(ttft))}ms`);
907
899
  }
908
900
  const requestId = data.content?.requestId ?? data.event.parentEventId ?? data.event.id;
909
901
  if (requestId) {
910
- this.appendKv(card, ( localize(6615, "requestId")), requestId, true);
902
+ this.appendKv(card, ( localize(7672, "requestId")), requestId, true);
911
903
  }
912
904
  return card;
913
905
  }
914
906
  renderSingleSummary(b) {
915
907
  const row = append(this.content, $(".chat-debug-cache-summary"));
916
- row.appendChild(this.renderSideCard(b, ( localize(6591, "Request"))));
908
+ row.appendChild(this.renderSideCard(b, ( localize(7650, "Request"))));
917
909
  const note = append(row, $(".chat-debug-cache-card.break"));
918
- append(note, $(".chat-debug-cache-card-h", undefined, ( localize(6616, "First request in session"))));
910
+ append(note, $(".chat-debug-cache-card-h", undefined, ( localize(7673, "First request in session"))));
919
911
  const headline = append(note, $(".chat-debug-cache-card-headline"));
920
912
  headline.textContent = `${formatCachePct(computeCacheHit(b.event))}%`;
921
913
  const sub = append(note, $(".chat-debug-cache-card-sub"));
922
914
  sub.textContent = ( localize(
923
- 6617,
915
+ 7674,
924
916
  "OTel-reported cache hit. Nothing earlier in this session to diff against — the system prompt and tools may still match a previous session's cache."
925
917
  ));
926
918
  if (b.requestShape.description) {
@@ -928,6 +920,41 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
928
920
  shapeLine.textContent = b.requestShape.description;
929
921
  }
930
922
  }
923
+ renderTokenOnlySummary(a, b) {
924
+ const row = append(this.content, $(".chat-debug-cache-summary"));
925
+ row.appendChild(this.renderSideCard(a, ( localize(7649, "Previous request"))));
926
+ row.appendChild(this.renderSideCard(b, ( localize(7650, "Request"))));
927
+ const card = append(row, $(".chat-debug-cache-card.break"));
928
+ append(card, $(".chat-debug-cache-card-h", undefined, ( localize(7651, "Cache performance"))));
929
+ const headline = append(card, $(".chat-debug-cache-card-headline"));
930
+ headline.textContent = ( localize(7653, "{0}% cache hit", formatCachePct(computeCacheHit(b.event))));
931
+ this.appendTokensReusedLine(card, b.event);
932
+ append(card, $(".chat-debug-cache-perf-rule"));
933
+ const note = append(card, $(".chat-debug-cache-perf-line.chat-debug-cache-request-shape-note"));
934
+ note.textContent = ( localize(
935
+ 7675,
936
+ "The request-side prompt (system instructions, tool catalog, and input messages) was not captured for this session, so the prompt-signature diff and root-cause findings are unavailable. The cache-hit numbers above come from reported token usage."
937
+ ));
938
+ }
939
+ appendTokensReusedLine(parent, event) {
940
+ const inputTokens = event.inputTokens ?? 0;
941
+ const cachedTokens = event.cachedTokens ?? 0;
942
+ const lostTokens = Math.max(0, inputTokens - cachedTokens);
943
+ const line = append(parent, $(".chat-debug-cache-card-sub"));
944
+ line.textContent = lostTokens > 0 && inputTokens > 0 ? ( localize(
945
+ 7676,
946
+ "{0} of {1} input tokens reused · {2} uncached ({3}%)",
947
+ numberFormatter.value.format(cachedTokens),
948
+ numberFormatter.value.format(inputTokens),
949
+ numberFormatter.value.format(lostTokens),
950
+ formatCachePct((lostTokens / inputTokens) * 100)
951
+ )) : ( localize(
952
+ 7677,
953
+ "{0} of {1} input tokens reused",
954
+ numberFormatter.value.format(cachedTokens),
955
+ numberFormatter.value.format(inputTokens)
956
+ ));
957
+ }
931
958
  appendKv(parent, key, value, copyable = false) {
932
959
  const row = append(parent, $(".chat-debug-cache-kv"));
933
960
  append(row, $("span.k", undefined, key));
@@ -941,14 +968,14 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
941
968
  const continuationComparison = b.requestShape.isContinuation;
942
969
  const section = append(this.content, $(".chat-debug-cache-section"));
943
970
  const heading = append(section, $("h3.chat-debug-cache-section-h"));
944
- heading.textContent = continuationComparison ? ( localize(6618, "Visible Request Signature")) : ( localize(6619, "Prompt Signature"));
971
+ heading.textContent = continuationComparison ? ( localize(7678, "Visible Request Signature")) : ( localize(7679, "Prompt Signature"));
945
972
  if (continuationComparison) {
946
973
  const note = append(
947
974
  section,
948
975
  $(".chat-debug-cache-sig-summary.chat-debug-cache-request-shape-note")
949
976
  );
950
977
  note.textContent = ( localize(
951
- 6620,
978
+ 7680,
952
979
  "For Responses API continuations, this shows the captured request inputs: system instructions, tools sent on this request, and the visible input delta. Earlier conversation state is referenced by previous response id and is not expanded here."
953
980
  ));
954
981
  }
@@ -956,14 +983,14 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
956
983
  for (const role of ["system", "user", "assistant", "tool", "tool_search", "tools"]) {
957
984
  const entry = append(legend, $("span.chat-debug-cache-sig-legend-entry"));
958
985
  append(entry, $(`span.chat-debug-cache-sig-swatch.role-${roleClass(role)}`));
959
- append(entry, $$1("span", undefined, role === "tools" ? ( localize(6621, "tools (catalog)")) : role === "tool_search" ? ( localize(6622, "tool search")) : role));
986
+ append(entry, $$1("span", undefined, role === "tools" ? ( localize(7681, "tools (catalog)")) : role === "tool_search" ? ( localize(7682, "tool search")) : role));
960
987
  }
961
988
  const driftEntry = append(legend, $("span.chat-debug-cache-sig-legend-entry"));
962
989
  append(driftEntry, $("span.chat-debug-cache-sig-swatch.role-drift"));
963
- append(driftEntry, $$1("span", undefined, ( localize(6623, "drift"))));
990
+ append(driftEntry, $$1("span", undefined, ( localize(7683, "drift"))));
964
991
  const groupEntry = append(legend, $("span.chat-debug-cache-sig-legend-entry"));
965
992
  append(groupEntry, $("span.chat-debug-cache-sig-swatch.role-coalesced"));
966
- append(groupEntry, $$1("span", undefined, ( localize(6624, "small messages (grouped)"))));
993
+ append(groupEntry, $$1("span", undefined, ( localize(7684, "small messages (grouped)"))));
967
994
  const toSegments = (side, isA) => {
968
995
  const segs = [];
969
996
  const sys = side.system;
@@ -1037,11 +1064,11 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
1037
1064
  const bar = append(row, $(".chat-debug-cache-sig-bar"));
1038
1065
  const sideTotal = segs.reduce((sum, s) => sum + s.chars, 0);
1039
1066
  const sizeText = chars => tokensPerChar !== undefined ? ( localize(
1040
- 6625,
1067
+ 7685,
1041
1068
  "{0} chars (≈ {1} tok)",
1042
1069
  numberFormatter.value.format(chars),
1043
1070
  numberFormatter.value.format(Math.round(chars * tokensPerChar))
1044
- )) : ( localize(6626, "{0} chars", numberFormatter.value.format(chars)));
1071
+ )) : ( localize(7686, "{0} chars", numberFormatter.value.format(chars)));
1045
1072
  const renderSegment = s => {
1046
1073
  const seg = append(bar, $(`span.chat-debug-cache-sig-seg.role-${roleClass(s.role)}`));
1047
1074
  if (s.drift) {
@@ -1060,12 +1087,12 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
1060
1087
  }
1061
1088
  seg.style.width = `${(s.chars / max) * 100}%`;
1062
1089
  seg.title = s.drift ? ( localize(
1063
- 6627,
1090
+ 7687,
1064
1091
  "{0} ({1}): {2} — drifted. Click to inspect.",
1065
1092
  s.component,
1066
1093
  s.label,
1067
1094
  sizeText(s.chars)
1068
- )) : ( localize(6628, "{0} ({1}): {2}", s.component, s.label, sizeText(s.chars)));
1095
+ )) : ( localize(7688, "{0} ({1}): {2}", s.component, s.label, sizeText(s.chars)));
1069
1096
  if (s.drift) {
1070
1097
  seg.setAttribute("aria-label", seg.title);
1071
1098
  }
@@ -1082,7 +1109,7 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
1082
1109
  const seg = append(bar, $("span.chat-debug-cache-sig-seg.role-coalesced"));
1083
1110
  seg.style.width = `${(chars / max) * 100}%`;
1084
1111
  seg.title = ( localize(
1085
- 6629,
1112
+ 7689,
1086
1113
  "{0} … {1}: {2} small messages, {3}",
1087
1114
  group[0].component,
1088
1115
  group[group.length - 1].component,
@@ -1116,14 +1143,14 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
1116
1143
  if (breakPos !== undefined && diff.break) {
1117
1144
  const line = append(bar, $(".chat-debug-cache-sig-break"));
1118
1145
  line.style.left = `${(breakPos / max) * 100}%`;
1119
- line.title = ( localize(6630, "Cache break at messages[{0}]", diff.break.index));
1146
+ line.title = ( localize(7690, "Cache break at messages[{0}]", diff.break.index));
1120
1147
  }
1121
- append(row, $(".chat-debug-cache-sig-lane-total", undefined, ( localize(6631, "{0} chars", numberFormatter.value.format(sideTotal)))));
1148
+ append(row, $(".chat-debug-cache-sig-lane-total", undefined, ( localize(7691, "{0} chars", numberFormatter.value.format(sideTotal)))));
1122
1149
  return row;
1123
1150
  };
1124
1151
  const lanes = append(section, $(".chat-debug-cache-sig-lanes"));
1125
- lanes.appendChild(buildLane(( localize(6632, "Previous")), aSegs, breakCharPos(aSegs), aTokensPerChar));
1126
- lanes.appendChild(buildLane(( localize(6633, "Current")), bSegs, breakCharPos(bSegs), bTokensPerChar));
1152
+ lanes.appendChild(buildLane(( localize(7692, "Previous")), aSegs, breakCharPos(aSegs), aTokensPerChar));
1153
+ lanes.appendChild(buildLane(( localize(7693, "Current")), bSegs, breakCharPos(bSegs), bTokensPerChar));
1127
1154
  if (compareInputMessages && totalB > 0) {
1128
1155
  let reused = 0;
1129
1156
  let sawDrift = false;
@@ -1138,13 +1165,13 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
1138
1165
  reused = totalB;
1139
1166
  }
1140
1167
  const railRow = append(lanes, $(".chat-debug-cache-sig-lane-row.reuse"));
1141
- append(railRow, $(".chat-debug-cache-sig-lane-label", undefined, ( localize(6634, "Match"))));
1168
+ append(railRow, $(".chat-debug-cache-sig-lane-label", undefined, ( localize(7694, "Match"))));
1142
1169
  const rail = append(railRow, $(".chat-debug-cache-sig-reuse-rail"));
1143
1170
  if (reused > 0) {
1144
1171
  const ok = append(rail, $("span.chat-debug-cache-sig-reuse-seg.is-reused"));
1145
1172
  ok.style.width = `${(reused / max) * 100}%`;
1146
1173
  ok.title = ( localize(
1147
- 6635,
1174
+ 7695,
1148
1175
  "Byte-identical to the previous request: {0} chars can be served from cache",
1149
1176
  numberFormatter.value.format(reused)
1150
1177
  ));
@@ -1153,12 +1180,12 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
1153
1180
  const bad = append(rail, $("span.chat-debug-cache-sig-reuse-seg.is-recomputed"));
1154
1181
  bad.style.width = `${((totalB - reused) / max) * 100}%`;
1155
1182
  bad.title = ( localize(
1156
- 6636,
1183
+ 7696,
1157
1184
  "Diverges from the previous request: {0} chars are recomputed",
1158
1185
  numberFormatter.value.format(totalB - reused)
1159
1186
  ));
1160
1187
  }
1161
- append(railRow, $(".chat-debug-cache-sig-lane-total", undefined, ( localize(6637, "{0}% match", String(Math.floor((reused / totalB) * 100))))));
1188
+ append(railRow, $(".chat-debug-cache-sig-lane-total", undefined, ( localize(7697, "{0}% match", String(Math.floor((reused / totalB) * 100))))));
1162
1189
  }
1163
1190
  this.renderChunkBreakdown(
1164
1191
  section,
@@ -1173,14 +1200,14 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
1173
1200
  if ((a.system ?? "") === (b.system ?? "")) {
1174
1201
  shared += b.system?.length ?? 0;
1175
1202
  } else {
1176
- firstDrift = ( localize(6638, "system"));
1203
+ firstDrift = ( localize(7698, "system"));
1177
1204
  }
1178
1205
  }
1179
1206
  if (!firstDrift && (a.tools || b.tools)) {
1180
1207
  if ((a.tools ?? "") === (b.tools ?? "")) {
1181
1208
  shared += b.tools?.length ?? 0;
1182
1209
  } else {
1183
- firstDrift = ( localize(6639, "tools catalog"));
1210
+ firstDrift = ( localize(7699, "tools catalog"));
1184
1211
  }
1185
1212
  }
1186
1213
  if (!firstDrift) {
@@ -1196,13 +1223,13 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
1196
1223
  const summary = append(section, $(".chat-debug-cache-sig-summary"));
1197
1224
  if (firstDrift) {
1198
1225
  summary.textContent = continuationComparison ? ( localize(
1199
- 6640,
1226
+ 7700,
1200
1227
  "{0} of {1} captured request chars match before first captured drift: {2}",
1201
1228
  numberFormatter.value.format(shared),
1202
1229
  numberFormatter.value.format(totalB),
1203
1230
  firstDrift
1204
1231
  )) : ( localize(
1205
- 6641,
1232
+ 7701,
1206
1233
  "{0} of {1} chars reused · break at {2}",
1207
1234
  numberFormatter.value.format(shared),
1208
1235
  numberFormatter.value.format(totalB),
@@ -1210,12 +1237,12 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
1210
1237
  ));
1211
1238
  } else {
1212
1239
  summary.textContent = continuationComparison ? ( localize(
1213
- 6642,
1240
+ 7702,
1214
1241
  "{0} of {1} captured request chars match · no captured divergence detected",
1215
1242
  numberFormatter.value.format(shared),
1216
1243
  numberFormatter.value.format(totalB)
1217
1244
  )) : ( localize(
1218
- 6643,
1245
+ 7703,
1219
1246
  "{0} of {1} chars reused · no divergence detected",
1220
1247
  numberFormatter.value.format(shared),
1221
1248
  numberFormatter.value.format(totalB)
@@ -1230,12 +1257,12 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
1230
1257
  return;
1231
1258
  }
1232
1259
  const section = append(this.content, $(".chat-debug-cache-section"));
1233
- append(section, $("h3.chat-debug-cache-section-h", undefined, ( localize(6644, "Request Options"))));
1260
+ append(section, $("h3.chat-debug-cache-section-h", undefined, ( localize(7704, "Request Options"))));
1234
1261
  const table = append(section, $(".chat-debug-cache-options-table"));
1235
1262
  const head = append(table, $(".chat-debug-cache-options-row.head"));
1236
- append(head, $(".chat-debug-cache-options-cell.key", undefined, ( localize(6645, "Option"))));
1237
- append(head, $(".chat-debug-cache-options-cell", undefined, ( localize(6646, "Previous"))));
1238
- append(head, $(".chat-debug-cache-options-cell", undefined, ( localize(6647, "Current"))));
1263
+ append(head, $(".chat-debug-cache-options-cell.key", undefined, ( localize(7705, "Option"))));
1264
+ append(head, $(".chat-debug-cache-options-cell", undefined, ( localize(7706, "Previous"))));
1265
+ append(head, $(".chat-debug-cache-options-cell", undefined, ( localize(7707, "Current"))));
1239
1266
  const sortedKeys = [...keys].sort((x, y) => x.localeCompare(y));
1240
1267
  for (const key of sortedKeys) {
1241
1268
  const row = append(table, $(".chat-debug-cache-options-row"));
@@ -1253,14 +1280,14 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
1253
1280
  renderComponents(drift, a, b, compareInputMessages, identicalCount) {
1254
1281
  this.componentElements.clear();
1255
1282
  const section = append(this.content, $(".chat-debug-cache-section"));
1256
- append(section, $("h3.chat-debug-cache-section-h", undefined, ( localize(6648, "Components"))));
1283
+ append(section, $("h3.chat-debug-cache-section-h", undefined, ( localize(7708, "Components"))));
1257
1284
  if (!compareInputMessages && b.requestShape.isContinuation) {
1258
1285
  const note = append(
1259
1286
  section,
1260
1287
  $(".chat-debug-cache-sig-summary.chat-debug-cache-request-shape-note")
1261
1288
  );
1262
1289
  note.textContent = ( localize(
1263
- 6649,
1290
+ 7709,
1264
1291
  "This request uses previous_response_id, so input messages are not positionally diffed against the previous request. Components below show cache-key shape changes; the current continuation delta is shown separately."
1265
1292
  ));
1266
1293
  }
@@ -1268,7 +1295,7 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
1268
1295
  const effectiveDrift = !compareInputMessages && b.requestShape.isContinuation && b.inputMessages.length > 0 ? [...drift, currentDeltaComponent(b)] : drift;
1269
1296
  if (effectiveDrift.length === 0) {
1270
1297
  const empty = append(acc, $(".chat-debug-cache-acc-empty"));
1271
- empty.textContent = ( localize(6650, "All components are identical between A and B."));
1298
+ empty.textContent = ( localize(7710, "All components are identical between A and B."));
1272
1299
  return;
1273
1300
  }
1274
1301
  for (const c of effectiveDrift) {
@@ -1304,7 +1331,7 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
1304
1331
  const badge = append(head, $(`span.chat-debug-cache-acc-badge.${c.status}`));
1305
1332
  badge.textContent = badgeLabel(c.status);
1306
1333
  const sizes = append(head, $("span.chat-debug-cache-acc-sizes"));
1307
- sizes.textContent = ( localize(6651, "{0} → {1} chars", formatTokens(c.aSize), formatTokens(c.bSize)));
1334
+ sizes.textContent = ( localize(7711, "{0} → {1} chars", formatTokens(c.aSize), formatTokens(c.bSize)));
1308
1335
  const body = append(item, $(".chat-debug-cache-acc-body"));
1309
1336
  const aText = c.name === CURRENT_CONTINUATION_DELTA_COMPONENT ? "" : textForComponent(c, a);
1310
1337
  const bText = c.name === CURRENT_CONTINUATION_DELTA_COMPONENT ? continuationDeltaText(b) : textForComponent(c, b);
@@ -1319,7 +1346,7 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
1319
1346
  const dv = analyzeStringDivergence(aText, bText);
1320
1347
  if (dv) {
1321
1348
  const changeNote = append(body, $(".chat-debug-cache-acc-change-note"));
1322
- changeNote.textContent = ( localize(6652, "What changed: {0}", describeStringDivergence(dv)));
1349
+ changeNote.textContent = ( localize(7712, "What changed: {0}", describeStringDivergence(dv)));
1323
1350
  }
1324
1351
  }
1325
1352
  body.appendChild(this.renderComponentDiff(aText, bText, c.aSize, c.bSize));
@@ -1345,7 +1372,7 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
1345
1372
  if (compareInputMessages && identicalCount > 0) {
1346
1373
  const note = append(section, $(".chat-debug-cache-acc-identical-note"));
1347
1374
  note.textContent = ( localize(
1348
- 6653,
1375
+ 7713,
1349
1376
  "{0} identical message(s) not shown — they extend the shared, cache-servable prefix.",
1350
1377
  identicalCount
1351
1378
  ));
@@ -1354,14 +1381,14 @@ let ChatDebugCacheExplorerView = class ChatDebugCacheExplorerView extends Dispos
1354
1381
  renderComponentDiff(aText, bText, aSize, bSize) {
1355
1382
  const grid = $(".chat-debug-cache-diff");
1356
1383
  const colA = append(grid, $(".chat-debug-cache-diff-col"));
1357
- append(colA, $("h4", undefined, ( localize(6654, "Previous · {0} chars", numberFormatter.value.format(aSize)))));
1384
+ append(colA, $("h4", undefined, ( localize(7714, "Previous · {0} chars", numberFormatter.value.format(aSize)))));
1358
1385
  const aBody = append(colA, $(".chat-debug-cache-diff-body"));
1359
1386
  const colB = append(grid, $(".chat-debug-cache-diff-col"));
1360
- append(colB, $("h4", undefined, ( localize(6655, "Current · {0} chars", numberFormatter.value.format(bSize)))));
1387
+ append(colB, $("h4", undefined, ( localize(7715, "Current · {0} chars", numberFormatter.value.format(bSize)))));
1361
1388
  const bBody = append(colB, $(".chat-debug-cache-diff-body"));
1362
1389
  if (!aText && !bText) {
1363
- aBody.textContent = ( localize(6656, "(not present)"));
1364
- bBody.textContent = ( localize(6656, "(not present)"));
1390
+ aBody.textContent = ( localize(7716, "(not present)"));
1391
+ bBody.textContent = ( localize(7716, "(not present)"));
1365
1392
  return grid;
1366
1393
  }
1367
1394
  renderInlineDiff(aBody, bBody, aText, bText);
@@ -1408,7 +1435,7 @@ function alignSignatureChunks(aSegs, bSegs) {
1408
1435
  return rows;
1409
1436
  }
1410
1437
  function agentKey(turn) {
1411
- return turn.requestName?.trim() || ( localize(6657, "(unnamed)"));
1438
+ return turn.requestName?.trim() || ( localize(7717, "(unnamed)"));
1412
1439
  }
1413
1440
  function computeAgentCounts(turns) {
1414
1441
  const counts = ( new Map());
@@ -1513,7 +1540,7 @@ function currentDeltaComponent(side) {
1513
1540
  function categoryIcon(category) {
1514
1541
  switch (category) {
1515
1542
  case CacheBreakCategory.Healthy:
1516
- return "check";
1543
+ return "check-compact";
1517
1544
  case CacheBreakCategory.Expiration:
1518
1545
  return "clock";
1519
1546
  case CacheBreakCategory.Model:
@@ -1521,7 +1548,7 @@ function categoryIcon(category) {
1521
1548
  case CacheBreakCategory.Tools:
1522
1549
  return "tools";
1523
1550
  case CacheBreakCategory.System:
1524
- return "gear";
1551
+ return "gear-compact";
1525
1552
  case CacheBreakCategory.Options:
1526
1553
  return "symbol-parameter";
1527
1554
  case CacheBreakCategory.History:
@@ -1545,15 +1572,15 @@ function findingIcon(severity) {
1545
1572
  function badgeLabel(status) {
1546
1573
  switch (status) {
1547
1574
  case CacheDiffKind.Identical:
1548
- return localize(6658, "identical");
1575
+ return localize(7718, "identical");
1549
1576
  case CacheDiffKind.ContentDrift:
1550
- return localize(6659, "content drift");
1577
+ return localize(7719, "content drift");
1551
1578
  case CacheDiffKind.LengthChange:
1552
- return localize(6660, "length change");
1579
+ return localize(7720, "length change");
1553
1580
  case CacheDiffKind.OnlyInA:
1554
- return localize(6661, "only in A");
1581
+ return localize(7721, "only in A");
1555
1582
  case CacheDiffKind.OnlyInB:
1556
- return localize(6662, "only in B");
1583
+ return localize(7722, "only in B");
1557
1584
  }
1558
1585
  }
1559
1586
  function describeTruncation(aText, bText) {
@@ -1565,16 +1592,16 @@ function describeTruncation(aText, bText) {
1565
1592
  }
1566
1593
  if (aMatch && bMatch) {
1567
1594
  return localize(
1568
- 6663,
1595
+ 7723,
1569
1596
  "Both sides truncated by the OTel attribute cap (originals were {0} and {1} chars) — diff may be partial.",
1570
1597
  numberFormatter.value.format(parseInt(aMatch[1], 10)),
1571
1598
  numberFormatter.value.format(parseInt(bMatch[1], 10))
1572
1599
  );
1573
1600
  }
1574
1601
  const match = (aMatch ?? bMatch);
1575
- const side = aMatch ? ( localize(6664, "Previous")) : ( localize(6665, "Current"));
1602
+ const side = aMatch ? ( localize(7724, "Previous")) : ( localize(7725, "Current"));
1576
1603
  return localize(
1577
- 6666,
1604
+ 7726,
1578
1605
  "{0} side truncated by the OTel attribute cap (original was {1} chars) — diff may be partial.",
1579
1606
  side,
1580
1607
  numberFormatter.value.format(parseInt(match[1], 10))
@@ -1601,9 +1628,9 @@ function describeRequestShape(inputMessages, requestShapeJson) {
1601
1628
  const hasOnlyToolOutput = inputMessages.length > 0 && inputMessages.every(m => m.role === "tool");
1602
1629
  if (hasPreviousResponseId && hasToolSearchOutput) {
1603
1630
  return {
1604
- label: ( localize(6667, "tool_search_output continuation")),
1631
+ label: ( localize(7727, "tool_search_output continuation")),
1605
1632
  description: ( localize(
1606
- 6668,
1633
+ 7728,
1607
1634
  "Responses API continuation: the displayed input is only the tool-search delta sent over the wire. The provider reconstructs prior context from the previous response id."
1608
1635
  )),
1609
1636
  isContinuation: true,
@@ -1612,9 +1639,9 @@ function describeRequestShape(inputMessages, requestShapeJson) {
1612
1639
  }
1613
1640
  if (hasPreviousResponseId && hasOnlyToolOutput) {
1614
1641
  return {
1615
- label: ( localize(6669, "tool output continuation")),
1642
+ label: ( localize(7729, "tool output continuation")),
1616
1643
  description: ( localize(
1617
- 6670,
1644
+ 7730,
1618
1645
  "Responses API continuation: the displayed input is only the tool-output delta sent over the wire. The provider reconstructs prior context from the previous response id."
1619
1646
  )),
1620
1647
  isContinuation: true,
@@ -1623,9 +1650,9 @@ function describeRequestShape(inputMessages, requestShapeJson) {
1623
1650
  }
1624
1651
  if (hasPreviousResponseId) {
1625
1652
  return {
1626
- label: ( localize(6671, "Responses API continuation")),
1653
+ label: ( localize(7731, "Responses API continuation")),
1627
1654
  description: ( localize(
1628
- 6672,
1655
+ 7732,
1629
1656
  "Responses API continuation: the displayed input is only the delta sent over the wire. The provider reconstructs prior context from the previous response id."
1630
1657
  )),
1631
1658
  isContinuation: true,
@@ -1634,9 +1661,9 @@ function describeRequestShape(inputMessages, requestShapeJson) {
1634
1661
  }
1635
1662
  if (hasToolSearchOutput) {
1636
1663
  return {
1637
- label: ( localize(6673, "tool_search_output request")),
1664
+ label: ( localize(7733, "tool_search_output request")),
1638
1665
  description: ( localize(
1639
- 6674,
1666
+ 7734,
1640
1667
  "This request contains a Responses API tool_search_output item. No previous-response continuation marker was captured, so the displayed input may be a full or history-sliced request rather than only a continuation delta."
1641
1668
  )),
1642
1669
  isContinuation: false,
@@ -1645,14 +1672,14 @@ function describeRequestShape(inputMessages, requestShapeJson) {
1645
1672
  }
1646
1673
  if (hasOnlyToolOutput) {
1647
1674
  return {
1648
- label: ( localize(6675, "tool output request")),
1675
+ label: ( localize(7735, "tool output request")),
1649
1676
  description: undefined,
1650
1677
  isContinuation: false,
1651
1678
  ...common
1652
1679
  };
1653
1680
  }
1654
1681
  return {
1655
- label: ( localize(6676, "full input request")),
1682
+ label: ( localize(7736, "full input request")),
1656
1683
  description: undefined,
1657
1684
  isContinuation: false,
1658
1685
  ...common
@@ -1706,7 +1733,7 @@ function sideOptions(side) {
1706
1733
  const hasEffort = out["output_config.effort"] !== undefined || out["reasoning.effort"] !== undefined || out["reasoning_effort"] !== undefined;
1707
1734
  const hasThinking = ( ( Object.keys(out)).some(k => k === "thinking" || k.startsWith("thinking.")));
1708
1735
  if (!hasEffort && hasThinking) {
1709
- out["output_config.effort"] = ( localize(6677, "(not sent — provider default)"));
1736
+ out["output_config.effort"] = ( localize(7737, "(not sent — provider default)"));
1710
1737
  }
1711
1738
  return out;
1712
1739
  }