r005: Fix analyze_logs scan-all + Release

- Version-Bump 2026.08.18.r004 → r005 (alle Dateien)
- Binary + .txz neu gebaut (SHA256 aktualisiert)
- CHANGES-Eintrag r005
This commit is contained in:
Mikei386
2026-08-18 13:46:13 +02:00
parent c4c9752521
commit c29fc00886
8 changed files with 15 additions and 12 deletions
+3 -3
View File
@@ -52,10 +52,10 @@ Oder manuell:
```bash ```bash
# .txz von Gitea laden # .txz von Gitea laden
curl -O http://192.168.1.2:4000/michael/MUA-Mikes-Unraid-Agent/raw/branch/main/dist/mua-2026.08.18.r004-x86_64-1.txz curl -O http://192.168.1.2:4000/michael/MUA-Mikes-Unraid-Agent/raw/branch/main/dist/mua-2026.08.18.r005-x86_64-1.txz
# Installieren # Installieren
./mua-2026.08.18.r004-x86_64-1.txz ./mua-2026.08.18.r005-x86_64-1.txz
``` ```
### 2. Service starten ### 2. Service starten
@@ -70,7 +70,7 @@ Der Service startet automatisch bei jedem Boot (SysVinit).
```bash ```bash
curl http://192.168.1.2:3002/health curl http://192.168.1.2:3002/health
# → {"status":"ok","version":"2026.08.18.r004","auth":"required"} # → {"status":"ok","version":"2026.08.18.r005","auth":"required"}
``` ```
--- ---
Binary file not shown.
+1 -1
View File
@@ -10,7 +10,7 @@
error_reporting(E_ALL); error_reporting(E_ALL);
ini_set('display_errors', 0); // Fehler werden als JSON-RPC-Error zurückgegeben, nicht als HTML ini_set('display_errors', 0); // Fehler werden als JSON-RPC-Error zurückgegeben, nicht als HTML
const MUA_VERSION = '2026.08.18.r004'; const MUA_VERSION = '2026.08.18.r005';
const MUA_SERVER_NAME = 'mua'; const MUA_SERVER_NAME = 'mua';
/** /**
+1 -1
View File
@@ -21,7 +21,7 @@ const MUA_PORT = 3002;
const MUA_BIND = '0.0.0.0'; const MUA_BIND = '0.0.0.0';
const MUA_SESSION_TTL = 3600; // Sekunden const MUA_SESSION_TTL = 3600; // Sekunden
const MUA_SERVER_NAME = 'mua'; const MUA_SERVER_NAME = 'mua';
const MUA_VERSION = '2026.08.18.r004'; const MUA_VERSION = '2026.08.18.r005';
// ── Session-Management (in-memory) ─────────────────────────────────────── // ── Session-Management (in-memory) ───────────────────────────────────────
$sessions = []; // session_id => ['created' => time, 'initialized' => bool] $sessions = []; // session_id => ['created' => time, 'initialized' => bool]
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "mua", "name": "mua",
"version": "2026.08.18.r004", "version": "2026.08.18.r005",
"description": "Mikes Unraid Agent - MCP over HTTP (Streamable HTTP) for Unraid", "description": "Mikes Unraid Agent - MCP over HTTP (Streamable HTTP) for Unraid",
"type": "module", "type": "module",
"main": "src/index.ts", "main": "src/index.ts",
+7 -4
View File
@@ -2,13 +2,13 @@
<!DOCTYPE PLUGIN [ <!DOCTYPE PLUGIN [
<!ENTITY name "mua"> <!ENTITY name "mua">
<!ENTITY author "Michael"> <!ENTITY author "Michael">
<!ENTITY version "2026.08.18.r004"> <!ENTITY version "2026.08.18.r005">
<!ENTITY launch "Settings/MUA"> <!ENTITY launch "Settings/MUA">
<!ENTITY pluginURL "http://192.168.1.2:4000/michael/MUA-Mikes-Unraid-Agent/raw/branch/main/plugin/mua.plg"> <!ENTITY pluginURL "http://192.168.1.2:4000/michael/MUA-Mikes-Unraid-Agent/raw/branch/main/plugin/mua.plg">
<!ENTITY pluginLOC "/boot/config/plugins/&name;"> <!ENTITY pluginLOC "/boot/config/plugins/&name;">
<!ENTITY emhttpLOC "/usr/local/emhttp/plugins/&name;"> <!ENTITY emhttpLOC "/usr/local/emhttp/plugins/&name;">
<!ENTITY txzURL "http://192.168.1.2:4000/michael/MUA-Mikes-Unraid-Agent/raw/branch/main/dist/mua-2026.08.18.r004-x86_64-1.txz"> <!ENTITY txzURL "http://192.168.1.2:4000/michael/MUA-Mikes-Unraid-Agent/raw/branch/main/dist/mua-2026.08.18.r005-x86_64-1.txz">
<!ENTITY txzSHA256 "0c56cc645de4f312f7d6ded3872734b1ba8607ba993c6ec1519f3768435eca2f"> <!ENTITY txzSHA256 "013ddd2c92c823c31ccc0bd4aa9c24cb793003d5e1e1df74241468cbc0c7b9d9">
]> ]>
<PLUGIN name="&name;" <PLUGIN name="&name;"
@@ -23,6 +23,9 @@
> >
<CHANGES> <CHANGES>
### 2026.08.18.r005
- Fix: unraid_docker_analyze_logs scan-all-Modus (ohne container-Parameter) funktionierte nicht — docker logs ohne Container-Argument lief ins Leere. Jetzt Loop über alle laufenden Container.
- Output: sample_matches enthält jetzt den Container-Namen + neues Feld containers_with_matches.
### 2026.08.18.r004 ### 2026.08.18.r004
- Auto-Restart: Binary erkennt Update auf Platte (mtime/size) und startet den Service automatisch neu. - Auto-Restart: Binary erkennt Update auf Platte (mtime/size) und startet den Service automatisch neu.
- WebGUI: „MUA neu starten"-Button (manueller Restart über Config-Server). - WebGUI: „MUA neu starten"-Button (manueller Restart über Config-Server).
@@ -75,7 +78,7 @@ Das .txz enthält:
install/doinst.sh (läuft nach Installation) install/doinst.sh (läuft nach Installation)
=========================================== ===========================================
--> -->
<FILE Name="mua-2026.08.18.r004-x86_64-1.txz" Run="upgradepkg --install-new" Mode="755" Min="7.0.0"> <FILE Name="mua-2026.08.18.r005-x86_64-1.txz" Run="upgradepkg --install-new" Mode="755" Min="7.0.0">
<URL>&txzURL;</URL> <URL>&txzURL;</URL>
<SHA256>&txzSHA256;</SHA256> <SHA256>&txzSHA256;</SHA256>
</FILE> </FILE>
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "mua", "name": "mua",
"author": "Michael", "author": "Michael",
"version": "2026.08.18.r004", "version": "2026.08.18.r005",
"minver": "7.0.0", "minver": "7.0.0",
"pluginDirectory": "/usr/local/emhttp/plugins/mua", "pluginDirectory": "/usr/local/emhttp/plugins/mua",
"configDirectory": "/boot/config/plugins/mua", "configDirectory": "/boot/config/plugins/mua",
+1 -1
View File
@@ -13,7 +13,7 @@ import { createConnection, type Socket } from "net";
// ── Konstanten ────────────────────────────────────────────────────────── // ── Konstanten ──────────────────────────────────────────────────────────
export const MUA_SERVER_NAME = "mua"; export const MUA_SERVER_NAME = "mua";
export const MUA_VERSION = "2026.08.18.r004"; export const MUA_VERSION = "2026.08.18.r005";
export const MUA_PROTOCOL_VERSION = "2025-03-26"; export const MUA_PROTOCOL_VERSION = "2025-03-26";
export const PHP_HELPER = "/usr/local/bin/unraid-docker-mcp-helper.php"; export const PHP_HELPER = "/usr/local/bin/unraid-docker-mcp-helper.php";