Skip to content

Releases: yanmxa/gencode

v1.0.0 - Go Rewrite

23 Jan 14:54

Choose a tag to compare

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 | bash

v0.3.0 - Configuration System and Migration Support

17 Jan 05:12

Choose a tag to compare

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.ts for upgrading legacy settings
  • Run npm run migrate to 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 migrate

The migration tool will:

  1. Detect your legacy settings format
  2. Convert to new configuration format
  3. Backup original settings
  4. Provide migration summary

For more details, see Configuration System Proposal

Installation

npm install -g gencode-ai@0.3.0

Or update existing installation:

npm update -g gencode-ai

v0.2.0 - Plan Mode & Checkpointing

16 Jan 16:12

Choose a tag to compare

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
  • /changes command to list modifications
  • /rewind command 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

16 Jan 14:21

Choose a tag to compare

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+o expand hint

Bug Fixes

  • Fix spinner not clearing on interrupt (ESC) or cancel

Install

npm install -g gencode-ai@0.1.3