@renanlido/tia-openness-mcp 1.13.2 → 1.14.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/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39390,7 +39390,7 @@ function registerLifecycleTools(server) {
|
|
|
39390
39390
|
description: "Opens/attaches a TIA project (.ap*) on the serve host. Class M-off. Idempotent for the ALREADY-OPEN project (response `alreadyOpen:true`, no-op) and reuses a running TIA instance for a DIFFERENT project (`reusedPortal:true`). In an instance serve started, the open project and any foreign project are closed to make room (or the instance is restarted): if one has unsaved changes the call is REFUSED with 409 `unsaved_changes` and nothing is changed, unless it carries `saveUnsavedChanges:true` (saves each modified project first; recommended) or `discardUnsavedChanges:true` (closes WITHOUT saving: DATA LOSS, only on an explicit human decision, never to get past the refusal; the client asks the human to confirm first). `closedForeign` lists the foreign projects that were closed, `savedProjects`/`discardedProjects` the ones saved or discarded; an instance you had open yourself is never closed (serve only detaches). The response carries `boundProjectPath` (the project this session is bound to) and `modified` (unsaved changes); a later operation answers 409 `binding_conflict` if the project open in the bound TIA changed meanwhile (call tia_connect again to rebind). `withUserInterface` only applies when a NEW instance is started (ignored when reusing one \u2014 see tia_show_ui to change an existing instance's visibility). WARNING: the 1st connection per `serve` process can BLOCK on the trust GATE (G1) \u2014 if the dialog hasn't been confirmed, this tool does NOT retry-storm: it returns a `requires_human_action` envelope (gate trust_dialog, with resumeToken) asking a human to confirm the dialog on the host. Proactive flow: tia_start \u2192 tia_show_ui \u2192 (human confirms) \u2192 tia_connect. UMAC (umacUser/umacPassword) is GATE G6: provide it ONLY if a human gave the credentials \u2014 NEVER make them up. Maps to POST /connect. " + LONG_OPERATION_NOTE,
|
|
39391
39391
|
inputSchema: {
|
|
39392
39392
|
projectPath: external_exports.string().describe("path to the project file (.ap*) on the serve host (required)"),
|
|
39393
|
-
tiaVersion: external_exports.string().optional().describe("Optional TIA host
|
|
39393
|
+
tiaVersion: external_exports.string().optional().describe("Optional TIA host major or release, such as 'V20', '21.0' or '21.1'. Without it the project target applies (.ap20, .ap21, .ap21_1); without a project target, serve prefers the lowest installed V21 release. A project opens only in its own release; a mismatch can return 409 tia_version_conflict rather than converting it. Legacy hosts require the matching adapter layer in the installation; otherwise serve returns 409 feature_unsupported_in_version. Restart serve to change its host/API tuple."),
|
|
39394
39394
|
withUserInterface: external_exports.boolean().optional().describe("open with the TIA UI visible (default true)"),
|
|
39395
39395
|
umacUser: external_exports.string().optional().describe("UMAC user (GATE G6; only if a human provided it \u2014 never make it up)"),
|
|
39396
39396
|
umacPassword: external_exports.string().optional().describe("UMAC password (GATE G6; only if a human provided it \u2014 never make it up)"),
|
|
@@ -46464,7 +46464,7 @@ function buildServer(mode, version2, budget = resolveBudget()) {
|
|
|
46464
46464
|
}
|
|
46465
46465
|
|
|
46466
46466
|
// src/index.ts
|
|
46467
|
-
var VERSION = "1.
|
|
46467
|
+
var VERSION = "1.14.0";
|
|
46468
46468
|
async function main() {
|
|
46469
46469
|
if (process.argv.slice(2).some((a) => a === "--version" || a === "-v")) {
|
|
46470
46470
|
console.log(VERSION);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@renanlido/tia-openness-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"description": "MCP server (stdio) — thin HTTP client over the TIA Openness `serve` API. Zero Openness/net48 references.",
|
|
5
5
|
"mcpName": "io.github.renanlido/tia-openness",
|
|
6
6
|
"keywords": [
|