@codingame/monaco-vscode-chat-service-override 25.1.2 → 26.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 (334) hide show
  1. package/index.js +24 -3
  2. package/package.json +5 -5
  3. package/vscode/src/vs/platform/browserElements/common/browserElements.d.ts +23 -3
  4. package/vscode/src/vs/platform/browserElements/common/browserElements.js +13 -6
  5. package/vscode/src/vs/platform/domWidget/browser/domWidget.js +4 -4
  6. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.d.ts +1 -1
  7. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.js +42 -27
  8. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.d.ts +14 -0
  9. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.js +218 -74
  10. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatTerminalOutputAccessibleView.js +6 -8
  11. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +14 -9
  12. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +165 -168
  13. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAgentRecommendationActions.js +27 -25
  14. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +141 -140
  15. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +189 -121
  16. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +14 -15
  17. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCustomizationDiagnosticsAction.d.ts +60 -0
  18. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCustomizationDiagnosticsAction.js +435 -0
  19. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +28 -12
  20. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +10 -12
  21. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatGettingStarted.d.ts +3 -1
  22. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatGettingStarted.js +37 -16
  23. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.d.ts +11 -0
  24. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +54 -24
  25. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatLanguageModelActions.js +73 -34
  26. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +71 -30
  27. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatNewActions.js +151 -89
  28. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPromptNavigationActions.js +12 -15
  29. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +39 -40
  30. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolActions.js +90 -125
  31. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.d.ts +5 -2
  32. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.js +263 -143
  33. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTransfer.js +4 -4
  34. package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +188 -126
  35. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.d.ts +1 -1
  36. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.js +37 -28
  37. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.d.ts +21 -9
  38. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.js +392 -226
  39. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.js +31 -27
  40. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsQuickAccess.js +25 -23
  41. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.js +1 -3
  42. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjection.d.ts +2 -0
  43. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjection.js +13 -0
  44. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionActions.d.ts +20 -0
  45. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionActions.js +83 -0
  46. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.d.ts +68 -0
  47. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.js +319 -0
  48. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionsExperiments.contribution.d.ts +1 -0
  49. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionsExperiments.contribution.js +215 -0
  50. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.d.ts +179 -0
  51. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.js +951 -0
  52. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/media/agentsessionprojection.css +20 -0
  53. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/media/agenttitlebarstatuswidget.css +388 -0
  54. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/media/unifiedQuickAccess.css +195 -0
  55. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccess.d.ts +120 -0
  56. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccess.js +394 -0
  57. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccessActions.d.ts +38 -0
  58. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccessActions.js +95 -0
  59. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentSessionsProvider.d.ts +3 -1
  60. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentSessionsProvider.js +31 -29
  61. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.js +49 -47
  62. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.js +4 -6
  63. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/media/simpleBrowserOverlay.css +0 -1
  64. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/simpleBrowserEditorOverlay.js +188 -151
  65. package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +1012 -639
  66. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCheckpointTimelineImpl.js +256 -151
  67. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.d.ts +8 -1
  68. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +182 -101
  69. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingDeletedFileEntry.d.ts +79 -0
  70. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingDeletedFileEntry.js +193 -0
  71. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorAccessibility.js +9 -7
  72. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.d.ts +68 -0
  73. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.js +253 -0
  74. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.d.ts +4 -5
  75. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +69 -50
  76. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.d.ts +3 -4
  77. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +52 -33
  78. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.d.ts +5 -6
  79. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +274 -155
  80. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingOperations.js +1 -1
  81. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.d.ts +2 -10
  82. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +130 -104
  83. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.d.ts +12 -2
  84. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +385 -160
  85. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSessionStorage.js +53 -36
  86. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.js +112 -75
  87. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelContentProviders.js +19 -10
  88. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/media/chatEditorController.css +31 -11
  89. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingModifiedNotebookSnapshot.js +39 -17
  90. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNewNotebookContentEdits.js +10 -14
  91. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.d.ts +0 -2
  92. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.js +25 -16
  93. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.d.ts +1 -1
  94. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +265 -203
  95. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookFileSystemProvider.js +29 -26
  96. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/helpers.js +114 -60
  97. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/notebookCellChanges.js +16 -19
  98. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/overlayToolbarDecorator.js +44 -30
  99. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +119 -45
  100. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditor.d.ts +1 -0
  101. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditor.js +152 -136
  102. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +12 -8
  103. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsViewModel.d.ts +51 -31
  104. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsViewModel.js +323 -217
  105. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.d.ts +4 -3
  106. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.js +653 -401
  107. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatUsageWidget.js +52 -40
  108. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/media/chatModelsWidget.css +22 -3
  109. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.d.ts +5 -2
  110. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +43 -28
  111. package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +182 -136
  112. package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.d.ts +33 -0
  113. package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.js +548 -0
  114. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.d.ts +0 -1
  115. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +222 -138
  116. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.d.ts +3 -3
  117. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.js +151 -113
  118. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.d.ts +6 -4
  119. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.js +453 -217
  120. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.d.ts +1 -1
  121. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +162 -88
  122. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/media/chatSetup.css +2 -1
  123. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatus.d.ts +0 -2
  124. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatus.js +1 -13
  125. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.d.ts +1 -0
  126. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.js +309 -233
  127. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.js +55 -53
  128. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusItemService.js +3 -1
  129. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.d.ts +37 -0
  130. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.js +109 -0
  131. package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.js +35 -23
  132. package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContextService.d.ts +9 -4
  133. package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContextService.js +73 -33
  134. package/vscode/src/vs/workbench/contrib/chat/browser/languageModelsConfigurationService.d.ts +47 -0
  135. package/vscode/src/vs/workbench/contrib/chat/browser/languageModelsConfigurationService.js +333 -0
  136. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +39 -25
  137. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionContribution.js +9 -5
  138. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +23 -20
  139. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileActions.js +2 -0
  140. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolsCodeLensProvider.js +20 -16
  141. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptUrlHandler.js +65 -57
  142. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/runPromptAction.js +48 -36
  143. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveAsPromptFileActions.js +20 -12
  144. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/skillActions.d.ts +4 -0
  145. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/skillActions.js +52 -0
  146. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.js +155 -159
  147. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.d.ts +24 -14
  148. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.js +521 -246
  149. package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolSetsContribution.js +107 -76
  150. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +28 -24
  151. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownAnchorService.js +10 -6
  152. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolOutputStateCache.d.ts +16 -0
  153. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolOutputStateCache.js +57 -0
  154. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatLayoutService.js +4 -6
  155. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidgetService.js +56 -44
  156. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatStatusWidget.d.ts +0 -3
  157. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatStatusWidget.js +37 -47
  158. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatEditorInputContentProvider.js +5 -7
  159. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.d.ts +10 -0
  160. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +1284 -0
  161. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorContrib.js +179 -125
  162. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorHover.js +9 -11
  163. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/editorHoverWrapper.js +7 -6
  164. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/chatQuick.js +96 -78
  165. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.js +58 -53
  166. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.d.ts +25 -11
  167. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.js +484 -292
  168. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.d.ts +1 -6
  169. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.js +65 -92
  170. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatViewPane.css +16 -19
  171. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatViewTitleControl.css +1 -0
  172. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.d.ts +9 -1
  173. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.js +331 -189
  174. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceTelemetry.js +81 -93
  175. package/vscode/src/vs/workbench/contrib/chat/common/ignoredFiles.js +1 -3
  176. package/vscode/src/vs/workbench/contrib/chat/common/model/chatModelStore.d.ts +5 -3
  177. package/vscode/src/vs/workbench/contrib/chat/common/model/chatModelStore.js +6 -7
  178. package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.d.ts +36 -8
  179. package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.js +169 -31
  180. package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionOperationLog.d.ts +6 -0
  181. package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionOperationLog.js +141 -0
  182. package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.d.ts +6 -4
  183. package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.js +218 -144
  184. package/vscode/src/vs/workbench/contrib/chat/common/model/chatTransferService.js +20 -10
  185. package/vscode/src/vs/workbench/contrib/chat/common/model/objectMutationLog.d.ts +109 -0
  186. package/vscode/src/vs/workbench/contrib/chat/common/model/objectMutationLog.js +349 -0
  187. package/vscode/src/vs/workbench/contrib/chat/common/participants/chatSlashCommands.js +9 -8
  188. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.d.ts +9 -0
  189. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +139 -36
  190. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/PromptHeaderDefinitionProvider.js +3 -6
  191. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptBodyAutocompletion.js +64 -51
  192. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +49 -34
  193. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptDocumentSemanticTokensProvider.js +21 -13
  194. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.d.ts +1 -1
  195. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +125 -97
  196. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.js +91 -131
  197. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptLinkProvider.js +8 -5
  198. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.d.ts +5 -0
  199. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +488 -222
  200. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileContributions.js +32 -12
  201. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +58 -13
  202. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +717 -200
  203. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +79 -18
  204. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +371 -130
  205. package/vscode/src/vs/workbench/contrib/chat/common/tools/chatTodoListService.d.ts +0 -1
  206. package/vscode/src/vs/workbench/contrib/chat/common/tools/chatTodoListService.js +3 -7
  207. package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +79 -61
  208. package/vscode/src/vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.js +27 -21
  209. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryServiceImpl.js +7 -10
  210. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.d.ts +1 -1
  211. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +26 -32
  212. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibilityHelp.js +2 -2
  213. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.d.ts +8 -60
  214. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +115 -426
  215. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatDefaultModel.d.ts +15 -0
  216. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatDefaultModel.js +127 -0
  217. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatNotebook.js +1 -37
  218. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +16 -0
  219. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.js +21 -0
  220. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.d.ts +51 -0
  221. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +334 -0
  222. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.d.ts +41 -0
  223. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.js +424 -0
  224. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.d.ts +4 -0
  225. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.js +58 -0
  226. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.d.ts +7 -0
  227. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +195 -0
  228. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.d.ts +8 -0
  229. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +368 -0
  230. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.d.ts +2 -0
  231. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +7 -0
  232. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookModifiedCellDecorator.d.ts +1 -1
  233. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookModifiedCellDecorator.js +1 -1
  234. package/vscode/src/vs/workbench/contrib/remoteCodingAgents/browser/remoteCodingAgents.contribution.js +23 -25
  235. package/vscode/src/vs/workbench/contrib/remoteCodingAgents/common/remoteCodingAgentsService.js +7 -8
  236. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.js +34 -38
  237. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibleView.js +8 -12
  238. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +103 -95
  239. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.js +28 -16
  240. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatEnabler.js +4 -5
  241. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatService.d.ts +12 -8
  242. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatService.js +65 -54
  243. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +86 -60
  244. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/alternativeRecommendation.js +13 -26
  245. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/commandParsers/commandFileWriteParser.d.ts +24 -0
  246. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/commandParsers/sedFileWriteParser.d.ts +26 -0
  247. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/commandParsers/sedFileWriteParser.js +142 -0
  248. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.d.ts +2 -1
  249. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.js +56 -46
  250. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/executeStrategy.d.ts +2 -2
  251. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/executeStrategy.js +63 -31
  252. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/noneExecuteStrategy.d.ts +2 -1
  253. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/noneExecuteStrategy.js +35 -30
  254. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/richExecuteStrategy.d.ts +2 -1
  255. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/richExecuteStrategy.js +44 -37
  256. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/strategyHelpers.js +3 -4
  257. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/outputHelpers.js +3 -3
  258. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.d.ts +11 -0
  259. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +70 -50
  260. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalToolTelemetry.js +26 -394
  261. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/taskHelpers.js +85 -49
  262. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +68 -27
  263. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/toolTerminalCreator.d.ts +1 -0
  264. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/toolTerminalCreator.js +67 -45
  265. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/awaitTerminalTool.d.ts +12 -0
  266. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/awaitTerminalTool.js +106 -0
  267. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/commandLineAutoApprover.d.ts +2 -2
  268. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/commandLineAutoApprover.js +177 -97
  269. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.js +136 -49
  270. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAnalyzer.d.ts +2 -1
  271. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.js +128 -112
  272. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.js +51 -49
  273. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineSandboxAnalyzer.d.ts +8 -0
  274. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineSandboxAnalyzer.js +25 -0
  275. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/commandLinePresenter.d.ts +41 -0
  276. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/nodeCommandLinePresenter.d.ts +19 -0
  277. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/nodeCommandLinePresenter.js +37 -0
  278. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/pythonCommandLinePresenter.d.ts +19 -0
  279. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/pythonCommandLinePresenter.js +37 -0
  280. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/rubyCommandLinePresenter.d.ts +19 -0
  281. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/rubyCommandLinePresenter.js +44 -0
  282. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/sandboxedCommandLinePresenter.d.ts +12 -0
  283. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/sandboxedCommandLinePresenter.js +21 -0
  284. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineCdPrefixRewriter.js +5 -14
  285. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLinePreventHistoryRewriter.js +2 -4
  286. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineRewriter.d.ts +1 -0
  287. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineSandboxRewriter.d.ts +8 -0
  288. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineSandboxRewriter.js +29 -0
  289. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalLastCommandTool.js +30 -31
  290. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.js +16 -17
  291. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.js +19 -20
  292. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/killTerminalTool.d.ts +11 -0
  293. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/killTerminalTool.js +58 -0
  294. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.d.ts +31 -3
  295. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.js +325 -199
  296. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/types.d.ts +1 -1
  297. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/types.js +1 -1
  298. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +33 -38
  299. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.d.ts +45 -5
  300. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +746 -456
  301. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +145 -98
  302. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +88 -37
  303. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +120 -51
  304. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.js +25 -28
  305. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalCommandArtifactCollector.d.ts +5 -0
  306. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalCommandArtifactCollector.js +58 -12
  307. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/toolIds.d.ts +12 -0
  308. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/toolIds.js +17 -0
  309. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/treeSitterCommandParser.d.ts +8 -1
  310. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/treeSitterCommandParser.js +47 -28
  311. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.d.ts +37 -0
  312. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.js +171 -0
  313. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.d.ts +0 -58
  314. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.js +0 -213
  315. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.d.ts +0 -39
  316. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.js +0 -243
  317. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.d.ts +0 -7
  318. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.js +0 -41
  319. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.d.ts +0 -166
  320. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.js +0 -607
  321. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentsessionsviewer.css +0 -255
  322. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.d.ts +0 -46
  323. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +0 -396
  324. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.d.ts +0 -9
  325. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +0 -379
  326. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/media/chatEditingEditorOverlay.css +0 -117
  327. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +0 -141
  328. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +0 -961
  329. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.d.ts +0 -36
  330. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +0 -447
  331. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsParametersSchema.d.ts +0 -6
  332. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsParametersSchema.js +0 -251
  333. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibleView.d.ts +0 -10
  334. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibleView.js +0 -42
@@ -16,7 +16,7 @@ import { ChatEditingShowChangesAction, ViewPreviousEditsAction } from '@codingam
16
16
  class PanelChatAccessibilityHelp {
17
17
  constructor() {
18
18
  this.priority = 107;
19
- this.name = 'panelChat';
19
+ this.name = "panelChat";
20
20
  this.type = AccessibleViewType.Help;
21
21
  this.when = ( ContextKeyExpr.and(( ChatContextKeys.location.isEqualTo(ChatAgentLocation.Chat)), ( ChatContextKeys.inQuickChat.negate()), ( ChatContextKeys.chatModeKind.isEqualTo(ChatModeKind.Ask)), ( ContextKeyExpr.or(
22
22
  ChatContextKeys.inChatSession,
@@ -25,13 +25,13 @@ class PanelChatAccessibilityHelp {
25
25
  ))));
26
26
  }
27
27
  getProvider(accessor) {
28
- return getChatAccessibilityHelpProvider(accessor, undefined, 'panelChat');
28
+ return getChatAccessibilityHelpProvider(accessor, undefined, "panelChat");
29
29
  }
30
30
  }
31
31
  class QuickChatAccessibilityHelp {
32
32
  constructor() {
33
33
  this.priority = 107;
34
- this.name = 'quickChat';
34
+ this.name = "quickChat";
35
35
  this.type = AccessibleViewType.Help;
36
36
  this.when = ( ContextKeyExpr.and(ChatContextKeys.inQuickChat, ( ContextKeyExpr.or(
37
37
  ChatContextKeys.inChatSession,
@@ -40,271 +40,272 @@ class QuickChatAccessibilityHelp {
40
40
  ))));
41
41
  }
42
42
  getProvider(accessor) {
43
- return getChatAccessibilityHelpProvider(accessor, undefined, 'quickChat');
43
+ return getChatAccessibilityHelpProvider(accessor, undefined, "quickChat");
44
44
  }
45
45
  }
46
46
  class EditsChatAccessibilityHelp {
47
47
  constructor() {
48
48
  this.priority = 119;
49
- this.name = 'editsView';
49
+ this.name = "editsView";
50
50
  this.type = AccessibleViewType.Help;
51
51
  this.when = ( ContextKeyExpr.and(ChatContextKeyExprs.inEditingMode, ChatContextKeys.inChatInput));
52
52
  }
53
53
  getProvider(accessor) {
54
- return getChatAccessibilityHelpProvider(accessor, undefined, 'editsView');
54
+ return getChatAccessibilityHelpProvider(accessor, undefined, "editsView");
55
55
  }
56
56
  }
57
57
  class AgentChatAccessibilityHelp {
58
58
  constructor() {
59
59
  this.priority = 120;
60
- this.name = 'agentView';
60
+ this.name = "agentView";
61
61
  this.type = AccessibleViewType.Help;
62
62
  this.when = ( ContextKeyExpr.and(( ChatContextKeys.chatModeKind.isEqualTo(ChatModeKind.Agent)), ChatContextKeys.inChatInput));
63
63
  }
64
64
  getProvider(accessor) {
65
- return getChatAccessibilityHelpProvider(accessor, undefined, 'agentView');
65
+ return getChatAccessibilityHelpProvider(accessor, undefined, "agentView");
66
66
  }
67
67
  }
68
68
  function getAccessibilityHelpText(type, keybindingService) {
69
69
  const content = [];
70
- if (type === 'panelChat' || type === 'quickChat' || type === 'agentView') {
71
- if (type === 'quickChat') {
70
+ if (type === "panelChat" || type === "quickChat" || type === "agentView") {
71
+ if (type === "quickChat") {
72
72
  content.push(( localize(
73
- 4598,
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.'
73
+ 4618,
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
- 4599,
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.'
77
+ 4619,
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
- }
81
- else {
80
+ } else {
82
81
  content.push(( localize(
83
- 4600,
84
- '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.'
82
+ 4620,
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."
85
84
  )));
86
85
  content.push(( localize(
87
- 4601,
88
- 'To create a new chat session, invoke the New Chat command{0}.',
89
- '<keybinding:workbench.action.chat.newChat>'
86
+ 4621,
87
+ "To create a new chat session, invoke the New Chat command{0}.",
88
+ "<keybinding:workbench.action.chat.newChat>"
90
89
  )));
91
90
  content.push(( localize(
92
- 4602,
93
- 'To view all chat sessions, invoke the Show Chats command{0}.',
94
- '<keybinding:workbench.action.chat.history>'
91
+ 4622,
92
+ "To view all chat sessions, invoke the Show Chats command{0}.",
93
+ "<keybinding:workbench.action.chat.history>"
95
94
  )));
96
95
  content.push(( localize(
97
- 4603,
98
- 'You can focus the agent sessions list by invoking the Focus Agent Sessions command{0}.',
96
+ 4623,
97
+ "You can focus the agent sessions list by invoking the Focus Agent Sessions command{0}.",
99
98
  `<keybinding:${FocusAgentSessionsAction.id}>`
100
99
  )));
101
100
  }
102
101
  content.push(( localize(
103
- 4604,
104
- '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.'
102
+ 4624,
103
+ "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."
105
104
  )));
106
105
  content.push(( localize(
107
- 4605,
108
- 'To remove attached contexts, focus an attachment and press Delete or Backspace.'
106
+ 4625,
107
+ "To remove attached contexts, focus an attachment and press Delete or Backspace."
109
108
  )));
110
109
  content.push(( localize(
111
- 4606,
112
- 'In the input box, inspect the last response in the accessible view{0}.',
113
- '<keybinding:editor.action.accessibleView>'
110
+ 4626,
111
+ "In the input box, inspect the last response in the accessible view{0}. Thinking content is included in order.",
112
+ "<keybinding:editor.action.accessibleView>"
114
113
  )));
115
114
  content.push(( localize(
116
- 4607,
117
- '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.',
118
- getChatFocusKeybindingLabel(keybindingService, type, 'last')
115
+ 4627,
116
+ "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.",
117
+ getChatFocusKeybindingLabel(keybindingService, type, "last")
119
118
  )));
120
119
  content.push(( localize(
121
- 4608,
122
- 'To return to the last chat response you focused, invoke the Focus Last Focused Chat Response command{0}.',
123
- getChatFocusKeybindingLabel(keybindingService, type, 'lastFocused')
120
+ 4628,
121
+ "To return to the last chat response you focused, invoke the Focus Last Focused Chat Response command{0}.",
122
+ getChatFocusKeybindingLabel(keybindingService, type, "lastFocused")
124
123
  )));
125
124
  content.push(( localize(
126
- 4609,
127
- 'To focus the input box for chat requests, invoke the Focus Chat Input command{0}.',
128
- getChatFocusKeybindingLabel(keybindingService, type, 'input')
125
+ 4629,
126
+ "To focus the input box for chat requests, invoke the Focus Chat Input command{0}.",
127
+ getChatFocusKeybindingLabel(keybindingService, type, "input")
129
128
  )));
130
129
  content.push(( localize(
131
- 4610,
132
- '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.'
130
+ 4630,
131
+ "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."
133
132
  )));
134
133
  content.push(( localize(
135
- 4611,
136
- '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.'
134
+ 4631,
135
+ "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."
137
136
  )));
138
137
  content.push(( localize(
139
- 4612,
140
- 'To focus the next code block within a response, invoke the Chat: Next Code Block command{0}.',
141
- '<keybinding:workbench.action.chat.nextCodeBlock>'
138
+ 4632,
139
+ "To focus the next code block within a response, invoke the Chat: Next Code Block command{0}.",
140
+ "<keybinding:workbench.action.chat.nextCodeBlock>"
142
141
  )));
143
142
  content.push(( localize(
144
- 4613,
145
- 'To navigate to the next user prompt in the conversation, invoke the Next User Prompt command{0}.',
146
- '<keybinding:workbench.action.chat.nextUserPrompt>'
143
+ 4633,
144
+ "To navigate to the next user prompt in the conversation, invoke the Next User Prompt command{0}.",
145
+ "<keybinding:workbench.action.chat.nextUserPrompt>"
147
146
  )));
148
147
  content.push(( localize(
149
- 4614,
150
- 'To navigate to the previous user prompt in the conversation, invoke the Previous User Prompt command{0}.',
151
- '<keybinding:workbench.action.chat.previousUserPrompt>'
148
+ 4634,
149
+ "To navigate to the previous user prompt in the conversation, invoke the Previous User Prompt command{0}.",
150
+ "<keybinding:workbench.action.chat.previousUserPrompt>"
152
151
  )));
153
152
  content.push(( localize(
154
- 4615,
155
- 'To focus pending chat confirmation dialogs, invoke the Focus Chat Confirmation Status command{0}.',
156
- '<keybinding:workbench.action.chat.focusConfirmation>'
153
+ 4635,
154
+ "To focus pending chat confirmation dialogs, invoke the Focus Chat Confirmation Status command{0}.",
155
+ "<keybinding:workbench.action.chat.focusConfirmation>"
157
156
  )));
158
157
  content.push(( localize(
159
- 4616,
160
- 'If there are any hidden chat terminals, you can view them by invoking the View Hidden Chat Terminals command{0}.',
161
- '<keybinding:workbench.action.terminal.chat.viewHiddenChatTerminals>'
158
+ 4636,
159
+ "If there are any hidden chat terminals, you can view them by invoking the View Hidden Chat Terminals command{0}.",
160
+ "<keybinding:workbench.action.terminal.chat.viewHiddenChatTerminals>"
162
161
  )));
163
162
  content.push(( localize(
164
- 4617,
165
- 'To focus the last chat terminal that ran a tool, invoke the Focus Most Recent Chat Terminal command{0}.',
163
+ 4637,
164
+ "To focus the last chat terminal that ran a tool, invoke the Focus Most Recent Chat Terminal command{0}.",
166
165
  `<keybinding:${TerminalContribCommandId.FocusMostRecentChatTerminal}>`
167
166
  )));
168
167
  content.push(( localize(
169
- 4618,
170
- 'To focus the output from the last chat terminal tool, invoke the Focus Most Recent Chat Terminal Output command{0}.',
168
+ 4638,
169
+ "To focus the output from the last chat terminal tool, invoke the Focus Most Recent Chat Terminal Output command{0}.",
171
170
  `<keybinding:${TerminalContribCommandId.FocusMostRecentChatTerminalOutput}>`
172
171
  )));
173
172
  }
174
- if (type === 'editsView' || type === 'agentView') {
175
- if (type === 'agentView') {
173
+ if (type === "editsView" || type === "agentView") {
174
+ if (type === "agentView") {
176
175
  content.push(( localize(
177
- 4619,
178
- 'The chat agent view is used to apply edits across files in your workspace, enable running commands in the terminal, and more.'
176
+ 4639,
177
+ "The chat agent view is used to apply edits across files in your workspace, enable running commands in the terminal, and more."
179
178
  )));
180
- }
181
- else {
182
- content.push(( localize(4620, 'The chat editing view is used to apply edits across files.')));
179
+ } else {
180
+ content.push(( localize(4640, "The chat editing view is used to apply edits across files.")));
183
181
  }
184
182
  content.push(( localize(
185
- 4621,
186
- 'It is comprised of an input box and a file working set (Shift+Tab).'
183
+ 4641,
184
+ "It is comprised of an input box and a file working set (Shift+Tab)."
187
185
  )));
188
186
  content.push(( localize(
189
- 4622,
190
- 'When a request is made, a progress indicator will play while the edits are being applied.'
187
+ 4642,
188
+ "When a request is made, a progress indicator will play while the edits are being applied."
191
189
  )));
192
190
  content.push(( localize(
193
- 4623,
194
- '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.'
191
+ 4643,
192
+ "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."
195
193
  )));
196
194
  content.push(( localize(
197
- 4624,
198
- 'Navigate between edits in the editor with navigate previous{0} and next{1}',
199
- '<keybinding:chatEditor.action.navigatePrevious>',
200
- '<keybinding:chatEditor.action.navigateNext>'
195
+ 4644,
196
+ "Navigate between edits in the editor with navigate previous{0} and next{1}",
197
+ "<keybinding:chatEditor.action.navigatePrevious>",
198
+ "<keybinding:chatEditor.action.navigateNext>"
201
199
  )));
202
200
  content.push(( localize(
203
- 4625,
204
- 'In the editor, Keep{0}, Undo{1}, or Toggle the Diff{2} for the current Change.',
205
- '<keybinding:chatEditor.action.acceptHunk>',
206
- '<keybinding:chatEditor.action.undoHunk>',
207
- '<keybinding:chatEditor.action.toggleDiff>'
201
+ 4645,
202
+ "In the editor, Keep{0}, Undo{1}, or Toggle the Diff{2} for the current Change.",
203
+ "<keybinding:chatEditor.action.acceptHunk>",
204
+ "<keybinding:chatEditor.action.undoHunk>",
205
+ "<keybinding:chatEditor.action.toggleDiff>"
208
206
  )));
209
207
  content.push(( localize(
210
- 4626,
211
- 'Sounds will play when a change is accepted or undone. The sounds can be disabled with accessibility.signals.editsKept and accessibility.signals.editsUndone.'
208
+ 4646,
209
+ "Sounds will play when a change is accepted or undone. The sounds can be disabled with accessibility.signals.editsKept and accessibility.signals.editsUndone."
212
210
  )));
213
- if (type === 'agentView') {
211
+ if (type === "agentView") {
214
212
  content.push(( localize(
215
- 4627,
216
- '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.'
213
+ 4647,
214
+ "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."
217
215
  )));
218
216
  content.push(( localize(
219
- 4628,
220
- 'To take the action, use the accept tool command{0}.',
221
- '<keybinding:workbench.action.chat.acceptTool>'
217
+ 4648,
218
+ "To take the action, use the accept tool command{0}.",
219
+ "<keybinding:workbench.action.chat.acceptTool>"
222
220
  )));
223
221
  content.push(( localize(
224
- 4629,
225
- 'To automatically approve tool actions without manual confirmation, set {0} to {1} in your settings.',
222
+ 4649,
223
+ "To automatically approve tool actions without manual confirmation, set {0} to {1} in your settings.",
226
224
  ChatConfiguration.GlobalAutoApprove,
227
- 'true'
225
+ "true"
228
226
  )));
229
227
  content.push(( localize(
230
- 4630,
231
- 'To accept a tool action, use the Accept Tool Confirmation command{0}.',
232
- '<keybinding:workbench.action.chat.acceptTool>'
228
+ 4650,
229
+ "To accept a tool action, use the Accept Tool Confirmation command{0}.",
230
+ "<keybinding:workbench.action.chat.acceptTool>"
233
231
  )));
234
232
  content.push(( localize(
235
- 4631,
236
- 'By default, when edits are made to files, they will be opened. To change this behavior, set accessibility.openChatEditedFiles to false in your settings.'
233
+ 4651,
234
+ "By default, when edits are made to files, they will be opened. To change this behavior, set accessibility.openChatEditedFiles to false in your settings."
237
235
  )));
238
236
  }
239
- content.push(( localize(4632, 'Some helpful commands include:')));
240
- content.push(( localize(4633, '- Undo Edits{0}.', '<keybinding:workbench.action.chat.undoEdits>')));
237
+ content.push(( localize(4652, "Some helpful commands include:")));
238
+ content.push(( localize(4653, "- Undo Edits{0}.", "<keybinding:workbench.action.chat.undoEdits>")));
241
239
  content.push(( localize(
242
- 4634,
243
- '- Attach Files{0}.',
244
- '<keybinding:workbench.action.chat.editing.attachFiles>'
240
+ 4654,
241
+ "- Attach Files{0}.",
242
+ "<keybinding:workbench.action.chat.editing.attachFiles>"
245
243
  )));
246
244
  content.push(( localize(
247
- 4635,
248
- '- Remove File from Working Set{0}.',
249
- '<keybinding:chatEditing.removeFileFromWorkingSet>'
245
+ 4655,
246
+ "- Remove File from Working Set{0}.",
247
+ "<keybinding:chatEditing.removeFileFromWorkingSet>"
250
248
  )));
251
249
  content.push(( localize(
252
- 4636,
253
- '- Keep{0} and Undo File{1}.',
254
- '<keybinding:chatEditing.acceptFile>',
255
- '<keybinding:chatEditing.discardFile>'
256
- )));
257
- content.push(( localize(4637, '- Save All Files{0}.', '<keybinding:chatEditing.saveAllFiles>')));
258
- content.push(( localize(4638, '- Keep All Edits{0}.', '<keybinding:chatEditing.acceptAllFiles>')));
259
- content.push(( localize(4639, '- Undo All Edits{0}.', '<keybinding:chatEditing.discardAllFiles>')));
260
- content.push(( localize(4640, '- Open File in Diff{0}.', '<keybinding:chatEditing.openFileInDiff>')));
261
- content.push(`- ${ChatEditingShowChangesAction.LABEL}<keybinding:chatEditing.viewChanges>`);
262
- content.push(`- ${ViewPreviousEditsAction.Label}<keybinding:chatEditing.viewPreviousEdits>`);
263
- }
264
- else {
250
+ 4656,
251
+ "- Keep{0} and Undo File{1}.",
252
+ "<keybinding:chatEditing.acceptFile>",
253
+ "<keybinding:chatEditing.discardFile>"
254
+ )));
255
+ content.push(( localize(4657, "- Save All Files{0}.", "<keybinding:chatEditing.saveAllFiles>")));
256
+ content.push(( localize(4658, "- Keep All Edits{0}.", "<keybinding:chatEditing.acceptAllFiles>")));
257
+ content.push(( localize(4659, "- Undo All Edits{0}.", "<keybinding:chatEditing.discardAllFiles>")));
258
+ content.push(( localize(4660, "- Open File in Diff{0}.", "<keybinding:chatEditing.openFileInDiff>")));
259
+ content.push(
260
+ `- ${ChatEditingShowChangesAction.LABEL}<keybinding:chatEditing.viewChanges>`
261
+ );
262
+ content.push(
263
+ `- ${ViewPreviousEditsAction.Label}<keybinding:chatEditing.viewPreviousEdits>`
264
+ );
265
+ } else {
265
266
  content.push(( localize(
266
- 4641,
267
+ 4661,
267
268
  "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."
268
269
  )));
269
270
  content.push(( localize(
270
- 4642,
271
+ 4662,
271
272
  "It can be activated via code actions or directly using the command: Inline Chat: Start Inline Chat{0}.",
272
- '<keybinding:inlineChat.start>'
273
+ "<keybinding:inlineChat.start>"
273
274
  )));
274
275
  content.push(( localize(
275
- 4643,
276
- '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.',
277
- '<keybinding:history.showPrevious>',
278
- '<keybinding:history.showNext>'
276
+ 4663,
277
+ "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.",
278
+ "<keybinding:history.showPrevious>",
279
+ "<keybinding:history.showNext>"
279
280
  )));
280
281
  content.push(( localize(
281
- 4644,
282
- 'In the input box, inspect the response in the accessible view{0}.',
283
- '<keybinding:editor.action.accessibleView>'
282
+ 4664,
283
+ "In the input box, inspect the response in the accessible view{0}.",
284
+ "<keybinding:editor.action.accessibleView>"
284
285
  )));
285
286
  content.push(( localize(
286
- 4645,
287
+ 4665,
287
288
  "Context menu actions may run a request prefixed with a /. Type / to discover such ready-made commands."
288
289
  )));
289
290
  content.push(( localize(
290
- 4646,
291
+ 4666,
291
292
  "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."
292
293
  )));
293
294
  content.push(( localize(
294
- 4647,
295
+ 4667,
295
296
  "Once in the diff editor, enter review mode with{0}. Use up and down arrows to navigate lines with the proposed changes.",
296
297
  AccessibleDiffViewerNext.id
297
298
  )));
298
299
  content.push(( localize(
299
- 4648,
300
+ 4668,
300
301
  "Use tab to reach conditional parts like commands, status, message responses and more."
301
302
  )));
302
303
  }
303
304
  content.push(( localize(
304
- 4649,
305
+ 4669,
305
306
  "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."
306
307
  )));
307
- return content.join('\n');
308
+ return content.join("\n");
308
309
  }
309
310
  function getChatAccessibilityHelpProvider(accessor, editor, type) {
310
311
  const widgetService = accessor.get(IChatWidgetService);
@@ -321,54 +322,50 @@ function getChatAccessibilityHelpProvider(accessor, editor, type) {
321
322
  inputEditor.getSupportedActions();
322
323
  const helpText = getAccessibilityHelpText(type, keybindingService);
323
324
  return ( new AccessibleContentProvider(
324
- type === 'panelChat' ? AccessibleViewProviderId.PanelChat : type === 'inlineChat' ? AccessibleViewProviderId.InlineChat : type === 'agentView' ? AccessibleViewProviderId.AgentChat : AccessibleViewProviderId.QuickChat,
325
- { type: AccessibleViewType.Help },
325
+ type === "panelChat" ? AccessibleViewProviderId.PanelChat : type === "inlineChat" ? AccessibleViewProviderId.InlineChat : type === "agentView" ? AccessibleViewProviderId.AgentChat : AccessibleViewProviderId.QuickChat,
326
+ {
327
+ type: AccessibleViewType.Help
328
+ },
326
329
  () => helpText,
327
330
  () => {
328
- if (type === 'quickChat' || type === 'editsView' || type === 'agentView' || type === 'panelChat') {
331
+ if (type === "quickChat" || type === "editsView" || type === "agentView" || type === "panelChat") {
329
332
  if (cachedPosition) {
330
333
  inputEditor.setPosition(cachedPosition);
331
334
  }
332
335
  inputEditor.focus();
333
- }
334
- else if (type === 'inlineChat') {
336
+ } else if (type === "inlineChat") {
335
337
  const ctrl = editor?.getContribution(INLINE_CHAT_ID);
336
338
  ctrl?.focus();
337
339
  }
338
340
  },
339
- type === 'inlineChat' ? AccessibilityVerbositySettingId.InlineChat : AccessibilityVerbositySettingId.Chat
341
+ type === "inlineChat" ? AccessibilityVerbositySettingId.InlineChat : AccessibilityVerbositySettingId.Chat
340
342
  ));
341
343
  }
342
344
  function getChatFocusKeybindingLabel(keybindingService, type, focus) {
343
345
  let kbs;
344
- const fallback = ' (unassigned keybinding)';
345
- if (focus === 'input') {
346
- kbs = keybindingService.lookupKeybindings('workbench.action.chat.focusInput');
347
- }
348
- else if (focus === 'lastFocused') {
349
- kbs = keybindingService.lookupKeybindings('workbench.chat.action.focusLastFocused');
350
- }
351
- else {
352
- kbs = keybindingService.lookupKeybindings('chat.action.focus');
346
+ const fallback = " (unassigned keybinding)";
347
+ if (focus === "input") {
348
+ kbs = keybindingService.lookupKeybindings("workbench.action.chat.focusInput");
349
+ } else if (focus === "lastFocused") {
350
+ kbs = keybindingService.lookupKeybindings("workbench.chat.action.focusLastFocused");
351
+ } else {
352
+ kbs = keybindingService.lookupKeybindings("chat.action.focus");
353
353
  }
354
354
  if (!kbs?.length) {
355
355
  return fallback;
356
356
  }
357
357
  let kb;
358
- if (type === 'agentView' || type === 'panelChat') {
359
- if (focus !== 'input') {
360
- kb = kbs.find(kb => kb.getAriaLabel()?.includes('UpArrow'))?.getAriaLabel();
361
- }
362
- else {
363
- kb = kbs.find(kb => kb.getAriaLabel()?.includes('DownArrow'))?.getAriaLabel();
364
- }
365
- }
366
- else {
367
- if (focus !== 'input') {
368
- kb = kbs.find(kb => kb.getAriaLabel()?.includes('DownArrow'))?.getAriaLabel();
358
+ if (type === "agentView" || type === "panelChat") {
359
+ if (focus !== "input") {
360
+ kb = kbs.find(kb => kb.getAriaLabel()?.includes("UpArrow"))?.getAriaLabel();
361
+ } else {
362
+ kb = kbs.find(kb => kb.getAriaLabel()?.includes("DownArrow"))?.getAriaLabel();
369
363
  }
370
- else {
371
- kb = kbs.find(kb => kb.getAriaLabel()?.includes('UpArrow'))?.getAriaLabel();
364
+ } else {
365
+ if (focus !== "input") {
366
+ kb = kbs.find(kb => kb.getAriaLabel()?.includes("DownArrow"))?.getAriaLabel();
367
+ } else {
368
+ kb = kbs.find(kb => kb.getAriaLabel()?.includes("UpArrow"))?.getAriaLabel();
372
369
  }
373
370
  }
374
371
  return !!kb ? ` (${kb})` : fallback;
@@ -17,10 +17,17 @@ import { ExtensionIdentifier } from '@codingame/monaco-vscode-api/vscode/vs/plat
17
17
  import { ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
18
18
  import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service';
19
19
 
20
- const INSTALL_CONTEXT_PREFIX = 'chat.installRecommendationAvailable';
20
+ const INSTALL_CONTEXT_PREFIX = "chat.installRecommendationAvailable";
21
21
  let ChatAgentRecommendation = class ChatAgentRecommendation extends Disposable {
22
- static { this.ID = 'workbench.contrib.chatAgentRecommendation'; }
23
- constructor(productService, extensionGalleryService, extensionManagementService, contextKeyService) {
22
+ static {
23
+ this.ID = "workbench.contrib.chatAgentRecommendation";
24
+ }
25
+ constructor(
26
+ productService,
27
+ extensionGalleryService,
28
+ extensionManagementService,
29
+ contextKeyService
30
+ ) {
24
31
  super();
25
32
  this.productService = productService;
26
33
  this.extensionGalleryService = extensionGalleryService;
@@ -36,8 +43,12 @@ let ChatAgentRecommendation = class ChatAgentRecommendation extends Disposable {
36
43
  this.registerRecommendation(recommendation);
37
44
  }
38
45
  const refresh = () => this.refreshInstallAvailability();
39
- this._register(this.extensionManagementService.onProfileAwareDidInstallExtensions(refresh));
40
- this._register(this.extensionManagementService.onProfileAwareDidUninstallExtension(refresh));
46
+ this._register(
47
+ this.extensionManagementService.onProfileAwareDidInstallExtensions(refresh)
48
+ );
49
+ this._register(
50
+ this.extensionManagementService.onProfileAwareDidUninstallExtension(refresh)
51
+ );
41
52
  this._register(this.extensionManagementService.onDidChangeProfile(refresh));
42
53
  this.refreshInstallAvailability();
43
54
  }
@@ -47,7 +58,7 @@ let ChatAgentRecommendation = class ChatAgentRecommendation extends Disposable {
47
58
  const availabilityContextId = `${INSTALL_CONTEXT_PREFIX}.${extensionKey}`;
48
59
  const availabilityContext = ( new RawContextKey(availabilityContextId, false)).bindTo(this.contextKeyService);
49
60
  this.availabilityContextKeys.set(extensionKey, availabilityContext);
50
- const title = ( localize2(4696, "New {0}", recommendation.displayName));
61
+ const title = ( localize2(4708, "New {0}", recommendation.displayName));
51
62
  this._register(registerAction2(class extends Action2 {
52
63
  constructor() {
53
64
  super({
@@ -57,21 +68,19 @@ let ChatAgentRecommendation = class ChatAgentRecommendation extends Disposable {
57
68
  f1: false,
58
69
  category: CHAT_CATEGORY,
59
70
  icon: Codicon.extensions,
60
- menu: [
61
- {
62
- id: MenuId.ChatNewMenu,
63
- group: '4_recommendations',
64
- when: ( ContextKeyExpr.equals(availabilityContextId, true))
65
- }
66
- ]
71
+ menu: [{
72
+ id: MenuId.ChatNewMenu,
73
+ group: "4_recommendations",
74
+ when: ( ContextKeyExpr.equals(availabilityContextId, true))
75
+ }]
67
76
  });
68
77
  }
69
78
  async run(accessor) {
70
79
  const commandService = accessor.get(ICommandService);
71
80
  const productService = accessor.get(IProductService);
72
81
  const chatService = accessor.get(IChatService);
73
- const installPreReleaseVersion = productService.quality !== 'stable';
74
- await commandService.executeCommand('workbench.extensions.installExtension', recommendation.extensionId, {
82
+ const installPreReleaseVersion = productService.quality !== "stable";
83
+ await commandService.executeCommand("workbench.extensions.installExtension", recommendation.extensionId, {
75
84
  installPreReleaseVersion
76
85
  });
77
86
  await runPostInstallCommand(commandService, chatService, recommendation.postInstallCommand);
@@ -101,12 +110,7 @@ let ChatAgentRecommendation = class ChatAgentRecommendation extends Disposable {
101
110
  });
102
111
  }
103
112
  };
104
- ChatAgentRecommendation = ( __decorate([
105
- ( __param(0, IProductService)),
106
- ( __param(1, IExtensionGalleryService)),
107
- ( __param(2, IWorkbenchExtensionManagementService)),
108
- ( __param(3, IContextKeyService))
109
- ], ChatAgentRecommendation));
113
+ ChatAgentRecommendation = ( __decorate([( __param(0, IProductService)), ( __param(1, IExtensionGalleryService)), ( __param(2, IWorkbenchExtensionManagementService)), ( __param(3, IContextKeyService))], ChatAgentRecommendation));
110
114
  async function runPostInstallCommand(commandService, chatService, commandId) {
111
115
  if (!commandId) {
112
116
  return;
@@ -115,9 +119,7 @@ async function runPostInstallCommand(commandService, chatService, commandId) {
115
119
  await chatService.activateDefaultAgent(ChatAgentLocation.Chat);
116
120
  try {
117
121
  await commandService.executeCommand(commandId);
118
- }
119
- catch {
120
- }
122
+ } catch {}
121
123
  }
122
124
  function waitForCommandRegistration(commandId) {
123
125
  if (( CommandsRegistry.getCommands().has(commandId))) {
@@ -125,7 +127,7 @@ function waitForCommandRegistration(commandId) {
125
127
  }
126
128
  return ( new Promise(resolve => {
127
129
  const timer = ( new TimeoutTimer());
128
- const listener = CommandsRegistry.onDidRegisterCommand((id) => {
130
+ const listener = CommandsRegistry.onDidRegisterCommand(id => {
129
131
  if (id === commandId) {
130
132
  listener.dispose();
131
133
  timer.dispose();