modify plugin structure
Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
This commit is contained in:
43
.opencode/INSTALL.md
Normal file
43
.opencode/INSTALL.md
Normal file
@@ -0,0 +1,43 @@
|
||||
# Installing Ralph Loop for OpenCode
|
||||
|
||||
## Installation
|
||||
|
||||
Add the plugin to the `plugin` array in your `opencode.json`:
|
||||
|
||||
```json
|
||||
{
|
||||
"plugin": ["opencode-plugin-ralph-loop"]
|
||||
}
|
||||
```
|
||||
|
||||
If you install directly from git instead of a registry, use your git URL in the same array entry.
|
||||
|
||||
Restart OpenCode after updating the config.
|
||||
|
||||
## Usage
|
||||
|
||||
This plugin registers these commands:
|
||||
|
||||
- `/ralph-loop`
|
||||
- `/ulw-loop`
|
||||
- `/cancel-ralph`
|
||||
|
||||
Example:
|
||||
|
||||
```text
|
||||
/ralph-loop "Implement the feature completely and stop only when done"
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
User config:
|
||||
|
||||
- `~/.config/opencode/ralph-loop.json`
|
||||
- `~/.config/opencode/ralph-loop.jsonc`
|
||||
|
||||
Project config:
|
||||
|
||||
- `.opencode/ralph-loop.json`
|
||||
- `.opencode/ralph-loop.jsonc`
|
||||
|
||||
Project config overrides user config.
|
||||
Reference in New Issue
Block a user