@i18n-agent/mcp-client 1.8.236 → 1.8.238
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/mcp-client.js +2 -2
- package/package.json +1 -1
package/mcp-client.js
CHANGED
|
@@ -1747,11 +1747,11 @@ async function handleDownloadTranslations(args) {
|
|
|
1747
1747
|
// Case 1: S3 Storage - download files from presigned URLs
|
|
1748
1748
|
console.error(`📥 Downloading ${Object.keys(parsedResult.downloadUrls).length} translation files from S3...`);
|
|
1749
1749
|
|
|
1750
|
-
for (const [language,
|
|
1750
|
+
for (const [language, downloadUrl] of Object.entries(parsedResult.downloadUrls)) {
|
|
1751
1751
|
try {
|
|
1752
1752
|
console.error(`📥 Downloading ${language}...`);
|
|
1753
1753
|
|
|
1754
|
-
const fileResponse = await axios.get(
|
|
1754
|
+
const fileResponse = await axios.get(downloadUrl, {
|
|
1755
1755
|
responseType: 'text',
|
|
1756
1756
|
timeout: 60000, // 1 minute per file
|
|
1757
1757
|
headers: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@i18n-agent/mcp-client",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.238",
|
|
4
4
|
"description": "🌍 i18n-agent MCP Client - 48 languages, AI-powered translation for Claude, Claude Code, Cursor, VS Code, Codex. Get API key at https://app.i18nagent.ai",
|
|
5
5
|
"main": "mcp-client.js",
|
|
6
6
|
"bin": {
|