Commit 40372c2
feat: default command/args from ralph.toml so the UI never hardcodes agent config
Previously the frontend hardcoded `command: 'claude'` and
`args: ['-p', '--dangerously-skip-permissions']` when starting a run.
Now the backend reads these from ralph.toml when not provided,
and the frontend sends only prompt + settings — no command, args,
or project_dir.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2e17e21 commit 40372c2
3 files changed
Lines changed: 32 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
14 | 32 | | |
15 | 33 | | |
16 | 34 | | |
| |||
38 | 56 | | |
39 | 57 | | |
40 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
41 | 69 | | |
42 | 70 | | |
43 | 71 | | |
| |||
49 | 77 | | |
50 | 78 | | |
51 | 79 | | |
52 | | - | |
53 | | - | |
| 80 | + | |
| 81 | + | |
54 | 82 | | |
55 | 83 | | |
56 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1288 | 1288 | | |
1289 | 1289 | | |
1290 | 1290 | | |
1291 | | - | |
1292 | | - | |
1293 | | - | |
1294 | 1291 | | |
1295 | 1292 | | |
1296 | 1293 | | |
1297 | 1294 | | |
1298 | 1295 | | |
1299 | 1296 | | |
1300 | | - | |
1301 | 1297 | | |
1302 | 1298 | | |
1303 | 1299 | | |
| |||
0 commit comments