Skip to content

v2.0.5 - make default object for V2 host

Choose a tag to compare

@smapira smapira released this 03 Sep 15:13
· 33 commits to main since this release
Immutable release. Only release title and notes can be modified.

Fixed

  • V2 host Expected object: 2.0.4 hybrid was function with id/setup/effect, but opencode2's PluginModule expects default to be object (Expected object at ["default"]) so failed to load plugin. Changed export default to {id, setup: v2Setup, effect: v2Setup} object for V2. DailyLogbookPlugin (V1 function) kept as named export.
  • Note: 2.0.5 is opencode2-only. opencode 1.18.27 V1 will get TypeError for 2.0.5, use 2.0.3 for V1.

Verified

  • npx eslint . 0, npx tsc --noEmit 0, bun test 85 pass, dist 24.0KB

Full Changelog: v2.0.4...v2.0.5