yera.runtime.models.block_data
Block data models for events blocks.
Symbols
BarChartData
BaseModelBar chart block data.
Fields
BlockEndData
BaseModelControl event marking the structural end of a block.
Distinct from semantic completion (e.g. SpinnerData.status="complete",
which means render a tick). This means no further events will arrive for
this block_id. It is consumed by the router to close the block's handler
context and is never dispatched to a handler's push.
Fields
ButtonsData
InputRequestBlockDataButton group block data with options and optional label.
Fields
DatePickerData
InputRequestBlockDataDate picker block data with value and label.
Fields
ErrorResultData
BaseModelSerialized data for an error result block.
Fields
ErrorResultDetails
BaseModelNormalized details captured from an exception.
Fields
FailureExitEventData
BaseModelExit event data for failed app execution (exit_code != 0).
Fields
FormData
InputRequestBlockDataA form request presenting a struct's fields for one typed submission.
Fields
Transport contract accepting one JSON object; the struct, not the form schema, validates its contents.
Inlined form schema used to render the form and to redact secrets from stored submissions.
Optional question shown above the form.
Optional label for an action that cancels the form.
Current JSON values keyed by field name, pre-filling the form.
Validation messages keyed by dotted field path, from a previously rejected submission.
FormEchoData
BaseModelThe outcome of one form submission, recorded in the transcript.
Fields
Block ID of the form request the submission answered.
Whether validation accepted or rejected the submission.
The request's question, repeated alongside the answers.
Form schema describing the submitted fields.
Submitted JSON values with secrets masked.
Validation messages keyed by dotted field path when rejected.
ImageData
BaseModelDescribe encoded image content carried by an output event.
Fields
Discriminator identifying image block data.
Base64-encoded image-file content.
MIME type identifying the encoded image format.
Optional accessible description of the image.
InputEchoData
BaseModelAn accepted input response that terminally commits its request.
Fields
InputRequestBlockData
BaseModelData shared by blocks that request a single input value.
Fields
InputRequestData
InputRequestBlockDataInput request block data for awaiting user text input.
Fields
LineChartData
BaseModelLine chart block data.
Fields
LoggingAttributes
BaseModelPrivacy-safe metadata attached to a logging record.
Fields
Session associated with the activity, when known.
User-facing name of the app being invoked.
Kind of user input requested or accepted.
Exception class name for failed activity.
Configured provider responsible for a model request.
Configured identifier of the requested model.
Kind of model generation being attempted.
One-based physical attempt number for a retried operation.
Kind of tool implementation being executed.
Stable configured or Python name of the tool.
LoggingData
BaseModelDescribe one phase of a correlated runtime operation.
Logging data contains metadata only. Prompts, responses, user-entered values, tool arguments, tool results, credentials, exception messages, and tracebacks do not belong in this model.
Fields
Discriminator identifying a runtime logging record.
Version of the logging wire contract.
Stable identity shared by every phase of one operation.
Enclosing operation, or None at the root.
Kind of component performing the operation.
Kind of operation being performed.
Current lifecycle phase of the operation.
Monotonic duration for a terminal phase.
Explicitly reviewed privacy-safe metadata.
MarkdownData
BaseModelMarkdown content block data.
Fields
SectionData
BaseModelStructural and visual state for a collapsible section.
Section data is emitted as a complete snapshot whenever the section heading changes. Consumers can therefore render each event independently without reconstructing previous updates.
Fields
Heading shown for the section.
Optional preview shown when the completed section is collapsed.
Whether the section collapses automatically on completion.
Registered glyph shown beside the title.
Optional named colour applied to the section heading.
SessionMetaData
BaseModelA partial session metadata update emitted by a runtime or host.
Fields
SliderData
InputRequestBlockDataSlider block data with range, initial value, and label.
Fields
SpinnerData
BaseModelSpinner block data with status and optional message.
Fields
StructData
BaseModelStruct data for structured generation responses.
Fields
SuccessExitEventData
BaseModelExit event data for successful app completion (exit_code 0).
Fields
SuccessResultData
BaseModelSerialized data for a successful result block.
Fields
SystemPromptData
BaseModelSystem prompt block data.
Fields
TableData
BaseModelTable block data with columns, rows, and border style.
Fields
ThinkingData
BaseModelThinking content block data.
Fields
TreeSelectorData
InputRequestBlockDataTree selector request containing nested selectable leaves.