co-mono/packages/ai/src
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
..
agent Add ToolRenderResult interface for custom tool rendering 2025-10-11 04:40:42 +02:00
providers Add Anthropic prompt caching, pluggable storage, and CORS proxy support 2025-10-05 23:00:36 +02:00
utils More browser extension work, disable ajv validation in browser extensions, it uses eval/new Function, which is not allowed in manifest v3 extensions 2025-10-01 20:30:49 +02:00
index.ts refactor(ai): improve error handling and stop reason types 2025-09-18 19:57:13 +02:00
models.generated.ts Add ollama dependency and dialog backdrop blur 2025-10-08 17:49:56 +02:00
models.ts refactor(ai): Simplify API with new streaming interface and model management 2025-09-03 01:25:19 +02:00
stream.ts feat(ai): Implement Zod-based tool validation and improve Agent API 2025-09-09 14:58:54 +02:00
types.ts refactor(ai): improve error handling and stop reason types 2025-09-18 19:57:13 +02:00