@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
package/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type IEditorOverrideServices } from "vscode/vscode/vs/editor/standalone/browser/standaloneServices";
|
|
1
|
+
import { type IEditorOverrideServices } from "@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices";
|
|
2
2
|
export default function getServiceOverride(): IEditorOverrideServices;
|
package/index.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
|
|
2
|
-
import 'vscode/vscode/vs/editor/standalone/browser/standaloneServices';
|
|
3
|
-
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
4
|
-
import { IChatWidgetService, IQuickChatService, IChatAccessibilityService, IChatCodeBlockContextProviderService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
2
|
+
import '@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices';
|
|
3
|
+
import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
|
|
4
|
+
import { IChatWidgetService, IQuickChatService, IChatAccessibilityService, IChatCodeBlockContextProviderService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
5
5
|
import { ChatAccessibilityService } from './vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityService.js';
|
|
6
6
|
import { QuickChatService } from './vscode/src/vs/workbench/contrib/chat/browser/chatQuick.js';
|
|
7
7
|
import { ChatVariablesService } from './vscode/src/vs/workbench/contrib/chat/browser/chatVariables.js';
|
|
8
8
|
import { ChatWidgetService } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/browser/chatWidget';
|
|
9
9
|
import { ChatCodeBlockContextProviderService } from './vscode/src/vs/workbench/contrib/chat/browser/codeBlockContextProviderService.js';
|
|
10
|
-
import { ChatAgentService, ChatAgentNameService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
11
|
-
import { IChatAgentService, IChatAgentNameService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
|
|
12
|
-
import { IChatService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
10
|
+
import { ChatAgentService, ChatAgentNameService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
11
|
+
import { IChatAgentService, IChatAgentNameService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
|
|
12
|
+
import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
13
13
|
import { ChatService } from './vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.js';
|
|
14
14
|
import { ChatSlashCommandService } from './vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js';
|
|
15
|
-
import { IChatSlashCommandService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatSlashCommands.service';
|
|
16
|
-
import { IChatVariablesService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatVariables.service';
|
|
15
|
+
import { IChatSlashCommandService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSlashCommands.service';
|
|
16
|
+
import { IChatVariablesService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatVariables.service';
|
|
17
17
|
import { ChatWidgetHistoryService } from './vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.js';
|
|
18
|
-
import { IChatWidgetHistoryService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service';
|
|
19
|
-
import { ILanguageModelStatsService } from 'vscode/vscode/vs/workbench/contrib/chat/common/languageModelStats.service';
|
|
20
|
-
import { LanguageModelsService } from 'vscode/vscode/vs/workbench/contrib/chat/common/languageModels';
|
|
21
|
-
import { ILanguageModelsService } from 'vscode/vscode/vs/workbench/contrib/chat/common/languageModels.service';
|
|
22
|
-
import { IInlineChatSavingService } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSavingService.service';
|
|
18
|
+
import { IChatWidgetHistoryService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service';
|
|
19
|
+
import { ILanguageModelStatsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModelStats.service';
|
|
20
|
+
import { LanguageModelsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModels';
|
|
21
|
+
import { ILanguageModelsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModels.service';
|
|
22
|
+
import { IInlineChatSavingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSavingService.service';
|
|
23
23
|
import { InlineChatSavingServiceImpl } from './vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingServiceImpl.js';
|
|
24
|
-
import { IInlineChatSessionService } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service';
|
|
24
|
+
import { IInlineChatSessionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service';
|
|
25
25
|
import { InlineChatSessionServiceImpl } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl';
|
|
26
26
|
import { LanguageModelStatsService } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/languageModelStats';
|
|
27
27
|
import './vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js';
|
|
28
28
|
import './vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js';
|
|
29
|
-
import { ILanguageModelToolsService } from 'vscode/vscode/vs/workbench/contrib/chat/common/languageModelToolsService.service';
|
|
29
|
+
import { ILanguageModelToolsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModelToolsService.service';
|
|
30
30
|
import { LanguageModelToolsService } from './vscode/src/vs/workbench/contrib/chat/browser/languageModelToolsService.js';
|
|
31
|
-
import { ICodeMapperService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatCodeMapperService.service';
|
|
31
|
+
import { ICodeMapperService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatCodeMapperService.service';
|
|
32
32
|
import { CodeMapperService } from './vscode/src/vs/workbench/contrib/chat/common/chatCodeMapperService.js';
|
|
33
|
-
import { IChatEditingService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatEditingService.service';
|
|
33
|
+
import { IChatEditingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatEditingService.service';
|
|
34
34
|
import { ChatEditingService } from './vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingService.js';
|
|
35
35
|
import { LanguageModelIgnoredFilesService } from './vscode/src/vs/workbench/contrib/chat/common/ignoredFiles.js';
|
|
36
|
-
import { ILanguageModelIgnoredFilesService } from 'vscode/vscode/vs/workbench/contrib/chat/common/ignoredFiles.service';
|
|
37
|
-
import { IChatQuotasService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chatQuotasService.service';
|
|
36
|
+
import { ILanguageModelIgnoredFilesService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/ignoredFiles.service';
|
|
37
|
+
import { IChatQuotasService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatQuotasService.service';
|
|
38
38
|
import { ChatQuotasService } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/chatQuotasService';
|
|
39
39
|
|
|
40
40
|
function getServiceOverride() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-chat-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - chat service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,28 +15,26 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-1021b67c-93e5-5c78-a270-cbdb2574d980-common": "
|
|
19
|
-
"@codingame/monaco-vscode-1cc4ea0a-c5b6-54ed-bb60-078a99119b55-common": "
|
|
20
|
-
"@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common": "
|
|
21
|
-
"@codingame/monaco-vscode-42931eb9-e564-530c-bafc-fa23ab43a070-common": "
|
|
22
|
-
"@codingame/monaco-vscode-47923ab1-c4c8-58b5-89ac-fa1b998eb5dd-common": "
|
|
23
|
-
"@codingame/monaco-vscode-4a36e358-d94d-55e0-86ee-3bcd543d9d3f-common": "
|
|
24
|
-
"@codingame/monaco-vscode-5108c2c9-4ada-52d8-8c4b-fe03b3160e71-common": "
|
|
25
|
-
"@codingame/monaco-vscode-5945a5e2-a66c-5a82-bd2c-1965724b29eb-common": "
|
|
26
|
-
"@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "
|
|
27
|
-
"@codingame/monaco-vscode-9d05a43d-c330-5ff1-937e-fde4a3852931-common": "
|
|
28
|
-
"@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common": "
|
|
29
|
-
"@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "
|
|
30
|
-
"@codingame/monaco-vscode-
|
|
31
|
-
"@codingame/monaco-vscode-
|
|
32
|
-
"@codingame/monaco-vscode-
|
|
33
|
-
"@codingame/monaco-vscode-
|
|
34
|
-
"@codingame/monaco-vscode-
|
|
35
|
-
"@codingame/monaco-vscode-
|
|
36
|
-
"
|
|
18
|
+
"@codingame/monaco-vscode-1021b67c-93e5-5c78-a270-cbdb2574d980-common": "13.1.0",
|
|
19
|
+
"@codingame/monaco-vscode-1cc4ea0a-c5b6-54ed-bb60-078a99119b55-common": "13.1.0",
|
|
20
|
+
"@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common": "13.1.0",
|
|
21
|
+
"@codingame/monaco-vscode-42931eb9-e564-530c-bafc-fa23ab43a070-common": "13.1.0",
|
|
22
|
+
"@codingame/monaco-vscode-47923ab1-c4c8-58b5-89ac-fa1b998eb5dd-common": "13.1.0",
|
|
23
|
+
"@codingame/monaco-vscode-4a36e358-d94d-55e0-86ee-3bcd543d9d3f-common": "13.1.0",
|
|
24
|
+
"@codingame/monaco-vscode-5108c2c9-4ada-52d8-8c4b-fe03b3160e71-common": "13.1.0",
|
|
25
|
+
"@codingame/monaco-vscode-5945a5e2-a66c-5a82-bd2c-1965724b29eb-common": "13.1.0",
|
|
26
|
+
"@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "13.1.0",
|
|
27
|
+
"@codingame/monaco-vscode-9d05a43d-c330-5ff1-937e-fde4a3852931-common": "13.1.0",
|
|
28
|
+
"@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common": "13.1.0",
|
|
29
|
+
"@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "13.1.0",
|
|
30
|
+
"@codingame/monaco-vscode-api": "13.1.0",
|
|
31
|
+
"@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common": "13.1.0",
|
|
32
|
+
"@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common": "13.1.0",
|
|
33
|
+
"@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common": "13.1.0",
|
|
34
|
+
"@codingame/monaco-vscode-e7080bda-ce3e-5243-9a35-98cd9634dbda-common": "13.1.0",
|
|
35
|
+
"@codingame/monaco-vscode-ea14e352-8f1c-5569-b79a-8a96a53e8abe-common": "13.1.0",
|
|
36
|
+
"@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common": "13.1.0"
|
|
37
37
|
},
|
|
38
|
-
"peerDependencies": {},
|
|
39
|
-
"peerDependenciesMeta": {},
|
|
40
38
|
"main": "index.js",
|
|
41
39
|
"module": "index.js",
|
|
42
40
|
"types": "index.d.ts",
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { ICodeEditor } from "vscode/vscode/vs/editor/browser/editorBrowser";
|
|
2
|
-
import { ServicesAccessor } from "vscode/vscode/vs/editor/browser/editorExtensions";
|
|
3
|
-
import { AccessibleContentProvider, AccessibleViewType } from "vscode/vscode/vs/platform/accessibility/browser/accessibleView";
|
|
4
|
-
import { IAccessibleViewImplentation } from "vscode/vscode/vs/platform/accessibility/browser/accessibleViewRegistry";
|
|
5
|
-
import { IKeybindingService } from "vscode/vscode/vs/platform/keybinding/common/keybinding.service";
|
|
1
|
+
import { ICodeEditor } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorBrowser";
|
|
2
|
+
import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions";
|
|
3
|
+
import { AccessibleContentProvider, AccessibleViewType } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView";
|
|
4
|
+
import { IAccessibleViewImplentation } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleViewRegistry";
|
|
5
|
+
import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service";
|
|
6
6
|
export declare class PanelChatAccessibilityHelp implements IAccessibleViewImplentation {
|
|
7
7
|
readonly priority = 107;
|
|
8
8
|
readonly name = "panelChat";
|
|
9
9
|
readonly type = AccessibleViewType.Help;
|
|
10
|
-
readonly when: import("vscode/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression | undefined;
|
|
10
|
+
readonly when: import("@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression | undefined;
|
|
11
11
|
getProvider(accessor: ServicesAccessor): AccessibleContentProvider | undefined;
|
|
12
12
|
}
|
|
13
13
|
export declare class QuickChatAccessibilityHelp implements IAccessibleViewImplentation {
|
|
14
14
|
readonly priority = 107;
|
|
15
15
|
readonly name = "quickChat";
|
|
16
16
|
readonly type = AccessibleViewType.Help;
|
|
17
|
-
readonly when: import("vscode/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression | undefined;
|
|
17
|
+
readonly when: import("@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression | undefined;
|
|
18
18
|
getProvider(accessor: ServicesAccessor): AccessibleContentProvider | undefined;
|
|
19
19
|
}
|
|
20
20
|
export declare function getAccessibilityHelpText(type: "panelChat" | "inlineChat" | "quickChat", keybindingService: IKeybindingService): string;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
import { ICodeEditorService } from 'vscode/vscode/vs/editor/browser/services/codeEditorService';
|
|
3
|
-
import { AccessibleDiffViewerNext } from 'vscode/vscode/vs/editor/browser/widget/diffEditor/commands';
|
|
4
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
5
|
-
import { AccessibleViewType, AccessibleContentProvider, AccessibleViewProviderId } from 'vscode/vscode/vs/platform/accessibility/browser/accessibleView';
|
|
6
|
-
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
7
|
-
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
8
|
-
import { AccessibilityVerbositySettingId } from 'vscode/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
2
|
+
import { ICodeEditorService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService';
|
|
3
|
+
import { AccessibleDiffViewerNext } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/widget/diffEditor/commands';
|
|
4
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
5
|
+
import { AccessibleViewType, AccessibleContentProvider, AccessibleViewProviderId } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView';
|
|
6
|
+
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
7
|
+
import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
8
|
+
import { AccessibilityVerbositySettingId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
9
9
|
import { INLINE_CHAT_ID } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/inlineChat/common/inlineChat';
|
|
10
|
-
import { ChatAgentLocation } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
11
|
-
import { ChatContextKeys } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
12
|
-
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
10
|
+
import { ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
11
|
+
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
12
|
+
import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
13
13
|
|
|
14
14
|
class PanelChatAccessibilityHelp {
|
|
15
15
|
constructor() {
|
|
@@ -48,55 +48,55 @@ function getAccessibilityHelpText(type, keybindingService) {
|
|
|
48
48
|
if (type === 'panelChat' || type === 'quickChat') {
|
|
49
49
|
if (type === 'quickChat') {
|
|
50
50
|
content.push(( localize(
|
|
51
|
-
|
|
51
|
+
4149,
|
|
52
52
|
'The quick chat view is comprised of an input box and a request/response list. The input box is used to make requests and the list is used to display responses.'
|
|
53
53
|
)));
|
|
54
54
|
content.push(( localize(
|
|
55
|
-
|
|
55
|
+
4150,
|
|
56
56
|
'The quick chat view is a transient interface for making and viewing requests, while the panel chat view is a persistent interface that also supports navigating suggested follow-up questions.'
|
|
57
57
|
)));
|
|
58
58
|
}
|
|
59
59
|
if (type === 'panelChat') {
|
|
60
60
|
content.push(( localize(
|
|
61
|
-
|
|
61
|
+
4151,
|
|
62
62
|
'The panel chat view is a persistent interface that also supports navigating suggested follow-up questions, while the quick chat view is a transient interface for making and viewing requests.'
|
|
63
63
|
)));
|
|
64
64
|
content.push(( localize(
|
|
65
|
-
|
|
65
|
+
4152,
|
|
66
66
|
'In the input box, navigate to the suggested follow up question (Shift+Tab) and press Enter to run it.'
|
|
67
67
|
)));
|
|
68
68
|
}
|
|
69
69
|
content.push(( localize(
|
|
70
|
-
|
|
70
|
+
4153,
|
|
71
71
|
'In the input box, use up and down arrows to navigate your request history. Edit input and use enter or the submit button to run a new request.'
|
|
72
72
|
)));
|
|
73
73
|
content.push(( localize(
|
|
74
|
-
|
|
74
|
+
4154,
|
|
75
75
|
'In the input box, inspect the last response in the accessible view{0}.',
|
|
76
76
|
'<keybinding:editor.action.accessibleView>'
|
|
77
77
|
)));
|
|
78
78
|
content.push(( localize(
|
|
79
|
-
|
|
79
|
+
4155,
|
|
80
80
|
'Chat responses will be announced as they come in. A response will indicate the number of code blocks, if any, and then the rest of the response.'
|
|
81
81
|
)));
|
|
82
82
|
content.push(( localize(
|
|
83
|
-
|
|
83
|
+
4156,
|
|
84
84
|
'To focus the chat request/response list, which can be navigated with up and down arrows, invoke the Focus Chat command{0}.',
|
|
85
85
|
getChatFocusKeybindingLabel(keybindingService, type, false)
|
|
86
86
|
)));
|
|
87
87
|
content.push(( localize(
|
|
88
|
-
|
|
88
|
+
4157,
|
|
89
89
|
'To focus the input box for chat requests, invoke the Focus Chat Input command{0}.',
|
|
90
90
|
getChatFocusKeybindingLabel(keybindingService, type, true)
|
|
91
91
|
)));
|
|
92
92
|
content.push(( localize(
|
|
93
|
-
|
|
93
|
+
4158,
|
|
94
94
|
'To focus the next code block within a response, invoke the Chat: Next Code Block command{0}.',
|
|
95
95
|
'<keybinding:workbench.action.chat.nextCodeBlock>'
|
|
96
96
|
)));
|
|
97
97
|
if (type === 'panelChat') {
|
|
98
98
|
content.push(( localize(
|
|
99
|
-
|
|
99
|
+
4159,
|
|
100
100
|
'To create a new chat session, invoke the New Chat command{0}.',
|
|
101
101
|
'<keybinding:workbench.action.chat.new>'
|
|
102
102
|
)));
|
|
@@ -104,45 +104,45 @@ function getAccessibilityHelpText(type, keybindingService) {
|
|
|
104
104
|
}
|
|
105
105
|
else {
|
|
106
106
|
content.push(( localize(
|
|
107
|
-
|
|
107
|
+
4160,
|
|
108
108
|
"Inline chat occurs within a code editor and takes into account the current selection. It is useful for making changes to the current editor. For example, fixing diagnostics, documenting or refactoring code. Keep in mind that AI generated code may be incorrect."
|
|
109
109
|
)));
|
|
110
110
|
content.push(( localize(
|
|
111
|
-
|
|
111
|
+
4161,
|
|
112
112
|
"It can be activated via code actions or directly using the command: Inline Chat: Start Inline Chat{0}.",
|
|
113
113
|
'<keybinding:inlineChat.start>'
|
|
114
114
|
)));
|
|
115
115
|
content.push(( localize(
|
|
116
|
-
|
|
116
|
+
4162,
|
|
117
117
|
'In the input box, use Show Previous{0} and Show Next{1} to navigate your request history. Edit input and use enter or the submit button to run a new request.',
|
|
118
118
|
'<keybinding:history.showPrevious>',
|
|
119
119
|
'<keybinding:history.showNext>'
|
|
120
120
|
)));
|
|
121
121
|
content.push(( localize(
|
|
122
|
-
|
|
122
|
+
4163,
|
|
123
123
|
'In the input box, inspect the response in the accessible view{0}.',
|
|
124
124
|
'<keybinding:editor.action.accessibleView>'
|
|
125
125
|
)));
|
|
126
126
|
content.push(( localize(
|
|
127
|
-
|
|
127
|
+
4164,
|
|
128
128
|
"Context menu actions may run a request prefixed with a /. Type / to discover such ready-made commands."
|
|
129
129
|
)));
|
|
130
130
|
content.push(( localize(
|
|
131
|
-
|
|
131
|
+
4165,
|
|
132
132
|
"If a fix action is invoked, a response will indicate the problem with the current code. A diff editor will be rendered and can be reached by tabbing."
|
|
133
133
|
)));
|
|
134
134
|
content.push(( localize(
|
|
135
|
-
|
|
135
|
+
4166,
|
|
136
136
|
"Once in the diff editor, enter review mode with{0}. Use up and down arrows to navigate lines with the proposed changes.",
|
|
137
137
|
AccessibleDiffViewerNext.id
|
|
138
138
|
)));
|
|
139
139
|
content.push(( localize(
|
|
140
|
-
|
|
140
|
+
4167,
|
|
141
141
|
"Use tab to reach conditional parts like commands, status, message responses and more."
|
|
142
142
|
)));
|
|
143
143
|
}
|
|
144
144
|
content.push(( localize(
|
|
145
|
-
|
|
145
|
+
4168,
|
|
146
146
|
"Accessibility Signals can be changed via settings with a prefix of signals.chat. By default, if a request takes more than 4 seconds, you will hear a sound indicating that progress is still occurring."
|
|
147
147
|
)));
|
|
148
148
|
return content.join('\n');
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
3
|
-
import { KeyMod, KeyCode } from 'vscode/vscode/vs/base/common/keyCodes';
|
|
4
|
-
import { localize2, localize } from 'vscode/vscode/vs/nls';
|
|
5
|
-
import { AccessibilitySignal } from 'vscode/vscode/vs/platform/accessibilitySignal/browser/accessibilitySignalService';
|
|
6
|
-
import { IAccessibilitySignalService } from 'vscode/vscode/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service';
|
|
7
|
-
import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
8
|
-
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
9
|
-
import { IDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
10
|
-
import { KeybindingWeight } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
11
|
-
import { ActiveEditorContext } from 'vscode/vscode/vs/workbench/common/contextkeys';
|
|
12
|
-
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
13
|
-
import { isChatViewTitleActionContext } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatActions';
|
|
14
|
-
import { ChatAgentLocation } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
15
|
-
import { ChatContextKeys } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
16
|
-
import { WorkingSetEntryState, hasUndecidedChatEditingResourceContextKey, hasAppliedChatEditsContextKey } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatEditingService';
|
|
17
|
-
import { IChatEditingService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatEditingService.service';
|
|
2
|
+
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
3
|
+
import { KeyMod, KeyCode } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
|
|
4
|
+
import { localize2, localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
5
|
+
import { AccessibilitySignal } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibilitySignal/browser/accessibilitySignalService';
|
|
6
|
+
import { IAccessibilitySignalService } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service';
|
|
7
|
+
import { registerAction2, Action2, MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
8
|
+
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
9
|
+
import { IDialogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
10
|
+
import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
11
|
+
import { ActiveEditorContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
12
|
+
import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
13
|
+
import { isChatViewTitleActionContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatActions';
|
|
14
|
+
import { ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
15
|
+
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
16
|
+
import { WorkingSetEntryState, hasUndecidedChatEditingResourceContextKey, hasAppliedChatEditsContextKey } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatEditingService';
|
|
17
|
+
import { IChatEditingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatEditingService.service';
|
|
18
18
|
import { ChatViewId, EditsViewId } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/chat';
|
|
19
|
-
import { IChatWidgetService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
19
|
+
import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
20
20
|
import { ChatEditorInput } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
|
|
21
21
|
import { CHAT_CATEGORY } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
22
22
|
import { clearChatEditor } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/actions/chatClear';
|
|
@@ -28,7 +28,7 @@ function registerNewChatActions() {
|
|
|
28
28
|
constructor() {
|
|
29
29
|
super({
|
|
30
30
|
id: 'workbench.action.chatEditor.newChat',
|
|
31
|
-
title: ( localize2(
|
|
31
|
+
title: ( localize2(4195, "New Chat")),
|
|
32
32
|
icon: Codicon.plus,
|
|
33
33
|
f1: false,
|
|
34
34
|
precondition: ChatContextKeys.enabled,
|
|
@@ -49,7 +49,7 @@ function registerNewChatActions() {
|
|
|
49
49
|
constructor() {
|
|
50
50
|
super({
|
|
51
51
|
id: ACTION_ID_NEW_CHAT,
|
|
52
|
-
title: ( localize2(
|
|
52
|
+
title: ( localize2(4195, "New Chat")),
|
|
53
53
|
category: CHAT_CATEGORY,
|
|
54
54
|
icon: Codicon.plus,
|
|
55
55
|
precondition: ( ContextKeyExpr.and(ChatContextKeys.enabled, ( ChatContextKeys.location.notEqualsTo(ChatAgentLocation.EditingSession)))),
|
|
@@ -93,7 +93,7 @@ function registerNewChatActions() {
|
|
|
93
93
|
constructor() {
|
|
94
94
|
super({
|
|
95
95
|
id: ACTION_ID_NEW_EDIT_SESSION,
|
|
96
|
-
title: ( localize2(
|
|
96
|
+
title: ( localize2(4196, "New Edit Session")),
|
|
97
97
|
category: CHAT_CATEGORY,
|
|
98
98
|
icon: Codicon.plus,
|
|
99
99
|
precondition: ( ContextKeyExpr.and(ChatContextKeys.enabled, ChatContextKeys.editingParticipantRegistered)),
|
|
@@ -126,9 +126,9 @@ function registerNewChatActions() {
|
|
|
126
126
|
const undecidedEdits = currentEdits.filter((edit) => edit.state.get() === WorkingSetEntryState.Modified);
|
|
127
127
|
if (undecidedEdits.length) {
|
|
128
128
|
const { result } = await dialogService.prompt({
|
|
129
|
-
title: ( localize(
|
|
129
|
+
title: ( localize(4197, "Start new editing session?")),
|
|
130
130
|
message: ( localize(
|
|
131
|
-
|
|
131
|
+
4198,
|
|
132
132
|
"Starting a new editing session will end your current session. Do you want to accept pending edits to {0} files?",
|
|
133
133
|
undecidedEdits.length
|
|
134
134
|
)),
|
|
@@ -136,14 +136,14 @@ function registerNewChatActions() {
|
|
|
136
136
|
cancelButton: true,
|
|
137
137
|
buttons: [
|
|
138
138
|
{
|
|
139
|
-
label: ( localize(
|
|
139
|
+
label: ( localize(4199, "Accept & Continue")),
|
|
140
140
|
run: async () => {
|
|
141
141
|
await currentEditingSession.accept();
|
|
142
142
|
return true;
|
|
143
143
|
}
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
|
-
label: ( localize(
|
|
146
|
+
label: ( localize(4200, "Discard & Continue")),
|
|
147
147
|
run: async () => {
|
|
148
148
|
await currentEditingSession.reject();
|
|
149
149
|
return true;
|
|
@@ -191,7 +191,7 @@ function registerNewChatActions() {
|
|
|
191
191
|
constructor() {
|
|
192
192
|
super({
|
|
193
193
|
id: 'workbench.action.chat.done',
|
|
194
|
-
title: ( localize2(
|
|
194
|
+
title: ( localize2(4201, "Done")),
|
|
195
195
|
category: CHAT_CATEGORY,
|
|
196
196
|
precondition: ( ContextKeyExpr.and(ChatContextKeys.enabled, ChatContextKeys.editingParticipantRegistered)),
|
|
197
197
|
f1: false,
|
|
@@ -231,7 +231,7 @@ function registerNewChatActions() {
|
|
|
231
231
|
constructor() {
|
|
232
232
|
super({
|
|
233
233
|
id: 'workbench.action.chat.undoEdit',
|
|
234
|
-
title: ( localize2(
|
|
234
|
+
title: ( localize2(4202, "Undo Last Edit")),
|
|
235
235
|
category: CHAT_CATEGORY,
|
|
236
236
|
icon: Codicon.discard,
|
|
237
237
|
precondition: ( ContextKeyExpr.and(
|
|
@@ -261,7 +261,7 @@ function registerNewChatActions() {
|
|
|
261
261
|
constructor() {
|
|
262
262
|
super({
|
|
263
263
|
id: 'workbench.action.chat.redoEdit',
|
|
264
|
-
title: ( localize2(
|
|
264
|
+
title: ( localize2(4203, "Redo Last Edit")),
|
|
265
265
|
category: CHAT_CATEGORY,
|
|
266
266
|
icon: Codicon.redo,
|
|
267
267
|
precondition: ( ContextKeyExpr.and(
|
|
@@ -291,7 +291,7 @@ function registerNewChatActions() {
|
|
|
291
291
|
constructor() {
|
|
292
292
|
super({
|
|
293
293
|
id: 'workbench.action.chat.openEditSession',
|
|
294
|
-
title: ( localize2(
|
|
294
|
+
title: ( localize2(4204, "Open {0}", 'Copilot Edits')),
|
|
295
295
|
category: CHAT_CATEGORY,
|
|
296
296
|
icon: Codicon.goToEditingSession,
|
|
297
297
|
precondition: ( ContextKeyExpr.and(ChatContextKeys.enabled, ChatContextKeys.editingParticipantRegistered)),
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
|
|
2
|
-
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
3
|
-
import { KeyMod, KeyCode } from 'vscode/vscode/vs/base/common/keyCodes';
|
|
4
|
-
import { ICodeEditorService } from 'vscode/vscode/vs/editor/browser/services/codeEditorService';
|
|
5
|
-
import { EditorContextKeys } from 'vscode/vscode/vs/editor/common/editorContextKeys';
|
|
6
|
-
import { CopyAction } from 'vscode/vscode/vs/editor/contrib/clipboard/browser/clipboard';
|
|
7
|
-
import { localize2 } from 'vscode/vscode/vs/nls';
|
|
8
|
-
import { Action2, registerAction2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
9
|
-
import { IClipboardService } from 'vscode/vscode/vs/platform/clipboard/common/clipboardService.service';
|
|
10
|
-
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
11
|
-
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
12
|
-
import { KeybindingWeight } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
13
|
-
import { TerminalLocation } from 'vscode/vscode/vs/platform/terminal/common/terminal';
|
|
14
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
15
|
-
import { accessibleViewInCodeBlock } from 'vscode/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
16
|
-
import { ITerminalService, ITerminalEditorService, ITerminalGroupService } from 'vscode/vscode/vs/workbench/contrib/terminal/browser/terminal.service';
|
|
17
|
-
import { ChatAgentLocation } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
18
|
-
import { ChatContextKeys } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
19
|
-
import { ChatCopyKind } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService';
|
|
20
|
-
import { IChatService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
2
|
+
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
3
|
+
import { KeyMod, KeyCode } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
|
|
4
|
+
import { ICodeEditorService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService';
|
|
5
|
+
import { EditorContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/editorContextKeys';
|
|
6
|
+
import { CopyAction } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/clipboard/browser/clipboard';
|
|
7
|
+
import { localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
8
|
+
import { Action2, registerAction2, MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
9
|
+
import { IClipboardService } from '@codingame/monaco-vscode-api/vscode/vs/platform/clipboard/common/clipboardService.service';
|
|
10
|
+
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
11
|
+
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
12
|
+
import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
13
|
+
import { TerminalLocation } from '@codingame/monaco-vscode-api/vscode/vs/platform/terminal/common/terminal';
|
|
14
|
+
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
15
|
+
import { accessibleViewInCodeBlock } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
16
|
+
import { ITerminalService, ITerminalEditorService, ITerminalGroupService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/terminal/browser/terminal.service';
|
|
17
|
+
import { ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
18
|
+
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
19
|
+
import { ChatCopyKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService';
|
|
20
|
+
import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
21
21
|
import { isResponseVM } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatViewModel';
|
|
22
|
-
import { IChatWidgetService, IChatCodeBlockContextProviderService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
22
|
+
import { IChatWidgetService, IChatCodeBlockContextProviderService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
23
23
|
import { DefaultChatTextEditor } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/browser/codeBlockPart';
|
|
24
24
|
import { CHAT_CATEGORY } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
25
25
|
import { ApplyCodeBlockOperation, InsertCodeBlockOperation } from './codeBlockOperations.js';
|
|
@@ -64,7 +64,7 @@ function registerChatCodeBlockActions() {
|
|
|
64
64
|
constructor() {
|
|
65
65
|
super({
|
|
66
66
|
id: 'workbench.action.chat.copyCodeBlock',
|
|
67
|
-
title: ( localize2(
|
|
67
|
+
title: ( localize2(4205, "Copy")),
|
|
68
68
|
f1: false,
|
|
69
69
|
category: CHAT_CATEGORY,
|
|
70
70
|
icon: Codicon.copy,
|
|
@@ -149,7 +149,7 @@ function registerChatCodeBlockActions() {
|
|
|
149
149
|
constructor() {
|
|
150
150
|
super({
|
|
151
151
|
id: 'workbench.action.chat.applyInEditor',
|
|
152
|
-
title: ( localize2(
|
|
152
|
+
title: ( localize2(4206, "Apply in Editor")),
|
|
153
153
|
precondition: ChatContextKeys.enabled,
|
|
154
154
|
f1: true,
|
|
155
155
|
category: CHAT_CATEGORY,
|
|
@@ -185,7 +185,7 @@ function registerChatCodeBlockActions() {
|
|
|
185
185
|
constructor() {
|
|
186
186
|
super({
|
|
187
187
|
id: 'workbench.action.chat.insertCodeBlock',
|
|
188
|
-
title: ( localize2(
|
|
188
|
+
title: ( localize2(4207, "Insert At Cursor")),
|
|
189
189
|
precondition: ChatContextKeys.enabled,
|
|
190
190
|
f1: true,
|
|
191
191
|
category: CHAT_CATEGORY,
|
|
@@ -219,7 +219,7 @@ function registerChatCodeBlockActions() {
|
|
|
219
219
|
constructor() {
|
|
220
220
|
super({
|
|
221
221
|
id: 'workbench.action.chat.insertIntoNewFile',
|
|
222
|
-
title: ( localize2(
|
|
222
|
+
title: ( localize2(4208, "Insert into New File")),
|
|
223
223
|
precondition: ChatContextKeys.enabled,
|
|
224
224
|
f1: true,
|
|
225
225
|
category: CHAT_CATEGORY,
|
|
@@ -260,7 +260,7 @@ function registerChatCodeBlockActions() {
|
|
|
260
260
|
constructor() {
|
|
261
261
|
super({
|
|
262
262
|
id: 'workbench.action.chat.runInTerminal',
|
|
263
|
-
title: ( localize2(
|
|
263
|
+
title: ( localize2(4209, "Insert into Terminal")),
|
|
264
264
|
precondition: ChatContextKeys.enabled,
|
|
265
265
|
f1: true,
|
|
266
266
|
category: CHAT_CATEGORY,
|
|
@@ -353,7 +353,7 @@ function registerChatCodeBlockActions() {
|
|
|
353
353
|
constructor() {
|
|
354
354
|
super({
|
|
355
355
|
id: 'workbench.action.chat.nextCodeBlock',
|
|
356
|
-
title: ( localize2(
|
|
356
|
+
title: ( localize2(4210, "Next Code Block")),
|
|
357
357
|
keybinding: {
|
|
358
358
|
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageDown,
|
|
359
359
|
mac: { primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageDown, },
|
|
@@ -373,7 +373,7 @@ function registerChatCodeBlockActions() {
|
|
|
373
373
|
constructor() {
|
|
374
374
|
super({
|
|
375
375
|
id: 'workbench.action.chat.previousCodeBlock',
|
|
376
|
-
title: ( localize2(
|
|
376
|
+
title: ( localize2(4211, "Previous Code Block")),
|
|
377
377
|
keybinding: {
|
|
378
378
|
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageUp,
|
|
379
379
|
mac: { primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageUp, },
|
|
@@ -430,7 +430,7 @@ function registerChatCodeCompareBlockActions() {
|
|
|
430
430
|
constructor() {
|
|
431
431
|
super({
|
|
432
432
|
id: 'workbench.action.chat.applyCompareEdits',
|
|
433
|
-
title: ( localize2(
|
|
433
|
+
title: ( localize2(4212, "Apply Edits")),
|
|
434
434
|
f1: false,
|
|
435
435
|
category: CHAT_CATEGORY,
|
|
436
436
|
icon: Codicon.gitPullRequestGoToChanges,
|
|
@@ -452,7 +452,7 @@ function registerChatCodeCompareBlockActions() {
|
|
|
452
452
|
constructor() {
|
|
453
453
|
super({
|
|
454
454
|
id: 'workbench.action.chat.discardCompareEdits',
|
|
455
|
-
title: ( localize2(
|
|
455
|
+
title: ( localize2(4213, "Discard Edits")),
|
|
456
456
|
f1: false,
|
|
457
457
|
category: CHAT_CATEGORY,
|
|
458
458
|
icon: Codicon.trash,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ServicesAccessor } from "vscode/vscode/vs/editor/browser/editorExtensions";
|
|
2
|
-
import { Action2, IAction2Options } from "vscode/vscode/vs/platform/actions/common/actions";
|
|
1
|
+
import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions";
|
|
2
|
+
import { Action2, IAction2Options } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions";
|
|
3
3
|
export declare function registerChatContextActions(): void;
|
|
4
4
|
export declare class AttachContextAction extends Action2 {
|
|
5
5
|
static readonly ID = "workbench.action.chat.attachContext";
|
|
6
|
-
protected static _cdt: import("vscode/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression | undefined;
|
|
6
|
+
protected static _cdt: import("@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression | undefined;
|
|
7
7
|
constructor(desc?: Readonly<IAction2Options>);
|
|
8
8
|
private _getFileContextId;
|
|
9
9
|
private _attachContext;
|