Release grok-build-hud v0.3.9: multi-terminal HUD, i18n settings, theme follow

Standalone Grok Build status strip with parallel sessions, width-adaptive
layout, Chinese/English settings UI, and token breakdown. Product copy no
longer references third-party tools.
This commit is contained in:
2026-07-17 16:27:35 +08:00
parent bb6a1321fb
commit df6a9e74d9
37 changed files with 3622 additions and 592 deletions
+5 -19
View File
@@ -1,29 +1,15 @@
---
description: Show live context window + quota bars (Claude-HUD style)
description: Show live Grok Build context + quota status strip
---
# /hud — live context + quota
Print the multi-line HUD for the active Grok session:
# HUD status
```bash
grok-hud status
# or:
# or
grok-build-hud --once --follow-active --no-color
```
If CLIs are not on PATH (plugin-only install):
Prints the multi-line status (context, usage, tokens, tools) once.
```bash
node "${GROK_PLUGIN_ROOT}/bin/grok-build-hud.js" --once --follow-active --no-color
```
Example:
```text
[Grok 4.5] │ my-project git:(main*) │ ● LIVE
Context ████████░░ 78% (392k/500k) │ Quota ██░░░░░░░░ 24% weekly · 4d
◐ read_file… | ✓ grep ×3
```
For always-on same-window strip: start with `grok-hud-run` (not a second window).
For always-on same-window strip: start with `grok` (or `grok-hud-run`).
+9 -13
View File
@@ -1,23 +1,19 @@
---
description: Set Claude-HUD-style HUD preset (full / essential / minimal)
description: Set Grok HUD display preset (full / essential / minimal)
---
# HUD presets (Claude HUD parity)
# HUD presets
```bash
# Full — model, git, context+usage dual bars, tools, agents, todos, diff stats (3 rows)
grok-build-hud --preset full
# or: grok-hud preset full
# Essential — dual bars + activity (2 rows)
grok-build-hud --preset essential
# Minimal — single dense row
grok-build-hud --preset minimal
grok-build-hud --preset full # 3 rows (default)
grok-build-hud --preset essential # 2 rows
grok-build-hud --preset minimal # 1 compact row
```
Then refresh tmux (if already in a HUD session):
Or open the settings UI:
```bash
tmux source-file ~/.grok/hud/tmux.conf && tmux refresh-client -S
grok-hud settings
```
Presets keep your language preference (中文 / English).
+21
View File
@@ -0,0 +1,21 @@
---
description: Open Grok HUD settings (language 中/英, preset, rows)
---
# Settings
```bash
grok-hud settings
# or
grok-build-hud --settings
```
## Language shortcuts
```bash
grok-hud lang zh # 简体中文 (default)
grok-hud lang en # English
grok-hud lang tw # 繁體中文
```
Config file: `~/.grok/hud/config.json``language`