File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,14 +69,20 @@ const codexApprovalPolicyKey = "approval_policy"
6969const codexApprovalPolicyLine = `${ codexApprovalPolicyKey } = "never"`
7070const codexSandboxModeKey = "sandbox_mode"
7171const codexSandboxModeLine = `${ codexSandboxModeKey } = "danger-full-access"`
72- const codexConfigTomlContents = `model = "gpt-5.2 -codex"
72+ const codexConfigTomlContents = `model = "gpt-5.3 -codex"
7373model_reasoning_effort = "xhigh"
74+ personality = "pragmatic"
75+
7476${ codexApprovalPolicyLine }
7577${ codexSandboxModeLine }
78+ web_search = "live"
7679${ codexConfigLine }
7780
7881[features]
7982web_search_request = true
83+ shell_snapshot = true
84+ collab = true
85+ apps = true
8086
8187[projects."/home/dev"]
8288trust_level = "trusted"
@@ -87,13 +93,18 @@ trust_level = "trusted"
8793[projects."/home/dev/.codex"]
8894trust_level = "trusted"
8995`
90- const codexConfigYamlContents = `model = "gpt-5.2 -codex"
96+ const codexConfigYamlContents = `model = "gpt-5.3 -codex"
9197model_reasoning_effort = "xhigh"
98+ personality = "pragmatic"
9299approval_policy = "never"
93100sandbox_mode = "danger-full-access"
101+ web_search = "live"
94102
95103[features]
96104web_search_request = true
105+ shell_snapshot = true
106+ collab = true
107+ apps = true
97108`
98109
99110const trimTrailingSlash = ( value : string ) : string => value . replace ( / \/ + $ / , "" )
Original file line number Diff line number Diff line change @@ -123,11 +123,19 @@ else
123123 mkdir -p "$(dirname "$CODEX_CONFIG_FILE")" || true
124124 cat <<'EOF' > "$CODEX_CONFIG_FILE"
125125# docker-git codex config
126+ model = "gpt-5.3-codex"
127+ model_reasoning_effort = "xhigh"
128+ personality = "pragmatic"
129+
126130approval_policy = "never"
127131sandbox_mode = "danger-full-access"
128132web_search = "live"
129133
130134[features]
135+ web_search_request = true
136+ shell_snapshot = true
137+ collab = true
138+ apps = true
131139shell_tool = true
132140EOF
133141 chown 1000:1000 "$CODEX_CONFIG_FILE" || true
Original file line number Diff line number Diff line change @@ -20,11 +20,19 @@ const defaultEnvContents = "# docker-git env\n# KEY=value\n"
2020// COMPLEXITY: O(1)
2121const defaultCodexConfig = [
2222 "# docker-git codex config" ,
23+ "model = \"gpt-5.3-codex\"" ,
24+ "model_reasoning_effort = \"xhigh\"" ,
25+ "personality = \"pragmatic\"" ,
26+ "" ,
2327 "approval_policy = \"never\"" ,
2428 "sandbox_mode = \"danger-full-access\"" ,
2529 "web_search = \"live\"" ,
2630 "" ,
2731 "[features]" ,
32+ "web_search_request = true" ,
33+ "shell_snapshot = true" ,
34+ "collab = true" ,
35+ "apps = true" ,
2836 "shell_tool = true"
2937] . join ( "\n" )
3038
You can’t perform that action at this time.
0 commit comments