Convert .osop and .osoplog.yaml into standalone HTML report with dark mode and expandable nodes
Convert workflow definition and/or execution log into a self-contained HTML report.
$ARGUMENTS
If no arguments provided, look for the most recent files in sessions/ directory.
Find the files — read the .osop file (first argument). If a .osoplog.yaml is also provided (second argument), read that too.
Generate the HTML report using the embedded report generator or by building inline HTML:
<details> elementprefers-color-schemeSave the HTML next to the source file with -report.html suffix.
Tell the user the file path so they can open it in a browser.
The HTML report includes: