TODOs done + cleanup

This commit is contained in:
Renn F
2025-12-11 01:05:20 +01:00
parent f0f6f77d68
commit b8c19e85bd
45 changed files with 2076 additions and 363 deletions
+2 -3
View File
@@ -12,9 +12,8 @@ Tools:
- roboco_channel_history: Get channel message history
"""
from datetime import datetime, timedelta
from datetime import UTC, datetime, timedelta
from typing import Any
from uuid import UUID
import httpx
from mcp.server.fastmcp import FastMCP
@@ -147,7 +146,7 @@ def create_message_mcp_server(agent_id: str) -> FastMCP:
)
limit = min(limit, 100)
since = datetime.utcnow() - timedelta(hours=hours_back)
since = datetime.now(UTC) - timedelta(hours=hours_back)
async with httpx.AsyncClient() as client:
# Get channel ID from slug
-2
View File
@@ -11,9 +11,7 @@ Tools:
- roboco_notify_send: Send a notification (PM/Board/Auditor only)
"""
from datetime import datetime
from typing import Any
from uuid import UUID
import httpx
from mcp.server.fastmcp import FastMCP
-3
View File
@@ -20,15 +20,12 @@ Tools:
- roboco_task_complete: Mark task complete
"""
from datetime import datetime
from typing import Any
from uuid import UUID
import httpx
from mcp.server.fastmcp import FastMCP
from roboco.config import settings
from roboco.models.base import TaskStatus, Team
# =============================================================================
# VALID STATE TRANSITIONS