@ferscloud/fers-mcp 2.77.0 → 2.79.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/fers-mcp.cjs +23 -5
- package/package.json +2 -2
package/dist/fers-mcp.cjs
CHANGED
|
@@ -21940,7 +21940,7 @@ var openapi_default = {
|
|
|
21940
21940
|
name: "PolyForm-Strict-1.0.0",
|
|
21941
21941
|
url: "https://polyformproject.org/licenses/strict/1.0.0"
|
|
21942
21942
|
},
|
|
21943
|
-
version: "0.2.
|
|
21943
|
+
version: "0.2.79"
|
|
21944
21944
|
},
|
|
21945
21945
|
paths: {},
|
|
21946
21946
|
components: {
|
|
@@ -79650,6 +79650,7 @@ function addImperfectionCase(args) {
|
|
|
79650
79650
|
// src/lib/limits.ts
|
|
79651
79651
|
var FREE_MEMBER_LIMIT = 100;
|
|
79652
79652
|
var PRO_MEMBER_LIMIT = 1e4;
|
|
79653
|
+
var ENTERPRISE_MEMBER_LIMIT = 1e6;
|
|
79653
79654
|
var FREE_TIER_USE = "non-commercial use only";
|
|
79654
79655
|
var PRO_TIER_USE = "commercial and non-commercial use";
|
|
79655
79656
|
var MEMBER_LIMIT_ERROR_SUBSTRING = "exceeds allowed maximum";
|
|
@@ -84371,7 +84372,7 @@ function solveInBrowserPayload(a) {
|
|
|
84371
84372
|
}
|
|
84372
84373
|
|
|
84373
84374
|
// src/lib/mcp-core/server.ts
|
|
84374
|
-
var SERVER_VERSION = "2.
|
|
84375
|
+
var SERVER_VERSION = "2.79.0";
|
|
84375
84376
|
function tooLarge(model) {
|
|
84376
84377
|
return typeof model !== "string" || model.length > MODEL_JSON_MAX_BYTES;
|
|
84377
84378
|
}
|
|
@@ -86236,7 +86237,9 @@ function makeLicence(opts) {
|
|
|
86236
86237
|
token = {
|
|
86237
86238
|
value: body.token,
|
|
86238
86239
|
expiresAt,
|
|
86239
|
-
|
|
86240
|
+
// `plan` arrived with Enterprise; FERS Cloud sends it beside tier
|
|
86241
|
+
// "premium".
|
|
86242
|
+
tier: body.tier !== "premium" ? "free" : body.plan === "enterprise" ? "enterprise" : "premium"
|
|
86240
86243
|
};
|
|
86241
86244
|
state = "ok";
|
|
86242
86245
|
detail = void 0;
|
|
@@ -86521,6 +86524,18 @@ function makeLocalEngine(opts) {
|
|
|
86521
86524
|
var import_promises3 = __toESM(require("node:fs/promises"));
|
|
86522
86525
|
var import_node_path3 = __toESM(require("node:path"));
|
|
86523
86526
|
|
|
86527
|
+
// src/lib/plan.ts
|
|
86528
|
+
function memberLimitOf(plan) {
|
|
86529
|
+
switch (plan) {
|
|
86530
|
+
case "enterprise":
|
|
86531
|
+
return ENTERPRISE_MEMBER_LIMIT;
|
|
86532
|
+
case "premium":
|
|
86533
|
+
return PRO_MEMBER_LIMIT;
|
|
86534
|
+
case "free":
|
|
86535
|
+
return FREE_MEMBER_LIMIT;
|
|
86536
|
+
}
|
|
86537
|
+
}
|
|
86538
|
+
|
|
86524
86539
|
// src/mcp-local/fileDrafts.ts
|
|
86525
86540
|
var import_promises = __toESM(require("node:fs/promises"));
|
|
86526
86541
|
var import_node_path = __toESM(require("node:path"));
|
|
@@ -86696,6 +86711,9 @@ function fileModels(dir, now = () => Date.now()) {
|
|
|
86696
86711
|
// src/mcp-local/localDeps.ts
|
|
86697
86712
|
function tierHint(licence) {
|
|
86698
86713
|
const s = licence.status();
|
|
86714
|
+
if (s.tier === "enterprise") {
|
|
86715
|
+
return `This run used the Enterprise tier (up to ${ENTERPRISE_MEMBER_LIMIT} members).`;
|
|
86716
|
+
}
|
|
86699
86717
|
if (s.tier === "premium") {
|
|
86700
86718
|
return `This run used the Pro tier (up to ${PRO_MEMBER_LIMIT} members).`;
|
|
86701
86719
|
}
|
|
@@ -86727,8 +86745,8 @@ function localDeps(o) {
|
|
|
86727
86745
|
where: "on this machine, with the FERS engine",
|
|
86728
86746
|
engine_version: await o.engine.version(),
|
|
86729
86747
|
tier: licence.tier,
|
|
86730
|
-
member_limit: licence.tier
|
|
86731
|
-
use: licence.tier === "
|
|
86748
|
+
member_limit: memberLimitOf(licence.tier),
|
|
86749
|
+
use: licence.tier === "free" ? FREE_TIER_USE : PRO_TIER_USE,
|
|
86732
86750
|
tier_note: tierHint(o.licence),
|
|
86733
86751
|
licence,
|
|
86734
86752
|
metered: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ferscloud/fers-mcp",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.79.0",
|
|
4
4
|
"description": "FERS structural finite-element tools for MCP clients (Claude Desktop, Claude Code, Cursor, VS Code, Codex, ChatGPT desktop), solving on your own machine.",
|
|
5
5
|
"mcpName": "com.ferscloud/fers",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"node": ">=18"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@ferscloud/fers-calculation": "0.2.
|
|
33
|
+
"@ferscloud/fers-calculation": "0.2.79"
|
|
34
34
|
}
|
|
35
35
|
}
|