@cortexkit/opencode-antigravity-auth 2.0.1 → 2.1.0

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 CHANGED
@@ -116,19 +116,14 @@ The model registry lives at `packages/core/src/model-registry.ts`; the OpenCode
116
116
 
117
117
  | Model | Variants | Quota group |
118
118
  | --- | --- | --- |
119
+ | `antigravity-gemini-3.7-flash` | `low`, `high` | `gemini-flash` |
119
120
  | `antigravity-gemini-3.6-flash` | `low`, `high` | `gemini-flash` |
120
121
  | `antigravity-gemini-3.5-flash` | `low`, `high` | `gemini-flash` |
121
122
  | `antigravity-gemini-3.1-pro` | `low`, `high` | `gemini-pro` |
122
123
  | `antigravity-gemini-3.1-flash-image` | — | `gemini-flash` |
123
- | `antigravity-claude-sonnet-4-6` | — | `claude` |
124
- | `antigravity-claude-opus-4-6-thinking` | `low`, `max` | `claude` |
124
+ | `antigravity-claude-sonnet-4-6-thinking` | — | `claude` |
125
+ | `antigravity-claude-opus-4-6-thinking` | — | `claude` |
125
126
  | `antigravity-gpt-oss-120b-medium` | — | `gpt-oss` |
126
- | `gemini-2.5-flash` | — | `gemini-flash` (CLI pool) |
127
- | `gemini-2.5-pro` | — | `gemini-pro` (CLI pool) |
128
- | `gemini-3-flash-preview` | — | `gemini-flash` (CLI pool) |
129
- | `gemini-3-pro-preview` | — | `gemini-pro` (CLI pool) |
130
- | `gemini-3.1-pro-preview` | — | `gemini-pro` (CLI pool) |
131
- | `gemini-3.1-pro-preview-customtools` | — | `gemini-pro` (CLI pool) |
132
127
 
133
128
  > Gemini 3.5 Flash-Lite is not in the AGY 1.1.5 Antigravity or Gemini CLI quota catalogs, and Gemini 3.5 Flash Cyber is restricted to a limited-access CodeMender pilot — neither is exposed by this plugin.
134
129
 
package/dist/cli.js CHANGED
@@ -862,7 +862,8 @@ function calculateTokenExpiry(requestTimeMs, expiresInSeconds) {
862
862
  }
863
863
 
864
864
  // ../core/dist/fingerprint.js
865
- var AGY_CLI_VERSION = "1.1.6";
865
+ var AGY_CLI_VERSION = "1.1.13";
866
+ var AGY_CLI_CHANGE_LIST = "964361259";
866
867
  function normalizeHarnessPlatform(platform = process.platform) {
867
868
  return platform === "win32" ? "windows" : platform || "unknown";
868
869
  }
@@ -879,7 +880,8 @@ function normalizeHarnessArch(arch = process.arch) {
879
880
  function buildAntigravityHarnessUserAgent(version = AGY_CLI_VERSION, platform = process.platform, arch = process.arch, authMethod = "consumer") {
880
881
  const osType = normalizeHarnessPlatform(platform);
881
882
  const normalizedArch = normalizeHarnessArch(arch);
882
- return `antigravity/cli/${version} (aidev_client; os_type=${osType}; arch=${normalizedArch}; auth_method=${authMethod})`;
883
+ const changeList = version === AGY_CLI_VERSION ? `; cl=${AGY_CLI_CHANGE_LIST}` : "";
884
+ return `antigravity/cli/${version} (aidev_client; os_type=${osType}; arch=${normalizedArch}${changeList}; auth_method=${authMethod})`;
883
885
  }
884
886
  function buildAntigravityHarnessLoadCodeAssistUserAgent(version = AGY_CLI_VERSION) {
885
887
  return buildAntigravityHarnessUserAgent(version);
@@ -927,6 +929,16 @@ var ALL_MODEL_DEFINITIONS = {
927
929
  high: { thinkingLevel: "high" }
928
930
  }
929
931
  }),
932
+ "antigravity-gemini-3.7-flash": defineModel("antigravity-gemini-3.7-flash", {
933
+ name: "Gemini 3.7 Flash (Antigravity)",
934
+ reasoning: true,
935
+ limit: { context: 1048576, output: 65536 },
936
+ modalities: DEFAULT_MODALITIES,
937
+ variants: {
938
+ low: { thinkingLevel: "low" },
939
+ high: { thinkingLevel: "high" }
940
+ }
941
+ }),
930
942
  "antigravity-gemini-3.6-flash": defineModel("antigravity-gemini-3.6-flash", {
931
943
  name: "Gemini 3.6 Flash (Antigravity)",
932
944
  reasoning: true,
@@ -1049,6 +1061,9 @@ var RESOLVER_ALIASES = {
1049
1061
  "gemini-3.6-flash-low": "gemini-3.6-flash",
1050
1062
  "gemini-3.6-flash-medium": "gemini-3.6-flash",
1051
1063
  "gemini-3.6-flash-high": "gemini-3.6-flash",
1064
+ "gemini-3.7-flash-low": "gemini-3.7-flash",
1065
+ "gemini-3.7-flash-medium": "gemini-3.7-flash",
1066
+ "gemini-3.7-flash-high": "gemini-3.7-flash",
1052
1067
  "gemini-claude-opus-4-6-thinking-low": "claude-opus-4-6-thinking",
1053
1068
  "gemini-claude-opus-4-6-thinking-medium": "claude-opus-4-6-thinking",
1054
1069
  "gemini-claude-opus-4-6-thinking-high": "claude-opus-4-6-thinking",
@@ -1079,11 +1094,16 @@ var QUOTA_GROUP_BY_MODEL_ID = {
1079
1094
  "gemini-3.6-flash-medium": "gemini",
1080
1095
  "gemini-3.6-flash-high": "gemini",
1081
1096
  "gemini-3.6-flash-tiered": "gemini",
1097
+ "gemini-3.7-flash-low": "gemini",
1098
+ "gemini-3.7-flash-medium": "gemini",
1099
+ "gemini-3.7-flash-high": "gemini",
1100
+ "gemini-3.7-flash-tiered": "gemini",
1082
1101
  "gemini-3.1-flash-image": "gemini",
1083
1102
  "gpt-oss-120b": "non-gemini",
1084
1103
  "gpt-oss-120b-medium": "non-gemini"
1085
1104
  };
1086
1105
  var ANTIGRAVITY_OPENCODE_MODEL_IDS = [
1106
+ "antigravity-gemini-3.7-flash",
1087
1107
  "antigravity-gemini-3.6-flash",
1088
1108
  "antigravity-gemini-3.5-flash",
1089
1109
  "antigravity-gemini-3.1-pro",