Repository navigation
Releases
Releases · bangbangda/agy-hub-pro
v1.0.0 — Zero-Dependency OSS Distribution, Live Activity & CLI Diagnostics
🚀 AGY Hub Pro v1.0.0
First stable open-source release of AGY Hub Pro (agy-hub-pro) — a lightweight, zero-dependency Antigravity CLI (agy) two-line StatusLine HUD & lifecycle hooks plugin.
⚡ 10-Second Quick Install
# One-line remote install (auto-detects active settings.json, backs up & deep-merges safely)
curl -fsSL https://raw.githubusercontent.com/bangbangda/agy-hub-pro/main/install.sh | bashOr via Antigravity's native plugin manager:
agy plugin install bangbangda/agy-hub-pro✨ Highlights Since v0.1.0
1. Zero-Dependency Open-Source Distribution & Safe Installer (#12)
- Self-Contained Pure Node.js ESM: Zero
node_modulesand zero external binary dependencies (removedperltiming helper); works immediately after clone with Node.js>= 18. - Unified Dynamic Paths: Uses
import.meta.urlfor plugin root resolution and consolidates runtime state (state.json,collector.lock,last-stdin.json) in~/.gemini/plugins/agy-hub-pro/data/with automatic OS temp dir fallback and seamless legacystate.jsonmigration. - Native Manifest & Icon: Updated
plugin.json(v1.0.0) + vectorassets/logo.svg+ roothooks.jsonpassingagy plugin validatewith zero manifest warnings. - One-Line Remote Installer & Safe JSON Deep Merge:
install.shsupportscurl | bash, auto-detects activesettings.json(~/.gemini/antigravity-cli/settings.json→~/.gemini/settings.json, symlink-aware), generates timestamped backups (*.bak.YYYYMMDDHHMMSS), and preserves all existingmcpServers,trustedWorkspaces,permissions, andmodelsettings. - Clean Uninstaller: Added standalone
uninstall.sh(also wired to./install.sh --uninstalland remotecurl | bash) to cleanly remove onlyagy-hub-proentries without touching other user configurations.
2. Built-in CLI Preview & Diagnostics (#12)
node statusline.mjs --test: Zero-write live ANSI preview of all 3 threshold color tiers (≤80%green />80%yellow />90%red), fast-burn indicator (⚡快), live activity, and narrow-width trimming.node statusline.mjs --doctor(--jsonsupported): Verifies Node.js>= 18, plugin integrity & executable bits, Git,agyCLI, activesettings.jsonmount & symlink health, hook deduplication, and live read/write/delete cache probes with actionable fix hints.
3. Live Activity, Exact Session Net Tokens & Window-Scoped Throughput (#6, #8, #9, #10, #11)
- Exact Current-Session Net Tokens (
Tok:): Incrementally sumsinput + outputfromtranscript.jsonl(excluding cache reads) right afterCtx:, replacing inaccurate 5h/Wk token estimates (#11). - Live Activity & Throughput Indicator: Shows active tool/thinking status, elapsed timer, stall warning (turns yellow after
60swithout progress, configurable viaAGY_HUB_STALL_SEC), and token speed (~t/s) persisted per terminal window across/clear(#8, #10). - Cloud Quota Reset Alignment: Weekly token ledger aligns to active cloud quota reset cycles (
reset_time - 7d/reset_in_seconds) with safe calendar-week fallback (#6).
4. Documentation, License & CI (#7, #12)
- Added MIT
LICENSE, terminal preview screenshot (assets/preview.png), and rewritten bilingual documentation (README.md&README_CN.md) with complete field/icon tables, 100% local privacy statement, and--doctortroubleshooting guide. - Expanded GitHub Actions CI (
.github/workflows/ci.yml) with syntax, hygiene,--test, symlinked deep-merge,--doctor, and uninstall E2E verification.
Full Changelog: v0.1.0...v1.0.0
v0.1.0
AGY HUD Pro v0.1.0
Initial release of agy-hub-pro (AGY HUD Pro) — a lightweight, zero-dependency Antigravity CLI (agy) two-line StatusLine dashboard and lifecycle hooks plugin built on native Node.js ESM.
Preview
agy-hub-pro (git:main✓) │ Ctx: ◉○○○○ 17.4% (183K/1M) │ Cache: 99% │ 5h: ◉◉◉◉○ 79% (284K tok · 1h20m) │ Wk: ◉◉◉◉○ 73% (284K tok · 5d7h)
[Gemini 4 Neon · High] │ User: user@example.com │ Plan: Google AI Pro │ Mode: auto │ Sandbox: OFF
Highlights
- Two-Line ANSI Telemetry Dashboard:
- Line 1: Workspace & fast Git status (
git --no-optional-locks+.git/HEADfallback), context window usage (used/max), Prompt Cache hit rate, 5-hour quota & token ledger with reset countdown and fast-burn alert (⚡快), and weekly quota & token ledger with reset countdown. - Line 2: Model name & reasoning effort badge (
Low/Medium/High/XHigh/Max), user account, subscription plan tier, execution mode, and sandbox status. - Responsive
terminal_widthtrimming so split panes never wrap awkwardly.
- Line 1: Workspace & fast Git status (
- 5-Dot Bullseye Progress Indicators & Threshold Coloring:
- Synchronized green (
≤80%), yellow (>80%), and red (>90%) thresholds across 6 switchable dot styles (AGY_HUD_DOT_STYLE).
- Synchronized green (
- Auto-Synced Local Token Ledger & Lifecycle Hooks:
- Incremental cross-session token ledger persisted atomically in local
state.jsonwith 5h active-cycle alignment and automatic 7-day pruning. - Native Antigravity plugin hooks (
SessionStart,Stop, andPreInvocationlow-quota warning injection).
- Incremental cross-session token ledger persisted atomically in local
- One-Command Installer, Simulation Suite & CI:
./install.sh --testand./install.sh --installwith automaticsettings.jsonbackup & merge, plus GitHub Actions CI validation.
Quick Install
git clone https://github.com/bangbangda/agy-hub-pro.git ~/.gemini/plugins/agy-hud-pro
cd ~/.gemini/plugins/agy-hud-pro
./install.sh --install