Same problem, full working platform in a chat with 100+ versions just got wiped, chat still there but history and codebase gone.
edit: browsing through other threads, the thing that solved it for me was to delete the very first message in the (new, almost empty) history of the chat that contained your work. I did it and all previous message just magically reappeared. A refresh and the code base was back too.