Skip to content

smelt.transcript.defaults

Availability: Everywhere, including headless mode.

Advanced: Low-level building block for plugins that need full control. It may change more freely than the rest of the API.

Bundled default transcript entry points for rendering semantic blocks and raw tool output.

smelt.transcript.defaults.render

fun(block: smelt.transcript.Block, ctx: smelt.transcript.Context): smelt.layout.Node

Types: smelt.transcript.Block, smelt.transcript.Context, smelt.layout.Node

Render any semantic transcript block with the bundled default policy.

smelt.transcript.defaults.render_tool_output

fun(output: smelt.transcript.ToolOutput?, ctx: smelt.transcript.Context?, opts: table?): smelt.layout.Node

Types: smelt.transcript.ToolOutput, smelt.transcript.Context, smelt.layout.Node

Render raw tool output with the default gutter and rendered-row cap.