Feature request
Allow editing previously sent user messages in conversation history.
Context
CodexMonitor is a GUI for Codex CLI. During iterative prompting, users often notice typos or want to refine an earlier prompt after seeing the model response.
Problem
Right now, if a user wants to change a previous message, they have to send a new follow-up message instead of correcting the original one. This makes the conversation harder to manage and reduces workflow efficiency.
Proposed behavior
- Add an Edit action for user-authored messages in history.
- After editing, provide a clear option like "Regenerate from here".
- If regeneration is chosen, discard downstream assistant/tool messages after that point and rerun from the edited message.
- Keep the UX explicit (confirmation/warning) so users understand history will be rewritten.
Why this helps
- Faster prompt iteration.
- Cleaner conversation history.
- Better parity with workflows where users frequently refine prompts.
Thanks for considering this enhancement.