Notes
Artifact types
Markdown: rendered note. Known component: ArtifactDemoPill. Unknown component: fallback inspector card. Global: window.personaArtifactDemo.
How it works
Enable artifacts on the widget config:
features: {
artifacts: {
enabled: true,
allowedTypes: ["markdown", "component"],
},
},
Call controller.upsertArtifact({ artifactType, ... }) to render an artifact in the side panel. Components must be registered via componentRegistry.register(name, renderer).