Chat and agent tool context now emits answer-ready Markdown images instead of internal <image> XML so copied content renders safely. The frontend also normalizes legacy XML blocks in persisted conversations during streaming.
Scope image info to matched text children during parent resolution and add range/URL filtering utilities with unit tests.