fixes doc generation and renderers
This commit is contained in:
parent
671be8adf9
commit
2bef456612
1 changed files with 10 additions and 0 deletions
|
|
@ -14,6 +14,16 @@ Skip: reine Refactors, Formatting, Lint, Dep-Bumps, Test-only, Wiki-Tippfehler.
|
|||
|
||||
## 2026-06-03
|
||||
|
||||
- 2026-06-03 | fix | platform-core | **Image MIME-Type Pre-Validation in Extraction Pipeline**: Unsupported Bild-Formate (image/bmp, image/tiff, image/x-icon etc.) werden jetzt VOR dem Failover-Loop erkannt und uebersprungen. Magic-Bytes-Sniffing korrigiert falsche MIME-Types. Verhindert 6000+ Error-Storm bei EML-Verarbeitung (vorher: jedes unsupported Bild x 10+ Models = 30+ API-Errors). Safety-Net auch in aicorePluginAnthropic.
|
||||
- 2026-06-03 | fix | platform-core | **App Shutdown: ResilientHttp Sessions + EventManager Tasks**: `closeAllResilientHttp()` schliesst alle shared aiohttp-Sessions beim Shutdown. `EventManager.shutdown()` cancelt pending Cleanup-Tasks. Behebt 30s+ Shutdown-Hang.
|
||||
- 2026-06-03 | fix | ui-nyla | **Data-Source Chip UUID-Fix**: Race Condition in WorkspaceInput behoben -- `refreshDataSources()` gibt jetzt Promise zurueck, `_handleDataSourceDrop` wartet darauf bevor `pendingAttachDsId` gesetzt wird. Lokaler Label-Cache als Fallback. Verhindert UUID-Anzeige in Chips.
|
||||
- 2026-06-03 | fix | platform-core | **Model Selector: totalTokens statt promptTokens**: Filter in `aicoreModelSelector.py` prueft jetzt `totalTokens` (prompt+context) statt nur `promptTokens` gegen 80%-Limit. Verhindert Auswahl von Modellen mit zu kleinem Context-Window bei grossen Dokumenten.
|
||||
- 2026-06-03 | fix | platform-core | **simpleMode an Chunking-Pipeline angebunden**: `process.py` simpleMode nutzt jetzt `_resolve_file_refs_to_content_parts` / `_action_docs_to_content_parts` statt roher Bytes-Konkatenation. Dokumente fliessen durch die existierende Extraction+Chunking-Pipeline, oversized Prompts (4M+ Tokens) werden vermieden.
|
||||
- 2026-06-03 | fix | platform-core | **Image-Element-Normalisierung**: `_normalizeImageElement` in `subStructureFilling.py` stellt sicher, dass AI-generierte Image-Elemente immer das `content`-Dict-Format haben. Behebt Crash in rendererMarkdown wenn AI flache Keys liefert.
|
||||
- 2026-06-03 | fix | platform-core | **Pre-Flight Guard in callWithTextContext**: Defense-in-depth in `interfaceAiObjects.py` -- lehnt Payloads ab die >95% des besten Modell-Context-Windows ueberschreiten, bevor die Failover-Schleife startet.
|
||||
- 2026-06-03 | fix | platform-core | **PPTX Tabellen-Positionierung**: `_renderSlideContentWithFrames` in rendererPptx.py umgebaut auf sequenzielles Y-Tracking. Textboxen werden mit geschaetzter Hoehe statt full-height erstellt, Tabellen und Code-Blocks erhalten explizite `top`-Positionen. Behebt Bug wo Tabellen unterhalb des sichtbaren Slide-Bereichs erschienen.
|
||||
- 2026-06-03 | feat | platform-core | **HTTP Resilience Mixin fuer Connectors**: Neues `_httpResilience.py` mit `ResilientHttp`-Klasse (Shared aiohttp.ClientSession, asyncio.Semaphore, Retry mit Backoff bei 429/502/503/504, Retry-After Header). Integriert in Google, MSFT und Infomaniak Connectors. Eliminiert 429-Storms durch Concurrency-Limit (Google 8, MSFT 10, Infomaniak 6).
|
||||
- 2026-06-03 | feat | platform-core | **Sandbox readFileBytes + SafeZipFile**: `sandboxExecutor.py` erweitert um `readFileBytes(fileId)` Builtin (rohe Bytes, 50MB-Limit) und `SafeZipFile` Wrapper (read-only, in-memory, kein extract/write). Ermoeglicht ZIP/XLSX/DOCX-Strukturanalyse im Agent-Sandbox ohne Dateisystem-Zugriff.
|
||||
- 2026-06-03 | refactor | platform-core | **Style-System Overhaul: THEME_PRESETS + documentTheme entfernt, AI-Enhancement aktiviert**: `THEME_PRESETS`, `resolveTheme()` und `documentTheme`-Parameter end-to-end entfernt (styleDefaults, mainServiceGeneration, _mediaTools, methodAi, generateDocument, documentPath, mainServiceAi, mainTrustee). Statische Presets ersetzt durch AI-getriebene Style-Enhancement (`_enhanceStyleWithAi` in mainServiceGeneration); DEFAULT_STYLE auf Cursor/VS-Code-Aesthetik modernisiert (Calibri, GitHub-Farben, subtile Rahmen). Dead Code aus allen 5 Renderern entfernt (_getStyleSet, _enhanceStylesWithAI, _getDefaultStyleSet, _validateStylesContrast etc.). (c-work: c-work/4-done/2026-06-style-system-overhaul-smart-tables.md)
|
||||
- 2026-06-03 | fix | platform-core | **Style-Chain-Luecken geschlossen**: AI-Enhancement-Prompt bekommt jetzt das vollstaendige Style-Set (~920 Bytes) statt nur fonts/colors/table (3 von 12 Sektionen). `_convertUnifiedStyleToInternal` erweitert um page, image, table font sizes, borderWidth, codeBlock.borderColor, coverPage, caption, table_banding, table_padding, fonts, colors. Fallback-Farben an DEFAULT_STYLE angeglichen (#1F3864->#24292e, lineSpacing 1.15->1.5). Heading-Key-Mismatch in XLSX/PPTX behoben (heading->heading{level}); DOCX h3/h4 Styles registriert.
|
||||
- 2026-06-03 | feat | platform-core | **Smart Table Styling**: Per-Table Style-Overrides via `content.tableStyle` im JSON-Block (deep-merge mit globalem Table-Style). Neue Style-Keys: `borderStyle` (grid/horizontal/none), `bandingEnabled` (Toggle), `cellPaddingPt`. Automatische Spaltenausrichtung (`_inferColumnAlignments`: Zahlen rechts, Daten zentriert, Text links) oder explizit via `columnAlignments`. Neue Schema-Sektionen `coverPage` und `caption` in DEFAULT_STYLE. Alle 5 Renderer (PDF/DOCX/PPTX/XLSX/HTML) implementieren borderStyle-Varianten, banding-Toggle und columnAlignments.
|
||||
|
|
|
|||
Loading…
Reference in a new issue