mirror of
https://github.com/openai/codex.git
synced 2026-08-23 13:09:46 +00:00
## What changed - Add a global `codex exec --thread-source <SOURCE>` option and propagate it to newly created and forked threads. - Default the source to `user` when the option is omitted. - Expose the classification as `threadSource` in the TypeScript SDK. It applies when a thread is first created and does not override the source when resuming an existing thread. ## Testing - Cover CLI parsing and persisted metadata for new, resumed, and forked threads. - Verify that the TypeScript SDK forwards `threadSource` only for new threads. GitOrigin-RevId: 67a55a2b1f91b3a88f946c2af1c2a0989abb3130