@ralph-orchestrator/ralph-cli 2.7.0 → 2.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,27 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [2.8.0] - 2026-03-10
10
+
11
+ ### Added
12
+
13
+ - `ralph mcp serve` for exposing Ralph as a workspace-scoped MCP server over stdio.
14
+ - User-scoped default config discovery and support for per-user Ralph defaults.
15
+ - TUI update availability notices in the header.
16
+ - Human guidance can now trigger a clean restart request flow.
17
+
18
+ ### Changed
19
+
20
+ - Consolidated the core preset set around the maintained workflows and refreshed preset docs, examples, and evaluation tooling.
21
+ - Refined PDD and code-task guidance to reduce Ralph-specific noise and improve handoff quality.
22
+
23
+ ### Fixed
24
+
25
+ - Hardened multi-hat preset event contracts, late-event recovery, active hat display, and downstream debug/review handoffs.
26
+ - Preserved runtime limits from core config when using hats.
27
+ - Fixed headless loop runner backend selection.
28
+ - Made restart resumption use the required single-command shell flow and added contract coverage for it.
29
+
9
30
  ## [2.7.0] - 2026-03-06
10
31
 
11
32
  ### Added
@@ -137,7 +158,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
137
158
 
138
159
  - Modularized codebase and fixed TUI mode
139
160
 
140
- [Unreleased]: https://github.com/mikeyobrien/ralph-orchestrator/compare/v2.7.0...HEAD
161
+ [Unreleased]: https://github.com/mikeyobrien/ralph-orchestrator/compare/v2.8.0...HEAD
162
+ [2.8.0]: https://github.com/mikeyobrien/ralph-orchestrator/compare/v2.7.0...v2.8.0
141
163
  [2.7.0]: https://github.com/mikeyobrien/ralph-orchestrator/compare/v2.6.0...v2.7.0
142
164
  [2.6.0]: https://github.com/mikeyobrien/ralph-orchestrator/compare/v2.5.1...v2.6.0
143
165
  [2.5.1]: https://github.com/mikeyobrien/ralph-orchestrator/compare/v2.5.0...v2.5.1
package/README.md CHANGED
@@ -7,6 +7,7 @@
7
7
  [![Coverage](https://img.shields.io/badge/coverage-65%25-yellowgreen)](coverage/index.html)
8
8
  [![Mentioned in Awesome Claude Code](https://awesome.re/mentioned-badge.svg)](https://github.com/hesreallyhim/awesome-claude-code)
9
9
  [![Docs](https://img.shields.io/badge/docs-mkdocs-blue)](https://mikeyobrien.github.io/ralph-orchestrator/)
10
+ [![Discord](https://img.shields.io/discord/1482421188700667906?label=Discord&logo=discord&logoColor=white)](https://discord.gg/XWUyeUNffh)
10
11
 
11
12
  A hat-based orchestration framework that keeps AI agents in a loop until the task is done.
12
13
 
@@ -72,6 +73,24 @@ ralph web --frontend-port 8080 # custom frontend port
72
73
  ralph web --legacy-node-api # opt into deprecated Node tRPC backend
73
74
  ```
74
75
 
76
+ ### MCP Server Workspace Scope
77
+
78
+ `ralph mcp serve` is scoped to a single workspace root per server instance.
79
+
80
+ ```bash
81
+ ralph mcp serve --workspace-root /path/to/repo
82
+ ```
83
+
84
+ Precedence is:
85
+
86
+ 1. `--workspace-root`
87
+ 2. `RALPH_API_WORKSPACE_ROOT`
88
+ 3. current working directory
89
+
90
+ For multi-repo use, run one MCP server instance per repo/workspace. Ralph's current
91
+ control-plane APIs persist config, tasks, loops, planning sessions, and collections
92
+ under a single workspace root, so server-per-workspace is the deterministic model.
93
+
75
94
  **Requirements:**
76
95
  - Rust toolchain (for `ralph-api`)
77
96
  - Node.js >= 18 + npm (for the frontend)
@@ -99,6 +118,16 @@ npm run dev:legacy-server # deprecated Node backend (optional)
99
118
  npm run test # all frontend/backend workspace tests
100
119
  ```
101
120
 
121
+ ## MCP Server Mode
122
+
123
+ Ralph can run as an MCP server over stdio for MCP-compatible clients:
124
+
125
+ ```bash
126
+ ralph mcp serve
127
+ ```
128
+
129
+ Use this mode from an MCP client configuration rather than an interactive terminal workflow.
130
+
102
131
  ## What is Ralph?
103
132
 
104
133
  Ralph implements the [Ralph Wiggum technique](https://ghuntley.com/ralph/) — autonomous task completion through continuous iteration. It supports:
@@ -107,7 +136,7 @@ Ralph implements the [Ralph Wiggum technique](https://ghuntley.com/ralph/) — a
107
136
  - **Hat System** — Specialized personas coordinating through events
108
137
  - **Backpressure** — Gates that reject incomplete work (tests, lint, typecheck)
109
138
  - **Memories & Tasks** — Persistent learning and runtime work tracking
110
- - **31 Presets** — TDD, spec-driven, debugging, and more
139
+ - **5 Supported Builtins** — `code-assist`, `debug`, `research`, `review`, and `pdd-to-code-assist`, with more patterns documented as examples
111
140
 
112
141
  ## RObot (Human-in-the-Loop)
113
142
 
@@ -157,6 +186,13 @@ Contributions are welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines
157
186
 
158
187
  MIT License — See [LICENSE](LICENSE) for details.
159
188
 
189
+ ## 💬 Community & Support
190
+
191
+ Join the **ralph-orchestrator** community to discuss AI agent patterns, get help with your implementation, or contribute to the roadmap.
192
+
193
+ * **Discord**: [Join our server](https://discord.gg/XWUyeUNffh) to chat with the maintainers and other users in real-time.
194
+ * **GitHub Issues**: For bug reports and formal feature requests, please use the [Issue Tracker](https://github.com/mikeyobrien/ralph-orchestrator/issues).
195
+
160
196
  ## Acknowledgments
161
197
 
162
198
  - **[Geoffrey Huntley](https://ghuntley.com/ralph/)** — Creator of the Ralph Wiggum technique
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "MIT",
25
25
  "name": "@ralph-orchestrator/ralph-cli",
26
- "version": "2.7.0"
26
+ "version": "2.8.1"
27
27
  },
28
28
  "node_modules/@isaacs/balanced-match": {
29
29
  "engines": {
@@ -515,5 +515,5 @@
515
515
  }
516
516
  },
517
517
  "requires": true,
518
- "version": "2.7.0"
518
+ "version": "2.8.1"
519
519
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "artifactDownloadUrl": "https://github.com/mikeyobrien/ralph-orchestrator/releases/download/v2.7.0",
2
+ "artifactDownloadUrl": "https://github.com/mikeyobrien/ralph-orchestrator/releases/download/v2.8.1",
3
3
  "bin": {
4
4
  "ralph": "run-ralph.js"
5
5
  },
@@ -62,7 +62,7 @@
62
62
  "zipExt": ".tar.xz"
63
63
  }
64
64
  },
65
- "version": "2.7.0",
65
+ "version": "2.8.1",
66
66
  "volta": {
67
67
  "node": "18.14.1",
68
68
  "npm": "9.5.0"