Files
hsl-ui/.codex/config.toml
T

86 lines
2.2 KiB
TOML
Raw Normal View History

2026-03-27 12:17:26 +08:00
# VibeCoding Kernel v9.2.0 — Codex CLI Config
2026-03-10 11:50:36 +08:00
model_provider = "custom"
2026-03-27 12:17:26 +08:00
model = "gpt-5.4"
2026-03-10 11:50:36 +08:00
model_reasoning_effort = "xhigh"
suppress_unstable_features_warning = true
# 危险,可开启 和下面的二选一,上面的代表绝对信任
# approval_policy = "never" # untrusted|on-request|never
# sandbox_mode = "danger-full-access" # read-only|workspace-write|danger-full-access
2026-03-27 12:17:26 +08:00
approval_policy = "never"
sandbox_mode = "workspace-write"
2026-03-10 11:50:36 +08:00
[sandbox_workspace_write]
network_access = true # npm install / pip install 需要网络
# Web Search
2026-03-27 12:17:26 +08:00
web_search = "live"
2026-03-10 11:50:36 +08:00
[features]
multi_agent = true # stable; 多代理编排
collaboration_modes = true # stable; 协作模式
shell_snapshot = true # beta; 加速重复命令
unified_exec = true # beta; PTY-backed 执行
shell_tool = true # stable; 默认 shell 工具
apply_patch_freeform = true # experimental; 自由 patch
undo = true # 回滚 Codex 改动;
[tui]
notifications = true
animations = true
[profiles.ci]
approval_policy = "never"
sandbox_mode = "workspace-write"
[profiles.review]
model = "gpt-5.4"
2026-03-27 12:17:26 +08:00
approval_policy = "on-request"
[profiles.dev]
model = "gpt-5.4"
approval_policy = "on-request"
sandbox_mode = "workspace-write"
2026-03-10 11:50:36 +08:00
[agents]
2026-03-27 12:17:26 +08:00
max_threads = 3
2026-03-10 11:50:36 +08:00
[agents.builder]
2026-03-27 12:17:26 +08:00
description = "实现代码 + 测试 (TDD: RED→GREEN→REFACTOR)"
2026-03-10 11:50:36 +08:00
config_file = "./agents/builder.toml"
2026-03-27 12:17:26 +08:00
[agents.validator]
description = "代码审查 + Plan Review"
config_file = "./agents/validator.toml"
2026-03-10 11:50:36 +08:00
[agents.explorer]
2026-03-27 12:17:26 +08:00
description = "代码库调研 + 文档查询 (只读)"
2026-03-10 11:50:36 +08:00
config_file = "./agents/explorer.toml"
[model_providers.custom]
name = "custom"
wire_api = "responses"
requires_openai_auth = true
[mcp_servers]
[mcp_servers.mcp-deepwiki]
type = "stdio"
command = "npx"
args = ["-y", "mcp-deepwiki@latest"]
[mcp_servers."cunzhi"]
type = "stdio"
command = "寸止"
[mcp_servers.chrome-devtools]
type = "stdio"
command = "npx"
args = ["-y", "chrome-devtools-mcp@latest"]
[mcp_servers.augment-context-engine]
type = "stdio"
command = "npx"
args = ["ace-tool-rs", "--base-url", "https://acemcp.heroman.wtf/relay/", "--token", ""]