github loocor/codmate 0.5.8

latest release: 0.5.9
one month ago
CleanShot 2025-12-31 at 17 12 48

🚀 Major New Features

AI-Powered Content Generation

  • Session title and comment generation using LLM with intelligent material building
    • Automatic summarization from conversation turns with deduplication and code/log trimming
    • Configurable prompt templates (payload/prompts/title-and-comment.md)
    • Available via context menu and Edit Session dialog with sparkles icon
    • Background processing to prevent UI blocking
  • 🎯 Task title and description generation based on session metadata
    • Two generation strategies: session metadata aggregation and content-based inference
    • Prompt templates for both strategies (payload/prompts/task-title-and-description.md, task-title-only.md)
    • Integrated into task edit dialog with overwrite confirmation
  • 📝 Enhanced commit message generation with external prompt templates
    • Support for payload/prompts/commit-message.md template
    • Configurable max tokens and system prompt
    • Preserves user-edited commit messages when restoring panel state

Extensions Import System

  • 🔌 MCP Servers import with Home and project-level scanning
    • Import from ~/.config/mcp and project directories
    • Conflict resolution with Skip/Overwrite/Rename strategies
    • Unified import UI with preview and confirmation
  • 🧩 Skills import with metadata parsing from SKILL.md
    • Scan Home and project-level skills directories
    • Automatic metadata extraction and validation
  • ⌨️ Commands import with Markdown/TOML parsing support
    • Import from Home and project command folders
    • Unified import workflow across all extension types
  • 📁 Project-level import buttons in Project Editor
    • Scan project-local extensions (MCP, Skills, Commands)
    • Integrated into Settings › Extensions tabs

Search Enhancements

  • 🔍 Tasks search capability added to global search
    • New task result type with checklist icon
    • Search scope filter for Tasks
    • Auto-navigation to task workspace on selection
    • Metadata root path configuration (~/.codmate/tasks/metadata)

🎨 UI/UX Improvements

Context Menus

  • 🎯 Icons added to Review mode menus (Diff/History tree, Explorer mode)
    • Stage, unstage, copy, reveal, discard actions with system icons
  • 📋 Icons added to Projects List context menus
    • New project and auto assign actions with visual indicators
  • 🎨 Improved UI consistency across all context menus

Session List

  • ✂️ Text truncation for session titles to prevent overflow
  • 📐 Improved spacing with right padding (32pt) and icon spacing (8pt left padding)
  • 🎯 Better visual separation between title text and trailing icons

Task List

  • 🔄 Unified task creation/editing by removing separate NewTaskSheet
  • 📏 Enhanced EditTaskSheet layout (520px width, improved spacing, focus management)
  • 🎨 Improved task row UI with collapse/expand chevron button replacing ellipsis

Embedded Terminal

  • 🔗 Unified embedded new entrypoint across project menus
  • 🔔 Centralized embedded new session notifications

🛠️ Development Tools

Makefile Enhancements

  • 🐛 Debug targets for enhanced development workflow
    • make debug: Build and run with terminal output (stdout/stderr)
    • make debug-logs: Stream live logs from running CodMate app
    • make debug-app: Build, launch app in background, and stream logs in foreground
    • Improved development experience with real-time log monitoring

🔧 Technical Improvements

Architecture

  • 🧠 SessionSummaryMaterialBuilder for intelligent summarization
    • Consecutive message deduplication (O(n) complexity)
    • Code block trimming (first 5 + last 3 lines)
    • Error log trimming (first 10 + last 5 lines)
    • Middle message removal to fit length constraints
    • Fast filtering with early exit optimization
  • 📦 ExtensionsImportModels and shared ExtensionsImportSheets UI
  • 🔄 Import services for MCP (MCPImportService), Skills (SkillsImportService), and Commands (CommandsImportService)
  • 📝 ConversationTurn helper methods for message extraction

Provider/API Enhancements

  • 💳 Enhanced plan type detection with rate limit tier mapping
  • 🍎 Apple billing support in Claude usage API client

Code Quality

  • 📝 Improved code organization with better separation of concerns
  • 🔍 Enhanced error handling in generation workflows
  • 📊 Comprehensive OSLog logging for debugging

📊 Change Statistics

  • Files Changed: 48 files
  • Code Changes: +3,536 / -256 lines (net: +3,280 lines)
  • Major Additions:
    • AI generation infrastructure (SessionSummaryMaterialBuilder, generation extensions)
    • Extensions import system (3 import services, unified UI)
    • Tasks search integration
    • Debug build targets
  • Major Improvements:
    • Context menu consistency
    • Session list visual polish
    • Task editing workflow

Upgrade Recommendation: This release introduces AI-powered content generation for sessions and tasks, significantly reducing manual metadata entry. The new extensions import system simplifies onboarding of MCP servers, skills, and commands from Home and project directories. Enhanced search capabilities now include tasks, and improved UI consistency makes the application more polished. Developers will appreciate the new debug targets for easier troubleshooting.

Don't miss a new codmate release

NewReleases is sending notifications on new releases.