rhylthyme-cli-runner 0.2.5a0__tar.gz → 0.2.6a0__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.
- {rhylthyme_cli_runner-0.2.5a0/src/rhylthyme_cli_runner.egg-info → rhylthyme_cli_runner-0.2.6a0}/PKG-INFO +1 -1
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/setup.py +1 -1
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/__init__.py +1 -1
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/import_cli.py +4 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0/src/rhylthyme_cli_runner.egg-info}/PKG-INFO +1 -1
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_import_cli.py +8 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/LICENSE +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/README.md +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/pyproject.toml +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/setup.cfg +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/cli.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/environment_icons.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/environment_loader.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/environment_schemas.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/eval/__init__.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/eval/cli.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/eval/compare.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/eval/gold.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/eval/harness.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/eval/llm.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/eval/matcher.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/eval/metrics.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/eval/patterns/__init__.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/eval/patterns/authoring_guide.md +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/eval/patterns/baseline.md +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/eval/patterns/baseline.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/eval/patterns/extract.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/eval/patterns/four_turn.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/eval/report.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/expand_replicates.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/history/__init__.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/history/calibrate.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/history/calibrate_cli.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/history/cli.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/history/evaluate.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/history/evaluate_cli.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/history/factors.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/history/hash.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/history/predict.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/history/recorder.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/history/render.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/history/replay.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/history/report.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/history/report_cli.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/history/store.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/history/synth.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/history/usable.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/instance_checks.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/program_planner.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/program_runner.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/remote/__init__.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/remote/auth.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/remote/checks.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/remote/cli.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/remote/mcp_client.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/render_cli.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/validate_program.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner.egg-info/SOURCES.txt +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner.egg-info/dependency_links.txt +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner.egg-info/entry_points.txt +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner.egg-info/requires.txt +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner.egg-info/top_level.txt +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_calibrate.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_cli.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_eval_baseline.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_eval_harness.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_eval_providers.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_eval_scorer.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_evaluate.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_example_validation.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_examples_integration.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_expand_replicates.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_hash_parity.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_history_report.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_mcp_checks.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_planner_time_strings.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_predict.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_program_runner.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_remote.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_render_cli.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_replay.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_run_recorder.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_skill.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_synth.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_usable.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_validate_examples_ci.py +0 -0
- {rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_validate_program.py +0 -0
|
@@ -19,7 +19,7 @@ def read_readme():
|
|
|
19
19
|
|
|
20
20
|
setup(
|
|
21
21
|
name="rhylthyme-cli-runner",
|
|
22
|
-
version="0.2.
|
|
22
|
+
version="0.2.6a0",
|
|
23
23
|
description="CLI runner for Rhylthyme real-time program schedules",
|
|
24
24
|
long_description=read_readme(),
|
|
25
25
|
long_description_content_type="text/markdown",
|
{rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/__init__.py
RENAMED
|
@@ -6,7 +6,7 @@ This package provides the command-line interface for running and validating
|
|
|
6
6
|
Rhylthyme real-time program schedules.
|
|
7
7
|
"""
|
|
8
8
|
|
|
9
|
-
__version__ = "0.2.
|
|
9
|
+
__version__ = "0.2.6a0"
|
|
10
10
|
__author__ = "Rhylthyme Team"
|
|
11
11
|
__description__ = "CLI runner for Rhylthyme real-time program schedules"
|
|
12
12
|
|
{rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/import_cli.py
RENAMED
|
@@ -74,6 +74,10 @@ def _import_one(importer, source: str, text: Optional[str]):
|
|
|
74
74
|
if hasattr(importer, "allow_local_files"):
|
|
75
75
|
importer.allow_local_files = True
|
|
76
76
|
return importer.import_from_url(str(path))
|
|
77
|
+
if not source.startswith(("http://", "https://")) and (
|
|
78
|
+
path.suffix or "/" in source
|
|
79
|
+
):
|
|
80
|
+
raise click.ClickException(f"No such file: {source}")
|
|
77
81
|
return importer.import_from_url(source)
|
|
78
82
|
|
|
79
83
|
|
|
@@ -240,3 +240,11 @@ def test_a_text_importer_gets_a_urls_body(fake, monkeypatch):
|
|
|
240
240
|
)
|
|
241
241
|
assert r.exit_code == 0, r.output
|
|
242
242
|
assert fake.calls[-1] == ("text", "def run(protocol): pass\n", None)
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
def test_a_missing_local_file_says_so(fake, tmp_path):
|
|
246
|
+
r = CliRunner().invoke(
|
|
247
|
+
cli, ["import", str(tmp_path / "Neapolitan Pizza.cook"), "-i", "fake"]
|
|
248
|
+
)
|
|
249
|
+
assert r.exit_code != 0 and "No such file" in r.output
|
|
250
|
+
assert fake.calls == []
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/cli.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/eval/cli.py
RENAMED
|
File without changes
|
|
File without changes
|
{rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/eval/gold.py
RENAMED
|
File without changes
|
|
File without changes
|
{rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/eval/llm.py
RENAMED
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/remote/cli.py
RENAMED
|
File without changes
|
|
File without changes
|
{rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/src/rhylthyme_cli_runner/render_cli.py
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_example_validation.py
RENAMED
|
File without changes
|
{rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_examples_integration.py
RENAMED
|
File without changes
|
{rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_expand_replicates.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_planner_time_strings.py
RENAMED
|
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
|
{rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_validate_examples_ci.py
RENAMED
|
File without changes
|
{rhylthyme_cli_runner-0.2.5a0 → rhylthyme_cli_runner-0.2.6a0}/tests/test_validate_program.py
RENAMED
|
File without changes
|