Skip to content

ht-mcp v0.1.2: Fix Enter key for interactive CLI tools

Choose a tag to compare

@chilang chilang released this 18 Jun 17:35
· 34 commits to main since this release

This release fixes a critical issue with Enter key handling that was causing interactive CLI tools (like Svelte CLI, Vite CLI) to hang when trying to confirm selections.

What's Fixed

  • Interactive CLI tools now work perfectly (Enter key accepts confirmations)
  • Text editors maintain proper single line breaks (no double newlines)
  • All terminal applications work correctly with proper key handling

Technical Changes

  • Replace custom key parsing with ht-core canonical parsing functions
  • Use proper Enter key mapping (\r instead of \r\n) for interactive compatibility
  • Eliminate duplicate key parsing logic for better maintainability
  • Make ht-core parse_key functions public for reuse
  • Fix submodule reference issues in CI
  • Consolidate CI workflows to prevent duplicate builds
  • Apply proper code formatting standards

Testing

  • Interactive CLI tools: Svelte CLI full workflow tested
  • Text editors: vim, emacs, nano all tested with proper line spacing
  • No regressions: All existing functionality preserved
  • CI builds passing on all platforms (Ubuntu, macOS, Windows)

Installation

cargo install --git https://github.com/memextech/ht-mcp ht-mcp

This release ensures ht-mcp works seamlessly with both interactive CLI tools and text editors, resolving a major compatibility issue that affected user workflows while improving CI infrastructure reliability.