( folderId: string, workspaceId: string )
| 799 | } |
| 800 | |
| 801 | async function resolveFolderResource( |
| 802 | folderId: string, |
| 803 | workspaceId: string |
| 804 | ): Promise<AgentContext | null> { |
| 805 | const folderPath = await resolveWorkflowFolderPath(workspaceId, folderId) |
| 806 | if (!folderPath) return null |
| 807 | return { |
| 808 | type: 'active_resource', |
| 809 | tag: '@active_resource', |
| 810 | content: '', |
| 811 | path: `workflows/${folderPath}`, |
| 812 | } |
| 813 | } |
no test coverage detected