@benjamolina/opencode-antigravity-guard 1.1.0 → 1.1.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.
@@ -72,7 +72,7 @@ function aggregateQuota(models) {
72
72
  const existing = groups[group];
73
73
  const nextCount = (existing?.modelCount ?? 0) + 1;
74
74
  const useCurrentQuota = remainingFraction !== undefined &&
75
- (existing?.remainingFraction === undefined || remainingFraction > existing.remainingFraction);
75
+ (existing?.remainingFraction === undefined || remainingFraction < existing.remainingFraction);
76
76
  const nextRemaining = useCurrentQuota ? remainingFraction : existing?.remainingFraction;
77
77
  const nextResetTime = useCurrentQuota
78
78
  ? resetTime
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@benjamolina/opencode-antigravity-guard",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Google Antigravity OAuth plugin for OpenCode with strict reset-time quota locking",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",