Skip to content

Commit 165e851

Browse files
authored
Merge pull request #775 from CodinGame/vscode-1.111.0
Vscode 1.111.0
2 parents f2a036f + 83d53a8 commit 165e851

35 files changed

Lines changed: 379 additions & 190 deletions

File tree

.ncurc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"@vscode/spdlog",
1212
"@vscode/tree-sitter-wasm",
1313
"@vscode/windows-process-tree",
14-
"@vscode/windows-registry",
1514
"@xterm/addon-clipboard",
1615
"@xterm/addon-image",
1716
"@xterm/addon-ligatures",

package-lock.json

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
},
3131
"config": {
3232
"vscode": {
33-
"version": "1.110.0",
34-
"ref": "1.110",
35-
"commit": "0870c2a0c7c0564e7631bfed2675573a94ba4455"
33+
"version": "1.111.0",
34+
"ref": "1.111.0",
35+
"commit": "ce099c1ed25d9eb3076c11e4a280f3eb52b4fbeb"
3636
},
3737
"monaco": {
3838
"ref": "v0.55.1",
@@ -49,7 +49,7 @@
4949
"@codingame/semantic-release-config-github": "^2.2.1",
5050
"@codingame/tsconfig": "^1.2.1",
5151
"@commitlint/cli": "^20.4.3",
52-
"@rollup/plugin-commonjs": "^29.0.1",
52+
"@rollup/plugin-commonjs": "^29.0.2",
5353
"@rollup/plugin-dynamic-import-vars": "^2.1.5",
5454
"@rollup/plugin-json": "^6.1.0",
5555
"@rollup/plugin-node-resolve": "^16.0.3",
@@ -61,7 +61,7 @@
6161
"@types/vscode-semver": "npm:@types/semver@=5.5.0",
6262
"@types/yargs": "^17.0.35",
6363
"@types/yauzl": "^2.10.3",
64-
"@vscode/codicons": "^0.0.45-11",
64+
"@vscode/codicons": "^0.0.45-12",
6565
"@vscode/tree-sitter-wasm": "^0.3.0",
6666
"acorn": "^8.16.0",
6767
"chalk": "^5.6.2",
@@ -100,16 +100,16 @@
100100
"@vscode/spdlog": "^0.15.7",
101101
"@vscode/vscode-languagedetection": "npm:@codingame/vscode-languagedetection@1.0.23",
102102
"@vscode/windows-process-tree": "^0.6.0",
103-
"@xterm/addon-clipboard": "^0.3.0-beta.167",
104-
"@xterm/addon-image": "^0.10.0-beta.167",
105-
"@xterm/addon-ligatures": "^0.11.0-beta.167",
106-
"@xterm/addon-progress": "^0.3.0-beta.167",
107-
"@xterm/addon-search": "^0.17.0-beta.167",
108-
"@xterm/addon-serialize": "^0.15.0-beta.167",
109-
"@xterm/addon-unicode11": "^0.10.0-beta.167",
110-
"@xterm/addon-webgl": "^0.20.0-beta.166",
111-
"@xterm/headless": "^6.1.0-beta.167",
112-
"@xterm/xterm": "^6.1.0-beta.167",
103+
"@xterm/addon-clipboard": "^0.3.0-beta.168",
104+
"@xterm/addon-image": "^0.10.0-beta.168",
105+
"@xterm/addon-ligatures": "^0.11.0-beta.168",
106+
"@xterm/addon-progress": "^0.3.0-beta.168",
107+
"@xterm/addon-search": "^0.17.0-beta.168",
108+
"@xterm/addon-serialize": "^0.15.0-beta.168",
109+
"@xterm/addon-unicode11": "^0.10.0-beta.168",
110+
"@xterm/addon-webgl": "^0.20.0-beta.167",
111+
"@xterm/headless": "^6.1.0-beta.168",
112+
"@xterm/xterm": "^6.1.0-beta.168",
113113
"cookie": "^0.7.2",
114114
"css-url-parser": "^1.1.4",
115115
"dompurify": "^3.3.2",

src/missing-services.ts

Lines changed: 98 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ import { ILanguageModelsConfigurationService } from 'vs/workbench/contrib/chat/c
449449
import { IAgentPluginRepositoryService } from 'vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.service.js'
450450
import { IAgentPluginService } from 'vs/workbench/contrib/chat/common/plugins/agentPluginService.service.js'
451451
import { 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'
453453
import { ILanguageModelToolsConfirmationService } from 'vs/workbench/contrib/chat/common/tools/languageModelToolsConfirmationService.service'
454454
import {
455455
ToolDataSource,
@@ -475,10 +475,12 @@ import { unsupported } from './tools.js'
475475
import { IChatAttachmentWidgetRegistry } from 'vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgetRegistry.service'
476476
import { IChatDebugService } from 'vs/workbench/contrib/chat/common/chatDebugService.service.js'
477477
import { IPluginInstallService } from 'vs/workbench/contrib/chat/common/plugins/pluginInstallService.service'
478+
import { IChatResponseResourceFileSystemProvider } from 'vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.service.js'
478479
import { IGitService } from 'vs/workbench/contrib/git/common/gitService.service.js'
479480
import { IWorkbenchMcpGatewayService } from 'vs/workbench/contrib/mcp/common/mcpGatewayService.service.js'
480481
import { IMcpSandboxService } from 'vs/workbench/contrib/mcp/common/mcpSandboxService.service.js'
481482
import { IPowerService } from 'vs/workbench/services/power/common/powerService.service.js'
483+
import { FileSystemProviderCapabilities } from './service-override/files.js'
482484

483485
function 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
}
27692773
registerSingleton(ITerminalService, TerminalService, InstantiationType.Delayed)
27702774
class 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 {
55805583
registerSingleton(IChatEntitlementService, ChatEntitlementsService, InstantiationType.Eager)
55815584
class 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
}
58615868
registerSingleton(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
}
62356245
registerSingleton(
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

64746492
registerSingleton(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

65896619
registerSingleton(
@@ -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

66316673
registerSingleton(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

66466699
registerSingleton(
@@ -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

67036760
registerSingleton(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

67226784
registerSingleton(IMcpSandboxService, McpSandboxService, InstantiationType.Delayed)
@@ -6754,3 +6816,33 @@ class PowerService implements IPowerService {
67546816
}
67556817

67566818
registerSingleton(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+
)

src/service-override/chat.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ import { IChatAttachmentWidgetRegistry } from 'vs/workbench/contrib/chat/browser
112112
import { ChatAttachmentWidgetRegistry } from 'vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgetRegistry'
113113
import { IChatDebugService } from 'vs/workbench/contrib/chat/common/chatDebugService.service'
114114
import { ChatDebugServiceImpl } from 'vs/workbench/contrib/chat/common/chatDebugServiceImpl'
115+
import { IChatResponseResourceFileSystemProvider } from 'vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.service'
116+
import { ChatResponseResourceFileSystemProvider } from 'vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider'
115117
import 'vs/workbench/contrib/chat/browser/chat.contribution'
116118
import 'vs/workbench/contrib/terminal/terminal.chat.contribution'
117119
import 'vs/workbench/contrib/inlineChat/browser/inlineChat.contribution'
@@ -247,6 +249,11 @@ export default function getServiceOverride(): IEditorOverrideServices {
247249
[],
248250
true
249251
),
250-
[IChatDebugService.toString()]: new SyncDescriptor(ChatDebugServiceImpl, [], true)
252+
[IChatDebugService.toString()]: new SyncDescriptor(ChatDebugServiceImpl, [], true),
253+
[IChatResponseResourceFileSystemProvider.toString()]: new SyncDescriptor(
254+
ChatResponseResourceFileSystemProvider,
255+
[],
256+
true
257+
)
251258
}
252259
}

vscode-patches/0005-feat-add-static-asset-url-mechanism.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ index 4cfaf6a58cb..b7f63a0d276 100644
119119

120120
class ExtensionHostProxy implements IExtensionHostProxy {
121121
diff --git a/src/vs/workbench/api/common/extHost.protocol.ts b/src/vs/workbench/api/common/extHost.protocol.ts
122-
index 8abfea0b8d3..871915ebd4a 100644
122+
index 0bd60212242..63b9db885d9 100644
123123
--- a/src/vs/workbench/api/common/extHost.protocol.ts
124124
+++ b/src/vs/workbench/api/common/extHost.protocol.ts
125-
@@ -1836,6 +1836,7 @@ export interface MainThreadExtensionServiceShape extends IDisposable {
125+
@@ -1851,6 +1851,7 @@ export interface MainThreadExtensionServiceShape extends IDisposable {
126126
$onExtensionRuntimeError(extensionId: ExtensionIdentifier, error: SerializedError): void;
127127
$setPerformanceMarks(marks: performance.PerformanceMark[]): Promise<void>;
128128
$asBrowserUri(uri: UriComponents): Promise<UriComponents>;

vscode-patches/0007-fix-use-existing-method.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Subject: [PATCH] fix: use existing method
88
1 file changed, 1 insertion(+), 1 deletion(-)
99

1010
diff --git a/src/vs/editor/standalone/browser/standaloneServices.ts b/src/vs/editor/standalone/browser/standaloneServices.ts
11-
index fb5b0122e91..ee8f98634b9 100644
11+
index e12a15076e4..cfb4a46c367 100644
1212
--- a/src/vs/editor/standalone/browser/standaloneServices.ts
1313
+++ b/src/vs/editor/standalone/browser/standaloneServices.ts
1414
@@ -559,7 +559,7 @@ export class StandaloneKeybindingService extends AbstractKeybindingService {

vscode-patches/0008-refactor-split-code.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Subject: [PATCH] refactor: split code
99
2 files changed, 11 insertions(+), 3 deletions(-)
1010

1111
diff --git a/src/vs/editor/standalone/browser/standaloneServices.ts b/src/vs/editor/standalone/browser/standaloneServices.ts
12-
index ee8f98634b9..9ccfb39b28e 100644
12+
index cfb4a46c367..04819de2d6d 100644
1313
--- a/src/vs/editor/standalone/browser/standaloneServices.ts
1414
+++ b/src/vs/editor/standalone/browser/standaloneServices.ts
1515
@@ -530,15 +530,19 @@ export class StandaloneKeybindingService extends AbstractKeybindingService {

0 commit comments

Comments
 (0)