diff --git a/README.md b/README.md index b4623ef..c0b72e1 100644 --- a/README.md +++ b/README.md @@ -99,10 +99,10 @@ Oder manuell: ```bash # .txz von Gitea laden -curl -O https://git.casaderoll.de/michael/MUA-Mikes-Unraid-Agent/raw/branch/main/dist/mua-2026.10.12.r031-x86_64-1.txz +curl -O https://git.casaderoll.de/michael/MUA-Mikes-Unraid-Agent/raw/branch/main/dist/mua-2026.11.01.r033-x86_64-1.txz # Installieren -upgradepkg --install-new mua-2026.10.12.r031-x86_64-1.txz +upgradepkg --install-new mua-2026.11.01.r033-x86_64-1.txz ``` ### 2. Service starten @@ -117,7 +117,7 @@ Der Service startet automatisch bei jedem Boot (SysVinit). ```bash curl http://UNRAID-IP:3002/health -# → {"status":"ok","version":"2026.08.24.r022","auth":"required"} +# → {"status":"ok","version":"2026.11.01.r033","auth":"required"} ``` --- diff --git a/mcp/helpers.php b/mcp/helpers.php index a17d5f2..1552d1c 100644 --- a/mcp/helpers.php +++ b/mcp/helpers.php @@ -10,7 +10,7 @@ error_reporting(E_ALL); ini_set('display_errors', 0); // Fehler werden als JSON-RPC-Error zurückgegeben, nicht als HTML -const MUA_VERSION = '2026.10.24.r032'; +const MUA_VERSION = '2026.11.01.r033'; const MUA_SERVER_NAME = 'mua'; /** diff --git a/mcp/server.php b/mcp/server.php index 2ca27eb..6111aa4 100644 --- a/mcp/server.php +++ b/mcp/server.php @@ -21,7 +21,7 @@ const MUA_PORT = 3002; const MUA_BIND = '0.0.0.0'; const MUA_SESSION_TTL = 3600; // Sekunden const MUA_SERVER_NAME = 'mua'; -const MUA_VERSION = '2026.10.24.r032'; +const MUA_VERSION = '2026.11.01.r033'; // ── Session-Management (in-memory) ─────────────────────────────────────── $sessions = []; // session_id => ['created' => time, 'initialized' => bool] diff --git a/package.json b/package.json index 423a566..be1e03b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mua", - "version": "2026.10.24.r032", + "version": "2026.11.01.r033", "description": "Mikes Unraid Agent - MCP over HTTP (Streamable HTTP) for Unraid", "type": "module", "main": "src/index.ts", diff --git a/plugin/mua.plg b/plugin/mua.plg index aa651ea..dc906be 100644 --- a/plugin/mua.plg +++ b/plugin/mua.plg @@ -2,13 +2,13 @@ - + - - + + ]> +### 2026.11.01.r033 +- Begrenzt stdout/stderr bereits beim Einlesen statt erst nach vollständiger Speicherung und reduziert dadurch den RAM-Bedarf großer Befehlsausgaben. +- Shell behält begrenzte Ausgabe-Enden samt Bytezählern und Kürzungsstatus; Befehle laufen trotz großer Ausgabe regulär zu Ende. +- Interne strukturierte Ausgaben melden OUTPUT_LIMIT statt beschädigter Teilantworten; Timeouts geben offene Pipe-Leser frei. +- Erzwingt das HTTP-Body-Limit beim Empfang, auch für Chunk-Anfragen ohne Content-Length; ergänzt Regressionstests und einen synthetischen Speichertest. + ### 2026.10.24.r032 - Korrigiert Share-KiB/Bytes, trennt Dateisystembelegung vom Share-Scan und meldet unbekannte Größen als null. - Neue native Vorschau-/Anwenden-Werkzeuge für private SMB-Shares und sichere eigene Docker-XMLs; an Zustand gebundene Einmaltickets. @@ -192,7 +198,7 @@ Das .txz enthält: install/doinst.sh (läuft nach Installation) =========================================== --> - + &txzURL; &txzSHA256; diff --git a/plugin/plugin.json b/plugin/plugin.json index 3170a29..eb591bc 100644 --- a/plugin/plugin.json +++ b/plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "mua", "author": "Michael", - "version": "2026.10.24.r032", + "version": "2026.11.01.r033", "minver": "7.0.0", "pluginDirectory": "/usr/local/emhttp/plugins/mua", "configDirectory": "/boot/config/plugins/mua", diff --git a/src/admin.test.ts b/src/admin.test.ts index d3e2626..9abd2b0 100644 --- a/src/admin.test.ts +++ b/src/admin.test.ts @@ -62,7 +62,7 @@ test("actual MCP transport advertises new tools and marks failed commands as err return await r.json() as any; }; const init = await rpc("initialize", { protocolVersion: "2025-03-26", capabilities: {}, clientInfo: { name: "isolated-test", version: "1" } }); - expect(init.result.serverInfo.version).toBe("2026.10.24.r032"); + expect(init.result.serverInfo.version).toBe("2026.11.01.r033"); const list = await rpc("tools/list", {}); expect(list.result.tools.some((t: { name: string }) => t.name === "unraid_share_apply")).toBe(true); const fail = await rpc("tools/call", { name: "unraid_system_shell", arguments: { command: "exit 17" } }); diff --git a/src/helpers.ts b/src/helpers.ts index cba23c3..745aafe 100644 --- a/src/helpers.ts +++ b/src/helpers.ts @@ -17,7 +17,7 @@ import { readProcessOutput } from "./process-output"; // ── Konstanten ────────────────────────────────────────────────────────── export const MUA_SERVER_NAME = "mua"; -export const MUA_VERSION = "2026.10.24.r032"; +export const MUA_VERSION = "2026.11.01.r033"; export const MUA_PROTOCOL_VERSION = "2025-03-26"; export const PHP_HELPER = "/usr/local/bin/unraid-docker-mcp-helper.php"; export const STATUS_HELPER = "/usr/local/bin/unraid-mcp-status-helper.php";