Showing
1 changed file
with
8 additions
and
0 deletions
| @@ -119,6 +119,14 @@ Solomon LionCC BettaFish WeiYu Benefits: Open codecodex.ai Lion Programming Chan | @@ -119,6 +119,14 @@ Solomon LionCC BettaFish WeiYu Benefits: Open codecodex.ai Lion Programming Chan | ||
| 119 | | N+1 | Result Integration | Report Agent collects all analysis results and forum content | Report Agent | - | | 119 | | N+1 | Result Integration | Report Agent collects all analysis results and forum content | Report Agent | - | |
| 120 | | N+2 | Report Generation | Dynamically select templates and styles, generate final reports through multiple rounds | Report Agent + Template Engine | - | | 120 | | N+2 | Report Generation | Dynamically select templates and styles, generate final reports through multiple rounds | Report Agent + Template Engine | - | |
| 121 | 121 | ||
| 122 | +### 🆕 Report Engine Highlights | ||
| 123 | + | ||
| 124 | +- **IR → HTML/PDF rendering**: New `ReportEngine/renderers/html_renderer.py` and `pdf_renderer.py` ship with a Source Han Serif subset plus offline MathJax/Chart.js/html2canvas; `report_engine_only.py` lets you render reports from the CLI without the web UI. | ||
| 125 | +- **PDF export APIs**: Added `/api/report/export/pdf/<task_id>` and `/api/report/export/pdf-from-ir`, performing Pango dependency checks and returning vector PDFs that mirror the HTML preview. | ||
| 126 | +- **Chart.js safety guardrails**: `utils/chart_validator.py` with optional LLM repair ensures widget payloads are valid, avoiding crashes or XSS from malformed chart configs. | ||
| 127 | +- **Multi-source log console**: Frontend console now uses a double-buffered virtual list with SSE replay; backend exposes `/api/report/log` and `/api/report/log/clear` for quick inspect/reset. | ||
| 128 | +- **Sanitization regression tests**: `tests/test_report_engine_sanitization.py` covers table block auto-repair to keep rendering stable. | ||
| 129 | + | ||
| 122 | ### Project Code Structure Tree | 130 | ### Project Code Structure Tree |
| 123 | 131 | ||
| 124 | ``` | 132 | ``` |
-
Please register or login to post a comment