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,5 +1,5 @@
"""
GitHub Service for Hive Backend
GitHub Service for WHOOSH Backend
This service is responsible for all interactions with the GitHub API,
specifically for creating tasks as GitHub Issues for the Bzzz network to consume.
@@ -35,10 +35,10 @@ class GitHubService:
async def create_bzzz_task_issue(self, task: Dict[str, Any]) -> Dict[str, Any]:
"""
Creates a new issue in the Bzzz GitHub repository to represent a Hive task.
Creates a new issue in the Bzzz GitHub repository to represent a WHOOSH task.
Args:
task: A dictionary representing the task from Hive.
task: A dictionary representing the task from WHOOSH.
Returns:
A dictionary with the response from the GitHub API.
@@ -47,19 +47,19 @@ class GitHubService:
logger.warning("Cannot create GitHub issue: GITHUB_TOKEN is not configured.")
return {"error": "GitHub token not configured."}
title = f"Hive Task: {task.get('id', 'N/A')} - {task.get('type', 'general').value}"
title = f"WHOOSH Task: {task.get('id', 'N/A')} - {task.get('type', 'general').value}"
# Format the body of the issue
body = f"### Hive Task Details\n\n"
body = f"### WHOOSH Task Details\n\n"
body += f"**Task ID:** `{task.get('id')}`\n"
body += f"**Task Type:** `{task.get('type').value}`\n"
body += f"**Priority:** `{task.get('priority')}`\n\n"
body += f"#### Context\n"
body += f"```json\n{json.dumps(task.get('context', {}), indent=2)}\n```\n\n"
body += f"*This issue was automatically generated by the Hive-Bzzz Bridge.*"
body += f"*This issue was automatically generated by the WHOOSH-Bzzz Bridge.*"
# Define the labels for the issue
labels = ["hive-task", f"priority-{task.get('priority', 3)}", f"type-{task.get('type').value}"]
labels = ["whoosh-task", f"priority-{task.get('priority', 3)}", f"type-{task.get('type').value}"]
payload = {
"title": title,
@@ -72,7 +72,7 @@ class GitHubService:
async with session.post(self.api_url, json=payload) as response:
response_data = await response.json()
if response.status == 201:
logger.info(f"Successfully created GitHub issue #{response_data.get('number')} for Hive task {task.get('id')}")
logger.info(f"Successfully created GitHub issue #{response_data.get('number')} for WHOOSH task {task.get('id')}")
return {
"success": True,
"issue_number": response_data.get('number'),