feat(agent): Bash-Agent mit Installer, systemd-Timer und Spool (#005)
Produkterkennung fuer PVE, PBS und PMG, JSON-Erzeugung ohne jq, Retry mit Backoff, Nachsenden aus dem Spool, Update und Uninstall. Das Dashboard liefert install.sh und agent.sh mit eingesetzter Adresse aus. 38 Tests. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { basisUrl, skriptAntwort, skriptLaden } from "@/server/agent/skripte";
|
||||
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
/** Aktuelles Agent-Skript, wird vom Installer und vom Update-Mechanismus geladen. */
|
||||
export async function GET(request: Request) {
|
||||
const inhalt = await skriptLaden("proxledger-agent.sh", basisUrl(request));
|
||||
return skriptAntwort(inhalt, "proxledger-agent.sh");
|
||||
}
|
||||
Reference in New Issue
Block a user