- Direct HTML Content Rendering: Added native HTML file preview capability
- HtmlContentViewer Component: New component for safe HTML rendering with iframe isolation
- Dual Mode Support: Switch between preview mode and source code mode
- Responsive Scaling: Support for 25%-200% zoom levels
- Full Feature Set: Refresh, copy, fullscreen capabilities
- HTML File Detection: Automatic detection and rendering of HTML files generated by templates
- Improved SSE Handling: Better handling of HTML file success events
- File List Auto-refresh: Automatic update of file list after generation
- Fixed
dataPath is not definederror in/card/html/:folderId/:fileNameroute - Fixed SSE event handling for HTML files in frontend
- Fixed file detection logic for cardplanet-Sandra template
- Fixed timeout issues for long-running generations (increased to 7 minutes)
- Enhanced
/api/terminal/cardto support HTML file reading - Added proper HTML content type detection
- Improved file detection logging for debugging
- Added HtmlContentViewer component for safe HTML rendering
- Updated CardGenerator.vue to support HTML content preview
- Enhanced terminal API to support multiple file types
- Improved preview type detection and switching
- Cleaned up Docker configuration (single Dockerfile at root)
- Removed redundant Docker files from subdirectories
- Optimized build process
- Updated main README.md with cleaner structure
- Created DEVELOPER.md for development guide
- Organized documentation directory structure
- Removed outdated temporary documentation
Docker image: ai-terminal:v3.23
docker run -d -p 8083:6000 ai-terminal:v3.23- Large HTML files may take time to render
- Some complex HTML with external resources may not display correctly in isolated iframe
No breaking changes. Update Docker image to v3.23 for new features.