Skip to main content

Crate codex_exec_server

Crate codex_exec_server 

Source

Structs§

ByteChunk
CapabilityRootDiscoverRequest
One caller-selected capability root.
CapabilityRootDiscovery
Manifest bundle for one selected root.
CapabilityRootsDiscoverParams
Roots to inspect for plugin and skill capability manifests.
CapabilityRootsDiscoverResponse
Executor-local discovery results in request order.
CapabilityTextFile
Recognized UTF-8 capability file materialized by the exec-server.
CopyOptions
CreateDirectoryOptions
DefaultEnvironmentProvider
Default provider backed by CODEX_EXEC_SERVER_URL.
DeferredEnvironmentRegistration
The one-shot capability to complete a deferred environment registration.
DiscoveredPluginFiles
Plugin files declared directly by a selected root.
DiscoveredSkillFiles
A skill instructions file and its optional sibling metadata.
Environment
Concrete execution/filesystem environment selected for a session.
EnvironmentCapabilities
Features supported by the selected exec-server environment.
EnvironmentInfo
Information about an execution/filesystem environment.
EnvironmentManager
Owns the execution/filesystem environments available to the Codex runtime.
EnvironmentReadyInfo
Information supplied by the environment owner when a deferred environment is ready.
EnvironmentRegistryConnectRequest
Request body for connecting a harness key with the environment registry.
EnvironmentRegistryConnectResponse
Environment registry response returned after connecting a harness key.
EnvironmentRegistryHarnessKeyValidationRequest
Request body for authorizing a harness key with the environment registry.
EnvironmentRegistryHarnessKeyValidationResponse
Environment registry response returned after harness key validation.
EnvironmentRegistryRegistrationRequest
Request body for registering an executor with the environment registry.
EnvironmentRegistryRegistrationResponse
Environment registry response returned after executor registration.
EnvironmentStatus
Status returned by an initialized exec-server connection.
ExecClosedNotification
ExecEnvPolicy
ExecExitedNotification
ExecOutputDeltaNotification
ExecParams
ExecProcessEventReceiver
ExecResponse
ExecServerClient
ExecServerClientConnectOptions
Connection options for any exec-server client transport.
ExecServerNetworkPolicyRequest
ExecServerRuntimePaths
Runtime paths needed by exec-server child processes.
ExecServerTelemetry
ExecutorCapabilityDiscoveryCache
Thread-scoped cache shared by capability consumers using the high-level executor API.
ExecutorCapabilityDiscoverySnapshot
Immutable results for the selected capability roots visible in one model step.
FileMetadata
FileSystemReadStream
Stream of immutable chunks read from an ExecutorFileSystem.
FileSystemSandboxContext
FsCanonicalizeParams
FsCanonicalizeResponse
FsCloseParams
FsCloseResponse
FsCopyParams
FsCopyResponse
FsCreateDirectoryParams
FsCreateDirectoryResponse
FsGetMetadataParams
FsGetMetadataResponse
FsOpenParams
FsOpenResponse
FsReadBlockParams
FsReadBlockResponse
FsReadDirectoryEntry
FsReadDirectoryParams
FsReadDirectoryResponse
FsReadFileParams
FsReadFileResponse
FsRemoveParams
FsRemoveResponse
FsWalkParams
FsWriteFileParams
FsWriteFileResponse
HttpHeader
HTTP header represented in the executor protocol.
HttpRequestBodyDeltaNotification
Ordered response-body frame for streamResponse HTTP requests.
HttpRequestParams
Executor-side HTTP request envelope.
HttpRequestResponse
HTTP response envelope returned from an executor http/request call.
HttpResponseBodyStream
Request-scoped stream of body chunks for an HTTP response.
InitializeParams
InitializeResponse
LocalFileSystem
NetworkPolicyRequestParams
NetworkPolicyRequestResponse
NoiseChannelIdentity
Static Noise identity kept for the lifetime of an executor or harness process.
NoiseChannelPublicKey
Public key material for the exec-server Noise suite. The suite tag prevents keys for another protocol from being accepted just because their components have the expected lengths.
NoiseRendezvousConnectArgs
Connection arguments for an authenticated Noise rendezvous exec-server.
NoiseRendezvousConnectBundle
Registry-authorized material for one Noise rendezvous connection attempt.
ProcessId
ProcessOutputChunk
ReadDirectoryEntry
ReadParams
ReadResponse
RemoteEnvironmentConfig
Configuration for registering an exec-server for remote use.
RemoteExecServerConnectArgs
WebSocket connection arguments for a remote exec-server.
RemoveOptions
ReqwestHttpClient
HttpClient implementation that performs the actual HTTP request with reqwest.
ResolvedSelectedCapabilityRoot
A selected capability root paired with its currently ready environment handle.
SelectedCapabilityRootsStatus
A passive view of selected capability roots and unavailable environments.
ShellInfo
Shell detected for an execution/filesystem environment.
SignalParams
SignalResponse
StartedExecProcess
TerminateParams
TerminateResponse
WalkEntry
One entry returned by a walk.
WalkError
A descendant that could not be inspected during a walk.
WalkOptions
Bounds for a recursive filesystem walk.
WalkOutcome
Entries and recoverable errors collected by a bounded walk.
WriteParams
WriteResponse

Enums§

CapabilityDiscoveryError
EnvironmentConnectionState
The current connection state for one concrete environment.
EnvironmentObservedStatus
Non-mutating connection status observed by an environment owner.
EnvironmentStatusKind
High-level status reported by exec-server itself.
ExecOutputStream
ExecProcessEvent
Pushed process events for consumers that want to follow process output as it arrives instead of polling retained output with ExecProcess::read.
ExecServerError
ExecServerListenUrlParseError
ExecServerNetworkPolicyDecision
ExecServerNetworkProtocol
HttpRedirectPolicy
Redirect behavior for an executor-side HTTP request.
NoiseChannelError
ProcessSignal
WalkEntryKind
Type of a filesystem entry returned by a walk.
WriteStatus

Constants§

CAPABILITY_ROOTS_DISCOVER_METHOD
Discovers capability manifests below selected roots using executor-local filesystem access.
CODEX_ARG0_EXEC_HELPER_ARG1
CODEX_EXEC_SERVER_NOISE_AUTH_TOKEN_ENV_VAR
CODEX_EXEC_SERVER_NOISE_CHATGPT_ACCOUNT_ID_ENV_VAR
CODEX_EXEC_SERVER_NOISE_ENVIRONMENT_ID_ENV_VAR
CODEX_EXEC_SERVER_NOISE_REGISTRY_URL_ENV_VAR
CODEX_EXEC_SERVER_URL_ENV_VAR
CODEX_FS_HELPER_ARG1
DEFAULT_LISTEN_URL
FILE_READ_CHUNK_SIZE
Maximum chunk size returned by ExecutorFileSystem::read_file_stream.
LOCAL_ENVIRONMENT_ID
MAX_SELECTED_CAPABILITY_ROOTS
Maximum capability roots accepted from deferred environment ready information.
REMOTE_ENVIRONMENT_ID

Statics§

LOCAL_FS

Traits§

EnvironmentProvider
Lists the concrete environments available to Codex.
ExecBackend
ExecProcess
Handle for an executor-managed process.
ExecutorFileSystem
Abstract filesystem access used by components that may operate locally or via a remote environment.
HttpClient
Sends HTTP requests through a runtime-selected transport.
NoiseRendezvousConnectProvider
Supplies fresh registry-authorized material for Noise rendezvous connections.

Functions§

discover_capability_roots
Discovers and materializes capability manifests using one executor-local filesystem.
run_arg0_exec_helper_main
run_fs_helper_main
run_main
run_main_with_telemetry
run_remote_environment
Register an exec-server for remote use and serve requests over Noise.

Type Aliases§

EnvironmentProviderFuture
ExecBackendFuture
ExecProcessFuture
ExecutorFileSystemFuture
Future returned by ExecutorFileSystem operations.
FileSystemResult
FsWalkResponse