You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The start_codex() function in start.sh launches agentapi server without --type, so agentapi uses generic terminal output parsing instead of codex-specific status detection.
The module otherwise has full resume support (session tracking, resume <SESSION_ID> subcommand, prompt skipping, continue = true default). This is the only gap.
To verify: inspect the agentapi process args after module startup. --type will be absent.
Desired outcome
--type codex is passed to agentapi server.
Expose enable_state_persistence in main.tf (default true) and pass it through to the module "agentapi" block so the Coder UI preserves chat history across restarts, matching the agent's resumed session.
The --type codex fix shipped in #781. The enable_state_persistence pass-through was intended to be part of this ticket but not mentioned. Follow-up: #783
Activity
matifali commentedon Mar 2, 2026
@35C4n0r can you take this on?
maintenance(coder-labs/modules/codex): skip migration notice and add …
mafredri commentedon Mar 3, 2026
The
--type codexfix shipped in #781. Theenable_state_persistencepass-through was intended to be part of this ticket but not mentioned. Follow-up: #783