feat(api): API-Tokens, kurze Anfragen und OpenAPI für die CLI

- ApiToken (nur SHA-256), Bearer-Anmeldung, POST /auth/token für proxdeploy login, Verwaltung in den Einstellungen
- anfrageErgaenzen: Storage, Bridge, Node, Benutzer und Schlüssel aus Server-Standards, Verbindungstest und Anmeldung – auch beim Template-Bau
- Abschlussbox serverseitig (abschluss), Web und CLI zeigen dieselben Zeilen
- Antwortschemas als zod, daraus /api/v1/openapi.json und cli/api/openapi.json (pnpm openapi)

Refs #013

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-12 15:08:27 +02:00
co-authored by Claude Opus 5.5
parent 1e195f9bca
commit 9fdced62db
27 changed files with 1386 additions and 58 deletions
+9
View File
@@ -20,6 +20,8 @@ export type AuftragSicht = {
erstelltAm: string;
gestartetAm: string | null;
beendetAm: string | null;
/** Abschlussbox, sobald der Auftrag fertig ist. */
abschluss: Abschluss | null;
phasen: Array<{
schluessel: string;
titel: string;
@@ -32,4 +34,11 @@ export type AuftragSicht = {
}>;
};
export type Abschluss = {
ok: boolean;
titel: string;
dauer: string | null;
zeilen: Array<[string, string]>;
};
export type LogZeile = { id: string; zeit: string; stufe: string; phase: string | null; nachricht: string };