@codingame/monaco-vscode-chat-service-override 24.3.0 → 25.0.1

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 (271) hide show
  1. package/index.js +35 -35
  2. package/package.json +5 -5
  3. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAccessibilityService.d.ts → accessibility/chatAccessibilityService.d.ts} +10 -8
  4. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAccessibilityService.js → accessibility/chatAccessibilityService.js} +23 -11
  5. package/vscode/src/vs/workbench/contrib/chat/browser/{chatResponseAccessibleView.d.ts → accessibility/chatResponseAccessibleView.d.ts} +6 -0
  6. package/vscode/src/vs/workbench/contrib/chat/browser/{chatResponseAccessibleView.js → accessibility/chatResponseAccessibleView.js} +38 -10
  7. package/vscode/src/vs/workbench/contrib/chat/browser/{chatTerminalOutputAccessibleView.js → accessibility/chatTerminalOutputAccessibleView.js} +1 -1
  8. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +7 -7
  9. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +69 -60
  10. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAgentRecommendationActions.js +2 -12
  11. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.d.ts +3 -0
  12. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +25 -0
  13. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.d.ts +2 -2
  14. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +24 -22
  15. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +13 -13
  16. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +5 -5
  17. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +48 -4
  18. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +4 -4
  19. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +7 -7
  20. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatLanguageModelActions.js +12 -12
  21. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +10 -10
  22. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatNewActions.js +16 -19
  23. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPromptNavigationActions.js +4 -4
  24. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
  25. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolActions.js +35 -19
  26. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.d.ts +4 -3
  27. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.js +22 -17
  28. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTransfer.d.ts +1 -1
  29. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTransfer.js +1 -1
  30. package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.d.ts +3 -3
  31. package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +21 -21
  32. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.js +31 -53
  33. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.d.ts +61 -25
  34. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.js +482 -125
  35. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.d.ts +16 -13
  36. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.js +84 -93
  37. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.d.ts +2 -0
  38. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.js +10 -8
  39. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.d.ts +7 -0
  40. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.js +41 -0
  41. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.d.ts +23 -0
  42. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.js +137 -0
  43. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsQuickAccess.d.ts +15 -0
  44. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsQuickAccess.js +92 -0
  45. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.d.ts +81 -32
  46. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.js +335 -102
  47. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentSessionsProvider.d.ts +3 -2
  48. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentSessionsProvider.js +47 -51
  49. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentsessionsviewer.css +80 -8
  50. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAttachmentResolveService.d.ts → attachments/chatAttachmentResolveService.d.ts} +2 -2
  51. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAttachmentResolveService.js → attachments/chatAttachmentResolveService.js} +4 -4
  52. package/vscode/src/vs/workbench/contrib/chat/browser/{chatVariables.d.ts → attachments/chatVariables.d.ts} +3 -3
  53. package/vscode/src/vs/workbench/contrib/chat/browser/{chatVariables.js → attachments/chatVariables.js} +1 -1
  54. package/vscode/src/vs/workbench/contrib/chat/browser/{chatEditing → attachments}/simpleBrowserEditorOverlay.js +21 -21
  55. package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +171 -206
  56. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditing.d.ts +1 -1
  57. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCheckpointTimeline.d.ts +2 -2
  58. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCheckpointTimelineImpl.d.ts +2 -2
  59. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCheckpointTimelineImpl.js +2 -2
  60. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.d.ts +1 -1
  61. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +3 -3
  62. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorAccessibility.d.ts +1 -1
  63. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorAccessibility.js +1 -1
  64. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.d.ts +1 -1
  65. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +20 -20
  66. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +14 -14
  67. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.d.ts +3 -3
  68. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +4 -4
  69. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.d.ts +4 -4
  70. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +3 -3
  71. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.d.ts +3 -3
  72. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +3 -3
  73. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingOperations.d.ts +1 -1
  74. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingOperations.js +1 -1
  75. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.d.ts +4 -4
  76. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +10 -8
  77. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.d.ts +5 -5
  78. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +6 -2
  79. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSessionStorage.d.ts +1 -1
  80. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.d.ts +2 -2
  81. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.js +1 -1
  82. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelContentProviders.d.ts +1 -1
  83. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.d.ts +2 -2
  84. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.js +1 -1
  85. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.d.ts +1 -1
  86. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +1 -1
  87. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookFileSystemProvider.d.ts +1 -1
  88. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookFileSystemProvider.js +2 -2
  89. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +5 -5
  90. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditor.js +18 -18
  91. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +4 -4
  92. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsViewModel.js +1 -1
  93. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.js +41 -41
  94. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatUsageWidget.js +10 -10
  95. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +3 -3
  96. package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.d.ts +1 -1
  97. package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +35 -35
  98. package/vscode/src/vs/workbench/contrib/chat/browser/{chatSessions.contribution.d.ts → chatSessions/chatSessions.contribution.d.ts} +7 -11
  99. package/vscode/src/vs/workbench/contrib/chat/browser/{chatSessions.contribution.js → chatSessions/chatSessions.contribution.js} +53 -106
  100. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +18 -22
  101. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.js +10 -10
  102. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.d.ts +3 -3
  103. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.js +29 -29
  104. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +13 -13
  105. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.d.ts +3 -3
  106. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.js +64 -64
  107. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.js +12 -12
  108. package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.d.ts +22 -0
  109. package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.js +90 -0
  110. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContextService.d.ts → contextContrib/chatContextService.d.ts} +3 -3
  111. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContextService.js → contextContrib/chatContextService.js} +1 -1
  112. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +7 -7
  113. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +3 -3
  114. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolsCodeLensProvider.js +3 -3
  115. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptUrlHandler.js +8 -8
  116. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/runPromptAction.js +8 -8
  117. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveAsPromptFileActions.js +4 -4
  118. package/vscode/src/vs/workbench/contrib/chat/browser/{languageModelToolsConfirmationService.d.ts → tools/languageModelToolsConfirmationService.d.ts} +4 -4
  119. package/vscode/src/vs/workbench/contrib/chat/browser/{languageModelToolsConfirmationService.js → tools/languageModelToolsConfirmationService.js} +47 -58
  120. package/vscode/src/vs/workbench/contrib/chat/browser/{languageModelToolsService.d.ts → tools/languageModelToolsService.d.ts} +5 -5
  121. package/vscode/src/vs/workbench/contrib/chat/browser/{languageModelToolsService.js → tools/languageModelToolsService.js} +21 -21
  122. package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolSetsContribution.d.ts +1 -1
  123. package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolSetsContribution.js +16 -16
  124. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +5 -5
  125. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMarkdownAnchorService.d.ts +2 -2
  126. package/vscode/src/vs/workbench/contrib/chat/browser/{chatLayoutService.d.ts → widget/chatLayoutService.d.ts} +1 -1
  127. package/vscode/src/vs/workbench/contrib/chat/browser/{chatWidgetService.d.ts → widget/chatWidgetService.d.ts} +6 -2
  128. package/vscode/src/vs/workbench/contrib/chat/browser/{chatWidgetService.js → widget/chatWidgetService.js} +27 -5
  129. package/vscode/src/vs/workbench/contrib/chat/browser/{chatStatusWidget.d.ts → widget/input/chatStatusWidget.d.ts} +4 -2
  130. package/vscode/src/vs/workbench/contrib/chat/browser/{chatStatusWidget.js → widget/input/chatStatusWidget.js} +17 -10
  131. package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/chatInputEditorContrib.js +12 -6
  132. package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/chatInputEditorHover.d.ts +1 -1
  133. package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/chatInputEditorHover.js +3 -3
  134. package/vscode/src/vs/workbench/contrib/chat/browser/{chatQuick.d.ts → widgetHosts/chatQuick.d.ts} +1 -1
  135. package/vscode/src/vs/workbench/contrib/chat/browser/{chatQuick.js → widgetHosts/chatQuick.js} +4 -4
  136. package/vscode/src/vs/workbench/contrib/chat/browser/{chatEditor.d.ts → widgetHosts/editor/chatEditor.d.ts} +4 -5
  137. package/vscode/src/vs/workbench/contrib/chat/browser/{chatEditor.js → widgetHosts/editor/chatEditor.js} +6 -6
  138. package/vscode/src/vs/workbench/contrib/chat/browser/{chatViewPane.d.ts → widgetHosts/viewPane/chatViewPane.d.ts} +46 -31
  139. package/vscode/src/vs/workbench/contrib/chat/browser/{chatViewPane.js → widgetHosts/viewPane/chatViewPane.js} +258 -154
  140. package/vscode/src/vs/workbench/contrib/chat/browser/{chatViewTitleControl.d.ts → widgetHosts/viewPane/chatViewTitleControl.d.ts} +5 -12
  141. package/vscode/src/vs/workbench/contrib/chat/browser/{chatViewTitleControl.js → widgetHosts/viewPane/chatViewTitleControl.js} +97 -85
  142. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatViewPane.css +176 -0
  143. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatViewTitleControl.css +89 -0
  144. package/vscode/src/vs/workbench/contrib/chat/common/{chatServiceImpl.d.ts → chatService/chatServiceImpl.d.ts} +16 -20
  145. package/vscode/src/vs/workbench/contrib/chat/common/{chatServiceImpl.js → chatService/chatServiceImpl.js} +97 -151
  146. package/vscode/src/vs/workbench/contrib/chat/common/{chatServiceTelemetry.d.ts → chatService/chatServiceTelemetry.d.ts} +4 -4
  147. package/vscode/src/vs/workbench/contrib/chat/common/{chatServiceTelemetry.js → chatService/chatServiceTelemetry.js} +2 -2
  148. package/vscode/src/vs/workbench/contrib/chat/common/{chatCodeMapperService.d.ts → editing/chatCodeMapperService.d.ts} +1 -1
  149. package/vscode/src/vs/workbench/contrib/chat/common/{chatModelStore.d.ts → model/chatModelStore.d.ts} +2 -2
  150. package/vscode/src/vs/workbench/contrib/chat/common/{chatProgressTypes → model/chatProgressTypes}/chatToolInvocation.d.ts +2 -2
  151. package/vscode/src/vs/workbench/contrib/chat/common/{chatProgressTypes → model/chatProgressTypes}/chatToolInvocation.js +4 -4
  152. package/vscode/src/vs/workbench/contrib/chat/common/{chatSessionStore.d.ts → model/chatSessionStore.d.ts} +14 -7
  153. package/vscode/src/vs/workbench/contrib/chat/common/{chatSessionStore.js → model/chatSessionStore.js} +164 -39
  154. package/vscode/src/vs/workbench/contrib/chat/common/{chatTransferService.d.ts → model/chatTransferService.d.ts} +3 -3
  155. package/vscode/src/vs/workbench/contrib/chat/common/{chatTransferService.js → model/chatTransferService.js} +1 -1
  156. package/vscode/src/vs/workbench/contrib/chat/common/{chatSlashCommands.d.ts → participants/chatSlashCommands.d.ts} +2 -2
  157. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +25 -49
  158. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptBodyAutocompletion.d.ts +1 -1
  159. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptBodyAutocompletion.js +2 -2
  160. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.d.ts +1 -1
  161. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +6 -6
  162. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.d.ts +1 -1
  163. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +3 -3
  164. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.d.ts +1 -1
  165. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.js +29 -29
  166. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.d.ts +1 -1
  167. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +54 -54
  168. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +11 -4
  169. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +83 -18
  170. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +11 -5
  171. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +27 -10
  172. package/vscode/src/vs/workbench/contrib/chat/common/{chatTodoListService.d.ts → tools/chatTodoListService.d.ts} +1 -1
  173. package/vscode/src/vs/workbench/contrib/chat/common/{chatTodoListService.js → tools/chatTodoListService.js} +1 -1
  174. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.d.ts +1 -1
  175. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +29 -29
  176. package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.d.ts +2 -2
  177. package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +3 -3
  178. package/vscode/src/vs/workbench/contrib/chat/common/{chatResponseResourceFileSystemProvider.d.ts → widget/chatResponseResourceFileSystemProvider.d.ts} +1 -1
  179. package/vscode/src/vs/workbench/contrib/chat/common/{chatResponseResourceFileSystemProvider.js → widget/chatResponseResourceFileSystemProvider.js} +4 -4
  180. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +5 -5
  181. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibilityHelp.js +1 -1
  182. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +23 -23
  183. package/vscode/src/vs/workbench/contrib/remoteCodingAgents/browser/remoteCodingAgents.contribution.js +7 -7
  184. package/vscode/src/vs/workbench/contrib/remoteCodingAgents/common/remoteCodingAgentsService.js +1 -1
  185. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/media/terminalChatWidget.css +1 -0
  186. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.js +16 -16
  187. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +47 -30
  188. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.js +1 -1
  189. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatEnabler.d.ts +1 -1
  190. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatEnabler.js +1 -1
  191. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatService.d.ts +15 -1
  192. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatService.js +33 -11
  193. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.d.ts +4 -3
  194. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +6 -5
  195. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/alternativeRecommendation.d.ts +1 -1
  196. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.js +12 -2
  197. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/executeStrategy.d.ts +1 -0
  198. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/noneExecuteStrategy.js +17 -2
  199. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/richExecuteStrategy.js +12 -2
  200. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/strategyHelpers.d.ts +10 -1
  201. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/strategyHelpers.js +22 -1
  202. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.d.ts +3 -2
  203. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +100 -23
  204. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/taskHelpers.d.ts +1 -1
  205. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +6 -6
  206. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/toolTerminalCreator.d.ts +2 -1
  207. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/toolTerminalCreator.js +19 -6
  208. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/{commandLineAutoApprover.d.ts → tools/commandLineAnalyzer/autoApprove/commandLineAutoApprover.d.ts} +11 -12
  209. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/{commandLineAutoApprover.js → tools/commandLineAnalyzer/autoApprove/commandLineAutoApprover.js} +83 -6
  210. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.d.ts +45 -0
  211. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.js +156 -0
  212. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAnalyzer.d.ts +17 -2
  213. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAnalyzer.js +10 -0
  214. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.d.ts +1 -1
  215. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.js +64 -26
  216. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.d.ts +1 -0
  217. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.js +16 -8
  218. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLinePreventHistoryRewriter.d.ts +14 -0
  219. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLinePreventHistoryRewriter.js +31 -0
  220. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalLastCommandTool.d.ts +1 -1
  221. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalLastCommandTool.js +4 -4
  222. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.d.ts +1 -1
  223. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.js +4 -4
  224. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.d.ts +1 -1
  225. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.js +4 -4
  226. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.d.ts +3 -2
  227. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.js +55 -23
  228. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.d.ts +1 -1
  229. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +3 -3
  230. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.d.ts +3 -3
  231. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +85 -46
  232. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.d.ts +1 -1
  233. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +16 -16
  234. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.d.ts +1 -1
  235. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +9 -9
  236. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.d.ts +1 -1
  237. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +16 -16
  238. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.d.ts +1 -1
  239. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.js +9 -5
  240. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalCommandArtifactCollector.d.ts +1 -1
  241. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatSessionActions.d.ts +0 -46
  242. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatSessionActions.js +0 -248
  243. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsView.d.ts +0 -36
  244. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsView.js +0 -184
  245. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentsessionsview.css +0 -19
  246. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/chatSessionsView.d.ts +0 -22
  247. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/chatSessionsView.js +0 -229
  248. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/sessionsTreeRenderer.d.ts +0 -102
  249. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/sessionsTreeRenderer.js +0 -495
  250. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/sessionsViewPane.d.ts +0 -64
  251. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/sessionsViewPane.js +0 -386
  252. package/vscode/src/vs/workbench/contrib/chat/browser/media/chatSessions.css +0 -299
  253. package/vscode/src/vs/workbench/contrib/chat/browser/media/chatViewPane.css +0 -142
  254. package/vscode/src/vs/workbench/contrib/chat/browser/media/chatViewTitleControl.css +0 -39
  255. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatTerminalOutputAccessibleView.d.ts → accessibility/chatTerminalOutputAccessibleView.d.ts} +0 -0
  256. /package/vscode/src/vs/workbench/contrib/chat/browser/{media → attachments/media}/simpleBrowserOverlay.css +0 -0
  257. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatEditing → attachments}/simpleBrowserEditorOverlay.d.ts +0 -0
  258. /package/vscode/src/vs/workbench/contrib/chat/browser/{media → chatEditing/media}/chatEditingEditorOverlay.css +0 -0
  259. /package/vscode/src/vs/workbench/contrib/chat/browser/{media → chatEditing/media}/chatEditorController.css +0 -0
  260. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMarkdownAnchorService.js +0 -0
  261. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatLayoutService.js → widget/chatLayoutService.js} +0 -0
  262. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatEdinputInputContentProvider.d.ts → widget/input/editor/chatEditorInputContentProvider.d.ts} +0 -0
  263. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatEdinputInputContentProvider.js → widget/input/editor/chatEditorInputContentProvider.js} +0 -0
  264. /package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/chatInputEditorContrib.d.ts +0 -0
  265. /package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/editorHoverWrapper.d.ts +0 -0
  266. /package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/editorHoverWrapper.js +0 -0
  267. /package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/media/editorHoverWrapper.css +0 -0
  268. /package/vscode/src/vs/workbench/contrib/chat/browser/{media → widget/input/media}/chatStatusWidget.css +0 -0
  269. /package/vscode/src/vs/workbench/contrib/chat/common/{chatCodeMapperService.js → editing/chatCodeMapperService.js} +0 -0
  270. /package/vscode/src/vs/workbench/contrib/chat/common/{chatModelStore.js → model/chatModelStore.js} +0 -0
  271. /package/vscode/src/vs/workbench/contrib/chat/common/{chatSlashCommands.js → participants/chatSlashCommands.js} +0 -0
@@ -8,14 +8,13 @@ import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platf
8
8
  import { ILabelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service";
9
9
  import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
10
10
  import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
11
- import { IEditableData } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views";
12
11
  import { IExtensionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service";
13
- import { IChatAgentAttachmentCapabilities } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents";
14
- import { IChatAgentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents.service";
15
- import { ChatSessionStatus, IChatSession, IChatSessionContentProvider, IChatSessionItem, IChatSessionItemProvider, IChatSessionProviderOptionGroup, IChatSessionProviderOptionItem, IChatSessionsExtensionPoint, SessionOptionsChangedCallback } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService";
12
+ import { IChatAgentAttachmentCapabilities } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatAgents";
13
+ import { IChatAgentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatAgents.service";
14
+ import { IChatSession, IChatSessionContentProvider, IChatSessionItem, IChatSessionItemProvider, IChatSessionProviderOptionGroup, IChatSessionProviderOptionItem, IChatSessionsExtensionPoint, SessionOptionsChangedCallback } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService";
16
15
  import { IChatSessionsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService.service";
17
- import { IChatModel } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatModel";
18
- import { IChatService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service";
16
+ import { IChatModel } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatModel";
17
+ import { IChatService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service";
19
18
  export declare class ChatSessionsService extends Disposable implements IChatSessionsService {
20
19
  private readonly _logService;
21
20
  private readonly _chatAgentService;
@@ -56,7 +55,7 @@ export declare class ChatSessionsService extends Disposable implements IChatSess
56
55
  private readonly _sessionTypeWelcomeTips;
57
56
  private readonly _sessionTypeInputPlaceholders;
58
57
  private readonly _sessions;
59
- private readonly _editableSessions;
58
+ private readonly _hasCanDelegateProvidersKey;
60
59
  constructor(_logService: ILogService, _chatAgentService: IChatAgentService, _extensionService: IExtensionService, _contextKeyService: IContextKeyService, _menuService: IMenuService, _themeService: IThemeService, _labelService: ILabelService);
61
60
  reportInProgress(chatSessionType: string, count: number): void;
62
61
  getInProgress(): {
@@ -79,6 +78,7 @@ export declare class ChatSessionsService extends Disposable implements IChatSess
79
78
  private _disposeSessionsForContribution;
80
79
  private _registerAgent;
81
80
  getAllChatSessionContributions(): IChatSessionsExtensionPoint[];
81
+ private _updateHasCanDelegateProvidersContextKey;
82
82
  getChatSessionContribution(chatSessionType: string): IChatSessionsExtensionPoint | undefined;
83
83
  getAllChatSessionItemProviders(): IChatSessionItemProvider[];
84
84
  activateChatSessionItemProvider(chatViewType: string): Promise<IChatSessionItemProvider | undefined>;
@@ -96,9 +96,6 @@ export declare class ChatSessionsService extends Disposable implements IChatSess
96
96
  hasAnySessionOptions(sessionResource: URI): boolean;
97
97
  getSessionOption(sessionResource: URI, optionId: string): string | IChatSessionProviderOptionItem | undefined;
98
98
  setSessionOption(sessionResource: URI, optionId: string, value: string | IChatSessionProviderOptionItem): boolean;
99
- setEditableSession(sessionResource: URI, data: IEditableData | null): Promise<void>;
100
- getEditableData(sessionResource: URI): IEditableData | undefined;
101
- isEditable(sessionResource: URI): boolean;
102
99
  notifySessionItemsChanged(chatSessionType: string): void;
103
100
  /**
104
101
  * Store option groups for a session type
@@ -141,5 +138,4 @@ export declare class ChatSessionsService extends Disposable implements IChatSess
141
138
  */
142
139
  getCapabilitiesForSessionType(chatSessionType: string): IChatAgentAttachmentCapabilities | undefined;
143
140
  getContentProviderSchemes(): string[];
144
- isChatSessionInProgressStatus(state: ChatSessionStatus): boolean;
145
141
  }
@@ -26,16 +26,15 @@ import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench
26
26
  import { isProposedApiEnabled } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions';
27
27
  import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
28
28
  import { ExtensionsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensionsRegistry';
29
- import { ChatEditorInput } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
30
- import { IChatAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
31
- import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
32
- import { localChatSessionType, ChatSessionStatus } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService';
29
+ import { ChatEditorInput } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput';
30
+ import { IChatAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatAgents.service';
31
+ import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/actions/chatContextKeys';
32
+ import { localChatSessionType, isSessionInProgressStatus } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService';
33
33
  import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
34
- import { LEGACY_AGENT_SESSIONS_VIEW_ID, ChatAgentLocation, ChatModeKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
34
+ import { ChatAgentLocation, ChatModeKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
35
35
  import { CHAT_CATEGORY } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
36
- import { NEW_CHAT_SESSION_ACTION_ID } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/chatSessions/common';
37
- import { IChatToolInvocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService';
38
- import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service';
36
+ import { IChatToolInvocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService';
37
+ import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service';
39
38
  import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/index';
40
39
  import { renderAsPlaintext } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/markdownRenderer';
41
40
  import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
@@ -46,39 +45,39 @@ import { observableSignalFromEvent } from '@codingame/monaco-vscode-api/vscode/v
46
45
  const extensionPoint = ExtensionsRegistry.registerExtensionPoint({
47
46
  extensionPoint: 'chatSessions',
48
47
  jsonSchema: {
49
- description: ( localize(5466, 'Contributes chat session integrations to the chat widget.')),
48
+ description: ( localize(5293, 'Contributes chat session integrations to the chat widget.')),
50
49
  type: 'array',
51
50
  items: {
52
51
  type: 'object',
53
52
  additionalProperties: false,
54
53
  properties: {
55
54
  type: {
56
- description: ( localize(5467, 'Unique identifier for the type of chat session.')),
55
+ description: ( localize(5294, 'Unique identifier for the type of chat session.')),
57
56
  type: 'string',
58
57
  },
59
58
  name: {
60
59
  description: ( localize(
61
- 5468,
60
+ 5295,
62
61
  'Name of the dynamically registered chat participant (eg: @agent). Must not contain whitespace.'
63
62
  )),
64
63
  type: 'string',
65
64
  pattern: '^[\\w-]+$'
66
65
  },
67
66
  displayName: {
68
- description: ( localize(5469, 'A longer name for this item which is used for display in menus.')),
67
+ description: ( localize(5296, 'A longer name for this item which is used for display in menus.')),
69
68
  type: 'string',
70
69
  },
71
70
  description: {
72
- description: ( localize(5470, 'Description of the chat session for use in menus and tooltips.')),
71
+ description: ( localize(5297, 'Description of the chat session for use in menus and tooltips.')),
73
72
  type: 'string'
74
73
  },
75
74
  when: {
76
- description: ( localize(5471, 'Condition which must be true to show this item.')),
75
+ description: ( localize(5298, 'Condition which must be true to show this item.')),
77
76
  type: 'string'
78
77
  },
79
78
  icon: {
80
79
  description: ( localize(
81
- 5472,
80
+ 5299,
82
81
  'Icon identifier (codicon ID) for the chat session editor tab. For example, "$(github)" or "$(cloud)".'
83
82
  )),
84
83
  anyOf: [{
@@ -88,22 +87,22 @@ const extensionPoint = ExtensionsRegistry.registerExtensionPoint({
88
87
  type: 'object',
89
88
  properties: {
90
89
  light: {
91
- description: ( localize(5473, 'Icon path when a light theme is used')),
90
+ description: ( localize(5300, 'Icon path when a light theme is used')),
92
91
  type: 'string'
93
92
  },
94
93
  dark: {
95
- description: ( localize(5474, 'Icon path when a dark theme is used')),
94
+ description: ( localize(5301, 'Icon path when a dark theme is used')),
96
95
  type: 'string'
97
96
  }
98
97
  }
99
98
  }]
100
99
  },
101
100
  order: {
102
- description: ( localize(5475, 'Order in which this item should be displayed.')),
101
+ description: ( localize(5302, 'Order in which this item should be displayed.')),
103
102
  type: 'integer'
104
103
  },
105
104
  alternativeIds: {
106
- description: ( localize(5476, 'Alternative identifiers for backward compatibility.')),
105
+ description: ( localize(5303, 'Alternative identifiers for backward compatibility.')),
107
106
  type: 'array',
108
107
  items: {
109
108
  type: 'string'
@@ -111,87 +110,87 @@ const extensionPoint = ExtensionsRegistry.registerExtensionPoint({
111
110
  },
112
111
  welcomeTitle: {
113
112
  description: ( localize(
114
- 5477,
113
+ 5304,
115
114
  'Title text to display in the chat welcome view for this session type.'
116
115
  )),
117
116
  type: 'string'
118
117
  },
119
118
  welcomeMessage: {
120
119
  description: ( localize(
121
- 5478,
120
+ 5305,
122
121
  'Message text (supports markdown) to display in the chat welcome view for this session type.'
123
122
  )),
124
123
  type: 'string'
125
124
  },
126
125
  welcomeTips: {
127
126
  description: ( localize(
128
- 5479,
127
+ 5306,
129
128
  'Tips text (supports markdown and theme icons) to display in the chat welcome view for this session type.'
130
129
  )),
131
130
  type: 'string'
132
131
  },
133
132
  inputPlaceholder: {
134
133
  description: ( localize(
135
- 5480,
134
+ 5307,
136
135
  'Placeholder text to display in the chat input box for this session type.'
137
136
  )),
138
137
  type: 'string'
139
138
  },
140
139
  capabilities: {
141
- description: ( localize(5481, 'Optional capabilities for this chat session.')),
140
+ description: ( localize(5308, 'Optional capabilities for this chat session.')),
142
141
  type: 'object',
143
142
  additionalProperties: false,
144
143
  properties: {
145
144
  supportsFileAttachments: {
146
145
  description: ( localize(
147
- 5482,
146
+ 5309,
148
147
  'Whether this chat session supports attaching files or file references.'
149
148
  )),
150
149
  type: 'boolean'
151
150
  },
152
151
  supportsToolAttachments: {
153
152
  description: ( localize(
154
- 5483,
153
+ 5310,
155
154
  'Whether this chat session supports attaching tools or tool references.'
156
155
  )),
157
156
  type: 'boolean'
158
157
  },
159
158
  supportsMCPAttachments: {
160
- description: ( localize(5484, 'Whether this chat session supports attaching MCP resources.')),
159
+ description: ( localize(5311, 'Whether this chat session supports attaching MCP resources.')),
161
160
  type: 'boolean'
162
161
  },
163
162
  supportsImageAttachments: {
164
- description: ( localize(5485, 'Whether this chat session supports attaching images.')),
163
+ description: ( localize(5312, 'Whether this chat session supports attaching images.')),
165
164
  type: 'boolean'
166
165
  },
167
166
  supportsSearchResultAttachments: {
168
- description: ( localize(5486, 'Whether this chat session supports attaching search results.')),
167
+ description: ( localize(5313, 'Whether this chat session supports attaching search results.')),
169
168
  type: 'boolean'
170
169
  },
171
170
  supportsInstructionAttachments: {
172
- description: ( localize(5487, 'Whether this chat session supports attaching instructions.')),
171
+ description: ( localize(5314, 'Whether this chat session supports attaching instructions.')),
173
172
  type: 'boolean'
174
173
  },
175
174
  supportsSourceControlAttachments: {
176
175
  description: ( localize(
177
- 5488,
176
+ 5315,
178
177
  'Whether this chat session supports attaching source control changes.'
179
178
  )),
180
179
  type: 'boolean'
181
180
  },
182
181
  supportsProblemAttachments: {
183
- description: ( localize(5489, 'Whether this chat session supports attaching problems.')),
182
+ description: ( localize(5316, 'Whether this chat session supports attaching problems.')),
184
183
  type: 'boolean'
185
184
  },
186
185
  supportsSymbolAttachments: {
187
- description: ( localize(5490, 'Whether this chat session supports attaching symbols.')),
186
+ description: ( localize(5317, 'Whether this chat session supports attaching symbols.')),
188
187
  type: 'boolean'
189
188
  }
190
189
  }
191
190
  },
192
191
  commands: {
193
192
  markdownDescription: ( localize(
194
- 5491,
193
+ 5318,
195
194
  "Commands available for this chat session, which the user can invoke with a `/`."
196
195
  )),
197
196
  type: 'array',
@@ -203,17 +202,17 @@ const extensionPoint = ExtensionsRegistry.registerExtensionPoint({
203
202
  properties: {
204
203
  name: {
205
204
  description: ( localize(
206
- 5492,
205
+ 5319,
207
206
  "A short name by which this command is referred to in the UI, e.g. `fix` or `explain` for commands that fix an issue or explain code. The name should be unique among the commands provided by this participant."
208
207
  )),
209
208
  type: 'string'
210
209
  },
211
210
  description: {
212
- description: ( localize(5493, "A description of this command.")),
211
+ description: ( localize(5320, "A description of this command.")),
213
212
  type: 'string'
214
213
  },
215
214
  when: {
216
- description: ( localize(5494, "A condition which must be true to enable this command.")),
215
+ description: ( localize(5321, "A condition which must be true to enable this command.")),
217
216
  type: 'string'
218
217
  },
219
218
  }
@@ -221,7 +220,7 @@ const extensionPoint = ExtensionsRegistry.registerExtensionPoint({
221
220
  },
222
221
  canDelegate: {
223
222
  description: ( localize(
224
- 5495,
223
+ 5322,
225
224
  'Whether delegation is supported. Default is false. Note that enabling this is experimental and may not be respected at all times.'
226
225
  )),
227
226
  type: 'boolean',
@@ -300,7 +299,7 @@ let ChatSessionsService = class ChatSessionsService extends Disposable {
300
299
  this._sessionTypeWelcomeTips = ( new Map());
301
300
  this._sessionTypeInputPlaceholders = ( new Map());
302
301
  this._sessions = ( new ResourceMap());
303
- this._editableSessions = ( new ResourceMap());
302
+ this._hasCanDelegateProvidersKey = ChatContextKeys.hasCanDelegateProviders.bindTo(this._contextKeyService);
304
303
  this._register(extensionPoint.setHandler(extensions => {
305
304
  for (const ext of extensions) {
306
305
  if (!isProposedApiEnabled(ext.description, 'chatSessionsProvider')) {
@@ -350,7 +349,7 @@ let ChatSessionsService = class ChatSessionsService extends Disposable {
350
349
  async updateInProgressStatus(chatSessionType) {
351
350
  try {
352
351
  const items = await this.getChatSessionItems(chatSessionType, CancellationToken.None);
353
- const inProgress = items.filter(item => item.status && this.isChatSessionInProgressStatus(item.status));
352
+ const inProgress = items.filter(item => item.status && isSessionInProgressStatus(item.status));
354
353
  this.reportInProgress(chatSessionType, inProgress.length);
355
354
  }
356
355
  catch (error) {
@@ -424,6 +423,7 @@ let ChatSessionsService = class ChatSessionsService extends Disposable {
424
423
  this._sessionTypeWelcomeTips.delete(contribution.type);
425
424
  this._sessionTypeInputPlaceholders.delete(contribution.type);
426
425
  this._contributionDisposables.deleteAndDispose(contribution.type);
426
+ this._updateHasCanDelegateProvidersContextKey();
427
427
  }
428
428
  };
429
429
  }
@@ -445,7 +445,6 @@ let ChatSessionsService = class ChatSessionsService extends Disposable {
445
445
  if (primaryType) {
446
446
  const altContribution = this._contributions.get(primaryType)?.contribution;
447
447
  if (altContribution && this._isContributionAvailable(altContribution)) {
448
- this._logService.trace(`Resolving chat session type '${sessionType}' to alternative type '${primaryType}'`);
449
448
  return primaryType;
450
449
  }
451
450
  }
@@ -457,48 +456,7 @@ let ChatSessionsService = class ChatSessionsService extends Disposable {
457
456
  ]);
458
457
  const rawMenuActions = this._menuService.getMenuActions(MenuId.AgentSessionsCreateSubMenu, contextKeyService);
459
458
  const menuActions = ( rawMenuActions.map(value => value[1])).flat();
460
- const whenClause = ( ContextKeyExpr.and(( ContextKeyExpr.equals('view', `${LEGACY_AGENT_SESSIONS_VIEW_ID}.${contribution.type}`))));
461
459
  const disposables = ( new DisposableStore());
462
- if (menuActions.length === 1) {
463
- const first = menuActions[0];
464
- if (first instanceof MenuItemAction) {
465
- disposables.add(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
466
- group: 'navigation',
467
- title: first.label,
468
- icon: Codicon.plus,
469
- order: 1,
470
- when: whenClause,
471
- command: first.item,
472
- }));
473
- }
474
- }
475
- if (menuActions.length) {
476
- disposables.add(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
477
- group: 'navigation',
478
- title: ( localize(5496, "Create chat session")),
479
- icon: Codicon.plus,
480
- order: 1,
481
- when: whenClause,
482
- submenu: MenuId.AgentSessionsCreateSubMenu,
483
- isSplitButton: menuActions.length > 1
484
- }));
485
- }
486
- else {
487
- disposables.add(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
488
- command: {
489
- id: `${NEW_CHAT_SESSION_ACTION_ID}.${contribution.type}`,
490
- title: ( localize(5497, "New {0}", contribution.displayName)),
491
- icon: Codicon.plus,
492
- source: {
493
- id: extensionDescription.identifier.value,
494
- title: extensionDescription.displayName || extensionDescription.name,
495
- }
496
- },
497
- group: 'navigation',
498
- order: 1,
499
- when: whenClause,
500
- }));
501
- }
502
460
  for (const action of menuActions) {
503
461
  if (action instanceof MenuItemAction) {
504
462
  disposables.add(MenuRegistry.appendMenuItem(MenuId.ChatNewMenu, {
@@ -516,7 +474,7 @@ let ChatSessionsService = class ChatSessionsService extends Disposable {
516
474
  constructor() {
517
475
  super({
518
476
  id: `workbench.action.chat.openSessionWithPrompt.${contribution.type}`,
519
- title: ( localize2(5498, "New {0} with Prompt", contribution.displayName)),
477
+ title: ( localize2(5323, "New {0} with Prompt", contribution.displayName)),
520
478
  category: CHAT_CATEGORY,
521
479
  icon: Codicon.plus,
522
480
  f1: false,
@@ -538,7 +496,7 @@ let ChatSessionsService = class ChatSessionsService extends Disposable {
538
496
  constructor() {
539
497
  super({
540
498
  id: `workbench.action.chat.openNewSessionEditor.${contribution.type}`,
541
- title: ( localize2(5497, "New {0}", contribution.displayName)),
499
+ title: ( localize2(5324, "New {0}", contribution.displayName)),
542
500
  category: CHAT_CATEGORY,
543
501
  icon: Codicon.plus,
544
502
  f1: true,
@@ -555,7 +513,7 @@ let ChatSessionsService = class ChatSessionsService extends Disposable {
555
513
  override: ChatEditorInput.EditorID,
556
514
  pinned: true,
557
515
  title: {
558
- fallback: ( localize(5499, "{0}", contribution.displayName)),
516
+ fallback: ( localize(5325, "{0}", contribution.displayName)),
559
517
  }
560
518
  };
561
519
  const resource = ( URI.from({
@@ -576,7 +534,7 @@ let ChatSessionsService = class ChatSessionsService extends Disposable {
576
534
  constructor() {
577
535
  super({
578
536
  id: `workbench.action.chat.openNewSessionSidebar.${contribution.type}`,
579
- title: ( localize2(5500, "New {0}", contribution.displayName)),
537
+ title: ( localize2(5326, "New {0}", contribution.displayName)),
580
538
  category: CHAT_CATEGORY,
581
539
  icon: Codicon.plus,
582
540
  f1: false,
@@ -634,6 +592,7 @@ let ChatSessionsService = class ChatSessionsService extends Disposable {
634
592
  this._onDidChangeSessionItems.fire(contribution.type);
635
593
  }
636
594
  }
595
+ this._updateHasCanDelegateProvidersContextKey();
637
596
  }
638
597
  _enableContribution(contribution, ext) {
639
598
  const disposableStore = ( new DisposableStore());
@@ -697,6 +656,12 @@ let ChatSessionsService = class ChatSessionsService extends Disposable {
697
656
  return Array.from(( this._contributions.values()), x => x.contribution)
698
657
  .filter(contribution => this._isContributionAvailable(contribution));
699
658
  }
659
+ _updateHasCanDelegateProvidersContextKey() {
660
+ const hasCanDelegate = this.getAllChatSessionContributions().filter(c => c.canDelegate);
661
+ const canDelegateEnabled = hasCanDelegate.length > 0;
662
+ this._logService.trace(`[ChatSessionsService] hasCanDelegateProvidersAvailable=${canDelegateEnabled} (${( hasCanDelegate.map(c => c.type)).join(', ')})`);
663
+ this._hasCanDelegateProvidersKey.set(canDelegateEnabled);
664
+ }
700
665
  getChatSessionContribution(chatSessionType) {
701
666
  const contribution = this._contributions.get(chatSessionType)?.contribution;
702
667
  if (!contribution) {
@@ -870,7 +835,7 @@ let ChatSessionsService = class ChatSessionsService extends Disposable {
870
835
  ? confirmationTitle
871
836
  : confirmationTitle.value);
872
837
  const descriptionValue = typeof description === 'string' ? description : description.value;
873
- description = titleMessage ?? ( localize(5501, "Waiting for confirmation: {0}", descriptionValue));
838
+ description = titleMessage ?? ( localize(5327, "Waiting for confirmation: {0}", descriptionValue));
874
839
  }
875
840
  }
876
841
  else if (part.kind === 'toolInvocationSerialized') {
@@ -880,7 +845,7 @@ let ChatSessionsService = class ChatSessionsService extends Disposable {
880
845
  description = part.content;
881
846
  }
882
847
  else if (part.kind === 'thinking') {
883
- description = ( localize(5502, 'Thinking...'));
848
+ description = ( localize(5328, 'Thinking...'));
884
849
  }
885
850
  }
886
851
  return renderAsPlaintext(description, { useLinkFormatter: true });
@@ -924,21 +889,6 @@ let ChatSessionsService = class ChatSessionsService extends Disposable {
924
889
  const session = this._sessions.get(sessionResource);
925
890
  return !!session?.setOption(optionId, value);
926
891
  }
927
- async setEditableSession(sessionResource, data) {
928
- if (!data) {
929
- this._editableSessions.delete(sessionResource);
930
- }
931
- else {
932
- this._editableSessions.set(sessionResource, data);
933
- }
934
- this._onDidChangeSessionItems.fire(localChatSessionType);
935
- }
936
- getEditableData(sessionResource) {
937
- return this._editableSessions.get(sessionResource);
938
- }
939
- isEditable(sessionResource) {
940
- return ( this._editableSessions.has(sessionResource));
941
- }
942
892
  notifySessionItemsChanged(chatSessionType) {
943
893
  this._onDidChangeSessionItems.fire(chatSessionType);
944
894
  }
@@ -997,9 +947,6 @@ let ChatSessionsService = class ChatSessionsService extends Disposable {
997
947
  getContentProviderSchemes() {
998
948
  return Array.from(( this._contentProviders.keys()));
999
949
  }
1000
- isChatSessionInProgressStatus(state) {
1001
- return state === ChatSessionStatus.InProgress || state === ChatSessionStatus.NeedsInput;
1002
- }
1003
950
  };
1004
951
  ChatSessionsService = ( __decorate([
1005
952
  ( __param(0, ILogService)),
@@ -39,11 +39,10 @@ import { IWorkbenchLayoutService } from '@codingame/monaco-vscode-api/vscode/vs/
39
39
  import { ILifecycleService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle.service';
40
40
  import { IPreferencesService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/preferences/common/preferences.service';
41
41
  import { IExtensionsWorkbenchService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/extensions/common/extensions.service';
42
- import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
42
+ import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/actions/chatContextKeys';
43
43
  import { IChatModeService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatModes.service';
44
44
  import { ChatModeKind, ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
45
45
  import { CHAT_CATEGORY, CHAT_SETUP_ACTION_ID, CHAT_SETUP_SUPPORT_ANONYMOUS_ACTION_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
46
- import { AGENT_SESSIONS_VIEW_CONTAINER_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessions';
47
46
  import { ChatViewContainerId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat';
48
47
  import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
49
48
  import { chatViewsWelcomeRegistry } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcome';
@@ -148,7 +147,7 @@ let ChatSetupContribution = class ChatSetupContribution extends Disposable {
148
147
  }
149
148
  registerActions(context, requests, controller) {
150
149
  class ChatSetupTriggerAction extends Action2 {
151
- static { this.CHAT_SETUP_ACTION_LABEL = ( localize2(5520, "Use AI Features with Copilot for free...")); }
150
+ static { this.CHAT_SETUP_ACTION_LABEL = ( localize2(5329, "Use AI Features with Copilot for free...")); }
152
151
  constructor() {
153
152
  super({
154
153
  id: CHAT_SETUP_ACTION_ID,
@@ -186,8 +185,8 @@ let ChatSetupContribution = class ChatSetupContribution extends Disposable {
186
185
  if (success === false && !lifecycleService.willShutdown) {
187
186
  const { confirmed } = await dialogService.confirm({
188
187
  type: Severity.Error,
189
- message: ( localize(5521, "Chat setup failed. Would you like to try again?")),
190
- primaryButton: ( localize(5522, "Retry")),
188
+ message: ( localize(5330, "Chat setup failed. Would you like to try again?")),
189
+ primaryButton: ( localize(5331, "Retry")),
191
190
  });
192
191
  if (confirmed) {
193
192
  return Boolean(await commandService.executeCommand(CHAT_SETUP_ACTION_ID, mode, options));
@@ -217,7 +216,7 @@ let ChatSetupContribution = class ChatSetupContribution extends Disposable {
217
216
  constructor() {
218
217
  super({
219
218
  id: 'workbench.action.chat.triggerSetupForceSignIn',
220
- title: ( localize2(5523, "Sign in to use AI features"))
219
+ title: ( localize2(5332, "Sign in to use AI features"))
221
220
  });
222
221
  }
223
222
  async run(accessor) {
@@ -245,7 +244,7 @@ let ChatSetupContribution = class ChatSetupContribution extends Disposable {
245
244
  constructor() {
246
245
  super({
247
246
  id: 'workbench.action.chat.triggerSetupFromAccounts',
248
- title: ( localize2(5524, "Sign in to use AI features...")),
247
+ title: ( localize2(5333, "Sign in to use AI features...")),
249
248
  menu: {
250
249
  id: MenuId.AccountsContext,
251
250
  group: '2_copilot',
@@ -265,8 +264,8 @@ let ChatSetupContribution = class ChatSetupContribution extends Disposable {
265
264
  constructor() {
266
265
  super({
267
266
  id: 'workbench.action.chat.upgradePlan',
268
- title: ( localize2(5525, "Upgrade to GitHub Copilot Pro")),
269
- category: ( localize2(5526, 'Chat')),
267
+ title: ( localize2(5334, "Upgrade to GitHub Copilot Pro")),
268
+ category: ( localize2(5335, 'Chat')),
270
269
  f1: true,
271
270
  precondition: ( ContextKeyExpr.and(( ChatContextKeys.Setup.hidden.negate()), ( ContextKeyExpr.or(
272
271
  ChatContextKeys.Entitlement.canSignUp,
@@ -307,8 +306,8 @@ let ChatSetupContribution = class ChatSetupContribution extends Disposable {
307
306
  constructor() {
308
307
  super({
309
308
  id: 'workbench.action.chat.manageOverages',
310
- title: ( localize2(5527, "Manage GitHub Copilot Overages")),
311
- category: ( localize2(5526, 'Chat')),
309
+ title: ( localize2(5336, "Manage GitHub Copilot Overages")),
310
+ category: ( localize2(5335, 'Chat')),
312
311
  f1: true,
313
312
  precondition: ( ContextKeyExpr.and(( ChatContextKeys.Setup.hidden.negate()), ( ContextKeyExpr.or(
314
313
  ChatContextKeys.Entitlement.planPro,
@@ -381,7 +380,7 @@ let ChatSetupContribution = class ChatSetupContribution extends Disposable {
381
380
  MenuRegistry.appendMenuItem(MenuId.EditorContext, {
382
381
  command: {
383
382
  id: 'chat.internal.explain',
384
- title: ( localize(5528, "Explain")),
383
+ title: ( localize(5337, "Explain")),
385
384
  },
386
385
  group: '1_chat',
387
386
  order: 4,
@@ -390,7 +389,7 @@ let ChatSetupContribution = class ChatSetupContribution extends Disposable {
390
389
  MenuRegistry.appendMenuItem(MenuId.ChatTextEditorMenu, {
391
390
  command: {
392
391
  id: 'chat.internal.fix',
393
- title: ( localize(5529, "Fix")),
392
+ title: ( localize(5338, "Fix")),
394
393
  },
395
394
  group: '1_action',
396
395
  order: 1,
@@ -399,7 +398,7 @@ let ChatSetupContribution = class ChatSetupContribution extends Disposable {
399
398
  MenuRegistry.appendMenuItem(MenuId.ChatTextEditorMenu, {
400
399
  command: {
401
400
  id: 'chat.internal.review',
402
- title: ( localize(5530, "Code Review")),
401
+ title: ( localize(5339, "Code Review")),
403
402
  },
404
403
  group: '1_action',
405
404
  order: 2,
@@ -408,7 +407,7 @@ let ChatSetupContribution = class ChatSetupContribution extends Disposable {
408
407
  MenuRegistry.appendMenuItem(MenuId.ChatTextEditorMenu, {
409
408
  command: {
410
409
  id: 'chat.internal.generateDocs',
411
- title: ( localize(5531, "Generate Docs")),
410
+ title: ( localize(5340, "Generate Docs")),
412
411
  },
413
412
  group: '2_generate',
414
413
  order: 1,
@@ -417,7 +416,7 @@ let ChatSetupContribution = class ChatSetupContribution extends Disposable {
417
416
  MenuRegistry.appendMenuItem(MenuId.ChatTextEditorMenu, {
418
417
  command: {
419
418
  id: 'chat.internal.generateTests',
420
- title: ( localize(5532, "Generate Tests")),
419
+ title: ( localize(5341, "Generate Tests")),
421
420
  },
422
421
  group: '2_generate',
423
422
  order: 2,
@@ -566,15 +565,12 @@ let ChatTeardownContribution = class ChatTeardownContribution extends Disposable
566
565
  return;
567
566
  }
568
567
  await this.extensionsWorkbenchService.setEnablement([defaultChatExtension], state);
569
- await this.extensionsWorkbenchService.updateRunningExtensions(state === EnablementState.EnabledGlobally || state === EnablementState.EnabledWorkspace ? ( localize(5533, "Enabling AI features")) : ( localize(5534, "Disabling AI features")));
568
+ await this.extensionsWorkbenchService.updateRunningExtensions(state === EnablementState.EnabledGlobally || state === EnablementState.EnabledWorkspace ? ( localize(5342, "Enabling AI features")) : ( localize(5343, "Disabling AI features")));
570
569
  }
571
570
  maybeHideAuxiliaryBar() {
572
571
  const activeContainers = this.viewDescriptorService.getViewContainersByLocation(ViewContainerLocation.AuxiliaryBar).filter(container => this.viewDescriptorService.getViewContainerModel(container).activeViewDescriptors.length > 0);
573
- const hasChatView = ( activeContainers.some(container => container.id === ChatViewContainerId));
574
- const hasAgentSessionsView = ( activeContainers.some(container => container.id === AGENT_SESSIONS_VIEW_CONTAINER_ID));
575
572
  if ((activeContainers.length === 0) ||
576
- (activeContainers.length === 1 && (hasChatView || hasAgentSessionsView)) ||
577
- (activeContainers.length === 2 && hasChatView && hasAgentSessionsView)
573
+ (activeContainers.length === 1 && activeContainers.at(0)?.id === ChatViewContainerId)
578
574
  ) {
579
575
  this.layoutService.setPartHidden(true, Parts.AUXILIARYBAR_PART);
580
576
  }
@@ -582,7 +578,7 @@ let ChatTeardownContribution = class ChatTeardownContribution extends Disposable
582
578
  registerActions() {
583
579
  class ChatSetupHideAction extends Action2 {
584
580
  static { this.ID = 'workbench.action.chat.hideSetup'; }
585
- static { this.TITLE = ( localize2(5535, "Learn How to Hide AI Features")); }
581
+ static { this.TITLE = ( localize2(5344, "Learn How to Hide AI Features")); }
586
582
  constructor() {
587
583
  super({
588
584
  id: ChatSetupHideAction.ID,