ralph-any 0.1.0__tar.gz → 0.1.1__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ralph-any
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Ralph Wiggum Loop — iterative AI dev loop via ACP (supports Claude, Gemini, and more)
5
5
  License-Expression: MIT
6
6
  License-File: LICENSE
@@ -42,7 +42,7 @@ ralph <prompt> [options]
42
42
  | `--timeout` | `-t` | `1800` | Maximum runtime in seconds (30 min) |
43
43
  | `--promise` | | `任務完成!🥇` | Completion phrase the AI must output |
44
44
  | `--command` | `-c` | `claude-code-acp` | ACP CLI command |
45
- | `--command-args` | | | Extra arguments for the ACP CLI |
45
+ | `--command-args` | | | Extra arguments for the ACP CLI (use `=` syntax) |
46
46
  | `--working-dir` | `-d` | `.` | Working directory |
47
47
  | `--dry-run` | | | Show config without running |
48
48
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ralph-any"
3
- version = "0.1.0"
3
+ version = "0.1.1"
4
4
  description = "Ralph Wiggum Loop — iterative AI dev loop via ACP (supports Claude, Gemini, and more)"
5
5
  requires-python = ">=3.10"
6
6
  license = "MIT"
@@ -1,6 +1,6 @@
1
1
  """Ralph Any — iterative AI dev loop via ACP."""
2
2
 
3
- __version__ = "0.1.0"
3
+ __version__ = "0.1.1"
4
4
 
5
5
  from ralph.detect import detect_promise
6
6
  from ralph.engine import LoopConfig, LoopResult, RalphEngine
@@ -4,6 +4,7 @@ from __future__ import annotations
4
4
 
5
5
  import argparse
6
6
  import asyncio
7
+ import shlex
7
8
  import sys
8
9
  from pathlib import Path
9
10
 
@@ -57,9 +58,8 @@ def _build_parser() -> argparse.ArgumentParser:
57
58
  )
58
59
  p.add_argument(
59
60
  "--command-args",
60
- nargs="*",
61
- default=[],
62
- help="Extra arguments for the ACP CLI",
61
+ default="",
62
+ help="Extra arguments for the ACP CLI (e.g. '--experimental-acp')",
63
63
  )
64
64
  p.add_argument(
65
65
  "-d", "--working-dir",
@@ -106,7 +106,7 @@ def main(argv: list[str] | None = None) -> None:
106
106
  prompt=prompt_text,
107
107
  promise_phrase=args.promise,
108
108
  command=args.command,
109
- command_args=args.command_args,
109
+ command_args=shlex.split(args.command_args) if args.command_args else [],
110
110
  working_dir=args.working_dir,
111
111
  max_iterations=args.max_iterations,
112
112
  timeout_seconds=args.timeout,
File without changes
File without changes
File without changes
File without changes
File without changes