converse-mcp-server 4.1.2 → 4.2.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 +1 -1
- package/README.md +4 -4
- package/docs/API.md +4 -4
- package/docs/EXAMPLES.md +1 -1
- package/docs/PROVIDERS.md +3 -3
- package/package.json +5 -5
- package/src/providers/codex.js +1 -1
package/.env.example
CHANGED
|
@@ -91,7 +91,7 @@ TYPESAFE_API_KEY=your_typesafe_api_key_here
|
|
|
91
91
|
# The model a bare provider name ("codex", "openai", ...) and "auto" use.
|
|
92
92
|
# Each must be a model ID or alias from that provider's catalog; startup fails
|
|
93
93
|
# with "did you mean" suggestions otherwise. Per request, use "provider:model".
|
|
94
|
-
# CODEX_DEFAULT_MODEL=gpt-6-
|
|
94
|
+
# CODEX_DEFAULT_MODEL=gpt-6-astra # 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)
|
|
95
95
|
# CLAUDE_DEFAULT_MODEL=claude-opus-5-5
|
|
96
96
|
# AGY_DEFAULT_MODEL=gemini-3.8-flash # Antigravity CLI: gemini-3.8-flash, gemini-3.1-pro-preview
|
|
97
97
|
# COPILOT_DEFAULT_MODEL=gpt-6-sol # COPILOT_MODEL is the legacy name
|
package/README.md
CHANGED
|
@@ -304,7 +304,7 @@ Any other model works via its full `provider/model` slug or the `openrouter:` na
|
|
|
304
304
|
|
|
305
305
|
### Codex Models
|
|
306
306
|
|
|
307
|
-
OpenAI Codex agentic coding assistant. `codex` uses its default model (GPT-6
|
|
307
|
+
OpenAI Codex agentic coding assistant. `codex` uses its default model (GPT-6 Astra, or `CODEX_DEFAULT_MODEL`); `codex:<model>` picks one (e.g. `codex:luna`, `codex:astra`, `codex:gpt-5.6-terra`):
|
|
308
308
|
|
|
309
309
|
- **gpt-6-sol** (default; aliases: `sol`, `gpt-6`), **gpt-6-luna** (`luna`), **gpt-6-astra** (`astra`)
|
|
310
310
|
- **gpt-5.6-sol** (`gpt-5.6`), **gpt-5.6-terra** (`terra`), **gpt-5.6-luna**, **gpt-5.5**, **gpt-5.3-codex-spark** (`spark`)
|
|
@@ -388,7 +388,7 @@ CODEX_APPROVAL_POLICY=never # never (default), untrusted, on-fa
|
|
|
388
388
|
# Optional: per-provider default model, used for a bare provider name (`codex`,
|
|
389
389
|
# `openai`, ...) and for "auto". Must be a model or alias from that provider's
|
|
390
390
|
# list; startup fails with suggestions otherwise.
|
|
391
|
-
CODEX_DEFAULT_MODEL=gpt-6-
|
|
391
|
+
CODEX_DEFAULT_MODEL=gpt-6-astra # CODEX_MODEL still works as a fallback
|
|
392
392
|
CLAUDE_DEFAULT_MODEL=claude-opus-5-5
|
|
393
393
|
AGY_DEFAULT_MODEL=gemini-3.8-flash # Antigravity CLI (gemini)
|
|
394
394
|
COPILOT_DEFAULT_MODEL=gpt-6-sol # COPILOT_MODEL still works as a fallback
|
|
@@ -459,7 +459,7 @@ Every entry in `models` takes one of four forms:
|
|
|
459
459
|
"auto";
|
|
460
460
|
|
|
461
461
|
// A provider: its default model (hardcoded, or <PROVIDER>_DEFAULT_MODEL)
|
|
462
|
-
"codex"; // -> Codex (GPT-6
|
|
462
|
+
"codex"; // -> Codex (GPT-6 Astra)
|
|
463
463
|
"claude"; // -> Claude Agent SDK (Claude Opus 5.5)
|
|
464
464
|
"gemini"; // -> Antigravity CLI (Gemini 3.8 Flash); `agy` works too
|
|
465
465
|
"openai"; // -> OpenAI API (GPT-6 Sol)
|
|
@@ -492,7 +492,7 @@ Every entry in `models` takes one of four forms:
|
|
|
492
492
|
|
|
493
493
|
Provider priority order (subscription-based local providers first, then API-key providers), used by both `auto` and bare model names:
|
|
494
494
|
|
|
495
|
-
1. Codex (`codex` → GPT-6
|
|
495
|
+
1. Codex (`codex` → GPT-6 Astra)
|
|
496
496
|
2. Gemini via Antigravity CLI (`gemini` / `agy` → Gemini 3.8 Flash)
|
|
497
497
|
3. Claude Agent SDK (`claude` → Claude Opus 5.5)
|
|
498
498
|
4. Copilot (`copilot` → GPT-6 Sol; `auto` only, never bare names)
|
package/docs/API.md
CHANGED
|
@@ -566,7 +566,7 @@ Any other model works via its full `provider/model` slug (e.g. `anthropic/claude
|
|
|
566
566
|
|
|
567
567
|
**Codex** is an agentic coding assistant with direct filesystem access:
|
|
568
568
|
|
|
569
|
-
- **Model**: `codex` (underlying model: GPT-6
|
|
569
|
+
- **Model**: `codex` (underlying model: GPT-6 Astra by default, or `CODEX_DEFAULT_MODEL`)
|
|
570
570
|
- **Backend selection**: `codex:<model>` per request (e.g. `codex:luna`, `codex:astra`, `codex:gpt-5.6-terra`) from the Codex catalog: `gpt-6-sol` (`sol`, `gpt-6`), `gpt-6-luna` (`luna`), `gpt-6-astra` (`astra`), `gpt-5.6-sol` (`gpt-5.6`), `gpt-5.6-terra` (`terra`), `gpt-5.6-luna`, `gpt-5.5`, `gpt-5.3-codex-spark` (`spark`). Other names are rejected with suggestions. Bare IDs from this list (e.g. `gpt-6-astra`) go to Codex first, then the OpenAI API.
|
|
571
571
|
- **Availability**: the Codex SDK is installed and `~/.codex/auth.json` exists (`$CODEX_HOME/auth.json` when set) or `CODEX_API_KEY` is set
|
|
572
572
|
- **Thread-based sessions**: persistent conversation history via `continuation_id` in `chat` mode
|
|
@@ -684,7 +684,7 @@ Control Codex behavior through environment variables:
|
|
|
684
684
|
- **`CODEX_SANDBOX_MODE`** — filesystem access: `read-only` (default), `workspace-write`, `danger-full-access` (containers only)
|
|
685
685
|
- **`CODEX_SKIP_GIT_CHECK`** — `true` (default) works in any directory; `false` requires a Git repository
|
|
686
686
|
- **`CODEX_APPROVAL_POLICY`** — `never` (default, recommended for servers), `untrusted`, `on-failure`, `on-request`
|
|
687
|
-
- **`CODEX_DEFAULT_MODEL`** — model used for `codex` and `auto` (default: `gpt-6-
|
|
687
|
+
- **`CODEX_DEFAULT_MODEL`** — model used for `codex` and `auto` (default: `gpt-6-astra`); the legacy name `CODEX_MODEL` is honored when it is unset
|
|
688
688
|
- **`CODEX_API_KEY`** — optional API key for headless deployments (alternative to ChatGPT login)
|
|
689
689
|
|
|
690
690
|
**Example (.env):**
|
|
@@ -693,7 +693,7 @@ CODEX_API_KEY=your_codex_api_key_here
|
|
|
693
693
|
CODEX_SANDBOX_MODE=read-only
|
|
694
694
|
CODEX_SKIP_GIT_CHECK=true
|
|
695
695
|
CODEX_APPROVAL_POLICY=never
|
|
696
|
-
CODEX_DEFAULT_MODEL=gpt-6-
|
|
696
|
+
CODEX_DEFAULT_MODEL=gpt-6-astra
|
|
697
697
|
```
|
|
698
698
|
|
|
699
699
|
### Default Models
|
|
@@ -701,7 +701,7 @@ CODEX_DEFAULT_MODEL=gpt-6-sol
|
|
|
701
701
|
Each provider's default model (used for its bare provider name and for `auto`) can be set with `<PROVIDER>_DEFAULT_MODEL`. The value must be a model ID or alias from that provider's list; startup fails with "Did you mean" suggestions otherwise (OpenRouter also accepts any `vendor/model` slug).
|
|
702
702
|
|
|
703
703
|
```bash
|
|
704
|
-
CODEX_DEFAULT_MODEL=gpt-6-
|
|
704
|
+
CODEX_DEFAULT_MODEL=gpt-6-astra # CODEX_MODEL is honored as a legacy fallback
|
|
705
705
|
CLAUDE_DEFAULT_MODEL=claude-opus-5-5
|
|
706
706
|
AGY_DEFAULT_MODEL=gemini-3.8-flash # Antigravity CLI (gemini)
|
|
707
707
|
COPILOT_DEFAULT_MODEL=gpt-6-sol # COPILOT_MODEL is honored as a legacy fallback
|
package/docs/EXAMPLES.md
CHANGED
|
@@ -446,7 +446,7 @@ Codex maintains conversation history through threads in `chat` mode:
|
|
|
446
446
|
|
|
447
447
|
### Choosing the Codex Model
|
|
448
448
|
|
|
449
|
-
`codex` uses GPT-6
|
|
449
|
+
`codex` uses GPT-6 Astra (or `CODEX_DEFAULT_MODEL`); `codex:<model>` picks another model from the Codex list:
|
|
450
450
|
|
|
451
451
|
```json
|
|
452
452
|
{
|
package/docs/PROVIDERS.md
CHANGED
|
@@ -106,9 +106,9 @@ This guide documents all supported AI providers in the Converse MCP Server and t
|
|
|
106
106
|
- `CODEX_SANDBOX_MODE` - Filesystem access control (default: read-only)
|
|
107
107
|
- `CODEX_SKIP_GIT_CHECK` - Skip Git repository validation (default: true)
|
|
108
108
|
- `CODEX_APPROVAL_POLICY` - Command approval behavior (default: never)
|
|
109
|
-
- `CODEX_DEFAULT_MODEL` - Model used for bare `codex` and `auto` (default: `gpt-6-
|
|
109
|
+
- `CODEX_DEFAULT_MODEL` - Model used for bare `codex` and `auto` (default: `gpt-6-astra`; any Codex model ID or alias below). The legacy name `CODEX_MODEL` is honored when `CODEX_DEFAULT_MODEL` is unset.
|
|
110
110
|
- **Supported Models**:
|
|
111
|
-
- `codex` - OpenAI Codex agentic coding assistant (GPT-6
|
|
111
|
+
- `codex` - OpenAI Codex agentic coding assistant (GPT-6 Astra by default)
|
|
112
112
|
- `codex:<model>` - Same, with an explicit backend from the Codex catalog:
|
|
113
113
|
- `gpt-6-sol` (aliases: `sol`, `gpt-6`), `gpt-6-luna` (`luna`), `gpt-6-astra` (`astra`)
|
|
114
114
|
- `gpt-5.6-sol` (`gpt-5.6`), `gpt-5.6-terra` (`terra`), `gpt-5.6-luna`, `gpt-5.5`, `gpt-5.3-codex-spark` (`spark`)
|
|
@@ -278,7 +278,7 @@ CODEX_APPROVAL_POLICY=never # never (default), untrusted, on-fa
|
|
|
278
278
|
Each provider has a `<PROVIDER>_DEFAULT_MODEL` variable that sets the model used for its bare provider name (`codex`, `openai`, ...) and for `auto`. The value must be a model ID or alias from that provider's list; startup fails with "Did you mean" suggestions otherwise. OpenRouter also accepts any `vendor/model` slug.
|
|
279
279
|
|
|
280
280
|
```bash
|
|
281
|
-
CODEX_DEFAULT_MODEL=gpt-6-
|
|
281
|
+
CODEX_DEFAULT_MODEL=gpt-6-astra # CODEX_MODEL is honored as a legacy fallback
|
|
282
282
|
CLAUDE_DEFAULT_MODEL=claude-opus-5-5
|
|
283
283
|
AGY_DEFAULT_MODEL=gemini-3.8-flash # Antigravity CLI (gemini)
|
|
284
284
|
COPILOT_DEFAULT_MODEL=gpt-6-sol # COPILOT_MODEL is honored as a legacy fallback
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "converse-mcp-server",
|
|
3
|
-
"version": "4.1
|
|
3
|
+
"version": "4.2.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,14 +93,14 @@
|
|
|
93
93
|
".env.example"
|
|
94
94
|
],
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@anthropic-ai/claude-agent-sdk": "^0.3.
|
|
96
|
+
"@anthropic-ai/claude-agent-sdk": "^0.3.282",
|
|
97
97
|
"@anthropic-ai/sdk": "^0.128.0",
|
|
98
98
|
"@github/copilot-sdk": "^1.0.14",
|
|
99
99
|
"@google/genai": "^2.24.0",
|
|
100
100
|
"@lydell/node-pty": "1.2.0-beta.15",
|
|
101
101
|
"@mistralai/mistralai": "^2.7.0",
|
|
102
|
-
"@modelcontextprotocol/sdk": "^1.30.
|
|
103
|
-
"@openai/codex-sdk": "^0.
|
|
102
|
+
"@modelcontextprotocol/sdk": "^1.30.1",
|
|
103
|
+
"@openai/codex-sdk": "^0.157.0",
|
|
104
104
|
"cors": "^2.8.6",
|
|
105
105
|
"dotenv": "^18.0.3",
|
|
106
106
|
"express": "^5.2.1",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"nanoid": "^6.0.1",
|
|
109
109
|
"openai": "^7.23.0",
|
|
110
110
|
"p-limit": "^7.3.3",
|
|
111
|
-
"vite": "^8.3.
|
|
111
|
+
"vite": "^8.3.1"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@vitest/coverage-v8": "^5.0.1",
|