Major WHOOSH system refactoring and feature enhancements

- Migrated from HIVE branding to WHOOSH across all components
- Enhanced backend API with new services: AI models, BZZZ integration, templates, members
- Added comprehensive testing suite with security, performance, and integration tests
- Improved frontend with new components for project setup, AI models, and team management
- Updated MCP server implementation with WHOOSH-specific tools and resources
- Enhanced deployment configurations with production-ready Docker setups
- Added comprehensive documentation and setup guides
- Implemented age encryption service and UCXL integration

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
anthonyrawlins
2025-08-27 08:34:48 +10:00
parent 0e9844ef13
commit 268214d971
399 changed files with 57390 additions and 2045 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
# Apply cluster registration migration to Hive database
# Apply cluster registration migration to WHOOSH database
# This script applies the 007_add_cluster_registration.sql migration
set -e
@@ -8,9 +8,9 @@ set -e
echo "🚀 Applying Cluster Registration Migration..."
# Configuration
DB_NAME="hive"
DB_NAME="whoosh"
DB_USER="postgres"
DB_PASSWORD="hive123"
DB_PASSWORD="whoosh123"
MIGRATION_FILE="./migrations/007_add_cluster_registration.sql"
# Check if migration file exists
@@ -27,11 +27,11 @@ run_sql_docker() {
echo "🐳 Executing migration via Docker..."
# Check if PostgreSQL service is running in Docker swarm
if docker service ls | grep -q "hive_postgres"; then
if docker service ls | grep -q "whoosh_postgres"; then
echo "✅ PostgreSQL service found in Docker swarm"
# Get a running PostgreSQL container
CONTAINER_ID=$(docker ps --filter "label=com.docker.swarm.service.name=hive_postgres" --format "{{.ID}}" | head -n1)
CONTAINER_ID=$(docker ps --filter "label=com.docker.swarm.service.name=whoosh_postgres" --format "{{.ID}}" | head -n1)
if [[ -z "$CONTAINER_ID" ]]; then
echo "❌ No running PostgreSQL container found"
@@ -78,7 +78,7 @@ else
echo "📝 Manual steps:"
echo "1. Ensure PostgreSQL is running"
echo "2. Check database credentials"
echo "3. Run manually: psql -h localhost -U postgres -d hive -f $MIGRATION_FILE"
echo "3. Run manually: psql -h localhost -U postgres -d whoosh -f $MIGRATION_FILE"
exit 1
fi
@@ -94,8 +94,8 @@ echo " ✅ Indexes and triggers created"
echo " ✅ Development tokens inserted"
echo ""
echo "🔐 Development Tokens:"
echo " Dev Token: hive_dev_cluster_token_12345678901234567890123456789012"
echo " Prod Token: hive_prod_cluster_token_98765432109876543210987654321098"
echo " Dev Token: whoosh_dev_cluster_token_12345678901234567890123456789012"
echo " Prod Token: whoosh_prod_cluster_token_98765432109876543210987654321098"
echo ""
echo "⚠️ SECURITY WARNING: Change production tokens before deployment!"
echo ""