2026-05-12 20:09:01 +08:00
|
|
|
|
# ==================== Codex CLI 安全默认基线 ====================
|
|
|
|
|
|
#
|
|
|
|
|
|
# 这是公开分发默认配置:
|
|
|
|
|
|
# - 不包含本机 projects 信任路径。
|
|
|
|
|
|
# - 不设置 danger-full-access。
|
|
|
|
|
|
# - 不设置 approval_policy = "never"。
|
|
|
|
|
|
# - 适合新用户先跑通 Codex CLI,再按项目需要逐步放开权限。
|
|
|
|
|
|
#
|
|
|
|
|
|
# 需要更高权限时,请显式安装 config.power.toml:
|
|
|
|
|
|
# bash install.sh --profile power
|
2026-02-13 02:26:56 +08:00
|
|
|
|
|
2026-04-28 18:36:03 +08:00
|
|
|
|
model = "gpt-5.5"
|
|
|
|
|
|
model_provider = "openai-http"
|
2026-05-12 20:09:01 +08:00
|
|
|
|
model_reasoning_effort = "medium"
|
2026-02-12 17:24:59 +08:00
|
|
|
|
web_search = "live"
|
2026-02-13 02:26:56 +08:00
|
|
|
|
personality = "pragmatic"
|
|
|
|
|
|
|
2026-02-12 17:24:59 +08:00
|
|
|
|
startup_timeout_ms = 20000
|
2026-02-13 02:26:56 +08:00
|
|
|
|
|
|
|
|
|
|
[tui]
|
|
|
|
|
|
notifications = true
|
|
|
|
|
|
|
2026-03-08 15:44:29 +08:00
|
|
|
|
[features]
|
|
|
|
|
|
multi_agent = true
|
2026-04-28 18:36:03 +08:00
|
|
|
|
responses_websockets = false
|
|
|
|
|
|
responses_websockets_v2 = false
|
|
|
|
|
|
|
|
|
|
|
|
[model_providers.openai-http]
|
|
|
|
|
|
name = "OpenAI"
|
|
|
|
|
|
wire_api = "responses"
|
|
|
|
|
|
requires_openai_auth = true
|
|
|
|
|
|
supports_websockets = false
|
2026-03-08 15:44:29 +08:00
|
|
|
|
|
2026-02-13 02:26:56 +08:00
|
|
|
|
[notice]
|
|
|
|
|
|
hide_gpt5_1_migration_prompt = true
|
|
|
|
|
|
"hide_gpt-5.1-codex-max_migration_prompt" = true
|
|
|
|
|
|
hide_rate_limit_model_nudge = true
|