@@ -449,7 +449,7 @@ import { ILanguageModelsConfigurationService } from 'vs/workbench/contrib/chat/c
449449import { IAgentPluginRepositoryService } from 'vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.service.js'
450450import { IAgentPluginService } from 'vs/workbench/contrib/chat/common/plugins/agentPluginService.service.js'
451451import { IPluginMarketplaceService } from 'vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.js'
452- import { Target } from 'vs/workbench/contrib/chat/common/promptSyntax/service/promptsService .js'
452+ import { Target } from 'vs/workbench/contrib/chat/common/promptSyntax/promptTypes .js'
453453import { ILanguageModelToolsConfirmationService } from 'vs/workbench/contrib/chat/common/tools/languageModelToolsConfirmationService.service'
454454import {
455455 ToolDataSource ,
@@ -475,10 +475,12 @@ import { unsupported } from './tools.js'
475475import { IChatAttachmentWidgetRegistry } from 'vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgetRegistry.service'
476476import { IChatDebugService } from 'vs/workbench/contrib/chat/common/chatDebugService.service.js'
477477import { IPluginInstallService } from 'vs/workbench/contrib/chat/common/plugins/pluginInstallService.service'
478+ import { IChatResponseResourceFileSystemProvider } from 'vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.service.js'
478479import { IGitService } from 'vs/workbench/contrib/git/common/gitService.service.js'
479480import { IWorkbenchMcpGatewayService } from 'vs/workbench/contrib/mcp/common/mcpGatewayService.service.js'
480481import { IMcpSandboxService } from 'vs/workbench/contrib/mcp/common/mcpSandboxService.service.js'
481482import { IPowerService } from 'vs/workbench/services/power/common/powerService.service.js'
483+ import { FileSystemProviderCapabilities } from './service-override/files.js'
482484
483485function Unsupported ( target : object , propertyKey : string , descriptor ?: PropertyDescriptor ) {
484486 function unsupported ( ) {
@@ -2765,6 +2767,8 @@ class TerminalService implements ITerminalService {
27652767 @Unsupported
27662768 openResource : ITerminalService [ 'openResource' ] = unsupported
27672769 setNextCommandId : ITerminalService [ 'setNextCommandId' ] = async ( ) => { }
2770+ @Unsupported
2771+ moveToBackground : ITerminalService [ 'moveToBackground' ] = unsupported
27682772}
27692773registerSingleton ( ITerminalService , TerminalService , InstantiationType . Delayed )
27702774class TerminalConfigurationService implements ITerminalConfigurationService {
@@ -3321,7 +3325,6 @@ class ChatService implements IChatService {
33213325 notifyUserAction : IChatService [ 'notifyUserAction' ] = unsupported
33223326 onDidSubmitRequest : IChatService [ 'onDidSubmitRequest' ] = Event . None
33233327 requestInProgressObs : IChatService [ 'requestInProgressObs' ] = constObservable ( false )
3324- edits2Enabled : IChatService [ 'edits2Enabled' ] = false
33253328 editingSessions : IChatService [ 'editingSessions' ] = [ ]
33263329 getChatSessionFromInternalUri : IChatService [ 'getChatSessionFromInternalUri' ] = ( ) => undefined
33273330 getLocalSessionHistory : IChatService [ 'getLocalSessionHistory' ] = async ( ) => [ ]
@@ -5580,6 +5583,8 @@ class ChatEntitlementsService implements IChatEntitlementService {
55805583registerSingleton ( IChatEntitlementService , ChatEntitlementsService , InstantiationType . Eager )
55815584class PromptsService implements IPromptsService {
55825585 _serviceBrand : undefined
5586+ onDidChangeInstructions : IPromptsService [ 'onDidChangeInstructions' ] = Event . None
5587+ onDidChangeSkills : IPromptsService [ 'onDidChangeSkills' ] = Event . None
55835588 listPromptFiles : IPromptsService [ 'listPromptFiles' ] = async ( ) => [ ]
55845589 getSourceFolders : IPromptsService [ 'getSourceFolders' ] = async ( ) => [ ]
55855590 dispose : IPromptsService [ 'dispose' ] = ( ) : void => { }
@@ -5857,6 +5862,8 @@ class McpResourceScannerService implements IMcpResourceScannerService {
58575862 addMcpServers : IMcpResourceScannerService [ 'addMcpServers' ] = unsupported
58585863 @Unsupported
58595864 removeMcpServers : IMcpResourceScannerService [ 'removeMcpServers' ] = unsupported
5865+ @Unsupported
5866+ updateSandboxConfig : IMcpResourceScannerService [ 'updateSandboxConfig' ] = unsupported
58605867}
58615868registerSingleton ( IMcpResourceScannerService , McpResourceScannerService , InstantiationType . Eager )
58625869
@@ -6231,6 +6238,9 @@ class LanguageModelToolsConfirmationService implements ILanguageModelToolsConfir
62316238
62326239 getPreConfirmActions : ILanguageModelToolsConfirmationService [ 'getPreConfirmActions' ] = ( ) => [ ]
62336240 getPostConfirmActions : ILanguageModelToolsConfirmationService [ 'getPostConfirmActions' ] = ( ) => [ ]
6241+
6242+ toolCanManageConfirmation : ILanguageModelToolsConfirmationService [ 'toolCanManageConfirmation' ] =
6243+ ( ) => false
62346244}
62356245registerSingleton (
62366246 ILanguageModelToolsConfirmationService ,
@@ -6469,6 +6479,14 @@ class ChatTipService implements IChatTipService {
64696479 hasMultipleTips : IChatTipService [ 'hasMultipleTips' ] = unsupported
64706480 @Unsupported
64716481 clearDismissedTips : IChatTipService [ 'clearDismissedTips' ] = unsupported
6482+ @Unsupported
6483+ dismissTipForSession : IChatTipService [ 'dismissTipForSession' ] = unsupported
6484+ @Unsupported
6485+ hideTipsForSession : IChatTipService [ 'hideTipsForSession' ] = unsupported
6486+ @Unsupported
6487+ getNextEligibleTip : IChatTipService [ 'getNextEligibleTip' ] = unsupported
6488+ @Unsupported
6489+ recordSlashCommandUsage : IChatTipService [ 'recordSlashCommandUsage' ] = unsupported
64726490}
64736491
64746492registerSingleton ( IChatTipService , ChatTipService , InstantiationType . Delayed )
@@ -6584,6 +6602,18 @@ class AICustomizationWorkspaceService implements IAICustomizationWorkspaceServic
65846602 commitFiles : IAICustomizationWorkspaceService [ 'commitFiles' ] = unsupported
65856603 @Unsupported
65866604 generateCustomization : IAICustomizationWorkspaceService [ 'generateCustomization' ] = unsupported
6605+
6606+ @Unsupported
6607+ deleteFiles : IAICustomizationWorkspaceService [ 'deleteFiles' ] = unsupported
6608+ hasOverrideProjectRoot : IAICustomizationWorkspaceService [ 'hasOverrideProjectRoot' ] =
6609+ constObservable ( false )
6610+ @Unsupported
6611+ setOverrideProjectRoot : IAICustomizationWorkspaceService [ 'setOverrideProjectRoot' ] = unsupported
6612+ @Unsupported
6613+ clearOverrideProjectRoot : IAICustomizationWorkspaceService [ 'clearOverrideProjectRoot' ] =
6614+ unsupported
6615+ getFilteredPromptSlashCommands : IAICustomizationWorkspaceService [ 'getFilteredPromptSlashCommands' ] =
6616+ async ( ) => [ ]
65876617}
65886618
65896619registerSingleton (
@@ -6624,8 +6654,20 @@ class PluginMarketplaceService implements IPluginMarketplaceService {
66246654 _serviceBrand : undefined
66256655 onDidChangeMarketplaces : IPluginMarketplaceService [ 'onDidChangeMarketplaces' ] = Event . None
66266656 fetchMarketplacePlugins : IPluginMarketplaceService [ 'fetchMarketplacePlugins' ] = async ( ) => [ ]
6627- getMarketplacePluginMetadata : IPluginMarketplaceService [ 'getMarketplacePluginMetadata' ] =
6628- async ( ) => undefined
6657+ getMarketplacePluginMetadata : IPluginMarketplaceService [ 'getMarketplacePluginMetadata' ] = ( ) =>
6658+ undefined
6659+
6660+ installedPlugins : IPluginMarketplaceService [ 'installedPlugins' ] = constObservable ( [ ] )
6661+ @Unsupported
6662+ addInstalledPlugin : IPluginMarketplaceService [ 'addInstalledPlugin' ] = unsupported
6663+ @Unsupported
6664+ removeInstalledPlugin : IPluginMarketplaceService [ 'removeInstalledPlugin' ] = unsupported
6665+ @Unsupported
6666+ setInstalledPluginEnabled : IPluginMarketplaceService [ 'setInstalledPluginEnabled' ] = unsupported
6667+ @Unsupported
6668+ isMarketplaceTrusted : IPluginMarketplaceService [ 'isMarketplaceTrusted' ] = unsupported
6669+ @Unsupported
6670+ trustMarketplace : IPluginMarketplaceService [ 'trustMarketplace' ] = unsupported
66296671}
66306672
66316673registerSingleton ( IPluginMarketplaceService , PluginMarketplaceService , InstantiationType . Delayed )
@@ -6641,6 +6683,17 @@ class AgentPluginRepositoryService implements IAgentPluginRepositoryService {
66416683 ensureRepository : IAgentPluginRepositoryService [ 'ensureRepository' ] = unsupported
66426684 @Unsupported
66436685 pullRepository : IAgentPluginRepositoryService [ 'pullRepository' ] = unsupported
6686+ @Unsupported
6687+ getPluginSourceInstallUri : IAgentPluginRepositoryService [ 'getPluginSourceInstallUri' ] =
6688+ unsupported
6689+ @Unsupported
6690+ ensurePluginSource : IAgentPluginRepositoryService [ 'ensurePluginSource' ] = unsupported
6691+ @Unsupported
6692+ updatePluginSource : IAgentPluginRepositoryService [ 'updatePluginSource' ] = unsupported
6693+ @Unsupported
6694+ getPluginSource : IAgentPluginRepositoryService [ 'getPluginSource' ] = unsupported
6695+ @Unsupported
6696+ cleanupPluginSource : IAgentPluginRepositoryService [ 'cleanupPluginSource' ] = unsupported
66446697}
66456698
66466699registerSingleton (
@@ -6655,8 +6708,6 @@ class PluginInstallService implements IPluginInstallService {
66556708 @Unsupported
66566709 installPlugin : IPluginInstallService [ 'installPlugin' ] = unsupported
66576710 @Unsupported
6658- uninstallPlugin : IPluginInstallService [ 'uninstallPlugin' ] = unsupported
6659- @Unsupported
66606711 updatePlugin : IPluginInstallService [ 'updatePlugin' ] = unsupported
66616712 @Unsupported
66626713 getPluginInstallUri : IPluginInstallService [ 'getPluginInstallUri' ] = unsupported
@@ -6698,6 +6749,12 @@ class ChatDebugService implements IChatDebugService {
66986749 @Unsupported
66996750 resolveEvent : IChatDebugService [ 'resolveEvent' ] = unsupported
67006751 dispose : IChatDebugService [ 'dispose' ] = ( ) => { }
6752+
6753+ onDidClearProviderEvents : IChatDebugService [ 'onDidClearProviderEvents' ] = Event . None
6754+ hasInvokedProviders : IChatDebugService [ 'hasInvokedProviders' ] = ( ) => false
6755+ onDidAttachDebugData : IChatDebugService [ 'onDidAttachDebugData' ] = Event . None
6756+ markDebugDataAttached : IChatDebugService [ 'markDebugDataAttached' ] = ( ) => { }
6757+ hasAttachedDebugData : IChatDebugService [ 'hasAttachedDebugData' ] = ( ) => false
67016758}
67026759
67036760registerSingleton ( IChatDebugService , ChatDebugService , InstantiationType . Delayed )
@@ -6717,6 +6774,11 @@ class McpSandboxService implements IMcpSandboxService {
67176774 @Unsupported
67186775 launchInSandboxIfEnabled : IMcpSandboxService [ 'launchInSandboxIfEnabled' ] = unsupported
67196776 isEnabled : IMcpSandboxService [ 'isEnabled' ] = async ( ) => false
6777+
6778+ getSandboxConfigSuggestionMessage : IMcpSandboxService [ 'getSandboxConfigSuggestionMessage' ] = ( ) =>
6779+ undefined
6780+ applySandboxConfigSuggestion : IMcpSandboxService [ 'applySandboxConfigSuggestion' ] = async ( ) =>
6781+ false
67206782}
67216783
67226784registerSingleton ( IMcpSandboxService , McpSandboxService , InstantiationType . Delayed )
@@ -6754,3 +6816,33 @@ class PowerService implements IPowerService {
67546816}
67556817
67566818registerSingleton ( IPowerService , PowerService , InstantiationType . Delayed )
6819+
6820+ class ChatResponseResourceFileSystemProvider implements IChatResponseResourceFileSystemProvider {
6821+ _serviceBrand : undefined
6822+
6823+ @Unsupported
6824+ associate : IChatResponseResourceFileSystemProvider [ 'associate' ] = unsupported
6825+
6826+ capabilities : IChatResponseResourceFileSystemProvider [ 'capabilities' ] =
6827+ FileSystemProviderCapabilities . None
6828+ onDidChangeCapabilities : IChatResponseResourceFileSystemProvider [ 'onDidChangeCapabilities' ] =
6829+ Event . None
6830+ onDidChangeFile : IChatResponseResourceFileSystemProvider [ 'onDidChangeFile' ] = Event . None
6831+ watch : IChatResponseResourceFileSystemProvider [ 'watch' ] = ( ) => Disposable . None
6832+ @Unsupported
6833+ stat : IChatResponseResourceFileSystemProvider [ 'stat' ] = unsupported
6834+ @Unsupported
6835+ mkdir : IChatResponseResourceFileSystemProvider [ 'mkdir' ] = unsupported
6836+ @Unsupported
6837+ readdir : IChatResponseResourceFileSystemProvider [ 'readdir' ] = unsupported
6838+ @Unsupported
6839+ delete : IChatResponseResourceFileSystemProvider [ 'delete' ] = unsupported
6840+ @Unsupported
6841+ rename : IChatResponseResourceFileSystemProvider [ 'rename' ] = unsupported
6842+ }
6843+
6844+ registerSingleton (
6845+ IChatResponseResourceFileSystemProvider ,
6846+ ChatResponseResourceFileSystemProvider ,
6847+ InstantiationType . Delayed
6848+ )
0 commit comments