This commit is contained in:
2026-07-07 22:43:49 -07:00
parent 066429b3af
commit ba1c35a462
9 changed files with 123 additions and 30 deletions
+20 -7
View File
@@ -1,5 +1,5 @@
model = "gpt-5.5"
model_reasoning_effort = "medium"
model_reasoning_effort = "xhigh"
personality = "pragmatic"
tool_output_token_limit = 25000
# Leave room for native compaction near the 272273k context window.
@@ -7,6 +7,12 @@ tool_output_token_limit = 25000
# With tool_output_token_limit=25000 ⇒ 273000 - (25000 + 15000) = 233000
model_auto_compact_token_limit = 233000
suppress_unstable_features_warning = true
notify = ["/home/sudacode/.codex/scripts/codex-notify"]
sandbox_mode = "workspace-write"
[tui]
notifications = ["agent-turn-complete"]
notification_condition = "always"
[sandbox_workspace_write]
network_access = true
@@ -24,9 +30,10 @@ js_repl = false
[mcp_servers.deepwiki]
url = "https://mcp.deepwiki.com/mcp"
[mcp_servers.anki]
command = "npx"
args = ["mcp-remote", "http://127.0.0.1:3141"]
# [mcp_servers.anki]
# command = "npx"
# args = ["mcp-remote", "http://127.0.0.1:3141"]
# enabled = false
[mcp_servers.playwright]
command = "npx"
@@ -213,6 +220,12 @@ trust_level = "trusted"
[projects."/home/sudacode/projects/japanese/subminer.moe"]
trust_level = "trusted"
[projects."/home/sudacode/Pictures/wallpapers"]
trust_level = "trusted"
[projects."/home/sudacode/.cache/paru/clone/t3code-git"]
trust_level = "trusted"
[notice.model_migrations]
"gpt-5.3-codex" = "gpt-5.4"
@@ -234,10 +247,10 @@ enabled = true
[plugins."subminer-workflow@subminer-local"]
enabled = true
[plugins."browser@openai-bundled"]
[plugins."coderabbit@openai-curated"]
enabled = true
[plugins."coderabbit@openai-curated"]
[plugins."browser@openai-bundled"]
enabled = true
[tui.model_availability_nux]
@@ -283,7 +296,7 @@ diffRemoved = "#f38ba8"
skill = "#cba6f7"
[marketplaces.openai-bundled]
last_updated = "2026-05-24T02:02:38Z"
last_updated = "2026-06-03T01:54:25Z"
source_type = "local"
source = "/home/sudacode/.codex/.tmp/bundled-marketplaces/openai-bundled"
+39
View File
@@ -0,0 +1,39 @@
#!/usr/bin/env python3
import json
import shutil
import subprocess
import sys
def main() -> int:
if len(sys.argv) != 2:
return 0
try:
event = json.loads(sys.argv[1])
except json.JSONDecodeError:
return 0
if event.get("type") != "agent-turn-complete":
return 0
notify_send = shutil.which("notify-send")
if notify_send is None:
return 0
message = event.get("last-assistant-message") or "Request completed"
message = " ".join(str(message).split())
if len(message) > 180:
message = message[:177] + "..."
subprocess.run(
[notify_send, "--app-name=Codex", "Codex", message],
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL,
check=False,
)
return 0
if __name__ == "__main__":
raise SystemExit(main())