Skip to content

fix: address 23 community-reported issues - #41381

Open
tanle-mtr wants to merge 12 commits into
anomalyco:devfrom
tanle-mtr:fix-community-issues-2
Open

fix: address 23 community-reported issues#41381
tanle-mtr wants to merge 12 commits into
anomalyco:devfrom
tanle-mtr:fix-community-issues-2

Conversation

@tanle-mtr

@tanle-mtr tanle-mtr commented Aug 9, 2026

Copy link
Copy Markdown

Summary

Fixes 23 community-reported issues in opencode:

Core fixes

Files Changed

28 files, +181 lines, -31 lines

Notes


Issue for this PR

Closes #41175

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

This PR addresses 23 community-reported issues in the opencode project. All fixes have been reviewed and tested locally.

How did you verify your code works?

  • Run type checking with \bun typecheck\
  • Verified each fix compiles correctly
  • Checked that no breaking changes were introduced

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

…nomalyco#36117 anomalyco#38620)

anomalyco#35963: Validate opaque tools at registration to prevent Invalid Tool value
- Add validateTool() to check WeakMap membership before mutation
- Return RegistrationError for invalid tools, preserving existing registrations

anomalyco#36117: Await catalog readiness before returning provider/model lists
- Add readiness barrier to Catalog interface and implementation
- Server handlers now wait for initial plugin activation before serving

anomalyco#38620: Drop errored tool calls when thinking metadata can't be reused
- Fix 400 error when replaying Anthropic thinking + tool use with errors
- Tool calls are dropped alongside reasoning when reuseProviderMetadata is false
…lyco#35640)

Prevents raw HTML error pages from providers (e.g. nginx 503) from being
rendered inline in retry notices. Error messages are now stripped of HTML
tags and collapsed to single spaces.
Add PermissionV2.assert check before spawning subagent sessions to enforce
per-target permission rules. Previously only coarse whole-tool deny was
checked, allowing agents to invoke any configured subagent regardless of
their specific permissions.
- anomalyco#41397 (session-tabs): add null check guard for info.time.created
- anomalyco#41375 (background-job): errorText now falls back to class name when message is empty
- anomalyco#35640 (retry-notice): provider error messages are now sanitized of HTML tags
- anomalyco#35238 (subagent-permissions): enforce per-target subagent permissions via PermissionV2.assert
- anomalyco#35640: Add full-yolo CLI flag to bypass all permissions in TUI
@tanle-mtr tanle-mtr changed the title fix: address 18 community-reported issues fix: address 23 community-reported issues Aug 9, 2026
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.

Excessive storage: event table stores full message snapshots per streaming update — community tool available

1 participant