MVP: Pulse, Memory, History modules

- Mobile-first PWA with dark glassmorphic theme
- Pulse: status card, recent sessions, memory snapshot
- Memory: view/edit agent + user memory with usage bars
- History: session list, platform filter, search, session replay
- TanStack Query hooks for all Hermes WebAPI endpoints
- Bottom tab navigation, safe-area support
This commit is contained in:
Hermes
2026-04-09 20:41:13 -05:00
parent 65325d5f68
commit 517583d1c4
38 changed files with 8088 additions and 0 deletions
+42
View File
@@ -0,0 +1,42 @@
import type { Metadata, Viewport } from "next";
import "./globals.css";
import { BottomNav } from "@/components/BottomNav";
import { Providers } from "@/components/Providers";
export const metadata: Metadata = {
title: "Hermes OS",
description: "Mobile dashboard for Hermes Agent",
icons: { icon: "/icon-192.png", apple: "/icon-192.png" },
appleWebApp: { capable: true, statusBarStyle: "black-translucent", title: "Hermes" },
};
export const viewport: Viewport = {
themeColor: "#0a0a0f",
width: "device-width",
initialScale: 1,
maximumScale: 1,
viewportFit: "cover",
};
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
<head>
<link rel="manifest" href="/manifest.json" />
</head>
<body className="antialiased">
<Providers>
<main className="min-h-screen pb-safe px-4 pt-4 max-w-lg mx-auto">
{children}
</main>
<BottomNav />
</Providers>
<script
dangerouslySetInnerHTML={{
__html: `if("serviceWorker"in navigator)window.addEventListener("load",()=>navigator.serviceWorker.register("/sw.js"))`,
}}
/>
</body>
</html>
);
}