Skip to main content

New Patch - v.0.1.3

Smartcommit Team
Maintainers

This release refines smartcommit init reset experience so existing provider credentials are preserved and reused instead of forcing API key re-entry. It also adds global interactive cancellation handling to remove abrupt exits and top-level await warnings, and improves smartcommit plan so untracked files in new directories, project root directory and paths with spaces are detected reliably.

Added

  • Stored-credential-aware reset flow in smartcommit init that lets users pick from already configured providers.
  • Reused-credential messaging during init to clarify when Keychain/file credentials are being used.

Changed

  • smartcommit init reset now recreates .smartcommitrc without deleting stored provider credentials.
  • Reset confirmation now cancels cleanly when the user answers No, without forcing provider selection.
  • During reset with stored credentials, init now asks for model and config prompts (language, maxDiffChars) but skips API key prompts for providers that already have credentials.
  • Default model for stored providers during reset now resolves from existing provider-specific config when available, and falls back to provider defaults.
  • Global CLI bootstrap now uses a non-top-level-await runner with centralized cancellation handling for interactive flows.

Fixed

  • Fixed a regression where init reset could remove existing credentials and then require API keys again.
  • Fixed a UX bug where declining reset could still continue into provider selection.
  • Fixed interactive cancellation (Ctrl+C) across providers, providers login/logout, init, and staged-file confirmations to exit cleanly with Operation cancelled by user. and code 130.
  • Fixed Warning: Detected unsettled top-level await when aborting provider selection flows.
  • Fixed smartcommit plan not recognizing untracked files inside newly created directories.
  • Fixed smartcommit plan not recognizing untracked files with spaces/escaped characters in file paths.
  • Fixed no-diff feedback for empty-folder-only changes by showing a clear message that Git does not track empty directories and suggesting .gitkeep.