@codingame/monaco-vscode-chat-service-override 4.4.1 → 4.5.0-improve-code-splitting.1
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.
- package/chat.js +23 -19
- package/package.json +10 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClearActions.js +3 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +8 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +5 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +9 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +13 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityService.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContributionServiceImpl.js +7 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditor.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuick.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatVariables.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatViewPane.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatHistoryVariables.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorContrib.js +8 -7
- package/vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.js +17 -13
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +54 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.js +37 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +41 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChat.js +3 -3
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibleView.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatNotebook.js +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingServiceImpl.js +8 -8
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChatServiceImpl.js +1 -1
- package/override/vs/platform/dialogs/common/dialogs.js +0 -10
package/chat.js
CHANGED
|
@@ -1,27 +1,31 @@
|
|
|
1
1
|
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { IChatWidgetService, IQuickChatService, IChatAccessibilityService, IChatCodeBlockContextProviderService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat';
|
|
5
|
-
import { ChatContributionService } from './vscode/src/vs/workbench/contrib/chat/browser/chatContributionServiceImpl.js';
|
|
6
|
-
import { ChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chatWidget';
|
|
7
|
-
import { ChatService } from './vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.js';
|
|
8
|
-
import { IChatWidgetHistoryService, ChatWidgetHistoryService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatWidgetHistoryService';
|
|
2
|
+
import './vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js';
|
|
3
|
+
import { IChatWidgetService, IQuickChatService, IChatAccessibilityService, IChatCodeBlockContextProviderService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
9
4
|
import { ChatAccessibilityService } from './vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityService.js';
|
|
10
|
-
import {
|
|
11
|
-
import { IChatVariablesService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatVariables';
|
|
12
|
-
import { ChatVariablesService } from './vscode/src/vs/workbench/contrib/chat/browser/chatVariables.js';
|
|
5
|
+
import { ChatContributionService } from './vscode/src/vs/workbench/contrib/chat/browser/chatContributionServiceImpl.js';
|
|
13
6
|
import { QuickChatService } from './vscode/src/vs/workbench/contrib/chat/browser/chatQuick.js';
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { IInlineChatService } from 'vscode/vscode/vs/workbench/contrib/inlineChat/common/inlineChat';
|
|
17
|
-
import { IInlineChatSessionService } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService';
|
|
18
|
-
import { InlineChatSessionServiceImpl } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl';
|
|
19
|
-
import { IInlineChatSavingService } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSavingService';
|
|
20
|
-
import { InlineChatSavingServiceImpl } from './vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingServiceImpl.js';
|
|
21
|
-
import { ILanguageModelsService, LanguageModelsService } from 'vscode/vscode/vs/workbench/contrib/chat/common/languageModels';
|
|
7
|
+
import { ChatVariablesService } from './vscode/src/vs/workbench/contrib/chat/browser/chatVariables.js';
|
|
8
|
+
import { ChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chatWidget';
|
|
22
9
|
import { ChatCodeBlockContextProviderService } from './vscode/src/vs/workbench/contrib/chat/browser/codeBlockContextProviderService.js';
|
|
23
|
-
import '
|
|
10
|
+
import { ChatAgentService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
11
|
+
import { IChatAgentService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
|
|
12
|
+
import { IChatContributionService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContributionService.service';
|
|
13
|
+
import { IChatService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
14
|
+
import { ChatService } from './vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.js';
|
|
15
|
+
import { ChatSlashCommandService } from './vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js';
|
|
16
|
+
import { IChatSlashCommandService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatSlashCommands.service';
|
|
17
|
+
import { IChatVariablesService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatVariables.service';
|
|
18
|
+
import { ChatWidgetHistoryService } from './vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.js';
|
|
19
|
+
import { IChatWidgetHistoryService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service';
|
|
20
|
+
import { LanguageModelsService } from './vscode/src/vs/workbench/contrib/chat/common/languageModels.js';
|
|
21
|
+
import { ILanguageModelsService } from 'vscode/vscode/vs/workbench/contrib/chat/common/languageModels.service';
|
|
24
22
|
import './vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js';
|
|
23
|
+
import { IInlineChatSavingService } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSavingService.service';
|
|
24
|
+
import { InlineChatSavingServiceImpl } from './vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingServiceImpl.js';
|
|
25
|
+
import { IInlineChatSessionService } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service';
|
|
26
|
+
import { InlineChatSessionServiceImpl } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl';
|
|
27
|
+
import { IInlineChatService } from 'vscode/vscode/vs/workbench/contrib/inlineChat/common/inlineChat.service';
|
|
28
|
+
import { InlineChatServiceImpl } from './vscode/src/vs/workbench/contrib/inlineChat/common/inlineChatServiceImpl.js';
|
|
25
29
|
|
|
26
30
|
function getServiceOverride() {
|
|
27
31
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-chat-service-override",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0-improve-code-splitting.1",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -17,7 +17,15 @@
|
|
|
17
17
|
"main": "index.js",
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"default": "./index.js"
|
|
23
|
+
},
|
|
24
|
+
"./vscode/*": {
|
|
25
|
+
"default": "./vscode/src/*.js"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
20
28
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@4.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@4.5.0-improve-code-splitting.1"
|
|
22
30
|
}
|
|
23
31
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChatEditorInput } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
|
|
2
|
-
import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService';
|
|
3
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
2
|
+
import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
3
|
+
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
4
4
|
|
|
5
5
|
async function clearChatEditor(accessor) {
|
|
6
6
|
const editorService = accessor.get(IEditorService);
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
2
2
|
import { localize2WithPath } from 'vscode/vscode/vs/nls';
|
|
3
3
|
import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
4
|
-
import {
|
|
4
|
+
import { AccessibilitySignal } from 'vscode/vscode/vs/platform/accessibilitySignal/browser/accessibilitySignalService';
|
|
5
|
+
import { IAccessibilitySignalService } from 'vscode/vscode/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service';
|
|
5
6
|
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
6
7
|
import { ViewAction } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
7
8
|
import { ActiveEditorContext } from 'vscode/vscode/vs/workbench/common/contextkeys';
|
|
8
9
|
import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
9
10
|
import { clearChatEditor } from './chatClear.js';
|
|
10
|
-
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat';
|
|
11
|
+
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
11
12
|
import { ChatEditorInput } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
|
|
12
13
|
import { CONTEXT_PROVIDER_EXISTS, CONTEXT_IN_CHAT_SESSION } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
13
14
|
|
|
@@ -9,21 +9,22 @@ import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/langu
|
|
|
9
9
|
import { ILanguageFeaturesService } from 'vscode/vscode/vs/editor/common/services/languageFeatures';
|
|
10
10
|
import { CopyAction } from 'vscode/vscode/vs/editor/contrib/clipboard/browser/clipboard';
|
|
11
11
|
import { localize2WithPath } from 'vscode/vscode/vs/nls';
|
|
12
|
-
import {
|
|
13
|
-
import { IClipboardService } from 'vscode/vscode/vs/platform/clipboard/common/clipboardService';
|
|
12
|
+
import { Action2, registerAction2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
13
|
+
import { IClipboardService } from 'vscode/vscode/vs/platform/clipboard/common/clipboardService.service';
|
|
14
14
|
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
15
15
|
import { TerminalLocation } from 'vscode/vscode/vs/platform/terminal/common/terminal';
|
|
16
16
|
import { accessibleViewInCodeBlock } from 'vscode/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
17
17
|
import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
18
|
-
import { IChatWidgetService, IChatCodeBlockContextProviderService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat';
|
|
18
|
+
import { IChatWidgetService, IChatCodeBlockContextProviderService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
19
19
|
import { CONTEXT_PROVIDER_EXISTS, CONTEXT_IN_CHAT_SESSION, CONTEXT_IN_CHAT_INPUT } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
20
|
-
import {
|
|
20
|
+
import { ChatCopyKind } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService';
|
|
21
|
+
import { IChatService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
21
22
|
import { isResponseVM } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatViewModel';
|
|
22
23
|
import { insertCell } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/controller/cellOperations';
|
|
23
24
|
import { NOTEBOOK_EDITOR_ID, CellKind } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
24
|
-
import { ITerminalService, ITerminalEditorService, ITerminalGroupService } from 'vscode/vscode/vs/workbench/contrib/terminal/browser/terminal';
|
|
25
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
26
|
-
import { ITextFileService } from 'vscode/vscode/vs/workbench/services/textfile/common/textfiles';
|
|
25
|
+
import { ITerminalService, ITerminalEditorService, ITerminalGroupService } from 'vscode/vscode/vs/workbench/contrib/terminal/browser/terminal.service';
|
|
26
|
+
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
27
|
+
import { ITextFileService } from 'vscode/vscode/vs/workbench/services/textfile/common/textfiles.service';
|
|
27
28
|
|
|
28
29
|
function isCodeBlockActionContext(thing) {
|
|
29
30
|
return typeof thing === 'object' && thing !== null && 'code' in thing && 'element' in thing;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { localize2WithPath } from 'vscode/vscode/vs/nls';
|
|
2
2
|
import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
3
|
-
import { IClipboardService } from 'vscode/vscode/vs/platform/clipboard/common/clipboardService';
|
|
3
|
+
import { IClipboardService } from 'vscode/vscode/vs/platform/clipboard/common/clipboardService.service';
|
|
4
4
|
import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
5
|
-
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat';
|
|
5
|
+
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
6
6
|
import { CONTEXT_RESPONSE_FILTERED } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
7
7
|
import { isRequestVM, isResponseVM } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatViewModel';
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { localize2WithPath } from 'vscode/vscode/vs/nls';
|
|
2
2
|
import { registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
3
3
|
import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
4
|
-
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat';
|
|
4
|
+
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
5
5
|
import { CONTEXT_IN_CHAT_SESSION, CONTEXT_PROVIDER_EXISTS } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
6
6
|
import { isResponseVM } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatViewModel';
|
|
7
7
|
|
|
@@ -2,16 +2,15 @@ import { VSBuffer } from 'vscode/vscode/vs/base/common/buffer';
|
|
|
2
2
|
import { joinPath } from 'vscode/vscode/vs/base/common/resources';
|
|
3
3
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
4
4
|
import { registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
5
|
-
import '
|
|
6
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
5
|
+
import { IFileDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
6
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
7
7
|
import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
8
|
-
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat';
|
|
8
|
+
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
9
9
|
import { ChatEditorInput } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
|
|
10
10
|
import { CONTEXT_PROVIDER_EXISTS } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
11
11
|
import { isExportableSessionData } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatModel';
|
|
12
|
-
import { IChatService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService';
|
|
13
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
14
|
-
import { IFileDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs';
|
|
12
|
+
import { IChatService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
13
|
+
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
15
14
|
|
|
16
15
|
const defaultFileName = 'chat.json';
|
|
17
16
|
const filters = [{ name: ( localizeWithPath(
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { registerAction2, Action2
|
|
1
|
+
import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls';
|
|
2
|
+
import { MenuId, registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
3
3
|
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
4
4
|
import { ViewAction } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
5
5
|
import { ActiveEditorContext } from 'vscode/vscode/vs/workbench/common/contextkeys';
|
|
6
|
-
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService';
|
|
6
|
+
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
7
7
|
import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
8
|
-
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat';
|
|
8
|
+
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
9
9
|
import { ChatEditorInput } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
|
|
10
10
|
import { CONTEXT_PROVIDER_EXISTS } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
11
|
-
import { IChatContributionService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContributionService';
|
|
12
|
-
import { IChatService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService';
|
|
13
|
-
import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService';
|
|
14
|
-
import {
|
|
11
|
+
import { IChatContributionService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContributionService.service';
|
|
12
|
+
import { IChatService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
13
|
+
import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
14
|
+
import { AUX_WINDOW_GROUP, ACTIVE_GROUP } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
15
|
+
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
15
16
|
|
|
16
17
|
var MoveToNewLocation;
|
|
17
18
|
( (function(MoveToNewLocation) {
|
|
@@ -6,13 +6,14 @@ import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/acti
|
|
|
6
6
|
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
7
7
|
import { ResourceNotebookCellEdit } from 'vscode/vscode/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits';
|
|
8
8
|
import { CHAT_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
9
|
-
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat';
|
|
9
|
+
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
10
10
|
import { CONTEXT_RESPONSE_VOTE, CONTEXT_RESPONSE, CONTEXT_CHAT_RESPONSE_SUPPORT_ISSUE_REPORTING, CONTEXT_RESPONSE_FILTERED, CONTEXT_IN_CHAT_SESSION, CONTEXT_IN_CHAT_INPUT, CONTEXT_REQUEST } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
11
|
-
import {
|
|
11
|
+
import { InteractiveSessionVoteDirection } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService';
|
|
12
|
+
import { IChatService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
12
13
|
import { isResponseVM, isRequestVM } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatViewModel';
|
|
13
14
|
import { NOTEBOOK_EDITOR_ID, CellKind } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
14
15
|
import { NOTEBOOK_IS_ACTIVE_EDITOR } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
15
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
16
|
+
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
16
17
|
|
|
17
18
|
function registerChatTitleActions() {
|
|
18
19
|
registerAction2(class MarkHelpfulAction extends Action2 {
|
|
@@ -5,7 +5,7 @@ import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
|
5
5
|
import { isMacintosh } from 'vscode/vscode/vs/base/common/platform';
|
|
6
6
|
import { ICodeEditorService } from 'vscode/vscode/vs/editor/browser/services/codeEditorService';
|
|
7
7
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
8
|
-
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
8
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
9
9
|
import { Extensions } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
10
10
|
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
11
11
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
@@ -14,19 +14,19 @@ import { EditorPaneDescriptor } from 'vscode/vscode/vs/workbench/browser/editor'
|
|
|
14
14
|
import { Extensions as Extensions$1, registerWorkbenchContribution2 } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
15
15
|
import { EditorExtensions } from 'vscode/vscode/vs/workbench/common/editor';
|
|
16
16
|
import { alertFocusChange } from 'vscode/vscode/vs/workbench/contrib/accessibility/browser/accessibilityContributions';
|
|
17
|
-
import { IAccessibleViewService } from 'vscode/vscode/vs/workbench/contrib/accessibility/browser/accessibleView';
|
|
17
|
+
import { IAccessibleViewService } from 'vscode/vscode/vs/workbench/contrib/accessibility/browser/accessibleView.service';
|
|
18
18
|
import { AccessibleViewAction } from 'vscode/vscode/vs/workbench/contrib/accessibility/browser/accessibleViewActions';
|
|
19
19
|
import { registerChatActions } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
20
|
-
import {
|
|
20
|
+
import { ACTION_ID_NEW_CHAT, registerNewChatActions } from './actions/chatClearActions.js';
|
|
21
21
|
import { registerChatCodeBlockActions } from './actions/chatCodeblockActions.js';
|
|
22
22
|
import { registerChatCopyActions } from './actions/chatCopyActions.js';
|
|
23
|
-
import {
|
|
23
|
+
import { SubmitAction, registerChatExecuteActions } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatExecuteActions';
|
|
24
24
|
import { registerChatFileTreeActions } from './actions/chatFileTreeActions.js';
|
|
25
25
|
import { registerChatExportActions } from './actions/chatImportExport.js';
|
|
26
26
|
import { registerMoveActions } from './actions/chatMoveActions.js';
|
|
27
27
|
import { registerQuickChatActions } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions';
|
|
28
28
|
import { registerChatTitleActions } from './actions/chatTitleActions.js';
|
|
29
|
-
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat';
|
|
29
|
+
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
30
30
|
import './chatAccessibilityService.js';
|
|
31
31
|
import './chatContributionServiceImpl.js';
|
|
32
32
|
import { ChatEditor } from './chatEditor.js';
|
|
@@ -36,19 +36,21 @@ import './chatVariables.js';
|
|
|
36
36
|
import 'vscode/vscode/vs/workbench/contrib/chat/browser/chatWidget';
|
|
37
37
|
import './contrib/chatHistoryVariables.js';
|
|
38
38
|
import './contrib/chatInputEditorContrib.js';
|
|
39
|
-
import {
|
|
39
|
+
import { ChatAgentLocation } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
40
|
+
import { IChatAgentService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
|
|
40
41
|
import { CONTEXT_IN_CHAT_SESSION } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
41
42
|
import { ChatWelcomeMessageModel } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatModel';
|
|
42
43
|
import { chatAgentLeader, chatSubcommandLeader, chatVariableLeader } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatParserTypes';
|
|
43
|
-
import 'vscode/vscode/vs/workbench/contrib/chat/common/chatService';
|
|
44
44
|
import '../common/chatServiceImpl.js';
|
|
45
|
-
import
|
|
46
|
-
import {
|
|
45
|
+
import '../common/chatSlashCommands.js';
|
|
46
|
+
import { IChatSlashCommandService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatSlashCommands.service';
|
|
47
|
+
import { IChatVariablesService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatVariables.service';
|
|
47
48
|
import { isResponseVM } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatViewModel';
|
|
48
|
-
import '
|
|
49
|
+
import '../common/chatWidgetHistoryService.js';
|
|
49
50
|
import 'vscode/vscode/vs/base/common/event';
|
|
50
51
|
import '../common/voiceChat.js';
|
|
51
|
-
import { RegisteredEditorPriority
|
|
52
|
+
import { RegisteredEditorPriority } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService';
|
|
53
|
+
import { IEditorResolverService } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService.service';
|
|
52
54
|
import 'vscode/vscode/vs/workbench/contrib/chat/common/chatColors';
|
|
53
55
|
|
|
54
56
|
const configurationRegistry = ( Registry.as(Extensions.Configuration));
|
|
@@ -2,7 +2,8 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
|
2
2
|
import { status } from 'vscode/vscode/vs/base/browser/ui/aria/aria';
|
|
3
3
|
import { RunOnceScheduler } from 'vscode/vscode/vs/base/common/async';
|
|
4
4
|
import { Disposable, DisposableMap } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
5
|
-
import {
|
|
5
|
+
import { AccessibilitySignal } from 'vscode/vscode/vs/platform/accessibilitySignal/browser/accessibilitySignalService';
|
|
6
|
+
import { IAccessibilitySignalService } from 'vscode/vscode/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service';
|
|
6
7
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
7
8
|
|
|
8
9
|
let ChatAccessibilityService = class ChatAccessibilityService extends Disposable {
|
|
@@ -4,10 +4,11 @@ import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
|
4
4
|
import { DisposableStore, DisposableMap } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
5
5
|
import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls';
|
|
6
6
|
import { registerAction2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
7
|
-
import { ContextKeyExpr
|
|
7
|
+
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
8
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
8
9
|
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
9
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
10
|
-
import { IProductService } from 'vscode/vscode/vs/platform/product/common/productService';
|
|
10
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
11
|
+
import { IProductService } from 'vscode/vscode/vs/platform/product/common/productService.service';
|
|
11
12
|
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
12
13
|
import { ViewPaneContainer } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPaneContainer';
|
|
13
14
|
import { registerWorkbenchContribution2 } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
@@ -17,8 +18,9 @@ import { getNewChatAction } from './actions/chatClearActions.js';
|
|
|
17
18
|
import { getMoveToEditorAction, getMoveToNewWindowAction } from './actions/chatMoveActions.js';
|
|
18
19
|
import { getQuickChatActionForProvider } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions';
|
|
19
20
|
import { ChatViewPane, CHAT_SIDEBAR_PANEL_ID } from './chatViewPane.js';
|
|
20
|
-
import { ChatAgentLocation
|
|
21
|
-
import {
|
|
21
|
+
import { ChatAgentLocation } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
22
|
+
import { IChatAgentService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
|
|
23
|
+
import { IChatContributionService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContributionService.service';
|
|
22
24
|
import { isProposedApiEnabled } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions';
|
|
23
25
|
import { ExtensionsRegistry } from 'vscode/vscode/vs/workbench/services/extensions/common/extensionsRegistry';
|
|
24
26
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
|
-
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
2
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
3
3
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
4
4
|
import { ServiceCollection } from 'vscode/vscode/vs/platform/instantiation/common/serviceCollection';
|
|
5
|
-
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
6
|
-
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry';
|
|
5
|
+
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
6
|
+
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
7
7
|
import 'vscode/vscode/vs/platform/theme/common/colorUtils';
|
|
8
8
|
import 'vscode/vscode/vs/platform/theme/common/colors/baseColors';
|
|
9
9
|
import 'vscode/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
@@ -15,7 +15,7 @@ import 'vscode/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
|
15
15
|
import 'vscode/vscode/vs/platform/theme/common/colors/miscColors';
|
|
16
16
|
import 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
17
17
|
import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
18
|
-
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService';
|
|
18
|
+
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService.service';
|
|
19
19
|
import { EditorPane } from 'vscode/vscode/vs/workbench/browser/parts/editor/editorPane';
|
|
20
20
|
import { Memento } from 'vscode/vscode/vs/workbench/common/memento';
|
|
21
21
|
import { ChatEditorInput } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
|
|
@@ -4,13 +4,13 @@ import { Sash } from 'vscode/vscode/vs/base/browser/ui/sash/sash';
|
|
|
4
4
|
import { disposableTimeout } from 'vscode/vscode/vs/base/common/async';
|
|
5
5
|
import { CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
|
|
6
6
|
import { Emitter, Event } from 'vscode/vscode/vs/base/common/event';
|
|
7
|
-
import { Disposable,
|
|
7
|
+
import { Disposable, DisposableStore, MutableDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
8
8
|
import { MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
9
|
-
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
9
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
10
10
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
11
11
|
import { ServiceCollection } from 'vscode/vscode/vs/platform/instantiation/common/serviceCollection';
|
|
12
|
-
import { ILayoutService } from 'vscode/vscode/vs/platform/layout/browser/layoutService';
|
|
13
|
-
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput';
|
|
12
|
+
import { ILayoutService } from 'vscode/vscode/vs/platform/layout/browser/layoutService.service';
|
|
13
|
+
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
14
14
|
import 'vscode/vscode/vs/platform/theme/common/colorUtils';
|
|
15
15
|
import 'vscode/vscode/vs/platform/theme/common/colors/baseColors';
|
|
16
16
|
import 'vscode/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
@@ -22,10 +22,10 @@ import 'vscode/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
|
22
22
|
import 'vscode/vscode/vs/platform/theme/common/colors/miscColors';
|
|
23
23
|
import { quickInputForeground, quickInputBackground } from 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
24
24
|
import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
25
|
-
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat';
|
|
25
|
+
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
26
26
|
import { ChatWidget } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chatWidget';
|
|
27
27
|
import { ChatAgentLocation } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
28
|
-
import { IChatService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService';
|
|
28
|
+
import { IChatService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
29
29
|
|
|
30
30
|
var QuickChat_1;
|
|
31
31
|
let QuickChatService = class QuickChatService extends Disposable {
|
|
@@ -3,7 +3,7 @@ import { coalesce } from 'vscode/vscode/vs/base/common/arrays';
|
|
|
3
3
|
import { onUnexpectedExternalError } from 'vscode/vscode/vs/base/common/errors';
|
|
4
4
|
import { Iterable } from 'vscode/vscode/vs/base/common/iterator';
|
|
5
5
|
import { toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
6
|
-
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat';
|
|
6
|
+
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
7
7
|
import { ChatDynamicVariableModel } from 'vscode/vscode/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables';
|
|
8
8
|
import { ChatRequestVariablePart, ChatRequestDynamicVariablePart } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatParserTypes';
|
|
9
9
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
2
|
import { CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
|
|
3
3
|
import { DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
5
|
-
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
6
|
-
import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView';
|
|
4
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
5
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
6
|
+
import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView.service';
|
|
7
7
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
8
8
|
import { ServiceCollection } from 'vscode/vscode/vs/platform/instantiation/common/serviceCollection';
|
|
9
|
-
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding';
|
|
10
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
11
|
-
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
|
|
12
|
-
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
13
|
-
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry';
|
|
9
|
+
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
10
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
11
|
+
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener.service';
|
|
12
|
+
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
13
|
+
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
14
14
|
import 'vscode/vscode/vs/platform/theme/common/colorUtils';
|
|
15
15
|
import 'vscode/vscode/vs/platform/theme/common/colors/baseColors';
|
|
16
16
|
import 'vscode/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
@@ -22,14 +22,14 @@ import 'vscode/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
|
22
22
|
import 'vscode/vscode/vs/platform/theme/common/colors/miscColors';
|
|
23
23
|
import 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
24
24
|
import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
25
|
-
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService';
|
|
25
|
+
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService.service';
|
|
26
26
|
import { ViewPane } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
27
27
|
import { Memento } from 'vscode/vscode/vs/workbench/common/memento';
|
|
28
28
|
import { SIDE_BAR_FOREGROUND } from 'vscode/vscode/vs/workbench/common/theme';
|
|
29
|
-
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views';
|
|
29
|
+
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views.service';
|
|
30
30
|
import { ChatWidget } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chatWidget';
|
|
31
31
|
import { ChatAgentLocation } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
32
|
-
import { IChatService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService';
|
|
32
|
+
import { IChatService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
33
33
|
|
|
34
34
|
const CHAT_SIDEBAR_PANEL_ID = 'workbench.panel.chatSidebar';
|
|
35
35
|
let ChatViewPane = class ChatViewPane extends ViewPane {
|
|
@@ -2,7 +2,7 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
|
2
2
|
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
3
|
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
4
4
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
5
|
-
import { IChatVariablesService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatVariables';
|
|
5
|
+
import { IChatVariablesService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatVariables.service';
|
|
6
6
|
|
|
7
7
|
let ChatHistoryVariables = class ChatHistoryVariables extends Disposable {
|
|
8
8
|
constructor(chatVariablesService) {
|
|
@@ -20,19 +20,20 @@ import 'vscode/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
|
20
20
|
import 'vscode/vscode/vs/platform/theme/common/colors/miscColors';
|
|
21
21
|
import 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
22
22
|
import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
23
|
-
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService';
|
|
23
|
+
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService.service';
|
|
24
24
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
25
25
|
import { SubmitAction } from 'vscode/vscode/vs/workbench/contrib/chat/browser/actions/chatExecuteActions';
|
|
26
|
-
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat';
|
|
26
|
+
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
27
27
|
import { ChatInputPart } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chatInputPart';
|
|
28
28
|
import { ChatWidget } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chatWidget';
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
29
|
+
import { dynamicVariableDecorationType, SelectAndInsertFileAction } from 'vscode/vscode/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables';
|
|
30
|
+
import { ChatAgentLocation } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
31
|
+
import { IChatAgentService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
|
|
31
32
|
import { chatSlashCommandForeground, chatSlashCommandBackground } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatColors';
|
|
32
|
-
import {
|
|
33
|
+
import { ChatRequestAgentPart, ChatRequestAgentSubcommandPart, ChatRequestSlashCommandPart, ChatRequestTextPart, ChatRequestVariablePart, chatAgentLeader, chatSubcommandLeader, chatVariableLeader } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatParserTypes';
|
|
33
34
|
import { ChatRequestParser } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatRequestParser';
|
|
34
|
-
import { IChatSlashCommandService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatSlashCommands';
|
|
35
|
-
import { IChatVariablesService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatVariables';
|
|
35
|
+
import { IChatSlashCommandService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatSlashCommands.service';
|
|
36
|
+
import { IChatVariablesService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatVariables.service';
|
|
36
37
|
|
|
37
38
|
var BuiltinDynamicCompletions_1, VariableCompletions_1;
|
|
38
39
|
const decorationDescription = 'chat';
|
|
@@ -10,24 +10,28 @@ import { revive } from 'vscode/vscode/vs/base/common/marshalling';
|
|
|
10
10
|
import { StopWatch } from 'vscode/vscode/vs/base/common/stopwatch';
|
|
11
11
|
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
12
12
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
13
|
+
import { CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
14
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
15
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
15
16
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
16
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
17
|
-
import
|
|
17
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
18
|
+
import 'vscode/vscode/vs/platform/notification/common/notification';
|
|
19
|
+
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification.service';
|
|
18
20
|
import { Progress } from 'vscode/vscode/vs/platform/progress/common/progress';
|
|
19
|
-
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
20
|
-
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry';
|
|
21
|
-
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace';
|
|
22
|
-
import {
|
|
21
|
+
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
22
|
+
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
23
|
+
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace.service';
|
|
24
|
+
import { ChatAgentLocation } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
25
|
+
import { IChatAgentService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
|
|
23
26
|
import { CONTEXT_PROVIDER_EXISTS } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
24
|
-
import { ChatModel, ChatWelcomeMessageModel,
|
|
27
|
+
import { ChatModel, ChatWelcomeMessageModel, getHistoryEntriesFromModel, updateRanges, ChatModelInitState } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatModel';
|
|
25
28
|
import { ChatRequestAgentPart, ChatRequestAgentSubcommandPart, ChatRequestSlashCommandPart, getPromptText } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatParserTypes';
|
|
26
29
|
import { ChatRequestParser } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatRequestParser';
|
|
27
30
|
import { InteractiveSessionVoteDirection, ChatCopyKind } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService';
|
|
28
|
-
import { IChatSlashCommandService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatSlashCommands';
|
|
29
|
-
import { IChatVariablesService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatVariables';
|
|
30
|
-
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions';
|
|
31
|
+
import { IChatSlashCommandService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatSlashCommands.service';
|
|
32
|
+
import { IChatVariablesService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatVariables.service';
|
|
33
|
+
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
34
|
+
import Severity$1 from 'vscode/vscode/vs/base/common/severity';
|
|
31
35
|
|
|
32
36
|
const serializedChatKey = 'interactive.sessions';
|
|
33
37
|
const globalChatKey = 'chat.workspaceTransfer';
|
|
@@ -247,7 +251,7 @@ let ChatService = class ChatService extends Disposable {
|
|
|
247
251
|
const defaultAgent = this.chatAgentService.getDefaultAgent(ChatAgentLocation.Panel);
|
|
248
252
|
if (!defaultAgent) {
|
|
249
253
|
this.notificationService.notify({
|
|
250
|
-
severity: Severity.Error,
|
|
254
|
+
severity: Severity$1.Error,
|
|
251
255
|
message: ( localizeWithPath(
|
|
252
256
|
'vs/workbench/contrib/chat/common/chatServiceImpl',
|
|
253
257
|
'chatFailErrorMessage',
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
|
+
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
3
|
+
import { Disposable, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
+
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
5
|
+
|
|
6
|
+
let ChatSlashCommandService = class ChatSlashCommandService extends Disposable {
|
|
7
|
+
constructor(_extensionService) {
|
|
8
|
+
super();
|
|
9
|
+
this._extensionService = _extensionService;
|
|
10
|
+
this._commands = ( new Map());
|
|
11
|
+
this._onDidChangeCommands = this._register(( new Emitter()));
|
|
12
|
+
this.onDidChangeCommands = this._onDidChangeCommands.event;
|
|
13
|
+
}
|
|
14
|
+
dispose() {
|
|
15
|
+
super.dispose();
|
|
16
|
+
this._commands.clear();
|
|
17
|
+
}
|
|
18
|
+
registerSlashCommand(data, command) {
|
|
19
|
+
if (( this._commands.has(data.command))) {
|
|
20
|
+
throw new Error(`Already registered a command with id ${data.command}}`);
|
|
21
|
+
}
|
|
22
|
+
this._commands.set(data.command, { data, command });
|
|
23
|
+
this._onDidChangeCommands.fire();
|
|
24
|
+
return toDisposable(() => {
|
|
25
|
+
if (this._commands.delete(data.command)) {
|
|
26
|
+
this._onDidChangeCommands.fire();
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
getCommands() {
|
|
31
|
+
return Array.from(( this._commands.values()), v => v.data);
|
|
32
|
+
}
|
|
33
|
+
hasCommand(id) {
|
|
34
|
+
return ( this._commands.has(id));
|
|
35
|
+
}
|
|
36
|
+
async executeCommand(id, prompt, progress, history, token) {
|
|
37
|
+
const data = this._commands.get(id);
|
|
38
|
+
if (!data) {
|
|
39
|
+
throw new Error('No command with id ${id} NOT registered');
|
|
40
|
+
}
|
|
41
|
+
if (!data.command) {
|
|
42
|
+
await this._extensionService.activateByEvent(`onSlash:${id}`);
|
|
43
|
+
}
|
|
44
|
+
if (!data.command) {
|
|
45
|
+
throw new Error(`No command with id ${id} NOT resolved`);
|
|
46
|
+
}
|
|
47
|
+
return await data.command(prompt, progress, history, token);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
ChatSlashCommandService = ( __decorate([
|
|
51
|
+
( __param(0, IExtensionService))
|
|
52
|
+
], ChatSlashCommandService));
|
|
53
|
+
|
|
54
|
+
export { ChatSlashCommandService };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
|
+
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
3
|
+
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
4
|
+
import { Memento } from 'vscode/vscode/vs/workbench/common/memento';
|
|
5
|
+
|
|
6
|
+
let ChatWidgetHistoryService = class ChatWidgetHistoryService {
|
|
7
|
+
constructor(storageService) {
|
|
8
|
+
this._onDidClearHistory = ( new Emitter());
|
|
9
|
+
this.onDidClearHistory = this._onDidClearHistory.event;
|
|
10
|
+
this.memento = ( new Memento('interactive-session', storageService));
|
|
11
|
+
const loadedState = this.memento.getMemento(1 , 1 );
|
|
12
|
+
for (const provider in loadedState.history) {
|
|
13
|
+
loadedState.history[provider] = ( loadedState.history[provider].map(entry => typeof entry === 'string' ? { text: entry } : entry));
|
|
14
|
+
}
|
|
15
|
+
this.viewState = loadedState;
|
|
16
|
+
}
|
|
17
|
+
getHistory(providerId) {
|
|
18
|
+
return this.viewState.history?.[providerId] ?? [];
|
|
19
|
+
}
|
|
20
|
+
saveHistory(providerId, history) {
|
|
21
|
+
if (!this.viewState.history) {
|
|
22
|
+
this.viewState.history = {};
|
|
23
|
+
}
|
|
24
|
+
this.viewState.history[providerId] = history;
|
|
25
|
+
this.memento.saveMemento();
|
|
26
|
+
}
|
|
27
|
+
clearHistory() {
|
|
28
|
+
this.viewState.history = {};
|
|
29
|
+
this.memento.saveMemento();
|
|
30
|
+
this._onDidClearHistory.fire();
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
ChatWidgetHistoryService = ( __decorate([
|
|
34
|
+
( __param(0, IStorageService))
|
|
35
|
+
], ChatWidgetHistoryService));
|
|
36
|
+
|
|
37
|
+
export { ChatWidgetHistoryService };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
2
|
+
import { toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
|
+
|
|
4
|
+
class LanguageModelsService {
|
|
5
|
+
constructor() {
|
|
6
|
+
this._providers = ( new Map());
|
|
7
|
+
this._onDidChangeProviders = ( new Emitter());
|
|
8
|
+
this.onDidChangeLanguageModels = this._onDidChangeProviders.event;
|
|
9
|
+
}
|
|
10
|
+
dispose() {
|
|
11
|
+
this._onDidChangeProviders.dispose();
|
|
12
|
+
this._providers.clear();
|
|
13
|
+
}
|
|
14
|
+
getLanguageModelIds() {
|
|
15
|
+
return Array.from(( this._providers.keys()));
|
|
16
|
+
}
|
|
17
|
+
lookupLanguageModel(identifier) {
|
|
18
|
+
return this._providers.get(identifier)?.metadata;
|
|
19
|
+
}
|
|
20
|
+
registerLanguageModelChat(identifier, provider) {
|
|
21
|
+
if (( this._providers.has(identifier))) {
|
|
22
|
+
throw new Error(`Chat response provider with identifier ${identifier} is already registered.`);
|
|
23
|
+
}
|
|
24
|
+
this._providers.set(identifier, provider);
|
|
25
|
+
this._onDidChangeProviders.fire({ added: [provider.metadata] });
|
|
26
|
+
return toDisposable(() => {
|
|
27
|
+
if (this._providers.delete(identifier)) {
|
|
28
|
+
this._onDidChangeProviders.fire({ removed: [identifier] });
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
makeLanguageModelChatRequest(identifier, from, messages, options, progress, token) {
|
|
33
|
+
const provider = this._providers.get(identifier);
|
|
34
|
+
if (!provider) {
|
|
35
|
+
throw new Error(`Chat response provider with identifier ${identifier} is not registered.`);
|
|
36
|
+
}
|
|
37
|
+
return provider.provideChatResponse(messages, from, options, progress, token);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { LanguageModelsService };
|
|
@@ -2,10 +2,10 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
|
2
2
|
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
3
3
|
import { Disposable, DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
4
|
import { rtrim } from 'vscode/vscode/vs/base/common/strings';
|
|
5
|
-
import 'vscode/vscode/vs/
|
|
6
|
-
import { IChatAgentService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
5
|
+
import { IChatAgentService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
|
|
7
6
|
import { chatAgentLeader, chatSubcommandLeader } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatParserTypes';
|
|
8
|
-
import { SpeechToTextStatus
|
|
7
|
+
import { SpeechToTextStatus } from 'vscode/vscode/vs/workbench/contrib/speech/common/speechService';
|
|
8
|
+
import { ISpeechService } from 'vscode/vscode/vs/workbench/contrib/speech/common/speechService.service';
|
|
9
9
|
|
|
10
10
|
var VoiceChatService_1;
|
|
11
11
|
var PhraseTextType;
|
|
@@ -3,13 +3,13 @@ import { registerAction2 } from 'vscode/vscode/vs/platform/actions/common/action
|
|
|
3
3
|
import { InlineChatController } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatController';
|
|
4
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 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
6
7
|
import '../common/inlineChatServiceImpl.js';
|
|
7
8
|
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
8
9
|
import { InlineChatNotebookContribution } from './inlineChatNotebook.js';
|
|
9
10
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
10
11
|
import './inlineChatSavingServiceImpl.js';
|
|
11
12
|
import { InlineChatAccessibleViewContribution } from './inlineChatAccessibleView.js';
|
|
12
|
-
import 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
13
13
|
import 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl';
|
|
14
14
|
|
|
15
15
|
registerEditorContribution(INLINE_CHAT_ID, InlineChatController, 0 );
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InlineChatController } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatController';
|
|
2
2
|
import { CTX_INLINE_CHAT_FOCUSED, CTX_INLINE_CHAT_RESPONSE_FOCUSED } from 'vscode/vscode/vs/workbench/contrib/inlineChat/common/inlineChat';
|
|
3
|
-
import { IAccessibleViewService } from 'vscode/vscode/vs/workbench/contrib/accessibility/browser/accessibleView';
|
|
3
|
+
import { IAccessibleViewService } from 'vscode/vscode/vs/workbench/contrib/accessibility/browser/accessibleView.service';
|
|
4
4
|
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
5
5
|
import { ICodeEditorService } from 'vscode/vscode/vs/editor/browser/services/codeEditorService';
|
|
6
6
|
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
@@ -4,8 +4,8 @@ import { DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
|
4
4
|
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
5
5
|
import { isEqual } from 'vscode/vscode/vs/base/common/resources';
|
|
6
6
|
import { InlineChatController } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatController';
|
|
7
|
-
import { IInlineChatSessionService } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService';
|
|
8
|
-
import { INotebookEditorService } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/services/notebookEditorService';
|
|
7
|
+
import { IInlineChatSessionService } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service';
|
|
8
|
+
import { INotebookEditorService } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service';
|
|
9
9
|
import { CellUri } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
10
10
|
|
|
11
11
|
let InlineChatNotebookContribution = class InlineChatNotebookContribution {
|
|
@@ -3,19 +3,19 @@ import { Queue, raceCancellation } from 'vscode/vscode/vs/base/common/async';
|
|
|
3
3
|
import { DisposableStore, MutableDisposable, dispose, combinedDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
4
|
import { isCodeEditor } from 'vscode/vscode/vs/editor/browser/editorBrowser';
|
|
5
5
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
6
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
7
|
-
import { IInlineChatSessionService } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService';
|
|
8
|
-
import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService';
|
|
9
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
10
|
-
import { IFilesConfigurationService } from 'vscode/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService';
|
|
11
|
-
import { ITextFileService } from 'vscode/vscode/vs/workbench/services/textfile/common/textfiles';
|
|
6
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
7
|
+
import { IInlineChatSessionService } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service';
|
|
8
|
+
import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
9
|
+
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
10
|
+
import { IFilesConfigurationService } from 'vscode/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service';
|
|
11
|
+
import { ITextFileService } from 'vscode/vscode/vs/workbench/services/textfile/common/textfiles.service';
|
|
12
12
|
import { Iterable } from 'vscode/vscode/vs/base/common/iterator';
|
|
13
13
|
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
14
14
|
import { CellUri } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
15
15
|
import { getNotebookEditorFromEditorPane } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
16
16
|
import { compare } from 'vscode/vscode/vs/base/common/strings';
|
|
17
|
-
import { IWorkingCopyFileService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService';
|
|
18
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
17
|
+
import { IWorkingCopyFileService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service';
|
|
18
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
19
19
|
import { Event } from 'vscode/vscode/vs/base/common/event';
|
|
20
20
|
import { InlineChatController } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatController';
|
|
21
21
|
|
|
@@ -2,7 +2,7 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
|
2
2
|
import { toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
3
|
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
4
4
|
import { LinkedList } from 'vscode/vscode/vs/base/common/linkedList';
|
|
5
|
-
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
5
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
6
6
|
import { CTX_INLINE_CHAT_HAS_PROVIDER } from 'vscode/vscode/vs/workbench/contrib/inlineChat/common/inlineChat';
|
|
7
7
|
|
|
8
8
|
let InlineChatServiceImpl = class InlineChatServiceImpl {
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { AbstractDialogHandler, IDialogService, IFileDialogService, getFileNamesMessage } from 'vscode/vscode/vs/platform/dialogs/common/dialogs';
|
|
2
|
-
|
|
3
|
-
var ConfirmResult;
|
|
4
|
-
( (function(ConfirmResult) {
|
|
5
|
-
ConfirmResult[ConfirmResult["SAVE"] = 0] = "SAVE";
|
|
6
|
-
ConfirmResult[ConfirmResult["DONT_SAVE"] = 1] = "DONT_SAVE";
|
|
7
|
-
ConfirmResult[ConfirmResult["CANCEL"] = 2] = "CANCEL";
|
|
8
|
-
})(ConfirmResult || (ConfirmResult = {})));
|
|
9
|
-
|
|
10
|
-
export { ConfirmResult };
|