@codingame/monaco-vscode-remote-agent-service-override 1.82.6 → 1.83.0-next.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.
@@ -133,7 +133,6 @@ import { IExtensionManifestPropertiesService } from 'vscode/vscode/vs/workbench/
133
133
  import { IRemoteExtensionsScannerService } from 'vscode/vscode/vs/platform/remote/common/remoteExtensionsScanner';
134
134
  import { BrowserURLService } from 'vscode/vscode/vs/workbench/services/url/browser/urlService';
135
135
  import { IURLService } from 'vscode/vscode/vs/platform/url/common/url';
136
- import { ICredentialsService } from 'vscode/vscode/vs/platform/credentials/common/credentials';
137
136
  import { IRemoteSocketFactoryService } from 'vscode/vscode/vs/platform/remote/common/remoteSocketFactoryService';
138
137
  import { IQuickDiffService } from 'vscode/vscode/vs/workbench/contrib/scm/common/quickDiff';
139
138
  import { ISCMService, ISCMViewService } from 'vscode/vscode/vs/workbench/contrib/scm/common/scm';
@@ -170,6 +169,7 @@ import { ISignService } from 'vscode/vscode/vs/platform/sign/common/sign';
170
169
  import { BrowserHostService } from 'vscode/vscode/vs/workbench/services/host/browser/browserHostService';
171
170
  import { IBannerService } from 'vscode/vscode/vs/workbench/services/banner/browser/bannerService';
172
171
  import { ITitleService } from 'vscode/vscode/vs/workbench/services/title/common/titleService';
172
+ import { IChatAgentService } from 'vscode/vscode/vs/workbench/contrib/chat/common/chatAgents';
173
173
  import { unsupported } from './tools.js';
174
174
  import { IFileDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs';
175
175
 
@@ -409,8 +409,8 @@ registerSingleton(IPathService, BrowserPathService, 1 );
409
409
  registerSingleton(IProductService, class ProductService {
410
410
  constructor() {
411
411
  this._serviceBrand = undefined;
412
- this.version = "1.82.0";
413
- this.commit = "16e9205452dd417e32f164325b589b94892846b4";
412
+ this.version = "1.83.0";
413
+ this.commit = "e7e037083ff4455cf320e344325dacb480062c3c";
414
414
  this.nameShort = 'Code - OSS Dev';
415
415
  this.nameLong = 'Code - OSS Dev';
416
416
  this.applicationName = 'code-oss';
@@ -542,14 +542,11 @@ registerSingleton(IUserDataProfilesService, class UserDataProfilesService {
542
542
  }
543
543
  get profilesHome() { return unsupported(); }
544
544
  }, 0 );
545
- let InjectedUserDataProfileService = class InjectedUserDataProfileService extends UserDataProfileService {
546
- constructor(userDataProfilesService) {
547
- super(profile, userDataProfilesService);
545
+ class InjectedUserDataProfileService extends UserDataProfileService {
546
+ constructor() {
547
+ super(profile);
548
548
  }
549
- };
550
- InjectedUserDataProfileService = __decorate([
551
- ( __param(0, IUserDataProfilesService))
552
- ], InjectedUserDataProfileService);
549
+ }
553
550
  registerSingleton(IUserDataProfileService, InjectedUserDataProfileService, 0 );
554
551
  registerSingleton(IPolicyService, class PolicyService {
555
552
  constructor() {
@@ -792,6 +789,8 @@ registerSingleton(ITaskService, class TaskService {
792
789
  this.hasTaskSystemInfo = false;
793
790
  this.registerSupportedExecutions = () => { };
794
791
  this.extensionCallbackTaskComplete = unsupported;
792
+ this.isReconnected = false;
793
+ this.onDidReconnectToTasks = Event.None;
795
794
  }
796
795
  }, 0 );
797
796
  registerSingleton(IConfigurationResolverService, class ConfigurationResolverService {
@@ -1399,7 +1398,7 @@ registerSingleton(IUserDataSyncWorkbenchService, class UserDataSyncWorkbenchServ
1399
1398
  this.authenticationProviders = [];
1400
1399
  this.all = [];
1401
1400
  this.current = undefined;
1402
- this.accountStatus = "uninitialized" ;
1401
+ this.accountStatus = "unavailable" ;
1403
1402
  this.onDidChangeAccountStatus = Event.None;
1404
1403
  this.turnOn = unsupported;
1405
1404
  this.turnoff = unsupported;
@@ -1410,6 +1409,8 @@ registerSingleton(IUserDataSyncWorkbenchService, class UserDataSyncWorkbenchServ
1410
1409
  this.synchroniseUserDataSyncStoreType = unsupported;
1411
1410
  this.showConflicts = unsupported;
1412
1411
  this.accept = unsupported;
1412
+ this.getAllLogResources = unsupported;
1413
+ this.downloadSyncActivity = unsupported;
1413
1414
  }
1414
1415
  }, 1 );
1415
1416
  registerSingleton(IUserDataSyncEnablementService, class UserDataSyncEnablementService {
@@ -1561,6 +1562,19 @@ registerSingleton(IQuickChatService, class QuickChatService {
1561
1562
  this.openInChatView = unsupported;
1562
1563
  }
1563
1564
  }, 1 );
1565
+ registerSingleton(IChatAgentService, class QuickChatService {
1566
+ constructor() {
1567
+ this._serviceBrand = undefined;
1568
+ this.onDidChangeAgents = Event.None;
1569
+ this.registerAgentData = unsupported;
1570
+ this.registerAgentCallback = unsupported;
1571
+ this.registerAgent = unsupported;
1572
+ this.invokeAgent = unsupported;
1573
+ this.getAgents = unsupported;
1574
+ this.getAgent = unsupported;
1575
+ this.hasAgent = unsupported;
1576
+ }
1577
+ }, 1 );
1564
1578
  registerSingleton(IEmbedderTerminalService, class EmbedderTerminalService {
1565
1579
  constructor() {
1566
1580
  this.onDidCreateTerminal = Event.None;
@@ -1638,6 +1652,9 @@ registerSingleton(IAccessibleViewService, class AccessibleViewService {
1638
1652
  this.getOpenAriaHint = unsupported;
1639
1653
  this.show = unsupported;
1640
1654
  this.registerProvider = unsupported;
1655
+ this.getPosition = unsupported;
1656
+ this.setPosition = unsupported;
1657
+ this.getLastPosition = unsupported;
1641
1658
  }
1642
1659
  }, 1 );
1643
1660
  registerSingleton(IWorkbenchExtensionManagementService, class WorkbenchExtensionManagementService {
@@ -1703,17 +1720,6 @@ registerSingleton(IRemoteExtensionsScannerService, class RemoteExtensionsScanner
1703
1720
  }
1704
1721
  }, 1 );
1705
1722
  registerSingleton(IURLService, BrowserURLService, 1 );
1706
- registerSingleton(ICredentialsService, class CredentialsService {
1707
- constructor() {
1708
- this.onDidChangePassword = Event.None;
1709
- this.getSecretStoragePrefix = async () => 'code-oss';
1710
- this.getPassword = unsupported;
1711
- this.setPassword = unsupported;
1712
- this.deletePassword = unsupported;
1713
- this.findPassword = unsupported;
1714
- this.findCredentials = unsupported;
1715
- }
1716
- }, 1 );
1717
1723
  registerSingleton(IRemoteSocketFactoryService, class RemoteSocketFactoryService {
1718
1724
  constructor() {
1719
1725
  this.register = unsupported;
@@ -1782,6 +1788,8 @@ registerSingleton(ICommentService, class CommentService {
1782
1788
  this.setActiveCommentThread = unsupported;
1783
1789
  this.setCurrentCommentThread = unsupported;
1784
1790
  this.enableCommenting = unsupported;
1791
+ this.registerContinueOnCommentProvider = unsupported;
1792
+ this.removeContinueOnComment = unsupported;
1785
1793
  }
1786
1794
  }, 1 );
1787
1795
  registerSingleton(INotebookCellStatusBarService, class NotebookCellStatusBarService {
@@ -2008,6 +2016,8 @@ registerSingleton(IChatContributionService, class ChatContributionService {
2008
2016
  constructor() {
2009
2017
  this.registeredProviders = [];
2010
2018
  this.getViewIdForProvider = unsupported;
2019
+ this.registerChatProvider = unsupported;
2020
+ this.deregisterChatProvider = unsupported;
2011
2021
  }
2012
2022
  }, 1 );
2013
2023
  registerSingleton(ITestProfileService, class TestProfileService {
@@ -2089,6 +2099,7 @@ registerSingleton(IChatVariablesService, class ChatVariablesService {
2089
2099
  this.registerVariable = unsupported;
2090
2100
  this.getVariables = unsupported;
2091
2101
  this.resolveVariables = unsupported;
2102
+ this.hasVariable = unsupported;
2092
2103
  }
2093
2104
  }, 1 );
2094
2105
  registerSingleton(IAiRelatedInformationService, class AiRelatedInformationService {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-remote-agent-service-override",
3
- "version": "1.82.6",
3
+ "version": "1.83.0-next.0",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -18,7 +18,7 @@
18
18
  "module": "index.js",
19
19
  "types": "index.d.ts",
20
20
  "dependencies": {
21
- "vscode": "npm:@codingame/monaco-vscode-api@1.82.6",
22
- "monaco-editor": "0.43.0"
21
+ "vscode": "npm:@codingame/monaco-vscode-api@1.83.0-next.0",
22
+ "monaco-editor": "0.44.0"
23
23
  }
24
24
  }
@@ -2,7 +2,7 @@ import { VSBuffer } from 'monaco-editor/esm/vs/base/common/buffer.js';
2
2
  import { toErrorMessage } from 'monaco-editor/esm/vs/base/common/errorMessage.js';
3
3
  import { canceled } from 'monaco-editor/esm/vs/base/common/errors.js';
4
4
  import { Event, Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
5
- import { Disposable, toDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
5
+ import { Disposable, DisposableStore, toDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
6
6
  import { newWriteableStream } from 'monaco-editor/esm/vs/base/common/stream.js';
7
7
  import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
8
8
  import { generateUuid } from 'monaco-editor/esm/vs/base/common/uuid.js';
@@ -54,7 +54,8 @@ class DiskFileSystemProviderClient extends Disposable {
54
54
  }
55
55
  readFileStream(resource, opts, token) {
56
56
  const stream = newWriteableStream(data => VSBuffer.concat(( data.map(data => VSBuffer.wrap(data)))).buffer);
57
- const listener = this.channel.listen('readFileStream', [resource, opts])(dataOrErrorOrEnd => {
57
+ const disposables = ( new DisposableStore());
58
+ disposables.add(this.channel.listen('readFileStream', [resource, opts])(dataOrErrorOrEnd => {
58
59
  if (dataOrErrorOrEnd instanceof VSBuffer) {
59
60
  stream.write(dataOrErrorOrEnd.buffer);
60
61
  }
@@ -74,14 +75,14 @@ class DiskFileSystemProviderClient extends Disposable {
74
75
  stream.error(error);
75
76
  stream.end();
76
77
  }
77
- listener.dispose();
78
+ disposables.dispose();
78
79
  }
79
- });
80
- token.onCancellationRequested(() => {
80
+ }));
81
+ disposables.add(token.onCancellationRequested(() => {
81
82
  stream.error(canceled());
82
83
  stream.end();
83
- listener.dispose();
84
- });
84
+ disposables.dispose();
85
+ }));
85
86
  return stream;
86
87
  }
87
88
  writeFile(resource, content, opts) {