If you want it to be as close as possible to ChatGPT, you might wanna check out the minified source code. Here are some snippets from it. It looks like they might soon separate "Workspace" and "Codespace"