converse-mcp-server 2.20.9 → 2.21.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/package.json +10 -10
- package/src/providers/claude.js +1 -1
- package/src/providers/codex.js +1 -1
- package/src/providers/copilot.js +18 -18
- package/src/providers/gemini-cli.js +1 -1
- package/src/providers/openai.js +40 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "converse-mcp-server",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.21.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",
|
|
@@ -94,30 +94,30 @@
|
|
|
94
94
|
".env.example"
|
|
95
95
|
],
|
|
96
96
|
"dependencies": {
|
|
97
|
-
"@anthropic-ai/claude-agent-sdk": "^0.2.
|
|
97
|
+
"@anthropic-ai/claude-agent-sdk": "^0.2.81",
|
|
98
98
|
"@anthropic-ai/sdk": "^0.78.0",
|
|
99
99
|
"@github/copilot-sdk": "^0.1.32",
|
|
100
|
-
"@google/genai": "^1.
|
|
100
|
+
"@google/genai": "^1.46.0",
|
|
101
101
|
"@mistralai/mistralai": "^1.15.1",
|
|
102
102
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
103
103
|
"@openai/codex-sdk": "^0.114.0",
|
|
104
|
-
"ai": "^6.0.
|
|
104
|
+
"ai": "^6.0.138",
|
|
105
105
|
"ai-sdk-provider-gemini-cli": "^2.0.1",
|
|
106
106
|
"cors": "^2.8.6",
|
|
107
107
|
"dotenv": "^17.3.1",
|
|
108
108
|
"express": "^5.2.1",
|
|
109
109
|
"lru-cache": "^11.2.7",
|
|
110
|
-
"nanoid": "^5.1.
|
|
111
|
-
"openai": "^6.
|
|
110
|
+
"nanoid": "^5.1.7",
|
|
111
|
+
"openai": "^6.32.0",
|
|
112
112
|
"p-limit": "^7.3.0",
|
|
113
|
-
"vite": "^8.0.
|
|
113
|
+
"vite": "^8.0.2"
|
|
114
114
|
},
|
|
115
115
|
"devDependencies": {
|
|
116
|
-
"@vitest/coverage-v8": "^4.1.
|
|
116
|
+
"@vitest/coverage-v8": "^4.1.1",
|
|
117
117
|
"cross-env": "^10.1.0",
|
|
118
|
-
"eslint": "^10.0
|
|
118
|
+
"eslint": "^10.1.0",
|
|
119
119
|
"prettier": "^3.8.1",
|
|
120
120
|
"rimraf": "^6.1.3",
|
|
121
|
-
"vitest": "^4.1.
|
|
121
|
+
"vitest": "^4.1.1"
|
|
122
122
|
}
|
|
123
123
|
}
|
package/src/providers/claude.js
CHANGED
|
@@ -27,7 +27,7 @@ const SUPPORTED_MODELS = {
|
|
|
27
27
|
supportsImages: true, // Supported via streaming input mode
|
|
28
28
|
supportsTemperature: false, // SDK manages temperature internally
|
|
29
29
|
supportsWebSearch: false, // SDK accesses files directly, not web
|
|
30
|
-
timeout:
|
|
30
|
+
timeout: 600000, // 10 minutes
|
|
31
31
|
description: 'Claude via Agent SDK - requires claude login authentication',
|
|
32
32
|
aliases: ['claude-sdk', 'claude-code'],
|
|
33
33
|
},
|
package/src/providers/codex.js
CHANGED
|
@@ -28,7 +28,7 @@ const SUPPORTED_MODELS = {
|
|
|
28
28
|
supportsImages: false, // Codex doesn't support images
|
|
29
29
|
supportsTemperature: false, // Codex manages temperature internally
|
|
30
30
|
supportsWebSearch: false, // Codex accesses files directly, not web
|
|
31
|
-
timeout:
|
|
31
|
+
timeout: 600000, // 10 minutes
|
|
32
32
|
description:
|
|
33
33
|
'OpenAI Codex agentic coding assistant with local file access and tool execution (GPT-5.3-Codex)',
|
|
34
34
|
aliases: [
|
package/src/providers/copilot.js
CHANGED
|
@@ -26,7 +26,7 @@ const SUPPORTED_MODELS = {
|
|
|
26
26
|
supportsImages: false,
|
|
27
27
|
supportsTemperature: false,
|
|
28
28
|
supportsWebSearch: false,
|
|
29
|
-
timeout:
|
|
29
|
+
timeout: 600000,
|
|
30
30
|
description:
|
|
31
31
|
'GitHub Copilot via CLI SDK - uses default or env-configured model',
|
|
32
32
|
aliases: ['copilot-sdk', 'github-copilot'],
|
|
@@ -42,7 +42,7 @@ const SUPPORTED_MODELS = {
|
|
|
42
42
|
supportsImages: false,
|
|
43
43
|
supportsTemperature: false,
|
|
44
44
|
supportsWebSearch: false,
|
|
45
|
-
timeout:
|
|
45
|
+
timeout: 600000,
|
|
46
46
|
description: 'OpenAI GPT-4.1 via Copilot subscription',
|
|
47
47
|
aliases: [],
|
|
48
48
|
},
|
|
@@ -56,7 +56,7 @@ const SUPPORTED_MODELS = {
|
|
|
56
56
|
supportsTemperature: false,
|
|
57
57
|
supportsWebSearch: false,
|
|
58
58
|
supportsReasoningEffort: true,
|
|
59
|
-
timeout:
|
|
59
|
+
timeout: 600000,
|
|
60
60
|
description: 'OpenAI GPT-5 Mini via Copilot subscription',
|
|
61
61
|
aliases: [],
|
|
62
62
|
},
|
|
@@ -70,7 +70,7 @@ const SUPPORTED_MODELS = {
|
|
|
70
70
|
supportsTemperature: false,
|
|
71
71
|
supportsWebSearch: false,
|
|
72
72
|
supportsReasoningEffort: true,
|
|
73
|
-
timeout:
|
|
73
|
+
timeout: 600000,
|
|
74
74
|
description: 'OpenAI GPT-5.1 via Copilot subscription',
|
|
75
75
|
aliases: [],
|
|
76
76
|
},
|
|
@@ -84,7 +84,7 @@ const SUPPORTED_MODELS = {
|
|
|
84
84
|
supportsTemperature: false,
|
|
85
85
|
supportsWebSearch: false,
|
|
86
86
|
supportsReasoningEffort: true,
|
|
87
|
-
timeout:
|
|
87
|
+
timeout: 600000,
|
|
88
88
|
description: 'OpenAI GPT-5.1 Codex via Copilot subscription',
|
|
89
89
|
aliases: [],
|
|
90
90
|
},
|
|
@@ -98,7 +98,7 @@ const SUPPORTED_MODELS = {
|
|
|
98
98
|
supportsTemperature: false,
|
|
99
99
|
supportsWebSearch: false,
|
|
100
100
|
supportsReasoningEffort: true,
|
|
101
|
-
timeout:
|
|
101
|
+
timeout: 600000,
|
|
102
102
|
description: 'OpenAI GPT-5.1 Codex Mini via Copilot subscription',
|
|
103
103
|
aliases: [],
|
|
104
104
|
},
|
|
@@ -126,7 +126,7 @@ const SUPPORTED_MODELS = {
|
|
|
126
126
|
supportsTemperature: false,
|
|
127
127
|
supportsWebSearch: false,
|
|
128
128
|
supportsReasoningEffort: true,
|
|
129
|
-
timeout:
|
|
129
|
+
timeout: 600000,
|
|
130
130
|
description: 'OpenAI GPT-5.4 via Copilot subscription',
|
|
131
131
|
aliases: ['gpt-5'],
|
|
132
132
|
},
|
|
@@ -140,7 +140,7 @@ const SUPPORTED_MODELS = {
|
|
|
140
140
|
supportsTemperature: false,
|
|
141
141
|
supportsWebSearch: false,
|
|
142
142
|
supportsReasoningEffort: true,
|
|
143
|
-
timeout:
|
|
143
|
+
timeout: 600000,
|
|
144
144
|
description: 'OpenAI GPT-5.2 Codex via Copilot subscription',
|
|
145
145
|
aliases: [],
|
|
146
146
|
},
|
|
@@ -154,7 +154,7 @@ const SUPPORTED_MODELS = {
|
|
|
154
154
|
supportsTemperature: false,
|
|
155
155
|
supportsWebSearch: false,
|
|
156
156
|
supportsReasoningEffort: true,
|
|
157
|
-
timeout:
|
|
157
|
+
timeout: 600000,
|
|
158
158
|
description: 'OpenAI GPT-5.3 Codex via Copilot subscription',
|
|
159
159
|
aliases: ['codex'],
|
|
160
160
|
},
|
|
@@ -169,7 +169,7 @@ const SUPPORTED_MODELS = {
|
|
|
169
169
|
supportsImages: false,
|
|
170
170
|
supportsTemperature: false,
|
|
171
171
|
supportsWebSearch: false,
|
|
172
|
-
timeout:
|
|
172
|
+
timeout: 600000,
|
|
173
173
|
description: 'Anthropic Claude Haiku 4.5 via Copilot subscription',
|
|
174
174
|
aliases: ['haiku'],
|
|
175
175
|
},
|
|
@@ -182,7 +182,7 @@ const SUPPORTED_MODELS = {
|
|
|
182
182
|
supportsImages: false,
|
|
183
183
|
supportsTemperature: false,
|
|
184
184
|
supportsWebSearch: false,
|
|
185
|
-
timeout:
|
|
185
|
+
timeout: 600000,
|
|
186
186
|
description: 'Anthropic Claude Sonnet 4 via Copilot subscription',
|
|
187
187
|
aliases: [],
|
|
188
188
|
},
|
|
@@ -195,7 +195,7 @@ const SUPPORTED_MODELS = {
|
|
|
195
195
|
supportsImages: false,
|
|
196
196
|
supportsTemperature: false,
|
|
197
197
|
supportsWebSearch: false,
|
|
198
|
-
timeout:
|
|
198
|
+
timeout: 600000,
|
|
199
199
|
description: 'Anthropic Claude Sonnet 4.5 via Copilot subscription',
|
|
200
200
|
aliases: [],
|
|
201
201
|
},
|
|
@@ -208,7 +208,7 @@ const SUPPORTED_MODELS = {
|
|
|
208
208
|
supportsImages: false,
|
|
209
209
|
supportsTemperature: false,
|
|
210
210
|
supportsWebSearch: false,
|
|
211
|
-
timeout:
|
|
211
|
+
timeout: 600000,
|
|
212
212
|
description: 'Anthropic Claude Sonnet 4.6 via Copilot subscription',
|
|
213
213
|
aliases: ['sonnet'],
|
|
214
214
|
},
|
|
@@ -221,7 +221,7 @@ const SUPPORTED_MODELS = {
|
|
|
221
221
|
supportsImages: false,
|
|
222
222
|
supportsTemperature: false,
|
|
223
223
|
supportsWebSearch: false,
|
|
224
|
-
timeout:
|
|
224
|
+
timeout: 600000,
|
|
225
225
|
description: 'Anthropic Claude Opus 4.5 via Copilot subscription',
|
|
226
226
|
aliases: [],
|
|
227
227
|
},
|
|
@@ -234,7 +234,7 @@ const SUPPORTED_MODELS = {
|
|
|
234
234
|
supportsImages: false,
|
|
235
235
|
supportsTemperature: false,
|
|
236
236
|
supportsWebSearch: false,
|
|
237
|
-
timeout:
|
|
237
|
+
timeout: 600000,
|
|
238
238
|
description: 'Anthropic Claude Opus 4.6 via Copilot subscription',
|
|
239
239
|
aliases: ['opus'],
|
|
240
240
|
},
|
|
@@ -249,7 +249,7 @@ const SUPPORTED_MODELS = {
|
|
|
249
249
|
supportsImages: false,
|
|
250
250
|
supportsTemperature: false,
|
|
251
251
|
supportsWebSearch: false,
|
|
252
|
-
timeout:
|
|
252
|
+
timeout: 600000,
|
|
253
253
|
description: 'Google Gemini 3 Pro Preview via Copilot subscription',
|
|
254
254
|
aliases: ['gemini-3-pro'],
|
|
255
255
|
},
|
|
@@ -262,7 +262,7 @@ const SUPPORTED_MODELS = {
|
|
|
262
262
|
supportsImages: false,
|
|
263
263
|
supportsTemperature: false,
|
|
264
264
|
supportsWebSearch: false,
|
|
265
|
-
timeout:
|
|
265
|
+
timeout: 600000,
|
|
266
266
|
description: 'Google Gemini 3.1 Pro Preview via Copilot subscription',
|
|
267
267
|
aliases: ['gemini', 'gemini-3.1-pro'],
|
|
268
268
|
},
|
|
@@ -602,7 +602,7 @@ async function checkReasoningSupport(client, modelId) {
|
|
|
602
602
|
}
|
|
603
603
|
|
|
604
604
|
async function* createStreamingGenerator(client, prompt, options, signal, config) {
|
|
605
|
-
const { model, timeout =
|
|
605
|
+
const { model, timeout = 600000, reasoning_effort } = options;
|
|
606
606
|
|
|
607
607
|
const sessionModel = resolveSessionModel(model, config);
|
|
608
608
|
const accessLevel = getToolAccessLevel(config);
|
|
@@ -34,7 +34,7 @@ const SUPPORTED_MODELS = {
|
|
|
34
34
|
supportsTemperature: true,
|
|
35
35
|
supportsThinking: true,
|
|
36
36
|
supportsWebSearch: true,
|
|
37
|
-
timeout:
|
|
37
|
+
timeout: 600000, // 10 minutes
|
|
38
38
|
description:
|
|
39
39
|
'Gemini 3.1 Pro Preview via OAuth - requires Gemini CLI authentication',
|
|
40
40
|
aliases: ['gemini-cli'],
|
package/src/providers/openai.js
CHANGED
|
@@ -62,6 +62,46 @@ const SUPPORTED_MODELS = {
|
|
|
62
62
|
'Fastest, most cost-efficient GPT-5 (400K context, 128K output) - Summarization, classification',
|
|
63
63
|
aliases: ['gpt5-nano', 'gpt-5nano', 'gpt 5 nano', 'gpt-5-nano-2025-08-07'],
|
|
64
64
|
},
|
|
65
|
+
'gpt-5.4-mini': {
|
|
66
|
+
modelName: 'gpt-5.4-mini',
|
|
67
|
+
friendlyName: 'OpenAI (GPT-5.4 mini)',
|
|
68
|
+
contextWindow: 400000,
|
|
69
|
+
maxOutputTokens: 128000,
|
|
70
|
+
supportsStreaming: true,
|
|
71
|
+
supportsImages: true,
|
|
72
|
+
supportsTemperature: false,
|
|
73
|
+
supportsWebSearch: true,
|
|
74
|
+
supportsResponsesAPI: true,
|
|
75
|
+
timeout: 1800000, // 30 minutes
|
|
76
|
+
description:
|
|
77
|
+
'Fast, efficient GPT-5.4 (400K context, 128K output) - Coding, subagents, computer use, tool use. 2x faster than GPT-5 mini',
|
|
78
|
+
aliases: [
|
|
79
|
+
'gpt5.4-mini',
|
|
80
|
+
'gpt-5.4mini',
|
|
81
|
+
'gpt 5.4 mini',
|
|
82
|
+
'gpt-5.4-mini-2025-08-07',
|
|
83
|
+
],
|
|
84
|
+
},
|
|
85
|
+
'gpt-5.4-nano': {
|
|
86
|
+
modelName: 'gpt-5.4-nano',
|
|
87
|
+
friendlyName: 'OpenAI (GPT-5.4 nano)',
|
|
88
|
+
contextWindow: 400000,
|
|
89
|
+
maxOutputTokens: 128000,
|
|
90
|
+
supportsStreaming: true,
|
|
91
|
+
supportsImages: true,
|
|
92
|
+
supportsTemperature: false,
|
|
93
|
+
supportsWebSearch: false,
|
|
94
|
+
supportsResponsesAPI: true,
|
|
95
|
+
timeout: 600000, // 10 minutes
|
|
96
|
+
description:
|
|
97
|
+
'Smallest, cheapest GPT-5.4 (400K context, 128K output) - Classification, data extraction, ranking, coding subagents',
|
|
98
|
+
aliases: [
|
|
99
|
+
'gpt5.4-nano',
|
|
100
|
+
'gpt-5.4nano',
|
|
101
|
+
'gpt 5.4 nano',
|
|
102
|
+
'gpt-5.4-nano-2025-08-07',
|
|
103
|
+
],
|
|
104
|
+
},
|
|
65
105
|
'gpt-5.4-pro': {
|
|
66
106
|
modelName: 'gpt-5.4-pro',
|
|
67
107
|
friendlyName: 'OpenAI (GPT-5.4 Pro)',
|