@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,21 @@
1
+ import { IReference, ReferenceCollection } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
2
+ import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
3
+ import { ITextModel } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/model";
4
+ import { CellKind } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon";
5
+ import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
6
+ import { ILanguageService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language.service";
7
+ import { IModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model.service";
8
+ import { INotebookOriginalCellModelFactory } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.service";
9
+ export declare class OriginalNotebookCellModelReferenceCollection extends ReferenceCollection<ITextModel> {
10
+ private readonly modelService;
11
+ private readonly _languageService;
12
+ constructor(modelService: IModelService, _languageService: ILanguageService);
13
+ protected createReferencedObject(_key: string, uri: URI, cellValue: string, language: string, cellKind: CellKind): ITextModel;
14
+ protected destroyReferencedObject(_key: string, model: ITextModel): void;
15
+ }
16
+ export declare class OriginalNotebookCellModelFactory implements INotebookOriginalCellModelFactory {
17
+ readonly _serviceBrand: undefined;
18
+ private readonly _data;
19
+ constructor(instantiationService: IInstantiationService);
20
+ getOrCreate(uri: URI, cellValue: string, language: string, cellKind: CellKind): IReference<ITextModel>;
21
+ }
@@ -0,0 +1,42 @@
1
+
2
+ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
+ import { ReferenceCollection } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
4
+ import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
5
+ import { CellKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
6
+ import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
7
+ import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language.service';
8
+ import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model.service';
9
+
10
+ let OriginalNotebookCellModelReferenceCollection = class OriginalNotebookCellModelReferenceCollection extends ReferenceCollection {
11
+ constructor(modelService, _languageService) {
12
+ super();
13
+ this.modelService = modelService;
14
+ this._languageService = _languageService;
15
+ }
16
+ createReferencedObject(_key, uri, cellValue, language, cellKind) {
17
+ const scheme = `${uri.scheme}-chat-edit`;
18
+ const originalCellUri = ( URI.from({ scheme, fragment: uri.fragment, path: uri.path }));
19
+ const languageSelection = this._languageService.getLanguageIdByLanguageName(language) ? this._languageService.createById(language) : cellKind === CellKind.Markup ? this._languageService.createById('markdown') : null;
20
+ return this.modelService.createModel(cellValue, languageSelection, originalCellUri);
21
+ }
22
+ destroyReferencedObject(_key, model) {
23
+ model.dispose();
24
+ }
25
+ };
26
+ OriginalNotebookCellModelReferenceCollection = ( __decorate([
27
+ ( __param(0, IModelService)),
28
+ ( __param(1, ILanguageService))
29
+ ], OriginalNotebookCellModelReferenceCollection));
30
+ let OriginalNotebookCellModelFactory = class OriginalNotebookCellModelFactory {
31
+ constructor(instantiationService) {
32
+ this._data = instantiationService.createInstance(OriginalNotebookCellModelReferenceCollection);
33
+ }
34
+ getOrCreate(uri, cellValue, language, cellKind) {
35
+ return this._data.acquire(( uri.toString()), uri, cellValue, language, cellKind);
36
+ }
37
+ };
38
+ OriginalNotebookCellModelFactory = ( __decorate([
39
+ ( __param(0, IInstantiationService))
40
+ ], OriginalNotebookCellModelFactory));
41
+
42
+ export { OriginalNotebookCellModelFactory, OriginalNotebookCellModelReferenceCollection };
@@ -0,0 +1,25 @@
1
+ import { IReference, ReferenceCollection } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
2
+ import { IModifiedFileEntry } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatEditingService";
3
+ import { INotebookService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service";
4
+ import { NotebookTextModel } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/model/notebookTextModel";
5
+ import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
6
+ import { ITextModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService.service";
7
+ import { INotebookOriginalModelReferenceFactory } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.service";
8
+ export declare class OriginalNotebookModelReferenceCollection extends ReferenceCollection<Promise<NotebookTextModel>> {
9
+ private readonly notebookService;
10
+ private readonly modelService;
11
+ private readonly modelsToDispose;
12
+ constructor(notebookService: INotebookService, modelService: ITextModelService);
13
+ protected createReferencedObject(key: string, fileEntry: IModifiedFileEntry, viewType: string): Promise<NotebookTextModel>;
14
+ protected destroyReferencedObject(key: string, modelPromise: Promise<NotebookTextModel>): void;
15
+ }
16
+ export declare class NotebookOriginalModelReferenceFactory implements INotebookOriginalModelReferenceFactory {
17
+ private readonly instantiationService;
18
+ readonly _serviceBrand: undefined;
19
+ private _resourceModelCollection;
20
+ private get resourceModelCollection();
21
+ private _asyncModelCollection;
22
+ private get asyncModelCollection();
23
+ constructor(instantiationService: IInstantiationService);
24
+ getOrCreate(fileEntry: IModifiedFileEntry, viewType: string): Promise<IReference<NotebookTextModel>>;
25
+ }
@@ -0,0 +1,77 @@
1
+
2
+ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
+ import { ReferenceCollection, AsyncReferenceCollection } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
4
+ import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
5
+ import { VSBuffer, bufferToStream } from '@codingame/monaco-vscode-api/vscode/vs/base/common/buffer';
6
+ import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
7
+ import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService.service';
8
+
9
+ let OriginalNotebookModelReferenceCollection = class OriginalNotebookModelReferenceCollection extends ReferenceCollection {
10
+ constructor(notebookService, modelService) {
11
+ super();
12
+ this.notebookService = notebookService;
13
+ this.modelService = modelService;
14
+ this.modelsToDispose = ( new Set());
15
+ }
16
+ async createReferencedObject(key, fileEntry, viewType) {
17
+ this.modelsToDispose.delete(key);
18
+ const uri = fileEntry.originalURI;
19
+ const model = this.notebookService.getNotebookTextModel(uri);
20
+ if (model) {
21
+ return model;
22
+ }
23
+ const modelRef = await this.modelService.createModelReference(uri);
24
+ const bytes = VSBuffer.fromString(modelRef.object.textEditorModel.getValue());
25
+ const stream = bufferToStream(bytes);
26
+ modelRef.dispose();
27
+ return this.notebookService.createNotebookTextModel(viewType, uri, stream);
28
+ }
29
+ destroyReferencedObject(key, modelPromise) {
30
+ this.modelsToDispose.add(key);
31
+ (async () => {
32
+ try {
33
+ const model = await modelPromise;
34
+ if (!( this.modelsToDispose.has(key))) {
35
+ return;
36
+ }
37
+ model.dispose();
38
+ }
39
+ catch (error) {
40
+ }
41
+ finally {
42
+ this.modelsToDispose.delete(key);
43
+ }
44
+ })();
45
+ }
46
+ };
47
+ OriginalNotebookModelReferenceCollection = ( __decorate([
48
+ ( __param(0, INotebookService)),
49
+ ( __param(1, ITextModelService))
50
+ ], OriginalNotebookModelReferenceCollection));
51
+ let NotebookOriginalModelReferenceFactory = class NotebookOriginalModelReferenceFactory {
52
+ get resourceModelCollection() {
53
+ if (!this._resourceModelCollection) {
54
+ this._resourceModelCollection = this.instantiationService.createInstance(OriginalNotebookModelReferenceCollection);
55
+ }
56
+ return this._resourceModelCollection;
57
+ }
58
+ get asyncModelCollection() {
59
+ if (!this._asyncModelCollection) {
60
+ this._asyncModelCollection = ( new AsyncReferenceCollection(this.resourceModelCollection));
61
+ }
62
+ return this._asyncModelCollection;
63
+ }
64
+ constructor(instantiationService) {
65
+ this.instantiationService = instantiationService;
66
+ this._resourceModelCollection = undefined;
67
+ this._asyncModelCollection = undefined;
68
+ }
69
+ getOrCreate(fileEntry, viewType) {
70
+ return this.asyncModelCollection.acquire(( fileEntry.originalURI.toString()), fileEntry, viewType);
71
+ }
72
+ };
73
+ NotebookOriginalModelReferenceFactory = ( __decorate([
74
+ ( __param(0, IInstantiationService))
75
+ ], NotebookOriginalModelReferenceFactory));
76
+
77
+ export { NotebookOriginalModelReferenceFactory, OriginalNotebookModelReferenceCollection };
@@ -0,0 +1,469 @@
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
+ /* .notebook-diff-editor {
7
+ display: flex;
8
+ flex-direction: row;
9
+ height: 100%;
10
+ width: 100%;
11
+ }
12
+ .notebook-diff-editor-modified,
13
+ .notebook-diff-editor-original {
14
+ display: flex;
15
+ height: 100%;
16
+ width: 50%;
17
+ } */
18
+
19
+ .notebook-text-diff-editor {
20
+ position: relative;
21
+ }
22
+
23
+ .notebook-text-diff-editor .cell-body {
24
+ display: flex;
25
+ flex-direction: row;
26
+ }
27
+
28
+ .notebook-text-diff-editor .cell-placeholder-body {
29
+ display: flex;
30
+ flex-direction: row;
31
+ }
32
+
33
+ .notebook-text-diff-editor .webview-cover {
34
+ user-select: initial;
35
+ -webkit-user-select: initial;
36
+ }
37
+
38
+ .notebook-text-diff-editor .cell-body .border-container {
39
+ position: absolute;
40
+ width: calc(100% - 32px);
41
+ }
42
+
43
+ .notebook-text-diff-editor .cell-body .border-container .top-border,
44
+ .notebook-text-diff-editor .cell-body .border-container .bottom-border {
45
+ position: absolute;
46
+ width: 100%;
47
+ }
48
+
49
+ .notebook-text-diff-editor .cell-body .border-container .left-border,
50
+ .notebook-text-diff-editor .cell-body .border-container .right-border {
51
+ position: absolute;
52
+ }
53
+
54
+ .notebook-text-diff-editor .cell-body .border-container .right-border {
55
+ left: 100%;
56
+ }
57
+
58
+ .notebook-text-diff-editor .cell-body.right {
59
+ flex-direction: row-reverse;
60
+ }
61
+
62
+ .notebook-text-diff-editor .cell-body .diagonal-fill {
63
+ display: none;
64
+ width: 50%;
65
+ }
66
+
67
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container {
68
+ width: 100%;
69
+ /* why we overflow hidden at the beginning?*/
70
+ /* overflow: hidden; */
71
+ }
72
+
73
+ .notebook-text-diff-editor > .notebook-diff-list-view > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row {
74
+ cursor: default;
75
+ }
76
+
77
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container .metadata-editor-container.diff,
78
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container .output-editor-container.diff,
79
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container .editor-container.diff {
80
+ /** 100% + diffOverviewWidth */
81
+ width: calc(100%);
82
+ }
83
+
84
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container .metadata-editor-container .monaco-diff-editor .diffOverview,
85
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container .editor-container.diff .monaco-diff-editor .diffOverview,
86
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container .output-editor-container.diff .monaco-diff-editor .diffOverview {
87
+ display: none;
88
+ }
89
+
90
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container .metadata-editor-container,
91
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container .editor-container {
92
+ box-sizing: border-box;
93
+ }
94
+
95
+ .notebook-text-diff-editor .cell-body.left .cell-diff-editor-container,
96
+ .notebook-text-diff-editor .cell-body.right .cell-diff-editor-container {
97
+ display: inline-block;
98
+ width: 50%;
99
+ }
100
+
101
+ .notebook-text-diff-editor .cell-body.left .diagonal-fill,
102
+ .notebook-text-diff-editor .cell-body.right .diagonal-fill {
103
+ display: inline-block;
104
+ width: 50%;
105
+ }
106
+
107
+ .notebook-text-diff-editor .cell-diff-editor-container .input-header-container,
108
+ .notebook-text-diff-editor .cell-diff-editor-container .output-header-container,
109
+ .notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container {
110
+ display: flex;
111
+ height: 24px;
112
+ align-items: center;
113
+ cursor: default;
114
+ }
115
+
116
+ .notebook-text-diff-editor .cell-diff-editor-container .input-header-container .property-folding-indicator .codicon,
117
+ .notebook-text-diff-editor .cell-diff-editor-container .output-header-container .property-folding-indicator .codicon,
118
+ .notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container .property-folding-indicator .codicon {
119
+ visibility: visible;
120
+ padding: 4px 0 0 6px;
121
+ cursor: pointer;
122
+ }
123
+
124
+ .notebook-text-diff-editor .cell-diff-editor-container .input-header-container,
125
+ .notebook-text-diff-editor .cell-diff-editor-container .output-header-container,
126
+ .notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container {
127
+ display: flex;
128
+ flex-direction: row;
129
+ align-items: center;
130
+ }
131
+
132
+ .notebook-text-diff-editor .cell-diff-editor-container .input-header-container,
133
+ .notebook-text-diff-editor .cell-diff-editor-container .output-header-container,
134
+ .notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container {
135
+ cursor: pointer;
136
+ }
137
+
138
+ .notebook-text-diff-editor .cell-diff-editor-container .input-header-container .property-toolbar,
139
+ .notebook-text-diff-editor .cell-diff-editor-container .output-header-container .property-toolbar,
140
+ .notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container .property-toolbar {
141
+ margin-left: auto;
142
+ }
143
+
144
+ .notebook-text-diff-editor .cell-diff-editor-container .input-header-container .property-status,
145
+ .notebook-text-diff-editor .cell-diff-editor-container .output-header-container .property-status,
146
+ .notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container .property-status {
147
+ font-size: 12px;
148
+ }
149
+
150
+ .notebook-text-diff-editor .cell-diff-editor-container .input-header-container .property-status span,
151
+ .notebook-text-diff-editor .cell-diff-editor-container .output-header-container .property-status span,
152
+ .notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container .property-status span {
153
+ margin: 0 0 0 5px;
154
+ line-height: 21px;
155
+ }
156
+
157
+ .notebook-text-diff-editor .cell-diff-editor-container .input-header-container .property-status span.property-description,
158
+ .notebook-text-diff-editor .cell-diff-editor-container .output-header-container .property-status span.property-description,
159
+ .notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container .property-status span.property-description {
160
+ font-style: italic;
161
+ }
162
+
163
+ .notebook-text-diff-editor {
164
+ overflow: hidden;
165
+ }
166
+
167
+ .monaco-workbench .notebook-text-diff-editor > .notebook-diff-list-view > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row {
168
+ overflow: visible !important;
169
+ }
170
+
171
+ .monaco-workbench .notebook-text-diff-editor > .notebook-diff-list-view > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row,
172
+ .monaco-workbench .notebook-text-diff-editor > .notebook-diff-list-view > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row:hover,
173
+ .monaco-workbench .notebook-text-diff-editor > .notebook-diff-list-view > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.focused {
174
+ outline: none !important;
175
+ background-color: transparent !important;
176
+ }
177
+
178
+ .notebook-text-diff-editor .cell-diff-editor-container .editor-input-toolbar-container {
179
+ position: absolute;
180
+ right: 16px;
181
+ top: 16px;
182
+ margin: 1px 2px;
183
+ }
184
+
185
+ .monaco-workbench .notebook-text-diff-editor .cell-body {
186
+ height: 0;
187
+ }
188
+
189
+ .monaco-workbench .notebook-text-diff-editor .cell-body .output-view-container {
190
+ user-select: text;
191
+ -webkit-user-select: text;
192
+ white-space: initial;
193
+ cursor: auto;
194
+ position: relative;
195
+ }
196
+
197
+ .monaco-workbench .notebook-text-diff-editor .cell-body.left .output-view-container .output-inner-container,
198
+ .monaco-workbench .notebook-text-diff-editor .cell-body.right .output-view-container .output-inner-container {
199
+ width: 100%;
200
+ padding: 0px 8px;
201
+ box-sizing: border-box;
202
+ overflow-x: hidden;
203
+ }
204
+
205
+ .monaco-workbench .notebook-text-diff-editor .cell-body.left .output-view-container .output-inner-container {
206
+ padding: 0px 8px 0px 32px;
207
+ }
208
+
209
+ .monaco-workbench .notebook-text-diff-editor .cell-body.right .output-view-container .output-inner-container {
210
+ padding: 0px 8px 0px 32px;
211
+ }
212
+
213
+ .monaco-workbench .notebook-text-diff-editor .cell-body.full .output-view-container .output-inner-container {
214
+ width: 100%;
215
+ padding: 4px 8px 4px 32px;
216
+ box-sizing: border-box;
217
+ overflow: hidden;
218
+ }
219
+
220
+ .monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container .output-view-container .output-view-container-left {
221
+ top: 0;
222
+ position: absolute;
223
+ left: 0;
224
+ }
225
+
226
+ .monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container .output-view-container .output-view-container-right {
227
+ position: absolute;
228
+ top: 0;
229
+ left: 50%;
230
+ }
231
+
232
+ .monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container .output-view-container .output-view-container-left,
233
+ .monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container .output-view-container .output-view-container-right {
234
+ width: 50%;
235
+ display: inline-block;
236
+ }
237
+
238
+ .monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container .output-view-container .output-view-container-left div.foreground,
239
+ .monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container .output-view-container .output-view-container-right div.foreground {
240
+ width: 100%;
241
+ }
242
+
243
+ .monaco-workbench .notebook-text-diff-editor .output-view-container > div.foreground {
244
+ width: 100%;
245
+ min-height: 24px;
246
+ box-sizing: border-box;
247
+ }
248
+
249
+ .monaco-workbench .notebook-text-diff-editor .output-view-container .error_message {
250
+ color: red;
251
+ }
252
+
253
+ .monaco-workbench .notebook-text-diff-editor .output-view-container .error > div {
254
+ white-space: normal;
255
+ }
256
+
257
+ .monaco-workbench .notebook-text-diff-editor .output-view-container .error pre.traceback {
258
+ box-sizing: border-box;
259
+ padding: 8px 0;
260
+ margin: 0px;
261
+ }
262
+
263
+ .monaco-workbench .notebook-text-diff-editor .output-view-container .error .traceback > span {
264
+ display: block;
265
+ }
266
+
267
+ .monaco-workbench .notebook-text-diff-editor .output-view-container .display img {
268
+ max-width: 100%;
269
+ }
270
+
271
+ .monaco-workbench .notebook-text-diff-editor .output-view-container .multi-mimetype-output {
272
+ position: absolute;
273
+ top: 4px;
274
+ left: 8px;
275
+ width: 16px;
276
+ height: 16px;
277
+ cursor: pointer;
278
+ padding: 2px 4px 4px 2px;
279
+ }
280
+
281
+ .monaco-workbench .notebook-text-diff-editor .output-view-container .output-empty-view span {
282
+ opacity: 0.7;
283
+ }
284
+
285
+ .monaco-workbench .notebook-text-diff-editor .output-view-container .output-empty-view {
286
+ font-style: italic;
287
+ height: 24px;
288
+ margin: auto;
289
+ padding-left: 12px;
290
+ }
291
+
292
+ .monaco-workbench .notebook-text-diff-editor .output-view-container pre {
293
+ margin: 4px 0;
294
+ }
295
+
296
+ .monaco-workbench .notebook-text-diff-edito .monaco-list:focus-within .monaco-list-row.focused .codicon,
297
+ .monaco-workbench .notebook-text-diff-editor .monaco-list:focus-within .monaco-list-row.selected .codicon {
298
+ color: inherit;
299
+ }
300
+
301
+ .monaco-workbench .notebook-text-diff-editor .output-view-container .output-view-container-metadata {
302
+ position: relative;
303
+ }
304
+
305
+ /* Diff decorations */
306
+
307
+ .notebook-text-diff-editor .cell-body .codicon-diff-remove,
308
+ .notebook-text-diff-editor .cell-body .codicon-diff-insert {
309
+ left: 4px !important;
310
+ width: 15px !important;
311
+ }
312
+
313
+ .monaco-workbench .notebook-text-diff-editor > .monaco-list > .monaco-scrollable-element > .scrollbar.visible {
314
+ z-index: var(--z-index-notebook-scrollbar);
315
+ cursor: default;
316
+ }
317
+
318
+ .notebook-text-diff-editor .notebook-overview-ruler-container {
319
+ position: absolute;
320
+ top: 0;
321
+ right: 0;
322
+ }
323
+
324
+ .notebook-text-diff-editor .notebook-overview-ruler-container .diffViewport {
325
+ z-index: var(--notebook-diff-view-viewport-slider);
326
+ }
327
+
328
+ .notebook-text-diff-editor .diffViewport {
329
+ background: var(--vscode-scrollbarSlider-background);
330
+ }
331
+
332
+ .notebook-text-diff-editor .diffViewport:hover {
333
+ background: var(--vscode-scrollbarSlider-hoverBackground);
334
+ }
335
+
336
+ .notebook-text-diff-editor .diffViewport:active {
337
+ background: var(--vscode-scrollbarSlider-activeBackground);
338
+ }
339
+
340
+ /** Diff cell borders */
341
+ .notebook-text-diff-editor .cell-body .border-container .top-border,
342
+ .notebook-text-diff-editor .cell-body .border-container .bottom-border,
343
+ .notebook-text-diff-editor .cell-diff-editor-container .output-header-container,
344
+ .notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container {
345
+ border-top: 1px solid var(--vscode-notebook-cellBorderColor);
346
+ }
347
+
348
+ .notebook-text-diff-editor .cell-body .border-container .left-border {
349
+ border-left: 1px solid var(--vscode-notebook-cellBorderColor);
350
+ }
351
+
352
+ .notebook-text-diff-editor .cell-body .border-container .right-border {
353
+ border-right: 1px solid var(--vscode-notebook-cellBorderColor);
354
+ }
355
+
356
+ /** Diff cell active borders */
357
+ .notebook-text-diff-editor .monaco-list-row.focused .cell-body .border-container .top-border,
358
+ .notebook-text-diff-editor .monaco-list-row.focused .cell-body .border-container .bottom-border {
359
+ border-top: 1px solid var(--vscode-notebook-focusedEditorBorder);
360
+ }
361
+
362
+ .notebook-text-diff-editor .monaco-list-row.focused .cell-body .border-container .left-border {
363
+ border-left: 1px solid var(--vscode-notebook-focusedEditorBorder);
364
+ }
365
+
366
+ .notebook-text-diff-editor .monaco-list-row.focused .cell-body .border-container .right-border {
367
+ border-right: 1px solid var(--vscode-notebook-focusedEditorBorder);
368
+ }
369
+
370
+ /** Diff cell diff background */
371
+
372
+ .monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container.modified .output-view-container .output-view-container-right div.foreground,
373
+ .monaco-workbench .notebook-text-diff-editor .cell-body.right .output-info-container .output-view-container div.foreground,
374
+ .monaco-workbench .notebook-text-diff-editor .cell-body.right .output-info-container .output-view-container div.output-empty-view,
375
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .source-container,
376
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .source-container .monaco-editor .margin,
377
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .source-container .monaco-editor .monaco-editor-background,
378
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .input-header-container,
379
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .metadata-editor-container,
380
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .metadata-editor-container .monaco-editor .margin,
381
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .metadata-editor-container .monaco-editor .monaco-editor-background,
382
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .output-editor-container,
383
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .output-editor-container .monaco-editor .margin,
384
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .output-editor-container .monaco-editor .monaco-editor-background,
385
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .metadata-header-container,
386
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.inserted .output-header-container {
387
+ background-color: var(--vscode-diffEditor-insertedTextBackground);
388
+ }
389
+
390
+ .monaco-workbench .notebook-text-diff-editor .cell-body.full .output-info-container.modified .output-view-container .output-view-container-left div.foreground,
391
+ .monaco-workbench .notebook-text-diff-editor .cell-body.left .output-info-container .output-view-container div.foreground,
392
+ .monaco-workbench .notebook-text-diff-editor .cell-body.left .output-info-container .output-view-container div.output-empty-view,
393
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .source-container,
394
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .source-container .monaco-editor .margin,
395
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .source-container .monaco-editor .monaco-editor-background,
396
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .input-header-container,
397
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .metadata-editor-container,
398
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .metadata-editor-container .monaco-editor .margin,
399
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .metadata-editor-container .monaco-editor .monaco-editor-background,
400
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .output-editor-container,
401
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .output-editor-container .monaco-editor .margin,
402
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .output-editor-container .monaco-editor .monaco-editor-background,
403
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .metadata-header-container,
404
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container.removed .output-header-container {
405
+ background-color: var(--vscode-diffEditor-removedTextBackground);
406
+ }
407
+
408
+ /** Diff cell editor background */
409
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container .source-container .monaco-editor .margin,
410
+ .notebook-text-diff-editor .cell-body .cell-diff-editor-container .source-container .monaco-editor .monaco-editor-background {
411
+ background: var(--vscode-notebook-cellEditorBackground, var(--vscode-editor-background));
412
+ }
413
+
414
+ /** Overlay to hide the unchanged cells */
415
+ .notebook-text-diff-editor .cell-body.full div.diff-hidden-cells {
416
+ position: absolute;
417
+ left: 0;
418
+
419
+ font-size: 13px;
420
+ line-height: 14px;
421
+ }
422
+
423
+ .notebook-text-diff-editor .cell-body.full div.diff-hidden-cells .center {
424
+ color: var(--vscode-diffEditor-unchangedRegionForeground);
425
+ overflow: hidden;
426
+ display: block;
427
+ white-space: nowrap;
428
+
429
+ height: 24px;
430
+ }
431
+
432
+ .notebook-text-diff-editor .cell-body.full div.diff-hidden-cells .center span.codicon {
433
+ vertical-align: middle;
434
+ }
435
+
436
+ .notebook-text-diff-editor .cell-body.full div.diff-hidden-cells .center a:hover .codicon {
437
+ cursor: pointer;
438
+ }
439
+
440
+ /** Overlay to unhide the unchanged cells */
441
+ .notebook-text-diff-editor .cell-placeholder-body {
442
+ background: var(--vscode-diffEditor-unchangedRegionBackground);
443
+ color: var(--vscode-diffEditor-unchangedRegionForeground);
444
+ min-height: 24px;
445
+ }
446
+
447
+ .notebook-text-diff-editor .cell-placeholder-body div.diff-hidden-cells .center {
448
+ overflow: hidden;
449
+ display: block;
450
+ text-overflow: ellipsis;
451
+ white-space: nowrap;
452
+
453
+ height: 24px;
454
+ }
455
+
456
+ .notebook-text-diff-editor .cell-placeholder-body .text {
457
+ /** Add a gap between text and the unfold icon */
458
+ padding-left: 2px;
459
+ }
460
+
461
+ .notebook-text-diff-editor .cell-placeholder-body div.diff-hidden-cells .center span.codicon,
462
+ .notebook-text-diff-editor .cell-placeholder-body .text {
463
+ vertical-align: middle;
464
+ }
465
+
466
+ .notebook-text-diff-editor .cell-placeholder-body div.diff-hidden-cells .center a:hover .codicon {
467
+ cursor: pointer;
468
+ color: var(--vscode-editorLink-activeForeground) !important;
469
+ }