Files
Manfred Steyer bda5c41628 feat(angular): add CopilotActivity for standalone activity rendering
Rendering activity messages outside of CopilotChatMessageView (custom chat
shells, dashboards, headless setups) currently requires instantiating the
whole message view or copying its private resolution logic. Tool calls
already have a public component for this (RenderToolCalls), activities do
not.

This adds CopilotActivity (<copilot-activity [message] [agentId]>), a
standalone host for a single activity message. CopilotChatMessageView now
delegates to it, so there is one implementation for the activity role. No
behavior change. The renderer resolution moves into an internal
pickActivityRenderer that is not exported.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-27 15:24:15 +02:00

329 B

@copilotkit/angular
@copilotkit/angular
minor

feat(angular): add CopilotActivity, a standalone host for a single activity message. CopilotChatMessageView now delegates activity rendering to it, so custom chat shells and non-chat surfaces can render activities through the registered renderers without instantiating the message view.