@verbaly/mcp 0.79.0 → 0.80.0
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/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { t as createVerbalyMcp } from "./server-
|
|
2
|
+
import { t as createVerbalyMcp } from "./server-DLz42N1C.js";
|
|
3
3
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
4
4
|
import { parseArgs } from "node:util";
|
|
5
5
|
// src/cli.ts
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as createVerbalyMcp } from "./server-
|
|
1
|
+
export { t as createVerbalyMcp } from "./server-DLz42N1C.js";
|
|
@@ -456,8 +456,8 @@ function registerTranslate(server, ctx) {
|
|
|
456
456
|
};
|
|
457
457
|
return reply(lines.length === 0 ? "nothing to translate" : lines.join("\n"), data);
|
|
458
458
|
}
|
|
459
|
-
const written =
|
|
460
|
-
const kept =
|
|
459
|
+
const written = [];
|
|
460
|
+
const kept = [];
|
|
461
461
|
const writes = [];
|
|
462
462
|
for (const [locale, keys] of Object.entries(result.translated)) {
|
|
463
463
|
const catalog = catalogs[locale] ?? {};
|
|
@@ -470,15 +470,21 @@ function registerTranslate(server, ctx) {
|
|
|
470
470
|
text: catalog[key]
|
|
471
471
|
}))
|
|
472
472
|
});
|
|
473
|
-
if (landed.length > 0) written
|
|
473
|
+
if (landed.length > 0) written.push({
|
|
474
|
+
locale,
|
|
475
|
+
keys: landed
|
|
476
|
+
});
|
|
474
477
|
const left = keys.filter((key) => !landed.includes(key));
|
|
475
|
-
if (left.length > 0) kept
|
|
478
|
+
if (left.length > 0) kept.push({
|
|
479
|
+
locale,
|
|
480
|
+
keys: left
|
|
481
|
+
});
|
|
476
482
|
}
|
|
477
483
|
if (writes.length > 0) recordTranslations(cfg, catalogs[cfg.sourceLocale] ?? {}, writes);
|
|
478
484
|
const data = {
|
|
479
485
|
dryRun: false,
|
|
480
|
-
translated:
|
|
481
|
-
kept
|
|
486
|
+
translated: written,
|
|
487
|
+
kept,
|
|
482
488
|
invalid: byLocale(result.invalid),
|
|
483
489
|
failed: result.failed,
|
|
484
490
|
pending: []
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verbaly/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.80.0",
|
|
4
4
|
"description": "MCP server for Verbaly: diagnosis, onboarding, extraction, coverage and machine translation as tools for coding agents.",
|
|
5
5
|
"mcpName": "io.github.AronSoto/verbaly",
|
|
6
6
|
"keywords": [
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
52
|
-
"@verbaly/compiler": "^0.
|
|
52
|
+
"@verbaly/compiler": "^0.80.0",
|
|
53
53
|
"zod": "^4.6.7"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|