Skip to content

πŸ’¬ Interactive Chat Interface with OpenCode Integration

Choose a tag to compare

@electroheadfx electroheadfx released this 08 Feb 12:35
· 5 commits to main since this release

Release v0.3.0

Title:

πŸ’¬ Interactive Chat Interface with OpenCode Integration


Description:

New Features Release (v0.3.0)

This release introduces a powerful interactive chat interface and OpenCode web integration, transforming efx-face-manager into a complete MLX model interaction platform.

πŸš€ What's New

Interactive Chat Interface

  • Built-in chat UI for direct model interaction within the TUI
  • Conversation history management with persistent storage
  • Real-time markdown rendering with syntax highlighting (Glamour/Dracula theme)
  • Multi-exchange navigation and scrolling
  • Conversation management: create new, rename, delete conversations
  • Smart viewport with auto-scroll and exchange-level navigation
  • Visual spinner for streaming responses

OpenCode Web Integration

  • Launch browser-based chat interface (OpenCode) alongside TUI
  • Automatic runner script generation for seamless server integration
  • One-click launch with 'o' key from server manager
  • Inline execution support with 'O' key (suspend/resume TUI)
  • Clipboard copy for manual execution

Enhanced User Experience

  • Context-aware ESC navigation (chat history ↔ chat view)
  • Keyboard shortcuts: ctrl+n (new chat), ctrl+d (delete), ctrl+r (rename)
  • Exchange-level browsing with e key for focused message review
  • Auto-save conversations with model/port association
  • Responsive layout with dynamic viewport sizing

πŸ”§ Technical Improvements

  • New chat package with Runner, Storage, and Conversation models
  • SQLite-based conversation persistence
  • Markdown renderer integration with word-wrap support
  • Spinner component for loading states
  • Text input with focus management
  • Code cleanup: removed unused width parameter from renderMessages

πŸ“¦ Installation

curl -fsSL https://raw.githubusercontent.com/electroheadfx/efx-face-manager/main/install.sh | bash

🎯 Usage

From the Server Manager with a running server:

  • Press c to open interactive chat
  • Press o to copy OpenCode launch command
  • Press O to launch OpenCode inline (suspend TUI)
  • Press h to view chat history and manage conversations

Full Changelog: v0.2.0...v0.3.0