More reliable Goal mode and agent sessions

Fixes Goal mode getting stuck, preserves Codex reasoning on resume, detects Claude context limits, and removes duplicate MCP tool aliases.

Fixes

  • Fixed a bug where Goal mode could get stuck in a broken state after a failed recovery attempt, and improved how it recovers when a session hits a model context-length limit mid-run.
  • Resuming a Codex-backed conversation no longer loses its reasoning state, so follow-up responses stay coherent instead of restarting from scratch.
  • Context-limit failures from Claude are now correctly detected and classified, so the app responds to them appropriately instead of treating them as a generic error.
  • Fixed an issue that could register duplicate MCP tool aliases, which could cause confusing or redundant tool entries during a session.

Related links

Share to