Expand description
Runtime metadata shared by the reducer, recorder, and renderer.
These types deliberately carry facts rather than presentation strings. Tool output still contains the provider-facing text that goes back into the model, while this module holds the metadata the UI and future commands can consume without scraping that text.
Structs§
- Managed
Process - Registry record for a background process Mermaid started.
- Provider
Capability Snapshot - Normalized provider capability snapshot exposed in app state.
- Runtime
State - Runtime state that is not part of the chat transcript sent to a model, but is useful for UI, slash commands, and debugging.
- Runtime
Timeline Event - Runtime event recorded in state for observability / replay tooling.
- Tool
RunMetadata - Structured metadata extracted from a completed tool run.
Enums§
- Managed
Process Status - Background process status tracked by Mermaid after launching a
command in
execute_command(mode="background"). - Runtime
Signal - External lifecycle signal observed by the app shell.
- Runtime
Timeline Kind - Tool
Artifact - Non-text artifact produced by a tool. Images are base64 strings to match the existing chat-message storage format.
- Tool
Metadata - Typed metadata produced by a specific tool implementation.
- Tool
Status - Tool outcome status independent of how the result is rendered.