Releases: yanmxa/gencode
Releases · yanmxa/gencode
v1.0.0 - Go Rewrite
GenCode v1.0.0
Complete rewrite in Go. Fast, single binary, no dependencies.
Features
- Multi-provider support (Anthropic, OpenAI, Google)
- Built-in tools (Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch)
- Interactive TUI with diff preview
- Non-interactive mode for scripting
Install
curl -fsSL https://raw.githubusercontent.com/yanmxa/gencode/main/install.sh | bashv0.3.0 - Configuration System and Migration Support
New Features
Configuration System
- Multi-level configuration support (global, user, project levels)
- Config file format: YAML, JSON, or TOML
- Automatic config loading and merging with priority order
- Schema validation for configuration files
- Migration support for legacy settings format
Migration Tool
- Added
scripts/migrate.tsfor upgrading legacy settings - Run
npm run migrateto convert old format to new config system - Safe migration with backup of original settings
- Clear migration logs and error reporting
Plan Mode & Checkpointing
- Interactive plan mode for multi-step workflows
- Conversation checkpointing for resuming sessions
- Cost tracking across providers
- Operating modes: interactive, plan, batch
Provider Improvements
- Enhanced provider registry with better error handling
- Improved provider configuration management
- Better support for Anthropic, OpenAI, Gemini, and Vertex AI
- Unified provider interface for consistency
Improvements
- Enhanced memory system with conversation persistence
- Better documentation for configuration system
- Improved error messages and logging
- Updated TypeScript types for better type safety
- Comprehensive test coverage for config system
Breaking Changes
- Configuration file format has changed (use migration tool)
- Legacy settings format is deprecated (migration tool available)
Migration Guide
Run the migration command to upgrade:
npm run migrateThe migration tool will:
- Detect your legacy settings format
- Convert to new configuration format
- Backup original settings
- Provide migration summary
For more details, see Configuration System Proposal
Installation
npm install -g gencode-ai@0.3.0Or update existing installation:
npm update -g gencode-aiv0.2.0 - Plan Mode & Checkpointing
New Features
Operating Modes
- Three modes: normal, plan, accept (cycle with
Shift+Tab) - Plan mode: read-only exploration for designing implementations
- Accept mode: auto-approve edits without confirmation
- Inline status indicators below input prompt:
⏸ plan mode on (shift+tab to cycle)⏵⏵ accept edits on (shift+tab to cycle)
Checkpointing System
- Track all file changes during session
/changescommand to list modifications/rewindcommand to undo changes (single or all)
Cost Tracking
- Per-provider pricing models (Anthropic, OpenAI, Gemini)
- Usage tracking with input/output token counts
- Cost calculation for API calls
UI Components
- ModeIndicator: visual mode selector
- PlanApproval: plan review and approval UI
- Simplified Claude Code style status display
Improvements
- Enhanced session management with interrupt cleanup
- Updated provider implementations with usage tracking
- Better error handling for incomplete tool calls
Commands
/plan- Enter plan mode/normal- Exit to normal mode/accept- Enter auto-accept mode/changes- List file changes/rewind [n|all]- Undo file changes
v0.1.3 - AskUserQuestion Tool
New Features
- AskUserQuestion Tool - Structured user questioning with Claude Code style UI
- Progress Bar - Multi-question navigation with step indicators (
← □ DB Type □ Purpose ✓ Submit →) - Numbered Options - Options displayed as numbered list with descriptions
- Review Screen - Summary and confirmation before submitting answers
- Custom Input - "Type something" option for user-defined answers
Improvements
- Auto-approve permission for AskUserQuestion (no confirmation needed)
- System prompt guidance to ensure LLM uses tool instead of plain text
- Special tool display format with
ctrl+oexpand hint
Bug Fixes
- Fix spinner not clearing on interrupt (ESC) or cancel
Install
npm install -g gencode-ai@0.1.3