Add proposed API support for agent sessions workspace (#290385)

* Add proposed API support for agent sessions workspace

* add access to agentSessionsWorkspace proposed api
This commit is contained in:
Sandeep Somavarapu
2026-01-26 17:05:36 +01:00
committed by GitHub
parent 05c127e30e
commit d4d37b83e0
15 changed files with 63 additions and 24 deletions

View File

@@ -1009,6 +1009,10 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
set workspaceFile(value) {
throw new errors.ReadonlyError('workspaceFile');
},
get isAgentSessionsWorkspace() {
checkProposedApiEnabled(extension, 'agentSessionsWorkspace');
return extHostWorkspace.isAgentSessionsWorkspace;
},
updateWorkspaceFolders: (index, deleteCount, ...workspaceFoldersToAdd) => {
return extHostWorkspace.updateWorkspaceFolders(extension, index, deleteCount || 0, ...workspaceFoldersToAdd);
},