@codingame/monaco-vscode-chat-service-override 19.1.3 → 20.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 (211) hide show
  1. package/index.js +20 -8
  2. package/package.json +36 -31
  3. package/vscode/src/vs/base/common/policy.d.ts +14 -0
  4. package/vscode/src/vs/base/common/policy.js +11 -0
  5. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +53 -43
  6. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClearActions.js +54 -24
  7. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.d.ts +2 -2
  8. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +14 -14
  9. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContext.js +15 -15
  10. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +37 -25
  11. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +4 -4
  12. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +2 -2
  13. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +4 -4
  14. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatGettingStarted.js +1 -1
  15. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +6 -6
  16. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatLanguageModelActions.js +23 -11
  17. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +9 -9
  18. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.d.ts +1 -1
  19. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +11 -11
  20. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolActions.js +83 -14
  21. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.js +421 -21
  22. package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.d.ts +1 -1
  23. package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +20 -20
  24. package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +215 -104
  25. package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityService.d.ts +3 -1
  26. package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityService.js +9 -3
  27. package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.d.ts +3 -1
  28. package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.js +18 -6
  29. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.d.ts +1 -1
  30. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +4 -4
  31. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +20 -20
  32. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +14 -14
  33. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.d.ts +1 -1
  34. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +6 -3
  35. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.d.ts +4 -2
  36. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +9 -6
  37. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.d.ts +1 -1
  38. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +11 -8
  39. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.d.ts +5 -3
  40. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +16 -11
  41. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.d.ts +7 -23
  42. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +58 -326
  43. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSessionStorage.d.ts +0 -1
  44. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSessionStorage.js +33 -30
  45. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.d.ts +12 -1
  46. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.js +39 -17
  47. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTimeline.d.ts +55 -0
  48. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTimeline.js +380 -0
  49. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingModifiedNotebookSnapshot.js +3 -2
  50. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.d.ts +1 -1
  51. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.js +1 -1
  52. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +5 -5
  53. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/notebookCellChanges.js +4 -2
  54. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/overlayToolbarDecorator.d.ts +1 -1
  55. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/overlayToolbarDecorator.js +1 -1
  56. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/simpleBrowserEditorOverlay.js +22 -22
  57. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditor.d.ts +9 -4
  58. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditor.js +44 -10
  59. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.d.ts +38 -0
  60. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +145 -0
  61. package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +34 -34
  62. package/vscode/src/vs/workbench/contrib/chat/browser/chatPasteProviders.js +7 -7
  63. package/vscode/src/vs/workbench/contrib/chat/browser/chatQuick.d.ts +1 -1
  64. package/vscode/src/vs/workbench/contrib/chat/browser/chatQuick.js +3 -3
  65. package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseAccessibleView.d.ts +1 -1
  66. package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseAccessibleView.js +36 -11
  67. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions.contribution.d.ts +49 -0
  68. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions.contribution.js +407 -0
  69. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions.d.ts +12 -0
  70. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions.js +738 -0
  71. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup.d.ts +1 -1
  72. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup.js +142 -151
  73. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus.d.ts +1 -1
  74. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus.js +54 -54
  75. package/vscode/src/vs/workbench/contrib/chat/browser/chatVariables.js +20 -0
  76. package/vscode/src/vs/workbench/contrib/chat/browser/chatViewPane.d.ts +4 -3
  77. package/vscode/src/vs/workbench/contrib/chat/browser/chatViewPane.js +5 -4
  78. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockContextProviderService.d.ts +1 -1
  79. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorContrib.js +23 -7
  80. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorHover.d.ts +1 -1
  81. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorHover.js +3 -3
  82. package/vscode/src/vs/workbench/contrib/chat/browser/languageModelToolsService.d.ts +1 -0
  83. package/vscode/src/vs/workbench/contrib/chat/browser/languageModelToolsService.js +13 -8
  84. package/vscode/src/vs/workbench/contrib/chat/browser/media/apple-dark.svg +3 -0
  85. package/vscode/src/vs/workbench/contrib/chat/browser/media/apple-light.svg +3 -0
  86. package/vscode/src/vs/workbench/contrib/chat/browser/media/chatSessions.css +28 -0
  87. package/vscode/src/vs/workbench/contrib/chat/browser/media/chatSetup.css +7 -7
  88. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/attachInstructionsAction.d.ts +2 -2
  89. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/attachInstructionsAction.js +14 -14
  90. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +8 -8
  91. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/newPromptFileActions.js +10 -10
  92. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/pickers/askForPromptName.d.ts +1 -1
  93. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/pickers/askForPromptName.js +11 -11
  94. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/pickers/askForPromptSourceFolder.d.ts +1 -1
  95. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/pickers/askForPromptSourceFolder.js +19 -19
  96. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/pickers/promptFilePickers.d.ts +1 -1
  97. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/pickers/promptFilePickers.js +14 -14
  98. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionContribution.js +1 -1
  99. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +3 -3
  100. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolsCodeLensProvider.js +4 -4
  101. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptUrlHandler.js +10 -10
  102. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/runPromptAction.js +11 -11
  103. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveToPromptAction.d.ts +1 -7
  104. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveToPromptAction.js +52 -90
  105. package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolSetsContribution.js +15 -15
  106. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +6 -6
  107. package/vscode/src/vs/workbench/contrib/chat/common/chatProgressTypes/chatToolInvocation.d.ts +2 -2
  108. package/vscode/src/vs/workbench/contrib/chat/common/chatProgressTypes/chatToolInvocation.js +6 -2
  109. package/vscode/src/vs/workbench/contrib/chat/common/chatResponseResourceFileSystemProvider.js +9 -6
  110. package/vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.d.ts +11 -6
  111. package/vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.js +137 -30
  112. package/vscode/src/vs/workbench/contrib/chat/common/chatServiceTelemetry.js +8 -0
  113. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionStore.d.ts +1 -1
  114. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionStore.js +3 -3
  115. package/vscode/src/vs/workbench/contrib/chat/common/chatTodoListService.d.ts +27 -0
  116. package/vscode/src/vs/workbench/contrib/chat/common/chatTodoListService.js +44 -0
  117. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/configMigration.js +1 -1
  118. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/filePromptContentsProvider.js +2 -2
  119. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/promptContentsProviderBase.d.ts +1 -1
  120. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/promptContentsProviderBase.js +1 -1
  121. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +1 -1
  122. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderDiagnosticsProvider.js +3 -5
  123. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderHovers.js +14 -14
  124. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptLinkDiagnosticsProvider.js +1 -1
  125. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptPathAutocompletion.js +1 -1
  126. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/providerInstanceManagerBase.js +2 -2
  127. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/basePromptParser.js +1 -1
  128. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/promptHeader/headerBase.js +4 -4
  129. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/promptHeader/instructionsHeader.d.ts +1 -1
  130. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/promptHeader/metadata/applyTo.js +3 -3
  131. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/promptHeader/metadata/base/enum.js +1 -1
  132. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/promptHeader/metadata/base/string.js +1 -1
  133. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/promptHeader/metadata/tools.js +4 -4
  134. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/promptHeader/modeHeader.d.ts +1 -1
  135. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/promptHeader/promptHeader.d.ts +1 -1
  136. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/promptHeader/promptHeader.js +1 -1
  137. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/topError.js +9 -9
  138. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +1 -1
  139. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +8 -8
  140. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +1 -1
  141. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +2 -2
  142. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +27 -27
  143. package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.d.ts +1 -1
  144. package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +2 -2
  145. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +9 -9
  146. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibilityHelp.js +1 -1
  147. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibleView.js +4 -4
  148. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.d.ts +104 -0
  149. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +667 -0
  150. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatCurrentLine.js +14 -14
  151. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatNotebook.js +1 -1
  152. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookModifiedCellDecorator.d.ts +1 -1
  153. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookModifiedCellDecorator.js +2 -2
  154. package/vscode/src/vs/workbench/contrib/remoteCodingAgents/browser/remoteCodingAgents.contribution.js +7 -7
  155. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/media/terminalChatWidget.css +56 -0
  156. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminal.chat.contribution.d.ts +1 -0
  157. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminal.chat.contribution.js +14 -0
  158. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.d.ts +11 -0
  159. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.js +111 -0
  160. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibleView.d.ts +10 -0
  161. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibleView.js +52 -0
  162. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.d.ts +1 -0
  163. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +262 -0
  164. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.d.ts +35 -0
  165. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.js +129 -0
  166. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatControllerHolder.d.ts +3 -0
  167. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatControllerHolder.js +8 -0
  168. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatEnabler.d.ts +9 -0
  169. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatEnabler.js +30 -0
  170. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.d.ts +72 -0
  171. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +411 -0
  172. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/alternativeRecommendation.d.ts +3 -0
  173. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/alternativeRecommendation.js +59 -0
  174. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/bufferOutputPolling.d.ts +51 -0
  175. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/bufferOutputPolling.js +163 -0
  176. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/commandLineAutoApprover.d.ts +24 -0
  177. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/commandLineAutoApprover.js +164 -0
  178. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.d.ts +14 -0
  179. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.js +101 -0
  180. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/executeStrategy.d.ts +16 -0
  181. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/executeStrategy.js +52 -0
  182. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/noneExecuteStrategy.d.ts +12 -0
  183. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/noneExecuteStrategy.js +71 -0
  184. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/richExecuteStrategy.d.ts +14 -0
  185. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/richExecuteStrategy.js +94 -0
  186. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/getTerminalOutputTool.d.ts +11 -0
  187. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/getTerminalOutputTool.js +44 -0
  188. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/outputHelpers.d.ts +3 -0
  189. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/outputHelpers.js +18 -0
  190. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.d.ts +3 -0
  191. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +13 -0
  192. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalTool.d.ts +55 -0
  193. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalTool.js +603 -0
  194. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/subCommands.d.ts +3 -0
  195. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/subCommands.js +113 -0
  196. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/task/createAndRunTaskTool.d.ts +21 -0
  197. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/task/createAndRunTaskTool.js +227 -0
  198. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/task/getTaskOutputTool.d.ts +19 -0
  199. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/task/getTaskOutputTool.js +88 -0
  200. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/task/runTaskTool.d.ts +21 -0
  201. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/task/runTaskTool.js +140 -0
  202. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/task/taskHelpers.d.ts +22 -0
  203. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/task/taskHelpers.js +80 -0
  204. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/task.chatAgentTools.contribution.d.ts +1 -0
  205. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/task.chatAgentTools.contribution.js +40 -0
  206. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.d.ts +1 -0
  207. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +36 -0
  208. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/toolTerminalCreator.d.ts +20 -0
  209. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/toolTerminalCreator.js +114 -0
  210. package/vscode/src/vs/workbench/contrib/chat/browser/media/google-mono-dark.svg +0 -3
  211. package/vscode/src/vs/workbench/contrib/chat/browser/media/google-mono-light.svg +0 -3
@@ -1,5 +1,6 @@
1
1
 
2
2
  import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
+ import { PolicyTag } from '../../../../base/common/policy.js';
3
4
  import './promptSyntax/promptToolsCodeLensProvider.js';
4
5
  import './promptSyntax/promptCodingAgentActionContribution.js';
5
6
  import { timeout } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
@@ -7,7 +8,7 @@ import { Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event'
7
8
  import { isMarkdownString, MarkdownString } from '@codingame/monaco-vscode-api/vscode/vs/base/common/htmlContent';
8
9
  import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
9
10
  import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
10
- import { isLinux, isMacintosh } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
11
+ import { isMacintosh } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
11
12
  import { assertDefined } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
12
13
  import { registerEditorFeature } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/editorFeatures';
13
14
  import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
@@ -17,9 +18,9 @@ import { Extensions, ConfigurationScope } from '@codingame/monaco-vscode-api/vsc
17
18
  import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
18
19
  import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
19
20
  import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
20
- import { mcpGalleryServiceUrlConfig } from '@codingame/monaco-vscode-dc3fa21d-a483-5b99-a7ab-173235644a34-common/vscode/vs/platform/mcp/common/mcpManagement';
21
- import { PromptsConfig } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/common/promptSyntax/config/config';
22
- import { MODE_DEFAULT_SOURCE_FOLDER, MODE_FILE_EXTENSION, PROMPT_DEFAULT_SOURCE_FOLDER, PROMPT_FILE_EXTENSION, INSTRUCTIONS_DEFAULT_SOURCE_FOLDER, INSTRUCTION_FILE_EXTENSION } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations';
21
+ import { mcpGalleryServiceUrlConfig, mcpAutoStartConfig, McpAutoStartValue, mcpEnabledConfig } from '@codingame/monaco-vscode-dc3fa21d-a483-5b99-a7ab-173235644a34-common/vscode/vs/platform/mcp/common/mcpManagement';
22
+ import { PromptsConfig } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/chat/common/promptSyntax/config/config';
23
+ import { MODE_DEFAULT_SOURCE_FOLDER, MODE_FILE_EXTENSION, PROMPT_DEFAULT_SOURCE_FOLDER, PROMPT_FILE_EXTENSION, INSTRUCTIONS_DEFAULT_SOURCE_FOLDER, INSTRUCTION_FILE_EXTENSION } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations';
23
24
  import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
24
25
  import { EditorPaneDescriptor } from '@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common/vscode/vs/workbench/browser/editor';
25
26
  import { Extensions as Extensions$1 } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/configuration';
@@ -28,22 +29,22 @@ import { EditorExtensions } from '@codingame/monaco-vscode-api/vscode/vs/workben
28
29
  import { IWorkbenchAssignmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/assignment/common/assignmentService.service';
29
30
  import { RegisteredEditorPriority } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorResolverService';
30
31
  import { IEditorResolverService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorResolverService.service';
31
- import { mcpDiscoverySection, allDiscoverySources, discoverySourceLabel, mcpServerSamplingSection, mcpEnabledSection } from '@codingame/monaco-vscode-dc3fa21d-a483-5b99-a7ab-173235644a34-common/vscode/vs/workbench/contrib/mcp/common/mcpConfiguration';
32
- import '@codingame/monaco-vscode-9ebd6daf-8734-5a28-ad24-b238f5e5819d-common/vscode/vs/workbench/contrib/chat/common/chatAgents';
32
+ import { mcpDiscoverySection, allDiscoverySources, discoverySourceLabel, mcpServerSamplingSection } from '@codingame/monaco-vscode-dc3fa21d-a483-5b99-a7ab-173235644a34-common/vscode/vs/workbench/contrib/mcp/common/mcpConfiguration';
33
+ import '@codingame/monaco-vscode-b994942c-360d-5b68-8a33-77d4bde6b714-common/vscode/vs/workbench/contrib/chat/common/chatAgents';
33
34
  import { IChatAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
34
- import '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/common/chatColors';
35
- import { ChatEntitlement } from '@codingame/monaco-vscode-9911aec2-e4dd-5483-8369-9d695cc70d8a-common/vscode/vs/workbench/contrib/chat/common/chatEntitlementService';
35
+ import '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/chat/common/chatColors';
36
+ import { ChatEntitlement } from '@codingame/monaco-vscode-c2deffc4-ad68-5e63-8f95-9b89e0fc6898-common/vscode/vs/workbench/contrib/chat/common/chatEntitlementService';
36
37
  import { IChatEntitlementService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatEntitlementService.service';
37
- import { chatVariableLeader } from '@codingame/monaco-vscode-9ebd6daf-8734-5a28-ad24-b238f5e5819d-common/vscode/vs/workbench/contrib/chat/common/chatParserTypes';
38
+ import { chatVariableLeader } from '@codingame/monaco-vscode-b994942c-360d-5b68-8a33-77d4bde6b714-common/vscode/vs/workbench/contrib/chat/common/chatParserTypes';
38
39
  import '../common/chatServiceImpl.js';
39
40
  import '../common/chatSlashCommands.js';
40
41
  import { IChatSlashCommandService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSlashCommands.service';
41
42
  import '../common/chatTransferService.js';
42
- import '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/common/chatWidgetHistoryService';
43
+ import '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/chat/common/chatWidgetHistoryService';
43
44
  import { ChatConfiguration, ChatAgentLocation, ChatModeKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
44
45
  import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModels';
45
- import '@codingame/monaco-vscode-9911aec2-e4dd-5483-8369-9d695cc70d8a-common/vscode/vs/workbench/contrib/chat/common/languageModelStats';
46
- import { MODE_DOCUMENTATION_URL, PROMPT_DOCUMENTATION_URL, INSTRUCTIONS_DOCUMENTATION_URL } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/common/promptSyntax/promptTypes';
46
+ import '@codingame/monaco-vscode-c2deffc4-ad68-5e63-8f95-9b89e0fc6898-common/vscode/vs/workbench/contrib/chat/common/languageModelStats';
47
+ import { MODE_DOCUMENTATION_URL, PROMPT_DOCUMENTATION_URL, INSTRUCTIONS_DOCUMENTATION_URL } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/chat/common/promptSyntax/promptTypes';
47
48
  import { registerPromptFileContributions } from '../common/promptSyntax/promptFileContributions.js';
48
49
  import '../common/promptSyntax/service/promptsServiceImpl.js';
49
50
  import { LanguageModelToolsExtensionPointHandler } from '../common/tools/languageModelToolsContribution.js';
@@ -51,25 +52,25 @@ import { BuiltinToolsContribution } from '@codingame/monaco-vscode-api/vscode/vs
51
52
  import { UserToolSetsContributions, ConfigureToolSets } from './tools/toolSetsContribution.js';
52
53
  import '../common/voiceChatService.js';
53
54
  import { PanelChatAccessibilityHelp, QuickChatAccessibilityHelp, EditsChatAccessibilityHelp, AgentChatAccessibilityHelp } from './actions/chatAccessibilityHelp.js';
54
- import { ACTION_ID_NEW_CHAT, CopilotTitleBarMenuRendering, registerChatActions } from '@codingame/monaco-vscode-9911aec2-e4dd-5483-8369-9d695cc70d8a-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
55
+ import { ACTION_ID_NEW_CHAT, CopilotTitleBarMenuRendering, registerChatActions } from '@codingame/monaco-vscode-c2deffc4-ad68-5e63-8f95-9b89e0fc6898-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
55
56
  import { registerNewChatActions } from './actions/chatClearActions.js';
56
57
  import { CodeBlockActionRendering, registerChatCodeBlockActions, registerChatCodeCompareBlockActions } from './actions/chatCodeblockActions.js';
57
58
  import { ChatContextContributions } from './actions/chatContext.js';
58
59
  import { registerChatContextActions } from './actions/chatContextActions.js';
59
60
  import { registerChatCopyActions } from './actions/chatCopyActions.js';
60
61
  import { registerChatDeveloperActions } from './actions/chatDeveloperActions.js';
61
- import { ChatSubmitAction, registerChatExecuteActions } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/browser/actions/chatExecuteActions';
62
+ import { ChatSubmitAction, registerChatExecuteActions } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/chat/browser/actions/chatExecuteActions';
62
63
  import { registerChatFileTreeActions } from './actions/chatFileTreeActions.js';
63
64
  import { ChatGettingStartedContribution } from './actions/chatGettingStarted.js';
64
65
  import { registerChatExportActions } from './actions/chatImportExport.js';
65
66
  import { registerMoveActions } from './actions/chatMoveActions.js';
66
67
  import { registerQuickChatActions } from './actions/chatQuickInputActions.js';
67
- import { registerChatTitleActions } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/browser/actions/chatTitleActions';
68
+ import { registerChatTitleActions } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/chat/browser/actions/chatTitleActions';
68
69
  import { registerChatToolActions } from './actions/chatToolActions.js';
69
70
  import { ChatTransferContribution } from './actions/chatTransfer.js';
70
71
  import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
71
72
  import './chatAccessibilityService.js';
72
- import '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/browser/chatAttachmentModel';
73
+ import '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/chat/browser/chatAttachmentModel';
73
74
  import '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
74
75
  import '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
75
76
  import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/index';
@@ -83,8 +84,8 @@ import './chatEditing/chatEditingServiceImpl.js';
83
84
  import { ChatEditingNotebookFileSystemProviderContrib } from './chatEditing/notebook/chatEditingNotebookFileSystemProvider.js';
84
85
  import { SimpleBrowserOverlay } from './chatEditing/simpleBrowserEditorOverlay.js';
85
86
  import { ChatEditor } from './chatEditor.js';
86
- import { ChatEditorInput, ChatEditorInputSerializer } from '@codingame/monaco-vscode-9ebd6daf-8734-5a28-ad24-b238f5e5819d-common/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
87
- import { agentToMarkdown, agentSlashCommandToMarkdown } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer';
87
+ import { ChatEditorInput, ChatEditorInputSerializer } from '@codingame/monaco-vscode-b994942c-360d-5b68-8a33-77d4bde6b714-common/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
88
+ import { agentToMarkdown, agentSlashCommandToMarkdown } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer';
88
89
  import { ChatExtensionPointHandler, ChatCompatibilityNotifier } from './chatParticipant.contribution.js';
89
90
  import { ChatPasteProvidersFeature } from './chatPasteProviders.js';
90
91
  import './chatQuick.js';
@@ -92,54 +93,58 @@ import { ChatResponseAccessibleView } from './chatResponseAccessibleView.js';
92
93
  import { ChatSetupContribution } from './chatSetup.js';
93
94
  import { ChatStatusBarEntry } from './chatStatus.js';
94
95
  import './chatVariables.js';
95
- import { ChatWidget } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/browser/chatWidget';
96
- import { ChatImplicitContextContribution } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/browser/contrib/chatImplicitContext';
96
+ import { ChatWidget } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/chat/browser/chatWidget';
97
+ import { ChatImplicitContextContribution } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/chat/browser/contrib/chatImplicitContext';
97
98
  import '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions';
98
99
  import './contrib/chatInputEditorContrib.js';
99
100
  import './contrib/chatInputEditorHover.js';
100
- import { ChatRelatedFilesContribution } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/browser/contrib/chatInputRelatedFilesContrib';
101
+ import { ChatRelatedFilesContribution } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/chat/browser/contrib/chatInputRelatedFilesContrib';
101
102
  import './languageModelToolsService.js';
102
103
  import { ChatViewsWelcomeHandler } from './viewsWelcome/chatViewsWelcomeHandler.js';
103
104
  import { registerAction2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
104
- import '@codingame/monaco-vscode-9911aec2-e4dd-5483-8369-9d695cc70d8a-common/vscode/vs/workbench/contrib/chat/common/chatModes';
105
+ import '@codingame/monaco-vscode-c2deffc4-ad68-5e63-8f95-9b89e0fc6898-common/vscode/vs/workbench/contrib/chat/common/chatModes';
105
106
  import { ChatResponseResourceFileSystemProvider } from '../common/chatResponseResourceFileSystemProvider.js';
106
- import { SAVE_TO_PROMPT_SLASH_COMMAND_NAME, runSaveToPromptAction } from './promptSyntax/saveToPromptAction.js';
107
+ import { SAVE_TO_PROMPT_SLASH_COMMAND_NAME, SAVE_TO_PROMPT_ACTION_ID } from './promptSyntax/saveToPromptAction.js';
107
108
  import { ChatDynamicVariableModel } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables';
108
109
  import './chatAttachmentResolveService.js';
109
110
  import { registerLanguageModelActions } from './actions/chatLanguageModelActions.js';
110
111
  import { PromptUrlHandler } from './promptSyntax/promptUrlHandler.js';
112
+ import '../common/chatTodoListService.js';
113
+ import './chatOutputItemRenderer.js';
114
+ import { AssistedTypes, AddConfigurationType } from '@codingame/monaco-vscode-dc3fa21d-a483-5b99-a7ab-173235644a34-common/vscode/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration';
115
+ import { ChatSessionsView } from './chatSessions.js';
111
116
 
112
117
  const configurationRegistry = ( Registry.as(Extensions.Configuration));
113
118
  configurationRegistry.registerConfiguration({
114
119
  id: 'chatSidebar',
115
- title: ( localize(4648, "Chat")),
120
+ title: ( localize(4703, "Chat")),
116
121
  type: 'object',
117
122
  properties: {
118
123
  'chat.editor.fontSize': {
119
124
  type: 'number',
120
- description: ( localize(4649, "Controls the font size in pixels in chat codeblocks.")),
125
+ description: ( localize(4704, "Controls the font size in pixels in chat codeblocks.")),
121
126
  default: isMacintosh ? 12 : 14,
122
127
  },
123
128
  'chat.editor.fontFamily': {
124
129
  type: 'string',
125
- description: ( localize(4650, "Controls the font family in chat codeblocks.")),
130
+ description: ( localize(4705, "Controls the font family in chat codeblocks.")),
126
131
  default: 'default'
127
132
  },
128
133
  'chat.editor.fontWeight': {
129
134
  type: 'string',
130
- description: ( localize(4651, "Controls the font weight in chat codeblocks.")),
135
+ description: ( localize(4706, "Controls the font weight in chat codeblocks.")),
131
136
  default: 'default'
132
137
  },
133
138
  'chat.editor.wordWrap': {
134
139
  type: 'string',
135
- description: ( localize(4652, "Controls whether lines should wrap in chat codeblocks.")),
140
+ description: ( localize(4707, "Controls whether lines should wrap in chat codeblocks.")),
136
141
  default: 'off',
137
142
  enum: ['on', 'off']
138
143
  },
139
144
  'chat.editor.lineHeight': {
140
145
  type: 'number',
141
146
  description: ( localize(
142
- 4653,
147
+ 4708,
143
148
  "Controls the line height in pixels in chat codeblocks. Use 0 to compute the line height from the font size."
144
149
  )),
145
150
  default: 0
@@ -147,7 +152,7 @@ configurationRegistry.registerConfiguration({
147
152
  'chat.commandCenter.enabled': {
148
153
  type: 'boolean',
149
154
  markdownDescription: ( localize(
150
- 4654,
155
+ 4709,
151
156
  "Controls whether the command center shows a menu for actions to control Copilot (requires {0}).",
152
157
  '`#window.commandCenter#`'
153
158
  )),
@@ -157,27 +162,36 @@ configurationRegistry.registerConfiguration({
157
162
  type: 'object',
158
163
  tags: ['experimental'],
159
164
  description: ( localize(
160
- 4655,
165
+ 4710,
161
166
  "Enables automatically using the active editor as chat context for specified chat locations."
162
167
  )),
163
168
  additionalProperties: {
164
169
  type: 'string',
165
170
  enum: ['never', 'first', 'always'],
166
- description: ( localize(4656, "The value for the implicit context.")),
171
+ description: ( localize(4711, "The value for the implicit context.")),
167
172
  enumDescriptions: [
168
- ( localize(4657, "Implicit context is never enabled.")),
169
- ( localize(4658, "Implicit context is enabled for the first interaction.")),
170
- ( localize(4659, "Implicit context is always enabled."))
173
+ ( localize(4712, "Implicit context is never enabled.")),
174
+ ( localize(4713, "Implicit context is enabled for the first interaction.")),
175
+ ( localize(4714, "Implicit context is always enabled."))
171
176
  ]
172
177
  },
173
178
  default: {
174
179
  'panel': 'always',
175
180
  }
176
181
  },
182
+ 'chat.implicitContext.suggestedContext': {
183
+ type: 'boolean',
184
+ tags: ['experimental'],
185
+ markdownDescription: ( localize(
186
+ 4715,
187
+ "Controls whether the new implicit context flow is shown. In Ask and Edit modes, the context will automatically be included. In Agent mode context will be suggested as an attachment. Selections are always included as context."
188
+ )),
189
+ default: true,
190
+ },
177
191
  'chat.editing.autoAcceptDelay': {
178
192
  type: 'number',
179
193
  markdownDescription: ( localize(
180
- 4660,
194
+ 4716,
181
195
  "Delay after which changes made by chat are automatically accepted. Values are in seconds, `0` means disabled and `100` seconds is the maximum."
182
196
  )),
183
197
  default: 0,
@@ -188,7 +202,7 @@ configurationRegistry.registerConfiguration({
188
202
  type: 'boolean',
189
203
  scope: ConfigurationScope.APPLICATION,
190
204
  markdownDescription: ( localize(
191
- 4661,
205
+ 4717,
192
206
  "Whether to show a confirmation before removing a request and its associated edits."
193
207
  )),
194
208
  default: true,
@@ -197,7 +211,7 @@ configurationRegistry.registerConfiguration({
197
211
  type: 'boolean',
198
212
  scope: ConfigurationScope.APPLICATION,
199
213
  markdownDescription: ( localize(
200
- 4662,
214
+ 4718,
201
215
  "Whether to show a confirmation before retrying a request and its associated edits."
202
216
  )),
203
217
  default: true,
@@ -205,57 +219,57 @@ configurationRegistry.registerConfiguration({
205
219
  'chat.experimental.detectParticipant.enabled': {
206
220
  type: 'boolean',
207
221
  deprecationMessage: ( localize(
208
- 4663,
222
+ 4719,
209
223
  "This setting is deprecated. Please use `chat.detectParticipant.enabled` instead."
210
224
  )),
211
- description: ( localize(4664, "Enables chat participant autodetection for panel chat.")),
225
+ description: ( localize(4720, "Enables chat participant autodetection for panel chat.")),
212
226
  default: null
213
227
  },
214
228
  'chat.detectParticipant.enabled': {
215
229
  type: 'boolean',
216
- description: ( localize(4665, "Enables chat participant autodetection for panel chat.")),
230
+ description: ( localize(4721, "Enables chat participant autodetection for panel chat.")),
217
231
  default: true
218
232
  },
219
233
  'chat.renderRelatedFiles': {
220
234
  type: 'boolean',
221
235
  description: ( localize(
222
- 4666,
236
+ 4722,
223
237
  "Controls whether related files should be rendered in the chat input."
224
238
  )),
225
239
  default: false
226
240
  },
227
241
  'chat.notifyWindowOnConfirmation': {
228
242
  type: 'boolean',
229
- included: !isLinux,
230
243
  description: ( localize(
231
- 4667,
232
- "Controls whether the Copilot window should notify the user when a confirmation is needed."
244
+ 4723,
245
+ "Controls whether the Copilot window should notify the user when a confirmation is needed while the window is not in focus. This includes a window badge as well as notification toast."
233
246
  )),
234
247
  default: true,
235
248
  },
236
249
  'chat.tools.autoApprove': {
237
250
  default: false,
238
251
  description: ( localize(
239
- 4668,
252
+ 4724,
240
253
  "Controls whether tool use should be automatically approved. Allow all tools to run automatically without user confirmation, overriding any tool-specific settings such as terminal auto-approval. Use with caution: carefully review selected tools and be extra wary of possible sources of prompt injection!"
241
254
  )),
242
255
  markdownDescription: ( localize(
243
- 4669,
256
+ 4725,
244
257
  "Controls whether tool use should be automatically approved.\n\nAllows _all_ tools to run automatically without user confirmation, overriding any tool-specific settings such as terminal auto-approval.\n\nUse with caution: carefully review selected tools and be extra wary of possible sources of prompt injection!"
245
258
  )),
246
259
  type: 'boolean',
260
+ scope: ConfigurationScope.APPLICATION_MACHINE,
247
261
  tags: ['experimental'],
248
262
  policy: {
249
263
  name: 'ChatToolsAutoApprove',
250
264
  minimumVersion: '1.99',
251
- previewFeature: true,
252
- defaultValue: false
265
+ defaultValue: false,
266
+ tags: [PolicyTag.Account, PolicyTag.Preview]
253
267
  }
254
268
  },
255
269
  'chat.sendElementsToChat.enabled': {
256
270
  default: true,
257
271
  description: ( localize(
258
- 4670,
272
+ 4726,
259
273
  "Controls whether elements can be sent to chat from the Simple Browser."
260
274
  )),
261
275
  type: 'boolean',
@@ -264,7 +278,7 @@ configurationRegistry.registerConfiguration({
264
278
  'chat.sendElementsToChat.attachCSS': {
265
279
  default: true,
266
280
  markdownDescription: ( localize(
267
- 4671,
281
+ 4727,
268
282
  "Controls whether CSS of the selected element will be added to the chat. {0} must be enabled.",
269
283
  '`#chat.sendElementsToChat.enabled#`'
270
284
  )),
@@ -274,7 +288,7 @@ configurationRegistry.registerConfiguration({
274
288
  'chat.sendElementsToChat.attachImages': {
275
289
  default: true,
276
290
  markdownDescription: ( localize(
277
- 4672,
291
+ 4728,
278
292
  "Controls whether a screenshot of the selected element will be added to the chat. {0} must be enabled.",
279
293
  '`#chat.sendElementsToChat.enabled#`'
280
294
  )),
@@ -284,7 +298,7 @@ configurationRegistry.registerConfiguration({
284
298
  'chat.undoRequests.restoreInput': {
285
299
  default: true,
286
300
  markdownDescription: ( localize(
287
- 4673,
301
+ 4729,
288
302
  "Controls whether the input of the chat should be restored when an undo request is made. The input will be filled with the text of the request that was restored."
289
303
  )),
290
304
  type: 'boolean',
@@ -292,32 +306,80 @@ configurationRegistry.registerConfiguration({
292
306
  },
293
307
  'chat.editRequests': {
294
308
  markdownDescription: ( localize(
295
- 4674,
309
+ 4730,
296
310
  "Enables editing of requests in the chat. This allows you to change the request content and resubmit it to the model."
297
311
  )),
298
312
  type: 'string',
299
313
  enum: ['inline', 'hover', 'input', 'none'],
300
314
  default: 'inline',
301
- tags: ['experimental', 'onExp'],
302
315
  },
303
- [mcpEnabledSection]: {
316
+ 'chat.emptyChatState.enabled': {
304
317
  type: 'boolean',
318
+ default: true,
305
319
  description: ( localize(
306
- 4675,
320
+ 4731,
321
+ "Shows a modified empty chat state with hints in the input placeholder text."
322
+ )),
323
+ tags: ['experimental'],
324
+ experiment: {
325
+ mode: 'startup'
326
+ }
327
+ },
328
+ 'chat.checkpoints.enabled': {
329
+ type: 'boolean',
330
+ default: true,
331
+ description: ( localize(
332
+ 4732,
333
+ "Enables checkpoints in chat. Checkpoints allow you to restore the chat to a previous state."
334
+ )),
335
+ tags: ['preview'],
336
+ },
337
+ 'chat.checkpoints.showFileChanges': {
338
+ type: 'boolean',
339
+ description: ( localize(4733, "Controls whether to show chat checkpoint file changes.")),
340
+ default: false
341
+ },
342
+ [mcpEnabledConfig]: {
343
+ type: 'boolean',
344
+ description: ( localize(
345
+ 4734,
307
346
  "Enables integration with Model Context Protocol servers to provide additional tools and functionality."
308
347
  )),
309
348
  default: true,
310
349
  policy: {
311
350
  name: 'ChatMCP',
312
351
  minimumVersion: '1.99',
352
+ tags: [PolicyTag.Account, PolicyTag.MCP]
313
353
  }
314
354
  },
355
+ [mcpAutoStartConfig]: {
356
+ type: 'string',
357
+ description: ( localize(
358
+ 4735,
359
+ "Controls whether MCP servers should be automatically started when the chat messages are submitted."
360
+ )),
361
+ default: McpAutoStartValue.Never,
362
+ enum: [
363
+ McpAutoStartValue.Never,
364
+ McpAutoStartValue.OnlyNew,
365
+ McpAutoStartValue.NewAndOutdated
366
+ ],
367
+ enumDescriptions: [
368
+ ( localize(4736, "Never automatically start MCP servers.")),
369
+ ( localize(4737, "Only automatically start new MCP servers that have never been run.")),
370
+ ( localize(
371
+ 4738,
372
+ "Automatically start new and outdated MCP servers that are not yet running."
373
+ ))
374
+ ],
375
+ tags: ['experimental'],
376
+ },
315
377
  [mcpServerSamplingSection]: {
316
378
  type: 'object',
317
379
  description: ( localize(
318
- 4676,
380
+ 4739,
319
381
  "Configures which models are exposed to MCP servers for sampling (making model requests in the background). This setting can be edited in a graphical way under the `{0}` command.",
320
- 'MCP: ' + ( localize(4677, 'List Servers'))
382
+ 'MCP: ' + ( localize(4740, 'List Servers'))
321
383
  )),
322
384
  scope: ConfigurationScope.RESOURCE,
323
385
  additionalProperties: {
@@ -326,7 +388,7 @@ configurationRegistry.registerConfiguration({
326
388
  allowedDuringChat: {
327
389
  type: 'boolean',
328
390
  description: ( localize(
329
- 4678,
391
+ 4741,
330
392
  "Whether this server is make sampling requests during its tool calls in a chat session."
331
393
  )),
332
394
  default: true,
@@ -334,7 +396,7 @@ configurationRegistry.registerConfiguration({
334
396
  allowedOutsideChat: {
335
397
  type: 'boolean',
336
398
  description: ( localize(
337
- 4679,
399
+ 4742,
338
400
  "Whether this server is allowed to make sampling requests outside of a chat session."
339
401
  )),
340
402
  default: false,
@@ -343,16 +405,28 @@ configurationRegistry.registerConfiguration({
343
405
  type: 'array',
344
406
  items: {
345
407
  type: 'string',
346
- description: ( localize(4680, "A model the MCP server has access to.")),
408
+ description: ( localize(4743, "A model the MCP server has access to.")),
347
409
  },
348
410
  }
349
411
  }
350
412
  },
351
413
  },
414
+ [AssistedTypes[AddConfigurationType.NuGetPackage].enabledConfigKey]: {
415
+ type: 'boolean',
416
+ description: ( localize(
417
+ 4744,
418
+ "Enables NuGet packages for AI-assisted MCP server installation. Used to install MCP servers by name from the central registry for .NET packages (NuGet.org)."
419
+ )),
420
+ default: false,
421
+ tags: ['experimental'],
422
+ experiment: {
423
+ mode: 'startup'
424
+ }
425
+ },
352
426
  [ChatConfiguration.UseFileStorage]: {
353
427
  type: 'boolean',
354
428
  description: ( localize(
355
- 4681,
429
+ 4745,
356
430
  "Enables storing chat sessions on disk instead of in the storage service. Enabling this does a one-time per-workspace migration of existing sessions to the new format."
357
431
  )),
358
432
  default: true,
@@ -361,38 +435,54 @@ configurationRegistry.registerConfiguration({
361
435
  [ChatConfiguration.Edits2Enabled]: {
362
436
  type: 'boolean',
363
437
  description: ( localize(
364
- 4682,
438
+ 4746,
365
439
  "Enable the new Edits mode that is based on tool-calling. When this is enabled, models that don't support tool-calling are unavailable for Edits mode."
366
440
  )),
367
441
  default: true,
368
- tags: ['onExp'],
442
+ experiment: {
443
+ mode: 'startup'
444
+ }
369
445
  },
370
446
  [ChatConfiguration.ExtensionToolsEnabled]: {
371
447
  type: 'boolean',
372
- description: ( localize(4683, "Enable using tools contributed by third-party extensions.")),
448
+ description: ( localize(4747, "Enable using tools contributed by third-party extensions.")),
373
449
  default: true,
374
450
  policy: {
375
451
  name: 'ChatAgentExtensionTools',
376
452
  minimumVersion: '1.99',
377
- description: ( localize(4684, "Enable using tools contributed by third-party extensions.")),
453
+ description: ( localize(4748, "Enable using tools contributed by third-party extensions.")),
378
454
  }
379
455
  },
380
456
  [ChatConfiguration.AgentEnabled]: {
381
457
  type: 'boolean',
382
458
  description: ( localize(
383
- 4685,
459
+ 4749,
384
460
  "Enable agent mode for {0}. When this is enabled, agent mode can be activated via the dropdown in the view.",
385
461
  'Copilot Chat'
386
462
  )),
387
463
  default: true,
388
- tags: ['onExp'],
464
+ experiment: {
465
+ mode: 'startup'
466
+ },
389
467
  policy: {
390
468
  name: 'ChatAgentMode',
391
469
  minimumVersion: '1.99',
392
- previewFeature: false,
393
- defaultValue: false
470
+ tags: [PolicyTag.Account, PolicyTag.Agent]
394
471
  }
395
472
  },
473
+ [ChatConfiguration.EnableMath]: {
474
+ type: 'boolean',
475
+ description: ( localize(4750, "Enable math rendering in chat responses using Katex.")),
476
+ default: false,
477
+ tags: ['preview'],
478
+ },
479
+ [ChatConfiguration.AgentSessionsViewLocation]: {
480
+ type: 'string',
481
+ enum: ['disabled', 'showChatsMenu', 'view'],
482
+ description: ( localize(4751, "Controls where to show the agent sessions menu.")),
483
+ default: 'disabled',
484
+ tags: ['experimental'],
485
+ },
396
486
  [mcpDiscoverySection]: {
397
487
  oneOf: [
398
488
  { type: 'boolean' },
@@ -401,19 +491,19 @@ configurationRegistry.registerConfiguration({
401
491
  default: Object.fromEntries(( allDiscoverySources.map(k => [k, true]))),
402
492
  properties: Object.fromEntries(( allDiscoverySources.map(k => [
403
493
  k,
404
- { type: 'boolean', description: ( localize(4686, "Enables discovery of {0} servers", discoverySourceLabel[k])) }
494
+ { type: 'boolean', description: ( localize(4752, "Enables discovery of {0} servers", discoverySourceLabel[k])) }
405
495
  ]))),
406
496
  }
407
497
  ],
408
498
  default: true,
409
499
  markdownDescription: ( localize(
410
- 4687,
500
+ 4753,
411
501
  "Configures discovery of Model Context Protocol servers on the machine. It may be set to `true` or `false` to disable or enable all sources, and an mapping sources you wish to enable."
412
502
  )),
413
503
  },
414
504
  [mcpGalleryServiceUrlConfig]: {
415
505
  type: 'string',
416
- description: ( localize(4688, "Configure the MCP Gallery service URL to connect to")),
506
+ description: ( localize(4754, "Configure the MCP Gallery service URL to connect to")),
417
507
  default: '',
418
508
  scope: ConfigurationScope.APPLICATION,
419
509
  tags: ['usesOnlineServices'],
@@ -425,10 +515,10 @@ configurationRegistry.registerConfiguration({
425
515
  },
426
516
  [PromptsConfig.KEY]: {
427
517
  type: 'boolean',
428
- title: ( localize(4689, "Prompt Files")),
518
+ title: ( localize(4755, "Prompt Files")),
429
519
  markdownDescription: ( localize(
430
- 4690,
431
- "Enable reusable prompt (`*{0}`) and instruction files in Chat, Edits, and Inline Chat sessions. [Learn More]({1}).",
520
+ 4756,
521
+ "Enable reusable prompt (`*{0}`) and instruction files (`*{1}`) in Chat sessions. [Learn More]({2}).",
432
522
  PROMPT_FILE_EXTENSION,
433
523
  INSTRUCTION_FILE_EXTENSION,
434
524
  PROMPT_DOCUMENTATION_URL
@@ -440,20 +530,15 @@ configurationRegistry.registerConfiguration({
440
530
  policy: {
441
531
  name: 'ChatPromptFiles',
442
532
  minimumVersion: '1.99',
443
- description: ( localize(
444
- 4691,
445
- "Enables reusable prompt and instruction files in Chat, Edits, and Inline Chat sessions."
446
- )),
447
- previewFeature: false,
448
- defaultValue: false
533
+ description: ( localize(4757, "Enables reusable prompt and instruction files in Chat sessions."))
449
534
  }
450
535
  },
451
536
  [PromptsConfig.INSTRUCTIONS_LOCATION_KEY]: {
452
537
  type: 'object',
453
- title: ( localize(4692, "Instructions File Locations")),
538
+ title: ( localize(4758, "Instructions File Locations")),
454
539
  markdownDescription: ( localize(
455
- 4693,
456
- "Specify location(s) of instructions files (`*{0}`) that can be attached in Chat, Edits, and Inline Chat sessions. [Learn More]({1}).\n\nRelative paths are resolved from the root folder(s) of your workspace.",
540
+ 4759,
541
+ "Specify location(s) of instructions files (`*{0}`) that can be attached in Chat sessions. [Learn More]({1}).\n\nRelative paths are resolved from the root folder(s) of your workspace.",
457
542
  INSTRUCTION_FILE_EXTENSION,
458
543
  INSTRUCTIONS_DOCUMENTATION_URL
459
544
  )),
@@ -475,10 +560,10 @@ configurationRegistry.registerConfiguration({
475
560
  },
476
561
  [PromptsConfig.PROMPT_LOCATIONS_KEY]: {
477
562
  type: 'object',
478
- title: ( localize(4694, "Prompt File Locations")),
563
+ title: ( localize(4760, "Prompt File Locations")),
479
564
  markdownDescription: ( localize(
480
- 4695,
481
- "Specify location(s) of reusable prompt files (`*{0}`) that can be run in Chat, Edits, and Inline Chat sessions. [Learn More]({1}).\n\nRelative paths are resolved from the root folder(s) of your workspace.",
565
+ 4761,
566
+ "Specify location(s) of reusable prompt files (`*{0}`) that can be run in Chat sessions. [Learn More]({1}).\n\nRelative paths are resolved from the root folder(s) of your workspace.",
482
567
  PROMPT_FILE_EXTENSION,
483
568
  PROMPT_DOCUMENTATION_URL
484
569
  )),
@@ -501,9 +586,9 @@ configurationRegistry.registerConfiguration({
501
586
  },
502
587
  [PromptsConfig.MODE_LOCATION_KEY]: {
503
588
  type: 'object',
504
- title: ( localize(4696, "Mode File Locations")),
589
+ title: ( localize(4762, "Mode File Locations")),
505
590
  markdownDescription: ( localize(
506
- 4697,
591
+ 4763,
507
592
  "Specify location(s) of custom chat mode files (`*{0}`). [Learn More]({1}).\n\nRelative paths are resolved from the root folder(s) of your workspace.",
508
593
  MODE_FILE_EXTENSION,
509
594
  MODE_DOCUMENTATION_URL
@@ -527,14 +612,38 @@ configurationRegistry.registerConfiguration({
527
612
  },
528
613
  'chat.setup.signInDialogVariant': {
529
614
  type: 'string',
530
- enum: ['default', 'alternate-first', 'alternate-color', 'alternate-monochrome'],
531
- description: ( localize(4698, "Control variations of the sign-in dialog.")),
615
+ enum: ['default', 'google'],
616
+ description: ( localize(4764, "Control variations of the sign-in dialog.")),
532
617
  default: 'default',
533
- tags: ['onExp', 'experimental']
618
+ tags: ['experimental'],
619
+ experiment: {
620
+ mode: 'auto'
621
+ }
622
+ },
623
+ 'chat.todoListTool.enabled': {
624
+ type: 'boolean',
625
+ default: false,
626
+ description: ( localize(
627
+ 4765,
628
+ "Enables todo lists in chat. This tool allows you to use todo lists in chat."
629
+ )),
630
+ tags: ['experimental'],
631
+ experiment: {
632
+ mode: 'startup'
633
+ }
634
+ },
635
+ 'chat.tools.useTreePicker': {
636
+ type: 'boolean',
637
+ default: true,
638
+ description: ( localize(
639
+ 4766,
640
+ "Use the new Quick Tree-based tools picker instead of the Quick Pick-based one. Provides better hierarchical organization of tools and tool sets with collapsible sections, improved visual hierarchy, and native tree interactions."
641
+ )),
642
+ tags: ['experimental'],
534
643
  }
535
644
  }
536
645
  });
537
- ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(ChatEditor, ChatEditorInput.EditorID, ( localize(4699, "Chat"))), [
646
+ ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(ChatEditor, ChatEditorInput.EditorID, ( localize(4767, "Chat"))), [
538
647
  ( new SyncDescriptor(ChatEditorInput))
539
648
  ]);
540
649
  ( Registry.as(Extensions$1.ConfigurationMigration)).registerConfigurationMigrations([
@@ -550,13 +659,13 @@ let ChatResolverContribution = class ChatResolverContribution extends Disposable
550
659
  static { this.ID = 'workbench.contrib.chatResolver'; }
551
660
  constructor(editorResolverService, instantiationService) {
552
661
  super();
553
- this._register(editorResolverService.registerEditor(`${Schemas.vscodeChatSesssion}:**/**`, {
662
+ this._register(editorResolverService.registerEditor(`{${Schemas.vscodeChatEditor},${Schemas.vscodeChatSession}}:**/**`, {
554
663
  id: ChatEditorInput.EditorID,
555
- label: ( localize(4699, "Chat")),
664
+ label: ( localize(4767, "Chat")),
556
665
  priority: RegisteredEditorPriority.builtin
557
666
  }, {
558
667
  singlePerResource: true,
559
- canSupportResource: resource => resource.scheme === Schemas.vscodeChatSesssion
668
+ canSupportResource: resource => resource.scheme === Schemas.vscodeChatEditor || resource.scheme === Schemas.vscodeChatSession,
560
669
  }, {
561
670
  createEditorInput: ({ resource, options }) => {
562
671
  return { editor: instantiationService.createInstance(ChatEditorInput, resource, options), options };
@@ -586,13 +695,13 @@ let ChatAgentSettingContribution = class ChatAgentSettingContribution extends Di
586
695
  const defaultValue = value ?? (this.entitlementService.entitlement === ChatEntitlement.Free ? 25 : 25);
587
696
  const node = {
588
697
  id: 'chatSidebar',
589
- title: ( localize(4648, "Chat")),
698
+ title: ( localize(4703, "Chat")),
590
699
  type: 'object',
591
700
  properties: {
592
701
  'chat.agent.maxRequests': {
593
702
  type: 'number',
594
703
  markdownDescription: ( localize(
595
- 4700,
704
+ 4768,
596
705
  "The maximum number of requests to allow Copilot to use per-turn in agent mode. When the limit is reached, Copilot will ask the user to confirm that it should continue."
597
706
  )),
598
707
  default: defaultValue,
@@ -622,7 +731,7 @@ let ChatSlashStaticSlashCommandsContribution = class ChatSlashStaticSlashCommand
622
731
  super();
623
732
  this._store.add(slashCommandService.registerSlashCommand({
624
733
  command: 'clear',
625
- detail: ( localize(4701, "Start a new chat")),
734
+ detail: ( localize(4769, "Start a new chat")),
626
735
  sortText: 'z2_clear',
627
736
  executeImmediately: true,
628
737
  locations: [ChatAgentLocation.Panel]
@@ -631,7 +740,7 @@ let ChatSlashStaticSlashCommandsContribution = class ChatSlashStaticSlashCommand
631
740
  }));
632
741
  this._store.add(slashCommandService.registerSlashCommand({
633
742
  command: SAVE_TO_PROMPT_SLASH_COMMAND_NAME,
634
- detail: ( localize(4702, "Save chat to a prompt file")),
743
+ detail: ( localize(4770, "Save chat to a prompt file")),
635
744
  sortText: `z3_${SAVE_TO_PROMPT_SLASH_COMMAND_NAME}`,
636
745
  executeImmediately: true,
637
746
  silent: true,
@@ -639,7 +748,8 @@ let ChatSlashStaticSlashCommandsContribution = class ChatSlashStaticSlashCommand
639
748
  }, async () => {
640
749
  const { lastFocusedWidget } = chatWidgetService;
641
750
  assertDefined(lastFocusedWidget, 'No currently active chat widget found.');
642
- runSaveToPromptAction({ chat: lastFocusedWidget }, commandService);
751
+ const options = { chat: lastFocusedWidget };
752
+ return commandService.executeCommand(SAVE_TO_PROMPT_ACTION_ID, options);
643
753
  }));
644
754
  this._store.add(slashCommandService.registerSlashCommand({
645
755
  command: 'help',
@@ -683,7 +793,7 @@ let ChatSlashStaticSlashCommandsContribution = class ChatSlashStaticSlashCommand
683
793
  progress.report({ content: ( new MarkdownString(defaultAgent.metadata.helpTextVariablesPrefix)), kind: 'markdownContent' });
684
794
  }
685
795
  const variables = [
686
- { name: 'file', description: ( localize(4703, "Choose a file in the workspace")) }
796
+ { name: 'file', description: ( localize(4771, "Choose a file in the workspace")) }
687
797
  ];
688
798
  const variableText = ( variables
689
799
  .map(v => `* \`${chatVariableLeader}${v.name}\` - ${v.description}`))
@@ -734,6 +844,7 @@ registerWorkbenchContribution2(ChatTransferContribution.ID, ChatTransferContribu
734
844
  registerWorkbenchContribution2(ChatContextContributions.ID, ChatContextContributions, WorkbenchPhase.AfterRestored);
735
845
  registerWorkbenchContribution2(ChatResponseResourceFileSystemProvider.ID, ChatResponseResourceFileSystemProvider, WorkbenchPhase.AfterRestored);
736
846
  registerWorkbenchContribution2(PromptUrlHandler.ID, PromptUrlHandler, WorkbenchPhase.BlockRestore);
847
+ registerWorkbenchContribution2(ChatSessionsView.ID, ChatSessionsView, WorkbenchPhase.AfterRestored);
737
848
  registerChatActions();
738
849
  registerChatCopyActions();
739
850
  registerChatCodeBlockActions();