Commit Graph

1 Commits

  • [codex] Split Python SDK helper logic (#22939)
    ## Summary
    - Move approval-mode mapping into
    `sdk/python/src/openai_codex/_approval_mode.py`.
    - Move initialize metadata parsing and normalization into
    `sdk/python/src/openai_codex/_initialize_metadata.py`.
    - Keep the public `ApprovalMode` export stable and retarget direct
    metadata helper coverage.
    
    ## Integration coverage
    - Add an app-server harness smoke that exercises sync and async SDK
    initialization plus thread creation.
    
    ## Validation
    - Local tests were not run per repo guidance. CI should validate this
    branch once the PR is online.