This release adds multi-root directory labels, non-interactive skill generation options, and improved reliability for remote repository operations!
## Improvements ⚡
### Multi-Root Directory Labels (#1024, #1023)
When packing multiple directories, the directory tree output now shows labeled sections to clarify which files belong to which root directory:
```bash
repomix src/cli src/config
```
Output now displays:
```
[cli]/
├── cliRun.ts
├── actions/
│ └── ...
[config]/
├── configLoad.ts
└── ...
```
Special thanks to @spandan-kumar for this contribution! 🎉
### Non-Interactive Skill Generation (#1022, #1012)
Added `--skill-output` and `--force` options to enable automated skill generation for CI/CD pipelines and scripts:
```bash
# Non-interactive execution for CI/automation
repomix --skill-generate --skill-output .codebuddy --force
# With remote repository
repomix --remote https://github.com/user/repo --skill-generate --skill-output ./skills/repo-ref -f
```
- `--skill-output <path>`: Specify skill output directory path directly, skipping the interactive location prompt
- `-f, --force`: Skip all confirmation prompts (currently: skill directory overwrite)
## Bug Fixes 🐛
### Fixed Remote Git Command Hangs (#1078, #1077)
Remote git operations now include a 30-second timeout and disable terminal prompts (`GIT_TERMINAL_PROMPT=0`). This prevents indefinite hangs when accessing inaccessible repositories (non-existent, private, or requiring auth).
Special thanks to @Pipboyguy for this contribution! 🎉
### Fixed CLI Output Visibility on Light Themes (#1088, #1057)
Removed hardcoded white color from CLI output to use the terminal's default foreground color. This fixes visibility issues on light-themed terminals like Solarized Light where white text was unreadable.
## Documentation 📚
### Library Bundling Guide (#1075)
Added documentation for [bundling Repomix as a library](https://github.com/yamadashy/repomix?tab=readme-ov-file#bundling), including guidance on handling WASM file dependencies for tree-sitter.
## How to Update
```bash
npm update -g repomix
```
---
As always, if you have any issues or suggestions, please let us know on GitHub issues or our [Discord community](https://discord.gg/wNYzTwZFku).