Changelog v0.1.55
Web Terminal — Remote Access from Any Browser
New Features
- Web Terminal: Full terminal access from any web browser (mobile/PC)
- Monaco Editor (VS Code engine) for file editing with syntax highlighting
- File explorer sidebar with project navigation
- Terminal with CLI type selection (Shell/Claude/Codex/Kimi/Ollama)
- Built-in browser panel (iframe) for previewing web pages
- Mobile-responsive UI with touch-friendly controls
- Project data auto-loaded from SurrealDB
- Cloudflare Tunnel Integration: External access from anywhere
- Quick Tunnel (no account required) for instant access
- Named Tunnel support for permanent custom domains
- Settings UI for one-click tunnel setup (Login → Create → Route DNS)
- Custom Domain Setup: Configure permanent domain (e.g. web.yourdomain.com) from Settings > Web
- File System API: REST endpoints for file browsing, reading, and writing via web
Improvements
- PTY Output Stability: Queue capacity increased 256 → 4096, retry on full queue instead of dropping output
- PTY Read Buffer: Max read size increased 64KB → 256KB for faster data throughput
- Settings Panel: "External Access" section updated from ngrok to Cloudflare Tunnel
- Mobile Support: WebGL disabled on mobile, smaller font size, auto-collapsed sidebar
Technical Details
web_terminal.rs: New module for WebSocket-based PTY sessions, file API, KV store accessbrowser_bridge.rs: Added routes for/api/files,/api/file,/api/kvstatic/web-terminal.html: Standalone web UI with Monaco Editor, xterm.js, project management- Bridge port configurable (dev: 19981, prod: 19980)