Skip to main content
Glama
MIT License
26,193
19,308
  • Linux
  • Apple
v0.2.28.md1.57 kB
This release brings advanced code analysis capabilities through Tree-sitter integration, along with contributions from community members. # What's New 🚀 ## Code Compression with Tree-sitter (#336) - Added intelligent code compression feature for optimizing LLM prompts - Implemented language-specific Tree-sitter queries for accurate code parsing - Supports multiple languages including JavaScript/TypeScript, Python, Rust, Go, C/C++, C#, Ruby, Java, PHP, and Swift > [!NOTE] > This is an experimental feature that we'll be actively improving based on user feedback and real-world usage > Known issue: https://github.com/yamadashy/repomix/issues/359 ### Example Using compression via CLI: ```bash repomix --compress ``` Before: ```typescript const calculateTotal = (items: ShoppingItem[]) => { let total = 0; for (const item of items) { total += item.price * item.quantity; } return total; } interface Item { name: string; price: number; quantity: number; } ``` After compression: ```typescript const calculateTotal = (items: ShoppingItem[]) => { interface Item { ``` Special thanks to @huy-trn for the initial implementation of this feature! His groundwork with Tree-sitter integration laid the foundation for this powerful enhancement to Repomix. # How to Update ```bash npm update -g repomix ``` --- As always, if you encounter any issues or have suggestions, please let us know through our GitHub issues or join our [Discord community](https://discord.gg/wNYzTwZFku) for support.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yamadashy/repomix'

If you have feedback or need assistance with the MCP directory API, please join our Discord server