pi-antigravity-rotator 1.3.0 → 1.3.1
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/package.json +1 -1
- package/src/rotator.ts +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-antigravity-rotator",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Multi-account rotation proxy for Google Antigravity with per-model routing, real-time quota tracking, and infringement detection",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
package/src/rotator.ts
CHANGED
|
@@ -284,14 +284,14 @@ export class AccountRotator {
|
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
// Timer priority for a specific model:
|
|
287
|
-
// 1 (highest) =
|
|
287
|
+
// 1 (highest) = 5h timer -> drain Pro quota before reset to maximize the +40% recharge
|
|
288
288
|
// 2 = 7d timer -> already ticking, use it
|
|
289
|
-
// 3 (lowest) =
|
|
289
|
+
// 3 (lowest) = fresh -> no timer yet, save for when others are exhausted
|
|
290
290
|
private getModelTimerPriority(account: AccountRuntime, modelKey: string): number {
|
|
291
291
|
const type = this.getModelTimerType(account, modelKey);
|
|
292
|
-
if (type === "5h") return
|
|
292
|
+
if (type === "5h") return 1;
|
|
293
293
|
if (type === "7d") return 2;
|
|
294
|
-
return
|
|
294
|
+
return 3;
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
// =========================================================================
|