converse-mcp-server 4.9.11 → 4.10.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/.env.example +1 -1
- package/README.md +10 -9
- package/docs/API.md +11 -10
- package/docs/PROVIDERS.md +16 -14
- package/package.json +7 -7
- package/src/providers/anthropic.js +33 -3
- package/src/providers/claude.js +25 -12
- package/src/providers/copilot.js +13 -1
package/.env.example
CHANGED
|
@@ -102,7 +102,7 @@ CLOUDFLARE_API_TOKEN=your_cloudflare_api_token_here
|
|
|
102
102
|
# Each must be a model ID or alias from that provider's catalog; startup fails
|
|
103
103
|
# with "did you mean" suggestions otherwise. Per request, use "provider:model".
|
|
104
104
|
# CODEX_DEFAULT_MODEL=gpt-6-astra # 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
|
-
# CLAUDE_DEFAULT_MODEL=claude-
|
|
105
|
+
# CLAUDE_DEFAULT_MODEL=claude-fable-5-2
|
|
106
106
|
# AGY_DEFAULT_MODEL=gemini-3.8-flash # Antigravity CLI: gemini-4-argon (default, requires Google AI Ultra), gemini-3.8-flash
|
|
107
107
|
# COPILOT_DEFAULT_MODEL=gpt-6.1-sol # COPILOT_MODEL is the legacy name
|
|
108
108
|
# OPENAI_DEFAULT_MODEL=gpt-6.1-sol
|
package/README.md
CHANGED
|
@@ -276,7 +276,8 @@ SUMMARIZATION_MODEL=gpt-5-nano # Default: gpt-5-nano
|
|
|
276
276
|
### Anthropic Models
|
|
277
277
|
|
|
278
278
|
- **claude-opus-5-5** (default; aliases: `opus`, `opus-5.5`, `claude-opus`): Flagship Opus for complex agentic coding and deep reasoning; thinking always on, effort `low`–`max` (1M context, 128K output)
|
|
279
|
-
- **claude-fable-5** (
|
|
279
|
+
- **claude-fable-5-2** (aliases: `fable`, `claude-fable`, `fable-5.2`): Most capable model for demanding reasoning and long-horizon agentic work; needs 30-day data retention on the workspace (1M context, 128K output)
|
|
280
|
+
- **claude-fable-5** (alias: `fable-5`): First Fable generation (1M context, 128K output)
|
|
280
281
|
- **claude-opus-5** (alias: `opus-5`): Previous Opus generation (1M context, 128K output)
|
|
281
282
|
- **claude-opus-4-8** / **claude-opus-4-7** / **claude-opus-4-6**: Earlier Opus generations with adaptive thinking (200K context, 1M via beta, 128K output)
|
|
282
283
|
- **claude-opus-4-5** / **claude-opus-4-1**: Legacy Opus models with extended thinking (64K / 32K output)
|
|
@@ -335,10 +336,10 @@ OpenAI Codex agentic coding assistant. `codex` uses its default model (GPT-6 Ast
|
|
|
335
336
|
|
|
336
337
|
### Claude Agent SDK Models
|
|
337
338
|
|
|
338
|
-
Claude via the Claude Agent SDK. `claude` uses its default model (
|
|
339
|
+
Claude via the Claude Agent SDK. `claude` uses its default model (Fable 5.2, or `CLAUDE_DEFAULT_MODEL`); `claude:<model>` picks one:
|
|
339
340
|
|
|
340
|
-
- **claude-
|
|
341
|
-
- **claude-
|
|
341
|
+
- **claude-fable-5-2** (default; aliases: `fable`, `claude-fable`, `fable-5.2`), **claude-fable-5-1** (`fable-5.1`), **claude-fable-5** (`fable-5`)
|
|
342
|
+
- **claude-opus-5-5** (aliases: `opus`, `claude-opus`, `opus-5.5`), **claude-opus-5** (`opus-5`)
|
|
342
343
|
- **claude-sonnet-5-5** (aliases: `sonnet`, `claude-sonnet`, `sonnet-5.5`)
|
|
343
344
|
- **claude-haiku-5-5** (aliases: `haiku`, `claude-haiku`, `haiku-5.5`)
|
|
344
345
|
- Uses Claude Code CLI authentication (`claude login`) - no API key needed
|
|
@@ -349,7 +350,7 @@ Claude via the Claude Agent SDK. `claude` uses its default model (Opus 5.5, or `
|
|
|
349
350
|
Reach these only with the `copilot:` namespace (e.g. `copilot:gpt-6.1-sol`) — Copilot never serves bare model names. `copilot` alone uses GPT-6.1 Sol, or `COPILOT_DEFAULT_MODEL`. Uses your GitHub Copilot subscription (`gh auth login`) - no API key needed:
|
|
350
351
|
|
|
351
352
|
- **OpenAI**: `gpt-6.1-sol` (aliases: `gpt-6`, `gpt-6.1`, `gpt-5`, `sol`), `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`)
|
|
352
|
-
- **Anthropic**: `claude-opus-5.5` (aliases: `opus`, `claude`), `claude-fable-5.
|
|
353
|
+
- **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`
|
|
353
354
|
- **Google**: `gemini-4-argon` (aliases: `gemini`, `argon`, `gemini-4`), `gemini-3.8-flash` (alias: `gemini-flash`)
|
|
354
355
|
|
|
355
356
|
## 📚 Help & Documentation
|
|
@@ -410,7 +411,7 @@ CODEX_APPROVAL_POLICY=never # never (default), untrusted, on-fa
|
|
|
410
411
|
# `openai`, ...) and for "auto". Must be a model or alias from that provider's
|
|
411
412
|
# list; startup fails with suggestions otherwise.
|
|
412
413
|
CODEX_DEFAULT_MODEL=gpt-6-astra # CODEX_MODEL still works as a fallback
|
|
413
|
-
CLAUDE_DEFAULT_MODEL=claude-
|
|
414
|
+
CLAUDE_DEFAULT_MODEL=claude-fable-5-2
|
|
414
415
|
AGY_DEFAULT_MODEL=gemini-4-argon # Requires Google AI Ultra; other plans can use gemini:flash or set AGY_DEFAULT_MODEL=gemini-3.8-flash
|
|
415
416
|
COPILOT_DEFAULT_MODEL=gpt-6.1-sol # COPILOT_MODEL still works as a fallback
|
|
416
417
|
OPENAI_DEFAULT_MODEL=gpt-6.1-sol
|
|
@@ -482,7 +483,7 @@ Every entry in `models` takes one of four forms:
|
|
|
482
483
|
|
|
483
484
|
// A provider: its default model (hardcoded, or <PROVIDER>_DEFAULT_MODEL)
|
|
484
485
|
"codex"; // -> Codex (GPT-6 Astra)
|
|
485
|
-
"claude"; // -> Claude Agent SDK (Claude
|
|
486
|
+
"claude"; // -> Claude Agent SDK (Claude Fable 5.2)
|
|
486
487
|
"gemini"; // -> Antigravity CLI (Gemini 4 Argon)
|
|
487
488
|
"openai"; // -> OpenAI API (GPT-6.1 Sol)
|
|
488
489
|
|
|
@@ -502,7 +503,7 @@ Every entry in `models` takes one of four forms:
|
|
|
502
503
|
"z-ai/glm-5.2"; // -> OpenRouter (any vendor/model slug)
|
|
503
504
|
```
|
|
504
505
|
|
|
505
|
-
**Bare model names** go to the first provider, in the order below, whose model list contains the name and that is set up (API key present; for Codex and Claude, a login file or token; for Antigravity, the `agy` binary). If that provider then fails with an authentication or availability error, the next provider that serves **the same model** takes over — a provider whose alias of that name points at a different model is never substituted (bare `
|
|
506
|
+
**Bare model names** go to the first provider, in the order below, whose model list contains the name and that is set up (API key present; for Codex and Claude, a login file or token; for Antigravity, the `agy` binary). If that provider then fails with an authentication or availability error, the next provider that serves **the same model** takes over — a provider whose alias of that name points at a different model is never substituted (bare `flash` is Gemini 3.8 Flash on Antigravity and Gemini 2.5 Flash on the Google API, so it does not fail over between them). Copilot is never picked for bare names; use `copilot:<model>`.
|
|
506
507
|
|
|
507
508
|
**Unknown names are rejected**, never guessed: a typo or an unlisted model returns an error with up to three close matches, e.g. `Unknown model "gtp-6-astra". Did you mean: gpt-6-astra?` or `Unknown openai model "spark" in "openai:spark". Did you mean: codex:spark?`. OpenRouter is the exception for full `vendor/model` slugs, which are checked against OpenRouter's live catalog.
|
|
508
509
|
|
|
@@ -516,7 +517,7 @@ Provider priority order (subscription-based local providers first, then API-key
|
|
|
516
517
|
|
|
517
518
|
1. Codex (`codex` → GPT-6 Astra)
|
|
518
519
|
2. Gemini via Antigravity CLI (`gemini` / `agy` → Gemini 4 Argon)
|
|
519
|
-
3. Claude Agent SDK (`claude` → Claude
|
|
520
|
+
3. Claude Agent SDK (`claude` → Claude Fable 5.2)
|
|
520
521
|
4. Copilot (`copilot` → GPT-6.1 Sol; `auto` only, never bare names)
|
|
521
522
|
5. OpenAI (`openai` → GPT-6.1 Sol)
|
|
522
523
|
6. Google (`google` → Gemini 4 Argon)
|
package/docs/API.md
CHANGED
|
@@ -551,7 +551,8 @@ Provide models as plain name strings in the `models` array. Each entry is `auto`
|
|
|
551
551
|
| Model | Aliases | Context | Output | Notes |
|
|
552
552
|
|-------|---------|---------|--------|-------|
|
|
553
553
|
| `claude-opus-5-5` | `opus`, `opus-5.5`, `claude-opus` | 1M | 128K | Default. Flagship Opus, always-on adaptive thinking + effort (no compaction yet) |
|
|
554
|
-
| `claude-fable-5` | `fable`, `fable-5` | 1M | 128K | Most capable, adaptive thinking + effort, images, caching
|
|
554
|
+
| `claude-fable-5-2` | `fable`, `claude-fable`, `fable-5.2` | 1M | 128K | Most capable, always-on adaptive thinking + effort, images, caching; needs 30-day data retention |
|
|
555
|
+
| `claude-fable-5` | `fable-5` | 1M | 128K | First Fable generation, adaptive thinking + effort, images, caching, compaction |
|
|
555
556
|
| `claude-opus-5` | `opus-5` | 1M | 128K | Previous Opus, adaptive thinking + effort, compaction |
|
|
556
557
|
| `claude-opus-4-8`, `claude-opus-4-7`, `claude-opus-4-6` | `opus-4.8`, `opus-4.7`, `opus-4.6` | 200K (1M beta) | 128K | Previous Opus generations |
|
|
557
558
|
| `claude-opus-4-5-20251101`, `claude-opus-4-1-20250805` | `opus-4.5`, `opus-4.1` | 200K | 64K / 32K | Earlier Opus tiers |
|
|
@@ -560,7 +561,7 @@ Provide models as plain name strings in the `models` array. Each entry is `auto`
|
|
|
560
561
|
| `claude-haiku-5-5` | `haiku`, `haiku-5.5`, `claude-haiku` | 1M | 128K | Current Haiku, adaptive thinking + effort, compaction |
|
|
561
562
|
| `claude-haiku-4-5-20251001` | `haiku-4.5` | 200K | 64K | Previous Haiku, extended thinking |
|
|
562
563
|
|
|
563
|
-
Models with adaptive thinking control depth via `reasoning_effort`, which is passed by name to Anthropic's `effort` parameter and clamped to what each model accepts: Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5, Opus 5, Opus 4.8, and Opus 4.7 take `low`–`max`; Opus 4.6 and Sonnet 4.6 lack `xhigh` (it becomes `max`); Opus 4.5 tops out at `high`. `none` and `minimal` become `low` everywhere. System prompts are automatically cached for 1 hour; cache stats appear in response metadata as `cache_creation_input_tokens` / `cache_read_input_tokens`.
|
|
564
|
+
Models with adaptive thinking control depth via `reasoning_effort`, which is passed by name to Anthropic's `effort` parameter and clamped to what each model accepts: Fable 5.2, Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5, Opus 5, Opus 4.8, and Opus 4.7 take `low`–`max`; Opus 4.6 and Sonnet 4.6 lack `xhigh` (it becomes `max`); Opus 4.5 tops out at `high`. `none` and `minimal` become `low` everywhere. System prompts are automatically cached for 1 hour; cache stats appear in response metadata as `cache_creation_input_tokens` / `cache_read_input_tokens`.
|
|
564
565
|
|
|
565
566
|
### Mistral Models
|
|
566
567
|
|
|
@@ -622,8 +623,8 @@ All three are uncensored ("abliterated") reasoning models using Abliteration's O
|
|
|
622
623
|
|
|
623
624
|
**Claude** is available through the Claude Agent SDK, using Claude Code CLI authentication instead of an API key:
|
|
624
625
|
|
|
625
|
-
- **Model**: `claude` (namespaces: `claude`, `claude-code`, `claude-sdk`) — defaults to Claude
|
|
626
|
-
- **Model selection**: `claude-
|
|
626
|
+
- **Model**: `claude` (namespaces: `claude`, `claude-code`, `claude-sdk`) — defaults to Claude Fable 5.2 (`claude-fable-5-2`), or `CLAUDE_DEFAULT_MODEL`
|
|
627
|
+
- **Model selection**: `claude-fable-5-2` (`fable`, `claude-fable`, `fable-5.2`), `claude-fable-5-1` (`fable-5.1`), `claude-fable-5` (`fable-5`), `claude-opus-5-5` (`opus`, `claude-opus`, `opus-5.5`), `claude-opus-5` (`opus-5`), `claude-sonnet-5-5` (`sonnet`, `claude-sonnet`, `sonnet-5.5`), `claude-haiku-5-5` (`haiku`, `claude-haiku`, `haiku-5.5`), e.g. `claude:opus`, `claude:fable`, `claude:sonnet`, `claude:haiku`. Other names are rejected with suggestions.
|
|
627
628
|
- **Authentication**: `claude login` — no `ANTHROPIC_API_KEY` needed
|
|
628
629
|
- **Availability**: the Claude Agent SDK is installed and `~/.claude/.credentials.json` exists (`$CLAUDE_CONFIG_DIR` when set), or `CLAUDE_CODE_OAUTH_TOKEN`/`ANTHROPIC_API_KEY` is in the environment; on macOS the Keychain login is assumed. An expired login is caught at call time and bare-name/`auto` routing fails over.
|
|
629
630
|
- **Permissions**: runs with `bypassPermissions`
|
|
@@ -664,7 +665,7 @@ agy
|
|
|
664
665
|
Reach these only with the `copilot:` namespace (also `github-copilot:`, `copilot-sdk:`; e.g. `copilot:gpt-6.1-sol`) — Copilot never serves bare model names. `copilot` alone uses GPT-6.1 Sol, or `COPILOT_DEFAULT_MODEL`. Available when the Copilot SDK is installed; uses your GitHub Copilot subscription (`gh auth login`) — no API key needed:
|
|
665
666
|
|
|
666
667
|
- **OpenAI**: `gpt-6.1-sol` (aliases: `gpt-6`, `gpt-6.1`, `gpt-5`, `sol`), `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`)
|
|
667
|
-
- **Anthropic**: `claude-opus-5.5` (aliases: `opus`, `claude`), `claude-fable-5.
|
|
668
|
+
- **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`
|
|
668
669
|
- **Google**: `gemini-4-argon` (aliases: `gemini`, `argon`, `gemini-4`), `gemini-3.8-flash` (alias: `gemini-flash`)
|
|
669
670
|
- Any other `copilot:<id>` is rejected with suggestions
|
|
670
671
|
|
|
@@ -675,7 +676,7 @@ Every entry in `models` takes one of four forms:
|
|
|
675
676
|
- **`auto`** — the first available provider's default model.
|
|
676
677
|
- **`provider`** — that provider's default model (hardcoded, or `<PROVIDER>_DEFAULT_MODEL`). Namespaces: `codex`; `gemini`/`agy`/`antigravity`/`gemini-cli` (Antigravity CLI); `claude`/`claude-code`/`claude-sdk` (Claude Agent SDK); `copilot`/`github-copilot`/`copilot-sdk`; `openai`; `google`; `xai`; `anthropic`; `mistral`; `deepseek`; `openrouter`; `abliteration`; `ablit`.
|
|
677
678
|
- **`provider:model`** — that model on that provider only; the model must be in that provider's list.
|
|
678
|
-
- **Bare `model`** — the first provider, in the order `codex`, `gemini-cli`, `claude`, `openai`, `google`, `xai`, `anthropic`, `mistral`, `deepseek`, `openrouter`, `abliteration`, whose list contains the ID or alias and that is set up (API key for API providers; SDK plus login for Codex and the Claude Agent SDK; the `agy` binary for Antigravity). On an authentication or availability error, the next set-up provider serving **the same model** takes over; a provider whose alias points at a different model is never substituted (bare `
|
|
679
|
+
- **Bare `model`** — the first provider, in the order `codex`, `gemini-cli`, `claude`, `openai`, `google`, `xai`, `anthropic`, `mistral`, `deepseek`, `openrouter`, `abliteration`, whose list contains the ID or alias and that is set up (API key for API providers; SDK plus login for Codex and the Claude Agent SDK; the `agy` binary for Antigravity). On an authentication or availability error, the next set-up provider serving **the same model** takes over; a provider whose alias points at a different model is never substituted (bare `flash` is Gemini 3.8 Flash on Antigravity and Gemini 2.5 Flash on the Google API). Copilot never serves bare names.
|
|
679
680
|
|
|
680
681
|
**Unknown names are rejected**, never forwarded: the error lists up to three close matches, e.g. `Unknown model "gtp-6-astra". Did you mean: gpt-6-astra?` or `Unknown openai model "spark" in "openai:spark". Did you mean: codex:spark?`. The exception is OpenRouter: a full `vendor/model` slug (bare or `openrouter:`) is validated against OpenRouter's live catalog.
|
|
681
682
|
|
|
@@ -692,11 +693,11 @@ Every entry in `models` takes one of four forms:
|
|
|
692
693
|
"z-ai/glm-5.2" // OpenRouter (full slug)
|
|
693
694
|
"z-ai/glm-5.2:online" // OpenRouter with web search opt-in
|
|
694
695
|
"ablit" // Abliteration (-> abliterated-model-large-v2)
|
|
695
|
-
"fable" // Claude Agent SDK (-> claude-fable-5-
|
|
696
|
+
"fable" // Claude Agent SDK (-> claude-fable-5-2), else Anthropic API
|
|
696
697
|
"opus" // Claude Agent SDK (-> claude-opus-5-5), else Anthropic API
|
|
697
698
|
"anthropic:opus" // Anthropic API only
|
|
698
|
-
"claude" // Claude Agent SDK (-> Claude
|
|
699
|
-
"claude:
|
|
699
|
+
"claude" // Claude Agent SDK (-> Claude Fable 5.2)
|
|
700
|
+
"claude:opus" // Claude Agent SDK (Claude Opus 5.5)
|
|
700
701
|
"codex:luna" // Codex (GPT-6 Luna)
|
|
701
702
|
"gemini" // Antigravity CLI (Gemini 4 Argon)
|
|
702
703
|
"copilot:gpt-6.1-sol" // GitHub Copilot SDK
|
|
@@ -746,7 +747,7 @@ Each provider's default model (used for its bare provider name and for `auto`) c
|
|
|
746
747
|
|
|
747
748
|
```bash
|
|
748
749
|
CODEX_DEFAULT_MODEL=gpt-6-astra # CODEX_MODEL is honored as a legacy fallback
|
|
749
|
-
CLAUDE_DEFAULT_MODEL=claude-
|
|
750
|
+
CLAUDE_DEFAULT_MODEL=claude-fable-5-2
|
|
750
751
|
AGY_DEFAULT_MODEL=gemini-4-argon # Antigravity CLI (gemini)
|
|
751
752
|
COPILOT_DEFAULT_MODEL=gpt-6.1-sol # COPILOT_MODEL is honored as a legacy fallback
|
|
752
753
|
OPENAI_DEFAULT_MODEL=gpt-6.1-sol
|
package/docs/PROVIDERS.md
CHANGED
|
@@ -51,7 +51,8 @@ This guide documents all supported AI providers in the Converse MCP Server and t
|
|
|
51
51
|
- **Environment Variable**: `ANTHROPIC_API_KEY`
|
|
52
52
|
- **Supported Models**:
|
|
53
53
|
- `claude-opus-5-5` (aliases `opus`, `opus-5.5`, `claude-opus`) - Default. Flagship Opus for complex agentic coding and deep reasoning; thinking is always on, effort `low`–`max` (1M context, 128K output)
|
|
54
|
-
- `claude-fable-5` (
|
|
54
|
+
- `claude-fable-5-2` (aliases `fable`, `claude-fable`, `fable-5.2`) - Most capable model for demanding reasoning and long-horizon agentic work; thinking is always on, and the workspace must keep 30-day data retention (1M context, 128K output)
|
|
55
|
+
- `claude-fable-5` (alias `fable-5`) - First Fable generation (1M context, 128K output)
|
|
55
56
|
- `claude-opus-5` (alias `opus-5`) - Previous Opus generation (1M context, 128K output)
|
|
56
57
|
- `claude-opus-4-8`, `claude-opus-4-7`, `claude-opus-4-6` - Earlier Opus generations with adaptive thinking (128K output)
|
|
57
58
|
- `claude-opus-4-5-20251101`, `claude-opus-4-1-20250805` - Legacy Opus models (64K / 32K output)
|
|
@@ -223,13 +224,14 @@ agy
|
|
|
223
224
|
- **Setup Required**: Authenticate once with `claude login` (Claude Code CLI)
|
|
224
225
|
- **Availability**: The Claude Agent SDK is installed and a credential is present: `~/.claude/.credentials.json` (`$CLAUDE_CONFIG_DIR/.credentials.json` when set), or `CLAUDE_CODE_OAUTH_TOKEN` / `ANTHROPIC_API_KEY` in the environment. On macOS the login lives in the Keychain and is assumed present. An expired login is caught at call time, and bare-name/`auto` routing fails over to the next provider.
|
|
225
226
|
- **Environment Variables**:
|
|
226
|
-
- `CLAUDE_DEFAULT_MODEL` - Model used for bare `claude` and `auto` (default: `claude-
|
|
227
|
+
- `CLAUDE_DEFAULT_MODEL` - Model used for bare `claude` and `auto` (default: `claude-fable-5-2`)
|
|
227
228
|
- **Supported Models** (namespaces: `claude`, `claude-code`, `claude-sdk`):
|
|
228
|
-
- `claude` - Defaults to Claude
|
|
229
|
+
- `claude` - Defaults to Claude Fable 5.2 (`claude-fable-5-2`)
|
|
230
|
+
- `claude-fable-5-2` (aliases: `fable`, `claude-fable`, `fable-5.2`) - Claude Fable 5.2 (`claude:fable`). Depending on the plan, Claude Code can bill Fable usage to usage credits without asking.
|
|
231
|
+
- `claude-fable-5-1` (alias: `fable-5.1`) - Claude Fable 5.1
|
|
232
|
+
- `claude-fable-5` (alias: `fable-5`) - Claude Fable 5.0
|
|
229
233
|
- `claude-opus-5-5` (aliases: `opus`, `claude-opus`, `opus-5.5`) - Claude Opus 5.5 (`claude:opus`)
|
|
230
234
|
- `claude-opus-5` (alias: `opus-5`) - Claude Opus 5
|
|
231
|
-
- `claude-fable-5-1` (aliases: `fable`, `claude-fable`, `fable-5.1`) - Claude Fable 5.1 (`claude:fable`)
|
|
232
|
-
- `claude-fable-5` (alias: `fable-5`) - Claude Fable 5.0
|
|
233
235
|
- `claude-sonnet-5-5` (aliases: `sonnet`, `claude-sonnet`, `sonnet-5.5`) - Claude Sonnet 5.5 (`claude:sonnet`)
|
|
234
236
|
- `claude-haiku-5-5` (aliases: `haiku`, `claude-haiku`, `haiku-5.5`) - Claude Haiku 5.5 (`claude:haiku`)
|
|
235
237
|
- Names outside this catalog are rejected with suggestions (e.g. `claude:sonnet-4.6` suggests `anthropic:sonnet-4.6`)
|
|
@@ -245,7 +247,7 @@ agy
|
|
|
245
247
|
**Differences from Anthropic API Provider:**
|
|
246
248
|
- **Authentication**: Claude Code login vs `ANTHROPIC_API_KEY`
|
|
247
249
|
- **Billing**: Claude subscription vs pay-per-use API
|
|
248
|
-
- **Model Routing**: `claude` and `claude:<model>` → SDK provider; `anthropic:<model>` → API provider; bare names both serve as the same model (`opus`, `sonnet`, `haiku`, `claude-
|
|
250
|
+
- **Model Routing**: `claude` and `claude:<model>` → SDK provider; `anthropic:<model>` → API provider; bare names both serve as the same model (`fable`, `opus`, `sonnet`, `haiku`, `claude-fable-5-2`, `claude-fable-5`, `claude-opus-5-5`, `claude-opus-5`, `claude-sonnet-5-5`, `claude-haiku-5-5`) → SDK first, then the API on authentication/availability failure; bare names only one of them serves (e.g., `haiku-4.5`, `sonnet-4.6` on the API; `fable-5.1` on the SDK) → that provider.
|
|
249
251
|
- **Permissions**: The SDK runs with `bypassPermissions`, and bare names and `auto` reach it whenever it is available. Use `anthropic:<model>` to keep a request on the plain API.
|
|
250
252
|
|
|
251
253
|
### GitHub Copilot SDK
|
|
@@ -257,7 +259,7 @@ agy
|
|
|
257
259
|
- **Supported Models** (namespace-only: reach them with `copilot:`, `github-copilot:` or `copilot-sdk:`, e.g. `copilot:gpt-6.1-sol`; Copilot never serves bare model names):
|
|
258
260
|
- `copilot` - GPT-6.1 Sol, or `COPILOT_DEFAULT_MODEL`
|
|
259
261
|
- OpenAI: `gpt-6.1-sol` (aliases: `gpt-6`, `gpt-6.1`, `gpt-5`, `sol`), `gpt-6-sol`, `gpt-6-luna` (alias: `luna`), `gpt-5.6-sol` (alias: `gpt-5.6`), `gpt-5.6-terra`, `gpt-5.6-luna`
|
|
260
|
-
- Anthropic: `claude-opus-5.5` (aliases: `opus`, `claude`; Copilot Pro+/Max/Business/Enterprise), `claude-fable-5.
|
|
262
|
+
- 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`
|
|
261
263
|
- Google: `gemini-4-argon` (aliases: `gemini`, `argon`, `gemini-4`), `gemini-3.8-flash` (alias: `gemini-flash`)
|
|
262
264
|
- **Reasoning**: The GPT-6 and GPT-5.6 tiers accept `reasoning_effort` (clamped onto Copilot's `low`–`xhigh`).
|
|
263
265
|
- **Unknown IDs**: Any other `copilot:<id>` is rejected with suggestions; only the IDs and aliases above are accepted.
|
|
@@ -297,7 +299,7 @@ Each provider has a `<PROVIDER>_DEFAULT_MODEL` variable that sets the model used
|
|
|
297
299
|
|
|
298
300
|
```bash
|
|
299
301
|
CODEX_DEFAULT_MODEL=gpt-6-astra # CODEX_MODEL is honored as a legacy fallback
|
|
300
|
-
CLAUDE_DEFAULT_MODEL=claude-
|
|
302
|
+
CLAUDE_DEFAULT_MODEL=claude-fable-5-2
|
|
301
303
|
AGY_DEFAULT_MODEL=gemini-4-argon # Antigravity CLI (gemini)
|
|
302
304
|
COPILOT_DEFAULT_MODEL=gpt-6.1-sol # COPILOT_MODEL is honored as a legacy fallback
|
|
303
305
|
OPENAI_DEFAULT_MODEL=gpt-6.1-sol
|
|
@@ -354,7 +356,7 @@ All providers support streaming responses for real-time output.
|
|
|
354
356
|
- **Google**:
|
|
355
357
|
- Gemini 3.0 Pro: Thinking levels (low/high) via `reasoning_effort` - always enabled
|
|
356
358
|
- Gemini 2.5 Pro/Flash: Thinking budget (token-based) via `reasoning_effort`
|
|
357
|
-
- **Anthropic**: Claude Fable 5, Opus 4.6+, and Sonnet 4.6+ use adaptive thinking (depth controlled by `reasoning_effort` via Anthropic's `effort` parameter); older Claude 4 models use budget-based extended thinking
|
|
359
|
+
- **Anthropic**: Claude Fable 5 and 5.2, Opus 4.6+, and Sonnet 4.6+ use adaptive thinking (depth controlled by `reasoning_effort` via Anthropic's `effort` parameter); older Claude 4 models use budget-based extended thinking
|
|
358
360
|
- **X.AI**: Grok 4.5 maps `reasoning_effort` to `low`/`medium`/`high` and always reasons (cannot be disabled)
|
|
359
361
|
- **Mistral**: `mistral-medium-3-5` and `mistral-small-2603` map `reasoning_effort` to `high` (enabled) or `none` (disabled); `mistral-large-2512` has no adjustable reasoning
|
|
360
362
|
- **DeepSeek**: V4 models use thinking mode via `reasoning_effort` (`none` disables; enabled levels use `high`, `max` uses `max`)
|
|
@@ -387,7 +389,7 @@ Routing is derived entirely from each provider's model list (canonical IDs plus
|
|
|
387
389
|
|
|
388
390
|
3. **Bare `model`** — an ID or alias without a namespace goes to the first provider, in this order, whose list contains the name and that is set up: Codex, Antigravity CLI, Claude Agent SDK, OpenAI, Google, X.AI, Anthropic, Mistral, DeepSeek, OpenRouter, Abliteration.
|
|
389
391
|
- "Set up" means an API key for API providers; for Codex, the SDK plus a login file or `CODEX_API_KEY`; for the Claude Agent SDK, the SDK plus a login file, a macOS login, or `CLAUDE_CODE_OAUTH_TOKEN`/`ANTHROPIC_API_KEY`; for Antigravity, the `agy` binary.
|
|
390
|
-
- If that provider fails with an authentication or availability error (including an expired login, which is only detected at call time), the next set-up provider that serves **the same model** takes over. A provider whose alias of that name points at a different model is never substituted (bare `
|
|
392
|
+
- If that provider fails with an authentication or availability error (including an expired login, which is only detected at call time), the next set-up provider that serves **the same model** takes over. A provider whose alias of that name points at a different model is never substituted (bare `flash` is Gemini 3.8 Flash on Antigravity and Gemini 2.5 Flash on the Google API).
|
|
391
393
|
- Copilot never serves bare names; use `copilot:<model>`.
|
|
392
394
|
|
|
393
395
|
4. **`auto`** — the first available provider's default model, in the priority order above with Copilot between the Claude Agent SDK and OpenAI.
|
|
@@ -403,12 +405,12 @@ Examples:
|
|
|
403
405
|
```text
|
|
404
406
|
"gpt-6" // Codex (gpt-6.1-sol), else OpenAI API
|
|
405
407
|
"openai:gpt-6" // OpenAI API only
|
|
406
|
-
"fable" // Claude Agent SDK (claude-fable-5-
|
|
408
|
+
"fable" // Claude Agent SDK (claude-fable-5-2), else Anthropic API
|
|
407
409
|
"opus" // Claude Agent SDK (claude-opus-5-5), else Anthropic API
|
|
408
410
|
"anthropic:opus" // Anthropic API only
|
|
409
411
|
"sonnet" // Claude Agent SDK (claude-sonnet-5-5), else Anthropic API
|
|
410
|
-
"claude" // Claude Agent SDK (defaults to Claude
|
|
411
|
-
"claude:
|
|
412
|
+
"claude" // Claude Agent SDK (defaults to Claude Fable 5.2)
|
|
413
|
+
"claude:opus" // Claude Agent SDK (Claude Opus 5.5)
|
|
412
414
|
"pro" // Antigravity CLI (gemini-4-argon), else Google API
|
|
413
415
|
"google:pro" // Google API only
|
|
414
416
|
"gemini-2.5-pro" // Google API
|
|
@@ -444,7 +446,7 @@ Examples:
|
|
|
444
446
|
### Model Not Found
|
|
445
447
|
- Use model identifiers or aliases as listed above; anything else is rejected with up to three "Did you mean" suggestions
|
|
446
448
|
- Check the namespace: a model must be in that provider's list (`openai:spark` fails and suggests `codex:spark`)
|
|
447
|
-
- Aliases can differ per provider (e.g.,
|
|
449
|
+
- Aliases can differ per provider (e.g., `gemini:flash` → "gemini-3.8-flash" on the Antigravity CLI, `google:flash` → "gemini-2.5-flash")
|
|
448
450
|
- Note: bare "claude" routes to the Claude Agent SDK provider, not the Anthropic API
|
|
449
451
|
- A "none is available" error means the model exists but no provider serving it is set up; the message names the setup step for each
|
|
450
452
|
- Check provider documentation for model availability in your region
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "converse-mcp-server",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.10.0",
|
|
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,10 +93,10 @@
|
|
|
93
93
|
".env.example"
|
|
94
94
|
],
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@anthropic-ai/claude-agent-sdk": "^0.3.
|
|
97
|
-
"@anthropic-ai/sdk": "^1.
|
|
98
|
-
"@github/copilot-sdk": "^1.0.
|
|
99
|
-
"@google/genai": "^
|
|
96
|
+
"@anthropic-ai/claude-agent-sdk": "^0.3.321",
|
|
97
|
+
"@anthropic-ai/sdk": "^1.7.0",
|
|
98
|
+
"@github/copilot-sdk": "^1.0.30",
|
|
99
|
+
"@google/genai": "^3.0.0",
|
|
100
100
|
"@lydell/node-pty": "1.2.0-beta.18",
|
|
101
101
|
"@mistralai/mistralai": "^3.5.0",
|
|
102
102
|
"@modelcontextprotocol/node": "^2.1.2",
|
|
@@ -107,9 +107,9 @@
|
|
|
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.54.0",
|
|
111
111
|
"p-limit": "^7.3.3",
|
|
112
|
-
"vite": "^8.3.
|
|
112
|
+
"vite": "^8.3.7",
|
|
113
113
|
"zod": "^4.6.7"
|
|
114
114
|
},
|
|
115
115
|
"devDependencies": {
|
|
@@ -53,6 +53,38 @@ const SUPPORTED_MODELS = {
|
|
|
53
53
|
'claude-opus',
|
|
54
54
|
],
|
|
55
55
|
},
|
|
56
|
+
'claude-fable-5-2': {
|
|
57
|
+
modelName: 'claude-fable-5-2',
|
|
58
|
+
friendlyName: 'Claude Fable 5.2',
|
|
59
|
+
contextWindow: 1000000, // 1M context by default - no beta header required
|
|
60
|
+
maxOutputTokens: 128000,
|
|
61
|
+
supportsStreaming: true,
|
|
62
|
+
supportsImages: true,
|
|
63
|
+
supportsWebSearch: false,
|
|
64
|
+
supportsThinking: true,
|
|
65
|
+
supportsAdaptiveThinking: true, // Thinking is always on; "enabled" and "disabled" both return 400
|
|
66
|
+
timeout: 1800000,
|
|
67
|
+
supportsEffort: true,
|
|
68
|
+
effortGA: true,
|
|
69
|
+
effortTiers: EFFORT_TIERS_FULL,
|
|
70
|
+
// Anthropic lists only on-demand compaction for this model, which is a
|
|
71
|
+
// different beta from the automatic compact-2026-01-12 header.
|
|
72
|
+
supportsCompaction: false,
|
|
73
|
+
description:
|
|
74
|
+
'Claude Fable 5.2 - Most capable model for the most demanding reasoning and long-horizon agentic work (requires 30-day data retention)',
|
|
75
|
+
aliases: [
|
|
76
|
+
'claude-fable-5-2',
|
|
77
|
+
'claude-fable-5.2',
|
|
78
|
+
'claude-5.2-fable',
|
|
79
|
+
'claude-5-2-fable',
|
|
80
|
+
'fable-5.2',
|
|
81
|
+
'fable-5-2',
|
|
82
|
+
'fable5.2',
|
|
83
|
+
'fable5-2',
|
|
84
|
+
'fable',
|
|
85
|
+
'claude-fable',
|
|
86
|
+
],
|
|
87
|
+
},
|
|
56
88
|
'claude-fable-5': {
|
|
57
89
|
modelName: 'claude-fable-5',
|
|
58
90
|
friendlyName: 'Claude Fable 5',
|
|
@@ -69,14 +101,12 @@ const SUPPORTED_MODELS = {
|
|
|
69
101
|
effortTiers: EFFORT_TIERS_FULL,
|
|
70
102
|
supportsCompaction: true,
|
|
71
103
|
description:
|
|
72
|
-
'Claude Fable 5 -
|
|
104
|
+
'Claude Fable 5 - First Fable generation for demanding reasoning and long-horizon agentic work',
|
|
73
105
|
aliases: [
|
|
74
106
|
'claude-fable-5',
|
|
75
|
-
'claude-fable',
|
|
76
107
|
'claude-5-fable',
|
|
77
108
|
'fable-5',
|
|
78
109
|
'fable5',
|
|
79
|
-
'fable',
|
|
80
110
|
],
|
|
81
111
|
},
|
|
82
112
|
'claude-opus-5': {
|
package/src/providers/claude.js
CHANGED
|
@@ -22,16 +22,16 @@ import {
|
|
|
22
22
|
isPackageResolvable,
|
|
23
23
|
} from '../utils/localProviderAuth.js';
|
|
24
24
|
|
|
25
|
-
const DEFAULT_MODEL = 'claude-
|
|
25
|
+
const DEFAULT_MODEL = 'claude-fable-5-2';
|
|
26
26
|
const SDK_EFFORT_TIERS = ['low', 'medium', 'high', 'xhigh', 'max'];
|
|
27
27
|
const CLAUDE_SDK_PACKAGE = '@anthropic-ai/claude-agent-sdk';
|
|
28
28
|
|
|
29
29
|
// Keyed by the model ID the Agent SDK accepts, which is also the canonical ID
|
|
30
30
|
// the router resolves to.
|
|
31
31
|
const SUPPORTED_MODELS = {
|
|
32
|
-
'claude-
|
|
33
|
-
modelName: 'claude-
|
|
34
|
-
friendlyName: 'Claude
|
|
32
|
+
'claude-fable-5-2': {
|
|
33
|
+
modelName: 'claude-fable-5-2',
|
|
34
|
+
friendlyName: 'Claude Fable 5.2 (via Agent SDK)',
|
|
35
35
|
contextWindow: 1000000,
|
|
36
36
|
maxOutputTokens: 128000,
|
|
37
37
|
supportsStreaming: true,
|
|
@@ -39,7 +39,26 @@ const SUPPORTED_MODELS = {
|
|
|
39
39
|
supportsWebSearch: false, // SDK accesses files directly, not web
|
|
40
40
|
timeout: 1800000, // 30 minutes
|
|
41
41
|
description:
|
|
42
|
-
'Claude
|
|
42
|
+
'Claude Fable 5.2 via Agent SDK (default) - requires claude login authentication',
|
|
43
|
+
aliases: [
|
|
44
|
+
'fable',
|
|
45
|
+
'claude-fable',
|
|
46
|
+
'claude-fable-5.2',
|
|
47
|
+
'fable-5-2',
|
|
48
|
+
'fable-5.2',
|
|
49
|
+
],
|
|
50
|
+
},
|
|
51
|
+
'claude-opus-5-5': {
|
|
52
|
+
modelName: 'claude-opus-5-5',
|
|
53
|
+
friendlyName: 'Claude Opus 5.5 (via Agent SDK)',
|
|
54
|
+
contextWindow: 1000000,
|
|
55
|
+
maxOutputTokens: 128000,
|
|
56
|
+
supportsStreaming: true,
|
|
57
|
+
supportsImages: true,
|
|
58
|
+
supportsWebSearch: false,
|
|
59
|
+
timeout: 1800000,
|
|
60
|
+
description:
|
|
61
|
+
'Claude Opus 5.5 via Agent SDK - requires claude login authentication',
|
|
43
62
|
aliases: [
|
|
44
63
|
'opus',
|
|
45
64
|
'claude-opus',
|
|
@@ -72,13 +91,7 @@ const SUPPORTED_MODELS = {
|
|
|
72
91
|
timeout: 1800000,
|
|
73
92
|
description:
|
|
74
93
|
'Claude Fable 5.1 via Agent SDK - requires claude login authentication',
|
|
75
|
-
aliases: [
|
|
76
|
-
'fable',
|
|
77
|
-
'claude-fable',
|
|
78
|
-
'claude-fable-5.1',
|
|
79
|
-
'fable-5-1',
|
|
80
|
-
'fable-5.1',
|
|
81
|
-
],
|
|
94
|
+
aliases: ['claude-fable-5.1', 'fable-5-1', 'fable-5.1'],
|
|
82
95
|
},
|
|
83
96
|
'claude-fable-5': {
|
|
84
97
|
modelName: 'claude-fable-5',
|
package/src/providers/copilot.js
CHANGED
|
@@ -125,6 +125,18 @@ const SUPPORTED_MODELS = {
|
|
|
125
125
|
description: 'Anthropic Claude Opus 5.5 via Copilot subscription',
|
|
126
126
|
aliases: ['opus', 'claude', 'claude-opus-5-5'],
|
|
127
127
|
},
|
|
128
|
+
'claude-fable-5.2': {
|
|
129
|
+
modelName: 'claude-fable-5.2',
|
|
130
|
+
friendlyName: 'Claude Fable 5.2 (via Copilot)',
|
|
131
|
+
contextWindow: 200000,
|
|
132
|
+
maxOutputTokens: 32768,
|
|
133
|
+
supportsStreaming: true,
|
|
134
|
+
supportsImages: false,
|
|
135
|
+
supportsWebSearch: false,
|
|
136
|
+
timeout: 1800000,
|
|
137
|
+
description: 'Anthropic Claude Fable 5.2 via Copilot subscription',
|
|
138
|
+
aliases: ['fable', 'claude-fable-5-2'],
|
|
139
|
+
},
|
|
128
140
|
'claude-fable-5.1': {
|
|
129
141
|
modelName: 'claude-fable-5.1',
|
|
130
142
|
friendlyName: 'Claude Fable 5.1 (via Copilot)',
|
|
@@ -135,7 +147,7 @@ const SUPPORTED_MODELS = {
|
|
|
135
147
|
supportsWebSearch: false,
|
|
136
148
|
timeout: 1800000,
|
|
137
149
|
description: 'Anthropic Claude Fable 5.1 via Copilot subscription',
|
|
138
|
-
aliases: ['
|
|
150
|
+
aliases: ['claude-fable-5-1'],
|
|
139
151
|
},
|
|
140
152
|
'claude-fable-5': {
|
|
141
153
|
modelName: 'claude-fable-5',
|