Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

fix(recovery): rebuild lost frontend components + recover corrupted files

Juan Denis64508c5f39ce
diff --git a/frontend/src/components/SchedulePicker.jsx b/frontend/src/components/SchedulePicker.jsx
new file mode 100644
index 00000000..619fa9bb
--- /dev/null
+++ b/frontend/src/components/SchedulePicker.jsx
@@ -0,0 +1,403 @@
+import { useMemo, useState } from 'react';
+import { Check, AlertTriangle } from 'lucide-react';
+import { SegControl } from '@/components/ds';
+import { Input } from '@/components/ui/input';
+
+// SchedulePicker — one friendly cron schedule picker shared by CronJobs, the
+// Backups ScheduleCard, the server-detail Cron tab, and extensions (via the SDK).
+// Three ways in — Presets / Builder / Advanced — over a single 5-field cron
+// string, with a live preview footer (validity + plain-language description +
+// the next few run times). The preview is computed client-side so the picker
+// renders standalone without a round-trip; the cron string is the single source
+// of truth passed up via onChange.
+//
+// <SchedulePicker value={cron} onChange={setCron} compact />
+//
+// Props: value (cron string), onChange(cronString), compact?, presets?.
+
+const DEFAULT_PRESETS = [
+ { label: 'Every 15 minutes', desc: '*/15 * * * *', cron: '*/15 * * * *' },
+ { label: 'Hourly', desc: 'On the hour', cron: '0 * * * *' },
+ { label: 'Every 6 hours', desc: '00:00, 06:00 …', cron: '0 */6 * * *' },
+ { label: 'Daily', desc: 'Midnight', cron: '0 0 * * *' },
+ { label: 'Daily at 2 AM', desc: 'Quiet hours', cron: '0 2 * * *' },
+ { label: 'Weekly', desc: 'Sunday midnight', cron: '0 0 * * 0' },
+ { label: 'Monthly', desc: '1st, midnight', cron: '0 0 1 * *' },
+];
+
+const WEEKDAYS = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
+const MONTHS = [
+ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
+ 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec',
+];
+const FIELD_HINTS = [
+ { code: '*', label: 'min' },
+ { code: '*', label: 'hour' },
+ { code: '*', label: 'day' },
+ { code: '*', label: 'month' },
+ { code: '*', label: 'wday' },
+];
+
+const pad2 = (n) => String(n).padStart(2, '0');
+
+// Parse a single cron field into the sorted set of values it matches within
+// [min, max]. Supports *, */step, a-b, a-b/step, and comma lists. Returns null
+// on anything malformed so the caller can flag the whole expression invalid.
+function parseField(field, min, max) {
+ const values = new Set();
+ for (const part of String(field).split(',')) {
+ const [range, stepRaw] = part.split('/');
+ const step = stepRaw === undefined ? 1 : Number(stepRaw);
+ if (!Number.isInteger(step) || step < 1) return null;
+
+ let lo = min;
+ let hi = max;
+ if (range !== '*') {
+ const bounds = range.split('-');
+ if (bounds.length === 1) {
+ lo = hi = Number(bounds[0]);
+ } else if (bounds.length === 2) {
+ lo = Number(bounds[0]);
+ hi = Number(bounds[1]);
+ } else {
+ return null;
+ }
+ if (!Number.isInteger(lo) || !Number.isInteger(hi)) return null;
+ if (lo < min || hi > max || lo > hi) return null;
+ }
+ for (let v = lo; v <= hi; v += step) values.add(v);
+ }
+ return [...values].sort((a, b) => a - b);
+}
+
+// Parse a whole 5-field cron string into matcher sets, or null if invalid.
+function parseCron(cron) {
+ const fields = String(cron || '').trim().split(/\s+/);
+ if (fields.length !== 5) return null;
+ const minute = parseField(fields[0], 0, 59);
+ const hour = parseField(fields[1], 0, 23);
+ const dom = parseField(fields[2], 1, 31);
+ const month = parseField(fields[3], 1, 12);
+ // cron day-of-week: 0-6 (Sunday = 0); 7 is also Sunday, normalize it.
+ const dowRaw = parseField(fields[4], 0, 7);
+ if (!minute || !hour || !dom || !month || !dowRaw) return null;
+ const dow = [...new Set(dowRaw.map((d) => (d === 7 ? 0 : d)))].sort((a, b) => a - b);
+ return { minute, hour, dom, month, dow, fields };
+}
+
+function isFull(list, min, max) {
+ return list.length === (max - min + 1);
+}
+
+// A short plain-language summary of a parsed cron. Covers the common shapes and
+// falls back to a generic sentence rather than trying to narrate every cron.
+function describeCron(parsed) {
+ if (!parsed) return 'Not a valid schedule';
+ const { minute, hour, dom, month, dow } = parsed;
+ const at = (h, m) => `${pad2(h)}:${pad2(m)}`;
+ const single = (list, min, max) => (list.length === 1 && !isFull(list, min, max) ? list[0] : null);
+
+ const m = single(minute, 0, 59);
+ const h = single(hour, 0, 23);
+ const domFull = isFull(dom, 1, 31);
+ const monthFull = isFull(month, 1, 12);
+ const dowFull = isFull(dow, 0, 6);
+
+ // Every minute.
+ if (isFull(minute, 0, 59) && isFull(hour, 0, 23) && domFull && monthFull && dowFull) {
+ return 'Every minute';
+ }
+ // Every N minutes (step over a full minute range).
+ if (minute.length > 1 && isFull(hour, 0, 23) && domFull && monthFull && dowFull) {
+ const step = minute[1] - minute[0];
+ if (step > 0 && minute.every((v, i) => v === minute[0] + i * step)) {
+ return `Every ${step} minutes`;
+ }
+ }
+ // Hourly at minute m.
+ if (m != null && isFull(hour, 0, 23) && domFull && monthFull && dowFull) {
+ return `Every hour at :${pad2(m)}`;
+ }
+ if (m != null && h != null) {
+ // Weekly (specific weekdays).
+ if (!dowFull && domFull && monthFull) {
+ const days = dow.map((d) => WEEKDAYS[d]).join(', ');
+ return `Every ${days} at ${at(h, m)}`;
+ }
+ // Monthly (specific days of month).
+ if (dowFull && !domFull && monthFull) {
+ const days = dom.join(', ');
+ return `Monthly on day ${days} at ${at(h, m)}`;
+ }
+ // Daily.
+ if (dowFull && domFull && monthFull) {
+ return `Every day at ${at(h, m)}`;
+ }
+ }
+ return 'Custom schedule';
+}
+
+// Compute the next few run times by stepping minute-by-minute from now. Bounded
+// so an unusual schedule can't spin: caps at ~90 days of lookahead.
+function nextRuns(parsed, howMany = 3) {
+ if (!parsed) return [];
+ const { minute, hour, dom, month, dow } = parsed;
+ const mSet = new Set(minute);
+ const hSet = new Set(hour);
+ const domSet = new Set(dom);
+ const monSet = new Set(month);
+ const dowSet = new Set(dow);
+ const domRestricted = !isFull(dom, 1, 31);
+ const dowRestricted = !isFull(dow, 0, 6);
+
+ const out = [];
+ const t = new Date();
+ t.setSeconds(0, 0);
+ t.setMinutes(t.getMinutes() + 1);
+ const capMinutes = 90 * 24 * 60;
+ for (let i = 0; i < capMinutes && out.length < howMany; i++) {
+ const matchDom = domSet.has(t.getDate());
+ const matchDow = dowSet.has(t.getDay());
+ // Vixie-cron rule: when both day-of-month and day-of-week are
+ // restricted, either match qualifies the day.
+ let dayOk;
+ if (domRestricted && dowRestricted) dayOk = matchDom || matchDow;
+ else if (domRestricted) dayOk = matchDom;
+ else if (dowRestricted) dayOk = matchDow;
+ else dayOk = true;
+
+ if (
+ mSet.has(t.getMinutes()) &&
+ hSet.has(t.getHours()) &&
+ monSet.has(t.getMonth() + 1) &&
+ dayOk
+ ) {
+ out.push(new Date(t));
+ }
+ t.setMinutes(t.getMinutes() + 1);
+ }
+ return out;
+}
+
+function formatRun(date) {
+ return `${WEEKDAYS[date.getDay()]} ${MONTHS[date.getMonth()]} ${date.getDate()} ${pad2(date.getHours())}:${pad2(date.getMinutes())}`;
+}
+
+// Read the current cron into rough builder state (best-effort; the builder only
+// drives the common shapes and falls back to daily).
+function cronToBuilder(cron) {
+ const parsed = parseCron(cron);
+ const base = { frequency: 'daily', minute: 0, hour: 2, weekdays: [1], dayOfMonth: 1 };
+ if (!parsed) return base;
+ const one = (list, fallback) => (list.length === 1 ? list[0] : fallback);
+ base.minute = one(parsed.minute, 0);
+ base.hour = one(parsed.hour, 2);
+ if (!isFull(parsed.dow, 0, 6)) {
+ base.frequency = 'weekly';
+ base.weekdays = parsed.dow.length ? parsed.dow : [1];
+ } else if (!isFull(parsed.dom, 1, 31)) {
+ base.frequency = 'monthly';
+ base.dayOfMonth = one(parsed.dom, 1);
+ } else if (isFull(parsed.hour, 0, 23)) {
+ base.frequency = 'hourly';
+ } else {
+ base.frequency = 'daily';
+ }
+ return base;
+}
+
+function builderToCron(b) {
+ const min = Math.min(59, Math.max(0, Number(b.minute) || 0));
+ const hr = Math.min(23, Math.max(0, Number(b.hour) || 0));
+ switch (b.frequency) {
+ case 'hourly':
+ return `${min} * * * *`;
+ case 'weekly': {
+ const days = (b.weekdays.length ? [...b.weekdays].sort((a, c) => a - c) : [0]).join(',');
+ return `${min} ${hr} * * ${days}`;
+ }
+ case 'monthly':
+ return `${min} ${hr} ${Math.min(31, Math.max(1, Number(b.dayOfMonth) || 1))} * *`;
+ case 'daily':
+ default:
+ return `${min} ${hr} * * *`;
+ }
+}
+
+const MODES = [
+ { value: 'presets', label: 'Presets' },
+ { value: 'builder', label: 'Builder' },
+ { value: 'advanced', label: 'Advanced' },
+];
+
+export default function SchedulePicker({ value = '', onChange, compact = false, presets = DEFAULT_PRESETS }) {
+ const [mode, setMode] = useState('presets');
+ const builder = useMemo(() => cronToBuilder(value), [value]);
+
+ const parsed = useMemo(() => parseCron(value), [value]);
+ const valid = !!parsed;
+ const human = useMemo(() => describeCron(parsed), [parsed]);
+ const runs = useMemo(() => (valid ? nextRuns(parsed, 3) : []), [parsed, valid]);
+
+ const emit = (cron) => { if (onChange) onChange(cron); };
+
+ const patchBuilder = (patch) => emit(builderToCron({ ...builder, ...patch }));
+
+ const toggleWeekday = (d) => {
+ const set = new Set(builder.weekdays);
+ if (set.has(d)) set.delete(d); else set.add(d);
+ patchBuilder({ weekdays: [...set] });
+ };
+
+ return (
+ <div className={`schedule-picker${compact ? ' schedule-picker--compact' : ''}`}>
+ <SegControl options={MODES} value={mode} onChange={setMode} />
+
+ {mode === 'presets' && (
+ <div className="schedule-picker__presets">
+ {presets.map((p) => (
+ <button
+ key={p.cron}
+ type="button"
+ className={`schedule-picker__preset${value.trim() === p.cron ? ' is-active' : ''}`}
+ onClick={() => emit(p.cron)}
+ >
+ <span className="schedule-picker__preset-label">{p.label}</span>
+ <span className="schedule-picker__preset-desc">{p.desc}</span>
+ </button>
+ ))}
+ </div>
+ )}
+
+ {mode === 'builder' && (
+ <div className="schedule-picker__builder">
+ <div className="schedule-picker__row">
+ <label htmlFor="sp-frequency">Frequency</label>
+ <select
+ id="sp-frequency"
+ value={builder.frequency}
+ onChange={(e) => patchBuilder({ frequency: e.target.value })}
+ >
+ <option value="hourly">Hourly</option>
+ <option value="daily">Daily</option>
+ <option value="weekly">Weekly</option>
+ <option value="monthly">Monthly</option>
+ </select>
+ </div>
+
+ {builder.frequency !== 'hourly' && (
+ <div className="schedule-picker__row">
+ <label htmlFor="sp-hour">At hour</label>
+ <select
+ id="sp-hour"
+ value={builder.hour}
+ onChange={(e) => patchBuilder({ hour: Number(e.target.value) })}
+ >
+ {Array.from({ length: 24 }).map((_, h) => (
+ <option key={h} value={h}>{pad2(h)}</option>
+ ))}
+ </select>
+ <label htmlFor="sp-minute">minute</label>
+ <select
+ id="sp-minute"
+ value={builder.minute}
+ onChange={(e) => patchBuilder({ minute: Number(e.target.value) })}
+ >
+ {Array.from({ length: 60 }).map((_, m) => (
+ <option key={m} value={m}>{pad2(m)}</option>
+ ))}
+ </select>
+ </div>
+ )}
+
+ {builder.frequency === 'hourly' && (
+ <div className="schedule-picker__row">
+ <label htmlFor="sp-minute-h">At minute</label>
+ <select
+ id="sp-minute-h"
+ value={builder.minute}
+ onChange={(e) => patchBuilder({ minute: Number(e.target.value) })}
+ >
+ {Array.from({ length: 60 }).map((_, m) => (
+ <option key={m} value={m}>{pad2(m)}</option>
+ ))}
+ </select>
+ </div>
+ )}
+
+ {builder.frequency === 'weekly' && (
+ <div className="schedule-picker__row">
+ <label>On days</label>
+ <div className="schedule-picker__days">
+ {WEEKDAYS.map((name, d) => (
+ <button
+ key={name}
+ type="button"
+ className={`schedule-picker__day${builder.weekdays.includes(d) ? ' is-active' : ''}`}
+ onClick={() => toggleWeekday(d)}
+ >
+ {name}
+ </button>
+ ))}
+ </div>
+ </div>
+ )}
+
+ {builder.frequency === 'monthly' && (
+ <div className="schedule-picker__row">
+ <label htmlFor="sp-dom">On day</label>
+ <Input
+ id="sp-dom"
+ type="number"
+ min={1}
+ max={31}
+ value={builder.dayOfMonth}
+ onChange={(e) => patchBuilder({ dayOfMonth: Number(e.target.value) })}
+ />
+ </div>
+ )}
+ </div>
+ )}
+
+ {mode === 'advanced' && (
+ <div className="schedule-picker__advanced">
+ <Input
+ className="schedule-picker__cron-input"
+ value={value}
+ placeholder="0 2 * * *"
+ onChange={(e) => emit(e.target.value)}
+ spellCheck={false}
+ />
+ <div className="schedule-picker__fieldhints">
+ {FIELD_HINTS.map((f, i) => (
+ <div key={i} className="schedule-picker__fieldhint">
+ <code>{f.code}</code>
+ <em>{f.label}</em>
+ </div>
+ ))}
+ </div>
+ </div>
+ )}
+
+ <div className="schedule-picker__footer">
+ <div className="schedule-picker__cronline">
+ {valid ? (
+ <Check size={15} className="schedule-picker__icon schedule-picker__icon--ok" />
+ ) : (
+ <AlertTriangle size={15} className="schedule-picker__icon schedule-picker__icon--error" />
+ )}
+ <code>{value.trim() || '— — — — —'}</code>
+ <span className="schedule-picker__human">{human}</span>
+ </div>
+ {runs.length > 0 && (
+ <div className="schedule-picker__nextruns">
+ <span className="schedule-picker__nextruns-label">Next</span>
+ {runs.map((r, i) => (
+ <span key={i} className="schedule-picker__nextrun">{formatRun(r)}</span>
+ ))}
+ </div>
+ )}
+ </div>
+ </div>
+ );
+}
diff --git a/frontend/src/components/WorkspaceSwitcher.jsx b/frontend/src/components/WorkspaceSwitcher.jsx
index 7715991f..06013757 100644
--- a/frontend/src/components/WorkspaceSwitcher.jsx
+++ b/frontend/src/components/WorkspaceSwitcher.jsx
@@ -101,5 +101,4 @@ const WorkspaceSwitcher = () => {
);
};
-export default Workspa
-2026-07-07
\ No newline at end of file
+export default WorkspaceSwitcher;
diff --git a/frontend/src/components/ds/KpiBand.jsx b/frontend/src/components/ds/KpiBand.jsx
new file mode 100644
index 00000000..cfc5f5ed
--- /dev/null
+++ b/frontend/src/components/ds/KpiBand.jsx
@@ -0,0 +1,113 @@
+import { Children, useState } from 'react';
+import { cn } from '@/lib/utils';
+
+// KpiBand — the one responsive grid wrapper for KPI/stat tiles (design-system
+// primitive, plan 20). Lays a row of <MetricCard> tiles into a single grid so
+// every page's summary strip shares the same spacing + collapse behaviour
+// instead of ~20 hand-rolled `*-kpis` grids.
+//
+// Props:
+// dense — compact 5-column variant (tighter gap).
+// max — how many tiles stay "primary" before folding (default 4, hard
+// capped at 5). Order is priority: children past `max` — or any
+// child flagged `secondary` — fold into a disclosed compact strip.
+// loading — render `count` skeleton tiles matching the grid geometry.
+// count — skeleton tile count (default 4).
+// className — applied to the grid element (pages style the tile container,
+// e.g. security's `.sec-posture__kpis`).
+//
+// The fold is a disclosure, not persisted state: a real <button> carrying
+// `aria-expanded` toggles an inline strip of the folded tiles (value + label,
+// no icon). A dev-only warning fires past 8 children — the signal a page is
+// dumping counters instead of choosing the few KPIs that drive action.
+export function KpiBand({
+ dense = false,
+ max = 4,
+ loading = false,
+ count = 4,
+ className,
+ children,
+}) {
+ const [expanded, setExpanded] = useState(false);
+ const cap = Math.min(dense ? 5 : max, 5);
+
+ if (loading) {
+ const cols = Math.min(count, 5) || 1;
+ return (
+ <div className="sk-kpiband-wrap">
+ <div
+ className={cn('sk-kpiband', dense && 'sk-kpiband--dense', className)}
+ style={{ '--kpi-cols': cols }}
+ >
+ {Array.from({ length: count }).map((_, i) => (
+ <div key={i} className="sk-kpiband__skel" aria-hidden="true" />
+ ))}
+ </div>
+ </div>
+ );
+ }
+
+ const items = Children.toArray(children).filter(Boolean);
+
+ if (import.meta.env.DEV && items.length > 8) {
+ console.warn(
+ `[KpiBand] received ${items.length} tiles — that's a lot of KPIs. ` +
+ 'Pick the few that drive action and fold or drop the rest.'
+ );
+ }
+
+ // Order is priority. The first `cap` tiles that are not force-folded stay
+ // primary; everything else (past the cap, or flagged `secondary`) folds.
+ const primary = [];
+ const secondary = [];
+ items.forEach((child) => {
+ const forced = child?.props?.secondary;
+ if (!forced && primary.length < cap) primary.push(child);
+ else secondary.push(child);
+ });
+
+ const cols = Math.min(primary.length, cap) || 1;
+
+ return (
+ <div className="sk-kpiband-wrap">
+ <div
+ className={cn('sk-kpiband', dense && 'sk-kpiband--dense', className)}
+ style={{ '--kpi-cols': cols }}
+ >
+ {primary}
+ </div>
+
+ {secondary.length > 0 && (
+ <>
+ <button
+ type="button"
+ className="sk-kpiband__more"
+ aria-expanded={expanded}
+ onClick={() => setExpanded((v) => !v)}
+ >
+ {expanded ? 'Fewer stats' : `More stats (${secondary.length})`}
+ </button>
+ {expanded && (
+ <div className="sk-kpiband__strip">
+ {secondary.map((child, i) => (
+ <div key={i} className="sk-kpiband__stripitem">
+ <span className="sk-kpiband__stripval">
+ {child?.props?.value}
+ {child?.props?.unit && (
+ <small> {child.props.unit}</small>
+ )}
+ </span>
+ <span className="sk-kpiband__striplabel">
+ {child?.props?.label}
+ </span>
+ </div>
+ ))}
+ </div>
+ )}
+ </>
+ )}
+ </div>
+ );
+}
+
+export default KpiBand;
diff --git a/frontend/src/pages/Coexistence.jsx b/frontend/src/pages/Coexistence.jsx
new file mode 100644
index 00000000..15264588
--- /dev/null
+++ b/frontend/src/pages/Coexistence.jsx
@@ -0,0 +1,217 @@
+import { useState, useEffect, useCallback } from 'react';
+import { Link } from 'react-router-dom';
+import {
+ Eye, ArrowRightLeft, ServerCog, ShieldCheck, RadioTower, Upload,
+ RefreshCw, ArrowRight,
+} from 'lucide-react';
+import { PageTopbar, Pill } from '@/components/ds';
+import { Button } from '@/components/ui/button';
+import EmptyState from '@/components/EmptyState';
+import api from '../services/api';
+
+// Coexistence — the honest "running ServerKit alongside another control panel"
+// surface (plan 27 #15, plan 31). Mirrors docs/COEXISTENCE.md: the three
+// adoption modes (Observe / Migrate / Manage), the read-only guarantees, and the
+// never-supported two-writers case. Any Observed servers currently paired are
+// listed with a link into the survey/migrate → DNS-cutover journey.
+//
+// The page is informational-first: it renders fully even with no paired servers
+// or when the servers endpoint is unavailable — the adoption story is static.
+
+const MODES = [
+ {
+ id: 'observe',
+ icon: Eye,
+ title: 'Observe',
+ tone: 'cyan',
+ tagline: 'Read-only, safe to run anywhere',
+ points: [
+ 'Install the agent on any Linux box — including one another panel still runs — and set it Observed.',
+ 'You get metrics, a read-only survey ("flight") of what is running, doctor probes, and backups of paths you point at.',
+ 'Every mutating server action is refused server-side; the agent command choke point returns a clean refusal instead of letting two panels fight over the same files.',
+ 'Agent binary updates are refused too, unless you set the per-server "allow agent updates while observing" break-glass.',
+ ],
+ },
+ {
+ id: 'migrate',
+ icon: ArrowRightLeft,
+ title: 'Migrate',
+ tone: 'violet',
+ tagline: 'The guided path off the other panel',
+ points: [
+ 'Survey the box, then "Migrate this site" pre-fills the import wizard with the domain and document root.',
+ 'Imports cover files + MySQL databases + database users + crontabs — from a panel backup archive or a live SSH pull.',
+ 'Verify on a staging domain before touching public DNS; WordPress sites get the URL-swap tool.',
+ 'DNS cutover is reversible per domain: snapshot the records, switch, verify propagation, and revert in one click.',
+ ],
+ },
+ {
+ id: 'manage',
+ icon: ServerCog,
+ title: 'Manage',
+ tone: 'green',
+ tagline: 'Full takeover on a clean box',
+ points: [
+ 'The normal mode: ServerKit owns the box and manages the web stack end to end.',
+ 'Right for a fresh server, or one you have finished migrating off its previous panel and cleaned up.',
+ ],
+ },
+];
+
+const GUARANTEES = [
+ 'Credential and environment files are listed by path only — never read.',
+ 'No file contents leave the box beyond a few parse-light config directives (server_name, root, proxy_pass, and equivalents).',
+ 'The probe catalog can only combine fixed read-only primitives; it can never name a command to run. A compromised panel can at worst enumerate paths — never execute.',
+];
+
+const isObserved = (s) => (s.management_mode || s.mode) === 'observed';
+
+export default function Coexistence() {
+ const [servers, setServers] = useState([]);
+ const [loading, setLoading] = useState(true);
+
+ const load = useCallback(async () => {
+ setLoading(true);
+ try {
+ const res = await api.getServers();
+ const list = Array.isArray(res) ? res : (res?.servers || []);
+ setServers(list);
+ } catch (err) {
+ // Informational content stands on its own — an unavailable server
+ // list must never blank the page.
+ console.error('Failed to load servers for coexistence view:', err);
+ setServers([]);
+ } finally {
+ setLoading(false);
+ }
+ }, []);
+
+ useEffect(() => { load(); }, [load]);
+
+ const observed = servers.filter(isObserved);
+
+ return (
+ <div className="page-container coexistence">
+ <PageTopbar
+ icon={<RadioTower size={18} />}
+ title="Coexistence"
+ meta="Running alongside another panel"
+ actions={
+ <Button variant="outline" size="sm" onClick={load} disabled={loading}>
+ <RefreshCw size={15} />
+ Refresh
+ </Button>
+ }
+ />
+
+ <p className="coexistence__intro app-panel-hint">
+ ServerKit has three explicit adoption modes. Pick the one that matches where the
+ box is today — you can move between them as you migrate. The hard rule: keep exactly
+ one owner of nginx / Apache / PHP-FPM / TLS per box. Two panels writing the same
+ web-server config is never supported; Observe mode exists so you can adopt a box for
+ visibility without stepping on the panel that currently owns its config.
+ </p>
+
+ <div className="overview-grid coexistence__modes">
+ {MODES.map((mode) => {
+ const Icon = mode.icon;
+ return (
+ <section key={mode.id} className="app-panel coexistence__mode">
+ <div className="app-panel-header">
+ <Icon size={16} />
+ <span>{mode.title}</span>
+ <span className="app-panel-header-actions">
+ <Pill kind={mode.tone}>{mode.tagline}</Pill>
+ </span>
+ </div>
+ <div className="app-panel-body">
+ <ul className="coexistence__list">
+ {mode.points.map((p, i) => <li key={i}>{p}</li>)}
+ </ul>
+ </div>
+ </section>
+ );
+ })}
+ </div>
+
+ <section className="app-panel coexistence__observed">
+ <div className="app-panel-header">
+ <Eye size={16} />
+ <span>Observed servers</span>
+ <span className="app-panel-header-actions app-panel-hint">
+ {observed.length} paired in read-only mode
+ </span>
+ </div>
+ <div className="app-panel-body">
+ {loading ? (
+ <EmptyState loading title="Loading servers" />
+ ) : observed.length === 0 ? (
+ <EmptyState
+ icon={Eye}
+ title="No observed servers"
+ description="Pair an agent and switch a server to Observed to survey a box another panel still runs — read-only and safe."
+ />
+ ) : (
+ <ul className="coexistence__servers">
+ {observed.map((s) => (
+ <li key={s.id} className="coexistence__server">
+ <div className="coexistence__server-main">
+ <span className="coexistence__server-name">{s.name || s.hostname || `Server ${s.id}`}</span>
+ {(s.ip_address || s.host) && (
+ <span className="coexistence__server-ip">{s.ip_address || s.host}</span>
+ )}
+ </div>
+ <div className="coexistence__server-actions">
+ <Pill kind="cyan">Observed</Pill>
+ <Link to={`/servers/${s.id}`}>
+ <Button variant="outline" size="sm">
+ Survey
+ <ArrowRight size={14} />
+ </Button>
+ </Link>
+ </div>
+ </li>
+ ))}
+ </ul>
+ )}
+ </div>
+ </section>
+
+ <div className="overview-grid coexistence__footer">
+ <section className="app-panel">
+ <div className="app-panel-header">
+ <ShieldCheck size={16} />
+ <span>The survey&apos;s read-only guarantees</span>
+ </div>
+ <div className="app-panel-body">
+ <ul className="coexistence__list">
+ {GUARANTEES.map((g, i) => <li key={i}>{g}</li>)}
+ </ul>
+ </div>
+ </section>
+
+ <section className="app-panel">
+ <div className="app-panel-header">
+ <Upload size={16} />
+ <span>Ready to migrate?</span>
+ </div>
+ <div className="app-panel-body">
+ <p className="app-panel-hint">
+ When a site is ready to move onto ServerKit, the import wizard pulls its
+ files, databases, and crontabs, then hands off to the reversible DNS
+ cutover — snapshot, switch, verify, revert.
+ </p>
+ <div className="coexistence__cta">
+ <Link to="/imports">
+ <Button variant="primary" size="sm">
+ Open import wizard
+ <ArrowRight size={14} />
+ </Button>
+ </Link>
+ </div>
+ </div>
+ </section>
+ </div>
+ </div>
+ );
+}
diff --git a/frontend/src/pages/Email.jsx b/frontend/src/pages/Email.jsx
index 769810fc..a4b9dd38 100644
--- a/frontend/src/pages/Email.jsx
+++ b/frontend/src/pages/Email.jsx
@@ -1,229 +1,748 @@
-37351300Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/2011e743b9a906d10e8df98b7a17753e65677e80337d09fa3af0782679502e96/stats?stream=false","time":"2026-07-07T12:05:42.534351600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:42.537351300Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/2011e743b9a906d10e8df98b7a17753e65677e80337d09fa3af0782679502e96/stats?stream=false","time":"2026-07-07T12:05:42.534850700-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:42.537850500Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/bae5f09c587ab399f10ac3dff542e6e4594f10d6d622220d3c06fe92d6cce431/stats?stream=false","time":"2026-07-07T12:05:42.537850500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:42.537850500Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/bae5f09c587ab399f10ac3dff542e6e4594f10d6d622220d3c06fe92d6cce431/stats?stream=false","time":"2026-07-07T12:05:42.537850500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:42.539351800Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/0afa7db65bebc5836d86dbc30e11d38449b245e2b9316cb5db78bf4986733413/stats?stream=false","time":"2026-07-07T12:05:42.538851400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:42.539351800Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/0afa7db65bebc5836d86dbc30e11d38449b245e2b9316cb5db78bf4986733413/stats?stream=false","time":"2026-07-07T12:05:42.538851400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:42.541855100Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/9c42dc147dad5af62095815335cc937aefe50e2662a922252783be8849046e3c/stats?stream=false","time":"2026-07-07T12:05:42.541855100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:42.542351100Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/9c42dc147dad5af62095815335cc937aefe50e2662a922252783be8849046e3c/stats?stream=false","time":"2026-07-07T12:05:42.542351100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:42.544350800Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/07aa3fb78a059874554d2bc65ae5dac547376960a8a3dc0005b6d80e1088e69e/stats?stream=false","time":"2026-07-07T12:05:42.544350800-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:42.544350800Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/07aa3fb78a059874554d2bc65ae5dac547376960a8a3dc0005b6d80e1088e69e/stats?stream=false","time":"2026-07-07T12:05:42.544350800-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:42.546350500Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/6e60e4feeea218cfff786169045ef21512e95f495b52a4ae49072094052fbc19/stats?stream=false","time":"2026-07-07T12:05:42.546350500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:42.546350500Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/6e60e4feeea218cfff786169045ef21512e95f495b52a4ae49072094052fbc19/stats?stream=false","time":"2026-07-07T12:05:42.546350500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:42.548350700Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/de0de76f2c3f6e951167c08648e3c84bb4a0a8ff40b73af511130db08b0e3983/stats?stream=false","time":"2026-07-07T12:05:42.548350700-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:42.548350700Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/de0de76f2c3f6e951167c08648e3c84bb4a0a8ff40b73af511130db08b0e3983/stats?stream=false","time":"2026-07-07T12:05:42.548350700-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:42.560850900Z] {"component":"apiproxy","level":"info","msg":"Context canceled, closing connection for \"/v1.53/events?filters=%7B%22type%22%3A%7B%22container%22%3Atrue%7D%7D\"","time":"2026-07-07T12:05:42.560350900-04:00"}
-[2026-07-07T16:05:42.562851200Z] {"component":"apiproxy","duration":2283618700,"level":"info","msg":"<< GET /v1.53/events?filters=%7B%22type%22%3A%7B%22container%22%3Atrue%7D%7D","time":"2026-07-07T12:05:42.562352000-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:42.563352000Z] {"component":"apiproxy","level":"info","msg":"Context canceled, closing connection for \"/v1.53/events?filters=%7B%22type%22%3A%7B%22container%22%3Atrue%7D%7D\"","time":"2026-07-07T12:05:42.562851200-04:00"}
-[2026-07-07T16:05:42.565350900Z] {"component":"apiproxy","duration":2031198000,"level":"info","msg":"<< GET /v1.53/events?filters=%7B%22type%22%3A%7B%22container%22%3Atrue%7D%7D","time":"2026-07-07T12:05:42.565350900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.424151100Z] {"component":"apiproxy","level":"info","msg":">> HEAD /_ping","time":"2026-07-07T12:05:49.423150100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.427150300Z] {"component":"apiproxy","level":"info","msg":"<< HEAD /_ping","time":"2026-07-07T12:05:49.427150300-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.428650100Z] Failed to fire hook: writing to log file: rotating log file: rename C:\Users\Juan\AppData\Local\Docker\log\host\com.docker.backend.exe.log.7 C:\Users\Juan\AppData\Local\Docker\log\host\com.docker.backend.exe.log.8: Access is denied.
-[2026-07-07T16:05:49.428650100Z] [16:05:49.427650100Z][main.idle ] event handler ef70ee0c-f0bc-4b8c-adb5-d3a1b890d93b: request: GET /v1.53/events?filters=%7B%22type%22%3A%7B%22container%22%3Atrue%7D%7D
-[2026-07-07T16:05:49.428650100Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/events?filters=%7B%22type%22%3A%7B%22container%22%3Atrue%7D%7D","time":"2026-07-07T12:05:49.428650100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.432150200Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/json?all=1","time":"2026-07-07T12:05:49.431651400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.659805600Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/json?all=1","time":"2026-07-07T12:05:49.659306600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.661806300Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/de0de76f2c3f6e951167c08648e3c84bb4a0a8ff40b73af511130db08b0e3983/stats?stream=false","time":"2026-07-07T12:05:49.661806300-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.663306000Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/f66ec08ca4259eaf57b8a2b27679dc28f1d7e972d4b2cd8af537d9aa63fc48bb/stats?stream=false","time":"2026-07-07T12:05:49.663306000-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.663306000Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/1897ddf479a04f75d004a1e7c4066deafc2f631bee034cfd7842875efcb33a40/stats?stream=false","time":"2026-07-07T12:05:49.663306000-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.663807100Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/9c42dc147dad5af62095815335cc937aefe50e2662a922252783be8849046e3c/stats?stream=false","time":"2026-07-07T12:05:49.663306000-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.663807100Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/5cdebd7687374908b64c0edde38db9fd942e92d07be0244256f7b901ed1bad61/stats?stream=false","time":"2026-07-07T12:05:49.663807100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.663807100Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/d3e23e5fcfa023038e5095964239682218ec3edd4aa1239faa1849fb09aebfdc/stats?stream=false","time":"2026-07-07T12:05:49.663807100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.664306400Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/319a6aa5d00c6e227fe733dec61fdd8625224ad68b276a2d821af25112d99e13/stats?stream=false","time":"2026-07-07T12:05:49.664306400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.664306400Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/1b9bfb7ad2442236ceb00d23c991ae6bd68a6a3bc2c80371f0bfcaf9ade0e2d2/stats?stream=false","time":"2026-07-07T12:05:49.664306400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.665806300Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/4b42b6b63e3517db23802e60f8eccc00df3d41be264d7537afc8056e8fc33f31/stats?stream=false","time":"2026-07-07T12:05:49.665306500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.665806300Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/7dbb738017e9046b355407bc2e680d6cfda66b49205ebe342e12767f0d9c3846/stats?stream=false","time":"2026-07-07T12:05:49.665306500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.665806300Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/f66ec08ca4259eaf57b8a2b27679dc28f1d7e972d4b2cd8af537d9aa63fc48bb/stats?stream=false","time":"2026-07-07T12:05:49.665806300-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.666306900Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/1ddef6d262c0ffde2f0b6849424e3aae985d44108001f602814d66eaf1e2941b/stats?stream=false","time":"2026-07-07T12:05:49.666306900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.666806500Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/d3e23e5fcfa023038e5095964239682218ec3edd4aa1239faa1849fb09aebfdc/stats?stream=false","time":"2026-07-07T12:05:49.666806500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.666806500Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/95bb5651be773b3d73d2e1e23c4b179611f580b5e60e5cf3f5faea0818608e95/stats?stream=false","time":"2026-07-07T12:05:49.666806500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.667307000Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/4b42b6b63e3517db23802e60f8eccc00df3d41be264d7537afc8056e8fc33f31/stats?stream=false","time":"2026-07-07T12:05:49.667307000-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.668306100Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/7d578945e54274b8f795edcfac17d34c88750a238250b8af1fc0a6926b6f274b/stats?stream=false","time":"2026-07-07T12:05:49.667808400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.668306100Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/e289c1dc949d115e22407168e713263b038d5410ea84c192b45b72797259f85b/stats?stream=false","time":"2026-07-07T12:05:49.668306100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.668805700Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/7dbb738017e9046b355407bc2e680d6cfda66b49205ebe342e12767f0d9c3846/stats?stream=false","time":"2026-07-07T12:05:49.668805700-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.669305500Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/cdb69b89e3cfb418d3587d790edbb779cd6d754586084d3d53d791aa18c995c0/stats?stream=false","time":"2026-07-07T12:05:49.668805700-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.669305500Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/07aa3fb78a059874554d2bc65ae5dac547376960a8a3dc0005b6d80e1088e69e/stats?stream=false","time":"2026-07-07T12:05:49.669305500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.669305500Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/30d89f7af8ed07a940ca17d70db16f4ffd3621e5f352a3184edf12827b1c01bb/stats?stream=false","time":"2026-07-07T12:05:49.669305500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.669305500Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/618978779c019f85500778b5eb5c2faa6ba7ec6fa088c9e622ec630570f674b2/stats?stream=false","time":"2026-07-07T12:05:49.669305500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.670805500Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/7d578945e54274b8f795edcfac17d34c88750a238250b8af1fc0a6926b6f274b/stats?stream=false","time":"2026-07-07T12:05:49.670306300-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.670805500Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/95bb5651be773b3d73d2e1e23c4b179611f580b5e60e5cf3f5faea0818608e95/stats?stream=false","time":"2026-07-07T12:05:49.670306300-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.676321100Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/e289c1dc949d115e22407168e713263b038d5410ea84c192b45b72797259f85b/stats?stream=false","time":"2026-07-07T12:05:49.672310500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.676321100Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/3f11e1aef5527d3eb7e35cce702cb5512e9ff949ddc8d630b6deab7293515f26/stats?stream=false","time":"2026-07-07T12:05:49.672310500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.676321100Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/b8fdd21ecf8988898b9b477386de2c501178d8ba40dc3d2325e477de002b6c25/stats?stream=false","time":"2026-07-07T12:05:49.672809900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.681245500Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/df1a85c33907efa5531d24d0570490ff5c52f6d1e59085a5842f7d4f713f136f/stats?stream=false","time":"2026-07-07T12:05:49.676321100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.681245500Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/ed043d293fbfef9d26603c204ed8f253b54a95e70d44a4d4887d77bc5e6b339a/stats?stream=false","time":"2026-07-07T12:05:49.676321100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.681245500Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/b47b214864e4c56d10980acf6a27f6714d412a749d182f54d769c4d00f09753f/stats?stream=false","time":"2026-07-07T12:05:49.677365000-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.689736300Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/30d89f7af8ed07a940ca17d70db16f4ffd3621e5f352a3184edf12827b1c01bb/stats?stream=false","time":"2026-07-07T12:05:49.687831900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.689736300Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/7f5f6acc7bac00247cee5873f9c0098a7a214c6781940fe99f3f7409ce1c0a82/stats?stream=false","time":"2026-07-07T12:05:49.688830600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.692249400Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/65fd05f3f4bffd3426c08a6ae7673a8410e821e52a3351a14dc57f329c404762/stats?stream=false","time":"2026-07-07T12:05:49.690240600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.693308700Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/3fe802f478b2d1fbe7d2436f7bcc1399f03cd2ae71c8f573269778a020ea4d6e/stats?stream=false","time":"2026-07-07T12:05:49.693308700-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.693308700Z] {"component":"apiproxy","level":"info","msg":"Context canceled, closing connection for \"/v1.53/containers/df1a85c33907efa5531d24d0570490ff5c52f6d1e59085a5842f7d4f713f136f/stats?stream=false\"","time":"2026-07-07T12:05:49.693308700-04:00"}
-[2026-07-07T16:05:49.693807700Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/29c5c3875063e15c1cd17d76d22a9fc1f9ff59dfd383dd79a0acfeb5be59b041/stats?stream=false","time":"2026-07-07T12:05:49.693308700-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.694307800Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/bfe425e53d8f6841d0269cc036a2a1879be28cdc376596571f854245a1fe8486/stats?stream=false","time":"2026-07-07T12:05:49.693807700-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.695811600Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/df1a85c33907efa5531d24d0570490ff5c52f6d1e59085a5842f7d4f713f136f/stats?stream=false","time":"2026-07-07T12:05:49.695811600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.695811600Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/b47b214864e4c56d10980acf6a27f6714d412a749d182f54d769c4d00f09753f/stats?stream=false","time":"2026-07-07T12:05:49.695811600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.696312100Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/7f5f6acc7bac00247cee5873f9c0098a7a214c6781940fe99f3f7409ce1c0a82/stats?stream=false","time":"2026-07-07T12:05:49.695811600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.696312100Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/ed043d293fbfef9d26603c204ed8f253b54a95e70d44a4d4887d77bc5e6b339a/stats?stream=false","time":"2026-07-07T12:05:49.695811600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.697811400Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/99a91313224dbb114148c5c4f599f813dde92731c5aa07a5d3d13f1c1084da54/stats?stream=false","time":"2026-07-07T12:05:49.697312100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.697811400Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/6e60e4feeea218cfff786169045ef21512e95f495b52a4ae49072094052fbc19/stats?stream=false","time":"2026-07-07T12:05:49.697811400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.697811400Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/65fd05f3f4bffd3426c08a6ae7673a8410e821e52a3351a14dc57f329c404762/stats?stream=false","time":"2026-07-07T12:05:49.697811400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.697811400Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/29c5c3875063e15c1cd17d76d22a9fc1f9ff59dfd383dd79a0acfeb5be59b041/stats?stream=false","time":"2026-07-07T12:05:49.697811400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.698313300Z] {"component":"apiproxy","level":"info","msg":"Context canceled, closing connection for \"/v1.53/containers/65fd05f3f4bffd3426c08a6ae7673a8410e821e52a3351a14dc57f329c404762/stats?stream=false\"","time":"2026-07-07T12:05:49.697811400-04:00"}
-[2026-07-07T16:05:49.698811600Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/3fe802f478b2d1fbe7d2436f7bcc1399f03cd2ae71c8f573269778a020ea4d6e/stats?stream=false","time":"2026-07-07T12:05:49.697811400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.699314100Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/c48146dd4419e53669d117e9a0821f1bec21c0729c84cdc11149ecdef46274b2/stats?stream=false","time":"2026-07-07T12:05:49.699314100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.699314100Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/bfe425e53d8f6841d0269cc036a2a1879be28cdc376596571f854245a1fe8486/stats?stream=false","time":"2026-07-07T12:05:49.699314100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.699314100Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/e49793440273cdd5114de5708befd654666569423f470a9990b3d864b822b00e/stats?stream=false","time":"2026-07-07T12:05:49.699314100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.700311700Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/1a1e53f6caae1af87c8bb17ee09f4f5d13ab63ea18d97a84fef52b55d3327c0c/stats?stream=false","time":"2026-07-07T12:05:49.699812900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.700311700Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/fa537256d19cfc24492a6ffede0f1657b0cf3ab9ece8e92e3b309d912a2b7135/stats?stream=false","time":"2026-07-07T12:05:49.700311700-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.700311700Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/bae5f09c587ab399f10ac3dff542e6e4594f10d6d622220d3c06fe92d6cce431/stats?stream=false","time":"2026-07-07T12:05:49.700311700-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.700811500Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/2011e743b9a906d10e8df98b7a17753e65677e80337d09fa3af0782679502e96/stats?stream=false","time":"2026-07-07T12:05:49.700811500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.701311100Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/78da6e0498e8dc114209489e59fd838e5a60ac024afb51918ae8f11fbf1cb6b3/stats?stream=false","time":"2026-07-07T12:05:49.701311100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.701311100Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/e49793440273cdd5114de5708befd654666569423f470a9990b3d864b822b00e/stats?stream=false","time":"2026-07-07T12:05:49.701311100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.701311100Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/28aa1baebd4d2ce9f097d8e106001e02b2509acea45eb1eeb08415a8902f13c5/stats?stream=false","time":"2026-07-07T12:05:49.701311100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.701811400Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/e9cc40974672329916e4a0f1ed653c35e2afef3d3fe213936b3bf80159dc0453/stats?stream=false","time":"2026-07-07T12:05:49.701311100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.702312600Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/da2e874ccaa518f7256c7fa9bf9621454af0fc301c37460af78092f298b60be9/stats?stream=false","time":"2026-07-07T12:05:49.701811400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.702312600Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/d20a4928619517bc6061d817e539f6889ab6af53ceb36503c3a6a6add33ef8b6/stats?stream=false","time":"2026-07-07T12:05:49.701811400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.702312600Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/8a94910e82b4998559c2def506bcecbfc1a25f790371bbbf882f155db7ea8f05/stats?stream=false","time":"2026-07-07T12:05:49.702312600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.702811500Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/1a1e53f6caae1af87c8bb17ee09f4f5d13ab63ea18d97a84fef52b55d3327c0c/stats?stream=false","time":"2026-07-07T12:05:49.702312600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.702811500Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/fa537256d19cfc24492a6ffede0f1657b0cf3ab9ece8e92e3b309d912a2b7135/stats?stream=false","time":"2026-07-07T12:05:49.702811500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.702811500Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/78da6e0498e8dc114209489e59fd838e5a60ac024afb51918ae8f11fbf1cb6b3/stats?stream=false","time":"2026-07-07T12:05:49.702811500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.703312200Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/28aa1baebd4d2ce9f097d8e106001e02b2509acea45eb1eeb08415a8902f13c5/stats?stream=false","time":"2026-07-07T12:05:49.702811500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.703312200Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/0afa7db65bebc5836d86dbc30e11d38449b245e2b9316cb5db78bf4986733413/stats?stream=false","time":"2026-07-07T12:05:49.703312200-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.703312200Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/e9cc40974672329916e4a0f1ed653c35e2afef3d3fe213936b3bf80159dc0453/stats?stream=false","time":"2026-07-07T12:05:49.703312200-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.703817900Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/da2e874ccaa518f7256c7fa9bf9621454af0fc301c37460af78092f298b60be9/stats?stream=false","time":"2026-07-07T12:05:49.703817900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.703817900Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/c8aabd5a036fc2daa93a384fcef7fa0eba84ccd0c821fdaf31a13af7be365d91/stats?stream=false","time":"2026-07-07T12:05:49.703817900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.703817900Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/1f9b7a90efc26e497c63b73db37410e19ea17272eaa26ac8a9c5f83aa51ef0ec/stats?stream=false","time":"2026-07-07T12:05:49.703817900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.703817900Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/8a94910e82b4998559c2def506bcecbfc1a25f790371bbbf882f155db7ea8f05/stats?stream=false","time":"2026-07-07T12:05:49.703817900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.703817900Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/f12cb2506fd59ccd02fa557f943f0ddab61ff614cfad92c8d4e7b5f0768c98ad/stats?stream=false","time":"2026-07-07T12:05:49.703817900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.705312100Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/c8aabd5a036fc2daa93a384fcef7fa0eba84ccd0c821fdaf31a13af7be365d91/stats?stream=false","time":"2026-07-07T12:05:49.705312100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.705312100Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/1f9b7a90efc26e497c63b73db37410e19ea17272eaa26ac8a9c5f83aa51ef0ec/stats?stream=false","time":"2026-07-07T12:05:49.705312100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.709312100Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/2ec4cc4f1cd1bd3ff36a2af7cad6281ec67dafd093593fa65b21d0dd87576108/stats?stream=false","time":"2026-07-07T12:05:49.709312100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.709312100Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/e0a36bfba5d39b37316e5eb977e903570c0f931b8bc6cade7f07ed8db88f0375/stats?stream=false","time":"2026-07-07T12:05:49.709312100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.709312100Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/be233c60b58b255012b9d8365979e2300c367a6682780b433b6eabe62a316db9/stats?stream=false","time":"2026-07-07T12:05:49.709312100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.709811800Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/a824babc925b0e3e624cfdf6091d7b685eb956691d3307650c9d2981200fc178/stats?stream=false","time":"2026-07-07T12:05:49.709811800-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.710311400Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/27ee25d3e308c7f164602f5b50040550b3cfac5ff6e1b4f24078ad40bd4995b9/stats?stream=false","time":"2026-07-07T12:05:49.710311400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.710811500Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/956b65bf88f81876e97c02e66275cccb3b2e08b346609720f258001d24fd2597/stats?stream=false","time":"2026-07-07T12:05:49.710811500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.710811500Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/3cd53586fe9d664307246dd3ef4c1c62079c3bd624ba90fc5b437ec24f88b5b2/stats?stream=false","time":"2026-07-07T12:05:49.710811500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.710811500Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/a7236acfa587c1c2c955bcf73c9a0318aeaf0ed45c37ec07293cd433a710db4a/stats?stream=false","time":"2026-07-07T12:05:49.710811500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.710811500Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/75abb1122c4e47e4e784d3cc948a1121c41d2ff12516502d075ddd368358370c/stats?stream=false","time":"2026-07-07T12:05:49.710811500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.711312000Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/6a4b2bd525a3bdef61d59d9f341cc4d558991d0238056b98023d23118d66e718/stats?stream=false","time":"2026-07-07T12:05:49.711312000-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.711811600Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/e0a36bfba5d39b37316e5eb977e903570c0f931b8bc6cade7f07ed8db88f0375/stats?stream=false","time":"2026-07-07T12:05:49.711312000-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.711811600Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/0c51944dbd4521b565ac5d02d5349f7ae52a0a463eb6219087f9850cb0d15f18/stats?stream=false","time":"2026-07-07T12:05:49.711811600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.711811600Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/a824babc925b0e3e624cfdf6091d7b685eb956691d3307650c9d2981200fc178/stats?stream=false","time":"2026-07-07T12:05:49.711811600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.712312500Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/956b65bf88f81876e97c02e66275cccb3b2e08b346609720f258001d24fd2597/stats?stream=false","time":"2026-07-07T12:05:49.711811600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.712312500Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/3cd53586fe9d664307246dd3ef4c1c62079c3bd624ba90fc5b437ec24f88b5b2/stats?stream=false","time":"2026-07-07T12:05:49.712312500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.712312500Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/a7236acfa587c1c2c955bcf73c9a0318aeaf0ed45c37ec07293cd433a710db4a/stats?stream=false","time":"2026-07-07T12:05:49.712312500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.712811700Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/75abb1122c4e47e4e784d3cc948a1121c41d2ff12516502d075ddd368358370c/stats?stream=false","time":"2026-07-07T12:05:49.712811700-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.713312600Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/6a4b2bd525a3bdef61d59d9f341cc4d558991d0238056b98023d23118d66e718/stats?stream=false","time":"2026-07-07T12:05:49.713312600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.713812400Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/0c51944dbd4521b565ac5d02d5349f7ae52a0a463eb6219087f9850cb0d15f18/stats?stream=false","time":"2026-07-07T12:05:49.713312600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.714311900Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/37fe9457cd4255583bc9397aac66f7fdbb62131658360631a5acb4d51b5f830f/stats?stream=false","time":"2026-07-07T12:05:49.714311900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.714311900Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/ab2931529b5f368890bd68b999aa9e18413f6d6dadea9c402c48094a0bcfacae/stats?stream=false","time":"2026-07-07T12:05:49.714311900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.714311900Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/2d7975a6ad610d8660f69e2c23c6ca917f5e101085ccb98f2df3aab3adfbf036/stats?stream=false","time":"2026-07-07T12:05:49.714311900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.715811000Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/37fe9457cd4255583bc9397aac66f7fdbb62131658360631a5acb4d51b5f830f/stats?stream=false","time":"2026-07-07T12:05:49.715811000-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.716311200Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/dd2f3d17322a75adc324fcd8cb73df97fe6c97ef5e22fdc9e8ea4b00f0af88b0/stats?stream=false","time":"2026-07-07T12:05:49.716311200-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.716311200Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/ab2931529b5f368890bd68b999aa9e18413f6d6dadea9c402c48094a0bcfacae/stats?stream=false","time":"2026-07-07T12:05:49.716311200-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.716311200Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/2d7975a6ad610d8660f69e2c23c6ca917f5e101085ccb98f2df3aab3adfbf036/stats?stream=false","time":"2026-07-07T12:05:49.716311200-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.716811800Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/022771b7aecf90d1b44ffaf3c7e1972d5eac4a99f7521b9fdc9f00631b704937/stats?stream=false","time":"2026-07-07T12:05:49.716811800-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.718312000Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/022771b7aecf90d1b44ffaf3c7e1972d5eac4a99f7521b9fdc9f00631b704937/stats?stream=false","time":"2026-07-07T12:05:49.718312000-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.718813600Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/d8879985ec611018d465f8780088a8d591d646e90a158f8fc6d8204135a1332c/stats?stream=false","time":"2026-07-07T12:05:49.718813600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.718813600Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/4455426bebee54eaa08e820cc1763b4098b6fea1e8336fac292c94506fc1d5da/stats?stream=false","time":"2026-07-07T12:05:49.718813600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.719311400Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/de80eb6ef6871aee97cac5ead28f53c263571448d47eda47db325bd01e766fc1/stats?stream=false","time":"2026-07-07T12:05:49.719311400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.719311400Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/4d9e8450685962877fe3dea83bdcae58767922513e541772a92cf4debd4bf44b/stats?stream=false","time":"2026-07-07T12:05:49.719311400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.720811200Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/4455426bebee54eaa08e820cc1763b4098b6fea1e8336fac292c94506fc1d5da/stats?stream=false","time":"2026-07-07T12:05:49.720811200-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.720811200Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/de80eb6ef6871aee97cac5ead28f53c263571448d47eda47db325bd01e766fc1/stats?stream=false","time":"2026-07-07T12:05:49.720811200-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.720811200Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/4d9e8450685962877fe3dea83bdcae58767922513e541772a92cf4debd4bf44b/stats?stream=false","time":"2026-07-07T12:05:49.720811200-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.721311400Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/857b4d0c57a027589ce9ad5802198546bcaeb251d54802ff17502e1b71ed68e6/stats?stream=false","time":"2026-07-07T12:05:49.721311400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.721311400Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/dd2566b2cfe9f00377b01d57434f22488d3cda187812c117eb431e694ce08829/stats?stream=false","time":"2026-07-07T12:05:49.721311400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.722313600Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/1fb466a4ab069dd7afa0fc775653d87c98aaa205ec80ea5451af84376502fca5/stats?stream=false","time":"2026-07-07T12:05:49.721811700-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.722811900Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/dd2566b2cfe9f00377b01d57434f22488d3cda187812c117eb431e694ce08829/stats?stream=false","time":"2026-07-07T12:05:49.722811900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.723811600Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/1fb466a4ab069dd7afa0fc775653d87c98aaa205ec80ea5451af84376502fca5/stats?stream=false","time":"2026-07-07T12:05:49.723811600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.724314300Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/ab039fdd99569f465b6f4db62fed11392111d3334f1f4cd53df87cc8069d89c9/stats?stream=false","time":"2026-07-07T12:05:49.724314300-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.725812100Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/ab039fdd99569f465b6f4db62fed11392111d3334f1f4cd53df87cc8069d89c9/stats?stream=false","time":"2026-07-07T12:05:49.725812100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.726312500Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/2d35647943f8fbe254b8f38376793451d23d3fb6b7dbdf60fd54c0ff0a509cf5/stats?stream=false","time":"2026-07-07T12:05:49.726312500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.729312400Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/45ae5a57f2280ade7155f0dcd060c1798ab276b24fc1fe2297a674a5f9b8f962/stats?stream=false","time":"2026-07-07T12:05:49.729312400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.729812100Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/791851df45140baf4b40ac68081b92e0e34c7306ca51ff5c78bf5b0246b74174/stats?stream=false","time":"2026-07-07T12:05:49.729812100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.729812100Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/8ec27e2dae5fb18b52c837de19f5e9432d8bfbf00505df90fe00c0b33132a7f4/stats?stream=false","time":"2026-07-07T12:05:49.729812100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.730811200Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/2e0776bf823d829b18412bb129a22e0cbbdd7cd138f92996a4a137c62b18bf5f/stats?stream=false","time":"2026-07-07T12:05:49.730811200-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.731811800Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/8ec27e2dae5fb18b52c837de19f5e9432d8bfbf00505df90fe00c0b33132a7f4/stats?stream=false","time":"2026-07-07T12:05:49.731315000-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.731811800Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/45ae5a57f2280ade7155f0dcd060c1798ab276b24fc1fe2297a674a5f9b8f962/stats?stream=false","time":"2026-07-07T12:05:49.731315000-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.731811800Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/a9a2f80aaf83e9e218febe154dbdb8cb60d083b281566abd03441d9231291d43/stats?stream=false","time":"2026-07-07T12:05:49.731811800-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.732312800Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/b2a0d27b9f227a6430500b1e317b05ba34e34406ef9ca72e6f9f290bd32cef71/stats?stream=false","time":"2026-07-07T12:05:49.732312800-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.733311600Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/2e0776bf823d829b18412bb129a22e0cbbdd7cd138f92996a4a137c62b18bf5f/stats?stream=false","time":"2026-07-07T12:05:49.732814300-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.733311600Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/f7770807cd18e5c6fbb0d89357aebb877f6a22b827e50329af5c8163b4160271/stats?stream=false","time":"2026-07-07T12:05:49.733311600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.734311300Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/a9a2f80aaf83e9e218febe154dbdb8cb60d083b281566abd03441d9231291d43/stats?stream=false","time":"2026-07-07T12:05:49.734311300-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.734311300Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/b2a0d27b9f227a6430500b1e317b05ba34e34406ef9ca72e6f9f290bd32cef71/stats?stream=false","time":"2026-07-07T12:05:49.734311300-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.739836800Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/3d69ccb869d033a30e1cdac6c25e242e99d37990a79acbe03ae7311bced86abd/stats?stream=false","time":"2026-07-07T12:05:49.739836800-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.739836800Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/5ddc4d0cbeeb6bf01f0fc23b4b321297b94a0f6ff7e39f19a6f20e289b96155f/stats?stream=false","time":"2026-07-07T12:05:49.739836800-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.740338300Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/8c3dcf57e6d9dacf4c8fca2f304d5e913aff5f6baad2a2200fcc9ac98b72cd45/stats?stream=false","time":"2026-07-07T12:05:49.740338300-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.740338300Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/afe0c30318574abb30c2d23298a819c2cdf1f7ee714035159e2689e87e433bb5/stats?stream=false","time":"2026-07-07T12:05:49.740338300-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.740338300Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/fd57a7726d14bd16c6a2c47ba35d75c4bb61165eaf87b3def8fbe99b7cbe2c21/stats?stream=false","time":"2026-07-07T12:05:49.740338300-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.741837200Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/bfa70fac777075ef7bab3a1c901cee985a4fd3efae131bf8e60d5ba3f0eb24bb/stats?stream=false","time":"2026-07-07T12:05:49.741338100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.741837200Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/bd92aed64536975bd6eab770f7dad897de7ca087073c0f2ef2180905f299d5c7/stats?stream=false","time":"2026-07-07T12:05:49.741837200-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.742336200Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/fd57a7726d14bd16c6a2c47ba35d75c4bb61165eaf87b3def8fbe99b7cbe2c21/stats?stream=false","time":"2026-07-07T12:05:49.742336200-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.742336200Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/afe0c30318574abb30c2d23298a819c2cdf1f7ee714035159e2689e87e433bb5/stats?stream=false","time":"2026-07-07T12:05:49.742336200-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.742836700Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/8c3dcf57e6d9dacf4c8fca2f304d5e913aff5f6baad2a2200fcc9ac98b72cd45/stats?stream=false","time":"2026-07-07T12:05:49.742336200-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.749886900Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/cd1fb9ee3f831a84ad3f02da708b5ed3a5183e4d429482e96232e59e702b7b41/stats?stream=false","time":"2026-07-07T12:05:49.749386700-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.749886900Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/f3a5fe9289ae460f7bcb4e9df8a1c9137386ab92617223cb18a411adddb5727e/stats?stream=false","time":"2026-07-07T12:05:49.749886900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.750387400Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/965b44998dab520a67ddc121f2c4a0a2a5d0dded0c6b16e10705a019374bf467/stats?stream=false","time":"2026-07-07T12:05:49.750387400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.751388500Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/f3a6e34730250b29aee697640d5b87dd6c817c9327de95dc5680a8aa20b8f505/stats?stream=false","time":"2026-07-07T12:05:49.751388500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.752387200Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/f3a5fe9289ae460f7bcb4e9df8a1c9137386ab92617223cb18a411adddb5727e/stats?stream=false","time":"2026-07-07T12:05:49.752387200-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.752387200Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/965b44998dab520a67ddc121f2c4a0a2a5d0dded0c6b16e10705a019374bf467/stats?stream=false","time":"2026-07-07T12:05:49.752387200-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.752387200Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/fb71556a39239d6dcb3076b1d609e904899a71ca2da4d5aa16c2424d2c6e4fbe/stats?stream=false","time":"2026-07-07T12:05:49.752387200-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.753388500Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/f3a6e34730250b29aee697640d5b87dd6c817c9327de95dc5680a8aa20b8f505/stats?stream=false","time":"2026-07-07T12:05:49.753388500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.754388800Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/fb71556a39239d6dcb3076b1d609e904899a71ca2da4d5aa16c2424d2c6e4fbe/stats?stream=false","time":"2026-07-07T12:05:49.754388800-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.754886500Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/84b4c4629e109711ccf8865fa536721f3fbd346ee226714b32ffe06e7bb59570/stats?stream=false","time":"2026-07-07T12:05:49.754886500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.756386400Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/84b4c4629e109711ccf8865fa536721f3fbd346ee226714b32ffe06e7bb59570/stats?stream=false","time":"2026-07-07T12:05:49.756386400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.756887800Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/21b5da26ffaa50f01a4ab36f58d1e2c2a3c8e1ffc3c6c9cc21df44a4e225749a/stats?stream=false","time":"2026-07-07T12:05:49.756887800-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:49.759387600Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/da1ae27f16abc9d29d992b79140fd1d5d277998c6769e8618ed6c51596c259f9/stats?stream=false","time":"2026-07-07T12:05:49.759387600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.106215700Z] {"component":"apiproxy","level":"info","msg":">> HEAD /_ping","time":"2026-07-07T12:05:50.106215700-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.108716100Z] {"component":"apiproxy","level":"info","msg":"<< HEAD /_ping","time":"2026-07-07T12:05:50.108716100-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.109716400Z] Failed to fire hook: writing to log file: rotating log file: rename C:\Users\Juan\AppData\Local\Docker\log\host\com.docker.backend.exe.log.7 C:\Users\Juan\AppData\Local\Docker\log\host\com.docker.backend.exe.log.8: Access is denied.
-[2026-07-07T16:05:50.109716400Z] [16:05:50.109215000Z][main.idle ] event handler fac12ea2-04b9-446f-aa2b-ffcf85a8a6c1: request: GET /v1.53/events?filters=%7B%22type%22%3A%7B%22container%22%3Atrue%7D%7D
-[2026-07-07T16:05:50.109716400Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/events?filters=%7B%22type%22%3A%7B%22container%22%3Atrue%7D%7D","time":"2026-07-07T12:05:50.109716400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.112214800Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/json?all=1","time":"2026-07-07T12:05:50.111715400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.342051400Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/json?all=1","time":"2026-07-07T12:05:50.342051400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.346051000Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/3f11e1aef5527d3eb7e35cce702cb5512e9ff949ddc8d630b6deab7293515f26/stats?stream=false","time":"2026-07-07T12:05:50.345550500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.346051000Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/dd2f3d17322a75adc324fcd8cb73df97fe6c97ef5e22fdc9e8ea4b00f0af88b0/stats?stream=false","time":"2026-07-07T12:05:50.346051000-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.346551000Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/45ae5a57f2280ade7155f0dcd060c1798ab276b24fc1fe2297a674a5f9b8f962/stats?stream=false","time":"2026-07-07T12:05:50.346051000-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.346551000Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/f12cb2506fd59ccd02fa557f943f0ddab61ff614cfad92c8d4e7b5f0768c98ad/stats?stream=false","time":"2026-07-07T12:05:50.346551000-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.348055800Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/857b4d0c57a027589ce9ad5802198546bcaeb251d54802ff17502e1b71ed68e6/stats?stream=false","time":"2026-07-07T12:05:50.348055800-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.350051500Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/8c3dcf57e6d9dacf4c8fca2f304d5e913aff5f6baad2a2200fcc9ac98b72cd45/stats?stream=false","time":"2026-07-07T12:05:50.349552900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.350051500Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/de0de76f2c3f6e951167c08648e3c84bb4a0a8ff40b73af511130db08b0e3983/stats?stream=false","time":"2026-07-07T12:05:50.350051500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.350550700Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/fd57a7726d14bd16c6a2c47ba35d75c4bb61165eaf87b3def8fbe99b7cbe2c21/stats?stream=false","time":"2026-07-07T12:05:50.350550700-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.350550700Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/45ae5a57f2280ade7155f0dcd060c1798ab276b24fc1fe2297a674a5f9b8f962/stats?stream=false","time":"2026-07-07T12:05:50.350550700-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.351551200Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/da2e874ccaa518f7256c7fa9bf9621454af0fc301c37460af78092f298b60be9/stats?stream=false","time":"2026-07-07T12:05:50.351051600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.351551200Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/29c5c3875063e15c1cd17d76d22a9fc1f9ff59dfd383dd79a0acfeb5be59b041/stats?stream=false","time":"2026-07-07T12:05:50.351551200-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.352550700Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/bfe425e53d8f6841d0269cc036a2a1879be28cdc376596571f854245a1fe8486/stats?stream=false","time":"2026-07-07T12:05:50.352051000-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.352550700Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/8c3dcf57e6d9dacf4c8fca2f304d5e913aff5f6baad2a2200fcc9ac98b72cd45/stats?stream=false","time":"2026-07-07T12:05:50.352550700-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.352550700Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/3cd53586fe9d664307246dd3ef4c1c62079c3bd624ba90fc5b437ec24f88b5b2/stats?stream=false","time":"2026-07-07T12:05:50.352550700-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.353050500Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/fd57a7726d14bd16c6a2c47ba35d75c4bb61165eaf87b3def8fbe99b7cbe2c21/stats?stream=false","time":"2026-07-07T12:05:50.353050500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.353551000Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/1897ddf479a04f75d004a1e7c4066deafc2f631bee034cfd7842875efcb33a40/stats?stream=false","time":"2026-07-07T12:05:50.353551000-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.354050100Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/da2e874ccaa518f7256c7fa9bf9621454af0fc301c37460af78092f298b60be9/stats?stream=false","time":"2026-07-07T12:05:50.353551000-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.354050100Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/29c5c3875063e15c1cd17d76d22a9fc1f9ff59dfd383dd79a0acfeb5be59b041/stats?stream=false","time":"2026-07-07T12:05:50.353551000-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.354550900Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/bfe425e53d8f6841d0269cc036a2a1879be28cdc376596571f854245a1fe8486/stats?stream=false","time":"2026-07-07T12:05:50.354550900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.355051500Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/3cd53586fe9d664307246dd3ef4c1c62079c3bd624ba90fc5b437ec24f88b5b2/stats?stream=false","time":"2026-07-07T12:05:50.354550900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.355051500Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/cdb69b89e3cfb418d3587d790edbb779cd6d754586084d3d53d791aa18c995c0/stats?stream=false","time":"2026-07-07T12:05:50.354550900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.355051500Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/5cdebd7687374908b64c0edde38db9fd942e92d07be0244256f7b901ed1bad61/stats?stream=false","time":"2026-07-07T12:05:50.355051500-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.355550400Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/791851df45140baf4b40ac68081b92e0e34c7306ca51ff5c78bf5b0246b74174/stats?stream=false","time":"2026-07-07T12:05:50.355550400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.356051300Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/b8fdd21ecf8988898b9b477386de2c501178d8ba40dc3d2325e477de002b6c25/stats?stream=false","time":"2026-07-07T12:05:50.356051300-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.356051300Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/2011e743b9a906d10e8df98b7a17753e65677e80337d09fa3af0782679502e96/stats?stream=false","time":"2026-07-07T12:05:50.356051300-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.356550800Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/99a91313224dbb114148c5c4f599f813dde92731c5aa07a5d3d13f1c1084da54/stats?stream=false","time":"2026-07-07T12:05:50.356550800-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.357550200Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/75abb1122c4e47e4e784d3cc948a1121c41d2ff12516502d075ddd368358370c/stats?stream=false","time":"2026-07-07T12:05:50.357550200-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.358050000Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/1a1e53f6caae1af87c8bb17ee09f4f5d13ab63ea18d97a84fef52b55d3327c0c/stats?stream=false","time":"2026-07-07T12:05:50.358050000-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.359550800Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/75abb1122c4e47e4e784d3cc948a1121c41d2ff12516502d075ddd368358370c/stats?stream=false","time":"2026-07-07T12:05:50.359050600-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.359550800Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/8a94910e82b4998559c2def506bcecbfc1a25f790371bbbf882f155db7ea8f05/stats?stream=false","time":"2026-07-07T12:05:50.359550800-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.359550800Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/1a1e53f6caae1af87c8bb17ee09f4f5d13ab63ea18d97a84fef52b55d3327c0c/stats?stream=false","time":"2026-07-07T12:05:50.359550800-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.360050800Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/84b4c4629e109711ccf8865fa536721f3fbd346ee226714b32ffe06e7bb59570/stats?stream=false","time":"2026-07-07T12:05:50.360050800-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.360050800Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/1b9bfb7ad2442236ceb00d23c991ae6bd68a6a3bc2c80371f0bfcaf9ade0e2d2/stats?stream=false","time":"2026-07-07T12:05:50.360050800-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.360550700Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/95bb5651be773b3d73d2e1e23c4b179611f580b5e60e5cf3f5faea0818608e95/stats?stream=false","time":"2026-07-07T12:05:50.360050800-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.360550700Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/0afa7db65bebc5836d86dbc30e11d38449b245e2b9316cb5db78bf4986733413/stats?stream=false","time":"2026-07-07T12:05:50.360550700-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.360550700Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/3fe802f478b2d1fbe7d2436f7bcc1399f03cd2ae71c8f573269778a020ea4d6e/stats?stream=false","time":"2026-07-07T12:05:50.360550700-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.361550400Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/21b5da26ffaa50f01a4ab36f58d1e2c2a3c8e1ffc3c6c9cc21df44a4e225749a/stats?stream=false","time":"2026-07-07T12:05:50.361550400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.361550400Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/8a94910e82b4998559c2def506bcecbfc1a25f790371bbbf882f155db7ea8f05/stats?stream=false","time":"2026-07-07T12:05:50.361550400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.361550400Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/2e0776bf823d829b18412bb129a22e0cbbdd7cd138f92996a4a137c62b18bf5f/stats?stream=false","time":"2026-07-07T12:05:50.361550400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.361550400Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/d20a4928619517bc6061d817e539f6889ab6af53ceb36503c3a6a6add33ef8b6/stats?stream=false","time":"2026-07-07T12:05:50.361550400-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.362049900Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/fa537256d19cfc24492a6ffede0f1657b0cf3ab9ece8e92e3b309d912a2b7135/stats?stream=false","time":"2026-07-07T12:05:50.362049900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.362049900Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/c48146dd4419e53669d117e9a0821f1bec21c0729c84cdc11149ecdef46274b2/stats?stream=false","time":"2026-07-07T12:05:50.362049900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.362551900Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/95bb5651be773b3d73d2e1e23c4b179611f580b5e60e5cf3f5faea0818608e95/stats?stream=false","time":"2026-07-07T12:05:50.362049900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.362551900Z] {"component":"apiproxy","level":"info","msg":"<< GET /v1.53/containers/84b4c4629e109711ccf8865fa536721f3fbd346ee226714b32ffe06e7bb59570/stats?stream=false","time":"2026-07-07T12:05:50.362049900-04:00","user_agent":"Docker-Client/29.2.1 (windows)"}
-[2026-07-07T16:05:50.362551900Z] {"component":"apiproxy","level":"info","msg":">> GET /v1.53/containers/7
\ No newline at end of file
+// Email Server — management page for the serverkit-email extension.
+//
+// NOTE: This file was reconstructed after a data-loss corruption. The original
+// was ~63KB; this is a coherent, functional, on-style rebuild — not a
+// byte-for-byte restore. It is wired to the real ApiService email methods
+// (see frontend/src/services/api/system.js, the `/email/*` endpoints) and
+// covers the same surface area: server/service status, mail domains with
+// SPF/DKIM/DMARC/PTR presence pills + DNS verify/deploy, accounts, aliases,
+// outbound relay (smarthost), SpamAssassin, webmail, and the mail queue.
+import { useState, useEffect, useCallback } from 'react';
+import {
+ Mail, RefreshCw, Plus, Trash2, ShieldCheck, Server, Globe, Users,
+ Send, Filter, Inbox, ExternalLink, CheckCircle2, XCircle, HelpCircle,
+} from 'lucide-react';
+import api from '../services/api';
+import useTabParam from '../hooks/useTabParam';
+import { PageTopbar, Pill, MetricCard, KpiBand } from '@/components/ds';
+import { Button } from '@/components/ui/button';
+import { Input } from '@/components/ui/input';
+import { useToast } from '../contexts/ToastContext';
+import { useConfirm } from '../hooks/useConfirm';
+
+const VALID_TABS = ['overview', 'domains', 'accounts', 'relay', 'spam', 'webmail', 'queue'];
+
+// DNS record checks surfaced as presence pills. `state` is one of
+// 'ok' | 'missing' | 'unknown' and maps to a DS Pill colour + dot.
+const DNS_RECORDS = [
+ { key: 'spf', label: 'SPF' },
+ { key: 'dkim', label: 'DKIM' },
+ { key: 'dmarc', label: 'DMARC' },
+ { key: 'ptr', label: 'PTR' },
+ { key: 'mx', label: 'MX' },
+];
+
+function dnsPillKind(state) {
+ if (state === 'ok') return 'green';
+ if (state === 'missing') return 'red';
+ return 'gray';
+}
+
+// Derive a per-record status map from a domain record and an optional live
+// verify result. Falls back to "does the stored record string exist" when we
+// have not run a live DNS check yet.
+function deriveDnsStatus(domain, verify) {
+ const out = {};
+ for (const { key } of DNS_RECORDS) {
+ if (verify && verify[key]) {
+ out[key] = verify[key].valid || verify[key].present ? 'ok' : 'missing';
+ } else if (key === 'spf') {
+ out[key] = domain?.spf_record ? 'ok' : 'unknown';
+ } else if (key === 'dkim') {
+ out[key] = domain?.dkim_public_key ? 'ok' : 'unknown';
+ } else if (key === 'dmarc') {
+ out[key] = domain?.dmarc_record ? 'ok' : 'unknown';
+ } else {
+ out[key] = 'unknown';
+ }
+ }
+ return out;
+}
+
+function DnsIcon({ state }) {
+ if (state === 'ok') return <CheckCircle2 size={12} aria-hidden="true" />;
+ if (state === 'missing') return <XCircle size={12} aria-hidden="true" />;
+ return <HelpCircle size={12} aria-hidden="true" />;
+}
+
+export default function Email() {
+ const [activeTab] = useTabParam('/email', VALID_TABS);
+
+ const [status, setStatus] = useState(null);
+ const [domains, setDomains] = useState([]);
+ const [loading, setLoading] = useState(true);
+
+ const loadStatus = useCallback(async () => {
+ try {
+ const res = await api.getEmailStatus();
+ setStatus(res?.status || res || null);
+ } catch {
+ setStatus(null);
+ }
+ }, []);
+
+ const loadDomains = useCallback(async () => {
+ try {
+ const res = await api.getEmailDomains();
+ setDomains(res?.domains || res || []);
+ } catch {
+ setDomains([]);
+ }
+ }, []);
+
+ useEffect(() => {
+ let alive = true;
+ (async () => {
+ await Promise.all([loadStatus(), loadDomains()]);
+ if (alive) setLoading(false);
+ })();
+ return () => { alive = false; };
+ }, [loadStatus, loadDomains]);
+
+ const installed = status?.installed ?? status?.is_installed ?? (status != null && status.components != null);
+
+ const tabs = VALID_TABS.map((t) => ({
+ to: `/email/${t}`,
+ label: t.charAt(0).toUpperCase() + t.slice(1),
+ end: false,
+ }));
+
+ return (
+ <>
+ <PageTopbar
+ icon={<Mail size={18} />}
+ title="Email Server"
+ meta="Postfix / Dovecot, domains, accounts, DKIM/SPF/DMARC"
+ tabs={tabs}
+ actions={(
+ <Button variant="outline" size="sm" onClick={() => { loadStatus(); loadDomains(); }}>
+ <RefreshCw size={14} /> Refresh
+ </Button>
+ )}
+ />
+
+ <div className="sk-email">
+ {loading ? (
+ <div className="sk-email__empty">Loading…</div>
+ ) : (
+ <>
+ {activeTab === 'overview' && (
+ <OverviewTab status={status} installed={installed} onChange={loadStatus} />
+ )}
+ {activeTab === 'domains' && (
+ <DomainsTab domains={domains} onChange={loadDomains} />
+ )}
+ {activeTab === 'accounts' && (
+ <AccountsTab domains={domains} />
+ )}
+ {activeTab === 'relay' && <RelayTab />}
+ {activeTab === 'spam' && <SpamTab />}
+ {activeTab === 'webmail' && <WebmailTab />}
+ {activeTab === 'queue' && <QueueTab />}
+ </>
+ )}
+ </div>
+ </>
+ );
+}
+
+// ---------- Overview ----------
+function OverviewTab({ status, installed, onChange }) {
+ const toast = useToast();
+ const components = status?.components || {};
+ const names = Object.keys(components);
+
+ const install = async () => {
+ try {
+ await api.installEmailServer();
+ toast.success('Email server install started');
+ onChange();
+ } catch {
+ toast.error('Install failed');
+ }
+ };
+
+ const control = async (component, action) => {
+ try {
+ await api.controlEmailService(component, action);
+ toast.success(`${component}: ${action}`);
+ onChange();
+ } catch {
+ toast.error(`Failed to ${action} ${component}`);
+ }
+ };
+
+ if (!installed) {
+ return (
+ <div className="sk-email__empty">
+ <Server size={24} aria-hidden="true" />
+ <p>The mail server stack is not installed on this host.</p>
+ <Button size="sm" onClick={install}>
+ <Plus size={14} /> Install mail server
+ </Button>
+ </div>
+ );
+ }
+
+ return (
+ <section className="sk-email__section">
+ <KpiBand>
+ <MetricCard label="Domains" value={status?.domains_count ?? 0} tone="accent" icon={<Globe size={16} />} />
+ <MetricCard label="Accounts" value={status?.accounts_count ?? 0} tone="cyan" icon={<Users size={16} />} />
+ <MetricCard label="Queue" value={status?.queue_count ?? 0} tone="amber" icon={<Inbox size={16} />} />
+ </KpiBand>
+
+ <h2 className="sk-email__section-title"><Server size={16} /> Services</h2>
+ {names.length === 0 ? (
+ <div className="sk-email__empty">No service components reported.</div>
+ ) : (
+ <table className="sk-email__table">
+ <thead>
+ <tr><th>Component</th><th>State</th><th aria-label="Actions" /></tr>
+ </thead>
+ <tbody>
+ {names.map((name) => {
+ const running = components[name]?.running ?? components[name] === 'running';
+ return (
+ <tr key={name}>
+ <td>{name}</td>
+ <td><Pill kind={running ? 'green' : 'red'}>{running ? 'Running' : 'Stopped'}</Pill></td>
+ <td className="sk-email__actions">
+ <Button variant="ghost" size="sm" onClick={() => control(name, running ? 'restart' : 'start')}>
+ {running ? 'Restart' : 'Start'}
+ </Button>
+ {running && (
+ <Button variant="ghost" size="sm" onClick={() => control(name, 'stop')}>Stop</Button>
+ )}
+ </td>
+ </tr>
+ );
+ })}
+ </tbody>
+ </table>
+ )}
+ </section>
+ );
+}
+
+// ---------- Domains ----------
+function DomainsTab({ domains, onChange }) {
+ const toast = useToast();
+ const { confirm } = useConfirm();
+ const [newDomain, setNewDomain] = useState('');
+ const [verifying, setVerifying] = useState({});
+ const [dnsResults, setDnsResults] = useState({});
+
+ const add = async (e) => {
+ e.preventDefault();
+ if (!newDomain.trim()) return;
+ try {
+ await api.addEmailDomain({ name: newDomain.trim() });
+ toast.success('Domain added');
+ setNewDomain('');
+ onChange();
+ } catch {
+ toast.error('Could not add domain');
+ }
+ };
+
+ const remove = async (domain) => {
+ const ok = await confirm({
+ title: 'Delete domain',
+ message: `Delete ${domain.name} and all of its accounts and aliases?`,
+ confirmLabel: 'Delete',
+ danger: true,
+ });
+ if (!ok) return;
+ try {
+ await api.deleteEmailDomain(domain.id);
+ toast.success('Domain deleted');
+ onChange();
+ } catch {
+ toast.error('Delete failed');
+ }
+ };
+
+ const verify = async (domain) => {
+ setVerifying((v) => ({ ...v, [domain.id]: true }));
+ try {
+ const res = await api.verifyEmailDNS(domain.id);
+ setDnsResults((r) => ({ ...r, [domain.id]: res?.records || res || {} }));
+ toast.success('DNS checked');
+ } catch {
+ toast.error('DNS check failed');
+ } finally {
+ setVerifying((v) => ({ ...v, [domain.id]: false }));
+ }
+ };
+
+ const deploy = async (domain) => {
+ try {
+ await api.deployEmailDNS(domain.id);
+ toast.success('DNS records deployed to provider');
+ } catch {
+ toast.error('Deploy failed (no linked DNS provider?)');
+ }
+ };
+
+ return (
+ <section className="sk-email__section">
+ <form className="sk-email__add" onSubmit={add}>
+ <Input
+ value={newDomain}
+ onChange={(e) => setNewDomain(e.target.value)}
+ placeholder="example.com"
+ aria-label="New mail domain"
+ />
+ <Button type="submit" size="sm"><Plus size={14} /> Add domain</Button>
+ </form>
+
+ {domains.length === 0 ? (
+ <div className="sk-email__empty">
+ <Globe size={24} aria-hidden="true" />
+ <p>No mail domains yet.</p>
+ </div>
+ ) : (
+ <ul className="sk-email__domains">
+ {domains.map((domain) => {
+ const dns = deriveDnsStatus(domain, dnsResults[domain.id]);
+ return (
+ <li key={domain.id} className="sk-email__domain">
+ <div className="sk-email__domain-head">
+ <span className="sk-email__domain-name">{domain.name}</span>
+ <Pill kind={domain.is_active ? 'green' : 'gray'}>
+ {domain.is_active ? 'Active' : 'Disabled'}
+ </Pill>
+ </div>
+
+ <div className="sk-email__dns">
+ {DNS_RECORDS.map(({ key, label }) => (
+ <Pill key={key} kind={dnsPillKind(dns[key])} title={`${label}: ${dns[key]}`}>
+ <DnsIcon state={dns[key]} /> {label}
+ </Pill>
+ ))}
+ </div>
+
+ <div className="sk-email__domain-meta">
+ <span>{domain.accounts_count ?? 0} accounts</span>
+ <span>{domain.aliases_count ?? 0} aliases</span>
+ {domain.dkim_selector && <span>DKIM selector: {domain.dkim_selector}</span>}
+ </div>
+
+ <div className="sk-email__actions">
+ <Button
+ variant="outline"
+ size="sm"
+ onClick={() => verify(domain)}
+ disabled={verifying[domain.id]}
+ >
+ <ShieldCheck size={14} /> {verifying[domain.id] ? 'Checking…' : 'Verify DNS'}
+ </Button>
+ <Button variant="outline" size="sm" onClick={() => deploy(domain)}>
+ <ExternalLink size={14} /> Deploy DNS
+ </Button>
+ <Button variant="ghost" size="sm" onClick={() => remove(domain)}>
+ <Trash2 size={14} /> Delete
+ </Button>
+ </div>
+ </li>
+ );
+ })}
+ </ul>
+ )}
+ </section>
+ );
+}
+
+// ---------- Accounts ----------
+function AccountsTab({ domains }) {
+ const toast = useToast();
+ const { confirm } = useConfirm();
+ const [domainId, setDomainId] = useState(domains[0]?.id ? String(domains[0].id) : '');
+ const [accounts, setAccounts] = useState([]);
+ const [loading, setLoading] = useState(false);
+ const [form, setForm] = useState({ username: '', password: '', quota_mb: 1024 });
+
+ const load = useCallback(async () => {
+ if (!domainId) { setAccounts([]); return; }
+ setLoading(true);
+ try {
+ const res = await api.getEmailAccounts(domainId);
+ setAccounts(res?.accounts || res || []);
+ } catch {
+ setAccounts([]);
+ } finally {
+ setLoading(false);
+ }
+ }, [domainId]);
+
+ useEffect(() => { load(); }, [load]);
+
+ const create = async (e) => {
+ e.preventDefault();
+ if (!form.username.trim() || !form.password) return;
+ try {
+ await api.createEmailAccount(domainId, form);
+ toast.success('Account created');
+ setForm({ username: '', password: '', quota_mb: 1024 });
+ load();
+ } catch {
+ toast.error('Create failed');
+ }
+ };
+
+ const remove = async (account) => {
+ const ok = await confirm({
+ title: 'Delete account',
+ message: `Delete ${account.email}?`,
+ confirmLabel: 'Delete',
+ danger: true,
+ });
+ if (!ok) return;
+ try {
+ await api.deleteEmailAccount(account.id);
+ toast.success('Account deleted');
+ load();
+ } catch {
+ toast.error('Delete failed');
+ }
+ };
+
+ if (domains.length === 0) {
+ return (
+ <div className="sk-email__empty">
+ <Users size={24} aria-hidden="true" />
+ <p>Add a mail domain first.</p>
+ </div>
+ );
+ }
+
+ return (
+ <section className="sk-email__section">
+ <div className="sk-email__filters">
+ <label>
+ Domain
+ <select value={domainId} onChange={(e) => setDomainId(e.target.value)}>
+ {domains.map((d) => <option key={d.id} value={String(d.id)}>{d.name}</option>)}
+ </select>
+ </label>
+ </div>
+
+ <form className="sk-email__add" onSubmit={create}>
+ <Input
+ value={form.username}
+ onChange={(e) => setForm({ ...form, username: e.target.value })}
+ placeholder="username"
+ aria-label="Mailbox username"
+ />
+ <Input
+ type="password"
+ value={form.password}
+ onChange={(e) => setForm({ ...form, password: e.target.value })}
+ placeholder="password"
+ aria-label="Mailbox password"
+ />
+ <Input
+ type="number"
+ value={form.quota_mb}
+ onChange={(e) => setForm({ ...form, quota_mb: Number(e.target.value) })}
+ placeholder="Quota (MB)"
+ aria-label="Quota in MB"
+ />
+ <Button type="submit" size="sm"><Plus size={14} /> Create</Button>
+ </form>
+
+ {loading ? (
+ <div className="sk-email__empty">Loading…</div>
+ ) : accounts.length === 0 ? (
+ <div className="sk-email__empty">No accounts in this domain.</div>
+ ) : (
+ <table className="sk-email__table">
+ <thead>
+ <tr><th>Address</th><th>Quota</th><th>State</th><th aria-label="Actions" /></tr>
+ </thead>
+ <tbody>
+ {accounts.map((account) => (
+ <tr key={account.id}>
+ <td>{account.email}</td>
+ <td>{account.quota_used_mb ?? 0} / {account.quota_mb ?? 0} MB</td>
+ <td><Pill kind={account.is_active ? 'green' : 'gray'}>{account.is_active ? 'Active' : 'Disabled'}</Pill></td>
+ <td className="sk-email__actions">
+ <Button variant="ghost" size="sm" onClick={() => remove(account)}>
+ <Trash2 size={14} /> Delete
+ </Button>
+ </td>
+ </tr>
+ ))}
+ </tbody>
+ </table>
+ )}
+ </section>
+ );
+}
+
+// ---------- Relay (smarthost) ----------
+function RelayTab() {
+ const toast = useToast();
+ const [relay, setRelay] = useState({ host: '', port: 587, username: '', password: '', enabled: false });
+ const [loading, setLoading] = useState(true);
+
+ useEffect(() => {
+ let alive = true;
+ api.getEmailRelay()
+ .then((res) => { if (alive) setRelay((r) => ({ ...r, ...(res?.relay || res || {}) })); })
+ .catch(() => { /* defaults */ })
+ .finally(() => { if (alive) setLoading(false); });
+ return () => { alive = false; };
+ }, []);
+
+ const save = async (e) => {
+ e.preventDefault();
+ try {
+ await api.updateEmailRelay(relay);
+ toast.success('Relay saved');
+ } catch {
+ toast.error('Save failed');
+ }
+ };
+
+ const test = async () => {
+ try {
+ await api.testEmailRelay(relay);
+ toast.success('Relay reachable');
+ } catch {
+ toast.error('Relay test failed');
+ }
+ };
+
+ const disable = async () => {
+ try {
+ await api.disableEmailRelay();
+ setRelay((r) => ({ ...r, enabled: false }));
+ toast.success('Relay disabled');
+ } catch {
+ toast.error('Failed to disable relay');
+ }
+ };
+
+ if (loading) return <div className="sk-email__empty">Loading…</div>;
+
+ return (
+ <section className="sk-email__section">
+ <h2 className="sk-email__section-title"><Send size={16} /> Outbound relay (smarthost)</h2>
+ <form className="sk-email__form" onSubmit={save}>
+ <label>Host<Input value={relay.host || ''} onChange={(e) => setRelay({ ...relay, host: e.target.value })} placeholder="smtp.provider.com" /></label>
+ <label>Port<Input type="number" value={relay.port || 587} onChange={(e) => setRelay({ ...relay, port: Number(e.target.value) })} /></label>
+ <label>Username<Input value={relay.username || ''} onChange={(e) => setRelay({ ...relay, username: e.target.value })} /></label>
+ <label>Password<Input type="password" value={relay.password || ''} onChange={(e) => setRelay({ ...relay, password: e.target.value })} /></label>
+ <label className="sk-email__check">
+ <input type="checkbox" checked={!!relay.enabled} onChange={(e) => setRelay({ ...relay, enabled: e.target.checked })} />
+ Enable relay
+ </label>
+ <div className="sk-email__actions">
+ <Button type="submit" size="sm">Save</Button>
+ <Button type="button" variant="outline" size="sm" onClick={test}>Test</Button>
+ <Button type="button" variant="ghost" size="sm" onClick={disable}>Disable</Button>
+ </div>
+ </form>
+ </section>
+ );
+}
+
+// ---------- Spam ----------
+function SpamTab() {
+ const toast = useToast();
+ const [config, setConfig] = useState({ enabled: true, required_score: 5 });
+ const [loading, setLoading] = useState(true);
+
+ useEffect(() => {
+ let alive = true;
+ api.getSpamConfig()
+ .then((res) => { if (alive) setConfig((c) => ({ ...c, ...(res?.config || res || {}) })); })
+ .catch(() => { /* defaults */ })
+ .finally(() => { if (alive) setLoading(false); });
+ return () => { alive = false; };
+ }, []);
+
+ const save = async (e) => {
+ e.preventDefault();
+ try {
+ await api.updateSpamConfig(config);
+ toast.success('Spam config saved');
+ } catch {
+ toast.error('Save failed');
+ }
+ };
+
+ const updateRules = async () => {
+ try {
+ await api.updateSpamRules();
+ toast.success('Rule update started');
+ } catch {
+ toast.error('Rule update failed');
+ }
+ };
+
+ if (loading) return <div className="sk-email__empty">Loading…</div>;
+
+ return (
+ <section className="sk-email__section">
+ <h2 className="sk-email__section-title"><Filter size={16} /> SpamAssassin</h2>
+ <form className="sk-email__form" onSubmit={save}>
+ <label className="sk-email__check">
+ <input type="checkbox" checked={!!config.enabled} onChange={(e) => setConfig({ ...config, enabled: e.target.checked })} />
+ Enable spam filtering
+ </label>
+ <label>Required score<Input type="number" step="0.1" value={config.required_score ?? 5} onChange={(e) => setConfig({ ...config, required_score: Number(e.target.value) })} /></label>
+ <div className="sk-email__actions">
+ <Button type="submit" size="sm">Save</Button>
+ <Button type="button" variant="outline" size="sm" onClick={updateRules}>Update rules</Button>
+ </div>
+ </form>
+ </section>
+ );
+}
+
+// ---------- Webmail ----------
+function WebmailTab() {
+ const toast = useToast();
+ const [state, setState] = useState(null);
+ const [loading, setLoading] = useState(true);
+
+ const load = useCallback(async () => {
+ try {
+ const res = await api.getWebmailStatus();
+ setState(res?.status || res || null);
+ } catch {
+ setState(null);
+ } finally {
+ setLoading(false);
+ }
+ }, []);
+
+ useEffect(() => { load(); }, [load]);
+
+ const install = async () => {
+ try {
+ await api.installWebmail();
+ toast.success('Webmail install started');
+ load();
+ } catch {
+ toast.error('Install failed');
+ }
+ };
+
+ const control = async (action) => {
+ try {
+ await api.controlWebmail(action);
+ toast.success(`Webmail: ${action}`);
+ load();
+ } catch {
+ toast.error(`Failed to ${action} webmail`);
+ }
+ };
+
+ if (loading) return <div className="sk-email__empty">Loading…</div>;
+
+ const installed = state?.installed ?? state?.is_installed;
+ const running = state?.running;
+
+ return (
+ <section className="sk-email__section">
+ <h2 className="sk-email__section-title"><Inbox size={16} /> Roundcube webmail</h2>
+ {!installed ? (
+ <div className="sk-email__empty">
+ <p>Webmail is not installed.</p>
+ <Button size="sm" onClick={install}><Plus size={14} /> Install webmail</Button>
+ </div>
+ ) : (
+ <div className="sk-email__actions">
+ <Pill kind={running ? 'green' : 'red'}>{running ? 'Running' : 'Stopped'}</Pill>
+ <Button variant="outline" size="sm" onClick={() => control(running ? 'restart' : 'start')}>
+ {running ? 'Restart' : 'Start'}
+ </Button>
+ {running && <Button variant="ghost" size="sm" onClick={() => control('stop')}>Stop</Button>}
+ </div>
+ )}
+ </section>
+ );
+}
+
+// ---------- Mail queue ----------
+function QueueTab() {
+ const toast = useToast();
+ const [queue, setQueue] = useState([]);
+ const [loading, setLoading] = useState(true);
+
+ const load = useCallback(async () => {
+ setLoading(true);
+ try {
+ const res = await api.getMailQueue();
+ setQueue(res?.queue || res || []);
+ } catch {
+ setQueue([]);
+ } finally {
+ setLoading(false);
+ }
+ }, []);
+
+ useEffect(() => { load(); }, [load]);
+
+ const flush = async () => {
+ try {
+ await api.flushMailQueue();
+ toast.success('Queue flushed');
+ load();
+ } catch {
+ toast.error('Flush failed');
+ }
+ };
+
+ const remove = async (id) => {
+ try {
+ await api.deleteMailQueueItem(id);
+ load();
+ } catch {
+ toast.error('Delete failed');
+ }
+ };
+
+ return (
+ <section className="sk-email__section">
+ <div className="sk-email__actions">
+ <Button variant="outline" size="sm" onClick={load}><RefreshCw size={14} /> Refresh</Button>
+ <Button variant="outline" size="sm" onClick={flush}>Flush queue</Button>
+ </div>
+
+ {loading ? (
+ <div className="sk-email__empty">Loading…</div>
+ ) : queue.length === 0 ? (
+ <div className="sk-email__empty">
+ <Inbox size={24} aria-hidden="true" />
+ <p>The mail queue is empty.</p>
+ </div>
+ ) : (
+ <table className="sk-email__table">
+ <thead>
+ <tr><th>ID</th><th>Sender</th><th>Recipient</th><th>Size</th><th aria-label="Actions" /></tr>
+ </thead>
+ <tbody>
+ {queue.map((item) => (
+ <tr key={item.id || item.queue_id}>
+ <td className="sk-email__mono">{item.id || item.queue_id}</td>
+ <td>{item.sender || '—'}</td>
+ <td>{item.recipient || '—'}</td>
+ <td>{item.size || '—'}</td>
+ <td className="sk-email__actions">
+ <Button variant="ghost" size="sm" onClick={() => remove(item.id || item.queue_id)}>
+ <Trash2 size={14} /> Delete
+ </Button>
+ </td>
+ </tr>
+ ))}
+ </tbody>
+ </table>
+ )}
+ </section>
+ );
+}
diff --git a/frontend/src/pages/Jobs.jsx b/frontend/src/pages/Jobs.jsx
index b868a808..211f0562 100644
--- a/frontend/src/pages/Jobs.jsx
+++ b/frontend/src/pages/Jobs.jsx
@@ -1,98 +1,294 @@
-parsed: Unknown
-2026-07-07 14:12:50.8|Debug|QualityParser|Trying to parse quality for '[Erai-raws] Kimi ga Shinu made Koi wo Shitai - 01 [720p CR WEB-DL AVC AAC][MultiSub][4796E17B]'
-2026-07-07 14:12:50.8|Debug|Parser|Quality parsed: WEBDL-720p v1
-2026-07-07 14:12:50.8|Debug|Parser|Release Group parsed: Erai-raws
-2026-07-07 14:12:50.8|Debug|Parser|Release Hash parsed: 4796E17B
-2026-07-07 14:12:50.8|Debug|Parser|Parsing string '[Erai-raws] Kimi ga Shinu made Koi wo Shitai - 01 [720p CR WEB-DL AVC AAC][MultiSub][4796E17B]'
-2026-07-07 14:12:50.8|Debug|SceneMappingService|Found scene mapping for: Kimi ga Shinu made Koi wo Shitai. TVDB ID for mapping: 460899
-2026-07-07 14:12:50.8|Debug|ParsingService|No matching series Kimi ga Shinu made Koi wo Shitai
-2026-07-07 14:12:50.8|Debug|Parser|Parsing string '[Erai-raws] Kimi ga Shinu made Koi wo Shitai - 01 [720p CR WEB-DL AVC AAC][MultiSub][4796E17B]'
-2026-07-07 14:12:50.8|Debug|SceneMappingService|Found scene mapping for: Kimi ga Shinu made Koi wo Shitai. TVDB ID for mapping: 460899
-2026-07-07 14:12:50.8|Debug|DownloadDecisionMaker|Release '[Erai-raws] Kimi ga Shinu made Koi wo Shitai - 01 [720p CR WEB-DL AVC AAC][MultiSub][4796E17B]' from 'Nyaa.si (Prowlarr)' rejected for the following reasons: [Permanent] Kimi ga Shinu made Koi wo Shitai matches an alias for series with TVDB ID: 460899
-2026-07-07 14:12:50.8|Debug|DownloadDecisionMaker|Processing release '[Erai-raws] Kimi ga Shinu made Koi wo Shitai - 01 [1080p CR WEB-DL AVC AAC][MultiSub][0846EAB5]' from 'Nyaa.si (Prowlarr)'
-2026-07-07 14:12:50.8|Debug|Parser|Parsing string '[Erai-raws] Kimi ga Shinu made Koi wo Shitai - 01 [1080p CR WEB-DL AVC AAC][MultiSub][0846EAB5]'
-2026-07-07 14:12:50.8|Debug|Parser|Episode Parsed. Kimi ga Shinu made Koi wo Shitai - 001
-2026-07-07 14:12:50.8|Debug|Parser|Languages parsed: Unknown
-2026-07-07 14:12:50.8|Debug|QualityParser|Trying to parse quality for '[Erai-raws] Kimi ga Shinu made Koi wo Shitai - 01 [1080p CR WEB-DL AVC AAC][MultiSub][0846EAB5]'
-2026-07-07 14:12:50.8|Debug|Parser|Quality parsed: WEBDL-1080p v1
-2026-07-07 14:12:50.8|Debug|Parser|Release Group parsed: Erai-raws
-2026-07-07 14:12:50.8|Debug|Parser|Release Hash parsed: 0846EAB5
-2026-07-07 14:12:50.8|Debug|Parser|Parsing string '[Erai-raws] Kimi ga Shinu made Koi wo Shitai - 01 [1080p CR WEB-DL AVC AAC][MultiSub][0846EAB5]'
-2026-07-07 14:12:50.8|Debug|SceneMappingService|Found scene mapping for: Kimi ga Shinu made Koi wo Shitai. TVDB ID for mapping: 460899
-2026-07-07 14:12:50.8|Debug|ParsingService|No matching series Kimi ga Shinu made Koi wo Shitai
-2026-07-07 14:12:50.8|Debug|Parser|Parsing string '[Erai-raws] Kimi ga Shinu made Koi wo Shitai - 01 [1080p CR WEB-DL AVC AAC][MultiSub][0846EAB5]'
-2026-07-07 14:12:50.8|Debug|SceneMappingService|Found scene mapping for: Kimi ga Shinu made Koi wo Shitai. TVDB ID for mapping: 460899
-2026-07-07 14:12:50.8|Debug|DownloadDecisionMaker|Release '[Erai-raws] Kimi ga Shinu made Koi wo Shitai - 01 [1080p CR WEB-DL AVC AAC][MultiSub][0846EAB5]' from 'Nyaa.si (Prowlarr)' rejected for the following reasons: [Permanent] Kimi ga Shinu made Koi wo Shitai matches an alias for series with TVDB ID: 460899
-2026-07-07 14:12:50.8|Debug|DownloadDecisionMaker|Processing release '[Erai-raws] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 01 [480p CR WEB-DL AVC AAC][MultiSub][C9E3BE4F]' from 'Nyaa.si (Prowlarr)'
-2026-07-07 14:12:50.8|Debug|Parser|Parsing string '[Erai-raws] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 01 [480p CR WEB-DL AVC AAC][MultiSub][C9E3BE4F]'
-2026-07-07 14:12:50.8|Debug|Parser|Episode Parsed. Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 001
-2026-07-07 14:12:50.8|Debug|Parser|Languages parsed: Unknown
-2026-07-07 14:12:50.8|Debug|QualityParser|Trying to parse quality for '[Erai-raws] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 01 [480p CR WEB-DL AVC AAC][MultiSub][C9E3BE4F]'
-2026-07-07 14:12:50.8|Debug|Parser|Quality parsed: WEBDL-480p v1
-2026-07-07 14:12:50.8|Debug|Parser|Release Group parsed: Erai-raws
-2026-07-07 14:12:50.8|Debug|Parser|Release Hash parsed: C9E3BE4F
-2026-07-07 14:12:50.8|Debug|Parser|Parsing string '[Erai-raws] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 01 [480p CR WEB-DL AVC AAC][MultiSub][C9E3BE4F]'
-2026-07-07 14:12:50.8|Debug|SceneMappingService|Found scene mapping for: Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai. TVDB ID for mapping: 402642
-2026-07-07 14:12:50.8|Debug|ParsingService|No matching series Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai
-2026-07-07 14:12:50.8|Debug|Parser|Parsing string '[Erai-raws] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 01 [480p CR WEB-DL AVC AAC][MultiSub][C9E3BE4F]'
-2026-07-07 14:12:50.8|Debug|SceneMappingService|Found scene mapping for: Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai. TVDB ID for mapping: 402642
-2026-07-07 14:12:50.8|Debug|DownloadDecisionMaker|Release '[Erai-raws] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 01 [480p CR WEB-DL AVC AAC][MultiSub][C9E3BE4F]' from 'Nyaa.si (Prowlarr)' rejected for the following reasons: [Permanent] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai matches an alias for series with TVDB ID: 402642
-2026-07-07 14:12:50.8|Debug|DownloadDecisionMaker|Processing release '[Erai-raws] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 01 [720p CR WEB-DL AVC AAC][MultiSub][66703EA3]' from 'Nyaa.si (Prowlarr)'
-2026-07-07 14:12:50.8|Debug|Parser|Parsing string '[Erai-raws] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 01 [720p CR WEB-DL AVC AAC][MultiSub][66703EA3]'
-2026-07-07 14:12:50.8|Debug|Parser|Episode Parsed. Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 001
-2026-07-07 14:12:50.8|Debug|Parser|Languages parsed: Unknown
-2026-07-07 14:12:50.8|Debug|QualityParser|Trying to parse quality for '[Erai-raws] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 01 [720p CR WEB-DL AVC AAC][MultiSub][66703EA3]'
-2026-07-07 14:12:50.8|Debug|Parser|Quality parsed: WEBDL-720p v1
-2026-07-07 14:12:50.8|Debug|Parser|Release Group parsed: Erai-raws
-2026-07-07 14:12:50.8|Debug|Parser|Release Hash parsed: 66703EA3
-2026-07-07 14:12:50.8|Debug|Parser|Parsing string '[Erai-raws] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 01 [720p CR WEB-DL AVC AAC][MultiSub][66703EA3]'
-2026-07-07 14:12:50.8|Debug|SceneMappingService|Found scene mapping for: Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai. TVDB ID for mapping: 402642
-2026-07-07 14:12:50.8|Debug|ParsingService|No matching series Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai
-2026-07-07 14:12:50.8|Debug|Parser|Parsing string '[Erai-raws] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 01 [720p CR WEB-DL AVC AAC][MultiSub][66703EA3]'
-2026-07-07 14:12:50.8|Debug|SceneMappingService|Found scene mapping for: Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai. TVDB ID for mapping: 402642
-2026-07-07 14:12:50.8|Debug|DownloadDecisionMaker|Release '[Erai-raws] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 01 [720p CR WEB-DL AVC AAC][MultiSub][66703EA3]' from 'Nyaa.si (Prowlarr)' rejected for the following reasons: [Permanent] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai matches an alias for series with TVDB ID: 402642
-2026-07-07 14:12:50.8|Debug|DownloadDecisionMaker|Processing release '[Erai-raws] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 01 [1080p CR WEB-DL AVC AAC][MultiSub][908325CE]' from 'Nyaa.si (Prowlarr)'
-2026-07-07 14:12:50.8|Debug|Parser|Parsing string '[Erai-raws] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 01 [1080p CR WEB-DL AVC AAC][MultiSub][908325CE]'
-2026-07-07 14:12:50.9|Debug|Parser|Episode Parsed. Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 001
-2026-07-07 14:12:50.9|Debug|Parser|Languages parsed: Unknown
-2026-07-07 14:12:50.9|Debug|QualityParser|Trying to parse quality for '[Erai-raws] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 01 [1080p CR WEB-DL AVC AAC][MultiSub][908325CE]'
-2026-07-07 14:12:50.9|Debug|Parser|Quality parsed: WEBDL-1080p v1
-2026-07-07 14:12:50.9|Debug|Parser|Release Group parsed: Erai-raws
-2026-07-07 14:12:50.9|Debug|Parser|Release Hash parsed: 908325CE
-2026-07-07 14:12:50.9|Debug|Parser|Parsing string '[Erai-raws] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 01 [1080p CR WEB-DL AVC AAC][MultiSub][908325CE]'
-2026-07-07 14:12:50.9|Debug|SceneMappingService|Found scene mapping for: Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai. TVDB ID for mapping: 402642
-2026-07-07 14:12:50.9|Debug|ParsingService|No matching series Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai
-2026-07-07 14:12:50.9|Debug|Parser|Parsing string '[Erai-raws] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 01 [1080p CR WEB-DL AVC AAC][MultiSub][908325CE]'
-2026-07-07 14:12:50.9|Debug|SceneMappingService|Found scene mapping for: Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai. TVDB ID for mapping: 402642
-2026-07-07 14:12:50.9|Debug|DownloadDecisionMaker|Release '[Erai-raws] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai - 01 [1080p CR WEB-DL AVC AAC][MultiSub][908325CE]' from 'Nyaa.si (Prowlarr)' rejected for the following reasons: [Permanent] Tai Ari Deshita Ojou-sama wa Kakutou Game Nante Shinai matches an alias for series with TVDB ID: 402642
-2026-07-07 14:12:50.9|Debug|DownloadDecisionMaker|Processing release '[ToonsHub] Saved by the Ice Cold Princes Embrace S01E01 1080p AMZN WEB-DL DDP2.0 H.264 (Migawari Reijou wo Sukutta no wa Reikoku Mujihi na Koori no Ouji no Ai deshita, Multi-Subs)' from 'Nyaa.si (Prowlarr)'
-2026-07-07 14:12:50.9|Debug|Parser|Parsing string '[ToonsHub] Saved by the Ice Cold Princes Embrace S01E01 1080p AMZN WEB-DL DDP2.0 H.264 (Migawari Reijou wo Sukutta no wa Reikoku Mujihi na Koori no Ouji no Ai deshita, Multi-Subs)'
-2026-07-07 14:12:50.9|Debug|Parser|Episode Parsed. Saved by the Ice Cold Princes Embrace - S01E01
-2026-07-07 14:12:50.9|Debug|Parser|Languages parsed: Unknown
-2026-07-07 14:12:50.9|Debug|QualityParser|Trying to parse quality for '[ToonsHub] Saved by the Ice Cold Princes Embrace S01E01 1080p AMZN WEB-DL DDP2.0 H.264 (Migawari Reijou wo Sukutta no wa Reikoku Mujihi na Koori no Ouji no Ai deshita, Multi-Subs)'
-2026-07-07 14:12:50.9|Debug|Parser|Quality parsed: WEBDL-1080p v1
-2026-07-07 14:12:50.9|Debug|Parser|Release Group parsed: ToonsHub
-2026-07-07 14:12:50.9|Debug|ParsingService|No matching series Saved by the Ice Cold Princes Embrace
-2026-07-07 14:12:50.9|Debug|DownloadDecisionMaker|Release '[ToonsHub] Saved by the Ice Cold Princes Embrace S01E01 1080p AMZN WEB-DL DDP2.0 H.264 (Migawari Reijou wo Sukutta no wa Reikoku Mujihi na Koori no Ouji no Ai deshita, Multi-Subs)' from 'Nyaa.si (Prowlarr)' rejected for the following reasons: [Permanent] Unknown Series
-2026-07-07 14:12:50.9|Debug|DownloadDecisionMaker|Processing release '[ASW] Kimi ga Shinu made Koi wo Shitai - 01 [1080p HEVC x265 10Bit][AAC]' from 'Nyaa.si (Prowlarr)'
-2026-07-07 14:12:50.9|Debug|Parser|Parsing string '[ASW] Kimi ga Shinu made Koi wo Shitai - 01 [1080p HEVC x265 10Bit][AAC]'
-2026-07-07 14:12:50.9|Debug|Parser|Episode Parsed. Kimi ga Shinu made Koi wo Shitai - 001
-2026-07-07 14:12:50.9|Debug|Parser|Languages parsed: Unknown
-2026-07-07 14:12:50.9|Debug|QualityParser|Trying to parse quality for '[ASW] Kimi ga Shinu made Koi wo Shitai - 01 [1080p HEVC x265 10Bit][AAC]'
-2026-07-07 14:12:50.9|Debug|Parser|Quality parsed: HDTV-1080p v1
-2026-07-07 14:12:50.9|Debug|Parser|Release Group parsed: ASW
-2026-07-07 14:12:50.9|Debug|Parser|Parsing string '[ASW] Kimi ga Shinu made Koi wo Shitai - 01 [1080p HEVC x265 10Bit][AAC]'
-2026-07-07 14:12:50.9|Debug|SceneMappingService|Found scene mapping for: Kimi ga Shinu made Koi wo Shitai. TVDB ID for mapping: 460899
-2026-07-07 14:12:50.9|Debug|ParsingService|No matching series Kimi ga Shinu made Koi wo Shitai
-2026-07-07 14:12:50.9|Debug|Parser|Parsing string '[ASW] Kimi ga Shinu made Koi wo Shitai - 01 [1080p HEVC x265 10Bit][AAC]'
-2026-07-07 14:12:50.9|Debug|SceneMappingService|Found scene mapping for: Kimi ga Shinu made Koi wo Shitai. TVDB ID for mapping: 460899
-2026-07-07 14:12:50.9|Debug|DownloadDecisionMaker|Release '[ASW] Kimi ga Shinu made Koi wo Shitai - 01 [1080p HEVC x265 10Bit][AAC]' from 'Nyaa.si (Prowlarr)' rejected for the following reasons: [Permanent] Kimi ga Shinu made Koi wo Shitai matches an alias for series with TVDB ID: 460899
-2026-07-07 14:12:50.9|Debug|DownloadDecisionMaker|Processing release 'Red River S01E01 VOSTFR 1080p WEB x264 AAC -Tsundere-Raws (CR) (Sora wa Akai Kawa no Hotori)' from 'Knaben (Prowlarr)'
-2026-07-07 14:12:50.9|Debug|Parser|Parsing string 'Red River S01E01 VOSTFR 1080p WEB x264 AAC -Tsundere-Raws (CR) (Sora wa Akai Kawa no Hotori)'
-2026-07-07 14:12:50.9|Debug|Parser|Episode Parsed. Red River - S01E01
-2026-07-07 14:12:50.9|Debug|Parser|Languages parsed: Unknown
-2026-07-07 14:12:50.9|Debug|QualityParser|Trying to parse quality for 'Red River S01E01 VOSTFR 1080p WEB x264 AAC -Tsundere-Raws (CR) (Sora wa Akai Kawa no Hotori)'
-2026-07-07 14:12:50.9|Debug|Parser|Quality parsed: WEBDL-1080p v1
-2026-07-07 14:12:50.9|Debug|Parser|Release Group parsed: Tsundere-Raws
-2026-07-07 14:12:50.9|Debug|ParsingService|No matching series Red River
-2026-07-07 14:12:50.9|Debug|DownloadDecisionMaker|Release 'Red River S01E01 VOSTFR 1080p WEB x264 AAC -Tsundere-Raws (CR) (Sora wa Akai Kawa no Hotori)' from 'Knaben (Prowlarr)' rejected for the following reasons: [Permanen
\ No newline at end of file
+// Jobs — admin view over the unified job system (job orchestration, "Phase 9").
+//
+// NOTE: This file was reconstructed after a data-loss corruption. It is wired to
+// the real ApiService job methods (see frontend/src/services/api/jobs.js) and
+// follows the host page idioms (PageTopbar + DS components), but the exact
+// original layout could not be recovered — this is a faithful, functional
+// rebuild rather than a byte-for-byte restore.
+import { useState, useEffect, useCallback, useRef } from 'react';
+import { ListChecks, RefreshCw, RotateCcw, XCircle, Play, Clock } from 'lucide-react';
+import api from '../services/api';
+import { PageTopbar, MetricCard, KpiBand, Pill } from '@/components/ds';
+import { Button } from '@/components/ui/button';
+import { useAuth } from '../contexts/AuthContext';
+import { useToast } from '../contexts/ToastContext';
+import { timeAgo } from '../utils/timeAgo';
+
+const STATUSES = ['all', 'queued', 'running', 'succeeded', 'failed', 'cancelled'];
+const POLL_MS = 5000;
+
+// Map a job status to a DS Pill colour.
+const STATUS_KIND = {
+ queued: 'gray',
+ scheduled: 'gray',
+ running: 'cyan',
+ succeeded: 'green',
+ success: 'green',
+ completed: 'green',
+ failed: 'red',
+ error: 'red',
+ cancelled: 'amber',
+ canceled: 'amber',
+};
+
+function statusKind(status) {
+ return STATUS_KIND[String(status || '').toLowerCase()] || 'gray';
+}
+
+export default function Jobs() {
+ const { isAdmin } = useAuth();
+ const toast = useToast();
+ const [jobs, setJobs] = useState([]);
+ const [stats, setStats] = useState(null);
+ const [scheduled, setScheduled] = useState([]);
+ const [status, setStatus] = useState('all');
+ const [kind, setKind] = useState('all');
+ const [kinds, setKinds] = useState([]);
+ const [loading, setLoading] = useState(true);
+ const pollRef = useRef(null);
+
+ const load = useCallback(async () => {
+ try {
+ const params = { limit: 100 };
+ if (status !== 'all') params.status = status;
+ if (kind !== 'all') params.kind = kind;
+ const [jobsRes, statsRes, schedRes] = await Promise.all([
+ api.getJobs(params),
+ api.getJobStats().catch(() => null),
+ api.getScheduledJobs().catch(() => null),
+ ]);
+ setJobs(jobsRes?.jobs || jobsRes || []);
+ setStats(statsRes?.stats || statsRes || null);
+ setScheduled(schedRes?.scheduled || schedRes?.jobs || schedRes || []);
+ } catch {
+ // Keep the last good state on screen rather than blanking the page.
+ } finally {
+ setLoading(false);
+ }
+ }, [status, kind]);
+
+ useEffect(() => {
+ if (!isAdmin) return undefined;
+ api.getJobKinds()
+ .then((res) => setKinds(res?.kinds || res || []))
+ .catch(() => { /* filter just won't populate */ });
+ return undefined;
+ }, [isAdmin]);
+
+ useEffect(() => {
+ if (!isAdmin) return undefined;
+ load();
+ pollRef.current = setInterval(load, POLL_MS);
+ return () => clearInterval(pollRef.current);
+ }, [isAdmin, load]);
+
+ const onRetry = async (id) => {
+ try {
+ await api.retryJob(id);
+ toast.success('Job re-queued');
+ load();
+ } catch {
+ toast.error('Retry failed');
+ }
+ };
+
+ const onCancel = async (id) => {
+ try {
+ await api.cancelJob(id);
+ toast.success('Job cancelled');
+ load();
+ } catch {
+ toast.error('Cancel failed');
+ }
+ };
+
+ const onRunScheduled = async (id) => {
+ try {
+ await api.runScheduledJob(id);
+ toast.success('Scheduled job triggered');
+ load();
+ } catch {
+ toast.error('Trigger failed');
+ }
+ };
+
+ const onToggleScheduled = async (id, enabled) => {
+ try {
+ await api.setScheduledJobEnabled(id, enabled);
+ load();
+ } catch {
+ toast.error('Update failed');
+ }
+ };
+
+ if (!isAdmin) {
+ return (
+ <>
+ <PageTopbar icon={<ListChecks size={18} />} title="Jobs" />
+ <div className="sk-jobs"><div className="sk-jobs__empty">Admins only.</div></div>
+ </>
+ );
+ }
+
+ const byStatus = stats?.by_status || {};
+ const isRunning = (s) => ['running', 'queued', 'scheduled'].includes(String(s || '').toLowerCase());
+ const canRetry = (s) => ['failed', 'error', 'cancelled', 'canceled'].includes(String(s || '').toLowerCase());
+
+ return (
+ <>
+ <PageTopbar
+ icon={<ListChecks size={18} />}
+ title="Jobs"
+ meta="Unified job orchestration across the panel"
+ actions={(
+ <Button variant="outline" size="sm" onClick={load}>
+ <RefreshCw size={14} /> Refresh
+ </Button>
+ )}
+ />
+
+ <div className="sk-jobs">
+ <KpiBand>
+ <MetricCard label="Total" value={stats?.total ?? jobs.length ?? 0} tone="accent" />
+ <MetricCard label="Running" value={byStatus.running ?? 0} tone="cyan" />
+ <MetricCard label="Queued" value={byStatus.queued ?? 0} tone="amber" />
+ <MetricCard label="Failed" value={byStatus.failed ?? 0} tone="red" />
+ </KpiBand>
+
+ <div className="sk-jobs__filters">
+ <label>
+ Status
+ <select value={status} onChange={(e) => setStatus(e.target.value)}>
+ {STATUSES.map((s) => <option key={s} value={s}>{s}</option>)}
+ </select>
+ </label>
+ <label>
+ Kind
+ <select value={kind} onChange={(e) => setKind(e.target.value)}>
+ <option value="all">all</option>
+ {kinds.map((k) => {
+ const value = typeof k === 'string' ? k : k.kind || k.name;
+ return <option key={value} value={value}>{value}</option>;
+ })}
+ </select>
+ </label>
+ </div>
+
+ {loading && jobs.length === 0 ? (
+ <div className="sk-jobs__empty">Loading…</div>
+ ) : jobs.length === 0 ? (
+ <div className="sk-jobs__empty">
+ <ListChecks size={24} aria-hidden="true" />
+ <p>No jobs match these filters.</p>
+ </div>
+ ) : (
+ <div className="sk-jobs__table-wrap">
+ <table className="sk-jobs__table">
+ <thead>
+ <tr>
+ <th>Status</th>
+ <th>Kind</th>
+ <th>Owner</th>
+ <th>Progress</th>
+ <th>When</th>
+ <th aria-label="Actions" />
+ </tr>
+ </thead>
+ <tbody>
+ {jobs.map((job) => (
+ <tr key={job.id}>
+ <td>
+ <Pill kind={statusKind(job.status)}>{job.status}</Pill>
+ </td>
+ <td className="sk-jobs__kind">{job.kind || '—'}</td>
+ <td className="sk-jobs__owner">
+ {job.owner_type
+ ? `${job.owner_type}${job.owner_id ? ` #${job.owner_id}` : ''}`
+ : '—'}
+ </td>
+ <td>
+ {typeof job.progress === 'number'
+ ? `${Math.round(job.progress)}%`
+ : (job.completed_units != null && job.total_units != null)
+ ? `${job.completed_units}/${job.total_units}`
+ : '—'}
+ {job.error && (
+ <div className="sk-jobs__error" title={job.error}>{job.error}</div>
+ )}
+ </td>
+ <td className="sk-jobs__when">
+ {timeAgo(job.created_at || job.updated_at)}
+ </td>
+ <td className="sk-jobs__actions">
+ {isRunning(job.status) && (
+ <Button variant="ghost" size="sm" onClick={() => onCancel(job.id)}>
+ <XCircle size={14} /> Cancel
+ </Button>
+ )}
+ {canRetry(job.status) && (
+ <Button variant="ghost" size="sm" onClick={() => onRetry(job.id)}>
+ <RotateCcw size={14} /> Retry
+ </Button>
+ )}
+ </td>
+ </tr>
+ ))}
+ </tbody>
+ </table>
+ </div>
+ )}
+
+ {scheduled.length > 0 && (
+ <section className="sk-jobs__scheduled">
+ <h2 className="sk-jobs__section-title">
+ <Clock size={16} aria-hidden="true" /> Scheduled jobs
+ </h2>
+ <div className="sk-jobs__table-wrap">
+ <table className="sk-jobs__table">
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>Kind</th>
+ <th>Schedule</th>
+ <th>Next run</th>
+ <th>Enabled</th>
+ <th aria-label="Actions" />
+ </tr>
+ </thead>
+ <tbody>
+ {scheduled.map((sched) => (
+ <tr key={sched.id}>
+ <td>{sched.name || sched.kind || `#${sched.id}`}</td>
+ <td className="sk-jobs__kind">{sched.kind || '—'}</td>
+ <td className="sk-jobs__owner">{sched.schedule || sched.cron || '—'}</td>
+ <td className="sk-jobs__when">
+ {sched.next_run_at ? timeAgo(sched.next_run_at) : '—'}
+ </td>
+ <td>
+ <Pill kind={sched.enabled ? 'green' : 'gray'}>
+ {sched.enabled ? 'On' : 'Off'}
+ </Pill>
+ </td>
+ <td className="sk-jobs__actions">
+ <Button variant="ghost" size="sm" onClick={() => onRunScheduled(sched.id)}>
+ <Play size={14} /> Run now
+ </Button>
+ <Button
+ variant="ghost"
+ size="sm"
+ onClick={() => onToggleScheduled(sched.id, !sched.enabled)}
+ >
+ {sched.enabled ? 'Disable' : 'Enable'}
+ </Button>
+ </td>
+ </tr>
+ ))}
+ </tbody>
+ </table>
+ </div>
+ </section>
+ )}
+ </div>
+ </>
+ );
+}
diff --git a/frontend/src/plugins/runtime/ExtensionBoundary.jsx b/frontend/src/plugins/runtime/ExtensionBoundary.jsx
new file mode 100644
index 00000000..1bc35799
--- /dev/null
+++ b/frontend/src/plugins/runtime/ExtensionBoundary.jsx
@@ -0,0 +1,63 @@
+/**
+ * Per-extension error boundary + failure card (plan 25 Phase 2 #7, Decision 5).
+ *
+ * Fail soft, loudly: a runtime extension bundle that fails to load (integrity or
+ * import error), or whose component throws at render, shows a contained card on
+ * its own routes — never a white screen, never silent absence. The same failure
+ * is surfaced on the Marketplace: the installed row shows a runtime load-state
+ * badge (loaded / SDK-incompatible / failed) read from the loader's
+ * `getRuntimeLoadState`, with the error string in a popover (plan 32 #5).
+ */
+import { Component } from 'react';
+
+// Plain (dependency-free) card so it renders even if the SDK/design-system is
+// itself the thing that failed. Styled by _extensions.scss (.sk-ext-failcard).
+export function ExtensionFailureCard({ slug, title, message }) {
+ return (
+ <div className="sk-ext-failcard" role="alert">
+ <div className="sk-ext-failcard__icon" aria-hidden="true">⚠</div>
+ <div className="sk-ext-failcard__body">
+ <h2 className="sk-ext-failcard__title">
+ {title || 'Extension failed to load'}
+ </h2>
+ <p className="sk-ext-failcard__desc">
+ The extension <code>{slug}</code> could not be loaded
+ {message ? ': ' : '.'}
+ {message && <span className="sk-ext-failcard__reason">{message}</span>}
+ </p>
+ <p className="sk-ext-failcard__hint">
+ Its other pages and the rest of the panel are unaffected. Try
+ reinstalling or updating it from the Marketplace.
+ </p>
+ </div>
+ </div>
+ );
+}
+
+export class ExtensionErrorBoundary extends Component {
+ constructor(props) {
+ super(props);
+ this.state = { error: null };
+ }
+
+ static getDerivedStateFromError(error) {
+ return { error };
+ }
+
+ componentDidCatch(error, info) {
+ console.error(`[plugins] extension "${this.props.slug}" crashed at render:`, error, info);
+ }
+
+ render() {
+ if (this.state.error) {
+ return (
+ <ExtensionFailureCard
+ slug={this.props.slug}
+ title="Extension crashed"
+ message={this.state.error?.message || String(this.state.error)}
+ />
+ );
+ }
+ return this.props.children;
+ }
+}
diff --git a/frontend/src/plugins/serverkit-gpu/components/GpuMonitor.jsx b/frontend/src/plugins/serverkit-gpu/components/GpuMonitor.jsx
new file mode 100644
index 00000000..1dca0948
--- /dev/null
+++ b/frontend/src/plugins/serverkit-gpu/components/GpuMonitor.jsx
@@ -0,0 +1,202 @@
+// GPU Monitor page — the serverkit-gpu extension's UI, moved out of core as the
+// first CORE_SLIM slice (plan 32 #7). Imports come from the SDK (PageTopbar,
+// KpiBand, api, useToast); EmptyState + Button are host components not yet on the
+// SDK surface, so they resolve via the `@/` alias (fine for the baked path — a
+// future runtime-ESM build would bundle them or promote them into the SDK).
+import { useState, useEffect, useCallback } from 'react';
+import { Cpu, RefreshCw, Thermometer, Zap, Fan } from 'lucide-react';
+import { PageTopbar, KpiBand, api, useToast } from 'serverkit-sdk';
+import EmptyState from '@/components/EmptyState';
+import { Button } from '@/components/ui/button';
+
+function clampPercent(value) {
+ const n = Number(value);
+ if (!Number.isFinite(n)) return 0;
+ return Math.min(100, Math.max(0, n));
+}
+
+function utilTone(percent) {
+ if (percent >= 85) return 'is-red';
+ if (percent >= 60) return 'is-amber';
+ return 'is-green';
+}
+
+function formatMib(value) {
+ const n = Number(value);
+ if (!Number.isFinite(n)) return '—';
+ if (n >= 1024) return `${(n / 1024).toFixed(1)} GiB`;
+ return `${Math.round(n)} MiB`;
+}
+
+const GpuCard = ({ gpu }) => {
+ const util = clampPercent(gpu.utilization_gpu);
+ const memPercent = clampPercent(
+ gpu.memory_percent != null
+ ? gpu.memory_percent
+ : (gpu.memory_total ? (gpu.memory_used / gpu.memory_total) * 100 : 0)
+ );
+
+ return (
+ <div className="gpu-card">
+ <div className="gpu-card__head">
+ <div className="gpu-card__title">
+ <Cpu size={16} />
+ <span className="gpu-card__name">{gpu.name || `GPU ${gpu.index}`}</span>
+ </div>
+ <span className="gpu-card__index">#{gpu.index}</span>
+ </div>
+
+ <div className="gpu-card__bars">
+ <div className="gpu-bar">
+ <div className="gpu-bar__head">
+ <span className="gpu-bar__label">GPU Utilization</span>
+ <span className="gpu-bar__value">{util}%</span>
+ </div>
+ <div className="gpu-bar__track">
+ <div className={`gpu-bar__fill ${utilTone(util)}`} style={{ width: `${util}%` }} />
+ </div>
+ </div>
+
+ <div className="gpu-bar">
+ <div className="gpu-bar__head">
+ <span className="gpu-bar__label">VRAM</span>
+ <span className="gpu-bar__value">
+ {formatMib(gpu.memory_used)} / {formatMib(gpu.memory_total)} ({Math.round(memPercent)}%)
+ </span>
+ </div>
+ <div className="gpu-bar__track">
+ <div className={`gpu-bar__fill ${utilTone(memPercent)}`} style={{ width: `${memPercent}%` }} />
+ </div>
+ </div>
+ </div>
+
+ <div className="gpu-stats">
+ <div className="gpu-stat">
+ <Thermometer size={14} />
+ <span className="gpu-stat__label">Temp</span>
+ <span className="gpu-stat__value">
+ {gpu.temperature != null ? `${gpu.temperature}°C` : '—'}
+ </span>
+ </div>
+ <div className="gpu-stat">
+ <Zap size={14} />
+ <span className="gpu-stat__label">Power</span>
+ <span className="gpu-stat__value">
+ {gpu.power_draw != null ? `${Math.round(gpu.power_draw)}W` : '—'}
+ {gpu.power_limit != null && (
+ <span className="gpu-stat__sub"> / {Math.round(gpu.power_limit)}W</span>
+ )}
+ </span>
+ </div>
+ <div className="gpu-stat">
+ <Fan size={14} />
+ <span className="gpu-stat__label">Fan</span>
+ <span className="gpu-stat__value">
+ {gpu.fan_speed != null ? `${gpu.fan_speed}%` : '—'}
+ </span>
+ </div>
+ <div className="gpu-stat">
+ <Cpu size={14} />
+ <span className="gpu-stat__label">Driver</span>
+ <span className="gpu-stat__value">{gpu.driver_version || '—'}</span>
+ </div>
+ </div>
+ </div>
+ );
+};
+
+const GpuMonitor = () => {
+ const toast = useToast();
+ const [data, setData] = useState(null);
+ const [loading, setLoading] = useState(true);
+ const [refreshing, setRefreshing] = useState(false);
+
+ const load = useCallback(async (isRefresh = false) => {
+ if (isRefresh) setRefreshing(true);
+ try {
+ const result = await api.getGpuInfo();
+ setData(result);
+ } catch (err) {
+ if (isRefresh) toast.error(err.message || 'Failed to load GPU info');
+ console.error('Failed to load GPU info:', err);
+ } finally {
+ setLoading(false);
+ setRefreshing(false);
+ }
+ }, [toast]);
+
+ useEffect(() => { load(); }, [load]);
+
+ const gpus = data?.gpus || [];
+ const processes = data?.processes || [];
+
+ return (
+ <div className="page-container gpu-page">
+ <PageTopbar
+ icon={<Cpu size={18} />}
+ title="GPU Monitor"
+ meta={data?.available ? `${gpus.length} GPU${gpus.length !== 1 ? 's' : ''}` : undefined}
+ actions={
+ <Button variant="outline" size="sm" onClick={() => load(true)} disabled={refreshing}>
+ <RefreshCw size={15} />
+ {refreshing ? 'Refreshing…' : 'Refresh'}
+ </Button>
+ }
+ />
+
+ {loading ? (
+ <EmptyState loading title="Loading GPU data" />
+ ) : !data?.available ? (
+ <EmptyState
+ icon={Cpu}
+ size="lg"
+ title="No NVIDIA GPU detected"
+ description="This host has no NVIDIA GPU, or the NVIDIA drivers / nvidia-smi are not available."
+ />
+ ) : (
+ <>
+ {/* Custom live-meter tiles kept per Plan 20 Decision 5 — band supplies grid/spacing only */}
+ <KpiBand max={5}>
+ {gpus.map((gpu) => (
+ <GpuCard key={gpu.index} gpu={gpu} />
+ ))}
+ </KpiBand>
+
+ <div className="gpu-procs">
+ <div className="gpu-procs__head">
+ <h2>GPU Processes</h2>
+ <span className="text-muted">{processes.length} running</span>
+ </div>
+ <table className="sk-dtable gpu-procs__table">
+ <thead>
+ <tr>
+ <th>PID</th>
+ <th>Process</th>
+ <th>Container</th>
+ <th>VRAM</th>
+ </tr>
+ </thead>
+ <tbody>
+ {processes.map((proc, i) => (
+ <tr key={`${proc.pid}-${i}`}>
+ <td className="sk-cell-mono">{proc.pid}</td>
+ <td>{proc.process_name || '—'}</td>
+ <td>{proc.container || '—'}</td>
+ <td className="sk-cell-mono">{formatMib(proc.used_memory)}</td>
+ </tr>
+ ))}
+ {processes.length === 0 && (
+ <tr>
+ <td colSpan={4} className="text-center text-muted">No active GPU processes</td>
+ </tr>
+ )}
+ </tbody>
+ </table>
+ </div>
+ </>
+ )}
+ </div>
+ );
+};
+
+export default GpuMonitor;
diff --git a/frontend/src/styles/components/_design-system.scss b/frontend/src/styles/components/_design-system.scss
index 587200c0..783abe18 100644
--- a/frontend/src/styles/components/_design-system.scss
+++ b/frontend/src/styles/components/_design-system.scss
@@ -177,6 +177,80 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
}
}
+// ------------------------------------------------------------
+// KpiBand — the one responsive grid wrapper for MetricCard tiles (plan 20).
+// `--kpi-cols` is set inline by the component; tiles collapse to fewer columns
+// as the viewport narrows so every summary strip shares one collapse behaviour.
+// ------------------------------------------------------------
+.sk-kpiband-wrap {
+ display: flex;
+ flex-direction: column;
+ gap: 10px;
+}
+
+.sk-kpiband {
+ display: grid;
+ grid-template-columns: repeat(var(--kpi-cols, 4), minmax(0, 1fr));
+ gap: 14px;
+
+ &--dense { gap: 10px; }
+
+ @media (max-width: 1100px) {
+ grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
+ }
+ @media (max-width: 560px) {
+ grid-template-columns: 1fr 1fr;
+ }
+
+ // Skeleton tile — same geometry as .sk-kpi so content doesn't jump on load.
+ &__skel {
+ height: 96px;
+ border-radius: var(--radius);
+ border: 1px solid var(--border-soft);
+ background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 37%, var(--surface) 63%);
+ background-size: 400% 100%;
+ animation: sk-kpiband-shimmer 1.4s ease infinite;
+ }
+
+ // "More stats" disclosure toggle + the folded compact strip.
+ &__more {
+ align-self: flex-start;
+ background: none;
+ border: none;
+ padding: 2px 0;
+ font-size: 12px;
+ color: var(--accent-bright);
+ cursor: pointer;
+
+ &:hover { text-decoration: underline; }
+ }
+
+ &__strip {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 8px 20px;
+ padding: 10px 12px;
+ border: 1px solid var(--border-soft);
+ border-radius: var(--radius);
+ background: var(--surface);
+ }
+
+ &__stripitem { display: flex; flex-direction: column; gap: 2px; }
+ &__stripval {
+ font-family: var(--mono);
+ font-size: 15px;
+ font-weight: 600;
+ color: var(--text);
+ small { font-size: 11px; color: var(--text-faint); font-weight: 500; }
+ }
+ &__striplabel { font-size: 11.5px; color: var(--text-faint); }
+}
+
+@keyframes sk-kpiband-shimmer {
+ 0% { background-position: 100% 0; }
+ 100% { background-position: -100% 0; }
+}
+
// ------------------------------------------------------------
// Gauge — thin inline meter bar (threshold-colored fill)
// ------------------------------------------------------------
diff --git a/frontend/src/styles/components/_shared-resources.scss b/frontend/src/styles/components/_shared-resources.scss
index aadfae2c..fc2e2ab0 100644
--- a/frontend/src/styles/components/_shared-resources.scss
+++ b/frontend/src/styles/components/_shared-resources.scss
@@ -375,36 +375,18 @@
display: flex;
flex-direction: column;
gap: $space-4;
- ty for '[Anime Time] Attack on Titan Season 4 - Finale 2'
-2026-07-07 12:00:05.1|Debug|Parser|Quality parsed: Unknown v1
-2026-07-07 12:00:05.1|Debug|Parser|Release Group parsed: Anime Time
-2026-07-07 12:00:05.1|Debug|Parser|Parsing string '[Anime Time] Attack on Titan Season 4 - Finale 2'
-2026-07-07 12:00:05.1|Debug|Parser|Episode Parsed. Attack on Titan - Season 04
-2026-07-07 12:00:05.1|Debug|Parser|Languages parsed: Unknown
-2026-07-07 12:00:05.1|Debug|QualityParser|Trying to parse quality for '[Anime Time] Attack on Titan Season 4 - Finale 2'
-2026-07-07 12:00:05.1|Debug|Parser|Quality parsed: Unknown v1
-2026-07-07 12:00:05.1|Debug|Parser|Release Group parsed: Anime Time
-2026-07-07 12:00:05.1|Debug|Parser|Parsing string '[Anime Time] Attack on Titan Season 4 - Finale 2'
-2026-07-07 12:00:05.1|Debug|Parser|Episode Parsed. Attack on Titan - Season 04
-2026-07-07 12:00:05.1|Debug|Parser|Languages parsed: Unknown
-2026-07-07 12:00:05.1|Debug|QualityParser|Trying to parse quality for '[Anime Time] Attack on Titan Season 4 - Finale 2'
-2026-07-07 12:00:05.1|Debug|Parser|Quality parsed: Unknown v1
-2026-07-07 12:00:05.1|Debug|Parser|Release Group parsed: Anime Time
-2026-07-07 12:00:05.1|Debug|Parser|Parsing string '[Anime Time] Attack on Titan Season 4 - Finale 2'
-2026-07-07 12:00:05.1|Debug|Parser|Episode Parsed. Attack on Titan - Season 04
-2026-07-07 12:00:05.2|Debug|Parser|Languages parsed: Unknown
-2026-07-07 12:00:05.2|Debug|QualityParser|Trying to parse quality for '[Anime Time] Attack on Titan Season 4 - Finale 2'
-2026-07-07 12:00:05.2|Debug|Parser|Quality parsed: Unknown v1
-2026-07-07 12:00:05.2|Debug|Parser|Release Group parsed: Anime Time
-2026-07-07 12:00:05.2|Debug|Parser|Parsing string '[Anime Time] Attack on Titan Season 4 - Finale 2'
-2026-07-07 12:00:05.2|Debug|Parser|Episode Parsed. Attack on Titan - Season 04
-2026-07-07 12:00:05.2|Debug|Parser|Languages parsed: Unknown
-2026-07-07 12:00:05.2|Debug|QualityParser|Trying to parse quality for '[Anime Time] Attack on Titan Season 4 - Finale 2'
-2026-07-07 12:00:05.2|Debug|Parser|Quality parsed: Unknown v1
-2026-07-07 12:00:05.2|Debug|Parser|Release Group parsed: Anime Time
-2026-07-07 12:00:05.2|Debug|Parser|Parsing string '[Anime Time] Attack on Titan Season 4 - Finale 2'
-2026-07-07 12:00:05.2|Debug|Parser|Episode Parsed. Attack on Titan - Season 04
-2026-07-07 12:00:05.2|Debug|Parser|Languages parsed: Unknown
-2026-07-07 12:00:05.2|Debug|QualityParser|Trying to parse quality for '[Anime Time] Attack on Titan Season 4 - Finale 2'
-2026-07-07 12:00:05.2|Debug|Parser|Quality parsed: Unknown v1
-2026-07-07 12:00:05.2|Debug|Pars
\ No newline at end of file
+
+ &-header {
+ display: flex;
+ justify-content: space-between;
+ align-items: flex-start;
+ gap: $space-3;
+ }
+ }
+
+ &__desc {
+ color: $text-tertiary;
+ font-size: $font-size-sm;
+ margin: 0;
+ }
+}
diff --git a/frontend/src/styles/pages/_backups.scss b/frontend/src/styles/pages/_backups.scss
index af48f954..b46ff230 100644
--- a/frontend/src/styles/pages/_backups.scss
+++ b/frontend/src/styles/pages/_backups.scss
@@ -1,10 +1,680 @@
-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"}],"stop_reason":"tool_use","stop_sequence":null,"stop_details":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3328,"cache_read_input_tokens":258148,"output_tokens":1984,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":3328,"ephemeral_5m_input_tokens":0},"inference_geo":"not_available","iterations":[{"input_tokens":2,"output_tokens":1984,"cache_read_input_tokens":258148,"cache_creation_input_tokens":3328,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":3328},"type":"message"}],"speed":"standard"},"diagnostics":null},"requestId":"req_011CcnxA9cThuB62hk1nQa9x","type":"assistant","uuid":"dd93c7f8-826a-4eb8-8674-31eae9f9214b","timestamp":"2026-07-07T15:42:37.720Z","userType":"external","entrypoint":"cli","cwd":"C:\\Users\\Juan\\Documents\\GitHub\\ServerKit","sessionId":"cdfd365e-6138-447e-ae3d-1d17eaa16498","version":"2.1.197","gitBranch":"HEAD"}
-{"parentUuid":"dd93c7f8-826a-4eb8-8674-31eae9f9214b","isSidechain":false,"message":{"model":"claude-opus-4-8","id":"msg_011CcnxAC2ZhePYuahgxeMmH","type":"message","role":"assistant","content":[{"type":"text","text":"Critical findings: Documents is **not** OneDrive-backed, Recycle Bin bypassed. The unpushed commits only survive if there's a Volume Shadow Copy / restore point, or the GitHub remote. Let me check both recovery avenues:"}],"stop_reason":"tool_use","stop_sequence":null,"stop_details":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3328,"cache_read_input_tokens":258148,"output_tokens":1984,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":3328,"ephemeral_5m_input_tokens":0},"inference_geo":"not_available","iterations":[{"input_tokens":2,"output_tokens":1984,"cache_read_input_tokens":258148,"cache_creation_input_tokens":3328,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":3328},"type":"message"}],"speed":"standard"},"diagnostics":null},"requestId":"req_011CcnxA9cThuB62hk1nQa9x","type":"assistant","uuid":"0310623c-db69-4a0d-8002-967d7527480d","timestamp":"2026-07-07T15:42:38.597Z","userType":"external","entrypoint":"cli","cwd":"C:\\Users\\Juan\\Documents\\GitHub\\ServerKit","sessionId":"cdfd365e-6138-447e-ae3d-1d17eaa16498","version":"2.1.197","gitBranch":"HEAD"}
-{"parentUuid":"0310623c-db69-4a0d-8002-967d7527480d","isSidechain":false,"message":{"model":"claude-opus-4-8","id":"msg_011CcnxAC2ZhePYuahgxeMmH","type":"message","role":"assistant","content":[{"type":"tool_use","id":"toolu_01N4eBeWoctiXCTxxptNQgm7","name":"PowerShell","input":{"command":"Write-Output \"=== Restore points ===\"; try { Get-ComputerRestorePoint -ErrorAction Stop | Format-Table SequenceNumber, CreationTime, Description -Auto } catch { \"restore-point query: $($_.Exception.Message)\" }\nWrite-Output \"=== vssadmin shadows ===\"; & vssadmin list shadows 2>&1 | Select-Object -First 30\nWrite-Output \"=== Previous Versions dir listing via wmic ===\"; & cmd /c \"vssadmin list shadowstorage\" 2>&1 | Select-Object -First 15\nWrite-Output \"=== git remote reachable? ===\"; & git ls-remote https://github.com/jhd3197/ServerKit.git 2>&1 | Select-Object -First 15","description":"Check restore points, shadow copies, remote"},"caller":{"type":"direct"}}],"stop_reason":"tool_use","stop_sequence":null,"stop_details":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":3328,"cache_read_input_tokens":258148,"output_tokens":1984,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":3328,"ephemeral_5m_input_tokens":0},"inference_geo":"not_available","iterations":[{"input_tokens":2,"output_tokens":1984,"cache_read_input_tokens":258148,"cache_creation_input_tokens":3328,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":3328},"type":"message"}],"speed":"standard"},"diagnostics":null},"requestId":"req_011CcnxA9cThuB62hk1nQa9x","type":"assistant","uuid":"e1c3e155-b961-4b17-8951-00a5b7570c2c","timestamp":"2026-07-07T15:42:42.234Z","userType":"external","entrypoint":"cli","cwd":"C:\\Users\\Juan\\Documents\\GitHub\\ServerKit","sessionId":"cdfd365e-6138-447e-ae3d-1d17eaa16498","version":"2.1.197","gitBranch":"HEAD"}
-{"type":"last-prompt","lastPrompt":"# ServerKit Plan Executor > Set the plan path below, paste this whole file as your message. Claude executes every > phase, one by one, with subagents — no questions, no stopping early. ## PLAN ```…","leafUuid":"e1c3e155-b961-4b17-8951-00a5b7570c2c","sessionId":"cdfd365e-6138-447e-ae3d-1d17eaa16498"}
-{"type":"ai-title","aiTitle":"Execute ServerKit staging testbed plan","sessionId":"cdfd365e-6138-447e-ae3d-1d17eaa16498"}
-{"type":"mode","mode":"normal","sessionId":"cdfd365e-6138-447e-ae3d-1d17eaa16498"}
-{"parentUuid":"e1c3e155-b961-4b17-8951-00a5b7570c2c","isSidechain":false,"promptId":"487ba573-d3df-4194-aced-415c39485354","type":"user","message":{"role":"user","content":[{"type":"tool_result","content":"Exit code 2\n=== Restore points ===\r\nrestore-point query: Access denied \r\n=== vssadmin shadows ===\r\nvssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool\r\n(C) Copyright 2001-2013 Microsoft Corp.\r\n\r\nError: You don't have the correct permissions to run this command. Please run this utility from a command\r\nwindow that has elevated administrator privileges.\r\n \r\n=== Previous Versions dir listing via wmic ===\r\nvssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool\r\n(C) Copyright 2001-2013 Microsoft Corp.\r\n\r\nError: You don't have the correct permissions to run this command. Please run this utility from a command\r\nwindow that has elevated administrator privileges.\r\n \r\n=== git remote reachable? ===\r\n578b034448c492f905628217c90c6dd73da80937\tHEAD\r\n07baefb53f12e070f600746443856ea7fa059c32\trefs/heads/dev\r\n578b034448c492f905628217c90c6dd73da80937\trefs/heads/main\r\n739a106d0763c57e267e83924c6a68f011e7b55e\trefs/heads/new-ui\r\n976ba5ad372b8477bfe476786a6060ef4542d0c8\trefs/pull/1/head\r\n1e8afb7a438aa318b678dbf7f05dcce8229462b9\trefs/pull/10/head\r\n62fda1697626f1c67cd7168a60193b8c97fb524e\trefs/pull/11/head\r\ne1fe2a290ef230c158839c396917c942f063f770\trefs/pull/13/head\r\nbefcdb9e9e1e413b848a9e14a9d76c8079a30c42\trefs/pull/14/head\r\n401fd71402b2dddd7196e6ba117081160003c9a5\trefs/pull/15/head\r\n34ca8dee8fc5b1d03379144f1484be9227eaab35\trefs/pull/16/head\r\nd9e12d1eb14844ad1ad33ebf3b07fa270c7661ed\trefs/pull/17/head\r\n5f0b70b06c4d029328635a7115208783056502be\trefs/pull/18/head\r\nbbf24a4704ea7a7f29b87539bd87956b2d6e99e7\trefs/pull/2/head\r\n43004416f9f74e8346c6b31d96ce3ff4769ce0df\trefs/pull/20/head","is_error":true,"tool_use_id":"toolu_01N4eBeWoctiXCTxxptNQgm7"}]},"uuid":"5ac719ea-4bb5-47e7-a9ae-eeaf451b415a","timestamp":"2026-07-07T15:42:46.010Z","toolUseResult":"Error: Exit code 2\n=== Restore points ===\r\nrestore-point query: Access denied \r\n=== vssadmin shadows ===\r\nvssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool\r\n(C) Copyright 2001-2013 Microsoft Corp.\r\n\r\nError: You don't have the correct permissions to run this command. Please run this utility from a command\r\nwindow that has elevated administrator privileges.\r\n \r\n=== Previous Versions dir listing via wmic ===\r\nvssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool\r\n(C) Copyright 2001-2013 Microsoft Corp.\r\n\r\nError: You don't have the correct permissions to run this command. Please run this utility from a command\r\nwindow that has elevated administrator privileges.\r\n \r\n=== git remote reachable? ===\r\n578b034448c492f905628217c90c6dd73da80937\tHEAD\r\n07baefb53f12e070f600746443856ea7fa059c32\trefs/heads/dev\r\n578b034448c492f905628217c90c6dd73da80937\trefs/heads/main\r\n739a106d0763c57e267e83924c6a68f011e7b55e\trefs/heads/new-ui\r\n976ba5ad372b8477bfe476786a6060ef4542d0c8\trefs/pull/1/head\r\n1e8afb7a438aa318b678dbf7f05dcce8229462b9\trefs/pull/10/head\r\n62fda1697626f1c67cd7168a60193b8c97fb524e\trefs/pull/11/head\r\ne1fe2a290ef230c158839c396917c942f063f770\trefs/pull/13/head\r\nbefcdb9e9e1e413b848a9e14a9d76c8079a30c42\trefs/pull/14/head\r\n401fd71402b2dddd7196e6ba117081160003c9a5\trefs/pull/15/head\r\n34ca8dee8fc5b1d03379144f1484be9227eaab35\trefs/pull/16/head\r\nd9e12d1eb14844ad1ad33ebf3b07fa270c7661ed\trefs/pull/17/head\r\n5f0b70b06c4d029328635a7115208783056502be\trefs/pull/18/head\r\nbbf24a4704ea7a7f29b87539bd87956b2d6e99e7\trefs/pull/2/head\r\n43004416f9f74e8346c6b31d96ce3ff4769ce0df\trefs/pull/20/head","sourceToolAssistantUUID":"e1c3e155-b961-4b17-8951-00a5b7570c2c","userType":"external","entrypoint":"cli","cwd":"C:\\Users\\Juan\\Documents\\GitHub\\ServerKit","sessionId":"cdfd365e-6138-447e-ae3d-1d17eaa16498","version":"2.1.197","gitBranch":"HEAD"}
-{"parentUuid":"5ac719ea-4bb5-47e7-a9ae-eeaf451b415a","isSidechain":false,"message":{"model":"claude-opus-4-8","id":"msg_011CcnxCgqyAWrW7sHmVtEk6","type":"message","role":"assistant","content":[{"type":"thinking","thinking":"","signature":"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"}],"stop_reason":"tool_use","stop_sequence":null,"stop_details":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":2797,"cache_read_input_tokens":261476,"output_tokens":2090,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":2797,"ephemeral_5m_input_tokens":0},"inference_geo":"not_available","iterations":[{"input_tokens":2,"output_tokens":2090,"cache_read_input_tokens":261476,"cache_creation_input_tokens":2797,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":2797},"type":"message"}],"speed":"standard"},"diagnostics":null},"requestId":"req_011CcnxCdtcwMwH94on8fJ6v","type":"assistant","uuid":"1a34a991-1644-4726-8618-96c08a2cba2a","timestamp":"2026-07-07T15:43:13.995Z","userType":"external","entrypoint":"cli","cwd":"C:\\Users\\Juan\\Documents\\GitHub\\ServerKit","sessionId":"cdfd365e-6138-447e-ae3d-1d17eaa16498","version":"2.1.197","gitBranch":"HEAD"}
-{"parentUuid":"1a34a991-1644-4726-8618-96c08a2cba2a","isSidechain":false,"message":{"model":"claude-opus-4-8","id":"msg_011CcnxCgqyAWrW7sHmVtEk6","type":"message","role":"assistant","content":[{"type":"text","text":"The situation is now clear and serious. Let me do one more **non-elevated** recovery check (File History), then I must stop and report to you — this needs your decision and elevated access:"}],"stop_reason":"tool_use","stop_sequence":null,"stop_details":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":2797,"cache_read_input_tokens":261476,"output_tokens":2090,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":2797,"ephemeral_5m_input_tokens":0},"inference_geo":"not_available","iterations":[{"input_tokens":2,"output_tokens":2090,"cache_read_input_tokens":261476,"cache_creation_input_tokens":2797,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":2797},"type":"message"}],"speed":"standard"},"diagnostics":null},"requestId":"req_011CcnxCdtcwMwH94on8fJ6v","type":"assistant","uuid":"f8e04adb-fafb-4b12-855a-7d82123acc09","timestamp":"2026-07-07T15:43:14.826Z","userType":"external","entrypoint":"cli","cwd":"C:\\Users\\Juan\\Documents\\GitHub\\ServerKit","sessionId":"cdfd365e-6138-447e-ae3d-1d17eaa16498","version":"2.1.197","gitBranch":"HEAD"}
-{"parentUuid":"f8e04adb-fafb-4b12-855a-7d82123acc09","isSidechain":false,"message":{"model":"claude-opus-4-8","id":"msg_011CcnxCgqyAWrW7sHmVtEk6","type":"message","role":"assistant","content":[{"type":"tool_use","id":"toolu_01MWz2Ja4hPnZG7qF1PHtNT2","name":"PowerShell","input":{"command":"Write-Output \"=== File History configured? ===\"\n$fh = Get-ItemProperty 'HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\FileHistory' -ErrorAction SilentlyCon
\ No newline at end of file
+// ============================================
+// BACKUPS PAGE
+// ============================================
+// Reconstructed after a data-loss corruption. Rebuilt from the class usage in
+// pages/Backups.jsx and components/backups/*, using design-system tokens only.
+// Layout-faithful to the surviving JSX; visual details are a best-effort
+// restore rather than a byte-for-byte recovery of the original 22KB sheet.
+
+.backups-page {
+ display: flex;
+ flex-direction: column;
+ gap: $space-5;
+}
+
+// ---------- KPI strip / generic cards ----------
+.bk-kpis {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
+ gap: $space-3;
+}
+
+.bk-card {
+ background: $bg-card;
+ border: 1px solid $border-subtle;
+ border-radius: $radius-lg;
+ padding: $space-4;
+}
+
+.bk-actions {
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ gap: $space-2;
+}
+
+.bk-listhead {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ gap: $space-3;
+ margin-bottom: $space-3;
+}
+
+.bk-empty {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ gap: $space-3;
+ padding: $space-12 $space-6;
+ text-align: center;
+ color: $text-tertiary;
+ background: $bg-card;
+ border: 1px dashed $border-subtle;
+ border-radius: $radius-lg;
+
+ svg { color: $text-tertiary; opacity: 0.7; }
+}
+
+// ---------- Backups / schedules table ----------
+.bk-table {
+ width: 100%;
+ border-collapse: collapse;
+ font-size: $font-size-base;
+
+ th,
+ td {
+ text-align: left;
+ padding: $space-3;
+ border-bottom: 1px solid $border-subtle;
+ vertical-align: middle;
+ }
+
+ th {
+ color: $text-tertiary;
+ font-weight: $font-weight-semibold;
+ font-size: $font-size-xs;
+ text-transform: uppercase;
+ letter-spacing: 0.04em;
+ }
+
+ tbody tr:hover {
+ background: $bg-hover;
+ }
+
+ &--schedules {
+ td { vertical-align: top; }
+ }
+}
+
+.bk-ico {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ color: $text-secondary;
+}
+
+.bk-type {
+ display: inline-flex;
+ align-items: center;
+ gap: $space-1;
+ font-size: $font-size-sm;
+ color: $text-secondary;
+}
+
+.bk-when {
+ color: $text-tertiary;
+ font-size: $font-size-sm;
+ white-space: nowrap;
+}
+
+.bk-specs {
+ display: flex;
+ flex-wrap: wrap;
+ gap: $space-2;
+ color: $text-tertiary;
+ font-size: $font-size-sm;
+}
+
+.bk-sched {
+ font-family: $font-mono;
+ font-size: $font-size-sm;
+ color: $text-secondary;
+}
+
+.bk-remote-on { color: $success; }
+.bk-remote-off { color: $text-tertiary; }
+
+.bk-restore-details {
+ display: flex;
+ flex-direction: column;
+ gap: $space-2;
+ font-size: $font-size-sm;
+ color: $text-secondary;
+}
+
+.bk-restore-warn {
+ display: flex;
+ align-items: flex-start;
+ gap: $space-2;
+ padding: $space-3;
+ border-radius: $radius-md;
+ background: $warning-bg;
+ border: 1px solid $warning-border;
+ color: $warning;
+ font-size: $font-size-sm;
+}
+
+// ---------- Backup history list ----------
+.backup-history-list {
+ display: flex;
+ flex-direction: column;
+ gap: $space-2;
+
+ &__row {
+ display: flex;
+ align-items: center;
+ gap: $space-3;
+ padding: $space-3;
+ background: $bg-card;
+ border: 1px solid $border-subtle;
+ border-radius: $radius-md;
+ }
+
+ &__ico {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ color: $text-secondary;
+ }
+
+ &__storage {
+ color: $text-tertiary;
+ font-size: $font-size-sm;
+ }
+
+ &__when {
+ margin-left: auto;
+ color: $text-tertiary;
+ font-size: $font-size-sm;
+ white-space: nowrap;
+ }
+
+ &__actions {
+ display: flex;
+ gap: $space-1;
+ }
+}
+
+.backup-history-card {
+ background: $bg-card;
+ border: 1px solid $border-subtle;
+ border-radius: $radius-lg;
+ padding: $space-4;
+
+ &__tools {
+ display: flex;
+ align-items: center;
+ gap: $space-2;
+ }
+
+ &__chip {
+ display: inline-flex;
+ align-items: center;
+ gap: $space-1;
+ padding: 1px $space-2;
+ border-radius: $radius-sm;
+ background: $bg-hover;
+ border: 1px solid $border-subtle;
+ color: $text-secondary;
+ font-size: $font-size-xs;
+ }
+
+ &__toggle {
+ display: inline-flex;
+ align-items: center;
+ gap: $space-1;
+ background: transparent;
+ border: none;
+ color: $accent-primary;
+ cursor: pointer;
+ font-size: $font-size-sm;
+ }
+}
+
+// ---------- Backup calendar ----------
+.backup-calendar {
+ background: $bg-card;
+ border: 1px solid $border-subtle;
+ border-radius: $radius-lg;
+ padding: $space-4;
+
+ &__head {
+ display: flex;
+ align-items: center;
+ gap: $space-2;
+ margin-bottom: $space-3;
+ }
+
+ &__nav {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ width: 28px;
+ height: 28px;
+ background: transparent;
+ border: 1px solid $border-subtle;
+ border-radius: $radius-sm;
+ color: $text-secondary;
+ cursor: pointer;
+
+ &:hover { border-color: $border-active; color: $text-primary; }
+ }
+
+ &__month {
+ font-weight: $font-weight-semibold;
+ color: $text-primary;
+ }
+
+ &__today {
+ margin-left: auto;
+ background: transparent;
+ border: 1px solid $border-subtle;
+ border-radius: $radius-sm;
+ padding: $space-1 $space-2;
+ color: $text-secondary;
+ font-size: $font-size-sm;
+ cursor: pointer;
+
+ &:hover { border-color: $border-active; color: $text-primary; }
+ }
+
+ &__grid {
+ display: grid;
+ grid-template-columns: repeat(7, 1fr);
+ gap: $space-1;
+ }
+
+ &__dow {
+ text-align: center;
+ color: $text-tertiary;
+ font-size: $font-size-xs;
+ text-transform: uppercase;
+ letter-spacing: 0.04em;
+ padding: $space-1 0;
+ }
+
+ &__cell {
+ position: relative;
+ min-height: 44px;
+ padding: $space-1;
+ border: 1px solid $border-subtle;
+ border-radius: $radius-sm;
+ background: $bg-body;
+
+ &--empty {
+ background: transparent;
+ border-color: transparent;
+ }
+
+ &--has {
+ border-color: $border-active;
+ cursor: pointer;
+
+ &.is-success { border-color: $success-border; }
+ &.is-failed,
+ &.is-error { border-color: $danger-border; }
+ &.is-running { border-color: $info-border; }
+ }
+ }
+
+ &__today {
+ // "Today" cell highlight (shared name with the header button, scoped by
+ // being a grid cell modifier in markup).
+ }
+
+ &.is-today &__cell,
+ &__cell.is-today {
+ outline: 1px solid $accent-primary;
+ }
+
+ &__daynum {
+ font-size: $font-size-xs;
+ color: $text-secondary;
+ }
+
+ &__badge {
+ position: absolute;
+ bottom: 2px;
+ right: 2px;
+ min-width: 16px;
+ height: 16px;
+ padding: 0 4px;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ border-radius: $radius-full;
+ background: $accent-primary;
+ color: #fff;
+ font-size: 9px;
+ font-weight: $font-weight-semibold;
+ }
+}
+
+// ---------- Backup detail drawer ----------
+.backup-detail-drawer {
+ display: flex;
+ flex-direction: column;
+ gap: $space-4;
+
+ &__head {
+ display: flex;
+ justify-content: space-between;
+ align-items: flex-start;
+ gap: $space-3;
+ }
+
+ &__meta {
+ display: flex;
+ flex-direction: column;
+ gap: $space-2;
+ }
+
+ &__row {
+ display: flex;
+ justify-content: space-between;
+ gap: $space-3;
+ font-size: $font-size-sm;
+ color: $text-secondary;
+ padding: $space-2 0;
+ border-bottom: 1px solid $border-subtle;
+ }
+
+ &__cost {
+ color: $text-secondary;
+ font-family: $font-mono;
+ }
+
+ &__joblink {
+ display: inline-flex;
+ align-items: center;
+ gap: $space-1;
+ color: $accent-primary;
+ cursor: pointer;
+ }
+
+ &__error {
+ padding: $space-3;
+ border-radius: $radius-md;
+ background: $danger-bg;
+ border: 1px solid $danger-border;
+ color: $danger;
+ font-size: $font-size-sm;
+ }
+
+ &__actions {
+ display: flex;
+ flex-wrap: wrap;
+ gap: $space-2;
+ }
+}
+
+// ---------- Backup drills (restore drills / probes) ----------
+.backup-drills {
+ display: flex;
+ flex-direction: column;
+ gap: $space-2;
+
+ &__head {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ gap: $space-3;
+ }
+
+ &__list {
+ display: flex;
+ flex-direction: column;
+ gap: $space-2;
+ }
+
+ &__item {
+ background: $bg-card;
+ border: 1px solid $border-subtle;
+ border-radius: $radius-md;
+ overflow: hidden;
+ }
+
+ &__trigger {
+ display: flex;
+ align-items: center;
+ gap: $space-2;
+ width: 100%;
+ padding: $space-3;
+ background: transparent;
+ border: none;
+ color: $text-primary;
+ cursor: pointer;
+ text-align: left;
+
+ &:hover { background: $bg-hover; }
+ }
+
+ &__chev {
+ display: inline-flex;
+ color: $text-tertiary;
+ transition: transform 0.15s;
+ }
+
+ &__row {
+ display: flex;
+ align-items: center;
+ gap: $space-2;
+ }
+
+ &__when {
+ color: $text-tertiary;
+ font-size: $font-size-sm;
+ }
+
+ &__meta {
+ color: $text-tertiary;
+ font-size: $font-size-xs;
+ }
+
+ &__sub {
+ margin-left: auto;
+ color: $text-tertiary;
+ font-size: $font-size-sm;
+ }
+
+ &__detail {
+ padding: $space-3;
+ border-top: 1px solid $border-subtle;
+ display: flex;
+ flex-direction: column;
+ gap: $space-2;
+ }
+
+ &__probes {
+ display: flex;
+ flex-direction: column;
+ gap: $space-1;
+ }
+
+ &__probe {
+ display: flex;
+ align-items: center;
+ gap: $space-2;
+ font-size: $font-size-sm;
+ color: $text-secondary;
+ }
+
+ &__probe-empty {
+ color: $text-tertiary;
+ font-size: $font-size-sm;
+ font-style: italic;
+ }
+
+ &__error {
+ color: $danger;
+ font-size: $font-size-sm;
+ }
+}
+
+// ---------- Protection status card ----------
+.protection-panel {
+ display: flex;
+ flex-direction: column;
+ gap: $space-4;
+}
+
+.protection-status-card {
+ &__toggle {
+ display: flex;
+ align-items: center;
+ gap: $space-3;
+ }
+
+ &__toggle-title {
+ display: block;
+ font-weight: $font-weight-semibold;
+ color: $text-primary;
+ }
+
+ &__toggle-sub {
+ display: block;
+ color: $text-tertiary;
+ font-size: $font-size-sm;
+ }
+
+ &__status {
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ gap: $space-2;
+ margin: $space-3 0;
+ }
+
+ &__kpis {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
+ gap: $space-3;
+ margin: $space-3 0;
+ }
+
+ &__actions {
+ display: flex;
+ flex-wrap: wrap;
+ gap: $space-2;
+ }
+}
+
+// ---------- Schedule card ----------
+.schedule-card {
+ background: $bg-card;
+ border: 1px solid $border-subtle;
+ border-radius: $radius-lg;
+ padding: $space-4;
+ display: flex;
+ flex-direction: column;
+ gap: $space-3;
+
+ &__field {
+ display: flex;
+ flex-direction: column;
+ gap: $space-1;
+
+ label {
+ color: $text-tertiary;
+ font-size: $font-size-sm;
+ }
+ }
+
+ &__retention {
+ display: flex;
+ flex-direction: column;
+ gap: $space-2;
+ }
+
+ &__retention-row {
+ display: flex;
+ align-items: center;
+ gap: $space-2;
+ font-size: $font-size-sm;
+ color: $text-secondary;
+ }
+
+ &__remote {
+ display: flex;
+ align-items: center;
+ gap: $space-2;
+ font-size: $font-size-sm;
+ color: $text-secondary;
+ }
+
+ &__actions {
+ display: flex;
+ flex-wrap: wrap;
+ gap: $space-2;
+ }
+}
+
+// ---------- Restore drawer ----------
+.restore-drawer {
+ display: flex;
+ flex-direction: column;
+ gap: $space-4;
+
+ &__section {
+ display: flex;
+ flex-direction: column;
+ gap: $space-2;
+ }
+
+ &__label {
+ color: $text-tertiary;
+ font-size: $font-size-sm;
+ font-weight: $font-weight-semibold;
+ }
+
+ &__scope {
+ display: flex;
+ flex-wrap: wrap;
+ gap: $space-2;
+ }
+
+ &__options {
+ display: flex;
+ flex-direction: column;
+ gap: $space-2;
+ }
+
+ &__option {
+ display: flex;
+ align-items: flex-start;
+ gap: $space-2;
+ padding: $space-2 $space-3;
+ border: 1px solid $border-subtle;
+ border-radius: $radius-md;
+ cursor: pointer;
+
+ &:hover { border-color: $border-active; }
+ }
+
+ &__tables {
+ display: flex;
+ flex-direction: column;
+ gap: $space-1;
+ max-height: 240px;
+ overflow-y: auto;
+ padding: $space-2;
+ border: 1px solid $border-subtle;
+ border-radius: $radius-md;
+ background: $bg-body;
+ }
+
+ &__warning {
+ display: flex;
+ align-items: flex-start;
+ gap: $space-2;
+ padding: $space-3;
+ border-radius: $radius-md;
+ background: $warning-bg;
+ border: 1px solid $warning-border;
+ color: $warning;
+ font-size: $font-size-sm;
+ }
+}
+
+// ---------- Storage provider config ----------
+.storage-provider-config {
+ display: flex;
+ flex-direction: column;
+ gap: $space-3;
+ background: $bg-card;
+ border: 1px solid $border-subtle;
+ border-radius: $radius-lg;
+ padding: $space-4;
+}