Documentation
¶
Overview ¶
Package codexcfg holds the Bot Agent configuration contract for the direct codex runtime.
Index ¶
Constants ¶
View Source
const DefaultPermissionMode = "strict"
Variables ¶
View Source
var ErrNotConfigured = errors.New("codex runtime is not configured for this Agent")
View Source
var PermissionModes = []string{"strict", "policy", "yolo"}
PermissionModes is Codex's permission menu; DefaultPermissionMode applies when neither the conversation nor the Agent chose one.
Functions ¶
func ValidPermissionMode ¶
ValidPermissionMode also accepts an unset value, which means the default.
Types ¶
type Config ¶
type Config struct {
Auth AuthMode
APIKey string //nolint:gosec // decrypted runtime credential, not a hardcoded secret
BaseURL string
// Per-turn model and reasoning overrides win over these values.
Model string
ReasoningEffort string
PermissionMode string
}
Config is one Codex Bot Agent's runtime configuration.
Click to show internal directories.
Click to hide internal directories.