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.

989 B
Raw Blame
// Single integration seam between this slice and the host app (mso).
// EVERYTHING OS-specific funnels through here — shell services (toasts,
// inspector, activity), the fs/api client, and responsive detection — so
// lifting the slice to the rr catalog means swapping THIS file for injected
// capabilities. No other file in the slice imports from outside it (UI
// primitives `@/components/ui/*` + `@/lib/utils` excepted; rr installs those).

export {
  toast,
  usePublishInspector,
  setActivity,
  clearActivity,
  useContainer,
  type AppDescriptor,
} from "@/features/appshell";

export { useOsApi, type FsEntry, type FsList } from "@/features/appshell";
export { rawUrl } from "@/lib/os-api";

export { useIsMobile } from "@/hooks/use-mobile";

// Hidden-input file picker primitive (rr's audit:templates forbids raw
// native file inputs in slice source — the picker owns the hidden input).
export { FilePicker, type FilePickerHandle } from "@/components/ui/file-picker";