@codingame/monaco-vscode-chat-service-override 3.2.2 → 4.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.
@@ -1,12 +1,16 @@
1
1
  import { registerEditorContribution } from 'vscode/vscode/vs/editor/browser/editorExtensions';
2
2
  import { registerAction2 } from 'vscode/vscode/vs/platform/actions/common/actions';
3
3
  import { InlineChatController } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatController';
4
- import { InlineAccessibilityHelpContribution, StartSessionAction, CloseAction, ConfigureInlineChatAction, UnstashSessionAction, MakeRequestAction, StopRequestAction, ReRunRequestAction, DiscardHunkAction, DiscardAction, DiscardToClipboardAction, DiscardUndoToNewFileAction, CancelSessionAction, MoveToNextHunk, MoveToPreviousHunk, ArrowOutUpAction, ArrowOutDownAction, FocusInlineChat, PreviousFromHistory, NextFromHistory, ViewInChatAction, ExpandMessageAction, ContractMessageAction, ToggleDiffForChange, FeebackHelpfulCommand, FeebackUnhelpfulCommand, ReportIssueForBugCommand, AcceptChanges, CopyRecordings } from './inlineChatActions.js';
4
+ import { InlineAccessibilityHelpContribution, StartSessionAction, CloseAction, ConfigureInlineChatAction, UnstashSessionAction, ReRunRequestAction, ReRunRequestWithIntentDetectionAction, DiscardHunkAction, DiscardAction, DiscardToClipboardAction, DiscardUndoToNewFileAction, CancelSessionAction, MoveToNextHunk, MoveToPreviousHunk, ArrowOutUpAction, ArrowOutDownAction, FocusInlineChat, ViewInChatAction, ToggleDiffForChange, ReportIssueForBugCommand, AcceptChanges, CopyRecordings } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatActions';
5
5
  import { INLINE_CHAT_ID, INTERACTIVE_EDITOR_ACCESSIBILITY_HELP_ID } from 'vscode/vscode/vs/workbench/contrib/inlineChat/common/inlineChat';
6
+ import '../common/inlineChatServiceImpl.js';
6
7
  import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
7
8
  import { InlineChatNotebookContribution } from './inlineChatNotebook.js';
8
9
  import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
10
+ import './inlineChatSavingServiceImpl.js';
9
11
  import { InlineChatAccessibleViewContribution } from './inlineChatAccessibleView.js';
12
+ import 'vscode/vscode/vs/platform/instantiation/common/instantiation';
13
+ import 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl';
10
14
 
11
15
  registerEditorContribution(INLINE_CHAT_ID, InlineChatController, 0 );
12
16
  registerEditorContribution(INTERACTIVE_EDITOR_ACCESSIBILITY_HELP_ID, InlineAccessibilityHelpContribution, 3 );
@@ -14,9 +18,8 @@ registerAction2(StartSessionAction);
14
18
  registerAction2(CloseAction);
15
19
  registerAction2(ConfigureInlineChatAction);
16
20
  registerAction2(UnstashSessionAction);
17
- registerAction2(MakeRequestAction);
18
- registerAction2(StopRequestAction);
19
21
  registerAction2(ReRunRequestAction);
22
+ registerAction2(ReRunRequestWithIntentDetectionAction);
20
23
  registerAction2(DiscardHunkAction);
21
24
  registerAction2(DiscardAction);
22
25
  registerAction2(DiscardToClipboardAction);
@@ -27,14 +30,8 @@ registerAction2(MoveToPreviousHunk);
27
30
  registerAction2(ArrowOutUpAction);
28
31
  registerAction2(ArrowOutDownAction);
29
32
  registerAction2(FocusInlineChat);
30
- registerAction2(PreviousFromHistory);
31
- registerAction2(NextFromHistory);
32
33
  registerAction2(ViewInChatAction);
33
- registerAction2(ExpandMessageAction);
34
- registerAction2(ContractMessageAction);
35
34
  registerAction2(ToggleDiffForChange);
36
- registerAction2(FeebackHelpfulCommand);
37
- registerAction2(FeebackUnhelpfulCommand);
38
35
  registerAction2(ReportIssueForBugCommand);
39
36
  registerAction2(AcceptChanges);
40
37
  registerAction2(CopyRecordings);
@@ -1,36 +0,0 @@
1
- import { Color, RGBA } from 'vscode/vscode/vs/base/common/color';
2
- import { localizeWithPath } from 'vscode/vscode/vs/nls';
3
- import { registerColor, contrastBorder, transparent, editorBackground, editorWidgetBackground, badgeBackground, badgeForeground, foreground } from 'vscode/vscode/vs/platform/theme/common/colorRegistry';
4
-
5
- registerColor('chat.requestBorder', { dark: ( new Color(( new RGBA(255, 255, 255, 0.10)))), light: ( new Color(( new RGBA(0, 0, 0, 0.10)))), hcDark: contrastBorder, hcLight: contrastBorder, }, ( localizeWithPath(
6
- 'vs/workbench/contrib/chat/common/chatColors',
7
- 'chat.requestBorder',
8
- 'The border color of a chat request.'
9
- )));
10
- registerColor('chat.requestBackground', { dark: ( transparent(editorBackground, 0.62)), light: ( transparent(editorBackground, 0.62)), hcDark: editorWidgetBackground, hcLight: null }, ( localizeWithPath(
11
- 'vs/workbench/contrib/chat/common/chatColors',
12
- 'chat.requestBackground',
13
- 'The background color of a chat request.'
14
- )));
15
- const chatSlashCommandBackground = registerColor('chat.slashCommandBackground', { dark: '#34414B', light: '#D2ECFF', hcDark: Color.white, hcLight: badgeBackground }, ( localizeWithPath(
16
- 'vs/workbench/contrib/chat/common/chatColors',
17
- 'chat.slashCommandBackground',
18
- 'The background color of a chat slash command.'
19
- )));
20
- const chatSlashCommandForeground = registerColor('chat.slashCommandForeground', { dark: '#40A6FF', light: '#306CA2', hcDark: Color.black, hcLight: badgeForeground }, ( localizeWithPath(
21
- 'vs/workbench/contrib/chat/common/chatColors',
22
- 'chat.slashCommandForeground',
23
- 'The foreground color of a chat slash command.'
24
- )));
25
- registerColor('chat.avatarBackground', { dark: '#1f1f1f', light: '#f2f2f2', hcDark: Color.black, hcLight: Color.white, }, ( localizeWithPath(
26
- 'vs/workbench/contrib/chat/common/chatColors',
27
- 'chat.avatarBackground',
28
- 'The background color of a chat avatar.'
29
- )));
30
- registerColor('chat.avatarForeground', { dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground, }, ( localizeWithPath(
31
- 'vs/workbench/contrib/chat/common/chatColors',
32
- 'chat.avatarForeground',
33
- 'The foreground color of a chat avatar.'
34
- )));
35
-
36
- export { chatSlashCommandBackground, chatSlashCommandForeground };