-
+ {machine !== undefined && (
+ /*
+ Which machine, for a fleet where that is a real question. The
+ route hands it over only when more than one machine is
+ reachable, so a single-machine terminal stays as bare as it has
+ always been — and this component still knows nothing about the
+ fleet, which is the bargain the props at the top of this file
+ keep.
+ */
+
+
+ {machine.name}
+
+ )}
+ {tags.length > 0 && (
+
+
+
+ )}
)}
{/* z-10: xterm's own layers carry z-indexes, and an unindexed sibling
diff --git a/web/src/fleet/provider.tsx b/web/src/fleet/provider.tsx
index 34e8721..3cb7d3e 100644
--- a/web/src/fleet/provider.tsx
+++ b/web/src/fleet/provider.tsx
@@ -8,6 +8,27 @@ import { LOCAL_MACHINE_ID } from './types'
const FleetContext = createContext