mirror of
https://github.com/Luchexx/claude-video.git
synced 2026-11-02 09:19:48 +00:00
Add opt-in local transcription with managed installation, cache warm-up, and a one-time backend choice while preserving native-caption priority. Correct frame timing and coverage, caption provenance and download ownership, configuration parsing, provider pairing, and partial reports. Update cross-host instructions, packaging, and test-gated release CI. Validate 198 isolated tests, real local English and Spanish inference, network-denied warm-cache inference, live captions/media, and packaging. Record platform and account-dependent acceptance limits separately.
17 lines
744 B
Bash
Executable File
17 lines
744 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Advisory only: config parsing and permissions belong to the shared Python code.
|
|
set -u
|
|
PLUGIN_DIR="${CLAUDE_PLUGIN_ROOT:-$(cd "$(dirname "$0")/../.." && pwd)}"
|
|
SETUP_SCRIPT="$PLUGIN_DIR/skills/watch/scripts/setup.py"
|
|
for interpreter in python3 python; do
|
|
if command -v "$interpreter" >/dev/null 2>&1 && "$interpreter" -c 'import sys; sys.exit(sys.version_info < (3, 10))' >/dev/null 2>&1; then
|
|
if "$interpreter" "$SETUP_SCRIPT" --check >/dev/null 2>&1; then
|
|
exit 0
|
|
fi
|
|
echo '/watch: setup needs attention. Invoke the watch skill to check dependencies and configuration.'
|
|
exit 0
|
|
fi
|
|
done
|
|
echo '/watch: Python 3.10+ is needed. Install a working Python interpreter and invoke the watch skill.'
|
|
exit 0
|