Structs§
- Collaboration
Mode - Collaboration mode for a Codex session.
- Collaboration
Mode Mask - A mask for collaboration mode settings, allowing partial updates.
All fields except
nameare optional, enabling selective updates. - Model
Provider Auth Info - Configuration for obtaining a provider bearer token from a command.
- Personality
Iter - An iterator over the variants of Personality
- Profile
V2Name - Validated plain profile-v2 name used to select
$CODEX_HOME/<name>.config.toml. - Profile
V2Name Parse Error - Settings
- Settings for a collaboration mode.
- Shell
Environment Policy - Deriving the
envbased on this policy works as follows: - WebSearch
Config - WebSearch
Filters - WebSearch
Location - WebSearch
Tool Config - WebSearch
User Location
Enums§
- AltScreen
Mode - Controls whether the TUI uses the terminal’s alternate screen buffer.
- Approvals
Reviewer - Configures who approval requests are routed to for review. Examples
include sandbox escapes, blocked network access, MCP approval prompts, and
ARC escalations. Defaults to
user.auto_reviewuses a carefully prompted subagent to gather relevant context and apply a risk-based decision framework before approving or denying the request. - Auto
Compact Token Limit Scope - Selects which part of the active context is charged against
model_auto_compact_token_limit. - Forced
Login Method - Mode
Kind - Initial collaboration mode to use when the TUI starts.
- Multi
Agent Mode - Controls the effective multi-agent delegation instructions for a turn.
custommeans the configured mode hint defines the policy instead of a built-in policy. - Personality
- Reasoning
Summary - A summary of the reasoning performed by the model. This can be useful for debugging and understanding the model’s reasoning process. See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#reasoning-summaries
- Sandbox
Mode - Service
Tier - Shell
Environment Policy Filter - Assigns a shell environment variable pattern to the include-only or exclude set. Includes do not re-add variables removed by another exclude pattern.
- Shell
Environment Policy Inherit - Trust
Level - Represents the trust level for a project directory. This determines the approval policy and sandbox mode applied.
- Verbosity
- Controls output length/detail on GPT-5 models via the Responses API. Serialized with lowercase values to match the OpenAI API.
- WebSearch
Context Size - WebSearch
Mode - WebSearch
User Location Type - Windows
Sandbox Level
Constants§
- SERVICE_
TIER_ DEFAULT_ REQUEST_ VALUE - Request/config sentinel for explicit standard routing.
- TUI_
VISIBLE_ COLLABORATION_ MODES