New Minor Version! New Provider, new commads, better performance and more.
This release brings a major provider expansion: Smartcommit now supports OpenRouter as a first-class AI provider. You can connect an OPENROUTER_API_KEY, pick any OpenRouter provider/model ID, store credentials locally through the same Keychain/fallback flow, and use it across init, providers login, providers, providers model, providers logout, and plan. It also improves provider management by hiding already configured providers during smartcommit providers login, adding smartcommit providers model to update the active provider model, and guiding users to provider management commands when no new provider is available to configure. It also adds a new smartcommit update command to update the global CLI installation via npm.
Added
- OpenRouter is now available as a first-class API-key provider.
- Added
OPENROUTER_API_KEYsupport, with environment variables still taking precedence over stored credentials. - Added OpenRouter credential storage through the existing OS Keychain/fallback
auth.jsonprovider flow usingprovider:openrouter. - Added OpenRouter model selection in
smartcommit init,smartcommit providers login, andsmartcommit providers model. - OpenRouter defaults to
google/gemini-3.1-flash-lite, while allowing any OpenRouterprovider/modelID. - Added
smartcommit updateto update the globally installed@jccm6/smartcommit-clipackage. smartcommit updaterunsnpm install --global @jccm6/smartcommit-cli@latestwithout interactive prompts and reports command output.- Added clear error handling when
npmis not available inPATH. - Added
smartcommit providers modelto change the currently active provider model in.smartcommitrc.
Changed
smartcommit providers loginnow lists only providers that do not already have stored credentials.- Non-interactive
smartcommit providers loginnow auto-selects the first non-configured provider, matching the filtered provider list behavior. - README provider-auth documentation now reflects the filtered login behavior.
Fixed
- Fixed a UX issue where
smartcommit providers logincould still offer providers that were already configured. - Added a clear error when all providers are already configured:
All providers are already configured. Use smartcommit providers or smartcommit providers logout.