From 0962f93118b16da42929c05383f1ff2b3c764d76 Mon Sep 17 00:00:00 2001 From: Karstein Phobic Nyvold Kvistad Date: Wed, 29 Apr 2026 10:10:40 +0200 Subject: [PATCH] release: v0.8.0 -- phobiCS-tui v0.3 (inline live values) Bumps codesys-mcp-sp21-plus from 0.7.1 to 0.8.0 and phobiCS-tui's --version output from v0.2.0 to v0.3.0. Headline changes since v0.7.1: TUI: - Viewer overlays each declared variable's live runtime value inline next to its declaration when the runtime is online. - Viewer joins multi-line (* ... *) comments across line boundaries (lines fully inside a block no longer get false-highlighted keywords). MCP server: - new --live-values CLI flag starts a 500 ms pump that reads runtime values for the variables of the user's current POU selection and writes them to tui-live-values.json next to the existing tui-state.json. - --approve-edits now also gates 4 runtime tools: write_variable, download_to_device, start_stop_application, restart_runtime_ssh (in addition to the 9 modifying project tools landed in v0.7.0). No tag created here; npm publish has to be run from your terminal because the npm 2FA passkey can't be driven through the bash tool. --- package-lock.json | 4 ++-- package.json | 2 +- src/tui/index.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9f96b52..1cc22f5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "codesys-mcp-sp21-plus", - "version": "0.7.1", + "version": "0.8.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "codesys-mcp-sp21-plus", - "version": "0.7.1", + "version": "0.8.0", "license": "MIT", "dependencies": { "@modelcontextprotocol/sdk": "^1.26.0", diff --git a/package.json b/package.json index ba2480f..05e569f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codesys-mcp-sp21-plus", - "version": "0.7.1", + "version": "0.8.0", "description": "Codesys-MCP-SP21+ -- fork of luke-harriman/Codesys-MCP carrying CODESYS V3.5 SP22 Patch 1 fixes (and forward-compat with later SPs): script-engine API drift, online/runtime tool auto-login, dual-SHA release classifier, set_pou_code omitted-decl wipe fix, add_library managed-overload, etc. MCP server for CODESYS with persistent UI instance and file-based IPC.", "main": "dist/server.js", "bin": { diff --git a/src/tui/index.tsx b/src/tui/index.tsx index 7944523..8b14489 100644 --- a/src/tui/index.tsx +++ b/src/tui/index.tsx @@ -14,7 +14,7 @@ const argv = process.argv.slice(2); async function main(): Promise { if (argv[0] === '--version' || argv[0] === '-v') { - process.stdout.write('phobiCS-tui v0.2.0\n'); + process.stdout.write('phobiCS-tui v0.3.0\n'); return 0; } if (argv[0] === 'approve') return runApprove(argv[1], argv[2]);