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.

687 B
Raw Blame
import { defineFeature } from "../../registry/types";
import { DeferredControlCenter } from "./deferred";
import { ControlCenterDesktop } from "./components/control-center-desktop";

// Control Center — the SAME real toggles on both surfaces: an iOS-style pull-down
// Sheet (controlCenter slot, mobile) + a macOS menu-bar popover (menuBarStatus
// slot, which only the macOS menu bar renders). Open state for the mobile Sheet is
// owned by the mobile surface via the shell-UI context; the desktop popover is local.
export const controlCenterFeature = defineFeature({
  id: "control-center",
  slots: { controlCenter: DeferredControlCenter, menuBarStatus: ControlCenterDesktop },
});