Overview
Natural language queries to search command history.
Problem
Users remember what they wanted to do, not the exact command syntax.
Proposed Solution
Natural language interface:
- "Show me how I deployed last Tuesday"
- "What did I do to fix the database issue?"
- Convert natural language to SQL/search queries
- Optional AI integration (local LLM or API)
Examples
$ sdbh ask "show me how I deployed last Tuesday"
Found 12 commands from 2026-01-16:
1. git pull origin main
2. cargo build --release
3. ./scripts/deploy.sh --env prod
4. kubectl rollout status deployment/app
...
$ sdbh ask "what did I do when I fixed the database connection issue?"
Found session from 2026-01-15 14:30-16:45:
Tagged: "database-connection-fix"
1. systemctl status postgresql
2. sudo vi /etc/postgresql/postgresql.conf
3. sudo systemctl restart postgresql
4. psql -h localhost -U app -d production -c "SELECT 1"
...
Technical Considerations
- NLP parsing
- Intent recognition
- Query generation
- Integration with sessions, tags
- Optional: local LLM (llama.cpp) or API (OpenAI)
Priority
Low - Advanced/experimental
Overview
Natural language queries to search command history.
Problem
Users remember what they wanted to do, not the exact command syntax.
Proposed Solution
Natural language interface:
Examples
Technical Considerations
Priority
Low - Advanced/experimental