beplus-mcp 0.17.0 → 0.17.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/dist/index.js +14 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1634,9 +1634,22 @@ ${calls.map(callLine).join("\n\n")}`);
|
|
|
1634
1634
|
);
|
|
1635
1635
|
}
|
|
1636
1636
|
|
|
1637
|
+
// src/version.ts
|
|
1638
|
+
import { createRequire } from "module";
|
|
1639
|
+
var require2 = createRequire(import.meta.url);
|
|
1640
|
+
function readVersion() {
|
|
1641
|
+
try {
|
|
1642
|
+
const pkg = require2("../package.json");
|
|
1643
|
+
return pkg.version ?? "0.0.0-unknown";
|
|
1644
|
+
} catch {
|
|
1645
|
+
return "0.0.0-unknown";
|
|
1646
|
+
}
|
|
1647
|
+
}
|
|
1648
|
+
var VERSION = readVersion();
|
|
1649
|
+
|
|
1637
1650
|
// src/server.ts
|
|
1638
1651
|
function buildServer(cfg) {
|
|
1639
|
-
const server = new McpServer({ name: "beplus", version:
|
|
1652
|
+
const server = new McpServer({ name: "beplus", version: VERSION });
|
|
1640
1653
|
const client = new BeplusClient(cfg);
|
|
1641
1654
|
registerGenerationTools(server, client, cfg);
|
|
1642
1655
|
registerAudioTools(server, client, cfg);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "beplus-mcp",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"description": "Conector MCP da equipe BePlus — gere imagens/vídeos/áudio e consulte calls, projetos e clientes pela sua conta BePlus (diamantes, limites e histórico aplicados pela plataforma).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|