HarnessRouter Community Edition: the self-hosted, Apache-2.0 edition of the unified interface for agent harnesses. Run Codex, Claude Code, Hermes, PI, DSH, and more through one API, with sessions, streaming, files, cancellation, and failure handling. Implements the Unified Harness Protocol (UHP), an open standard. Your keys, your infrastructure.
Python agent-apiagent-frameworkagent-harnessai-agentsai-infrastructurecoding-agentconformance-testingdeepseek-harnessharness-engineeringhermesllmopen-protocolopen-sourceopen-standardpi-coding-agentself-hosteduhpunified-apiunified-harness-protocolunified-interface
feat(kits): show each kit's own mark, and let three kits sit on one row
richard-epsilla62d7e5326bea
diff --git a/docker/install-kits.sh b/docker/install-kits.shindex caa085c5..9356523a 100644--- a/docker/install-kits.sh+++ b/docker/install-kits.sh@@ -63,6 +63,15 @@ for kid in $INCLUDED; dorm -rf "$DEST/$kid/$APP_DIR"mv "$DEST/$kid/.app-dist" "$DEST/$kid/app"fi++ # The kit's product mark, moved to where the console can fetch it (/kits/<id>/icon.svg). Kept+ # as a file the kit owns rather than an icon name the console picks: a kit that ships its own+ # UI should not have its identity chosen for it by the page that lists it. Kits without one+ # fall back to the `icon` field in kit.json, so this is additive.+ if [ -f "$DEST/$kid/icon.svg" ]; then+ mkdir -p "$DEST/$kid/app"+ cp "$DEST/$kid/icon.svg" "$DEST/$kid/app/icon.svg"+ fiBUILT="$BUILT $kid"donediff --git a/gateway/app.py b/gateway/app.pyindex 15732c19..c5fb6994 100644--- a/gateway/app.py+++ b/gateway/app.py@@ -7715,6 +7715,13 @@ async def list_kits(request: Request) -> dict:"tagline": kit.get("tagline") or "","description": kit.get("description") or "","icon": kit.get("icon") or "", "accent": kit.get("accent") or "",+ # The kit's own mark, when it ships one (install-kits.sh puts it beside the+ # app). Reported as a URL rather than inlined: it is an image, the route that+ # serves the kit's app serves it already, and inlining markup from a file into+ # a page is a habit worth not having. `icon` remains the fallback.+ "iconUrl": (f"/kits/{kid}/icon.svg"+ if (pathlib.Path(_KITS_DIR) / kid / "app" / "icon.svg").is_file()+ else ""),"route": (kit.get("app") or {}).get("route") or "","launched": bool(h),"harnessId": (h or {}).get("id") or None,diff --git a/ui/src/app/(app)/kits/page.tsx b/ui/src/app/(app)/kits/page.tsxindex ae5d1263..0e333e45 100644--- a/ui/src/app/(app)/kits/page.tsx+++ b/ui/src/app/(app)/kits/page.tsx@@ -25,6 +25,9 @@ interface Datasource { engine: string; host: string; database: string; sampleRowinterface Kit {id: string; title: string; tagline: string; description: string;icon: string; accent: string; route: string;+ /** The kit's own mark, served from its directory. Empty when it ships none — then `icon` (an+ * iconify name) is what the card draws instead. */+ iconUrl: string;launched: boolean; harnessId: string | null;skills: string[];runningOn: { base: string; model: string } | null;@@ -164,9 +167,20 @@ export default function KitsPage() {<span className="kit-wash" style={k.accent ? { background: k.accent } : undefined} /><header className="kit-head">- <span className="kit-icon" style={k.accent ? { background: k.accent } : undefined}>- <iconify-icon icon={k.icon || 'tabler:box'}></iconify-icon>- </span>+ {/* The kit's own product mark when it ships one — the same drawing its app puts+ in its own title bar, so the card and the thing it opens are recognisably one+ product. A kit without a mark keeps the icon name from its manifest, tinted+ with its accent; the mark supplies its own colour and needs no tile. */}+ {k.iconUrl ? (+ <span className="kit-icon is-mark">+ {/* eslint-disable-next-line @next/next/no-img-element */}+ <img src={k.iconUrl} alt="" width={40} height={40} />+ </span>+ ) : (+ <span className="kit-icon" style={k.accent ? { background: k.accent } : undefined}>+ <iconify-icon icon={k.icon || 'tabler:box'}></iconify-icon>+ </span>+ )}<div className="kit-titles"><h2>{k.title}</h2><p className="kit-tagline">{k.tagline}</p>diff --git a/ui/src/app/hr.css b/ui/src/app/hr.cssindex c028370e..2b512d5c 100644--- a/ui/src/app/hr.css+++ b/ui/src/app/hr.css@@ -788,12 +788,21 @@ body.hr-resizing iframe { pointer-events: none; }/* ── Starter Kits ───────────────────────────────────────────────────────────────────────── */+/* 300px, not 340: at 340 a three-kit catalogue wraps to 2 + 1 on every laptop, and the third card+ sits alone beside an empty half-row. The cards are text that reflows, so the narrower floor buys+ a row that reads as one shelf. `auto-fit` collapses the empty tracks so ONE kit still fills the+ width rather than hugging the left edge. */+/* `min(300px, 100%)`, not a bare 300px: a minmax floor is a HARD floor, so in a container narrower+ than the floor the track keeps its 300px and the cards push out past the page. Capping the floor+ at the container's own width lets it collapse instead. */.kit-grid {- display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));+ display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));gap: 16px; align-items: stretch;}/* A single kit must not stretch to the width of a 27" display and look lost. */-@media (min-width: 1100px) { .kit-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 420px)); } }+@media (min-width: 1100px) {+ .kit-grid { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 460px)); }+}.kit-card {position: relative; display: flex; flex-direction: column; gap: 12px;@@ -811,6 +820,11 @@ body.hr-resizing iframe { pointer-events: none; }width: 40px; height: 40px; border-radius: 11px; background: var(--accent);color: #fff; font-size: 21px; flex: 0 0 auto;}+/* A kit that ships its own mark draws it as itself: no tile behind it, no tint over it. The mark+ already carries the product's colour — putting it on an accent square would be the console+ restating something the drawing has said. */+.kit-icon.is-mark { background: none; border-radius: 0; }+.kit-icon.is-mark img { display: block; width: 40px; height: 40px; }.kit-titles { flex: 1; min-width: 0; }.kit-titles h2 { margin: 0; font-size: 16px; font-weight: 650; color: var(--ink); letter-spacing: -.01em; }.kit-tagline { margin: 3px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }