converse-mcp-server 2.25.1 → 2.27.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/LICENSE +18 -18
- package/README.md +37 -17
- package/docs/ALTERNATIVE_PROVIDERS.md +449 -449
- package/docs/API.md +28 -5
- package/docs/ARCHITECTURE.md +551 -551
- package/docs/EXAMPLES.md +1112 -1112
- package/docs/PROVIDERS.md +48 -16
- package/package.json +13 -13
- package/src/providers/anthropic.js +29 -2
- package/src/providers/claude.js +100 -30
- package/src/providers/copilot.js +14 -1
- package/src/tools/chat.js +8 -1
- package/src/tools/consensus.js +8 -1
- package/src/utils/modelRouting.js +7 -0
package/docs/API.md
CHANGED
|
@@ -547,11 +547,17 @@ When complete, `check_status` for the continuation_id renders the full lap trans
|
|
|
547
547
|
|
|
548
548
|
| Model | Alias | Context | Tokens | Features | Use Cases |
|
|
549
549
|
|-------|-------|---------|--------|----------|-----------|
|
|
550
|
-
| `claude-
|
|
551
|
-
| `claude-opus-4-
|
|
552
|
-
| `claude-
|
|
553
|
-
| `claude-
|
|
554
|
-
| `claude-
|
|
550
|
+
| `claude-fable-5` | `fable`, `fable-5` | 1M | 128K | Adaptive thinking, effort, images, caching, compaction | Most demanding reasoning, long-horizon agentic work |
|
|
551
|
+
| `claude-opus-4-8` | `opus`, `opus-4.8` | 200K (1M beta) | 128K | Adaptive thinking, effort, images, caching, compaction | Complex reasoning, agentic coding |
|
|
552
|
+
| `claude-opus-4-7` | `opus-4.7` | 200K (1M beta) | 128K | Adaptive thinking, effort, images, caching, compaction | Previous Opus generation |
|
|
553
|
+
| `claude-opus-4-6` | `opus-4.6` | 200K (1M beta) | 128K | Adaptive thinking, effort, images, caching, compaction | Previous Opus generation |
|
|
554
|
+
| `claude-opus-4-5-20251101` | `opus-4.5` | 200K | 64K | Extended thinking, effort (beta), images, caching | Legacy Opus |
|
|
555
|
+
| `claude-opus-4-1-20250805` | `opus-4.1`, `opus-4` | 200K | 32K | Extended thinking, images, caching | Legacy Opus |
|
|
556
|
+
| `claude-sonnet-4-6` | `sonnet`, `sonnet-4.6` | 200K (1M beta) | 64K | Adaptive thinking, effort, images, caching, compaction | Best speed/intelligence balance |
|
|
557
|
+
| `claude-sonnet-4-5-20250929` | `sonnet-4.5` | 200K (1M beta) | 64K | Extended thinking, images, caching | Legacy Sonnet |
|
|
558
|
+
| `claude-haiku-4-5-20251001` | `haiku`, `haiku-4.5` | 200K | 64K | Extended thinking, images, caching | Fast and intelligent |
|
|
559
|
+
|
|
560
|
+
**Note:** Claude Fable 5 does not accept the `temperature` parameter (it is silently omitted). Models with adaptive thinking control thinking depth via `reasoning_effort`, which maps to Anthropic's `effort` parameter.
|
|
555
561
|
|
|
556
562
|
**Prompt Caching (Always Enabled):**
|
|
557
563
|
- System prompts are automatically cached for 1 hour using Anthropic's prompt caching
|
|
@@ -592,6 +598,16 @@ When complete, `check_status` for the continuation_id renders the full lap trans
|
|
|
592
598
|
- **Response times**: 6-20 seconds typical (complex tasks may take minutes)
|
|
593
599
|
- **Authentication**: Requires ChatGPT login OR `CODEX_API_KEY` environment variable
|
|
594
600
|
|
|
601
|
+
### Claude Agent SDK Models
|
|
602
|
+
|
|
603
|
+
**Claude** is also available through the Claude Agent SDK, using Claude Code CLI authentication instead of an API key:
|
|
604
|
+
|
|
605
|
+
- **Model**: `claude` (aliases: `claude-sdk`, `claude-code`) - defaults to Claude Fable 5
|
|
606
|
+
- **Model selection**: `claude:fable` (Claude Fable 5) or `claude:opus` (Claude Opus 4.8); unknown `claude:`-prefixed names pass through to the SDK (e.g. `claude:claude-sonnet-4-6`)
|
|
607
|
+
- **Authentication**: Claude Code login (`claude login`) - no `ANTHROPIC_API_KEY` needed
|
|
608
|
+
- **Direct file access**: Reads files from working directory
|
|
609
|
+
- **Note**: `temperature`, `use_websearch`, and `reasoning_effort` are managed by the SDK (ignored if specified)
|
|
610
|
+
|
|
595
611
|
### Gemini CLI Models (OAuth-based)
|
|
596
612
|
|
|
597
613
|
**Gemini CLI** provides subscription-based access to Gemini models through OAuth:
|
|
@@ -657,6 +673,13 @@ Use `"auto"` for automatic selection or specify exact models:
|
|
|
657
673
|
{"model": "pro"} // -> gemini-2.5-pro
|
|
658
674
|
{"model": "grok"} // -> grok-4-0709
|
|
659
675
|
{"model": "grok-4"} // -> grok-4-0709
|
|
676
|
+
{"model": "fable"} // -> claude-fable-5 (Anthropic API)
|
|
677
|
+
{"model": "opus"} // -> claude-opus-4-8 (Anthropic API)
|
|
678
|
+
|
|
679
|
+
// SDK providers (subscription-based)
|
|
680
|
+
{"model": "claude"} // -> Claude Agent SDK (Claude Fable 5)
|
|
681
|
+
{"model": "claude:opus"} // -> Claude Agent SDK (Claude Opus 4.8)
|
|
682
|
+
{"model": "copilot:codex"} // -> GitHub Copilot SDK (gpt-5.3-codex)
|
|
660
683
|
```
|
|
661
684
|
|
|
662
685
|
## Configuration
|