agterm-win 0.45.5 · cookbook
Session snapshot
Record every open session, with its folder, command, Claude conversation and last screen lines, as an HTML page you can browse. Each session on the page has a one-line restore command.
In agterm-win
An agterm-server session in an Ubuntu distribution, in a fresh agterm-win with the Nordic Blue Dark theme.
Set it up in WSL
In the distribution, from a copy of the recipe's folder.
$ sudo apt install jq python3
$ mkdir -p ~/.local/share/agterm $ cp -R session-snapshot ~/.local/share/agterm/ $ chmod +x ~/.local/share/agterm/session-snapshot/*.sh
Then, from a shell in an agterm session:
$ ~/.local/share/agterm/session-snapshot/snapshot.sh $ agtermctl session overlay open --html ~/agterm-snapshots/latest.html \ --size-percent 92 --target "$AGTERM_SESSION_ID"
On Windows
snapshot.sh --opencalls macOSopen. In WSL, show the page withsession overlay open --htmlinstead.
The recipe, with how it works and its limits: cookbook/session-snapshot.