Skip to content

v0.5.1

Choose a tag to compare

@opencode-supabase-changesets opencode-supabase-changesets released this 23 Jul 09:50
· 28 commits to main since this release
0f0eb29

Patch Changes

  • 2af61f4: Pin the published dependency contract (exact @opencode-ai/plugin and open versions, drop unused @opencode-ai/sdk and zod) and make the packed TUI build rewrite host-runtime imports in an import-aware way.

  • b58c450: Fix /supabase failing to load on recent OpenCode versions: the published package shipped raw TSX through ./tui, and once the host stopped transforming TSX under node_modules, the import crashed on react/jsx-dev-runtime before the plugin could register.

    Ship the rich /supabase TUI as compiled JavaScript (dist/tui.js) and rewrite @opentui/core, @opentui/solid, and solid-js imports at build time to canonical opentui:runtime-module:* IDs generated by OpenTUI's runtimeModuleIdForSpecifier(). Imports resolve to OpenCode's host-owned runtime modules, so the custom dialog renders without plugin-private OpenTUI/Solid copies (which threw No renderer found from a duplicate renderer context). Those packages are now optional peers and dev dependencies, not production dependencies.

    Ship a self-contained declaration for ./tui so TypeScript consumers can resolve the package without installing host-owned optional peers or enabling skipLibCheck.