@codingame/monaco-vscode-chat-service-override 22.1.8 → 23.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +16 -7
- package/package.json +43 -41
- package/vscode/src/vs/editor/common/diff/documentDiffProvider.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +57 -48
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +26 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +51 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatGettingStarted.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatLanguageModelActions.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +19 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/{chatClearActions.d.ts → chatNewActions.d.ts} +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/{chatClearActions.js → chatNewActions.js} +32 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPromptNavigationActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatSessionActions.d.ts +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatSessionActions.js +101 -98
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolActions.js +35 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.js +43 -25
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +33 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionViewModel.d.ts +53 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionViewModel.js +154 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +13 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsView.d.ts +44 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsView.js +347 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.d.ts +85 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.js +250 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentsessionsview.css +24 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentsessionsviewer.css +97 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +290 -231
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityService.js +7 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextService.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextService.js +113 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCheckpointTimeline.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCheckpointTimelineImpl.d.ts +102 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCheckpointTimelineImpl.js +646 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +46 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.d.ts +17 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +44 -34
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.d.ts +25 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +46 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.d.ts +45 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +30 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.d.ts +10 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +60 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingOperations.d.ts +117 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingOperations.js +12 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.d.ts +6 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +60 -55
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.d.ts +29 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +365 -143
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSessionStorage.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSessionStorage.js +3 -30
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.d.ts +7 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.js +58 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelContentProviders.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelContentProviders.js +5 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingModifiedNotebookSnapshot.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingModifiedNotebookSnapshot.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +6 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookFileSystemProvider.d.ts +1 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookFileSystemProvider.js +7 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/overlayToolbarDecorator.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/overlayToolbarDecorator.js +13 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/simpleBrowserEditorOverlay.js +38 -33
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditor.d.ts +11 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditor.js +83 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +91 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditor.d.ts +64 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditor.js +370 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +56 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsViewModel.d.ts +61 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsViewModel.js +349 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.d.ts +43 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.js +787 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatUsageWidget.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatUsageWidget.js +109 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/media/chatManagementEditor.css +122 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/media/chatModelsWidget.css +211 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/media/chatUsageWidget.css +69 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +21 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +54 -54
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuick.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuick.js +31 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseAccessibleView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseAccessibleView.js +16 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionTracker.d.ts +6 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionTracker.js +29 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/localChatSessionsProvider.d.ts +5 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/localChatSessionsProvider.js +37 -33
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/chatSessionsView.d.ts +15 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/chatSessionsView.js +96 -131
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/sessionsTreeRenderer.d.ts +12 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/sessionsTreeRenderer.js +66 -34
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/sessionsViewPane.d.ts +5 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/sessionsViewPane.js +77 -71
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions.contribution.d.ts +91 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions.contribution.js +458 -138
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup.js +212 -150
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus.js +96 -89
- package/vscode/src/vs/workbench/contrib/chat/browser/chatVariables.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatVariables.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatViewPane.d.ts +3 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatViewPane.js +15 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockContextProviderService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorContrib.js +33 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorHover.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorHover.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/languageModelToolsConfirmationService.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/languageModelToolsConfirmationService.js +688 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/languageModelToolsService.d.ts +15 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/languageModelToolsService.js +126 -135
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatEditingEditorOverlay.css +6 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatEditorController.css +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatSessions.css +38 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/media/simpleBrowserOverlay.css +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +28 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionContribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileActions.js +9 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolsCodeLensProvider.js +24 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptUrlHandler.js +15 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/runPromptAction.js +25 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveAsPromptFileActions.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveAsPromptFileActions.js +89 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolSetsContribution.js +16 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +30 -29
- package/vscode/src/vs/workbench/contrib/chat/common/chatProgressTypes/chatToolInvocation.d.ts +10 -19
- package/vscode/src/vs/workbench/contrib/chat/common/chatProgressTypes/chatToolInvocation.js +61 -43
- package/vscode/src/vs/workbench/contrib/chat/common/chatResponseResourceFileSystemProvider.js +7 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.d.ts +28 -28
- package/vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.js +254 -165
- package/vscode/src/vs/workbench/contrib/chat/common/chatServiceTelemetry.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatServiceTelemetry.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionStore.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionStore.js +4 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatTodoListService.d.ts +10 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatTodoListService.js +20 -12
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +13 -17
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/PromptHeaderDefinitionProvider.js +9 -8
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptBodyAutocompletion.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptBodyAutocompletion.js +51 -21
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.d.ts +7 -3
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +74 -20
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptDocumentSemanticTokensProvider.js +11 -6
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +83 -53
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.js +136 -78
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptLinkProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.d.ts +18 -10
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +357 -157
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileContributions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +55 -28
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +235 -108
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +12 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +50 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +27 -27
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +2 -2
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryServiceImpl.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryServiceImpl.js +11 -7
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +12 -14
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibilityHelp.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibleView.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.d.ts +18 -30
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +62 -139
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatCurrentLine.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatCurrentLine.js +16 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookModifiedCellDecorator.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookModifiedCellDecorator.js +2 -2
- package/vscode/src/vs/workbench/contrib/remoteCodingAgents/browser/remoteCodingAgents.contribution.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminal.chat.contribution.js +3 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.js +16 -16
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +119 -15
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.js +6 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatService.d.ts +47 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatService.js +192 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.d.ts +7 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +21 -16
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/commandLineAutoApprover.js +8 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.js +18 -27
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/executeStrategy.d.ts +5 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/executeStrategy.js +3 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/noneExecuteStrategy.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/noneExecuteStrategy.js +4 -25
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/richExecuteStrategy.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/richExecuteStrategy.js +18 -27
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/strategyHelpers.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/strategyHelpers.js +31 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +24 -8
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalToolTelemetry.js +8 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/taskHelpers.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/taskHelpers.js +33 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +42 -13
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/toolTerminalCreator.js +14 -21
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAnalyzer.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.js +227 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.js +133 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineCdPrefixRewriter.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineCdPrefixRewriter.js +36 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLinePwshChainOperatorRewriter.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLinePwshChainOperatorRewriter.js +33 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineRewriter.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalLastCommandTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.js +75 -37
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/types.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +71 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.d.ts +28 -15
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +366 -363
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +18 -18
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +9 -9
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +16 -16
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/treeSitterCommandParser.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/treeSitterCommandParser.js +123 -0
- package/vscode/src/vs/base/common/yaml.d.ts +0 -74
- package/vscode/src/vs/base/common/yaml.js +0 -597
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContext.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContext.js +0 -239
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTimeline.d.ts +0 -102
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTimeline.js +0 -435
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingModifiedNotebookDiff.d.ts +0 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingModifiedNotebookDiff.js +0 -67
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPasteProviders.d.ts +0 -49
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPasteProviders.js +0 -380
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/common.d.ts +0 -37
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/common.js +0 -137
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/attachInstructionsAction.d.ts +0 -44
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/attachInstructionsAction.js +0 -176
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/newPromptFileActions.d.ts +0 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/newPromptFileActions.js +0 -206
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/pickers/askForPromptName.d.ts +0 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/pickers/askForPromptName.js +0 -79
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/pickers/askForPromptSourceFolder.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/pickers/askForPromptSourceFolder.js +0 -145
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/pickers/promptFilePickers.d.ts +0 -65
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/pickers/promptFilePickers.js +0 -306
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveToPromptAction.d.ts +0 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveToPromptAction.js +0 -102
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/newPromptsParser.d.ts +0 -97
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/newPromptsParser.js +0 -247
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +0 -118
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.js +0 -10
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/commandSimplifier.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/commandSimplifier.js +0 -55
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/subCommands.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/subCommands.js +0 -66
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
2
|
+
import { IViewPaneOptions, ViewPane } from "@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common/vscode/vs/workbench/browser/parts/views/viewPane";
|
|
3
|
+
import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service";
|
|
4
|
+
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
5
|
+
import { IContextMenuService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextview/browser/contextView.service";
|
|
6
|
+
import { IHoverService } from "@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service";
|
|
7
|
+
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
8
|
+
import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service";
|
|
9
|
+
import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service";
|
|
10
|
+
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
11
|
+
import { IMenuService } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions.service";
|
|
12
|
+
import { IChatSessionsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService.service";
|
|
13
|
+
import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service";
|
|
14
|
+
import { IProgressService } from "@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service";
|
|
15
|
+
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
16
|
+
import { IEditorGroupsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service";
|
|
17
|
+
import { IChatService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service";
|
|
18
|
+
import { IChatWidgetService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service";
|
|
19
|
+
export declare class AgentSessionsView extends ViewPane {
|
|
20
|
+
private readonly chatSessionsService;
|
|
21
|
+
private readonly commandService;
|
|
22
|
+
private readonly progressService;
|
|
23
|
+
private readonly editorService;
|
|
24
|
+
private readonly editorGroupsService;
|
|
25
|
+
private readonly chatService;
|
|
26
|
+
private readonly menuService;
|
|
27
|
+
private readonly chatWidgetService;
|
|
28
|
+
private sessionsViewModel;
|
|
29
|
+
constructor(options: IViewPaneOptions, keybindingService: IKeybindingService, contextMenuService: IContextMenuService, configurationService: IConfigurationService, contextKeyService: IContextKeyService, viewDescriptorService: IViewDescriptorService, instantiationService: IInstantiationService, openerService: IOpenerService, themeService: IThemeService, hoverService: IHoverService, chatSessionsService: IChatSessionsService, commandService: ICommandService, progressService: IProgressService, editorService: IEditorService, editorGroupsService: IEditorGroupsService, chatService: IChatService, menuService: IMenuService, chatWidgetService: IChatWidgetService);
|
|
30
|
+
protected renderBody(container: HTMLElement): void;
|
|
31
|
+
private registerListeners;
|
|
32
|
+
private openAgentSession;
|
|
33
|
+
private showContextMenu;
|
|
34
|
+
private registerActions;
|
|
35
|
+
private newSessionContainer;
|
|
36
|
+
private createNewSessionButton;
|
|
37
|
+
private getNewSessionActions;
|
|
38
|
+
private listContainer;
|
|
39
|
+
private list;
|
|
40
|
+
private createList;
|
|
41
|
+
private createViewModel;
|
|
42
|
+
protected layoutBody(height: number, width: number): void;
|
|
43
|
+
focus(): void;
|
|
44
|
+
}
|
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
|
|
2
|
+
import { registerCss } from '@codingame/monaco-vscode-api/css';
|
|
3
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
4
|
+
import * as agentsessionsview from './media/agentsessionsview.css';
|
|
5
|
+
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
6
|
+
import { localize2, localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
7
|
+
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
8
|
+
import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
9
|
+
import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
|
|
10
|
+
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
11
|
+
import { registerIcon } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/iconRegistry';
|
|
12
|
+
import { ViewPane, ViewAction } from '@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
13
|
+
import { ViewPaneContainer } from '@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common/vscode/vs/workbench/browser/parts/views/viewPaneContainer';
|
|
14
|
+
import { Extensions, ViewContainerLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views';
|
|
15
|
+
import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
|
|
16
|
+
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
17
|
+
import { ChatConfiguration } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
|
|
18
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
19
|
+
import { IContextMenuService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextview/browser/contextView.service';
|
|
20
|
+
import { IHoverService } from '@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service';
|
|
21
|
+
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
22
|
+
import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
23
|
+
import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
|
|
24
|
+
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
25
|
+
import { WorkbenchCompressibleAsyncDataTree } from '@codingame/monaco-vscode-api/vscode/vs/platform/list/browser/listService';
|
|
26
|
+
import { append, $ } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
27
|
+
import { isLocalAgentSessionItem, AgentSessionsViewModel } from './agentSessionViewModel.js';
|
|
28
|
+
import { AgentSessionsListDelegate, AgentSessionsCompressionDelegate, AgentSessionRenderer, AgentSessionsDataSource, AgentSessionsSorter, AgentSessionsKeyboardNavigationLabelProvider, AgentSessionsIdentityProvider, AgentSessionsDragAndDrop, AgentSessionsAccessibilityProvider } from './agentSessionsViewer.js';
|
|
29
|
+
import { defaultButtonStyles } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/browser/defaultStyles';
|
|
30
|
+
import { ButtonWithDropdown } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/button/button';
|
|
31
|
+
import { toAction, Separator } from '@codingame/monaco-vscode-api/vscode/vs/base/common/actions';
|
|
32
|
+
import { MenuId, registerAction2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
33
|
+
import { IMenuService } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions.service';
|
|
34
|
+
import { IChatSessionsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService.service';
|
|
35
|
+
import { ICommandService } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service';
|
|
36
|
+
import { findExistingChatEditorByUri, getSessionItemContextOverlay, NEW_CHAT_SESSION_ACTION_ID } from '@codingame/monaco-vscode-2339d6ac-d6bb-53cd-95ee-81911735d1c7-common/vscode/vs/workbench/contrib/chat/browser/chatSessions/common';
|
|
37
|
+
import { ACTION_ID_OPEN_CHAT } from '@codingame/monaco-vscode-2339d6ac-d6bb-53cd-95ee-81911735d1c7-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
38
|
+
import { IProgressService } from '@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service';
|
|
39
|
+
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
40
|
+
import { assertReturnsDefined, upcast } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
|
|
41
|
+
import { IEditorGroupsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
42
|
+
import { DeferredPromise } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
43
|
+
import { Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
44
|
+
import { MutableDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
45
|
+
import { MarshalledId } from '@codingame/monaco-vscode-api/vscode/vs/base/common/marshallingIds';
|
|
46
|
+
import { getActionBarActions } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
47
|
+
import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
48
|
+
import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
49
|
+
import { AGENT_SESSIONS_VIEW_ID, AgentSessionProviders, AGENT_SESSIONS_VIEW_CONTAINER_ID } from './agentSessions.js';
|
|
50
|
+
import { TreeFindMode } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/tree/abstractTree';
|
|
51
|
+
|
|
52
|
+
registerCss(agentsessionsview);
|
|
53
|
+
let AgentSessionsView = class AgentSessionsView extends ViewPane {
|
|
54
|
+
constructor(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, hoverService, chatSessionsService, commandService, progressService, editorService, editorGroupsService, chatService, menuService, chatWidgetService) {
|
|
55
|
+
super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, hoverService);
|
|
56
|
+
this.chatSessionsService = chatSessionsService;
|
|
57
|
+
this.commandService = commandService;
|
|
58
|
+
this.progressService = progressService;
|
|
59
|
+
this.editorService = editorService;
|
|
60
|
+
this.editorGroupsService = editorGroupsService;
|
|
61
|
+
this.chatService = chatService;
|
|
62
|
+
this.menuService = menuService;
|
|
63
|
+
this.chatWidgetService = chatWidgetService;
|
|
64
|
+
this.registerActions();
|
|
65
|
+
}
|
|
66
|
+
renderBody(container) {
|
|
67
|
+
super.renderBody(container);
|
|
68
|
+
container.classList.add('agent-sessions-view');
|
|
69
|
+
this.createNewSessionButton(container);
|
|
70
|
+
this.createList(container);
|
|
71
|
+
this.registerListeners();
|
|
72
|
+
}
|
|
73
|
+
registerListeners() {
|
|
74
|
+
const list = assertReturnsDefined(this.list);
|
|
75
|
+
this._register(this.onDidChangeBodyVisibility(visible => {
|
|
76
|
+
if (!visible || this.sessionsViewModel) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
if (!this.sessionsViewModel) {
|
|
80
|
+
this.createViewModel();
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
this.list?.updateChildren();
|
|
84
|
+
}
|
|
85
|
+
}));
|
|
86
|
+
this._register(list.onDidOpen(e => {
|
|
87
|
+
this.openAgentSession(e);
|
|
88
|
+
}));
|
|
89
|
+
this._register(list.onMouseDblClick(({ element }) => {
|
|
90
|
+
if (element === null) {
|
|
91
|
+
this.commandService.executeCommand(ACTION_ID_OPEN_CHAT);
|
|
92
|
+
}
|
|
93
|
+
}));
|
|
94
|
+
this._register(list.onContextMenu((e) => {
|
|
95
|
+
this.showContextMenu(e);
|
|
96
|
+
}));
|
|
97
|
+
}
|
|
98
|
+
async openAgentSession(e) {
|
|
99
|
+
const session = e.element;
|
|
100
|
+
if (!session) {
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
const existingSessionEditor = findExistingChatEditorByUri(session.resource, this.editorGroupsService);
|
|
104
|
+
if (existingSessionEditor) {
|
|
105
|
+
await existingSessionEditor.group.openEditor(existingSessionEditor.editor, e.editorOptions);
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
let sessionOptions;
|
|
109
|
+
if (isLocalAgentSessionItem(session)) {
|
|
110
|
+
sessionOptions = {};
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
sessionOptions = { title: { preferred: session.label } };
|
|
114
|
+
}
|
|
115
|
+
sessionOptions.ignoreInView = true;
|
|
116
|
+
await this.editorService.openEditor({
|
|
117
|
+
resource: session.resource,
|
|
118
|
+
options: upcast({
|
|
119
|
+
...sessionOptions,
|
|
120
|
+
title: { preferred: session.label },
|
|
121
|
+
...e.editorOptions
|
|
122
|
+
})
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
showContextMenu({ element: session, anchor }) {
|
|
126
|
+
if (!session) {
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
const menu = this.menuService.createMenu(MenuId.ChatSessionsMenu, this.contextKeyService.createOverlay(getSessionItemContextOverlay({
|
|
130
|
+
id: ( session.resource.toString()),
|
|
131
|
+
...session
|
|
132
|
+
}, session.provider, this.chatWidgetService, this.chatService, this.editorGroupsService)));
|
|
133
|
+
const marshalledSession = { session, $mid: MarshalledId.ChatSessionContext };
|
|
134
|
+
const { secondary } = getActionBarActions(menu.getActions({ arg: marshalledSession, shouldForwardArgs: true }), 'inline');
|
|
135
|
+
this.contextMenuService.showContextMenu({
|
|
136
|
+
getActions: () => secondary,
|
|
137
|
+
getAnchor: () => anchor,
|
|
138
|
+
getActionsContext: () => marshalledSession,
|
|
139
|
+
});
|
|
140
|
+
menu.dispose();
|
|
141
|
+
}
|
|
142
|
+
registerActions() {
|
|
143
|
+
this._register(registerAction2(class extends ViewAction {
|
|
144
|
+
constructor() {
|
|
145
|
+
super({
|
|
146
|
+
id: 'agentSessionsView.refresh',
|
|
147
|
+
title: ( localize2(4809, "Refresh Agent Sessions")),
|
|
148
|
+
icon: Codicon.refresh,
|
|
149
|
+
menu: {
|
|
150
|
+
id: MenuId.ViewTitle,
|
|
151
|
+
when: ( ContextKeyExpr.equals('view', AGENT_SESSIONS_VIEW_ID)),
|
|
152
|
+
group: 'navigation',
|
|
153
|
+
order: 1
|
|
154
|
+
},
|
|
155
|
+
viewId: AGENT_SESSIONS_VIEW_ID
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
runInView(accessor, view) {
|
|
159
|
+
view.sessionsViewModel?.resolve(undefined);
|
|
160
|
+
}
|
|
161
|
+
}));
|
|
162
|
+
this._register(registerAction2(class extends ViewAction {
|
|
163
|
+
constructor() {
|
|
164
|
+
super({
|
|
165
|
+
id: 'agentSessionsView.find',
|
|
166
|
+
title: ( localize2(4810, "Find Agent Session")),
|
|
167
|
+
icon: Codicon.search,
|
|
168
|
+
menu: {
|
|
169
|
+
id: MenuId.ViewTitle,
|
|
170
|
+
when: ( ContextKeyExpr.equals('view', AGENT_SESSIONS_VIEW_ID)),
|
|
171
|
+
group: 'navigation',
|
|
172
|
+
order: 2
|
|
173
|
+
},
|
|
174
|
+
viewId: AGENT_SESSIONS_VIEW_ID
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
runInView(accessor, view) {
|
|
178
|
+
view.list?.openFind();
|
|
179
|
+
}
|
|
180
|
+
}));
|
|
181
|
+
}
|
|
182
|
+
createNewSessionButton(container) {
|
|
183
|
+
this.newSessionContainer = append(container, $('.agent-sessions-new-session-container'));
|
|
184
|
+
const newSessionButton = this._register(( new ButtonWithDropdown(this.newSessionContainer, {
|
|
185
|
+
title: ( localize(4811, "New Session")),
|
|
186
|
+
ariaLabel: ( localize(4812, "New Session")),
|
|
187
|
+
contextMenuProvider: this.contextMenuService,
|
|
188
|
+
actions: {
|
|
189
|
+
getActions: () => {
|
|
190
|
+
return this.getNewSessionActions();
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
addPrimaryActionToDropdown: false,
|
|
194
|
+
...defaultButtonStyles,
|
|
195
|
+
})));
|
|
196
|
+
newSessionButton.label = ( localize(4811, "New Session"));
|
|
197
|
+
this._register(newSessionButton.onDidClick(() => this.commandService.executeCommand(ACTION_ID_OPEN_CHAT)));
|
|
198
|
+
}
|
|
199
|
+
getNewSessionActions() {
|
|
200
|
+
const actions = [];
|
|
201
|
+
actions.push(toAction({
|
|
202
|
+
id: 'newChatSession.default',
|
|
203
|
+
label: ( localize(4813, "New Local Session")),
|
|
204
|
+
run: () => this.commandService.executeCommand(ACTION_ID_OPEN_CHAT)
|
|
205
|
+
}));
|
|
206
|
+
actions.push(toAction({
|
|
207
|
+
id: 'newChatSessionFromProvider.background',
|
|
208
|
+
label: ( localize(4814, "New Background Session")),
|
|
209
|
+
run: () => this.commandService.executeCommand(`${NEW_CHAT_SESSION_ACTION_ID}.${AgentSessionProviders.Background}`)
|
|
210
|
+
}));
|
|
211
|
+
actions.push(toAction({
|
|
212
|
+
id: 'newChatSessionFromProvider.cloud',
|
|
213
|
+
label: ( localize(4815, "New Cloud Session")),
|
|
214
|
+
run: () => this.commandService.executeCommand(`${NEW_CHAT_SESSION_ACTION_ID}.${AgentSessionProviders.Cloud}`)
|
|
215
|
+
}));
|
|
216
|
+
let addedSeparator = false;
|
|
217
|
+
for (const provider of this.chatSessionsService.getAllChatSessionContributions()) {
|
|
218
|
+
if (provider.type === AgentSessionProviders.Background || provider.type === AgentSessionProviders.Cloud) {
|
|
219
|
+
continue;
|
|
220
|
+
}
|
|
221
|
+
if (!addedSeparator) {
|
|
222
|
+
actions.push(( new Separator()));
|
|
223
|
+
addedSeparator = true;
|
|
224
|
+
}
|
|
225
|
+
const menuActions = this.menuService.getMenuActions(MenuId.ChatSessionsCreateSubMenu, this.scopedContextKeyService.createOverlay([
|
|
226
|
+
[ChatContextKeys.sessionType.key, provider.type]
|
|
227
|
+
]));
|
|
228
|
+
const primaryActions = getActionBarActions(menuActions, () => true).primary;
|
|
229
|
+
if (primaryActions.length > 0) {
|
|
230
|
+
actions.push(...primaryActions);
|
|
231
|
+
}
|
|
232
|
+
else {
|
|
233
|
+
actions.push(toAction({
|
|
234
|
+
id: `newChatSessionFromProvider.${provider.type}`,
|
|
235
|
+
label: ( localize(4816, "New {0}", provider.displayName)),
|
|
236
|
+
run: () => this.commandService.executeCommand(`${NEW_CHAT_SESSION_ACTION_ID}.${provider.type}`)
|
|
237
|
+
}));
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
actions.push(( new Separator()));
|
|
241
|
+
actions.push(toAction({
|
|
242
|
+
id: 'install-extensions',
|
|
243
|
+
label: ( localize(4817, "Install Chat Extensions...")),
|
|
244
|
+
run: () => this.commandService.executeCommand('chat.sessions.gettingStarted')
|
|
245
|
+
}));
|
|
246
|
+
return actions;
|
|
247
|
+
}
|
|
248
|
+
createList(container) {
|
|
249
|
+
this.listContainer = append(container, $('.agent-sessions-viewer'));
|
|
250
|
+
this.list = this._register(this.instantiationService.createInstance(WorkbenchCompressibleAsyncDataTree, 'AgentSessionsView', this.listContainer, ( new AgentSessionsListDelegate()), ( new AgentSessionsCompressionDelegate()), [
|
|
251
|
+
this.instantiationService.createInstance(AgentSessionRenderer)
|
|
252
|
+
], ( new AgentSessionsDataSource()), {
|
|
253
|
+
accessibilityProvider: ( new AgentSessionsAccessibilityProvider()),
|
|
254
|
+
dnd: this.instantiationService.createInstance(AgentSessionsDragAndDrop),
|
|
255
|
+
identityProvider: ( new AgentSessionsIdentityProvider()),
|
|
256
|
+
horizontalScrolling: false,
|
|
257
|
+
multipleSelectionSupport: false,
|
|
258
|
+
findWidgetEnabled: true,
|
|
259
|
+
defaultFindMode: TreeFindMode.Filter,
|
|
260
|
+
keyboardNavigationLabelProvider: ( new AgentSessionsKeyboardNavigationLabelProvider()),
|
|
261
|
+
sorter: ( new AgentSessionsSorter()),
|
|
262
|
+
paddingBottom: AgentSessionsListDelegate.ITEM_HEIGHT
|
|
263
|
+
}));
|
|
264
|
+
}
|
|
265
|
+
createViewModel() {
|
|
266
|
+
const sessionsViewModel = this.sessionsViewModel = this._register(this.instantiationService.createInstance(AgentSessionsViewModel));
|
|
267
|
+
this.list?.setInput(sessionsViewModel);
|
|
268
|
+
this._register(sessionsViewModel.onDidChangeSessions(() => {
|
|
269
|
+
if (this.isBodyVisible()) {
|
|
270
|
+
this.list?.updateChildren();
|
|
271
|
+
}
|
|
272
|
+
}));
|
|
273
|
+
const didResolveDisposable = this._register(( new MutableDisposable()));
|
|
274
|
+
this._register(sessionsViewModel.onWillResolve(() => {
|
|
275
|
+
const didResolve = ( new DeferredPromise());
|
|
276
|
+
didResolveDisposable.value = Event.once(sessionsViewModel.onDidResolve)(() => didResolve.complete());
|
|
277
|
+
this.progressService.withProgress({
|
|
278
|
+
location: this.id,
|
|
279
|
+
title: ( localize(4818, 'Refreshing agent sessions...')),
|
|
280
|
+
delay: 500
|
|
281
|
+
}, () => didResolve.p);
|
|
282
|
+
}));
|
|
283
|
+
}
|
|
284
|
+
layoutBody(height, width) {
|
|
285
|
+
super.layoutBody(height, width);
|
|
286
|
+
let treeHeight = height;
|
|
287
|
+
treeHeight -= this.newSessionContainer?.offsetHeight ?? 0;
|
|
288
|
+
this.list?.layout(treeHeight, width);
|
|
289
|
+
}
|
|
290
|
+
focus() {
|
|
291
|
+
super.focus();
|
|
292
|
+
if (this.list?.getFocus().length) {
|
|
293
|
+
this.list.domFocus();
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
};
|
|
297
|
+
AgentSessionsView = ( __decorate([
|
|
298
|
+
( __param(1, IKeybindingService)),
|
|
299
|
+
( __param(2, IContextMenuService)),
|
|
300
|
+
( __param(3, IConfigurationService)),
|
|
301
|
+
( __param(4, IContextKeyService)),
|
|
302
|
+
( __param(5, IViewDescriptorService)),
|
|
303
|
+
( __param(6, IInstantiationService)),
|
|
304
|
+
( __param(7, IOpenerService)),
|
|
305
|
+
( __param(8, IThemeService)),
|
|
306
|
+
( __param(9, IHoverService)),
|
|
307
|
+
( __param(10, IChatSessionsService)),
|
|
308
|
+
( __param(11, ICommandService)),
|
|
309
|
+
( __param(12, IProgressService)),
|
|
310
|
+
( __param(13, IEditorService)),
|
|
311
|
+
( __param(14, IEditorGroupsService)),
|
|
312
|
+
( __param(15, IChatService)),
|
|
313
|
+
( __param(16, IMenuService)),
|
|
314
|
+
( __param(17, IChatWidgetService))
|
|
315
|
+
], AgentSessionsView));
|
|
316
|
+
const chatAgentsIcon = registerIcon('chat-sessions-icon', Codicon.commentDiscussionSparkle, 'Icon for Agent Sessions View');
|
|
317
|
+
const AGENT_SESSIONS_VIEW_TITLE = ( localize2(4819, "Agent Sessions"));
|
|
318
|
+
const agentSessionsViewContainer = ( Registry.as(Extensions.ViewContainersRegistry)).registerViewContainer({
|
|
319
|
+
id: AGENT_SESSIONS_VIEW_CONTAINER_ID,
|
|
320
|
+
title: AGENT_SESSIONS_VIEW_TITLE,
|
|
321
|
+
icon: chatAgentsIcon,
|
|
322
|
+
ctorDescriptor: ( new SyncDescriptor(
|
|
323
|
+
ViewPaneContainer,
|
|
324
|
+
[AGENT_SESSIONS_VIEW_CONTAINER_ID, { mergeViewWithContainerWhenSingleView: true }]
|
|
325
|
+
)),
|
|
326
|
+
storageId: AGENT_SESSIONS_VIEW_CONTAINER_ID,
|
|
327
|
+
hideIfEmpty: true,
|
|
328
|
+
order: 6,
|
|
329
|
+
}, ViewContainerLocation.AuxiliaryBar);
|
|
330
|
+
const agentSessionsViewDescriptor = {
|
|
331
|
+
id: AGENT_SESSIONS_VIEW_ID,
|
|
332
|
+
containerIcon: chatAgentsIcon,
|
|
333
|
+
containerTitle: AGENT_SESSIONS_VIEW_TITLE.value,
|
|
334
|
+
singleViewPaneContainerTitle: AGENT_SESSIONS_VIEW_TITLE.value,
|
|
335
|
+
name: AGENT_SESSIONS_VIEW_TITLE,
|
|
336
|
+
canToggleVisibility: false,
|
|
337
|
+
canMoveView: true,
|
|
338
|
+
openCommandActionDescriptor: {
|
|
339
|
+
id: AGENT_SESSIONS_VIEW_ID,
|
|
340
|
+
title: AGENT_SESSIONS_VIEW_TITLE
|
|
341
|
+
},
|
|
342
|
+
ctorDescriptor: ( new SyncDescriptor(AgentSessionsView)),
|
|
343
|
+
when: ( ContextKeyExpr.and(( ChatContextKeys.Setup.hidden.negate()), ( ChatContextKeys.Setup.disabled.negate()), ( ContextKeyExpr.equals(`config.${ChatConfiguration.AgentSessionsViewLocation}`, 'single-view'))))
|
|
344
|
+
};
|
|
345
|
+
( Registry.as(Extensions.ViewsRegistry)).registerViews([agentSessionsViewDescriptor], agentSessionsViewContainer);
|
|
346
|
+
|
|
347
|
+
export { AgentSessionsView };
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { IIdentityProvider, IListVirtualDelegate } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/list/list";
|
|
2
|
+
import { IListAccessibilityProvider } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/list/listWidget";
|
|
3
|
+
import { ITreeCompressionDelegate } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/tree/asyncDataTree";
|
|
4
|
+
import { ICompressedTreeNode } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/tree/compressedObjectTreeModel";
|
|
5
|
+
import { ICompressibleKeyboardNavigationLabelProvider, ICompressibleTreeRenderer } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/tree/objectTree";
|
|
6
|
+
import { ITreeNode, ITreeElementRenderDetails, IAsyncDataSource, ITreeSorter, ITreeDragAndDrop, ITreeDragOverReaction } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/tree/tree";
|
|
7
|
+
import { Disposable, DisposableStore, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
8
|
+
import { IAgentSessionViewModel, IAgentSessionsViewModel } from "./agentSessionViewModel.js";
|
|
9
|
+
import { IconLabel } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/iconLabel/iconLabel";
|
|
10
|
+
import { FuzzyScore } from "@codingame/monaco-vscode-api/vscode/vs/base/common/filters";
|
|
11
|
+
import { IMarkdownRendererService } from "@codingame/monaco-vscode-api/vscode/vs/platform/markdown/browser/markdownRenderer.service";
|
|
12
|
+
import { IProductService } from "@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service";
|
|
13
|
+
import { IDragAndDropData } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/dnd";
|
|
14
|
+
import { ListViewTargetSector } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/list/listView";
|
|
15
|
+
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
16
|
+
import { IWorkbenchLayoutService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/layout/browser/layoutService.service";
|
|
17
|
+
import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service";
|
|
18
|
+
import { IHoverService } from "@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service";
|
|
19
|
+
interface IAgentSessionItemTemplate {
|
|
20
|
+
readonly element: HTMLElement;
|
|
21
|
+
readonly icon: HTMLElement;
|
|
22
|
+
readonly title: IconLabel;
|
|
23
|
+
readonly description: HTMLElement;
|
|
24
|
+
readonly diffAdded: HTMLElement;
|
|
25
|
+
readonly diffRemoved: HTMLElement;
|
|
26
|
+
readonly status: HTMLElement;
|
|
27
|
+
readonly elementDisposable: DisposableStore;
|
|
28
|
+
readonly disposables: IDisposable;
|
|
29
|
+
}
|
|
30
|
+
export declare class AgentSessionRenderer implements ICompressibleTreeRenderer<IAgentSessionViewModel, FuzzyScore, IAgentSessionItemTemplate> {
|
|
31
|
+
private readonly markdownRendererService;
|
|
32
|
+
private readonly productService;
|
|
33
|
+
private readonly layoutService;
|
|
34
|
+
private readonly viewDescriptorService;
|
|
35
|
+
private readonly hoverService;
|
|
36
|
+
static readonly TEMPLATE_ID = "agent-session";
|
|
37
|
+
readonly templateId = "agent-session";
|
|
38
|
+
constructor(markdownRendererService: IMarkdownRendererService, productService: IProductService, layoutService: IWorkbenchLayoutService, viewDescriptorService: IViewDescriptorService, hoverService: IHoverService);
|
|
39
|
+
renderTemplate(container: HTMLElement): IAgentSessionItemTemplate;
|
|
40
|
+
renderElement(session: ITreeNode<IAgentSessionViewModel, FuzzyScore>, index: number, template: IAgentSessionItemTemplate, details?: ITreeElementRenderDetails): void;
|
|
41
|
+
private renderHover;
|
|
42
|
+
private getIcon;
|
|
43
|
+
private getStatus;
|
|
44
|
+
renderCompressedElements(node: ITreeNode<ICompressedTreeNode<IAgentSessionViewModel>, FuzzyScore>, index: number, templateData: IAgentSessionItemTemplate, details?: ITreeElementRenderDetails): void;
|
|
45
|
+
disposeElement(element: ITreeNode<IAgentSessionViewModel, FuzzyScore>, index: number, template: IAgentSessionItemTemplate, details?: ITreeElementRenderDetails): void;
|
|
46
|
+
disposeTemplate(templateData: IAgentSessionItemTemplate): void;
|
|
47
|
+
}
|
|
48
|
+
export declare class AgentSessionsListDelegate implements IListVirtualDelegate<IAgentSessionViewModel> {
|
|
49
|
+
static readonly ITEM_HEIGHT = 44;
|
|
50
|
+
getHeight(element: IAgentSessionViewModel): number;
|
|
51
|
+
getTemplateId(element: IAgentSessionViewModel): string;
|
|
52
|
+
}
|
|
53
|
+
export declare class AgentSessionsAccessibilityProvider implements IListAccessibilityProvider<IAgentSessionViewModel> {
|
|
54
|
+
getWidgetAriaLabel(): string;
|
|
55
|
+
getAriaLabel(element: IAgentSessionViewModel): string | null;
|
|
56
|
+
}
|
|
57
|
+
export declare class AgentSessionsDataSource implements IAsyncDataSource<IAgentSessionsViewModel, IAgentSessionViewModel> {
|
|
58
|
+
hasChildren(element: IAgentSessionsViewModel | IAgentSessionViewModel): boolean;
|
|
59
|
+
getChildren(element: IAgentSessionsViewModel | IAgentSessionViewModel): Iterable<IAgentSessionViewModel>;
|
|
60
|
+
}
|
|
61
|
+
export declare class AgentSessionsIdentityProvider implements IIdentityProvider<IAgentSessionsViewModel | IAgentSessionViewModel> {
|
|
62
|
+
getId(element: IAgentSessionsViewModel | IAgentSessionViewModel): string;
|
|
63
|
+
}
|
|
64
|
+
export declare class AgentSessionsCompressionDelegate implements ITreeCompressionDelegate<IAgentSessionViewModel> {
|
|
65
|
+
isIncompressible(element: IAgentSessionViewModel): boolean;
|
|
66
|
+
}
|
|
67
|
+
export declare class AgentSessionsSorter implements ITreeSorter<IAgentSessionViewModel> {
|
|
68
|
+
compare(sessionA: IAgentSessionViewModel, sessionB: IAgentSessionViewModel): number;
|
|
69
|
+
}
|
|
70
|
+
export declare class AgentSessionsKeyboardNavigationLabelProvider implements ICompressibleKeyboardNavigationLabelProvider<IAgentSessionViewModel> {
|
|
71
|
+
getKeyboardNavigationLabel(element: IAgentSessionViewModel): string;
|
|
72
|
+
getCompressedNodeKeyboardNavigationLabel(elements: IAgentSessionViewModel[]): {
|
|
73
|
+
toString(): string | undefined;
|
|
74
|
+
} | undefined;
|
|
75
|
+
}
|
|
76
|
+
export declare class AgentSessionsDragAndDrop extends Disposable implements ITreeDragAndDrop<IAgentSessionViewModel> {
|
|
77
|
+
private readonly instantiationService;
|
|
78
|
+
constructor(instantiationService: IInstantiationService);
|
|
79
|
+
onDragStart(data: IDragAndDropData, originalEvent: DragEvent): void;
|
|
80
|
+
getDragURI(element: IAgentSessionViewModel): string | null;
|
|
81
|
+
getDragLabel?(elements: IAgentSessionViewModel[], originalEvent: DragEvent): string | undefined;
|
|
82
|
+
onDragOver(data: IDragAndDropData, targetElement: IAgentSessionViewModel | undefined, targetIndex: number | undefined, targetSector: ListViewTargetSector | undefined, originalEvent: DragEvent): boolean | ITreeDragOverReaction;
|
|
83
|
+
drop(data: IDragAndDropData, targetElement: IAgentSessionViewModel | undefined, targetIndex: number | undefined, targetSector: ListViewTargetSector | undefined, originalEvent: DragEvent): void;
|
|
84
|
+
}
|
|
85
|
+
export {};
|