Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.
TypeScript browser-shellcontrol-planefile-managerhomelabmobile-firstnextjsptyreactself-hostedserver-managementshadcn-uisysadmintailwindcssterminaltypescriptvpsweb-desktopweb-terminal
export type AssistantTab = "chat" | "agents" | "organization" | "skills" | "automations" | "mcp";
const TABS = new Set<AssistantTab>(["chat", "agents", "organization", "skills", "automations", "mcp"]);
export function assistantRouteFromPayload(payload: unknown): { key: string; tab: AssistantTab } {
if (!payload || typeof payload !== "object") return { key: "", tab: "chat" };
const path = (payload as { path?: unknown }).path;
if (typeof path !== "string") return { key: "", tab: "chat" };
const normalized = "/" + path.split("/").filter(Boolean).join("/");
const segment = normalized.split("/").filter(Boolean)[0] as AssistantTab | undefined;
return { key: normalized, tab: segment && TABS.has(segment) ? segment : "chat" };
}
export function assistantTabFromPayload(payload: unknown): AssistantTab {
return assistantRouteFromPayload(payload).tab;
}