co-mono/packages/web-ui/src/tools/artifacts
Mario Zechner b129154cc8 Add ToolRenderResult interface for custom tool rendering
- Changed ToolRenderer return type from TemplateResult to ToolRenderResult
- ToolRenderResult = { content: TemplateResult, isCustom: boolean }
- isCustom: true = no card wrapper, false = wrap in card
- Updated all existing tool renderers to return new format
- Updated Messages.ts to handle custom rendering

This enables tools to render without default card chrome when needed.
2025-10-11 04:40:42 +02:00
..
ArtifactElement.ts Add artifact message persistence for session reconstruction 2025-10-09 04:07:59 +02:00
ArtifactPill.ts Prevent default and stop propagation when clicking artifact pill 2025-10-08 14:17:04 +02:00
artifacts-tool-renderer.ts Add ToolRenderResult interface for custom tool rendering 2025-10-11 04:40:42 +02:00
artifacts.ts Add ToolRenderResult interface for custom tool rendering 2025-10-11 04:40:42 +02:00
Console.ts Refactor artifacts renderer and add Console component 2025-10-08 01:54:50 +02:00
HtmlArtifact.ts HTML artifacts call window.complete() when page loads 2025-10-09 23:49:22 +02:00
ImageArtifact.ts Add image artifact support with proper binary downloads 2025-10-09 04:34:42 +02:00
index.ts Refactor artifacts renderer and add Console component 2025-10-08 01:54:50 +02:00
MarkdownArtifact.ts Add artifact message persistence for session reconstruction 2025-10-09 04:07:59 +02:00
SvgArtifact.ts Add artifact message persistence for session reconstruction 2025-10-09 04:07:59 +02:00
TextArtifact.ts Add artifact message persistence for session reconstruction 2025-10-09 04:07:59 +02:00