feat: add clide-web package replacing ttyd + zellij

Python web server that wraps Clide for browser access. Replaces the
previous ttyd (C binary) + zellij (Rust binary) stack with a single
FastAPI application using tmux for session persistence.

Key features:
- WebSocket ↔ PTY bridge via tmux attach
- Project switching via /projects/<name> URL routing
- Vendored xterm.js for offline LAN operation
- Auto-respawn on Clide exit (tmux pane-died hook)
- Setup wizard for first-run configuration
- No scrollbar (TUI manages its own scrolling)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-24 17:03:43 +01:00
co-authored by Claude Opus 4.6
parent 29a858d7a8
commit 56a8ea4ba4
15 changed files with 1524 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
"""clide-web: Web server for Clide TUI."""
__version__ = "1.0.0"