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.
- {ralph_any-0.1.0 → ralph_any-0.1.1}/PKG-INFO +1 -1
- {ralph_any-0.1.0 → ralph_any-0.1.1}/README.md +1 -1
- {ralph_any-0.1.0 → ralph_any-0.1.1}/pyproject.toml +1 -1
- {ralph_any-0.1.0 → ralph_any-0.1.1}/src/ralph/__init__.py +1 -1
- {ralph_any-0.1.0 → ralph_any-0.1.1}/src/ralph/cli.py +4 -4
- {ralph_any-0.1.0 → ralph_any-0.1.1}/.github/workflows/ci.yml +0 -0
- {ralph_any-0.1.0 → ralph_any-0.1.1}/.github/workflows/publish.yml +0 -0
- {ralph_any-0.1.0 → ralph_any-0.1.1}/.gitignore +0 -0
- {ralph_any-0.1.0 → ralph_any-0.1.1}/LICENSE +0 -0
- {ralph_any-0.1.0 → ralph_any-0.1.1}/src/ralph/__main__.py +0 -0
- {ralph_any-0.1.0 → ralph_any-0.1.1}/src/ralph/detect.py +0 -0
- {ralph_any-0.1.0 → ralph_any-0.1.1}/src/ralph/engine.py +0 -0
- {ralph_any-0.1.0 → ralph_any-0.1.1}/src/ralph/prompt.py +0 -0
- {ralph_any-0.1.0 → ralph_any-0.1.1}/tests/test_detect.py +0 -0
- {ralph_any-0.1.0 → ralph_any-0.1.1}/tests/test_engine.py +0 -0
|
@@ -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
|
|
|
@@ -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
|
-
|
|
61
|
-
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|