9 Commits

Author SHA1 Message Date
leetcrypt 3d81d01ebf docs(readme): add terminal theme gallery
Show super-man's flag browser across dracula/monokai/nord/solarized-dark
to illustrate that it adapts to any terminal palette.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-10 00:18:19 -07:00
leetcrypt 6a6865cbf3 docs: add AI-mode terminal demo (NL2SH) to README
Headless tmux-recorded demo of `super-man ai`: natural-language→bash via
local NL2SH, the -q quiet/pipeable mode, and --compare (NL2SH vs
qwen2.5-coder) side by side. Rendered gif+mp4 via the video-toolkit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-09 21:34:58 -07:00
leetcrypt 2458e8a4f7 feat(ai): default to NL2SH + add -q/--quiet for non-interactive output
Make westenfelder/NL2SH the default `ai` model (most accurate in the
25-query benchmark, only model handling hard multi-stage tasks) and add a
-q/--quiet/--raw flag that prints just the generated command to stdout
(errors to stderr) so `ai` composes in scripts and pipelines.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-09 16:49:31 -07:00
leetcrypt a699989088 feat(ai): make ai mode model-configurable + add --compare for A/B testing
Default the ai mode to qwen2.5-coder:1.5b instead of the hardcoded (and
uninstalled) westenfelder/NL2SH, which left ai mode broken. The model is now
configurable via SUPERMAN_AI_MODEL / --model, with markdown-fence stripping and
a coder-specific prompt wrapper so general coder models emit a single bare
one-liner. NL2SH still receives the raw query. Adds --compare to run multiple
models side by side (SUPERMAN_AI_COMPARE_MODELS) with timing for benchmarking.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-09 14:24:40 -07:00
leetcrypt 0c6b871713 docs: document all super-man modes in README
Add ask/task/category/explain/ai modes and requirements to the usage
section, matching the script's actual --help output.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-08 16:29:11 -07:00
leetcrypt 34dc19a8b4 docs: add terminal demo (gif/mp4/cast) + README
Record an interactive demo showing entry open -> flag browse -> Esc back
to the home screen with no intermediary step, then repeat for another
command. Add a root README that embeds the GIF and links the MP4/cast.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-05 21:09:39 -07:00
Trilltechnician 3ce1d2ec1f feat(ui): Enhanced flag display with color coordination and clean separation
Display Enhancements:
• Added color-coordinated flag lines (bold yellow flags, dim separator)
• Enhanced bottom preview panel (3 lines → 8 lines)
• Implemented bordered box design with flag 🏴 and description 📝 emojis
• Added clean flag/description separation using AWK-based parsing
• Flag section shows ONLY bash input (e.g., -s sig)
• Description section shows ONLY explanation text
• Cyan bold for flags, green for descriptions in preview
• Handles missing descriptions with dimmed "(No description available)"

Technical Improvements:
• Modified extract_all_flags() to add ANSI color codes to output
• Enhanced browse_flags_fuzzy() preview with intelligent parsing
• Uses AWK field separator on em dash (—) for robust splitting
• Replaced xargs with sed for trimming to avoid flag interpretation
• Added fallback handling for flags without descriptions

Project Organization:
• Moved documentation files to docs/ directory for better structure

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-01 13:22:46 -07:00
Trilltechnician a7aa456cd2 Initial commit: Add bash-helper.sh with comprehensive documentation 2025-10-27 20:19:45 -07:00
trill-technician 4484aaece2 Initial commit 2025-10-27 20:19:45 -07:00