HF RL Explorer

I want the LaTeX utility module to export two pure helpers for choosing a project's TeX entry file from an…

I want the LaTeX utility module to export two pure helpers for choosing a project's TeX entry file from an…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). findTexFiles(files: FileNode ): string should walk the provided FileNode tree depth-first in the order nodes…

The task

`findTexFiles(files: FileNode[]): string[]` should walk the provided `FileNode` tree depth-first in the order nodes appear, include only nodes where `type` is `file` and the name ends with `.tex`, and return their `path` values. For example, with root files `main.tex`, `README.md`, and `refs.bib`, it returns…

Part of FineEnvs/MiMo-V2.6-RL-harbor-code.