@i18n-agent/mcp-client 1.7.5 → 1.7.6

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.
Files changed (2) hide show
  1. package/mcp-client.js +6 -1
  2. package/package.json +1 -1
package/mcp-client.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Integrates with Claude Code CLI to provide translation capabilities
6
6
  */
7
7
 
8
- const MCP_CLIENT_VERSION = '1.7.5';
8
+ const MCP_CLIENT_VERSION = '1.7.6';
9
9
 
10
10
  import { Server } from '@modelcontextprotocol/sdk/server/index.js';
11
11
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
@@ -577,6 +577,11 @@ async function handleListLanguages(args) {
577
577
  }
578
578
 
579
579
  async function handleTranslateFile(args) {
580
+ // DEBUG: Log ALL args received from Claude Code
581
+ console.error('🔍 [MCP CLIENT] handleTranslateFile received args:', JSON.stringify(Object.keys(args)));
582
+ console.error('🔍 [MCP CLIENT] targetLanguages value:', args.targetLanguages);
583
+ console.error('🔍 [MCP CLIENT] Full args:', JSON.stringify(args).substring(0, 500));
584
+
580
585
  const {
581
586
  filePath,
582
587
  fileContent,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i18n-agent/mcp-client",
3
- "version": "1.7.5",
3
+ "version": "1.7.6",
4
4
  "description": "MCP client for i18n-agent translation service with async job support and enhanced progress tracking - supports Claude, Cursor, VS Code, and other AI IDEs",
5
5
  "main": "mcp-client.js",
6
6
  "bin": {