Commit Graph
8 Commits
Author SHA1 Message Date
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
Affaan Mustafa 192d2b63f2 docs: align videodb event directory handling 2026-03-10 21:23:25 -07:00
Affaan Mustafa 70449a1cd7 docs: tighten videodb listener guidance 2026-03-10 21:22:35 -07:00
Affaan Mustafa db2bf16427 docs: resolve videodb review findings 2026-03-10 21:18:33 -07:00
Affaan Mustafa 2581bebfd9 docs: resolve videodb follow-up review comments 2026-03-10 21:11:00 -07:00
Affaan Mustafa b0c2e77bd8 docs: clarify videodb reference guides 2026-03-10 21:04:02 -07:00
Affaan Mustafa b8ab34e362 docs: harden videodb skill examples 2026-03-10 21:03:32 -07:00
Rohit Garg 179a0272d1 videodb skills update: add reference files for videodb skills 2026-03-03 18:20:30 +05:30