GoPeak v2.3.0 — Shell Hook Notifications & Star Prompt
What's New
🔔 Shell Hook System — Auto Update & Star Notifications
GoPeak now includes a terminal-level notification system that works before your AI CLI tools start.
New CLI Subcommands
gopeak setup— Install shell hooks into~/.bashrc/~/.zshrcgopeak check— Check for updates (--bgbackground,--quietsilent)gopeak star— Star the repo viaghCLIgopeak notify— Interactive update/star promptgopeak uninstall— Remove shell hooksgopeak version/gopeak help
How It Works
- Run
gopeak setuponce after install - Shell hooks wrap 6 AI CLI tools:
claude,codex,gemini,opencode,omc,omx - Background check runs on each CLI launch (cached 24h via npm registry)
- If update available → interactive prompt before tool starts
- One-time GitHub star prompt (uses
ghCLI if available, graceful fallback)
Design
- Zero disruption: Cache-then-display — no delays during sessions
- Function preservation: Existing shell functions (e.g.
omx --no-alt-screen) composited, not overwritten - No forced deps:
ghCLI optional — shows URL fallback if absent