mirror of
https://github.com/open-gitagent/langship.sh.git
synced 2026-08-03 07:21:04 +02:00
- Implemented a new Gateway page that provides a uniform ingress for deployed agents. - Created a Runs page that lists recent pipeline executions with auto-refresh and error handling. - Added a RunsListener component to handle real-time notifications for new runs via SSE. - Updated the AppSidebar to include links to the new Gateway and Runs pages. - Enhanced FlowNode component to improve status display and styling. - Introduced EmptySection component for consistent empty state presentation. - Updated API utility to include a new endpoint for the runs stream.
34 lines
923 B
TypeScript
34 lines
923 B
TypeScript
import type { Metadata } from "next";
|
|
import "./globals.css";
|
|
|
|
import { AppSidebar } from "@/components/app-sidebar";
|
|
import { SidebarInset, SidebarProvider } from "@/components/ui/sidebar";
|
|
import { RunsListener } from "@/components/runs-listener";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Langship",
|
|
description: "Durable agent-pipeline runtime",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<body className="min-h-screen bg-background font-sans antialiased">
|
|
<SidebarProvider
|
|
style={{ "--sidebar-width": "17rem" } as React.CSSProperties}
|
|
>
|
|
<AppSidebar />
|
|
<SidebarInset>
|
|
<div className="flex min-h-0 flex-1 flex-col">{children}</div>
|
|
</SidebarInset>
|
|
</SidebarProvider>
|
|
<RunsListener />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|