import type { Metadata } from "next" import type { JSX, ReactNode } from "react" import { GeistSans } from "geist/font/sans" import { GeistMono } from "geist/font/mono" import Script from "next/script" import "./globals.css" const primarySiteUrl = "https://omo.dev" export const metadata: Metadata = { metadataBase: new URL(primarySiteUrl), title: { default: "Oh My OpenAgent — The Best Agent Harness", template: "%s | Oh My OpenAgent", }, description: "Meet Sisyphus: The batteries-included agent that codes like you. Multi-model orchestration, Team Mode, background agents, 54+ lifecycle hooks.", keywords: [ "opencode", "oh-my-opencode", "openagent", "oh-my-openagent", "ai agent", "code agent", "sisyphus", "multi-model", "team mode", "agent orchestration", "claude", "gpt", "gemini", "coding assistant", ], authors: [{ name: "Yeongyu Kim", url: "https://github.com/code-yeongyu" }], creator: "Yeongyu Kim", alternates: { canonical: "/", languages: { en: "/", ko: "/ko", ja: "/ja", zh: "/zh", }, }, openGraph: { type: "website", locale: "en_US", alternateLocale: ["ko_KR", "ja_JP", "zh_CN"], url: primarySiteUrl, siteName: "Oh My OpenAgent", title: "Oh My OpenAgent — The Best Agent Harness", description: "Meet Sisyphus: The batteries-included agent that codes like you. Multi-model orchestration, Team Mode, background agents, 54+ lifecycle hooks.", // og:image is supplied by app/opengraph-image.tsx via Next.js file-based metadata convention. }, twitter: { card: "summary_large_image", title: "Oh My OpenAgent — The Best Agent Harness", description: "Meet Sisyphus: The batteries-included agent that codes like you.", // twitter:image is supplied by app/twitter-image.tsx via the file-based convention. }, robots: { index: true, follow: true, googleBot: { index: true, follow: true, "max-image-preview": "large", "max-snippet": -1, }, }, } const jsonLd = { "@context": "https://schema.org", "@type": "SoftwareApplication", name: "Oh My OpenAgent", applicationCategory: "DeveloperApplication", operatingSystem: "macOS, Linux, Windows", url: primarySiteUrl, author: { "@type": "Person", name: "Yeongyu Kim", url: "https://github.com/code-yeongyu", }, description: "The batteries-included agent harness for OpenCode. Multi-model orchestration, Team Mode, background agents, 54+ lifecycle hooks.", offers: { "@type": "Offer", price: "0", priceCurrency: "USD", }, } const gaMeasurementId = "G-S0QJFKT46Q" const gaTrackedDomain = "omo.dev" export default function RootLayout({ children }: { readonly children: ReactNode }): JSX.Element { return (
{children} ) }