gadget/gadget-drone/src
Rob Colbert 84f68907da fix: FileTree backend recursion breaking lazy loading
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.
2026-05-12 16:32:27 -04:00
..
config quick fix for when logging.file.enabled is false 2026-05-08 16:14:36 -04:00
lib GadgetLogTransportSocket and the drone-to-IDE log 2026-05-09 07:16:50 -04:00
services OpenAI API tool call processing fixes/correctness 2026-05-12 14:39:44 -04:00
tools subagents (written by an agent, for an agent) 2026-05-11 11:22:59 -04:00
gadget-drone.ts fix: FileTree backend recursion breaking lazy loading 2026-05-12 16:32:27 -04:00