clawmoney 0.13.13 → 0.13.15

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.
@@ -94,17 +94,31 @@ const GENERATE_PATH = "/v1internal:streamGenerateContent?alt=sse";
94
94
  * names.
95
95
  */
96
96
  const ANTIGRAVITY_MODEL_MAP = {
97
- // Gemini 3 Pro was retired in April 2026 — Google now returns a plain-text
98
- // "no longer available, switch to Gemini 3.1 Pro" body if you ask for it.
99
- // Route both the 3-pro and 3.1-pro market IDs to 3.1-pro-high.
97
+ // Verified live against a real Ultra account's
98
+ // `v1internal:fetchAvailableModels` response on 2026-04-11. sub2api
99
+ // migration 049's mapping is stale Google has retired most `4-5`
100
+ // Claude variants and only `claude-opus-4-6-thinking` / `claude-sonnet-4-6`
101
+ // remain, both of which are thinking variants (the displayName literally
102
+ // says "(Thinking)" even for the plain id).
103
+ //
104
+ // Gemini: both `gemini-3-pro-high/low` and `gemini-3.1-pro-high/low` are
105
+ // available — prefer 3.1 for new traffic since Google's generate path
106
+ // sends "no longer available" plain text for 3-pro-high.
100
107
  "antigravity-gemini-3-pro": "gemini-3.1-pro-high",
101
108
  "antigravity-gemini-3.1-pro": "gemini-3.1-pro-high",
109
+ "antigravity-gemini-3.1-pro-low": "gemini-3.1-pro-low",
102
110
  "antigravity-gemini-3-flash": "gemini-3-flash",
103
111
  "antigravity-gemini-2.5-pro": "gemini-2.5-pro",
104
112
  "antigravity-gemini-2.5-flash": "gemini-2.5-flash",
105
- "antigravity-claude-sonnet-4-6": "claude-sonnet-4-5",
106
- "antigravity-claude-opus-4-6-thinking": "claude-opus-4-5-thinking",
107
- "antigravity-claude-opus-4-6": "claude-opus-4-6",
113
+ // Claude. All supported variants are thinking-mode; "4-5" market IDs fall
114
+ // through to 4-6 because that's what Google currently exposes.
115
+ "antigravity-claude-opus-4-6": "claude-opus-4-6-thinking",
116
+ "antigravity-claude-opus-4-6-thinking": "claude-opus-4-6-thinking",
117
+ "antigravity-claude-opus-4-5-thinking": "claude-opus-4-6-thinking",
118
+ "antigravity-claude-sonnet-4-6": "claude-sonnet-4-6",
119
+ "antigravity-claude-sonnet-4-5": "claude-sonnet-4-6",
120
+ "antigravity-claude-sonnet-4-5-thinking": "claude-sonnet-4-6",
121
+ "antigravity-claude-haiku-4-5": "claude-sonnet-4-6",
108
122
  };
109
123
  function resolveAntigravityUpstreamModel(model) {
110
124
  return ANTIGRAVITY_MODEL_MAP[model] ?? model;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawmoney",
3
- "version": "0.13.13",
3
+ "version": "0.13.15",
4
4
  "description": "ClawMoney CLI -- Earn rewards with your AI agent",
5
5
  "type": "module",
6
6
  "bin": {