CRITICAL FIX: Remove recursion from listDirectoryForTree function. The backend was recursively fetching ALL subdirectories and returning them as a flat list, which completely broke the lazy-loading model. Changes: - Remove recursive call in listDirectoryForTree - Backend now returns ONLY immediate children - Frontend handles lazy loading by requesting children on expand - This matches the intended architecture where frontend controls tree This fixes the issue where directory contents were duplicated and the tree structure was corrupted when expanding/collapsing. |
||
|---|---|---|
| .. | ||
| .vscode | ||
| data/prompts/subagent | ||
| docs | ||
| src | ||
| types | ||
| .gitignore | ||
| AGENTS.md | ||
| gadget-drone.code-workspace | ||
| LICENSE | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| tsconfig.json | ||