Skip to content

Conversation

@pakrym-oai
Copy link
Collaborator

Summary

  • ensure the TypeScript SDK sets CODEX_INTERNAL_ORIGINATOR_OVERRIDE to codex_sdk_ts when spawning the Codex CLI
  • extend the responses proxy test helper to capture request headers for assertions
  • add coverage that verifies Codex threads launched from the TypeScript SDK send the codex_sdk_ts originator header

Testing

  • Not Run (not requested)

https://chatgpt.com/codex/tasks/task_i_68e561b125248320a487f129093d16e7

…e; add tests

- Refactor Originator logic to allow setting the value via env var or set_default_originator, with hardcoded default fallback
- Update set_default_originator to take ownership and respect env override
- Add exec integration tests for Originator header and env override
- Update unicode-width dependency in Cargo.lock to 0.2.1
@pakrym-oai pakrym-oai merged commit 60f9e85 into main Oct 7, 2025
20 checks passed
@pakrym-oai pakrym-oai deleted the codex/set-originator-to-codex_sdk_ts branch October 7, 2025 21:06
@github-actions github-actions bot locked and limited conversation to collaborators Oct 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants