@kolisachint/hoocode-agent 0.5.32 → 0.5.34

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 (24) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/dist/modes/interactive/components/assistant-message.d.ts +16 -3
  3. package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
  4. package/dist/modes/interactive/components/assistant-message.js +18 -10
  5. package/dist/modes/interactive/components/assistant-message.js.map +1 -1
  6. package/dist/modes/interactive/components/tool-chain-summary.d.ts +9 -2
  7. package/dist/modes/interactive/components/tool-chain-summary.d.ts.map +1 -1
  8. package/dist/modes/interactive/components/tool-chain-summary.js +132 -29
  9. package/dist/modes/interactive/components/tool-chain-summary.js.map +1 -1
  10. package/dist/modes/interactive/components/tool-chain.d.ts +12 -1
  11. package/dist/modes/interactive/components/tool-chain.d.ts.map +1 -1
  12. package/dist/modes/interactive/components/tool-chain.js +15 -2
  13. package/dist/modes/interactive/components/tool-chain.js.map +1 -1
  14. package/dist/modes/interactive/interactive-mode.d.ts +19 -0
  15. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  16. package/dist/modes/interactive/interactive-mode.js +45 -5
  17. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  18. package/docs/keybindings.md +5 -0
  19. package/docs/terminal-setup.md +51 -0
  20. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  21. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  22. package/examples/extensions/sandbox/package.json +1 -1
  23. package/examples/extensions/with-deps/package.json +1 -1
  24. package/package.json +4 -4
@@ -20,6 +20,11 @@ After editing `keybindings.json`, run `/reload` in hoocode to apply the changes
20
20
 
21
21
  Modifier combinations: `ctrl+shift+x`, `alt+ctrl+x`, `ctrl+shift+alt+x`, `ctrl+1`, etc.
22
22
 
23
+ > **`alt` needs a cooperating terminal.** On macOS outside the Kitty keyboard
24
+ > protocol, `Option` composes characters instead of sending `Alt` — `Option+M`
25
+ > types `µ`. Some Linux terminals claim `Alt+<letter>` for menu mnemonics. See
26
+ > [terminal-setup.md](terminal-setup.md#alt-keys) for the per-terminal setting.
27
+
23
28
  ## All Actions
24
29
 
25
30
  ### TUI Editor Cursor Movement
@@ -6,6 +6,57 @@ HooCode uses the [Kitty keyboard protocol](https://sw.kovidgoyal.net/kitty/keybo
6
6
 
7
7
  Work out of the box.
8
8
 
9
+ ## Alt keys
10
+
11
+ 37 actions are reachable only with `Alt` — the model selector (`Alt+M`), settings
12
+ (`Alt+S`), the shortcut list (`Alt+K`), every picker verb, and the tree filters.
13
+ A terminal that speaks the Kitty keyboard protocol reports `Alt` correctly and
14
+ needs nothing here.
15
+
16
+ Interrupt (`Esc`), clear (`Ctrl+C`), exit (`Ctrl+D`) and expand (`Ctrl+O`) are
17
+ deliberately never on `Alt`, so a misconfigured terminal is recoverable.
18
+
19
+ ### macOS
20
+
21
+ Outside the Kitty protocol, macOS treats `Option` as a compose key rather than
22
+ `Alt`. `Option+M` produces `µ`, `Option+S` produces `ß`, and `Option+E`,
23
+ `Option+U` and `Option+N` are dead keys that emit nothing at all. HooCode never
24
+ sees a key chord, so it types the character into the prompt instead — or, for
25
+ the dead keys, appears to ignore the press entirely.
26
+
27
+ Ghostty, Kitty, WezTerm and iTerm2 negotiate the Kitty protocol and are
28
+ unaffected. Terminal.app does not support it, so configure it explicitly:
29
+
30
+ | Terminal | Setting |
31
+ |---|---|
32
+ | Terminal.app | Settings → Profiles → Keyboard → **Use Option as Meta Key** |
33
+ | iTerm2 (protocol disabled) | Settings → Profiles → Keys → Left Option key → **Esc+** |
34
+ | Ghostty | `macos-option-as-alt = true` |
35
+ | Kitty | `macos_option_as_alt yes` |
36
+ | VS Code | `"terminal.integrated.macOptionIsMeta": true` |
37
+
38
+ ### Linux
39
+
40
+ GNOME Terminal and Konsole can claim `Alt+<letter>` for menu mnemonics before
41
+ the application sees it — `Alt+F` for File, `Alt+E` for Edit, `Alt+S` for Search,
42
+ `Alt+T` for Terminal, `Alt+H` for Help. Where those overlap, hoocode gets
43
+ nothing.
44
+
45
+ In GNOME Terminal, turn off Preferences → General → **Enable mnemonics**. In
46
+ Konsole, Settings → Configure Keyboard Shortcuts.
47
+
48
+ ### Rebinding instead
49
+
50
+ Any of these can be moved rather than configured around. See
51
+ [keybindings.md](keybindings.md); for example, in `~/.hoocode/keybindings.json`:
52
+
53
+ ```json
54
+ {
55
+ "app.hotkeys.open": "ctrl+q",
56
+ "app.settings.open": ["alt+s", "f2"]
57
+ }
58
+ ```
59
+
9
60
  ## Ghostty
10
61
 
11
62
  Add to your Ghostty config (`~/Library/Application Support/com.mitchellh.ghostty/config` on macOS, `~/.config/ghostty/config` on Linux):
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kolisachint/hoocode-extension-custom-provider-anthropic",
3
3
  "private": true,
4
- "version": "0.3.32",
4
+ "version": "0.3.34",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "bun": ">=1.0.0"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kolisachint/hoocode-extension-custom-provider-gitlab-duo",
3
3
  "private": true,
4
- "version": "0.3.32",
4
+ "version": "0.3.34",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "bun": ">=1.0.0"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kolisachint/hoocode-extension-sandbox",
3
3
  "private": true,
4
- "version": "0.3.32",
4
+ "version": "0.3.34",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "bun": ">=1.0.0"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kolisachint/hoocode-extension-with-deps",
3
3
  "private": true,
4
- "version": "0.3.32",
4
+ "version": "0.3.34",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "bun": ">=1.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolisachint/hoocode-agent",
3
- "version": "0.5.32",
3
+ "version": "0.5.34",
4
4
  "description": "Coding agent CLI with read, bash, edit, write tools and session management",
5
5
  "type": "module",
6
6
  "hoocodeConfig": {
@@ -50,9 +50,9 @@
50
50
  "prepublishOnly": "npm run clean && npm run build"
51
51
  },
52
52
  "dependencies": {
53
- "@kolisachint/hoocode-agent-core": "^0.5.32",
54
- "@kolisachint/hoocode-ai": "^0.5.32",
55
- "@kolisachint/hoocode-tui": "^0.5.32",
53
+ "@kolisachint/hoocode-agent-core": "^0.5.34",
54
+ "@kolisachint/hoocode-ai": "^0.5.34",
55
+ "@kolisachint/hoocode-tui": "^0.5.34",
56
56
  "@silvia-odwyer/photon-node": "^0.3.4",
57
57
  "chalk": "^5.5.0",
58
58
  "cli-highlight": "^2.1.11",