hte-cli 0.2.25__tar.gz → 0.2.27__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.
Files changed (32) hide show
  1. {hte_cli-0.2.25 → hte_cli-0.2.27}/PKG-INFO +1 -1
  2. {hte_cli-0.2.25 → hte_cli-0.2.27}/pyproject.toml +1 -1
  3. {hte_cli-0.2.25 → hte_cli-0.2.27}/src/hte_cli/cli.py +8 -0
  4. {hte_cli-0.2.25 → hte_cli-0.2.27}/tests/e2e/automated_runner.py +5 -1
  5. {hte_cli-0.2.25 → hte_cli-0.2.27}/.gitignore +0 -0
  6. {hte_cli-0.2.25 → hte_cli-0.2.27}/README.md +0 -0
  7. {hte_cli-0.2.25 → hte_cli-0.2.27}/src/hte_cli/__init__.py +0 -0
  8. {hte_cli-0.2.25 → hte_cli-0.2.27}/src/hte_cli/__main__.py +0 -0
  9. {hte_cli-0.2.25 → hte_cli-0.2.27}/src/hte_cli/api_client.py +0 -0
  10. {hte_cli-0.2.25 → hte_cli-0.2.27}/src/hte_cli/config.py +0 -0
  11. {hte_cli-0.2.25 → hte_cli-0.2.27}/src/hte_cli/errors.py +0 -0
  12. {hte_cli-0.2.25 → hte_cli-0.2.27}/src/hte_cli/events.py +0 -0
  13. {hte_cli-0.2.25 → hte_cli-0.2.27}/src/hte_cli/image_utils.py +0 -0
  14. {hte_cli-0.2.25 → hte_cli-0.2.27}/src/hte_cli/runner.py +0 -0
  15. {hte_cli-0.2.25 → hte_cli-0.2.27}/src/hte_cli/scorers.py +0 -0
  16. {hte_cli-0.2.25 → hte_cli-0.2.27}/src/hte_cli/version_check.py +0 -0
  17. {hte_cli-0.2.25 → hte_cli-0.2.27}/tests/__init__.py +0 -0
  18. {hte_cli-0.2.25 → hte_cli-0.2.27}/tests/e2e/__init__.py +0 -0
  19. {hte_cli-0.2.25 → hte_cli-0.2.27}/tests/e2e/conftest.py +0 -0
  20. {hte_cli-0.2.25 → hte_cli-0.2.27}/tests/e2e/e2e_test.py +0 -0
  21. {hte_cli-0.2.25 → hte_cli-0.2.27}/tests/e2e/test_benchmark_flows.py +0 -0
  22. {hte_cli-0.2.25 → hte_cli-0.2.27}/tests/e2e/test_eval_logs.py +0 -0
  23. {hte_cli-0.2.25 → hte_cli-0.2.27}/tests/e2e/test_infrastructure.py +0 -0
  24. {hte_cli-0.2.25 → hte_cli-0.2.27}/tests/e2e/test_runtime_imports.py +0 -0
  25. {hte_cli-0.2.25 → hte_cli-0.2.27}/tests/e2e/test_session_lifecycle.py +0 -0
  26. {hte_cli-0.2.25 → hte_cli-0.2.27}/tests/e2e/verify_docker_deps.py +0 -0
  27. {hte_cli-0.2.25 → hte_cli-0.2.27}/tests/unit/__init__.py +0 -0
  28. {hte_cli-0.2.25 → hte_cli-0.2.27}/tests/unit/conftest.py +0 -0
  29. {hte_cli-0.2.25 → hte_cli-0.2.27}/tests/unit/test_image_utils.py +0 -0
  30. {hte_cli-0.2.25 → hte_cli-0.2.27}/tests/unit/test_runner.py +0 -0
  31. {hte_cli-0.2.25 → hte_cli-0.2.27}/tests/unit/test_scorers.py +0 -0
  32. {hte_cli-0.2.25 → hte_cli-0.2.27}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hte-cli
3
- Version: 0.2.25
3
+ Version: 0.2.27
4
4
  Summary: Human Time-to-Completion Evaluation CLI
5
5
  Project-URL: Homepage, https://github.com/sean-peters-au/lyptus-mono
6
6
  Author: Lyptus Research
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "hte-cli"
3
- version = "0.2.25"
3
+ version = "0.2.27"
4
4
  description = "Human Time-to-Completion Evaluation CLI"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -3,6 +3,7 @@
3
3
  Uses Click for command parsing and Rich for pretty output.
4
4
  """
5
5
 
6
+ import os
6
7
  import sys
7
8
  import webbrowser
8
9
 
@@ -173,11 +174,18 @@ def session_join(ctx, session_id: str, force_setup: bool):
173
174
  sys.exit(1)
174
175
 
175
176
  # Check Docker is running before we start (with retry prompt)
177
+ # In non-interactive mode (CI/automation), fail immediately instead of prompting
178
+ non_interactive = os.environ.get("HTE_NON_INTERACTIVE", "").lower() in ("1", "true", "yes")
179
+
176
180
  while True:
177
181
  docker_ok, docker_error = _check_docker()
178
182
  if docker_ok:
183
+ console.print("[dim]✓ Docker running[/dim]")
179
184
  break
180
185
  console.print(f"[red]{docker_error}[/red]")
186
+ if non_interactive:
187
+ console.print("[dim]Non-interactive mode - exiting[/dim]")
188
+ sys.exit(1)
181
189
  console.print()
182
190
  if not click.confirm("Start Docker and retry?", default=True):
183
191
  sys.exit(1)
@@ -465,7 +465,11 @@ def run_automated_test(task_id: str, benchmark: str, timeout: int = 300) -> list
465
465
  f"{HTE_CLI_PATH} session join {session_id}",
466
466
  encoding="utf-8",
467
467
  timeout=timeout,
468
- env={**os.environ, "TERM": "dumb"}, # Disable colors for easier parsing
468
+ env={
469
+ **os.environ,
470
+ "TERM": "dumb", # Disable colors for easier parsing
471
+ "HTE_NON_INTERACTIVE": "1", # Skip interactive prompts (Docker retry, etc.)
472
+ },
469
473
  )
470
474
 
471
475
  # Log file for debugging AND stream to stdout
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