feat(dashboard): drop /api/agents and /api/activity endpoints

This commit is contained in:
2026-04-21 07:16:20 +00:00
parent bee21594f5
commit e0abe5cdfc
3 changed files with 0 additions and 521 deletions

View File

@@ -34,7 +34,6 @@ from constants import ( # noqa: E402 re-exported for tests
VENV_PYTHON,
WORKSPACE_DIR,
)
from handlers.agents import AgentsHandlers # noqa: E402
from handlers.cron import CronHandlers # noqa: E402
from handlers.eco import EcoHandlers # noqa: E402
from handlers.files import FilesHandlers # noqa: E402
@@ -54,7 +53,6 @@ class TaskBoardHandler(
YoutubeHandlers,
WorkspaceHandlers,
CronHandlers,
AgentsHandlers,
SimpleHTTPRequestHandler,
):
"""HTTP request handler — dispatches to handler-mixin methods."""
@@ -90,12 +88,8 @@ class TaskBoardHandler(
self.send_json({'status': 'ok', 'time': _dt.now().isoformat()})
elif self.path == '/api/git' or self.path.startswith('/api/git?'):
self.handle_git_status()
elif self.path == '/api/agents' or self.path.startswith('/api/agents?'):
self.handle_agents_status()
elif self.path == '/api/cron' or self.path.startswith('/api/cron?'):
self.handle_cron_status()
elif self.path == '/api/activity' or self.path.startswith('/api/activity?'):
self.handle_activity()
elif self.path == '/api/habits':
self.handle_habits_get()
elif self.path.startswith('/api/files'):