Files
shawn 3f086b7849 Fix Firefox mobile panel centering and agent profile loading
- Fix auth middleware: make GET /api/agents public so agent profiles
  load in Firefox mobile (browser doesn't send Basic Auth on XHR)
- Fix CSS: use display: grid; justify-items: center on .content
  instead of margin: 0 auto on .panel — Firefox fails to honor
  margin: auto with percentage width inside flex containers
- Add box-sizing: border-box to panel elements
- Bump cache busters (v=13 for CSS, v=2 for JS)

Root cause: Firefox mobile on Pixel 4a rendered .panel with
width:72%; margin:0 auto shifted 242px right (flush to edge).
CSS Grid centering resolves the cross-browser rendering difference.
2026-06-02 17:18:17 -04:00

52 lines
1.9 KiB
Markdown

# Hermes Command Center
Mobile-friendly web dashboard for managing Hermes agents, configs, tasks, services, and network infrastructure.
## Features
- **📊 Dashboard** — At-a-glance overview of agents, hosts, config files, chat messages, and kanban tasks
- **💬 Agent Chat** — Talk to all Hermes profiles (kanban, coder, assistant, artist) with online/offline status
- **⚙️ Config Editor** — Edit .env, config.yaml, and profile configs with YAML validation and auto-backup
- **📋 Kanban Viewer** — Browse all 19 kanban boards and view task status (done/blocked/ready/todo)
- **📚 Vault Reader** — Browse Obsidian markdown notes with wiki-link support and full-text search
- **🔧 Service Control** — View and manage Hermes systemd services (start/stop/restart)
- **🌐 Network Status** — Live host ping monitoring, service health checks, and local port scanning
## Panels
| Panel | Description |
|---|---|
| Dashboard | 6-card overview with quick action buttons |
| Chat | Real-time agent messaging with history |
| Config | 7 whitelisted config files with line-numbered editor |
| Kanban | 19-board viewer with status summary |
| Vault | File tree, markdown renderer, wiki-links, grep search |
| Services | 11 Hermes systemd services with start/stop/restart |
| Network | 5 hosts, 17 services, 36 local ports with auto-refresh |
## Mobile
- Bottom navigation bar on mobile (≤768px)
- Full-width panels with touch-friendly 44px+ tap targets
- Sidebar on desktop, bottom tabs on mobile
- Safe-area-inset support for notched devices
## Tech Stack
- FastAPI backend
- Vanilla HTML/CSS/JS frontend (no frameworks)
- SQLite for conversation and kanban storage
- Mobile-first responsive design
- Port: 8888 (public via command.ourpad.casa:443)
## Development
```bash
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python3 main.py
```
Access at: http://localhost:8888 (Basic auth: shawn / your-password)