Add feature to render chat bubble images in collapsed tool calls

- Intercept tool call messages in chat and render markdown images

- Add setting to toggle feature on/off

- Add proper styling for rendered images

- Handle mutation observer for new messages

- Hide rendered images when details element is opened

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Sven Olderaan
2025-03-16 11:48:08 +01:00
parent ffe901e1ff
commit 4ff645abd0
4 changed files with 215 additions and 5 deletions

View File

@ -10,6 +10,11 @@
<label for="sillybubble_enabled">Enable SillyBubble</label>
</div>
<div class="sillybubble_block flex-container">
<input id="sillybubble_render_in_collapse" type="checkbox" />
<label for="sillybubble_render_in_collapse">Render bubbles in collapsed tool calls</label>
</div>
<div class="sillybubble_block flex-container">
<label for="sillybubble_image_url">Image Service URL:</label>
<input id="sillybubble_image_url" type="text" class="text_pole" />