# ==================== 基础配置 ==================== # 模型 model = "gpt-5.2" # 推理强度(思考深度): # - low → 快速响应,适合简单任务 # - medium → 平衡速度和质量,适合一般任务 # - high → 深度思考,适合复杂任务(当前设置) # 注意:gpt-5.1-codex 不支持 "minimal" 选项 model_reasoning_effort = "xhigh" # 运行策略 sandbox_mode = "danger-full-access" approval_policy = "never" web_search = "live" # 交互风格 personality = "pragmatic" # 指令来源(可选,与 AGENTS.md 二选一) # experimental_instructions_file = "/home/lenovo/.codex/custom-instructions.md" # ==================== MCP 默认配置 ==================== startup_timeout_ms = 20000 # ==================== UI 与提示 ==================== [tui] notifications = true [notice] hide_gpt5_1_migration_prompt = true "hide_gpt-5.1-codex-max_migration_prompt" = true hide_rate_limit_model_nudge = true [notice.model_migrations] "gpt-5.1-codex-max" = "gpt-5.2-codex" "gpt-5.2" = "gpt-5.3-codex" # ==================== MCP Servers(示例,默认关闭) ==================== # Context7 - 最新官方文档 MCP # [mcp_servers."context7"] # command = "npx" # args = ["-y", "@upstash/context7-mcp@latest"] # startup_timeout_ms = 20000 # Completion Notifier - 完成声音提示 # [mcp_servers."completion-notifier"] # command = "node" # args = ["/home/lenovo/.codex/mcp-servers/completion-notifier/#index.js"] # startup_timeout_ms = 20000 # chrome-devtools # [mcp_servers."chrome-devtools"] # command = "npx" # args = ["-y", "chrome-devtools-mcp@latest"] # startup_timeout_ms = 20000 # [mcp_servers."playwright"] # command = "npx" # args = ["-y", "@playwright/mcp@latest"] # startup_timeout_ms = 20000 # [mcp_servers."puppeteer"] # command = "npx" # args = ["-y", "puppeteer-mcp-server"] # startup_timeout_ms = 20000 # [mcp_servers."n8n"] # command = "npx" # args = ["-y", "n8n-mcp@latest"] # startup_timeout_ms = 20000 # [mcp_servers."maverick"] # command = "npx" # args = ["-y", "mcp-remote", "http://localhost:8003/sse/"] # cwd = "/home/lenovo/maverick-mcp" # startup_timeout_ms = 20000 # [mcp_servers."happy"] # command = "happy" # args = ["codex"] # startup_timeout_ms = 20000 # Augment - 代码库检索 MCP # [mcp_servers."auggie-mcp"] # command = "auggie" # args = ["-w", "/mnt/c/Users/lenovo", "--mcp"] # startup_timeout_ms = 200000