Expand description
Self-contained HTML session export compatible with the TypeScript viewer.
Modules§
- ansi_
to_ html - ANSI SGR to safe inline HTML conversion used by session export.
Structs§
- Export
Options - HTML export options.
- Export
Theme - Fully resolved colors used by the HTML viewer.
- Rendered
Result - HTML fragments returned by a custom tool-result renderer.
- Rendered
Tool Html - Pre-rendered custom-tool fragments keyed by tool-call id.
- Session
Export State - Optional live-agent data unavailable when exporting an arbitrary file.
- Tool
Info - A tool definition embedded into an exported session.
Enums§
- Export
Error - HTML export failures.
Traits§
- Tool
Html Renderer - Renderer seam for extension-defined tools.
Functions§
- export_
from_ file - Export an arbitrary session file without live agent state.
- export_
session_ to_ html - Export a current session, including live system-prompt and tool metadata.