Skip to content

About

OpenCode v2 plugin for desktop notifications and sounds

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opencode-notifier-v2

OpenCode v2 plugin that plays sounds and sends system notifications when permission is needed, generation completes, errors occur, or a question is asked.

This is an OpenCode v2 port of @mohak34/opencode-notifier. The original plugin targeted the OpenCode v1 plugin API and does not run on v2.

Install

Add this to ~/.config/opencode/opencode.json:

{
  "plugins": ["github:sankalpmukim/opencode-notifier-v2"]
}

Restart OpenCode:

opencode service restart

What it does

You get notified when:

  • OpenCode needs permission
  • A session finishes
  • An error happens
  • The question tool or a form pops up
  • A plan is ready for review
  • A session starts
  • A user message is sent
  • The plugin loads (client_connected)

subagent_complete and user_cancelled are silent by default.

Config

Create ~/.config/opencode/opencode-notifier.json. Options match the original notifier plugin: sounds, notifications, bell, custom commands, focus suppression, min duration, and per-event toggles.

See the original README for the full option list.

License

MIT. Notification, sound, focus, and config logic is adapted from mohak34/opencode-notifier.

About

OpenCode v2 plugin for desktop notifications and sounds

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages