You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+39-3Lines changed: 39 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,8 @@ cmr status # Verify it's running
46
46
47
47
If no config exists, `cmr start` and other commands will prompt you to run `cmr setup` first.
48
48
49
+
After starting, visit `http://127.0.0.1:3457/web` for the web management UI.
50
+
49
51
## Install / 安装
50
52
51
53
```bash
@@ -177,7 +179,7 @@ cmr stats # Check failure counts and degraded status
177
179
178
180
### Real-time Dashboard / 实时面板
179
181
180
-
**`cmr dashboard`** provides a live terminal dashboard with backend health, request stats, and recent logs — all updating every second. Press `q` to quit.
182
+
**`cmr dashboard`** provides a live terminal dashboard with backend health, request stats, and recent logs — all updating every second. Press `q` to quit. Requires an interactive terminal at least 80 columns wide.
181
183
182
184
### Web Management UI
183
185
@@ -187,6 +189,8 @@ Visit `http://127.0.0.1:3457/web` for a browser-based management interface:
187
189
- Run pipeline tasks
188
190
- Watch live logs
189
191
192
+
> **Security note**: Web UI binds to localhost only. Do not expose port 3457 to public networks.
193
+
190
194
### Pipeline Enhancements
191
195
192
196
-**Multi-input modes**: `cmr run` (interactive), `cmr run <task>`, `cmr run --file task.txt`, `echo "task" | cmr run --stdin`
@@ -222,19 +226,51 @@ Edit the `aliases` section in your config / 编辑配置中的 `aliases` 字段
222
226
223
227
## Upgrade from v0.1.x / 从 v0.1.x 升级
224
228
225
-
cmr v0.2.0 is fully backward-compatible with your existing `config.json`. On first load:
229
+
cmr v0.3.0 is fully backward-compatible with v0.1.x and v0.2.x configs. On first load:
226
230
227
231
1. The old `backends` format (with `url` + `apiKey` only) is auto-migrated to the new format with default `path`, `modelPattern`, and `sanitizer` values
228
232
2. Environment variables `CMR_DEEPSEEK_KEY` and `CMR_CLAUDE_KEY` still work
229
233
3. Logging now displays backend URL hostnames instead of hardcoded service names
230
234
4. The hot reload watcher is automatically active — no configuration needed
231
235
236
+
## Architecture / 架构
237
+
238
+
```
239
+
src/
240
+
├── server.ts HTTP server with retry loop & fallback
0 commit comments