Files
claude-web-ui/config/hosts.example.json
Nikolas Syring 38ab89932a 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>
2025-12-15 22:11:22 +01:00

38 lines
719 B
JSON

{
"hosts": {
"local": {
"name": "Local",
"description": "Local machine",
"connection": {
"type": "local"
},
"basePaths": [
"/projects",
"/docker"
],
"color": "#f97316",
"icon": "cat"
},
"remote-example": {
"name": "Remote Server",
"description": "Example remote host via SSH",
"connection": {
"type": "ssh",
"host": "192.168.1.100",
"user": "username",
"port": 22
},
"basePaths": [
"/home/username/projects"
],
"color": "#22c55e",
"icon": "server"
}
},
"defaults": {
"host": "local",
"scanSubdirs": true,
"maxDepth": 1
}
}