Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Fix possible type inconsistency
Tomas Valenta1c6c44c782e3
diff --git a/packages/js-sdk/src/sandbox/filesystem/index.ts b/packages/js-sdk/src/sandbox/filesystem/index.tsindex e2af154dd..cb9bdea1f 100644--- a/packages/js-sdk/src/sandbox/filesystem/index.ts+++ b/packages/js-sdk/src/sandbox/filesystem/index.ts@@ -24,7 +24,7 @@ import { WatchHandle, FilesystemEvent } from './watchHandle'export interface EntryInfo {name: string- type: FileType+ type?: FileTypepath: string}@@ -191,7 +191,7 @@ export class Filesystem {return {name: entry.name,- type: mapFileType(entry.type)!,+ type: mapFileType(entry.type),path: entry.path,}} catch (err) {