Nano ProjectReleased

Nanocoder 1.21.0: Enhanced Configuration, Smarter Tool Handling, and Better Reliability

We're excited to announce Nanocoder 1.21.0, a release focused on making your local AI coding experience more powerful, flexible, and reliable. This version introduces hierarchical configuration management, intelligent tool support detection, and a collection of quality-of-life improvements that developers have been asking for.

Hierarchical Configuration Loading

One of the most requested features is now here: project-level configuration overrides. Nanocoder 1.21.0 introduces hierarchical configuration loading for both provider configs and MCP servers. This means you can now:

  • Set up global provider configurations in ~/.config/nanocoder/
  • Override them with project-specific settings in your local .nanocoder/ directory
  • Have Claude Code's object-style MCP configuration format automatically recognized and supported

This makes it incredibly easy to manage different configurations for different projects without manually switching settings between tasks.

Automatic Tool Support Detection

Models vary widely in their capabilities - some don't support function calling at all. We've added automatic tool support error detection with intelligent retry logic. When Nanocoder detects that a model doesn't support tool calling, it automatically retries the request without tools, allowing the conversation to continue seamlessly. No more errors or failed requests for models with limited capabilities.

Message Compression at Scale

Working with large conversations can be challenging. The new /compact command lets you compress your conversation context with the --restore flag to recover original messages if needed. Combined with auto-compact functionality and consistent token counting, managing lengthy sessions is now more straightforward.

New Commands & Configuration Options

We've added several useful commands and options:

  • /quit - A new alternative to exit Nanocoder (complementing the existing exit methods)
  • /nanocoder-shape - Select your preferred branding font styles for custom commands
  • --version and --help - Quick reference CLI options at your fingertips
  • alwaysAllow configuration option - Mark trusted MCP server tools to skip confirmation prompts

Under the Hood

Beyond these headline features, we've fixed critical issues:

  • Bash tool now properly cleans up processes - Previously, background processes could persist after command completion
  • Improved bash security - Resolved shell command security scanning alerts from environment values
  • Better error handling - Enhanced tool error detection and retry mechanisms
  • Better UX - Improved /mcp and /help command styling with better colors and formatting

Try It Out

We love getting developer feedback so try it out today!

If you have feedback or encounter any issues, please reach out through our GitHub issues page or join us on Discord.

Happy coding! 🙌

Want to join the discussion? Head over to GitHub to share your thoughts!

View Discussion on GitHub