CC stores these as JSON files, keyed by the directory you happened to be in at the time.
I built Wallfacer because I needed a way to search and resume these sessions without messing with the source of truth. It operates as a strictly read only overlay. It just reads the local files, extracts the working directory and first prompt, and lets you manage the metadata in a local SQLite database.