Complete toolkit for configuring and extending OpenCode: agent creation, custom slash commands, configuration management, plugin development, and SDK usage.
75
94%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
Create an OpenCode plugin that shows a toast notification whenever a file is edited. The toast should say "File edited: {filename}". Use the event hook to listen for file edit events.
event hook to listen for events from OpenCodeasyncclient.tui.showToast) to display the notification with the filenameevent hook to listen for eventsasyncevent hook (e.g., polls for changes instead)