From 48a01641c4a39368c3e552c41622e47f80e1a2e8 Mon Sep 17 00:00:00 2001 From: Jared Miller Date: Wed, 28 Jan 2026 12:23:46 -0500 Subject: [PATCH] Add mobile dashboard with SSE streaming Replaced placeholder index.html with a fully functional mobile-first dashboard that connects to the server via SSE and provides real-time session monitoring and prompt approval. Features: - Mobile-first design with large touch targets (44px min) and readable fonts - SSE connection to /events with automatic reconnection on disconnect - Live display of active sessions with collapsible output views - Pending prompts section with approve/reject buttons - Real-time updates for session start/end, streaming output, and prompts - Dark mode by default with light mode support via prefers-color-scheme - Plain text terminal output (monospace, scrolls to bottom) - Connection status indicator in header Implementation is a single HTML file (~300 lines) with inline CSS and vanilla JS, no frameworks or dependencies. --- public/index.html | 418 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 416 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index 29ff89b..05cbf6e 100644 --- a/public/index.html +++ b/public/index.html @@ -4,9 +4,423 @@ claude-remote + -

claude-remote

-

Dashboard coming soon.

+
+

claude-remote

+
+ + connecting +
+
+ +
+
+
Active Sessions
+
+
No active sessions
+
+
+ +
+
Pending Prompts
+
+
No pending prompts
+
+
+
+ +