@codingame/monaco-vscode-katex-common 24.3.0 → 25.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 (197) hide show
  1. package/package.json +3 -3
  2. package/vscode/src/vs/platform/actions/browser/buttonbar.js +3 -3
  3. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAccessibilityProvider.d.ts → accessibility/chatAccessibilityProvider.d.ts} +1 -1
  4. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAccessibilityProvider.js → accessibility/chatAccessibilityProvider.js} +25 -20
  5. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.js +19 -19
  6. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatElicitationActions.js +4 -4
  7. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +31 -31
  8. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +15 -15
  9. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAttachmentModel.d.ts → attachments/chatAttachmentModel.d.ts} +4 -2
  10. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAttachmentModel.js → attachments/chatAttachmentModel.js} +24 -3
  11. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAttachmentWidgets.d.ts → attachments/chatAttachmentWidgets.d.ts} +4 -4
  12. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAttachmentWidgets.js → attachments/chatAttachmentWidgets.js} +80 -89
  13. package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → attachments}/chatImplicitContext.d.ts +4 -4
  14. package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → attachments}/chatImplicitContext.js +23 -11
  15. package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → attachments}/chatInputRelatedFilesContrib.d.ts +1 -1
  16. package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → attachments}/chatInputRelatedFilesContrib.js +2 -2
  17. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.d.ts +4 -3
  18. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.js +47 -21
  19. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.d.ts +1 -1
  20. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.js +39 -39
  21. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.js +3 -3
  22. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewWelcomeController.js +5 -5
  23. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAgentHover.d.ts → widget/chatAgentHover.d.ts} +3 -3
  24. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAgentHover.js → widget/chatAgentHover.js} +4 -4
  25. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatAgentCommandContentPart.d.ts +3 -3
  26. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatAgentCommandContentPart.js +2 -2
  27. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatAnonymousRateLimitedPart.d.ts +2 -2
  28. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatAnonymousRateLimitedPart.js +2 -2
  29. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatAttachmentsContentPart.d.ts +2 -2
  30. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatAttachmentsContentPart.js +3 -3
  31. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatChangesSummaryPart.d.ts +10 -13
  32. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatChangesSummaryPart.js +59 -119
  33. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCodeCitationContentPart.d.ts +2 -2
  34. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCodeCitationContentPart.js +2 -2
  35. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCollapsibleContentPart.d.ts +11 -4
  36. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCollapsibleContentPart.js +31 -10
  37. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCommandContentPart.d.ts +3 -3
  38. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCommandContentPart.js +2 -2
  39. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatConfirmationContentPart.d.ts +4 -4
  40. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatConfirmationContentPart.js +5 -5
  41. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatConfirmationWidget.d.ts +9 -18
  42. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatConfirmationWidget.js +31 -99
  43. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatContentCodePools.d.ts +1 -1
  44. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatContentCodePools.js +1 -1
  45. package/vscode/src/vs/workbench/contrib/chat/browser/{chatDiffBlockPart.d.ts → widget/chatContentParts/chatDiffBlockPart.d.ts} +2 -2
  46. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatElicitationContentPart.d.ts +3 -3
  47. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatElicitationContentPart.js +3 -3
  48. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatErrorConfirmationPart.d.ts +4 -4
  49. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatErrorConfirmationPart.js +2 -2
  50. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatErrorContentPart.d.ts +3 -3
  51. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatErrorContentPart.js +1 -1
  52. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatExtensionsContentPart.d.ts +3 -3
  53. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatExtensionsContentPart.js +1 -1
  54. package/vscode/src/vs/workbench/contrib/chat/browser/{chatInlineAnchorWidget.d.ts → widget/chatContentParts/chatInlineAnchorWidget.d.ts} +2 -2
  55. package/vscode/src/vs/workbench/contrib/chat/browser/{chatInlineAnchorWidget.js → widget/chatContentParts/chatInlineAnchorWidget.js} +18 -15
  56. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMarkdownContentPart.d.ts +6 -6
  57. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMarkdownContentPart.js +15 -15
  58. package/vscode/src/vs/workbench/contrib/chat/browser/{chatMarkdownDecorationsRenderer.d.ts → widget/chatContentParts/chatMarkdownDecorationsRenderer.d.ts} +7 -7
  59. package/vscode/src/vs/workbench/contrib/chat/browser/{chatMarkdownDecorationsRenderer.js → widget/chatContentParts/chatMarkdownDecorationsRenderer.js} +9 -12
  60. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMcpServersInteractionContentPart.d.ts +3 -3
  61. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMcpServersInteractionContentPart.js +7 -7
  62. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMultiDiffContentPart.d.ts +4 -6
  63. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMultiDiffContentPart.js +31 -35
  64. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatProgressContentPart.d.ts +5 -5
  65. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatProgressContentPart.js +9 -42
  66. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatPullRequestContentPart.d.ts +3 -3
  67. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatPullRequestContentPart.js +1 -1
  68. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatQuotaExceededPart.d.ts +2 -2
  69. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatQuotaExceededPart.js +4 -4
  70. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatReferencesContentPart.d.ts +7 -6
  71. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatReferencesContentPart.js +20 -17
  72. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatSuggestNextWidget.js +5 -5
  73. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTaskContentPart.d.ts +3 -3
  74. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTaskContentPart.js +1 -1
  75. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTextEditContentPart.d.ts +2 -2
  76. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTextEditContentPart.js +3 -3
  77. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTextEditContentPart.service.d.ts +2 -2
  78. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatThinkingContentPart.d.ts +9 -7
  79. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatThinkingContentPart.js +71 -17
  80. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTodoListWidget.d.ts +1 -1
  81. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTodoListWidget.js +23 -23
  82. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatToolInputOutputContentPart.d.ts +4 -3
  83. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatToolInputOutputContentPart.js +2 -2
  84. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatToolOutputContentSubPart.d.ts +6 -3
  85. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatToolOutputContentSubPart.js +27 -11
  86. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTreeContentPart.d.ts +3 -3
  87. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTreeContentPart.js +1 -1
  88. package/vscode/src/vs/workbench/contrib/chat/browser/{codeBlockPart.d.ts → widget/chatContentParts/codeBlockPart.d.ts} +5 -5
  89. package/vscode/src/vs/workbench/contrib/chat/browser/{codeBlockPart.js → widget/chatContentParts/codeBlockPart.js} +19 -18
  90. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatThinkingContent.css +17 -14
  91. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/abstractToolConfirmationSubPart.d.ts +3 -3
  92. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/abstractToolConfirmationSubPart.js +4 -4
  93. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatExtensionsInstallToolSubPart.d.ts +2 -2
  94. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatExtensionsInstallToolSubPart.js +7 -7
  95. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatInputOutputMarkdownProgressPart.d.ts +3 -3
  96. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatInputOutputMarkdownProgressPart.js +4 -32
  97. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatResultListSubPart.d.ts +2 -2
  98. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatResultListSubPart.js +4 -1
  99. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatTerminalToolConfirmationSubPart.d.ts +4 -3
  100. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatTerminalToolConfirmationSubPart.js +103 -37
  101. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatTerminalToolProgressPart.d.ts +3 -3
  102. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatTerminalToolProgressPart.js +18 -131
  103. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolConfirmationSubPart.d.ts +6 -6
  104. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolConfirmationSubPart.js +13 -13
  105. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolInvocationPart.d.ts +4 -4
  106. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolInvocationPart.js +2 -2
  107. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolInvocationSubPart.d.ts +1 -1
  108. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolInvocationSubPart.js +1 -1
  109. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolOutputPart.d.ts +2 -2
  110. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolOutputPart.js +3 -3
  111. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPartUtilities.d.ts +14 -0
  112. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPartUtilities.js +46 -0
  113. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolPostExecuteConfirmationPart.d.ts +4 -4
  114. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolPostExecuteConfirmationPart.js +11 -10
  115. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolProgressPart.d.ts +2 -2
  116. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolProgressPart.js +1 -1
  117. package/vscode/src/vs/workbench/contrib/chat/browser/{chatDragAndDrop.d.ts → widget/chatDragAndDrop.d.ts} +3 -3
  118. package/vscode/src/vs/workbench/contrib/chat/browser/{chatDragAndDrop.js → widget/chatDragAndDrop.js} +13 -13
  119. package/vscode/src/vs/workbench/contrib/chat/browser/{chatListRenderer.d.ts → widget/chatListRenderer.d.ts} +5 -5
  120. package/vscode/src/vs/workbench/contrib/chat/browser/{chatListRenderer.js → widget/chatListRenderer.js} +41 -53
  121. package/vscode/src/vs/workbench/contrib/chat/browser/{chatWidget.d.ts → widget/chatWidget.d.ts} +18 -16
  122. package/vscode/src/vs/workbench/contrib/chat/browser/{chatWidget.js → widget/chatWidget.js} +77 -57
  123. package/vscode/src/vs/workbench/contrib/chat/browser/{chatFollowups.d.ts → widget/input/chatFollowups.d.ts} +2 -2
  124. package/vscode/src/vs/workbench/contrib/chat/browser/{chatFollowups.js → widget/input/chatFollowups.js} +3 -3
  125. package/vscode/src/vs/workbench/contrib/chat/browser/{chatInputPart.d.ts → widget/input/chatInputPart.d.ts} +14 -13
  126. package/vscode/src/vs/workbench/contrib/chat/browser/{chatInputPart.js → widget/input/chatInputPart.js} +75 -59
  127. package/vscode/src/vs/workbench/contrib/chat/browser/{chatSelectedTools.d.ts → widget/input/chatSelectedTools.d.ts} +3 -3
  128. package/vscode/src/vs/workbench/contrib/chat/browser/{chatSelectedTools.js → widget/input/chatSelectedTools.js} +2 -2
  129. package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/chatInputCompletions.js +36 -24
  130. package/vscode/src/vs/workbench/contrib/chat/browser/{modelPicker → widget/input}/modePickerActionItem.d.ts +2 -2
  131. package/vscode/src/vs/workbench/contrib/chat/browser/{modelPicker → widget/input}/modePickerActionItem.js +9 -7
  132. package/vscode/src/vs/workbench/contrib/chat/browser/{modelPicker → widget/input}/modelPickerActionItem.d.ts +4 -2
  133. package/vscode/src/vs/workbench/contrib/chat/browser/{modelPicker → widget/input}/modelPickerActionItem.js +21 -14
  134. package/vscode/src/vs/workbench/contrib/chat/browser/{media → widget/media}/chat.css +17 -16
  135. package/vscode/src/vs/workbench/contrib/chat/browser/{media → widget/media}/chatViewWelcome.css +3 -1
  136. package/vscode/src/vs/workbench/contrib/chat/common/{chatColors.js → widget/chatColors.js} +13 -13
  137. package/vscode/src/vs/workbench/contrib/chat/common/{chatWidgetHistoryService.d.ts → widget/chatWidgetHistoryService.d.ts} +2 -2
  138. package/vscode/src/vs/workbench/contrib/chat/common/{chatWidgetHistoryService.js → widget/chatWidgetHistoryService.js} +2 -2
  139. package/vscode/src/vs/workbench/contrib/chat/common/{codeBlockModelCollection.d.ts → widget/codeBlockModelCollection.d.ts} +2 -2
  140. package/vscode/src/vs/workbench/contrib/chat/common/{codeBlockModelCollection.js → widget/codeBlockModelCollection.js} +4 -3
  141. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.d.ts +7 -8
  142. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +63 -63
  143. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.d.ts +2 -2
  144. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +2 -2
  145. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.js +1 -1
  146. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.d.ts +3 -4
  147. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +16 -18
  148. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.d.ts +1 -5
  149. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +8 -18
  150. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.d.ts +3 -3
  151. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +12 -12
  152. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.d.ts +1 -1
  153. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +2 -2
  154. package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +1 -1
  155. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.d.ts +0 -1
  156. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +35 -54
  157. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.js +14 -14
  158. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.d.ts +1 -1
  159. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.js +1 -1
  160. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +2 -2
  161. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +4 -4
  162. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +7 -7
  163. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.d.ts +1 -1
  164. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +1 -1
  165. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +5 -5
  166. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
  167. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +3 -3
  168. package/vscode/src/vs/workbench/contrib/terminal/browser/chatTerminalCommandMirror.d.ts +35 -4
  169. package/vscode/src/vs/workbench/contrib/terminal/browser/chatTerminalCommandMirror.js +129 -31
  170. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/common.d.ts +0 -19
  171. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/common.js +0 -76
  172. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +0 -48
  173. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +0 -373
  174. /package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/media/{chatSessionAction.css → chatSessionPickerActionItem.css} +0 -0
  175. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentMarkdownRenderer.d.ts → widget/chatContentMarkdownRenderer.d.ts} +0 -0
  176. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentMarkdownRenderer.js → widget/chatContentMarkdownRenderer.js} +0 -0
  177. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCollections.d.ts +0 -0
  178. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCollections.js +0 -0
  179. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatDiffBlockPart.js → widget/chatContentParts/chatDiffBlockPart.js} +0 -0
  180. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatSuggestNextWidget.d.ts +0 -0
  181. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTextEditContentPart.service.js +0 -0
  182. /package/vscode/src/vs/workbench/contrib/chat/browser/{media → widget/chatContentParts/media}/chatCodeBlockPill.css +0 -0
  183. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatConfirmationWidget.css +0 -0
  184. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatExtensionsContent.css +0 -0
  185. /package/vscode/src/vs/workbench/contrib/chat/browser/{media → widget/chatContentParts/media}/chatInlineAnchorWidget.css +0 -0
  186. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatMarkdownPart.css +0 -0
  187. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatMcpServersInteractionContent.css +0 -0
  188. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatPullRequestContent.css +0 -0
  189. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatTerminalToolProgressPart.css +0 -0
  190. /package/vscode/src/vs/workbench/contrib/chat/browser/{codeBlockPart.css → widget/chatContentParts/media/codeBlockPart.css} +0 -0
  191. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatOptions.d.ts → widget/chatOptions.d.ts} +0 -0
  192. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatOptions.js → widget/chatOptions.js} +0 -0
  193. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatInputPartWidgets.d.ts → widget/input/chatInputPartWidgets.d.ts} +0 -0
  194. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatInputPartWidgets.js → widget/input/chatInputPartWidgets.js} +0 -0
  195. /package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/chatInputCompletions.d.ts +0 -0
  196. /package/vscode/src/vs/workbench/contrib/chat/browser/{media → widget/media}/chatAgentHover.css +0 -0
  197. /package/vscode/src/vs/workbench/contrib/chat/common/{chatColors.d.ts → widget/chatColors.d.ts} +0 -0
@@ -14,14 +14,14 @@ import { EditorsOrder } from '@codingame/monaco-vscode-api/vscode/vs/workbench/c
14
14
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
15
15
  import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
16
16
  import { WebviewInput } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput';
17
- import { IChatEditingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatEditingService.service';
18
- import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service';
19
- import { isStringImplicitContextValue } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatVariableEntries';
17
+ import { IChatEditingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/editing/chatEditingService.service';
18
+ import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service';
19
+ import { isStringImplicitContextValue } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/attachments/chatVariableEntries';
20
20
  import { ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
21
21
  import { ILanguageModelIgnoredFilesService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/ignoredFiles.service';
22
22
  import { getPromptsTypeForLanguageId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/promptTypes';
23
23
  import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
24
- import { IChatContextService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatContextService.service';
24
+ import { IChatContextService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/contextContrib/chatContextService.service';
25
25
  import { autorun } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/reactions/autorun';
26
26
 
27
27
  let ChatImplicitContextContribution = class ChatImplicitContextContribution extends Disposable {
@@ -155,24 +155,30 @@ let ChatImplicitContextContribution = class ChatImplicitContextContribution exte
155
155
  }
156
156
  }
157
157
  const notebookEditor = this.findActiveNotebookEditor();
158
- if (notebookEditor) {
158
+ if (notebookEditor?.isReplHistory) {
159
+ newValue = undefined;
160
+ }
161
+ else if (notebookEditor) {
159
162
  const activeCell = notebookEditor.getActiveCell();
160
163
  if (activeCell) {
161
164
  const codeEditor = this.codeEditorService.getActiveCodeEditor();
162
165
  const selection = codeEditor?.getSelection();
163
166
  const visibleRanges = codeEditor?.getVisibleRanges() || [];
164
167
  newValue = activeCell.uri;
165
- if (isEqual(codeEditor?.getModel()?.uri, activeCell.uri)) {
168
+ const cellModel = codeEditor?.getModel();
169
+ if (cellModel && isEqual(cellModel.uri, activeCell.uri)) {
166
170
  if (selection && !selection.isEmpty()) {
167
171
  newValue = { uri: activeCell.uri, range: selection };
168
172
  isSelection = true;
169
173
  }
170
174
  else if (visibleRanges.length > 0) {
171
- let range = visibleRanges[0];
172
- visibleRanges.slice(1).forEach(r => {
173
- range = range.plusRange(r);
174
- });
175
- newValue = { uri: activeCell.uri, range };
175
+ if (!isEntireCellVisible(cellModel, visibleRanges)) {
176
+ let range = visibleRanges[0];
177
+ visibleRanges.slice(1).forEach(r => {
178
+ range = range.plusRange(r);
179
+ });
180
+ newValue = { uri: activeCell.uri, range };
181
+ }
176
182
  }
177
183
  }
178
184
  }
@@ -222,6 +228,12 @@ ChatImplicitContextContribution = ( __decorate([
222
228
  ( __param(6, ILanguageModelIgnoredFilesService)),
223
229
  ( __param(7, IChatContextService))
224
230
  ], ChatImplicitContextContribution));
231
+ function isEntireCellVisible(cellModel, visibleRanges) {
232
+ if (visibleRanges.length === 1 && visibleRanges[0].startLineNumber === 1 && visibleRanges[0].startColumn === 1 && visibleRanges[0].endLineNumber === cellModel.getLineCount() && visibleRanges[0].endColumn === cellModel.getLineMaxColumn(visibleRanges[0].endLineNumber)) {
233
+ return true;
234
+ }
235
+ return false;
236
+ }
225
237
  class ChatImplicitContext extends Disposable {
226
238
  constructor() {
227
239
  super(...arguments);
@@ -3,7 +3,7 @@ import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/l
3
3
  import { ResourceSet } from "@codingame/monaco-vscode-api/vscode/vs/base/common/map";
4
4
  import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
5
5
  import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions";
6
- import { IChatEditingService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatEditingService.service";
6
+ import { IChatEditingService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/editing/chatEditingService.service";
7
7
  import { IChatWidgetService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service";
8
8
  export declare class ChatRelatedFilesContribution extends Disposable implements IWorkbenchContribution {
9
9
  private readonly chatEditingService;
@@ -7,7 +7,7 @@ import { ResourceMap, ResourceSet } from '@codingame/monaco-vscode-api/vscode/vs
7
7
  import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/index';
8
8
  import { isEqual } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
9
9
  import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
10
- import { IChatEditingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatEditingService.service';
10
+ import { IChatEditingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/editing/chatEditingService.service';
11
11
  import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
12
12
  import { autorun } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/reactions/autorun';
13
13
 
@@ -60,7 +60,7 @@ let ChatRelatedFilesContribution = class ChatRelatedFilesContribution extends Di
60
60
  if (( existingFiles.has(file.uri))) {
61
61
  continue;
62
62
  }
63
- newSuggestions.set(file.uri, ( localize(5695, "{0} (Suggested)", file.description)));
63
+ newSuggestions.set(file.uri, ( localize(4964, "{0} (Suggested)", file.description)));
64
64
  existingFiles.add(file.uri);
65
65
  }
66
66
  }
@@ -9,10 +9,10 @@ import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/fi
9
9
  import { IHoverService } from "@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service";
10
10
  import { ILabelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service";
11
11
  import { ResourceLabels } from "@codingame/monaco-vscode-api/vscode/vs/workbench/browser/labels";
12
- import { IChatRequestImplicitVariableEntry } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatVariableEntries";
12
+ import { IChatRequestImplicitVariableEntry } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/attachments/chatVariableEntries";
13
13
  import { IChatWidget } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat";
14
- import { ChatAttachmentModel } from "../chatAttachmentModel.js";
15
- import { IChatContextService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatContextService.service";
14
+ import { ChatAttachmentModel } from "./chatAttachmentModel.js";
15
+ import { IChatContextService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/contextContrib/chatContextService.service";
16
16
  export declare class ImplicitContextAttachmentWidget extends Disposable {
17
17
  private readonly widgetRef;
18
18
  private readonly attachment;
@@ -35,4 +35,5 @@ export declare class ImplicitContextAttachmentWidget extends Disposable {
35
35
  private renderString;
36
36
  private renderResource;
37
37
  private convertToRegularAttachment;
38
+ private pinSelection;
38
39
  }
@@ -11,6 +11,7 @@ import { Disposable, DisposableStore } from '@codingame/monaco-vscode-api/vscode
11
11
  import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
12
12
  import { basename, dirname } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
13
13
  import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
14
+ import { isLocation } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages';
14
15
  import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language.service';
15
16
  import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model.service';
16
17
  import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
@@ -25,8 +26,8 @@ import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/fi
25
26
  import { IHoverService } from '@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service';
26
27
  import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service';
27
28
  import { ResourceContextKey } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
28
- import { isStringImplicitContextValue } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatVariableEntries';
29
- import { IChatContextService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatContextService.service';
29
+ import { isStringImplicitContextValue } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/attachments/chatVariableEntries';
30
+ import { IChatContextService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/contextContrib/chatContextService.service';
30
31
 
31
32
  let ImplicitContextAttachmentWidget = class ImplicitContextAttachmentWidget extends Disposable {
32
33
  constructor(widgetRef, attachment, resourceLabels, attachmentModel, contextKeyService, contextMenuService, labelService, menuService, fileService, languageService, modelService, hoverService, configService, chatContextService) {
@@ -53,21 +54,12 @@ let ImplicitContextAttachmentWidget = class ImplicitContextAttachmentWidget exte
53
54
  clearNode(this.domNode);
54
55
  this.renderDisposables.clear();
55
56
  this.domNode.classList.toggle('disabled', !this.attachment.enabled);
56
- const label = this.resourceLabels.create(this.domNode, { supportIcons: true });
57
57
  const file = this.attachment.uri;
58
- const attachmentTypeName = file?.scheme === Schemas.vscodeNotebookCell ? ( localize(4875, "cell")) : ( localize(4876, "file"));
59
- let title;
60
- if (isStringImplicitContextValue(this.attachment.value)) {
61
- title = this.renderString(label);
62
- }
63
- else {
64
- title = this.renderResource(this.attachment.value, label);
65
- }
58
+ const attachmentTypeName = file?.scheme === Schemas.vscodeNotebookCell ? ( localize(4966, "cell")) : ( localize(4967, "file"));
66
59
  const isSuggestedEnabled = this.configService.getValue('chat.implicitContext.suggestedContext');
67
- this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('element'), this.domNode, title));
68
60
  if (isSuggestedEnabled) {
69
61
  if (!this.attachment.isSelection) {
70
- const buttonMsg = this.attachment.enabled ? ( localize(4877, "Disable current {0} context", attachmentTypeName)) : '';
62
+ const buttonMsg = this.attachment.enabled ? ( localize(4968, "Disable current {0} context", attachmentTypeName)) : '';
71
63
  const toggleButton = this.renderDisposables.add(( new Button(this.domNode, { supportIcons: true, title: buttonMsg })));
72
64
  toggleButton.icon = this.attachment.enabled ? Codicon.x : Codicon.plus;
73
65
  this.renderDisposables.add(toggleButton.onDidClick(async (e) => {
@@ -79,6 +71,16 @@ let ImplicitContextAttachmentWidget = class ImplicitContextAttachmentWidget exte
79
71
  this.attachment.enabled = false;
80
72
  }));
81
73
  }
74
+ else {
75
+ const pinButtonMsg = ( localize(4969, "Pin selection"));
76
+ const pinButton = this.renderDisposables.add(( new Button(this.domNode, { supportIcons: true, title: pinButtonMsg })));
77
+ pinButton.icon = Codicon.pinned;
78
+ this.renderDisposables.add(pinButton.onDidClick(async (e) => {
79
+ e.stopPropagation();
80
+ e.preventDefault();
81
+ await this.pinSelection();
82
+ }));
83
+ }
82
84
  if (!this.attachment.enabled && this.attachment.isSelection) {
83
85
  this.domNode.classList.remove('disabled');
84
86
  }
@@ -99,7 +101,7 @@ let ImplicitContextAttachmentWidget = class ImplicitContextAttachmentWidget exte
99
101
  }));
100
102
  }
101
103
  else {
102
- const buttonMsg = this.attachment.enabled ? ( localize(4877, "Disable current {0} context", attachmentTypeName)) : ( localize(4878, "Enable current {0} context", attachmentTypeName));
104
+ const buttonMsg = this.attachment.enabled ? ( localize(4968, "Disable current {0} context", attachmentTypeName)) : ( localize(4970, "Enable current {0} context", attachmentTypeName));
103
105
  const toggleButton = this.renderDisposables.add(( new Button(this.domNode, { supportIcons: true, title: buttonMsg })));
104
106
  toggleButton.icon = this.attachment.enabled ? Codicon.eye : Codicon.eyeClosed;
105
107
  this.renderDisposables.add(toggleButton.onDidClick((e) => {
@@ -107,6 +109,15 @@ let ImplicitContextAttachmentWidget = class ImplicitContextAttachmentWidget exte
107
109
  this.attachment.enabled = !this.attachment.enabled;
108
110
  }));
109
111
  }
112
+ const label = this.resourceLabels.create(this.domNode, { supportIcons: true });
113
+ let title;
114
+ if (isStringImplicitContextValue(this.attachment.value)) {
115
+ title = this.renderString(label);
116
+ }
117
+ else {
118
+ title = this.renderResource(this.attachment.value, label);
119
+ }
120
+ this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('element'), this.domNode, title));
110
121
  const scopedContextKeyService = this.renderDisposables.add(this.contextKeyService.createScoped(this.domNode));
111
122
  const resourceContextKey = this.renderDisposables.add(( new ResourceContextKey(
112
123
  scopedContextKeyService,
@@ -131,28 +142,28 @@ let ImplicitContextAttachmentWidget = class ImplicitContextAttachmentWidget exte
131
142
  renderString(resourceLabel) {
132
143
  const label = this.attachment.name;
133
144
  const icon = this.attachment.icon;
134
- const title = ( localize(4879, "Current file context"));
145
+ const title = ( localize(4971, "Current file context"));
135
146
  resourceLabel.setLabel(label, undefined, { iconPath: icon, title });
136
147
  return title;
137
148
  }
138
149
  renderResource(attachmentValue, label) {
139
150
  const file = URI.isUri(attachmentValue) ? attachmentValue : attachmentValue.uri;
140
151
  const range = URI.isUri(attachmentValue) || !this.attachment.isSelection ? undefined : attachmentValue.range;
141
- const attachmentTypeName = file.scheme === Schemas.vscodeNotebookCell ? ( localize(4875, "cell")) : ( localize(4876, "file"));
152
+ const attachmentTypeName = file.scheme === Schemas.vscodeNotebookCell ? ( localize(4966, "cell")) : ( localize(4967, "file"));
142
153
  const fileBasename = basename(file);
143
154
  const fileDirname = dirname(file);
144
155
  const friendlyName = `${fileBasename} ${fileDirname}`;
145
156
  const ariaLabel = range ? ( localize(
146
- 4880,
157
+ 4972,
147
158
  "Attached {0}, {1}, line {2} to line {3}",
148
159
  attachmentTypeName,
149
160
  friendlyName,
150
161
  range.startLineNumber,
151
162
  range.endLineNumber
152
- )) : ( localize(4881, "Attached {0}, {1}", attachmentTypeName, friendlyName));
163
+ )) : ( localize(4973, "Attached {0}, {1}", attachmentTypeName, friendlyName));
153
164
  const uriLabel = this.labelService.getUriLabel(file, { relative: true });
154
- const currentFile = ( localize(4882, "Current {0} context", attachmentTypeName));
155
- const inactive = ( localize(4883, "Enable current {0} context", attachmentTypeName));
165
+ const currentFile = ( localize(4974, "Current {0} context", attachmentTypeName));
166
+ const inactive = ( localize(4975, "Enable current {0} context", attachmentTypeName));
156
167
  const currentFileHint = this.attachment.enabled || this.attachment.isSelection ? currentFile : inactive;
157
168
  const title = `${currentFileHint}\n${uriLabel}`;
158
169
  label.setFile(file, {
@@ -186,7 +197,22 @@ let ImplicitContextAttachmentWidget = class ImplicitContextAttachmentWidget exte
186
197
  }
187
198
  else {
188
199
  const file = URI.isUri(this.attachment.value) ? this.attachment.value : this.attachment.value.uri;
189
- this.attachmentModel.addFile(file);
200
+ if (file.scheme === Schemas.vscodeNotebookCell && isLocation(this.attachment.value)) {
201
+ this.attachmentModel.addFile(file, this.attachment.value.range);
202
+ }
203
+ else {
204
+ this.attachmentModel.addFile(file);
205
+ }
206
+ }
207
+ this.widgetRef()?.focusInput();
208
+ }
209
+ async pinSelection() {
210
+ if (!this.attachment.value || !this.attachment.isSelection) {
211
+ return;
212
+ }
213
+ if (!URI.isUri(this.attachment.value) && !isStringImplicitContextValue(this.attachment.value)) {
214
+ const location = this.attachment.value;
215
+ this.attachmentModel.addFile(location.uri, location.range);
190
216
  }
191
217
  this.widgetRef()?.focusInput();
192
218
  }
@@ -1,7 +1,7 @@
1
1
  import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
2
2
  import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions";
3
3
  import { Action2, IAction2Options } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions";
4
- import { IChatEditingSession } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatEditingService";
4
+ import { IChatEditingSession } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/editing/chatEditingService";
5
5
  import { IChatWidget } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat";
6
6
  export declare abstract class EditingSessionAction extends Action2 {
7
7
  constructor(opts: Readonly<IAction2Options>);
@@ -21,12 +21,12 @@ import { EditorActivation } from '@codingame/monaco-vscode-api/vscode/vs/platfor
21
21
  import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
22
22
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
23
23
  import { IAgentSessionsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.service';
24
- import { isChatViewTitleActionContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatActions';
25
- import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
26
- import { chatEditingWidgetFileStateContextKey, ModifiedFileEntryState, CHAT_EDITING_MULTI_DIFF_SOURCE_RESOLVER_SCHEME, chatEditingResourceContextKey, decidedChatEditingResourceContextKey, applyingChatEditsFailedContextKey, hasUndecidedChatEditingResourceContextKey, hasAppliedChatEditsContextKey } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatEditingService';
27
- import { IChatEditingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatEditingService.service';
28
- import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service';
29
- import { isRequestVM, isResponseVM, isChatTreeItem } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatViewModel';
24
+ import { isChatViewTitleActionContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/actions/chatActions';
25
+ import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/actions/chatContextKeys';
26
+ import { chatEditingWidgetFileStateContextKey, ModifiedFileEntryState, CHAT_EDITING_MULTI_DIFF_SOURCE_RESOLVER_SCHEME, chatEditingResourceContextKey, decidedChatEditingResourceContextKey, applyingChatEditsFailedContextKey, hasUndecidedChatEditingResourceContextKey, hasAppliedChatEditsContextKey } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/editing/chatEditingService';
27
+ import { IChatEditingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/editing/chatEditingService.service';
28
+ import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service';
29
+ import { isRequestVM, isResponseVM, isChatTreeItem } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatViewModel';
30
30
  import { ChatAgentLocation, ChatConfiguration, ChatModeKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
31
31
  import { CHAT_CATEGORY } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
32
32
  import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
@@ -80,7 +80,7 @@ registerAction2(class OpenFileInDiffAction extends WorkingSetAction {
80
80
  constructor() {
81
81
  super({
82
82
  id: 'chatEditing.openFileInDiff',
83
- title: ( localize2(5186, 'Open Changes in Diff Editor')),
83
+ title: ( localize2(5097, 'Open Changes in Diff Editor')),
84
84
  icon: Codicon.diffSingle,
85
85
  menu: [{
86
86
  id: MenuId.ChatEditingWidgetModifiedFilesToolbar,
@@ -109,7 +109,7 @@ registerAction2(class AcceptAction extends WorkingSetAction {
109
109
  constructor() {
110
110
  super({
111
111
  id: 'chatEditing.acceptFile',
112
- title: ( localize2(5187, 'Keep')),
112
+ title: ( localize2(5098, 'Keep')),
113
113
  icon: Codicon.check,
114
114
  menu: [{
115
115
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('resourceScheme', CHAT_EDITING_MULTI_DIFF_SOURCE_RESOLVER_SCHEME)), ContextKeyExpr.notIn(chatEditingResourceContextKey.key, decidedChatEditingResourceContextKey.key))),
@@ -132,7 +132,7 @@ registerAction2(class DiscardAction extends WorkingSetAction {
132
132
  constructor() {
133
133
  super({
134
134
  id: 'chatEditing.discardFile',
135
- title: ( localize2(5188, 'Undo')),
135
+ title: ( localize2(5099, 'Undo')),
136
136
  icon: Codicon.discard,
137
137
  menu: [{
138
138
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('resourceScheme', CHAT_EDITING_MULTI_DIFF_SOURCE_RESOLVER_SCHEME)), ContextKeyExpr.notIn(chatEditingResourceContextKey.key, decidedChatEditingResourceContextKey.key))),
@@ -155,9 +155,9 @@ class ChatEditingAcceptAllAction extends EditingSessionAction {
155
155
  constructor() {
156
156
  super({
157
157
  id: 'chatEditing.acceptAllFiles',
158
- title: ( localize(5189, 'Keep')),
158
+ title: ( localize(5100, 'Keep')),
159
159
  icon: Codicon.check,
160
- tooltip: ( localize(5190, 'Keep All Edits')),
160
+ tooltip: ( localize(5101, 'Keep All Edits')),
161
161
  precondition: hasUndecidedChatEditingResourceContextKey,
162
162
  keybinding: {
163
163
  primary: KeyMod.CtrlCmd | KeyCode.Enter,
@@ -183,9 +183,9 @@ class ChatEditingDiscardAllAction extends EditingSessionAction {
183
183
  constructor() {
184
184
  super({
185
185
  id: 'chatEditing.discardAllFiles',
186
- title: ( localize(5191, 'Undo')),
186
+ title: ( localize(5102, 'Undo')),
187
187
  icon: Codicon.discard,
188
- tooltip: ( localize(5192, 'Undo All Edits')),
188
+ tooltip: ( localize(5103, 'Undo All Edits')),
189
189
  precondition: hasUndecidedChatEditingResourceContextKey,
190
190
  menu: [
191
191
  {
@@ -213,22 +213,22 @@ class ChatEditingDiscardAllAction extends EditingSessionAction {
213
213
  registerAction2(ChatEditingDiscardAllAction);
214
214
  async function discardAllEditsWithConfirmation(accessor, currentEditingSession) {
215
215
  const dialogService = accessor.get(IDialogService);
216
- const entries = currentEditingSession.entries.get();
216
+ const entries = currentEditingSession.entries.get().filter(e => e.state.get() === ModifiedFileEntryState.Modified);
217
217
  if (entries.length > 0) {
218
218
  const confirmation = await dialogService.confirm({
219
- title: ( localize(5193, "Undo all edits?")),
219
+ title: ( localize(5104, "Undo all edits?")),
220
220
  message: entries.length === 1
221
221
  ? ( localize(
222
- 5194,
222
+ 5105,
223
223
  "This will undo changes made in {0}. Do you want to proceed?",
224
224
  basename(entries[0].modifiedURI)
225
225
  ))
226
226
  : ( localize(
227
- 5195,
227
+ 5106,
228
228
  "This will undo changes made in {0} files. Do you want to proceed?",
229
229
  entries.length
230
230
  )),
231
- primaryButton: ( localize(5196, "Yes")),
231
+ primaryButton: ( localize(5107, "Yes")),
232
232
  type: 'info'
233
233
  });
234
234
  if (!confirmation.confirmed) {
@@ -240,7 +240,7 @@ async function discardAllEditsWithConfirmation(accessor, currentEditingSession)
240
240
  }
241
241
  class ChatEditingShowChangesAction extends EditingSessionAction {
242
242
  static { this.ID = 'chatEditing.viewChanges'; }
243
- static { this.LABEL = ( localize(5197, 'View All Edits')); }
243
+ static { this.LABEL = ( localize(5108, 'View All Edits')); }
244
244
  constructor() {
245
245
  super({
246
246
  id: ChatEditingShowChangesAction.ID,
@@ -269,7 +269,7 @@ class ViewAllSessionChangesAction extends Action2 {
269
269
  constructor() {
270
270
  super({
271
271
  id: ViewAllSessionChangesAction.ID,
272
- title: ( localize2(5198, 'View All Changes')),
272
+ title: ( localize2(5109, 'View All Changes')),
273
273
  icon: Codicon.diffMultiple,
274
274
  category: CHAT_CATEGORY,
275
275
  precondition: ChatContextKeys.hasAgentSessionChanges,
@@ -300,7 +300,7 @@ class ViewAllSessionChangesAction extends Action2 {
300
300
  if (resources.length > 0) {
301
301
  await commandService.executeCommand('_workbench.openMultiDiffEditor', {
302
302
  multiDiffSourceUri: sessionResource.with({ scheme: sessionResource.scheme + '-worktree-changes' }),
303
- title: ( localize(5199, 'All Session Changes')),
303
+ title: ( localize(5110, 'All Session Changes')),
304
304
  resources,
305
305
  });
306
306
  }
@@ -335,14 +335,14 @@ async function restoreSnapshotWithConfirmation(accessor, item) {
335
335
  if (editsToUndo === 1) {
336
336
  if (entriesModifiedInRequestsToRemove.length === 1) {
337
337
  message = ( localize(
338
- 5200,
338
+ 5111,
339
339
  "This will remove your last request and undo the edits made to {0}. Do you want to proceed?",
340
340
  basename(entriesModifiedInRequestsToRemove[0].modifiedURI)
341
341
  ));
342
342
  }
343
343
  else {
344
344
  message = ( localize(
345
- 5201,
345
+ 5112,
346
346
  "This will remove your last request and undo edits made to {0} files in your working set. Do you want to proceed?",
347
347
  entriesModifiedInRequestsToRemove.length
348
348
  ));
@@ -351,14 +351,14 @@ async function restoreSnapshotWithConfirmation(accessor, item) {
351
351
  else {
352
352
  if (entriesModifiedInRequestsToRemove.length === 1) {
353
353
  message = ( localize(
354
- 5202,
354
+ 5113,
355
355
  "This will remove all subsequent requests and undo edits made to {0}. Do you want to proceed?",
356
356
  basename(entriesModifiedInRequestsToRemove[0].modifiedURI)
357
357
  ));
358
358
  }
359
359
  else {
360
360
  message = ( localize(
361
- 5203,
361
+ 5114,
362
362
  "This will remove all subsequent requests and undo edits made to {0} files in your working set. Do you want to proceed?",
363
363
  entriesModifiedInRequestsToRemove.length
364
364
  ));
@@ -367,11 +367,11 @@ async function restoreSnapshotWithConfirmation(accessor, item) {
367
367
  const confirmation = shouldPrompt
368
368
  ? await dialogService.confirm({
369
369
  title: editsToUndo === 1
370
- ? ( localize(5204, "Do you want to undo your last edit?"))
371
- : ( localize(5205, "Do you want to undo {0} edits?", editsToUndo)),
370
+ ? ( localize(5115, "Do you want to undo your last edit?"))
371
+ : ( localize(5116, "Do you want to undo {0} edits?", editsToUndo)),
372
372
  message: message,
373
- primaryButton: ( localize(5206, "Yes")),
374
- checkbox: { label: ( localize(5207, "Don't ask again")), checked: false },
373
+ primaryButton: ( localize(5117, "Yes")),
374
+ checkbox: { label: ( localize(5118, "Don't ask again")), checked: false },
375
375
  type: 'info'
376
376
  })
377
377
  : { confirmed: true };
@@ -390,7 +390,7 @@ registerAction2(class RemoveAction extends Action2 {
390
390
  constructor() {
391
391
  super({
392
392
  id: 'workbench.action.chat.undoEdits',
393
- title: ( localize2(5208, "Undo Requests")),
393
+ title: ( localize2(5119, "Undo Requests")),
394
394
  f1: false,
395
395
  category: CHAT_CATEGORY,
396
396
  icon: Codicon.discard,
@@ -434,8 +434,8 @@ registerAction2(class RestoreCheckpointAction extends Action2 {
434
434
  constructor() {
435
435
  super({
436
436
  id: 'workbench.action.chat.restoreCheckpoint',
437
- title: ( localize2(5209, "Restore Checkpoint")),
438
- tooltip: ( localize2(5210, "Restores workspace and chat to this point")),
437
+ title: ( localize2(5120, "Restore Checkpoint")),
438
+ tooltip: ( localize2(5121, "Restores workspace and chat to this point")),
439
439
  f1: false,
440
440
  category: CHAT_CATEGORY,
441
441
  keybinding: {
@@ -478,7 +478,7 @@ registerAction2(class RestoreLastCheckpoint extends Action2 {
478
478
  constructor() {
479
479
  super({
480
480
  id: 'workbench.action.chat.restoreLastCheckpoint',
481
- title: ( localize2(5211, "Restore to Last Checkpoint")),
481
+ title: ( localize2(5122, "Restore to Last Checkpoint")),
482
482
  f1: false,
483
483
  category: CHAT_CATEGORY,
484
484
  icon: Codicon.discard,
@@ -530,7 +530,7 @@ registerAction2(class EditAction extends Action2 {
530
530
  constructor() {
531
531
  super({
532
532
  id: 'workbench.action.chat.editRequests',
533
- title: ( localize2(5212, "Edit Request")),
533
+ title: ( localize2(5123, "Edit Request")),
534
534
  f1: false,
535
535
  category: CHAT_CATEGORY,
536
536
  icon: Codicon.edit,
@@ -569,7 +569,7 @@ registerAction2(class OpenWorkingSetHistoryAction extends Action2 {
569
569
  constructor() {
570
570
  super({
571
571
  id: OpenWorkingSetHistoryAction.id,
572
- title: ( localize(5213, "Open File")),
572
+ title: ( localize(5124, "Open File")),
573
573
  menu: [{
574
574
  id: MenuId.ChatEditingCodeBlockContext,
575
575
  group: 'navigation',
@@ -591,7 +591,7 @@ registerAction2(class OpenWorkingSetHistoryAction extends Action2 {
591
591
  constructor() {
592
592
  super({
593
593
  id: OpenWorkingSetHistoryAction.id,
594
- title: ( localize(5214, "Open File Snapshot")),
594
+ title: ( localize(5125, "Open File Snapshot")),
595
595
  menu: [{
596
596
  id: MenuId.ChatEditingCodeBlockContext,
597
597
  group: 'navigation',
@@ -613,7 +613,7 @@ registerAction2(class OpenWorkingSetHistoryAction extends Action2 {
613
613
  }
614
614
  const snapshot = chatEditingService.getEditingSession(chatModel.sessionResource)?.getSnapshotUri(context.requestId, context.uri, context.stopId);
615
615
  if (snapshot) {
616
- const editor = await editorService.openEditor({ resource: snapshot, label: ( localize(5215, '{0} (Snapshot)', basename(context.uri))), options: { activation: EditorActivation.ACTIVATE } });
616
+ const editor = await editorService.openEditor({ resource: snapshot, label: ( localize(5126, '{0} (Snapshot)', basename(context.uri))), options: { activation: EditorActivation.ACTIVATE } });
617
617
  if (isCodeEditor(editor)) {
618
618
  editor.updateOptions({ readOnly: true });
619
619
  }
@@ -624,7 +624,7 @@ registerAction2(class ResolveSymbolsContextAction extends EditingSessionAction {
624
624
  constructor() {
625
625
  super({
626
626
  id: 'workbench.action.edits.addFilesFromReferences',
627
- title: ( localize2(5216, "Add Files From References")),
627
+ title: ( localize2(5127, "Add Files From References")),
628
628
  f1: false,
629
629
  category: CHAT_CATEGORY,
630
630
  menu: {
@@ -683,7 +683,7 @@ registerAction2(class ResolveSymbolsContextAction extends EditingSessionAction {
683
683
  });
684
684
  class ViewPreviousEditsAction extends EditingSessionAction {
685
685
  static { this.Id = 'chatEditing.viewPreviousEdits'; }
686
- static { this.Label = ( localize(5217, 'View Previous Edits')); }
686
+ static { this.Label = ( localize(5128, 'View Previous Edits')); }
687
687
  constructor() {
688
688
  super({
689
689
  id: ViewPreviousEditsAction.Id,
@@ -1,7 +1,7 @@
1
1
 
2
2
  import { registerCss } from '@codingame/monaco-vscode-api/css';
3
3
  import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
4
- import * as chatSessionAction from './media/chatSessionAction.css';
4
+ import * as chatSessionPickerActionItem from './media/chatSessionPickerActionItem.css';
5
5
  import { $, reset } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
6
6
  import { IActionWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/platform/actionWidget/browser/actionWidget.service';
7
7
  import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
@@ -13,7 +13,7 @@ import { ActionWidgetDropdownActionViewItem } from '../../../../../platform/acti
13
13
  import { renderIcon, renderLabelWithIcons } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/iconLabel/iconLabels';
14
14
  import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
15
15
 
16
- registerCss(chatSessionAction);
16
+ registerCss(chatSessionPickerActionItem);
17
17
  let ChatSessionPickerActionItem = class ChatSessionPickerActionItem extends ActionWidgetDropdownActionViewItem {
18
18
  constructor(action, initialState, delegate, actionWidgetService, contextKeyService, commandService, chatEntitlementService, keybindingService, telemetryService) {
19
19
  const { group, item } = initialState;
@@ -78,7 +78,7 @@ let ChatSessionPickerActionItem = class ChatSessionPickerActionItem extends Acti
78
78
  if (this.currentOption?.icon) {
79
79
  domChildren.push(renderIcon(this.currentOption.icon));
80
80
  }
81
- domChildren.push($('span.chat-session-option-label', undefined, this.currentOption?.name ?? ( localize(5503, "Pick Option"))));
81
+ domChildren.push($('span.chat-session-option-label', undefined, this.currentOption?.name ?? ( localize(5292, "Pick Option"))));
82
82
  domChildren.push(...renderLabelWithIcons(`$(chevron-down)`));
83
83
  reset(element, ...domChildren);
84
84
  this.setAriaLabelAttributes(element);
@@ -152,18 +152,18 @@ let ChatViewWelcomePart = class ChatViewWelcomePart extends Disposable {
152
152
  if (content.suggestedPrompts && content.suggestedPrompts.length) {
153
153
  const suggestedPromptsContainer = append(this.element, $('.chat-welcome-view-suggested-prompts'));
154
154
  const titleElement = append(suggestedPromptsContainer, $('.chat-welcome-view-suggested-prompts-title'));
155
- titleElement.textContent = ( localize(5853, 'Suggested Actions'));
155
+ titleElement.textContent = ( localize(5597, 'Suggested Actions'));
156
156
  for (const prompt of content.suggestedPrompts) {
157
157
  const promptElement = append(suggestedPromptsContainer, $('.chat-welcome-view-suggested-prompt'));
158
158
  promptElement.setAttribute('role', 'button');
159
159
  promptElement.setAttribute('tabindex', '0');
160
160
  const promptAriaLabel = prompt.description
161
- ? ( localize(5854, 'Suggested prompt: {0}, {1}', prompt.label, prompt.description))
162
- : ( localize(5855, 'Suggested prompt: {0}', prompt.label));
161
+ ? ( localize(5598, 'Suggested prompt: {0}, {1}', prompt.label, prompt.description))
162
+ : ( localize(5599, 'Suggested prompt: {0}', prompt.label));
163
163
  promptElement.setAttribute('aria-label', promptAriaLabel);
164
164
  const titleElement = append(promptElement, $('.chat-welcome-view-suggested-prompt-title'));
165
165
  titleElement.textContent = prompt.label;
166
- const tooltip = ( localize(5856, "Suggested prompt: {0}", prompt.prompt));
166
+ const tooltip = ( localize(5600, "Suggested prompt: {0}", prompt.prompt));
167
167
  promptElement.title = tooltip;
168
168
  titleElement.title = tooltip;
169
169
  if (prompt.description) {
@@ -228,7 +228,7 @@ let ChatViewWelcomePart = class ChatViewWelcomePart extends Disposable {
228
228
  const actions = [];
229
229
  if (prompt.uri) {
230
230
  const uri = prompt.uri;
231
- actions.push(( new Action('chat.editPromptFile', ( localize(5857, "Edit Prompt File")), ThemeIcon.asClassName(Codicon.goToFile), true, async () => {
231
+ actions.push(( new Action('chat.editPromptFile', ( localize(5601, "Edit Prompt File")), ThemeIcon.asClassName(Codicon.goToFile), true, async () => {
232
232
  try {
233
233
  await this.openerService.open(uri);
234
234
  }
@@ -2,9 +2,9 @@ import { IManagedHoverOptions } from "@codingame/monaco-vscode-api/vscode/vs/bas
2
2
  import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
3
3
  import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
4
4
  import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service";
5
- import { IChatAgentData } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents";
6
- import { IChatAgentNameService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents.service";
7
- import { IChatAgentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents.service";
5
+ import { IChatAgentData } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatAgents";
6
+ import { IChatAgentNameService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatAgents.service";
7
+ import { IChatAgentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatAgents.service";
8
8
  import { IExtensionsWorkbenchService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/extensions/common/extensions.service";
9
9
  export declare class ChatAgentHover extends Disposable {
10
10
  private readonly chatAgentService;