Skip to content

Improve OpenCode runtime error handling and JSON support detection#35

Merged
omer-second merged 2 commits into
mainfrom
codex/fix-cloud
Jun 28, 2026
Merged

Improve OpenCode runtime error handling and JSON support detection#35
omer-second merged 2 commits into
mainfrom
codex/fix-cloud

Conversation

@omer-second

Copy link
Copy Markdown
Contributor

Summary

  • Replace the brittle OpenCode run --help probe with a dedicated JSON support detector that caches positive results and reports clearer failure reasons.
  • Surface more useful runtime error text from nested and string-shaped CLI error events, with basic secret redaction.
  • Add Bedrock auth env key support for OpenCode model detection.
  • Extend tests for error extraction, JSON support probing, caching, and Bedrock auth env mapping.

Testing

  • Added unit coverage for CLI error extraction and OpenCode JSON support detection.
  • Verified the new probe behavior for supported, unsupported, timeout, and cached cases.
  • Not run (not requested)

@omer-second omer-second merged commit f46f7b9 into main Jun 28, 2026
3 checks passed
@omer-second omer-second deleted the codex/fix-cloud branch June 28, 2026 12:13
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.

1 participant