Skip to content

armgit / mso

Public Imported from GitHub
0

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.

771 B
Raw Blame
import { defineFeature } from "../../registry/types";
import { DeferredInspector, DeferredAlfaSheet } from "./deferred";

// Inspector — the app-context panel + Alfa. The publish bus (usePublishInspector)
// stays in appshell core so apps publish state without depending on this feature.
//
// TWO slots, one feature, one open-state: the right dock on desktop (rightPanel is
// rendered only by the macOS and Windows shells) and a bottom sheet on mobile via
// `overlay`, which every shell renders. Before this, Alfa did not exist at all on a
// phone. Each returns null on the surface it is not for, so only one ever mounts.
export const inspectorFeature = defineFeature({
  id: "inspector",
  slots: { rightPanel: DeferredInspector, overlay: DeferredAlfaSheet },
});