refactor: rebrand bash-helper to super-man + ESC returns straight to menu
Rename bash-helper.sh -> super-man.sh and update all docs/tests to the super-man name and alias. In interactive mode, pressing Esc in the flag browser now returns directly to the home menu, removing the intermediary "Press Enter to search another command" prompt. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# Local AI Model Integration Options for Bash Buddy
|
||||
# Local AI Model Integration Options for Super Man
|
||||
|
||||
## Overview
|
||||
|
||||
This document outlines options for integrating local AI models into Bash Buddy for advanced natural language to bash command translation.
|
||||
This document outlines options for integrating local AI models into Super Man for advanced natural language to bash command translation.
|
||||
|
||||
## Why Local AI Models?
|
||||
|
||||
@@ -12,7 +12,7 @@ This document outlines options for integrating local AI models into Bash Buddy f
|
||||
- **Free**: No API costs
|
||||
- **Customizable**: Can fine-tune for specific use cases
|
||||
|
||||
## Recommended: Ollama (Best for Bash Buddy)
|
||||
## Recommended: Ollama (Best for Super Man)
|
||||
|
||||
### Why Ollama?
|
||||
|
||||
@@ -69,7 +69,7 @@ Bash command:"
|
||||
}
|
||||
|
||||
# Usage
|
||||
bash-helper ai "find all python files modified in last week"
|
||||
super-man ai "find all python files modified in last week"
|
||||
```
|
||||
|
||||
### Performance
|
||||
@@ -208,7 +208,7 @@ npm install -g @builder.io/ai-shell
|
||||
|
||||
**Note**: Requires OpenAI API key (not fully local), but excellent prompt engineering. Could adapt prompts for local models.
|
||||
|
||||
## Recommendation for Bash Buddy
|
||||
## Recommendation for Super Man
|
||||
|
||||
**Use Ollama with CodeLlama 7B**
|
||||
|
||||
@@ -223,8 +223,8 @@ npm install -g @builder.io/ai-shell
|
||||
### Implementation Plan (Phase 3)
|
||||
|
||||
```bash
|
||||
# New mode in bash-helper.sh
|
||||
bash-helper ai "find all log files modified today and compress them"
|
||||
# New mode in super-man.sh
|
||||
super-man ai "find all log files modified today and compress them"
|
||||
|
||||
# Workflow:
|
||||
# 1. Check if Ollama is running
|
||||
@@ -257,7 +257,7 @@ Bash command:
|
||||
|
||||
```bash
|
||||
# Cache location
|
||||
~/.cache/bash-helper/ai-responses/
|
||||
~/.cache/super-man/ai-responses/
|
||||
|
||||
# Cache key: MD5 of query
|
||||
# Cache value: JSON with command, explanation, timestamp
|
||||
|
||||
Reference in New Issue
Block a user