codex-ralph 0.5.0 → 0.6.0
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/README.md +5 -0
- package/agent/ralph-loop.sh +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,6 +29,8 @@ Optional flags:
|
|
|
29
29
|
|
|
30
30
|
```
|
|
31
31
|
--max-iterations=10
|
|
32
|
+
--cursor-agent
|
|
33
|
+
--gemini-agent
|
|
32
34
|
```
|
|
33
35
|
|
|
34
36
|
Message format (session emoji is chosen randomly from a small fixed set and stays constant for the session):
|
|
@@ -65,5 +67,8 @@ Acceptance criteria: Free-form acceptance criteria.
|
|
|
65
67
|
|
|
66
68
|
## Changelog
|
|
67
69
|
|
|
70
|
+
### 0.6.0
|
|
71
|
+
- Add support for Gemini agent via `--gemini-agent` flag.
|
|
72
|
+
|
|
68
73
|
### 0.5.0
|
|
69
74
|
- Version bump.
|
package/agent/ralph-loop.sh
CHANGED
|
@@ -13,6 +13,7 @@ MAX_ITERATIONS=10
|
|
|
13
13
|
NOTES_FILE=""
|
|
14
14
|
SESSION_EMOJI=""
|
|
15
15
|
USE_CURSOR_AGENT=false
|
|
16
|
+
USE_GEMINI_AGENT=false
|
|
16
17
|
|
|
17
18
|
session_emoji() {
|
|
18
19
|
if [[ -n "${SESSION_EMOJI}" ]]; then
|
|
@@ -50,6 +51,7 @@ Options:
|
|
|
50
51
|
SPRINT_PATH Path to the sprint markdown file (required).
|
|
51
52
|
--max-iterations=N Stop after N iterations (0 = no limit, default 10).
|
|
52
53
|
--cursor-agent Use cursor-agent instead of codex (default: disabled).
|
|
54
|
+
--gemini-agent Use gemini-agent instead of codex (default: disabled).
|
|
53
55
|
-h, --help Show this help.
|
|
54
56
|
USAGE
|
|
55
57
|
}
|
|
@@ -64,6 +66,9 @@ for arg in "$@"; do
|
|
|
64
66
|
--cursor-agent)
|
|
65
67
|
USE_CURSOR_AGENT=true
|
|
66
68
|
;;
|
|
69
|
+
--gemini-agent)
|
|
70
|
+
USE_GEMINI_AGENT=true
|
|
71
|
+
;;
|
|
67
72
|
-h|--help)
|
|
68
73
|
usage
|
|
69
74
|
exit 0
|
|
@@ -250,6 +255,8 @@ while true; do
|
|
|
250
255
|
|
|
251
256
|
if [[ "$USE_CURSOR_AGENT" == "true" ]]; then
|
|
252
257
|
cursor-agent -f -p < "$prompt_tmp"
|
|
258
|
+
elif [[ "$USE_GEMINI_AGENT" == "true" ]]; then
|
|
259
|
+
gemini-agent -p -f < "$prompt_tmp"
|
|
253
260
|
else
|
|
254
261
|
codex exec - < "$prompt_tmp"
|
|
255
262
|
fi
|