From 7e427e93c5ef0066f213ac3af1a95edc84985f39 Mon Sep 17 00:00:00 2001 From: Karstein Phobic Nyvold Kvistad Date: Tue, 28 Apr 2026 23:37:19 +0200 Subject: [PATCH] release: v0.7.0 -- phobiCS-tui v0.2 (TUI keybinds + 9-tool approve-gate) Bumps codesys-mcp-sp21-plus to 0.7.0 (main was at 0.6.4 from intermediate releases) and phobiCS-tui's --version output to v0.2.0. Headline changes since v0.6.4: TUI: - browser keybinds: / (filter), o (open in editor), d (cross- device diff), r (rescan), ? (help overlay) - approve mode: v toggles unified <-> side-by-side diff - viewer: ST syntax highlighting (keywords/types/comments/strings) - statusbar: stale-mirror indicator + small-terminal resize warn MCP server: - --approve-edits now gates ALL 9 modifying tools, not just set_pou_code: create_pou, create_property, create_method, create_dut, create_gvl, create_folder, delete_object, rename_object, add_library 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 | 7 ++++--- package.json | 2 +- src/tui/index.tsx | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index c5de1d0..014ff3f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "codesys-mcp-sp21-plus", - "version": "0.5.0", + "version": "0.7.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "codesys-mcp-sp21-plus", - "version": "0.5.0", + "version": "0.7.0", "license": "MIT", "dependencies": { "@modelcontextprotocol/sdk": "^1.26.0", @@ -18,7 +18,8 @@ "zod": "^3.24.3" }, "bin": { - "codesys-mcp-sp21-plus": "dist/bin.js" + "codesys-mcp-sp21-plus": "dist/bin.js", + "phobiCS-tui": "dist/tui/index.js" }, "devDependencies": { "@types/diff": "^5.2.3", diff --git a/package.json b/package.json index 17c0df6..4ddae06 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codesys-mcp-sp21-plus", - "version": "0.6.4", + "version": "0.7.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 28502fd..7944523 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.1.0\n'); + process.stdout.write('phobiCS-tui v0.2.0\n'); return 0; } if (argv[0] === 'approve') return runApprove(argv[1], argv[2]);