Include an ASCII file tree of the scanned directory as a reserved __tree__ key in JSON output (or as a preamble section in Markdown mode). This gives LLMs structural context about the project layout without requiring them to infer it from individual file paths.
Example JSON:
{
"__tree__": "src/\n cli.ts\n scan.ts\n filter.ts\n export.ts\n utils.ts\ntests/\n ...",
"src/cli.ts": "...",
...
}
Priority: Medium
Include an ASCII file tree of the scanned directory as a reserved
__tree__key in JSON output (or as a preamble section in Markdown mode). This gives LLMs structural context about the project layout without requiring them to infer it from individual file paths.Example JSON:
{ "__tree__": "src/\n cli.ts\n scan.ts\n filter.ts\n export.ts\n utils.ts\ntests/\n ...", "src/cli.ts": "...", ... }Priority: Medium