feat: Major UI improvements and SSH-only mode

- Tool rendering: Unified tool_use/tool_result cards with collapsible results
- Special rendering for WebSearch, WebFetch, Task, Write tools
- File upload support with drag & drop
- Permission dialog for tool approvals
- Status bar with session stats and permission mode toggle
- SSH-only mode: Removed local container execution
- Host switching disabled during active session with visual indicator
- Directory browser: Browse remote directories via SSH
- Recent directories dropdown with localStorage persistence
- Follow-up messages during generation
- Improved scroll behavior with "back to bottom" button

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-17 10:33:25 +01:00
parent 9eb0ecfb57
commit 960f2e137d
16 changed files with 3108 additions and 278 deletions

View File

@@ -3,9 +3,17 @@ services:
build:
context: ./backend
dockerfile: Dockerfile
network: host
container_name: claude-webui-backend
restart: unless-stopped
network_mode: host
deploy:
resources:
limits:
memory: 2G
cpus: '2'
reservations:
memory: 512M
volumes:
# Claude CLI binary (read-only from host)
- /home/sumdex/.local/share/claude:/home/node/.local/share/claude:ro
@@ -31,6 +39,7 @@ services:
build:
context: ./frontend
dockerfile: Dockerfile
network: host
args:
- VITE_WS_URL=ws://100.105.142.13:3001
- VITE_API_URL=http://100.105.142.13:3001