( workspaceId: string, userId: string )
| 531 | * reads dynamic workspace state from VFS files; it never writes this file. |
| 532 | */ |
| 533 | export async function generateWorkspaceContext( |
| 534 | workspaceId: string, |
| 535 | userId: string |
| 536 | ): Promise<string> { |
| 537 | const data = await buildWorkspaceMdData(workspaceId, userId) |
| 538 | return data ? buildWorkspaceMd(data) : WORKSPACE_CONTEXT_UNAVAILABLE_MD |
| 539 | } |
| 540 | |
| 541 | /** |
| 542 | * Build BOTH the markdown inventory and the typed VFS snapshot from a single |
no test coverage detected