0
0
Fork 0

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.
This commit is contained in:
Karstein Phobic Nyvold Kvistad 2026-04-28 23:37:19 +02:00
parent 6d5d9b0385
commit 7e427e93c5
3 changed files with 6 additions and 5 deletions

7
package-lock.json generated
View file

@ -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",

View file

@ -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": {

View file

@ -14,7 +14,7 @@ const argv = process.argv.slice(2);
async function main(): Promise<number> {
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]);