@codingame/monaco-vscode-katex-common 31.0.0 → 32.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 (220) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.d.ts +15 -3
  3. package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.js +6 -5
  4. package/vscode/src/vs/platform/actions/browser/buttonbar.d.ts +5 -1
  5. package/vscode/src/vs/platform/actions/browser/buttonbar.js +45 -14
  6. package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.d.ts +15 -1
  7. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityProvider.js +16 -16
  8. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.js +15 -10
  9. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatElicitationActions.js +1 -1
  10. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +51 -54
  11. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +10 -10
  12. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolActions.js +11 -11
  13. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.js +13 -13
  14. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionHoverWidget.d.ts +3 -1
  15. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionHoverWidget.js +45 -23
  16. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.js +13 -7
  17. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.js +9 -9
  18. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.js +5 -3
  19. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.d.ts +4 -1
  20. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.js +46 -32
  21. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentModel.js +8 -0
  22. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets.d.ts +23 -1
  23. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets.js +155 -46
  24. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatImplicitContext.d.ts +1 -0
  25. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatImplicitContext.js +20 -1
  26. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.d.ts +4 -1
  27. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.js +37 -14
  28. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.js +34 -34
  29. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.js +1 -1
  30. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/media/chatSessionPickerActionItem.css +1 -0
  31. package/vscode/src/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService.d.ts +28 -0
  32. package/vscode/src/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService.js +250 -0
  33. package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolSetsContribution.js +13 -13
  34. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatAgentHover.js +14 -11
  35. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatArtifactsWidget.js +10 -10
  36. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAgentCommandContentPart.js +1 -1
  37. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAnonymousRateLimitedPart.js +2 -2
  38. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAttachmentsContentPart.js +7 -2
  39. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatChangesSummaryPart.js +1 -1
  40. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCodeCitationContentPart.js +1 -1
  41. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCommandContentPart.js +1 -1
  42. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationContentPart.js +7 -3
  43. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationWidget.d.ts +12 -2
  44. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationWidget.js +51 -20
  45. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatDisabledClaudeHooksContentPart.js +3 -3
  46. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatElicitationContentPart.d.ts +6 -1
  47. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatElicitationContentPart.js +56 -3
  48. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatExtensionsContentPart.js +1 -1
  49. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatHookContentPart.js +1 -1
  50. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/buffers/paragraphBuffer.d.ts +1 -1
  51. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/buffers/paragraphBuffer.js +2 -2
  52. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/chatIncrementalRendering.d.ts +3 -1
  53. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/chatIncrementalRendering.js +4 -0
  54. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatInlineAnchorWidget.js +13 -13
  55. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownContentPart.js +68 -10
  56. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMcpServersInteractionContentPart.js +8 -8
  57. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMultiDiffContentPart.js +4 -4
  58. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatPlanReviewPart.d.ts +58 -2
  59. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatPlanReviewPart.js +653 -75
  60. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatProgressContentPart.js +28 -10
  61. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.d.ts +5 -1
  62. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.js +91 -54
  63. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuotaExceededPart.js +7 -5
  64. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatReferencesContentPart.js +53 -51
  65. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatResourceGroupWidget.js +5 -5
  66. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentContentPart.js +11 -11
  67. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSuggestNextWidget.js +6 -6
  68. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTextEditContentPart.js +1 -1
  69. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.d.ts +4 -1
  70. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.js +42 -22
  71. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTipContentPart.js +9 -9
  72. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTodoListWidget.js +17 -17
  73. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolInputOutputContentPart.js +2 -2
  74. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTreeContentPart.js +1 -1
  75. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatWorkspaceEditContentPart.js +3 -3
  76. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/codeBlockPart.d.ts +6 -2
  77. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/codeBlockPart.js +93 -35
  78. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatConfirmationWidget.css +5 -0
  79. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatPlanReview.css +169 -27
  80. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatQuestionCarousel.css +13 -4
  81. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatThinkingContent.css +1 -1
  82. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatToolConfirmationCarousel.css +29 -0
  83. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/abstractToolConfirmationSubPart.d.ts +1 -0
  84. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/abstractToolConfirmationSubPart.js +60 -15
  85. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatExtensionsInstallToolSubPart.js +13 -6
  86. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppModel.js +1 -1
  87. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppSubPart.js +3 -3
  88. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMissingSandboxDepsConfirmationSubPart.js +2 -2
  89. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatModifiedFilesConfirmationSubPart.js +15 -8
  90. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolConfirmationSubPart.d.ts +6 -1
  91. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolConfirmationSubPart.js +125 -26
  92. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolProgressPart.d.ts +2 -1
  93. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolProgressPart.js +29 -23
  94. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolConfirmationCarouselPart.d.ts +14 -0
  95. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolConfirmationCarouselPart.js +119 -10
  96. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolConfirmationSubPart.js +6 -6
  97. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationPart.js +1 -1
  98. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolOutputPart.js +2 -2
  99. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPartUtilities.js +5 -5
  100. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPostExecuteConfirmationPart.js +5 -5
  101. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/media/toolRiskBadge.css +77 -0
  102. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/toolRiskBadgeWidget.d.ts +38 -0
  103. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/toolRiskBadgeWidget.js +125 -0
  104. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatDragAndDrop.js +11 -11
  105. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListRenderer.d.ts +1 -0
  106. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListRenderer.js +132 -59
  107. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidget.d.ts +16 -3
  108. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidget.js +156 -67
  109. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatFollowups.js +1 -1
  110. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.d.ts +55 -0
  111. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.js +93 -0
  112. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationWidget.d.ts +21 -0
  113. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationWidget.js +133 -0
  114. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.d.ts +53 -8
  115. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.js +288 -125
  116. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelPicker.d.ts +23 -2
  117. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelPicker.js +699 -145
  118. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelSelectionLogic.d.ts +12 -8
  119. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelSelectionLogic.js +12 -11
  120. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatPhoneInputPresenter.d.ts +62 -0
  121. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatPhoneInputPresenter.js +120 -0
  122. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.js +5 -5
  123. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/media/chatInputNotificationWidget.css +191 -0
  124. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/media/chatPhoneInputPresenter.css +22 -0
  125. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modePickerActionItem.d.ts +3 -3
  126. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modePickerActionItem.js +9 -25
  127. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPickerActionItem.js +4 -3
  128. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/permissionPickerActionItem.d.ts +20 -1
  129. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/permissionPickerActionItem.js +89 -108
  130. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.js +3 -3
  131. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/workspacePickerActionItem.js +3 -3
  132. package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chat.css +521 -9
  133. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageDetails.js +7 -7
  134. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageWidget.js +2 -2
  135. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatContextUsageDetails.css +19 -19
  136. package/vscode/src/vs/workbench/contrib/chat/common/chatImageExtraction.js +6 -6
  137. package/vscode/src/vs/workbench/contrib/chat/common/chatPermissionStorageKeys.d.ts +2 -0
  138. package/vscode/src/vs/workbench/contrib/chat/common/chatPermissionStorageKeys.js +6 -0
  139. package/vscode/src/vs/workbench/contrib/chat/common/chatPermissionWarnings.d.ts +27 -0
  140. package/vscode/src/vs/workbench/contrib/chat/common/chatPermissionWarnings.js +82 -0
  141. package/vscode/src/vs/workbench/contrib/chat/common/widget/chatColors.d.ts +3 -0
  142. package/vscode/src/vs/workbench/contrib/chat/common/widget/chatColors.js +44 -17
  143. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAffordance.d.ts +1 -3
  144. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAffordance.js +3 -46
  145. package/vscode/src/vs/workbench/contrib/inlineChat/browser/{inlineChatEditorAffordance.d.ts → inlineChatAffordanceWidget.d.ts} +1 -1
  146. package/vscode/src/vs/workbench/contrib/inlineChat/browser/{inlineChatEditorAffordance.js → inlineChatAffordanceWidget.js} +6 -6
  147. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.d.ts +2 -18
  148. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +19 -400
  149. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +4 -9
  150. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.js +1 -1
  151. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.d.ts +5 -19
  152. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +47 -133
  153. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.d.ts +3 -1
  154. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +103 -25
  155. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css +29 -0
  156. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.d.ts +3 -32
  157. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +39 -92
  158. package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.js +3 -3
  159. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +7 -7
  160. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +2 -2
  161. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +2 -2
  162. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +24 -24
  163. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +3 -3
  164. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +7 -7
  165. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +1 -1
  166. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +5 -5
  167. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
  168. package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.js +1 -1
  169. package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.js +1 -1
  170. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.d.ts +7 -0
  171. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.js +99 -32
  172. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/executeStrategy.d.ts +13 -1
  173. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/executeStrategy.js +76 -14
  174. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/noneExecuteStrategy.js +4 -3
  175. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/richExecuteStrategy.d.ts +9 -1
  176. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/richExecuteStrategy.js +89 -28
  177. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/outputHelpers.js +1 -1
  178. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.d.ts +11 -1
  179. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +11 -7
  180. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalToolTelemetry.d.ts +3 -1
  181. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalToolTelemetry.js +7 -3
  182. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/commandLineAutoApprover.js +1 -1
  183. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.js +1 -1
  184. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAnalyzer.d.ts +1 -0
  185. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.js +12 -12
  186. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.d.ts +8 -0
  187. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.js +11 -2
  188. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineBackgroundDetachRewriter.d.ts +20 -0
  189. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineBackgroundDetachRewriter.js +59 -4
  190. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineSandboxRewriter.d.ts +8 -1
  191. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineSandboxRewriter.js +24 -3
  192. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.d.ts +47 -0
  193. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.js +111 -30
  194. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.d.ts +60 -3
  195. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +455 -171
  196. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/treeSitterCommandParser.d.ts +33 -0
  197. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/treeSitterCommandParser.js +82 -0
  198. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxCommandRules.d.ts +31 -0
  199. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxCommandRules.js +49 -0
  200. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxReadAllowList.d.ts +18 -0
  201. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxReadAllowList.js +302 -0
  202. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxRuntimeConfigurationPerOperation.d.ts +7 -0
  203. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxRuntimeConfigurationPerOperation.js +118 -0
  204. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.d.ts +34 -4
  205. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.js +233 -48
  206. package/vscode/src/vs/platform/actions/browser/actionbar.d.ts +0 -16
  207. package/vscode/src/vs/platform/actions/browser/actionbar.js +0 -22
  208. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.d.ts +0 -46
  209. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +0 -539
  210. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.d.ts +0 -29
  211. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +0 -386
  212. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.d.ts +0 -101
  213. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.js +0 -509
  214. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/media/chatEditingEditorOverlay.css +0 -130
  215. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/media/chatEditingExplanationWidget.css +0 -276
  216. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPartWidgets.d.ts +0 -45
  217. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPartWidgets.js +0 -93
  218. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatOverlayWidget.d.ts +0 -39
  219. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatOverlayWidget.js +0 -617
  220. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatOverlayWidget.css +0 -231
@@ -1,14 +1,16 @@
1
1
 
2
2
  import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
- import { $, addDisposableListener, Dimension } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
3
+ import { $, getWindow, addDisposableListener, Dimension } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
4
4
  import { status } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/aria/aria';
5
5
  import { renderAsPlaintext, renderMarkdown } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/markdownRenderer';
6
6
  import { DomScrollableElement } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/scrollbar/scrollableElement';
7
+ import { ActionViewItem } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/actionbar/actionViewItems';
7
8
  import { ActionRunner } from '@codingame/monaco-vscode-api/vscode/vs/base/common/actions';
8
9
  import { MarkdownString } from '@codingame/monaco-vscode-api/vscode/vs/base/common/htmlContent';
9
10
  import { DisposableStore, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
10
11
  import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/index';
11
12
  import { isEqual } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
13
+ import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
12
14
  import { ScrollbarVisibility } from '@codingame/monaco-vscode-api/vscode/vs/base/common/scrollable';
13
15
  import { assertType } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
14
16
  import { StableEditorBottomScrollState } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/stableEditorScroll';
@@ -16,17 +18,45 @@ import { EditorOption } from '@codingame/monaco-vscode-api/vscode/vs/editor/comm
16
18
  import { ScrollType } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/editorCommon';
17
19
  import { ZoneWidget } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/zoneWidget/browser/zoneWidget';
18
20
  import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
21
+ import { RawContextKey, ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
19
22
  import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
20
23
  import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
21
24
  import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
22
25
  import { MenuWorkbenchToolBar, HiddenItemStrategy } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/browser/toolbar';
23
- import { MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
26
+ import { Action2, MenuId, registerAction2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
27
+ import { IActionViewItemService } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/browser/actionViewItemService.service';
24
28
  import { ChatMode } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatModes';
25
- import { CTX_INLINE_CHAT_OUTER_CURSOR_POSITION, MENU_INLINE_CHAT_SIDE, MENU_INLINE_CHAT_WIDGET_SECONDARY, ACTION_REGENERATE_RESPONSE, ACTION_TOGGLE_DIFF, ACTION_REPORT_ISSUE, MENU_INLINE_CHAT_WIDGET_STATUS } from '../common/inlineChat.js';
29
+ import { CTX_INLINE_CHAT_OUTER_CURSOR_POSITION, MENU_INLINE_CHAT_SIDE, MENU_INLINE_CHAT_WIDGET_SECONDARY } from '../common/inlineChat.js';
26
30
  import { EditorBasedInlineChatWidget } from './inlineChatWidget.js';
31
+ import { ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
32
+ import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/actions/chatContextKeys';
33
+ import { observableValue } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/observableValue';
27
34
  import { autorun } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/reactions/autorun';
28
35
 
29
36
  var InlineChatZoneWidget_1;
37
+ class StatusPlaceholder extends Action2 {
38
+ static {
39
+ this.Id = "inlineChatWidget.statusPlaceholder";
40
+ }
41
+ static {
42
+ this.CtxHasStatus = ( new RawContextKey("inlineChatHasStatus", false));
43
+ }
44
+ constructor() {
45
+ super({
46
+ id: StatusPlaceholder.Id,
47
+ title: "",
48
+ precondition: ( ContextKeyExpr.false()),
49
+ menu: {
50
+ id: MenuId.ChatInput,
51
+ when: ( ContextKeyExpr.and(( ContextKeyExpr.equals(ChatContextKeys.location.key, ChatAgentLocation.EditorInline)), StatusPlaceholder.CtxHasStatus)),
52
+ group: "navigation",
53
+ order: Number.MAX_SAFE_INTEGER
54
+ }
55
+ });
56
+ }
57
+ run() {}
58
+ }
59
+ registerAction2(StatusPlaceholder);
30
60
  let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
31
61
  static {
32
62
  InlineChatZoneWidget_1 = this;
@@ -42,7 +72,22 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
42
72
  showInHiddenAreas: true,
43
73
  ordinal: 50000
44
74
  };
75
+ static #instances = ( new Set());
76
+ static #statusDidChange = ( new Emitter());
77
+ static #factoryRegistration;
78
+ static #findByDom(element) {
79
+ const widgetDom = element.closest(".inline-chat-widget");
80
+ if (widgetDom) {
81
+ for (const instance of InlineChatZoneWidget_1.#instances) {
82
+ if (instance.domNode === widgetDom) {
83
+ return instance;
84
+ }
85
+ }
86
+ }
87
+ return undefined;
88
+ }
45
89
  #ctxCursorPosition;
90
+ #ctxHasStatus;
46
91
  #dimension;
47
92
  #logService;
48
93
  #terminationCard;
@@ -50,17 +95,20 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
50
95
  #terminationMarkdownMessage;
51
96
  #terminationMarkdownScrollable;
52
97
  #terminationToolbar;
53
- #terminationStore = ( new DisposableStore());
98
+ #terminationStore;
54
99
  constructor(
55
100
  location,
56
101
  options,
57
102
  editors,
58
103
  clearDelegate,
59
104
  instaService,
105
+ actionViewItemService,
60
106
  logService,
61
107
  contextKeyService
62
108
  ) {
63
109
  super(editors.editor, InlineChatZoneWidget_1.#options);
110
+ this.status = observableValue(this, "");
111
+ this.#terminationStore = ( new DisposableStore());
64
112
  this.notebookEditor = editors.notebookEditor;
65
113
  this.#logService = logService;
66
114
  this.#terminationCard = $("div.inline-chat-terminated-card.hidden");
@@ -79,29 +127,59 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
79
127
  this.#terminationCard.appendChild(contentRow);
80
128
  this._disposables.add(this.#terminationStore);
81
129
  this.#ctxCursorPosition = CTX_INLINE_CHAT_OUTER_CURSOR_POSITION.bindTo(contextKeyService);
130
+ this.#ctxHasStatus = StatusPlaceholder.CtxHasStatus.bindTo(contextKeyService);
82
131
  this._disposables.add(toDisposable(() => {
83
132
  this.#ctxCursorPosition.reset();
133
+ this.#ctxHasStatus.reset();
84
134
  }));
85
- this.widget = instaService.createInstance(EditorBasedInlineChatWidget, location, this.editor, {
86
- statusMenuId: {
87
- menu: MENU_INLINE_CHAT_WIDGET_STATUS,
88
- options: {
89
- buttonConfigProvider: (action, index) => {
90
- const isSecondary = index > 0;
91
- if (( ( new Set([ACTION_REGENERATE_RESPONSE, ACTION_TOGGLE_DIFF, ACTION_REPORT_ISSUE])).has(action.id))) {
92
- return {
93
- isSecondary,
94
- showIcon: true,
95
- showLabel: false
96
- };
97
- } else {
98
- return {
99
- isSecondary
100
- };
101
- }
135
+ this._disposables.add(autorun(r => {
136
+ this.#ctxHasStatus.set(!!this.status.read(r));
137
+ }));
138
+ InlineChatZoneWidget_1.#instances.add(this);
139
+ this._disposables.add(toDisposable(() => {
140
+ InlineChatZoneWidget_1.#instances.delete(this);
141
+ if (InlineChatZoneWidget_1.#instances.size === 0) {
142
+ InlineChatZoneWidget_1.#factoryRegistration?.dispose();
143
+ InlineChatZoneWidget_1.#factoryRegistration = undefined;
144
+ }
145
+ }));
146
+ this._disposables.add(autorun(r => {
147
+ this.status.read(r);
148
+ InlineChatZoneWidget_1.#statusDidChange.fire();
149
+ }));
150
+ if (!InlineChatZoneWidget_1.#factoryRegistration) {
151
+ InlineChatZoneWidget_1.#factoryRegistration = actionViewItemService.register(MenuId.ChatInput, StatusPlaceholder.Id, (action, options) => {
152
+ const item = new (class extends ActionViewItem {
153
+ render(container) {
154
+ super.render(container);
155
+ container.classList.add("status-placeholder");
156
+ const targetWindow = getWindow(container);
157
+ let handle = targetWindow.requestAnimationFrame(() => {
158
+ handle = 0;
159
+ const widget = InlineChatZoneWidget_1.#findByDom(container);
160
+ if (widget) {
161
+ this._store.add(autorun(r => {
162
+ const value = widget.status.read(r) ?? "";
163
+ this.action.label = value;
164
+ this.updateLabel();
165
+ }));
166
+ }
167
+ });
168
+ this._store.add(toDisposable(() => {
169
+ if (handle) {
170
+ targetWindow.cancelAnimationFrame(handle);
171
+ }
172
+ }));
102
173
  }
103
- }
104
- },
174
+ })(undefined, action, {
175
+ ...options,
176
+ icon: false,
177
+ label: true
178
+ });
179
+ return item;
180
+ }, InlineChatZoneWidget_1.#statusDidChange.event);
181
+ }
182
+ this.widget = instaService.createInstance(EditorBasedInlineChatWidget, location, this.editor, {
105
183
  secondaryMenuId: MENU_INLINE_CHAT_WIDGET_SECONDARY,
106
184
  inZoneWidget: true,
107
185
  chatWidgetViewOptions: {
@@ -343,10 +421,10 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
343
421
  this.widget.domNode.style.display = "";
344
422
  this.widget.chatWidget.setVisible(false);
345
423
  super.hide();
346
- status(( localize(10113, "Closed inline chat widget")));
424
+ status(( localize(10434, "Closed inline chat widget")));
347
425
  scrollState.restore(this.editor);
348
426
  }
349
427
  };
350
- InlineChatZoneWidget = InlineChatZoneWidget_1 = ( __decorate([( __param(4, IInstantiationService)), ( __param(5, ILogService)), ( __param(6, IContextKeyService))], InlineChatZoneWidget));
428
+ InlineChatZoneWidget = InlineChatZoneWidget_1 = ( __decorate([( __param(4, IInstantiationService)), ( __param(5, IActionViewItemService)), ( __param(6, ILogService)), ( __param(7, IContextKeyService))], InlineChatZoneWidget));
351
429
 
352
430
  export { InlineChatZoneWidget };
@@ -124,6 +124,11 @@
124
124
  .chat-editor-container .interactive-input-editor .monaco-editor .monaco-editor-background {
125
125
  background-color: var(--vscode-inlineChat-background);
126
126
  }
127
+
128
+ /* Counteract the -4px margin from .interactive-session .chat-editing-session */
129
+ .interactive-input-part > .chat-input-notification-container {
130
+ margin-bottom: 12px;
131
+ }
127
132
  }
128
133
 
129
134
 
@@ -323,6 +328,11 @@
323
328
  padding: 2px 0px;
324
329
  }
325
330
 
331
+ .monaco-workbench .inline-chat .interactive-session .chat-input-toolbar .chat-input-picker-item .action-label.model-picker-split::before,
332
+ .monaco-workbench .inline-chat .interactive-session .chat-input-toolbar .chat-input-picker-item .action-label.model-picker-split::after {
333
+ display: none;
334
+ }
335
+
326
336
  /* Termination card (zone widget) — aligned with overlay widget */
327
337
 
328
338
  .monaco-workbench .inline-chat-terminated-card {
@@ -385,3 +395,22 @@
385
395
  font-size: 12px;
386
396
  white-space: nowrap;
387
397
  }
398
+
399
+ /* Status Placeholder */
400
+ .monaco-workbench .zone-widget.inline-chat-widget .status-placeholder {
401
+ margin-left: auto;
402
+ opacity: 0;
403
+ pointer-events: none;
404
+ transition: opacity 0.1s ease-in-out;
405
+ }
406
+
407
+ .monaco-workbench .zone-widget.inline-chat-widget .status-placeholder .action-label {
408
+ color: var(--vscode-descriptionForeground);
409
+ font-size: 11px;
410
+ cursor: default;
411
+ }
412
+
413
+ .monaco-workbench .zone-widget.inline-chat-widget:hover .status-placeholder,
414
+ .monaco-workbench .zone-widget.inline-chat-widget:focus-within .status-placeholder {
415
+ opacity: 1;
416
+ }
@@ -1,25 +1,15 @@
1
1
  import { MenuId } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions";
2
2
  import { RawContextKey } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey";
3
3
  export declare enum InlineChatConfigKeys {
4
- FinishOnType = "inlineChat.finishOnType",
5
- /** @deprecated do not read on client */
6
- EnableV2 = "inlineChat.enableV2",
7
- notebookAgent = "inlineChat.notebookAgent",
4
+ NotebookAgent = "inlineChat.notebookAgent",
8
5
  DefaultModel = "inlineChat.defaultModel",
9
6
  Affordance = "inlineChat.affordance",
10
- RenderMode = "inlineChat.renderMode",
11
7
  FixDiagnostics = "inlineChat.fixDiagnostics",
12
8
  AskInChat = "inlineChat.askInChat"
13
9
  }
14
- export declare const INLINE_CHAT_ID = "interactiveEditor";
15
- export declare const INTERACTIVE_EDITOR_ACCESSIBILITY_HELP_ID = "interactiveEditorAccessiblityHelp";
16
- export declare enum InlineChatResponseType {
17
- None = "none",
18
- Messages = "messages",
19
- MessagesAndEdits = "messagesAndEdits"
20
- }
10
+ export declare const INLINE_CHAT_ID = "editor.contrib.inlineChatController";
21
11
  export declare const CTX_INLINE_CHAT_POSSIBLE: RawContextKey<boolean>;
22
- export declare const CTX_INLINE_CHAT_HAS_AGENT2: RawContextKey<boolean>;
12
+ export declare const CTX_INLINE_CHAT_HAS_AGENT: RawContextKey<boolean>;
23
13
  export declare const CTX_INLINE_CHAT_HAS_NOTEBOOK_INLINE: RawContextKey<boolean>;
24
14
  export declare const CTX_INLINE_CHAT_HAS_NOTEBOOK_AGENT: RawContextKey<boolean>;
25
15
  export declare const CTX_INLINE_CHAT_VISIBLE: RawContextKey<boolean>;
@@ -27,36 +17,17 @@ export declare const CTX_INLINE_CHAT_FOCUSED: RawContextKey<boolean>;
27
17
  export declare const CTX_INLINE_CHAT_EDITING: RawContextKey<boolean>;
28
18
  export declare const CTX_INLINE_CHAT_RESPONSE_FOCUSED: RawContextKey<boolean>;
29
19
  export declare const CTX_INLINE_CHAT_EMPTY: RawContextKey<boolean>;
30
- export declare const CTX_INLINE_CHAT_INPUT_HAS_TEXT: RawContextKey<boolean>;
31
- export declare const CTX_INLINE_CHAT_INPUT_WIDGET_FOCUSED: RawContextKey<boolean>;
32
- export declare const CTX_INLINE_CHAT_INNER_CURSOR_FIRST: RawContextKey<boolean>;
33
- export declare const CTX_INLINE_CHAT_INNER_CURSOR_LAST: RawContextKey<boolean>;
34
20
  export declare const CTX_INLINE_CHAT_OUTER_CURSOR_POSITION: RawContextKey<"" | "above" | "below">;
35
- export declare const CTX_INLINE_CHAT_HAS_STASHED_SESSION: RawContextKey<boolean>;
36
- export declare const CTX_INLINE_CHAT_CHANGE_HAS_DIFF: RawContextKey<boolean>;
37
- export declare const CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF: RawContextKey<boolean>;
38
21
  export declare const CTX_INLINE_CHAT_REQUEST_IN_PROGRESS: RawContextKey<boolean>;
39
- export declare const CTX_INLINE_CHAT_RESPONSE_TYPE: RawContextKey<InlineChatResponseType>;
40
22
  export declare const CTX_INLINE_CHAT_FILE_BELONGS_TO_CHAT: RawContextKey<boolean>;
41
- export declare const CTX_INLINE_CHAT_PENDING_CONFIRMATION: RawContextKey<boolean>;
42
23
  export declare const CTX_INLINE_CHAT_TERMINATED: RawContextKey<boolean>;
43
24
  export declare const CTX_INLINE_CHAT_AFFORDANCE_VISIBLE: RawContextKey<boolean>;
44
- export declare const CTX_INLINE_CHAT_V1_ENABLED: import("@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression | undefined;
45
25
  export declare const CTX_INLINE_CHAT_V2_ENABLED: import("@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression | undefined;
46
- export declare const CTX_HOVER_MODE: import("@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression;
47
26
  export declare const CTX_FIX_DIAGNOSTICS_ENABLED: import("@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression;
48
27
  export declare const CTX_ASK_IN_CHAT_ENABLED: import("@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression;
49
28
  export declare const ACTION_START = "inlineChat.start";
50
29
  export declare const ACTION_ASK_IN_CHAT = "inlineChat.askInChat";
51
- export declare const ACTION_ACCEPT_CHANGES = "inlineChat.acceptChanges";
52
- export declare const ACTION_DISCARD_CHANGES = "inlineChat.discardHunkChange";
53
- export declare const ACTION_REGENERATE_RESPONSE = "inlineChat.regenerate";
54
- export declare const ACTION_VIEW_IN_CHAT = "inlineChat.viewInChat";
55
- export declare const ACTION_TOGGLE_DIFF = "inlineChat.toggleDiff";
56
- export declare const ACTION_REPORT_ISSUE = "inlineChat.reportIssue";
57
- export declare const MENU_INLINE_CHAT_WIDGET_STATUS: MenuId;
58
30
  export declare const MENU_INLINE_CHAT_WIDGET_SECONDARY: MenuId;
59
- export declare const MENU_INLINE_CHAT_ZONE: MenuId;
60
31
  export declare const MENU_INLINE_CHAT_SIDE: MenuId;
61
32
  export declare const inlineChatForeground: string;
62
33
  export declare const inlineChatBackground: string;
@@ -19,37 +19,17 @@ import { NOTEBOOK_IS_ACTIVE_EDITOR } from '@codingame/monaco-vscode-api/vscode/v
19
19
 
20
20
  var InlineChatConfigKeys;
21
21
  (function(InlineChatConfigKeys) {
22
- InlineChatConfigKeys["FinishOnType"] = "inlineChat.finishOnType";
23
- InlineChatConfigKeys["EnableV2"] = "inlineChat.enableV2";
24
- InlineChatConfigKeys["notebookAgent"] = "inlineChat.notebookAgent";
22
+ InlineChatConfigKeys["NotebookAgent"] = "inlineChat.notebookAgent";
25
23
  InlineChatConfigKeys["DefaultModel"] = "inlineChat.defaultModel";
26
24
  InlineChatConfigKeys["Affordance"] = "inlineChat.affordance";
27
- InlineChatConfigKeys["RenderMode"] = "inlineChat.renderMode";
28
25
  InlineChatConfigKeys["FixDiagnostics"] = "inlineChat.fixDiagnostics";
29
26
  InlineChatConfigKeys["AskInChat"] = "inlineChat.askInChat";
30
27
  })(InlineChatConfigKeys || (InlineChatConfigKeys = {}));
31
28
  ( Registry.as(Extensions.Configuration)).registerConfiguration({
32
29
  id: "editor",
33
30
  properties: {
34
- [InlineChatConfigKeys.FinishOnType]: {
35
- description: ( localize(
36
- 10114,
37
- "Whether to finish an inline chat session when typing outside of changed regions."
38
- )),
39
- default: false,
40
- type: "boolean"
41
- },
42
- [InlineChatConfigKeys.EnableV2]: {
43
- description: ( localize(10115, "Whether to use the next version of inline chat.")),
44
- default: false,
45
- type: "boolean",
46
- tags: ["preview"],
47
- experiment: {
48
- mode: "auto"
49
- }
50
- },
51
- [InlineChatConfigKeys.notebookAgent]: {
52
- markdownDescription: ( localize(10116, "Enable agent-like behavior for inline chat widget in notebooks.")),
31
+ [InlineChatConfigKeys.NotebookAgent]: {
32
+ markdownDescription: ( localize(10435, "Enable agent-like behavior for inline chat widget in notebooks.")),
53
33
  default: false,
54
34
  type: "boolean",
55
35
  tags: ["experimental"],
@@ -59,32 +39,24 @@ var InlineChatConfigKeys;
59
39
  },
60
40
  [InlineChatConfigKeys.Affordance]: {
61
41
  description: ( localize(
62
- 10117,
42
+ 10436,
63
43
  "Controls whether an inline chat affordance is shown when text is selected."
64
44
  )),
65
45
  default: "off",
66
46
  type: "string",
67
47
  enum: ["off", "editor"],
68
- enumDescriptions: [( localize(10118, "No affordance is shown.")), ( localize(10119, "Show an affordance in the editor at the cursor position."))],
48
+ enumDescriptions: [( localize(10437, "No affordance is shown.")), ( localize(10438, "Show an affordance in the editor at the cursor position."))],
69
49
  experiment: {
70
50
  mode: "auto"
71
51
  },
72
- tags: ["experimental"]
73
- },
74
- [InlineChatConfigKeys.RenderMode]: {
75
- description: ( localize(10120, "Controls how inline chat is rendered.")),
76
- default: "hover",
77
- type: "string",
78
- enum: ["zone", "hover"],
79
- enumDescriptions: [( localize(10121, "Render inline chat as a zone widget below the current line.")), ( localize(10122, "Render inline chat as a hover overlay."))],
80
- experiment: {
81
- mode: "auto"
82
- },
83
- tags: ["experimental"]
52
+ tags: ["experimental"],
53
+ agentsWindow: {
54
+ default: "editor"
55
+ }
84
56
  },
85
57
  [InlineChatConfigKeys.FixDiagnostics]: {
86
58
  description: ( localize(
87
- 10123,
59
+ 10439,
88
60
  "Controls whether the Fix action is shown for diagnostics in the editor."
89
61
  )),
90
62
  default: true,
@@ -96,7 +68,7 @@ var InlineChatConfigKeys;
96
68
  },
97
69
  [InlineChatConfigKeys.AskInChat]: {
98
70
  description: ( localize(
99
- 10124,
71
+ 10440,
100
72
  "Controls whether files in a chat editing session use Ask in Chat instead of Inline Chat."
101
73
  )),
102
74
  default: true,
@@ -104,88 +76,63 @@ var InlineChatConfigKeys;
104
76
  }
105
77
  }
106
78
  });
107
- const INLINE_CHAT_ID = "interactiveEditor";
108
- var InlineChatResponseType;
109
- (function(InlineChatResponseType) {
110
- InlineChatResponseType["None"] = "none";
111
- InlineChatResponseType["Messages"] = "messages";
112
- InlineChatResponseType["MessagesAndEdits"] = "messagesAndEdits";
113
- })(InlineChatResponseType || (InlineChatResponseType = {}));
79
+ const INLINE_CHAT_ID = "editor.contrib.inlineChatController";
114
80
  const CTX_INLINE_CHAT_POSSIBLE = ( new RawContextKey("inlineChatPossible", false, ( localize(
115
- 10125,
81
+ 10441,
116
82
  "Whether a provider for inline chat exists and whether an editor for inline chat is open"
117
83
  ))));
118
- const CTX_INLINE_CHAT_HAS_AGENT2 = ( new RawContextKey("inlineChatHasEditsAgent", false, ( localize(10126, "Whether an agent for inline for interactive editors exists"))));
119
- const CTX_INLINE_CHAT_HAS_NOTEBOOK_INLINE = ( new RawContextKey("inlineChatHasNotebookInline", false, ( localize(10127, "Whether an agent for notebook cells exists"))));
120
- const CTX_INLINE_CHAT_HAS_NOTEBOOK_AGENT = ( new RawContextKey("inlineChatHasNotebookAgent", false, ( localize(10128, "Whether an agent for notebook cells exists"))));
121
- const CTX_INLINE_CHAT_VISIBLE = ( new RawContextKey("inlineChatVisible", false, ( localize(10129, "Whether the interactive editor input is visible"))));
122
- const CTX_INLINE_CHAT_FOCUSED = ( new RawContextKey("inlineChatFocused", false, ( localize(10130, "Whether the interactive editor input is focused"))));
123
- const CTX_INLINE_CHAT_EDITING = ( new RawContextKey("inlineChatEditing", true, ( localize(
124
- 10131,
125
- "Whether the user is currently editing or generating code in the inline chat"
126
- ))));
127
- const CTX_INLINE_CHAT_RESPONSE_FOCUSED = ( new RawContextKey("inlineChatResponseFocused", false, ( localize(10132, "Whether the interactive widget's response is focused"))));
128
- const CTX_INLINE_CHAT_INPUT_HAS_TEXT = ( new RawContextKey("inlineChatInputHasText", false, ( localize(10133, "Whether the inline chat input widget has text"))));
129
- const CTX_INLINE_CHAT_INPUT_WIDGET_FOCUSED = ( new RawContextKey("inlineChatInputWidgetFocused", false, ( localize(10134, "Whether the inline chat input widget editor is focused"))));
84
+ const CTX_INLINE_CHAT_HAS_AGENT = ( new RawContextKey("inlineChatHasEditsAgent", false, ( localize(10442, "Whether an agent for inline chat in interactive editors exists"))));
85
+ const CTX_INLINE_CHAT_HAS_NOTEBOOK_INLINE = ( new RawContextKey("inlineChatHasNotebookInline", false, ( localize(10443, "Whether an agent for notebook cells exists"))));
86
+ const CTX_INLINE_CHAT_HAS_NOTEBOOK_AGENT = ( new RawContextKey("inlineChatHasNotebookAgent", false, ( localize(10444, "Whether an agent for notebook cells exists"))));
87
+ const CTX_INLINE_CHAT_VISIBLE = ( new RawContextKey("inlineChatVisible", false, ( localize(10445, "Whether the interactive editor input is visible"))));
88
+ const CTX_INLINE_CHAT_FOCUSED = ( new RawContextKey("inlineChatFocused", false, ( localize(10446, "Whether the interactive editor input is focused"))));
89
+ const CTX_INLINE_CHAT_RESPONSE_FOCUSED = ( new RawContextKey("inlineChatResponseFocused", false, ( localize(10447, "Whether the interactive widget's response is focused"))));
130
90
  const CTX_INLINE_CHAT_OUTER_CURSOR_POSITION = ( new RawContextKey("inlineChatOuterCursorPosition", "", ( localize(
131
- 10135,
91
+ 10448,
132
92
  "Whether the cursor of the outer editor is above or below the interactive editor input"
133
93
  ))));
134
- const CTX_INLINE_CHAT_REQUEST_IN_PROGRESS = ( new RawContextKey("inlineChatRequestInProgress", false, ( localize(10136, "Whether an inline chat request is currently in progress"))));
135
- const CTX_INLINE_CHAT_RESPONSE_TYPE = ( new RawContextKey("inlineChatResponseType", InlineChatResponseType.None, ( localize(
136
- 10137,
137
- "What type was the responses have been receieved, nothing yet, just messages, or messaged and local edits"
138
- ))));
139
- const CTX_INLINE_CHAT_FILE_BELONGS_TO_CHAT = ( new RawContextKey("inlineChatFileBelongsToChat", false, ( localize(10138, "Whether the current file belongs to a chat editing session"))));
140
- const CTX_INLINE_CHAT_PENDING_CONFIRMATION = ( new RawContextKey("inlineChatPendingConfirmation", false, ( localize(10139, "Whether an inline chat request is pending user confirmation"))));
141
- const CTX_INLINE_CHAT_TERMINATED = ( new RawContextKey("inlineChatTerminated", false, ( localize(10140, "Whether the current inline chat session is terminated"))));
142
- const CTX_INLINE_CHAT_AFFORDANCE_VISIBLE = ( new RawContextKey("inlineChatAffordanceVisible", false, ( localize(10141, "Whether an inline chat affordance widget is visible"))));
143
- const CTX_INLINE_CHAT_V1_ENABLED = ( ContextKeyExpr.or(( ContextKeyExpr.and(NOTEBOOK_IS_ACTIVE_EDITOR, CTX_INLINE_CHAT_HAS_NOTEBOOK_INLINE))));
144
- const CTX_INLINE_CHAT_V2_ENABLED = ( ContextKeyExpr.or(CTX_INLINE_CHAT_HAS_AGENT2, ( ContextKeyExpr.and(NOTEBOOK_IS_ACTIVE_EDITOR, CTX_INLINE_CHAT_HAS_NOTEBOOK_AGENT))));
145
- const CTX_HOVER_MODE = ( ContextKeyExpr.equals("config.inlineChat.renderMode", "hover"));
94
+ const CTX_INLINE_CHAT_REQUEST_IN_PROGRESS = ( new RawContextKey("inlineChatRequestInProgress", false, ( localize(10449, "Whether an inline chat request is currently in progress"))));
95
+ const CTX_INLINE_CHAT_FILE_BELONGS_TO_CHAT = ( new RawContextKey("inlineChatFileBelongsToChat", false, ( localize(10450, "Whether the current file belongs to a chat editing session"))));
96
+ const CTX_INLINE_CHAT_TERMINATED = ( new RawContextKey("inlineChatTerminated", false, ( localize(10451, "Whether the current inline chat session is terminated"))));
97
+ const CTX_INLINE_CHAT_AFFORDANCE_VISIBLE = ( new RawContextKey("inlineChatAffordanceVisible", false, ( localize(10452, "Whether an inline chat affordance widget is visible"))));
98
+ const CTX_INLINE_CHAT_V2_ENABLED = ( ContextKeyExpr.or(CTX_INLINE_CHAT_HAS_AGENT, ( ContextKeyExpr.and(NOTEBOOK_IS_ACTIVE_EDITOR, CTX_INLINE_CHAT_HAS_NOTEBOOK_AGENT))));
146
99
  const CTX_FIX_DIAGNOSTICS_ENABLED = ( ContextKeyExpr.equals("config.inlineChat.fixDiagnostics", true));
147
100
  const CTX_ASK_IN_CHAT_ENABLED = ( ContextKeyExpr.equals("config.inlineChat.askInChat", true));
148
101
  const ACTION_START = "inlineChat.start";
149
102
  const ACTION_ASK_IN_CHAT = "inlineChat.askInChat";
150
- const ACTION_ACCEPT_CHANGES = "inlineChat.acceptChanges";
151
- const ACTION_REGENERATE_RESPONSE = "inlineChat.regenerate";
152
- const ACTION_TOGGLE_DIFF = "inlineChat.toggleDiff";
153
- const ACTION_REPORT_ISSUE = "inlineChat.reportIssue";
154
- const MENU_INLINE_CHAT_WIDGET_STATUS = MenuId.for("inlineChatWidget.status");
155
103
  const MENU_INLINE_CHAT_WIDGET_SECONDARY = MenuId.for("inlineChatWidget.secondary");
156
- MenuId.for("inlineChatWidget.changesZone");
157
104
  const MENU_INLINE_CHAT_SIDE = MenuId.for("inlineChatWidget.side");
158
- const inlineChatForeground = registerColor("inlineChat.foreground", editorWidgetForeground, ( localize(10142, "Foreground color of the interactive editor widget")));
159
- const inlineChatBackground = registerColor("inlineChat.background", editorWidgetBackground, ( localize(10143, "Background color of the interactive editor widget")));
160
- registerColor("inlineChat.border", editorWidgetBorder, ( localize(10144, "Border color of the interactive editor widget")));
161
- registerColor("inlineChat.shadow", widgetShadow, ( localize(10145, "Shadow color of the interactive editor widget")));
162
- registerColor("inlineChatInput.border", editorWidgetBorder, ( localize(10146, "Border color of the interactive editor input")));
163
- registerColor("inlineChatInput.focusBorder", focusBorder, ( localize(10147, "Border color of the interactive editor input when focused")));
105
+ const inlineChatForeground = registerColor("inlineChat.foreground", editorWidgetForeground, ( localize(10453, "Foreground color of the interactive editor widget")));
106
+ const inlineChatBackground = registerColor("inlineChat.background", editorWidgetBackground, ( localize(10454, "Background color of the interactive editor widget")));
107
+ registerColor("inlineChat.border", editorWidgetBorder, ( localize(10455, "Border color of the interactive editor widget")));
108
+ registerColor("inlineChat.shadow", widgetShadow, ( localize(10456, "Shadow color of the interactive editor widget")));
109
+ registerColor("inlineChatInput.border", editorWidgetBorder, ( localize(10457, "Border color of the interactive editor input")));
110
+ registerColor("inlineChatInput.focusBorder", focusBorder, ( localize(10458, "Border color of the interactive editor input when focused")));
164
111
  registerColor(
165
112
  "inlineChatInput.placeholderForeground",
166
113
  inputPlaceholderForeground,
167
- ( localize(10148, "Foreground color of the interactive editor input placeholder"))
114
+ ( localize(10459, "Foreground color of the interactive editor input placeholder"))
168
115
  );
169
- registerColor("inlineChatInput.background", inputBackground, ( localize(10149, "Background color of the interactive editor input")));
170
- registerColor("inlineChatDiff.inserted", ( transparent(diffInserted, .5)), ( localize(10150, "Background color of inserted text in the interactive editor input")));
116
+ registerColor("inlineChatInput.background", inputBackground, ( localize(10460, "Background color of the interactive editor input")));
117
+ registerColor("inlineChatDiff.inserted", ( transparent(diffInserted, .5)), ( localize(10461, "Background color of inserted text in the interactive editor input")));
171
118
  registerColor("editorOverviewRuler.inlineChatInserted", {
172
119
  dark: ( transparent(diffInserted, 0.6)),
173
120
  light: ( transparent(diffInserted, 0.8)),
174
121
  hcDark: ( transparent(diffInserted, 0.6)),
175
122
  hcLight: ( transparent(diffInserted, 0.8))
176
- }, ( localize(10151, "Overview ruler marker color for inline chat inserted content.")));
123
+ }, ( localize(10462, "Overview ruler marker color for inline chat inserted content.")));
177
124
  registerColor("editorMinimap.inlineChatInserted", {
178
125
  dark: ( transparent(diffInserted, 0.6)),
179
126
  light: ( transparent(diffInserted, 0.8)),
180
127
  hcDark: ( transparent(diffInserted, 0.6)),
181
128
  hcLight: ( transparent(diffInserted, 0.8))
182
- }, ( localize(10152, "Minimap marker color for inline chat inserted content.")));
183
- registerColor("inlineChatDiff.removed", ( transparent(diffRemoved, .5)), ( localize(10153, "Background color of removed text in the interactive editor input")));
129
+ }, ( localize(10463, "Minimap marker color for inline chat inserted content.")));
130
+ registerColor("inlineChatDiff.removed", ( transparent(diffRemoved, .5)), ( localize(10464, "Background color of removed text in the interactive editor input")));
184
131
  registerColor("editorOverviewRuler.inlineChatRemoved", {
185
132
  dark: ( transparent(diffRemoved, 0.6)),
186
133
  light: ( transparent(diffRemoved, 0.8)),
187
134
  hcDark: ( transparent(diffRemoved, 0.6)),
188
135
  hcLight: ( transparent(diffRemoved, 0.8))
189
- }, ( localize(10154, "Overview ruler marker color for inline chat removed content.")));
136
+ }, ( localize(10465, "Overview ruler marker color for inline chat removed content.")));
190
137
 
191
- export { ACTION_ACCEPT_CHANGES, ACTION_ASK_IN_CHAT, ACTION_REGENERATE_RESPONSE, ACTION_REPORT_ISSUE, ACTION_START, ACTION_TOGGLE_DIFF, CTX_ASK_IN_CHAT_ENABLED, CTX_FIX_DIAGNOSTICS_ENABLED, CTX_HOVER_MODE, CTX_INLINE_CHAT_AFFORDANCE_VISIBLE, CTX_INLINE_CHAT_EDITING, CTX_INLINE_CHAT_FILE_BELONGS_TO_CHAT, CTX_INLINE_CHAT_FOCUSED, CTX_INLINE_CHAT_HAS_AGENT2, CTX_INLINE_CHAT_HAS_NOTEBOOK_AGENT, CTX_INLINE_CHAT_HAS_NOTEBOOK_INLINE, CTX_INLINE_CHAT_INPUT_HAS_TEXT, CTX_INLINE_CHAT_INPUT_WIDGET_FOCUSED, CTX_INLINE_CHAT_OUTER_CURSOR_POSITION, CTX_INLINE_CHAT_PENDING_CONFIRMATION, CTX_INLINE_CHAT_POSSIBLE, CTX_INLINE_CHAT_REQUEST_IN_PROGRESS, CTX_INLINE_CHAT_RESPONSE_FOCUSED, CTX_INLINE_CHAT_RESPONSE_TYPE, CTX_INLINE_CHAT_TERMINATED, CTX_INLINE_CHAT_V1_ENABLED, CTX_INLINE_CHAT_V2_ENABLED, CTX_INLINE_CHAT_VISIBLE, INLINE_CHAT_ID, InlineChatConfigKeys, InlineChatResponseType, MENU_INLINE_CHAT_SIDE, MENU_INLINE_CHAT_WIDGET_SECONDARY, MENU_INLINE_CHAT_WIDGET_STATUS, inlineChatBackground, inlineChatForeground };
138
+ export { ACTION_ASK_IN_CHAT, ACTION_START, CTX_ASK_IN_CHAT_ENABLED, CTX_FIX_DIAGNOSTICS_ENABLED, CTX_INLINE_CHAT_AFFORDANCE_VISIBLE, CTX_INLINE_CHAT_FILE_BELONGS_TO_CHAT, CTX_INLINE_CHAT_FOCUSED, CTX_INLINE_CHAT_HAS_AGENT, CTX_INLINE_CHAT_HAS_NOTEBOOK_AGENT, CTX_INLINE_CHAT_HAS_NOTEBOOK_INLINE, CTX_INLINE_CHAT_OUTER_CURSOR_POSITION, CTX_INLINE_CHAT_POSSIBLE, CTX_INLINE_CHAT_REQUEST_IN_PROGRESS, CTX_INLINE_CHAT_RESPONSE_FOCUSED, CTX_INLINE_CHAT_TERMINATED, CTX_INLINE_CHAT_V2_ENABLED, CTX_INLINE_CHAT_VISIBLE, INLINE_CHAT_ID, InlineChatConfigKeys, MENU_INLINE_CHAT_SIDE, MENU_INLINE_CHAT_WIDGET_SECONDARY, inlineChatBackground, inlineChatForeground };
@@ -88,7 +88,7 @@ let ReplInputHintContentWidget = class ReplInputHintContentWidget extends Dispos
88
88
  const keybinding = this.getKeybinding();
89
89
  const keybindingHintLabel = keybinding?.getLabel();
90
90
  if (keybinding && keybindingHintLabel) {
91
- const actionPart = ( localize(10171, "Press {0} to execute. ", keybindingHintLabel));
91
+ const actionPart = ( localize(10482, "Press {0} to execute. ", keybindingHintLabel));
92
92
  const [before, after] = ( actionPart.split(keybindingHintLabel).map(fragment => {
93
93
  const hintPart = $("span", undefined, fragment);
94
94
  hintPart.style.fontStyle = "italic";
@@ -105,9 +105,9 @@ let ReplInputHintContentWidget = class ReplInputHintContentWidget extends Dispos
105
105
  hintElement.appendChild(after);
106
106
  this.domNode.append(hintElement);
107
107
  const helpKeybinding = this.keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getLabel();
108
- const helpInfo = helpKeybinding ? ( localize(10172, "Use {0} for accessibility help. ", helpKeybinding)) : ( localize(10173, "Run the Open Accessibility Help command for more information. "));
108
+ const helpInfo = helpKeybinding ? ( localize(10483, "Use {0} for accessibility help. ", helpKeybinding)) : ( localize(10484, "Run the Open Accessibility Help command for more information. "));
109
109
  this.ariaLabel = actionPart.concat(helpInfo, ( localize(
110
- 10174,
110
+ 10485,
111
111
  " Toggle {0} in settings to disable this hint.",
112
112
  AccessibilityVerbositySettingId.ReplEditor
113
113
  )));
@@ -144,7 +144,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
144
144
  return [{
145
145
  text: `$(${successStateIcon.id})`,
146
146
  color: themeColorFromId(cellStatusIconSuccess),
147
- tooltip: ( localize(11111, "Success")),
147
+ tooltip: ( localize(11413, "Success")),
148
148
  alignment: CellStatusbarAlignment.Left,
149
149
  priority: Number.MAX_SAFE_INTEGER
150
150
  }];
@@ -152,14 +152,14 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
152
152
  return [{
153
153
  text: `$(${errorStateIcon.id})`,
154
154
  color: themeColorFromId(cellStatusIconError),
155
- tooltip: ( localize(11112, "Failed")),
155
+ tooltip: ( localize(11414, "Failed")),
156
156
  alignment: CellStatusbarAlignment.Left,
157
157
  priority: Number.MAX_SAFE_INTEGER
158
158
  }];
159
159
  } else if (state === NotebookCellExecutionState.Pending || state === NotebookCellExecutionState.Unconfirmed) {
160
160
  return [{
161
161
  text: `$(${pendingStateIcon.id})`,
162
- tooltip: ( localize(11113, "Pending")),
162
+ tooltip: ( localize(11415, "Pending")),
163
163
  alignment: CellStatusbarAlignment.Left,
164
164
  priority: Number.MAX_SAFE_INTEGER
165
165
  }];
@@ -167,7 +167,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
167
167
  const icon = runState?.didPause ? executingStateIcon : ThemeIcon.modify(executingStateIcon, "spin");
168
168
  return [{
169
169
  text: `$(${icon.id})`,
170
- tooltip: ( localize(11114, "Executing")),
170
+ tooltip: ( localize(11416, "Executing")),
171
171
  alignment: CellStatusbarAlignment.Left,
172
172
  priority: Number.MAX_SAFE_INTEGER
173
173
  }];
@@ -298,10 +298,10 @@ let TimerCellStatusBarItem = class TimerCellStatusBarItem extends Disposable {
298
298
  const rendererTitle = renderIssueLink ? `[${linkText}](command:workbench.action.openIssueReporter?${args})` : `**${linkText}**`;
299
299
  renderTimes += `- ${rendererTitle} ${formatCellDuration(renderDuration[key])}\n`;
300
300
  }
301
- renderTimes += `\n*${( localize(11115, "Use the links above to file an issue using the issue reporter."))}*\n`;
301
+ renderTimes += `\n*${( localize(11417, "Use the links above to file an issue using the issue reporter."))}*\n`;
302
302
  tooltip = {
303
303
  value: ( localize(
304
- 11116,
304
+ 11418,
305
305
  "**Last Execution** {0}\n\n**Execution Time** {1}\n\n**Overhead Time** {2}\n\n**Render Times**\n\n{3}",
306
306
  lastExecution,
307
307
  formatCellDuration(executionDuration),
@@ -312,7 +312,7 @@ let TimerCellStatusBarItem = class TimerCellStatusBarItem extends Disposable {
312
312
  };
313
313
  }
314
314
  const executionText = this._isVerbose ? ( localize(
315
- 11117,
315
+ 11419,
316
316
  "Last Execution: {0}, Duration: {1}",
317
317
  lastExecution,
318
318
  formatCellDuration(duration, false)
@@ -348,9 +348,9 @@ let NotebookFindWidget = class NotebookFindWidget extends SimpleFindReplaceWidge
348
348
  }
349
349
  _getAriaLabel(label, currentMatch, searchString) {
350
350
  if (label === NLS_NO_RESULTS) {
351
- return searchString === "" ? ( localize(11158, "{0} found", label)) : ( localize(11159, "{0} found for '{1}'", label, searchString));
351
+ return searchString === "" ? ( localize(11460, "{0} found", label)) : ( localize(11461, "{0} found for '{1}'", label, searchString));
352
352
  }
353
- return localize(11160, "{0} found for '{1}'", label, searchString);
353
+ return localize(11462, "{0} found for '{1}'", label, searchString);
354
354
  }
355
355
  dispose() {
356
356
  this._notebookEditor?.removeClassName(FIND_SHOW_TRANSITION);