← Commit history

Merge PR #513: Dock start: parallel fetch, README fallback (aiflow-dock-start-2 -> main) merge

Colby Knox ·56461b01f3 · ·parents 93e0cac, 973c408

Showing changes introduced by the merge (against its first parent).

1 file changed +1−1
dockbar.json+1−1
@@ -10,7 +10,7 @@     "steps": [       {         "label": "Opening AI Flow (nothing is installed; your AI installs AI Flow when you start a run)",-        "run": "sh -c 'D=\"$HOME/.cache/adom-aiflow/dock-start\"; B=https://wiki.adom.inc/adom/adom-aiflow/render/docs/dock/start; P=18890; mkdir -p \"$D\"; for f in index.html start.css start.js steps.json newbie-panel.js aiflow-icon.svg; do curl -fsSL --max-time 20 \"$B/$f\" -o \"$D/$f.tmp\" && mv -f \"$D/$f.tmp\" \"$D/$f\"; done; API=$(cat \"$HOME/.adom/hd-control-url\" 2>/dev/null); up() { curl -sf --max-time 2 \"http://127.0.0.1:$P/index.html\" | grep -q aiflow-start; }; if command -v python3 >/dev/null 2>&1 && [ -s \"$D/steps.json\" ]; then up || { setsid python3 -m http.server $P --bind 127.0.0.1 --directory \"$D\" >/dev/null 2>&1 </dev/null & for i in 1 2 3 4 5 6 7 8 9 10; do up && break; sleep 0.3; done; }; if up; then echo \"http://127.0.0.1:$P/index.html?api=$API\"; exit 0; fi; fi; echo \"$B/index.html\"'",+        "run": "sh -c 'D=\"$HOME/.cache/adom-aiflow/dock-start\"; B=https://wiki.adom.inc/adom/adom-aiflow/render/docs/dock/start; P=18890; mkdir -p \"$D\"; for f in index.html start.css start.js steps.json newbie-panel.js aiflow-icon.svg; do { curl -fsSL --max-time 20 \"$B/$f\" -o \"$D/$f.tmp\" && mv -f \"$D/$f.tmp\" \"$D/$f\"; } & done; wait; API=$(cat \"$HOME/.adom/hd-control-url\" 2>/dev/null); up() { curl -sf --max-time 2 \"http://127.0.0.1:$P/index.html\" | grep -q aiflow-start; }; if command -v python3 >/dev/null 2>&1 && [ -s \"$D/steps.json\" ]; then up || { setsid python3 -m http.server $P --bind 127.0.0.1 --directory \"$D\" >/dev/null 2>&1 </dev/null & for i in 1 2 3 4 5 6 7 8 9 10; do up && break; sleep 0.3; done; }; if up; then echo \"http://127.0.0.1:$P/index.html?api=$API\"; exit 0; fi; fi; echo https://wiki.adom.inc/adom/adom-aiflow#start-a-run'",         "await": "url",         "timeout_seconds": 60       }