File size: 506 Bytes
290ff9e
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash
# LangGraph Studio dev server, on this worktree's port.
#
# Usage:
#   scripts/run_studio.sh                # exec langgraph dev on the computed port
#   scripts/run_studio.sh --tunnel       # extra args are forwarded
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PORT="$(uv run python "$SCRIPT_DIR/_ports.py" studio)"

echo "[run_studio] langgraph dev → http://127.0.0.1:${PORT}"
exec uv run --extra dev langgraph dev --port "$PORT" "$@"