Documentation
¶
Overview ¶
Package collapse wraps long tool output turns in collapsible HTML details blocks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollapseToolOutputs ¶
CollapseToolOutputs wraps long Tool Output turn bodies in collapsible <details> blocks. Entries exported before the collapse feature was added have raw multi-line tool output; this pass retroactively collapses them.
Parameters:
- content: Journal entry content
Returns:
- string: Content with long tool outputs wrapped in <details> tags
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.