Skip to main content

Crate codex_app_server_transport

Crate codex_app_server_transport 

Source

Modules§

auth

Structs§

AppServerStartupLock
ConnectionId
Stable identifier for a transport connection.
OutgoingError
OutgoingResponse
QueuedOutgoingMessage
RemoteControlDisabledByRequirements
RemoteControlHandle
RemoteControlStartConfig
RemoteControlUnavailable

Enums§

AppServerTransport
AppServerTransportParseError
ConnectionOrigin
OutgoingMessage
Outgoing message from the server to the client.
RemoteControlEnableError
RemoteControlPolicy
RemoteControlStartupMode
TransportEvent

Constants§

CHANNEL_CAPACITY
Size of the bounded channels used to communicate between tasks. The value is a balance between throughput and memory usage - 128 messages should be plenty for an interactive CLI.
REMOTE_CONTROL_DISABLED_ENV_VAR
Internal marker used by the daemon to disable remote control without requiring a new CLI flag.

Functions§

acquire_app_server_startup_lock
app_server_control_socket_path
app_server_startup_lock_path
prepare_control_socket_path
start_control_socket_acceptor
start_remote_control
start_stdio_connection
start_websocket_acceptor
take_remote_control_disabled_env
Reads and removes the daemon’s internal disabled-start marker before worker threads start.