https://gist.github.com/rmk40/cde7a98c1c90614a27478216cc0155...
The gist led me to the opencode session / prompt control folder:
https://github.com/anomalyco/opencode/tree/dev/packages/open...