Skip to content

Latest commit

 

History

History
117 lines (95 loc) · 4.66 KB

File metadata and controls

117 lines (95 loc) · 4.66 KB

Changelog

v1.3.0

Features

  • Codex CLI Support - New support for OpenAI Codex CLI provider management
    • Separate provider management for Claude CLI and Codex CLI
    • persona add --target codex - Add provider for Codex
    • persona add --target claude - Add provider for Claude (default)
    • persona use --target codex <provider-id> - Switch Codex provider
    • persona use --target claude <provider-id> - Switch Claude provider
    • persona ls --target codex - List Codex providers
    • persona ls --target claude - List Claude providers

Codex-Specific

  • Wire API - Configure API type (responses/completions/chat)
  • Authentication Options - Support for custom env keys or OpenAI auth
  • Codex Templates - New template category for Codex-compatible providers (Ollama)

TUI Improvements

  • CLI Target Switching - Press Tab to switch between Claude and Codex mode
  • Target-Aware Provider List - Filter providers by selected CLI target
  • Enhanced Detail Panel - Shows target-specific configuration

Configuration Changes

  • Separate config storage for Claude (general/claude.json) and Codex (general/codex.toml)
  • Provider ID generation now includes target prefix for uniqueness
  • Active provider tracking split into activeClaudeProvider and activeCodexProvider

Refactoring

  • Extract dialog logic to useDialogs hook
  • Extract provider management to useProviders hook
  • Modularize TUI components (ProviderList, detail panels)
  • Add @iarna/toml for TOML file handling

v1.2.2

Features

  • Sync Command - New command to sync templates and themes from GitHub
    • persona sync - Sync all (templates and themes)
    • persona sync --templates - Sync only templates
    • persona sync --themes - Sync only themes
    • persona sync --force - Force overwrite existing files

Improvements

  • Directory Resolution - Optimized template and theme loading order:
    1. User directory: ~/.persona/templates/, ~/.persona/themes/
    2. Current working directory (for pnpm dev)
    3. Environment variable: $PERSONA_ROOT/
    4. Built-in fallback

Installation

  • Install script now automatically syncs templates and themes on first install

v1.2.0

Features

  • OpenTUI React TUI - Complete rebuild using @opentui/react with React-based components
  • Border Highlight - Active provider shows highlighted border in primaryLight color
  • Theme Switching - Press t in TUI mode to switch between themes (persona, gruvbox, dracula, nord)

Components

  • Header - ASCII art title with version
  • StatusBar - Keyboard shortcuts and status messages
  • DetailPanel - Provider details, ping results, messages
  • Dialogs - Confirm, Input, List dialogs

Refactoring

  • Remove legacy blessed-based TUI implementation
  • Migrate from imperative to component-based TUI

v1.1.28

Features

  • Theme System - Add 4 built-in themes (persona, gruvbox, dracula, nord)
  • Theme Command - Independent theme management (persona theme, persona theme list, persona theme <name>)
  • Env Command - Refactored from config (persona env, persona env edit)
  • Status Command - Show current status (persona status)
  • Templates Command - List available provider templates (persona templates)

Refactoring

  • Extract common utilities (mask, constants, provider)
  • Refactor theme loading with dynamic color support
  • Improve general config handling for nested objects
  • Fix env object flattening in config

Fixes

  • Fix config flatten for nested objects (e.g., statusLine.padding)
  • Fix general config env object handling
  • Fix border color highlight for active provider
  • Remove debug logs from TUI

v1.0.0

Features

  • Interactive TUI Mode - Terminal user interface with keyboard navigation
  • Provider Management - Add, edit, delete, and switch between AI providers
  • Multi-platform Support - Builds for macOS (ARM64/x64), Linux (x64/ARM64), Windows x64
  • 20+ Provider Templates - Including DeepSeek, Zhipu GLM, Kimi, MiniMax, Ollama, OpenAI, and more
  • Ping Testing - Test API connectivity directly from TUI
  • Config Editor - Edit general configuration in external editor
  • ASCII Art Title - Stylish header with "Persona" ASCII font
  • Dynamic Version - Auto-generated version from package.json

Fixes

  • Extract hardcoded colors to centralized theme
  • Fix TUI mouse click handling
  • Fix provider list navigation with blessed
  • Fix Chinese locale display (UTF-8)
  • Fix auto-show provider details when navigating
  • Fix ESC key behavior in dialogs
  • Fix cross-platform build dependencies

CI/CD

  • GitHub Actions release workflow
  • Multi-platform compilation (darwin/linux/windows)
  • Auto tag creation on version bump