diff --git a/CLAUDE.md b/CLAUDE.md index 97ca754..28bab17 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -120,7 +120,12 @@ gunicorn netcop_hub.wsgi:application - `agents/configs/agents/`: JSON agent configuration files - `agents/configs/categories/`: JSON category configuration files - `agents/models.py`: AgentExecution, ChatSession models (execution history) -- `agents/views.py`: Dual integration systems and web interface views +- `agents/views.py`: Main imports for backwards compatibility +- `agents/api_views.py`: REST API endpoints (execute_agent, execution_list/detail) +- `agents/chat_views.py`: Chat session management and message handling +- `agents/web_views.py`: Web interface views (marketplace, agent detail pages) +- `agents/direct_access_views.py`: External form integration handlers +- `agents/utils.py`: Utility functions (webhook validation, message formatting) - `agents/templates/agents/`: Dynamic agent templates and marketplace - `templates/career_navigator.html`: Direct access form template @@ -264,25 +269,30 @@ The platform supports 2 agent types: - **Direct Access Agents (4)**: CyberSec Career Navigator, AI Brand Strategist, Lean Six Sigma Expert, SWOT Analysis Expert **Latest Changes:** +- **View separation completed** - Split large views.py into focused modules (api, chat, web, direct access) +- **Restored digital-branding.css** from git history with proper design system integration - **Added SWOT Analysis Expert** with proper category assignment (analysis) -- **Streamlined agent creation process** to use only JSON files (instant loading) +- **Streamlined agent creation process** via JSON configs (instant file-based loading) - **Separated documentation** into focused files (`docs/AGENT_CREATION.md`) - **Removed 10+ redundant management commands** for cleaner codebase - **Fixed marketplace consistency** and updated documentation **Architecture Status:** +- **Modular view architecture** - 5 focused modules for better code organization and maintainability - **Error-free agent creation** via file-based JSON configuration - **Railway-ready deployment** with automatic agent population - **Consistent UI standards** across all marketplace components +- **Professional styling** - All pages properly styled with design system integration - **Comprehensive documentation** prevents common development mistakes **Future Development:** - **New agents** should follow patterns in `docs/AGENT_CREATION.md` - **Use existing categories first** to avoid unnecessary proliferation - **JSON file-based approach** is the only supported creation method +- **New views** should be added to appropriate focused modules (api_views, chat_views, web_views, direct_access_views) --- -Last updated: 2025-01-08 +Last updated: 2025-01-14 ## Documentation - **Quick Agent Requests**: See `docs/AGENT_REQUEST_TEMPLATE.md` for simple agent request template