Skip to content

Releases: AhmedOsman101/commit-sage-cli

v1.8.0

08 May 17:48
d6d3caa

Choose a tag to compare

1.8.0 (2026-05-08)

Features

  • New AI Providers: add support for Moonshot AI, Z.AI, MiniMax, and OpenRouter providers (c2f1300)
  • Debugging: add verbose debug logging via the DEBUG=1 environment variable (bd5fa5a)
  • OpenAI provider support: add dedicated OpenAI provider configuration and validation (c4d74f7, e9c979a)
  • Custom OpenAI API key env var: allow overriding the OpenAI API key source in config (f6d9dea)
  • Git analysis: support staged changes analysis (2c45a55)

Configuration

  • Add a new openrouter section to config.json for OpenRouter-specific settings
  • Add default values to DEFAULT_CONFIG for all new providers

Validation

  • Validate OPENROUTER_API_KEY against the known sk-or-v1- prefix format
  • Update config.schema.json with new provider types and the openrouter section
  • Add schema validation for the OpenAI provider configuration (e9c979a)

Bug Fixes

  • config: correct syntax error in constants file (d896b6b)
  • config: remove unnecessary await in API key validation (fbdcd7d)
  • config: remove unnecessary await in migrateConfig (cb84cc1)
  • remove openrouter from the schema required array (0adddd9)
  • resolve an infinite migration loop during config loading (efd8d90)
  • use DEFAULT_CONFIG for optional baseUrl and require provider.model (c057453)

v1.7.0

08 May 17:38

Choose a tag to compare

1.7.0 (2026-05-08)

Features

  • add CommitFormat type for commit message formatting (142f53a)
  • ai: use extractReasoningMiddleware for thinking tag removal (fbd2bf0)

v1.6.0

26 Feb 23:58
7297f94

Choose a tag to compare

1.6.0 (2026-02-26)

Features

  • AI Provider Expansion: Consolidate AI provider configuration into a unified structure

    • Remove dedicated provider config sections (gemini, openai)
    • Introduce unified provider config with type and model fields
    • Add support for new providers: Anthropic, DeepSeek, Mistral, Xai
    • Implement automatic config migration for existing users
  • Thinking Tag Removal: Strip thinking tags from LLM output

    • Add utility function to remove unwanted <thinking>, <tool_thinking> tags
    • Apply stripping to Gemini and OpenAI services
    • Integrate reasoning middleware for the Ollama service to handle reasoning models
  • Installers: Add installer logic for Commit Sage

    • Build binaries for Linux, macOS, and Windows
    • Create Windows installer using NSIS
    • Add an interactive Linux installer script
    • Create macOS dmg installer (later disabled)
  • Build & Release:

    • Switch from Inno Setup to NSIS for Windows installer
    • Update CI workflow for artifact management
    • Add force release option to the release script

Bug Fixes

  • Fix installer output and binary paths

Dependencies

  • Update AI SDK packages to the latest versions
  • Upgrade cliffy and std libraries
  • Update ollama-ai-provider-v2

Release v1.4.0

14 Nov 22:51
9305a2c

Choose a tag to compare

1.4.0 (2025-11-14)

Features

  • config: align AI provider configs with AI SDK (13f20e4)
  • config: update base URLs and type definitions (705a2d7)
  • models: Migrate AI services to use vercel's AI SDK (cc562f6)
  • error: normalize and classify AI errors (4addd7c)
  • providers: remove Codestral AI provider (16e0f37l)
  • Expand OpenAI model config to support any model string (fa784d4)
  • handle deleted files in git blame analyzer (f8e4051)

Bug Fixes

  • detect deleted files in git status (b6e32cd)

Performance Improvements

  • improve file deletion check in git service (ae206fe)

Release v1.3.0

16 Jun 14:16

Choose a tag to compare

1.3.0 (2025-06-16)

Features

  • add arrirpc schema (1fbfabb)
  • add config file validation (0aa551c)
  • add config validation service (53596c1)
  • add general and model url validation (2c7dbb0)
  • Add release-please config file (ba99102)
  • add url and integer validation methods (a580b5c)
  • config: enhance api key handling (02056d0)
  • configure release-please for multi-package (8e2ce23)
  • config: validate config and API keys (4be2a7c)
  • create configValidationService.ts (2e43489)
  • improve config validation error messages (e810d4b)

Bug Fixes

  • config: improve config validation and error handling (43e89b6)
  • handle empty commit messages from ai service (38a3762)
  • remove extra blank line in Logger.ts (7702397)
  • update config schema URL (1f940f7)

Release v1.1.0

01 Jun 22:53

Choose a tag to compare

v1.1.0 - 2025-05-23

Features

  • Configuration Schema and Types:
    • Added config.schema.json and modified configServiceTypes.d.ts for improved configuration validation and type safety. (#045d898, #4d66752)
    • Introduced $schema property in Config type and updated schema to JSON Draft-07. (#4d66752)
    • Changed configuration file path to config.json. (#4d66752)
  • API Key Handling:
    • Improved API key input and storage with @cliffy/prompt/secret, replacing gum for compatibility. (#934b2e5)
    • Enhanced shell config path mapping for better compatibility. (#934b2e5)

Improvements

  • Logging and Error Handling:
    • Simplified error message formatting in the logger for clearer output. (#9fc3ec3)
    • Improved error logging in Git blame operations. (#0eaa9fc, #934b2e5)
    • Removed redundant string quotes in logger output for cleaner logs. (#9fc3ec3)

Fixes

  • Fixed handling of files with spaces in their names by replacing node's path module with FileSystemService and improving file path quoting. (#65edf1d)
  • Updated configuration schema URL to point to the main branch for consistency. (#b21caa0)

Documentation

  • Updated Readme.md with reordered installation options and added instructions for prebuilt binaries. (#8e01aef, #6c09ff6)