antigravity-usage 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -13
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -78,10 +78,23 @@ By default, `antigravity-usage` runs in **Auto Mode**, seamlessly switching betw
|
|
|
78
78
|
|
|
79
79
|
## Features
|
|
80
80
|
|
|
81
|
+
### 🤖 Auto Wakeup (macOS & Linux)
|
|
82
|
+
Never waste quota again. Automatically wake up your AI models to maximize your daily limits.
|
|
83
|
+
- **Fully Automatic**: Runs in the background via native system scheduler - no need to keep terminal or Antigravity open
|
|
84
|
+
- **Native Cron Integration**: Schedule-based triggers (every N hours, daily, or custom cron)
|
|
85
|
+
- **Smart Quota-Reset Detection**: Zero-waste mode that detects when quota resets
|
|
86
|
+
- **Multi-Account Support**: Trigger all your accounts simultaneously
|
|
87
|
+
- **Built-in Safety**: Cooldown protection, retry logic, detailed history tracking
|
|
88
|
+
- **Platform Support**: Currently available on **macOS and Linux** (Windows support coming soon)
|
|
89
|
+
|
|
90
|
+
See the [Wakeup Command](#antigravity-usage-wakeup-) section for full details.
|
|
91
|
+
|
|
81
92
|
### 🔐 Multi-Account Management
|
|
82
|
-
|
|
83
|
-
- **
|
|
84
|
-
- **
|
|
93
|
+
Manage multiple Google accounts and compare quota across Personal, Work, and other accounts.
|
|
94
|
+
- **Check All Accounts**: Use `--all` flag to fetch and compare quota across all logged-in accounts simultaneously
|
|
95
|
+
- **Side-by-Side Comparison**: View quota usage and reset times for all accounts in a single table
|
|
96
|
+
- **Easy Switching**: Switch between accounts to use different credentials for API calls
|
|
97
|
+
- **Privacy Focused**: All tokens stored locally on your machine, never sent to third-party servers
|
|
85
98
|
|
|
86
99
|
### 🔌 Offline Capabilities
|
|
87
100
|
Designed for plane rides and spotty wifi.
|
|
@@ -96,16 +109,6 @@ To keep the CLI snappy and avoid hitting API rate limits:
|
|
|
96
109
|
antigravity-usage quota --refresh
|
|
97
110
|
```
|
|
98
111
|
|
|
99
|
-
### 🤖 Auto Wakeup (macOS & Linux)
|
|
100
|
-
Never waste quota again. Automatically wake up your AI models to maximize your daily limits.
|
|
101
|
-
- **Native Cron Integration**: Schedule-based triggers (every N hours, daily, or custom cron)
|
|
102
|
-
- **Smart Quota-Reset Detection**: Zero-waste mode that detects when quota resets
|
|
103
|
-
- **Multi-Account Support**: Trigger all your accounts simultaneously
|
|
104
|
-
- **Built-in Safety**: Cooldown protection, retry logic, detailed history tracking
|
|
105
|
-
- **Platform Support**: Currently available on **macOS and Linux** (Windows support coming soon)
|
|
106
|
-
|
|
107
|
-
See the [Wakeup Command](#antigravity-usage-wakeup-) section for full details.
|
|
108
|
-
|
|
109
112
|
### 📱 Responsive UI
|
|
110
113
|
Tables automatically adapt to your terminal size, switching between "Compact" and "Spacious" views to show you the most relevant data without wrapping.
|
|
111
114
|
|
package/dist/index.js
CHANGED
|
@@ -1397,6 +1397,7 @@ function statusCommand(options = {}) {
|
|
|
1397
1397
|
}
|
|
1398
1398
|
|
|
1399
1399
|
// src/google/cloudcode.ts
|
|
1400
|
+
import { randomUUID } from "crypto";
|
|
1400
1401
|
var BASE_URLS = [
|
|
1401
1402
|
"https://cloudcode-pa.googleapis.com",
|
|
1402
1403
|
"https://daily-cloudcode-pa.sandbox.googleapis.com"
|
|
@@ -1586,8 +1587,8 @@ var CloudCodeClient = class {
|
|
|
1586
1587
|
} catch (err) {
|
|
1587
1588
|
debug("cloudcode", "Warmup failed (continuing anyway):", err);
|
|
1588
1589
|
}
|
|
1589
|
-
const requestId =
|
|
1590
|
-
const sessionId =
|
|
1590
|
+
const requestId = randomUUID();
|
|
1591
|
+
const sessionId = randomUUID();
|
|
1591
1592
|
const systemInstruction = {
|
|
1592
1593
|
parts: [{ text: SYSTEM_PROMPT }]
|
|
1593
1594
|
};
|