Skip to main content

Module render

Module render 

Source
Expand description

Human rendering of response envelopes. JSON envelopes remain the internal and --json representation; this module is a one-way translation applied at the final write, so the socket API and agent-facing output are unaffected by presentation changes here.

Functionsยง

render
Renders a response envelope as human-readable text. verb selects a verb-specific layout; unknown or absent verbs fall back to pretty JSON so no response is ever silently dropped.
render_error