Skip to content

Releases

v1.0.0 — Zero-Dependency OSS Distribution, Live Activity & CLI Diagnostics

Choose a tag to compare

@bangbangda bangbangda released this 26 Nov 04:45
4174509

🚀 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 | bash

Or 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_modules and zero external binary dependencies (removed perl timing helper); works immediately after clone with Node.js >= 18.
  • Unified Dynamic Paths: Uses import.meta.url for 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 legacy state.json migration.
  • Native Manifest & Icon: Updated plugin.json (v1.0.0) + vector assets/logo.svg + root hooks.json passing agy plugin validate with zero manifest warnings.
  • One-Line Remote Installer & Safe JSON Deep Merge: install.sh supports curl | bash, auto-detects active settings.json (~/.gemini/antigravity-cli/settings.json → ~/.gemini/settings.json, symlink-aware), generates timestamped backups (*.bak.YYYYMMDDHHMMSS), and preserves all existing mcpServers, trustedWorkspaces, permissions, and model settings.
  • Clean Uninstaller: Added standalone uninstall.sh (also wired to ./install.sh --uninstall and remote curl | bash) to cleanly remove only agy-hub-pro entries 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 (--json supported): Verifies Node.js >= 18, plugin integrity & executable bits, Git, agy CLI, active settings.json mount & 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 sums input + output from transcript.jsonl (excluding cache reads) right after Ctx:, replacing inaccurate 5h/Wk token estimates (#11).
  • Live Activity & Throughput Indicator: Shows active tool/thinking status, elapsed timer, stall warning (turns yellow after 60s without progress, configurable via AGY_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 --doctor troubleshooting 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

Choose a tag to compare

@bangbangda bangbangda released this 21 Nov 12:39
0ceaefb

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/HEAD fallback), 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_width trimming so split panes never wrap awkwardly.
  • 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).
  • Auto-Synced Local Token Ledger & Lifecycle Hooks:
    • Incremental cross-session token ledger persisted atomically in local state.json with 5h active-cycle alignment and automatic 7-day pruning.
    • Native Antigravity plugin hooks (SessionStart, Stop, and PreInvocation low-quota warning injection).
  • One-Command Installer, Simulation Suite & CI:
    • ./install.sh --test and ./install.sh --install with automatic settings.json backup & 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