Skip to content

Handle retryable turn errors as session status#289

Merged
Rizzen merged 1 commit into
agentclientprotocol:mainfrom
nikita-ashihmin:codex/retryable-error-status
Jul 13, 2026
Merged

Handle retryable turn errors as session status#289
Rizzen merged 1 commit into
agentclientprotocol:mainfrom
nikita-ashihmin:codex/retryable-error-status

Conversation

@nikita-ashihmin

Copy link
Copy Markdown
Contributor

Summary

  • keep prompts alive when Codex reports an error with willRetry: true
  • expose retryable errors as session_info_update._meta.codex.error instead of Markdown agent output
  • preserve the turn error details and turnId for client-specific reconnect UI
  • keep existing final 401/authentication error behavior when willRetry: false

Testing

  • npm run typecheck
  • npm test (298 passed, 28 skipped)

@Rizzen Rizzen merged commit 9dee38d into agentclientprotocol:main Jul 13, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants