Repository navigation
Add TUI interactive mode and UMAP subcommands - #20
Merged
Merged
Conversation
…ility - Add ratatui-based TUI as default mode (`ragnar` launches TUI, CLI commands still work normally e.g. `ragnar index .`) - Move train-umap/apply-umap to `ragnar umap train`/`ragnar umap apply` subcommands via new cli_umap.rb - Fix TTY::ProgressBar ioctl crash in TUI mode by falling back to text progress when $stdout doesn't support ioctl (StringIO in TUI) - Improve UMAP error handling: catch LAPACK and index-out-of-bounds panics with retry logic and helpful error messages - Update error messages to reference new `ragnar umap train` command - Update Gemfile to use released thor-interactive 0.1.0.pre.6, clusterkit 0.2.6.pre, and ratatui_ruby - Update README: new TUI section, corrected UMAP commands, acknowledgments - Add 17 specs for cli_umap subcommand (310 total, 0 failures) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ragnarwith no arguments now launches a ratatui-based TUI with auto-completion, persistent history, and live output. All CLI commands continue to work normally (e.g.ragnar index .).train-umap/apply-umaptoragnar umap train/ragnar umap applyas a proper Thor subcommand.TTY::ProgressBarcrashes with ioctl errors in TUI mode (stdout is StringIO). Falls back to text-based progress when ioctl is unavailable.thor-interactive 0.1.0.pre.6,clusterkit 0.2.6.pre, andratatui_ruby ~> 1.4.Test plan
ragnarlaunches TUIragnar index .works from CLIragnar umap trainandragnar umap applywork in both CLI and TUI🤖 Generated with Claude Code