Repository navigation
v0.5.1
Patch Changes
-
2af61f4: Pin the published dependency contract (exact
@opencode-ai/pluginandopenversions, drop unused@opencode-ai/sdkandzod) and make the packed TUI build rewrite host-runtime imports in an import-aware way. -
b58c450: Fix
/supabasefailing to load on recent OpenCode versions: the published package shipped raw TSX through./tui, and once the host stopped transforming TSX undernode_modules, the import crashed onreact/jsx-dev-runtimebefore the plugin could register.Ship the rich
/supabaseTUI as compiled JavaScript (dist/tui.js) and rewrite@opentui/core,@opentui/solid, andsolid-jsimports at build time to canonicalopentui:runtime-module:*IDs generated by OpenTUI'sruntimeModuleIdForSpecifier(). Imports resolve to OpenCode's host-owned runtime modules, so the custom dialog renders without plugin-private OpenTUI/Solid copies (which threwNo renderer foundfrom a duplicate renderer context). Those packages are now optional peers and dev dependencies, not production dependencies.Ship a self-contained declaration for
./tuiso TypeScript consumers can resolve the package without installing host-owned optional peers or enablingskipLibCheck.