Conversation
- "what does this mean?" after ls -l, df, du, free, ps, uptime, ip, ss,
lsblk, wc, git status/log explains the output columns (offline guides in
output_guides.json); one-time hint the first time each runs.
- command not found / typing a missing well-known program: install command
for the user's package manager (apt/dnf/pacman/zypper/apk, ID_LIKE aware,
per-distro package names); python -> python3.
- More error hints: pip externally-managed, apt lock/not root, unable to
locate package, dpkg interrupted, sudoers, not a git repo, SSH publickey,
DNS/no network. Specific patterns ordered before generic ones.
- Taught/AI commands are saved only after they run successfully.
- Clishe's internal functions no longer count as commands ("say hi").
- "go" is a command only before a Go subcommand; "go back" -> cd -.
- First-run welcome with five things to try.
- Lazy-load AI providers, merge predict into log: ~455ms -> ~200ms per
known phrase.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014eH6jWVqRpxtAfy2dkxqjM
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.
Found by using Clishe like a beginner would: typing common requests, making mistakes, and timing it.
Bugs fixed
htop(not installed) got saved, then failed the same way every time. Now a phrase is saved only after its command succeeds (Ctrl-C counts, forping/tail -f), and a failure says so.command -valso finds shell functions, so Clishe's internalsay,warn,brain… counted as commands. Only real programs and builtins count now.gois now a command only before a real subcommand (go build,go test,go mod tidy…), and "go back" →cd -.New
ls -l,df,du,free,ps,uptime,hostname -I,ip,ss,lsblk,wc,git status,git log, it walks through the columns in plain English. Offline, and the output itself is never sent anywhere. A one-time hint shows the first time each of these runs.sudo dnf install bind-utilsfordigon Fedora. It covers apt/dnf/pacman/zypper/apk, followsID_LIKE(Pop!_OS → apt), and knows packages with different names.python→ "try python3".Faster
~455ms → ~200ms per known phrase. The AI provider code (urllib/http.client, ~35ms per call) now loads only when an AI is actually asked, and next-command prediction comes back from the logging call instead of a separate one. A test guards that offline calls don't load the providers.
Checks
🤖 Generated with Claude Code
https://claude.ai/code/session_014eH6jWVqRpxtAfy2dkxqjM
Generated by Claude Code