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.

653 B
Raw Blame
"use client";
import { useId, useState } from "react";
import { CategoryTabs } from "./category-tabs";
import { McpStorePanel } from "./mcp-panel";
import { SkillStorePanel } from "./skill-panel";
export function ExtensionTabs() {
  const [tab, setTab] = useState("mcp"), id = useId();
  return <div className="min-w-0 space-y-4">
    <CategoryTabs id={id} label="Installed extensions" items={[{ id: "mcp", label: "MCP" }, { id: "skills", label: "Skills" }]} value={tab} onChange={setTab} />
    <section id={`${id}-panel`} role="tabpanel" aria-labelledby={`${id}-${tab}`}>{tab === "mcp" ? <McpStorePanel /> : <SkillStorePanel />}</section>
  </div>;
}