Release notes
Nanocoder v1.20.3
What's Changed
Fixed
search_file_contentsreturning excessive tokens by truncating long matching lines to 300 characters. Previously, searching in files with long lines (minified JS, base64 data, etc.) could return ~100k tokens for just 30 matches.Added validation to
read_fileto reject minified/binary files (lines >10,000 characters). These files consume excessive tokens without providing useful information to the model. Usemetadata_only=trueto still check file properties.Fixed
web_searchresult count display showing mismatched values (e.g., "10 / 5 results"). The formatter now correctly uses the same default as the search execution.Improved
web_searchandfetch_urlformatter layouts to matchexecute_bashstyle with consistent column alignment and spacing.
If there are any problems, feedback or thoughts please drop an issue or message us through Discord! Thank you for using Nanocoder. 🙌
Installation
npm install -g @nanocollective/nanocoder
Usage
nanocoder
Full Changelog: https://github.com/Nano-Collective/nanocoder/compare/v1.20.2...v1.20.3