@codingame/monaco-vscode-katex-common 28.4.1 → 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
@@ -26,20 +26,21 @@ var InlineChatConfigKeys;
26
26
  InlineChatConfigKeys["Affordance"] = "inlineChat.affordance";
27
27
  InlineChatConfigKeys["RenderMode"] = "inlineChat.renderMode";
28
28
  InlineChatConfigKeys["FixDiagnostics"] = "inlineChat.fixDiagnostics";
29
+ InlineChatConfigKeys["AskInChat"] = "inlineChat.askInChat";
29
30
  })(InlineChatConfigKeys || (InlineChatConfigKeys = {}));
30
31
  ( Registry.as(Extensions.Configuration)).registerConfiguration({
31
32
  id: "editor",
32
33
  properties: {
33
34
  [InlineChatConfigKeys.FinishOnType]: {
34
35
  description: ( localize(
35
- 9685,
36
+ 9918,
36
37
  "Whether to finish an inline chat session when typing outside of changed regions."
37
38
  )),
38
39
  default: false,
39
40
  type: "boolean"
40
41
  },
41
42
  [InlineChatConfigKeys.EnableV2]: {
42
- description: ( localize(9686, "Whether to use the next version of inline chat.")),
43
+ description: ( localize(9919, "Whether to use the next version of inline chat.")),
43
44
  default: false,
44
45
  type: "boolean",
45
46
  tags: ["preview"],
@@ -48,7 +49,7 @@ var InlineChatConfigKeys;
48
49
  }
49
50
  },
50
51
  [InlineChatConfigKeys.notebookAgent]: {
51
- markdownDescription: ( localize(9687, "Enable agent-like behavior for inline chat widget in notebooks.")),
52
+ markdownDescription: ( localize(9920, "Enable agent-like behavior for inline chat widget in notebooks.")),
52
53
  default: false,
53
54
  type: "boolean",
54
55
  tags: ["experimental"],
@@ -58,24 +59,24 @@ var InlineChatConfigKeys;
58
59
  },
59
60
  [InlineChatConfigKeys.Affordance]: {
60
61
  description: ( localize(
61
- 9688,
62
+ 9921,
62
63
  "Controls whether an inline chat affordance is shown when text is selected."
63
64
  )),
64
65
  default: "off",
65
66
  type: "string",
66
67
  enum: ["off", "gutter", "editor"],
67
- enumDescriptions: [( localize(9689, "No affordance is shown.")), ( localize(9690, "Show an affordance in the gutter.")), ( localize(9691, "Show an affordance in the editor at the cursor position."))],
68
+ enumDescriptions: [( localize(9922, "No affordance is shown.")), ( localize(9923, "Show an affordance in the gutter.")), ( localize(9924, "Show an affordance in the editor at the cursor position."))],
68
69
  experiment: {
69
70
  mode: "auto"
70
71
  },
71
72
  tags: ["experimental"]
72
73
  },
73
74
  [InlineChatConfigKeys.RenderMode]: {
74
- description: ( localize(9692, "Controls how inline chat is rendered.")),
75
- default: "zone",
75
+ description: ( localize(9925, "Controls how inline chat is rendered.")),
76
+ default: "hover",
76
77
  type: "string",
77
78
  enum: ["zone", "hover"],
78
- enumDescriptions: [( localize(9693, "Render inline chat as a zone widget below the current line.")), ( localize(9694, "Render inline chat as a hover overlay."))],
79
+ enumDescriptions: [( localize(9926, "Render inline chat as a zone widget below the current line.")), ( localize(9927, "Render inline chat as a hover overlay."))],
79
80
  experiment: {
80
81
  mode: "auto"
81
82
  },
@@ -83,7 +84,7 @@ var InlineChatConfigKeys;
83
84
  },
84
85
  [InlineChatConfigKeys.FixDiagnostics]: {
85
86
  description: ( localize(
86
- 9695,
87
+ 9928,
87
88
  "Controls whether the Fix action is shown for diagnostics in the editor."
88
89
  )),
89
90
  default: true,
@@ -92,6 +93,14 @@ var InlineChatConfigKeys;
92
93
  mode: "auto"
93
94
  },
94
95
  tags: ["experimental"]
96
+ },
97
+ [InlineChatConfigKeys.AskInChat]: {
98
+ description: ( localize(
99
+ 9929,
100
+ "Controls whether files in a chat editing session use Ask in Chat instead of Inline Chat."
101
+ )),
102
+ default: true,
103
+ type: "boolean"
95
104
  }
96
105
  }
97
106
  });
@@ -103,37 +112,39 @@ var InlineChatResponseType;
103
112
  InlineChatResponseType["MessagesAndEdits"] = "messagesAndEdits";
104
113
  })(InlineChatResponseType || (InlineChatResponseType = {}));
105
114
  const CTX_INLINE_CHAT_POSSIBLE = ( new RawContextKey("inlineChatPossible", false, ( localize(
106
- 9696,
115
+ 9930,
107
116
  "Whether a provider for inline chat exists and whether an editor for inline chat is open"
108
117
  ))));
109
- const CTX_INLINE_CHAT_HAS_AGENT2 = ( new RawContextKey("inlineChatHasEditsAgent", false, ( localize(9697, "Whether an agent for inline for interactive editors exists"))));
110
- const CTX_INLINE_CHAT_HAS_NOTEBOOK_INLINE = ( new RawContextKey("inlineChatHasNotebookInline", false, ( localize(9698, "Whether an agent for notebook cells exists"))));
111
- const CTX_INLINE_CHAT_HAS_NOTEBOOK_AGENT = ( new RawContextKey("inlineChatHasNotebookAgent", false, ( localize(9699, "Whether an agent for notebook cells exists"))));
112
- const CTX_INLINE_CHAT_VISIBLE = ( new RawContextKey("inlineChatVisible", false, ( localize(9700, "Whether the interactive editor input is visible"))));
113
- const CTX_INLINE_CHAT_FOCUSED = ( new RawContextKey("inlineChatFocused", false, ( localize(9701, "Whether the interactive editor input is focused"))));
118
+ const CTX_INLINE_CHAT_HAS_AGENT2 = ( new RawContextKey("inlineChatHasEditsAgent", false, ( localize(9931, "Whether an agent for inline for interactive editors exists"))));
119
+ const CTX_INLINE_CHAT_HAS_NOTEBOOK_INLINE = ( new RawContextKey("inlineChatHasNotebookInline", false, ( localize(9932, "Whether an agent for notebook cells exists"))));
120
+ const CTX_INLINE_CHAT_HAS_NOTEBOOK_AGENT = ( new RawContextKey("inlineChatHasNotebookAgent", false, ( localize(9933, "Whether an agent for notebook cells exists"))));
121
+ const CTX_INLINE_CHAT_VISIBLE = ( new RawContextKey("inlineChatVisible", false, ( localize(9934, "Whether the interactive editor input is visible"))));
122
+ const CTX_INLINE_CHAT_FOCUSED = ( new RawContextKey("inlineChatFocused", false, ( localize(9935, "Whether the interactive editor input is focused"))));
114
123
  const CTX_INLINE_CHAT_EDITING = ( new RawContextKey("inlineChatEditing", true, ( localize(
115
- 9702,
124
+ 9936,
116
125
  "Whether the user is currently editing or generating code in the inline chat"
117
126
  ))));
118
- const CTX_INLINE_CHAT_RESPONSE_FOCUSED = ( new RawContextKey("inlineChatResponseFocused", false, ( localize(9703, "Whether the interactive widget's response is focused"))));
119
- const CTX_INLINE_CHAT_INPUT_HAS_TEXT = ( new RawContextKey("inlineChatInputHasText", false, ( localize(9704, "Whether the inline chat input widget has text"))));
120
- const CTX_INLINE_CHAT_INPUT_WIDGET_FOCUSED = ( new RawContextKey("inlineChatInputWidgetFocused", false, ( localize(9705, "Whether the inline chat input widget editor is focused"))));
127
+ const CTX_INLINE_CHAT_RESPONSE_FOCUSED = ( new RawContextKey("inlineChatResponseFocused", false, ( localize(9937, "Whether the interactive widget's response is focused"))));
128
+ const CTX_INLINE_CHAT_INPUT_HAS_TEXT = ( new RawContextKey("inlineChatInputHasText", false, ( localize(9938, "Whether the inline chat input widget has text"))));
129
+ const CTX_INLINE_CHAT_INPUT_WIDGET_FOCUSED = ( new RawContextKey("inlineChatInputWidgetFocused", false, ( localize(9939, "Whether the inline chat input widget editor is focused"))));
121
130
  const CTX_INLINE_CHAT_OUTER_CURSOR_POSITION = ( new RawContextKey("inlineChatOuterCursorPosition", "", ( localize(
122
- 9706,
131
+ 9940,
123
132
  "Whether the cursor of the outer editor is above or below the interactive editor input"
124
133
  ))));
125
- const CTX_INLINE_CHAT_REQUEST_IN_PROGRESS = ( new RawContextKey("inlineChatRequestInProgress", false, ( localize(9707, "Whether an inline chat request is currently in progress"))));
134
+ const CTX_INLINE_CHAT_REQUEST_IN_PROGRESS = ( new RawContextKey("inlineChatRequestInProgress", false, ( localize(9941, "Whether an inline chat request is currently in progress"))));
126
135
  const CTX_INLINE_CHAT_RESPONSE_TYPE = ( new RawContextKey("inlineChatResponseType", InlineChatResponseType.None, ( localize(
127
- 9708,
136
+ 9942,
128
137
  "What type was the responses have been receieved, nothing yet, just messages, or messaged and local edits"
129
138
  ))));
130
- const CTX_INLINE_CHAT_FILE_BELONGS_TO_CHAT = ( new RawContextKey("inlineChatFileBelongsToChat", false, ( localize(9709, "Whether the current file belongs to a chat editing session"))));
131
- const CTX_INLINE_CHAT_PENDING_CONFIRMATION = ( new RawContextKey("inlineChatPendingConfirmation", false, ( localize(9710, "Whether an inline chat request is pending user confirmation"))));
132
- const CTX_INLINE_CHAT_AFFORDANCE_VISIBLE = ( new RawContextKey("inlineChatAffordanceVisible", false, ( localize(9711, "Whether an inline chat affordance widget is visible"))));
139
+ const CTX_INLINE_CHAT_FILE_BELONGS_TO_CHAT = ( new RawContextKey("inlineChatFileBelongsToChat", false, ( localize(9943, "Whether the current file belongs to a chat editing session"))));
140
+ const CTX_INLINE_CHAT_PENDING_CONFIRMATION = ( new RawContextKey("inlineChatPendingConfirmation", false, ( localize(9944, "Whether an inline chat request is pending user confirmation"))));
141
+ const CTX_INLINE_CHAT_TERMINATED = ( new RawContextKey("inlineChatTerminated", false, ( localize(9945, "Whether the current inline chat session is terminated"))));
142
+ const CTX_INLINE_CHAT_AFFORDANCE_VISIBLE = ( new RawContextKey("inlineChatAffordanceVisible", false, ( localize(9946, "Whether an inline chat affordance widget is visible"))));
133
143
  const CTX_INLINE_CHAT_V1_ENABLED = ( ContextKeyExpr.or(( ContextKeyExpr.and(NOTEBOOK_IS_ACTIVE_EDITOR, CTX_INLINE_CHAT_HAS_NOTEBOOK_INLINE))));
134
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))));
135
145
  const CTX_HOVER_MODE = ( ContextKeyExpr.equals("config.inlineChat.renderMode", "hover"));
136
146
  const CTX_FIX_DIAGNOSTICS_ENABLED = ( ContextKeyExpr.equals("config.inlineChat.fixDiagnostics", true));
147
+ const CTX_ASK_IN_CHAT_ENABLED = ( ContextKeyExpr.equals("config.inlineChat.askInChat", true));
137
148
  const ACTION_START = "inlineChat.start";
138
149
  const ACTION_ASK_IN_CHAT = "inlineChat.askInChat";
139
150
  const ACTION_ACCEPT_CHANGES = "inlineChat.acceptChanges";
@@ -144,37 +155,37 @@ const MENU_INLINE_CHAT_WIDGET_STATUS = MenuId.for("inlineChatWidget.status");
144
155
  const MENU_INLINE_CHAT_WIDGET_SECONDARY = MenuId.for("inlineChatWidget.secondary");
145
156
  MenuId.for("inlineChatWidget.changesZone");
146
157
  const MENU_INLINE_CHAT_SIDE = MenuId.for("inlineChatWidget.side");
147
- const inlineChatForeground = registerColor("inlineChat.foreground", editorWidgetForeground, ( localize(9712, "Foreground color of the interactive editor widget")));
148
- const inlineChatBackground = registerColor("inlineChat.background", editorWidgetBackground, ( localize(9713, "Background color of the interactive editor widget")));
149
- registerColor("inlineChat.border", editorWidgetBorder, ( localize(9714, "Border color of the interactive editor widget")));
150
- registerColor("inlineChat.shadow", widgetShadow, ( localize(9715, "Shadow color of the interactive editor widget")));
151
- registerColor("inlineChatInput.border", editorWidgetBorder, ( localize(9716, "Border color of the interactive editor input")));
152
- registerColor("inlineChatInput.focusBorder", focusBorder, ( localize(9717, "Border color of the interactive editor input when focused")));
158
+ const inlineChatForeground = registerColor("inlineChat.foreground", editorWidgetForeground, ( localize(9947, "Foreground color of the interactive editor widget")));
159
+ const inlineChatBackground = registerColor("inlineChat.background", editorWidgetBackground, ( localize(9948, "Background color of the interactive editor widget")));
160
+ registerColor("inlineChat.border", editorWidgetBorder, ( localize(9949, "Border color of the interactive editor widget")));
161
+ registerColor("inlineChat.shadow", widgetShadow, ( localize(9950, "Shadow color of the interactive editor widget")));
162
+ registerColor("inlineChatInput.border", editorWidgetBorder, ( localize(9951, "Border color of the interactive editor input")));
163
+ registerColor("inlineChatInput.focusBorder", focusBorder, ( localize(9952, "Border color of the interactive editor input when focused")));
153
164
  registerColor(
154
165
  "inlineChatInput.placeholderForeground",
155
166
  inputPlaceholderForeground,
156
- ( localize(9718, "Foreground color of the interactive editor input placeholder"))
167
+ ( localize(9953, "Foreground color of the interactive editor input placeholder"))
157
168
  );
158
- registerColor("inlineChatInput.background", inputBackground, ( localize(9719, "Background color of the interactive editor input")));
159
- registerColor("inlineChatDiff.inserted", ( transparent(diffInserted, .5)), ( localize(9720, "Background color of inserted text in the interactive editor input")));
169
+ registerColor("inlineChatInput.background", inputBackground, ( localize(9954, "Background color of the interactive editor input")));
170
+ registerColor("inlineChatDiff.inserted", ( transparent(diffInserted, .5)), ( localize(9955, "Background color of inserted text in the interactive editor input")));
160
171
  registerColor("editorOverviewRuler.inlineChatInserted", {
161
172
  dark: ( transparent(diffInserted, 0.6)),
162
173
  light: ( transparent(diffInserted, 0.8)),
163
174
  hcDark: ( transparent(diffInserted, 0.6)),
164
175
  hcLight: ( transparent(diffInserted, 0.8))
165
- }, ( localize(9721, "Overview ruler marker color for inline chat inserted content.")));
176
+ }, ( localize(9956, "Overview ruler marker color for inline chat inserted content.")));
166
177
  registerColor("editorMinimap.inlineChatInserted", {
167
178
  dark: ( transparent(diffInserted, 0.6)),
168
179
  light: ( transparent(diffInserted, 0.8)),
169
180
  hcDark: ( transparent(diffInserted, 0.6)),
170
181
  hcLight: ( transparent(diffInserted, 0.8))
171
- }, ( localize(9722, "Minimap marker color for inline chat inserted content.")));
172
- registerColor("inlineChatDiff.removed", ( transparent(diffRemoved, .5)), ( localize(9723, "Background color of removed text in the interactive editor input")));
182
+ }, ( localize(9957, "Minimap marker color for inline chat inserted content.")));
183
+ registerColor("inlineChatDiff.removed", ( transparent(diffRemoved, .5)), ( localize(9958, "Background color of removed text in the interactive editor input")));
173
184
  registerColor("editorOverviewRuler.inlineChatRemoved", {
174
185
  dark: ( transparent(diffRemoved, 0.6)),
175
186
  light: ( transparent(diffRemoved, 0.8)),
176
187
  hcDark: ( transparent(diffRemoved, 0.6)),
177
188
  hcLight: ( transparent(diffRemoved, 0.8))
178
- }, ( localize(9724, "Overview ruler marker color for inline chat removed content.")));
189
+ }, ( localize(9959, "Overview ruler marker color for inline chat removed content.")));
179
190
 
180
- export { ACTION_ACCEPT_CHANGES, ACTION_ASK_IN_CHAT, ACTION_REGENERATE_RESPONSE, ACTION_REPORT_ISSUE, ACTION_START, ACTION_TOGGLE_DIFF, 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_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 };
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 };
@@ -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(9741, "Press {0} to execute. ", keybindingHintLabel));
91
+ const actionPart = ( localize(9976, "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(9742, "Use {0} for accessibility help. ", helpKeybinding)) : ( localize(9743, "Run the Open Accessibility Help command for more information. "));
108
+ const helpInfo = helpKeybinding ? ( localize(9977, "Use {0} for accessibility help. ", helpKeybinding)) : ( localize(9978, "Run the Open Accessibility Help command for more information. "));
109
109
  this.ariaLabel = actionPart.concat(helpInfo, ( localize(
110
- 9744,
110
+ 9979,
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(10664, "Success")),
147
+ tooltip: ( localize(10914, "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(10665, "Failed")),
155
+ tooltip: ( localize(10915, "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(10666, "Pending")),
162
+ tooltip: ( localize(10916, "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(10667, "Executing")),
170
+ tooltip: ( localize(10917, "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(10668, "Use the links above to file an issue using the issue reporter."))}*\n`;
301
+ renderTimes += `\n*${( localize(10918, "Use the links above to file an issue using the issue reporter."))}*\n`;
302
302
  tooltip = {
303
303
  value: ( localize(
304
- 10669,
304
+ 10919,
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
- 10670,
315
+ 10920,
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(10711, "{0} found", label)) : ( localize(10712, "{0} found for '{1}'", label, searchString));
351
+ return searchString === "" ? ( localize(10961, "{0} found", label)) : ( localize(10962, "{0} found for '{1}'", label, searchString));
352
352
  }
353
- return localize(10713, "{0} found for '{1}'", label, searchString);
353
+ return localize(10963, "{0} found for '{1}'", label, searchString);
354
354
  }
355
355
  dispose() {
356
356
  this._notebookEditor?.removeClassName(FIND_SHOW_TRANSITION);
@@ -243,7 +243,7 @@ let ReplEditor = class ReplEditor extends EditorPane {
243
243
  ...editorOptions,
244
244
  ...editorOptionsOverride,
245
245
  ...{
246
- ariaLabel: ( localize(11878, "REPL Input")),
246
+ ariaLabel: ( localize(12127, "REPL Input")),
247
247
  glyphMargin: true,
248
248
  padding: {
249
249
  top: INPUT_EDITOR_PADDING,
@@ -23,7 +23,7 @@ import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscod
23
23
  import { IPathService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service';
24
24
 
25
25
  var ReplEditorInput_1;
26
- const replTabIcon = registerIcon("repl-editor-label-icon", Codicon.debugLineByLine, ( localize(11892, "Icon of the REPL editor label.")));
26
+ const replTabIcon = registerIcon("repl-editor-label-icon", Codicon.debugLineByLine, ( localize(12141, "Icon of the REPL editor label.")));
27
27
  let ReplEditorInput = class ReplEditorInput extends NotebookEditorInput {
28
28
  static {
29
29
  ReplEditorInput_1 = this;
@@ -1,35 +0,0 @@
1
- import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
2
- import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
3
- import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
4
- import { IDialogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service";
5
- import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
6
- import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
7
- import { IChatQuestionCarousel } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService";
8
- import { ILanguageModelsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModels.service";
9
- /**
10
- * Encapsulates the logic for automatically replying to question carousels,
11
- * including opt-in state management, LLM-based answer resolution, fallback
12
- * answer generation, and answer parsing/merging.
13
- */
14
- export declare class ChatQuestionCarouselAutoReply extends Disposable {
15
- private readonly configService;
16
- private readonly dialogService;
17
- private readonly logService;
18
- private readonly storageService;
19
- private readonly languageModelsService;
20
- constructor(configService: IConfigurationService, dialogService: IDialogService, logService: ILogService, storageService: IStorageService, languageModelsService: ILanguageModelsService);
21
- shouldAutoReply(): Promise<boolean>;
22
- autoReply(carousel: IChatQuestionCarousel, submit: (answers: Map<string, unknown> | undefined) => Promise<void>, modelName: string | undefined, requestMessageText: string | undefined, token: CancellationToken): Promise<void>;
23
- private checkOptIn;
24
- private getModelId;
25
- private buildPrompt;
26
- private requestAnswers;
27
- private parseAnswers;
28
- private mergeAnswers;
29
- private hasDefaultValue;
30
- private resolveAnswerFromRaw;
31
- private matchQuestionOption;
32
- buildFallbackCarouselAnswers(carousel: IChatQuestionCarousel, requestMessageText: string | undefined): Map<string, unknown>;
33
- private getFallbackAnswerForQuestion;
34
- private tryParseJsonObject;
35
- }