Files
ai-agent/backend/chrome/__init__.py
Gabriel Vidal dd5ba797cc feat(chrome): drive the lab Chrome with claude --chrome — composer chip, Browser panel (noVNC proxy), Settings → Browser, on-demand container
- sidecar: chrome flag on spawn/resume/fork → --chrome; /chrome status + start/stop/restart/reset-profile (docker)
- backend: chrome/ package — status + settings (/api/chrome), owner-only websocket proxy to the container's websockify (/api/chrome/ws), ensure-start before a --chrome lab run, idle reaper; meta.chrome kept on resume
- frontend: Chrome chip (trigger words via the chrome skill tag), ChromeBadge on resume, BrowserDock gizmo + take-over panel (@novnc/novnc), Settings → Browser page, visibility toggle, mock backend
- docs: CLAUDE.md section
2026-10-23 12:13:24 +02:00

10 lines
546 B
Python

"""The lab browser — Settings → Browser and the conversation's Browser panel.
A Google Chrome runs in the homelab (``services/chrome``: Chrome + Xvnc +
noVNC, a persistent profile, the *Claude in Chrome* extension force-installed
by policy). A claude run launched with ``chrome: true`` gets ``--chrome`` and
drives it through the extension (paired by claude.ai account over Anthropic's
bridge); the owner watches it, or takes over for a login, through a noVNC
client in the PWA whose websocket this package proxies (``/api/chrome/ws``).
"""