Skip to content

fix(opencode): declare BadRequest on event + instance read routes - #7

Merged
TimothyVang merged 1 commit into
mainfrom
agent/m11-instance-event-errors
Jul 9, 2026
Merged

fix(opencode): declare BadRequest on event + instance read routes#7
TimothyVang merged 1 commit into
mainfrom
agent/m11-instance-event-errors

Conversation

@TimothyVang

Copy link
Copy Markdown
Owner

What

Adds `HttpApiError.BadRequest` to:

  • `event.subscribe`
  • instance dispose/path/vcs/status/diff/command/agent/skill/lsp/formatter

Gates

  • `bun run typecheck` clean

Align experimental HttpApi event.subscribe and instance path/vcs/agent
list endpoints with the file/provider error-contract pattern.
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@TimothyVang
TimothyVang merged commit 292ba25 into main Jul 9, 2026
7 of 9 checks passed
@TimothyVang
TimothyVang deleted the agent/m11-instance-event-errors branch July 9, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant