Commit Graph

8 Commits

Author SHA1 Message Date
anthonyrawlins
9b31997351 Fix remaining TypeScript errors and dependencies
- Replace complex UI components with simple React implementations
- Remove external dependencies (class-variance-authority, @radix-ui)
- Fix TypeScript parameter type in APIKeyManager
- Create working alert, dialog, and checkbox components

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

Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)
2025-07-10 20:59:21 +10:00
anthonyrawlins
a6a3ebd1a9 Fix TypeScript errors in authentication components
- Update User interface to include backward compatibility fields (name, role)
- Fix authentication components to handle new User model structure
- Create missing UI components (alert, dialog, checkbox)
- Fix login component to handle Promise<void> return type
- Update user references to use full_name or username fallbacks

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

Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)
2025-07-10 20:56:16 +10:00
anthonyrawlins
7af5b47477 Implement complete Bearer Token and API key authentication system
- Create comprehensive authentication backend with JWT and API key support
- Add database models for users, API keys, and tokens with proper security
- Implement authentication middleware and API endpoints
- Build complete frontend authentication UI with:
  - LoginForm component with JWT authentication
  - APIKeyManager for creating and managing API keys
  - AuthDashboard for comprehensive auth management
  - AuthContext for state management and authenticated requests
- Initialize database with default admin user (admin/admin123)
- Add proper token refresh, validation, and blacklisting
- Implement scope-based API key authorization system

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 20:52:58 +10:00
anthonyrawlins
f3cbb5c6f7 Add environment configuration and local development documentation
- Parameterize CORS_ORIGINS in docker-compose.swarm.yml
- Add .env.example with configuration options
- Create comprehensive LOCAL_DEVELOPMENT.md guide
- Update README.md with environment variable documentation
- Provide alternatives for local development without production domain

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 18:20:52 +10:00
anthonyrawlins
7cb4ea18f3 🎉 Complete Phase 5: Frontend UI Updates for Mixed Agent Management
CCLI INTEGRATION PROJECT COMPLETE: Successfully implemented comprehensive
frontend interface for hybrid Ollama/CLI agent orchestration.

## Phase 5 Achievements:
 Mixed agent dashboard with visual distinction (🤖 API vs  CLI)
 Dual registration system with tabbed interface
 Enhanced statistics (5-card layout with agent type breakdown)
 Quick setup button for predefined CLI agents
 Type-specific agent cards with CLI configuration display
 Comprehensive API integration for CLI agent management

## Frontend Features:
- Visual agent type distinction with icons and color coding
- Tabbed registration (Ollama vs CLI agents)
- Enhanced agent cards showing SSH host/Node.js version
- 5-column statistics: Total, Ollama, CLI, Available, Tasks
- Quick CLI setup with predefined agent registration
- Responsive design with comprehensive error handling

## Technical Implementation:
- Extended Agent interface with agent_type and cli_config
- Added CLI agent API methods to agentApi service
- Enhanced registration forms with validation and hints
- Type-safe TypeScript throughout mixed agent operations
- Production build verified (1.2MB optimized bundle)

## User Experience:
 Clear visual hierarchy and agent type identification
 Streamlined registration workflows for both agent types
 One-click predefined CLI agent setup
 Enhanced monitoring with type-specific information
 Responsive design working across all device sizes

## PROJECT STATUS: ALL 5 PHASES COMPLETE
- Phase 1: Connectivity Testing 
- Phase 2: CLI Agent Adapters 
- Phase 3: Backend Integration 
- Phase 4: MCP Server Updates 
- Phase 5: Frontend UI Updates 

Ready for hybrid AI orchestration: 5 Ollama + 2 CLI agents

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 12:26:34 +10:00
anthonyrawlins
85bf1341f3 Add comprehensive frontend UI and distributed infrastructure
Frontend Enhancements:
- Complete React TypeScript frontend with modern UI components
- Distributed workflows management interface with real-time updates
- Socket.IO integration for live agent status monitoring
- Agent management dashboard with cluster visualization
- Project management interface with metrics and task tracking
- Responsive design with proper error handling and loading states

Backend Infrastructure:
- Distributed coordinator for multi-agent workflow orchestration
- Cluster management API with comprehensive agent operations
- Enhanced database models for agents and projects
- Project service for filesystem-based project discovery
- Performance monitoring and metrics collection
- Comprehensive API documentation and error handling

Documentation:
- Complete distributed development guide (README_DISTRIBUTED.md)
- Comprehensive development report with architecture insights
- System configuration templates and deployment guides

The platform now provides a complete web interface for managing the distributed AI cluster
with real-time monitoring, workflow orchestration, and agent coordination capabilities.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 08:41:59 +10:00
anthonyrawlins
962fbbd4b5 Fix Hive frontend and backend service issues
Backend fixes:
- Remove --reload flag to prevent dev mode cycling
- Add curl for health checks
- Configure PostgreSQL connection properly
- Fix Docker CMD for production deployment

Frontend fixes:
- Use serve for production static file serving
- Add curl for health checks (installed as root before user switch)
- Configure proper host binding for containers
- Fix Dockerfile layer ordering

Results:
-  Backend: 1/2 replicas running, health checks passing
-  Frontend: 2/2 replicas running, serving requests
-  Health endpoints responding correctly
-  Services stable and persistent

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 22:24:29 +10:00
anthonyrawlins
d7ad321176 Initial commit: Complete Hive distributed AI orchestration platform
This comprehensive implementation includes:
- FastAPI backend with MCP server integration
- React/TypeScript frontend with Vite
- PostgreSQL database with Redis caching
- Grafana/Prometheus monitoring stack
- Docker Compose orchestration
- Full MCP protocol support for Claude Code integration

Features:
- Agent discovery and management across network
- Visual workflow editor and execution engine
- Real-time task coordination and monitoring
- Multi-model support with specialized agents
- Distributed development task allocation

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 21:44:31 +10:00