mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-18 15:03:02 +00:00
- 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.
|
||
|---|---|---|
| .. | ||
| ArtifactElement.ts | ||
| ArtifactPill.ts | ||
| artifacts-tool-renderer.ts | ||
| artifacts.ts | ||
| Console.ts | ||
| HtmlArtifact.ts | ||
| ImageArtifact.ts | ||
| index.ts | ||
| MarkdownArtifact.ts | ||
| SvgArtifact.ts | ||
| TextArtifact.ts | ||