mirror of
https://github.com/openai/codex.git
synced 2026-11-12 21:20:34 +00:00
## What changed Handle `ThreadSetName` requests in the cloud backend through the cloud client's new `set_thread_name` method, without opening an attachment. Trim the requested name and reject empty names or thread IDs. After the server acknowledges the rename, update the matching loaded thread's name and emit `ThreadNameUpdated`. Leave the cached name unchanged and emit no notification if the request fails. ## Testing Add tests for the rename request payload, server acknowledgment and error handling, and preservation of the loaded thread's name when a rename fails. GitOrigin-RevId: eecfe17a9cfba50c9fa9091a38a36c0011ab9246