feat: add main agent runtime flow v1
This commit is contained in:
@@ -71,7 +71,13 @@ need_cmd() {
|
||||
need_cmd python3
|
||||
need_cmd security
|
||||
need_cmd rsync
|
||||
need_cmd docker
|
||||
|
||||
if [ "$DEPLOY_MODE" = "prebuilt_local" ]; then
|
||||
if ! command -v docker >/dev/null 2>&1 || ! docker info >/dev/null 2>&1; then
|
||||
echo "[deploy] local Docker unavailable, fallback to remote_build" >&2
|
||||
DEPLOY_MODE="remote_build"
|
||||
fi
|
||||
fi
|
||||
|
||||
shell_quote() {
|
||||
python3 - "$1" <<'PY'
|
||||
|
||||
Reference in New Issue
Block a user