Skip to main content

Module codex_app_server

Module codex_app_server 

Source
Expand description

Minimal, provider-neutral handling for Codex app-server JSON-RPC notifications.

The transport emits numerous lifecycle/status events. Only turn/completed is terminal. Text streams in item/agentMessage/delta; older/newer servers may instead expose final text in a completed agentMessage item.

Functions§

collect_text
Collect assistant text without treating non-message events as output.
is_terminal_notification
Returns true only for the app-server’s terminal turn notification.
run_turn
Run one read-only Codex app-server turn without exposing OAuth credentials.