Architecture: How to supercharge vitto-chat to replace ai-panel-core as th...

Documentation for Sessions

🏗️ Architecture: How to supercharge vitto-chat to replace ai-panel-core as th...

Date: 2026-02-26
Time: 23:19:35 UTC
Session: gspace1-149.2
Agent: architecture
Confidence: 92%
Status: ✅ Documented


📋 Decision Context

Question:

How to supercharge vitto-chat to replace ai-panel-core as the primary embeddable chat?

Task: Session 149: Vitto AI ecosystem supercharge - Phase 1


🎯 Decision Made

Chosen:

Extended ChatPlugin interface with onContextChange/onDrop/onDestroy lifecycle hooks. Created 5 new plugins (rich-context, capabilities, suggestions, observatory, learning), widget generation panel, and chat-drop-target directive. All follow the existing composable plugin pattern from Session 133.

Options Considered:


💭 Reasoning

The vitto-chat plugin architecture (Session 133) is cleaner and more maintainable than the monolithic ai-panel-core. Rather than patching the old system, we add missing features as composable plugins. The ChatPlugin interface needed lifecycle hooks for context awareness and drag-drop integration — these enable deep cross-app communication without coupling plugins to each other. Widget generation panel follows the same pattern as existing image/video/module panels.


📁 Files Involved


🔗 Related


Auto-generated by MCP Smart Consolidation