@ferscloud/fers-mcp 2.107.0 → 2.108.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.
Files changed (2) hide show
  1. package/dist/fers-mcp.cjs +16 -13
  2. 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.107"
21943
+ version: "0.2.108"
21944
21944
  },
21945
21945
  paths: {},
21946
21946
  components: {
@@ -27917,6 +27917,15 @@ class PdeltaMode(Enum):
27917
27917
  type: "boolean",
27918
27918
  description: "Whether the solve converged. Linear solves report `true`. A second-order\nsolve whose displacement stopped changing is accepted at any residual,\nbut reports `false` once that residual is more than a hundred times the\ntolerance; the warning `second_order_residual_floor` then says how far\nfrom equilibrium it stopped and why. It also reports `false` when the\ntension/compression active set froze (warning `active_set_frozen`)."
27919
27919
  },
27920
+ curve_secant_iterations: {
27921
+ type: [
27922
+ "integer",
27923
+ "null"
27924
+ ],
27925
+ format: "int32",
27926
+ description: "Present on a first-order (`\"Linear\"`) result of a model with stiffness\ncurves: on supports, or on member hinges (stiffness curves and\nmoment\u2013rotation diagrams). This set was solved at its own load, not the\nfactored sum of its load cases: each curve was iterated to its secant\nunder this set's load, so the results of a combination are not the\nsum of its load cases' results. The number is the secant passes that\ntook, counting every load step and a one-step attempt that was given\nup. Absent for every other result.",
27927
+ minimum: 0
27928
+ },
27920
27929
  iterations: {
27921
27930
  type: [
27922
27931
  "integer",
@@ -84617,6 +84626,7 @@ function idSelector(raw, label, everything) {
84617
84626
  return { ok: false, error: `${label} is empty \u2014 nothing to change.` };
84618
84627
  return { ok: true, ids: [...new Set(ids)] };
84619
84628
  }
84629
+ var CURVE_UNDER_LINEAR_NOTE = "analysis.options.order is LINEAR: each load case and each combination is solved at its own load with the curve iterated to its secant, so the results do not superpose (a combination is not the sum of its load cases; results.<set>.solver_diagnostics.curve_secant_iterations marks them). Set order NONLINEAR for second-order effects as well.";
84620
84630
  function parseCurve(raw, label, drivers) {
84621
84631
  if (!raw || typeof raw !== "object" || Array.isArray(raw)) {
84622
84632
  return {
@@ -84761,7 +84771,7 @@ THERE IS NO "FREE BY OMISSION". Once a node references a support, any DOF you le
84761
84771
 
84762
84772
  ONE-WAY SUPPORTS have a prerequisite this tool checks for you: analysis.options.rigid_strategy must be RigidMember (LinearMpc is a hard validation error). Tension/Compression members are fine alongside them from engine 0.2.65 -- before that the combination was refused at validation, so if you are reading advice written against an older engine, that restriction is gone. There is also a SILENT prerequisite \u2014 the release tolerance is 0.5*axial_slack in force units, so a coarse axial_slack leaves the DOF engaged while still reporting its reaction as 0, and the printed reactions stop summing to the applied load. This tool lowers axial_slack to 1e-3 when it writes a one-way condition (set keep_axial_slack to skip that). Beware that a support which lifts off can leave the structure unrestrained, and that a one-way support can break an eigen solve if the model also has a modal or buckling block.
84763
84773
 
84764
- Reactions use ONE SIGN CONVENTION for every support type from engine 0.2.60: each row is the force the support applies to the structure, so reactions can be summed against the applied load without checking which kind of support produced each one. (Up to 0.2.59 a Spring DOF reported the spring force k*u, the negative of what a Fixed DOF reported for the same physical situation. If you are reading results solved on an older engine, that flip is still in them.) A stiffness curve (stiffness_curves) makes the spring load-dependent, forces the DOF to Spring and requires a NONLINEAR analysis order \u2014 and note its driver is the EXTERNAL nodal load at that node, not the reaction, so a base-plate curve with no direct nodal load degenerates to the first point's stiffness.`;
84774
+ Reactions use ONE SIGN CONVENTION for every support type from engine 0.2.60: each row is the force the support applies to the structure, so reactions can be summed against the applied load without checking which kind of support produced each one. (Up to 0.2.59 a Spring DOF reported the spring force k*u, the negative of what a Fixed DOF reported for the same physical situation. If you are reading results solved on an older engine, that flip is still in them.) A stiffness curve (stiffness_curves) makes the spring load-dependent and forces the DOF to Spring. Under a LINEAR order (engine 0.2.108 and later) each load case and combination is solved at its own load with the curve iterated to its secant, so results do not superpose: a combination is not the sum of its load cases. NONLINEAR adds second-order effects on top. Note its driver is the EXTERNAL nodal load at that node, not the reaction, so a base-plate curve with no direct nodal load degenerates to the first point's stiffness.`;
84765
84775
  function setSupport(args) {
84766
84776
  const parsed = parseModel(args.model);
84767
84777
  if (!parsed.ok) return parsed;
@@ -84944,12 +84954,8 @@ function setSupport(args) {
84944
84954
  );
84945
84955
  }
84946
84956
  if (curveArg.value != null) {
84947
- const order = String(options.order ?? "").toLowerCase();
84948
- if (order !== "nonlinear") {
84949
- options.order = "NONLINEAR";
84950
- notes.push(
84951
- 'analysis.options.order set to "NONLINEAR": a StiffnessCurve support condition is a hard error under a linear order ("StiffnessCurve support conditions require NonLinear (second-order) analysis order").'
84952
- );
84957
+ if (String(options.order ?? "").toLowerCase() !== "nonlinear") {
84958
+ notes.push(CURVE_UNDER_LINEAR_NOTE);
84953
84959
  }
84954
84960
  notes.push(
84955
84961
  "A support stiffness curve is driven by the EXTERNAL nodal load at that node, not by the reaction. With no nodal load applied directly at the supported node the curve degenerates to points[0] stiffness for every load level."
@@ -85369,10 +85375,7 @@ function setMember(args) {
85369
85375
  (r) => r && Object.keys(CURVE_FIELDS).some((d) => r.hinge[CURVE_FIELDS[d]] != null)
85370
85376
  );
85371
85377
  if (hasHingeCurve && String(options.order ?? "").toLowerCase() !== "nonlinear") {
85372
- options.order = "NONLINEAR";
85373
- notes.push(
85374
- 'analysis.options.order set to "NONLINEAR": a StiffnessCurve member hinge is a hard error under a linear order ("StiffnessCurve member hinges require NonLinear (second-order) analysis order").'
85375
- );
85378
+ notes.push(CURVE_UNDER_LINEAR_NOTE);
85376
85379
  }
85377
85380
  let loweredFrom;
85378
85381
  const hasAxialType = targets.some(
@@ -87146,7 +87149,7 @@ function shareSlugOf(urlOrSlug) {
87146
87149
 
87147
87150
  // src/lib/mcp-core/server.ts
87148
87151
  var isDraftRef = (x) => typeof x === "string" && x.startsWith("draft_");
87149
- var SERVER_VERSION = "2.107.0";
87152
+ var SERVER_VERSION = "2.108.0";
87150
87153
  function tooLarge(model) {
87151
87154
  return typeof model !== "string" || model.length > MODEL_JSON_MAX_BYTES;
87152
87155
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ferscloud/fers-mcp",
3
- "version": "2.107.0",
3
+ "version": "2.108.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.107"
33
+ "@ferscloud/fers-calculation": "0.2.108"
34
34
  }
35
35
  }