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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.d.ts +23 -2
  3. package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.js +64 -27
  4. package/vscode/src/vs/platform/actions/browser/actionWidgetDropdownActionViewItem.d.ts +3 -1
  5. package/vscode/src/vs/platform/actions/browser/actionWidgetDropdownActionViewItem.js +31 -28
  6. package/vscode/src/vs/platform/actions/browser/buttonbar.d.ts +2 -0
  7. package/vscode/src/vs/platform/actions/browser/buttonbar.js +71 -50
  8. package/vscode/src/vs/platform/editor/browser/editor.js +17 -7
  9. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityProvider.js +112 -129
  10. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.d.ts +10 -1
  11. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.js +110 -85
  12. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatElicitationActions.js +5 -5
  13. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.d.ts +21 -6
  14. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +308 -216
  15. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +153 -148
  16. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionHoverWidget.d.ts +27 -0
  17. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionHoverWidget.js +247 -0
  18. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.d.ts +71 -0
  19. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.js +347 -0
  20. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.d.ts +44 -0
  21. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.js +287 -0
  22. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.d.ts +20 -0
  23. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.js +89 -0
  24. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.d.ts +188 -0
  25. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.js +677 -0
  26. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentSessionHoverWidget.css +98 -0
  27. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentsessionsviewer.css +263 -0
  28. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentModel.js +34 -25
  29. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets.d.ts +19 -14
  30. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets.js +762 -359
  31. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatImplicitContext.d.ts +22 -1
  32. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatImplicitContext.js +188 -99
  33. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.d.ts +9 -3
  34. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.js +166 -113
  35. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.d.ts +12 -5
  36. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.js +279 -213
  37. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.d.ts +46 -0
  38. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +533 -0
  39. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.d.ts +28 -0
  40. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +382 -0
  41. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.d.ts +101 -0
  42. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.js +509 -0
  43. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/media/chatEditingEditorOverlay.css +130 -0
  44. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/media/chatEditingExplanationWidget.css +276 -0
  45. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.d.ts +24 -7
  46. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.js +128 -52
  47. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +153 -0
  48. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +1218 -0
  49. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/media/chatSessionPickerActionItem.css +14 -0
  50. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/searchableOptionPickerActionItem.d.ts +39 -0
  51. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/searchableOptionPickerActionItem.js +193 -0
  52. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewWelcomeController.d.ts +2 -0
  53. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewWelcomeController.js +93 -89
  54. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcome.js +5 -2
  55. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatAgentHover.js +42 -47
  56. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentMarkdownRenderer.js +58 -56
  57. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAgentCommandContentPart.js +18 -14
  58. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAnonymousRateLimitedPart.js +17 -15
  59. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAttachmentsContentPart.d.ts +6 -2
  60. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAttachmentsContentPart.js +132 -68
  61. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatChangesSummaryPart.d.ts +0 -2
  62. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatChangesSummaryPart.js +68 -47
  63. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCodeCitationContentPart.js +14 -13
  64. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleContentPart.d.ts +4 -4
  65. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleContentPart.js +36 -24
  66. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleMarkdownContentPart.d.ts +18 -0
  67. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleMarkdownContentPart.js +32 -0
  68. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollections.d.ts +7 -2
  69. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollections.js +15 -4
  70. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCommandContentPart.d.ts +1 -0
  71. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCommandContentPart.js +22 -14
  72. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationContentPart.d.ts +0 -2
  73. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationContentPart.js +34 -27
  74. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationWidget.d.ts +1 -5
  75. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationWidget.js +198 -135
  76. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatContentCodePools.d.ts +2 -0
  77. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatContentCodePools.js +38 -10
  78. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatDiffBlockPart.js +29 -27
  79. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatElicitationContentPart.d.ts +0 -2
  80. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatElicitationContentPart.js +41 -36
  81. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatErrorConfirmationPart.d.ts +0 -2
  82. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatErrorConfirmationPart.js +23 -18
  83. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatErrorContentPart.js +13 -13
  84. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatExtensionsContentPart.d.ts +0 -3
  85. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatExtensionsContentPart.js +20 -14
  86. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatInlineAnchorWidget.d.ts +11 -1
  87. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatInlineAnchorWidget.js +291 -152
  88. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownContentPart.d.ts +2 -3
  89. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownContentPart.js +227 -162
  90. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownDecorationsRenderer.js +68 -72
  91. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMcpServersInteractionContentPart.d.ts +2 -4
  92. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMcpServersInteractionContentPart.js +76 -75
  93. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMultiDiffContentPart.d.ts +2 -5
  94. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMultiDiffContentPart.js +96 -76
  95. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatProgressContentPart.d.ts +4 -1
  96. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatProgressContentPart.js +74 -38
  97. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatPullRequestContentPart.d.ts +0 -2
  98. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatPullRequestContentPart.js +11 -25
  99. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.d.ts +107 -0
  100. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.js +814 -0
  101. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuotaExceededPart.d.ts +0 -2
  102. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuotaExceededPart.js +34 -29
  103. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatReferencesContentPart.d.ts +8 -10
  104. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatReferencesContentPart.js +236 -197
  105. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentContentPart.d.ts +123 -0
  106. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentContentPart.js +492 -0
  107. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSuggestNextWidget.js +75 -47
  108. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTaskContentPart.d.ts +2 -4
  109. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTaskContentPart.js +31 -20
  110. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTextEditContentPart.d.ts +0 -3
  111. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTextEditContentPart.js +42 -36
  112. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.d.ts +55 -7
  113. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.js +714 -148
  114. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTipContentPart.d.ts +7 -0
  115. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTipContentPart.js +21 -0
  116. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTodoListWidget.d.ts +2 -7
  117. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTodoListWidget.js +143 -153
  118. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolInputOutputContentPart.d.ts +14 -5
  119. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolInputOutputContentPart.js +79 -61
  120. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolOutputContentSubPart.d.ts +10 -4
  121. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolOutputContentSubPart.js +209 -77
  122. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTreeContentPart.d.ts +9 -7
  123. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTreeContentPart.js +71 -54
  124. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatWorkspaceEditContentPart.d.ts +18 -0
  125. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatWorkspaceEditContentPart.js +83 -0
  126. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/codeBlockPart.d.ts +4 -4
  127. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/codeBlockPart.js +248 -190
  128. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatConfirmationWidget.css +1 -14
  129. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatInlineAnchorWidget.css +23 -0
  130. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatPullRequestContent.css +5 -41
  131. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatQuestionCarousel.css +493 -0
  132. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatSubagentContent.css +63 -0
  133. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatTerminalToolProgressPart.css +9 -1
  134. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatThinkingContent.css +121 -5
  135. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatTipContent.css +37 -0
  136. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/abstractToolConfirmationSubPart.js +51 -45
  137. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatExtensionsInstallToolSubPart.js +46 -42
  138. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatInputOutputMarkdownProgressPart.d.ts +4 -2
  139. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatInputOutputMarkdownProgressPart.js +99 -67
  140. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppModel.d.ts +112 -0
  141. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppModel.js +634 -0
  142. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppSubPart.d.ts +49 -0
  143. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppSubPart.js +132 -0
  144. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatResultListSubPart.js +15 -9
  145. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolConfirmationSubPart.js +196 -149
  146. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolProgressPart.d.ts +17 -1
  147. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolProgressPart.js +577 -193
  148. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolConfirmationSubPart.js +119 -86
  149. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationPart.d.ts +10 -2
  150. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationPart.js +165 -36
  151. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationSubPart.d.ts +0 -2
  152. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationSubPart.js +5 -8
  153. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolOutputPart.d.ts +5 -3
  154. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolOutputPart.js +75 -65
  155. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPartUtilities.js +30 -28
  156. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPostExecuteConfirmationPart.d.ts +1 -5
  157. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPostExecuteConfirmationPart.js +102 -106
  158. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolProgressPart.js +44 -20
  159. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolStreamingSubPart.d.ts +19 -0
  160. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolStreamingSubPart.js +67 -0
  161. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/terminalToolAutoExpand.d.ts +57 -0
  162. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/terminalToolAutoExpand.js +69 -0
  163. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatDragAndDrop.js +122 -82
  164. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListRenderer.d.ts +39 -12
  165. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListRenderer.js +1110 -597
  166. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListWidget.d.ts +291 -0
  167. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListWidget.js +485 -0
  168. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatOptions.js +38 -28
  169. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidget.d.ts +9 -20
  170. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidget.js +650 -689
  171. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatFollowups.js +21 -18
  172. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.d.ts +102 -36
  173. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.js +1253 -790
  174. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPartWidgets.d.ts +0 -7
  175. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPartWidgets.js +11 -11
  176. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPickerActionItem.d.ts +34 -0
  177. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPickerActionItem.js +55 -0
  178. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatSelectedTools.d.ts +6 -2
  179. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatSelectedTools.js +51 -35
  180. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.d.ts +22 -0
  181. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.js +102 -0
  182. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modePickerActionItem.d.ts +16 -4
  183. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modePickerActionItem.js +192 -44
  184. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPickerActionItem.d.ts +11 -12
  185. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPickerActionItem.js +99 -66
  186. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.d.ts +47 -0
  187. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.js +188 -0
  188. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/workspacePickerActionItem.d.ts +20 -0
  189. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/workspacePickerActionItem.js +115 -0
  190. package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chat.css +129 -167
  191. package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatViewWelcome.css +16 -3
  192. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageDetails.d.ts +37 -0
  193. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageDetails.js +143 -0
  194. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageWidget.d.ts +56 -0
  195. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageWidget.js +206 -0
  196. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatContextUsageDetails.css +152 -0
  197. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatContextUsageWidget.css +67 -0
  198. package/vscode/src/vs/workbench/contrib/chat/common/widget/annotations.d.ts +22 -0
  199. package/vscode/src/vs/workbench/contrib/chat/common/widget/annotations.js +170 -0
  200. package/vscode/src/vs/workbench/contrib/chat/common/widget/chatColors.d.ts +1 -0
  201. package/vscode/src/vs/workbench/contrib/chat/common/widget/chatColors.js +80 -19
  202. package/vscode/src/vs/workbench/contrib/chat/common/widget/chatWidgetHistoryService.js +20 -28
  203. package/vscode/src/vs/workbench/contrib/chat/common/widget/codeBlockModelCollection.d.ts +2 -1
  204. package/vscode/src/vs/workbench/contrib/chat/common/widget/codeBlockModelCollection.js +22 -19
  205. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAffordance.d.ts +15 -0
  206. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAffordance.js +122 -0
  207. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.d.ts +19 -104
  208. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +316 -1040
  209. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditorAffordance.d.ts +28 -0
  210. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditorAffordance.js +162 -0
  211. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatGutterAffordance.d.ts +21 -0
  212. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatGutterAffordance.js +98 -0
  213. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatOverlayWidget.d.ts +68 -0
  214. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatOverlayWidget.js +416 -0
  215. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.d.ts +1 -6
  216. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +194 -215
  217. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.d.ts +0 -1
  218. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +74 -104
  219. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css +45 -91
  220. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatEditorAffordance.css +22 -0
  221. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatOverlayWidget.css +98 -0
  222. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.d.ts +5 -2
  223. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +96 -68
  224. package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveCommon.d.ts +7 -0
  225. package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveCommon.js +11 -0
  226. package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.d.ts +20 -0
  227. package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.js +150 -0
  228. package/vscode/src/vs/workbench/contrib/markdown/browser/markedKatexSupport.js +141 -147
  229. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpToolCallUI.d.ts +64 -0
  230. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpToolCallUI.js +200 -0
  231. package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocolApps.d.ts +548 -0
  232. package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocolApps.js +23 -0
  233. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.d.ts +22 -0
  234. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +338 -0
  235. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/notebookVisibleCellObserver.d.ts +18 -0
  236. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/notebookVisibleCellObserver.js +58 -0
  237. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.d.ts +75 -0
  238. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +364 -0
  239. package/vscode/src/vs/workbench/contrib/replNotebook/browser/interactiveEditor.css +21 -0
  240. package/vscode/src/vs/workbench/contrib/replNotebook/browser/media/interactive.css +36 -0
  241. package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.d.ts +110 -0
  242. package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.js +692 -0
  243. package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.d.ts +40 -0
  244. package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.js +158 -0
  245. package/vscode/src/vs/workbench/contrib/terminal/browser/chatTerminalCommandMirror.d.ts +80 -21
  246. package/vscode/src/vs/workbench/contrib/terminal/browser/chatTerminalCommandMirror.js +440 -82
  247. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatInputRelatedFilesContrib.d.ts +0 -34
  248. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatInputRelatedFilesContrib.js +0 -139
  249. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.d.ts +0 -10
  250. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +0 -1081
  251. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.d.ts +0 -199
  252. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +0 -482
  253. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +0 -28
  254. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.js +0 -37
  255. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.d.ts +0 -94
  256. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +0 -495
  257. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.d.ts +0 -72
  258. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +0 -454
  259. package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.d.ts +0 -13
  260. package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +0 -66
  261. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.d.ts +0 -41
  262. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.js +0 -372
  263. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.d.ts +0 -4
  264. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.js +0 -58
  265. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.d.ts +0 -26
  266. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +0 -594
  267. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.d.ts +0 -8
  268. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.js +0 -55
  269. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.d.ts +0 -273
  270. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +0 -1746
  271. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.d.ts +0 -50
  272. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +0 -269
  273. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.d.ts +0 -258
  274. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +0 -806
  275. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.d.ts +0 -41
  276. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +0 -116
  277. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.d.ts +0 -17
  278. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.js +0 -62
  279. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.d.ts +0 -27
  280. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.js +0 -40
  281. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.d.ts +0 -23
  282. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.js +0 -295
  283. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.d.ts +0 -51
  284. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.js +0 -241
  285. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.d.ts +0 -24
  286. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.js +0 -146
  287. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.d.ts +0 -28
  288. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.js +0 -90
  289. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.d.ts +0 -10
  290. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.js +0 -41
  291. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.d.ts +0 -21
  292. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.js +0 -42
  293. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.d.ts +0 -25
  294. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.js +0 -77
  295. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiff.css +0 -469
  296. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.d.ts +0 -149
  297. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +0 -823
  298. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.d.ts +0 -180
  299. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +0 -29
  300. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.d.ts +0 -102
  301. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +0 -567
  302. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.d.ts +0 -30
  303. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.js +0 -189
  304. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.d.ts +0 -75
  305. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.js +0 -439
  306. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.d.ts +0 -57
  307. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +0 -263
  308. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditorInput.d.ts +0 -22
  309. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditorInput.js +0 -48
  310. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.d.ts +0 -13
  311. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.js +0 -39
  312. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.d.ts +0 -19
  313. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.js +0 -89
  314. package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.d.ts +0 -26
  315. package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.js +0 -92
  316. package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiffEditorInput.d.ts +0 -33
  317. package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiffEditorInput.js +0 -108
@@ -0,0 +1,98 @@
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
+ .agent-session-hover {
7
+ display: flex;
8
+ flex-direction: column;
9
+
10
+ .agent-session-hover-loading {
11
+ display: flex;
12
+ align-items: center;
13
+ justify-content: center;
14
+ height: 100%;
15
+ color: var(--vscode-descriptionForeground);
16
+ }
17
+
18
+ /* Header section with session details */
19
+ .agent-session-hover-header {
20
+ height: 60px;
21
+ padding: 0 12px;
22
+ border-bottom: 1px solid var(--vscode-widget-border);
23
+ flex-shrink: 0;
24
+ display: flex;
25
+ flex-direction: column;
26
+ justify-content: center;
27
+ }
28
+
29
+ .agent-session-hover-title {
30
+ font-weight: 600;
31
+ font-size: 13px;
32
+ margin-bottom: 4px;
33
+ color: var(--vscode-foreground);
34
+ display: flex;
35
+ align-items: center;
36
+ gap: 6px;
37
+ overflow: hidden;
38
+ text-overflow: ellipsis;
39
+ white-space: nowrap;
40
+ }
41
+
42
+ .agent-session-hover-details {
43
+ font-size: 11px;
44
+ color: var(--vscode-descriptionForeground);
45
+ display: flex;
46
+ align-items: center;
47
+ gap: 4px;
48
+ flex-wrap: wrap;
49
+
50
+ .codicon {
51
+ display: flex;
52
+ align-items: center;
53
+ }
54
+ }
55
+
56
+ .agent-session-hover-details .separator {
57
+ opacity: 0.5;
58
+ }
59
+
60
+ .agent-session-hover-diff {
61
+ display: flex;
62
+ align-items: center;
63
+ gap: 4px;
64
+ }
65
+
66
+ .agent-session-hover-diff .insertions {
67
+ color: var(--vscode-chat-linesAddedForeground);
68
+ }
69
+
70
+ .agent-session-hover-diff .deletions {
71
+ color: var(--vscode-chat-linesRemovedForeground);
72
+ }
73
+
74
+ /* Content area with chat list */
75
+ .agent-session-hover-content {
76
+ flex: 1;
77
+ min-height: 0;
78
+ opacity: 0;
79
+ animation: agentSessionHoverFadeIn 0.2s ease-out forwards;
80
+ margin: 0 -8px;
81
+
82
+ .interactive-session .interactive-item-container {
83
+ padding: 0;
84
+ }
85
+ }
86
+ }
87
+
88
+ @keyframes agentSessionHoverFadeIn {
89
+ from {
90
+ opacity: 0;
91
+ transform: translateY(4px);
92
+ }
93
+
94
+ to {
95
+ opacity: 1;
96
+ transform: translateY(0);
97
+ }
98
+ }
@@ -0,0 +1,263 @@
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
+ .agent-sessions-viewer {
7
+
8
+ flex: 1 1 auto;
9
+ height: 100%;
10
+ min-height: 0;
11
+
12
+ .monaco-list-row .force-no-twistie {
13
+ display: none !important;
14
+ }
15
+
16
+ .monaco-list-row.selected .agent-session-details-row {
17
+ color: unset;
18
+
19
+ .rendered-markdown {
20
+ a {
21
+ color: unset;
22
+ }
23
+ }
24
+
25
+ .agent-session-diff-container {
26
+ background-color: unset;
27
+ outline: 1px solid var(--vscode-agentSessionSelectedBadge-border);
28
+
29
+ .agent-session-diff-added,
30
+ .agent-session-diff-removed {
31
+ color: unset;
32
+ }
33
+ }
34
+
35
+ .agent-session-badge {
36
+ background-color: unset;
37
+ outline: 1px solid var(--vscode-agentSessionSelectedBadge-border);
38
+ }
39
+ }
40
+
41
+ .monaco-list:not(:focus) .monaco-list-row.selected .agent-session-details-row .agent-session-diff-container,
42
+ .monaco-list:not(:focus) .monaco-list-row.selected .agent-session-details-row .agent-session-badge {
43
+ outline: 1px solid var(--vscode-agentSessionSelectedUnfocusedBadge-border);
44
+ }
45
+
46
+ .monaco-list-row .agent-session-title-toolbar {
47
+ /* for the absolute positioning of the toolbar below */
48
+ position: relative;
49
+ height: 16px;
50
+
51
+ .monaco-toolbar {
52
+ /* this is required because the overal height (including the padding needed for hover feedback) would push down the title otherwise */
53
+ position: relative;
54
+ right: 0;
55
+ top: 0;
56
+ display: none;
57
+ }
58
+ }
59
+
60
+ .monaco-list-row:hover .agent-session-title-toolbar,
61
+ .monaco-list-row.focused .agent-session-title-toolbar {
62
+
63
+ .monaco-toolbar {
64
+ display: block;
65
+ }
66
+ }
67
+
68
+ .agent-session-item {
69
+ display: flex;
70
+ flex-direction: row;
71
+ /* to offset from possible scrollbar */
72
+ padding: 8px 12px 8px 8px;
73
+
74
+ &.archived {
75
+ color: var(--vscode-descriptionForeground);
76
+ }
77
+
78
+ .agent-session-main-col,
79
+ .agent-session-title-row,
80
+ .agent-session-details-row {
81
+ flex: 1;
82
+ min-width: 0;
83
+ }
84
+
85
+ .agent-session-icon-col {
86
+ display: flex;
87
+ align-items: flex-start;
88
+
89
+ .agent-session-icon {
90
+ flex-shrink: 0;
91
+ font-size: 16px;
92
+
93
+ &.codicon.codicon-session-in-progress {
94
+ color: var(--vscode-textLink-foreground);
95
+ }
96
+
97
+ &.codicon.codicon-error {
98
+ color: var(--vscode-errorForeground);
99
+ }
100
+
101
+ &.codicon.codicon-report {
102
+ color: var(--vscode-textLink-foreground);
103
+ }
104
+
105
+ &.codicon.codicon-circle-filled {
106
+ color: var(--vscode-textLink-foreground);
107
+ }
108
+
109
+ &.codicon.codicon-circle-small-filled {
110
+ color: var(--vscode-agentSessionReadIndicator-foreground);
111
+ }
112
+ }
113
+ }
114
+
115
+ .agent-session-main-col {
116
+ padding-left: 8px;
117
+ }
118
+
119
+ .agent-session-title-row,
120
+ .agent-session-details-row {
121
+ display: flex;
122
+ align-items: center;
123
+ line-height: 16px;
124
+ }
125
+
126
+ .agent-session-title-row {
127
+ padding-bottom: 4px;
128
+ }
129
+
130
+ .agent-session-details-row {
131
+ gap: 4px;
132
+ font-size: 12px;
133
+ color: var(--vscode-descriptionForeground);
134
+
135
+ .rendered-markdown {
136
+ p {
137
+ display: flex;
138
+ align-items: center;
139
+ margin: 0;
140
+
141
+ > span.codicon {
142
+ margin-right: 2px;
143
+ }
144
+ }
145
+
146
+ a {
147
+ color: var(--vscode-descriptionForeground);
148
+ }
149
+ }
150
+
151
+ .agent-session-diff-container,
152
+ .agent-session-badge {
153
+ background-color: var(--vscode-toolbar-hoverBackground);
154
+ font-weight: 500;
155
+ padding: 0 4px;
156
+ font-variant-numeric: tabular-nums;
157
+ border-radius: 5px;
158
+ overflow: hidden;
159
+ }
160
+
161
+ .agent-session-diff-container {
162
+ display: flex;
163
+ gap: 4px;
164
+
165
+ &:not(.has-diff) {
166
+ display: none;
167
+ }
168
+
169
+ .agent-session-diff-added {
170
+ color: var(--vscode-chat-linesAddedForeground);
171
+ }
172
+
173
+ .agent-session-diff-removed {
174
+ color: var(--vscode-chat-linesRemovedForeground);
175
+ }
176
+ }
177
+
178
+ .agent-session-badge {
179
+
180
+ p {
181
+ overflow: hidden;
182
+ }
183
+
184
+ &:not(.has-badge) {
185
+ display: none;
186
+ }
187
+
188
+ .codicon {
189
+ font-size: 12px;
190
+ }
191
+ }
192
+ }
193
+
194
+ .agent-session-title,
195
+ .agent-session-description {
196
+ /* push other items to the end */
197
+ flex: 1;
198
+ text-overflow: ellipsis;
199
+ overflow: hidden;
200
+ }
201
+
202
+ .agent-session-status {
203
+ display: flex;
204
+ align-items: center;
205
+ font-variant-numeric: tabular-nums;
206
+
207
+ .agent-session-status-provider-icon {
208
+ font-size: 12px;
209
+ margin-right: 4px;
210
+
211
+ &.hidden {
212
+ display: none;
213
+ }
214
+ }
215
+ }
216
+ }
217
+
218
+ .agent-session-section {
219
+ display: flex;
220
+ align-items: center;
221
+ font-size: 11px;
222
+ color: var(--vscode-descriptionForeground);
223
+ text-transform: uppercase;
224
+ letter-spacing: 0.5px;
225
+ /* align with session item padding */
226
+ padding: 0 12px 0 8px;
227
+
228
+ .agent-session-section-label {
229
+ flex: 1;
230
+ }
231
+
232
+ .agent-session-section-toolbar {
233
+ /* for the absolute positioning of the toolbar below */
234
+ position: relative;
235
+
236
+ .monaco-toolbar {
237
+ /* this is required because the overal height (including the padding needed for hover feedback) would push down the label otherwise */
238
+ position: absolute;
239
+ right: 0;
240
+ top: 0;
241
+ display: none;
242
+ }
243
+ }
244
+ }
245
+
246
+ .monaco-list-row:hover .agent-session-section .agent-session-section-toolbar,
247
+ .monaco-list-row.focused .agent-session-section .agent-session-section-toolbar {
248
+ width: 22px;
249
+
250
+ .monaco-toolbar {
251
+ display: block;
252
+ }
253
+ }
254
+
255
+ .monaco-list:focus .monaco-list-row.focused.selected .agent-session-section-label,
256
+ .monaco-list:focus .monaco-list-row.selected .agent-session-section-label {
257
+ color: var(--vscode-list-activeSelectionForeground);
258
+ }
259
+
260
+ .monaco-list:not(:focus) .monaco-list-row.selected .agent-session-section-label {
261
+ color: var(--vscode-list-inactiveSelectionForeground);
262
+ }
263
+ }
@@ -32,8 +32,7 @@ let ChatAttachmentModel = class ChatAttachmentModel extends Disposable {
32
32
  return this._attachments.size;
33
33
  }
34
34
  get fileAttachments() {
35
- return ( this.attachments.filter(file => file.kind === 'file' && URI.isUri(file.value))
36
- .map(file => file.value));
35
+ return ( this.attachments.filter(file => file.kind === "file" && URI.isUri(file.value)).map(file => file.value));
37
36
  }
38
37
  getAttachmentIDs() {
39
38
  return ( new Set(( this._attachments.keys())));
@@ -45,17 +44,16 @@ let ChatAttachmentModel = class ChatAttachmentModel extends Disposable {
45
44
  this.addContext(context);
46
45
  }
47
46
  return;
48
- }
49
- else {
47
+ } else {
50
48
  this.addContext(this.asFileVariableEntry(uri, range));
51
49
  }
52
50
  }
53
51
  addFolder(uri) {
54
52
  this.addContext({
55
- kind: 'directory',
53
+ kind: "directory",
56
54
  value: uri,
57
55
  id: ( uri.toString()),
58
- name: basename(uri),
56
+ name: basename(uri)
59
57
  });
60
58
  }
61
59
  clear(clearStickyAttachments = false) {
@@ -63,9 +61,12 @@ let ChatAttachmentModel = class ChatAttachmentModel extends Disposable {
63
61
  const deleted = Array.from(( this._attachments.keys()));
64
62
  this._attachments.clear();
65
63
  this._fileWatchers.clearAndDisposeAll();
66
- this._onDidChange.fire({ deleted, added: [], updated: [] });
67
- }
68
- else {
64
+ this._onDidChange.fire({
65
+ deleted,
66
+ added: [],
67
+ updated: []
68
+ });
69
+ } else {
69
70
  const deleted = [];
70
71
  const allIds = Array.from(( this._attachments.keys()));
71
72
  for (const id of allIds) {
@@ -76,7 +77,11 @@ let ChatAttachmentModel = class ChatAttachmentModel extends Disposable {
76
77
  deleted.push(id);
77
78
  }
78
79
  }
79
- this._onDidChange.fire({ deleted, added: [], updated: [] });
80
+ this._onDidChange.fire({
81
+ deleted,
82
+ added: [],
83
+ updated: []
84
+ });
80
85
  }
81
86
  }
82
87
  addContext(...attachments) {
@@ -107,8 +112,7 @@ let ChatAttachmentModel = class ChatAttachmentModel extends Disposable {
107
112
  this._attachments.set(item.id, item);
108
113
  added.push(item);
109
114
  this._watchAttachment(item);
110
- }
111
- else if (!equals(oldItem, item)) {
115
+ } else if (!equals(oldItem, item)) {
112
116
  this._fileWatchers.deleteAndDispose(item.id);
113
117
  this._attachments.set(item.id, item);
114
118
  updated.push(item);
@@ -116,7 +120,11 @@ let ChatAttachmentModel = class ChatAttachmentModel extends Disposable {
116
120
  }
117
121
  }
118
122
  if (deleted.length > 0 || added.length > 0 || updated.length > 0) {
119
- this._onDidChange.fire({ deleted, added, updated });
123
+ this._onDidChange.fire({
124
+ deleted,
125
+ added,
126
+ updated
127
+ });
120
128
  }
121
129
  }
122
130
  _watchAttachment(attachment) {
@@ -124,7 +132,10 @@ let ChatAttachmentModel = class ChatAttachmentModel extends Disposable {
124
132
  if (!uri || uri.scheme !== Schemas.file) {
125
133
  return;
126
134
  }
127
- const watcher = this.fileService.createWatcher(uri, { recursive: false, excludes: [] });
135
+ const watcher = this.fileService.createWatcher(uri, {
136
+ recursive: false,
137
+ excludes: []
138
+ });
128
139
  const onDidChangeListener = watcher.onDidChange(e => {
129
140
  if (e.contains(uri, FileChangeType.DELETED)) {
130
141
  this.updateContext([attachment.id], Iterable.empty());
@@ -134,17 +145,19 @@ let ChatAttachmentModel = class ChatAttachmentModel extends Disposable {
134
145
  }
135
146
  asFileVariableEntry(uri, range) {
136
147
  return {
137
- kind: 'file',
138
- value: range ? { uri, range } : uri,
139
- id: ( uri.toString()) + (range?.toString() ?? ''),
140
- name: basename(uri),
148
+ kind: "file",
149
+ value: range ? {
150
+ uri,
151
+ range
152
+ } : uri,
153
+ id: ( uri.toString()) + (range?.toString() ?? ""),
154
+ name: basename(uri)
141
155
  };
142
156
  }
143
157
  async asImageVariableEntry(uri) {
144
158
  if (uri.scheme === Schemas.file && (await this.fileService.canHandleResource(uri))) {
145
159
  return await this.chatAttachmentResolveService.resolveImageEditorAttachContext(uri);
146
- }
147
- else if (uri.scheme === Schemas.http || uri.scheme === Schemas.https) {
160
+ } else if (uri.scheme === Schemas.http || uri.scheme === Schemas.https) {
148
161
  const extractedImages = await this.webContentExtractorService.readImage(uri, CancellationToken.None);
149
162
  if (extractedImages) {
150
163
  return await this.chatAttachmentResolveService.resolveImageEditorAttachContext(uri, extractedImages);
@@ -153,10 +166,6 @@ let ChatAttachmentModel = class ChatAttachmentModel extends Disposable {
153
166
  return undefined;
154
167
  }
155
168
  };
156
- ChatAttachmentModel = ( __decorate([
157
- ( __param(0, IFileService)),
158
- ( __param(1, ISharedWebContentExtractorService)),
159
- ( __param(2, IChatAttachmentResolveService))
160
- ], ChatAttachmentModel));
169
+ ChatAttachmentModel = ( __decorate([( __param(0, IFileService)), ( __param(1, ISharedWebContentExtractorService)), ( __param(2, IChatAttachmentResolveService))], ChatAttachmentModel));
161
170
 
162
171
  export { ChatAttachmentModel };
@@ -5,6 +5,7 @@ import { IRange } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/cor
5
5
  import { Location, SymbolKind } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages";
6
6
  import { MenuId } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions";
7
7
  import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service";
8
+ import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
8
9
  import { IScopedContextKeyService, RawContextKey } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey";
9
10
  import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
10
11
  import { IOpenEditorOptions } from "../../../../../platform/editor/browser/editor.js";
@@ -30,6 +31,7 @@ declare abstract class AbstractChatAttachmentWidget extends Disposable {
30
31
  protected readonly currentLanguageModel: ILanguageModelChatMetadataAndIdentifier | undefined;
31
32
  protected readonly commandService: ICommandService;
32
33
  protected readonly openerService: IOpenerService;
34
+ protected readonly configurationService: IConfigurationService;
33
35
  protected readonly terminalService?: ITerminalService | undefined;
34
36
  readonly element: HTMLElement;
35
37
  readonly label: IResourceLabel;
@@ -40,7 +42,7 @@ declare abstract class AbstractChatAttachmentWidget extends Disposable {
40
42
  constructor(attachment: IChatRequestVariableEntry, options: {
41
43
  shouldFocusClearButton: boolean;
42
44
  supportsDeletion: boolean;
43
- }, container: HTMLElement, contextResourceLabels: ResourceLabels, currentLanguageModel: ILanguageModelChatMetadataAndIdentifier | undefined, commandService: ICommandService, openerService: IOpenerService, terminalService?: ITerminalService | undefined);
45
+ }, container: HTMLElement, contextResourceLabels: ResourceLabels, currentLanguageModel: ILanguageModelChatMetadataAndIdentifier | undefined, commandService: ICommandService, openerService: IOpenerService, configurationService: IConfigurationService, terminalService?: ITerminalService | undefined);
44
46
  protected modelSupportsVision(): boolean;
45
47
  protected attachClearButton(): void;
46
48
  protected addResourceOpenHandlers(resource: URI, range: IRange | undefined): void;
@@ -55,7 +57,7 @@ export declare class FileAttachmentWidget extends AbstractChatAttachmentWidget {
55
57
  constructor(resource: URI, range: IRange | undefined, attachment: IChatRequestVariableEntry, correspondingContentReference: IChatContentReference | undefined, currentLanguageModel: ILanguageModelChatMetadataAndIdentifier | undefined, options: {
56
58
  shouldFocusClearButton: boolean;
57
59
  supportsDeletion: boolean;
58
- }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, openerService: IOpenerService, themeService: IThemeService, hoverService: IHoverService, languageModelsService: ILanguageModelsService, instantiationService: IInstantiationService);
60
+ }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, openerService: IOpenerService, configurationService: IConfigurationService, themeService: IThemeService, hoverService: IHoverService, languageModelsService: ILanguageModelsService, instantiationService: IInstantiationService);
59
61
  private renderOmittedWarning;
60
62
  }
61
63
  export declare class TerminalCommandAttachmentWidget extends AbstractChatAttachmentWidget {
@@ -64,7 +66,7 @@ export declare class TerminalCommandAttachmentWidget extends AbstractChatAttachm
64
66
  constructor(attachment: ITerminalVariableEntry, currentLanguageModel: ILanguageModelChatMetadataAndIdentifier | undefined, options: {
65
67
  shouldFocusClearButton: boolean;
66
68
  supportsDeletion: boolean;
67
- }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, openerService: IOpenerService, hoverService: IHoverService, terminalService: ITerminalService);
69
+ }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, openerService: IOpenerService, configurationService: IConfigurationService, hoverService: IHoverService, terminalService: ITerminalService);
68
70
  }
69
71
  export declare class ImageAttachmentWidget extends AbstractChatAttachmentWidget {
70
72
  private readonly hoverService;
@@ -73,7 +75,7 @@ export declare class ImageAttachmentWidget extends AbstractChatAttachmentWidget
73
75
  constructor(resource: URI | undefined, attachment: IChatRequestVariableEntry, currentLanguageModel: ILanguageModelChatMetadataAndIdentifier | undefined, options: {
74
76
  shouldFocusClearButton: boolean;
75
77
  supportsDeletion: boolean;
76
- }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, openerService: IOpenerService, hoverService: IHoverService, languageModelsService: ILanguageModelsService, instantiationService: IInstantiationService, labelService: ILabelService);
78
+ }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, openerService: IOpenerService, configurationService: IConfigurationService, hoverService: IHoverService, languageModelsService: ILanguageModelsService, instantiationService: IInstantiationService, labelService: ILabelService);
77
79
  }
78
80
  export declare class PasteAttachmentWidget extends AbstractChatAttachmentWidget {
79
81
  private readonly hoverService;
@@ -81,15 +83,18 @@ export declare class PasteAttachmentWidget extends AbstractChatAttachmentWidget
81
83
  constructor(attachment: IChatRequestPasteVariableEntry, currentLanguageModel: ILanguageModelChatMetadataAndIdentifier | undefined, options: {
82
84
  shouldFocusClearButton: boolean;
83
85
  supportsDeletion: boolean;
84
- }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, openerService: IOpenerService, hoverService: IHoverService, instantiationService: IInstantiationService);
86
+ }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, openerService: IOpenerService, configurationService: IConfigurationService, hoverService: IHoverService, instantiationService: IInstantiationService);
85
87
  }
86
88
  export declare class DefaultChatAttachmentWidget extends AbstractChatAttachmentWidget {
87
89
  private readonly contextKeyService;
88
90
  private readonly instantiationService;
91
+ private readonly hoverService;
92
+ private readonly _tooltipHover;
89
93
  constructor(resource: URI | undefined, range: IRange | undefined, attachment: IChatRequestVariableEntry, correspondingContentReference: IChatContentReference | undefined, currentLanguageModel: ILanguageModelChatMetadataAndIdentifier | undefined, options: {
90
94
  shouldFocusClearButton: boolean;
91
95
  supportsDeletion: boolean;
92
- }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, openerService: IOpenerService, contextKeyService: IContextKeyService, instantiationService: IInstantiationService);
96
+ }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, openerService: IOpenerService, configurationService: IConfigurationService, contextKeyService: IContextKeyService, instantiationService: IInstantiationService, hoverService: IHoverService);
97
+ private _setupTooltipHover;
93
98
  }
94
99
  export declare class PromptFileAttachmentWidget extends AbstractChatAttachmentWidget {
95
100
  private readonly labelService;
@@ -98,20 +103,20 @@ export declare class PromptFileAttachmentWidget extends AbstractChatAttachmentWi
98
103
  constructor(attachment: IPromptFileVariableEntry, currentLanguageModel: ILanguageModelChatMetadataAndIdentifier | undefined, options: {
99
104
  shouldFocusClearButton: boolean;
100
105
  supportsDeletion: boolean;
101
- }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, openerService: IOpenerService, labelService: ILabelService, instantiationService: IInstantiationService);
106
+ }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, openerService: IOpenerService, configurationService: IConfigurationService, labelService: ILabelService, instantiationService: IInstantiationService);
102
107
  private updateLabel;
103
108
  }
104
109
  export declare class PromptTextAttachmentWidget extends AbstractChatAttachmentWidget {
105
110
  constructor(attachment: IPromptTextVariableEntry, currentLanguageModel: ILanguageModelChatMetadataAndIdentifier | undefined, options: {
106
111
  shouldFocusClearButton: boolean;
107
112
  supportsDeletion: boolean;
108
- }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, openerService: IOpenerService, preferencesService: IPreferencesService, hoverService: IHoverService);
113
+ }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, openerService: IOpenerService, configurationService: IConfigurationService, preferencesService: IPreferencesService, hoverService: IHoverService);
109
114
  }
110
115
  export declare class ToolSetOrToolItemAttachmentWidget extends AbstractChatAttachmentWidget {
111
116
  constructor(attachment: ChatRequestToolReferenceEntry, currentLanguageModel: ILanguageModelChatMetadataAndIdentifier | undefined, options: {
112
117
  shouldFocusClearButton: boolean;
113
118
  supportsDeletion: boolean;
114
- }, container: HTMLElement, contextResourceLabels: ResourceLabels, toolsService: ILanguageModelToolsService, commandService: ICommandService, openerService: IOpenerService, hoverService: IHoverService);
119
+ }, container: HTMLElement, contextResourceLabels: ResourceLabels, toolsService: ILanguageModelToolsService, commandService: ICommandService, openerService: IOpenerService, configurationService: IConfigurationService, hoverService: IHoverService);
115
120
  }
116
121
  export declare class NotebookCellOutputChatAttachmentWidget extends AbstractChatAttachmentWidget {
117
122
  private readonly hoverService;
@@ -121,7 +126,7 @@ export declare class NotebookCellOutputChatAttachmentWidget extends AbstractChat
121
126
  constructor(resource: URI, attachment: INotebookOutputVariableEntry, currentLanguageModel: ILanguageModelChatMetadataAndIdentifier | undefined, options: {
122
127
  shouldFocusClearButton: boolean;
123
128
  supportsDeletion: boolean;
124
- }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, openerService: IOpenerService, hoverService: IHoverService, languageModelsService: ILanguageModelsService, notebookService: INotebookService, instantiationService: IInstantiationService);
129
+ }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, openerService: IOpenerService, configurationService: IConfigurationService, hoverService: IHoverService, languageModelsService: ILanguageModelsService, notebookService: INotebookService, instantiationService: IInstantiationService);
125
130
  getAriaLabel(attachment: INotebookOutputVariableEntry): string;
126
131
  private renderErrorOutput;
127
132
  private renderGenericOutput;
@@ -132,13 +137,13 @@ export declare class ElementChatAttachmentWidget extends AbstractChatAttachmentW
132
137
  constructor(attachment: IElementVariableEntry, currentLanguageModel: ILanguageModelChatMetadataAndIdentifier | undefined, options: {
133
138
  shouldFocusClearButton: boolean;
134
139
  supportsDeletion: boolean;
135
- }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, openerService: IOpenerService, editorService: IEditorService);
140
+ }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, openerService: IOpenerService, configurationService: IConfigurationService, editorService: IEditorService);
136
141
  }
137
142
  export declare class SCMHistoryItemAttachmentWidget extends AbstractChatAttachmentWidget {
138
143
  constructor(attachment: ISCMHistoryItemVariableEntry, currentLanguageModel: ILanguageModelChatMetadataAndIdentifier | undefined, options: {
139
144
  shouldFocusClearButton: boolean;
140
145
  supportsDeletion: boolean;
141
- }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, markdownRendererService: IMarkdownRendererService, hoverService: IHoverService, openerService: IOpenerService, themeService: IThemeService);
146
+ }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, markdownRendererService: IMarkdownRendererService, hoverService: IHoverService, openerService: IOpenerService, configurationService: IConfigurationService, themeService: IThemeService);
142
147
  private _openAttachment;
143
148
  }
144
149
  export declare class SCMHistoryItemChangeAttachmentWidget extends AbstractChatAttachmentWidget {
@@ -146,7 +151,7 @@ export declare class SCMHistoryItemChangeAttachmentWidget extends AbstractChatAt
146
151
  constructor(attachment: ISCMHistoryItemChangeVariableEntry, currentLanguageModel: ILanguageModelChatMetadataAndIdentifier | undefined, options: {
147
152
  shouldFocusClearButton: boolean;
148
153
  supportsDeletion: boolean;
149
- }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, hoverService: IHoverService, markdownRendererService: IMarkdownRendererService, openerService: IOpenerService, themeService: IThemeService, editorService: IEditorService);
154
+ }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, hoverService: IHoverService, markdownRendererService: IMarkdownRendererService, openerService: IOpenerService, configurationService: IConfigurationService, themeService: IThemeService, editorService: IEditorService);
150
155
  protected openResource(resource: URI, options: IOpenEditorOptions, isDirectory: true): Promise<void>;
151
156
  protected openResource(resource: URI, options: IOpenEditorOptions, isDirectory: false, range: IRange | undefined): Promise<void>;
152
157
  }
@@ -155,7 +160,7 @@ export declare class SCMHistoryItemChangeRangeAttachmentWidget extends AbstractC
155
160
  constructor(attachment: ISCMHistoryItemChangeRangeVariableEntry, currentLanguageModel: ILanguageModelChatMetadataAndIdentifier | undefined, options: {
156
161
  shouldFocusClearButton: boolean;
157
162
  supportsDeletion: boolean;
158
- }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, openerService: IOpenerService, editorService: IEditorService);
163
+ }, container: HTMLElement, contextResourceLabels: ResourceLabels, commandService: ICommandService, openerService: IOpenerService, configurationService: IConfigurationService, editorService: IEditorService);
159
164
  protected openResource(resource: URI, options: IOpenEditorOptions, isDirectory: true): Promise<void>;
160
165
  protected openResource(resource: URI, options: IOpenEditorOptions, isDirectory: false, range: IRange | undefined): Promise<void>;
161
166
  }