You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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