feat: Add multi-host config and dynamic project scanning

Backend:
- Load hosts from config/hosts.json
- New /api/hosts endpoint listing available hosts
- Dynamic project scanning with configurable depth
- Support for local and SSH hosts (SSH execution coming next)

Frontend (by Web-UI Claude):
- Slash commands: /clear, /help, /export, /scroll, /new, /info
- Chat export as Markdown

Config:
- hosts.json defines hosts with connection info and base paths
- hosts.example.json as template (real config is gitignored)
- Each host has name, description, color, icon, basePaths

Next steps:
- SSH command execution for remote hosts
- Frontend host selector UI
- Multi-agent collaboration

🤖 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-15 22:11:22 +01:00
parent 52792268fa
commit 38ab89932a
7 changed files with 354 additions and 21 deletions

View File

@@ -12,6 +12,8 @@ services:
# Separate config for WebUI Claude (NOT Neko's config!)
- ./config/.claude:/home/node/.claude:rw
- ./config/.config/claude:/home/node/.config/claude:rw
# Hosts configuration
- ./config/hosts.json:/app/config/hosts.json:ro
# Project directories for Claude to work in
- /home/sumdex/projects:/projects:rw
- /home/sumdex/docker:/docker:rw