Skip to content

Update OpenCode adapter for plugin API 1.4#98

Merged
dbpolito merged 1 commit intomainfrom
chore/update-opencode-plugin-api
Apr 17, 2026
Merged

Update OpenCode adapter for plugin API 1.4#98
dbpolito merged 1 commit intomainfrom
chore/update-opencode-plugin-api

Conversation

@dbpolito
Copy link
Copy Markdown
Contributor

@dbpolito dbpolito commented Apr 17, 2026

Ticket

SKIPPED

Description

Updates the OpenCode adapter to align with the current plugin and SDK contracts so Kompass remains compatible with newer OpenCode releases. It also keeps plugin initialization and hook handling from being blocked by log delivery.

Checklist

OpenCode compatibility

  • Update the OpenCode package dependencies to the current plugin and SDK versions
  • Align adapter type imports with the updated plugin API surface

Plugin lifecycle behavior

  • Make plugin logging non-blocking during config registration and hook execution
  • Preserve best-effort logging behavior when log writes fail

Validation

  • Verify that the OpenCode adapter loads with the updated dependency versions
  • Confirm that config registration and hook execution continue when logging is slow or fails

- upgrade the OpenCode plugin and SDK dependencies to the current supported versions
- align Kompass config typing with the plugin package
- make plugin logging fire-and-forget so hook execution no longer waits on log writes
@dbpolito dbpolito self-assigned this Apr 17, 2026
@dbpolito dbpolito merged commit bb9c53b into main Apr 17, 2026
1 check passed
@dbpolito dbpolito deleted the chore/update-opencode-plugin-api branch April 17, 2026 16:26
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