hintshell 0.3.13 → 0.3.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -126,9 +126,6 @@ The emitted profile has this shape (the rcfile path reflects your own user direc
|
|
|
126
126
|
"Git Bash Fast + HintShell": {
|
|
127
127
|
"path": "C:\\Users\\<you>\\.hintshell\\bin\\hintshell.exe",
|
|
128
128
|
"args": ["bash", "--rcfile", "/c/Users/<you>/.hintshell/git-bash-fast.bashrc", "-i"],
|
|
129
|
-
"env": {
|
|
130
|
-
"TERM": "xterm-256color"
|
|
131
|
-
},
|
|
132
129
|
"icon": "terminal-bash"
|
|
133
130
|
}
|
|
134
131
|
}
|
|
@@ -157,14 +154,34 @@ Open a new terminal after initialization. The wrapper starts the same shell as a
|
|
|
157
154
|
|
|
158
155
|
**Tab-to-Suggest** uses `fzf` when available. Type `git ` and press **Tab** to open a ranked command picker; **Enter** fills the command line. If `fzf` is unavailable, HintShell uses the top matching command without emitting an executable-path error.
|
|
159
156
|
|
|
160
|
-
### Context-aware suggestions
|
|
157
|
+
### Context-aware suggestions & Smart Directory Navigation
|
|
161
158
|
|
|
162
159
|
Each request includes the current working directory and shell. HintShell merges bounded contextual candidates with local and global history, then ranks the combined list once.
|
|
163
160
|
|
|
164
|
-
-
|
|
165
|
-
-
|
|
166
|
-
-
|
|
167
|
-
-
|
|
161
|
+
- **Smart `cd` Suggestions**: Typing `cd ` automatically lists directories in your current folder sorted by recent modification time (`mtime`), while keeping your #1 most frequent/recent command on top. Shortcut completions like `cd ..` and `cd -` are included out of the box.
|
|
162
|
+
- **Deep Tech Stack Detection**: Automatically senses workspace marker files (`pnpm-lock.yaml`, `bun.lockb`, `yarn.lock`, `Cargo.toml`, `docker-compose.yml`, `.git/index`) to recommend contextual dev, build, test, and git workflow commands.
|
|
163
|
+
- **Typo Tolerance & Substring Matching**: Tolerates single-character command typos (`gti` $\rightarrow$ `git`, `dcoker` $\rightarrow$ `docker`) with automatic substring (`contains`) fallback matching.
|
|
164
|
+
- **Paths & Tool Arguments**: Paths for supported argument positions, including `cd`, `pushd`, `mkdir`, `rmdir`, `cat`, `rg`, `git add`, and `docker build`.
|
|
165
|
+
- **Entity Suggestions**: Git branches/remotes, npm-family scripts, Docker entities, SSH hosts, and zoxide directories when the command and local runtime are available.
|
|
166
|
+
- **Privacy & Performance**: Filesystem scans, workspace detection, and external commands are bounded, cached where appropriate, and fail closed. Context candidates never write themselves to command history.
|
|
167
|
+
|
|
168
|
+
### 🎨 Customization (`~/.hintshell/config.toml`)
|
|
169
|
+
|
|
170
|
+
HintShell creates a configuration file at `~/.hintshell/config.toml` automatically on initial setup:
|
|
171
|
+
|
|
172
|
+
```toml
|
|
173
|
+
# Popup border color palette:
|
|
174
|
+
# - "apple" / "siri" / "glow" (Apple Intelligence 24-bit TrueColor Cyber Glow)
|
|
175
|
+
# - "rainbow" / "gemini" (Vibrant multi-color spectrum)
|
|
176
|
+
# - Solid tones: "purple" (default), "blue", "cyan", "green", "yellow", "orange", "pink", "magenta", "minimal"
|
|
177
|
+
border_color = "apple"
|
|
178
|
+
|
|
179
|
+
# Maximum number of suggestions shown in popup overlay (default: 6)
|
|
180
|
+
max_visible = 6
|
|
181
|
+
|
|
182
|
+
# Enable inline ghost text completion preview (default: true)
|
|
183
|
+
ghost_text = true
|
|
184
|
+
```
|
|
168
185
|
|
|
169
186
|
### PowerShell (Windows/Unix)
|
|
170
187
|
**Real-time Overlay**: Suggestions appear automatically as a floating panel beneath your cursor as you type.
|