@renanlido/tia-openness-mcp 1.10.1 → 1.10.2

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/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -37128,11 +37128,11 @@ function registerAuthoringTools(server) {
37128
37128
  "tia_fb_create",
37129
37129
  {
37130
37130
  title: "TIA \u2014 create FB",
37131
- description: "Creates a Function Block. Gd6: for LOGIC use a textual language (SCL) via tia_source_put, or graphical (LAD/FBD) via tia_import_xml. Refused with 409 name_collision (details.collidesWith = the colliding tag, constant or block) when the name matches, ignoring case, any tag, constant or block of the PLC. Maps to POST /plcs/{plc}/fbs. M-off.",
37131
+ description: "Creates an EMPTY Function Block (empty interface, no logic) by importing a minimal SimaticML skeleton. Supported languages: SCL (the default when `language` is omitted), LAD, FBD, STL or ProDiag, in any case; any other value is refused with 400 bad_request listing them, and a CPU family can still refuse one it does not support. Gd6: for LOGIC use a textual language (SCL) via tia_source_put, or graphical (LAD/FBD) via tia_import_xml. Refused with 409 name_collision (details.collidesWith = the colliding tag, constant or block) when the name matches, ignoring case, any tag, constant or block of the PLC. Maps to POST /plcs/{plc}/fbs. M-off.",
37132
37132
  inputSchema: {
37133
37133
  plc: external_exports.string().describe("PLC name"),
37134
37134
  name: external_exports.string().describe("FB name"),
37135
- language: external_exports.string().optional().describe("language (e.g., SCL, LAD, FBD; project default)"),
37135
+ language: external_exports.string().optional().describe("SCL (default when omitted), LAD, FBD, STL or ProDiag; any case"),
37136
37136
  autoNumber: external_exports.boolean().optional().describe("accepted for compatibility and ignored: without 'number' the serve picks the number itself"),
37137
37137
  number: external_exports.number().int().optional().describe("block number \u22651, used as given (a number another FB holds is refused by TIA); omitted or 0 \u21D2 the serve picks the lowest free number from 1 in the FB family (409 block_number_exhausted when none is free)"),
37138
37138
  group: external_exports.string().optional().describe("target block group"),
@@ -39703,7 +39703,7 @@ function buildServer(mode, version2, budget = resolveBudget()) {
39703
39703
  }
39704
39704
 
39705
39705
  // src/index.ts
39706
- var VERSION = "1.10.1";
39706
+ var VERSION = "1.10.2";
39707
39707
  async function main() {
39708
39708
  if (process.argv.slice(2).some((a) => a === "--version" || a === "-v")) {
39709
39709
  console.log(VERSION);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@renanlido/tia-openness-mcp",
3
- "version": "1.10.1",
3
+ "version": "1.10.2",
4
4
  "description": "MCP server (stdio) — thin HTTP client over the TIA Openness `serve` API. Zero Openness/net48 references.",
5
5
  "license": "MIT",
6
6
  "type": "module",