← 插件

Antigravity Safety Usage

Shows Antigravity quota windows and reset times from the official agy CLI in Paseo.

$ clisbot plugin add gtoxlili/agy-safety-usage
报告问题
gtoxlili侧边栏0次安装88710393795e源代码

该插件的概览尚未翻译为你的语言,因此以英文显示。

Antigravity Safety Usage shows your Antigravity five-hour and weekly quotas, with the reset time of each window, in Paseo's Settings → Usage card. You can pin the windows to the sidebar.

Setup

The plugin needs the Antigravity CLI (agy) 1.1.11 or later on the Paseo host, signed in to your account. Run agy -p /usage --output-format json on the host once to check that it prints your quota. The plugin looks for agy on the daemon's PATH, in ~/.local/bin and in ~/.antigravity/bin. If the daemon cannot find it, set AGY_PATH in the daemon's environment to the full path of the executable.

If you use the older Antigravity Usage plugin (paseo-agy-usage), uninstall it first. Both plugins use the same Usage source and window IDs, so your existing pins carry over.

Data access

When Paseo refreshes usage, the plugin runs agy --version and then the CLI's built-in /usage command, and reads the quota groups from its JSON output. agy handles sign-in and its requests to Google. The plugin does not read OAuth tokens, call Google services itself or store anything on disk. A successful reading is kept in memory for 15 minutes. After an error, the plugin waits 5 minutes before it runs agy again, also when you refresh by hand.