feat: Add navigation bar and multi-page dashboard

- Add navigation bar with 4 main sections: Tasks, Wiki, Agents, Usage
- Implement Wiki page with task documentation viewer
- Implement Agents page showing workspace, tools, and current tasks
- Implement Usage page displaying providers, models, and quotas
- Add API endpoints: /api/agents, /api/usage, /api/wiki
- Add agent heartbeat endpoint for task assignment
- Update Docker compose with volume mounts for agent and config data
- Add comprehensive CSS for all pages and responsive design
- Add JavaScript navigation and dynamic content loading

🚀 Features:
- 📋 Kanban task board (existing)
- 📚 Wiki documentation viewer
- 🤖 Agent fleet management dashboard
- 📊 Provider usage and quota monitoring
- 🔗 Real-time WebSocket updates
- 📱 Responsive mobile design
This commit is contained in:
2026-03-03 15:45:53 -08:00
parent 8a859e2e92
commit 1804aa664b
6 changed files with 1130 additions and 279 deletions

View File

@@ -8,13 +8,11 @@ services:
environment:
- PORT=8395
- DB_PATH=/app/data/tasks.db
- WIKI_DIR=/home/bear/.openclaw/workspace/wiki
- WIKI_DIR=/app/wiki
- AGENTS_DIR=/app/agents
- OPENCLAW_CONFIG=/app/config/openclaw.json
volumes:
- ./data:/app/data
- /home/bear/.openclaw/workspace/wiki:/home/bear/.openclaw/workspace/wiki
networks:
- proxy-net
networks:
proxy-net:
external: true
- /home/bear/.openclaw/workspace/wiki:/app/wiki
- /home/bear/.openclaw/agents:/app/agents:ro
- /home/bear/.openclaw/openclaw.json:/app/config/openclaw.json:ro