We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a227fa commit 58a82bbCopy full SHA for 58a82bb
apps/sim/lib/copilot/vfs/workspace-vfs.ts
@@ -500,6 +500,14 @@ export class WorkspaceVFS {
500
501
const folderPaths = this.buildFolderPaths(folderRows)
502
503
+ // Register all folders in the VFS so empty folders are discoverable.
504
+ for (const { folderId } of folderRows) {
505
+ const folderPath = folderPaths.get(folderId)
506
+ if (folderPath) {
507
+ this.files.set(`workflows/${folderPath}/.folder`, '')
508
+ }
509
510
+
511
await Promise.all(
512
workflowRows.map(async (wf) => {
513
const safeName = sanitizeName(wf.name)
0 commit comments