Commit Graph
2 Commits
Author SHA1 Message Date
杨月政andCursor 37aea507a4 fix(setup): lengthen HF connectivity probe timeouts to 8s
China / high-latency paths often need 3–5s just for TCP to
huggingface.co or hf-mirror.com; the previous 2s/3s probes
falsely reported Unreachable on port 443 and could hard-fail
older preflight builds.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 23:18:33 +08:00
杨月政andCursor 9979f1a84e fix(bootstrap): apply China PyPI mirror on repair uv sync
Repair previously called apply_uv_env without UV_INDEX_URL, so China
region installs still hit pypi.org for hatchling and failed with
tls handshake eof while the UI showed 中国 (镜像). Fold index selection
into apply_uv_env so first-run, drift, repair, and pip repairs share it.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 23:04:24 +08:00