hte-cli 0.2.6__tar.gz → 0.2.8__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.
- {hte_cli-0.2.6 → hte_cli-0.2.8}/PKG-INFO +1 -1
- {hte_cli-0.2.6 → hte_cli-0.2.8}/pyproject.toml +1 -1
- {hte_cli-0.2.6 → hte_cli-0.2.8}/src/hte_cli/cli.py +20 -9
- {hte_cli-0.2.6 → hte_cli-0.2.8}/.gitignore +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/README.md +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/src/hte_cli/__init__.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/src/hte_cli/__main__.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/src/hte_cli/api_client.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/src/hte_cli/config.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/src/hte_cli/errors.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/src/hte_cli/events.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/src/hte_cli/image_utils.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/src/hte_cli/runner.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/src/hte_cli/scorers.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/src/hte_cli/version_check.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/tests/__init__.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/tests/e2e/__init__.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/tests/e2e/automated_runner.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/tests/e2e/conftest.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/tests/e2e/e2e_test.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/tests/e2e/test_benchmark_flows.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/tests/e2e/test_eval_logs.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/tests/e2e/test_infrastructure.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/tests/e2e/test_runtime_imports.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/tests/e2e/test_session_lifecycle.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/tests/e2e/verify_docker_deps.py +0 -0
- {hte_cli-0.2.6 → hte_cli-0.2.8}/uv.lock +0 -0
|
@@ -316,21 +316,32 @@ def session_join(ctx, session_id: str, force_setup: bool):
|
|
|
316
316
|
def show_progress(image: str, line: str):
|
|
317
317
|
# Parse docker pull output for layer progress
|
|
318
318
|
# Lines look like: "abc123: Downloading [====> ] 10MB/50MB"
|
|
319
|
-
# Or: "
|
|
319
|
+
# Or: "abc123: Extracting [====> ] 10MB/50MB"
|
|
320
|
+
# Or: "abc123: Pull complete", "Digest: sha256:...", "Status: ..."
|
|
320
321
|
display_text = None
|
|
321
322
|
if ": " in line:
|
|
322
323
|
parts = line.split(": ", 1)
|
|
323
324
|
if len(parts) == 2:
|
|
324
|
-
|
|
325
|
-
#
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
display_text = layer_status
|
|
325
|
+
layer_id = parts[0][-8:] # Last 8 chars of layer ID
|
|
326
|
+
layer_status = parts[1] # Don't truncate - keep full progress
|
|
327
|
+
# Show progress bars for Downloading/Extracting with MB info
|
|
328
|
+
if "Downloading" in layer_status or "Extracting" in layer_status:
|
|
329
|
+
# Keep progress: "[====> ] 10.5MB/50MB"
|
|
330
|
+
display_text = f"{layer_id}: {layer_status[:50]}"
|
|
331
|
+
elif "Pull complete" in layer_status:
|
|
332
|
+
display_text = f"{layer_id}: done"
|
|
333
|
+
elif "Download complete" in layer_status:
|
|
334
|
+
display_text = f"{layer_id}: download done"
|
|
335
|
+
elif "Already exists" in layer_status:
|
|
336
|
+
display_text = f"{layer_id}: cached"
|
|
337
|
+
elif "Waiting" in layer_status:
|
|
338
|
+
display_text = f"{layer_id}: waiting"
|
|
339
|
+
elif "Verifying" in layer_status:
|
|
340
|
+
display_text = f"{layer_id}: verifying"
|
|
330
341
|
else:
|
|
331
|
-
display_text =
|
|
342
|
+
display_text = line[:55]
|
|
332
343
|
elif line.strip():
|
|
333
|
-
display_text = line[:
|
|
344
|
+
display_text = line[:55]
|
|
334
345
|
|
|
335
346
|
if display_text and display_text != last_status[0]:
|
|
336
347
|
last_status[0] = display_text
|
|
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
|