Documentation
¶
Overview ¶
Package config loads codex-mcp settings from the environment.
Index ¶
Constants ¶
View Source
const ( DefaultTimeout = 30 * time.Minute MaxTimeout = 2 * time.Hour DefaultMaxFinal = 32 * 1024 DefaultMaxJSON = 64 * 1024 DefaultMaxDiag = 8 * 1024 DefaultMaxPrompt = 64 * 1024 DefaultRetention = 100 DefaultQueueLimit = 32 DefaultWorkers = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
CodexBin string
JobsDir string
Root string
Timeout time.Duration
MaxConcurrency int
QueueLimit int
MaxFinal int
MaxJSON int
MaxDiag int
MaxPrompt int
Retention int
IgnoreUserConfig bool
AllowNonGit bool
AllowFullAccess bool
}
Config is the fully resolved server configuration.
func Default ¶
func Default() Config
Default returns the defaults, with the jobs directory under the user's home.
Click to show internal directories.
Click to hide internal directories.