Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
stream git clone progress so long runtime installs don't look hung
Adam Eivy9cb9a10e149c
diff --git a/scripts/setup-image-video.sh b/scripts/setup-image-video.shindex cb2b7624e8..083ca8c9e7 100755--- a/scripts/setup-image-video.sh+++ b/scripts/setup-image-video.sh@@ -287,10 +287,10 @@ if [[ "$INSTALL_LTX2" == "1" ]]; thenmkdir -p "${HOME}/.portos"if [[ ! -d "${LTX2_DIR}/.git" ]]; thenecho "📦 Cloning dgrauet/ltx-2-mlx (pinned to ${LTX2_PIN:0:12})..."- git clone https://github.com/dgrauet/ltx-2-mlx.git "${LTX2_DIR}"+ git clone --progress https://github.com/dgrauet/ltx-2-mlx.git "${LTX2_DIR}"elseecho "📦 Fetching ltx-2-mlx updates..."- (cd "${LTX2_DIR}" && git fetch origin)+ (cd "${LTX2_DIR}" && git fetch --progress origin)fiecho "📦 Checking out pinned commit ${LTX2_PIN:0:12}..."git_checkout_pin "${LTX2_DIR}" "${LTX2_PIN}"@@ -336,10 +336,10 @@ if [[ "$INSTALL_LTX25" == "1" ]]; thenmkdir -p "${HOME}/.portos"if [[ ! -d "${LTX25_DIR}/.git" ]]; thenecho "📦 Cloning MrMoferFRAN/ltx-2-mlx (pinned to ${LTX25_PIN:0:12})..."- git clone https://github.com/MrMoferFRAN/ltx-2-mlx.git "${LTX25_DIR}"+ git clone --progress https://github.com/MrMoferFRAN/ltx-2-mlx.git "${LTX25_DIR}"elseecho "📦 Fetching ltx-2.5-mlx updates..."- (cd "${LTX25_DIR}" && git fetch origin)+ (cd "${LTX25_DIR}" && git fetch --progress origin)fiecho "📦 Checking out pinned commit ${LTX25_PIN:0:12}..."git_checkout_pin "${LTX25_DIR}" "${LTX25_PIN}"@@ -383,10 +383,10 @@ if [[ "$INSTALL_FASTVIDEO" == "1" ]]; thenmkdir -p "${HOME}/.portos"if [[ ! -d "${FASTVIDEO_DIR}/.git" ]]; thenecho "📦 Cloning hao-ai-lab/FastVideo..."- git clone https://github.com/hao-ai-lab/FastVideo.git "${FASTVIDEO_DIR}"+ git clone --progress https://github.com/hao-ai-lab/FastVideo.git "${FASTVIDEO_DIR}"elseecho "📦 Fetching FastVideo updates..."- (cd "${FASTVIDEO_DIR}" && git fetch origin)+ (cd "${FASTVIDEO_DIR}" && git fetch --progress origin)figit_checkout_pin "${FASTVIDEO_DIR}" "${FASTVIDEO_PIN}"if [[ ! -x "${FASTVIDEO_PY}" ]]; then@@ -434,10 +434,10 @@ if [[ "$INSTALL_WAN22" == "1" ]]; thenmkdir -p "${HOME}/.portos"if [[ ! -d "${WAN22_DIR}/.git" ]]; thenecho "📦 Cloning MLX-Gen..."- git clone https://github.com/lpalbou/mlx-gen.git "${WAN22_DIR}"+ git clone --progress https://github.com/lpalbou/mlx-gen.git "${WAN22_DIR}"elseecho "📦 Fetching MLX-Gen updates..."- (cd "${WAN22_DIR}" && git fetch origin)+ (cd "${WAN22_DIR}" && git fetch --progress origin)figit_checkout_pin "${WAN22_DIR}" "${WAN22_PIN}"if [[ ! -x "${WAN22_PY}" ]]; then@@ -484,10 +484,10 @@ if [[ "$INSTALL_MINIMAX_H3" == "1" ]]; thenmkdir -p "${HOME}/.portos"if [[ ! -d "${MINIMAX_H3_DIR}/.git" ]]; thenecho "📦 Cloning MiniMax H3 MLX..."- git clone https://github.com/PipeNetwork/minimax-h3-mlx.git "$MINIMAX_H3_DIR"+ git clone --progress https://github.com/PipeNetwork/minimax-h3-mlx.git "$MINIMAX_H3_DIR"elseecho "📦 Fetching MiniMax H3 MLX updates..."- git -C "$MINIMAX_H3_DIR" fetch origin+ git -C "$MINIMAX_H3_DIR" fetch --progress originfigit_checkout_pin "$MINIMAX_H3_DIR" "$MINIMAX_H3_PIN"# This runtime imports directly from the checkout, so HEAD alone is not an@@ -605,10 +605,10 @@ if [[ "$INSTALL_HUNYUAN" == "1" ]]; thenmkdir -p "${HOME}/.portos"if [[ ! -d "${HUNYUAN_DIR}/.git" ]]; thenecho "📦 Cloning gaurav-nelson/HunyuanVideo_MLX..."- git clone https://github.com/gaurav-nelson/HunyuanVideo_MLX.git "${HUNYUAN_DIR}"+ git clone --progress https://github.com/gaurav-nelson/HunyuanVideo_MLX.git "${HUNYUAN_DIR}"elseecho "📦 Fetching HunyuanVideo_MLX updates..."- (cd "${HUNYUAN_DIR}" && git fetch origin)+ (cd "${HUNYUAN_DIR}" && git fetch --progress origin)figit_checkout_pin "${HUNYUAN_DIR}" "${HUNYUAN_PIN}"if [[ ! -x "${HUNYUAN_PY}" ]]; then@@ -656,7 +656,7 @@ if [[ "$INSTALL_MUSICGEN" == "1" ]]; thenif [[ ! -d "${MLX_EXAMPLES_DIR}/.git" ]]; thenecho "📦 Cloning ml-explore/mlx-examples → ${MLX_EXAMPLES_DIR}..."- git clone https://github.com/ml-explore/mlx-examples.git "${MLX_EXAMPLES_DIR}"+ git clone --progress https://github.com/ml-explore/mlx-examples.git "${MLX_EXAMPLES_DIR}"fi# Pin to a known commit when MLX_EXAMPLES_PIN is set to a SHA; default# 'main' tracks HEAD (the musicgen example is stable, but a pin keeps newdiff --git a/scripts/setup-image-video.test.js b/scripts/setup-image-video.test.jsindex 390948ac73..b16d15628c 100644--- a/scripts/setup-image-video.test.js+++ b/scripts/setup-image-video.test.js@@ -132,3 +132,29 @@ describe('setup-image-video venv layout handling (issue #4200)', () => {expect(abortProbeBlocks).toEqual([]);});});++describe('setup-image-video clone/fetch progress reporting', () => {+ // The runtime installer streams the script's stdout AND stderr to the Video+ // Gen install modal, splitting on bare \r so progress redraws surface as log+ // lines. git only writes that progress when stderr is a TTY, which it never+ // is under the installer — so a clone without --progress prints its "Cloning+ // into ..." line and then nothing at all until it finishes. On FastVideo+ // (~434MB) that is a ~10 minute silent gap the UI cannot distinguish from a+ // hung install.+ it('passes --progress to every clone', () => {+ const silentClones = source+ .split('\n')+ .filter((line) => /^\s*git clone\b/.test(line) && !line.includes('--progress'));++ expect(silentClones).toEqual([]);+ });++ it('passes --progress to every fetch that is not deliberately quiet', () => {+ const silentFetches = source+ .split('\n')+ .filter((line) => /\bgit\b.*\bfetch\b/.test(line) && !/^\s*#/.test(line))+ .filter((line) => !line.includes('--progress') && !line.includes('--quiet'));++ expect(silentFetches).toEqual([]);+ });+});