@codingame/monaco-vscode-katex-common 25.1.2 → 26.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.d.ts +23 -2
  3. package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.js +64 -27
  4. package/vscode/src/vs/platform/actions/browser/actionWidgetDropdownActionViewItem.d.ts +3 -1
  5. package/vscode/src/vs/platform/actions/browser/actionWidgetDropdownActionViewItem.js +31 -28
  6. package/vscode/src/vs/platform/actions/browser/buttonbar.d.ts +2 -0
  7. package/vscode/src/vs/platform/actions/browser/buttonbar.js +71 -50
  8. package/vscode/src/vs/platform/editor/browser/editor.js +17 -7
  9. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityProvider.js +112 -129
  10. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.d.ts +10 -1
  11. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.js +110 -85
  12. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatElicitationActions.js +5 -5
  13. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.d.ts +21 -6
  14. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +308 -216
  15. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +153 -148
  16. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionHoverWidget.d.ts +27 -0
  17. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionHoverWidget.js +247 -0
  18. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.d.ts +71 -0
  19. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.js +347 -0
  20. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.d.ts +44 -0
  21. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.js +287 -0
  22. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.d.ts +20 -0
  23. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.js +89 -0
  24. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.d.ts +188 -0
  25. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.js +677 -0
  26. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentSessionHoverWidget.css +98 -0
  27. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentsessionsviewer.css +263 -0
  28. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentModel.js +34 -25
  29. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets.d.ts +19 -14
  30. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets.js +762 -359
  31. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatImplicitContext.d.ts +22 -1
  32. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatImplicitContext.js +188 -99
  33. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.d.ts +9 -3
  34. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.js +166 -113
  35. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.d.ts +12 -5
  36. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.js +279 -213
  37. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.d.ts +46 -0
  38. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +533 -0
  39. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.d.ts +28 -0
  40. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +382 -0
  41. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.d.ts +101 -0
  42. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.js +509 -0
  43. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/media/chatEditingEditorOverlay.css +130 -0
  44. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/media/chatEditingExplanationWidget.css +276 -0
  45. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.d.ts +24 -7
  46. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.js +128 -52
  47. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +153 -0
  48. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +1218 -0
  49. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/media/chatSessionPickerActionItem.css +14 -0
  50. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/searchableOptionPickerActionItem.d.ts +39 -0
  51. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/searchableOptionPickerActionItem.js +193 -0
  52. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewWelcomeController.d.ts +2 -0
  53. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewWelcomeController.js +93 -89
  54. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcome.js +5 -2
  55. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatAgentHover.js +42 -47
  56. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentMarkdownRenderer.js +58 -56
  57. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAgentCommandContentPart.js +18 -14
  58. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAnonymousRateLimitedPart.js +17 -15
  59. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAttachmentsContentPart.d.ts +6 -2
  60. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAttachmentsContentPart.js +132 -68
  61. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatChangesSummaryPart.d.ts +0 -2
  62. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatChangesSummaryPart.js +68 -47
  63. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCodeCitationContentPart.js +14 -13
  64. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleContentPart.d.ts +4 -4
  65. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleContentPart.js +36 -24
  66. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleMarkdownContentPart.d.ts +18 -0
  67. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleMarkdownContentPart.js +32 -0
  68. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollections.d.ts +7 -2
  69. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollections.js +15 -4
  70. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCommandContentPart.d.ts +1 -0
  71. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCommandContentPart.js +22 -14
  72. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationContentPart.d.ts +0 -2
  73. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationContentPart.js +34 -27
  74. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationWidget.d.ts +1 -5
  75. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationWidget.js +198 -135
  76. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatContentCodePools.d.ts +2 -0
  77. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatContentCodePools.js +38 -10
  78. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatDiffBlockPart.js +29 -27
  79. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatElicitationContentPart.d.ts +0 -2
  80. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatElicitationContentPart.js +41 -36
  81. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatErrorConfirmationPart.d.ts +0 -2
  82. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatErrorConfirmationPart.js +23 -18
  83. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatErrorContentPart.js +13 -13
  84. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatExtensionsContentPart.d.ts +0 -3
  85. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatExtensionsContentPart.js +20 -14
  86. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatInlineAnchorWidget.d.ts +11 -1
  87. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatInlineAnchorWidget.js +291 -152
  88. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownContentPart.d.ts +2 -3
  89. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownContentPart.js +227 -162
  90. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownDecorationsRenderer.js +68 -72
  91. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMcpServersInteractionContentPart.d.ts +2 -4
  92. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMcpServersInteractionContentPart.js +76 -75
  93. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMultiDiffContentPart.d.ts +2 -5
  94. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMultiDiffContentPart.js +96 -76
  95. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatProgressContentPart.d.ts +4 -1
  96. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatProgressContentPart.js +74 -38
  97. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatPullRequestContentPart.d.ts +0 -2
  98. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatPullRequestContentPart.js +11 -25
  99. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.d.ts +107 -0
  100. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.js +814 -0
  101. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuotaExceededPart.d.ts +0 -2
  102. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuotaExceededPart.js +34 -29
  103. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatReferencesContentPart.d.ts +8 -10
  104. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatReferencesContentPart.js +236 -197
  105. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentContentPart.d.ts +123 -0
  106. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentContentPart.js +492 -0
  107. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSuggestNextWidget.js +75 -47
  108. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTaskContentPart.d.ts +2 -4
  109. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTaskContentPart.js +31 -20
  110. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTextEditContentPart.d.ts +0 -3
  111. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTextEditContentPart.js +42 -36
  112. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.d.ts +55 -7
  113. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.js +714 -148
  114. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTipContentPart.d.ts +7 -0
  115. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTipContentPart.js +21 -0
  116. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTodoListWidget.d.ts +2 -7
  117. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTodoListWidget.js +143 -153
  118. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolInputOutputContentPart.d.ts +14 -5
  119. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolInputOutputContentPart.js +79 -61
  120. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolOutputContentSubPart.d.ts +10 -4
  121. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolOutputContentSubPart.js +209 -77
  122. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTreeContentPart.d.ts +9 -7
  123. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTreeContentPart.js +71 -54
  124. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatWorkspaceEditContentPart.d.ts +18 -0
  125. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatWorkspaceEditContentPart.js +83 -0
  126. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/codeBlockPart.d.ts +4 -4
  127. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/codeBlockPart.js +248 -190
  128. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatConfirmationWidget.css +1 -14
  129. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatInlineAnchorWidget.css +23 -0
  130. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatPullRequestContent.css +5 -41
  131. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatQuestionCarousel.css +493 -0
  132. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatSubagentContent.css +63 -0
  133. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatTerminalToolProgressPart.css +9 -1
  134. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatThinkingContent.css +121 -5
  135. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatTipContent.css +37 -0
  136. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/abstractToolConfirmationSubPart.js +51 -45
  137. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatExtensionsInstallToolSubPart.js +46 -42
  138. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatInputOutputMarkdownProgressPart.d.ts +4 -2
  139. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatInputOutputMarkdownProgressPart.js +99 -67
  140. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppModel.d.ts +112 -0
  141. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppModel.js +634 -0
  142. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppSubPart.d.ts +49 -0
  143. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppSubPart.js +132 -0
  144. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatResultListSubPart.js +15 -9
  145. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolConfirmationSubPart.js +196 -149
  146. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolProgressPart.d.ts +17 -1
  147. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolProgressPart.js +577 -193
  148. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolConfirmationSubPart.js +119 -86
  149. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationPart.d.ts +10 -2
  150. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationPart.js +165 -36
  151. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationSubPart.d.ts +0 -2
  152. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationSubPart.js +5 -8
  153. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolOutputPart.d.ts +5 -3
  154. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolOutputPart.js +75 -65
  155. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPartUtilities.js +30 -28
  156. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPostExecuteConfirmationPart.d.ts +1 -5
  157. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPostExecuteConfirmationPart.js +102 -106
  158. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolProgressPart.js +44 -20
  159. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolStreamingSubPart.d.ts +19 -0
  160. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolStreamingSubPart.js +67 -0
  161. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/terminalToolAutoExpand.d.ts +57 -0
  162. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/terminalToolAutoExpand.js +69 -0
  163. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatDragAndDrop.js +122 -82
  164. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListRenderer.d.ts +39 -12
  165. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListRenderer.js +1110 -597
  166. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListWidget.d.ts +291 -0
  167. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListWidget.js +485 -0
  168. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatOptions.js +38 -28
  169. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidget.d.ts +9 -20
  170. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidget.js +650 -689
  171. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatFollowups.js +21 -18
  172. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.d.ts +102 -36
  173. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.js +1253 -790
  174. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPartWidgets.d.ts +0 -7
  175. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPartWidgets.js +11 -11
  176. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPickerActionItem.d.ts +34 -0
  177. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPickerActionItem.js +55 -0
  178. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatSelectedTools.d.ts +6 -2
  179. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatSelectedTools.js +51 -35
  180. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.d.ts +22 -0
  181. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.js +102 -0
  182. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modePickerActionItem.d.ts +16 -4
  183. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modePickerActionItem.js +192 -44
  184. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPickerActionItem.d.ts +11 -12
  185. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPickerActionItem.js +99 -66
  186. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.d.ts +47 -0
  187. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.js +188 -0
  188. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/workspacePickerActionItem.d.ts +20 -0
  189. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/workspacePickerActionItem.js +115 -0
  190. package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chat.css +129 -167
  191. package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatViewWelcome.css +16 -3
  192. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageDetails.d.ts +37 -0
  193. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageDetails.js +143 -0
  194. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageWidget.d.ts +56 -0
  195. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageWidget.js +206 -0
  196. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatContextUsageDetails.css +152 -0
  197. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatContextUsageWidget.css +67 -0
  198. package/vscode/src/vs/workbench/contrib/chat/common/widget/annotations.d.ts +22 -0
  199. package/vscode/src/vs/workbench/contrib/chat/common/widget/annotations.js +170 -0
  200. package/vscode/src/vs/workbench/contrib/chat/common/widget/chatColors.d.ts +1 -0
  201. package/vscode/src/vs/workbench/contrib/chat/common/widget/chatColors.js +80 -19
  202. package/vscode/src/vs/workbench/contrib/chat/common/widget/chatWidgetHistoryService.js +20 -28
  203. package/vscode/src/vs/workbench/contrib/chat/common/widget/codeBlockModelCollection.d.ts +2 -1
  204. package/vscode/src/vs/workbench/contrib/chat/common/widget/codeBlockModelCollection.js +22 -19
  205. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAffordance.d.ts +15 -0
  206. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAffordance.js +122 -0
  207. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.d.ts +19 -104
  208. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +316 -1040
  209. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditorAffordance.d.ts +28 -0
  210. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditorAffordance.js +162 -0
  211. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatGutterAffordance.d.ts +21 -0
  212. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatGutterAffordance.js +98 -0
  213. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatOverlayWidget.d.ts +68 -0
  214. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatOverlayWidget.js +416 -0
  215. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.d.ts +1 -6
  216. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +194 -215
  217. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.d.ts +0 -1
  218. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +74 -104
  219. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css +45 -91
  220. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatEditorAffordance.css +22 -0
  221. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatOverlayWidget.css +98 -0
  222. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.d.ts +5 -2
  223. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +96 -68
  224. package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveCommon.d.ts +7 -0
  225. package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveCommon.js +11 -0
  226. package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.d.ts +20 -0
  227. package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.js +150 -0
  228. package/vscode/src/vs/workbench/contrib/markdown/browser/markedKatexSupport.js +141 -147
  229. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpToolCallUI.d.ts +64 -0
  230. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpToolCallUI.js +200 -0
  231. package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocolApps.d.ts +548 -0
  232. package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocolApps.js +23 -0
  233. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.d.ts +22 -0
  234. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +338 -0
  235. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/notebookVisibleCellObserver.d.ts +18 -0
  236. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/notebookVisibleCellObserver.js +58 -0
  237. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.d.ts +75 -0
  238. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +364 -0
  239. package/vscode/src/vs/workbench/contrib/replNotebook/browser/interactiveEditor.css +21 -0
  240. package/vscode/src/vs/workbench/contrib/replNotebook/browser/media/interactive.css +36 -0
  241. package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.d.ts +110 -0
  242. package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.js +692 -0
  243. package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.d.ts +40 -0
  244. package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.js +158 -0
  245. package/vscode/src/vs/workbench/contrib/terminal/browser/chatTerminalCommandMirror.d.ts +80 -21
  246. package/vscode/src/vs/workbench/contrib/terminal/browser/chatTerminalCommandMirror.js +440 -82
  247. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatInputRelatedFilesContrib.d.ts +0 -34
  248. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatInputRelatedFilesContrib.js +0 -139
  249. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.d.ts +0 -10
  250. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +0 -1081
  251. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.d.ts +0 -199
  252. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +0 -482
  253. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +0 -28
  254. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.js +0 -37
  255. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.d.ts +0 -94
  256. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +0 -495
  257. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.d.ts +0 -72
  258. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +0 -454
  259. package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.d.ts +0 -13
  260. package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +0 -66
  261. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.d.ts +0 -41
  262. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.js +0 -372
  263. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.d.ts +0 -4
  264. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.js +0 -58
  265. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.d.ts +0 -26
  266. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +0 -594
  267. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.d.ts +0 -8
  268. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.js +0 -55
  269. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.d.ts +0 -273
  270. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +0 -1746
  271. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.d.ts +0 -50
  272. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +0 -269
  273. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.d.ts +0 -258
  274. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +0 -806
  275. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.d.ts +0 -41
  276. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +0 -116
  277. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.d.ts +0 -17
  278. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.js +0 -62
  279. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.d.ts +0 -27
  280. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.js +0 -40
  281. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.d.ts +0 -23
  282. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.js +0 -295
  283. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.d.ts +0 -51
  284. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.js +0 -241
  285. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.d.ts +0 -24
  286. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.js +0 -146
  287. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.d.ts +0 -28
  288. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.js +0 -90
  289. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.d.ts +0 -10
  290. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.js +0 -41
  291. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.d.ts +0 -21
  292. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.js +0 -42
  293. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.d.ts +0 -25
  294. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.js +0 -77
  295. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiff.css +0 -469
  296. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.d.ts +0 -149
  297. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +0 -823
  298. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.d.ts +0 -180
  299. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +0 -29
  300. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.d.ts +0 -102
  301. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +0 -567
  302. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.d.ts +0 -30
  303. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.js +0 -189
  304. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.d.ts +0 -75
  305. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.js +0 -439
  306. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.d.ts +0 -57
  307. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +0 -263
  308. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditorInput.d.ts +0 -22
  309. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditorInput.js +0 -48
  310. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.d.ts +0 -13
  311. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.js +0 -39
  312. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.d.ts +0 -19
  313. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.js +0 -89
  314. package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.d.ts +0 -26
  315. package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.js +0 -92
  316. package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiffEditorInput.d.ts +0 -33
  317. package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiffEditorInput.js +0 -108
@@ -14,7 +14,7 @@ import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platf
14
14
  import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service';
15
15
  import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
16
16
  import { asCssVariable } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colorUtils';
17
- import { contentRefUrl } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/widget/annotations';
17
+ import { contentRefUrl } from '../../../common/widget/annotations.js';
18
18
  import { getFullyQualifiedId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatAgents';
19
19
  import { IChatAgentNameService, IChatAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatAgents.service';
20
20
  import { chatSlashCommandForeground, chatSlashCommandBackground } from '../../../common/widget/chatColors.js';
@@ -38,16 +38,37 @@ function agentToMarkdown(agent, sessionResource, isClickable, accessor) {
38
38
  if (isDupe) {
39
39
  name += ` (${agent.publisherDisplayName})`;
40
40
  }
41
- const args = { agentId: agent.id, sessionResource, name, isClickable };
41
+ const args = {
42
+ agentId: agent.id,
43
+ sessionResource,
44
+ name,
45
+ isClickable
46
+ };
42
47
  return `[${agent.name}](${agentRefUrl}?${encodeURIComponent(JSON.stringify(args))})`;
43
48
  }
44
49
  function agentSlashCommandToMarkdown(agent, command, sessionResource) {
45
50
  const text = `${chatSubcommandLeader}${command.name}`;
46
- const args = { agentId: agent.id, command: command.name, sessionResource };
51
+ const args = {
52
+ agentId: agent.id,
53
+ command: command.name,
54
+ sessionResource
55
+ };
47
56
  return `[${text}](${agentSlashRefUrl}?${encodeURIComponent(JSON.stringify(args))})`;
48
57
  }
49
58
  let ChatMarkdownDecorationsRenderer = class ChatMarkdownDecorationsRenderer {
50
- constructor(keybindingService, logService, chatAgentService, instantiationService, hoverService, chatService, chatWidgetService, commandService, labelService, toolsService, chatMarkdownAnchorService) {
59
+ constructor(
60
+ keybindingService,
61
+ logService,
62
+ chatAgentService,
63
+ instantiationService,
64
+ hoverService,
65
+ chatService,
66
+ chatWidgetService,
67
+ commandService,
68
+ labelService,
69
+ toolsService,
70
+ chatMarkdownAnchorService
71
+ ) {
51
72
  this.keybindingService = keybindingService;
52
73
  this.logService = logService;
53
74
  this.chatAgentService = chatAgentService;
@@ -61,75 +82,63 @@ let ChatMarkdownDecorationsRenderer = class ChatMarkdownDecorationsRenderer {
61
82
  this.chatMarkdownAnchorService = chatMarkdownAnchorService;
62
83
  }
63
84
  convertParsedRequestToMarkdown(sessionResource, parsedRequest) {
64
- let result = '';
85
+ let result = "";
65
86
  for (const part of parsedRequest.parts) {
66
87
  if (part instanceof ChatRequestTextPart) {
67
88
  result += part.text;
68
- }
69
- else if (part instanceof ChatRequestAgentPart) {
89
+ } else if (part instanceof ChatRequestAgentPart) {
70
90
  result += this.instantiationService.invokeFunction(accessor => agentToMarkdown(part.agent, sessionResource, false, accessor));
71
- }
72
- else {
91
+ } else {
73
92
  result += this.genericDecorationToMarkdown(part);
74
93
  }
75
94
  }
76
95
  return result;
77
96
  }
78
97
  genericDecorationToMarkdown(part) {
79
- const uri = part instanceof ChatRequestDynamicVariablePart && part.data instanceof URI ?
80
- part.data :
81
- undefined;
82
- const title = uri ? this.labelService.getUriLabel(uri, { relative: true }) :
83
- part instanceof ChatRequestSlashCommandPart ? part.slashCommand.detail :
84
- part instanceof ChatRequestAgentSubcommandPart ? part.command.description :
85
- part instanceof ChatRequestSlashPromptPart ? part.name :
86
- part instanceof ChatRequestToolPart ? (this.toolsService.getTool(part.toolId)?.userDescription) :
87
- '';
88
- const args = { title };
98
+ const uri = part instanceof ChatRequestDynamicVariablePart && part.data instanceof URI ? part.data : undefined;
99
+ const title = uri ? this.labelService.getUriLabel(uri, {
100
+ relative: true
101
+ }) : part instanceof ChatRequestSlashCommandPart ? part.slashCommand.detail : part instanceof ChatRequestAgentSubcommandPart ? part.command.description : part instanceof ChatRequestSlashPromptPart ? part.name : part instanceof ChatRequestToolPart ? (this.toolsService.getTool(part.toolId)?.userDescription) : "";
102
+ const args = {
103
+ title
104
+ };
89
105
  const text = part.text;
90
106
  return `[${text}](${decorationRefUrl}?${encodeURIComponent(JSON.stringify(args))})`;
91
107
  }
92
108
  walkTreeAndAnnotateReferenceLinks(content, element) {
93
109
  const store = ( new DisposableStore());
94
- element.querySelectorAll('a').forEach(a => {
95
- const href = a.getAttribute('data-href');
110
+ element.querySelectorAll("a").forEach(a => {
111
+ const href = a.getAttribute("data-href");
96
112
  if (href) {
97
113
  if (href.startsWith(agentRefUrl)) {
98
114
  let args;
99
115
  try {
100
116
  args = JSON.parse(decodeURIComponent(href.slice(agentRefUrl.length + 1)));
101
- }
102
- catch (e) {
103
- this.logService.error('Invalid chat widget render data JSON', toErrorMessage(e));
117
+ } catch (e) {
118
+ this.logService.error("Invalid chat widget render data JSON", toErrorMessage(e));
104
119
  }
105
120
  if (args) {
106
121
  a.replaceWith(this.renderAgentWidget(args, store));
107
122
  }
108
- }
109
- else if (href.startsWith(agentSlashRefUrl)) {
123
+ } else if (href.startsWith(agentSlashRefUrl)) {
110
124
  let args;
111
125
  try {
112
126
  args = JSON.parse(decodeURIComponent(href.slice(agentRefUrl.length + 1)));
113
- }
114
- catch (e) {
115
- this.logService.error('Invalid chat slash command render data JSON', toErrorMessage(e));
127
+ } catch (e) {
128
+ this.logService.error("Invalid chat slash command render data JSON", toErrorMessage(e));
116
129
  }
117
130
  if (args) {
118
131
  a.replaceWith(this.renderSlashCommandWidget(a.textContent, args, store));
119
132
  }
120
- }
121
- else if (href.startsWith(decorationRefUrl)) {
133
+ } else if (href.startsWith(decorationRefUrl)) {
122
134
  let args;
123
135
  try {
124
136
  args = JSON.parse(decodeURIComponent(href.slice(decorationRefUrl.length + 1)));
125
- }
126
- catch (e) { }
137
+ } catch (e) {}
127
138
  a.replaceWith(this.renderResourceWidget(a.textContent, args, store));
128
- }
129
- else if (href.startsWith(contentRefUrl)) {
139
+ } else if (href.startsWith(contentRefUrl)) {
130
140
  this.renderFileWidget(content, href, a, store);
131
- }
132
- else if (href.startsWith('command:')) {
141
+ } else if (href.startsWith("command:")) {
133
142
  this.injectKeybindingHint(a, href, this.keybindingService);
134
143
  }
135
144
  }
@@ -140,7 +149,7 @@ let ChatMarkdownDecorationsRenderer = class ChatMarkdownDecorationsRenderer {
140
149
  const nameWithLeader = `${chatAgentLeader}${args.name}`;
141
150
  let container;
142
151
  if (args.isClickable) {
143
- container = $('span.chat-agent-widget');
152
+ container = $("span.chat-agent-widget");
144
153
  const button = store.add(( new Button(container, {
145
154
  buttonBackground: asCssVariable(chatSlashCommandBackground),
146
155
  buttonForeground: asCssVariable(chatSlashCommandForeground),
@@ -153,27 +162,28 @@ let ChatMarkdownDecorationsRenderer = class ChatMarkdownDecorationsRenderer {
153
162
  if (!widget || !agent) {
154
163
  return;
155
164
  }
156
- this.chatService.sendRequest(widget.viewModel.sessionResource, agent.metadata.sampleRequest ?? '', {
165
+ this.chatService.sendRequest(widget.viewModel.sessionResource, agent.metadata.sampleRequest ?? "", {
157
166
  location: widget.location,
158
167
  agentId: agent.id,
159
168
  userSelectedModelId: widget.input.currentLanguageModel,
160
169
  modeInfo: widget.input.currentModeInfo
161
170
  });
162
171
  }));
163
- }
164
- else {
172
+ } else {
165
173
  container = this.renderResourceWidget(nameWithLeader, undefined, store);
166
174
  }
167
175
  const agent = this.chatAgentService.getAgent(args.agentId);
168
176
  const hover = ( new Lazy(() => store.add(this.instantiationService.createInstance(ChatAgentHover))));
169
- store.add(this.hoverService.setupManagedHover(getDefaultHoverDelegate('element'), container, () => {
170
- hover.value.setAgent(args.agentId);
171
- return hover.value.domNode;
172
- }, agent && getChatAgentHoverOptions(() => agent, this.commandService)));
177
+ store.add(
178
+ this.hoverService.setupManagedHover(getDefaultHoverDelegate("element"), container, () => {
179
+ hover.value.setAgent(args.agentId);
180
+ return hover.value.domNode;
181
+ }, agent && getChatAgentHoverOptions(() => agent, this.commandService))
182
+ );
173
183
  return container;
174
184
  }
175
185
  renderSlashCommandWidget(name, args, store) {
176
- const container = $('span.chat-agent-widget.chat-command-widget');
186
+ const container = $("span.chat-agent-widget.chat-command-widget");
177
187
  const agent = this.chatAgentService.getAgent(args.agentId);
178
188
  const button = store.add(( new Button(container, {
179
189
  buttonBackground: asCssVariable(chatSlashCommandBackground),
@@ -187,7 +197,7 @@ let ChatMarkdownDecorationsRenderer = class ChatMarkdownDecorationsRenderer {
187
197
  return;
188
198
  }
189
199
  const command = agent.slashCommands.find(c => c.name === args.command);
190
- this.chatService.sendRequest(widget.viewModel.sessionResource, command?.sampleRequest ?? '', {
200
+ this.chatService.sendRequest(widget.viewModel.sessionResource, command?.sampleRequest ?? "", {
191
201
  location: widget.location,
192
202
  agentId: agent.id,
193
203
  slashCommand: args.command,
@@ -201,17 +211,21 @@ let ChatMarkdownDecorationsRenderer = class ChatMarkdownDecorationsRenderer {
201
211
  const fullUri = ( URI.parse(href));
202
212
  const data = content.inlineReferences?.[fullUri.path.slice(1)];
203
213
  if (!data) {
204
- this.logService.error('Invalid chat widget render data JSON');
214
+ this.logService.error("Invalid chat widget render data JSON");
205
215
  return;
206
216
  }
207
- const inlineAnchor = store.add(this.instantiationService.createInstance(InlineAnchorWidget, a, data));
217
+ const inlineAnchor = store.add(
218
+ this.instantiationService.createInstance(InlineAnchorWidget, a, data, undefined)
219
+ );
208
220
  store.add(this.chatMarkdownAnchorService.register(inlineAnchor));
209
221
  }
210
222
  renderResourceWidget(name, args, store) {
211
- const container = $('span.chat-resource-widget');
212
- const alias = $('span', undefined, name);
223
+ const container = $("span.chat-resource-widget");
224
+ const alias = $("span", undefined, name);
213
225
  if (args?.title) {
214
- store.add(this.hoverService.setupManagedHover(getDefaultHoverDelegate('element'), container, args.title));
226
+ store.add(
227
+ this.hoverService.setupManagedHover(getDefaultHoverDelegate("element"), container, args.title)
228
+ );
215
229
  }
216
230
  container.appendChild(alias);
217
231
  return container;
@@ -219,28 +233,10 @@ let ChatMarkdownDecorationsRenderer = class ChatMarkdownDecorationsRenderer {
219
233
  injectKeybindingHint(a, href, keybindingService) {
220
234
  const command = href.match(/command:([^\)]+)/)?.[1];
221
235
  if (command) {
222
- const kb = keybindingService.lookupKeybinding(command);
223
- if (kb) {
224
- const keybinding = kb.getLabel();
225
- if (keybinding) {
226
- a.textContent = `${a.textContent} (${keybinding})`;
227
- }
228
- }
236
+ a.textContent = keybindingService.appendKeybinding(a.textContent || "", command);
229
237
  }
230
238
  }
231
239
  };
232
- ChatMarkdownDecorationsRenderer = ( __decorate([
233
- ( __param(0, IKeybindingService)),
234
- ( __param(1, ILogService)),
235
- ( __param(2, IChatAgentService)),
236
- ( __param(3, IInstantiationService)),
237
- ( __param(4, IHoverService)),
238
- ( __param(5, IChatService)),
239
- ( __param(6, IChatWidgetService)),
240
- ( __param(7, ICommandService)),
241
- ( __param(8, ILabelService)),
242
- ( __param(9, ILanguageModelToolsService)),
243
- ( __param(10, IChatMarkdownAnchorService))
244
- ], ChatMarkdownDecorationsRenderer));
240
+ ChatMarkdownDecorationsRenderer = ( __decorate([( __param(0, IKeybindingService)), ( __param(1, ILogService)), ( __param(2, IChatAgentService)), ( __param(3, IInstantiationService)), ( __param(4, IHoverService)), ( __param(5, IChatService)), ( __param(6, IChatWidgetService)), ( __param(7, ICommandService)), ( __param(8, ILabelService)), ( __param(9, ILanguageModelToolsService)), ( __param(10, IChatMarkdownAnchorService))], ChatMarkdownDecorationsRenderer));
245
241
 
246
242
  export { ChatMarkdownDecorationsRenderer, agentSlashCommandToMarkdown, agentToMarkdown };
@@ -3,7 +3,7 @@ import { IMarkdownRendererService } from "@codingame/monaco-vscode-api/vscode/vs
3
3
  import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
4
4
  import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service";
5
5
  import { IMcpService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/mcp/common/mcpTypes.service";
6
- import { IChatMcpServersStarting } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService";
6
+ import { IChatMcpServersStarting, IChatMcpServersStartingSerialized } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService";
7
7
  import { IChatRendererContent } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatViewModel";
8
8
  import { IChatContentPart, IChatContentPartRenderContext } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatContentParts";
9
9
  export declare class ChatMcpServersInteractionContentPart extends Disposable implements IChatContentPart {
@@ -14,14 +14,12 @@ export declare class ChatMcpServersInteractionContentPart extends Disposable imp
14
14
  private readonly _openerService;
15
15
  private readonly _markdownRendererService;
16
16
  readonly domNode: HTMLElement;
17
- private readonly _onDidChangeHeight;
18
- readonly onDidChangeHeight: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<void>;
19
17
  private workingProgressPart;
20
18
  private interactionContainer;
21
19
  private readonly interactionMd;
22
20
  private readonly showSpecificServersScheduler;
23
21
  private readonly previousParts;
24
- constructor(data: IChatMcpServersStarting, context: IChatContentPartRenderContext, mcpService: IMcpService, instantiationService: IInstantiationService, _openerService: IOpenerService, _markdownRendererService: IMarkdownRendererService);
22
+ constructor(data: IChatMcpServersStarting | IChatMcpServersStartingSerialized, context: IChatContentPartRenderContext, mcpService: IMcpService, instantiationService: IInstantiationService, _openerService: IOpenerService, _markdownRendererService: IMarkdownRendererService);
25
23
  private updateForState;
26
24
  private createServerCommandLinks;
27
25
  private updateDetailedProgress;
@@ -4,7 +4,6 @@ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib
4
4
  import { $ } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
5
5
  import { RunOnceScheduler } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
6
6
  import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
7
- import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
8
7
  import { createMarkdownCommandLink, escapeMarkdownSyntaxTokens, MarkdownString } from '@codingame/monaco-vscode-api/vscode/vs/base/common/htmlContent';
9
8
  import { Lazy } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lazy';
10
9
  import { Disposable, MutableDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
@@ -25,7 +24,14 @@ import { autorun } from '@codingame/monaco-vscode-api/vscode/vs/base/common/obse
25
24
 
26
25
  registerCss(chatMcpServersInteractionContent);
27
26
  let ChatMcpServersInteractionContentPart = class ChatMcpServersInteractionContentPart extends Disposable {
28
- constructor(data, context, mcpService, instantiationService, _openerService, _markdownRendererService) {
27
+ constructor(
28
+ data,
29
+ context,
30
+ mcpService,
31
+ instantiationService,
32
+ _openerService,
33
+ _markdownRendererService
34
+ ) {
29
35
  super();
30
36
  this.data = data;
31
37
  this.context = context;
@@ -33,20 +39,15 @@ let ChatMcpServersInteractionContentPart = class ChatMcpServersInteractionConten
33
39
  this.instantiationService = instantiationService;
34
40
  this._openerService = _openerService;
35
41
  this._markdownRendererService = _markdownRendererService;
36
- this._onDidChangeHeight = this._register(( new Emitter()));
37
- this.onDidChangeHeight = this._onDidChangeHeight.event;
38
42
  this.interactionMd = this._register(( new MutableDisposable()));
39
43
  this.showSpecificServersScheduler = this._register(( new RunOnceScheduler(() => this.updateDetailedProgress(this.data.state.get()), 2500)));
40
44
  this.previousParts = ( new Lazy(() => {
41
45
  if (!isResponseVM(this.context.element)) {
42
46
  return [];
43
47
  }
44
- return ( this.context.element.session.getItems()
45
- .filter((r, i) => isResponseVM(r) && i < this.context.elementIndex)
46
- .flatMap(i => i.response.value.filter(c => c.kind === 'mcpServersStarting'))
47
- .map(p => p.state?.get()));
48
+ return ( this.context.element.session.getItems().filter((r, i) => isResponseVM(r) && i < this.context.elementIndex).flatMap(i => i.response.value.filter(c => c.kind === "mcpServersStarting")).map(p => p.state?.get()));
48
49
  }));
49
- this.domNode = $('.chat-mcp-servers-interaction');
50
+ this.domNode = $(".chat-mcp-servers-interaction");
50
51
  if (data.state) {
51
52
  this._register(autorun(reader => {
52
53
  const state = data.state.read(reader);
@@ -59,13 +60,11 @@ let ChatMcpServersInteractionContentPart = class ChatMcpServersInteractionConten
59
60
  this.workingProgressPart?.domNode.remove();
60
61
  this.workingProgressPart = undefined;
61
62
  this.showSpecificServersScheduler.cancel();
62
- }
63
- else if (!this.workingProgressPart) {
63
+ } else if (!this.workingProgressPart) {
64
64
  if (!this.showSpecificServersScheduler.isScheduled()) {
65
65
  this.showSpecificServersScheduler.schedule();
66
66
  }
67
- }
68
- else if (this.workingProgressPart) {
67
+ } else if (this.workingProgressPart) {
69
68
  this.updateDetailedProgress(state);
70
69
  }
71
70
  const requiringInteraction = state.serversRequiringInteraction.filter(s => {
@@ -80,102 +79,112 @@ let ChatMcpServersInteractionContentPart = class ChatMcpServersInteractionConten
80
79
  if (requiringInteraction.length > 0) {
81
80
  if (!this.interactionMd.value) {
82
81
  this.renderInteractionRequired(requiringInteraction);
83
- }
84
- else {
82
+ } else {
85
83
  this.updateInteractionRequired(this.interactionMd.value.element, requiringInteraction);
86
84
  }
87
- }
88
- else if (requiringInteraction.length === 0 && this.interactionContainer) {
85
+ } else if (requiringInteraction.length === 0 && this.interactionContainer) {
89
86
  this.interactionContainer.remove();
90
87
  this.interactionContainer = undefined;
91
88
  }
92
- this._onDidChangeHeight.fire();
93
89
  }
94
90
  createServerCommandLinks(servers) {
95
91
  return ( servers.map(s => createMarkdownCommandLink({
96
- title: '`' + escapeMarkdownSyntaxTokens(s.label) + '`',
92
+ title: "`" + escapeMarkdownSyntaxTokens(s.label) + "`",
97
93
  id: McpCommandIds.ServerOptions,
98
- arguments: [s.id],
99
- }, false))).join(', ');
94
+ arguments: [s.id]
95
+ }, false))).join(", ");
100
96
  }
101
97
  updateDetailedProgress(state) {
102
98
  const skipText = createMarkdownCommandLink({
103
- title: ( localize(5641, 'Skip?')),
104
- id: McpCommandIds.SkipCurrentAutostart,
99
+ title: ( localize(5860, "Skip?")),
100
+ id: McpCommandIds.SkipCurrentAutostart
105
101
  });
106
102
  let content;
107
103
  if (state.starting.length === 0) {
108
- content = ( new MarkdownString(undefined, { isTrusted: true })).appendText(( localize(5642, 'Activating MCP extensions...')) + ' ').appendMarkdown(skipText);
109
- }
110
- else {
104
+ content = ( new MarkdownString(undefined, {
105
+ isTrusted: true
106
+ })).appendText(( localize(5861, "Activating MCP extensions...")) + " ").appendMarkdown(skipText);
107
+ } else {
111
108
  const serverLinks = this.createServerCommandLinks(state.starting);
112
- content = ( new MarkdownString(undefined, { isTrusted: true })).appendMarkdown(( localize(5643, 'Starting MCP servers {0}...', serverLinks)) + ' ').appendMarkdown(skipText);
109
+ content = ( new MarkdownString(undefined, {
110
+ isTrusted: true
111
+ })).appendMarkdown(( localize(5862, "Starting MCP servers {0}...", serverLinks)) + " ").appendMarkdown(skipText);
113
112
  }
114
113
  if (this.workingProgressPart) {
115
114
  this.workingProgressPart.updateMessage(content);
116
- }
117
- else {
118
- this.workingProgressPart = this._register(this.instantiationService.createInstance(ChatProgressContentPart, { kind: 'progressMessage', content }, this._markdownRendererService, this.context, true,
115
+ } else {
116
+ this.workingProgressPart = this._register(this.instantiationService.createInstance(ChatProgressContentPart, {
117
+ kind: "progressMessage",
118
+ content
119
+ }, this._markdownRendererService, this.context, true,
119
120
  true,
120
121
  undefined,
121
122
  undefined));
122
123
  this.domNode.appendChild(this.workingProgressPart.domNode);
123
124
  }
124
- this._onDidChangeHeight.fire();
125
125
  }
126
126
  renderInteractionRequired(serversRequiringInteraction) {
127
- this.interactionContainer = $('.chat-mcp-servers-interaction-hint');
128
- const messageContainer = $('.chat-mcp-servers-message');
129
- const icon = $('.chat-mcp-servers-icon');
127
+ this.interactionContainer = $(".chat-mcp-servers-interaction-hint");
128
+ const messageContainer = $(".chat-mcp-servers-message");
129
+ const icon = $(".chat-mcp-servers-icon");
130
130
  icon.classList.add(...ThemeIcon.asClassNameArray(Codicon.mcp));
131
- const { messageMd } = this.createInteractionMessage(serversRequiringInteraction);
131
+ const {
132
+ messageMd
133
+ } = this.createInteractionMessage(serversRequiringInteraction);
132
134
  messageContainer.appendChild(icon);
133
135
  messageContainer.appendChild(messageMd.element);
134
136
  this.interactionContainer.appendChild(messageContainer);
135
137
  this.domNode.prepend(this.interactionContainer);
136
138
  }
137
139
  updateInteractionRequired(oldElement, serversRequiringInteraction) {
138
- const { messageMd } = this.createInteractionMessage(serversRequiringInteraction);
140
+ const {
141
+ messageMd
142
+ } = this.createInteractionMessage(serversRequiringInteraction);
139
143
  oldElement.replaceWith(messageMd.element);
140
144
  }
141
145
  createInteractionMessage(serversRequiringInteraction) {
142
146
  const count = serversRequiringInteraction.length;
143
147
  const links = this.createServerCommandLinks(serversRequiringInteraction);
144
- const content = count === 1
145
- ? ( localize(
146
- 5644,
147
- 'The MCP server {0} may have new tools and requires interaction to start. [Start it now?]({1})',
148
+ const content = count === 1 ? ( localize(
149
+ 5863,
150
+ "The MCP server {0} may have new tools and requires interaction to start. [Start it now?]({1})",
148
151
  links,
149
- '#start'
150
- ))
151
- : ( localize(
152
- 5645,
153
- 'The MCP servers {0} may have new tools and require interaction to start. [Start them now?]({1})',
152
+ "#start"
153
+ )) : ( localize(
154
+ 5864,
155
+ "The MCP servers {0} may have new tools and require interaction to start. [Start them now?]({1})",
154
156
  links,
155
- '#start'
157
+ "#start"
156
158
  ));
157
- const str = ( new MarkdownString(content, { isTrusted: true }));
159
+ const str = ( new MarkdownString(content, {
160
+ isTrusted: true
161
+ }));
158
162
  const messageMd = this.interactionMd.value = this._markdownRendererService.render(str, {
159
- asyncRenderCallback: () => this._onDidChangeHeight.fire(),
160
- actionHandler: (content) => {
161
- if (!content.startsWith('command:')) {
163
+ actionHandler: content => {
164
+ if (!content.startsWith("command:")) {
162
165
  this._start(startLink);
163
166
  return Promise.resolve(true);
164
167
  }
165
168
  return openLinkFromMarkdown(this._openerService, content, true);
166
169
  }
167
170
  });
168
- const startLink = [...messageMd.element.querySelectorAll('a')].find(a => !a.getAttribute('data-href')?.startsWith('command:'));
171
+ const startLink = [...messageMd.element.querySelectorAll("a")].find(a => !a.getAttribute("data-href")?.startsWith("command:"));
169
172
  if (!startLink) {
170
- return { messageMd, startLink: undefined };
173
+ return {
174
+ messageMd,
175
+ startLink: undefined
176
+ };
171
177
  }
172
- startLink.setAttribute('role', 'button');
173
- startLink.href = '';
174
- return { messageMd, startLink };
178
+ startLink.setAttribute("role", "button");
179
+ startLink.href = "";
180
+ return {
181
+ messageMd,
182
+ startLink
183
+ };
175
184
  }
176
185
  async _start(startLink) {
177
- startLink.style.pointerEvents = 'none';
178
- startLink.style.opacity = '0.7';
186
+ startLink.style.pointerEvents = "none";
187
+ startLink.style.opacity = "0.7";
179
188
  try {
180
189
  if (!this.data.state) {
181
190
  return;
@@ -184,11 +193,12 @@ let ChatMcpServersInteractionContentPart = class ChatMcpServersInteractionConten
184
193
  const serversToStart = state.serversRequiringInteraction;
185
194
  for (let i = 0; i < serversToStart.length; i++) {
186
195
  const serverInfo = serversToStart[i];
187
- startLink.textContent = ( localize(5646, "Starting {0}...", serverInfo.label));
188
- this._onDidChangeHeight.fire();
196
+ startLink.textContent = ( localize(5865, "Starting {0}...", serverInfo.label));
189
197
  const server = this.mcpService.servers.get().find(s => s.definition.id === serverInfo.id);
190
198
  if (server) {
191
- await startServerAndWaitForLiveTools(server, { promptType: 'all-untrusted' });
199
+ await startServerAndWaitForLiveTools(server, {
200
+ promptType: "all-untrusted"
201
+ });
192
202
  this.data.didStartServerIds ??= [];
193
203
  this.data.didStartServerIds.push(serverInfo.id);
194
204
  }
@@ -197,28 +207,19 @@ let ChatMcpServersInteractionContentPart = class ChatMcpServersInteractionConten
197
207
  this.interactionContainer.remove();
198
208
  this.interactionContainer = undefined;
199
209
  }
200
- }
201
- catch (error) {
202
- startLink.style.pointerEvents = '';
203
- startLink.style.opacity = '';
204
- startLink.textContent = 'Start now?';
205
- }
206
- finally {
207
- this._onDidChangeHeight.fire();
210
+ } catch (error) {
211
+ startLink.style.pointerEvents = "";
212
+ startLink.style.opacity = "";
213
+ startLink.textContent = "Start now?";
208
214
  }
209
215
  }
210
216
  hasSameContent(other) {
211
- return other.kind === 'mcpServersStarting';
217
+ return other.kind === "mcpServersStarting";
212
218
  }
213
219
  addDisposable(disposable) {
214
220
  this._register(disposable);
215
221
  }
216
222
  };
217
- ChatMcpServersInteractionContentPart = ( __decorate([
218
- ( __param(2, IMcpService)),
219
- ( __param(3, IInstantiationService)),
220
- ( __param(4, IOpenerService)),
221
- ( __param(5, IMarkdownRendererService))
222
- ], ChatMcpServersInteractionContentPart));
223
+ ChatMcpServersInteractionContentPart = ( __decorate([( __param(2, IMcpService)), ( __param(3, IInstantiationService)), ( __param(4, IOpenerService)), ( __param(5, IMarkdownRendererService))], ChatMcpServersInteractionContentPart));
223
224
 
224
225
  export { ChatMcpServersInteractionContentPart };
@@ -1,10 +1,9 @@
1
- import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
2
1
  import { Disposable, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
3
2
  import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
4
3
  import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
5
4
  import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
6
5
  import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
7
- import { IChatMultiDiffData } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService";
6
+ import { IChatMultiDiffData, IChatMultiDiffDataSerialized } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService";
8
7
  import { IChatRendererContent } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatViewModel";
9
8
  import { ChatTreeItem } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat";
10
9
  import { IChatContentPart } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatContentParts";
@@ -16,13 +15,11 @@ export declare class ChatMultiDiffContentPart extends Disposable implements ICha
16
15
  private readonly themeService;
17
16
  private readonly contextKeyService;
18
17
  readonly domNode: HTMLElement;
19
- private readonly _onDidChangeHeight;
20
- readonly onDidChangeHeight: Event<void>;
21
18
  private list;
22
19
  private isCollapsed;
23
20
  private readonly readOnly;
24
21
  private readonly diffData;
25
- constructor(content: IChatMultiDiffData, _element: ChatTreeItem, instantiationService: IInstantiationService, editorService: IEditorService, themeService: IThemeService, contextKeyService: IContextKeyService);
22
+ constructor(content: IChatMultiDiffData | IChatMultiDiffDataSerialized, _element: ChatTreeItem, instantiationService: IInstantiationService, editorService: IEditorService, themeService: IThemeService, contextKeyService: IContextKeyService);
26
23
  private renderHeader;
27
24
  private renderViewAllFileChangesButton;
28
25
  private renderContributedButtons;