hte-cli 0.2.4__py3-none-any.whl → 0.2.6__py3-none-any.whl

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/cli.py CHANGED
@@ -311,15 +311,30 @@ def session_join(ctx, session_id: str, force_setup: bool):
311
311
  continue
312
312
 
313
313
  # Need to pull - show progress
314
+ last_status = ["connecting..."] # Use list for closure mutability
314
315
  with console.status(f"[yellow]↓[/yellow] {short_name} [dim]connecting...[/dim]") as status:
315
316
  def show_progress(image: str, line: str):
316
317
  # Parse docker pull output for layer progress
317
318
  # Lines look like: "abc123: Downloading [====> ] 10MB/50MB"
319
+ # Or: "Pull complete", "Extracting", "Digest: sha256:...", "Status: ..."
320
+ display_text = None
318
321
  if ": " in line:
319
322
  parts = line.split(": ", 1)
320
323
  if len(parts) == 2:
321
- layer_status = parts[1][:50] # Truncate
322
- status.update(f"[yellow]↓[/yellow] {short_name} [dim]{layer_status}[/dim]")
324
+ layer_status = parts[1][:50]
325
+ # Track download completion to show extracting
326
+ if "Download complete" in layer_status or "Pull complete" in layer_status:
327
+ display_text = "Extracting layers..."
328
+ elif "Extracting" in layer_status or "Verifying" in layer_status:
329
+ display_text = layer_status
330
+ else:
331
+ display_text = layer_status
332
+ elif line.strip():
333
+ display_text = line[:50]
334
+
335
+ if display_text and display_text != last_status[0]:
336
+ last_status[0] = display_text
337
+ status.update(f"[yellow]↓[/yellow] {short_name} [dim]{display_text}[/dim]")
323
338
 
324
339
  success = pull_image_with_progress(img, on_progress=show_progress)
325
340
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hte-cli
3
- Version: 0.2.4
3
+ Version: 0.2.6
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,7 +1,7 @@
1
1
  hte_cli/__init__.py,sha256=fDGXp-r8bIoLtlQnn5xJ_CpwMhonvk9bGjZQsjA2mDI,914
2
2
  hte_cli/__main__.py,sha256=63n0gNGfskidWDU0aAIF2N8lylVCLYKVIkrN9QiORoo,107
3
3
  hte_cli/api_client.py,sha256=m42kfFZS72Nu_VuDwxRsLNy4ziCcvgk7KNWBh9gwqy0,9257
4
- hte_cli/cli.py,sha256=dAkHNF9J_9xP500FDQtfSb6I-X2hWNqz8bFBvZbfQis,40948
4
+ hte_cli/cli.py,sha256=PFT1jg33I_j2Xqa7UAaDH-9bcGbSbrKXeqbd05-lE7c,41911
5
5
  hte_cli/config.py,sha256=42Xv__YMSeRLs2zhGukJkIXFKtnBtYCHnONfViGyt2g,3387
6
6
  hte_cli/errors.py,sha256=1J5PpxcUKBu6XjigMMCPOq4Zc12tnv8LhAsiaVFWLQM,2762
7
7
  hte_cli/events.py,sha256=Zn-mroqaLHNzdT4DFf8st1Qclglshihdc09dBfCN070,5522
@@ -9,7 +9,7 @@ hte_cli/image_utils.py,sha256=454yoZEI1duNYrZC8UjhfZzDRP4Nxdrf2TvnZ_54G1k,4439
9
9
  hte_cli/runner.py,sha256=DhC8FMjHwfLR193iP4thLDRZrNssYA9KH1WYKU2JKeg,13535
10
10
  hte_cli/scorers.py,sha256=sFoPJePRt-K191-Ga4cVmrldruJclYXTOLkU_C9nCDI,6025
11
11
  hte_cli/version_check.py,sha256=WVZyGy2XfAghQYdd2N9-0Qfg-7pgp9gt4761-PnmacI,1708
12
- hte_cli-0.2.4.dist-info/METADATA,sha256=sXaeCU9qbni0H7YxOQtGGxxaK0TyaPFT3TGrDurFcjE,3767
13
- hte_cli-0.2.4.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
14
- hte_cli-0.2.4.dist-info/entry_points.txt,sha256=XbyEEi1H14DFAt0Kdl22e_IRVEGzimSzYSh5HlhKlFA,41
15
- hte_cli-0.2.4.dist-info/RECORD,,
12
+ hte_cli-0.2.6.dist-info/METADATA,sha256=UcZAQaqBT-IE_ykS9D2g09PbbpOx1weke0Ofehm6dH8,3767
13
+ hte_cli-0.2.6.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
14
+ hte_cli-0.2.6.dist-info/entry_points.txt,sha256=XbyEEi1H14DFAt0Kdl22e_IRVEGzimSzYSh5HlhKlFA,41
15
+ hte_cli-0.2.6.dist-info/RECORD,,