简体中文 · English
agy-dart
Google Antigravity plugin, Save tokens · Improve cache hits · Keep cache warm on demand · Catch silent background quota burn · Rescue stalled chats
Zero extra dependencies · Works automatically in the background · Built-in right-sidebar dashboard
How to Install · Changelog · Security · Third-Party Notices
What does this plugin do?
agy-dart is a token-saving, cache-watching, and session-rescue plugin built for Google Antigravity (also supports DeepSeek Harness, Claude Code, and Codex via --target).
Once installed, it runs quietly in the background, no new commands to memorize, just chat and code as usual:
1. Combine small steps into fewer turns
When the AI needs to search several terms, it runs them in one batch; when it edits multiple files, it edits them together and runs checks in the same step instead of resending your entire chat history turn after turn.
2. Block noisy output & read large files smartly
If a test run dumps 3,000 lines of logs, the plugin passes only the key failure lines to the AI (e.g., line 42 failed, the other 199 passed) and keeps the full log locally for lookup. On huge code files, it hands over a line-numbered outline first so the AI reads only the lines it needs.
3. Monitor cache & keep it warm on demand
The plugin keeps the controllable start of each request steady and cuts down repeated reads of unchanged files; actual cache hit rates still depend on how Antigravity builds requests and how the backend caches them (if you use a dynamic rotating proxy, pinning a single exit node is a useful controlled check). Automatic warming and expiry desktop alerts start off; once enabled, the default limit is 1 warm-up per chat until your next message, and both the count and interval can be changed in the panel.
4. Right-sidebar dashboard & crash/hang rescue
See at a glance how much context space is left, how many minutes until cache expiry, and how much noise has been blocked. With multiple project windows open, if a background chat runs low on context or gets stuck spinning with zero output, a desktop alert names that project and chat, click it to jump right there. If a chat stalls or hits the limit, copy a progress summary in one click and continue in a fresh chat.
5. Catch silent background quota burn (Safety Monitor)
Antigravity can occasionally re-review long chats in the background and quietly burn through your 5-hour quota or trigger 429 errors. The plugin watches local logs automatically (and keeps history even if a restart wipes the log): when everything is calm it stays collapsed to one quiet line; if a burn burst or quota cliff hits, the panel expands in plain language and gives you a one-click Pack Progress & New Chat button to stop the bleed.
Other built-in features
- Keep your place after
/compact: Tracks modified files, latest test/build status, and saved reference IDs in the background so the AI picks right back up after compacting. - Local search for long docs & web pages: Saves multi-thousand-word docs or web pages locally by section and pulls only matching snippets by keyword.
- Filter huge logs & tables locally first: On multi-MB logs, CSVs, or huge JSON dumps, the AI runs a quick local script to summarize (e.g., top 5 failing endpoints) and brings only the answer into chat; big JSON blobs automatically surface error rows.
- Workspace map on new chats: Gives the AI a compact folder layout, script list, and core-file overview as soon as a new chat starts.
- Loop warnings: Shows a UI-only note (never injected into model context) when the AI gets stuck in
edit → fail → revert → failcycles. - Secret masking & sensitive-file protection: Masks API keys and tokens in logs or web pages, blocks accidental reads of
.envfiles when configured, and stops untrusted Git configs from running external commands. - Keep tool replies under 8.8 KB: Antigravity spills tool replies above ~10 KB into a temp file that costs an extra read turn; the plugin stays inside 8.8 KB and shifts leftover space from short passing checks to real error stack traces.
- Usage breakdown, inline diagnostic cards & one-click updates: Inspect how much context goes to file reads, terminal output, or subagents, view 15-turn cache trends, see interactive inline cards when running
ctx_stats/ctx_doctor(with one-click jump pills to open the side panel on Antigravityv2.35.1+), update right from the panel top bar, or replay past chats via CLI to estimate cache hits and warming cost. - Plays nicely with your Skills + Skills & Quota Audits: Your Skills handle workflows while
agy-dartquietly guards file reads, trims logs, and watches cache underneath; runnode bin/agy-dart.mjs audit skillsto inspect Skill startup tax ornode bin/agy-dart.mjs audit quota(with--mark-gemini <pct>/--mark-claude-gpt <pct>and--calibrate-baseline) to separate 1× work by model pool, thinking-token cost attribution & per-model breakdown (modelBreakdown),#18904× custom-agent calls, and#1886background reviews.
Antigravity updates frequently, click Star at the top right to follow compatibility updates.
How to Install
Requires Node.js 22.16+ (22.x) or Node.js 24+. Zero third-party packages, the installer checks that Node's built-in SQLite search engine (FTS5 with trigram) is ready.
Option 1: One-line terminal install (no clone needed)
Windows (PowerShell):
irm https://raw.githubusercontent.com/zou172866/Antigravity-agy-dart/v1.13.1/install.ps1 | iex
macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/zou172866/Antigravity-agy-dart/v1.13.1/install.sh | sh
Option 2: Let Antigravity install it
Send this to Antigravity:
Clone tag v1.13.1 of https://github.com/zou172866/Antigravity-agy-dart.git to a temp folder, run `node scripts/install.mjs install` (add `--install-rg` on Windows if `rg` is missing), and confirm `doctor` passes.
Option 3: Clone & install with custom flags
git clone --branch v1.13.1 --depth 1 https://github.com/zou172866/Antigravity-agy-dart.git
cd Antigravity-agy-dart
# Windows PowerShell (optional -InstallRg auto-installs ripgrep)
.\install.ps1 -InstallRg
# macOS / Linux
./install.sh
Other commands:
node scripts/install.mjs install # Global install (auto-syncs GEMINI_HOME & T3 ACP if present)
node scripts/install.mjs install --project /repo/path # Single-project install
node scripts/install.mjs doctor # Check install health
node scripts/install.mjs uninstall # Uninstall
Restart or reload Antigravity after installing and open a new chat. Your own rules/*.local.md files are preserved across upgrades. If you previously installed standalone agy-fast or antigravity-plugin-context-mode, disable the old ones in your plugin list.
Saved document indexes and usage history live locally in ~/.agy-dart/context.db and stay intact on uninstall. To clear the current chat's index before uninstalling, call ctx_purge (when the host omits a session ID, this clears unattributed data for the current workspace); pass scope: "all" to wipe all projects. Global uninstall also removes installer-tracked Gemini/T3 copies and lists any older untracked copies with a dedicated removal command instead of deleting blindly.
Settings
Everyday switches live right in the agy-dart Context side panel:
- Auto-Keepalive (off by default): Turn it on for the current chat in the panel, or click Warm 1× next to the countdown anytime for a single manual ping. Use Global Warm to set the default count and schedule (Auto, Fixed 4 / 9 / 15 min, or Custom 1–60 min). Turning warming off for a chat also silences its expiry and limit alerts.
Note: Each warm-up asks the model for a short
OKreply and uses input tokens (or the full conversation if the cache already expired). - Desktop alerts (off by default): Cache expiry, stalled-chat alerts, and background quota burn alerts (Burn Alert: OFF/ON) all start off and can be toggled individually.
- One-click & automatic updates: Click Check Update / Update Now in the top bar anytime, or toggle Auto-Update: OFF/ON (off by default) for silent same-major upgrades.
- Other panel controls: Pause protection, clear old local data, and adjust file-size limits directly in the panel.
- Thinking-token burn alert (
~/.agy-dart/config.json/AGY_DART_*): When opt-incacheWatchInlineAlertsis enabled,PreInvocationemits a single-shot zero-prefix-pollution notice if a high-reasoning model's thinking tokens and cost share exceed thresholds (thinkingBurnAlert:trueviaAGY_DART_THINKING_BURN_ALERT/AGY_DART_DISABLE_THINKING_BURN_ALERT,thinkingBurnMinTokens:30000viaAGY_DART_THINKING_BURN_MIN_TOKENS,thinkingBurnMinCostSharePct:60viaAGY_DART_THINKING_BURN_MIN_COST_SHARE_PCT).
Preset read limits & tool-loading modes via CLI:
node scripts/install.mjs mode host-45k # Default: direct read up to 45 KB code / 128 KB patches, block >16 KB noisy logs
node scripts/install.mjs mode balanced-16k # Outline first above 16 KB
node scripts/install.mjs mode fast-32k # Raise normal file limit to 32 KB
node scripts/install.mjs mode strict-8k # Block above 8 KB
node scripts/install.mjs mode no-read-hook # Never block file reads, only trim noisy terminal output
node scripts/install.mjs tool-loading fast-eager # Default: 4 fast tools eager, 8 context tools lazy
node scripts/install.mjs tool-loading lazy # All 12 tools lazy-loaded
node scripts/install.mjs tool-loading eager # All 12 tools eager-loaded
Troubleshooting: ide-tools duplicate /required schema error
If Antigravity fails during toolbox initialization with building toolbox: tool "mcp_ide-tools_mcp_agy-dart_fast_apply_edits" advertises an invalid parameter schema ... at '/required': items at 1 and 2 are equal, the host's ide-tools bridge is duplicating toolSummary in /required. Switch to lazy loading and restart Antigravity:
node ~/.gemini/config/plugins/agy-dart/scripts/install.mjs tool-loading lazy
(Or remove "tools" / "eager": true under mcpServers.fast in ~/.gemini/config/plugins/agy-dart/mcp_config.json and restart. See skills/agy-dart/references/error-playbook.md for diagnostics.)
Changelog
v1.13.1
- Mini companion window stays live while working in other apps: Eliminates freezes when switching away from Antigravity (e.g. writing docs or browsing while the pinned mini window stays on top) by launching the popout in an isolated anti-throttling / anti-occlusion browser profile, driving live polls and TTL countdowns with a same-origin Web Worker heartbeat, removing hidden-document poll skips in popout mode, adding a 6.5s hung-fetch timeout with automatic wakeup self-healing, and flagging stale refreshes on the refresh button.
- No more duplicate mini windows on restart: Automatically closes stale companion windows from earlier ports, deduplicates extra windows during window placement, suppresses Chromium's crash-restore bubble on isolated profiles, and extends cold-launch pinning timeouts on Windows.
v1.13.0
- One-click auto-following mini companion window: Pop out a compact always-on-top mini window (
↗ Mini Windowin the top bar oragy-dart popout) that automatically follows whichever Antigravity chat you switch to or message across windows, showing live context usage, prompt-cache TTL countdown, quick keepalive controls, and 1-click Copy Handoff Prompt / Copy Live Brief buttons without keeping the full sidebar open. - No more false
0 tokcontext drops: Filters out backgroundagyCLI headless sessions and delayed subagent classifications from auto-follow, adds a transient read grace window against Windows mid-write file locks, and eliminates0%flashes during chat switches. - Memory Bank pruning, smarter log folding & harness hardening: Added deterministic
agy-dart memory prunewith repeated-pitfall folding, improved repetitive CLI log/stack-trace folding within the 8.8 KB cap, reserved-output watermark accounting for 1M-window models, tighter DeepSeek Harness compaction cache invalidation, and event-loop latency telemetry in/api/doctor.
v1.12.1
- Near-instant panel updates when switching windows: Removed the blocking metadata lookup on panel reload and tightened window/workspace switch detection, eliminating the typical 2–3s delay when switching chats, changing projects, or refocusing the app.
- Faster incremental rendering & smoother multi-window switching: Dashboard cards now update as soon as each response arrives while stale in-flight requests from the previous window are canceled immediately, backed by an upgraded LRU cache to avoid redundant re-parsing and duplicate wakeup bursts.
v1.12.0
- Memory Bank health audit & safe cleanup (
agy-dart memory audit): Quickly spot bloated topics, dead file paths, outdated notes, and near-duplicate entries, then write cleaned-up memory back safely with locking and automatic secret redaction, at zero Turn-0 token cost. - Cross-session retro audit (
agy-dart audit retro): Locally scans your recent sessions in seconds to surface repeatedly broken files, recurring errors, user corrections, and cache habits, with ready-to-use rule suggestions and optional offline HTML reports.
v1.11.0
- Cross-window Markdown Memory Bank (off by default): Automatically distills key decisions, bug root causes, and session progress into plain redacted Markdown on stop/handoff, searchable on demand in new windows with zero LLM calls and zero startup token overhead.
- One-way remote Watchdog alerts (off by default): Push stall, safety-burn, high-context, or keepalive alerts to Webhook, Telegram, Feishu, DingTalk, Bark, or ntfy. Sends metadata only (never code or chat text) and can be configured and tested right in the Sidecar panel.
- Preserve mid-chat rules across handoffs: Hard constraints you mention mid-conversation are carried over verbatim into Handoff Briefs so
/compactor fresh windows don't drop them. - Auto-trim medium non-code file reads (off by default): Optionally rewrites unbounded reads on medium docs/configs into a safe opening window in place, saving an extra block-and-retry round-trip.
- Safety Monitor tips & search shortcut: Added practical tips for avoiding heavy background safety reviews and a quick
contextLineshint to save search-then-read round-trips.
v1.10.7
- Full
.antigravityignoresupport: Startup snapshots, hotspot scans, and batch search now all respect.antigravityignoreso archived or ignored folders stay out of context. - Fixed Windows quote handling in
run_checks: Commands with tricky quotes or newlines launch directly instead of going throughcmd.exe, preventing broken quoting. - Fewer PowerShell false blocks: Common summary pipes (
Measure-Object,Group-Object) and loop variables are no longer misflagged as unbounded log dumps.
v1.10.6
- Leaner default install: Moved offline quota auditing back to
--with-devtoolsto keep default installs slim while keeping all thinking-cost diagnostics and alerts intact.
v1.10.5
- Thinking-token cost breakdown (
agy-dart audit quota): Separates thinking tokens/cost and adds a per-model average cost table so you can spot whether leaving high-reasoning modes on is draining quota. - High-reasoning burn reminder: Shows a one-time UI-only heads-up when a session spends heavily on thinking tokens, without touching prompt context.
v1.10.4
- Fixed stuck red test banners: Re-running checks with different runtimes or running read-only commands like
git statusno longer leaves old failures stuck in red, only real test/build failures stay flagged. - Side panel follows workspace switches cleanly: Switching projects or opening a new chat now unbinds the previous session and follows the active workspace automatically.
v1.10.3
- Offline quota audit CLI (
agy-dart audit quota): Breaks down where your quota went across Gemini and Claude/GPT pools, flags any custom-agent 4× multiplier usage, and separates background safety reviews. - Auto-exit when Antigravity closes: The background Sidecar process now exits cleanly after the host closes instead of lingering in memory (waiting briefly if an update or warm-up is in flight).
v1.10.2
- Short-gap cache-drop guard: Detects when the server repeatedly drops cache after very short gaps, shows a clear hint in the panel, and pauses automatic warm-ups so they don't waste tokens (manual Warm 1× still works).
v1.10.1
- Removed bundled custom agents to avoid 4× quota charges: Removed the built-in custom subagents so newer Antigravity versions never trigger 4× custom-agent billing; use the main chat or built-in
self/researchinstead. - 4× custom-agent check in
cache-audit: Automatically scans workspace and global folders for active custom agents that could trigger 4× quota burn.
v1.10.0
- Snappier hooks & one-click database compaction: Sped up hook and history lookups, and added a lossless Compact DB button (plus automatic idle cleanup) to reclaim SQLite space without deleting any records.
- Smoother panel UX: Fixed resize jank and cramped narrow toolbars, added config/env override badges on core toggles, and modularized the backend and UI code.
- Single-project cache audits: Added
--workspace-onlytocache-auditso you can inspect one project without noise from unrelated global plugins.
v1.9.4
- Full security & reliability hardening: Resolved all 23 findings from a full audit, safer Codex/DSH install & uninstall, SHA-256-verified self-updates with automatic rollback, preserved tail error messages on huge logs, and much lighter idle config checks.
- Dashboard & card fixes: Cleared stale read cache on cancelled reads, prevented out-of-order search results from overwriting newer ones, and improved dark-mode placeholder contrast.
v1.9.3
- Catppuccin Mocha dark theme (thanks
@Ansg2022in #8): Added a full dark theme to the Sidecar panel with system-preference sync, left-click Light/Dark toggle, right-click reset, and zero white flash on load. - Quick-jump topbar: Added a sticky section jump bar at the top of the panel that wraps cleanly in narrow sidebars.
v1.9.2
- Safer inline diagnostic cards: Fixed the stats card refresh button so it stays read-only and never wipes counters, and wired Safety Monitor cards to show real causes and next steps.
- Stability fixes for huge histories & multi-file edits: Added strict timeouts on local history lookups, preserved failure checkpoints on large multi-file edits, and cleaned up retired files during cross-host upgrades.
v1.9.1
- Lower startup token usage & smaller install: Tightened built-in rules and troubleshooting docs (~36% fewer tokens when loaded on demand) and stopped copying GitHub-only README/preview images into the local plugin folder.
v1.9.0
- Gemini 4 cache & pricing alignment: Updated cache hit math, 95% discount rules, and per-tier pricing for Gemini 4 so cost estimates and warm-up advice stay accurate.
- Interactive in-chat diagnostic cards: On newer Antigravity desktop builds,
ctx_statsandctx_doctorrender a live refreshable card right in chat while sending only a tiny summary to the model, plus a one-click side-panel link. - Stays fast with huge chat histories: Watchdog and the side panel now query Antigravity's local API directly so performance stays snappy across hundreds of chats, alongside smoother ranged reads and cleaner
/swarmisolation.
v1.8.2
- Single-file reads now skip background cloud checks completely (+ leaner startup prompt): When reading a single large file, the plugin hands over a free outline and sends the AI straight to Antigravity's built-in ranged file reader (zero background cloud reviews) instead of detouring through a plugin tool; multi-file reads, searches, edits, and checks still batch together, and the built-in rules were trimmed further to save tokens on Turn 1.
- Optional desktop alert for active quota burn & 2-step new-chat handoff: Added an opt-in Burn Alert: OFF/ON toggle on the dashboard card (off by default, 15-minute cooldown) that pops up as soon as active background burn or 429 spikes start; added a plain-language quota-saver tip next to the Context bar for long chats; clicking Pack Progress & New Chat now copies your handoff brief automatically and shows a quick 2-step paste guide.
- Fixed occasional missing character counts in burn stats: Heavy background reviews that straddle two dashboard refresh ticks now keep their full character count and trigger reason instead of occasionally recording
0.
v1.8.1
- Plain-language Safety Monitor card: Rewrote the background quota-burn card into clear, everyday wording, put a "What to do now" box at the top, formatted waits like
14m 15s, made trigger labels readable, and renamed actions to Pack Progress & New Chat and Copy Evidence (Redacted). - Fixed narrow-sidebar layout & calmer status badges: Fixed 3-line title wrapping, clipped badges, and repeated summary lines in narrow panels; softened past-5h bursts that have been quiet for the last 5 minutes from red to amber (
Past 5h · Calm) and hid restart-log notes when no restart truncation happened.
v1.8.0
- Background quota-burn monitoring that survives restarts: Watches local Antigravity Desktop and CLI logs automatically and saves per-minute history locally so restarting Antigravity never wipes the evidence. Stays collapsed to a single quiet line when healthy, and auto-expands with one-click new-chat handoff and redacted report copy if 429 spikes, heavy re-review bursts, or the 5-hour quota cliff appear (also available via
node bin/agy-dart.mjs audit safety). - Reading files outside the workspace no longer triggers heavy re-reviews: Large files outside your active project still get a free outline, but now route to built-in ranged reading (zero cloud checks) instead of nudging external tools that could trigger giant background reviews; handoff briefs also remind you to break review loops when starting a fresh chat.
- Prevented crashes on affected Antigravity versions: Turned off inline chat banners by default to avoid crashes in certain host versions, while keeping the side panel, cache countdown, hang detection, and desktop alerts fully working.
- Fixed occasional "workspace root not found" errors on Turn 1: The plugin now remembers your active project folder automatically and updates as you switch windows (while still refusing ambiguous multi-window calls so it never edits the wrong repo).
v1.7.8
- Optional silent auto-updates (off by default): Added an Auto-Update: OFF/ON toggle in the panel top bar. When enabled, startup and 6-hour checks silently install verified same-major releases in the background, waiting if a cache warm-up is in flight, stopping retries on a failed version, and showing a one-time notice after reload.
v1.7.7
- DeepSeek Harness support (
--target dsh): Install into DeepSeek Harness alongside Antigravity, Claude Code, and Codex with automatic read guards and log trimming, plusnode bin/agy-dart.mjs dashboardto open the live monitor in a browser, zero impact or token overhead on Antigravity. - Pause warming & alerts on archived chats: Archived chats automatically stop background keepalive pings, manual warm-ups, and desktop alerts without losing state, and resume cleanly if unarchived.
v1.7.6
- One-click online update in the panel (thanks to @bestmulicc, #5): The right panel now checks GitHub Releases on startup and lets you click Check Update / Update Now to upgrade in place without running terminal commands (startup checks can be turned off in config).
- Verified downloads, automatic rollback & preserved settings: Verifies release package integrity before unpacking, rolls back automatically if a file is locked, reloads the panel cleanly, and keeps your local
rules/*.local.md, tool-loading mode, and synced copies intact.
v1.7.5
- One-click manual
Warm 1×button in the panel: Added a manual warm-up button right next to the cache countdown. It works even when Auto-Keepalive is off and doesn't use up your automatic warm-up limit (with double-click protection and rollback if sending fails). - Skip hopeless last-second warm-ups & unified countdown: When only a few seconds are left and a warm-up ping won't arrive in time, the plugin skips it to avoid wasting tokens and falls back to a desktop alert instead. The panel, background monitor, and alerts now all share the same expiry countdown, and warming stops right away if the cache has already expired.
v1.7.4
- Warmer wording for "Copy Handoff Prompt": Updated the handoff prompt templates with a friendlier opening (
宝宝,in Chinese /Sweetie,in English) and asked the AI to start its generated handoff summary the same way, still body-only, with no filler.
v1.7.3
- Custom Auto-Keepalive intervals: Pick Auto, Fixed 4 / 9 / 15 min, or Custom (1–60 min) globally or per chat, with one-click reset back to Global. All existing safety guards (max count, skipping short chats, stopping after a cache miss, and skipping background subagents) stay on.
- Fixed false warnings on timeouts and partial test runs: Timed-out commands no longer trigger "repeated edit-fail" alerts; passing an unrelated test or a single test case won't erase an earlier full-suite failure; background test errors stay visible even after editing other files; and if a failing check log gets cut off, the panel keeps flagging it until you re-run it.
- Cleaner handoff summaries & clearer cache-miss reasons: Copy cleaner progress summaries before switching chats or compacting (with secrets auto-masked), and see more accurate reasons when the cache misses.
v1.7.2
- Lighter built-in skill docs & a Skills bloat check: Moved sample scripts and troubleshooting notes into on-demand files so they don't eat startup context when unused; added
node bin/agy-dart.mjs audit skillsto check how much startup context each installed Skill uses and spot oversized main files. - Leaner output from built-in helper agents (later removed to avoid Antigravity
1.5.17+#1890 4× custom-agent quota; use the default main session or built-inself/research): The built-in coding (dart-coder) and review (dart-reviewer) subagents stay lightweight without carrying extra external tools or global rules, and now route quick checks through output trimming instead of dumping long terminal logs into the chat.
v1.7.1
- Fixed the panel's "Blocked Noise" counter staying at 0: Bytes saved by sliced file reads, batched searches, and trimmed check outputs are now counted accurately in the panel, without mixing up windows or double-counting.
- Roll up subagent savings into the main chat: Savings from saved long docs, batch lookups, and background subagents now roll up under the main conversation so panel totals stay accurate.
- Fixed missed log filtering on Windows / PowerShell: Commands using flags like
npm --prefix,pnpm -C,yarn --cwd, or--separators now trim noisy output properly on Windows and PowerShell too.
v1.7.0
- Hand the AI a file map when blocking a full large-file read: When the AI tries to read a huge code file all at once for the first time, the block message now includes a line-numbered list of functions and classes so it can jump straight to the lines it needs without an extra turn.
- Unified CLI with Claude Code & Codex support: Added
node bin/agy-dart.mjsto install for Antigravity, Claude Code, or Codex, print file outlines, and compare token usage across chats; also shipped lightweight built-in coding/review subagents and stronger workspace & Node.js checks.
Show earlier releases (v1.1.0 – v1.6.0)
v1.6.0
- 4 core tools preloaded directly, fixing occasional dropped multi-file edits: Batch search, file outlines, multi-file edits, and quick checks now load directly instead of going through an extra layer that sometimes emptied multi-file edits; the other 8 large-log tools stay on-demand to save startup context.
- Fixed Auto-Keepalive stalls & skipped all background subagents: The background panel now restarts cleanly after plugin updates so stale processes don't interfere; subagents spawned by
/boost, browser tasks, or workflows, plus closed chats, never send keepalive pings or crowd the top status bar. - Let subagents read freely & protect the plugin folder: Background subagents can read large or repeated files without hitting red block messages, and any call missing a project path that lands inside the plugin's own install folder is blocked so the AI won't search or edit the plugin by mistake.
- One-line install without cloning: Added single-line PowerShell and Shell commands so you don't have to clone the repo first.
- Other polish: Unused output budget from short checks automatically shifts to long error traces; read-only Git queries block untrusted external commands; fixed Windows hang on exit; upgrades preserve your custom
rules/*.local.mdfiles; added a security policy and light/dark architecture diagrams.
v1.5.4
- Click alerts to jump to that chat: Clicking a desktop popup or cross-window panel alert brings the matching project window to the front and opens that conversation; added a multi-window session switcher bar in the panel.
- Optional cache keepalive: Sends a ping for primary chats shortly before expiry; the panel controls the per-chat limit, and your next message resets the count.
- Moved current context usage, cache countdown, and blocked noise volume into a larger top card in the panel.
v1.5.3
- Project & chat titles on multi-window alerts: Desktop popups and panel alerts show folder names (e.g.,
work/agy-dart) and short chat titles without exposing message text. - "Context Almost Full" desktop alert: Pops up once near the limit and resets after
/compact.
v1.5.2
- Faster file reads and chat startup; added code outlines for multi-thousand-line
.html/.astroand.dartfiles; fixed Windows Python / PowerShell encoding garbling and paused panel refreshes while hidden.
v1.5.1
- Filled in untranslated strings in Chinese UI mode; tuned post-edit file-limit suggestions.
v1.5.0
- Read actual model cache expiry time: Reads the active model's real cache lifetime (such as 5m or 15m) from recent usage and carries it into new chats.
- Added optional 1-minute cache-expiry desktop reminder and CLI keepalive cost simulation.
v1.4.0
- Hang detection & rescue summary: Flags chats stuck spinning with zero output (ignoring long builds and laptop sleep), points to the stalled step in the panel, and prepares a one-click progress summary (modified files, last command, current step) to continue in a new chat.
v1.3.1
- Allow immediate file re-reads right after
/compact; skip dedup prompts on slices under 4 KB; preserve mid-log error lines in long failure outputs.
v1.3.0
- Tiered file-read limits: Raised direct reads to 45 KB (800 lines) for normal code and 128 KB for
.patchfiles while keeping noisy logs at 16 KB; second-try reads pass through so patch reviews and subagents don't stall. - Added
.patchfile outlines and kept context lines when trimminggit diff.
v1.2.2
- Uninterrupted long tasks: Removed mid-task
/compactprompts and routed >60s builds, tests, and background servers straight to Antigravity's native background runner. - Blocked
.envreads and fixed 42 Windows shell, isolation, and orphan-process issues.
v1.2.1
- Automatic rollback on failed multi-file edits and 76 path/argument stability fixes.
v1.2.0
- Unified settings in
~/.agy-dart/config.json; added local panel request checks; automatic structure, sample, and error extraction for huge JSON files; addedgh,kubectl,terraform, andplaywrightoutput trimming plus handoff summaries.
v1.1.0
- Automatic terminal output trimming: Strips progress bars and repetitive noise from
git, test, build, and install commands while saving full logs locally. - Unchanged-file duplicate-read protection, edit-fail loop notes, internal-URL SSRF blocking, log secret masking, and one-click panel cleanup.
Using with Other AI Tools (CLI)
node bin/agy-dart.mjs installs for Antigravity by default and can also target other coding tools (saving a restore record in ~/.agy-dart/ so uninstalling cleanly puts your original config back):
node bin/agy-dart.mjs install # Install for Antigravity (default)
node bin/agy-dart.mjs install --target dsh # Install for DeepSeek Harness (optional --profile <name> or --mcp-only)
node bin/agy-dart.mjs install --target claude # Install for Claude Code
node bin/agy-dart.mjs install --target codex # Install for Codex
Handy CLI utilities:
node bin/agy-dart.mjs dashboard # Open the live dashboard standalone in a browser
node bin/agy-dart.mjs audit safety # Check recent background quota-burn events
node bin/agy-dart.mjs audit skills # Audit startup context usage of installed Skills
node bin/agy-dart.mjs outline <file> # Print a file's function/class map with line numbers
node bin/agy-dart.mjs session <id> # Inspect one chat's token bill
node bin/agy-dart.mjs compare <before> <after> # Compare token usage across two chats
Developer Local Checks (for contributors)
npm test # Run full test suite
npm run verify:pkg # Verify installer file list
npm run prefix:budget # Estimate configured Antigravity startup and full-catalog token usage
npm run brief:check # Check that AI_REVIEW_BRIEF.md line/test counts are up to date
node scripts/cache-audit.mjs --workspace . --no-live
node bin/agy-dart.mjs audit skills --workspace . # Check startup context usage and structure of installed Skills
npm run cache:simulate
After adding, removing, or editing modules or tests, keep these three places in sync so local checks stay green:
- Installer file list (
scripts/install.mjs): updateRUNTIME_FILES(installed by default) orDEVTOOLS_FILES(--with-devtools) whenever files are added or removed, ornpm run verify:pkgwill fail. - Test count check (
tests/v1.2-hardening.test.mjs): when the test count changes, update the hardcodedcomputeBriefMetrics(ROOT).testCasesnumber to matchnpm test. - Review brief (
AI_REVIEW_BRIEF.md): after changing tracked source files or test counts, runnode scripts/gen-review-brief.mjs --writeto refresh the numbers, then verify withnpm run brief:check.
Credits & License
MIT License. Incorporates and adapts MIT-licensed code from INK-Q/agy-fast and Domush/antigravity-plugin-context-mode; full third-party notices are in THIRD_PARTY_NOTICES.md.