Skip to content

v1.0.1

Choose a tag to compare

@errhythm errhythm released this 11 Mar 21:13
· 24 commits to main since this release
e42f95d

Fixes

  • Correct plugin export structure: Replaced broken double-curried factory with a proper Plugin-typed async function that OpenCode can invoke
  • Correct hook name: Replaced non-existent tui.prompt.append with chat.message — the actual hook for intercepting user messages before they reach the LLM
  • Correct text mutation: Iterates output.parts and mutates TextPart.text in-place, which is the correct approach per the OpenCode SDK
  • Add export default: Required by OpenCode's plugin loader for discovery
  • Build pipeline: Added tsconfig.build.json, build and typecheck scripts so dist/ is actually produced for npm publishing