fix compile

This commit is contained in:
Connor Peet
2026-03-27 16:23:07 -07:00
parent fe781b70ab
commit bd2f91618e
2 changed files with 4 additions and 0 deletions

View File

@@ -173,6 +173,9 @@ async function startWebSocketServer(agentService: AgentService, logService: ILog
handleBrowseDirectory(uri) {
return agentService.browseDirectory(URI.parse(uri));
},
handleWriteFile(params) {
return agentService.writeFile(params);
},
async handleRestoreSession(session) {
return agentService.restoreSession(URI.parse(session));
},

View File

@@ -77,6 +77,7 @@ class MockSideEffectHandler implements IProtocolSideEffectHandler {
async handleListSessions(): Promise<ISessionSummary[]> { return []; }
async handleRestoreSession(_session: string): Promise<void> { }
handleGetResourceMetadata() { return { resources: [] }; }
handleWriteFile() { return Promise.resolve({}); }
async handleAuthenticate(_params: { resource: string; token: string }) { return { authenticated: true }; }
async handleBrowseDirectory(uri: string): Promise<{ entries: { name: string; type: 'file' | 'directory' }[] }> {
this.browsedUris.push(URI.parse(uri));