mirror of
https://github.com/hasso5703/alzeo.git
synced 2026-12-06 21:04:21 +01:00
Proved on the reference box the same day, through a real browser and the action API: Cancel during a 2048x2048, 60-step generation read "cancelled" in the tab 5.5 s after the confirmation, systemd went from "Stopping" to "Deactivated successfully" in 5 s, the lane was ready again 56 s later; the lane's Stop during another one took 5 s with Result=success; ten 2048x2048 images in one call got HTTP 400 and nothing reached the lane; after a switch back to the uncensored target, the cockpit fitted opencode's limits 16 s after the engine was ready, and the running server read 548,000 / 182,000. Three things the run showed: - A request cut by a stop came back as a bare HTTP 500 (uvicorn's answer for a cancelled request), and only the page that had sent the stop knew to call it cancelled. The cockpit now asks systemd, on the error path only, whether the lane is still the one the request started on (ActiveState and InvocationID), and answers 503 "interrupted" with the reason, so another tab or a systemctl stop at a terminal reads the same. - Cancel was beside Generate, under the settings, off screen while the eye is on the progress in the image panel. It is in that panel's header now, beside the run's clock; checked at 1440x900 (same row, in view) and at 390 px (no horizontal overflow). - The stopping bar said "systemd stops the container" for the image lane, which has none, and the image curl panel said "from anywhere" and "with the serving key" above a command that says to run it on the box, keyless. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1304 lines
93 KiB
HTML
1304 lines
93 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content">
|
|
<meta name="description" content="Live control room for the Qwen3.8 serving stack on a DGX Spark: engine lifecycle, KV pool, requests, models, actions.">
|
|
<title>Spark Cockpit</title>
|
|
<link rel="icon" href="/static/favicon.svg">
|
|
<link rel="stylesheet" href="/static/fonts/fonts.css">
|
|
<style>
|
|
/* Palette from the object itself: the Spark's graphite chassis and its
|
|
champagne-gold anodizing, NVIDIA green for good, warm white text.
|
|
Dark only, on purpose: an instrument panel is dark. The cockpit is read
|
|
in a dim workshop and on an OLED phone; a light theme would be a second
|
|
design, so the one that matches the machine is the only one we ship.
|
|
Gold is the single accent; green/amber/red are states, never decoration. */
|
|
:root{
|
|
color-scheme:dark;
|
|
/* Graphite with a warm cast, never a blue one: warm greys read as machined
|
|
metal under workshop light and as OLED-black at night. */
|
|
--paper:#0c0d0f; --card:#16171b; --card2:#1c1e23; --line:#272930; --line2:#3a3d46;
|
|
--txt:#ece9e1; --mut:#8f9197; --soft:#101115; --glow:rgba(216,180,97,.08);
|
|
/* Exactly three signals exist, and two of them are rare:
|
|
champagne = alive, ready, measured, brand; bronze = looks away from perfect;
|
|
clay = broken. Green, orange, blue and neon pink are gone from this app. */
|
|
--acc:#d8b161; --acc-hi:#ecd9a4; --ok:#d8b161; --warn:#b5814e; --err:#c9706a;
|
|
/* the two lanes share the house palette: flash wears the gold, 27B the steel */
|
|
--flash:#d8b161; --lane27:#9d9ea3; --image:#7fa6b8;
|
|
--shadow:0 10px 30px rgba(0,0,0,.5);
|
|
--rail:236px; --rail-min:64px; --top:58px;
|
|
/* One spacing scale for the whole app, so no component invents its own. */
|
|
--s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:22px; --s6:30px;
|
|
--r-card:14px; --r-ctl:9px;
|
|
/* Two faces, self-hosted, both loaded: Inter says, IBM Plex Mono measures.
|
|
Plex Mono is the instrument face of the machine: every number, every label
|
|
that a gauge would carry, set like it was engraved on the chassis. */
|
|
--mono:"IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
|
|
}
|
|
*{box-sizing:border-box; margin:0; -webkit-tap-highlight-color:transparent}
|
|
a,button,select,input[type=checkbox],label{touch-action:manipulation}
|
|
html{scrollbar-color:var(--line2) transparent}
|
|
body{background:radial-gradient(1100px 420px at 18% -10%, var(--glow), transparent 60%), var(--paper);
|
|
color:var(--txt); font:13.5px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; min-height:100vh;
|
|
-webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility}
|
|
::selection{background:color-mix(in srgb, var(--acc) 30%, transparent)}
|
|
/* A measured value wears the instrument face: tabular, medium, a hair tighter. */
|
|
.num{font-family:var(--mono); font-weight:500; font-size:.96em; font-variant-numeric:tabular-nums; letter-spacing:.01em}
|
|
:focus-visible{outline:2px solid var(--acc); outline-offset:2px; border-radius:6px}
|
|
button{font:inherit; color:inherit}
|
|
[hidden]{display:none !important}
|
|
|
|
/* ── top bar: brand, lane at a glance, the actions, connection ── */
|
|
/* min-height, not height: a fixed box with wrappable content spills out of the
|
|
viewport instead of growing. app.js keeps --top on the measured height. */
|
|
.top{position:sticky; top:0; z-index:30; min-height:var(--top); display:flex; align-items:center; gap:12px;
|
|
padding:0 16px 0 12px; border-bottom:1px solid var(--line);
|
|
background:color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter:blur(14px)}
|
|
/* the anodized chamfer: one hairline of champagne gold under the bar, like the
|
|
machined edge of the Spark's own chassis. The only decoration in the app. */
|
|
.top::after{content:''; position:absolute; left:0; right:0; bottom:-1px; height:1px; pointer-events:none;
|
|
background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--acc) 55%, transparent) 18%,
|
|
color-mix(in srgb, var(--acc) 22%, transparent) 60%, transparent)}
|
|
.top .brand{display:flex; align-items:center; gap:9px; min-width:0; flex:none}
|
|
.top .brand img{width:26px; height:26px; filter:drop-shadow(0 0 10px var(--glow))}
|
|
/* the logotype: engraved in Plex Mono, the tracking of a milled nameplate */
|
|
.top .brand h1{font:600 13px/1 var(--mono); letter-spacing:.18em; text-transform:uppercase; white-space:nowrap}
|
|
.badge{font:600 9.5px/1 var(--mono); letter-spacing:.08em; text-transform:uppercase; border-radius:6px; padding:3.5px 7px;
|
|
border:1px solid var(--line2); color:var(--mut);
|
|
background:color-mix(in srgb, var(--card2) 70%, transparent); white-space:nowrap}
|
|
.badge.dry{color:var(--warn); border-color:color-mix(in srgb, var(--warn) 60%, transparent);
|
|
background:color-mix(in srgb, var(--warn) 14%, transparent)}
|
|
.iconbtn{width:34px; height:34px; border-radius:9px; border:1px solid var(--line); background:transparent;
|
|
display:grid; place-items:center; cursor:pointer; color:var(--mut)}
|
|
.iconbtn:hover{color:var(--txt); border-color:var(--line2)}
|
|
/* Width order when the header runs out of room: the pill gives way first, then the
|
|
target selector, then the lane button. Nothing wraps, nothing leaves the bar. */
|
|
.lanepill{display:flex; align-items:center; gap:8px; padding:5px 11px; border:1px solid var(--line);
|
|
border-radius:999px; background:color-mix(in srgb, var(--card) 70%, transparent); font-size:12.5px;
|
|
white-space:nowrap; min-width:0; overflow:hidden; flex-shrink:8}
|
|
.lanepill b{font-weight:650; overflow:hidden; text-overflow:ellipsis}
|
|
/* the sub-line is the first thing to give way on a narrow screen, never the state chip */
|
|
.lanepill .sub{color:var(--mut); min-width:0; overflow:hidden; text-overflow:ellipsis}
|
|
.lanepill .chip{flex:none}
|
|
.actbar{display:flex; align-items:center; gap:8px; margin-left:auto; flex-wrap:nowrap;
|
|
justify-content:flex-end; min-width:0; flex-shrink:1}
|
|
/* Grouping by a rule instead of by a box: three fewer frames in the busiest 60 px
|
|
of the app, and about 50 px given back to the lane pill. */
|
|
.actbar .grp{display:flex; align-items:center; gap:6px; min-width:0}
|
|
.actbar .grp + .grp{padding-left:10px; border-left:1px solid var(--line)}
|
|
.actbar .btn{white-space:nowrap}
|
|
#switchsel{min-width:7.5rem; max-width:15rem; flex-shrink:3; text-overflow:ellipsis}
|
|
/* The lane button is the one control whose label must survive intact: it names
|
|
the engine a click will stop. Give it room first by dropping the lane pill. */
|
|
#lanebtn{min-width:6rem; max-width:16rem; flex-shrink:1; overflow:hidden; text-overflow:ellipsis}
|
|
.conn{display:flex; align-items:center; gap:7px; color:var(--mut); font:500 10px/1 var(--mono); letter-spacing:.08em; text-transform:uppercase; white-space:nowrap}
|
|
.dot{width:8px; height:8px; border-radius:50%; background:var(--err); transition:background .25s}
|
|
.dot.on{background:var(--ok); box-shadow:0 0 10px 1px color-mix(in srgb, var(--ok) 60%, transparent); animation:beat 2.4s ease-in-out infinite}
|
|
.dot.warn{background:var(--warn)}
|
|
@keyframes beat{50%{box-shadow:0 0 4px 0 color-mix(in srgb, var(--ok) 25%, transparent)}}
|
|
|
|
/* ── job strip: what is running right now, for every tab and every browser ── */
|
|
.jobstrip{position:sticky; top:var(--top); z-index:25; display:flex; align-items:center; gap:12px; flex-wrap:wrap;
|
|
padding:8px 16px; border-bottom:1px solid var(--line); font-size:12.5px;
|
|
background:color-mix(in srgb, var(--card) 92%, transparent)}
|
|
.jobstrip.running{border-bottom-color:color-mix(in srgb, var(--warn) 50%, transparent)}
|
|
.jobstrip.done{border-bottom-color:color-mix(in srgb, var(--ok) 50%, transparent)}
|
|
.jobstrip.failed{border-bottom-color:color-mix(in srgb, var(--err) 55%, transparent)}
|
|
.jobstrip .what{font-weight:650}
|
|
.jobstrip .last{color:var(--mut); font:400 11px var(--mono); min-width:0; overflow:hidden;
|
|
text-overflow:ellipsis; white-space:nowrap; flex:1}
|
|
.jobstrip .bar{width:120px; height:6px; border-radius:4px; background:var(--soft); border:1px solid var(--line); overflow:hidden}
|
|
.jobstrip .bar i{display:block; height:100%; width:100%; opacity:.7;
|
|
background:repeating-linear-gradient(45deg, var(--warn) 0 8px, transparent 8px 16px); animation:barber .9s linear infinite}
|
|
.joblog{background:var(--soft); border:1px solid var(--line); border-radius:11px; padding:10px 13px;
|
|
font:400 11.5px/1.6 var(--mono); max-height:260px; overflow:auto; white-space:pre-wrap; width:100%; color:var(--mut)}
|
|
|
|
/* ── banners ── */
|
|
.banners{display:flex; flex-direction:column; gap:8px; padding:12px 18px 0}
|
|
.banners:empty{display:none}
|
|
.banner{display:flex; align-items:center; gap:10px; padding:10px 14px; border-radius:11px; font-size:13px;
|
|
border:1px solid color-mix(in srgb, var(--warn) 55%, transparent); background:color-mix(in srgb, var(--warn) 12%, transparent)}
|
|
.banner.err{border-color:color-mix(in srgb, var(--err) 55%, transparent); background:color-mix(in srgb, var(--err) 12%, transparent)}
|
|
.banner.info{border-color:var(--line); background:color-mix(in srgb, var(--card) 60%, transparent); color:var(--mut)}
|
|
.banner b{font-weight:650}
|
|
|
|
/* ── shell: rail + content ── */
|
|
.shell{display:grid; grid-template-columns:var(--rail) 1fr; min-height:calc(100vh - var(--top));
|
|
min-height:calc(100dvh - var(--top))}
|
|
body.railmin .shell{grid-template-columns:var(--rail-min) 1fr}
|
|
.rail{position:sticky; top:var(--top); align-self:start; height:calc(100vh - var(--top)); overflow:auto;
|
|
border-right:1px solid var(--line); padding:12px 10px; display:flex; flex-direction:column; gap:4px;
|
|
background:color-mix(in srgb, var(--card) 40%, transparent)}
|
|
.rail .nav{display:flex; align-items:center; gap:11px; width:100%; padding:9px 11px; border-radius:10px;
|
|
border:1px solid transparent; background:transparent; cursor:pointer; text-align:left; color:var(--mut);
|
|
font-size:13px; font-weight:600; white-space:nowrap}
|
|
.rail .nav svg{width:18px; height:18px; flex:none; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
|
|
.rail .nav:hover{color:var(--txt); background:color-mix(in srgb, var(--card2) 80%, transparent)}
|
|
.rail .nav[aria-current="page"]{color:var(--acc); border-color:color-mix(in srgb, var(--acc) 40%, transparent);
|
|
background:color-mix(in srgb, var(--acc) 9%, transparent)}
|
|
.rail .nav .lab{flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
|
|
.rail .nav .bdg{flex:none; max-width:11ch; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
|
|
font-size:10.5px; font-weight:700; padding:1px 8px; border-radius:999px; border:1px solid var(--line); color:var(--mut)}
|
|
.rail .nav .bdg.warn{color:var(--warn); border-color:color-mix(in srgb, var(--warn) 55%, transparent)}
|
|
.rail .nav .bdg.err{color:var(--err); border-color:color-mix(in srgb, var(--err) 55%, transparent)}
|
|
.rail .nav .bdg:empty{display:none}
|
|
body.railmin .rail .nav .lab, body.railmin .rail .nav .bdg, body.railmin .rail .foot{display:none}
|
|
body.railmin .rail .nav{justify-content:center; padding:10px 0}
|
|
.rail .foot{margin-top:auto; color:var(--mut); font-size:11px; padding:10px 11px; line-height:1.6}
|
|
.content{padding:var(--s5) var(--s5) 48px; min-width:0}
|
|
.tab{display:none}
|
|
.tab.active{display:block}
|
|
.grid{display:grid; gap:18px; align-items:start; grid-template-columns:repeat(auto-fit, minmax(min(330px, 100%), 1fr))}
|
|
.grid .wide{grid-column:1 / -1}
|
|
/* Two panels that belong together fill the row instead of leaving a third of it empty. */
|
|
.grid.two{grid-template-columns:repeat(auto-fit, minmax(min(430px, 100%), 1fr))}
|
|
/* A main surface and its sidecar: the request feed and its pool, the events and the jobs. */
|
|
@media (min-width:1080px){ .grid.split{grid-template-columns:minmax(0,2fr) minmax(0,1fr)} }
|
|
.tabhead{display:flex; align-items:baseline; gap:12px; margin:0 0 var(--s5); flex-wrap:wrap}
|
|
.tabhead h2{font-size:21px; font-weight:700; letter-spacing:-.024em}
|
|
.tabhead p{color:var(--mut); font-size:12.5px; letter-spacing:.01em}
|
|
|
|
/* ── panels ── */
|
|
section.panel{background:var(--card); border:1px solid var(--line); border-radius:var(--r-card);
|
|
padding:var(--s4) var(--s5) var(--s5); min-width:0; box-shadow:var(--shadow); position:relative}
|
|
section.panel.stale{opacity:.72}
|
|
/* Panel titles read as engraved instrument labels: small, uppercase, tracked in
|
|
Plex Mono, separated by a hairline - the way the machine itself would name
|
|
its gauges. Their data stays in the body face; the label is the bezel. */
|
|
section.panel h3{font:600 11.5px/1.2 var(--mono); letter-spacing:.11em; text-transform:uppercase;
|
|
color:color-mix(in srgb, var(--txt) 82%, var(--mut));
|
|
margin:0 0 var(--s4); padding-bottom:11px; border-bottom:1px solid var(--line);
|
|
display:flex; align-items:center; gap:var(--s2); flex-wrap:wrap}
|
|
section.panel h3 .right{margin-left:auto; display:flex; align-items:center; gap:6px}
|
|
.age{font:400 10.5px/1.4 var(--mono); color:var(--mut); font-variant-numeric:tabular-nums; letter-spacing:.02em}
|
|
.age.stale{color:var(--warn)}
|
|
.empty{color:var(--mut); font-size:12.5px; padding:8px 0}
|
|
td.empty{padding:14px 8px; text-align:center}
|
|
/* Prose stops at a readable measure even when its panel is 1200 px wide. */
|
|
.note{color:var(--mut); font-size:11.5px; margin-top:8px; max-width:78ch; line-height:1.65}
|
|
.kv{display:grid; grid-template-columns:auto 1fr; gap:9px var(--s5); font-size:13px}
|
|
.kv dt{color:var(--mut)} .kv dd{text-align:right; overflow-wrap:break-word; min-width:0}
|
|
/* A value that is a sentence, not a number: it reads left and wraps like prose. */
|
|
.kv dd.text{text-align:left; color:var(--mut); font-size:12.5px; grid-column:1 / -1; margin-top:-5px}
|
|
/* A chip is a lamp on the panel: instrument face, small caps, one color per state. */
|
|
.chip{font:600 10px/1.2 var(--mono); letter-spacing:.07em; text-transform:uppercase; border-radius:999px; padding:4px 10px; border:1px solid var(--line);
|
|
color:var(--mut); background:color-mix(in srgb, var(--card) 40%, transparent); white-space:nowrap;
|
|
transition:color .25s, border-color .25s, background .25s}
|
|
.chip.ok{color:var(--ok); border-color:color-mix(in srgb, var(--ok) 50%, transparent); background:color-mix(in srgb, var(--ok) 10%, transparent)}
|
|
.chip.err{color:var(--err); border-color:color-mix(in srgb, var(--err) 50%, transparent); background:color-mix(in srgb, var(--err) 12%, transparent)}
|
|
/* the release line turns warn-coloured when the cockpit's own code is older
|
|
than the repo on disk: its controls and its checks then disagree */
|
|
#upline.warn{color:var(--warn)}
|
|
.chip.warn{color:var(--warn); border-color:color-mix(in srgb, var(--warn) 50%, transparent); background:color-mix(in srgb, var(--warn) 12%, transparent)}
|
|
.chip.flash{color:var(--flash); border-color:color-mix(in srgb, var(--flash) 50%, transparent); background:color-mix(in srgb, var(--flash) 12%, transparent)}
|
|
.chip.lane27{color:var(--lane27); border-color:color-mix(in srgb, var(--lane27) 50%, transparent); background:color-mix(in srgb, var(--lane27) 12%, transparent)}
|
|
.chip.laneimg{color:var(--image); border-color:color-mix(in srgb, var(--image) 50%, transparent); background:color-mix(in srgb, var(--image) 12%, transparent)}
|
|
.chip.live::before{content:''; display:inline-block; width:7px; height:7px; border-radius:50%; background:currentColor; margin-right:6px; animation:pulse 1.2s ease-in-out infinite}
|
|
.skel{color:transparent !important; background:linear-gradient(90deg, var(--soft), var(--line), var(--soft)); background-size:200% 100%;
|
|
animation:skel 1.2s linear infinite; border-radius:6px}
|
|
@keyframes skel{to{background-position:-200% 0}}
|
|
@keyframes pulse{50%{opacity:.45}}
|
|
@keyframes barber{to{background-position:22.6px 0}}
|
|
@media (prefers-reduced-motion: reduce){ *{animation:none !important; transition:none !important} }
|
|
|
|
.gauge{margin:6px 0 10px}
|
|
.gauge .bar{height:9px; border-radius:6px; background:color-mix(in srgb, var(--line) 60%, transparent);
|
|
overflow:hidden; border:1px solid var(--line)}
|
|
.gauge .fill{height:100%; border-radius:6px; transition:width .6s ease-out; background:linear-gradient(90deg, color-mix(in srgb, var(--acc) 72%, var(--card)), var(--acc))}
|
|
.gauge.warn .fill{background:linear-gradient(90deg, color-mix(in srgb, var(--warn) 70%, var(--card)), var(--warn))}
|
|
.gauge.crit .fill{background:linear-gradient(90deg, color-mix(in srgb, var(--err) 70%, var(--card)), var(--err))}
|
|
.gauge .lab{display:flex; justify-content:space-between; font-size:12px; color:var(--mut); margin-bottom:5px}
|
|
canvas.spark{width:100%; height:58px; display:block; margin-top:8px}
|
|
|
|
table{width:100%; border-collapse:collapse; font-size:12.5px; table-layout:fixed}
|
|
td{overflow-wrap:anywhere; padding:9px 8px; border-top:1px solid var(--line); vertical-align:top}
|
|
th{font:600 10px/1.3 var(--mono); color:var(--mut); text-align:left; text-transform:uppercase;
|
|
letter-spacing:.09em; padding:0 8px 9px}
|
|
/* a select is a control, not a label: it never inherits the engraved caps */
|
|
section.panel h3 select, section.panel h3 label{text-transform:none}
|
|
tbody tr:hover{background:color-mix(in srgb, var(--card2) 70%, transparent)}
|
|
td.r, th.r{text-align:right}
|
|
td .chip{white-space:normal}
|
|
/* Presence chips read as a stack, never as a broken two-then-one row. */
|
|
td.chips{display:flex; flex-direction:column; align-items:flex-start; gap:5px}
|
|
#rcptable td:first-child{overflow-wrap:normal}
|
|
.chip:empty{display:none}
|
|
.tablewrap{overflow-x:auto; max-width:100%}
|
|
/* The numeric columns get just enough for their widest value; the two text
|
|
columns (path, outcome) split whatever is left, so the outcome chip and its
|
|
token line never stack or clip inside the ~600px the split grid leaves. */
|
|
#feedtable th:nth-child(1){width:74px} #feedtable th:nth-child(2){width:62px}
|
|
#feedtable th:nth-child(4){width:64px} #feedtable th:nth-child(5){width:60px}
|
|
#feedtable td{padding-left:7px; padding-right:7px}
|
|
#feedtable td:nth-child(1), #feedtable td:nth-child(2),
|
|
#feedtable td:nth-child(4), #feedtable td:nth-child(5){white-space:nowrap}
|
|
#feedtable td:nth-child(3){overflow-wrap:normal}
|
|
|
|
.btn{border:1px solid color-mix(in srgb, var(--acc) 60%, transparent); color:var(--acc); background:color-mix(in srgb, var(--acc) 8%, transparent);
|
|
border-radius:var(--r-ctl); padding:7px 14px; font-size:12.5px; font-weight:650; cursor:pointer; white-space:nowrap;
|
|
transition:background .18s ease-out, color .18s ease-out, border-color .18s ease-out, box-shadow .18s ease-out}
|
|
.btn:hover:not(:disabled){background:var(--acc); color:#17120a; box-shadow:0 4px 18px color-mix(in srgb, var(--acc) 40%, transparent)}
|
|
.btn.low{border-color:var(--line2); color:var(--txt); background:color-mix(in srgb, var(--card2) 80%, transparent)}
|
|
.btn.low:hover:not(:disabled){background:var(--card2); color:var(--acc-hi); border-color:var(--acc); box-shadow:none}
|
|
.btn.danger{border-color:color-mix(in srgb, var(--err) 55%, transparent); color:var(--err); background:color-mix(in srgb, var(--err) 8%, transparent)}
|
|
.btn.danger:hover:not(:disabled){background:var(--err); color:#180b0a; box-shadow:0 4px 18px color-mix(in srgb, var(--err) 35%, transparent)}
|
|
.btn.ghost{border-color:var(--line2); color:var(--mut); background:transparent}
|
|
.btn.ghost:hover:not(:disabled){background:var(--card2); color:var(--txt); border-color:var(--mut); box-shadow:none}
|
|
.btn.mini{padding:4px 10px; font-size:11.5px}
|
|
.btn:disabled{opacity:.42; cursor:not-allowed}
|
|
select{background:var(--soft); color:var(--txt); border:1px solid var(--line); border-radius:9px; padding:5px 10px; font-size:12.5px}
|
|
input,select,textarea{accent-color:var(--acc)}
|
|
.follow{font-size:11.5px; color:var(--mut); display:flex; align-items:center; gap:5px}
|
|
select:disabled{opacity:.5}
|
|
|
|
/* ── the reservoir: KV pool held vs capacity vs model window ── */
|
|
.res{display:grid; grid-template-columns:auto 1fr; gap:6px 22px; align-items:end}
|
|
/* The fuel gauge is the one object this cockpit exists to watch: set the number
|
|
in the instrument face (monospace, tabular) so it reads like a gauge, not a heading. */
|
|
.res .big{font:700 38px/1 var(--mono); letter-spacing:-.02em; color:var(--txt)}
|
|
.res .big small{font:500 12.5px var(--mono); color:var(--mut); letter-spacing:.02em; margin-left:8px}
|
|
.res .eyebrow{font:600 10px/1.3 var(--mono); letter-spacing:.12em; text-transform:uppercase; color:var(--mut)}
|
|
.tank{position:relative; height:26px; border-radius:8px; background:color-mix(in srgb, var(--line) 45%, transparent);
|
|
border:1px solid var(--line); overflow:hidden}
|
|
.tank .cap{position:absolute; inset:0 auto 0 0; background:repeating-linear-gradient(135deg, transparent 0 7px, color-mix(in srgb, var(--line) 70%, transparent) 7px 8px); border-right:1px dashed var(--mut)}
|
|
.tank .level{position:absolute; inset:0 auto 0 0; border-radius:7px 0 0 7px; background:linear-gradient(90deg, color-mix(in srgb, var(--acc) 70%, var(--card)), var(--acc)); transition:width .8s cubic-bezier(.2,.8,.2,1);
|
|
box-shadow:inset 0 1px 0 rgba(255,255,255,.28), inset 0 -6px 8px -6px rgba(0,0,0,.55), 0 0 14px -4px color-mix(in srgb, var(--acc) 60%, transparent)}
|
|
.tank .level.hot{background:linear-gradient(90deg, var(--warn), var(--err)); box-shadow:inset 0 1px 0 rgba(255,255,255,.28), inset 0 -6px 8px -6px rgba(0,0,0,.55), 0 0 14px -4px color-mix(in srgb, var(--err) 60%, transparent)}
|
|
.tank .tick{position:absolute; top:0; bottom:0; width:1px; background:var(--txt); opacity:.55}
|
|
.tank .ghost{position:absolute; inset:0 0 0 auto; background:repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in srgb, var(--err) 25%, transparent) 6px 7px)}
|
|
.res .legend{display:flex; gap:16px; font-size:11px; color:var(--mut); margin-top:6px; flex-wrap:wrap}
|
|
.res .legend b{color:var(--txt); font-weight:600}
|
|
|
|
/* A fact strip: the six things a person opens the cockpit to read, on one line. */
|
|
.facts{display:grid; grid-template-columns:repeat(auto-fit, minmax(155px, 1fr)); gap:14px var(--s5);
|
|
margin-top:var(--s4); padding-top:var(--s4); border-top:1px solid var(--line)}
|
|
.facts span{display:block; color:var(--mut); font:600 9.5px/1.3 var(--mono); letter-spacing:.11em; text-transform:uppercase; margin-bottom:5px}
|
|
.facts b{font-family:var(--mono); font-weight:600; font-size:12.5px; overflow-wrap:anywhere}
|
|
/* A chart needs a frame, otherwise a flat series reads as a stray rule. */
|
|
canvas.spark{background:var(--soft); border:1px solid var(--line); border-radius:var(--r-ctl)}
|
|
|
|
/* ── engine cards ── */
|
|
.eng{padding:13px 2px; border-top:1px solid var(--line)}
|
|
.eng:first-child{border-top:0; padding-top:4px}
|
|
.eng .row, #ovlane .row{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
|
|
.eng .name, #ovlane .name{font-weight:700; font-size:14px}
|
|
.eng .since, #ovlane .since{color:var(--mut); font-size:11.5px; margin-left:auto}
|
|
.eng .why{color:var(--mut); font-size:11.5px; padding:6px 2px 0}
|
|
.eng .why.warn{color:var(--warn)}
|
|
.boot{margin-top:10px}
|
|
.boot .bbar{height:9px; border-radius:6px; background:color-mix(in srgb, var(--line) 60%, transparent);
|
|
border:1px solid var(--line); overflow:hidden; position:relative}
|
|
.boot .bfill{height:100%; border-radius:6px; transition:width 1s linear; position:relative; overflow:hidden; background:linear-gradient(90deg, var(--acc), var(--flash))}
|
|
.boot .bfill::after{content:''; position:absolute; inset:0; background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent); animation:shimmer 1.4s infinite}
|
|
@keyframes shimmer{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
|
|
.bfill.indet{width:100% !important; opacity:.6; background:repeating-linear-gradient(45deg, var(--warn) 0 10px, transparent 10px 20px) !important; animation:barber .9s linear infinite}
|
|
.bfill.indet::after{display:none}
|
|
.boot .stages{display:flex; gap:6px; margin-top:8px; flex-wrap:wrap}
|
|
.boot .stage{font:600 9.5px var(--mono); text-transform:uppercase; letter-spacing:.06em; padding:3px 9px; border-radius:999px; border:1px solid var(--line); color:var(--mut); transition:all .3s}
|
|
.boot .stage.done{color:var(--ok); border-color:color-mix(in srgb, var(--ok) 55%, transparent); background:color-mix(in srgb, var(--ok) 10%, transparent)}
|
|
.boot .stage.now{color:var(--acc); border-color:color-mix(in srgb, var(--acc) 60%, transparent); background:color-mix(in srgb, var(--acc) 12%, transparent); animation:pulse 1.2s ease-in-out infinite}
|
|
.boot .blab{display:flex; justify-content:space-between; font-size:11.5px; color:var(--mut); margin-top:6px; gap:10px; flex-wrap:wrap}
|
|
.evt{display:flex; gap:var(--s3); padding:9px 0; border-top:1px solid var(--line); font-size:12.5px; align-items:baseline}
|
|
.evt:first-child{border-top:0}
|
|
/* A fixed column, so a date-stamped row does not shift the kind column of every
|
|
row under it. */
|
|
.evt time{color:var(--mut); font:400 10.5px var(--mono); white-space:nowrap; font-variant-numeric:tabular-nums;
|
|
min-width:78px; flex:none; letter-spacing:.01em}
|
|
.evt .k{font:600 9.5px var(--mono); text-transform:uppercase; letter-spacing:.08em; color:var(--mut); min-width:54px}
|
|
.hist{display:flex; align-items:center; gap:10px; padding:8px 0; border-top:1px solid var(--line); font-size:12.5px; flex-wrap:wrap}
|
|
.hist:first-child{border-top:0}
|
|
.hist .m{color:var(--mut); font-size:11.5px}
|
|
/* A command is there to be copied, so it wraps inside its card rather than
|
|
scrolling off the edge of one. */
|
|
.cmd{background:var(--soft); border:1px solid var(--line); border-radius:var(--r-ctl); padding:10px 12px;
|
|
font:400 12px/1.65 var(--mono); white-space:pre-wrap; overflow-wrap:anywhere}
|
|
|
|
/* ── System One: the console, and the probabilities it reads back ──
|
|
A typed decision is a distribution, so it is drawn as one. The bar is the
|
|
instrument; the number beside it is there to be read off, not decoded. */
|
|
.s1grid{display:grid; grid-template-columns:1fr 1fr; gap:var(--s3)}
|
|
.s1wide{grid-column:1 / -1}
|
|
.s1 textarea{width:100%; background:var(--soft); color:var(--txt); border:1px solid var(--line);
|
|
border-radius:var(--r-ctl); padding:10px 12px; font:400 12.5px/1.6 var(--mono);
|
|
resize:vertical; min-height:96px}
|
|
.s1 input[type=text]{background:var(--soft); color:var(--txt); border:1px solid var(--line);
|
|
border-radius:9px; padding:5px 9px; font:400 12.5px var(--mono); min-width:0}
|
|
.s1 .ex{display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px}
|
|
.s1 .q{border:1px solid var(--line); border-radius:var(--r-ctl); padding:10px 11px; margin-bottom:9px;
|
|
background:color-mix(in srgb, var(--card2) 55%, transparent)}
|
|
.s1 .qtop{display:flex; gap:7px; align-items:center; margin-bottom:7px; flex-wrap:wrap}
|
|
.s1 .qtop input[type=text]{flex:1 1 130px}
|
|
/* the instructions are the question: they get the whole width, not what is left */
|
|
.s1 .q > input[type=text]{display:block; width:100%}
|
|
.s1 .crit{display:flex; flex-direction:column; gap:5px}
|
|
.s1 .crit .row{display:flex; gap:6px; align-items:center}
|
|
.s1 .crit .row input{flex:1 1 90px}
|
|
.s1 .del{border:none; background:transparent; color:var(--mut); cursor:pointer; font-size:15px; line-height:1; padding:2px 5px}
|
|
.s1 .del:hover{color:var(--err)}
|
|
.s1 .ans{border-top:1px solid var(--line); padding-top:11px; margin-top:11px}
|
|
.s1 .ans:first-child{border-top:none; padding-top:0; margin-top:0}
|
|
.s1 .ans h4{font:600 11px/1.3 var(--mono); letter-spacing:.09em; text-transform:uppercase;
|
|
color:var(--mut); margin:0 0 3px}
|
|
.s1 .verdict{font:700 15px/1.3 var(--mono); color:var(--txt); margin-bottom:8px}
|
|
.s1 .verdict small{font:500 11.5px var(--mono); color:var(--mut); margin-left:8px; letter-spacing:.02em}
|
|
.s1 .pr{display:grid; grid-template-columns:minmax(64px,26%) 1fr auto; gap:7px; align-items:center;
|
|
font:400 12px var(--mono); margin-bottom:4px}
|
|
.s1 .pr .nm{color:var(--mut); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
|
|
.s1 .pr .tr{height:8px; border-radius:5px; background:color-mix(in srgb, var(--line) 55%, transparent);
|
|
border:1px solid var(--line); overflow:hidden}
|
|
/* display:block, because a span inside a non-flex track stays inline and an inline
|
|
box ignores both the width and the height that make this a bar at all. */
|
|
.s1 .pr .fl{display:block; height:100%; min-width:1px;
|
|
background:linear-gradient(90deg, color-mix(in srgb, var(--acc) 70%, var(--card)), var(--acc));
|
|
transition:width .4s ease-out}
|
|
.s1 .pr.top .nm{color:var(--txt)}
|
|
.s1 .pr .pv{color:var(--txt); min-width:5.5ch; text-align:right}
|
|
.s1 .meta{display:flex; flex-wrap:wrap; gap:6px; margin-top:11px}
|
|
.s1 .soon{display:grid; place-items:center; min-height:320px; text-align:center; gap:9px}
|
|
.s1 .soon svg{width:42px; height:42px; stroke:var(--mut); fill:none; stroke-width:1.4;
|
|
stroke-linecap:round; stroke-linejoin:round}
|
|
.s1 .soon .t{font:700 19px/1.3 var(--ui, inherit); color:var(--txt)}
|
|
.s1 .soon .d{font-size:13px; color:var(--mut); max-width:46ch; line-height:1.65}
|
|
@media (max-width:900px){ .s1grid{grid-template-columns:1fr} }
|
|
|
|
/* ── Image: controls whose price is known, and a picture that shows its alpha ──
|
|
Every control here moves a number that was measured on this box, so the cost
|
|
line under the button is arithmetic rather than a guess. The preview sits on a
|
|
checkerboard because this model returns RGBA for everything it makes, and a
|
|
transparent cutout on a white card looks exactly like an opaque one. */
|
|
.img .ctl{display:grid; grid-template-columns:repeat(auto-fit,minmax(148px,1fr)); gap:9px var(--s3); margin-top:11px}
|
|
.img .ctl label{display:flex; flex-direction:column; gap:4px; min-width:0}
|
|
.img .ctl .eyebrow{margin:0}
|
|
.img select, .img input[type=number], .img input[type=text]{
|
|
background:var(--soft); color:var(--txt); border:1px solid var(--line); border-radius:9px;
|
|
padding:6px 9px; font:400 12.5px var(--mono); width:100%; min-width:0}
|
|
.img input[type=number]:invalid, .img input.bad{border-color:var(--err)}
|
|
.img .seg{display:inline-flex; border:1px solid var(--line); border-radius:var(--r-ctl); overflow:hidden}
|
|
.img .seg button{border:none; background:transparent; color:var(--mut); cursor:pointer;
|
|
font:600 12px var(--mono); padding:6px 13px}
|
|
.img .seg button[aria-pressed=true]{background:var(--acc); color:var(--card)}
|
|
.img .adv{margin-top:12px; border-top:1px solid var(--line); padding-top:10px}
|
|
.img .adv summary{cursor:pointer; font:600 11px/1.3 var(--mono); letter-spacing:.09em;
|
|
text-transform:uppercase; color:var(--mut); list-style:none}
|
|
.img .adv summary::-webkit-details-marker{display:none}
|
|
.img .adv summary::before{content:"▸ "; }
|
|
.img .adv[open] summary::before{content:"▾ "; }
|
|
.img .warn{font-size:12px; color:var(--err); margin:7px 0 0; line-height:1.55}
|
|
.img .cost{font:400 12px var(--mono); color:var(--mut); margin-top:8px}
|
|
/* the checkerboard is the instrument: it is what makes an alpha channel visible */
|
|
/* The answer fits the screen: a square 1024 frame at the panel's width is taller than
|
|
a laptop viewport, which put the progress bar and then the image's own facts below
|
|
the fold, the one place nobody was looking while they waited. */
|
|
.img .shot img{max-height:62vh; object-fit:contain}
|
|
.img .frame{max-height:62vh}
|
|
.img .frame .prog{width:min(420px, 86%); margin:0; text-align:left}
|
|
.img .steps{margin:9px 0 0; padding-left:20px; font-size:13px; line-height:1.7; color:var(--mut)}
|
|
.img .steps li.now{color:var(--txt); font-weight:600}
|
|
.img .steps li.done{text-decoration:line-through; opacity:.6}
|
|
.img .shot{border:1px solid var(--line); border-radius:var(--r-ctl); overflow:hidden; line-height:0;
|
|
background-color:#f3f3f3;
|
|
background-image:linear-gradient(45deg,#d2d2d2 25%,transparent 25%,transparent 75%,#d2d2d2 75%),
|
|
linear-gradient(45deg,#d2d2d2 25%,transparent 25%,transparent 75%,#d2d2d2 75%);
|
|
background-size:20px 20px; background-position:0 0,10px 10px}
|
|
.img .shot img{width:100%; height:auto; display:block}
|
|
.img .shots{display:grid; gap:9px}
|
|
.img .shots.multi{grid-template-columns:1fr 1fr}
|
|
.img .refs{display:flex; flex-wrap:wrap; gap:7px; margin-top:8px}
|
|
.img .ref{position:relative; width:62px; height:62px; border:1px solid var(--line);
|
|
border-radius:9px; overflow:hidden; background:var(--soft)}
|
|
.img .ref img{width:100%; height:100%; object-fit:cover}
|
|
.img .ref button{position:absolute; top:1px; right:1px; border:none; cursor:pointer; line-height:1;
|
|
background:color-mix(in srgb, var(--card) 80%, transparent); color:var(--txt);
|
|
border-radius:0 0 0 7px; font-size:13px; padding:1px 4px}
|
|
.img .ref .n{position:absolute; bottom:0; left:0; font:600 9.5px var(--mono); padding:1px 4px;
|
|
background:color-mix(in srgb, var(--card) 80%, transparent); color:var(--mut)}
|
|
/* the wait, drawn: loading 31 GB takes about a minute and a 1024px image 38 s. A
|
|
disabled button says neither what is happening nor how far in it is, so both are read
|
|
off the engine's own log. The phase name is exact; the bar is real per-step progress
|
|
once denoising starts. */
|
|
.img .prog{margin-top:10px}
|
|
.img .prog .lab{display:flex; justify-content:space-between; gap:4px 10px; align-items:baseline; flex-wrap:wrap;
|
|
font:400 12px/1.5 var(--mono); color:var(--mut); margin-bottom:5px}
|
|
.img .prog .lab b{color:var(--txt); font-weight:600}
|
|
.img .prog .tr{height:7px; border-radius:5px; overflow:hidden; border:1px solid var(--line);
|
|
background:color-mix(in srgb, var(--line) 45%, transparent)}
|
|
.img .prog .fl{display:block; height:100%; min-width:2px; border-radius:4px;
|
|
background:linear-gradient(90deg, color-mix(in srgb, var(--acc) 65%, var(--card)), var(--acc));
|
|
transition:width .5s ease-out}
|
|
/* indeterminate: a band that slides, because a full track that later snaps to 2% reads
|
|
as progress running backwards, and a number nobody measured reads as a measurement */
|
|
.img .prog.indet .tr{position:relative; overflow:hidden}
|
|
.img .prog.indet .fl{position:absolute; inset:0 auto 0 0; width:38% !important;
|
|
transition:none; animation:imgslide 1.5s ease-in-out infinite}
|
|
@keyframes imgslide{0%{left:-38%} 100%{left:100%}}
|
|
@keyframes imgpulse{0%,100%{opacity:.45} 50%{opacity:1}}
|
|
@media (prefers-reduced-motion:reduce){
|
|
.img .prog.indet .fl{animation:imgpulse 1.8s ease-in-out infinite; left:0; width:100% !important}
|
|
}
|
|
/* no opacity pulse on the frame itself: it now holds the progress text, and a
|
|
fading label is a label nobody can read. The bar inside carries the motion. */
|
|
.img .frame{border:1px dashed var(--line); border-radius:var(--r-ctl); display:grid;
|
|
place-items:center; color:var(--mut); font:400 12px var(--mono); text-align:center;
|
|
background:color-mix(in srgb, var(--card2) 40%, transparent); padding:14px}
|
|
@media (max-width:900px){ .img .shots.multi{grid-template-columns:1fr} }
|
|
|
|
/* ── modal ── */
|
|
.modal{position:fixed; inset:0; background:rgba(6,6,8,.72); z-index:50; display:grid; place-items:center; backdrop-filter:blur(4px)}
|
|
.mcard{width:min(600px,92vw); background:var(--card); border:1px solid var(--line); border-radius:16px; padding:22px 24px; box-shadow:0 24px 80px rgba(0,0,0,.5)}
|
|
.mcard h3{font-size:15px}
|
|
.mcard .mwhat{color:var(--mut); font-size:13px; margin:8px 0; white-space:pre-line}
|
|
.mcard .mwarn{color:var(--warn); font-size:12.5px; margin:6px 0; white-space:pre-line}
|
|
.mcard pre{background:var(--soft); border:1px solid var(--line); border-radius:9px; padding:11px 13px; font:400 12px/1.6 var(--mono); overflow:auto; margin-top:10px}
|
|
.mrow{display:flex; justify-content:flex-end; gap:10px; margin-top:18px; align-items:center}
|
|
.mrow .mstatus{margin-right:auto; color:var(--mut); font-size:12px}
|
|
.toast{position:fixed; left:50%; bottom:22px; transform:translateX(-50%); z-index:60; background:var(--card); border:1px solid var(--line2);
|
|
border-radius:11px; padding:10px 16px; font-size:13px; box-shadow:var(--shadow); max-width:min(640px, 92vw)}
|
|
.toast.warn{border-color:color-mix(in srgb, var(--warn) 60%, transparent)}
|
|
.toast.err{border-color:color-mix(in srgb, var(--err) 60%, transparent)}
|
|
|
|
/* A crushed pill says nothing. Drop its sub-line, then the pill itself, rather than
|
|
shrink it to a stub: the lane is also named on the lane button and in Overview.
|
|
The thresholds give the action bar room to show the lane button's label whole
|
|
(the old 1240/1120 pair did not at 1280 on a 13-inch laptop). */
|
|
@media (max-width:1460px){ .lanepill .sub{display:none} }
|
|
@media (max-width:1180px){ .lanepill{display:none} }
|
|
|
|
/* ── held in a hand ─────────────────────────────────────────────────────────
|
|
Everything here is keyed on the viewport, never on iOS, so a narrow desktop
|
|
window gets the same layout and the same tests. The numbers come from
|
|
dashboard/tests/mobile-check.mjs on four real iPhone geometries: before this
|
|
block, a 393 px phone spent 620 px of its 852 px screen on the bar and the
|
|
rail before the first card, because both wrapped into three rows. One
|
|
swipeable row each costs 150 px instead. */
|
|
@media (max-width:980px){
|
|
.shell{grid-template-columns:1fr}
|
|
.rail{position:static; height:auto; flex-direction:row; flex-wrap:nowrap; overflow-x:auto; overflow-y:hidden;
|
|
border-right:0; border-bottom:1px solid var(--line); padding:7px 10px; gap:6px;
|
|
scrollbar-width:none; -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain}
|
|
.rail::-webkit-scrollbar{display:none}
|
|
.rail .foot{display:none}
|
|
.rail .nav{width:auto; flex:none}
|
|
/* The rail is a visible row of tabs now: a hamburger that folds it away
|
|
would only hide the one navigation the phone can actually use. */
|
|
#railbtn{display:none}
|
|
/* The identity row keeps the brand and the connection; the actions get a row
|
|
of their own that scrolls sideways rather than stacking four buttons deep. */
|
|
/* env() insets: the notch and the home-indicator belong to the chrome, not
|
|
to your content; a fixed padding loses to them in landscape on an iPhone. */
|
|
.top{height:auto; flex-wrap:wrap; row-gap:6px; column-gap:10px; padding:6px
|
|
max(12px, env(safe-area-inset-right)) 6px max(12px, env(safe-area-inset-left))}
|
|
.jobstrip{padding-left:max(16px, env(safe-area-inset-left)); padding-right:max(16px, env(safe-area-inset-right))}
|
|
.top .brand h1{font-size:14px}
|
|
.conn{order:2; margin-left:auto}
|
|
.actbar{order:3; flex:1 0 100%; flex-wrap:nowrap; overflow-x:auto; overflow-y:hidden;
|
|
justify-content:flex-start; margin-left:0; padding-bottom:1px;
|
|
scrollbar-width:none; -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain}
|
|
.actbar::-webkit-scrollbar{display:none}
|
|
.actbar .grp{flex:none}
|
|
.actbar .grp + .grp{padding-left:9px; border-left:1px solid var(--line)}
|
|
#switchsel{min-width:9rem; max-width:12rem; flex-shrink:0}
|
|
.jobstrip{top:auto; position:static}
|
|
.content{padding:var(--s4) var(--s4) 40px}
|
|
.tabhead{margin-bottom:var(--s4)}
|
|
/* A number and its tank, stacked. Side by side at 393 px the tank took 40 %
|
|
of the row and the number's own column stayed empty. */
|
|
.res{grid-template-columns:1fr; gap:10px; align-items:stretch}
|
|
.res .legend{gap:10px}
|
|
.facts{grid-template-columns:repeat(auto-fit, minmax(132px,1fr)); gap:12px var(--s4)}
|
|
.kv{gap:8px var(--s4)}
|
|
.evt time{min-width:62px}
|
|
.grid{gap:14px}
|
|
section.panel{padding:var(--s3) var(--s4) var(--s4)}
|
|
/* The rail is a row now, so the shell has two rows and the second one takes
|
|
the rest of the screen. minmax(0,1fr), not 1fr: a grid row's automatic
|
|
minimum is its content, so a plain 1fr grows past the viewport instead of
|
|
giving the Agent frame a box to fill. The agent rules themselves live
|
|
further down, after the ones they override. */
|
|
.shell{grid-template-rows:auto minmax(0,1fr)}
|
|
}
|
|
/* ── fingers, not a mouse ───────────────────────────────────────────────────
|
|
44x44 CSS px is the smallest target Apple's HIG accepts, and a form control
|
|
under 16 px makes iOS Safari zoom the whole page the moment it takes focus,
|
|
with no way back. Keyed on a coarse pointer as well as on width, so a tablet
|
|
at 1024 px gets it too. */
|
|
@media (max-width:980px), (pointer:coarse){
|
|
.iconbtn{width:44px; height:44px}
|
|
.btn{min-height:44px; padding:10px 16px; font-size:13.5px}
|
|
.btn.mini{min-height:44px; padding:9px 13px; font-size:12.5px}
|
|
select{font-size:16px; min-height:44px; padding:8px 12px}
|
|
input[type=text], input[type=search], input[type=password], input[type=number], textarea{
|
|
font-size:16px; min-height:44px}
|
|
input[type=checkbox], input[type=radio]{width:20px; height:20px}
|
|
.rail .nav{min-height:44px; font-size:13.5px}
|
|
/* The box is the target, not the 20 px square inside it. */
|
|
.follow{min-height:44px; padding-right:2px}
|
|
.agexit{min-height:44px; padding:10px 16px; font-size:12.5px}
|
|
#joblogbtn{min-height:40px}
|
|
}
|
|
/* ── a phone, held at arm's length ───────────────────────────────────────
|
|
Below ~640 px a six-column table is not an instrument, it is noise. The
|
|
request feed stops being a table and becomes what it always was: a list of
|
|
requests. Each one gets a card face - path as the title, the outcome chip
|
|
and its token line as the answer, the boring geometry (time, port, size,
|
|
duration) set small around it. Grid areas place the six cells; the table
|
|
markup and the JS never learn the difference. */
|
|
@media (max-width:640px){
|
|
.content{padding:12px max(12px, env(safe-area-inset-right)) 36px max(12px, env(safe-area-inset-left))}
|
|
section.panel{padding:13px 14px 16px; border-radius:12px}
|
|
.grid{gap:12px}
|
|
.tabhead h2{font-size:18px}
|
|
.tabhead p{flex:1 0 100%; font-size:11.5px}
|
|
.res .big{font-size:30px}
|
|
.facts{grid-template-columns:repeat(auto-fit, minmax(120px,1fr)); gap:10px var(--s4)}
|
|
.toast{bottom:calc(18px + env(safe-area-inset-bottom)); left:max(14px, env(safe-area-inset-left));
|
|
right:max(14px, env(safe-area-inset-right)); transform:none; max-width:none}
|
|
#feedtable thead{display:none}
|
|
#feedtable, #feedtable tbody{display:block}
|
|
#feedtable tr{display:grid; grid-template-columns:auto 1fr auto; gap:2px 10px;
|
|
grid-template-areas:"ti pa pa" "ou ou du" "cl cl bo";
|
|
padding:11px 2px 12px; border-top:1px solid var(--line)}
|
|
#feedtable tr:first-child{border-top:0}
|
|
#feedtable td{border:0; padding:0}
|
|
#feedtable td:nth-child(1){grid-area:ti; color:var(--mut)}
|
|
#feedtable td:nth-child(2){grid-area:cl; color:var(--mut); font-size:11px}
|
|
#feedtable td:nth-child(3){grid-area:pa; font-weight:600; overflow-wrap:normal}
|
|
#feedtable td:nth-child(4){grid-area:bo; text-align:right; color:var(--mut); font-size:11px}
|
|
#feedtable td:nth-child(5){grid-area:du; text-align:right}
|
|
#feedtable td:nth-child(6){grid-area:ou; display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; white-space:normal}
|
|
#feedtable td:nth-child(6) .num{margin-top:0 !important}
|
|
#feedtable td.empty{display:block; text-align:center; padding:14px 0}
|
|
/* A wide table you cannot read is a horizontal scroll you must discover:
|
|
give it a real width so the wrapper's scroll is honest, not a crush. */
|
|
#rcptable{min-width:760px}
|
|
}
|
|
/* Agent tab: the frame takes what the viewport leaves under the bar and the head */
|
|
.agenthead{display:flex; align-items:flex-start; justify-content:space-between; gap:var(--s3); flex-wrap:wrap; margin-bottom:var(--s3)}
|
|
.agenthead .tabhead{margin:0}
|
|
.agentbar{display:flex; align-items:center; gap:var(--s2); flex-wrap:wrap; padding-top:2px}
|
|
.agentbar a.btn{text-decoration:none; display:inline-flex; align-items:center}
|
|
.agentbtns{display:flex; align-items:center; gap:var(--s2); min-width:0}
|
|
.agentline{color:var(--mut); font-size:12px}
|
|
.agentnote{margin:0 0 var(--s3)}
|
|
.agentframe{position:relative; height:calc(100vh - var(--top) - 118px); height:calc(100dvh - var(--top) - 118px);
|
|
min-height:min(440px, 55dvh); border:1px solid var(--line);
|
|
border-radius:var(--r-card); overflow:hidden; background:var(--card); box-shadow:var(--shadow)}
|
|
/* Scoped to the embedded state on purpose: :not([hidden]) counts its own
|
|
argument, so this selector weighs (0,3,0) and would beat
|
|
body.agentmax .agentframe (0,2,1). Fullscreen was then short by this
|
|
very calc, on any host that shows the note. */
|
|
body:not(.agentmax) .agentnote:not([hidden]) + .agentframe{
|
|
height:calc(100vh - var(--top) - 160px); height:calc(100dvh - var(--top) - 160px)}
|
|
.agentframe iframe{display:block; width:100%; height:100%; border:0}
|
|
.agentmsg{position:absolute; inset:0; display:grid; place-items:center; padding:var(--s6); text-align:center; background:var(--card)}
|
|
.agentmsg .empty{max-width:62ch; margin:0 auto}
|
|
.agentmsg .cmd{margin:var(--s3) auto 0; text-align:left; display:inline-block}
|
|
body[data-tab="agent"] .content{padding-bottom:var(--s5)}
|
|
/* fullscreen: the frame covers the whole window (above the bar and the rail, under the
|
|
confirm modal and the toasts); one small corner button, or Escape, brings the cockpit back */
|
|
body.agentmax{overflow:hidden}
|
|
body.agentmax{overscroll-behavior:none}
|
|
body.agentmax .agentframe{position:fixed; inset:0; height:auto; min-height:0; border:0; border-radius:0; box-shadow:none; z-index:40}
|
|
/* --vvh is the visual viewport's height, set by app.js when it changes: on iOS
|
|
the software keyboard shrinks that viewport and leaves the layout one alone,
|
|
so a frame sized in dvh would keep its composer under the keyboard. */
|
|
body.agentmax .agentframe{top:var(--vvtop, 0px); height:var(--vvh, 100dvh); bottom:auto}
|
|
/* The back button is a floating control, not a corner sticker: opencode keeps
|
|
its own bar along the top of the frame and a fixed top-right button hid it.
|
|
It rests mid-height against the right edge, and it can be dragged anywhere -
|
|
its parked place is remembered (app.js), in fractions of the frame so a
|
|
rotation puts it back where it was left. touch-action:none so the finger
|
|
drags the button instead of scrolling the page under it. */
|
|
.agexit{position:absolute; top:50%; right:10px; transform:translateY(-50%); z-index:3; display:none; align-items:center; gap:6px; padding:4px 10px; border-radius:999px;
|
|
border:1px solid var(--acc); background:var(--acc); color:#1a1509; font-weight:600; font-family:inherit; font-size:11.5px;
|
|
cursor:grab; touch-action:none; -webkit-user-select:none; user-select:none; box-shadow:0 2px 12px rgba(0,0,0,.5); backdrop-filter:blur(6px); transition:background .15s, color .15s}
|
|
.agexit:hover, .agexit:focus-visible{background:var(--acc-hi); border-color:var(--acc-hi); color:#140f05}
|
|
.agexit.dragging{cursor:grabbing; background:var(--acc-hi); border-color:var(--acc-hi); color:#140f05; transition:none}
|
|
body.agentmax .agexit{display:inline-flex}
|
|
|
|
/* The Agent tab in a hand. Placed after the rules above on purpose: a media
|
|
query adds no specificity, so a narrow-screen rule written before the rule
|
|
it means to override simply loses. The frame flexes into what the shell row
|
|
leaves instead of subtracting a hand-counted head height, which is the
|
|
number that goes stale the next time a line is added to that head. */
|
|
@media (max-width:980px){
|
|
body[data-tab="agent"] .content{display:flex; flex-direction:column; min-width:0; min-height:0; padding-bottom:var(--s3)}
|
|
body[data-tab="agent"] #tab-agent.active{display:flex; flex-direction:column; flex:1 1 auto; min-height:0}
|
|
.agenthead{flex-direction:column; gap:var(--s2); margin-bottom:var(--s2)}
|
|
/* Row one is the state and the controls, and it scrolls sideways; row two is
|
|
the detail line, which is prose and belongs on its own line rather than
|
|
squeezed into a flex item three lines tall. */
|
|
.agentbar{flex-wrap:wrap; row-gap:6px; width:100%}
|
|
.agentbar .chip{order:1; flex:none}
|
|
/* basis 0, not auto: flexbox breaks a line on the hypothetical size, so a
|
|
scroller whose content is 453 px wide takes a row of its own before it
|
|
ever gets the chance to shrink. */
|
|
.agentbtns{order:2; flex:1 1 0; overflow-x:auto; overflow-y:hidden; min-width:0; padding-bottom:1px;
|
|
scrollbar-width:none; -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain}
|
|
.agentbtns::-webkit-scrollbar{display:none}
|
|
.agentbtns .btn{flex:none}
|
|
.agentline{order:3; flex:1 0 100%; font-size:11px; line-height:1.5}
|
|
/* The subtitle explains the tab you are already looking at. */
|
|
#tab-agent .tabhead p{display:none}
|
|
.agentnote{font-size:11.5px; margin-bottom:var(--s2)}
|
|
body:not(.agentmax) .agentframe,
|
|
body:not(.agentmax) .agentnote:not([hidden]) + .agentframe{
|
|
flex:1 1 auto; height:auto; min-height:200px; border-radius:var(--r-ctl)}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<header class="top">
|
|
<button class="iconbtn" id="railbtn" aria-label="Collapse or expand the menu" aria-expanded="true" title="Menu">
|
|
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M4 7h16M4 12h16M4 17h16"/></svg>
|
|
</button>
|
|
<div class="brand">
|
|
<img src="/static/favicon.svg" alt="">
|
|
<h1>Spark Cockpit</h1>
|
|
<span class="badge" id="verbadge"></span>
|
|
<span class="badge dry" id="drybadge" hidden title="Every action is logged and audited but nothing is executed">DRY RUN</span>
|
|
</div>
|
|
<div class="lanepill" id="lanepill" aria-live="polite"><span class="chip skel" id="lanestate">...</span><b id="lanename">...</b><span class="sub" id="lanesub"></span></div>
|
|
<div class="actbar" id="actbar" aria-label="Actions">
|
|
<div class="grp" title="Change which model the serving unit runs (the switch itself never restarts anything)">
|
|
<select id="switchsel" aria-label="Target model to switch to">
|
|
<optgroup label="Text">
|
|
<option value="stock">27B stock (NVFP4)</option>
|
|
<option value="uncensored">27B uncensored (NVFP4)</option>
|
|
<option value="fp8">27B FP8 (Qwen)</option>
|
|
<option value="uncensored-fp8">27B FP8 uncensored</option>
|
|
<option value="flash">flash 176B (NVFP4)</option>
|
|
<option value="flash-uncensored">flash 176B uncensored</option>
|
|
<option value="flash-nvda">flash 176B (NVIDIA export)</option>
|
|
</optgroup>
|
|
<optgroup label="Images">
|
|
<option value="image">Qwen-Image 2.1</option>
|
|
</optgroup>
|
|
</select>
|
|
<button class="btn mini" data-act="switch">Switch</button>
|
|
</div>
|
|
<div class="grp">
|
|
<button class="btn mini danger" id="lanebtn" data-act="lane" disabled>...</button>
|
|
</div>
|
|
<div class="grp">
|
|
<button class="btn mini ghost" data-act="flush_cache" title="Empty the radix cache so the next big prompt never waits for an eviction">Flush cache</button>
|
|
<button class="btn mini danger" data-act="abort_all" title="Abort every in-flight generation (orphans left by vanished clients)">Abort all</button>
|
|
<button class="btn mini ghost" data-act="smoke" title="One real generation through the proxy, the way a client uses it">Smoke</button>
|
|
<button class="btn mini ghost" data-act="diag_bundle" title="Write a diagnostics tarball in your home (API key masked)">Bundle</button>
|
|
</div>
|
|
</div>
|
|
<div class="conn" title="Live connection to the cockpit and age of the newest data"><span id="connlabel">connecting</span><span class="dot" id="conndot"></span></div>
|
|
</header>
|
|
|
|
<div class="jobstrip" id="jobstrip" hidden aria-live="polite">
|
|
<span class="chip" id="jobchip">idle</span>
|
|
<span class="what" id="jobwhat"></span>
|
|
<span class="num" id="jobelapsed"></span>
|
|
<span class="bar" id="jobbar" hidden><i></i></span>
|
|
<span class="last" id="joblast"></span>
|
|
<button class="btn mini ghost" id="joblogbtn" aria-expanded="false">show log</button>
|
|
<pre class="joblog" id="joblog" hidden></pre>
|
|
</div>
|
|
|
|
<div class="shell">
|
|
<nav class="rail" id="rail" aria-label="Sections">
|
|
<button class="nav" data-tab="overview" aria-current="page"><svg viewBox="0 0 24 24"><rect x="3" y="3" width="8" height="8" rx="1.5"/><rect x="13" y="3" width="8" height="8" rx="1.5"/><rect x="3" y="13" width="8" height="8" rx="1.5"/><rect x="13" y="13" width="8" height="8" rx="1.5"/></svg><span class="lab">Overview</span><span class="bdg" id="bdg-overview"></span></button>
|
|
<button class="nav" data-tab="agent"><svg viewBox="0 0 24 24"><path d="M4 17l6-5-6-5"/><path d="M12 19h8"/></svg><span class="lab">Agent</span><span class="bdg" id="bdg-agent"></span></button>
|
|
<button class="nav" data-tab="engines"><svg viewBox="0 0 24 24"><rect x="5" y="5" width="14" height="14" rx="2"/><path d="M9 1v4M15 1v4M9 19v4M15 19v4M1 9h4M1 15h4M19 9h4M19 15h4"/></svg><span class="lab">Engines</span><span class="bdg" id="bdg-engines"></span></button>
|
|
<button class="nav" data-tab="requests"><svg viewBox="0 0 24 24"><path d="M4 7h13l-3-3M20 17H7l3 3"/></svg><span class="lab">Requests</span><span class="bdg" id="bdg-requests"></span></button>
|
|
<button class="nav" data-tab="machine"><svg viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="6" rx="1.5"/><rect x="3" y="14" width="18" height="6" rx="1.5"/><path d="M7 7h.01M7 17h.01"/></svg><span class="lab">Machine</span><span class="bdg" id="bdg-machine"></span></button>
|
|
<button class="nav" data-tab="models"><svg viewBox="0 0 24 24"><path d="M12 3l9 5-9 5-9-5 9-5z"/><path d="M3 8v8l9 5 9-5V8"/></svg><span class="lab">Models</span><span class="bdg" id="bdg-models"></span></button>
|
|
<button class="nav" data-tab="systemone"><svg viewBox="0 0 24 24"><path d="M4 18V9M9 18V5M14 18v-6M19 18v-9"/><path d="M3 21h18"/></svg><span class="lab">System One</span><span class="bdg" id="bdg-systemone"></span></button>
|
|
<button class="nav" data-tab="image"><svg viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="2"/><circle cx="8.5" cy="9.5" r="1.6"/><path d="M21 16l-5-5-6 6-3-3-4 4"/></svg><span class="lab">Image</span><span class="bdg" id="bdg-image"></span></button>
|
|
<button class="nav" data-tab="video"><svg viewBox="0 0 24 24"><rect x="3" y="5" width="13" height="14" rx="2"/><path d="M16 10l5-3v10l-5-3z"/></svg><span class="lab">Video</span><span class="bdg" id="bdg-video"></span></button>
|
|
<button class="nav" data-tab="logs"><svg viewBox="0 0 24 24"><path d="M5 6h14M5 12h14M5 18h9"/></svg><span class="lab">Logs</span><span class="bdg" id="bdg-logs"></span></button>
|
|
<button class="nav" data-tab="setup"><svg viewBox="0 0 24 24"><path d="M4 8h10M18 8h2M4 16h4M12 16h8"/><circle cx="15" cy="8" r="2"/><circle cx="9" cy="16" r="2"/></svg><span class="lab">Setup</span><span class="bdg" id="bdg-setup"></span></button>
|
|
<div class="foot" id="railfoot">Every action asks first and shows the exact command it will run. One action at a time, from any tab or browser.</div>
|
|
</nav>
|
|
|
|
<main class="content">
|
|
<div class="banners" id="banners"></div>
|
|
|
|
<!-- ── Overview ── -->
|
|
<div class="tab active" id="tab-overview">
|
|
<div class="grid">
|
|
<section class="panel wide" data-src="engine_fast,engine_info" aria-label="KV pool reservoir">
|
|
<h3>KV pool held <span class="right"><span class="age"></span></span></h3>
|
|
<div class="res">
|
|
<div>
|
|
<div class="eyebrow" id="reseyebrow">tokens held right now</div>
|
|
<div class="big num" id="resbig">...</div>
|
|
</div>
|
|
<div>
|
|
<div class="tank">
|
|
<div class="cap" id="rescapzone"></div>
|
|
<div class="level" id="reslevel" style="width:0%"></div>
|
|
<div class="tick" id="restick" style="left:0"></div>
|
|
<div class="ghost" id="resghost" style="width:0%"></div>
|
|
</div>
|
|
<div class="legend" id="reslegend"></div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="panel wide" data-src="lifecycle">
|
|
<h3>Serving lane <span class="right"><span class="age"></span></span></h3>
|
|
<div id="ovlane"></div>
|
|
<div class="facts" id="lanefacts">
|
|
<div><span>Model</span><b id="ovmodel">...</b></div>
|
|
<div><span>Revision</span><b class="num" id="ovrev">...</b></div>
|
|
<div><span>Context window</span><b class="num" id="ovctx">...</b></div>
|
|
<div><span>KV pool</span><b class="num" id="ovpool">...</b></div>
|
|
<div><span>Speculative</span><b id="ovspec">...</b></div>
|
|
<div><span>Serving image</span><b class="num" id="ovimage">...</b></div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="panel" data-src="engine_fast,decode,canary">
|
|
<h3>Right now <span class="chip" id="loadchip">...</span><span class="right"><span class="age"></span></span></h3>
|
|
<dl class="kv">
|
|
<dt>Running</dt><dd class="num" id="reqrun">...</dd>
|
|
<dt>Waiting</dt><dd class="num" id="reqwait">...</dd>
|
|
<dt>Tokens in KV</dt><dd class="num" id="reqtok">...</dd>
|
|
<dt>Accept length</dt><dd class="num" id="acclen">...</dd>
|
|
<dt>Generation probe</dt><dd id="canary">...</dd>
|
|
</dl>
|
|
<canvas class="spark" id="reqspark" width="600" height="92"></canvas>
|
|
</section>
|
|
|
|
<section class="panel" data-src="machine,kernel">
|
|
<h3>Unified memory <span class="chip" id="memchip">...</span><span class="right"><span class="age"></span></span></h3>
|
|
<div class="gauge" id="memgauge">
|
|
<div class="lab"><span>used</span><span class="num" id="memlab">...</span></div>
|
|
<div class="bar"><div class="fill" id="memfill" style="width:0%"></div></div>
|
|
</div>
|
|
<dl class="kv">
|
|
<dt>Available</dt><dd class="num" id="memavail">...</dd>
|
|
<dt>Floor belt</dt><dd class="num" id="memfloor">...</dd>
|
|
<dt>Driver refusals (1 h)</dt><dd class="num" id="nvrm">...</dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section class="panel" data-src="lifecycle">
|
|
<h3>Events <span class="right"><span class="age"></span></span></h3>
|
|
<div id="evtlist" role="log" aria-live="polite" aria-relevant="additions"><p class="empty">no events yet in this cockpit session</p></div>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- ── Engines ── -->
|
|
<div class="tab" id="tab-engines">
|
|
<div class="tabhead"><h2>Engines and services</h2><p>one serving engine at a time on unified memory; the proxy fronts it for agent clients</p></div>
|
|
<div class="grid">
|
|
<section class="panel wide" data-src="lifecycle,units">
|
|
<h3>Engines <span class="right"><span class="age"></span></span></h3>
|
|
<div id="enginelist"></div>
|
|
<div id="unitlist"></div>
|
|
</section>
|
|
<section class="panel" data-src="engine_info">
|
|
<h3>Served engine <span class="chip" id="engchip">...</span><span class="right"><span class="age"></span></span></h3>
|
|
<p class="empty" id="engdown" hidden></p>
|
|
<dl class="kv" id="engkv">
|
|
<dt>Model</dt><dd id="engmodel">...</dd>
|
|
<dt>Revision</dt><dd class="num" id="engrev">...</dd>
|
|
<dt>Quantization</dt><dd id="engquant">...</dd>
|
|
<dt>Context window</dt><dd class="num" id="engctx">...</dd>
|
|
<dt>KV pool</dt><dd class="num" id="engpool">...</dd>
|
|
<dt>Speculative</dt><dd id="engspec">...</dd>
|
|
<dt>Attention</dt><dd id="engattn">...</dd>
|
|
<dt>Radix cache</dt><dd id="engradix">...</dd>
|
|
<dt>Engine version</dt><dd class="num" id="engver">...</dd>
|
|
<dt>Serving image</dt><dd class="num" id="engimage">...</dd>
|
|
</dl>
|
|
</section>
|
|
<section class="panel" data-src="canary,containers">
|
|
<h3>Probes and containers <span class="right"><span class="age"></span></span></h3>
|
|
<dl class="kv">
|
|
<dt>Generation probe</dt><dd id="canary2">...</dd>
|
|
<dt>Last probe</dt><dd class="num" id="canarylast">...</dd>
|
|
</dl>
|
|
<table id="ctable" style="margin-top:14px" data-empty="No container of this repo is running."><thead><tr><th>Container</th><th class="r" style="width:20%">CPU</th><th class="r" style="width:36%">cgroup mem</th></tr></thead><tbody></tbody></table>
|
|
<p class="note">cgroup memory excludes CUDA unified allocations; the unified memory panel is the real gauge.</p>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- ── Requests ── -->
|
|
<div class="tab" id="tab-requests">
|
|
<div class="tabhead"><h2>Requests</h2><p>what the keepalive proxy on :30001 sees, and how the engine is spending its pool</p></div>
|
|
<div class="grid split">
|
|
<section class="panel" data-src="feed">
|
|
<h3>Request feed <span class="chip" id="feedchip">...</span><span class="right"><span class="age"></span></span></h3>
|
|
<div class="tablewrap"><table id="feedtable" data-empty="No request through the proxy yet."><thead><tr><th>Time</th><th>Client :port</th><th>Path</th><th class="r">Body</th><th class="r">Duration</th><th>Outcome</th></tr></thead><tbody></tbody></table></div>
|
|
</section>
|
|
<section class="panel" data-src="reqguard">
|
|
<h3>Zombie guard <span class="chip" id="zgchip">...</span><span class="right"><span class="age"></span></span></h3>
|
|
<p class="note" id="zgverdict">...</p>
|
|
<dl class="kv" style="margin-top:10px">
|
|
<dt>Running proxy</dt><dd class="num" id="zgversion">...</dd>
|
|
<dd class="text" id="zgversionnote" hidden></dd>
|
|
<dt>Engine takes the proxy's rid</dt><dd class="num" id="zgoverride">...</dd>
|
|
<dd class="text" id="zgoverridenote" hidden></dd>
|
|
<dt>Clients that left</dt><dd class="num" id="zgacted">...</dd>
|
|
<dt>Engine flood lines</dt><dd class="num" id="zgflood">...</dd>
|
|
</dl>
|
|
<div class="tablewrap" id="zgtablewrap" hidden><table id="zgtable" data-empty="No abandoned generation in the window."><thead><tr><th>Abandoned request</th><th class="r">Log lines</th><th class="r">Dead decode</th></tr></thead><tbody></tbody></table></div>
|
|
</section>
|
|
<section class="panel" data-src="engine_fast,decode">
|
|
<h3>Pool and decode <span class="right"><span class="age"></span></span></h3>
|
|
<div class="gauge" id="poolgauge">
|
|
<div class="lab"><span>KV pool held</span><span class="num" id="poollab">...</span></div>
|
|
<div class="bar"><div class="fill" id="poolfill" style="width:0%"></div></div>
|
|
</div>
|
|
<p class="note" id="poolnote"></p>
|
|
<dl class="kv" style="margin-top:10px">
|
|
<dt>KV usage (engine log)</dt><dd class="num" id="kvusage">...</dd>
|
|
<dt>Mamba state slots</dt><dd class="num" id="mambausage">...</dd>
|
|
<dt>Accept length</dt><dd class="num" id="acclen2">...</dd>
|
|
</dl>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- ── Machine ── -->
|
|
<div class="tab" id="tab-machine">
|
|
<div class="tabhead"><h2>Machine</h2><p>the GB10 as it really is: unified memory is the gauge that matters</p></div>
|
|
<div class="grid">
|
|
<section class="panel" data-src="machine">
|
|
<h3>Unified memory <span class="chip" id="memchip2">...</span><span class="right"><span class="age"></span></span></h3>
|
|
<canvas class="spark" id="memspark" width="600" height="92"></canvas>
|
|
<dl class="kv" style="margin-top:8px">
|
|
<dt>Used</dt><dd class="num" id="memused2">...</dd>
|
|
<dt>Available</dt><dd class="num" id="memavail2">...</dd>
|
|
<dt>Page cache</dt><dd class="num" id="memcache">...</dd>
|
|
<dt>Swap used</dt><dd class="num" id="swap">...</dd>
|
|
<dt>Disk free (home)</dt><dd class="num" id="diskhome">...</dd>
|
|
<dt>Disk free (docker)</dt><dd class="num" id="diskdocker">...</dd>
|
|
</dl>
|
|
</section>
|
|
<section class="panel" data-src="gpu">
|
|
<h3>GPU (GB10) <span class="chip" id="gpuchip">...</span><span class="right"><span class="age"></span></span></h3>
|
|
<dl class="kv">
|
|
<dt>Power draw</dt><dd class="num" id="gpupower">...</dd>
|
|
<dt>Temperature</dt><dd class="num" id="gputemp">...</dd>
|
|
</dl>
|
|
<canvas class="spark" id="powspark" width="600" height="92"></canvas>
|
|
<table id="gpuprocs" data-empty="No process holds GPU memory."><thead><tr><th>GPU process</th><th>pid</th><th class="r">memory</th></tr></thead><tbody></tbody></table>
|
|
</section>
|
|
<section class="panel" data-src="machine">
|
|
<h3>CPU <span class="chip" id="cpuchip">...</span><span class="right"><span class="age"></span></span></h3>
|
|
<canvas class="spark" id="cpuspark" width="600" height="92"></canvas>
|
|
<dl class="kv">
|
|
<dt>Load 1 / 5 / 15</dt><dd class="num" id="loads">...</dd>
|
|
<dt>Cores</dt><dd class="num" id="cores">...</dd>
|
|
</dl>
|
|
</section>
|
|
<section class="panel wide" data-src="kernel,engine_fast,lifecycle">
|
|
<h3>Safety belts <span class="right"><span class="age"></span></span></h3>
|
|
<dl class="kv">
|
|
<dt>Memory floor</dt><dd class="num" id="memfloor2">...</dd>
|
|
<dt>Driver refusals (1 h)</dt><dd class="num" id="nvrm2">...</dd>
|
|
<dt>Prefix cache guard</dt><dd class="num" id="poolguard">...</dd>
|
|
</dl>
|
|
<p class="note">The floor belt aborts every generation when host memory falls under the floor while requests run. Driver refusals are recoverable allocation failures during a prefill near the memory edge; the engine retries them. The prefix cache guard empties the radix cache while the engine is idle above its threshold, so a later giant prompt never has to evict: the cost is that the next long prompt prefills from scratch.</p>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- ── Models ── -->
|
|
<div class="tab" id="tab-models">
|
|
<div class="tabhead"><h2>Models, recipes and images</h2><p>what each lane serves as data, what is on disk, what moved upstream</p></div>
|
|
<div class="grid two">
|
|
<section class="panel wide">
|
|
<h3>Recipes <span class="right"><span class="age" id="rcpage"></span><button class="btn mini ghost" id="rcpbtn">reload</button></span></h3>
|
|
<p class="note" style="margin:0 0 8px">Built-in recipes are read from the repo's own pins and templates; a custom recipe is a JSON file in <code id="rcpdir" class="num"></code>. Drift lists where the installed unit or launcher differs from the recipe.</p>
|
|
<div class="tablewrap"><table id="rcptable" data-empty="No recipe read yet."><thead><tr><th style="width:15%">Recipe</th><th style="width:14%">Engine image</th><th style="width:16%">Model</th><th style="width:15%">Drafter</th><th style="width:16%">Serving</th><th style="width:11%">On this box</th><th style="width:13%">Drift</th></tr></thead><tbody></tbody></table></div>
|
|
<p class="note" id="rcpline"></p>
|
|
</section>
|
|
<section class="panel wide">
|
|
<h3>Registry <span class="right"><span class="age" id="regage"></span><button class="btn mini ghost" id="regbtn">scan</button></span></h3>
|
|
<p class="note" style="margin:0 0 8px">Models, revisions and engine images on this box; pinned means a repo script serves exactly this revision. The scan reads metadata only.</p>
|
|
<div class="tablewrap"><table id="regmodels" data-empty="No scan yet. Run scan to read what is on disk."><thead><tr><th>Model</th><th>Revision</th><th class="r">Size</th><th class="r">Disk</th><th>Status</th></tr></thead><tbody></tbody></table></div>
|
|
<div class="tablewrap"><table id="regimages" style="margin-top:14px" data-empty="No engine image found for this repo's lanes."><thead><tr><th>Engine image</th><th class="r">Size</th><th class="r">Id</th></tr></thead><tbody></tbody></table></div>
|
|
<h3 style="margin-top:16px">Other cached models <span class="chip" id="otherchip"></span></h3>
|
|
<div class="tablewrap"><table id="othertable" data-empty="Nothing else in the Hugging Face cache."><thead><tr><th>Model</th><th class="r">Disk</th></tr></thead><tbody></tbody></table></div>
|
|
</section>
|
|
<section class="panel">
|
|
<h3>Upstream watch <span class="right"><button class="btn mini ghost" id="upbtn">check</button></span></h3>
|
|
<div class="tablewrap"><table id="uptable" data-empty="No check run yet. Run check to compare the pins with upstream."><thead><tr><th>Model</th><th>Pinned</th><th>Upstream</th><th>Status</th></tr></thead><tbody></tbody></table></div>
|
|
<p class="note" id="upline">Compares every pinned revision with the upstream main branch and the local tag with the latest release. Read-only, never auto-bumps.</p>
|
|
</section>
|
|
<section class="panel">
|
|
<h3>Inventory <span class="right"><button class="btn mini ghost" id="invbtn">scan</button></span></h3>
|
|
<p class="note" style="margin:0 0 8px">Everything any version of this repo left on this box (uninstall.sh --list, read-only).</p>
|
|
<table id="invtable" data-empty="No scan yet. Run scan to list what this repo left on the box."><thead><tr><th style="width:92px">Kind</th><th>What</th></tr></thead><tbody></tbody></table>
|
|
<p class="note" id="invline"></p>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- ── Logs ── -->
|
|
<div class="tab" id="tab-logs">
|
|
<div class="tabhead"><h2>Logs, events and jobs</h2><p>the raw material behind every state shown elsewhere</p></div>
|
|
<div class="grid split">
|
|
<section class="panel wide">
|
|
<h3>Live logs
|
|
<span class="right">
|
|
<select id="logsel" aria-label="Log source">
|
|
<option value="qwen38-sglang">qwen38-sglang (container)</option>
|
|
<option value="qwen38-flash">qwen38-flash (container)</option>
|
|
<option value="qwen38-keepalive.service">keepalive proxy (journal)</option>
|
|
<option value="opencode-web.service" id="logopt-agent" hidden>opencode web server (journal)</option>
|
|
</select>
|
|
<label class="follow"><input type="checkbox" id="logfollow"> follow</label>
|
|
<button class="btn mini ghost" id="logbtn">Tail</button>
|
|
</span>
|
|
</h3>
|
|
<pre id="logview" class="joblog" style="max-height:360px"><span class="empty">press Tail to read the last 120 lines</span></pre>
|
|
</section>
|
|
<section class="panel" data-src="lifecycle">
|
|
<h3>Events (last 30) <span class="right"><span class="age"></span></span></h3>
|
|
<div id="evtlist2"><p class="empty">no events yet</p></div>
|
|
</section>
|
|
<section class="panel" data-src="job">
|
|
<h3>Recent jobs <span class="right"><span class="age"></span></span></h3>
|
|
<div id="jobhist"><p class="empty">no job run since the cockpit started</p></div>
|
|
<pre id="jobhistlog" class="joblog" style="margin-top:10px" hidden></pre>
|
|
<p class="note">The complete record is the audit log: <code class="num">~/.config/qwen38/cockpit-audit.log</code></p>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- ── Agent ── -->
|
|
<div class="tab" id="tab-agent">
|
|
<div class="agenthead">
|
|
<div class="tabhead"><h2>Agent</h2><p>opencode in the browser, behind this login</p></div>
|
|
<div class="agentbar" id="agentbar">
|
|
<span class="chip skel" id="agchip">...</span>
|
|
<span class="agentline" id="agline"></span>
|
|
<span class="agentbtns">
|
|
<a class="btn mini ghost" id="agopen" target="_blank" rel="noopener" hidden title="The same interface in its own browser tab">Open in a tab</a>
|
|
<button class="btn mini ghost" id="agreload" hidden title="Reload the panel">Reload</button>
|
|
<button class="btn mini ghost" id="agmax" hidden title="Fill the browser window with the agent; Escape or the corner button brings the cockpit back">Fullscreen</button>
|
|
<button class="btn mini ghost" id="agrestart" data-act="unit" data-unit="opencode-web.service" data-verb="restart" hidden title="systemctl restart opencode-web.service (after an opencode upgrade)">Restart server</button>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<p class="note agentnote" id="agnote" hidden></p>
|
|
<div class="agentframe" id="agframe">
|
|
<button class="agexit" id="agexit" title="Back to the cockpit (Escape)"><svg viewBox="0 0 24 24" width="12" height="12" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 4v5H4M15 20v-5h5M4 9l5-5M20 15l-5 5"/></svg>Back to cockpit</button>
|
|
<div class="agentmsg" id="agmsg"><div><p class="empty" id="agmsgtext">...</p><pre class="cmd" id="agcmd" hidden></pre></div></div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- ── System One (local Jev) ── -->
|
|
<div class="tab s1" id="tab-systemone">
|
|
<div class="tabhead"><h2>System One</h2><p>Jev's contract, answered by the lane on this box. Nothing leaves the machine.</p></div>
|
|
|
|
<section class="panel s1wide" style="margin-bottom:var(--s3)">
|
|
<h3>What answers here <span class="right"><span class="chip" id="s1chip">checking...</span></span></h3>
|
|
<p class="note" id="s1note" style="margin:0 0 10px">A typed question becomes one chat completion of exactly one token. The options are named by
|
|
single-token letters, the engine returns its probabilities for that one slot, and the probability of each letter is the probability
|
|
of its option. Nothing is generated and nothing is parsed, so nothing can be parsed wrong.</p>
|
|
<dl class="kv">
|
|
<dt>Serving</dt><dd class="num" id="s1lane">...</dd>
|
|
<dt>Endpoint</dt><dd class="num">POST /v1/systemone</dd>
|
|
<dt>Model names it accepts</dt><dd class="num">jev-latest · jev-preview · jev-1.13.0 · the lane's own name</dd>
|
|
<dt>Question types</dt><dd>choice (up to 255 options) · score (1 to 10 levels) · noul (yes/no)</dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<div class="s1grid">
|
|
<section class="panel">
|
|
<h3>The call <span class="right"><button class="btn mini ghost" id="s1reset">Reset</button></span></h3>
|
|
<div class="ex" id="s1examples"></div>
|
|
<label class="eyebrow" for="s1state">State</label>
|
|
<textarea id="s1state" spellcheck="false" aria-label="State"></textarea>
|
|
<div style="display:flex; justify-content:space-between; align-items:center; margin:12px 0 7px">
|
|
<span class="eyebrow">Questions</span>
|
|
<span style="display:flex; gap:6px">
|
|
<button class="btn mini low" data-addq="noul">+ noul</button>
|
|
<button class="btn mini low" data-addq="choice">+ choice</button>
|
|
<button class="btn mini low" data-addq="score">+ score</button>
|
|
</span>
|
|
</div>
|
|
<div id="s1questions"></div>
|
|
<div style="display:flex; gap:8px; align-items:center; margin-top:12px">
|
|
<button class="btn" id="s1run">Ask the lane</button>
|
|
<span class="follow" id="s1status"></span>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="panel">
|
|
<h3>The answer <span class="right"><span class="chip" id="s1time"></span></span></h3>
|
|
<div id="s1answers"><p class="note" style="margin:0">Pick an example or write your own, then ask. The answer comes back as probabilities, not prose.</p></div>
|
|
<div class="meta" id="s1meta"></div>
|
|
</section>
|
|
|
|
<section class="panel s1wide">
|
|
<h3>The same call, from anywhere <span class="right"><button class="btn mini ghost" id="s1copy">Copy</button></span></h3>
|
|
<p class="note" style="margin:0 0 9px">This is the request the button above sends, with the serving key read from your own machine.
|
|
A client written for the hosted API runs against it by changing one base URL: <span class="num">TYPESAFE_BASE_URL=http://127.0.0.1:30001</span>.</p>
|
|
<div class="cmd" id="s1curl"></div>
|
|
</section>
|
|
|
|
<section class="panel s1wide">
|
|
<h3>This box against the hosted Jev <span class="right"><span class="chip">measured 2026-09-18 to 21</span></span></h3>
|
|
<p class="note" style="margin:0 0 10px">Byte-identical payloads to both, public datasets at pinned revisions, scored the same way
|
|
(<span class="num">bench-systemone.py</span>, BENCHMARKS.md). Accuracy is the share right; ECE is how far the stated confidence is from the truth, lower is better.</p>
|
|
<div class="tablewrap">
|
|
<table id="s1bench">
|
|
<thead><tr><th>task</th><th class="r">hosted Jev</th><th class="r">this lane</th><th class="r">ECE, Jev vs here</th><th class="r">latency p50</th></tr></thead>
|
|
<tbody>
|
|
<tr><td>TypeSafe's 20 public cases, 408 questions</td><td class="r num">93.2%</td><td class="r num">92.9%</td><td class="r num">measured noise 0.3</td><td class="r num">0.61 s / 0.55 s</td></tr>
|
|
<tr><td>BoolQ, 3,270</td><td class="r num">91.9%</td><td class="r num">89.3%</td><td class="r num">2.4% / <b>1.2%</b></td><td class="r num">0.61 s / 0.55 s</td></tr>
|
|
<tr><td>MMLU-Pro, 1,000 (calculation)</td><td class="r num">83.8%</td><td class="r num">62.1%</td><td class="r num">7.2% / 4.2%</td><td class="r num">0.62 s / 0.99 s</td></tr>
|
|
<tr><td>MMLU-Pro, 200, with a thinking budget</td><td class="r num">84.0%</td><td class="r num"><b>84.5%</b></td><td class="r num">8.7% / 12.0%</td><td class="r num">0.61 s / 12.5 s</td></tr>
|
|
<tr><td>French XNLI 500 · French MMLU 500</td><td class="r num">78.2% · 87.4%</td><td class="r num">71.4% · 74.6%</td><td class="r num">-</td><td class="r num">-</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p class="note" style="margin:10px 0 0">Where it ties: judgement on text, which is what this endpoint is for, and calibration on BoolQ is better here.
|
|
Where it loses: calculation in one forward pass, which a thinking budget closes at the cost of seconds.
|
|
What it never costs: a token leaving the building, or $0.042 per million.</p>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- ── Image ── -->
|
|
<div class="tab s1 img" id="tab-image">
|
|
<div class="tabhead"><h2>Image</h2><p>Qwen-Image 2.1 on this box: text to image, editing, and the transparency it generates natively. No pixel leaves the machine.</p></div>
|
|
|
|
<section class="panel s1wide" style="margin-bottom:var(--s3)">
|
|
<h3>The lane <span class="right"><span class="chip" id="imgchip">checking...</span></span></h3>
|
|
<p class="note" id="imgnote" style="margin:0 0 10px">A 7B DiT with 32 single-stream layers, its own Qwen3-VL encoder and a VAE that
|
|
decodes RGBA. One checkpoint does generation, editing and transparency; up to ten reference images per call. It holds 31 GB of weights
|
|
and peaks at 34.8 GB at 1024×1024 (44.7 GB at 2048×2048), which is why it and the text lane take turns rather than share.</p>
|
|
<dl class="kv">
|
|
<dt>Serving</dt><dd class="num" id="imgmodel">Qwen/Qwen-Image-2.1</dd>
|
|
<dt>Endpoints</dt><dd class="num">POST /v1/images/generations · /v1/images/edits</dd>
|
|
<dt>Licence</dt><dd>Qwen Research License: research and evaluation, <b>not commercial use</b></dd>
|
|
</dl>
|
|
<div id="imgctl" class="meta" style="margin-top:12px"></div>
|
|
<ol class="steps" id="imgsteps-guide" hidden></ol>
|
|
<div id="imgboot"></div>
|
|
</section>
|
|
|
|
<div class="s1grid">
|
|
<section class="panel">
|
|
<h3>The call <span class="right"><button class="btn mini ghost" id="imgreset">Reset settings</button></span></h3>
|
|
|
|
<div class="seg" role="group" aria-label="What to do" style="margin-bottom:11px">
|
|
<button id="imgmode-t2i" data-mode="t2i" aria-pressed="true">Generate</button>
|
|
<button id="imgmode-edit" data-mode="edit" aria-pressed="false">Edit</button>
|
|
</div>
|
|
|
|
<label class="eyebrow" for="imgprompt" style="display:block">Prompt</label>
|
|
<div class="ex" id="imgexamples"></div>
|
|
<textarea id="imgprompt" spellcheck="false" aria-label="Prompt"></textarea>
|
|
|
|
<div id="imgrefbox" hidden>
|
|
<div style="display:flex; justify-content:space-between; align-items:center; margin:12px 0 0">
|
|
<span class="eyebrow">Reference images <span class="num" id="imgrefcount">0 of 10</span></span>
|
|
<span style="display:flex; gap:6px">
|
|
<button class="btn mini low" id="imgrefadd">+ Add</button>
|
|
<button class="btn mini low" id="imgrefsample">Use a sample</button>
|
|
</span>
|
|
</div>
|
|
<input type="file" id="imgreffile" accept="image/png,image/jpeg,image/webp" multiple hidden>
|
|
<div class="refs" id="imgrefs"></div>
|
|
<p class="note" style="margin:7px 0 0">They are labelled <span class="num">Picture 1</span>, <span class="num">Picture 2</span>
|
|
and so on, in this order, and you can name them in the prompt. A PNG keeps its alpha; anything else gets an opaque one.</p>
|
|
<p class="warn" style="margin:8px 0 0">Editing redraws the whole picture, it does not patch a region. What you ask for does
|
|
happen, and the rest comes back with about twice the fine detail of what you sent: measured here at 2.16× the
|
|
high-frequency energy of the source, on every reference, every prompt, every step count and every guidance setting,
|
|
including an edit that asks for nothing to change. Generation does not do this. Expect a re-rendered image, not a retouched one.</p>
|
|
</div>
|
|
|
|
<div class="ctl">
|
|
<label><span class="eyebrow">Size</span>
|
|
<select id="imgsize"></select></label>
|
|
<label id="imgwbox" hidden><span class="eyebrow">Width</span>
|
|
<input type="number" id="imgw" min="32" max="4096" step="32" value="1024"></label>
|
|
<label id="imghbox" hidden><span class="eyebrow">Height</span>
|
|
<input type="number" id="imgh" min="32" max="4096" step="32" value="1024"></label>
|
|
<label><span class="eyebrow">Steps</span>
|
|
<input type="number" id="imgsteps" min="1" max="100" step="1" value="40"></label>
|
|
<label><span class="eyebrow">Images</span>
|
|
<input type="number" id="imgn" min="1" max="10" step="1" value="1"></label>
|
|
<label><span class="eyebrow">Background</span>
|
|
<select id="imgbg">
|
|
<option value="auto">Scene (default)</option>
|
|
<option value="transparent">Transparent</option>
|
|
</select></label>
|
|
<label><span class="eyebrow">Format</span>
|
|
<select id="imgfmt">
|
|
<option value="png">PNG (default)</option>
|
|
<option value="webp">WebP</option>
|
|
</select></label>
|
|
</div>
|
|
|
|
<details class="adv" id="imgadv">
|
|
<summary>Advanced</summary>
|
|
<div class="ctl">
|
|
<label><span class="eyebrow">Seed</span>
|
|
<input type="text" id="imgseed" placeholder="empty = random" inputmode="numeric"></label>
|
|
<label><span class="eyebrow">True CFG scale</span>
|
|
<input type="number" id="imgcfg" min="1" max="10" step="0.5" placeholder="1 = off"></label>
|
|
<label><span class="eyebrow">Flow shift</span>
|
|
<input type="number" id="imgshift" min="0" max="20" step="0.1" placeholder="model default"></label>
|
|
<label><span class="eyebrow">RNG device</span>
|
|
<select id="imgdev">
|
|
<option value="cpu">cpu (model default)</option>
|
|
<option value="cuda">cuda</option>
|
|
</select></label>
|
|
</div>
|
|
<label class="eyebrow" for="imgneg" style="display:block; margin-top:9px">Negative prompt</label>
|
|
<textarea id="imgneg" spellcheck="false" style="min-height:52px" aria-label="Negative prompt"></textarea>
|
|
<p class="note" style="margin:7px 0 0">CFG needs <b>both</b>: a scale above 1 <b>and</b> a negative prompt.
|
|
Either one alone is ignored, byte for byte (<span class="num">schedule_batch.py:399</span>).
|
|
The RNG device decides where the starting noise is drawn, not where the model runs: it is on the GPU either way.</p>
|
|
</details>
|
|
|
|
<p class="warn" id="imgwarn" hidden></p>
|
|
<div style="display:flex; gap:8px; align-items:center; margin-top:12px">
|
|
<button class="btn" id="imgrun">Generate</button>
|
|
<span class="follow" id="imgstatus"></span>
|
|
</div>
|
|
<p class="cost" id="imgcost"></p>
|
|
</section>
|
|
|
|
<section class="panel">
|
|
<h3>The image <span class="right"><span class="chip" id="imgtime"></span>
|
|
<button class="btn mini danger" id="imgcancel" hidden title="SGLang Diffusion cannot abort a request, so cancelling restarts the lane">Cancel</button></span></h3>
|
|
<div id="imgout"><p class="note" style="margin:0">Pick an example or write your own, then generate.
|
|
The preview sits on a checkerboard because this model returns RGBA for everything it makes,
|
|
and a transparent cutout on a white card is indistinguishable from an opaque one.</p></div>
|
|
<div class="prog" id="imgrunprog" hidden>
|
|
<div class="lab"><span id="imgrunlab"></span><span class="num" id="imgrunpct"></span></div>
|
|
<div class="tr"><span class="fl" id="imgrunbar" style="width:0%"></span></div>
|
|
</div>
|
|
<div class="meta" id="imgmeta"></div>
|
|
</section>
|
|
|
|
<section class="panel s1wide">
|
|
<h3>The same call, from a terminal on the box <span class="right"><button class="btn mini ghost" id="imgcopy">Copy</button></span></h3>
|
|
<p class="note" style="margin:0 0 9px">Exactly what the button above sends. The lane listens on loopback and checks no key,
|
|
so this runs on the box itself; any OpenAI images client there works against it by changing one base URL.</p>
|
|
<div class="cmd" id="imgcurl"></div>
|
|
</section>
|
|
|
|
<section class="panel s1wide">
|
|
<h3>What each setting costs <span class="right"><span class="chip">measured on this box, 2026-09-22</span></span></h3>
|
|
<p class="note" style="margin:0 0 10px">Every number below came from a request to this lane, not from the cookbook.
|
|
Time is linear in steps and a little faster than linear in pixels: four times the pixels of 1024×1024 cost
|
|
5.2 times the time, because attention grows faster than the token count. The estimate under the button is the
|
|
curve through the sizes below, within 6% of every one of them. An edit pays for one more encode, six seconds.</p>
|
|
<div class="tablewrap">
|
|
<table id="imgbench">
|
|
<thead><tr><th>request</th><th class="r">time</th><th class="r">peak memory</th><th>result</th></tr></thead>
|
|
<tbody>
|
|
<tr><td>512×512, 40 steps</td><td class="r num">9.0 s</td><td class="r num">31.9 GB</td><td>RGBA</td></tr>
|
|
<tr><td>768×768, 40 steps</td><td class="r num">22.6 s</td><td class="r num">31.9 GB</td><td>RGBA</td></tr>
|
|
<tr><td><b>1024×1024, 40 steps (the defaults)</b></td><td class="r num"><b>38.2 s</b></td><td class="r num">34.8 GB</td><td>RGBA</td></tr>
|
|
<tr><td>1664×928, 40 steps</td><td class="r num">60.4 s</td><td class="r num">34.8 GB</td><td>RGBA</td></tr>
|
|
<tr><td>2048×2048, 40 steps (the model card's own size)</td><td class="r num">190.9 s</td><td class="r num">44.7 GB</td><td>RGBA</td></tr>
|
|
<tr><td>2752×1536, 40 steps (16:9 at the card's base)</td><td class="r num">193.1 s</td><td class="r num">44.8 GB</td><td>RGBA</td></tr>
|
|
<tr><td>1024×1024, 8 / 20 / 60 steps</td><td class="r num">8.4 / 19.8 / 57.3 s</td><td class="r num">31.9 GB</td><td>8 steps is visibly unfinished</td></tr>
|
|
<tr><td>transparent 1024×1024</td><td class="r num">39.8 s</td><td class="r num">34.8 GB</td><td>68% of pixels fully transparent</td></tr>
|
|
<tr><td>edit, one reference, 40 steps</td><td class="r num">44.6 s</td><td class="r num">34.8 GB</td><td>alpha preserved from the reference</td></tr>
|
|
<tr><td>edit, ten references, 20 steps</td><td class="r num">69.6 s</td><td class="r num">34.8 GB</td><td>the announced maximum, accepted</td></tr>
|
|
<tr><td>two images in one call, 8 steps</td><td class="r num">16.8 s</td><td class="r num">31.9 GB</td><td>independent noise per image</td></tr>
|
|
<tr><td>same seed, twice</td><td class="r num">-</td><td class="r num">-</td><td>byte-identical</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p class="note" style="margin:10px 0 0">Three things this lane refuses that are worth knowing before a client does:
|
|
a width or height that is not a multiple of 32 comes back <span class="num">HTTP 500</span> with an empty body;
|
|
so does any request that does not name an output format, because the API falls back to JPEG and this model always
|
|
returns RGBA, which JPEG cannot hold; and on the editing endpoint <span class="num">flow_shift</span> is accepted and
|
|
ignored, byte for byte. This page sends a format on every call and refuses the other two before they leave the box.</p>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- ── Video ── -->
|
|
<div class="tab s1" id="tab-video">
|
|
<div class="tabhead"><h2>Video</h2><p>generation, on this box</p></div>
|
|
<section class="panel s1wide">
|
|
<div class="soon">
|
|
<svg viewBox="0 0 24 24"><rect x="3" y="5" width="13" height="14" rx="2"/><path d="M16 10l5-3v10l-5-3z"/></svg>
|
|
<div class="t">Coming soon</div>
|
|
<div class="d">Nothing here yet.</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
|
|
<!-- ── Setup ── -->
|
|
<div class="tab" id="tab-setup">
|
|
<div class="tabhead"><h2>Setup</h2><p>the repo, the proxy, the agent CLI and the cockpit itself</p></div>
|
|
<div class="grid two">
|
|
<section class="panel" data-src="repo">
|
|
<h3>Repo <span class="right"><span class="age"></span></span></h3>
|
|
<dl class="kv">
|
|
<dt>Version</dt><dd class="num" id="repotag">...</dd>
|
|
<dt>Branch</dt><dd id="repobranch">...</dd>
|
|
<dt>Head</dt><dd class="num" id="repohead">...</dd>
|
|
<dt>Working tree</dt><dd id="repodirty">...</dd>
|
|
<dt>Keepalive proxy</dt><dd id="proxyver">...</dd>
|
|
<dt>Update</dt><dd id="upd">...</dd>
|
|
</dl>
|
|
</section>
|
|
<section class="panel" data-src="opencode">
|
|
<h3>opencode <span class="chip" id="occhip">...</span><span class="right"><span class="age"></span></span></h3>
|
|
<dl class="kv">
|
|
<dt>Integration</dt><dd id="ocstate">...</dd>
|
|
<dt>Default model</dt><dd id="ocdefault">...</dd>
|
|
<dt>Limits 27B</dt><dd class="num" id="oclim27">...</dd>
|
|
<dt>Limits flash</dt><dd class="num" id="oclimflash">...</dd>
|
|
<dt>Launcher</dt><dd id="oclauncher">...</dd>
|
|
<dt>Limits vs the pool</dt><dd id="ocfit">...</dd>
|
|
</dl>
|
|
<div style="margin-top:10px"><button class="btn mini" data-act="fit_opencode">Fit the limits to this engine</button></div>
|
|
<pre id="occmd" class="cmd" style="margin-top:10px">oc</pre>
|
|
<p class="note" id="ocnote">...</p>
|
|
</section>
|
|
<section class="panel">
|
|
<h3>Update the serving stack</h3>
|
|
<p class="note" style="margin:0 0 8px">The installer needs an interactive sudo, so it is not a button (a half-applied install is the one thing this cockpit must never cause). Run it in a terminal on the box; your choices (model, context mode, port, opencode on or off) are remembered.</p>
|
|
<pre class="cmd" id="updatecmd">...</pre>
|
|
</section>
|
|
<section class="panel">
|
|
<h3>Cockpit</h3>
|
|
<dl class="kv">
|
|
<dt>Version</dt><dd class="num" id="ckver">...</dd>
|
|
<dt>Mode</dt><dd id="ckmode">...</dd>
|
|
<dt>Usable pool share</dt><dd class="num" id="ckusable">...</dd>
|
|
<dt>One-prompt ceiling</dt><dd class="num" id="ckceiling">...</dd>
|
|
<dt>Refresh</dt><dd class="num" id="ckperiods">...</dd>
|
|
</dl>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
|
|
<div class="modal" id="modal" hidden role="dialog" aria-modal="true" aria-labelledby="mtitle">
|
|
<div class="mcard">
|
|
<h3 id="mtitle">Confirm</h3>
|
|
<p class="mwhat" id="mwhat"></p>
|
|
<p class="mwarn" id="mwarn" hidden></p>
|
|
<pre id="margv"></pre>
|
|
<div class="mrow">
|
|
<span class="mstatus" id="mstatus"></span>
|
|
<button class="btn ghost" id="mcancel">Cancel</button>
|
|
<button class="btn danger" id="mgo">Run it</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="toast" id="toast" hidden role="status"></div>
|
|
|
|
<script src="/static/app.js" defer></script>
|
|
</body>
|
|
</html>
|