opencode-ralph-rlm
OpenCode plugin: Ralph outer loop + RLM inner loop — iterative AI development with file-first discipline and sub-agent support
File Explorer
- publish.yml
- verify.yml
- docs-writer.md
- ralph-reviewer.md
- security-auditor.md
- supervisor.md
- ralph-session-bridge.ts
- ralph-worker.ts
- ralph-rlm.ts
- review-attempt-1.md
- opencode.provider.example.json
- package.json
- ralph-provider.example.json
- ralph.json
- e2e-smoke.ts
- opencode-ralph-rlm.ts
- publish-npm.ts
- ralph-serve.ts
- verify.ts
- ralph-rlm-overview.png
- GETTINGSTARTEDGUIDE.md
- INSTALLATION.md
- MIGRATION.md
- REVISION_PLAN.md
- async-event-queue.test.ts
- config.test.ts
- doctor.test.ts
- fff-search.test.ts
- loop-attempt.test.ts
- loop-engine.integration.test.ts
- loop-registry.test.ts
- minimal-repo-fixture.ts
- mock-runtime.ts
- pending-input.test.ts
- plan-paths.test.ts
- protocol-files.test.ts
- rollover.test.ts
- setup.test.ts
- swarm-runner.test.ts
- swarm-script-runner.test.ts
- swarm-validation.test.ts
- verify.test.ts
- worker-spawn.test.ts
- worktree-event-bridge.test.ts
- async-event-queue.ts
- config.ts
- doctor.ts
- fff-search.ts
- fs.ts
- index.ts
- loop-attempt.ts
- loop-engine.ts
- loop-events.ts
- loop-registry.ts
- loop-run.ts
- opencode-client.ts
- pending-input.ts
- plan-paths.ts
- protocol-files.ts
- rollover.ts
- setup.ts
- spawn-worker-proof.ts
- swarm-events.ts
- swarm-registry.ts
- swarm-run.ts
- swarm-runner.ts
- swarm-script-runner.ts
- templates.ts
- text.ts
- verify.ts
- worker-spawn.ts
- worktree-event-bridge.ts
- package.json
- tsconfig.json
- llm-client.ts
- loop-registry.ts
- loop-service.ts
- loops-api.ts
- openai-compat.ts
- opencode-auth.ts
- planning.ts
- runtime.ts
- session-context.ts
- session-debug.ts
- supervisor-agent.ts
- supervisor-config.ts
- supervisor-message.ts
- supervisor-tools.ts
- swarm-registry.ts
- swarm-service.ts
- swarms-api.ts
- worktree.ts
- last.get.ts
- message.post.ts
- pause.post.ts
- resume.post.ts
- stop.post.ts
- [sessionId].get.ts
- index.get.ts
- cancel.post.ts
- [swarmId].get.ts
- index.get.ts
- health.get.ts
- completions.post.ts
- models.get.ts
- llm-stream.test.ts
- minimal-repo-fixture.ts
- mock-runtime.ts
- opencode-auth.test.ts
- planning.test.ts
- session-context.test.ts
- session-debug.test.ts
- supervisor-agent.test.ts
- supervisor-message.test.ts
- swarms-api.test.ts
- verify-tools.test.ts
- nitro.config.ts
- package.json
- tsconfig.json
- vite.config.ts
- attempt-sync.test.ts
- gate.test.ts
- session-scope.test.ts
- gate.ts
- index.ts
- ralph-worker.ts
- session-state.ts
- templates.ts
- package.json
- tsconfig.json
- SKILL.md
- agent-guidance.md
- cli.md
- config-files.md
- troubleshooting.md
- SKILL.md
- .gitignore
- AGENTS.md
- bun.lock
- CHANGELOG.md
- package.json
- README.md
- tsconfig.base.json
- tsconfig.legacy-plugin.json
- tsconfig.plugin.json
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
bun install
View Details ▼
bun install
Install JavaScript dependencies for a project from `package.json`.
bun {{[i|install]}}
Install all dependencies listed in `package.json`:
bun {{[i|install]}} {{package_name}}@{{version}}
Install a single package (this is an alias for `bun add`):
bun {{[i|install]}} {{[-g|--global]}} {{package_name}}
Install a package globally:
bun run
View Details ▼
bun run
Execute a JavaScript/TypeScript file, or a script from `package.json`.
bun run {{script_name}}
Run a script defined in `package.json`:
bun run {{path/to/file.ts}}
Run a JavaScript or TypeScript file directly:
bun run --watch {{path/to/file.ts}}
Run a file in "watch" mode (restarts automatically when the file changes):
done
View Details ▼
done
This shell keyword is used with `for`, `while`, `select`, and `until` to mark the end of a loop.
tldr for
View documentation for the `for` keyword:
tldr while
View documentation for the `while` keyword:
tldr select
View documentation for the `select` keyword:
edit
View Details ▼
edit
A terminal-based text editor from Microsoft.
edit {{path/to/file}}
Open a file:
tldr run-mailcap
View documentation for the original command:
<Ctrl f>{{pattern}}<Enter>
Search for a pattern:
npm install
View Details ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
npx
View Details ▼
npx
This command is an alias of `npm exec`.
tldr npm exec
View documentation for the original command:
opencode auth
View Details ▼
opencode auth
Manage credentials and login for AI providers.
opencode auth login
Log in to a provider interactively:
opencode auth list
List all configured providers:
opencode auth logout
Log out from a configured provider interactively:
opencode
View Details ▼
opencode
An AI coding agent.
Some subcommands such as `auth`, `models`, `web`, etc. have their own usage documentation.
opencode
Start the interactive TUI:
opencode {{[-c|--continue]}}
Continue the most recent session:
opencode run "{{message}}"
Run opencode in non-interactive mode by passing a prompt directly:
serve
View Details ▼
serve
Static file serving and directory listing.
serve
Start an HTTP server listening on the default port to serve the current directory:
serve -p {{port}} {{path/to/directory}}
Start an HTTP server on a specific [p]ort to serve a specific directory:
serve {{[-C|--cors]}}
Start an HTTP server with CORS enabled by including the `Access-Control-Allow-Origin: *` header in all responses:
