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:
@@ -1,8 +1,8 @@
|
||||
"""
|
||||
Hive API - Task Management Endpoints
|
||||
WHOOSH API - Task Management Endpoints
|
||||
|
||||
This module provides comprehensive API endpoints for managing development tasks
|
||||
in the Hive distributed orchestration platform. It handles task creation,
|
||||
in the WHOOSH distributed orchestration platform. It handles task creation,
|
||||
execution tracking, and lifecycle management across multiple agents.
|
||||
|
||||
Key Features:
|
||||
@@ -35,7 +35,7 @@ from ..core.error_handlers import (
|
||||
task_not_found_error,
|
||||
coordinator_unavailable_error,
|
||||
validation_error,
|
||||
HiveAPIException
|
||||
WHOOSHAPIException
|
||||
)
|
||||
|
||||
router = APIRouter()
|
||||
@@ -52,7 +52,7 @@ def get_coordinator() -> UnifiedCoordinator:
|
||||
status_code=status.HTTP_201_CREATED,
|
||||
summary="Create a new development task",
|
||||
description="""
|
||||
Create and submit a new development task to the Hive cluster for execution.
|
||||
Create and submit a new development task to the WHOOSH cluster for execution.
|
||||
|
||||
This endpoint allows you to submit various types of development tasks that will be
|
||||
automatically assigned to the most suitable agent based on specialization and availability.
|
||||
@@ -506,7 +506,7 @@ async def cancel_task(
|
||||
# Check if task can be cancelled
|
||||
current_status = task.get("status")
|
||||
if current_status in ["completed", "failed", "cancelled"]:
|
||||
raise HiveAPIException(
|
||||
raise WHOOSHAPIException(
|
||||
status_code=status.HTTP_409_CONFLICT,
|
||||
detail=f"Task '{task_id}' cannot be cancelled (status: {current_status})",
|
||||
error_code="TASK_CANNOT_BE_CANCELLED",
|
||||
|
||||
Reference in New Issue
Block a user