modify plugin structure

Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
This commit is contained in:
2026-04-19 18:07:01 -04:00
parent 07e1c0dd5e
commit b4101ea67b
5 changed files with 94 additions and 2 deletions

36
docs/README.opencode.md Normal file
View File

@@ -0,0 +1,36 @@
# 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.