Troubleshooting

Run doctor first

npx agy-powerline doctor

It checks the install without changing anything. It prints the platform (with WSL marker), Node binary, install dir, config path, settings path, the configured statusLine.command, $TERM / $COLORTERM and color depth, and runs a glyph test ( 󰊤 ⚡ 💻 🌿 ⏳ 💾).

It then reports: Windows Node on WSL, stale installed scripts (fix: npx agy-powerline init --yes), missing statusline.js, command mismatch vs the current install, missing statusLine.command, statusLine.enabled set to false, and (on Windows) an install folder whose name breaks the launch command. Finally it runs the configured command with sample JSON and shows the first output line plus timing.

Common problems

Reporting a bug

agy-powerline keeps a small problem log on your machine, ~/.agy-powerline/agy-powerline.log, so a bug report can say what actually went wrong. Nothing is ever sent anywhere: the file only leaves your computer if you attach it yourself.

npx agy-powerline report              # print the report
npx agy-powerline report -o report.md # or write it to a file to attach

Read it first: it's plain text, and everything it contains is listed below. Then paste it into a GitHub issue or attach the file.

What the report contains

What it never contains: your name, username or hostname; any file or folder path; your email, session or conversation IDs, model text or token counts from Antigravity; branch names, working directories or remote URLs; exec commands or their output; custom text or labels; IP or network details; your time zone or locale. Error messages are cleaned of anything that looks like a path, email, URL, IP address or token before they are written, and JSON errors keep only the line and column.

The log keeps at most 200 entries (256 KB). Repeats of the same problem are counted at most once a minute. npx agy-powerline report --clear empties it, and uninstall --delete removes it.

Turning it off: set "log": false in statusline.config.json, or AGY_POWERLINE_LOG=0 in your environment (this works even when the config file itself is broken).

npx agy-powerline doctor --markdown prints a shorter diagnostics table; it shows your home folder as ~.

Capturing the payload

To capture the JSON Antigravity sends to the statusline, set AGY_POWERLINE_DEBUG=1:

# Windows PowerShell:
$env:AGY_POWERLINE_DEBUG="1"

# macOS / Linux:
export AGY_POWERLINE_DEBUG=1

The next time Antigravity refreshes the bar, the payload is saved to ~/.agy-powerline/last-payload.json, replacing the previous one on every refresh (unset the variable when you're done). render --dump-payload <file> or AGY_POWERLINE_DUMP_PAYLOAD=<file> save it elsewhere; a relative AGY_POWERLINE_DUMP_PAYLOAD file goes in the install folder, never in your project.

The file is safe to attach to an issue: it keeps only the fields the bar uses (model, quotas, tokens, context, agent state, counters, versions). Your email and session and conversation IDs are never written, paths become placeholders like /home/user/project, the branch name becomes a placeholder of the same length, and anything Antigravity adds in the future is left out until agy-powerline uses it. Replay it locally with:

cat ~/.agy-powerline/last-payload.json | npx agy-powerline render

Next steps