@codingame/monaco-vscode-katex-common 28.4.0 → 29.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 (154) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/platform/actions/browser/buttonbar.js +2 -2
  3. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityProvider.js +17 -15
  4. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.d.ts +2 -2
  5. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.js +9 -9
  6. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatElicitationActions.js +1 -1
  7. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.d.ts +3 -1
  8. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +158 -47
  9. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +22 -17
  10. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionHoverWidget.js +8 -8
  11. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.d.ts +16 -4
  12. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.js +121 -14
  13. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.d.ts +8 -1
  14. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.js +15 -8
  15. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.js +1 -1
  16. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.d.ts +29 -13
  17. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.js +349 -109
  18. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentsessionsviewer.css +47 -23
  19. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets.d.ts +6 -1
  20. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets.js +104 -62
  21. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatImplicitContext.js +1 -3
  22. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.js +13 -11
  23. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.js +34 -40
  24. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +21 -16
  25. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +7 -7
  26. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.js +14 -14
  27. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.d.ts +8 -1
  28. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.js +13 -4
  29. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +29 -50
  30. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +261 -282
  31. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/searchableOptionPickerActionItem.d.ts +2 -1
  32. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/searchableOptionPickerActionItem.js +7 -5
  33. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatAgentHover.js +2 -2
  34. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatArtifactsWidget.d.ts +31 -0
  35. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatArtifactsWidget.js +184 -0
  36. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentMarkdownRenderer.js +4 -2
  37. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAgentCommandContentPart.js +1 -1
  38. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAnonymousRateLimitedPart.js +2 -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 +2 -2
  43. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationWidget.js +1 -1
  44. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatDisabledClaudeHooksContentPart.js +4 -3
  45. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatExtensionsContentPart.js +1 -1
  46. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatHookContentPart.js +1 -1
  47. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatInlineAnchorWidget.d.ts +3 -2
  48. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatInlineAnchorWidget.js +42 -34
  49. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownContentPart.d.ts +1 -0
  50. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownContentPart.js +14 -18
  51. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMcpServersInteractionContentPart.js +11 -9
  52. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMultiDiffContentPart.js +4 -4
  53. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatProgressContentPart.js +6 -2
  54. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.d.ts +25 -2
  55. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.js +332 -114
  56. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuotaExceededPart.js +4 -4
  57. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatReferencesContentPart.d.ts +1 -0
  58. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatReferencesContentPart.js +7 -7
  59. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatResourceGroupWidget.d.ts +2 -0
  60. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatResourceGroupWidget.js +10 -5
  61. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentContentPart.d.ts +1 -1
  62. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentContentPart.js +11 -16
  63. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSuggestNextWidget.d.ts +7 -1
  64. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSuggestNextWidget.js +66 -7
  65. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTextEditContentPart.js +1 -1
  66. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.d.ts +28 -3
  67. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.js +272 -107
  68. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingExternalResourcesWidget.d.ts +18 -0
  69. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingExternalResourcesWidget.js +70 -0
  70. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTipContentPart.js +9 -9
  71. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTodoListWidget.js +17 -17
  72. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolInputOutputContentPart.d.ts +1 -1
  73. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolInputOutputContentPart.js +6 -3
  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.js +14 -14
  77. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatConfirmationWidget.css +151 -0
  78. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatInlineAnchorWidget.css +6 -6
  79. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatQuestionCarousel.css +96 -10
  80. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatTerminalToolProgressPart.css +6 -1
  81. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatThinkingContent.css +86 -10
  82. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/abstractToolConfirmationSubPart.d.ts +7 -0
  83. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/abstractToolConfirmationSubPart.js +5 -2
  84. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatExtensionsInstallToolSubPart.js +4 -4
  85. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatInputOutputMarkdownProgressPart.d.ts +1 -1
  86. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatInputOutputMarkdownProgressPart.js +8 -6
  87. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppModel.js +1 -1
  88. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppSubPart.js +3 -3
  89. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatModifiedFilesConfirmationSubPart.d.ts +28 -0
  90. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatModifiedFilesConfirmationSubPart.js +273 -0
  91. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatSimpleToolProgressPart.js +3 -2
  92. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolConfirmationSubPart.js +28 -16
  93. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolProgressPart.d.ts +22 -1
  94. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolProgressPart.js +81 -32
  95. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolConfirmationSubPart.d.ts +1 -0
  96. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolConfirmationSubPart.js +20 -7
  97. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationPart.js +11 -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.d.ts +6 -0
  100. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPartUtilities.js +21 -7
  101. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPostExecuteConfirmationPart.js +5 -5
  102. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolProgressPart.js +2 -12
  103. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatDragAndDrop.js +12 -12
  104. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListRenderer.d.ts +0 -6
  105. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListRenderer.js +112 -163
  106. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListWidget.js +11 -1
  107. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidget.d.ts +9 -1
  108. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidget.js +137 -52
  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/chatInputPart.d.ts +12 -0
  111. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.js +108 -38
  112. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelPicker.d.ts +9 -3
  113. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelPicker.js +385 -247
  114. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.d.ts +5 -1
  115. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.js +23 -7
  116. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modePickerActionItem.js +6 -6
  117. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPickerActionItem.d.ts +4 -1
  118. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPickerActionItem2.js +4 -2
  119. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/permissionPickerActionItem.js +23 -23
  120. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.js +3 -3
  121. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/workspacePickerActionItem.js +3 -3
  122. package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chat.css +124 -17
  123. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageDetails.d.ts +4 -0
  124. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageDetails.js +24 -7
  125. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageWidget.js +30 -11
  126. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatContextUsageDetails.css +84 -0
  127. package/vscode/src/vs/workbench/contrib/chat/common/chatImageExtraction.d.ts +31 -0
  128. package/vscode/src/vs/workbench/contrib/chat/common/chatImageExtraction.js +170 -0
  129. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/internalCustomizations/internalPromptFileSystem.d.ts +47 -0
  130. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/internalCustomizations/internalPromptFileSystem.js +95 -0
  131. package/vscode/src/vs/workbench/contrib/chat/common/widget/annotations.js +4 -1
  132. package/vscode/src/vs/workbench/contrib/chat/common/widget/chatColors.js +15 -15
  133. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAffordance.d.ts +1 -1
  134. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAffordance.js +4 -3
  135. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.d.ts +2 -0
  136. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +38 -6
  137. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditorAffordance.d.ts +1 -0
  138. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditorAffordance.js +31 -0
  139. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatOverlayWidget.d.ts +12 -3
  140. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatOverlayWidget.js +130 -23
  141. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +23 -0
  142. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.js +41 -0
  143. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +5 -5
  144. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
  145. package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatOverlayWidget.css +55 -3
  146. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.d.ts +4 -1
  147. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +50 -39
  148. package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.js +3 -3
  149. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +7 -7
  150. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +2 -2
  151. package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.js +1 -1
  152. package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.js +1 -1
  153. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatQuestionCarouselAutoReply.d.ts +0 -35
  154. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatQuestionCarouselAutoReply.js +0 -440
@@ -10,6 +10,7 @@ import { ChatSessionPickerActionItem, IChatSessionPickerDelegate } from "./chatS
10
10
  import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
11
11
  import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service";
12
12
  import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
13
+ import { IChatInputPickerOptions } from "../widget/input/chatInputPickerActionItem.js";
13
14
  /**
14
15
  * Action view item for searchable option groups with QuickPick.
15
16
  * Used when an option group has `searchable: true` (e.g., repository selection).
@@ -22,7 +23,7 @@ export declare class SearchableOptionPickerActionItem extends ChatSessionPickerA
22
23
  constructor(action: IAction, initialState: {
23
24
  group: IChatSessionProviderOptionGroup;
24
25
  item: IChatSessionProviderOptionItem | undefined;
25
- }, delegate: IChatSessionPickerDelegate, actionWidgetService: IActionWidgetService, contextKeyService: IContextKeyService, keybindingService: IKeybindingService, quickInputService: IQuickInputService, logService: ILogService, commandService: ICommandService, telemetryService: ITelemetryService);
26
+ }, delegate: IChatSessionPickerDelegate, pickerOptions: IChatInputPickerOptions | undefined, actionWidgetService: IActionWidgetService, contextKeyService: IContextKeyService, keybindingService: IKeybindingService, quickInputService: IQuickInputService, logService: ILogService, commandService: ICommandService, telemetryService: ITelemetryService);
26
27
  protected getDropdownActions(): IActionWidgetDropdownAction[];
27
28
  protected renderLabel(element: HTMLElement): IDisposable | null;
28
29
  protected getContainerClass(): string;
@@ -34,6 +34,7 @@ let SearchableOptionPickerActionItem = class SearchableOptionPickerActionItem ex
34
34
  action,
35
35
  initialState,
36
36
  delegate,
37
+ pickerOptions,
37
38
  actionWidgetService,
38
39
  contextKeyService,
39
40
  keybindingService,
@@ -46,6 +47,7 @@ let SearchableOptionPickerActionItem = class SearchableOptionPickerActionItem ex
46
47
  action,
47
48
  initialState,
48
49
  delegate,
50
+ pickerOptions,
49
51
  actionWidgetService,
50
52
  contextKeyService,
51
53
  keybindingService,
@@ -87,8 +89,8 @@ let SearchableOptionPickerActionItem = class SearchableOptionPickerActionItem ex
87
89
  checked: false,
88
90
  class: "searchable-picker-see-more",
89
91
  description: undefined,
90
- tooltip: ( localize(6056, "Search for more options")),
91
- label: ( localize(6057, "See more...")),
92
+ tooltip: ( localize(6187, "Search for more options")),
93
+ label: ( localize(6188, "See more...")),
92
94
  run: () => {
93
95
  this.showSearchableQuickPick(optionGroup);
94
96
  }
@@ -103,7 +105,7 @@ let SearchableOptionPickerActionItem = class SearchableOptionPickerActionItem ex
103
105
  if (optionGroup?.icon) {
104
106
  domChildren.push(renderIcon(optionGroup.icon));
105
107
  }
106
- const label = this.currentOption?.name ?? optionGroup?.name ?? ( localize(6058, "Select..."));
108
+ const label = this.currentOption?.name ?? optionGroup?.name ?? ( localize(6189, "Select..."));
107
109
  domChildren.push($("span.chat-session-option-label", undefined, label));
108
110
  domChildren.push(...renderLabelWithIcons(`$(chevron-down)`));
109
111
  reset(element, ...domChildren);
@@ -118,7 +120,7 @@ let SearchableOptionPickerActionItem = class SearchableOptionPickerActionItem ex
118
120
  const disposables = ( new DisposableStore());
119
121
  const quickPick = this.quickInputService.createQuickPick();
120
122
  disposables.add(quickPick);
121
- quickPick.placeholder = optionGroup.description ?? ( localize(6059, "Select {0}", optionGroup.name));
123
+ quickPick.placeholder = optionGroup.description ?? ( localize(6190, "Select {0}", optionGroup.name));
122
124
  quickPick.matchOnDescription = true;
123
125
  quickPick.matchOnDetail = true;
124
126
  quickPick.ignoreFocusOut = true;
@@ -188,6 +190,6 @@ let SearchableOptionPickerActionItem = class SearchableOptionPickerActionItem ex
188
190
  }
189
191
  }
190
192
  };
191
- SearchableOptionPickerActionItem = SearchableOptionPickerActionItem_1 = ( __decorate([( __param(3, IActionWidgetService)), ( __param(4, IContextKeyService)), ( __param(5, IKeybindingService)), ( __param(6, IQuickInputService)), ( __param(7, ILogService)), ( __param(8, ICommandService)), ( __param(9, ITelemetryService))], SearchableOptionPickerActionItem));
193
+ SearchableOptionPickerActionItem = SearchableOptionPickerActionItem_1 = ( __decorate([( __param(4, IActionWidgetService)), ( __param(5, IContextKeyService)), ( __param(6, IKeybindingService)), ( __param(7, IQuickInputService)), ( __param(8, ILogService)), ( __param(9, ICommandService)), ( __param(10, ITelemetryService))], SearchableOptionPickerActionItem));
192
194
 
193
195
  export { SearchableOptionPickerActionItem };
@@ -49,7 +49,7 @@ let ChatAgentHover = class ChatAgentHover extends Disposable {
49
49
  this.publisherName = $("span.chat-agent-hover-publisher-name");
50
50
  append(hoverElement.publisher, verifiedBadge, this.publisherName);
51
51
  hoverElement.warning.appendChild(renderIcon(Codicon.warning));
52
- hoverElement.warning.appendChild($("span", undefined, ( localize(6489, "This chat extension is using a reserved name."))));
52
+ hoverElement.warning.appendChild($("span", undefined, ( localize(6657, "This chat extension is using a reserved name."))));
53
53
  }
54
54
  setAgent(id) {
55
55
  const agent = this.chatAgentService.getAgent(id);
@@ -95,7 +95,7 @@ function getChatAgentHoverOptions(getAgent, commandService) {
95
95
  return {
96
96
  actions: [{
97
97
  commandId: showExtensionsWithIdsCommandId,
98
- label: ( localize(6490, "View Extension")),
98
+ label: ( localize(6658, "View Extension")),
99
99
  run: () => {
100
100
  const agent = getAgent();
101
101
  if (agent) {
@@ -0,0 +1,31 @@
1
+ import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
2
+ import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
3
+ import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service";
4
+ import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
5
+ import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
6
+ import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
7
+ import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service";
8
+ import { IChatArtifactsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/chatArtifactsService.service";
9
+ export declare class ChatArtifactsWidget extends Disposable {
10
+ private readonly _chatArtifactsService;
11
+ private readonly _instantiationService;
12
+ private readonly _openerService;
13
+ private readonly _configurationService;
14
+ private readonly _commandService;
15
+ private readonly _fileService;
16
+ readonly domNode: HTMLElement;
17
+ private readonly _autorunDisposable;
18
+ private _currentObs;
19
+ private _isCollapsed;
20
+ private _list;
21
+ private readonly _listStore;
22
+ private _expandIcon;
23
+ private _titleElement;
24
+ static readonly ELEMENT_HEIGHT = 22;
25
+ private static readonly MAX_ITEMS_SHOWN;
26
+ private _sessionResource;
27
+ constructor(_chatArtifactsService: IChatArtifactsService, _instantiationService: IInstantiationService, _openerService: IOpenerService, _configurationService: IConfigurationService, _commandService: ICommandService, _fileService: IFileService);
28
+ render(sessionResource: URI): void;
29
+ private _openScreenshotInCarousel;
30
+ hide(): void;
31
+ }
@@ -0,0 +1,184 @@
1
+
2
+ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
+ import { $, clearNode, append } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
4
+ import { Button } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/button/button';
5
+ import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
6
+ import { Disposable, MutableDisposable, DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
7
+ import { getMediaMime } from '@codingame/monaco-vscode-api/vscode/vs/base/common/mime';
8
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/index';
9
+ import { ThemeIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
10
+ import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
11
+ import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
12
+ import { ICommandService } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service';
13
+ import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
14
+ import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
15
+ import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
16
+ import { WorkbenchList } from '@codingame/monaco-vscode-api/vscode/vs/platform/list/browser/listService';
17
+ import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
18
+ import { ChatConfiguration } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
19
+ import { IChatArtifactsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/chatArtifactsService.service';
20
+ import { autorun } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/reactions/autorun';
21
+
22
+ var ChatArtifactsWidget_1;
23
+ const ARTIFACT_TYPE_ICONS = {
24
+ devServer: Codicon.globe,
25
+ screenshot: Codicon.file,
26
+ plan: Codicon.book
27
+ };
28
+ let ChatArtifactsWidget = class ChatArtifactsWidget extends Disposable {
29
+ static {
30
+ ChatArtifactsWidget_1 = this;
31
+ }
32
+ static {
33
+ this.ELEMENT_HEIGHT = 22;
34
+ }
35
+ static {
36
+ this.MAX_ITEMS_SHOWN = 6;
37
+ }
38
+ constructor(
39
+ _chatArtifactsService,
40
+ _instantiationService,
41
+ _openerService,
42
+ _configurationService,
43
+ _commandService,
44
+ _fileService
45
+ ) {
46
+ super();
47
+ this._chatArtifactsService = _chatArtifactsService;
48
+ this._instantiationService = _instantiationService;
49
+ this._openerService = _openerService;
50
+ this._configurationService = _configurationService;
51
+ this._commandService = _commandService;
52
+ this._fileService = _fileService;
53
+ this._autorunDisposable = this._register(( new MutableDisposable()));
54
+ this._isCollapsed = true;
55
+ this._listStore = this._register(( new DisposableStore()));
56
+ this.domNode = $(".chat-artifacts-widget");
57
+ this.domNode.style.display = "none";
58
+ }
59
+ render(sessionResource) {
60
+ this._sessionResource = sessionResource;
61
+ this._currentObs = this._chatArtifactsService.artifacts(sessionResource);
62
+ clearNode(this.domNode);
63
+ this._listStore.clear();
64
+ const expandoContainer = $(".chat-artifacts-expand");
65
+ const headerButton = this._listStore.add(( new Button(expandoContainer, {
66
+ supportIcons: true
67
+ })));
68
+ headerButton.element.setAttribute("aria-expanded", String(!this._isCollapsed));
69
+ const titleSection = $(".chat-artifacts-title-section");
70
+ this._expandIcon = $(".expand-icon.codicon");
71
+ this._expandIcon.classList.add(this._isCollapsed ? "codicon-chevron-right" : "codicon-chevron-down");
72
+ this._expandIcon.setAttribute("aria-hidden", "true");
73
+ this._titleElement = $(".chat-artifacts-title");
74
+ titleSection.appendChild(this._expandIcon);
75
+ titleSection.appendChild(this._titleElement);
76
+ headerButton.element.appendChild(titleSection);
77
+ this.domNode.appendChild(expandoContainer);
78
+ const listContainer = $(".chat-artifacts-list");
79
+ listContainer.style.display = this._isCollapsed ? "none" : "block";
80
+ this.domNode.appendChild(listContainer);
81
+ this._list = this._listStore.add(
82
+ this._instantiationService.createInstance(WorkbenchList, "ChatArtifactsList", listContainer, ( new ChatArtifactsListDelegate()), [( new ChatArtifactsListRenderer())], {
83
+ alwaysConsumeMouseWheel: false
84
+ })
85
+ );
86
+ this._listStore.add(this._list.onDidOpen(e => {
87
+ if (e.element) {
88
+ if (e.element.type === "screenshot" && this._configurationService.getValue(ChatConfiguration.ImageCarouselEnabled)) {
89
+ this._openScreenshotInCarousel(e.element);
90
+ } else {
91
+ this._openerService.open(( URI.parse(e.element.uri)));
92
+ }
93
+ }
94
+ }));
95
+ this._listStore.add(headerButton.onDidClick(() => {
96
+ this._isCollapsed = !this._isCollapsed;
97
+ this._expandIcon.classList.toggle("codicon-chevron-down", !this._isCollapsed);
98
+ this._expandIcon.classList.toggle("codicon-chevron-right", this._isCollapsed);
99
+ headerButton.element.setAttribute("aria-expanded", String(!this._isCollapsed));
100
+ listContainer.style.display = this._isCollapsed ? "none" : "block";
101
+ }));
102
+ this._autorunDisposable.value = autorun(reader => {
103
+ const artifacts = this._currentObs.read(reader);
104
+ if (artifacts.length === 0) {
105
+ this.domNode.style.display = "none";
106
+ return;
107
+ }
108
+ this.domNode.style.display = "";
109
+ this._titleElement.textContent = artifacts.length === 1 ? ( localize(6659, "1 Artifact")) : ( localize(6660, "{0} Artifacts", artifacts.length));
110
+ const itemsShown = Math.min(artifacts.length, ChatArtifactsWidget_1.MAX_ITEMS_SHOWN);
111
+ const listHeight = itemsShown * ChatArtifactsWidget_1.ELEMENT_HEIGHT;
112
+ this._list.layout(listHeight);
113
+ this._list.getHTMLElement().style.height = `${listHeight}px`;
114
+ this._list.splice(0, this._list.length, [...artifacts]);
115
+ });
116
+ }
117
+ async _openScreenshotInCarousel(clicked) {
118
+ const allArtifacts = this._currentObs?.get() ?? [];
119
+ const screenshots = allArtifacts.filter(a => a.type === "screenshot");
120
+ const startIndex = screenshots.indexOf(clicked);
121
+ const images = await Promise.all(( screenshots.map(async a => {
122
+ const uri = ( URI.parse(a.uri));
123
+ const content = await this._fileService.readFile(uri);
124
+ const name = uri.path.split("/").pop() ?? "image";
125
+ return {
126
+ id: a.uri,
127
+ name,
128
+ mimeType: getMediaMime(name) ?? "image/png",
129
+ data: content.value.buffer
130
+ };
131
+ })));
132
+ await this._commandService.executeCommand("workbench.action.chat.openImageInCarousel", {
133
+ collection: {
134
+ id: ( this._sessionResource.toString()) + "_artifacts_carousel",
135
+ title: ( localize(6661, "Artifacts")),
136
+ sections: [{
137
+ title: "",
138
+ images
139
+ }]
140
+ },
141
+ startIndex: Math.max(0, startIndex)
142
+ });
143
+ }
144
+ hide() {
145
+ this._autorunDisposable.clear();
146
+ this.domNode.style.display = "none";
147
+ }
148
+ };
149
+ ChatArtifactsWidget = ChatArtifactsWidget_1 = ( __decorate([( __param(0, IChatArtifactsService)), ( __param(1, IInstantiationService)), ( __param(2, IOpenerService)), ( __param(3, IConfigurationService)), ( __param(4, ICommandService)), ( __param(5, IFileService))], ChatArtifactsWidget));
150
+ class ChatArtifactsListDelegate {
151
+ getHeight() {
152
+ return ChatArtifactsWidget.ELEMENT_HEIGHT;
153
+ }
154
+ getTemplateId() {
155
+ return ChatArtifactsListRenderer.TEMPLATE_ID;
156
+ }
157
+ }
158
+ class ChatArtifactsListRenderer {
159
+ constructor() {
160
+ this.templateId = ChatArtifactsListRenderer.TEMPLATE_ID;
161
+ }
162
+ static {
163
+ this.TEMPLATE_ID = "chatArtifactsListRenderer";
164
+ }
165
+ renderTemplate(container) {
166
+ const row = append(container, $(".chat-artifacts-list-row"));
167
+ const iconElement = append(row, $(".chat-artifacts-list-icon"));
168
+ const labelElement = append(row, $(".chat-artifacts-list-label"));
169
+ return {
170
+ container: row,
171
+ iconElement,
172
+ labelElement
173
+ };
174
+ }
175
+ renderElement(artifact, _index, templateData) {
176
+ const icon = (artifact.type && ARTIFACT_TYPE_ICONS[artifact.type]) || Codicon.archive;
177
+ templateData.iconElement.className = "chat-artifacts-list-icon " + ThemeIcon.asClassName(icon);
178
+ templateData.labelElement.textContent = artifact.label;
179
+ templateData.container.title = artifact.uri;
180
+ }
181
+ disposeTemplate() {}
182
+ }
183
+
184
+ export { ChatArtifactsWidget };
@@ -9,7 +9,9 @@ import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/pl
9
9
  import { IHoverService } from '@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service';
10
10
  import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
11
11
  import product from '@codingame/monaco-vscode-api/vscode/vs/platform/product/common/product';
12
+ import { CHAT_INTERNAL_SCHEME } from '../../common/promptSyntax/internalCustomizations/internalPromptFileSystem.js';
12
13
 
14
+ const _remoteImageDisallowed = () => false;
13
15
  const allowedChatMarkdownHtmlTags = ( Object.freeze([
14
16
  "b",
15
17
  "blockquote",
@@ -68,9 +70,9 @@ let ChatContentMarkdownRenderer = class ChatContentMarkdownRenderer {
68
70
  },
69
71
  ...options?.sanitizerConfig,
70
72
  allowedLinkSchemes: {
71
- augment: [product.urlProtocol]
73
+ augment: [product.urlProtocol, CHAT_INTERNAL_SCHEME, "copilot-skill"]
72
74
  },
73
- remoteImageIsAllowed: _uri => false
75
+ remoteImageIsAllowed: _remoteImageDisallowed
74
76
  }
75
77
  };
76
78
  const mdWithBody = (markdown && markdown.supportHtml) ? {
@@ -28,7 +28,7 @@ let ChatAgentCommandContentPart = class ChatAgentCommandContentPart extends Disp
28
28
  }, {
29
29
  groupId
30
30
  }));
31
- const rerun = ( localize(6491, "Rerun without {0}{1}", chatSubcommandLeader, cmd.name));
31
+ const rerun = ( localize(6662, "Rerun without {0}{1}", chatSubcommandLeader, cmd.name));
32
32
  const btn = ( new Button(this.domNode, {
33
33
  ariaLabel: rerun
34
34
  }));
@@ -21,14 +21,14 @@ let ChatAnonymousRateLimitedPart = class ChatAnonymousRateLimitedPart extends Di
21
21
  const messageContainer = append(this.domNode, $(".chat-rate-limited-message"));
22
22
  const message = append(messageContainer, $("div"));
23
23
  message.textContent = ( localize(
24
- 6492,
24
+ 6663,
25
25
  "Continue the conversation by signing in. Your free account gets 50 premium requests a month plus access to more models and AI features."
26
26
  ));
27
27
  const signInButton = this._register(( new Button(messageContainer, {
28
28
  ...defaultButtonStyles,
29
29
  supportIcons: true
30
30
  })));
31
- signInButton.label = ( localize(6493, "Enable more AI features"));
31
+ signInButton.label = ( localize(6664, "Enable more AI features"));
32
32
  signInButton.element.classList.add("chat-rate-limited-button");
33
33
  this._register(signInButton.onDidClick(async () => {
34
34
  const commandId = "workbench.action.chat.triggerSetup";
@@ -93,7 +93,7 @@ let ChatCheckpointFileChangesSummaryContentPart = class ChatCheckpointFileChange
93
93
  renderViewAllFileChangesButton(container) {
94
94
  const button = container.appendChild($(".chat-view-changes-icon"));
95
95
  const hoverDisposable = this.hoverService.setupDelayedHover(button, () => ({
96
- content: ( localize2(6494, "View All File Changes"))
96
+ content: ( localize2(6665, "View All File Changes"))
97
97
  }));
98
98
  button.classList.add(...ThemeIcon.asClassNameArray(Codicon.diffMultiple));
99
99
  button.setAttribute("role", "button");
@@ -29,7 +29,7 @@ let ChatCodeCitationContentPart = class ChatCodeCitationContentPart extends Disp
29
29
  buttonSecondaryHoverBackground: undefined,
30
30
  buttonSeparator: undefined
31
31
  })));
32
- button.label = ( localize(6495, "View matches"));
32
+ button.label = ( localize(6666, "View matches"));
33
33
  this._register(button.onDidClick(() => {
34
34
  const citationText = `# Code Citations\n\n` + ( citations.citations.map(c => `## License: ${c.license}\n${( c.value.toString())}\n\n\`\`\`\n${c.snippet}\n\`\`\`\n\n`)).join("\n");
35
35
  this.editorService.openEditor({
@@ -23,7 +23,7 @@ let ChatCommandButtonContentPart = class ChatCommandButtonContentPart extends Di
23
23
  }
24
24
  }
25
25
  renderButton(container, command, enabled, secondary) {
26
- const tooltip = enabled ? command.tooltip : ( localize(6496, "Button not available in restored chat"));
26
+ const tooltip = enabled ? command.tooltip : ( localize(6667, "Button not available in restored chat"));
27
27
  const button = this._register(( new Button(container, {
28
28
  ...defaultButtonStyles,
29
29
  supportIcons: true,
@@ -26,10 +26,10 @@ let ChatConfirmationContentPart = class ChatConfirmationContentPart extends Disp
26
26
  data: confirmation.data,
27
27
  isSecondary: button !== confirmation.buttons?.[0]
28
28
  }))) : [{
29
- label: ( localize(6497, "Accept")),
29
+ label: ( localize(6668, "Accept")),
30
30
  data: confirmation.data
31
31
  }, {
32
- label: ( localize(6498, "Dismiss")),
32
+ label: ( localize(6669, "Dismiss")),
33
33
  data: confirmation.data,
34
34
  isSecondary: true
35
35
  }];
@@ -405,7 +405,7 @@ function configureAccessibilityContainer(container, title, message) {
405
405
  container.tabIndex = 0;
406
406
  const titleAsString = typeof title === "string" ? title : title.value;
407
407
  const messageAsString = typeof message === "string" ? message : message && "value" in message ? message.value : message && "textContent" in message ? message.textContent : "";
408
- container.setAttribute("aria-label", ( localize(6499, "Chat Confirmation Dialog {0} {1}", titleAsString, messageAsString)));
408
+ container.setAttribute("aria-label", ( localize(6670, "Chat Confirmation Dialog {0} {1}", titleAsString, messageAsString)));
409
409
  container.classList.add("chat-confirmation-widget-container");
410
410
  }
411
411
 
@@ -24,12 +24,13 @@ let ChatDisabledClaudeHooksContentPart = class ChatDisabledClaudeHooksContentPar
24
24
  const icon = $(".chat-disabled-claude-hooks-icon");
25
25
  icon.classList.add(...ThemeIcon.asClassNameArray(Codicon.info));
26
26
  const enableLink = createMarkdownCommandLink({
27
- title: ( localize(6500, "Enable")),
27
+ text: ( localize(6671, "Enable")),
28
28
  id: "workbench.action.openSettings",
29
- arguments: [PromptsConfig.USE_CLAUDE_HOOKS]
29
+ arguments: [PromptsConfig.USE_CLAUDE_HOOKS],
30
+ tooltip: ( localize(6672, "Open settings to enable Claude Code hooks"))
30
31
  });
31
32
  const message = ( localize(
32
- 6501,
33
+ 6673,
33
34
  "Claude Code hooks are available for this workspace. {0}",
34
35
  enableLink
35
36
  ));
@@ -30,7 +30,7 @@ let ChatExtensionsContentPart = class ChatExtensionsContentPart extends Disposab
30
30
  append(
31
31
  loadingElement,
32
32
  $(ThemeIcon.asCSSSelector(ThemeIcon.modify(Codicon.loading, "spin"))),
33
- $("span.loading-message", undefined, ( localize(6502, "Loading extensions...")))
33
+ $("span.loading-message", undefined, ( localize(6674, "Loading extensions...")))
34
34
  );
35
35
  const extensionsList = append(this.domNode, $(".extensions-list"));
36
36
  const list = this._register(
@@ -20,7 +20,7 @@ let ChatHookContentPart = class ChatHookContentPart extends ChatCollapsibleConte
20
20
  const isStopped = !!hookPart.stopReason;
21
21
  const isWarning = !!hookPart.systemMessage;
22
22
  const toolName = hookPart.toolDisplayName;
23
- const title = isStopped ? (toolName ? ( localize(6503, "Blocked {0} - {1} hook", toolName, hookTypeLabel)) : ( localize(6504, "Blocked by {0} hook", hookTypeLabel))) : (toolName ? ( localize(6505, "Warning for {0} - {1} hook", toolName, hookTypeLabel)) : ( localize(6506, "Warning from {0} hook", hookTypeLabel)));
23
+ const title = isStopped ? (toolName ? ( localize(6675, "Blocked {0} - {1} hook", toolName, hookTypeLabel)) : ( localize(6676, "Blocked by {0} hook", hookTypeLabel))) : (toolName ? ( localize(6677, "Warning for {0} - {1} hook", toolName, hookTypeLabel)) : ( localize(6678, "Warning from {0} hook", hookTypeLabel)));
24
24
  super(title, context, undefined, hoverService, configurationService);
25
25
  this.hookPart = hookPart;
26
26
  this.icon = isStopped ? Codicon.error : isWarning ? Codicon.warning : Codicon.check;
@@ -16,6 +16,7 @@ import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/t
16
16
  import { INotebookDocumentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/notebook/common/notebookDocumentService.service";
17
17
  import { IWorkspaceSymbol } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/search/common/search";
18
18
  import { IChatContentInlineReference } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService";
19
+ import { IChatImageCarouselService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatImageCarouselService.service";
19
20
  import { IChatMarkdownAnchorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownAnchorService.service";
20
21
  import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
21
22
  type ContentRefData = {
@@ -35,14 +36,14 @@ export declare class InlineAnchorWidget extends Disposable {
35
36
  private readonly element;
36
37
  readonly inlineReference: IChatContentInlineReference;
37
38
  private readonly metadata;
39
+ private readonly chatImageCarouselService;
38
40
  private readonly configurationService;
39
41
  private readonly notebookDocumentService;
40
42
  private readonly openerService;
41
43
  static readonly className = "chat-inline-anchor-widget";
42
44
  readonly data: ContentRefData;
43
- constructor(element: HTMLAnchorElement | HTMLElement, inlineReference: IChatContentInlineReference, metadata: InlineAnchorWidgetMetadata | undefined, configurationService: IConfigurationService, originalContextKeyService: IContextKeyService, contextMenuService: IContextMenuService, fileService: IFileService, hoverService: IHoverService, instantiationService: IInstantiationService, labelService: ILabelService, languageService: ILanguageService, menuService: IMenuService, modelService: IModelService, telemetryService: ITelemetryService, themeService: IThemeService, notebookDocumentService: INotebookDocumentService, openerService: IOpenerService);
45
+ constructor(element: HTMLAnchorElement | HTMLElement, inlineReference: IChatContentInlineReference, metadata: InlineAnchorWidgetMetadata | undefined, chatImageCarouselService: IChatImageCarouselService, configurationService: IConfigurationService, originalContextKeyService: IContextKeyService, contextMenuService: IContextMenuService, fileService: IFileService, hoverService: IHoverService, instantiationService: IInstantiationService, labelService: ILabelService, languageService: ILanguageService, menuService: IMenuService, modelService: IModelService, telemetryService: ITelemetryService, themeService: IThemeService, notebookDocumentService: INotebookDocumentService, openerService: IOpenerService);
44
46
  getHTMLElement(): HTMLElement;
45
- private updateAppearance;
46
47
  private getCellIndex;
47
48
  }
48
49
  export {};