@ferscloud/fers-mcp 2.83.1 → 2.84.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 +34 -19
- 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.84"
|
|
21944
21944
|
},
|
|
21945
21945
|
paths: {},
|
|
21946
21946
|
components: {
|
|
@@ -45306,6 +45306,23 @@ function nodalSupport(id, x, y, rz) {
|
|
|
45306
45306
|
warping_condition: null
|
|
45307
45307
|
};
|
|
45308
45308
|
}
|
|
45309
|
+
function ec3MemberCheck(ltb = true) {
|
|
45310
|
+
return {
|
|
45311
|
+
id: "ec3",
|
|
45312
|
+
name: "EN 1993-1-1 member check",
|
|
45313
|
+
applies_to: { type: "AllMembers" },
|
|
45314
|
+
spec: {
|
|
45315
|
+
Ec3Steel: {
|
|
45316
|
+
gamma_m0: 1,
|
|
45317
|
+
gamma_m1: 1,
|
|
45318
|
+
include_buckling: true,
|
|
45319
|
+
include_ltb: ltb,
|
|
45320
|
+
interaction_method: "AnnexB"
|
|
45321
|
+
}
|
|
45322
|
+
},
|
|
45323
|
+
limit_state: "ULS"
|
|
45324
|
+
};
|
|
45325
|
+
}
|
|
45309
45326
|
function memberRecord(id, startNode, endNode, sectionId) {
|
|
45310
45327
|
return {
|
|
45311
45328
|
id,
|
|
@@ -45758,23 +45775,7 @@ function buildCheckBeam(p, resolve = getSteelSection) {
|
|
|
45758
45775
|
}
|
|
45759
45776
|
],
|
|
45760
45777
|
imperfection_cases: [],
|
|
45761
|
-
unity_checks: [
|
|
45762
|
-
{
|
|
45763
|
-
id: "ec3",
|
|
45764
|
-
name: "EN 1993-1-1 member check",
|
|
45765
|
-
applies_to: { type: "AllMembers" },
|
|
45766
|
-
spec: {
|
|
45767
|
-
Ec3Steel: {
|
|
45768
|
-
gamma_m0: 1,
|
|
45769
|
-
gamma_m1: 1,
|
|
45770
|
-
include_buckling: true,
|
|
45771
|
-
include_ltb: !(p.restrained ?? false),
|
|
45772
|
-
interaction_method: "AnnexB"
|
|
45773
|
-
}
|
|
45774
|
-
},
|
|
45775
|
-
limit_state: "ULS"
|
|
45776
|
-
}
|
|
45777
|
-
]
|
|
45778
|
+
unity_checks: [ec3MemberCheck(!(p.restrained ?? false))]
|
|
45778
45779
|
}
|
|
45779
45780
|
};
|
|
45780
45781
|
}
|
|
@@ -79829,9 +79830,23 @@ function classifySolverError(err) {
|
|
|
79829
79830
|
};
|
|
79830
79831
|
}
|
|
79831
79832
|
if (code === "LimitExceeded" || /exceeds allowed maximum/i.test(message)) {
|
|
79833
|
+
const allowed = /exceeds allowed maximum of (\d+)/i.exec(message);
|
|
79834
|
+
const limit = allowed ? Number(allowed[1]) : FREE_MEMBER_LIMIT;
|
|
79835
|
+
if (limit > FREE_MEMBER_LIMIT) {
|
|
79836
|
+
const shown = limit.toLocaleString("en-US");
|
|
79837
|
+
return {
|
|
79838
|
+
kind: "limit",
|
|
79839
|
+
fatalTrap: false,
|
|
79840
|
+
upgradeHelps: false,
|
|
79841
|
+
messageKey: "solverError.limitPlan",
|
|
79842
|
+
messageParams: { limit: shown },
|
|
79843
|
+
message: `This model exceeds your plan's limit of ${shown} members. Contact us about a larger plan.`
|
|
79844
|
+
};
|
|
79845
|
+
}
|
|
79832
79846
|
return {
|
|
79833
79847
|
kind: "limit",
|
|
79834
79848
|
fatalTrap: false,
|
|
79849
|
+
upgradeHelps: true,
|
|
79835
79850
|
messageKey: "solverError.limit",
|
|
79836
79851
|
messageParams: { limit: FREE_MEMBER_LIMIT },
|
|
79837
79852
|
message: `This model exceeds the free-tier limit of ${FREE_MEMBER_LIMIT} members.`
|
|
@@ -84500,7 +84515,7 @@ function solveInBrowserPayload(a) {
|
|
|
84500
84515
|
}
|
|
84501
84516
|
|
|
84502
84517
|
// src/lib/mcp-core/server.ts
|
|
84503
|
-
var SERVER_VERSION = "2.
|
|
84518
|
+
var SERVER_VERSION = "2.84.0";
|
|
84504
84519
|
function tooLarge(model) {
|
|
84505
84520
|
return typeof model !== "string" || model.length > MODEL_JSON_MAX_BYTES;
|
|
84506
84521
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ferscloud/fers-mcp",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.84.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.84"
|
|
34
34
|
}
|
|
35
35
|
}
|