converse-mcp-server 4.12.0 → 4.13.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/.env.example +2 -2
- package/README.md +11 -10
- package/docs/API.md +9 -8
- package/docs/ARCHITECTURE.md +1 -1
- package/docs/PROVIDERS.md +12 -10
- package/package.json +8 -8
- package/src/providers/copilot.js +13 -1
- package/src/providers/gemini-cli.js +41 -16
- package/src/providers/google.js +29 -6
package/.env.example
CHANGED
|
@@ -103,10 +103,10 @@ CLOUDFLARE_API_TOKEN=your_cloudflare_api_token_here
|
|
|
103
103
|
# with "did you mean" suggestions otherwise. Per request, use "provider:model".
|
|
104
104
|
# CODEX_DEFAULT_MODEL=gpt-6.2-astra # gpt-6.2-astra, gpt-6.2-sol, gpt-6.1-sol, gpt-6-sol, gpt-6-luna, gpt-6-astra, gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna, gpt-5.5, gpt-5.3-codex-spark (CODEX_MODEL is the legacy name)
|
|
105
105
|
# CLAUDE_DEFAULT_MODEL=claude-fable-5-2
|
|
106
|
-
# AGY_DEFAULT_MODEL=gemini-
|
|
106
|
+
# AGY_DEFAULT_MODEL=gemini-3.8-flash # Antigravity CLI: gemini-4-neon (default, paid Google AI Pro/Ultra), gemini-4-carbon (Ultra), gemini-4-hydrogen (paid Pro/Ultra), gemini-3.8-flash
|
|
107
107
|
# COPILOT_DEFAULT_MODEL=gpt-6.2-sol # COPILOT_MODEL is the legacy name
|
|
108
108
|
# OPENAI_DEFAULT_MODEL=gpt-6.2-sol
|
|
109
|
-
# GOOGLE_DEFAULT_MODEL=gemini-4-
|
|
109
|
+
# GOOGLE_DEFAULT_MODEL=gemini-4-neon
|
|
110
110
|
# XAI_DEFAULT_MODEL=grok-4.5
|
|
111
111
|
# ANTHROPIC_DEFAULT_MODEL=claude-opus-5-5
|
|
112
112
|
# MISTRAL_DEFAULT_MODEL=mistral-medium-3-5
|
package/README.md
CHANGED
|
@@ -261,7 +261,8 @@ SUMMARIZATION_MODEL=gpt-5-nano # Default: gpt-5-nano
|
|
|
261
261
|
|
|
262
262
|
**Supported Models**:
|
|
263
263
|
|
|
264
|
-
- **gemini-4-
|
|
264
|
+
- **gemini-4-neon** (default; aliases: `neon`, `pro`, `gemini-pro`): Frontier-level reasoning with fast task completion for complex coding, knowledge work and science; thinking levels low/medium/high/xhigh (default high); paid API tier only (1M unified context, 65K output)
|
|
265
|
+
- **gemini-4-carbon** (alias: `carbon`): Strongest Gemini model for long-horizon software engineering, scientific reasoning and agentic work; thinking levels low/medium/high; paid API tier only (1M unified context, 65K output)
|
|
265
266
|
- **gemini-4-hydrogen** (alias: `hydrogen`): Fast Gemini 4 model for everyday coding and agentic workflows; thinking levels low/medium/high/xhigh (`reasoning_effort: "xhigh"`); available on every API tier (1M unified context, 65K output)
|
|
266
267
|
- **gemini-3.1-pro-preview** (aliases: `gemini-3.1-pro`, `gemini-3`): Gemini 3.1 Pro reasoning with expanded thinking levels (1M context, 64K output)
|
|
267
268
|
- **gemini-3.5-flash** (aliases: `gemini-3.5`, `flash-3.5`): Frontier-level agentic and coding performance at Flash speed (1M context, 65K output)
|
|
@@ -270,7 +271,7 @@ SUMMARIZATION_MODEL=gpt-5-nano # Default: gpt-5-nano
|
|
|
270
271
|
- **gemini-2.5-flash** (alias: `flash`): Ultra-fast (1M context, 65K output)
|
|
271
272
|
- **gemini-2.5-flash-lite** (alias: `flash-lite`): Lightweight fast model (1M context, 65K output)
|
|
272
273
|
|
|
273
|
-
**Note**: The Antigravity CLI provider serves `gemini-4-carbon`, `gemini-4-hydrogen` and `gemini-3.8-flash`. Bare `pro` and `gemini-pro` resolve to Gemini 4
|
|
274
|
+
**Note**: The Antigravity CLI provider serves `gemini-4-neon`, `gemini-4-carbon`, `gemini-4-hydrogen` and `gemini-3.8-flash`. Bare `pro` and `gemini-pro` resolve to Gemini 4 Neon on Antigravity first, then the Google API as failover; bare `gemini-3.1-pro-preview` routes to the Google API only. Bare `flash` and `gemini-3.8-flash` route to Antigravity first when it is installed (see [Model Selection](#model-selection)). Use `google:<model>` to always use the Google API.
|
|
274
275
|
|
|
275
276
|
### X.AI/Grok Models
|
|
276
277
|
|
|
@@ -354,7 +355,7 @@ Reach these only with the `copilot:` namespace (e.g. `copilot:gpt-6.2-sol`) —
|
|
|
354
355
|
|
|
355
356
|
- **OpenAI**: `gpt-6.2-sol` (aliases: `gpt-6`, `gpt-6.2`, `gpt-5`, `sol`), `gpt-6.2-astra` (alias: `astra`), `gpt-6.1-sol` (alias: `gpt-6.1`), `gpt-6-sol`, `gpt-6-luna` (alias: `luna`), `gpt-5.6-sol` (alias: `gpt-5.6`), `gpt-5.6-terra`, `gpt-5.6-luna` (all support `reasoning_effort`)
|
|
356
357
|
- **Anthropic**: `claude-opus-5.5` (aliases: `opus`, `claude`), `claude-fable-5.2` (alias: `fable`), `claude-fable-5.1`, `claude-fable-5`, `claude-sonnet-5.5` (alias: `sonnet`), `claude-haiku-5.5` (alias: `haiku`), `claude-sonnet-5`, `claude-opus-5`, `claude-opus-4.8`
|
|
357
|
-
- **Google**: `gemini-4-
|
|
358
|
+
- **Google**: `gemini-4-neon` (aliases: `gemini`, `neon`, `gemini-4`), `gemini-4-carbon` (alias: `carbon`), `gemini-4-hydrogen` (alias: `hydrogen`), `gemini-3.8-flash` (alias: `gemini-flash`)
|
|
358
359
|
|
|
359
360
|
## 📚 Help & Documentation
|
|
360
361
|
|
|
@@ -415,10 +416,10 @@ CODEX_APPROVAL_POLICY=never # never (default), untrusted, on-fa
|
|
|
415
416
|
# list; startup fails with suggestions otherwise.
|
|
416
417
|
CODEX_DEFAULT_MODEL=gpt-6.2-astra # CODEX_MODEL still works as a fallback
|
|
417
418
|
CLAUDE_DEFAULT_MODEL=claude-fable-5-2
|
|
418
|
-
AGY_DEFAULT_MODEL=gemini-4-
|
|
419
|
+
AGY_DEFAULT_MODEL=gemini-4-neon # Requires a paid Google AI Pro or Ultra plan; Free and Plus plans can use gemini:flash or set AGY_DEFAULT_MODEL=gemini-3.8-flash
|
|
419
420
|
COPILOT_DEFAULT_MODEL=gpt-6.2-sol # COPILOT_MODEL still works as a fallback
|
|
420
421
|
OPENAI_DEFAULT_MODEL=gpt-6.2-sol
|
|
421
|
-
GOOGLE_DEFAULT_MODEL=gemini-4-
|
|
422
|
+
GOOGLE_DEFAULT_MODEL=gemini-4-neon
|
|
422
423
|
XAI_DEFAULT_MODEL=grok-4.5
|
|
423
424
|
ANTHROPIC_DEFAULT_MODEL=claude-opus-5-5
|
|
424
425
|
MISTRAL_DEFAULT_MODEL=mistral-medium-3-5
|
|
@@ -487,13 +488,13 @@ Every entry in `models` takes one of four forms:
|
|
|
487
488
|
// A provider: its default model (hardcoded, or <PROVIDER>_DEFAULT_MODEL)
|
|
488
489
|
"codex"; // -> Codex (GPT-6.2 Astra)
|
|
489
490
|
"claude"; // -> Claude Agent SDK (Claude Fable 5.2)
|
|
490
|
-
"gemini"; // -> Antigravity CLI (Gemini 4
|
|
491
|
+
"gemini"; // -> Antigravity CLI (Gemini 4 Neon)
|
|
491
492
|
"openai"; // -> OpenAI API (GPT-6.2 Sol)
|
|
492
493
|
|
|
493
494
|
// provider:model — that model on that provider only
|
|
494
495
|
"codex:astra"; // -> Codex (GPT-6.2 Astra)
|
|
495
496
|
"openai:gpt-6.2-astra"; // -> OpenAI API, even when Codex is available
|
|
496
|
-
"gemini:pro"; // -> Antigravity CLI (Gemini 4
|
|
497
|
+
"gemini:pro"; // -> Antigravity CLI (Gemini 4 Neon)
|
|
497
498
|
"google:gemini-3.1-pro-preview"; // -> Google API
|
|
498
499
|
"copilot:sonnet"; // -> GitHub Copilot (Claude Sonnet 5.5)
|
|
499
500
|
"openrouter:z-ai/glm-5.2:online"; // -> OpenRouter with web search opt-in
|
|
@@ -501,7 +502,7 @@ Every entry in `models` takes one of four forms:
|
|
|
501
502
|
// A bare model ID or alias — the first configured provider that offers it
|
|
502
503
|
"gpt-6.2-astra"; // -> Codex, else OpenAI API
|
|
503
504
|
"opus"; // -> Claude Agent SDK, else Anthropic API
|
|
504
|
-
"pro"; // -> Antigravity CLI (gemini-4-
|
|
505
|
+
"pro"; // -> Antigravity CLI (gemini-4-neon), else Google API
|
|
505
506
|
"grok"; // -> grok-4.5 (XAI)
|
|
506
507
|
"z-ai/glm-5.2"; // -> OpenRouter (any vendor/model slug)
|
|
507
508
|
```
|
|
@@ -519,11 +520,11 @@ Every entry in `models` takes one of four forms:
|
|
|
519
520
|
Provider priority order (subscription-based local providers first, then API-key providers), used by both `auto` and bare model names:
|
|
520
521
|
|
|
521
522
|
1. Codex (`codex` → GPT-6.2 Astra)
|
|
522
|
-
2. Gemini via Antigravity CLI (`gemini` / `agy` → Gemini 4
|
|
523
|
+
2. Gemini via Antigravity CLI (`gemini` / `agy` → Gemini 4 Neon)
|
|
523
524
|
3. Claude Agent SDK (`claude` → Claude Fable 5.2)
|
|
524
525
|
4. Copilot (`copilot` → GPT-6.2 Sol; `auto` only, never bare names)
|
|
525
526
|
5. OpenAI (`openai` → GPT-6.2 Sol)
|
|
526
|
-
6. Google (`google` → Gemini 4
|
|
527
|
+
6. Google (`google` → Gemini 4 Neon)
|
|
527
528
|
7. XAI (`xai` → Grok 4.5)
|
|
528
529
|
8. Anthropic (`anthropic` → Claude Opus 5.5)
|
|
529
530
|
9. Mistral (`mistral` → Mistral Medium 3.5)
|
package/docs/API.md
CHANGED
|
@@ -530,7 +530,8 @@ Provide models as plain name strings in the `models` array. Each entry is `auto`
|
|
|
530
530
|
|
|
531
531
|
| Model | Aliases | Context | Output | Notes |
|
|
532
532
|
|-------|---------|---------|--------|-------|
|
|
533
|
-
| `gemini-4-
|
|
533
|
+
| `gemini-4-neon` | `neon`, `pro`, `gemini-pro` | 1M | 65K | Default; frontier-level reasoning with fast task completion for coding, knowledge work and science; thinking low/medium/high/xhigh; paid API tier only |
|
|
534
|
+
| `gemini-4-carbon` | `carbon` | 1M | 65K | Strongest Gemini for long-horizon software engineering and scientific reasoning; thinking low/medium/high; paid API tier only |
|
|
534
535
|
| `gemini-4-hydrogen` | `hydrogen` | 1M | 65K | Fast Gemini 4 for everyday coding and agentic work; thinking low/medium/high/xhigh; every API tier |
|
|
535
536
|
| `gemini-3.1-pro-preview` | `gemini-3.1-pro`, `gemini-3` | 1M | 64K | Gemini 3.1 Pro reasoning, expanded thinking levels |
|
|
536
537
|
| `gemini-3.5-flash` | `gemini-3.5`, `flash-3.5` | 1M | 65K | Frontier agentic/coding at Flash speed |
|
|
@@ -539,7 +540,7 @@ Provide models as plain name strings in the `models` array. Each entry is `auto`
|
|
|
539
540
|
| `gemini-2.5-flash` | `flash` | 1M | 65K | Ultra-fast |
|
|
540
541
|
| `gemini-2.5-flash-lite` | `flash-lite` | 1M | 65K | Lightweight fast model |
|
|
541
542
|
|
|
542
|
-
**Note:** The **Antigravity CLI** provider (`agy`, OAuth-based) serves `gemini-4-carbon`, `gemini-4-hydrogen` and `gemini-3.8-flash`. Bare `pro` and `gemini-pro` resolve to Gemini 4
|
|
543
|
+
**Note:** The **Antigravity CLI** provider (`agy`, OAuth-based) serves `gemini-4-neon`, `gemini-4-carbon`, `gemini-4-hydrogen` and `gemini-3.8-flash`. Bare `pro` and `gemini-pro` resolve to Gemini 4 Neon on Antigravity first, then the Google API as failover; bare `gemini-3.1-pro-preview` routes to the Google API only. Bare `flash` and `gemini-3.8-flash` route to Antigravity first when `agy` is installed; the bare name `gemini` is the Antigravity namespace. Use `google:<model>` (e.g. `google:pro`) to always use the Google API.
|
|
543
544
|
|
|
544
545
|
### X.AI / Grok Models
|
|
545
546
|
|
|
@@ -640,7 +641,7 @@ All three are uncensored ("abliterated") reasoning models using Abliteration's O
|
|
|
640
641
|
|
|
641
642
|
The **Antigravity CLI** (`agy`) provides subscription-based access to Gemini models through Google OAuth:
|
|
642
643
|
|
|
643
|
-
- **Models** (text-only): `gemini-4-
|
|
644
|
+
- **Models** (text-only): `gemini-4-neon` (default; `neon`, `pro`, `gemini-pro`, ...; `gemini:pro`; 512K context on Antigravity), `gemini-4-carbon` (`carbon`, ...; `gemini:carbon`), `gemini-4-hydrogen` (`hydrogen`, ...; `gemini:hydrogen`), `gemini-3.8-flash` (`flash`, `gemini-3.8`, `flash-3.8`, ...; `gemini:flash`). `reasoning_effort: "xhigh"` selects the XHigh variant of Neon and Hydrogen. Neon and Hydrogen require a paid Google AI Pro or Ultra plan and Carbon requires Ultra; Free and Plus plans can use `gemini:flash` or set `AGY_DEFAULT_MODEL=gemini-3.8-flash`. Default override: `AGY_DEFAULT_MODEL`.
|
|
644
645
|
- **Namespaces**: `gemini`, `agy`, `antigravity`, `gemini-cli`
|
|
645
646
|
- **Availability**: the `agy` binary is found on PATH or at the platform install location
|
|
646
647
|
- **Permissions**: `agy` runs with `--dangerously-skip-permissions`, so every tool request is auto-approved
|
|
@@ -669,7 +670,7 @@ Reach these only with the `copilot:` namespace (also `github-copilot:`, `copilot
|
|
|
669
670
|
|
|
670
671
|
- **OpenAI**: `gpt-6.2-sol` (aliases: `gpt-6`, `gpt-6.2`, `gpt-5`, `sol`), `gpt-6.2-astra` (alias: `astra`), `gpt-6.1-sol` (alias: `gpt-6.1`), `gpt-6-sol`, `gpt-6-luna` (alias: `luna`), `gpt-5.6-sol` (alias: `gpt-5.6`), `gpt-5.6-terra`, `gpt-5.6-luna` (all accept `reasoning_effort`)
|
|
671
672
|
- **Anthropic**: `claude-opus-5.5` (aliases: `opus`, `claude`), `claude-fable-5.2` (alias: `fable`), `claude-fable-5.1`, `claude-fable-5`, `claude-sonnet-5.5` (alias: `sonnet`), `claude-haiku-5.5` (alias: `haiku`), `claude-sonnet-5`, `claude-opus-5`, `claude-opus-4.8`
|
|
672
|
-
- **Google**: `gemini-4-
|
|
673
|
+
- **Google**: `gemini-4-neon` (aliases: `gemini`, `neon`, `gemini-4`), `gemini-4-carbon` (alias: `carbon`), `gemini-4-hydrogen` (alias: `hydrogen`), `gemini-3.8-flash` (alias: `gemini-flash`)
|
|
673
674
|
- Any other `copilot:<id>` is rejected with suggestions
|
|
674
675
|
|
|
675
676
|
### Model Selection
|
|
@@ -688,7 +689,7 @@ Every entry in `models` takes one of four forms:
|
|
|
688
689
|
"gpt-6" // Codex (-> gpt-6.2-sol), else OpenAI API
|
|
689
690
|
"openai:gpt-6" // OpenAI API only
|
|
690
691
|
"gemini-2.5-flash" // Google API
|
|
691
|
-
"pro" // Antigravity CLI (-> gemini-4-
|
|
692
|
+
"pro" // Antigravity CLI (-> gemini-4-neon), else Google API
|
|
692
693
|
"google:pro" // Google API only
|
|
693
694
|
"grok-4.5" // X.AI
|
|
694
695
|
"deepseek" // DeepSeek (-> deepseek-v4-pro)
|
|
@@ -702,7 +703,7 @@ Every entry in `models` takes one of four forms:
|
|
|
702
703
|
"claude" // Claude Agent SDK (-> Claude Fable 5.2)
|
|
703
704
|
"claude:opus" // Claude Agent SDK (Claude Opus 5.5)
|
|
704
705
|
"codex:luna" // Codex (GPT-6 Luna)
|
|
705
|
-
"gemini" // Antigravity CLI (Gemini 4
|
|
706
|
+
"gemini" // Antigravity CLI (Gemini 4 Neon)
|
|
706
707
|
"copilot:gpt-6.2-sol" // GitHub Copilot SDK
|
|
707
708
|
```
|
|
708
709
|
|
|
@@ -751,10 +752,10 @@ Each provider's default model (used for its bare provider name and for `auto`) c
|
|
|
751
752
|
```bash
|
|
752
753
|
CODEX_DEFAULT_MODEL=gpt-6.2-astra # CODEX_MODEL is honored as a legacy fallback
|
|
753
754
|
CLAUDE_DEFAULT_MODEL=claude-fable-5-2
|
|
754
|
-
AGY_DEFAULT_MODEL=gemini-4-
|
|
755
|
+
AGY_DEFAULT_MODEL=gemini-4-neon # Antigravity CLI (gemini)
|
|
755
756
|
COPILOT_DEFAULT_MODEL=gpt-6.2-sol # COPILOT_MODEL is honored as a legacy fallback
|
|
756
757
|
OPENAI_DEFAULT_MODEL=gpt-6.2-sol
|
|
757
|
-
GOOGLE_DEFAULT_MODEL=gemini-4-
|
|
758
|
+
GOOGLE_DEFAULT_MODEL=gemini-4-neon
|
|
758
759
|
XAI_DEFAULT_MODEL=grok-4.5
|
|
759
760
|
ANTHROPIC_DEFAULT_MODEL=claude-opus-5-5
|
|
760
761
|
MISTRAL_DEFAULT_MODEL=mistral-medium-3-5
|
package/docs/ARCHITECTURE.md
CHANGED
package/docs/PROVIDERS.md
CHANGED
|
@@ -28,7 +28,8 @@ This guide documents all supported AI providers in the Converse MCP Server and t
|
|
|
28
28
|
- **Get Key**: [makersuite.google.com/app/apikey](https://makersuite.google.com/app/apikey)
|
|
29
29
|
- **Environment Variable**: `GOOGLE_API_KEY`
|
|
30
30
|
- **Supported Models**:
|
|
31
|
-
- `gemini-4-
|
|
31
|
+
- `gemini-4-neon` (default; aliases: `neon`, `pro`, `gemini-pro`) - Frontier-level reasoning with fast task completion for complex coding, knowledge work and science; thinking levels low/medium/high/xhigh (default high); paid API tier only (1M unified context, 65K output)
|
|
32
|
+
- `gemini-4-carbon` (alias: `carbon`) - Strongest Gemini model for long-horizon software engineering, scientific reasoning and agentic work; thinking levels low/medium/high; paid API tier only (1M unified context, 65K output)
|
|
32
33
|
- `gemini-4-hydrogen` (alias: `hydrogen`) - Fast Gemini 4 model for everyday coding and agentic workflows; thinking levels low/medium/high/xhigh; available on every API tier (1M unified context, 65K output)
|
|
33
34
|
- `gemini-3.1-pro-preview` (aliases: `gemini-3.1-pro`, `gemini-3`) - Gemini 3.1 Pro reasoning with expanded thinking levels (1M context, 64K output)
|
|
34
35
|
- `gemini-3.5-flash` (aliases: `gemini-3.5`, `flash-3.5`) - Frontier-level agentic and coding performance at Flash speed (1M context, 65K output)
|
|
@@ -36,7 +37,7 @@ This guide documents all supported AI providers in the Converse MCP Server and t
|
|
|
36
37
|
- `gemini-2.5-pro` (alias: `pro 2.5`) - Deep reasoning with thinking budget (1M context, 65K output)
|
|
37
38
|
- `gemini-2.5-flash` (alias: `flash`) - Ultra-fast model with thinking budget (1M context, 65K output)
|
|
38
39
|
- `gemini-2.5-flash-lite` (alias: `flash-lite`) - Lightweight fast model (1M context, 65K output)
|
|
39
|
-
- **Note**: The **Antigravity CLI** provider (`agy`, OAuth-based access) serves `gemini-4-carbon`, `gemini-4-hydrogen` and `gemini-3.8-flash`, and it comes before the Google API in bare-name order. When `agy` is installed, bare `pro` and `gemini-pro` resolve to Gemini 4
|
|
40
|
+
- **Note**: The **Antigravity CLI** provider (`agy`, OAuth-based access) serves `gemini-4-neon`, `gemini-4-carbon`, `gemini-4-hydrogen` and `gemini-3.8-flash`, and it comes before the Google API in bare-name order. When `agy` is installed, bare `pro` and `gemini-pro` resolve to Gemini 4 Neon on Antigravity first, with the Google API as failover; bare `gemini-3.1-pro-preview` routes to the Google API only. The bare name `gemini` is the Antigravity namespace. Use `google:<model>` (e.g. `google:pro`, `google:gemini-2.5-flash`) to always use the Google API. Names only the Google API serves (e.g. `gemini-2.5-pro`, `gemini-3.5-flash`) route there directly.
|
|
40
41
|
|
|
41
42
|
### X.AI (Grok)
|
|
42
43
|
- **API Key Format**: `xai-...` (starts with `xai-`)
|
|
@@ -160,11 +161,12 @@ This guide documents all supported AI providers in the Converse MCP Server and t
|
|
|
160
161
|
2. Authenticate: run `agy` once interactively and complete the Google OAuth login. This also establishes workspace trust for your home directory (the provider spawns each call in a per-call subdirectory under `~/.converse/agy-runs`).
|
|
161
162
|
- **Availability**: The `agy` binary is found on PATH or at the platform install location
|
|
162
163
|
- **Environment Variables**:
|
|
163
|
-
- `AGY_DEFAULT_MODEL` - Model used for bare `gemini` and `auto` (default: `gemini-4-
|
|
164
|
+
- `AGY_DEFAULT_MODEL` - Model used for bare `gemini` and `auto` (default: `gemini-4-neon`, requires a paid Google AI Pro or Ultra plan; Free and Plus plans can use `gemini:flash` or set `AGY_DEFAULT_MODEL=gemini-3.8-flash`)
|
|
164
165
|
- **Namespaces**: `gemini`, `agy`, `antigravity`, `gemini-cli` (all equivalent, e.g. `agy:pro`)
|
|
165
166
|
- **Supported Models** (text-only — print mode has no image input channel):
|
|
166
|
-
- `gemini-4-
|
|
167
|
-
- `gemini-4-
|
|
167
|
+
- `gemini-4-neon` (aliases: `neon`, `pro`, `gemini-pro`, ...) - Gemini 4 Neon, paid Pro and Ultra plans, 512K context on Antigravity (default; `gemini` alone = `gemini:gemini-4-neon`; `gemini:pro`); `reasoning_effort: "xhigh"` selects its XHigh variant
|
|
168
|
+
- `gemini-4-carbon` (aliases: `carbon`, `gemini-carbon`, ...) - Gemini 4 Carbon, Ultra only (`gemini:carbon`)
|
|
169
|
+
- `gemini-4-hydrogen` (aliases: `hydrogen`, `gemini-hydrogen`, ...) - Gemini 4 Hydrogen, paid Pro and Ultra plans (`gemini:hydrogen`); `reasoning_effort: "xhigh"` selects its XHigh variant
|
|
168
170
|
- `gemini-3.8-flash` (aliases: `flash`, `gemini-3.8`, `flash-3.8`, ...) - Gemini 3.8 Flash (`gemini:flash`)
|
|
169
171
|
- Every model has Low, Medium, and High variants selected by `reasoning_effort`.
|
|
170
172
|
|
|
@@ -219,7 +221,7 @@ agy
|
|
|
219
221
|
**Differences from Google API Provider:**
|
|
220
222
|
- **Authentication**: Google OAuth via `agy` vs API Key (Google API)
|
|
221
223
|
- **Billing**: Antigravity subscription/compute allowance vs pay-per-use API
|
|
222
|
-
- **Model Routing**: `gemini` / `gemini:<model>` / `agy:<model>` → Antigravity CLI provider; `google:<model>` → Google API provider; bare `pro` and `gemini-pro` resolve to Gemini 4
|
|
224
|
+
- **Model Routing**: `gemini` / `gemini:<model>` / `agy:<model>` → Antigravity CLI provider; `google:<model>` → Google API provider; bare `pro` and `gemini-pro` resolve to Gemini 4 Neon on Antigravity first, then the Google API on authentication/availability failure. Bare `gemini-3.1-pro-preview` routes to the Google API only. Bare `gemini-3.8-flash` is served by both providers and tries Antigravity first; bare `flash` is Gemini 3.8 Flash on Antigravity but Gemini 2.5 Flash on the Google API, so it does not fail over between them.
|
|
223
225
|
- **Images**: Not supported (text-only) vs full multimodal on the Google API provider
|
|
224
226
|
- **Permissions**: `agy` runs with `--dangerously-skip-permissions` (headless calls cannot prompt), so every tool request, including shell commands and file writes, is auto-approved. Bare names and `auto` reach it whenever `agy` is installed; use `google:<model>` to keep a request on the plain API.
|
|
225
227
|
|
|
@@ -264,7 +266,7 @@ agy
|
|
|
264
266
|
- `copilot` - GPT-6.2 Sol, or `COPILOT_DEFAULT_MODEL`
|
|
265
267
|
- OpenAI: `gpt-6.2-sol` (aliases: `gpt-6`, `gpt-6.2`, `gpt-5`, `sol`), `gpt-6.2-astra` (alias: `astra`), `gpt-6.1-sol` (alias: `gpt-6.1`), `gpt-6-sol`, `gpt-6-luna` (alias: `luna`), `gpt-5.6-sol` (alias: `gpt-5.6`), `gpt-5.6-terra`, `gpt-5.6-luna`
|
|
266
268
|
- Anthropic: `claude-opus-5.5` (aliases: `opus`, `claude`; Copilot Pro+/Max/Business/Enterprise), `claude-fable-5.2` (alias: `fable`), `claude-fable-5.1`, `claude-fable-5`, `claude-sonnet-5.5` (alias: `sonnet`), `claude-haiku-5.5` (alias: `haiku`), `claude-sonnet-5`, `claude-opus-5`, `claude-opus-4.8`
|
|
267
|
-
- Google: `gemini-4-
|
|
269
|
+
- Google: `gemini-4-neon` (aliases: `gemini`, `neon`, `gemini-4`), `gemini-4-carbon` (alias: `carbon`), `gemini-4-hydrogen` (alias: `hydrogen`), `gemini-3.8-flash` (alias: `gemini-flash`)
|
|
268
270
|
- **Reasoning**: The GPT-6 and GPT-5.6 tiers accept `reasoning_effort` (clamped onto Copilot's `low`–`xhigh`).
|
|
269
271
|
- **Unknown IDs**: Any other `copilot:<id>` is rejected with suggestions; only the IDs and aliases above are accepted.
|
|
270
272
|
|
|
@@ -304,10 +306,10 @@ Each provider has a `<PROVIDER>_DEFAULT_MODEL` variable that sets the model used
|
|
|
304
306
|
```bash
|
|
305
307
|
CODEX_DEFAULT_MODEL=gpt-6.2-astra # CODEX_MODEL is honored as a legacy fallback
|
|
306
308
|
CLAUDE_DEFAULT_MODEL=claude-fable-5-2
|
|
307
|
-
AGY_DEFAULT_MODEL=gemini-4-
|
|
309
|
+
AGY_DEFAULT_MODEL=gemini-4-neon # Antigravity CLI (gemini)
|
|
308
310
|
COPILOT_DEFAULT_MODEL=gpt-6.2-sol # COPILOT_MODEL is honored as a legacy fallback
|
|
309
311
|
OPENAI_DEFAULT_MODEL=gpt-6.2-sol
|
|
310
|
-
GOOGLE_DEFAULT_MODEL=gemini-4-
|
|
312
|
+
GOOGLE_DEFAULT_MODEL=gemini-4-neon
|
|
311
313
|
XAI_DEFAULT_MODEL=grok-4.5
|
|
312
314
|
ANTHROPIC_DEFAULT_MODEL=claude-opus-5-5
|
|
313
315
|
MISTRAL_DEFAULT_MODEL=mistral-medium-3-5
|
|
@@ -415,7 +417,7 @@ Examples:
|
|
|
415
417
|
"sonnet" // Claude Agent SDK (claude-sonnet-5-5), else Anthropic API
|
|
416
418
|
"claude" // Claude Agent SDK (defaults to Claude Fable 5.2)
|
|
417
419
|
"claude:opus" // Claude Agent SDK (Claude Opus 5.5)
|
|
418
|
-
"pro" // Antigravity CLI (gemini-4-
|
|
420
|
+
"pro" // Antigravity CLI (gemini-4-neon), else Google API
|
|
419
421
|
"google:pro" // Google API only
|
|
420
422
|
"gemini-2.5-pro" // Google API
|
|
421
423
|
"grok-4.5" // X.AI
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "converse-mcp-server",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.13.1",
|
|
4
4
|
"description": "Converse MCP Server - Converse with other LLMs with chat and consensus tools",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -93,31 +93,31 @@
|
|
|
93
93
|
".env.example"
|
|
94
94
|
],
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@anthropic-ai/claude-agent-sdk": "^0.3.
|
|
97
|
-
"@anthropic-ai/sdk": "^1.
|
|
96
|
+
"@anthropic-ai/claude-agent-sdk": "^0.3.330",
|
|
97
|
+
"@anthropic-ai/sdk": "^1.12.0",
|
|
98
98
|
"@github/copilot-sdk": "^1.0.34",
|
|
99
|
-
"@google/genai": "^3.
|
|
99
|
+
"@google/genai": "^3.6.1",
|
|
100
100
|
"@lydell/node-pty": "1.2.0-beta.18",
|
|
101
101
|
"@mistralai/mistralai": "^3.5.0",
|
|
102
102
|
"@modelcontextprotocol/node": "^2.1.2",
|
|
103
103
|
"@modelcontextprotocol/server": "^2.4.0",
|
|
104
|
-
"@openai/codex-sdk": "^0.
|
|
104
|
+
"@openai/codex-sdk": "^0.171.0",
|
|
105
105
|
"cors": "^2.8.6",
|
|
106
106
|
"dotenv": "^18.0.10",
|
|
107
107
|
"express": "^5.3.0",
|
|
108
108
|
"lru-cache": "^11.5.3",
|
|
109
109
|
"nanoid": "^6.0.2",
|
|
110
|
-
"openai": "^7.
|
|
110
|
+
"openai": "^7.62.0",
|
|
111
111
|
"p-limit": "^7.3.3",
|
|
112
112
|
"vite": "^8.3.8",
|
|
113
113
|
"zod": "^4.6.7"
|
|
114
114
|
},
|
|
115
115
|
"devDependencies": {
|
|
116
116
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
117
|
-
"@vitest/coverage-v8": "^5.1.
|
|
117
|
+
"@vitest/coverage-v8": "^5.1.1",
|
|
118
118
|
"cross-env": "^10.1.0",
|
|
119
119
|
"eslint": "^10.15.0",
|
|
120
120
|
"rimraf": "^6.1.4",
|
|
121
|
-
"vitest": "^5.1.
|
|
121
|
+
"vitest": "^5.1.1"
|
|
122
122
|
}
|
|
123
123
|
}
|
package/src/providers/copilot.js
CHANGED
|
@@ -249,6 +249,18 @@ const SUPPORTED_MODELS = {
|
|
|
249
249
|
},
|
|
250
250
|
|
|
251
251
|
// Google models
|
|
252
|
+
'gemini-4-neon': {
|
|
253
|
+
modelName: 'gemini-4-neon',
|
|
254
|
+
friendlyName: 'Gemini 4 Neon (via Copilot)',
|
|
255
|
+
contextWindow: 1048576,
|
|
256
|
+
maxOutputTokens: 65536,
|
|
257
|
+
supportsStreaming: true,
|
|
258
|
+
supportsImages: false,
|
|
259
|
+
supportsWebSearch: false,
|
|
260
|
+
timeout: 1800000,
|
|
261
|
+
description: 'Google Gemini 4 Neon via Copilot subscription',
|
|
262
|
+
aliases: ['gemini', 'neon', 'gemini-4'],
|
|
263
|
+
},
|
|
252
264
|
'gemini-4-carbon': {
|
|
253
265
|
modelName: 'gemini-4-carbon',
|
|
254
266
|
friendlyName: 'Gemini 4 Carbon (via Copilot)',
|
|
@@ -259,7 +271,7 @@ const SUPPORTED_MODELS = {
|
|
|
259
271
|
supportsWebSearch: false,
|
|
260
272
|
timeout: 1800000,
|
|
261
273
|
description: 'Google Gemini 4 Carbon via Copilot subscription',
|
|
262
|
-
aliases: ['
|
|
274
|
+
aliases: ['carbon'],
|
|
263
275
|
},
|
|
264
276
|
'gemini-4-hydrogen': {
|
|
265
277
|
modelName: 'gemini-4-hydrogen',
|
|
@@ -19,9 +19,10 @@
|
|
|
19
19
|
* establishes workspace trust for the user's home directory.
|
|
20
20
|
*
|
|
21
21
|
* The provider registry key remains 'gemini-cli'; its namespaces are `gemini:`
|
|
22
|
-
* and `agy:`. Gemini 4
|
|
23
|
-
* Google AI Ultra plans, so
|
|
24
|
-
* AGY_DEFAULT_MODEL). Antigravity no longer
|
|
22
|
+
* and `agy:`. Gemini 4 Neon is the default; Antigravity serves it on paid
|
|
23
|
+
* Google AI Pro and Ultra plans (Carbon only on Ultra), so Free and Plus plans
|
|
24
|
+
* select `gemini:flash` (or set AGY_DEFAULT_MODEL). Antigravity no longer
|
|
25
|
+
* offers Gemini 3.1 Pro.
|
|
25
26
|
*/
|
|
26
27
|
|
|
27
28
|
import { existsSync, mkdirSync, writeFileSync, rmSync } from 'node:fs';
|
|
@@ -60,6 +61,36 @@ const PTY_COLS = 1000;
|
|
|
60
61
|
* channel).
|
|
61
62
|
*/
|
|
62
63
|
const SUPPORTED_MODELS = {
|
|
64
|
+
'gemini-4-neon': {
|
|
65
|
+
modelName: 'gemini-4-neon',
|
|
66
|
+
friendlyName: 'Gemini 4 Neon (via Antigravity CLI)',
|
|
67
|
+
// Antigravity caps Neon at 512K, half of the Gemini API window.
|
|
68
|
+
contextWindow: 524288,
|
|
69
|
+
maxOutputTokens: 65536,
|
|
70
|
+
supportsStreaming: true,
|
|
71
|
+
supportsImages: false,
|
|
72
|
+
supportsWebSearch: false,
|
|
73
|
+
supportsThinking: true,
|
|
74
|
+
timeout: DEFAULT_TIMEOUT_MS,
|
|
75
|
+
description:
|
|
76
|
+
'Gemini 4 Neon via Antigravity CLI (agy, default) - requires Antigravity Google OAuth login on a paid Google AI Pro or Ultra plan',
|
|
77
|
+
aliases: [
|
|
78
|
+
'neon',
|
|
79
|
+
'gemini-neon',
|
|
80
|
+
'gemini neon',
|
|
81
|
+
'gemini-4',
|
|
82
|
+
'gemini4',
|
|
83
|
+
'gemini 4 neon',
|
|
84
|
+
'4-neon',
|
|
85
|
+
'pro',
|
|
86
|
+
'gemini-pro',
|
|
87
|
+
'gemini pro',
|
|
88
|
+
],
|
|
89
|
+
// agy display-name base; reasoning_effort selects one of agyEffortTiers
|
|
90
|
+
// as the parenthesized variant
|
|
91
|
+
agyModelBase: 'Gemini 4 Neon',
|
|
92
|
+
agyEffortTiers: ['low', 'medium', 'high', 'xhigh'],
|
|
93
|
+
},
|
|
63
94
|
'gemini-4-carbon': {
|
|
64
95
|
modelName: 'gemini-4-carbon',
|
|
65
96
|
friendlyName: 'Gemini 4 Carbon (via Antigravity CLI)',
|
|
@@ -71,21 +102,14 @@ const SUPPORTED_MODELS = {
|
|
|
71
102
|
supportsThinking: true,
|
|
72
103
|
timeout: DEFAULT_TIMEOUT_MS,
|
|
73
104
|
description:
|
|
74
|
-
'Gemini 4 Carbon via Antigravity CLI (agy
|
|
105
|
+
'Gemini 4 Carbon via Antigravity CLI (agy) - requires Antigravity Google OAuth login on a Google AI Ultra plan',
|
|
75
106
|
aliases: [
|
|
76
107
|
'carbon',
|
|
77
108
|
'gemini-carbon',
|
|
78
109
|
'gemini carbon',
|
|
79
|
-
'gemini-4',
|
|
80
|
-
'gemini4',
|
|
81
110
|
'gemini 4 carbon',
|
|
82
111
|
'4-carbon',
|
|
83
|
-
'pro',
|
|
84
|
-
'gemini-pro',
|
|
85
|
-
'gemini pro',
|
|
86
112
|
],
|
|
87
|
-
// agy display-name base; reasoning_effort selects one of agyEffortTiers
|
|
88
|
-
// as the parenthesized variant
|
|
89
113
|
agyModelBase: 'Gemini 4 Carbon',
|
|
90
114
|
agyEffortTiers: ['low', 'medium', 'high'],
|
|
91
115
|
},
|
|
@@ -100,7 +124,7 @@ const SUPPORTED_MODELS = {
|
|
|
100
124
|
supportsThinking: true,
|
|
101
125
|
timeout: DEFAULT_TIMEOUT_MS,
|
|
102
126
|
description:
|
|
103
|
-
'Gemini 4 Hydrogen via Antigravity CLI (agy) - requires Antigravity Google OAuth login
|
|
127
|
+
'Gemini 4 Hydrogen via Antigravity CLI (agy) - requires Antigravity Google OAuth login on a paid Google AI Pro or Ultra plan',
|
|
104
128
|
aliases: [
|
|
105
129
|
'hydrogen',
|
|
106
130
|
'gemini-hydrogen',
|
|
@@ -139,7 +163,7 @@ const SUPPORTED_MODELS = {
|
|
|
139
163
|
},
|
|
140
164
|
};
|
|
141
165
|
|
|
142
|
-
const DEFAULT_MODEL = 'gemini-4-
|
|
166
|
+
const DEFAULT_MODEL = 'gemini-4-neon';
|
|
143
167
|
|
|
144
168
|
/**
|
|
145
169
|
* Custom error class for Gemini CLI (agy) provider errors
|
|
@@ -687,11 +711,12 @@ async function executeAgy(messages, options) {
|
|
|
687
711
|
const cleaned = cleanAgyOutput(output);
|
|
688
712
|
|
|
689
713
|
if (exitCode !== 0) {
|
|
690
|
-
// agy's model list is per-plan (
|
|
691
|
-
// catalog model can still be missing for the
|
|
714
|
+
// agy's model list is per-plan (Neon and Hydrogen need a paid plan,
|
|
715
|
+
// Carbon needs Ultra), so a catalog model can still be missing for the
|
|
716
|
+
// signed-in account.
|
|
692
717
|
if (/not recognized as a known model/i.test(cleaned)) {
|
|
693
718
|
throw new GeminiCliProviderError(
|
|
694
|
-
`Antigravity CLI (agy) does not offer "${agyModel}" to the signed-in account (Gemini 4
|
|
719
|
+
`Antigravity CLI (agy) does not offer "${agyModel}" to the signed-in account (Gemini 4 Neon and Hydrogen require a paid Google AI Pro or Ultra plan; Gemini 4 Carbon requires Ultra). Use gemini:flash, which every plan offers, or set AGY_DEFAULT_MODEL to change the default. agy output: ${cleaned.slice(0, 800)}`,
|
|
695
720
|
ErrorCodes.MODEL_NOT_FOUND,
|
|
696
721
|
);
|
|
697
722
|
}
|
package/src/providers/google.js
CHANGED
|
@@ -100,6 +100,34 @@ const SUPPORTED_MODELS = {
|
|
|
100
100
|
'3.1-pro',
|
|
101
101
|
],
|
|
102
102
|
},
|
|
103
|
+
'gemini-4-neon': {
|
|
104
|
+
modelName: 'gemini-4-neon',
|
|
105
|
+
friendlyName: 'Gemini (4 Neon)',
|
|
106
|
+
contextWindow: 1048576, // 1M tokens, shared by input and output
|
|
107
|
+
maxOutputTokens: 65536,
|
|
108
|
+
supportsStreaming: true,
|
|
109
|
+
supportsImages: true,
|
|
110
|
+
supportsThinking: true,
|
|
111
|
+
supportsWebSearch: true,
|
|
112
|
+
thinkingMode: 'level',
|
|
113
|
+
// Like Hydrogen, Neon adds an xhigh level above high (its default).
|
|
114
|
+
thinkingLevels: ['low', 'medium', 'high', 'xhigh'],
|
|
115
|
+
timeout: 900000,
|
|
116
|
+
description:
|
|
117
|
+
'Gemini 4 Neon - Frontier-level reasoning with fast task completion for complex coding, knowledge work and science; paid API tier only (1M context)',
|
|
118
|
+
aliases: [
|
|
119
|
+
'neon',
|
|
120
|
+
'gemini-neon',
|
|
121
|
+
'gemini neon',
|
|
122
|
+
'gemini-4',
|
|
123
|
+
'gemini4',
|
|
124
|
+
'gemini 4 neon',
|
|
125
|
+
'4-neon',
|
|
126
|
+
'gemini pro',
|
|
127
|
+
'gemini-pro',
|
|
128
|
+
'pro',
|
|
129
|
+
],
|
|
130
|
+
},
|
|
103
131
|
'gemini-4-carbon': {
|
|
104
132
|
modelName: 'gemini-4-carbon',
|
|
105
133
|
friendlyName: 'Gemini (4 Carbon)',
|
|
@@ -118,13 +146,8 @@ const SUPPORTED_MODELS = {
|
|
|
118
146
|
'carbon',
|
|
119
147
|
'gemini-carbon',
|
|
120
148
|
'gemini carbon',
|
|
121
|
-
'gemini-4',
|
|
122
|
-
'gemini4',
|
|
123
149
|
'gemini 4 carbon',
|
|
124
150
|
'4-carbon',
|
|
125
|
-
'gemini pro',
|
|
126
|
-
'gemini-pro',
|
|
127
|
-
'pro',
|
|
128
151
|
],
|
|
129
152
|
},
|
|
130
153
|
'gemini-4-hydrogen': {
|
|
@@ -481,7 +504,7 @@ async function retryWithBackoff(fn, maxRetries = 4) {
|
|
|
481
504
|
/**
|
|
482
505
|
* Main Google provider implementation
|
|
483
506
|
*/
|
|
484
|
-
const DEFAULT_MODEL = 'gemini-4-
|
|
507
|
+
const DEFAULT_MODEL = 'gemini-4-neon';
|
|
485
508
|
|
|
486
509
|
export const googleProvider = {
|
|
487
510
|
defaultModel: DEFAULT_MODEL,
|