Skip to content

shun-shobon/opencode-caffeinate

Repository files navigation

opencode-caffeinate

An OpenCode plugin that runs caffeinate -i while OpenCode is busy, keeping macOS awake during active sessions.

Requirements

  • macOS (uses the built-in caffeinate command)
  • OpenCode

Install

Add the plugin to your opencode.json:

{
	"$schema": "https://opencode.ai/config.json",
	"plugin": ["@shun-shobon/opencode-caffeinate"]
}

OpenCode installs npm plugins automatically on startup using Bun.

Behavior

  • Starts caffeinate when a session becomes busy or retrying.
  • Stops caffeinate when the session becomes idle.

About

OpenCode plugin that keeps macOS awake during active sessions.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors