Files
ECC/skills/videodb/scripts
Wen 1e381ef30b fix(videodb): load the project .env from the working directory in ws_listener
A bare load_dotenv() calls find_dotenv() without usecwd, which searches
upward from the calling script's directory (skills/videodb/scripts), not
from the project the user is in. A VIDEO_DB_API_KEY saved in the project
.env, as the skill documents, was never read, so the listener failed with
an authentication error. Use load_dotenv(find_dotenv(usecwd=True)).

The Quick Start started the listener with `python scripts/ws_listener.py`,
which does not resolve from the project directory on a plugin install.
Point it at "${CLAUDE_SKILL_DIR}/scripts/ws_listener.py".

Also stop the immediate reconnect loop when the server accepts and then
closes the socket: a close now counts as a failed attempt with backoff,
and the retry budget resets only after an event is received.

Signed-off-by: Wen <jwcastillo@gmail.com>
2026-10-27 16:52:35 -03:00
..