Expand description
Artifact side panel: a generated document, code file, or data view shown beside the conversation.
An Artifact carries the generated source as StreamedContent (so a
panel can render while the agent is still writing), the kind that picks
its preview, and the versions the agent has produced. ArtifactPanel
renders the header (kind, title, version switcher, close), a
Preview / Source switch, the scrolling body, and an optional action row,
reporting every intent as an ArtifactPanelEvent keyed by stable IDs.
Width, docking, and resizing belong to the application — compose the
panel inside the upstream resizable group.
Structs§
- Artifact
- A generated artifact: title, kind, source, and versions.
- Artifact
Action - An application-defined action offered under the artifact.
- Artifact
Panel - The side panel for one artifact.
- Artifact
Version - One produced version of an artifact.
Enums§
- Artifact
Kind - What the artifact is, which decides its preview and glyph.
- Artifact
Panel Event - An interaction emitted by
ArtifactPanel. - Artifact
View - Which face of the artifact is shown.