@codingame/monaco-vscode-chat-service-override 32.0.2 → 33.0.4

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 (257) hide show
  1. package/index.d.ts +1 -1
  2. package/index.js +15 -5
  3. package/package.json +5 -5
  4. package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostProtocolClient.d.ts +170 -24
  5. package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostProtocolClient.js +372 -66
  6. package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.d.ts +18 -1
  7. package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.js +160 -31
  8. package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemService.d.ts +8 -0
  9. package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemService.js +19 -0
  10. package/vscode/src/vs/platform/agentHost/common/agentHostSchema.d.ts +134 -0
  11. package/vscode/src/vs/platform/agentHost/common/agentHostSchema.js +257 -0
  12. package/vscode/src/vs/platform/agentHost/common/agentService.d.ts +84 -3
  13. package/vscode/src/vs/platform/agentHost/common/agentService.js +9 -1
  14. package/vscode/src/vs/platform/agentHost/common/state/agentSubscription.d.ts +61 -1
  15. package/vscode/src/vs/platform/agentHost/common/state/agentSubscription.js +61 -1
  16. package/vscode/src/vs/platform/agentHost/common/state/protocol/errors.js +3 -1
  17. package/vscode/src/vs/platform/agentHost/common/state/protocol/reducers.js +1 -1
  18. package/vscode/src/vs/platform/agentHost/common/state/protocol/version/registry.d.ts +1 -1
  19. package/vscode/src/vs/platform/agentHost/common/state/protocol/version/registry.js +1 -1
  20. package/vscode/src/vs/platform/agentHost/common/state/sessionActions.d.ts +4 -4
  21. package/vscode/src/vs/platform/agentHost/common/state/sessionActions.js +1 -1
  22. package/vscode/src/vs/platform/networkFilter/common/networkFilterService.d.ts +2 -7
  23. package/vscode/src/vs/platform/networkFilter/common/networkFilterService.js +8 -29
  24. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.js +2 -2
  25. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.js +16 -16
  26. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +8 -8
  27. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +60 -60
  28. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAgentRecommendationActions.js +1 -1
  29. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +12 -12
  30. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +8 -8
  31. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +7 -7
  32. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +10 -6
  33. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +2 -2
  34. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatForkActions.d.ts +10 -1
  35. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatForkActions.js +180 -174
  36. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +3 -3
  37. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatLanguageModelActions.js +13 -13
  38. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +6 -6
  39. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatNewActions.js +12 -12
  40. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatOpenAgentDebugPanelAction.js +12 -12
  41. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPluginActions.js +12 -12
  42. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPromptNavigationActions.js +2 -2
  43. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQueueActions.js +11 -11
  44. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +8 -8
  45. package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +18 -18
  46. package/vscode/src/vs/workbench/contrib/chat/browser/actions/createPluginAction.js +20 -20
  47. package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.d.ts +64 -0
  48. package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.js +330 -0
  49. package/vscode/src/vs/workbench/contrib/chat/browser/actions/openCopilotCliStateFileAction.d.ts +24 -0
  50. package/vscode/src/vs/workbench/contrib/chat/browser/actions/openCopilotCliStateFileAction.js +77 -0
  51. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginActions.js +8 -8
  52. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditor.js +2 -2
  53. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditorInput.js +2 -2
  54. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.js +6 -6
  55. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.js +13 -13
  56. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPermissionUiContribution.js +5 -5
  57. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.d.ts +51 -0
  58. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.js +267 -0
  59. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.js +4 -3
  60. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.js +53 -53
  61. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.js +5 -5
  62. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsQuickAccess.js +1 -1
  63. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjection.js +1 -1
  64. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionActions.js +4 -4
  65. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.js +1 -1
  66. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionsExperiments.contribution.js +4 -4
  67. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.d.ts +5 -4
  68. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.js +30 -28
  69. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccess.js +17 -17
  70. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccessActions.js +4 -4
  71. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentSessionsController.js +26 -0
  72. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationIcons.js +14 -14
  73. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.d.ts +7 -6
  74. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.js +150 -119
  75. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.js +45 -44
  76. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.d.ts +0 -1
  77. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.js +58 -76
  78. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditorInput.js +1 -1
  79. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePagePromptLaunchers.js +25 -25
  80. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationGroupHeaderRenderer.js +2 -2
  81. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedAgentPluginDetail.js +2 -2
  82. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedMcpServerDetail.js +3 -3
  83. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.d.ts +2 -6
  84. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.js +88 -70
  85. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationManagement.css +82 -56
  86. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationWelcomePromptLaunchers.css +10 -8
  87. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.d.ts +2 -6
  88. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.js +89 -71
  89. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.js +1 -1
  90. package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.d.ts +1 -1
  91. package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +2 -2843
  92. package/vscode/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.d.ts +1 -0
  93. package/vscode/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.js +2934 -0
  94. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatCustomizationDiscoveryRenderer.js +32 -32
  95. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheExplorerView.js +99 -99
  96. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugDetailPanel.js +6 -6
  97. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditorInput.js +2 -2
  98. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventDetailRenderer.js +20 -20
  99. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventList.js +7 -7
  100. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFilters.js +4 -4
  101. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowChartView.js +7 -7
  102. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowGraph.js +22 -22
  103. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHomeView.js +13 -13
  104. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHookContentRenderer.js +17 -17
  105. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugLogsView.js +24 -24
  106. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugMessageContentRenderer.js +8 -8
  107. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugModelTurnContentRenderer.js +23 -23
  108. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugOverviewView.js +33 -33
  109. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugToolCallContentRenderer.js +11 -11
  110. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +1 -1
  111. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +14 -14
  112. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +7 -7
  113. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.js +4 -4
  114. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.js +12 -12
  115. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +2 -2
  116. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +1 -1
  117. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +1 -1
  118. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +3 -3
  119. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +1 -1
  120. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +1 -1
  121. package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.js +1 -1
  122. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +53 -20
  123. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +2 -2
  124. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.d.ts +4 -0
  125. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.js +131 -61
  126. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/media/chatModelsWidget.css +22 -0
  127. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.d.ts +23 -3
  128. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +91 -15
  129. package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +30 -30
  130. package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.js +2 -2
  131. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +23 -21
  132. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.js +10 -10
  133. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupGrowthSession.js +6 -6
  134. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.js +29 -28
  135. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +14 -14
  136. package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.js +19 -19
  137. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.d.ts +15 -4
  138. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.js +203 -163
  139. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.d.ts +1 -3
  140. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.js +31 -54
  141. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusItemService.d.ts +1 -0
  142. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/media/chatStatus.css +88 -0
  143. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipCatalog.js +19 -19
  144. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.js +2 -2
  145. package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.js +4 -4
  146. package/vscode/src/vs/workbench/contrib/chat/browser/claudePluginRecommendations.js +17 -4
  147. package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContext.contribution.d.ts +8 -0
  148. package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContext.contribution.js +91 -0
  149. package/vscode/src/vs/workbench/contrib/chat/browser/copilotCliEventsUri.d.ts +52 -0
  150. package/vscode/src/vs/workbench/contrib/chat/browser/copilotCliEventsUri.js +82 -0
  151. package/vscode/src/vs/workbench/contrib/chat/browser/defaultModelContribution.d.ts +21 -1
  152. package/vscode/src/vs/workbench/contrib/chat/browser/defaultModelContribution.js +55 -18
  153. package/vscode/src/vs/workbench/contrib/chat/browser/enablementActions.js +4 -4
  154. package/vscode/src/vs/workbench/contrib/chat/browser/enablementStatusWidget.js +2 -2
  155. package/vscode/src/vs/workbench/contrib/chat/browser/hasByokModelsContribution.d.ts +51 -0
  156. package/vscode/src/vs/workbench/contrib/chat/browser/hasByokModelsContribution.js +106 -0
  157. package/vscode/src/vs/workbench/contrib/chat/browser/languageModelsConfigurationService.js +4 -2
  158. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorActions.js +4 -4
  159. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorContribution.js +5 -5
  160. package/vscode/src/vs/workbench/contrib/chat/browser/pluginAutoUpdate.d.ts +38 -0
  161. package/vscode/src/vs/workbench/contrib/chat/browser/pluginAutoUpdate.js +59 -0
  162. package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.js +3 -3
  163. package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.js +25 -25
  164. package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.js +15 -15
  165. package/vscode/src/vs/workbench/contrib/chat/browser/pluginUrlHandler.js +6 -6
  166. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +6 -6
  167. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookActions.js +27 -27
  168. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookUtils.js +3 -3
  169. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +2 -2
  170. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileContributions.js +4 -6
  171. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolsCodeLensProvider.js +2 -2
  172. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptUrlHandler.js +8 -8
  173. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/runPromptAction.js +7 -7
  174. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveAsPromptFileActions.js +3 -3
  175. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/skillActions.js +3 -3
  176. package/vscode/src/vs/workbench/contrib/chat/browser/promptsDebugContribution.js +20 -20
  177. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.js +39 -39
  178. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.d.ts +1 -0
  179. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.js +38 -28
  180. package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.js +5 -7
  181. package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolResultCompressorService.d.ts +5 -1
  182. package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolResultCompressorService.js +106 -7
  183. package/vscode/src/vs/workbench/contrib/chat/browser/tools/usagesTool.js +6 -8
  184. package/vscode/src/vs/workbench/contrib/chat/browser/utilityModelContribution.d.ts +28 -0
  185. package/vscode/src/vs/workbench/contrib/chat/browser/utilityModelContribution.js +75 -0
  186. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +5 -5
  187. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/{toolInvocationParts/chatToolOutputStateCache.d.ts → chatOutputPartStateCache.d.ts} +5 -6
  188. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/{toolInvocationParts/chatToolOutputStateCache.js → chatOutputPartStateCache.js} +19 -11
  189. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.js +9 -9
  190. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletions.js +58 -26
  191. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +9 -9
  192. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorContrib.js +1 -1
  193. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorHover.js +1 -1
  194. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/chatQuick.js +1 -1
  195. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.js +1 -1
  196. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.js +18 -9
  197. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.js +2 -2
  198. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.js +13 -5
  199. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceTelemetry.js +6 -2
  200. package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.js +6 -6
  201. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.js +19 -18
  202. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +18 -18
  203. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/PromptHeaderDefinitionProvider.js +1 -2
  204. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +5 -5
  205. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +6 -7
  206. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.js +14 -15
  207. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +155 -156
  208. package/vscode/src/vs/workbench/contrib/chat/common/tools/copilotToolIds.d.ts +6 -0
  209. package/vscode/src/vs/workbench/contrib/chat/common/tools/copilotToolIds.js +12 -0
  210. package/vscode/src/vs/workbench/contrib/chat/common/tools/toolResultCompressor.d.ts +88 -0
  211. package/vscode/src/vs/workbench/contrib/chat/common/tools/toolResultCompressor.js +25 -0
  212. package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
  213. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarousel.contribution.d.ts +1 -0
  214. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarousel.contribution.js +237 -0
  215. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditor.d.ts +66 -0
  216. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditor.js +600 -0
  217. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditorInput.d.ts +18 -0
  218. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditorInput.js +47 -0
  219. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselTypes.d.ts +22 -0
  220. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselTypes.js +7 -0
  221. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/media/imageCarousel.css +298 -0
  222. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +15 -15
  223. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatDefaultModel.js +2 -2
  224. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +4 -4
  225. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.js +14 -14
  226. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.js +1 -1
  227. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +10 -10
  228. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +5 -5
  229. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +1 -1
  230. package/vscode/src/vs/workbench/contrib/remoteCodingAgents/browser/remoteCodingAgents.contribution.js +7 -7
  231. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.js +16 -16
  232. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +20 -20
  233. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +1 -1
  234. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +3 -3
  235. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalLastCommandTool.js +3 -3
  236. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.d.ts +12 -1
  237. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.js +78 -7
  238. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.js +3 -3
  239. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/killTerminalTool.js +3 -3
  240. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +2 -2
  241. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sendToTerminalTool.js +15 -11
  242. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +14 -14
  243. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +7 -9
  244. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +14 -16
  245. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.js +1 -1
  246. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalCommandParser.d.ts +60 -0
  247. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalCommandParser.js +286 -0
  248. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalOutputCache.d.ts +24 -0
  249. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalOutputCache.js +285 -0
  250. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalOutputCompressor.d.ts +19 -12
  251. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalOutputCompressor.js +415 -47
  252. package/vscode/src/vs/workbench/services/agentHost/common/agentHostFileSystemService.d.ts +2 -7
  253. package/vscode/src/vs/workbench/services/agentHost/common/agentHostFileSystemService.js +1 -1
  254. package/vscode/src/vs/base/common/defaultAccount.d.ts +0 -69
  255. package/vscode/src/vs/base/common/defaultAccount.js +0 -12
  256. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryServiceImpl.d.ts +0 -15
  257. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryServiceImpl.js +0 -85
@@ -1,24 +1,19 @@
1
1
  import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
2
2
  import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
3
3
  import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
4
- import { ITerminalSandboxService } from "@codingame/monaco-vscode-api/vscode/vs/platform/sandbox/common/terminalSandboxService.service";
5
4
  import { IAgentNetworkFilterService } from "@codingame/monaco-vscode-api/vscode/vs/platform/networkFilter/common/networkFilterService.service";
6
- export declare const AgentNetworkFilterFetchWebToolName = "fetchWebTool";
7
5
  export declare class AgentNetworkFilterService extends Disposable implements IAgentNetworkFilterService {
8
6
  private readonly configurationService;
9
- private readonly terminalSandboxService;
10
7
  readonly _serviceBrand: undefined;
11
8
  private networkFilterEnabled;
12
- private terminalSandboxEnabled;
13
9
  private allowedPatterns;
14
10
  private deniedPatterns;
15
11
  private readonly domainCache;
16
12
  private readonly onDidChangeEmitter;
17
13
  readonly onDidChange: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<void>;
18
- constructor(configurationService: IConfigurationService, terminalSandboxService: ITerminalSandboxService);
14
+ constructor(configurationService: IConfigurationService);
19
15
  private readConfiguration;
20
- private updateTerminalSandboxEnabled;
21
- isUriAllowed(uri: URI, toolName?: string): boolean;
16
+ isUriAllowed(uri: URI): boolean;
22
17
  private shouldFilter;
23
18
  formatError(uri: URI): string;
24
19
  }
@@ -5,32 +5,24 @@ import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/l
5
5
  import { LRUCache } from '@codingame/monaco-vscode-api/vscode/vs/base/common/map';
6
6
  import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
7
7
  import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
8
- import { AgentSandboxSettingId } from '@codingame/monaco-vscode-api/vscode/vs/platform/sandbox/common/settings';
9
- import { ITerminalSandboxService } from '@codingame/monaco-vscode-api/vscode/vs/platform/sandbox/common/terminalSandboxService.service';
10
8
  import { extractDomainFromUri, isDomainAllowed } from '@codingame/monaco-vscode-katex-common/vscode/vs/platform/networkFilter/common/domainMatcher';
11
9
  import { AgentNetworkDomainSettingId } from '@codingame/monaco-vscode-katex-common/vscode/vs/platform/networkFilter/common/settings';
12
10
 
13
- const AgentNetworkFilterFetchWebToolName = "fetchWebTool";
14
11
  let AgentNetworkFilterService = class AgentNetworkFilterService extends Disposable {
15
- constructor(configurationService, terminalSandboxService) {
12
+ constructor(configurationService) {
16
13
  super();
17
14
  this.configurationService = configurationService;
18
- this.terminalSandboxService = terminalSandboxService;
19
15
  this.networkFilterEnabled = false;
20
- this.terminalSandboxEnabled = false;
21
16
  this.allowedPatterns = [];
22
17
  this.deniedPatterns = [];
23
18
  this.domainCache = ( new LRUCache(100));
24
19
  this.onDidChangeEmitter = this._register(( new Emitter()));
25
20
  this.onDidChange = this.onDidChangeEmitter.event;
26
21
  this.readConfiguration();
27
- void this.updateTerminalSandboxEnabled();
28
22
  this._register(this.configurationService.onDidChangeConfiguration(e => {
29
23
  if (e.affectsConfiguration(AgentNetworkDomainSettingId.NetworkFilter) || e.affectsConfiguration(AgentNetworkDomainSettingId.AllowedNetworkDomains) || e.affectsConfiguration(AgentNetworkDomainSettingId.DeniedNetworkDomains)) {
30
24
  this.readConfiguration();
31
25
  this.onDidChangeEmitter.fire();
32
- } else if (e.affectsConfiguration(AgentSandboxSettingId.AgentSandboxEnabled) || e.affectsConfiguration(AgentSandboxSettingId.DeprecatedAgentSandboxEnabled)) {
33
- void this.updateTerminalSandboxEnabled();
34
26
  }
35
27
  }));
36
28
  }
@@ -41,21 +33,8 @@ let AgentNetworkFilterService = class AgentNetworkFilterService extends Disposab
41
33
  this.deniedPatterns = this.configurationService.getValue(AgentNetworkDomainSettingId.DeniedNetworkDomains) ?? [];
42
34
  this.domainCache.clear();
43
35
  }
44
- async updateTerminalSandboxEnabled() {
45
- const [isSandboxEnabled, isSandboxAllowNetworkEnabled] = await Promise.all([
46
- this.terminalSandboxService.isEnabled(),
47
- this.terminalSandboxService.isSandboxAllowNetworkEnabled()
48
- ]);
49
- const enabled = isSandboxEnabled && !isSandboxAllowNetworkEnabled;
50
- if (this.terminalSandboxEnabled === enabled) {
51
- return;
52
- }
53
- this.terminalSandboxEnabled = enabled;
54
- this.readConfiguration();
55
- this.onDidChangeEmitter.fire();
56
- }
57
- isUriAllowed(uri, toolName) {
58
- if (!this.shouldFilter(toolName)) {
36
+ isUriAllowed(uri) {
37
+ if (!this.shouldFilter()) {
59
38
  return true;
60
39
  }
61
40
  if (uri.scheme === "file" || !uri.authority) {
@@ -72,13 +51,13 @@ let AgentNetworkFilterService = class AgentNetworkFilterService extends Disposab
72
51
  }
73
52
  return result;
74
53
  }
75
- shouldFilter(toolName) {
76
- return this.networkFilterEnabled || (this.terminalSandboxEnabled && toolName === AgentNetworkFilterFetchWebToolName);
54
+ shouldFilter() {
55
+ return this.networkFilterEnabled;
77
56
  }
78
57
  formatError(uri) {
79
58
  const domain = extractDomainFromUri(uri);
80
59
  return localize(
81
- 2063,
60
+ 2085,
82
61
  "Access to {0} is blocked by network domain policy (see `{1}` and `{2}` settings).",
83
62
  domain ?? uri.authority,
84
63
  AgentNetworkDomainSettingId.AllowedNetworkDomains,
@@ -86,6 +65,6 @@ let AgentNetworkFilterService = class AgentNetworkFilterService extends Disposab
86
65
  );
87
66
  }
88
67
  };
89
- AgentNetworkFilterService = ( __decorate([( __param(0, IConfigurationService)), ( __param(1, ITerminalSandboxService))], AgentNetworkFilterService));
68
+ AgentNetworkFilterService = ( __decorate([( __param(0, IConfigurationService))], AgentNetworkFilterService));
90
69
 
91
- export { AgentNetworkFilterFetchWebToolName, AgentNetworkFilterService };
70
+ export { AgentNetworkFilterService };
@@ -117,7 +117,7 @@ let ChatAccessibilityService = class ChatAccessibilityService extends Disposable
117
117
  });
118
118
  }
119
119
  this.toasts.clearAndDisposeAll();
120
- const title = widget?.viewModel?.model.title ? ( localize(4762, "Chat: {0}", widget.viewModel.model.title)) : ( localize(4763, "Untitled Chat"));
120
+ const title = widget?.viewModel?.model.title ? ( localize(4784, "Chat: {0}", widget.viewModel.model.title)) : ( localize(4785, "Untitled Chat"));
121
121
  const cts = ( new CancellationTokenSource());
122
122
  const disposable = toDisposable(() => cts.dispose(true));
123
123
  this.toasts.add(disposable);
@@ -125,7 +125,7 @@ let ChatAccessibilityService = class ChatAccessibilityService extends Disposable
125
125
  clicked
126
126
  } = await this._hostService.showToast({
127
127
  title,
128
- body: ( localize(4764, "New chat response."))
128
+ body: ( localize(4786, "New chat response."))
129
129
  }, cts.token);
130
130
  this.toasts.deleteAndDispose(disposable);
131
131
  if (clicked) {
@@ -78,29 +78,29 @@ function getToolSpecificDataDescription(toolSpecificData) {
78
78
  {
79
79
  const parts = [];
80
80
  if (toolSpecificData.agentName) {
81
- parts.push(( localize(4765, "Agent: {0}", toolSpecificData.agentName)));
81
+ parts.push(( localize(4787, "Agent: {0}", toolSpecificData.agentName)));
82
82
  }
83
83
  if (toolSpecificData.description) {
84
84
  parts.push(toolSpecificData.description);
85
85
  }
86
86
  if (toolSpecificData.prompt) {
87
- parts.push(( localize(4766, "Task: {0}", toolSpecificData.prompt)));
87
+ parts.push(( localize(4788, "Task: {0}", toolSpecificData.prompt)));
88
88
  }
89
89
  return parts.join(". ") || "";
90
90
  }
91
91
  case "extensions":
92
- return toolSpecificData.extensions.length > 0 ? ( localize(4767, "Extensions: {0}", toolSpecificData.extensions.join(", "))) : "";
92
+ return toolSpecificData.extensions.length > 0 ? ( localize(4789, "Extensions: {0}", toolSpecificData.extensions.join(", "))) : "";
93
93
  case "todoList":
94
94
  {
95
95
  const todos = toolSpecificData.todoList;
96
96
  if (todos.length === 0) {
97
97
  return "";
98
98
  }
99
- const todoDescriptions = ( todos.map(t => ( localize(4768, "{0} ({1})", t.title, t.status))));
100
- return localize(4769, "{0} items: {1}", todos.length, todoDescriptions.join("; "));
99
+ const todoDescriptions = ( todos.map(t => ( localize(4790, "{0} ({1})", t.title, t.status))));
100
+ return localize(4791, "{0} items: {1}", todos.length, todoDescriptions.join("; "));
101
101
  }
102
102
  case "pullRequest":
103
- return localize(4770, "PR: {0} by {1}", toolSpecificData.title, toolSpecificData.author);
103
+ return localize(4792, "PR: {0} by {1}", toolSpecificData.title, toolSpecificData.author);
104
104
  case "input":
105
105
  return typeof toolSpecificData.rawInput === "string" ? toolSpecificData.rawInput : JSON.stringify(toolSpecificData.rawInput);
106
106
  case "resources":
@@ -116,13 +116,13 @@ function getToolSpecificDataDescription(toolSpecificData) {
116
116
  return v.fsPath || v.path;
117
117
  }
118
118
  })).join(", ");
119
- return localize(4771, "Resources: {0}", paths);
119
+ return localize(4793, "Resources: {0}", paths);
120
120
  }
121
121
  case "simpleToolInvocation":
122
122
  {
123
123
  const inputText = toolSpecificData.input;
124
124
  const outputText = toolSpecificData.output;
125
- return localize(4772, "Input: {0}, Output: {1}", inputText, outputText);
125
+ return localize(4794, "Input: {0}, Output: {1}", inputText, outputText);
126
126
  }
127
127
  case "modifiedFilesConfirmation":
128
128
  {
@@ -130,7 +130,7 @@ function getToolSpecificDataDescription(toolSpecificData) {
130
130
  return "";
131
131
  }
132
132
  return localize(
133
- 4773,
133
+ 4795,
134
134
  "Modified files: {0}",
135
135
  ( toolSpecificData.modifiedFiles.map(file => {
136
136
  const revivedUri = URI.revive(file.uri);
@@ -165,12 +165,12 @@ function getResultDetailsDescription(resultDetails) {
165
165
  }
166
166
  if (isOutputDetailsSerialized(resultDetails)) {
167
167
  return {
168
- input: ( localize(4774, "{0} data", resultDetails.output.mimeType))
168
+ input: ( localize(4796, "{0} data", resultDetails.output.mimeType))
169
169
  };
170
170
  }
171
171
  if (isToolResultOutputDetails(resultDetails)) {
172
172
  return {
173
- input: ( localize(4774, "{0} data", resultDetails.output.mimeType))
173
+ input: ( localize(4796, "{0} data", resultDetails.output.mimeType))
174
174
  };
175
175
  }
176
176
  return {};
@@ -194,13 +194,13 @@ function getToolInvocationA11yDescription(
194
194
  if (isComplete && resultDetails) {
195
195
  const details = getResultDetailsDescription(resultDetails);
196
196
  if (details.isError) {
197
- parts.unshift(( localize(4775, "Errored")));
197
+ parts.unshift(( localize(4797, "Errored")));
198
198
  }
199
199
  if (details.input && !toolDataDesc) {
200
- parts.push(( localize(4776, "Input: {0}", details.input)));
200
+ parts.push(( localize(4798, "Input: {0}", details.input)));
201
201
  }
202
202
  if (details.files && details.files.length > 0) {
203
- parts.push(( localize(4777, "Files: {0}", details.files.join(", "))));
203
+ parts.push(( localize(4799, "Files: {0}", details.files.join(", "))));
204
204
  }
205
205
  }
206
206
  return parts.join(". ");
@@ -262,7 +262,7 @@ class ChatResponseAccessibleProvider extends Disposable {
262
262
  const thinkingValue = Array.isArray(part.value) ? part.value.join("") : (part.value || "");
263
263
  const trimmed = thinkingValue.trim();
264
264
  if (trimmed) {
265
- contentParts.push(( localize(4778, "Thinking: {0}", trimmed)));
265
+ contentParts.push(( localize(4800, "Thinking: {0}", trimmed)));
266
266
  }
267
267
  break;
268
268
  }
@@ -338,7 +338,7 @@ class ChatResponseAccessibleProvider extends Disposable {
338
338
  contentParts.push(toolContent);
339
339
  } else if (state.type === IChatToolInvocation.StateKind.WaitingForPostApproval) {
340
340
  const postApprovalDetails = isToolResultInputOutputDetails(state.resultDetails) ? state.resultDetails.input : isToolResultOutputDetails(state.resultDetails) ? undefined : toolContentToA11yString(state.contentForModel);
341
- contentParts.push(( localize(4779, "Approve results of {0}? Result: ", part.toolId)) + (postApprovalDetails ?? ""));
341
+ contentParts.push(( localize(4801, "Approve results of {0}? Result: ", part.toolId)) + (postApprovalDetails ?? ""));
342
342
  } else {
343
343
  const resultDetails = IChatToolInvocation.resultDetails(part);
344
344
  const isComplete = IChatToolInvocation.isComplete(part);
@@ -22,11 +22,11 @@ class AnnounceChatConfirmationAction extends Action2 {
22
22
  super({
23
23
  id: ACTION_ID_FOCUS_CHAT_CONFIRMATION,
24
24
  title: {
25
- value: ( localize(4780, "Focus Chat Confirmation")),
25
+ value: ( localize(4802, "Focus Chat Confirmation")),
26
26
  original: "Focus Chat Confirmation"
27
27
  },
28
28
  category: {
29
- value: ( localize(4781, "Chat")),
29
+ value: ( localize(4803, "Chat")),
30
30
  original: "Chat"
31
31
  },
32
32
  precondition: ChatContextKeys.enabled,
@@ -42,12 +42,12 @@ class AnnounceChatConfirmationAction extends Action2 {
42
42
  const chatWidgetService = accessor.get(IChatWidgetService);
43
43
  const pendingWidget = chatWidgetService.getAllWidgets().find(widget => widget.viewModel?.model.requestNeedsInput.get());
44
44
  if (!pendingWidget) {
45
- alert(( localize(4782, "No active chat session found.")));
45
+ alert(( localize(4804, "No active chat session found.")));
46
46
  return;
47
47
  }
48
48
  const viewModel = pendingWidget.viewModel;
49
49
  if (!viewModel) {
50
- alert(( localize(4783, "Chat interface not ready.")));
50
+ alert(( localize(4805, "Chat interface not ready.")));
51
51
  return;
52
52
  }
53
53
  let firstConfirmationElement;
@@ -69,7 +69,7 @@ class AnnounceChatConfirmationAction extends Action2 {
69
69
  firstConfirmationElement.focus();
70
70
  }
71
71
  } else {
72
- alert(( localize(4784, "No chat confirmation required")));
72
+ alert(( localize(4806, "No chat confirmation required")));
73
73
  }
74
74
  }
75
75
  }
@@ -78,11 +78,11 @@ class ToggleThinkingContentAccessibleViewAction extends Action2 {
78
78
  super({
79
79
  id: ACTION_ID_TOGGLE_THINKING_CONTENT_ACCESSIBLE_VIEW,
80
80
  title: {
81
- value: ( localize(4785, "Toggle Thinking Content in Accessible View")),
81
+ value: ( localize(4807, "Toggle Thinking Content in Accessible View")),
82
82
  original: "Toggle Thinking Content in Accessible View"
83
83
  },
84
84
  category: {
85
- value: ( localize(4781, "Chat")),
85
+ value: ( localize(4803, "Chat")),
86
86
  original: "Chat"
87
87
  },
88
88
  precondition: ChatContextKeys.enabled,
@@ -104,7 +104,7 @@ class ToggleThinkingContentAccessibleViewAction extends Action2 {
104
104
  StorageScope.PROFILE,
105
105
  StorageTarget.USER
106
106
  );
107
- alert(updatedValue ? ( localize(4786, "Thinking content will be included in the accessible view.")) : ( localize(4787, "Thinking content will be hidden from the accessible view.")));
107
+ alert(updatedValue ? ( localize(4808, "Thinking content will be included in the accessible view.")) : ( localize(4809, "Thinking content will be hidden from the accessible view.")));
108
108
  }
109
109
  }
110
110
  function registerChatAccessibilityActions() {
@@ -70,131 +70,131 @@ function getAccessibilityHelpText(type, keybindingService) {
70
70
  if (type === "panelChat" || type === "quickChat" || type === "agentView") {
71
71
  if (type === "quickChat") {
72
72
  content.push(( localize(
73
- 4788,
73
+ 4810,
74
74
  "The quick chat view is comprised of an input box and a request/response list. The input box is used to make requests and the list is used to display responses."
75
75
  )));
76
76
  content.push(( localize(
77
- 4789,
77
+ 4811,
78
78
  "The quick chat view is a transient interface for making and viewing requests, while the panel chat view is a persistent interface that also supports navigating suggested follow-up questions."
79
79
  )));
80
80
  } else {
81
81
  content.push(( localize(
82
- 4790,
82
+ 4812,
83
83
  "The chat view is a persistent interface that also supports navigating suggested follow-up questions, while the quick chat view is a transient interface for making and viewing requests."
84
84
  )));
85
85
  content.push(( localize(
86
- 4791,
86
+ 4813,
87
87
  "To create a new chat session, invoke the New Chat command{0}.",
88
88
  "<keybinding:workbench.action.chat.newChat>"
89
89
  )));
90
90
  content.push(( localize(
91
- 4792,
91
+ 4814,
92
92
  "To view all chat sessions, invoke the Show Chats command{0}.",
93
93
  "<keybinding:workbench.action.chat.history>"
94
94
  )));
95
95
  content.push(( localize(
96
- 4793,
96
+ 4815,
97
97
  "You can focus the agent sessions list by invoking the Focus Agent Sessions command{0}.",
98
98
  `<keybinding:${FocusAgentSessionsAction.id}>`
99
99
  )));
100
100
  content.push(( localize(
101
- 4794,
101
+ 4816,
102
102
  "To open the Agents Window, invoke the Open Agents Window command{0}. In screen reader mode, this keybinding includes Alt to avoid conflicts with screen reader shortcuts.",
103
103
  "<keybinding:workbench.action.openAgentsWindow>"
104
104
  )));
105
105
  }
106
106
  content.push(( localize(
107
- 4795,
107
+ 4817,
108
108
  "In the input box, use up and down arrows to navigate your request history. Edit input and use enter or the submit button to run a new request."
109
109
  )));
110
110
  content.push(( localize(
111
- 4796,
111
+ 4818,
112
112
  "To remove attached contexts, focus an attachment and press Delete or Backspace."
113
113
  )));
114
114
  content.push(( localize(
115
- 4797,
115
+ 4819,
116
116
  "In the input box, inspect the last response in the accessible view{0}. Thinking content is included in order by default.",
117
117
  "<keybinding:editor.action.accessibleView>"
118
118
  )));
119
119
  content.push(( localize(
120
- 4798,
120
+ 4820,
121
121
  "To include or exclude thinking content in the accessible view, run the Toggle Thinking Content in Accessible View command from the Command Palette."
122
122
  )));
123
123
  content.push(( localize(
124
- 4799,
124
+ 4821,
125
125
  "To focus the chat request and response list, invoke the Focus Chat command{0}. This will move focus to the most recent response, which you can then navigate using the up and down arrow keys.",
126
126
  getChatFocusKeybindingLabel(keybindingService, type, "last")
127
127
  )));
128
128
  content.push(( localize(
129
- 4800,
129
+ 4822,
130
130
  "To return to the last chat response you focused, invoke the Focus Last Focused Chat Response command{0}.",
131
131
  getChatFocusKeybindingLabel(keybindingService, type, "lastFocused")
132
132
  )));
133
133
  content.push(( localize(
134
- 4801,
134
+ 4823,
135
135
  "To focus the input box for chat requests, invoke the Focus Chat Input command{0}.",
136
136
  getChatFocusKeybindingLabel(keybindingService, type, "input")
137
137
  )));
138
138
  content.push(( localize(
139
- 4802,
139
+ 4824,
140
140
  "As the chat request is being processed, you will hear verbose progress updates if the request takes more than 4 seconds. This includes information like searched text for <search term> with X results, created file <file_name>, or read file <file path>. This can be disabled with accessibility.verboseChatProgressUpdates."
141
141
  )));
142
142
  content.push(( localize(
143
- 4803,
143
+ 4825,
144
144
  "Chat responses will be announced as they come in. A response will indicate the number of code blocks, if any, and then the rest of the response."
145
145
  )));
146
146
  content.push(( localize(
147
- 4804,
147
+ 4826,
148
148
  "To focus the next code block within a response, invoke the Chat: Next Code Block command{0}.",
149
149
  "<keybinding:workbench.action.chat.nextCodeBlock>"
150
150
  )));
151
151
  content.push(( localize(
152
- 4805,
152
+ 4827,
153
153
  "To navigate to the next user prompt in the conversation, invoke the Next User Prompt command{0}.",
154
154
  "<keybinding:workbench.action.chat.nextUserPrompt>"
155
155
  )));
156
156
  content.push(( localize(
157
- 4806,
157
+ 4828,
158
158
  "To navigate to the previous user prompt in the conversation, invoke the Previous User Prompt command{0}.",
159
159
  "<keybinding:workbench.action.chat.previousUserPrompt>"
160
160
  )));
161
161
  content.push(( localize(
162
- 4807,
162
+ 4829,
163
163
  "To focus pending chat confirmation dialogs, invoke the Focus Chat Confirmation Status command{0}.",
164
164
  "<keybinding:workbench.action.chat.focusConfirmation>"
165
165
  )));
166
166
  content.push(( localize(
167
- 4808,
167
+ 4830,
168
168
  "If there are any hidden chat terminals, you can view them by invoking the View Hidden Chat Terminals command{0}.",
169
169
  "<keybinding:workbench.action.terminal.chat.viewHiddenChatTerminals>"
170
170
  )));
171
171
  content.push(( localize(
172
- 4809,
172
+ 4831,
173
173
  "To focus the last chat terminal that ran a tool, invoke the Focus Most Recent Chat Terminal command{0}.",
174
174
  `<keybinding:${TerminalContribCommandId.FocusMostRecentChatTerminal}>`
175
175
  )));
176
176
  content.push(( localize(
177
- 4810,
177
+ 4832,
178
178
  "To focus the output from the last chat terminal tool, invoke the Focus Most Recent Chat Terminal Output command{0}.",
179
179
  `<keybinding:${TerminalContribCommandId.FocusMostRecentChatTerminalOutput}>`
180
180
  )));
181
181
  content.push(( localize(
182
- 4811,
182
+ 4833,
183
183
  "When a chat question appears, toggle focus between the question and the chat input{0}.",
184
184
  "<keybinding:workbench.action.chat.focusQuestionCarousel>"
185
185
  )));
186
186
  content.push(( localize(
187
- 4812,
187
+ 4834,
188
188
  "When a chat question is focused, move to the previous question{0}.",
189
189
  "<keybinding:workbench.action.chat.previousQuestion>"
190
190
  )));
191
191
  content.push(( localize(
192
- 4813,
192
+ 4835,
193
193
  "When a chat question is focused, move to the next question{0}.",
194
194
  "<keybinding:workbench.action.chat.nextQuestion>"
195
195
  )));
196
196
  content.push(( localize(
197
- 4814,
197
+ 4836,
198
198
  "When a tip appears, toggle focus between the tip and the chat input{0}.",
199
199
  "<keybinding:workbench.action.chat.focusTip>"
200
200
  )));
@@ -202,99 +202,99 @@ function getAccessibilityHelpText(type, keybindingService) {
202
202
  if (type === "editsView" || type === "agentView") {
203
203
  if (type === "agentView") {
204
204
  content.push(( localize(
205
- 4815,
205
+ 4837,
206
206
  "The chat agent view is used to apply edits across files in your workspace, enable running commands in the terminal, and more."
207
207
  )));
208
208
  } else {
209
- content.push(( localize(4816, "The chat editing view is used to apply edits across files.")));
209
+ content.push(( localize(4838, "The chat editing view is used to apply edits across files.")));
210
210
  }
211
211
  content.push(( localize(
212
- 4817,
212
+ 4839,
213
213
  "It is comprised of an input box and a file working set (Shift+Tab)."
214
214
  )));
215
215
  content.push(( localize(
216
- 4818,
216
+ 4840,
217
217
  "When a request is made, a progress indicator will play while the edits are being applied."
218
218
  )));
219
219
  content.push(( localize(
220
- 4819,
220
+ 4841,
221
221
  "Once the edits are applied, a sound will play to indicate the document has been opened and is ready for review. The sound can be disabled with accessibility.signals.chatEditModifiedFile."
222
222
  )));
223
223
  content.push(( localize(
224
- 4820,
224
+ 4842,
225
225
  "Navigate between edits in the editor with navigate previous{0} and next{1}",
226
226
  "<keybinding:chatEditor.action.navigatePrevious>",
227
227
  "<keybinding:chatEditor.action.navigateNext>"
228
228
  )));
229
229
  content.push(( localize(
230
- 4821,
230
+ 4843,
231
231
  "In the editor, Keep{0}, Undo{1}, or Toggle the Diff{2} for the current Change.",
232
232
  "<keybinding:chatEditor.action.acceptHunk>",
233
233
  "<keybinding:chatEditor.action.undoHunk>",
234
234
  "<keybinding:chatEditor.action.toggleDiff>"
235
235
  )));
236
236
  content.push(( localize(
237
- 4822,
237
+ 4844,
238
238
  "Sounds will play when a change is accepted or undone. The sounds can be disabled with accessibility.signals.editsKept and accessibility.signals.editsUndone."
239
239
  )));
240
240
  if (type === "agentView") {
241
241
  content.push(( localize(
242
- 4823,
242
+ 4845,
243
243
  "An alert will indicate when user action is required. For example, if the agent wants to run something in the terminal, you will hear Action Required: Run Command in Terminal."
244
244
  )));
245
245
  content.push(( localize(
246
- 4824,
246
+ 4846,
247
247
  "To take the action, use the accept tool command{0}.",
248
248
  "<keybinding:workbench.action.chat.acceptTool>"
249
249
  )));
250
250
  content.push(( localize(
251
- 4825,
251
+ 4847,
252
252
  "To automatically approve tool actions without manual confirmation, set {0} to {1} in your settings.",
253
253
  ChatConfiguration.GlobalAutoApprove,
254
254
  "true"
255
255
  )));
256
256
  content.push(( localize(
257
- 4826,
257
+ 4848,
258
258
  "To accept a tool action, use the Accept Tool Confirmation command{0}.",
259
259
  "<keybinding:workbench.action.chat.acceptTool>"
260
260
  )));
261
261
  content.push(( localize(
262
- 4827,
262
+ 4849,
263
263
  "By default, when edits are made to files, they will be opened. To change this behavior, set accessibility.openChatEditedFiles to false in your settings."
264
264
  )));
265
265
  content.push(( localize(
266
- 4828,
266
+ 4850,
267
267
  "To toggle focus between the Agent TODOs view and the chat input, use Agent TODOs: Toggle Focus{0}.",
268
268
  "<keybinding:workbench.action.chat.focusTodosView>"
269
269
  )));
270
270
  }
271
- content.push(( localize(4829, "Some helpful commands include:")));
272
- content.push(( localize(4830, "- Undo Edits{0}.", "<keybinding:workbench.action.chat.undoEdits>")));
271
+ content.push(( localize(4851, "Some helpful commands include:")));
272
+ content.push(( localize(4852, "- Undo Edits{0}.", "<keybinding:workbench.action.chat.undoEdits>")));
273
273
  content.push(( localize(
274
- 4831,
274
+ 4853,
275
275
  "- Restore to Last Checkpoint{0}.",
276
276
  "<keybinding:workbench.action.chat.restoreLastCheckpoint>"
277
277
  )));
278
278
  content.push(( localize(
279
- 4832,
279
+ 4854,
280
280
  "- Attach Files{0}.",
281
281
  "<keybinding:workbench.action.chat.editing.attachFiles>"
282
282
  )));
283
283
  content.push(( localize(
284
- 4833,
284
+ 4855,
285
285
  "- Remove File from Working Set{0}.",
286
286
  "<keybinding:chatEditing.removeFileFromWorkingSet>"
287
287
  )));
288
288
  content.push(( localize(
289
- 4834,
289
+ 4856,
290
290
  "- Keep{0} and Undo File{1}.",
291
291
  "<keybinding:chatEditing.acceptFile>",
292
292
  "<keybinding:chatEditing.discardFile>"
293
293
  )));
294
- content.push(( localize(4835, "- Save All Files{0}.", "<keybinding:chatEditing.saveAllFiles>")));
295
- content.push(( localize(4836, "- Keep All Edits{0}.", "<keybinding:chatEditing.acceptAllFiles>")));
296
- content.push(( localize(4837, "- Undo All Edits{0}.", "<keybinding:chatEditing.discardAllFiles>")));
297
- content.push(( localize(4838, "- Open File in Diff{0}.", "<keybinding:chatEditing.openFileInDiff>")));
294
+ content.push(( localize(4857, "- Save All Files{0}.", "<keybinding:chatEditing.saveAllFiles>")));
295
+ content.push(( localize(4858, "- Keep All Edits{0}.", "<keybinding:chatEditing.acceptAllFiles>")));
296
+ content.push(( localize(4859, "- Undo All Edits{0}.", "<keybinding:chatEditing.discardAllFiles>")));
297
+ content.push(( localize(4860, "- Open File in Diff{0}.", "<keybinding:chatEditing.openFileInDiff>")));
298
298
  content.push(
299
299
  `- ${ChatEditingShowChangesAction.LABEL}<keybinding:chatEditing.viewChanges>`
300
300
  );
@@ -303,45 +303,45 @@ function getAccessibilityHelpText(type, keybindingService) {
303
303
  );
304
304
  } else {
305
305
  content.push(( localize(
306
- 4839,
306
+ 4861,
307
307
  "Inline chat occurs within a code editor and takes into account the current selection. It is useful for making changes to the current editor. For example, fixing diagnostics, documenting or refactoring code. Keep in mind that AI generated code may be incorrect."
308
308
  )));
309
309
  content.push(( localize(
310
- 4840,
310
+ 4862,
311
311
  "It can be activated via code actions or directly using the command: Inline Chat: Start Inline Chat{0}.",
312
312
  "<keybinding:inlineChat.start>"
313
313
  )));
314
314
  content.push(( localize(
315
- 4841,
315
+ 4863,
316
316
  "In the input box, use Show Previous{0} and Show Next{1} to navigate your request history. Edit input and use enter or the submit button to run a new request.",
317
317
  "<keybinding:history.showPrevious>",
318
318
  "<keybinding:history.showNext>"
319
319
  )));
320
320
  content.push(( localize(
321
- 4842,
321
+ 4864,
322
322
  "In the input box, inspect the response in the accessible view{0}.",
323
323
  "<keybinding:editor.action.accessibleView>"
324
324
  )));
325
325
  content.push(( localize(
326
- 4843,
326
+ 4865,
327
327
  "Context menu actions may run a request prefixed with a /. Type / to discover such ready-made commands."
328
328
  )));
329
329
  content.push(( localize(
330
- 4844,
330
+ 4866,
331
331
  "If a fix action is invoked, a response will indicate the problem with the current code. A diff editor will be rendered and can be reached by tabbing."
332
332
  )));
333
333
  content.push(( localize(
334
- 4845,
334
+ 4867,
335
335
  "Once in the diff editor, enter review mode with{0}. Use up and down arrows to navigate lines with the proposed changes.",
336
336
  AccessibleDiffViewerNext.id
337
337
  )));
338
338
  content.push(( localize(
339
- 4846,
339
+ 4868,
340
340
  "Use tab to reach conditional parts like commands, status, message responses and more."
341
341
  )));
342
342
  }
343
343
  content.push(( localize(
344
- 4847,
344
+ 4869,
345
345
  "Accessibility Signals can be changed via settings with a prefix of signals.chat. By default, if a request takes more than 4 seconds, you will hear a sound indicating that progress is still occurring."
346
346
  )));
347
347
  return content.join("\n");
@@ -58,7 +58,7 @@ let ChatAgentRecommendation = class ChatAgentRecommendation extends Disposable {
58
58
  const availabilityContextId = `${INSTALL_CONTEXT_PREFIX}.${extensionKey}`;
59
59
  const availabilityContext = ( new RawContextKey(availabilityContextId, false)).bindTo(this.contextKeyService);
60
60
  this.availabilityContextKeys.set(extensionKey, availabilityContext);
61
- const title = ( localize2(4910, "New {0}", recommendation.displayName));
61
+ const title = ( localize2(4932, "New {0}", recommendation.displayName));
62
62
  this._register(registerAction2(class extends Action2 {
63
63
  constructor() {
64
64
  super({