ChatGPT is a product not for you to program or think about. It is for you to consume.
The documentation is all about using it, not asking programming questions about it, as you don’t develop your own software to call ChatGPT, and the Codex SDK means you have given up writing software and instead committed to comprehending obtuse proprietary software. The Codex SDK uses an app server layer, abstracting the remote communication, but you do have the source if you really want to see.
Here’s a link to official documentation about as technically deep as you will get, how to set permissions on a sandbox for the equivalent of shell tool: Codex App Server | ChatGPT Learn
Here’s the SDK source, if you want to investigate ultimate calls to pay-per-use API (which does have moderate documentation), vs ChatGPT’s API and subscription account use:
Thanks—the App Server documentation is a useful lead. My question is narrower: does the Codex desktop functions.exec nested shell_command result map exactly to App Server command/exec or commandExecution?
If so, could you point me to the exact repository URL, commit/tag, source file, and generated type that define that mapping, including output truncation and completeness behavior?
Likewise, which App Server type maps to the nested apply_patch result, and what postcondition does a completed result guarantee?
I’m trying to distinguish an implementation-specific mapping from the public App Server protocol itself.