Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/app/docs/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ export default function Layout({
url: "/",
}}
links={[
{
text: "Panel",
url: "/panel",
},
{
text: "GitHub",
url: "https://github.com/agentproto/ts",
Expand Down
103 changes: 103 additions & 0 deletions src/app/global.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,106 @@
@import "tailwindcss";
@import "fumadocs-ui/css/neutral.css";
@import "fumadocs-ui/css/preset.css";

/* ═══════════════════════════════════════════════════════════════════
Paper & Phosphor — agentproto brand tokens (shared with
agentproto.sh; keep the two files in sync until a shared brand
package exists).

The page is an engineering document: cool paper, ink, ultramarine
accent. The dark terminal panels are the only place the phosphor
green / amber status colors appear. Terminal tokens are
theme-invariant.
═══════════════════════════════════════════════════════════════════ */

@theme inline {
--font-sans: var(--font-plex-sans), system-ui, sans-serif;
--font-mono: var(--font-plex-mono), ui-monospace, "SF Mono", Menlo, monospace;
--font-serif: var(--font-plex-serif), Charter, Georgia, serif;
}

:root {
--color-fd-background: #f5f6f3;
--color-fd-foreground: #171a1e;
--color-fd-muted: #eceee9;
--color-fd-muted-foreground: #5c6470;
--color-fd-popover: #ffffff;
--color-fd-popover-foreground: #171a1e;
--color-fd-card: #ffffff;
--color-fd-card-foreground: #171a1e;
--color-fd-border: #dde0da;
--color-fd-primary: #2c46d8;
--color-fd-primary-foreground: #ffffff;
--color-fd-secondary: #e9ebe6;
--color-fd-secondary-foreground: #171a1e;
--color-fd-accent: #e7eaf9;
--color-fd-accent-foreground: #1b2b90;
--color-fd-ring: #2c46d8;

/* runtime island — theme-invariant */
--term-bg: #0d1512;
--term-line: #21302a;
--term-text: #c9d6ce;
--term-dim: #6d7f76;
--phos: #3edc81;
--amber: #f0b429;
}

.dark {
--color-fd-background: #101214;
--color-fd-foreground: #e8eaed;
--color-fd-muted: #1b1f24;
--color-fd-muted-foreground: #99a2ad;
--color-fd-popover: #16191d;
--color-fd-popover-foreground: #e8eaed;
--color-fd-card: #16191d;
--color-fd-card-foreground: #e8eaed;
--color-fd-border: #272c33;
--color-fd-primary: #8296ff;
--color-fd-primary-foreground: #10141f;
--color-fd-secondary: #1b1f24;
--color-fd-secondary-foreground: #e8eaed;
--color-fd-accent: #232a3d;
--color-fd-accent-foreground: #c9d2ff;
--color-fd-ring: #8296ff;
}

/* ── status blink (running dots) ───────────────────────────────── */

@keyframes session-blink {
0%, 100% { opacity: 1; }
50% { opacity: 0.25; }
}
.session-blink {
animation: session-blink 2s ease-in-out infinite;
}

/* ── self-typing hero terminal ─────────────────────────────────── */

@keyframes type-in {
from { width: 0; }
to { width: 100%; }
}
@keyframes appear {
to { opacity: 1; }
}
.type-line {
display: inline-block;
overflow: hidden;
white-space: nowrap;
vertical-align: bottom;
max-width: 100%;
animation: type-in 1.8s steps(36, end) both;
animation-delay: var(--type-delay, 0s);
}
.type-out {
opacity: 0;
animation: appear 0.01s both;
animation-delay: var(--type-delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
.session-blink { animation: none; }
.type-line { animation: none; width: 100%; }
.type-out { animation: none; opacity: 1; }
}
29 changes: 25 additions & 4 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,36 @@
import type { Metadata } from "next"
import { IBM_Plex_Mono, IBM_Plex_Sans, IBM_Plex_Serif } from "next/font/google"
import { RootProvider } from "fumadocs-ui/provider/next"
import "./global.css"

const plexSans = IBM_Plex_Sans({
subsets: ["latin"],
weight: ["400", "500", "600"],
variable: "--font-plex-sans",
})
const plexMono = IBM_Plex_Mono({
subsets: ["latin"],
weight: ["400", "600"],
variable: "--font-plex-mono",
})
const plexSerif = IBM_Plex_Serif({
subsets: ["latin"],
weight: ["600", "700"],
style: ["normal", "italic"],
variable: "--font-plex-serif",
})

export const metadata: Metadata = {
title: {
default: "agentproto CLI — install, run, orchestrate agent CLIs",
template: "%s — agentproto CLI",
},
description:
"Reference host for AgentProto agent-CLI adapters. Install adapters, run a single turn or a persistent session, expose them as a daemon, orchestrate multi-agent swarms.",
"The agentproto binary: install adapters, run a single turn or a persistent session, serve a daemon, watch everything live in the panel.",
metadataBase: new URL("https://cli.agentproto.sh"),
openGraph: {
title: "agentproto CLI",
description:
"The `agentproto` binary — install, run, orchestrate AgentProto agent-CLI adapters.",
description: "Install it. Run an agent. Watch it live.",
url: "https://cli.agentproto.sh",
siteName: "agentproto CLI",
type: "website",
Expand All @@ -26,7 +43,11 @@ export default function RootLayout({
children: React.ReactNode
}): React.ReactElement {
return (
<html lang="en" suppressHydrationWarning>
<html
lang="en"
suppressHydrationWarning
className={`${plexSans.variable} ${plexMono.variable} ${plexSerif.variable}`}
>
<body className="flex flex-col min-h-screen">
<RootProvider>
<div className="flex-1">{children}</div>
Expand Down
Loading
Loading