@codingame/monaco-vscode-katex-common 24.1.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 (262) hide show
  1. package/empty.js +1 -0
  2. package/package.json +45 -0
  3. package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.d.ts +37 -0
  4. package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.js +127 -0
  5. package/vscode/src/vs/platform/actions/browser/actionWidgetDropdownActionViewItem.d.ts +27 -0
  6. package/vscode/src/vs/platform/actions/browser/actionWidgetDropdownActionViewItem.js +81 -0
  7. package/vscode/src/vs/platform/actions/browser/buttonbar.d.ts +44 -0
  8. package/vscode/src/vs/platform/actions/browser/buttonbar.js +172 -0
  9. package/vscode/src/vs/platform/editor/browser/editor.d.ts +12 -0
  10. package/vscode/src/vs/platform/editor/browser/editor.js +51 -0
  11. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.d.ts +41 -0
  12. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.js +295 -0
  13. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatElicitationActions.d.ts +2 -0
  14. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatElicitationActions.js +60 -0
  15. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.d.ts +65 -0
  16. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +650 -0
  17. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.d.ts +2 -0
  18. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +364 -0
  19. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.d.ts +38 -0
  20. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.js +207 -0
  21. package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.d.ts +17 -0
  22. package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +216 -0
  23. package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.d.ts +24 -0
  24. package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +114 -0
  25. package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentModel.d.ts +34 -0
  26. package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentModel.js +141 -0
  27. package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentWidgets.d.ts +169 -0
  28. package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentWidgets.js +951 -0
  29. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentMarkdownRenderer.d.ts +19 -0
  30. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentMarkdownRenderer.js +109 -0
  31. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAgentCommandContentPart.d.ts +12 -0
  32. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAgentCommandContentPart.js +47 -0
  33. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAnonymousRateLimitedPart.d.ts +13 -0
  34. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAnonymousRateLimitedPart.js +49 -0
  35. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.d.ts +27 -0
  36. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +160 -0
  37. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatChangesSummaryPart.d.ts +40 -0
  38. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatChangesSummaryPart.js +286 -0
  39. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.d.ts +13 -0
  40. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +49 -0
  41. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCollapsibleContentPart.d.ts +34 -0
  42. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCollapsibleContentPart.js +101 -0
  43. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCollections.d.ts +14 -0
  44. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCollections.js +30 -0
  45. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.d.ts +11 -0
  46. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +37 -0
  47. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.d.ts +17 -0
  48. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +69 -0
  49. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationWidget.d.ts +116 -0
  50. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationWidget.js +417 -0
  51. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentCodePools.d.ts +20 -0
  52. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentCodePools.js +66 -0
  53. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatElicitationContentPart.d.ts +25 -0
  54. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatElicitationContentPart.js +123 -0
  55. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatErrorConfirmationPart.d.ts +18 -0
  56. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatErrorConfirmationPart.js +60 -0
  57. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatErrorContentPart.d.ts +16 -0
  58. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatErrorContentPart.js +46 -0
  59. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatExtensionsContentPart.d.ts +19 -0
  60. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatExtensionsContentPart.js +57 -0
  61. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownContentPart.d.ts +94 -0
  62. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownContentPart.js +567 -0
  63. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMcpServersInteractionContentPart.d.ts +34 -0
  64. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMcpServersInteractionContentPart.js +224 -0
  65. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMultiDiffContentPart.d.ts +34 -0
  66. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMultiDiffContentPart.js +259 -0
  67. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatProgressContentPart.d.ts +38 -0
  68. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatProgressContentPart.js +160 -0
  69. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatPullRequestContentPart.d.ts +16 -0
  70. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatPullRequestContentPart.js +55 -0
  71. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatQuotaExceededPart.d.ts +17 -0
  72. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatQuotaExceededPart.js +117 -0
  73. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.d.ts +66 -0
  74. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +528 -0
  75. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatSuggestNextWidget.d.ts +31 -0
  76. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatSuggestNextWidget.js +160 -0
  77. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTaskContentPart.d.ts +17 -0
  78. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTaskContentPart.js +49 -0
  79. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.d.ts +18 -0
  80. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +91 -0
  81. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.service.d.ts +13 -0
  82. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.service.js +6 -0
  83. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatThinkingContentPart.d.ts +54 -0
  84. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatThinkingContentPart.js +429 -0
  85. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTodoListWidget.d.ts +40 -0
  86. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTodoListWidget.js +347 -0
  87. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatToolInputOutputContentPart.d.ts +56 -0
  88. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatToolInputOutputContentPart.js +164 -0
  89. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatToolOutputContentSubPart.d.ts +32 -0
  90. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatToolOutputContentSubPart.js +224 -0
  91. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.d.ts +35 -0
  92. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +173 -0
  93. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/media/chatConfirmationWidget.css +341 -0
  94. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/media/chatExtensionsContent.css +27 -0
  95. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/media/chatMarkdownPart.css +23 -0
  96. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/media/chatMcpServersInteractionContent.css +14 -0
  97. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/media/chatPullRequestContent.css +75 -0
  98. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/media/chatTerminalToolProgressPart.css +221 -0
  99. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/media/chatThinkingContent.css +162 -0
  100. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/abstractToolConfirmationSubPart.d.ts +41 -0
  101. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/abstractToolConfirmationSubPart.js +94 -0
  102. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatExtensionsInstallToolSubPart.d.ts +15 -0
  103. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatExtensionsInstallToolSubPart.js +96 -0
  104. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatInputOutputMarkdownProgressPart.d.ts +18 -0
  105. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatInputOutputMarkdownProgressPart.js +147 -0
  106. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatResultListSubPart.d.ts +14 -0
  107. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatResultListSubPart.js +23 -0
  108. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatTerminalToolConfirmationSubPart.d.ts +68 -0
  109. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatTerminalToolConfirmationSubPart.js +353 -0
  110. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatTerminalToolProgressPart.d.ts +100 -0
  111. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatTerminalToolProgressPart.js +1085 -0
  112. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatToolConfirmationSubPart.d.ts +39 -0
  113. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatToolConfirmationSubPart.js +275 -0
  114. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatToolInvocationPart.d.ts +32 -0
  115. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatToolInvocationPart.js +119 -0
  116. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatToolInvocationSubPart.d.ts +19 -0
  117. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatToolInvocationSubPart.js +36 -0
  118. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatToolOutputPart.d.ts +21 -0
  119. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatToolOutputPart.js +130 -0
  120. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatToolPostExecuteConfirmationPart.d.ts +25 -0
  121. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatToolPostExecuteConfirmationPart.js +225 -0
  122. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatToolProgressPart.d.ts +24 -0
  123. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatToolProgressPart.js +101 -0
  124. package/vscode/src/vs/workbench/contrib/chat/browser/chatDiffBlockPart.d.ts +42 -0
  125. package/vscode/src/vs/workbench/contrib/chat/browser/chatDiffBlockPart.js +127 -0
  126. package/vscode/src/vs/workbench/contrib/chat/browser/chatDragAndDrop.d.ts +43 -0
  127. package/vscode/src/vs/workbench/contrib/chat/browser/chatDragAndDrop.js +388 -0
  128. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.d.ts +49 -0
  129. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.js +721 -0
  130. package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.d.ts +13 -0
  131. package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +52 -0
  132. package/vscode/src/vs/workbench/contrib/chat/browser/chatInlineAnchorWidget.d.ts +39 -0
  133. package/vscode/src/vs/workbench/contrib/chat/browser/chatInlineAnchorWidget.js +409 -0
  134. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.d.ts +334 -0
  135. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +2008 -0
  136. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPartWidgets.d.ts +52 -0
  137. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPartWidgets.js +93 -0
  138. package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.d.ts +217 -0
  139. package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +1573 -0
  140. package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.d.ts +43 -0
  141. package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +249 -0
  142. package/vscode/src/vs/workbench/contrib/chat/browser/chatOptions.d.ts +50 -0
  143. package/vscode/src/vs/workbench/contrib/chat/browser/chatOptions.js +84 -0
  144. package/vscode/src/vs/workbench/contrib/chat/browser/chatSelectedTools.d.ts +32 -0
  145. package/vscode/src/vs/workbench/contrib/chat/browser/chatSelectedTools.js +174 -0
  146. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.d.ts +31 -0
  147. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.js +101 -0
  148. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/common.d.ts +19 -0
  149. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/common.js +76 -0
  150. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/media/chatSessionAction.css +39 -0
  151. package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.d.ts +292 -0
  152. package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +2014 -0
  153. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.css +171 -0
  154. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.d.ts +173 -0
  155. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +797 -0
  156. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatImplicitContext.d.ts +54 -0
  157. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatImplicitContext.js +345 -0
  158. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions.d.ts +10 -0
  159. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions.js +1069 -0
  160. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputRelatedFilesContrib.d.ts +34 -0
  161. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputRelatedFilesContrib.js +139 -0
  162. package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css +2880 -0
  163. package/vscode/src/vs/workbench/contrib/chat/browser/media/chatAgentHover.css +87 -0
  164. package/vscode/src/vs/workbench/contrib/chat/browser/media/chatCodeBlockPill.css +139 -0
  165. package/vscode/src/vs/workbench/contrib/chat/browser/media/chatInlineAnchorWidget.css +61 -0
  166. package/vscode/src/vs/workbench/contrib/chat/browser/media/chatViewWelcome.css +209 -0
  167. package/vscode/src/vs/workbench/contrib/chat/browser/modelPicker/modePickerActionItem.d.ts +28 -0
  168. package/vscode/src/vs/workbench/contrib/chat/browser/modelPicker/modePickerActionItem.js +135 -0
  169. package/vscode/src/vs/workbench/contrib/chat/browser/modelPicker/modelPickerActionItem.d.ts +28 -0
  170. package/vscode/src/vs/workbench/contrib/chat/browser/modelPicker/modelPickerActionItem.js +147 -0
  171. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewWelcomeController.d.ts +71 -0
  172. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewWelcomeController.js +279 -0
  173. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcome.d.ts +28 -0
  174. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcome.js +28 -0
  175. package/vscode/src/vs/workbench/contrib/chat/common/chatColors.d.ts +13 -0
  176. package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +38 -0
  177. package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.d.ts +55 -0
  178. package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.js +176 -0
  179. package/vscode/src/vs/workbench/contrib/chat/common/codeBlockModelCollection.d.ts +45 -0
  180. package/vscode/src/vs/workbench/contrib/chat/common/codeBlockModelCollection.js +207 -0
  181. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +48 -0
  182. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +373 -0
  183. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.d.ts +171 -0
  184. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +1442 -0
  185. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.d.ts +199 -0
  186. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +482 -0
  187. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +28 -0
  188. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.js +37 -0
  189. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.d.ts +95 -0
  190. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +497 -0
  191. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.d.ts +76 -0
  192. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +464 -0
  193. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.d.ts +124 -0
  194. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +562 -0
  195. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.d.ts +42 -0
  196. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +279 -0
  197. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css +411 -0
  198. package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.d.ts +13 -0
  199. package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +66 -0
  200. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.d.ts +61 -0
  201. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +154 -0
  202. package/vscode/src/vs/workbench/contrib/markdown/browser/markedKatexSupport.d.ts +19 -0
  203. package/vscode/src/vs/workbench/contrib/markdown/browser/markedKatexSupport.js +201 -0
  204. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.d.ts +41 -0
  205. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.js +372 -0
  206. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.d.ts +4 -0
  207. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.js +58 -0
  208. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.d.ts +26 -0
  209. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +594 -0
  210. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.d.ts +8 -0
  211. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.js +55 -0
  212. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.d.ts +273 -0
  213. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +1746 -0
  214. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.d.ts +50 -0
  215. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +269 -0
  216. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.d.ts +258 -0
  217. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +806 -0
  218. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.d.ts +41 -0
  219. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +116 -0
  220. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.d.ts +17 -0
  221. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.js +62 -0
  222. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.d.ts +27 -0
  223. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.js +40 -0
  224. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.d.ts +23 -0
  225. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.js +295 -0
  226. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.d.ts +51 -0
  227. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.js +241 -0
  228. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.d.ts +24 -0
  229. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.js +146 -0
  230. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.d.ts +28 -0
  231. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.js +90 -0
  232. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.d.ts +10 -0
  233. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.js +41 -0
  234. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.d.ts +21 -0
  235. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.js +42 -0
  236. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.d.ts +25 -0
  237. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.js +77 -0
  238. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiff.css +469 -0
  239. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.d.ts +149 -0
  240. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +823 -0
  241. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.d.ts +180 -0
  242. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +29 -0
  243. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.d.ts +102 -0
  244. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +567 -0
  245. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.d.ts +30 -0
  246. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.js +189 -0
  247. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.d.ts +75 -0
  248. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.js +439 -0
  249. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.d.ts +57 -0
  250. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +263 -0
  251. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditorInput.d.ts +22 -0
  252. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditorInput.js +48 -0
  253. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.d.ts +13 -0
  254. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.js +39 -0
  255. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.d.ts +19 -0
  256. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.js +89 -0
  257. package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.d.ts +26 -0
  258. package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.js +92 -0
  259. package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiffEditorInput.d.ts +33 -0
  260. package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiffEditorInput.js +108 -0
  261. package/vscode/src/vs/workbench/contrib/terminal/browser/chatTerminalCommandMirror.d.ts +34 -0
  262. package/vscode/src/vs/workbench/contrib/terminal/browser/chatTerminalCommandMirror.js +145 -0
@@ -0,0 +1,341 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the MIT License. See License.txt in the project root for license information.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+ .chat-confirmation-widget {
7
+ border: none;
8
+ border-radius: 4px;
9
+ display: flex;
10
+ flex-wrap: wrap;
11
+ align-items: center;
12
+ position: relative;
13
+ }
14
+
15
+ .chat-confirmation-widget .monaco-text-button {
16
+ padding: 0 12px;
17
+ min-height: 2em;
18
+ box-sizing: border-box;
19
+ font-size: var(--vscode-chat-font-size-body-m);
20
+ }
21
+
22
+ .chat-confirmation-widget:not(:last-child) {
23
+ margin-bottom: 16px;
24
+ }
25
+
26
+ .chat-confirmation-widget + .chat-tool-approval-message {
27
+ margin: -12px 6px 16px;
28
+ color: var(--vscode-descriptionForeground);
29
+ font-size: var(--vscode-chat-font-size-body-s);
30
+ }
31
+
32
+ .chat-confirmation-widget-container .chat-confirmation-widget .chat-confirmation-widget-title {
33
+ width: 100%;
34
+ border-radius: 3px;
35
+ padding: 2px 6px 2px 2px;
36
+ user-select: none;
37
+
38
+ &.monaco-button {
39
+ display: flex;
40
+ align-items: center;
41
+ border: 0;
42
+ }
43
+ }
44
+
45
+ .chat-confirmation-widget-container {
46
+ position: relative;
47
+
48
+ > .monaco-progress-container.active {
49
+ position: absolute;
50
+ left: 0px;
51
+ right: 0;
52
+ top: 0px;
53
+ border-top-left-radius: 10px;
54
+ border-top-right-radius: 10px;
55
+ }
56
+
57
+ .chat-collapsible-top-level-resource-group {
58
+ margin-top: -12px;
59
+ margin-bottom: 12px;
60
+ }
61
+ }
62
+
63
+ .chat-confirmation-widget .chat-confirmation-widget-title.expandable {
64
+ cursor: pointer;
65
+ margin-left: 0;
66
+ }
67
+
68
+ .chat-confirmation-widget .chat-confirmation-widget-title-inner {
69
+ flex-grow: 1;
70
+ flex-basis: 0;
71
+ }
72
+
73
+ .chat-confirmation-widget .chat-confirmation-widget-title p,
74
+ .chat-confirmation-widget .chat-confirmation-widget-title .rendered-markdown {
75
+ display: inline;
76
+ color: var(--vscode-descriptionForeground);
77
+ }
78
+
79
+ .chat-confirmation-widget .chat-confirmation-widget-title p {
80
+ margin: 0 !important;
81
+ }
82
+
83
+ .chat-confirmation-widget .chat-confirmation-widget-title .codicon-error {
84
+ color: var(--vscode-errorForeground) !important;
85
+ }
86
+
87
+ .chat-confirmation-widget .chat-confirmation-widget-title .chat-confirmation-widget-expando {
88
+ display: flex;
89
+ align-items: center;
90
+ }
91
+
92
+ .chat-confirmation-widget .chat-confirmation-widget-title.monaco-button {
93
+ &:hover {
94
+ background: var(--vscode-toolbar-hoverBackground);
95
+ }
96
+
97
+ &:active {
98
+ background: var(--vscode-toolbar-activeBackground);
99
+ }
100
+
101
+ .monaco-button-mdlabel {
102
+ display: flex;
103
+ width: 100%;
104
+ text-align: left;
105
+ align-items: center;
106
+ }
107
+ }
108
+
109
+ .chat-confirmation-widget-message h3 {
110
+ font-weight: 600;
111
+ margin: 4px 0 8px;
112
+ font-size: 12px;
113
+ }
114
+
115
+ .chat-confirmation-widget .chat-confirmation-widget-title .rendered-markdown p a {
116
+ color: inherit;
117
+ }
118
+
119
+ .chat-confirmation-widget-title small {
120
+ font-size: 1em;
121
+
122
+ &::before {
123
+ content: ' \2013 ';
124
+ }
125
+ }
126
+
127
+ .chat-confirmation-widget .chat-buttons-container,
128
+ .chat-confirmation-widget .chat-confirmation-widget-message {
129
+ flex-basis: 100%;
130
+ padding: 0 8px;
131
+ margin: 8px 0;
132
+
133
+
134
+ &:last-child {
135
+ margin-bottom: 0;
136
+ }
137
+ }
138
+
139
+ .chat-confirmation-widget .chat-confirmation-widget-message-container {
140
+ border: 1px solid var(--vscode-chat-requestBorder);
141
+ border-radius: 4px;
142
+ font-size: var(--vscode-chat-font-size-body-s);
143
+ }
144
+
145
+ .chat-confirmation-widget .chat-buttons-container {
146
+ display: flex;
147
+ justify-content: space-between;
148
+ align-items: center;
149
+ gap: 8px;
150
+ }
151
+
152
+ .chat-confirmation-widget .chat-buttons {
153
+ display: flex;
154
+ gap: 8px;
155
+ }
156
+
157
+ .chat-confirmation-widget .chat-toolbar {
158
+ display: flex;
159
+ align-items: center;
160
+ }
161
+
162
+ .chat-confirmation-widget.collapsed .chat-confirmation-widget-message {
163
+ display: none;
164
+ }
165
+
166
+ .chat-confirmation-widget .chat-confirmation-widget-message .rendered-markdown p {
167
+ margin-top: 0;
168
+ }
169
+
170
+ .chat-confirmation-widget .chat-confirmation-widget-message .rendered-markdown > :last-child {
171
+ margin-bottom: 0px;
172
+ }
173
+
174
+ .chat-confirmation-widget .chat-confirmation-widget-message .see-more {
175
+ margin-top: -4px;
176
+
177
+ a {
178
+ color: var(--vscode-textLink-foreground);
179
+ text-decoration: underline;
180
+ display: block;
181
+ cursor: pointer;
182
+ }
183
+ }
184
+
185
+ .chat-confirmation-widget .chat-buttons-container:last-child {
186
+ margin-bottom: 8px;
187
+ }
188
+
189
+ .chat-confirmation-widget-container.hideButtons .chat-buttons-container {
190
+ display: none;
191
+ }
192
+
193
+ .chat-collapsible-io-resource-group {
194
+ display: flex;
195
+ gap: 8px;
196
+ align-items: center;
197
+ margin-bottom: 8px !important;
198
+
199
+ .chat-collapsible-io-resource-items {
200
+ display: flex;
201
+ align-items: center;
202
+
203
+ .chat-attached-context {
204
+ margin-bottom: 0 !important;
205
+ }
206
+ }
207
+ }
208
+
209
+ .chat-confirmation-widget2 {
210
+ margin-bottom: 8px;
211
+ border: 1px solid var(--vscode-chat-requestBorder);
212
+ border-radius: 4px;
213
+ }
214
+
215
+ .chat-confirmation-widget2 .chat-confirmation-widget-title {
216
+ border-bottom: 1px solid var(--vscode-chat-requestBorder);
217
+ padding: 5px 9px;
218
+ display: flex;
219
+ justify-content: space-between;
220
+ column-gap: 10px;
221
+
222
+ .rendered-markdown {
223
+ line-height: 24px !important;
224
+
225
+ p {
226
+ margin: 0 !important;
227
+ }
228
+ }
229
+
230
+ p,
231
+ .rendered-markdown {
232
+ display: inline;
233
+ }
234
+ }
235
+
236
+ .chat-confirmation-widget2 .disclaimer {
237
+ margin-bottom: 0 !important;
238
+ font-style: italic;
239
+ opacity: 0.7 !important;
240
+
241
+ .chat-markdown-part > p {
242
+ margin-bottom: 6px !important;
243
+ }
244
+ }
245
+
246
+ .chat-confirmation-widget2 .chat-confirmation-widget-message:not(:has(.chat-confirmation-message-terminal)) {
247
+ background: var(--vscode-chat-requestBackground);
248
+ border-bottom: 1px solid var(--vscode-chat-requestBorder);
249
+ padding: 6px 9px 0 9px;
250
+
251
+ .tool-postconfirm-display {
252
+ padding-bottom: 6px;
253
+ }
254
+
255
+ p {
256
+ margin-top: 0;
257
+ margin-bottom: 9px;
258
+ }
259
+ }
260
+
261
+ .chat-confirmation-widget2 .chat-confirmation-message-terminal .chat-confirmation-message-terminal-editor {
262
+ border-bottom: 1px solid var(--vscode-chat-requestBorder);
263
+ }
264
+
265
+ .chat-confirmation-widget2 .chat-confirmation-message-terminal .chat-confirmation-message-terminal-editor .interactive-result-code-block {
266
+ border: none !important;
267
+ }
268
+
269
+ .chat-confirmation-message-terminal .chat-confirmation-message-terminal-disclaimer p:last-child {
270
+ margin-bottom: 0 !important;
271
+ padding: 5px 9px 0 9px;
272
+ }
273
+
274
+ .chat-confirmation-widget-container.hideButtons .chat-confirmation-widget-buttons,
275
+ .chat-confirmation-widget-container.hideButtons .chat-toolbar-container {
276
+ display: none;
277
+ }
278
+
279
+ .chat-confirmation-widget2 .chat-confirmation-widget-buttons {
280
+ display: flex;
281
+ padding: 5px 9px;
282
+ font-size: var(--vscode-chat-font-size-body-m);
283
+
284
+ .chat-buttons {
285
+ display: flex;
286
+ column-gap: 10px;
287
+ align-items: center;
288
+
289
+ .monaco-button {
290
+ overflow-wrap: break-word;
291
+ padding: 2px 5px;
292
+ width: inherit;
293
+ }
294
+
295
+ .monaco-text-button {
296
+ padding: 2px 10px;
297
+ }
298
+ }
299
+ }
300
+
301
+ .chat-confirmation-widget2 .interactive-result-code-block.compare {
302
+ .interactive-result-header .monaco-toolbar {
303
+ display: none;
304
+ /* Don't show keep/discard for diffs shown within confirmation */
305
+ }
306
+ }
307
+
308
+ .chat-tool-invocation-part {
309
+ .chat-confirmation-widget {
310
+ border: none;
311
+ font-size: var(--vscode-chat-font-size-body-s);
312
+
313
+ .chat-confirmation-widget-message {
314
+ margin: 2px 0 0 0;
315
+ border: 1px solid var(--vscode-chat-requestBorder);
316
+ border-radius: 4px;
317
+ font-size: var(--vscode-chat-font-size-body-s);
318
+ }
319
+
320
+ }
321
+
322
+ .chat-confirmation-widget-container .chat-confirmation-widget .chat-confirmation-widget-title {
323
+ padding: 2px 6px 2px 2px;
324
+
325
+ &.monaco-button {
326
+
327
+ width: fit-content;
328
+ outline: none;
329
+ gap: 4px;
330
+ }
331
+
332
+ .codicon {
333
+ font-size: var(--vscode-chat-font-size-body-s);
334
+ }
335
+
336
+ &:hover {
337
+ background: var(--vscode-list-hoverBackground);
338
+ }
339
+ }
340
+
341
+ }
@@ -0,0 +1,27 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the MIT License. See License.txt in the project root for license information.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+ .chat-extensions-content-part {
7
+ border: 1px solid var(--vscode-chat-requestBorder);
8
+ border-bottom: none;
9
+ border-radius: 4px;
10
+ }
11
+
12
+ .chat-extensions-content-part .extension-list-item {
13
+ border-bottom: 1px solid var(--vscode-chat-requestBorder);
14
+ }
15
+
16
+ .chat-extensions-content-part .loading-extensions-element {
17
+ line-height: 18px;
18
+ padding: 4px;
19
+ font-size: 12px;
20
+ color: var(--vscode-descriptionForeground);
21
+ user-select: none;
22
+ border-bottom: 1px solid var(--vscode-chat-requestBorder);
23
+ }
24
+
25
+ .chat-extensions-content-part .loading-extensions-element .loading-message {
26
+ padding-left: 4px;
27
+ }
@@ -0,0 +1,23 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the MIT License. See License.txt in the project root for license information.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+
7
+ .chat-markdown-part {
8
+
9
+ h1,
10
+ h2,
11
+ h3,
12
+ h4,
13
+ h5,
14
+ h6 {
15
+ line-height: normal;
16
+ }
17
+
18
+ .katex-display .katex {
19
+ margin: auto;
20
+ width: fit-content;
21
+ overflow: hidden;
22
+ }
23
+ }
@@ -0,0 +1,14 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the MIT License. See License.txt in the project root for license information.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+ .chat-mcp-servers-message {
7
+ display: flex;
8
+ align-items: center;
9
+ gap: 8px;
10
+ font-style: italic;
11
+ font-size: 12px;
12
+ color: var(--vscode-descriptionForeground);
13
+ opacity: 0.8;
14
+ }
@@ -0,0 +1,75 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the MIT License. See License.txt in the project root for license information.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+ .chat-pull-request-content-part {
7
+ border: 1px solid var(--vscode-chat-requestBorder);
8
+ border-radius: 6px;
9
+ margin: 4px 0;
10
+ overflow: hidden;
11
+ }
12
+
13
+ .chat-pull-request-content-part .container .icon {
14
+ padding-right: 4px;
15
+ padding-top: 2px;
16
+ }
17
+
18
+ .chat-pull-request-content-part .content-container {
19
+ display: flex;
20
+ flex-direction: column;
21
+ }
22
+
23
+ .chat-pull-request-content-part .title-container .link {
24
+ color: var(--vscode-textLink-foreground);
25
+ flex-shrink: 0;
26
+ white-space: nowrap;
27
+ }
28
+
29
+ .chat-pull-request-content-part {
30
+
31
+ .title-container {
32
+ display: flex;
33
+ padding: 8px 12px;
34
+ border-bottom: 1px solid var(--vscode-chat-requestBorder);
35
+ }
36
+
37
+ p {
38
+ margin: 0px;
39
+ }
40
+
41
+ .description .see-more {
42
+ display: none;
43
+ position: absolute;
44
+ right: 12px;
45
+ bottom: 8px;
46
+
47
+ a {
48
+ color: var(--vscode-textLink-foreground);
49
+ text-decoration: underline;
50
+ cursor: pointer;
51
+ }
52
+ }
53
+
54
+ .description {
55
+ position: relative;
56
+ padding: 8px 12px;
57
+ background: var(--vscode-editor-background);
58
+ line-height: 1.5em;
59
+
60
+ .description-wrapper {
61
+ /* This mask fades out the end of text so the "see more" message can be displayed over it. */
62
+ mask-image:
63
+ linear-gradient(to right, rgba(0, 0, 0, 1) calc(100% - 7em), rgba(0, 0, 0, 0) calc(100% - 4.5em)),
64
+ linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 1.2em, rgba(0, 0, 0, 1) 0.15em, rgba(0, 0, 0, 1) 100%);
65
+ mask-repeat: no-repeat, no-repeat;
66
+ pointer-events: none;
67
+ /* Two lines tall, relative to font size (line-height is 1.5em) */
68
+ max-height: calc(2 * 1.5em);
69
+ }
70
+
71
+ .see-more {
72
+ display: block;
73
+ }
74
+ }
75
+ }
@@ -0,0 +1,221 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the MIT License. See License.txt in the project root for license information.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+ .chat-terminal-content-part {
7
+ flex: 1 1 auto;
8
+ min-width: 0;
9
+ }
10
+
11
+ .chat-terminal-content-part .chat-terminal-content-title {
12
+ border: 1px solid var(--vscode-chat-requestBorder);
13
+ border-radius: 4px;
14
+ padding: 0px 9px 0px 5px;
15
+ max-width: 100%;
16
+ box-sizing: border-box;
17
+ display: flex;
18
+ flex-direction: row;
19
+ align-items: flex-start;
20
+ gap: 12px;
21
+
22
+ .rendered-markdown {
23
+ display: flex;
24
+ column-gap: 4px;
25
+
26
+ p {
27
+ margin: 0 !important;
28
+ }
29
+
30
+ .monaco-tokenized-source {
31
+ background: transparent !important;
32
+ }
33
+ }
34
+ }
35
+
36
+ .chat-terminal-content-part .chat-terminal-content-title .chat-terminal-command-block {
37
+ display: flex;
38
+ gap: 0px;
39
+ align-items: flex-start;
40
+ flex: 1 1 auto;
41
+ min-width: 0;
42
+ padding-top: 1px;
43
+ }
44
+
45
+ .chat-terminal-content-part .chat-terminal-content-title .chat-terminal-command-block > .rendered-markdown {
46
+ flex: 1 1 auto;
47
+ min-width: 0;
48
+ display: flex;
49
+ column-gap: 4px;
50
+ align-items: center;
51
+ }
52
+
53
+ .chat-terminal-content-part .chat-terminal-content-title .chat-terminal-command-block > .rendered-markdown p {
54
+ display: inline-flex;
55
+ align-items: center;
56
+ column-gap: 4px;
57
+ margin: 0 !important;
58
+ }
59
+
60
+ .chat-terminal-content-part .chat-terminal-content-title .chat-terminal-command-block > .rendered-markdown .monaco-tokenized-source {
61
+ background: transparent !important;
62
+ }
63
+
64
+ .chat-terminal-content-part .chat-terminal-content-title .chat-terminal-command-block > .rendered-markdown code {
65
+ font-size: var(--vscode-chat-font-size-body-xs);
66
+ }
67
+
68
+ .chat-terminal-content-part .chat-terminal-content-title .chat-terminal-command-block .chat-terminal-command-decoration,
69
+ .chat-terminal-content-part .chat-terminal-content-title .chat-terminal-command-block .terminal-command-decoration {
70
+ display: inline-flex;
71
+ align-items: center;
72
+ justify-content: center;
73
+ font-size: 13px;
74
+ width: 16px;
75
+ height: 16px;
76
+ flex-shrink: 0;
77
+ margin-top: 2px;
78
+ }
79
+
80
+ .chat-terminal-content-part .chat-terminal-content-title .chat-terminal-command-block .chat-terminal-command-decoration.success,
81
+ .chat-terminal-content-part .chat-terminal-content-title .chat-terminal-command-block .terminal-command-decoration.success {
82
+ color: var(--vscode-terminalCommandDecoration-successBackground) !important;
83
+ }
84
+
85
+ .chat-terminal-content-part .chat-terminal-content-title .chat-terminal-command-block .chat-terminal-command-decoration.default-color,
86
+ .chat-terminal-content-part .chat-terminal-content-title .chat-terminal-command-block .terminal-command-decoration.default-color {
87
+ color: var(--vscode-terminalCommandDecoration-defaultBackground) !important;
88
+ }
89
+
90
+ .chat-terminal-content-part .chat-terminal-content-title .chat-terminal-command-block .chat-terminal-command-decoration.error,
91
+ .chat-terminal-content-part .chat-terminal-content-title .chat-terminal-command-block .terminal-command-decoration.error {
92
+ color: var(--vscode-terminalCommandDecoration-errorBackground) !important;
93
+ }
94
+
95
+ .chat-terminal-content-part .chat-terminal-content-title .chat-terminal-command-block .chat-terminal-command-decoration.default,
96
+ .chat-terminal-content-part .chat-terminal-content-title .chat-terminal-command-block .terminal-command-decoration.default {
97
+ pointer-events: none;
98
+ }
99
+
100
+ .chat-terminal-content-part .chat-terminal-content-title .chat-terminal-command-block .chat-terminal-command-decoration:focus-visible,
101
+ .chat-terminal-content-part .chat-terminal-content-title .chat-terminal-command-block .terminal-command-decoration:focus-visible {
102
+ outline: 1px solid var(--vscode-focusBorder);
103
+ outline-offset: 2px;
104
+ }
105
+
106
+ .chat-terminal-content-part .chat-terminal-action-bar {
107
+ display: flex;
108
+ gap: 4px;
109
+ margin-left: auto;
110
+ align-self: flex-start;
111
+ }
112
+
113
+ .chat-terminal-content-part .chat-terminal-content-message {
114
+ .rendered-markdown {
115
+ white-space: normal;
116
+ line-height: normal;
117
+
118
+ & > p {
119
+ color: var(--vscode-descriptionForeground);
120
+ font-size: var(--vscode-chat-font-size-body-s);
121
+ margin: 0 !important;
122
+
123
+ code {
124
+ font-size: var(--vscode-chat-font-size-body-xs);
125
+ }
126
+ }
127
+ }
128
+ }
129
+
130
+ .chat-terminal-output-container.collapsed { display: none; }
131
+ .chat-terminal-output-container {
132
+ border: 1px solid var(--vscode-chat-requestBorder);
133
+ border-bottom-left-radius: 4px;
134
+ border-bottom-right-radius: 4px;
135
+ max-height: 300px;
136
+ box-sizing: border-box;
137
+ overflow: hidden;
138
+ position: relative;
139
+ max-width: 100%;
140
+ padding: 0;
141
+ }
142
+
143
+ .chat-terminal-content-part .chat-terminal-content-title.chat-terminal-content-title-no-bottom-radius {
144
+ border-bottom-left-radius: 0px;
145
+ border-bottom-right-radius: 0px;
146
+ border-bottom: 0;
147
+ }
148
+
149
+ .chat-terminal-output-container.expanded { display: block; }
150
+ .chat-terminal-output-container > .monaco-scrollable-element {
151
+ width: 100%;
152
+ background: inherit;
153
+ }
154
+ .chat-terminal-output-container.chat-terminal-output-container-no-output .chat-terminal-output-body {
155
+ padding-bottom: 5px;
156
+ }
157
+ .chat-terminal-output-container:focus-visible {
158
+ outline: 1px solid var(--vscode-focusBorder);
159
+ outline-offset: 2px;
160
+ }
161
+ div.chat-terminal-content-part.progress-step > div.chat-terminal-output-container.expanded > div > div.chat-terminal-output-body > div > div.chat-terminal-output-terminal > div > div.xterm-scrollable-element {
162
+ margin-left: -12px;
163
+ margin-right: -12px;
164
+ padding-left: 12px;
165
+ padding-right: 12px;
166
+ box-sizing: border-box;
167
+ background: inherit;
168
+ }
169
+ .chat-terminal-output-body {
170
+ padding: 5px 0px 1px;
171
+ max-width: 100%;
172
+ box-sizing: border-box;
173
+ min-height: 0;
174
+ background: inherit;
175
+ }
176
+ .chat-terminal-output-content {
177
+ background: inherit;
178
+ }
179
+ .chat-terminal-output-terminal {
180
+ background: inherit;
181
+ }
182
+ .chat-terminal-output-terminal .xterm-viewport {
183
+ background: inherit !important;
184
+ }
185
+ .chat-terminal-output-terminal.chat-terminal-output-terminal-no-output {
186
+ display: none;
187
+ }
188
+ .chat-terminal-output {
189
+ margin: 0;
190
+ white-space: pre;
191
+ font-size: 12px;
192
+ }
193
+
194
+ .chat-terminal-output-empty {
195
+ display: none;
196
+ font-style: italic;
197
+ color: var(--vscode-descriptionForeground);
198
+ line-height: normal;
199
+ padding-left: 12px;
200
+ }
201
+ .chat-terminal-output-terminal.chat-terminal-output-terminal-no-output ~ .chat-terminal-output-empty {
202
+ display: block;
203
+ }
204
+
205
+ .chat-terminal-output-container .xterm-scrollable-element .scrollbar {
206
+ display: none;
207
+ }
208
+
209
+ .chat-terminal-output div,
210
+ .chat-terminal-output span {
211
+ height: auto;
212
+ line-height: normal;
213
+ }
214
+
215
+ .chat-terminal-output pre {
216
+ margin: 0;
217
+ }
218
+ .chat-terminal-output-info {
219
+ color: var(--vscode-descriptionForeground);
220
+ font-size: var(--vscode-chat-font-size-body-xs);
221
+ }