github yamadashy/repomix v1.3.0

latest releases: v1.4.2, v1.4.1, v1.4.0...
25 days ago

This release introduces token count analysis tools and MCP server enhancements, making it easier to analyze and optimize your codebase processing.

What's New 🚀

Token Count Summarization (#747)

Added the powerful --token-count-tree option that displays token usage in a hierarchical tree view! This feature helps identify which files and directories consume the most tokens, making it easier to optimize your Repomix output.

repomix --token-count-tree

Displays a tree structure showing token usage:

🔢 Token Count Tree:
────────────────────
├── tsconfig.json (177 tokens)
├── typos.toml (80 tokens)
├── vitest.config.ts (89 tokens)
├── .agents/ (2874 tokens)
│   └── rules/ (2874 tokens)
│       ├── base.md (1988 tokens)
│       ├── browser-extension.md (453 tokens)
│       └── website.md (433 tokens)

You can also set a minimum threshold to only show files above a certain token count:

repomix --token-count-tree 1000

Special thanks to @gudber for this incredibly useful feature!

MCP Server: Attach Packed Output Tool (#756)

Added the attach_packed_output tool to the MCP server, enabling AI assistants to import and analyze previously generated Repomix XML files.

This tool accepts either a directory containing repomix-output.xml or a direct path to an XML file, providing the same structured analysis capabilities as freshly packed repositories without the need to reprocess the codebase.

For detailed MCP documentation, see:
https://github.com/yamadashy/repomix?tab=readme-ov-file#available-mcp-tools

Special thanks to @petrarca for this valuable MCP enhancement!

How to Update

npm update -g repomix

As always, if you have any issues or suggestions, please let us know on GitHub issues or our Discord community.

Don't miss a new repomix release

NewReleases is sending notifications on new releases.