hte-cli 0.2.11__py3-none-any.whl → 0.2.12__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 +15 -10
- {hte_cli-0.2.11.dist-info → hte_cli-0.2.12.dist-info}/METADATA +1 -1
- {hte_cli-0.2.11.dist-info → hte_cli-0.2.12.dist-info}/RECORD +5 -5
- {hte_cli-0.2.11.dist-info → hte_cli-0.2.12.dist-info}/WHEEL +0 -0
- {hte_cli-0.2.11.dist-info → hte_cli-0.2.12.dist-info}/entry_points.txt +0 -0
hte_cli/cli.py
CHANGED
|
@@ -380,18 +380,23 @@ def session_join(ctx, session_id: str, force_setup: bool):
|
|
|
380
380
|
waiting = sum(1 for lp in layer_progress.values() if lp.get("phase") == "waiting")
|
|
381
381
|
total_layers = len(layer_progress)
|
|
382
382
|
|
|
383
|
-
#
|
|
384
|
-
|
|
383
|
+
# Find largest active layer for detail display
|
|
384
|
+
active_layers = [(lid, lp) for lid, lp in layer_progress.items()
|
|
385
|
+
if lp.get("phase") in ("Downloading", "Extracting") and lp.get("total", 0) > 0]
|
|
386
|
+
largest_layer = None
|
|
387
|
+
if active_layers:
|
|
388
|
+
largest_layer = max(active_layers, key=lambda x: x[1].get("total", 0))
|
|
389
|
+
|
|
390
|
+
# Build display
|
|
391
|
+
if total_size > 1024 * 1024: # >1MB meaningful data
|
|
385
392
|
display = f"{format_size(total_current)}/{format_size(total_size)}"
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
display += ")"
|
|
391
|
-
elif extracting > 0:
|
|
392
|
-
display += f" ({extracting} extracting)"
|
|
393
|
+
# Show largest layer progress
|
|
394
|
+
if largest_layer:
|
|
395
|
+
lid, lp = largest_layer
|
|
396
|
+
pct = (lp["current"] / lp["total"] * 100) if lp["total"] > 0 else 0
|
|
397
|
+
display += f" | {lid[:8]}: {format_size(lp['current'])}/{format_size(lp['total'])} ({pct:.0f}%)"
|
|
393
398
|
elif total_layers > 0:
|
|
394
|
-
# Show layer counts
|
|
399
|
+
# Show layer counts
|
|
395
400
|
parts = []
|
|
396
401
|
if downloading > 0:
|
|
397
402
|
parts.append(f"{downloading} downloading")
|
|
@@ -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=
|
|
4
|
+
hte_cli/cli.py,sha256=VnUp0A71JUw35VaN_Xlbusn6_2LD2ZkcnenO3LBc0LE,46464
|
|
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=TLwJdswUQrSD2bQcAXW03R8j8WG2pbHzd12TWcE7zy4,6418
|
|
|
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.
|
|
13
|
-
hte_cli-0.2.
|
|
14
|
-
hte_cli-0.2.
|
|
15
|
-
hte_cli-0.2.
|
|
12
|
+
hte_cli-0.2.12.dist-info/METADATA,sha256=mpWz2A-3JiJquxws5sM1KdCclRqDw3sGGYXeY6XPjhY,3768
|
|
13
|
+
hte_cli-0.2.12.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
14
|
+
hte_cli-0.2.12.dist-info/entry_points.txt,sha256=XbyEEi1H14DFAt0Kdl22e_IRVEGzimSzYSh5HlhKlFA,41
|
|
15
|
+
hte_cli-0.2.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|