codex-ralph 0.6.3 → 0.6.5

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 CHANGED
@@ -31,6 +31,7 @@ Optional flags:
31
31
  --max-iterations=10
32
32
  --cursor-agent
33
33
  --gemini-agent
34
+ --claude-agent
34
35
  ```
35
36
 
36
37
  Message format (session emoji is chosen randomly from a small fixed set and stays constant for the session):
@@ -64,20 +65,3 @@ Acceptance criteria: Free-form acceptance criteria.
64
65
  - Marks items complete only when all steps are satisfied.
65
66
  - Uses conventional commits for each completed requirement (no story ID requirement).
66
67
  - If no local `AGENTS.md` exists up the tree, use `./.codex/AGENTS.md`. In monorepos, prefer package-level AGENTS.md for package-specific knowledge.
67
-
68
- ## Changelog
69
-
70
- ### 0.6.3
71
- - Feat: Added custom flags (--yolo, --no-sandbox, --approval-mode yolo) for Gemini agent command.
72
-
73
- ### 0.6.2
74
- - Fix: Further corrected Gemini agent command to use positional argument instead of stdin.
75
-
76
- ### 0.6.1
77
- - Fix: Corrected the command for the Gemini agent.
78
-
79
- ### 0.6.0
80
- - Add support for Gemini agent via `--gemini-agent` flag.
81
-
82
- ### 0.5.0
83
- - Version bump.
@@ -14,6 +14,7 @@ NOTES_FILE=""
14
14
  SESSION_EMOJI=""
15
15
  USE_CURSOR_AGENT=false
16
16
  USE_GEMINI_AGENT=false
17
+ USE_CLAUDE_AGENT=false
17
18
 
18
19
  session_emoji() {
19
20
  if [[ -n "${SESSION_EMOJI}" ]]; then
@@ -45,13 +46,14 @@ send_telegram() {
45
46
 
46
47
  usage() {
47
48
  cat <<USAGE
48
- Usage: ralph-loop SPRINT_PATH [--max-iterations=N] [--cursor-agent]
49
+ Usage: ralph-loop SPRINT_PATH [--max-iterations=N] [--cursor-agent] [--gemini-agent] [--claude-agent]
49
50
 
50
51
  Options:
51
52
  SPRINT_PATH Path to the sprint markdown file (required).
52
53
  --max-iterations=N Stop after N iterations (0 = no limit, default 10).
53
54
  --cursor-agent Use cursor-agent instead of codex (default: disabled).
54
55
  --gemini-agent Use gemini-agent instead of codex (default: disabled).
56
+ --claude-agent Use claude instead of codex (default: disabled).
55
57
  -h, --help Show this help.
56
58
  USAGE
57
59
  }
@@ -69,6 +71,9 @@ for arg in "$@"; do
69
71
  --gemini-agent)
70
72
  USE_GEMINI_AGENT=true
71
73
  ;;
74
+ --claude-agent)
75
+ USE_CLAUDE_AGENT=true
76
+ ;;
72
77
  -h|--help)
73
78
  usage
74
79
  exit 0
@@ -256,7 +261,9 @@ while true; do
256
261
  if [[ "$USE_CURSOR_AGENT" == "true" ]]; then
257
262
  cursor-agent -f -p < "$prompt_tmp"
258
263
  elif [[ "$USE_GEMINI_AGENT" == "true" ]]; then
259
- gemini --yolo --no-sandbox --approval-mode yolo "$(cat "$prompt_tmp")"
264
+ gemini --no-sandbox --approval-mode yolo "$(cat "$prompt_tmp")"
265
+ elif [[ "$USE_CLAUDE_AGENT" == "true" ]]; then
266
+ claude -p --dangerously-skip-permissions < "$prompt_tmp"
260
267
  else
261
268
  codex exec - < "$prompt_tmp"
262
269
  fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codex-ralph",
3
- "version": "0.6.3",
3
+ "version": "0.6.5",
4
4
  "description": "Ralph Loop sprint runner for Codex.",
5
5
  "bin": {
6
6
  "ralph-loop": "agent/ralph-loop.sh"