Spaces:
Sleeping
Sleeping
File size: 353 Bytes
39fe4a7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #!/usr/bin/env bash
set -euo pipefail
if [[ "${1:-}" == "--version" ]]; then
echo "openclaw 2026.3.2"
exit 0
fi
if [[ "${1:-}" == "-c" ]]; then
cmd="${2:-}"
if [[ "$cmd" == sessions_spawn* ]]; then
echo "Session created: mock-openclaw-session"
exit 0
fi
echo "ok"
exit 0
fi
echo "openclaw mock: unsupported args: $*" >&2
exit 0
|