- curl_close() entfernt (wirkungslos seit PHP 8.0, ab 8.5 Deprecation-Meldung)
- readProcessOutput akzeptiert den allgemeinen Bun-Prozesstyp (tsc wieder fehlerfrei)
- Test-Fixtures nutzen den aufgelösten Temp-Pfad (/var -> /private/var auf macOS)
- Release r040 gebaut, r039 aus dist/ entfernt (bleibt in der Historie)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
WebGUI
- New "Verbindung" section with both endpoints (/mcp/full, /mcp/lite),
copy buttons and a selectable default profile for /mcp.
- Notice for new, not yet enabled tools with a button to enable the new
read-only tools; "Nur Lesen" and "Betrieb + Diagnose" presets extended.
New tools (verified against the Unraid webgui source where possible)
- VMs: list, inspect (disks, network, PCI/USB passthrough, snapshots,
no passwords), start/shutdown/reboot/suspend/resume with state checks,
autostart, force stop (critical).
- Cache/pool analysis (which shares fill a pool, cache setting, files
the mover will never move), mover state/schedule/log, start mover.
- Parity status with schedule and history; start (non-correcting by
default), pause, resume, cancel.
- docker.img fill level and breakdown; send and archive Unraid
notifications.
- unraid_overview also reports a full docker.img, errors of the last
parity check and crashed VMs.
Fixes
- Unread notifications in /tmp/notifications/unread were never read;
the list and the overview now include them.
Lite profile: new unraid_vm group; storage, docker and system groups
extended with the new actions.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lite profile for small models
- /mcp/lite (or ?profile=lite, default via MUA_PROFILE) exposes the same
functions as 9 grouped tools with an `action` field instead of 49
single tools. Schema size: read-only preset ~1.6k vs 2.9k tokens,
full access ~3.3k vs 6.9k tokens.
- Schemas are generated per request from the enabled tools only;
permission checks always use the underlying full-profile tool.
- Tolerates common mix-ups (name/container, cmd/command, action
spelling), drops and reports unknown parameters, names missing
required parameters. Names of both profiles work in both profiles.
unraid_overview
- One call: array/parity, disks (errors, temperature, fill level),
RAM/CPU/temperatures, crashed or unhealthy containers, updates and
important notifications, sorted by severity, each with a ready-made
`next` call in the client's profile. Reads only enabled sources and
reports "unknown" (never "ok") when nothing could be read.
Container names
- Read actions resolve unique partial names (plex -> binhex-plex);
write actions require the exact name and answer with a suggestion.
- Batch update accepts names separated by | or comma, or an array.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Read-only shell
- Accept a full command line (`command`) and parse it without /bin/sh:
quotes, escapes, ~, pipes between allowed programs, ; && ||, globs in
absolute paths; 2>&1 and 2>/dev/null are tolerated. Pipeline stages run
with strictly single-quoted, pre-validated literals only.
- Per-program option policies that understand combined short flags,
--opt=value and GNU abbreviations. Closes bypasses: ip abbreviations
(ip a a / ip r d / ip link s), dmesg -c/-Tc/--console-level=, ss -tK/-D,
date operands, sort -o, uniq output file, file -C.
- Block credential files (shadow, SSH private keys, mua.conf, admin token,
/proc/*/environ, docker config.v2.json); redact password hashes, private
PEM keys and WireGuard keys in output. MUA API key and admin token are
never emitted by any tool.
- More diagnostic programs (echo, printf, sort, uniq, cut, tr, findmnt,
sensors, zpool/zfs read verbs, mdcmd status, ...). grep without matches
is reported as no_match instead of an error.
Process handling
- Spawn every child in its own process group; timeouts kill the whole
tree. The MCP hard timeout kills exactly the processes of that call.
- Async jobs: command in its own file (exit no longer loses the exit
code), new unraid_system_job_cancel, finished jobs pruned after 7 days.
Other
- Cache toolbox discovery briefly; validate and bound session IDs; /health
shows version/port only with a valid token; constant-time admin token
check; auto-granted tools are logged and shown in the WebGUI.
- Remove the legacy PHP server (mcp/), drop old packages from dist/, pin
@types/bun.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Offer explicit path-free Unraid WebGUI certificate reuse with validated generated-nginx/runtime-state discovery, named SNI choice, expert-path compatibility and no certificate generation or config execution. Preserve one-read PEM loading, trust/SAN verification, explicit restart and existing auth/tools; reject uncertain/stale configuration without fallback. Include publisher-derived fixtures for five Unraid versions, manual rollback-compatible writes and GUI-scoped discovery. Verified 109 source tests, 35 extracted-package transport tests, 52 PHP checks, 8 release gates and fresh-context independent review follow-up without blockers. No production installation or service/network/trust changes.
Publish optional native HTTPS and explicit Unraid WebGUI PEM reuse from 1677894. Synchronize all release versions and TXZ/manifest/checksum, use transport-aware authenticated local post-install readiness, preserve r033, and document operator-only installation/trust/renewal. Verified 68 source tests, 31 extracted-r034 transport tests, 52 PHP checks and all 7 release/archive/hook gates; final independent fresh-context AI review passed without blocking security/logic findings. No production installation or configuration changes.
Read identical cert/key paths once without persisting private-key copies. Cover self-signed CA:FALSE bundles in both block orders with verified TLS and authenticated MCP calls, public-only trust export, invalid bundles and explicit renewal/restart. Document explicit active-certificate selection and the existing Hermes per-server ssl_verify trust path from source/docs inspection only. Verified 68 source tests, 31 extracted-binary transport tests, 52 PHP checks and build/package gates. No main/release/production changes.
Keep existing HTTP/auth/tool settings compatible; isolate TLS persistence, validate PEM/key/validity before startup and saves, and require explicit restart. Integrate local status, WebGUI TLS controls and renewal preflight without insecure trust bypasses. Add synthetic HTTP/TLS/MCP, WebGUI and service regression tests plus operator documentation. Existing r033 binaries and automatic update manifest remain untouched; packaging was exercised as a local development artifact.
- Auto-Restart: Binary erkennt Update auf Platte (mtime/size) → rc.mua restart
- WebGUI: 'MUA neu starten'-Button (POST /restart über Config-Server)
- POST-INSTALL/UPDATE: Service wird nach Installation/Update automatisch neu gestartet
- WebGUI: Version dynamisch aus /health (kein hartkodiertes rNNN)
- MUA_VERSION in helpers.ts auf r004
- .txz neu gepackt, SHA256 aktualisiert