feat: update to latest AI models and simplify README

- Update AI models to latest versions:
  - Gemini: gemini-2.5-flash
  - OpenAI: gpt-5
  - Groq: groq/compound
- Drastically simplify README (90% shorter)
- Focus on quick start and essential commands
- Update version to 0.6.2
This commit is contained in:
s41r4j
2025-10-09 23:56:48 +05:30
parent a1b0d80fed
commit 6832a598cb
7 changed files with 110 additions and 581 deletions
+47 -105
View File
@@ -1,116 +1,58 @@
# Changelog
## [0.6.0] - Enhanced GIMS - 2024-12-19
## [0.6.2] - 2024-12-19
### 🚀 Major Features Added
#### **Interactive & Enhanced UX**
- **Interactive Commit Wizard** (`g int`) - Guided workflow with multiple AI suggestions
- **Enhanced Status** (`g status`) - Git status with AI insights and project analysis
- **Preview Mode** (`g preview`) - See commit preview with AI message and diff analysis
- **Setup Wizard** (`g setup`) - Interactive first-time configuration
- **Progress Indicators** - Visual feedback for all AI operations
#### **Smart Configuration Management**
- **Config Command** (`g config`) - Manage settings with `--set`, `--get`, `--list`
- **Project Type Detection** - Automatically detects React, Node, Python, etc.
- **Enhanced .gimsrc** - More configuration options and better validation
- **Global vs Local Config** - Project-specific or user-wide settings
#### **Advanced Git Operations**
- **Smart Sync** (`g sync`) - Intelligent pull with rebase/merge options
- **Enhanced Stash** (`g stash`) - AI-generated stash descriptions
- **Better Amend** (`g amend`) - Smart amend with AI message generation or `--no-edit`
- **Enhanced List** (`g ls`) - Unified list command with `--detailed` and `--limit` options
#### **AI & Performance Improvements**
- **Multiple Suggestions** (`g s --multiple`) - Generate 3 different commit message options
- **Caching System** - Cache AI responses for faster repeated operations
- **Provider Fallback Chain** - Automatic fallback between AI providers
- **Better Error Handling** - Actionable guidance and helpful suggestions
### 🔧 Architecture Improvements
#### **Modular Design**
- Split monolithic `gims.js` into focused modules:
- `lib/utils/` - Colors, progress indicators
- `lib/config/` - Configuration management
- `lib/git/` - Git analysis and insights
- `lib/ai/` - AI provider management
- `lib/commands/` - Interactive commands
#### **Enhanced Components**
- **GitAnalyzer** - Smart git status analysis with insights
- **AIProviderManager** - Improved AI handling with caching and fallbacks
- **ConfigManager** - Comprehensive configuration with validation
- **InteractiveCommands** - User interaction and guided workflows
- **Progress** - Visual feedback system
### 📊 User Experience Enhancements
#### **Better Feedback**
- Progress spinners for AI operations
- Success/warning/error indicators with colors
- Actionable error messages with suggestions
- Step-by-step guidance in interactive mode
#### **Smart Defaults**
- Auto-detection of project type and commit style
- Intelligent provider selection
- Context-aware configuration suggestions
#### **Enhanced Commands**
- All existing commands improved with progress indicators
- Better error handling and user guidance
- Consistent color coding and formatting
- More informative output
### 🛠️ Configuration Options Added
#### **New Environment Variables**
- `GIMS_AUTO_STAGE` - Auto-stage changes by default
- `GIMS_CACHE` - Enable/disable AI response caching
- `GIMS_PROGRESS` - Show/hide progress indicators
- `GIMS_MAX_DIFF_SIZE` - Maximum diff size for AI processing
#### **New .gimsrc Options**
```json
{
"autoStage": false,
"cacheEnabled": true,
"progressIndicators": true,
"maxDiffSize": 100000,
"projectType": "react"
}
```
### 📈 Performance Improvements
- **Caching**: AI responses cached for 1 hour
- **Modular Loading**: Components loaded on-demand
- **Better Memory Management**: Efficient diff processing
- **Faster Startup**: Optimized initialization
### 🔄 Breaking Changes
- Removed `largelist` command (merged into `list --detailed`)
- Changed some internal APIs (affects programmatic usage only)
- Updated minimum Node.js version recommendation to 20+
### 🐛 Bug Fixes
- Fixed git status parsing for different git versions
- Improved error handling for large diffs
- Better clipboard handling across platforms
- Fixed configuration file validation
### 🚀 AI Model Updates
- **Updated to latest AI models**:
- Gemini: `gemini-2.5-flash` (latest and fastest)
- OpenAI: `gpt-5` (latest GPT model)
- Groq: `groq/compound` (latest Groq model)
### 📚 Documentation
- Completely updated README with new features
- Added comprehensive examples for all new commands
- Enhanced configuration documentation
- Added troubleshooting guide
- **Simplified README**: Reduced from verbose to concise format
- **Focused on essentials**: Quick start, main commands, examples
- **Better readability**: Easier to scan and understand
### 🧹 Repository Cleanup
- Removed development-specific files (.kiro/, .github/, coverage/)
- Updated .gitignore to exclude dev directories
- Cleaner package for npm distribution
---
## [0.6.1] - 2024-12-19
### ✨ Enhanced User Experience
- **Single-letter aliases** for main workflow commands
- **Quick API setup**: `g setup --api-key <provider>`
- **Better onboarding**: Clear setup instructions with direct links
- **Quick help**: `g q` command for instant reference
### 🔧 Improved Commands
- `g s` - Status (enhanced git status)
- `g i` - Interactive (guided commit wizard)
- `g p` - Preview (see what will be committed)
- `g l` - Local (AI commit locally)
- `g o` - Online (AI commit + push)
- `g h` - History (numbered commit log)
- `g a` - Amend (smart amend with AI)
- `g u` - Undo (undo last commit)
---
## [0.6.0] - 2024-12-19
### 🚀 Major Enhanced Release
- **Interactive commit wizard** with multiple AI suggestions
- **Enhanced git status** with AI insights and project analysis
- **Modular architecture** for better performance and maintainability
- **Smart configuration** with project type detection
- **Progress indicators** and better error handling
- **Caching system** for improved AI response times
---
## [0.5.4] - Previous Version
- Basic AI-powered commit messages
- Simple configuration
- Core git operations
- Single-file architecture
- Core git operations