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.

406 B
Raw Blame
import { resolveProjectHint } from "@/lib/host/projects-api";
import { opt } from "./tool-kit";

export async function selectedProject(value: string) {
  const project = await resolveProjectHint(value);
  if (!project) throw new Error(`project not found: ${value}`);
  return project;
}

export function databaseDeployment(a: Record<string, unknown>): string | undefined {
  return opt(a, "deployment");
}