mirror of
https://github.com/yamadashy/repomix.git
synced 2026-11-20 06:29:20 +01:00
With several root directories, the skill's project-structure.md merged all files into one flat tree, while the regular output's directory structure splits them into [rootLabel]/ sections. packSkill now receives the same filePathsByRoot the regular output uses and renders it through the previously unused generateTreeStringWithRootsAndLineCounts. Single-root output keeps the old code path and stays byte-identical. Also drop the unused isGitHubRepository entry from the remoteAction deps. intent(skill-tree): multi-root skill output should show per-root sections like the regular output decision(skill-tree): filter filePathsByRoot down to processed files so files dropped by the security check stay out of the tree, as in the single-root skill tree decision(line-counts): multi-root line count keys are root-prefixed display paths, so the lookup path starts at the root label constraint(skill-tree): only use the per-root path when there is more than one root; a single root keeps the flat processed-file tree Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>