opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix(cli): clarify error when GitHub event context is missing

Open Molaryy opened this issue 1 week ago • 1 comments

Fixes #7193

When running bun dev github run without a GitHub Actions event context, the CLI currently fails with an unclear error (Unsupported event type: undefined).

This PR detects the missing event context earlier and returns a clearer, more actionable error message, improving the CLI UX without changing behavior.

Molaryy avatar Jan 07 '26 11:01 Molaryy