Files
ai-agent/frontend/index.html
gabrielvidalandClaude Opus 5.5 cb6b4f9412 feat(guests): ai-agent.gabvdl.xyz, and a proper home-screen install
The guest surface moves to ai-agent.gabvdl.xyz (claude.lab redirects there)
and drops the « Claude » name: on the guest host the backend serves the
manifest and index.html as « ai-agent » (users/branding.py, name/lang per
browser). PNG icons for the home screen — iOS takes only
apple-touch-icon.png, Android the 192/512 + a full-bleed maskable one.
The MCP server's default public URL, the reachability probe and the docs
follow the new host.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 14:35:14 +01:00

46 lines
1.8 KiB
HTML

<!doctype html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/icon.svg" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, viewport-fit=cover"
/>
<meta name="theme-color" content="#0a0a0a" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="ai-agent" />
<title>Claude Agent — context</title>
<script>
// Apply the saved (or system) color scheme before first paint to avoid a flash.
try {
var t = "system";
var raw = localStorage.getItem("ai-agent-settings");
if (raw) t = (JSON.parse(raw).state || {}).theme || "system";
var dark = t === "dark" || (t === "system" &&
window.matchMedia("(prefers-color-scheme: dark)").matches);
document.documentElement.classList.toggle("dark", dark);
} catch (e) {}
// The last visit's palette (accent + surfaces, src/lib/palette.ts), so a
// custom accent never flashes the stylesheet's orange first.
try {
var p = JSON.parse(localStorage.getItem("aia.palette") || "null");
if (p && typeof p.css === "string") {
var st = document.createElement("style");
st.id = "account-theme";
st.textContent = p.css;
document.head.appendChild(st);
var tc = document.querySelector('meta[name="theme-color"]');
if (tc && p.hex) tc.content = p.hex;
}
} catch (e) {}
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>