hintshell 0.3.2 → 0.3.3

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.
Files changed (2) hide show
  1. package/README.md +18 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -98,11 +98,28 @@ HINTSHELL_DISABLE_AUTO_BASH=1 bash
98
98
  ```
99
99
 
100
100
  - Git Bash keeps its existing Windows ConPTY backend. WSL2 uses a separate Unix pseudo-terminal backend and preserves the terminal's current working directory; neither changes PowerShell integration.
101
- - Native Linux and macOS Bash retain the existing `Tab`/`fzf` picker instead of starting the live wrapper.
101
+ - Native Linux Bash retains the existing `Tab`/`fzf` picker instead of starting the live wrapper.
102
102
  - Set `HINTSHELL_BASH` to an explicit `bash.exe` path on Git Bash. Set `HINTSHELL_DISABLE_LIVE_OVERLAY=1` to reject the wrapper in unsupported terminals.
103
103
 
104
104
  > **Preview limitation:** the live wrapper requires an ANSI-capable terminal. For full-screen terminal applications, bypass the wrapper and open them from a normal Bash session.
105
105
 
106
+ ### macOS Bash / Zsh live overlay (opt-in)
107
+
108
+ macOS retains its native `Tab`/`fzf` integration by default. To opt into the live overlay for interactive Bash or Zsh sessions, add this before running `hs init`, then open a new terminal:
109
+
110
+ ```bash
111
+ export HINTSHELL_ENABLE_MACOS_LIVE_OVERLAY=1
112
+ hs init
113
+ ```
114
+
115
+ The wrapper starts the same shell as a child through the Unix pseudo-terminal backend. It preserves the opening directory and synchronizes the current directory after each prompt, so contextual suggestions follow `cd` changes.
116
+
117
+ - **Tab** keeps native Bash/Zsh path and flag completion authoritative; HintShell accepts only compatible command-prefix suggestions.
118
+ - **Bash escape hatch:** `HINTSHELL_DISABLE_AUTO_BASH=1 bash`
119
+ - **Zsh escape hatch:** `HINTSHELL_DISABLE_AUTO_ZSH=1 zsh`
120
+ - To roll back to the default picker, remove or unset `HINTSHELL_ENABLE_MACOS_LIVE_OVERLAY`, run `hs init`, and start a new terminal.
121
+ - Use an escape hatch for full-screen terminal applications or any profile whose startup plugins are not compatible with a PTY wrapper.
122
+
106
123
  ### Zsh / Bash (macOS/Linux)
107
124
 
108
125
  **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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hintshell",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Local, context-aware real-time command suggestions for PowerShell, Bash, and Zsh.",
5
5
  "keywords": [
6
6
  "shell-assistant",