We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94d7ef6 commit 5c5d6b6Copy full SHA for 5c5d6b6
1 file changed
sdk/typescript/src/index.ts
@@ -88,6 +88,10 @@ export class AgentFS {
88
// Connect to the database to ensure it's created
89
await db.connect();
90
91
+ return await AgentFS.openWith(db);
92
+ }
93
+
94
+ static async openWith(db: Database): Promise<AgentFS> {
95
// Create subsystems
96
const kv = new KvStore(db);
97
const fs = new Filesystem(db);
0 commit comments