Skip to content

kbdevs/ralph-opencode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ralph for OpenCode

Ralph mode makes OpenCode automatically send continue whenever the active session goes idle, so the agent keeps looping until you turn it off.

What it does

  • adds a /ralph slash command
  • toggles Ralph mode per session
  • auto-sends continue after each idle cycle
  • pauses while OpenCode is blocked on a question or permission prompt
  • prefixes the session title with [Ralph] while the mode is on

Files

  • plugins/ralph.js - the OpenCode plugin
  • command/ralph.md - the slash command definition

Install

  1. Clone this repo somewhere local.
  2. Copy command/ralph.md into ~/.config/opencode/command/ralph.md.
  3. Add the plugin file to your OpenCode config:
{
  "plugin": ["file:///absolute/path/to/ralph-opencode/plugins/ralph.js"]
}
  1. Restart OpenCode.

Usage

  • /ralph - toggle Ralph mode
  • /ralph on - enable it
  • /ralph off - disable it
  • /ralph status - show current state

Notes

  • OpenCode does not currently expose a persistent custom status-bar or sticky toast API to plugins, so the always-visible indicator is the [Ralph] session title prefix.
  • Toasts are still used for enable/disable feedback and error reporting.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors