/** * Tests for .opencode/tools/tunnel.ts — the tunnel custom tool. * * The tool is a thin spawnSync wrapper around `bash .opencode/scripts/tunnel.sh` * (toggle: 1st call starts, 2nd call stops). The toggle/PID-file logic lives * in the bash script and is covered by tests/test_tunnel_tool.py (which runs * the script directly with a fake cloudflared). These TS tests stub spawnSync * to verify the tool wiring: it invokes `bash