Previous chats disappearing when closing cursor

 ~/eon-features  tree                                                                                    
.
├── eon-features.code-workspace
└── ml-feature-set
    ├── README.md
    ├── __pycache__

If I change the name of the directory ~/eon-features to ~/dev as follows:

 ~/dev  tree                                                                                    
.
├── eon-features.code-workspace
└── ml-feature-set
    ├── README.md
    ├── __pycache__

all the history in the “All Chats” be gone!

But if I change the directory name back, the history will all come back.

Is there a way to retain my history while allowing me to change the top level directory name?