Add support for --config/-c to Typescript SDK

Resolved 💬 2 comments Opened Oct 26, 2025 by conorbranagan Closed Dec 18, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What feature would you like to see?

Hi, I'd like to have support for arbitrary --config/-c flags available in the SDK to provide the full power of the codex CLI exec to the SDK. I have a minimal PR implementing this in https://github.com/niteshiftdev/codex/pull/2 but happy to have this implemented however it makes sense.

Something like this would be nice:

const codex = new Codex({
  config: {
      "shell_environment_policy.inherit": "all",
      "shell_environment_policy.ignore_default_excludes": true,
      model_reasoning_effort: "low",
  }
});

Additional information

My use case is primarily being able to control knobs that are useful within our sandbox execution and the model reasoning level.

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 10 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #5459

Powered by Codex Action

etraut-openai contributor · 8 months ago

This feature request hasn't received any upvotes or additional posts since it was initially filed, so I'm going to close it.