@codingame/monaco-vscode-chat-service-override 12.0.1 → 13.1.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.
- package/index.d.ts +1 -1
- package/index.js +19 -19
- package/package.json +20 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +30 -30
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClearActions.js +28 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +29 -29
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +54 -54
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatGettingStarted.d.ts +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatGettingStarted.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.d.ts +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +34 -34
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +51 -51
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityService.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityService.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEdinputInputContentProvider.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEdinputInputContentProvider.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingService.d.ts +19 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingService.js +41 -41
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.d.ts +22 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +45 -45
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditor.d.ts +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditor.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +52 -52
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPasteProviders.d.ts +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPasteProviders.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuick.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuick.js +28 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseAccessibleView.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseAccessibleView.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup.js +109 -95
- package/vscode/src/vs/workbench/contrib/chat/browser/chatVariables.d.ts +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatVariables.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/chatViewPane.d.ts +17 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/chatViewPane.js +35 -35
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockContextProviderService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockContextProviderService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorContrib.js +19 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorHover.d.ts +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorHover.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputRelatedFilesContrib.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputRelatedFilesContrib.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/editorHoverWrapper.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/editorHoverWrapper.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/media/editorHoverWrapper.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/languageModelToolsService.d.ts +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/languageModelToolsService.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatViewSetup.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/common/chatCodeMapperService.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/chat/common/chatCodeMapperService.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatProgressTypes/chatToolInvocation.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatProgressTypes/chatToolInvocation.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.d.ts +17 -17
- package/vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.js +30 -30
- package/vscode/src/vs/workbench/contrib/chat/common/chatServiceTelemetry.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatServiceTelemetry.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.d.ts +9 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/common/ignoredFiles.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/ignoredFiles.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +22 -22
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsParametersSchema.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.d.ts +8 -8
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibilityHelp.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibilityHelp.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibleView.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibleView.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatCurrentLine.d.ts +14 -14
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatCurrentLine.js +45 -45
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatNotebook.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatNotebook.js +9 -9
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingServiceImpl.d.ts +9 -9
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingServiceImpl.js +24 -24
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
|
|
2
|
-
import { CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
|
|
3
|
-
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
4
|
-
import { KeyMod, KeyCode } from 'vscode/vscode/vs/base/common/keyCodes';
|
|
5
|
-
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
6
|
-
import { isElectron } from 'vscode/vscode/vs/base/common/platform';
|
|
7
|
-
import { dirname } from 'vscode/vscode/vs/base/common/resources';
|
|
8
|
-
import { compare } from 'vscode/vscode/vs/base/common/strings';
|
|
9
|
-
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
10
|
-
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
11
|
-
import { EditorType } from 'vscode/vscode/vs/editor/common/editorCommon';
|
|
2
|
+
import { CancellationToken } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
|
|
3
|
+
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
4
|
+
import { KeyMod, KeyCode } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
|
|
5
|
+
import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
6
|
+
import { isElectron } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
7
|
+
import { dirname } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
8
|
+
import { compare } from '@codingame/monaco-vscode-api/vscode/vs/base/common/strings';
|
|
9
|
+
import { ThemeIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
|
|
10
|
+
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
11
|
+
import { EditorType } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/editorCommon';
|
|
12
12
|
import { AbstractGotoSymbolQuickAccessProvider } from '@codingame/monaco-vscode-ea14e352-8f1c-5569-b79a-8a96a53e8abe-common/vscode/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess';
|
|
13
|
-
import { localize2, localize } from 'vscode/vscode/vs/nls';
|
|
14
|
-
import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
15
|
-
import { IClipboardService } from 'vscode/vscode/vs/platform/clipboard/common/clipboardService.service';
|
|
16
|
-
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
17
|
-
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
18
|
-
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
19
|
-
import { KeybindingWeight } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
20
|
-
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label.service';
|
|
21
|
-
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
22
|
-
import { ActiveEditorContext } from 'vscode/vscode/vs/workbench/common/contextkeys';
|
|
13
|
+
import { localize2, localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
14
|
+
import { registerAction2, Action2, MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
15
|
+
import { IClipboardService } from '@codingame/monaco-vscode-api/vscode/vs/platform/clipboard/common/clipboardService.service';
|
|
16
|
+
import { ICommandService } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service';
|
|
17
|
+
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
18
|
+
import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
19
|
+
import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
20
|
+
import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service';
|
|
21
|
+
import { IQuickInputService } from '@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
22
|
+
import { ActiveEditorContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
23
23
|
import { DiffEditorInput } from '@codingame/monaco-vscode-5108c2c9-4ada-52d8-8c4b-fe03b3160e71-common/vscode/vs/workbench/common/editor/diffEditorInput';
|
|
24
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
25
|
-
import { isProposedApiEnabled } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions';
|
|
26
|
-
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
27
|
-
import { IHostService } from 'vscode/vscode/vs/workbench/services/host/browser/host.service';
|
|
28
|
-
import { VIEW_ID } from 'vscode/vscode/vs/workbench/services/search/common/search';
|
|
24
|
+
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
25
|
+
import { isProposedApiEnabled } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions';
|
|
26
|
+
import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
27
|
+
import { IHostService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service';
|
|
28
|
+
import { VIEW_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/search/common/search';
|
|
29
29
|
import { UntitledTextEditorInput } from '@codingame/monaco-vscode-5945a5e2-a66c-5a82-bd2c-1965724b29eb-common/vscode/vs/workbench/services/untitled/common/untitledTextEditorInput';
|
|
30
|
-
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
30
|
+
import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
31
31
|
import { FileEditorInput } from '@codingame/monaco-vscode-5945a5e2-a66c-5a82-bd2c-1965724b29eb-common/vscode/vs/workbench/contrib/files/browser/editors/fileEditorInput';
|
|
32
32
|
import { NotebookEditorInput } from '@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput';
|
|
33
33
|
import { AnythingQuickAccessProvider } from '@codingame/monaco-vscode-ea14e352-8f1c-5569-b79a-8a96a53e8abe-common/vscode/vs/workbench/contrib/search/browser/anythingQuickAccess';
|
|
34
34
|
import { isSearchTreeFileMatch, isSearchTreeMatch } from '@codingame/monaco-vscode-42931eb9-e564-530c-bafc-fa23ab43a070-common/vscode/vs/workbench/contrib/search/browser/searchTreeModel/searchTreeCommon';
|
|
35
35
|
import { SymbolsQuickAccessProvider } from '@codingame/monaco-vscode-ea14e352-8f1c-5569-b79a-8a96a53e8abe-common/vscode/vs/workbench/contrib/search/browser/symbolsQuickAccess';
|
|
36
36
|
import { SearchContext } from '@codingame/monaco-vscode-42931eb9-e564-530c-bafc-fa23ab43a070-common/vscode/vs/workbench/contrib/search/common/constants';
|
|
37
|
-
import { ChatAgentLocation } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
38
|
-
import { IChatAgentService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
|
|
39
|
-
import { ChatContextKeys } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
40
|
-
import { WorkingSetEntryState } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatEditingService';
|
|
41
|
-
import { IChatEditingService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatEditingService.service';
|
|
37
|
+
import { ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
38
|
+
import { IChatAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
|
|
39
|
+
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
40
|
+
import { WorkingSetEntryState } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatEditingService';
|
|
41
|
+
import { IChatEditingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatEditingService.service';
|
|
42
42
|
import { ChatRequestAgentPart } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatParserTypes';
|
|
43
|
-
import { IChatVariablesService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatVariables.service';
|
|
44
|
-
import { ILanguageModelToolsService } from 'vscode/vscode/vs/workbench/contrib/chat/common/languageModelToolsService.service';
|
|
43
|
+
import { IChatVariablesService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatVariables.service';
|
|
44
|
+
import { ILanguageModelToolsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModelToolsService.service';
|
|
45
45
|
import { showChatView, showEditsView } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/chat';
|
|
46
|
-
import { IChatWidgetService, IQuickChatService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
46
|
+
import { IChatWidgetService, IQuickChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
47
47
|
import { imageToHash, isImage } from '../chatPasteProviders.js';
|
|
48
48
|
import { isQuickChat } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/browser/chatWidget';
|
|
49
49
|
import { convertBufferToScreenshotVariable, ScreenshotVariableId } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/contrib/screenshot';
|
|
@@ -119,7 +119,7 @@ class AttachFileToChatAction extends AttachFileAction {
|
|
|
119
119
|
constructor() {
|
|
120
120
|
super({
|
|
121
121
|
id: AttachFileToChatAction.ID,
|
|
122
|
-
title: ( localize2(
|
|
122
|
+
title: ( localize2(4214, "Add File to Chat")),
|
|
123
123
|
category: CHAT_CATEGORY,
|
|
124
124
|
f1: false,
|
|
125
125
|
precondition: ChatContextKeys.enabled,
|
|
@@ -151,7 +151,7 @@ class AttachSelectionToChatAction extends Action2 {
|
|
|
151
151
|
constructor() {
|
|
152
152
|
super({
|
|
153
153
|
id: AttachSelectionToChatAction.ID,
|
|
154
|
-
title: ( localize2(
|
|
154
|
+
title: ( localize2(4215, "Add Selection to Chat")),
|
|
155
155
|
category: CHAT_CATEGORY,
|
|
156
156
|
f1: false,
|
|
157
157
|
precondition: ChatContextKeys.enabled,
|
|
@@ -212,7 +212,7 @@ class AttachFileToEditingSessionAction extends AttachFileAction {
|
|
|
212
212
|
constructor() {
|
|
213
213
|
super({
|
|
214
214
|
id: AttachFileToEditingSessionAction.ID,
|
|
215
|
-
title: ( localize2(
|
|
215
|
+
title: ( localize2(4216, "Add File to {0}", 'Copilot Edits')),
|
|
216
216
|
category: CHAT_CATEGORY,
|
|
217
217
|
f1: false,
|
|
218
218
|
precondition: ChatContextKeys.enabled,
|
|
@@ -244,7 +244,7 @@ class AttachSelectionToEditingSessionAction extends Action2 {
|
|
|
244
244
|
constructor() {
|
|
245
245
|
super({
|
|
246
246
|
id: AttachSelectionToEditingSessionAction.ID,
|
|
247
|
-
title: ( localize2(
|
|
247
|
+
title: ( localize2(4217, "Add Selection to {0}", 'Copilot Edits')),
|
|
248
248
|
category: CHAT_CATEGORY,
|
|
249
249
|
f1: false,
|
|
250
250
|
precondition: ( ContextKeyExpr.and(ChatContextKeys.enabled, ( ActiveEditorContext.isEqualTo('workbench.editors.files.textFileEditor')))),
|
|
@@ -274,7 +274,7 @@ class AttachContextAction extends Action2 {
|
|
|
274
274
|
static { this._cdt = ( ContextKeyExpr.or(( ContextKeyExpr.and(( ChatContextKeys.location.isEqualTo(ChatAgentLocation.Panel)))), ( ContextKeyExpr.and(( ChatContextKeys.location.isEqualTo(ChatAgentLocation.Editor)))), ( ContextKeyExpr.and(( ChatContextKeys.location.isEqualTo(ChatAgentLocation.Notebook)))), ( ContextKeyExpr.and(( ChatContextKeys.location.isEqualTo(ChatAgentLocation.Terminal)))))); }
|
|
275
275
|
constructor(desc = {
|
|
276
276
|
id: AttachContextAction.ID,
|
|
277
|
-
title: ( localize2(
|
|
277
|
+
title: ( localize2(4218, "Attach Context")),
|
|
278
278
|
icon: Codicon.attach,
|
|
279
279
|
category: CHAT_CATEGORY,
|
|
280
280
|
precondition: ( ContextKeyExpr.or(AttachContextAction._cdt, ( ContextKeyExpr.and(( ChatContextKeys.location.isEqualTo(ChatAgentLocation.EditingSession)))))),
|
|
@@ -419,7 +419,7 @@ class AttachContextAction extends Action2 {
|
|
|
419
419
|
}
|
|
420
420
|
return acc;
|
|
421
421
|
}, []));
|
|
422
|
-
const selectedFiles = await quickInputService.pick(itemsPromise, { placeHolder: ( localize(
|
|
422
|
+
const selectedFiles = await quickInputService.pick(itemsPromise, { placeHolder: ( localize(4219, 'Add related files to your working set')), canPickMany: true });
|
|
423
423
|
for (const file of selectedFiles ?? []) {
|
|
424
424
|
chatEditingService?.currentEditingSessionObs.get()?.addFileToWorkingSet(file.value);
|
|
425
425
|
}
|
|
@@ -459,8 +459,8 @@ class AttachContextAction extends Action2 {
|
|
|
459
459
|
const fileBuffer = await clipboardService.readImage();
|
|
460
460
|
toAttach.push({
|
|
461
461
|
id: await imageToHash(fileBuffer),
|
|
462
|
-
name: ( localize(
|
|
463
|
-
fullName: ( localize(
|
|
462
|
+
name: ( localize(4220, 'Pasted Image')),
|
|
463
|
+
fullName: ( localize(4220, 'Pasted Image')),
|
|
464
464
|
value: fileBuffer,
|
|
465
465
|
isDynamic: true,
|
|
466
466
|
isImage: true
|
|
@@ -525,7 +525,7 @@ class AttachContextAction extends Action2 {
|
|
|
525
525
|
quickPickItems.push({
|
|
526
526
|
kind: 'image',
|
|
527
527
|
id: await imageToHash(imageData),
|
|
528
|
-
label: ( localize(
|
|
528
|
+
label: ( localize(4221, 'Image from Clipboard')),
|
|
529
529
|
iconClass: ThemeIcon.asClassName(Codicon.fileMedia),
|
|
530
530
|
});
|
|
531
531
|
}
|
|
@@ -535,8 +535,8 @@ class AttachContextAction extends Action2 {
|
|
|
535
535
|
icon: ThemeIcon.fromId(Codicon.deviceCamera.id),
|
|
536
536
|
iconClass: ThemeIcon.asClassName(Codicon.deviceCamera),
|
|
537
537
|
label: (isElectron
|
|
538
|
-
? ( localize(
|
|
539
|
-
: ( localize(
|
|
538
|
+
? ( localize(4222, 'Screenshot Window'))
|
|
539
|
+
: ( localize(4223, 'Screenshot'))),
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
542
|
if (widget.viewModel?.sessionId) {
|
|
@@ -579,7 +579,7 @@ class AttachContextAction extends Action2 {
|
|
|
579
579
|
}
|
|
580
580
|
quickPickItems.push({
|
|
581
581
|
kind: 'quickaccess',
|
|
582
|
-
label: ( localize(
|
|
582
|
+
label: ( localize(4224, 'Symbol...')),
|
|
583
583
|
iconClass: ThemeIcon.asClassName(Codicon.symbolField),
|
|
584
584
|
prefix: SymbolsQuickAccessProvider.PREFIX,
|
|
585
585
|
id: 'symbol'
|
|
@@ -592,10 +592,10 @@ class AttachContextAction extends Action2 {
|
|
|
592
592
|
icon: ThemeIcon.fromId(Codicon.serverEnvironment.id),
|
|
593
593
|
iconClass: ThemeIcon.asClassName(Codicon.serverEnvironment),
|
|
594
594
|
value: 'kernelVariable',
|
|
595
|
-
label: ( localize(
|
|
595
|
+
label: ( localize(4225, 'Kernel Variable...')),
|
|
596
596
|
command: {
|
|
597
597
|
id: 'notebook.chat.selectAndInsertKernelVariable',
|
|
598
|
-
title: ( localize(
|
|
598
|
+
title: ( localize(4226, 'Select and Insert Kernel Variable')),
|
|
599
599
|
arguments: [{ widget, range: undefined }]
|
|
600
600
|
}
|
|
601
601
|
});
|
|
@@ -606,7 +606,7 @@ class AttachContextAction extends Action2 {
|
|
|
606
606
|
quickPickItems.push({
|
|
607
607
|
kind: 'related-files',
|
|
608
608
|
id: 'related-files',
|
|
609
|
-
label: ( localize(
|
|
609
|
+
label: ( localize(4227, 'Related Files')),
|
|
610
610
|
iconClass: ThemeIcon.asClassName(Codicon.sparkle),
|
|
611
611
|
});
|
|
612
612
|
}
|
|
@@ -614,7 +614,7 @@ class AttachContextAction extends Action2 {
|
|
|
614
614
|
quickPickItems.push({
|
|
615
615
|
kind: 'open-editors',
|
|
616
616
|
id: 'open-editors',
|
|
617
|
-
label: ( localize(
|
|
617
|
+
label: ( localize(4228, 'Open Editors')),
|
|
618
618
|
iconClass: ThemeIcon.asClassName(Codicon.files),
|
|
619
619
|
});
|
|
620
620
|
}
|
|
@@ -622,7 +622,7 @@ class AttachContextAction extends Action2 {
|
|
|
622
622
|
quickPickItems.push({
|
|
623
623
|
kind: 'search-results',
|
|
624
624
|
id: 'search-results',
|
|
625
|
-
label: ( localize(
|
|
625
|
+
label: ( localize(4229, 'Search Results')),
|
|
626
626
|
iconClass: ThemeIcon.asClassName(Codicon.search),
|
|
627
627
|
});
|
|
628
628
|
}
|
|
@@ -699,7 +699,7 @@ class AttachContextAction extends Action2 {
|
|
|
699
699
|
SymbolsQuickAccessProvider.PREFIX,
|
|
700
700
|
AbstractGotoSymbolQuickAccessProvider.PREFIX
|
|
701
701
|
],
|
|
702
|
-
placeholder: placeholder ?? ( localize(
|
|
702
|
+
placeholder: placeholder ?? ( localize(4230, 'Search attachments')),
|
|
703
703
|
providerOptions,
|
|
704
704
|
});
|
|
705
705
|
}
|
|
@@ -708,7 +708,7 @@ registerAction2(class AttachFilesAction extends AttachContextAction {
|
|
|
708
708
|
constructor() {
|
|
709
709
|
super({
|
|
710
710
|
id: 'workbench.action.chat.editing.attachFiles',
|
|
711
|
-
title: ( localize2(
|
|
711
|
+
title: ( localize2(4231, "Add Files to Working Set")),
|
|
712
712
|
f1: false,
|
|
713
713
|
category: CHAT_CATEGORY,
|
|
714
714
|
precondition: ( ChatContextKeys.location.isEqualTo(ChatAgentLocation.EditingSession))
|
|
@@ -716,7 +716,7 @@ registerAction2(class AttachFilesAction extends AttachContextAction {
|
|
|
716
716
|
}
|
|
717
717
|
async run(accessor, ...args) {
|
|
718
718
|
const context = args[0];
|
|
719
|
-
const attachFilesContext = { ...context, showFilesOnly: true, placeholder: ( localize(
|
|
719
|
+
const attachFilesContext = { ...context, showFilesOnly: true, placeholder: ( localize(4232, 'Search for files to add to your working set')) };
|
|
720
720
|
return super.run(accessor, attachFilesContext);
|
|
721
721
|
}
|
|
722
722
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import { localize2 } from 'vscode/vscode/vs/nls';
|
|
3
|
-
import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
4
|
-
import { IClipboardService } from 'vscode/vscode/vs/platform/clipboard/common/clipboardService.service';
|
|
2
|
+
import { localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
3
|
+
import { registerAction2, Action2, MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
4
|
+
import { IClipboardService } from '@codingame/monaco-vscode-api/vscode/vs/platform/clipboard/common/clipboardService.service';
|
|
5
5
|
import { CHAT_CATEGORY, stringifyItem } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
6
|
-
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
7
|
-
import { ChatContextKeys } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
6
|
+
import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
7
|
+
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
8
8
|
import { isRequestVM, isResponseVM } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatViewModel';
|
|
9
9
|
|
|
10
10
|
function registerChatCopyActions() {
|
|
@@ -12,7 +12,7 @@ function registerChatCopyActions() {
|
|
|
12
12
|
constructor() {
|
|
13
13
|
super({
|
|
14
14
|
id: 'workbench.action.chat.copyAll',
|
|
15
|
-
title: ( localize2(
|
|
15
|
+
title: ( localize2(4233, "Copy All")),
|
|
16
16
|
f1: false,
|
|
17
17
|
category: CHAT_CATEGORY,
|
|
18
18
|
menu: {
|
|
@@ -42,7 +42,7 @@ function registerChatCopyActions() {
|
|
|
42
42
|
constructor() {
|
|
43
43
|
super({
|
|
44
44
|
id: 'workbench.action.chat.copyItem',
|
|
45
|
-
title: ( localize2(
|
|
45
|
+
title: ( localize2(4234, "Copy")),
|
|
46
46
|
f1: false,
|
|
47
47
|
category: CHAT_CATEGORY,
|
|
48
48
|
menu: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
3
|
-
import { localize2 } from 'vscode/vscode/vs/nls';
|
|
4
|
-
import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
|
|
5
|
-
import { registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
6
|
-
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
2
|
+
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
3
|
+
import { localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
|
+
import { Categories } from '@codingame/monaco-vscode-api/vscode/vs/platform/action/common/actionCommonCategories';
|
|
5
|
+
import { registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
6
|
+
import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
7
7
|
|
|
8
8
|
function registerChatDeveloperActions() {
|
|
9
9
|
registerAction2(LogChatInputHistoryAction);
|
|
@@ -13,7 +13,7 @@ class LogChatInputHistoryAction extends Action2 {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super({
|
|
15
15
|
id: LogChatInputHistoryAction.ID,
|
|
16
|
-
title: ( localize2(
|
|
16
|
+
title: ( localize2(4235, "Log Chat Input History")),
|
|
17
17
|
icon: Codicon.attach,
|
|
18
18
|
category: Categories.Developer,
|
|
19
19
|
f1: true
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import { KeyMod, KeyCode } from 'vscode/vscode/vs/base/common/keyCodes';
|
|
3
|
-
import { localize2 } from 'vscode/vscode/vs/nls';
|
|
4
|
-
import { registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
5
|
-
import { KeybindingWeight } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
2
|
+
import { KeyMod, KeyCode } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
|
|
3
|
+
import { localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
|
+
import { registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
5
|
+
import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
6
6
|
import { CHAT_CATEGORY } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
7
|
-
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
8
|
-
import { ChatContextKeys } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
7
|
+
import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
8
|
+
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
9
9
|
import { isResponseVM } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatViewModel';
|
|
10
10
|
|
|
11
11
|
function registerChatFileTreeActions() {
|
|
@@ -13,7 +13,7 @@ function registerChatFileTreeActions() {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super({
|
|
15
15
|
id: 'workbench.action.chat.nextFileTree',
|
|
16
|
-
title: ( localize2(
|
|
16
|
+
title: ( localize2(4248, "Next File Tree")),
|
|
17
17
|
keybinding: {
|
|
18
18
|
primary: KeyMod.CtrlCmd | KeyCode.F9,
|
|
19
19
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -32,7 +32,7 @@ function registerChatFileTreeActions() {
|
|
|
32
32
|
constructor() {
|
|
33
33
|
super({
|
|
34
34
|
id: 'workbench.action.chat.previousFileTree',
|
|
35
|
-
title: ( localize2(
|
|
35
|
+
title: ( localize2(4249, "Previous File Tree")),
|
|
36
36
|
keybinding: {
|
|
37
37
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.F9,
|
|
38
38
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { IWorkbenchContribution } from "vscode/vscode/vs/workbench/common/contributions";
|
|
2
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
3
|
-
import { IProductService } from "vscode/vscode/vs/platform/product/common/productService.service";
|
|
4
|
-
import { ICommandService } from "vscode/vscode/vs/platform/commands/common/commands.service";
|
|
5
|
-
import { IExtensionService } from "vscode/vscode/vs/workbench/services/extensions/common/extensions.service";
|
|
6
|
-
import { IExtensionManagementService } from "vscode/vscode/vs/platform/extensionManagement/common/extensionManagement.service";
|
|
7
|
-
import { IStorageService } from "vscode/vscode/vs/platform/storage/common/storage.service";
|
|
8
|
-
import { IViewDescriptorService } from "vscode/vscode/vs/workbench/common/views.service";
|
|
9
|
-
import { IWorkbenchLayoutService } from "vscode/vscode/vs/workbench/services/layout/browser/layoutService.service";
|
|
1
|
+
import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions";
|
|
2
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
3
|
+
import { IProductService } from "@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service";
|
|
4
|
+
import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service";
|
|
5
|
+
import { IExtensionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service";
|
|
6
|
+
import { IExtensionManagementService } from "@codingame/monaco-vscode-api/vscode/vs/platform/extensionManagement/common/extensionManagement.service";
|
|
7
|
+
import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
|
|
8
|
+
import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service";
|
|
9
|
+
import { IWorkbenchLayoutService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/layout/browser/layoutService.service";
|
|
10
10
|
export declare class ChatGettingStartedContribution extends Disposable implements IWorkbenchContribution {
|
|
11
11
|
private readonly productService;
|
|
12
12
|
private readonly extensionService;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
-
import { IProductService } from 'vscode/vscode/vs/platform/product/common/productService.service';
|
|
5
|
-
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
6
|
-
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
7
|
-
import { ExtensionIdentifier } from 'vscode/vscode/vs/platform/extensions/common/extensions';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
4
|
+
import { IProductService } from '@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service';
|
|
5
|
+
import { ICommandService } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service';
|
|
6
|
+
import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
7
|
+
import { ExtensionIdentifier } from '@codingame/monaco-vscode-api/vscode/vs/platform/extensions/common/extensions';
|
|
8
8
|
import { CHAT_OPEN_ACTION_ID } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
9
|
-
import { InstallOperation } from 'vscode/vscode/vs/platform/extensionManagement/common/extensionManagement';
|
|
10
|
-
import { IExtensionManagementService } from 'vscode/vscode/vs/platform/extensionManagement/common/extensionManagement.service';
|
|
11
|
-
import { StorageScope, StorageTarget } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
12
|
-
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
13
|
-
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views.service';
|
|
14
|
-
import { IWorkbenchLayoutService } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService.service';
|
|
9
|
+
import { InstallOperation } from '@codingame/monaco-vscode-api/vscode/vs/platform/extensionManagement/common/extensionManagement';
|
|
10
|
+
import { IExtensionManagementService } from '@codingame/monaco-vscode-api/vscode/vs/platform/extensionManagement/common/extensionManagement.service';
|
|
11
|
+
import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage';
|
|
12
|
+
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
13
|
+
import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
|
|
14
|
+
import { IWorkbenchLayoutService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/layout/browser/layoutService.service';
|
|
15
15
|
import { ensureSideBarChatViewSize } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/chat';
|
|
16
16
|
|
|
17
17
|
var ChatGettingStartedContribution_1;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
|
|
2
|
-
import { VSBuffer } from 'vscode/vscode/vs/base/common/buffer';
|
|
3
|
-
import { joinPath } from 'vscode/vscode/vs/base/common/resources';
|
|
4
|
-
import { localize, localize2 } from 'vscode/vscode/vs/nls';
|
|
5
|
-
import { registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
6
|
-
import { IFileDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
7
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
2
|
+
import { VSBuffer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/buffer';
|
|
3
|
+
import { joinPath } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
4
|
+
import { localize, localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
5
|
+
import { registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
6
|
+
import { IFileDialogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
7
|
+
import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
|
|
8
8
|
import { CHAT_CATEGORY } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
9
|
-
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
9
|
+
import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
10
10
|
import { ChatEditorInput } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
|
|
11
|
-
import { ChatContextKeys } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
11
|
+
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
12
12
|
import { isExportableSessionData } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatModel';
|
|
13
|
-
import { IChatService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
14
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
13
|
+
import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
14
|
+
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
15
15
|
|
|
16
16
|
const defaultFileName = 'chat.json';
|
|
17
|
-
const filters = [{ name: ( localize(
|
|
17
|
+
const filters = [{ name: ( localize(4250, "Chat Session")), extensions: ['json'] }];
|
|
18
18
|
function registerChatExportActions() {
|
|
19
19
|
registerAction2(class ExportChatAction extends Action2 {
|
|
20
20
|
constructor() {
|
|
21
21
|
super({
|
|
22
22
|
id: 'workbench.action.chat.export',
|
|
23
23
|
category: CHAT_CATEGORY,
|
|
24
|
-
title: ( localize2(
|
|
24
|
+
title: ( localize2(4251, "Export Chat...")),
|
|
25
25
|
precondition: ChatContextKeys.enabled,
|
|
26
26
|
f1: true,
|
|
27
27
|
});
|
|
@@ -55,7 +55,7 @@ function registerChatExportActions() {
|
|
|
55
55
|
constructor() {
|
|
56
56
|
super({
|
|
57
57
|
id: 'workbench.action.chat.import',
|
|
58
|
-
title: ( localize2(
|
|
58
|
+
title: ( localize2(4252, "Import Chat...")),
|
|
59
59
|
category: CHAT_CATEGORY,
|
|
60
60
|
precondition: ChatContextKeys.enabled,
|
|
61
61
|
f1: true,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
|
-
import { localize2 } from 'vscode/vscode/vs/nls';
|
|
3
|
-
import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
4
|
-
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
5
|
-
import { ActiveEditorContext } from 'vscode/vscode/vs/workbench/common/contextkeys';
|
|
2
|
+
import { localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
3
|
+
import { registerAction2, Action2, MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
4
|
+
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
5
|
+
import { ActiveEditorContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
6
6
|
import { CHAT_CATEGORY } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
7
7
|
import { ChatViewId } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/chat';
|
|
8
|
-
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
8
|
+
import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
9
9
|
import { ChatEditor } from '../chatEditor.js';
|
|
10
10
|
import { ChatEditorInput } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
|
|
11
|
-
import { ChatContextKeys } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
12
|
-
import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
13
|
-
import { AUX_WINDOW_GROUP, ACTIVE_GROUP } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
14
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
15
|
-
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
16
|
-
import { isChatViewTitleActionContext } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatActions';
|
|
11
|
+
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
12
|
+
import { IEditorGroupsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
13
|
+
import { AUX_WINDOW_GROUP, ACTIVE_GROUP } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService';
|
|
14
|
+
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
15
|
+
import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
16
|
+
import { isChatViewTitleActionContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatActions';
|
|
17
17
|
|
|
18
18
|
var MoveToNewLocation;
|
|
19
19
|
(function (MoveToNewLocation) {
|
|
@@ -25,7 +25,7 @@ function registerMoveActions() {
|
|
|
25
25
|
constructor() {
|
|
26
26
|
super({
|
|
27
27
|
id: `workbench.action.chat.openInEditor`,
|
|
28
|
-
title: ( localize2(
|
|
28
|
+
title: ( localize2(4253, "Open Chat in Editor")),
|
|
29
29
|
category: CHAT_CATEGORY,
|
|
30
30
|
precondition: ChatContextKeys.enabled,
|
|
31
31
|
f1: true,
|
|
@@ -46,7 +46,7 @@ function registerMoveActions() {
|
|
|
46
46
|
constructor() {
|
|
47
47
|
super({
|
|
48
48
|
id: `workbench.action.chat.openInNewWindow`,
|
|
49
|
-
title: ( localize2(
|
|
49
|
+
title: ( localize2(4254, "Open Chat in New Window")),
|
|
50
50
|
category: CHAT_CATEGORY,
|
|
51
51
|
precondition: ChatContextKeys.enabled,
|
|
52
52
|
f1: true,
|
|
@@ -67,7 +67,7 @@ function registerMoveActions() {
|
|
|
67
67
|
constructor() {
|
|
68
68
|
super({
|
|
69
69
|
id: `workbench.action.chat.openInSidebar`,
|
|
70
|
-
title: ( localize2(
|
|
70
|
+
title: ( localize2(4255, "Open Chat in Side Bar")),
|
|
71
71
|
category: CHAT_CATEGORY,
|
|
72
72
|
precondition: ChatContextKeys.enabled,
|
|
73
73
|
f1: true,
|