converse-mcp-server 1.7.0 → 1.7.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/README.md CHANGED
@@ -335,9 +335,18 @@ npm run kill-server # Kill any server running on port 3157
335
335
  npm test # Run all tests
336
336
  npm run test:unit # Unit tests only
337
337
  npm run test:integration # Integration tests
338
- npm run test:mcp-client # MCP client tests (HTTP-based client-server testing)
339
- npm run test:real-api # Real API tests (requires keys)
340
- npm run test:providers # Provider tests
338
+ npm run test:e2e # End-to-end tests (requires API keys)
339
+
340
+ # Integration test subcategories
341
+ npm run test:integration:mcp # MCP protocol tests
342
+ npm run test:integration:tools # Tool integration tests
343
+ npm run test:integration:providers # Provider integration tests
344
+ npm run test:integration:performance # Performance tests
345
+ npm run test:integration:general # General integration tests
346
+
347
+ # Other test categories
348
+ npm run test:mcp-client # MCP client tests (HTTP-based)
349
+ npm run test:providers # Provider unit tests
341
350
  npm run test:tools # Tool tests
342
351
  npm run test:coverage # Coverage report
343
352
  npm run test:watch # Run tests in watch mode
@@ -389,11 +398,11 @@ OPENAI_API_KEY=sk-proj-...
389
398
  GOOGLE_API_KEY=AIzaSy...
390
399
  XAI_API_KEY=xai-...
391
400
 
392
- # Run real API tests
393
- npm run test:real-api
401
+ # Run end-to-end tests with real APIs
402
+ npm run test:e2e
394
403
 
395
- # Run comprehensive integration tests
396
- node tests/integration/final-integration-test.js
404
+ # Run specific provider tests
405
+ npm run test:integration:providers
397
406
 
398
407
  # Validate server functionality
399
408
  npm run validate
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "converse-mcp-server",
3
- "version": "1.7.0",
3
+ "version": "1.7.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",
@@ -21,15 +21,26 @@
21
21
  "dev:port": "PORT=3001 npm run dev:clean",
22
22
  "dev:quiet": "npm run kill-server && NODE_ENV=development LOG_LEVEL=info node --watch src/index.js",
23
23
  "dev:verbose": "npm run kill-server && NODE_ENV=development LOG_LEVEL=trace node --watch src/index.js",
24
- "test": "vitest run",
24
+ "test": "npm run test:all",
25
+ "test:all": "vitest run",
25
26
  "test:watch": "vitest",
26
27
  "test:unit": "vitest run --config vitest.unit.config.js",
27
28
  "test:integration": "vitest run --config vitest.integration.config.js",
29
+ "test:integration:mcp": "vitest run tests/integration/mcp-protocol",
30
+ "test:integration:tools": "vitest run tests/integration/tools",
31
+ "test:integration:providers": "vitest run tests/integration/providers",
32
+ "test:integration:performance": "vitest run tests/integration/performance",
33
+ "test:integration:general": "vitest run tests/integration/general",
34
+ "test:e2e": "npm run test:real-api",
35
+ "test:providers": "vitest run --config vitest.providers.config.js",
36
+ "test:tools": "vitest run tests/tools",
28
37
  "test:mcp-client": "vitest run --config vitest.mcp-client.config.js",
29
38
  "test:real-api": "vitest run --config vitest.real-api.config.js",
39
+ "test:performance": "vitest run --config vitest.performance.config.js",
30
40
  "test:ci": "vitest run --config vitest.ci.config.js",
31
- "test:providers": "vitest run tests/providers",
32
- "test:tools": "vitest run tests/tools",
41
+ "test:utils": "vitest run tests/utils",
42
+ "test:resources": "vitest run tests/resources",
43
+ "test:prompts": "vitest run tests/prompts",
33
44
  "test:coverage": "vitest run --coverage",
34
45
  "test:coverage:unit": "vitest run --config vitest.unit.config.js --coverage",
35
46
  "test:coverage:integration": "vitest run --config vitest.integration.config.js --coverage",
@@ -183,12 +183,12 @@ export async function consensusTool(args, dependencies) {
183
183
  provider: providerName,
184
184
  providerInstance: provider,
185
185
  options: {
186
- model: resolvedModelName, // Use resolved model name for API call
187
186
  temperature,
188
187
  reasoning_effort,
189
188
  use_websearch,
190
189
  config,
191
- ...modelSpec // Allow model-specific overrides
190
+ ...modelSpec, // Allow model-specific overrides
191
+ model: resolvedModelName // Use resolved model name for API call (must be after spread)
192
192
  }
193
193
  });
194
194
  }