Amazon Q Developer now has a feature to view chat history, found next to the tabs in the chat interface.
The chat history is stored in the ~/.aws/amazonq/history directory as time/date stamped JSON files.
Even if the project is deleted in VSCode, the chat history files can be accessed from the history directory for review with a JSON viewer.
Reviewing these files can help in extracting all history, including prompts and responses, providing a way to go back in time within Amazon Q Developer.