37 lines
715 B
Markdown
37 lines
715 B
Markdown
# Ralph Loop for OpenCode
|
|
|
|
`opencode-plugin-ralph-loop` is an OpenCode plugin that registers Ralph Loop commands and manages continuation state for long-running iterative work.
|
|
|
|
## Installation
|
|
|
|
Add the plugin to `opencode.json`:
|
|
|
|
```json
|
|
{
|
|
"plugin": ["opencode-plugin-ralph-loop"]
|
|
}
|
|
```
|
|
|
|
Restart OpenCode after installing.
|
|
|
|
## Commands
|
|
|
|
- `/ralph-loop`
|
|
- `/ulw-loop`
|
|
- `/cancel-ralph`
|
|
|
|
## State
|
|
|
|
Loop state is persisted to `.sisyphus/ralph-loop.local.md` in the current project directory.
|
|
|
|
## Configuration
|
|
|
|
Supported config files:
|
|
|
|
- `~/.config/opencode/ralph-loop.json`
|
|
- `~/.config/opencode/ralph-loop.jsonc`
|
|
- `.opencode/ralph-loop.json`
|
|
- `.opencode/ralph-loop.jsonc`
|
|
|
|
Project config overrides user config.
|