@codingame/monaco-vscode-katex-common 24.2.0 → 25.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. package/package.json +3 -3
  2. package/vscode/src/vs/platform/actions/browser/buttonbar.js +3 -3
  3. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAccessibilityProvider.d.ts → accessibility/chatAccessibilityProvider.d.ts} +1 -1
  4. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAccessibilityProvider.js → accessibility/chatAccessibilityProvider.js} +25 -20
  5. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.js +19 -19
  6. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatElicitationActions.js +4 -4
  7. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +31 -31
  8. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +15 -15
  9. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAttachmentModel.d.ts → attachments/chatAttachmentModel.d.ts} +4 -2
  10. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAttachmentModel.js → attachments/chatAttachmentModel.js} +24 -3
  11. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAttachmentWidgets.d.ts → attachments/chatAttachmentWidgets.d.ts} +4 -4
  12. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAttachmentWidgets.js → attachments/chatAttachmentWidgets.js} +80 -89
  13. package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → attachments}/chatImplicitContext.d.ts +4 -4
  14. package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → attachments}/chatImplicitContext.js +23 -11
  15. package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → attachments}/chatInputRelatedFilesContrib.d.ts +1 -1
  16. package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → attachments}/chatInputRelatedFilesContrib.js +2 -2
  17. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.d.ts +4 -3
  18. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.js +47 -21
  19. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.d.ts +1 -1
  20. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.js +39 -39
  21. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.js +3 -3
  22. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewWelcomeController.js +5 -5
  23. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAgentHover.d.ts → widget/chatAgentHover.d.ts} +3 -3
  24. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAgentHover.js → widget/chatAgentHover.js} +4 -4
  25. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatAgentCommandContentPart.d.ts +3 -3
  26. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatAgentCommandContentPart.js +2 -2
  27. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatAnonymousRateLimitedPart.d.ts +2 -2
  28. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatAnonymousRateLimitedPart.js +2 -2
  29. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatAttachmentsContentPart.d.ts +2 -2
  30. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatAttachmentsContentPart.js +3 -3
  31. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatChangesSummaryPart.d.ts +10 -13
  32. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatChangesSummaryPart.js +59 -119
  33. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCodeCitationContentPart.d.ts +2 -2
  34. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCodeCitationContentPart.js +2 -2
  35. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCollapsibleContentPart.d.ts +11 -4
  36. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCollapsibleContentPart.js +31 -10
  37. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCommandContentPart.d.ts +3 -3
  38. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCommandContentPart.js +2 -2
  39. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatConfirmationContentPart.d.ts +4 -4
  40. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatConfirmationContentPart.js +5 -5
  41. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatConfirmationWidget.d.ts +9 -18
  42. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatConfirmationWidget.js +31 -99
  43. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatContentCodePools.d.ts +1 -1
  44. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatContentCodePools.js +1 -1
  45. package/vscode/src/vs/workbench/contrib/chat/browser/{chatDiffBlockPart.d.ts → widget/chatContentParts/chatDiffBlockPart.d.ts} +2 -2
  46. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatElicitationContentPart.d.ts +3 -3
  47. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatElicitationContentPart.js +3 -3
  48. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatErrorConfirmationPart.d.ts +4 -4
  49. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatErrorConfirmationPart.js +2 -2
  50. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatErrorContentPart.d.ts +3 -3
  51. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatErrorContentPart.js +1 -1
  52. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatExtensionsContentPart.d.ts +3 -3
  53. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatExtensionsContentPart.js +1 -1
  54. package/vscode/src/vs/workbench/contrib/chat/browser/{chatInlineAnchorWidget.d.ts → widget/chatContentParts/chatInlineAnchorWidget.d.ts} +2 -2
  55. package/vscode/src/vs/workbench/contrib/chat/browser/{chatInlineAnchorWidget.js → widget/chatContentParts/chatInlineAnchorWidget.js} +18 -15
  56. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMarkdownContentPart.d.ts +6 -6
  57. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMarkdownContentPart.js +15 -15
  58. package/vscode/src/vs/workbench/contrib/chat/browser/{chatMarkdownDecorationsRenderer.d.ts → widget/chatContentParts/chatMarkdownDecorationsRenderer.d.ts} +7 -7
  59. package/vscode/src/vs/workbench/contrib/chat/browser/{chatMarkdownDecorationsRenderer.js → widget/chatContentParts/chatMarkdownDecorationsRenderer.js} +9 -12
  60. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMcpServersInteractionContentPart.d.ts +3 -3
  61. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMcpServersInteractionContentPart.js +7 -7
  62. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMultiDiffContentPart.d.ts +4 -6
  63. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMultiDiffContentPart.js +31 -35
  64. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatProgressContentPart.d.ts +5 -5
  65. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatProgressContentPart.js +9 -42
  66. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatPullRequestContentPart.d.ts +3 -3
  67. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatPullRequestContentPart.js +1 -1
  68. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatQuotaExceededPart.d.ts +2 -2
  69. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatQuotaExceededPart.js +4 -4
  70. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatReferencesContentPart.d.ts +7 -6
  71. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatReferencesContentPart.js +20 -17
  72. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatSuggestNextWidget.js +5 -5
  73. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTaskContentPart.d.ts +3 -3
  74. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTaskContentPart.js +1 -1
  75. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTextEditContentPart.d.ts +2 -2
  76. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTextEditContentPart.js +3 -3
  77. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTextEditContentPart.service.d.ts +2 -2
  78. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatThinkingContentPart.d.ts +9 -7
  79. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatThinkingContentPart.js +71 -17
  80. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTodoListWidget.d.ts +1 -1
  81. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTodoListWidget.js +23 -23
  82. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatToolInputOutputContentPart.d.ts +4 -3
  83. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatToolInputOutputContentPart.js +2 -2
  84. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatToolOutputContentSubPart.d.ts +6 -3
  85. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatToolOutputContentSubPart.js +27 -11
  86. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTreeContentPart.d.ts +3 -3
  87. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTreeContentPart.js +1 -1
  88. package/vscode/src/vs/workbench/contrib/chat/browser/{codeBlockPart.d.ts → widget/chatContentParts/codeBlockPart.d.ts} +5 -5
  89. package/vscode/src/vs/workbench/contrib/chat/browser/{codeBlockPart.js → widget/chatContentParts/codeBlockPart.js} +19 -18
  90. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatThinkingContent.css +17 -14
  91. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/abstractToolConfirmationSubPart.d.ts +3 -3
  92. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/abstractToolConfirmationSubPart.js +4 -4
  93. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatExtensionsInstallToolSubPart.d.ts +2 -2
  94. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatExtensionsInstallToolSubPart.js +7 -7
  95. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatInputOutputMarkdownProgressPart.d.ts +3 -3
  96. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatInputOutputMarkdownProgressPart.js +4 -32
  97. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatResultListSubPart.d.ts +2 -2
  98. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatResultListSubPart.js +4 -1
  99. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatTerminalToolConfirmationSubPart.d.ts +4 -3
  100. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatTerminalToolConfirmationSubPart.js +103 -37
  101. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatTerminalToolProgressPart.d.ts +3 -3
  102. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatTerminalToolProgressPart.js +18 -131
  103. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolConfirmationSubPart.d.ts +6 -6
  104. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolConfirmationSubPart.js +13 -13
  105. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolInvocationPart.d.ts +4 -4
  106. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolInvocationPart.js +2 -2
  107. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolInvocationSubPart.d.ts +1 -1
  108. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolInvocationSubPart.js +1 -1
  109. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolOutputPart.d.ts +2 -2
  110. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolOutputPart.js +3 -3
  111. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPartUtilities.d.ts +14 -0
  112. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPartUtilities.js +46 -0
  113. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolPostExecuteConfirmationPart.d.ts +4 -4
  114. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolPostExecuteConfirmationPart.js +11 -10
  115. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolProgressPart.d.ts +2 -2
  116. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolProgressPart.js +1 -1
  117. package/vscode/src/vs/workbench/contrib/chat/browser/{chatDragAndDrop.d.ts → widget/chatDragAndDrop.d.ts} +3 -3
  118. package/vscode/src/vs/workbench/contrib/chat/browser/{chatDragAndDrop.js → widget/chatDragAndDrop.js} +13 -13
  119. package/vscode/src/vs/workbench/contrib/chat/browser/{chatListRenderer.d.ts → widget/chatListRenderer.d.ts} +5 -5
  120. package/vscode/src/vs/workbench/contrib/chat/browser/{chatListRenderer.js → widget/chatListRenderer.js} +41 -53
  121. package/vscode/src/vs/workbench/contrib/chat/browser/{chatWidget.d.ts → widget/chatWidget.d.ts} +18 -16
  122. package/vscode/src/vs/workbench/contrib/chat/browser/{chatWidget.js → widget/chatWidget.js} +77 -57
  123. package/vscode/src/vs/workbench/contrib/chat/browser/{chatFollowups.d.ts → widget/input/chatFollowups.d.ts} +2 -2
  124. package/vscode/src/vs/workbench/contrib/chat/browser/{chatFollowups.js → widget/input/chatFollowups.js} +3 -3
  125. package/vscode/src/vs/workbench/contrib/chat/browser/{chatInputPart.d.ts → widget/input/chatInputPart.d.ts} +14 -13
  126. package/vscode/src/vs/workbench/contrib/chat/browser/{chatInputPart.js → widget/input/chatInputPart.js} +75 -59
  127. package/vscode/src/vs/workbench/contrib/chat/browser/{chatSelectedTools.d.ts → widget/input/chatSelectedTools.d.ts} +3 -3
  128. package/vscode/src/vs/workbench/contrib/chat/browser/{chatSelectedTools.js → widget/input/chatSelectedTools.js} +2 -2
  129. package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/chatInputCompletions.js +36 -24
  130. package/vscode/src/vs/workbench/contrib/chat/browser/{modelPicker → widget/input}/modePickerActionItem.d.ts +2 -2
  131. package/vscode/src/vs/workbench/contrib/chat/browser/{modelPicker → widget/input}/modePickerActionItem.js +9 -7
  132. package/vscode/src/vs/workbench/contrib/chat/browser/{modelPicker → widget/input}/modelPickerActionItem.d.ts +4 -2
  133. package/vscode/src/vs/workbench/contrib/chat/browser/{modelPicker → widget/input}/modelPickerActionItem.js +21 -14
  134. package/vscode/src/vs/workbench/contrib/chat/browser/{media → widget/media}/chat.css +17 -16
  135. package/vscode/src/vs/workbench/contrib/chat/browser/{media → widget/media}/chatViewWelcome.css +3 -1
  136. package/vscode/src/vs/workbench/contrib/chat/common/{chatColors.js → widget/chatColors.js} +13 -13
  137. package/vscode/src/vs/workbench/contrib/chat/common/{chatWidgetHistoryService.d.ts → widget/chatWidgetHistoryService.d.ts} +2 -2
  138. package/vscode/src/vs/workbench/contrib/chat/common/{chatWidgetHistoryService.js → widget/chatWidgetHistoryService.js} +2 -2
  139. package/vscode/src/vs/workbench/contrib/chat/common/{codeBlockModelCollection.d.ts → widget/codeBlockModelCollection.d.ts} +2 -2
  140. package/vscode/src/vs/workbench/contrib/chat/common/{codeBlockModelCollection.js → widget/codeBlockModelCollection.js} +4 -3
  141. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.d.ts +7 -8
  142. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +63 -63
  143. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.d.ts +2 -2
  144. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +2 -2
  145. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.js +1 -1
  146. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.d.ts +3 -4
  147. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +16 -18
  148. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.d.ts +1 -5
  149. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +8 -18
  150. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.d.ts +3 -3
  151. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +12 -12
  152. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.d.ts +1 -1
  153. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +2 -2
  154. package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +1 -1
  155. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.d.ts +0 -1
  156. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +35 -54
  157. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.js +14 -14
  158. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.d.ts +1 -1
  159. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.js +1 -1
  160. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +2 -2
  161. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +4 -4
  162. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +7 -7
  163. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.d.ts +1 -1
  164. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +1 -1
  165. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +5 -5
  166. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
  167. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +3 -3
  168. package/vscode/src/vs/workbench/contrib/terminal/browser/chatTerminalCommandMirror.d.ts +35 -4
  169. package/vscode/src/vs/workbench/contrib/terminal/browser/chatTerminalCommandMirror.js +129 -31
  170. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/common.d.ts +0 -19
  171. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/common.js +0 -76
  172. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +0 -48
  173. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +0 -373
  174. /package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/media/{chatSessionAction.css → chatSessionPickerActionItem.css} +0 -0
  175. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentMarkdownRenderer.d.ts → widget/chatContentMarkdownRenderer.d.ts} +0 -0
  176. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentMarkdownRenderer.js → widget/chatContentMarkdownRenderer.js} +0 -0
  177. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCollections.d.ts +0 -0
  178. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCollections.js +0 -0
  179. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatDiffBlockPart.js → widget/chatContentParts/chatDiffBlockPart.js} +0 -0
  180. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatSuggestNextWidget.d.ts +0 -0
  181. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTextEditContentPart.service.js +0 -0
  182. /package/vscode/src/vs/workbench/contrib/chat/browser/{media → widget/chatContentParts/media}/chatCodeBlockPill.css +0 -0
  183. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatConfirmationWidget.css +0 -0
  184. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatExtensionsContent.css +0 -0
  185. /package/vscode/src/vs/workbench/contrib/chat/browser/{media → widget/chatContentParts/media}/chatInlineAnchorWidget.css +0 -0
  186. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatMarkdownPart.css +0 -0
  187. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatMcpServersInteractionContent.css +0 -0
  188. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatPullRequestContent.css +0 -0
  189. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatTerminalToolProgressPart.css +0 -0
  190. /package/vscode/src/vs/workbench/contrib/chat/browser/{codeBlockPart.css → widget/chatContentParts/media/codeBlockPart.css} +0 -0
  191. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatOptions.d.ts → widget/chatOptions.d.ts} +0 -0
  192. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatOptions.js → widget/chatOptions.js} +0 -0
  193. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatInputPartWidgets.d.ts → widget/input/chatInputPartWidgets.d.ts} +0 -0
  194. /package/vscode/src/vs/workbench/contrib/chat/browser/{chatInputPartWidgets.js → widget/input/chatInputPartWidgets.js} +0 -0
  195. /package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/chatInputCompletions.d.ts +0 -0
  196. /package/vscode/src/vs/workbench/contrib/chat/browser/{media → widget/media}/chatAgentHover.css +0 -0
  197. /package/vscode/src/vs/workbench/contrib/chat/common/{chatColors.d.ts → widget/chatColors.d.ts} +0 -0
@@ -42,35 +42,36 @@ import { observableConfigValue } from '@codingame/monaco-vscode-api/vscode/vs/pl
42
42
  import { ISharedWebContentExtractorService } from '@codingame/monaco-vscode-api/vscode/vs/platform/webContentExtractor/common/webContentExtractor.service';
43
43
  import { SIDE_GROUP } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService';
44
44
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
45
- import { IChatAttachmentResolveService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service';
46
- import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
47
- import { ModifiedFileEntryState } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatEditingService';
48
- import { ChatRequestRemovalReason } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatModel';
45
+ import { IChatAttachmentResolveService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.service';
46
+ import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/actions/chatContextKeys';
47
+ import { ModifiedFileEntryState } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/editing/chatEditingService';
48
+ import { ChatRequestRemovalReason } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatModel';
49
49
  import { ChatMode } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatModes';
50
- import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service';
51
- import { IDiagnosticVariableEntryFilterData } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatVariableEntries';
52
- import { isResponseVM } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatViewModel';
50
+ import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service';
51
+ import { IDiagnosticVariableEntryFilterData } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/attachments/chatVariableEntries';
52
+ import { isResponseVM } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatViewModel';
53
53
  import { ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
54
54
  import { isILanguageModelChatSelector } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModels';
55
55
  import { ILanguageModelsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModels.service';
56
56
  import { isNotebookContainingCellEditor } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/notebookEditor';
57
57
  import { INotebookEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service';
58
+ import { CellUri } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
58
59
  import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
59
- import { InlineChatConfigKeys, INLINE_CHAT_ID, CTX_INLINE_CHAT_VISIBLE, CTX_INLINE_CHAT_EDITING, CTX_INLINE_CHAT_RESPONSE_TYPE, CTX_INLINE_CHAT_REQUEST_IN_PROGRESS, InlineChatResponseType } from '../common/inlineChat.js';
60
+ import { INLINE_CHAT_ID, CTX_INLINE_CHAT_VISIBLE, CTX_INLINE_CHAT_EDITING, CTX_INLINE_CHAT_RESPONSE_TYPE, CTX_INLINE_CHAT_REQUEST_IN_PROGRESS, InlineChatConfigKeys, InlineChatResponseType } from '../common/inlineChat.js';
60
61
  import { Session } from './inlineChatSession.js';
61
62
  import { moveToPanelChat } from './inlineChatSessionService.js';
62
63
  import { IInlineChatSessionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service';
63
64
  import { InlineChatError } from './inlineChatSessionServiceImpl.js';
64
65
  import { LiveStrategy, HunkAction } from './inlineChatStrategies.js';
65
66
  import { InlineChatZoneWidget } from './inlineChatZoneWidget.js';
66
- import { derived } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/derived';
67
67
  import { observableValue } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/observableValue';
68
68
  import { observableSignalFromEvent } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/observableSignalFromEvent';
69
+ import { derived } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/derived';
69
70
  import { autorun } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/reactions/autorun';
70
71
  import { observableFromEvent } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/observableFromEvent';
71
72
  import { waitForState } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/utils/utilsCancellation';
72
73
 
73
- var InlineChatController_1, InlineChatController1_1, InlineChatController2_1;
74
+ var InlineChatController1_1, InlineChatController2_1;
74
75
  var State;
75
76
  (function (State) {
76
77
  State["CREATE_SESSION"] = "CREATE_SESSION";
@@ -111,50 +112,35 @@ class InlineChatRunOptions {
111
112
  return true;
112
113
  }
113
114
  }
114
- let InlineChatController = class InlineChatController {
115
- static { InlineChatController_1 = this; }
115
+ class InlineChatController {
116
116
  static { this.ID = 'editor.contrib.inlineChatController'; }
117
117
  static get(editor) {
118
- return editor.getContribution(InlineChatController_1.ID);
118
+ return editor.getContribution(InlineChatController.ID);
119
119
  }
120
- constructor(editor, configurationService, _notebookEditorService) {
121
- this._notebookEditorService = _notebookEditorService;
122
- const notebookAgent = observableConfigValue(InlineChatConfigKeys.notebookAgent, false, configurationService);
123
- this._delegate = derived(r => {
124
- const isNotebookCell = !!this._notebookEditorService.getNotebookForPossibleCell(editor);
125
- if (!isNotebookCell || notebookAgent.read(r)) {
126
- return InlineChatController2.get(editor);
127
- }
128
- else {
129
- return InlineChatController1.get(editor);
130
- }
131
- });
120
+ constructor(editor) {
121
+ this._delegate = InlineChatController2.get(editor);
132
122
  }
133
123
  dispose() {
134
124
  }
135
125
  get isActive() {
136
- return this._delegate.get().isActive;
126
+ return this._delegate.isActive;
137
127
  }
138
128
  async run(arg) {
139
- return this._delegate.get().run(arg);
129
+ return this._delegate.run(arg);
140
130
  }
141
131
  focus() {
142
- return this._delegate.get().focus();
132
+ return this._delegate.focus();
143
133
  }
144
134
  get widget() {
145
- return this._delegate.get().widget;
135
+ return this._delegate.widget;
146
136
  }
147
137
  getWidgetPosition() {
148
- return this._delegate.get().getWidgetPosition();
138
+ return this._delegate.getWidgetPosition();
149
139
  }
150
140
  acceptSession() {
151
- return this._delegate.get().acceptSession();
141
+ return this._delegate.acceptSession();
152
142
  }
153
- };
154
- InlineChatController = InlineChatController_1 = ( __decorate([
155
- ( __param(1, IConfigurationService)),
156
- ( __param(2, INotebookEditorService))
157
- ], InlineChatController));
143
+ }
158
144
  function getEditorId(editor, model) {
159
145
  return `${editor.getId()},${model.id}`;
160
146
  }
@@ -321,14 +307,14 @@ let InlineChatController1 = InlineChatController1_1 = class InlineChatController
321
307
  delete options.position;
322
308
  }
323
309
  const widgetPosition = this._showWidget(session?.headless, true, initPosition);
324
- let errorMessage = ( localize(8300, "Failed to start editor chat"));
310
+ let errorMessage = ( localize(8330, "Failed to start editor chat"));
325
311
  if (!session) {
326
312
  const createSessionCts = ( new CancellationTokenSource());
327
313
  const msgListener = Event.once(this._messages.event)(m => {
328
314
  this._log('state=_createSession) message received', m);
329
315
  if (m === Message.ACCEPT_INPUT) {
330
316
  options.autoSend = true;
331
- this._ui.value.widget.updateInfo(( localize(8301, "Getting ready...")));
317
+ this._ui.value.widget.updateInfo(( localize(8331, "Getting ready...")));
332
318
  }
333
319
  else {
334
320
  createSessionCts.cancel();
@@ -660,13 +646,13 @@ let InlineChatController1 = InlineChatController1_1 = class InlineChatController
660
646
  alert(response.result.errorDetails.message);
661
647
  }
662
648
  else if (response.response.value.length === 0) {
663
- const status = ( localize(8302, "No results, please refine your input and try again"));
649
+ const status = ( localize(8332, "No results, please refine your input and try again"));
664
650
  this._ui.value.widget.updateStatus(status, { classes: ['warn'] });
665
651
  alert(status);
666
652
  }
667
653
  else {
668
654
  this._ui.value.widget.updateStatus('');
669
- alert(( localize(8303, "Response was empty")));
655
+ alert(( localize(8333, "Response was empty")));
670
656
  }
671
657
  const position = await this._strategy.renderChanges();
672
658
  if (position) {
@@ -696,7 +682,7 @@ let InlineChatController1 = InlineChatController1_1 = class InlineChatController
696
682
  await this._strategy.apply();
697
683
  }
698
684
  catch (err) {
699
- this._dialogService.error(( localize(8304, "Failed to apply changes.", toErrorMessage(err))));
685
+ this._dialogService.error(( localize(8334, "Failed to apply changes.", toErrorMessage(err))));
700
686
  this._log('FAILED to apply changes');
701
687
  this._log(err);
702
688
  }
@@ -717,7 +703,7 @@ let InlineChatController1 = InlineChatController1_1 = class InlineChatController
717
703
  undoCancelEdits = this._strategy.cancel();
718
704
  }
719
705
  catch (err) {
720
- this._dialogService.error(( localize(8305, "Failed to discard changes.", toErrorMessage(err))));
706
+ this._dialogService.error(( localize(8335, "Failed to discard changes.", toErrorMessage(err))));
721
707
  this._log('FAILED to discard changes');
722
708
  this._log(err);
723
709
  }
@@ -841,7 +827,7 @@ let InlineChatController1 = InlineChatController1_1 = class InlineChatController
841
827
  };
842
828
  }
843
829
  _updatePlaceholder() {
844
- this._ui.value.widget.placeholder = this._session?.agent.description ?? ( localize(8306, 'Ask or edit in context'));
830
+ this._ui.value.widget.placeholder = this._session?.agent.description ?? ( localize(8336, 'Ask or edit in context'));
845
831
  }
846
832
  _updateInput(text, selectAll = true) {
847
833
  this._ui.value.widget.chatWidget.setInput(text);
@@ -1004,7 +990,7 @@ let InlineChatController2 = class InlineChatController2 {
1004
990
  get isActive() {
1005
991
  return Boolean(this._currentSession.get());
1006
992
  }
1007
- constructor(_editor, _instaService, _notebookEditorService, _inlineChatSessionService, codeEditorService, contextKeyService, _webContentExtractorService, _fileService, _chatAttachmentResolveService, _editorService, _markerDecorationsService, _languageModelService, chatService) {
993
+ constructor(_editor, _instaService, _notebookEditorService, _inlineChatSessionService, codeEditorService, contextKeyService, configurationService, _webContentExtractorService, _fileService, _chatAttachmentResolveService, _editorService, _markerDecorationsService, _languageModelService, chatService) {
1008
994
  this._editor = _editor;
1009
995
  this._instaService = _instaService;
1010
996
  this._notebookEditorService = _notebookEditorService;
@@ -1018,7 +1004,9 @@ let InlineChatController2 = class InlineChatController2 {
1018
1004
  this._store = ( new DisposableStore());
1019
1005
  this._isActiveController = observableValue(this, false);
1020
1006
  const ctxInlineChatVisible = CTX_INLINE_CHAT_VISIBLE.bindTo(contextKeyService);
1007
+ const notebookAgentConfig = observableConfigValue(InlineChatConfigKeys.notebookAgent, false, configurationService);
1021
1008
  this._zone = ( new Lazy(() => {
1009
+ assertType(this._editor.hasModel(), '[Illegal State] widget should only be created when the editor has a model');
1022
1010
  const location = {
1023
1011
  location: ChatAgentLocation.EditorInline,
1024
1012
  resolveData: () => {
@@ -1042,13 +1030,15 @@ let InlineChatController2 = class InlineChatController2 {
1042
1030
  const notebookEditor = this._notebookEditorService.getNotebookForPossibleCell(this._editor);
1043
1031
  if (!!notebookEditor) {
1044
1032
  location.location = ChatAgentLocation.Notebook;
1045
- location.resolveData = () => {
1046
- assertType(this._editor.hasModel());
1047
- return {
1048
- type: ChatAgentLocation.Notebook,
1049
- sessionInputUri: this._editor.getModel().uri,
1033
+ if (notebookAgentConfig.get()) {
1034
+ location.resolveData = () => {
1035
+ assertType(this._editor.hasModel());
1036
+ return {
1037
+ type: ChatAgentLocation.Notebook,
1038
+ sessionInputUri: this._editor.getModel().uri,
1039
+ };
1050
1040
  };
1051
- };
1041
+ }
1052
1042
  }
1053
1043
  const result = this._instaService.createInstance(InlineChatZoneWidget, location, {
1054
1044
  enableWorkingSet: 'implicit',
@@ -1119,8 +1109,8 @@ let InlineChatController2 = class InlineChatController2 {
1119
1109
  }));
1120
1110
  const defaultPlaceholderObs = ( visibleSessionObs.map((session, r) => {
1121
1111
  return session?.initialSelection.isEmpty()
1122
- ? ( localize(8307, "Generate code"))
1123
- : ( localize(8308, "Modify selected code"));
1112
+ ? ( localize(8337, "Generate code"))
1113
+ : ( localize(8338, "Modify selected code"));
1124
1114
  }));
1125
1115
  this._store.add(autorun(r => {
1126
1116
  const session = visibleSessionObs.read(r);
@@ -1146,7 +1136,16 @@ let InlineChatController2 = class InlineChatController2 {
1146
1136
  const session = visibleSessionObs.read(r);
1147
1137
  if (session) {
1148
1138
  const entries = session.editingSession.entries.read(r);
1149
- const otherEntries = entries.filter(entry => !isEqual(entry.modifiedURI, session.uri));
1139
+ const sessionCellUri = CellUri.parse(session.uri);
1140
+ const otherEntries = entries.filter(entry => {
1141
+ if (isEqual(entry.modifiedURI, session.uri)) {
1142
+ return false;
1143
+ }
1144
+ if (!!sessionCellUri && isEqual(sessionCellUri.notebook, entry.modifiedURI)) {
1145
+ return false;
1146
+ }
1147
+ return true;
1148
+ });
1150
1149
  for (const entry of otherEntries) {
1151
1150
  this._editorService.openEditor({ resource: entry.modifiedURI }, SIDE_GROUP).catch(onUnexpectedError);
1152
1151
  }
@@ -1183,7 +1182,7 @@ let InlineChatController2 = class InlineChatController2 {
1183
1182
  if (lastProgress) {
1184
1183
  placeholder = renderAsPlaintext(lastProgress.content);
1185
1184
  }
1186
- this._zone.rawValue?.widget.chatWidget.setInputPlaceholder(placeholder || ( localize(8309, "Working...")));
1185
+ this._zone.rawValue?.widget.chatWidget.setInputPlaceholder(placeholder || ( localize(8339, "Working...")));
1187
1186
  }
1188
1187
  }));
1189
1188
  this._store.add(autorun(r => {
@@ -1244,8 +1243,8 @@ let InlineChatController2 = class InlineChatController2 {
1244
1243
  if (entries.length > 0) {
1245
1244
  this._zone.value.widget.chatWidget.attachmentModel.addContext(...entries);
1246
1245
  this._zone.value.widget.chatWidget.input.setValue(entries.length > 1
1247
- ? ( localize(8310, "Fix the attached problems"))
1248
- : ( localize(8311, "Fix the attached problem")), true);
1246
+ ? ( localize(8340, "Fix the attached problems"))
1247
+ : ( localize(8341, "Fix the attached problem")), true);
1249
1248
  this._zone.value.widget.chatWidget.inputEditor.setSelection(( new Selection(1, 1, Number.MAX_SAFE_INTEGER, 1)));
1250
1249
  }
1251
1250
  if (arg && InlineChatRunOptions.isInlineChatRunOptions(arg)) {
@@ -1326,13 +1325,14 @@ InlineChatController2 = InlineChatController2_1 = ( __decorate([
1326
1325
  ( __param(3, IInlineChatSessionService)),
1327
1326
  ( __param(4, ICodeEditorService)),
1328
1327
  ( __param(5, IContextKeyService)),
1329
- ( __param(6, ISharedWebContentExtractorService)),
1330
- ( __param(7, IFileService)),
1331
- ( __param(8, IChatAttachmentResolveService)),
1332
- ( __param(9, IEditorService)),
1333
- ( __param(10, IMarkerDecorationsService)),
1334
- ( __param(11, ILanguageModelsService)),
1335
- ( __param(12, IChatService))
1328
+ ( __param(6, IConfigurationService)),
1329
+ ( __param(7, ISharedWebContentExtractorService)),
1330
+ ( __param(8, IFileService)),
1331
+ ( __param(9, IChatAttachmentResolveService)),
1332
+ ( __param(10, IEditorService)),
1333
+ ( __param(11, IMarkerDecorationsService)),
1334
+ ( __param(12, ILanguageModelsService)),
1335
+ ( __param(13, IChatService))
1336
1336
  ], InlineChatController2));
1337
1337
  async function reviewEdits(accessor, editor, stream, token, applyCodeBlockSuggestionId) {
1338
1338
  if (!editor.hasModel()) {
@@ -8,8 +8,8 @@ import { IEditorWorkerService } from "@codingame/monaco-vscode-api/vscode/vs/edi
8
8
  import { ICodeEditor } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorBrowser";
9
9
  import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
10
10
  import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
11
- import { IChatModel, IChatRequestModel, IChatTextEditGroupState } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatModel";
12
- import { IChatAgent } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents";
11
+ import { IChatModel, IChatRequestModel, IChatTextEditGroupState } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatModel";
12
+ import { IChatAgent } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatAgents";
13
13
  import { IDocumentDiff } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/editor/common/diff/documentDiffProvider";
14
14
  export type TelemetryData = {
15
15
  extension: string;
@@ -3,8 +3,8 @@ import { ICodeEditor } from "@codingame/monaco-vscode-api/vscode/vs/editor/brows
3
3
  import { Position } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/core/position";
4
4
  import { Selection } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/core/selection";
5
5
  import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
6
- import { IChatEditingSession } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatEditingService";
7
- import { IChatModel, IChatModelInputState, IChatRequestModel } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatModel";
6
+ import { IChatEditingSession } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/editing/chatEditingService";
7
+ import { IChatModel, IChatModelInputState, IChatRequestModel } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatModel";
8
8
  import { Session } from "./inlineChatSession.js";
9
9
  export interface ISessionKeyComputer {
10
10
  getComparisonKey(editor: ICodeEditor, uri: URI): string;
@@ -1,7 +1,7 @@
1
1
 
2
2
  import { ChatViewPaneTarget } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat';
3
3
  import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
4
- import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service';
4
+ import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service';
5
5
  import { ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
6
6
 
7
7
  async function moveToPanelChat(accessor, model, resend) {
@@ -20,9 +20,9 @@ import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platfo
20
20
  import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
21
21
  import { ITextFileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles.service";
22
22
  import { IChatWidgetService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service";
23
- import { IChatAgentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents.service";
24
- import { IChatService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service";
25
- import { ILanguageModelToolsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModelToolsService.service";
23
+ import { IChatAgentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatAgents.service";
24
+ import { IChatService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service";
25
+ import { ILanguageModelToolsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsService.service";
26
26
  import { Session, StashedSession } from "./inlineChatSession.js";
27
27
  import { IInlineChatSession2, IInlineChatSessionEndEvent, IInlineChatSessionEvent, ISessionKeyComputer } from "./inlineChatSessionService.js";
28
28
  import { IInlineChatSessionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service";
@@ -80,7 +80,6 @@ export declare class InlineChatSessionServiceImpl implements IInlineChatSessionS
80
80
  export declare class InlineChatEnabler {
81
81
  static Id: string;
82
82
  private readonly _ctxHasProvider2;
83
- private readonly _ctxHasNotebookInline;
84
83
  private readonly _ctxHasNotebookProvider;
85
84
  private readonly _ctxPossible;
86
85
  private readonly _store;
@@ -19,7 +19,6 @@ import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor
19
19
  import { localize, localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
20
20
  import { registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
21
21
  import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
22
- import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
23
22
  import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
24
23
  import { IDialogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service';
25
24
  import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
@@ -33,13 +32,14 @@ import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench
33
32
  import { ITextFileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles.service';
34
33
  import { UntitledTextEditorInput } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/untitled/common/untitledTextEditorInput';
35
34
  import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
36
- import { IChatAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
37
- import { ModifiedFileEntryState } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatEditingService';
38
- import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service';
35
+ import { IChatAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatAgents.service';
36
+ import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/actions/chatContextKeys';
37
+ import { ModifiedFileEntryState } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/editing/chatEditingService';
38
+ import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service';
39
39
  import { ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
40
- import { ToolDataSource } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModelToolsService';
41
- import { ILanguageModelToolsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModelToolsService.service';
42
- import { CTX_INLINE_CHAT_HAS_AGENT2, CTX_INLINE_CHAT_HAS_NOTEBOOK_INLINE, CTX_INLINE_CHAT_HAS_NOTEBOOK_AGENT, CTX_INLINE_CHAT_POSSIBLE, InlineChatConfigKeys } from '../common/inlineChat.js';
40
+ import { ToolDataSource } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsService';
41
+ import { ILanguageModelToolsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsService.service';
42
+ import { CTX_INLINE_CHAT_HAS_AGENT2, CTX_INLINE_CHAT_HAS_NOTEBOOK_AGENT, CTX_INLINE_CHAT_POSSIBLE, InlineChatConfigKeys } from '../common/inlineChat.js';
43
43
  import { Session, SessionWholeRange, HunkData, StashedSession } from './inlineChatSession.js';
44
44
  import { askInPanelChat } from './inlineChatSessionService.js';
45
45
  import { IInlineChatSessionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service';
@@ -365,7 +365,6 @@ let InlineChatEnabler = class InlineChatEnabler {
365
365
  constructor(contextKeyService, chatAgentService, editorService, configService) {
366
366
  this._store = ( new DisposableStore());
367
367
  this._ctxHasProvider2 = CTX_INLINE_CHAT_HAS_AGENT2.bindTo(contextKeyService);
368
- this._ctxHasNotebookInline = CTX_INLINE_CHAT_HAS_NOTEBOOK_INLINE.bindTo(contextKeyService);
369
368
  this._ctxHasNotebookProvider = CTX_INLINE_CHAT_HAS_NOTEBOOK_AGENT.bindTo(contextKeyService);
370
369
  this._ctxPossible = CTX_INLINE_CHAT_POSSIBLE.bindTo(contextKeyService);
371
370
  const agentObs = observableFromEvent(this, chatAgentService.onDidChangeAgents, () => chatAgentService.getDefaultAgent(ChatAgentLocation.EditorInline));
@@ -381,7 +380,6 @@ let InlineChatEnabler = class InlineChatEnabler {
381
380
  }
382
381
  }));
383
382
  this._store.add(autorun(r => {
384
- this._ctxHasNotebookInline.set(!notebookAgentConfigObs.read(r) && !!agentObs.read(r));
385
383
  this._ctxHasNotebookProvider.set(notebookAgentConfigObs.read(r) && !!notebookAgentObs.read(r));
386
384
  }));
387
385
  const updateEditor = () => {
@@ -413,7 +411,7 @@ let InlineChatEscapeToolContribution = class InlineChatEscapeToolContribution ex
413
411
  source: ToolDataSource.Internal,
414
412
  canBeReferencedInPrompt: false,
415
413
  alwaysDisplayInputOutput: false,
416
- displayName: ( localize(8312, "Inline Chat to Panel Chat")),
414
+ displayName: ( localize(8342, "Inline Chat to Panel Chat")),
417
415
  modelDescription: 'Moves the inline chat session to the richer panel chat which supports edits across files, creating and deleting files, multi-turn conversations between the user and the assistant, and access to more IDE tools, like retrieve problems, interact with source control, run terminal commands etc.',
418
416
  }; }
419
417
  constructor(lmTools, inlineChatSessionService, dialogService, codeEditorService, chatService, logService, storageService, instaService) {
@@ -438,15 +436,15 @@ let InlineChatEscapeToolContribution = class InlineChatEscapeToolContribution ex
438
436
  else {
439
437
  result = await dialogService.confirm({
440
438
  type: 'question',
441
- title: ( localize(8313, "Do you want to continue in Chat view?")),
442
- message: ( localize(8314, "Do you want to continue in Chat view?")),
439
+ title: ( localize(8343, "Do you want to continue in Chat view?")),
440
+ message: ( localize(8344, "Do you want to continue in Chat view?")),
443
441
  detail: ( localize(
444
- 8315,
442
+ 8345,
445
443
  "Inline chat is designed for making single-file code changes. Continue your request in the Chat view or rephrase it for inline chat."
446
444
  )),
447
- primaryButton: ( localize(8316, "Continue in Chat view")),
448
- cancelButton: ( localize(8317, "Cancel")),
449
- checkbox: { label: ( localize(8318, "Don't ask again")), checked: false },
445
+ primaryButton: ( localize(8346, "Continue in Chat view")),
446
+ cancelButton: ( localize(8347, "Cancel")),
447
+ checkbox: { label: ( localize(8348, "Don't ask again")), checked: false },
450
448
  });
451
449
  }
452
450
  const editor = codeEditorService.getFocusedCodeEditor();
@@ -484,8 +482,8 @@ registerAction2(class ResetMoveToPanelChatChoice extends Action2 {
484
482
  constructor() {
485
483
  super({
486
484
  id: 'inlineChat.resetMoveToPanelChatChoice',
487
- precondition: ( ( ContextKeyExpr.has('config.chat.disableAIFeatures')).negate()),
488
- title: ( localize2(8319, "Reset Choice for 'Move Inline Chat to Panel Chat'")),
485
+ precondition: ( ChatContextKeys.Setup.hidden.negate()),
486
+ title: ( localize2(8349, "Reset Choice for 'Move Inline Chat to Panel Chat'")),
489
487
  f1: true
490
488
  });
491
489
  }
@@ -9,8 +9,6 @@ import { IEditorWorkerService } from "@codingame/monaco-vscode-api/vscode/vs/edi
9
9
  import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
10
10
  import { HunkInformation, Session } from "./inlineChatSession.js";
11
11
  import { InlineChatZoneWidget } from "./inlineChatZoneWidget.js";
12
- import { IAccessibilityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/common/accessibility.service";
13
- import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
14
12
  import { ITextFileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles.service";
15
13
  import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
16
14
  import { IMenuService } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions.service";
@@ -32,8 +30,6 @@ export declare class LiveStrategy {
32
30
  protected readonly _zone: InlineChatZoneWidget;
33
31
  private readonly _showOverlayToolbar;
34
32
  protected readonly _editorWorkerService: IEditorWorkerService;
35
- private readonly _accessibilityService;
36
- private readonly _configService;
37
33
  private readonly _menuService;
38
34
  private readonly _contextService;
39
35
  private readonly _textFileService;
@@ -51,7 +47,7 @@ export declare class LiveStrategy {
51
47
  private readonly _hunkData;
52
48
  readonly onDidAccept: Event<void>;
53
49
  readonly onDidDiscard: Event<void>;
54
- constructor(_session: Session, _editor: ICodeEditor, _zone: InlineChatZoneWidget, _showOverlayToolbar: boolean, contextKeyService: IContextKeyService, _editorWorkerService: IEditorWorkerService, _accessibilityService: IAccessibilityService, _configService: IConfigurationService, _menuService: IMenuService, _contextService: IContextKeyService, _textFileService: ITextFileService, _instaService: IInstantiationService);
50
+ constructor(_session: Session, _editor: ICodeEditor, _zone: InlineChatZoneWidget, _showOverlayToolbar: boolean, contextKeyService: IContextKeyService, _editorWorkerService: IEditorWorkerService, _menuService: IMenuService, _contextService: IContextKeyService, _textFileService: ITextFileService, _instaService: IInstantiationService);
55
51
  dispose(): void;
56
52
  private _resetDiff;
57
53
  apply(): Promise<void>;
@@ -14,17 +14,15 @@ import { IEditorWorkerService } from '@codingame/monaco-vscode-api/vscode/vs/edi
14
14
  import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
15
15
  import { Progress } from '@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress';
16
16
  import { SaveReason } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
17
- import { countWords } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatWordCounter';
17
+ import { countWords } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatWordCounter';
18
18
  import { HunkState } from './inlineChatSession.js';
19
- import { minimapInlineChatDiffInserted, overviewRulerInlineChatDiffInserted, CTX_INLINE_CHAT_CHANGE_HAS_DIFF, CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF, MENU_INLINE_CHAT_ZONE, ACTION_TOGGLE_DIFF, InlineChatConfigKeys } from '../common/inlineChat.js';
19
+ import { minimapInlineChatDiffInserted, overviewRulerInlineChatDiffInserted, CTX_INLINE_CHAT_CHANGE_HAS_DIFF, CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF, MENU_INLINE_CHAT_ZONE, ACTION_TOGGLE_DIFF } from '../common/inlineChat.js';
20
20
  import { assertType } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
21
21
  import { asProgressiveEdit, performAsyncTextEdit } from './utils.js';
22
- import { IAccessibilityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/common/accessibility.service';
23
- import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
24
22
  import { ITextFileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles.service';
25
23
  import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
26
24
  import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
27
- import { DefaultChatTextEditor } from '../../chat/browser/codeBlockPart.js';
25
+ import { DefaultChatTextEditor } from '../../chat/browser/widget/chatContentParts/codeBlockPart.js';
28
26
  import { isEqual } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
29
27
  import { Iterable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/iterator';
30
28
  import { ConflictActionsFactory } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/mergeEditor/browser/view/conflictActions';
@@ -44,14 +42,12 @@ var HunkAction;
44
42
  HunkAction[HunkAction["ToggleDiff"] = 4] = "ToggleDiff";
45
43
  })(HunkAction || (HunkAction = {}));
46
44
  let LiveStrategy = class LiveStrategy {
47
- constructor(_session, _editor, _zone, _showOverlayToolbar, contextKeyService, _editorWorkerService, _accessibilityService, _configService, _menuService, _contextService, _textFileService, _instaService) {
45
+ constructor(_session, _editor, _zone, _showOverlayToolbar, contextKeyService, _editorWorkerService, _menuService, _contextService, _textFileService, _instaService) {
48
46
  this._session = _session;
49
47
  this._editor = _editor;
50
48
  this._zone = _zone;
51
49
  this._showOverlayToolbar = _showOverlayToolbar;
52
50
  this._editorWorkerService = _editorWorkerService;
53
- this._accessibilityService = _accessibilityService;
54
- this._configService = _configService;
55
51
  this._menuService = _menuService;
56
52
  this._contextService = _contextService;
57
53
  this._textFileService = _textFileService;
@@ -384,10 +380,6 @@ let LiveStrategy = class LiveStrategy {
384
380
  });
385
381
  if (widgetData) {
386
382
  this._zone.reveal(widgetData.position);
387
- const mode = this._configService.getValue(InlineChatConfigKeys.AccessibleDiffView);
388
- if (mode === 'on' || mode === 'auto' && this._accessibilityService.isScreenReaderOptimized()) {
389
- this._zone.widget.showAccessibleHunk(this._session, widgetData.hunk);
390
- }
391
383
  this._ctxCurrentChangeHasDiff.set(Boolean(widgetData.toggleDiff));
392
384
  }
393
385
  else if (this._hunkData.size > 0) {
@@ -446,12 +438,10 @@ let LiveStrategy = class LiveStrategy {
446
438
  LiveStrategy = ( __decorate([
447
439
  ( __param(4, IContextKeyService)),
448
440
  ( __param(5, IEditorWorkerService)),
449
- ( __param(6, IAccessibilityService)),
450
- ( __param(7, IConfigurationService)),
451
- ( __param(8, IMenuService)),
452
- ( __param(9, IContextKeyService)),
453
- ( __param(10, ITextFileService)),
454
- ( __param(11, IInstantiationService))
441
+ ( __param(6, IMenuService)),
442
+ ( __param(7, IContextKeyService)),
443
+ ( __param(8, ITextFileService)),
444
+ ( __param(9, IInstantiationService))
455
445
  ], LiveStrategy));
456
446
  function changeDecorationsAndViewZones(editor, callback) {
457
447
  editor.changeDecorations(decorationsAccessor => {
@@ -19,9 +19,9 @@ import { ILayoutService } from "@codingame/monaco-vscode-api/vscode/vs/platform/
19
19
  import { IMarkdownRendererService } from "@codingame/monaco-vscode-api/vscode/vs/platform/markdown/browser/markdownRenderer.service";
20
20
  import { IChatEntitlementService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/chat/common/chatEntitlementService.service";
21
21
  import { IChatWidgetViewOptions } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat";
22
- import { ChatWidget, IChatWidgetLocationOptions } from "../../chat/browser/chatWidget.js";
23
- import { IChatModel } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatModel";
24
- import { IChatService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service";
22
+ import { ChatWidget, IChatWidgetLocationOptions } from "../../chat/browser/widget/chatWidget.js";
23
+ import { IChatModel } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatModel";
24
+ import { IChatService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service";
25
25
  import { HunkInformation, Session } from "./inlineChatSession.js";
26
26
  export interface InlineChatWidgetViewState {
27
27
  editorViewState: ICodeEditorViewState;
@@ -48,14 +48,14 @@ import { IChatEntitlementService } from '@codingame/monaco-vscode-api/vscode/vs/
48
48
  import { AccessibilityVerbositySettingId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
49
49
  import { AccessibilityCommandId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/common/accessibilityCommands';
50
50
  import { MarkUnhelpfulActionId } from '../../chat/browser/actions/chatTitleActions.js';
51
- import { ChatVoteDownButton } from '../../chat/browser/chatListRenderer.js';
52
- import { ChatWidget } from '../../chat/browser/chatWidget.js';
53
- import { chatRequestBackground } from '../../chat/common/chatColors.js';
54
- import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
51
+ import { ChatVoteDownButton } from '../../chat/browser/widget/chatListRenderer.js';
52
+ import { ChatWidget } from '../../chat/browser/widget/chatWidget.js';
53
+ import { chatRequestBackground } from '../../chat/common/widget/chatColors.js';
54
+ import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/actions/chatContextKeys';
55
55
  import { ChatMode } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatModes';
56
- import { ChatAgentVoteDirection } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService';
57
- import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service';
58
- import { isResponseVM } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatViewModel';
56
+ import { ChatAgentVoteDirection } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService';
57
+ import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service';
58
+ import { isResponseVM } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatViewModel';
59
59
  import { inlineChatBackground, inlineChatForeground, CTX_INLINE_CHAT_RESPONSE_FOCUSED, CTX_INLINE_CHAT_FOCUSED } from '../common/inlineChat.js';
60
60
  import * as inlineChat from './media/inlineChat.css';
61
61
  import { observableValue } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/observableValue';
@@ -215,7 +215,7 @@ let InlineChatWidget = class InlineChatWidget {
215
215
  }));
216
216
  this._store.add(this._chatService.onDidPerformUserAction(e => {
217
217
  if (isEqual(e.sessionResource, this._chatWidget.viewModel?.model.sessionResource) && e.action.kind === 'vote') {
218
- this.updateStatus(( localize(8320, "Thank you for your feedback!")), { resetAfter: 1250 });
218
+ this.updateStatus(( localize(8350, "Thank you for your feedback!")), { resetAfter: 1250 });
219
219
  }
220
220
  }));
221
221
  }
@@ -227,12 +227,12 @@ let InlineChatWidget = class InlineChatWidget {
227
227
  const kbLabel = this._keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getLabel();
228
228
  label = kbLabel
229
229
  ? ( localize(
230
- 8321,
230
+ 8351,
231
231
  "Inline Chat Input, Use {0} for Inline Chat Accessibility Help.",
232
232
  kbLabel
233
233
  ))
234
234
  : ( localize(
235
- 8322,
235
+ 8352,
236
236
  "Inline Chat Input, Run the Inline Chat Accessibility Help command for more information."
237
237
  ));
238
238
  }
@@ -251,7 +251,7 @@ let InlineChatWidget = class InlineChatWidget {
251
251
  this._elements.disclaimerLabel.classList.toggle('hidden', !showDisclaimer);
252
252
  if (showDisclaimer) {
253
253
  const renderedMarkdown = disposables.add(this._markdownRendererService.render(( new MarkdownString(( localize(
254
- 8323,
254
+ 8353,
255
255
  "By continuing with {0} Copilot, you agree to {1}'s [Terms]({2}) and [Privacy Statement]({3})",
256
256
  product.defaultChatAgent?.provider?.default?.name ?? '',
257
257
  product.defaultChatAgent?.provider?.default?.name ?? '',
@@ -435,7 +435,7 @@ InlineChatWidget = ( __decorate([
435
435
  ( __param(11, IChatEntitlementService)),
436
436
  ( __param(12, IMarkdownRendererService))
437
437
  ], InlineChatWidget));
438
- const defaultAriaLabel = ( localize(8324, "Inline Chat Input"));
438
+ const defaultAriaLabel = ( localize(8354, "Inline Chat Input"));
439
439
  let EditorBasedInlineChatWidget = class EditorBasedInlineChatWidget extends InlineChatWidget {
440
440
  constructor(location, _parentEditor, options, contextKeyService, keybindingService, instantiationService, accessibilityService, configurationService, accessibleViewService, textModelResolverService, chatService, hoverService, layoutService, chatEntitlementService, markdownRendererService) {
441
441
  const overflowWidgetsNode = layoutService.getContainer(getWindow(_parentEditor.getContainerDomNode())).appendChild($('.inline-chat-overflow.monaco-editor'));
@@ -6,7 +6,7 @@ import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platf
6
6
  import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
7
7
  import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
8
8
  import { IChatWidgetViewOptions } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat";
9
- import { IChatWidgetLocationOptions } from "../../chat/browser/chatWidget.js";
9
+ import { IChatWidgetLocationOptions } from "../../chat/browser/widget/chatWidget.js";
10
10
  import { INotebookEditor } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
11
11
  import { EditorBasedInlineChatWidget } from "./inlineChatWidget.js";
12
12
  export declare class InlineChatZoneWidget extends ZoneWidget {