@codingame/monaco-vscode-chat-service-override 25.1.2 → 26.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (334) hide show
  1. package/index.js +24 -3
  2. package/package.json +5 -5
  3. package/vscode/src/vs/platform/browserElements/common/browserElements.d.ts +23 -3
  4. package/vscode/src/vs/platform/browserElements/common/browserElements.js +13 -6
  5. package/vscode/src/vs/platform/domWidget/browser/domWidget.js +4 -4
  6. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.d.ts +1 -1
  7. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.js +42 -27
  8. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.d.ts +14 -0
  9. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.js +218 -74
  10. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatTerminalOutputAccessibleView.js +6 -8
  11. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +14 -9
  12. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +165 -168
  13. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAgentRecommendationActions.js +27 -25
  14. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +141 -140
  15. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +189 -121
  16. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +14 -15
  17. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCustomizationDiagnosticsAction.d.ts +60 -0
  18. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCustomizationDiagnosticsAction.js +435 -0
  19. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +28 -12
  20. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +10 -12
  21. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatGettingStarted.d.ts +3 -1
  22. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatGettingStarted.js +37 -16
  23. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.d.ts +11 -0
  24. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +54 -24
  25. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatLanguageModelActions.js +73 -34
  26. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +71 -30
  27. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatNewActions.js +151 -89
  28. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPromptNavigationActions.js +12 -15
  29. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +39 -40
  30. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolActions.js +90 -125
  31. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.d.ts +5 -2
  32. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.js +263 -143
  33. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTransfer.js +4 -4
  34. package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +188 -126
  35. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.d.ts +1 -1
  36. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.js +37 -28
  37. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.d.ts +21 -9
  38. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.js +392 -226
  39. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.js +31 -27
  40. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsQuickAccess.js +25 -23
  41. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.js +1 -3
  42. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjection.d.ts +2 -0
  43. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjection.js +13 -0
  44. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionActions.d.ts +20 -0
  45. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionActions.js +83 -0
  46. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.d.ts +68 -0
  47. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.js +319 -0
  48. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionsExperiments.contribution.d.ts +1 -0
  49. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionsExperiments.contribution.js +215 -0
  50. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.d.ts +179 -0
  51. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.js +951 -0
  52. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/media/agentsessionprojection.css +20 -0
  53. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/media/agenttitlebarstatuswidget.css +388 -0
  54. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/media/unifiedQuickAccess.css +195 -0
  55. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccess.d.ts +120 -0
  56. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccess.js +394 -0
  57. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccessActions.d.ts +38 -0
  58. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccessActions.js +95 -0
  59. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentSessionsProvider.d.ts +3 -1
  60. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentSessionsProvider.js +31 -29
  61. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.js +49 -47
  62. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.js +4 -6
  63. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/media/simpleBrowserOverlay.css +0 -1
  64. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/simpleBrowserEditorOverlay.js +188 -151
  65. package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +1012 -639
  66. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCheckpointTimelineImpl.js +256 -151
  67. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.d.ts +8 -1
  68. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +182 -101
  69. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingDeletedFileEntry.d.ts +79 -0
  70. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingDeletedFileEntry.js +193 -0
  71. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorAccessibility.js +9 -7
  72. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.d.ts +68 -0
  73. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.js +253 -0
  74. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.d.ts +4 -5
  75. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +69 -50
  76. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.d.ts +3 -4
  77. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +52 -33
  78. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.d.ts +5 -6
  79. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +274 -155
  80. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingOperations.js +1 -1
  81. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.d.ts +2 -10
  82. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +130 -104
  83. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.d.ts +12 -2
  84. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +385 -160
  85. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSessionStorage.js +53 -36
  86. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.js +112 -75
  87. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelContentProviders.js +19 -10
  88. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/media/chatEditorController.css +31 -11
  89. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingModifiedNotebookSnapshot.js +39 -17
  90. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNewNotebookContentEdits.js +10 -14
  91. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.d.ts +0 -2
  92. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.js +25 -16
  93. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.d.ts +1 -1
  94. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +265 -203
  95. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookFileSystemProvider.js +29 -26
  96. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/helpers.js +114 -60
  97. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/notebookCellChanges.js +16 -19
  98. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/overlayToolbarDecorator.js +44 -30
  99. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +119 -45
  100. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditor.d.ts +1 -0
  101. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditor.js +152 -136
  102. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +12 -8
  103. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsViewModel.d.ts +51 -31
  104. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsViewModel.js +323 -217
  105. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.d.ts +4 -3
  106. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.js +653 -401
  107. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatUsageWidget.js +52 -40
  108. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/media/chatModelsWidget.css +22 -3
  109. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.d.ts +5 -2
  110. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +43 -28
  111. package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +182 -136
  112. package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.d.ts +33 -0
  113. package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.js +548 -0
  114. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.d.ts +0 -1
  115. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +222 -138
  116. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.d.ts +3 -3
  117. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.js +151 -113
  118. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.d.ts +6 -4
  119. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.js +453 -217
  120. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.d.ts +1 -1
  121. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +162 -88
  122. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/media/chatSetup.css +2 -1
  123. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatus.d.ts +0 -2
  124. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatus.js +1 -13
  125. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.d.ts +1 -0
  126. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.js +309 -233
  127. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.js +55 -53
  128. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusItemService.js +3 -1
  129. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.d.ts +37 -0
  130. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.js +109 -0
  131. package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.js +35 -23
  132. package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContextService.d.ts +9 -4
  133. package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContextService.js +73 -33
  134. package/vscode/src/vs/workbench/contrib/chat/browser/languageModelsConfigurationService.d.ts +47 -0
  135. package/vscode/src/vs/workbench/contrib/chat/browser/languageModelsConfigurationService.js +333 -0
  136. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +39 -25
  137. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionContribution.js +9 -5
  138. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +23 -20
  139. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileActions.js +2 -0
  140. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolsCodeLensProvider.js +20 -16
  141. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptUrlHandler.js +65 -57
  142. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/runPromptAction.js +48 -36
  143. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveAsPromptFileActions.js +20 -12
  144. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/skillActions.d.ts +4 -0
  145. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/skillActions.js +52 -0
  146. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.js +155 -159
  147. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.d.ts +24 -14
  148. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.js +521 -246
  149. package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolSetsContribution.js +107 -76
  150. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +28 -24
  151. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownAnchorService.js +10 -6
  152. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolOutputStateCache.d.ts +16 -0
  153. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolOutputStateCache.js +57 -0
  154. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatLayoutService.js +4 -6
  155. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidgetService.js +56 -44
  156. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatStatusWidget.d.ts +0 -3
  157. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatStatusWidget.js +37 -47
  158. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatEditorInputContentProvider.js +5 -7
  159. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.d.ts +10 -0
  160. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +1284 -0
  161. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorContrib.js +179 -125
  162. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorHover.js +9 -11
  163. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/editorHoverWrapper.js +7 -6
  164. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/chatQuick.js +96 -78
  165. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.js +58 -53
  166. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.d.ts +25 -11
  167. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.js +484 -292
  168. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.d.ts +1 -6
  169. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.js +65 -92
  170. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatViewPane.css +16 -19
  171. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatViewTitleControl.css +1 -0
  172. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.d.ts +9 -1
  173. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.js +331 -189
  174. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceTelemetry.js +81 -93
  175. package/vscode/src/vs/workbench/contrib/chat/common/ignoredFiles.js +1 -3
  176. package/vscode/src/vs/workbench/contrib/chat/common/model/chatModelStore.d.ts +5 -3
  177. package/vscode/src/vs/workbench/contrib/chat/common/model/chatModelStore.js +6 -7
  178. package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.d.ts +36 -8
  179. package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.js +169 -31
  180. package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionOperationLog.d.ts +6 -0
  181. package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionOperationLog.js +141 -0
  182. package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.d.ts +6 -4
  183. package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.js +218 -144
  184. package/vscode/src/vs/workbench/contrib/chat/common/model/chatTransferService.js +20 -10
  185. package/vscode/src/vs/workbench/contrib/chat/common/model/objectMutationLog.d.ts +109 -0
  186. package/vscode/src/vs/workbench/contrib/chat/common/model/objectMutationLog.js +349 -0
  187. package/vscode/src/vs/workbench/contrib/chat/common/participants/chatSlashCommands.js +9 -8
  188. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.d.ts +9 -0
  189. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +139 -36
  190. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/PromptHeaderDefinitionProvider.js +3 -6
  191. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptBodyAutocompletion.js +64 -51
  192. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +49 -34
  193. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptDocumentSemanticTokensProvider.js +21 -13
  194. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.d.ts +1 -1
  195. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +125 -97
  196. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.js +91 -131
  197. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptLinkProvider.js +8 -5
  198. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.d.ts +5 -0
  199. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +488 -222
  200. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileContributions.js +32 -12
  201. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +58 -13
  202. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +717 -200
  203. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +79 -18
  204. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +371 -130
  205. package/vscode/src/vs/workbench/contrib/chat/common/tools/chatTodoListService.d.ts +0 -1
  206. package/vscode/src/vs/workbench/contrib/chat/common/tools/chatTodoListService.js +3 -7
  207. package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +79 -61
  208. package/vscode/src/vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.js +27 -21
  209. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryServiceImpl.js +7 -10
  210. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.d.ts +1 -1
  211. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +26 -32
  212. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibilityHelp.js +2 -2
  213. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.d.ts +8 -60
  214. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +115 -426
  215. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatDefaultModel.d.ts +15 -0
  216. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatDefaultModel.js +127 -0
  217. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatNotebook.js +1 -37
  218. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +16 -0
  219. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.js +21 -0
  220. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.d.ts +51 -0
  221. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +334 -0
  222. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.d.ts +41 -0
  223. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.js +424 -0
  224. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.d.ts +4 -0
  225. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.js +58 -0
  226. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.d.ts +7 -0
  227. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +195 -0
  228. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.d.ts +8 -0
  229. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +368 -0
  230. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.d.ts +2 -0
  231. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +7 -0
  232. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookModifiedCellDecorator.d.ts +1 -1
  233. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookModifiedCellDecorator.js +1 -1
  234. package/vscode/src/vs/workbench/contrib/remoteCodingAgents/browser/remoteCodingAgents.contribution.js +23 -25
  235. package/vscode/src/vs/workbench/contrib/remoteCodingAgents/common/remoteCodingAgentsService.js +7 -8
  236. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.js +34 -38
  237. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibleView.js +8 -12
  238. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +103 -95
  239. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.js +28 -16
  240. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatEnabler.js +4 -5
  241. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatService.d.ts +12 -8
  242. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatService.js +65 -54
  243. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +86 -60
  244. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/alternativeRecommendation.js +13 -26
  245. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/commandParsers/commandFileWriteParser.d.ts +24 -0
  246. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/commandParsers/sedFileWriteParser.d.ts +26 -0
  247. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/commandParsers/sedFileWriteParser.js +142 -0
  248. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.d.ts +2 -1
  249. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.js +56 -46
  250. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/executeStrategy.d.ts +2 -2
  251. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/executeStrategy.js +63 -31
  252. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/noneExecuteStrategy.d.ts +2 -1
  253. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/noneExecuteStrategy.js +35 -30
  254. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/richExecuteStrategy.d.ts +2 -1
  255. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/richExecuteStrategy.js +44 -37
  256. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/strategyHelpers.js +3 -4
  257. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/outputHelpers.js +3 -3
  258. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.d.ts +11 -0
  259. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +70 -50
  260. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalToolTelemetry.js +26 -394
  261. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/taskHelpers.js +85 -49
  262. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +68 -27
  263. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/toolTerminalCreator.d.ts +1 -0
  264. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/toolTerminalCreator.js +67 -45
  265. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/awaitTerminalTool.d.ts +12 -0
  266. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/awaitTerminalTool.js +106 -0
  267. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/commandLineAutoApprover.d.ts +2 -2
  268. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/commandLineAutoApprover.js +177 -97
  269. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.js +136 -49
  270. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAnalyzer.d.ts +2 -1
  271. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.js +128 -112
  272. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.js +51 -49
  273. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineSandboxAnalyzer.d.ts +8 -0
  274. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineSandboxAnalyzer.js +25 -0
  275. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/commandLinePresenter.d.ts +41 -0
  276. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/nodeCommandLinePresenter.d.ts +19 -0
  277. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/nodeCommandLinePresenter.js +37 -0
  278. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/pythonCommandLinePresenter.d.ts +19 -0
  279. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/pythonCommandLinePresenter.js +37 -0
  280. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/rubyCommandLinePresenter.d.ts +19 -0
  281. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/rubyCommandLinePresenter.js +44 -0
  282. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/sandboxedCommandLinePresenter.d.ts +12 -0
  283. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/sandboxedCommandLinePresenter.js +21 -0
  284. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineCdPrefixRewriter.js +5 -14
  285. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLinePreventHistoryRewriter.js +2 -4
  286. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineRewriter.d.ts +1 -0
  287. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineSandboxRewriter.d.ts +8 -0
  288. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineSandboxRewriter.js +29 -0
  289. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalLastCommandTool.js +30 -31
  290. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.js +16 -17
  291. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.js +19 -20
  292. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/killTerminalTool.d.ts +11 -0
  293. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/killTerminalTool.js +58 -0
  294. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.d.ts +31 -3
  295. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.js +325 -199
  296. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/types.d.ts +1 -1
  297. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/types.js +1 -1
  298. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +33 -38
  299. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.d.ts +45 -5
  300. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +746 -456
  301. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +145 -98
  302. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +88 -37
  303. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +120 -51
  304. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.js +25 -28
  305. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalCommandArtifactCollector.d.ts +5 -0
  306. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalCommandArtifactCollector.js +58 -12
  307. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/toolIds.d.ts +12 -0
  308. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/toolIds.js +17 -0
  309. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/treeSitterCommandParser.d.ts +8 -1
  310. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/treeSitterCommandParser.js +47 -28
  311. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.d.ts +37 -0
  312. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.js +171 -0
  313. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.d.ts +0 -58
  314. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.js +0 -213
  315. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.d.ts +0 -39
  316. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.js +0 -243
  317. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.d.ts +0 -7
  318. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.js +0 -41
  319. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.d.ts +0 -166
  320. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.js +0 -607
  321. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentsessionsviewer.css +0 -255
  322. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.d.ts +0 -46
  323. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +0 -396
  324. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.d.ts +0 -9
  325. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +0 -379
  326. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/media/chatEditingEditorOverlay.css +0 -117
  327. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +0 -141
  328. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +0 -961
  329. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.d.ts +0 -36
  330. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +0 -447
  331. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsParametersSchema.d.ts +0 -6
  332. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsParametersSchema.js +0 -251
  333. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibleView.d.ts +0 -10
  334. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibleView.js +0 -42
@@ -39,7 +39,9 @@ import { autorun } from '@codingame/monaco-vscode-api/vscode/vs/base/common/obse
39
39
 
40
40
  var QuickChat_1;
41
41
  let QuickChatService = class QuickChatService extends Disposable {
42
- get onDidClose() { return this._onDidClose.event; }
42
+ get onDidClose() {
43
+ return this._onDidClose.event;
44
+ }
43
45
  constructor(quickInputService, chatService, instantiationService) {
44
46
  super();
45
47
  this.quickInputService = quickInputService;
@@ -63,8 +65,7 @@ let QuickChatService = class QuickChatService extends Disposable {
63
65
  toggle(options) {
64
66
  if (this.focused && !options?.query) {
65
67
  this.close();
66
- }
67
- else {
68
+ } else {
68
69
  this.open(options);
69
70
  if (options?.isPartialQuery) {
70
71
  const disposable = this._store.add(Event.once(this.onDidClose)(() => {
@@ -88,17 +89,16 @@ let QuickChatService = class QuickChatService extends Disposable {
88
89
  }
89
90
  const disposableStore = ( new DisposableStore());
90
91
  this._input = this.quickInputService.createQuickWidget();
91
- this._input.contextKey = 'chatInputVisible';
92
+ this._input.contextKey = "chatInputVisible";
92
93
  this._input.ignoreFocusOut = true;
93
94
  disposableStore.add(this._input);
94
- this._container ??= $('.interactive-session');
95
+ this._container ??= $(".interactive-session");
95
96
  this._input.widget = this._container;
96
97
  this._input.show();
97
98
  if (!this._currentChat) {
98
99
  this._currentChat = this.instantiationService.createInstance(QuickChat);
99
100
  this._currentChat.render(this._container);
100
- }
101
- else {
101
+ } else {
102
102
  this._currentChat.show();
103
103
  }
104
104
  disposableStore.add(this._input.onDidHide(() => {
@@ -127,19 +127,29 @@ let QuickChatService = class QuickChatService extends Disposable {
127
127
  this.close();
128
128
  }
129
129
  };
130
- QuickChatService = ( __decorate([
131
- ( __param(0, IQuickInputService)),
132
- ( __param(1, IChatService)),
133
- ( __param(2, IInstantiationService))
134
- ], QuickChatService));
130
+ QuickChatService = ( __decorate([( __param(0, IQuickInputService)), ( __param(1, IChatService)), ( __param(2, IInstantiationService))], QuickChatService));
135
131
  let QuickChat = class QuickChat extends Disposable {
136
- static { QuickChat_1 = this; }
137
- static { this.DEFAULT_MIN_HEIGHT = 200; }
138
- static { this.DEFAULT_HEIGHT_OFFSET = 100; }
132
+ static {
133
+ QuickChat_1 = this;
134
+ }
135
+ static {
136
+ this.DEFAULT_MIN_HEIGHT = 200;
137
+ }
138
+ static {
139
+ this.DEFAULT_HEIGHT_OFFSET = 100;
140
+ }
139
141
  get sessionResource() {
140
142
  return this.modelRef?.object.sessionResource;
141
143
  }
142
- constructor(instantiationService, contextKeyService, chatService, layoutService, chatWidgetService, chatEntitlementService, markdownRendererService) {
144
+ constructor(
145
+ instantiationService,
146
+ contextKeyService,
147
+ chatService,
148
+ layoutService,
149
+ chatWidgetService,
150
+ chatEntitlementService,
151
+ markdownRendererService
152
+ ) {
143
153
  super();
144
154
  this.instantiationService = instantiationService;
145
155
  this.contextKeyService = contextKeyService;
@@ -155,7 +165,7 @@ let QuickChat = class QuickChat extends Disposable {
155
165
  this.modelRef?.dispose();
156
166
  this.modelRef = undefined;
157
167
  this.updateModel();
158
- this.widget.inputEditor.setValue('');
168
+ this.widget.inputEditor.setValue("");
159
169
  return Promise.resolve();
160
170
  }
161
171
  focus(selection) {
@@ -190,41 +200,48 @@ let QuickChat = class QuickChat extends Disposable {
190
200
  }
191
201
  render(parent) {
192
202
  if (this.widget) {
193
- throw ( new Error('Cannot render quick chat twice'));
203
+ throw ( new Error("Cannot render quick chat twice"));
194
204
  }
195
205
  const scopedInstantiationService = this._register(this.instantiationService.createChild(( new ServiceCollection([
196
206
  IContextKeyService,
197
207
  this._register(this.contextKeyService.createScoped(parent))
198
208
  ]))));
199
- this.widget = this._register(scopedInstantiationService.createInstance(ChatWidget, ChatAgentLocation.Chat, { isQuickChat: true }, {
200
- autoScroll: true,
201
- renderInputOnTop: true,
202
- renderStyle: 'compact',
203
- menus: { inputSideToolbar: MenuId.ChatInputSide, telemetrySource: 'chatQuick' },
204
- enableImplicitContext: true,
205
- defaultMode: ChatMode.Ask,
206
- clear: () => this.clear(),
207
- }, {
208
- listForeground: quickInputForeground,
209
- listBackground: quickInputBackground,
210
- overlayBackground: EDITOR_DRAG_AND_DROP_BACKGROUND,
211
- inputEditorBackground: inputBackground,
212
- resultEditorBackground: editorBackground
213
- }));
209
+ this.widget = this._register(
210
+ scopedInstantiationService.createInstance(ChatWidget, ChatAgentLocation.Chat, {
211
+ isQuickChat: true
212
+ }, {
213
+ autoScroll: true,
214
+ renderInputOnTop: true,
215
+ renderStyle: "compact",
216
+ menus: {
217
+ inputSideToolbar: MenuId.ChatInputSide,
218
+ telemetrySource: "chatQuick"
219
+ },
220
+ enableImplicitContext: true,
221
+ defaultMode: ChatMode.Ask,
222
+ clear: () => this.clear()
223
+ }, {
224
+ listForeground: quickInputForeground,
225
+ listBackground: quickInputBackground,
226
+ overlayBackground: EDITOR_DRAG_AND_DROP_BACKGROUND,
227
+ inputEditorBackground: inputBackground,
228
+ resultEditorBackground: editorBackground
229
+ })
230
+ );
214
231
  this.widget.render(parent);
215
232
  this.widget.setVisible(true);
216
233
  this.widget.setDynamicChatTreeItemLayout(2, this.maxHeight);
217
234
  this.updateModel();
218
- this.sash = this._register(( new Sash(
219
- parent,
220
- { getHorizontalSashTop: () => parent.offsetHeight },
221
- { orientation: Orientation.HORIZONTAL }
222
- )));
235
+ this.sash = this._register(( new Sash(parent, {
236
+ getHorizontalSashTop: () => parent.offsetHeight
237
+ }, {
238
+ orientation: Orientation.HORIZONTAL
239
+ })));
223
240
  this.setupDisclaimer(parent);
224
241
  this.registerListeners(parent);
225
242
  }
226
243
  setupDisclaimer(parent) {
227
- const disclaimerElement = append(parent, $('.disclaimer.hidden'));
244
+ const disclaimerElement = append(parent, $(".disclaimer.hidden"));
228
245
  const disposables = this._store.add(( new DisposableStore()));
229
246
  this._register(autorun(reader => {
230
247
  disposables.clear();
@@ -233,16 +250,18 @@ let QuickChat = class QuickChat extends Disposable {
233
250
  const anonymous = this.chatEntitlementService.anonymousObs.read(reader);
234
251
  const requestInProgress = this.chatService.requestInProgressObs.read(reader);
235
252
  const showDisclaimer = !sentiment.installed && anonymous && !requestInProgress;
236
- disclaimerElement.classList.toggle('hidden', !showDisclaimer);
253
+ disclaimerElement.classList.toggle("hidden", !showDisclaimer);
237
254
  if (showDisclaimer) {
238
255
  const renderedMarkdown = disposables.add(this.markdownRendererService.render(( new MarkdownString(( localize(
239
- 5863,
256
+ 6129,
240
257
  "By continuing with {0} Copilot, you agree to {1}'s [Terms]({2}) and [Privacy Statement]({3})",
241
- product.defaultChatAgent?.provider?.default?.name ?? '',
242
- product.defaultChatAgent?.provider?.default?.name ?? '',
243
- product.defaultChatAgent?.termsStatementUrl ?? '',
244
- product.defaultChatAgent?.privacyStatementUrl ?? ''
245
- )), { isTrusted: true }))));
258
+ product.defaultChatAgent?.provider?.default?.name ?? "",
259
+ product.defaultChatAgent?.provider?.default?.name ?? "",
260
+ product.defaultChatAgent?.termsStatementUrl ?? "",
261
+ product.defaultChatAgent?.privacyStatementUrl ?? ""
262
+ )), {
263
+ isTrusted: true
264
+ }))));
246
265
  disclaimerElement.appendChild(renderedMarkdown.element);
247
266
  }
248
267
  }));
@@ -254,17 +273,16 @@ let QuickChat = class QuickChat extends Disposable {
254
273
  this._register(this.layoutService.onDidLayoutMainContainer(() => {
255
274
  if (this.widget.visible) {
256
275
  this.widget.updateDynamicChatTreeItemLayout(2, this.maxHeight);
257
- }
258
- else {
276
+ } else {
259
277
  this._deferUpdatingDynamicLayout = true;
260
278
  }
261
279
  }));
262
- this._register(this.widget.onDidChangeHeight((e) => this.sash.layout()));
280
+ this._register(this.widget.onDidChangeHeight(e => this.sash.layout()));
263
281
  const width = parent.offsetWidth;
264
282
  this._register(this.sash.onDidStart(() => {
265
283
  this.widget.isDynamicChatTreeItemLayoutEnabled = false;
266
284
  }));
267
- this._register(this.sash.onDidChange((e) => {
285
+ this._register(this.sash.onDidChange(e => {
268
286
  if (e.currentY < QuickChat_1.DEFAULT_MIN_HEIGHT || e.currentY > this.maxHeight) {
269
287
  return;
270
288
  }
@@ -289,42 +307,45 @@ let QuickChat = class QuickChat extends Disposable {
289
307
  if (request.response?.response.value || request.response?.result) {
290
308
  const message = [];
291
309
  for (const item of request.response.response.value) {
292
- if (item.kind === 'textEditGroup') {
310
+ if (item.kind === "textEditGroup") {
293
311
  for (const group of item.edits) {
294
312
  message.push({
295
- kind: 'textEdit',
313
+ kind: "textEdit",
296
314
  edits: group,
297
315
  uri: item.uri
298
316
  });
299
317
  }
300
- }
301
- else if (item.kind === 'notebookEditGroup') {
318
+ } else if (item.kind === "notebookEditGroup") {
302
319
  for (const group of item.edits) {
303
320
  if (isCellTextEditOperationArray(group)) {
304
321
  message.push({
305
- kind: 'textEdit',
322
+ kind: "textEdit",
306
323
  edits: ( group.map(e => e.edit)),
307
324
  uri: group[0].uri
308
325
  });
309
- }
310
- else {
326
+ } else {
311
327
  message.push({
312
- kind: 'notebookEdit',
328
+ kind: "notebookEdit",
313
329
  edits: group,
314
330
  uri: item.uri
315
331
  });
316
332
  }
317
333
  }
318
- }
319
- else {
334
+ } else {
320
335
  message.push(item);
321
336
  }
322
337
  }
323
- this.chatService.addCompleteRequest(widget.viewModel.sessionResource, request.message, request.variableData, request.attempt, {
324
- message,
325
- result: request.response.result,
326
- followups: request.response.followups
327
- });
338
+ this.chatService.addCompleteRequest(
339
+ widget.viewModel.sessionResource,
340
+ request.message,
341
+ request.variableData,
342
+ request.attempt,
343
+ {
344
+ message,
345
+ result: request.response.result,
346
+ followups: request.response.followups
347
+ }
348
+ );
328
349
  }
329
350
  }
330
351
  const value = this.widget.getViewState();
@@ -338,15 +359,20 @@ let QuickChat = class QuickChat extends Disposable {
338
359
  this.focus(selection);
339
360
  }
340
361
  clearValue() {
341
- this.widget.inputEditor.setValue('');
362
+ this.widget.inputEditor.setValue("");
342
363
  }
343
364
  updateModel() {
344
- this.modelRef ??= this.chatService.startSession(ChatAgentLocation.Chat, { disableBackgroundKeepAlive: true });
365
+ this.modelRef ??= this.chatService.startSession(ChatAgentLocation.Chat, {
366
+ disableBackgroundKeepAlive: true
367
+ });
345
368
  const model = this.modelRef?.object;
346
369
  if (!model) {
347
- throw ( new Error('Could not start chat session'));
370
+ throw ( new Error("Could not start chat session"));
348
371
  }
349
- this.modelRef.object.inputModel.setState({ inputText: '', selections: [] });
372
+ this.modelRef.object.inputModel.setState({
373
+ inputText: "",
374
+ selections: []
375
+ });
350
376
  this.widget.setModel(model);
351
377
  }
352
378
  dispose() {
@@ -355,14 +381,6 @@ let QuickChat = class QuickChat extends Disposable {
355
381
  super.dispose();
356
382
  }
357
383
  };
358
- QuickChat = QuickChat_1 = ( __decorate([
359
- ( __param(0, IInstantiationService)),
360
- ( __param(1, IContextKeyService)),
361
- ( __param(2, IChatService)),
362
- ( __param(3, IWorkbenchLayoutService)),
363
- ( __param(4, IChatWidgetService)),
364
- ( __param(5, IChatEntitlementService)),
365
- ( __param(6, IMarkdownRendererService))
366
- ], QuickChat));
384
+ QuickChat = QuickChat_1 = ( __decorate([( __param(0, IInstantiationService)), ( __param(1, IContextKeyService)), ( __param(2, IChatService)), ( __param(3, IWorkbenchLayoutService)), ( __param(4, IChatWidgetService)), ( __param(5, IChatEntitlementService)), ( __param(6, IMarkdownRendererService))], QuickChat));
367
385
 
368
386
  export { QuickChatService };
@@ -41,8 +41,23 @@ let ChatEditor = class ChatEditor extends EditorPane {
41
41
  get scopedContextKeyService() {
42
42
  return this._scopedContextKeyService;
43
43
  }
44
- constructor(group, telemetryService, themeService, instantiationService, storageService, chatSessionsService, contextKeyService, chatService) {
45
- super(ChatEditorInput.EditorID, group, telemetryService, themeService, storageService);
44
+ constructor(
45
+ group,
46
+ telemetryService,
47
+ themeService,
48
+ instantiationService,
49
+ storageService,
50
+ chatSessionsService,
51
+ contextKeyService,
52
+ chatService
53
+ ) {
54
+ super(
55
+ ChatEditorInput.EditorID,
56
+ group,
57
+ telemetryService,
58
+ themeService,
59
+ storageService
60
+ );
46
61
  this.instantiationService = instantiationService;
47
62
  this.chatSessionsService = chatSessionsService;
48
63
  this.contextKeyService = contextKeyService;
@@ -56,32 +71,34 @@ let ChatEditor = class ChatEditor extends EditorPane {
56
71
  }
57
72
  createEditor(parent) {
58
73
  this._editorContainer = parent;
59
- parent.classList.add('chat-editor-relative');
74
+ parent.classList.add("chat-editor-relative");
60
75
  this._scopedContextKeyService = this._register(this.contextKeyService.createScoped(parent));
61
76
  const scopedInstantiationService = this._register(this.instantiationService.createChild(( new ServiceCollection([IContextKeyService, this.scopedContextKeyService]))));
62
77
  ChatContextKeys.inChatEditor.bindTo(this._scopedContextKeyService).set(true);
63
- this._widget = this._register(scopedInstantiationService.createInstance(ChatWidget, ChatAgentLocation.Chat, undefined, {
64
- autoScroll: mode => mode !== ChatModeKind.Ask,
65
- renderFollowups: true,
66
- supportsFileReferences: true,
67
- clear: () => this.clear(),
68
- rendererOptions: {
69
- renderTextEditsAsSummary: (uri) => {
70
- return true;
78
+ this._widget = this._register(
79
+ scopedInstantiationService.createInstance(ChatWidget, ChatAgentLocation.Chat, undefined, {
80
+ autoScroll: mode => mode !== ChatModeKind.Ask,
81
+ renderFollowups: true,
82
+ supportsFileReferences: true,
83
+ clear: () => this.clear(),
84
+ rendererOptions: {
85
+ renderTextEditsAsSummary: uri => {
86
+ return true;
87
+ },
88
+ referencesExpandedWhenEmptyResponse: false,
89
+ progressMessageAtBottomOfResponse: mode => mode !== ChatModeKind.Ask
71
90
  },
72
- referencesExpandedWhenEmptyResponse: false,
73
- progressMessageAtBottomOfResponse: mode => mode !== ChatModeKind.Ask,
74
- },
75
- enableImplicitContext: true,
76
- enableWorkingSet: 'explicit',
77
- supportsChangingModes: true,
78
- }, {
79
- listForeground: editorForeground,
80
- listBackground: editorBackground,
81
- overlayBackground: EDITOR_DRAG_AND_DROP_BACKGROUND,
82
- inputEditorBackground: inputBackground,
83
- resultEditorBackground: editorBackground
84
- }));
91
+ enableImplicitContext: true,
92
+ enableWorkingSet: "explicit",
93
+ supportsChangingModes: true
94
+ }, {
95
+ listForeground: editorForeground,
96
+ listBackground: editorBackground,
97
+ overlayBackground: EDITOR_DRAG_AND_DROP_BACKGROUND,
98
+ inputEditorBackground: inputBackground,
99
+ resultEditorBackground: editorBackground
100
+ })
101
+ );
85
102
  this._register(this.widget.onDidSubmitAgent(() => {
86
103
  this.group.pinEditor(this.input);
87
104
  }));
@@ -109,23 +126,23 @@ let ChatEditor = class ChatEditor extends EditorPane {
109
126
  return;
110
127
  }
111
128
  if (this._loadingContainer) {
112
- const existingText = this._loadingContainer.querySelector('.chat-loading-content span');
129
+ const existingText = this._loadingContainer.querySelector(".chat-loading-content span");
113
130
  if (existingText) {
114
131
  existingText.textContent = message;
115
132
  return;
116
133
  }
117
134
  this.hideLoadingInChatWidget();
118
135
  }
119
- this._editorContainer.setAttribute('aria-busy', 'true');
120
- this._loadingContainer = append(this._editorContainer, $('.chat-loading-overlay'));
121
- this._loadingContainer.setAttribute('role', 'status');
122
- this._loadingContainer.setAttribute('aria-live', 'polite');
136
+ this._editorContainer.setAttribute("aria-busy", "true");
137
+ this._loadingContainer = append(this._editorContainer, $(".chat-loading-overlay"));
138
+ this._loadingContainer.setAttribute("role", "status");
139
+ this._loadingContainer.setAttribute("aria-live", "polite");
123
140
  this._loadingContainer.tabIndex = -1;
124
- const loadingContent = append(this._loadingContainer, $('.chat-loading-content'));
125
- const spinner = renderIcon(ThemeIcon.modify(Codicon.loading, 'spin'));
126
- spinner.setAttribute('aria-hidden', 'true');
141
+ const loadingContent = append(this._loadingContainer, $(".chat-loading-content"));
142
+ const spinner = renderIcon(ThemeIcon.modify(Codicon.loading, "spin"));
143
+ spinner.setAttribute("aria-hidden", "true");
127
144
  loadingContent.appendChild(spinner);
128
- const text = append(loadingContent, $('span'));
145
+ const text = append(loadingContent, $("span"));
129
146
  text.textContent = message;
130
147
  }
131
148
  hideLoadingInChatWidget() {
@@ -134,14 +151,14 @@ let ChatEditor = class ChatEditor extends EditorPane {
134
151
  this._loadingContainer = undefined;
135
152
  }
136
153
  if (this._editorContainer) {
137
- this._editorContainer.removeAttribute('aria-busy');
154
+ this._editorContainer.removeAttribute("aria-busy");
138
155
  }
139
156
  }
140
157
  async setInput(input, options, context, token) {
141
158
  let isContributedChatSession = false;
142
159
  const chatSessionType = input.getSessionType();
143
160
  if (chatSessionType !== localChatSessionType) {
144
- const loadingMessage = ( localize(5864, "Loading..."));
161
+ const loadingMessage = ( localize(6130, "Loading..."));
145
162
  this.showLoadingInChatWidget(loadingMessage);
146
163
  }
147
164
  await super.setInput(input, options, context, token);
@@ -150,7 +167,7 @@ let ChatEditor = class ChatEditor extends EditorPane {
150
167
  return;
151
168
  }
152
169
  if (!this.widget) {
153
- throw ( new Error('ChatEditor lifecycle issue: no editor widget'));
170
+ throw ( new Error("ChatEditor lifecycle issue: no editor widget"));
154
171
  }
155
172
  if (chatSessionType !== localChatSessionType) {
156
173
  try {
@@ -160,17 +177,14 @@ let ChatEditor = class ChatEditor extends EditorPane {
160
177
  if (contribution) {
161
178
  this.widget.lockToCodingAgent(contribution.name, contribution.displayName, contribution.type);
162
179
  isContributedChatSession = true;
163
- }
164
- else {
180
+ } else {
165
181
  this.widget.unlockFromCodingAgent();
166
182
  }
167
- }
168
- catch (error) {
183
+ } catch (error) {
169
184
  this.hideLoadingInChatWidget();
170
185
  throw error;
171
186
  }
172
- }
173
- else {
187
+ } else {
174
188
  this.widget.unlockFromCodingAgent();
175
189
  }
176
190
  try {
@@ -188,8 +202,7 @@ let ChatEditor = class ChatEditor extends EditorPane {
188
202
  if (isContributedChatSession && options?.title?.preferred && input.sessionResource) {
189
203
  this.chatService.setChatSessionTitle(input.sessionResource, options.title.preferred);
190
204
  }
191
- }
192
- catch (error) {
205
+ } catch (error) {
193
206
  this.hideLoadingInChatWidget();
194
207
  throw error;
195
208
  }
@@ -204,14 +217,6 @@ let ChatEditor = class ChatEditor extends EditorPane {
204
217
  }
205
218
  }
206
219
  };
207
- ChatEditor = ( __decorate([
208
- ( __param(1, ITelemetryService)),
209
- ( __param(2, IThemeService)),
210
- ( __param(3, IInstantiationService)),
211
- ( __param(4, IStorageService)),
212
- ( __param(5, IChatSessionsService)),
213
- ( __param(6, IContextKeyService)),
214
- ( __param(7, IChatService))
215
- ], ChatEditor));
220
+ ChatEditor = ( __decorate([( __param(1, ITelemetryService)), ( __param(2, IThemeService)), ( __param(3, IInstantiationService)), ( __param(4, IStorageService)), ( __param(5, IChatSessionsService)), ( __param(6, IContextKeyService)), ( __param(7, IChatService))], ChatEditor));
216
221
 
217
222
  export { ChatEditor };
@@ -1,4 +1,5 @@
1
1
  import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
2
+ import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service";
2
3
  import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
3
4
  import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
4
5
  import { IContextMenuService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextview/browser/contextView.service";
@@ -20,11 +21,14 @@ import { IChatService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/c
20
21
  import { IChatSessionsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService.service";
21
22
  import { ChatWidget } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/widget/chatWidget";
22
23
  import { IViewWelcomeDelegate } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewWelcomeController";
24
+ import { IChatViewsWelcomeDescriptor } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcome";
23
25
  import { IWorkbenchLayoutService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/layout/browser/layoutService.service";
24
26
  import { AgentSessionsViewerOrientation } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessions";
25
27
  import { IProgressService } from "@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service";
28
+ import { IActivityService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/activity/common/activity.service";
26
29
  import { IAgentSessionsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.service";
27
30
  import { IAgentSession } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel";
31
+ import { IChatEntitlementService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/chat/common/chatEntitlementService.service";
28
32
  export declare class ChatViewPane extends ViewPane implements IViewWelcomeDelegate {
29
33
  private readonly storageService;
30
34
  private readonly chatService;
@@ -35,6 +39,9 @@ export declare class ChatViewPane extends ViewPane implements IViewWelcomeDelega
35
39
  private readonly telemetryService;
36
40
  private readonly progressService;
37
41
  private readonly agentSessionsService;
42
+ private readonly chatEntitlementService;
43
+ private readonly commandService;
44
+ private readonly activityService;
38
45
  private readonly memento;
39
46
  private readonly viewState;
40
47
  private viewPaneContainer;
@@ -44,40 +51,41 @@ export declare class ChatViewPane extends ViewPane implements IViewWelcomeDelega
44
51
  private welcomeController;
45
52
  private restoringSession;
46
53
  private readonly modelRef;
47
- constructor(options: IViewPaneOptions, keybindingService: IKeybindingService, contextMenuService: IContextMenuService, configurationService: IConfigurationService, contextKeyService: IContextKeyService, viewDescriptorService: IViewDescriptorService, instantiationService: IInstantiationService, openerService: IOpenerService, themeService: IThemeService, hoverService: IHoverService, storageService: IStorageService, chatService: IChatService, chatAgentService: IChatAgentService, logService: ILogService, layoutService: IWorkbenchLayoutService, chatSessionsService: IChatSessionsService, telemetryService: ITelemetryService, lifecycleService: ILifecycleService, progressService: IProgressService, agentSessionsService: IAgentSessionsService);
54
+ private readonly activityBadge;
55
+ constructor(options: IViewPaneOptions, keybindingService: IKeybindingService, contextMenuService: IContextMenuService, configurationService: IConfigurationService, contextKeyService: IContextKeyService, viewDescriptorService: IViewDescriptorService, instantiationService: IInstantiationService, openerService: IOpenerService, themeService: IThemeService, hoverService: IHoverService, storageService: IStorageService, chatService: IChatService, chatAgentService: IChatAgentService, logService: ILogService, layoutService: IWorkbenchLayoutService, chatSessionsService: IChatSessionsService, telemetryService: ITelemetryService, lifecycleService: ILifecycleService, progressService: IProgressService, agentSessionsService: IAgentSessionsService, chatEntitlementService: IChatEntitlementService, commandService: ICommandService, activityService: IActivityService);
48
56
  private updateContextKeys;
49
57
  private getViewPositionAndLocation;
58
+ private getSessionHoverPosition;
50
59
  private updateViewPaneClasses;
51
60
  private registerListeners;
52
61
  private onDidChangeAgents;
53
62
  private getTransferredOrPersistedSessionInfo;
54
63
  protected renderBody(parent: HTMLElement): void;
55
64
  private createControls;
56
- private static readonly SESSIONS_LIMIT;
57
- private static readonly SESSIONS_SIDEBAR_WIDTH;
65
+ private static readonly SESSIONS_SIDEBAR_MIN_WIDTH;
66
+ private static readonly SESSIONS_SIDEBAR_SNAP_THRESHOLD;
67
+ private static readonly SESSIONS_SIDEBAR_DEFAULT_WIDTH;
68
+ private static readonly CHAT_WIDGET_DEFAULT_WIDTH;
58
69
  private static readonly SESSIONS_SIDEBAR_VIEW_MIN_WIDTH;
59
70
  private sessionsContainer;
60
71
  private sessionsTitleContainer;
61
72
  private sessionsTitle;
73
+ private sessionsNewButtonContainer;
62
74
  private sessionsControlContainer;
63
75
  private sessionsControl;
64
- private sessionsLinkContainer;
65
- private sessionsLink;
66
- private sessionsCount;
67
- private sessionsViewerLimited;
76
+ private sessionsViewerVisible;
68
77
  private sessionsViewerOrientation;
69
78
  private sessionsViewerOrientationConfiguration;
70
79
  private sessionsViewerOrientationContext;
71
- private sessionsViewerLimitedContext;
72
80
  private sessionsViewerVisibilityContext;
73
81
  private sessionsViewerPositionContext;
82
+ private sessionsViewerSidebarWidth;
83
+ private sessionsViewerSash;
84
+ private readonly sessionsViewerSashDisposables;
74
85
  private createSessionsControl;
75
86
  getSessionsViewerOrientation(): AgentSessionsViewerOrientation;
76
87
  updateConfiguredSessionsViewerOrientation(orientation: "stacked" | "sideBySide" | unknown): void;
77
88
  private doUpdateConfiguredSessionsViewerOrientation;
78
- private notifySessionsControlLimitedChanged;
79
- private notifySessionsControlCountChanged;
80
- private updateSessionsControlTitle;
81
89
  private updateSessionsControlVisibility;
82
90
  getFocusedSessions(): IAgentSession[];
83
91
  private static readonly MIN_CHAT_WIDGET_HEIGHT;
@@ -96,14 +104,20 @@ export declare class ChatViewPane extends ViewPane implements IViewWelcomeDelega
96
104
  focus(): void;
97
105
  focusInput(): void;
98
106
  focusSessions(): boolean;
107
+ private layoutingBody;
108
+ private relayout;
99
109
  protected layoutBody(height: number, width: number): void;
110
+ private doLayoutBody;
100
111
  private layoutSessionsControl;
112
+ private computeEffectiveSideBySideSessionsSidebarWidth;
101
113
  getLastDimensions(orientation: AgentSessionsViewerOrientation): {
102
114
  height: number;
103
115
  width: number;
104
116
  } | undefined;
117
+ private createSessionsViewerSash;
105
118
  saveState(): void;
106
119
  private updateViewState;
107
120
  shouldShowWelcome(): boolean;
121
+ getMatchingWelcomeView(): IChatViewsWelcomeDescriptor | undefined;
108
122
  getActionsContext(): IChatViewTitleActionContext | undefined;
109
123
  }