Files
codex-429-auto-continue/plugins/codex-429-auto-continue/README.md
T

1.2 KiB

Codex 429 Auto Continue

When a Codex task ends with the structured response_too_many_failed_attempts HTTP 429 error, this plugin continues the same task through the Codex desktop app. It prefers a native retry/continue tool when Codex exposes one and otherwise sends 继续.

The plugin starts one watcher per loaded session. SessionStart covers new and reopened sessions, while UserPromptSubmit backfills watchers for sessions that were already loaded when the plugin was installed. It gives Codex's built-in retry a chance to start first; when no new task has started, every continuation attempt waits exactly 3 seconds. A successful completion or 15 minutes without a plugin-initiated retry resets the chain. Prompt text, assistant text, and tool output containing 429 do not trigger it.

The watcher requires node on PATH and the Codex desktop app to remain open. Continuations appear in the original task. The watcher exits on SessionEnd or after 24 hours without transcript activity. Detection and delivery events are recorded under the plugin data directory as per-session JSONL logs.

After installation, start a new task and review the plugin hook once in /hooks when Codex asks you to trust it.