Before spawning the Python script, the IPC handler now:
1. Logs Python path, script path, course dir, and dir existence
2. Runs a quick import check (numpy, fitz, sentence_transformers)
and immediately returns a clear error if any are missing:
"Python (/path) is missing packages: fitz. Reinstall ML environment."
3. On failure, shows full diagnostics in the terminal panel (not just
a vague snackbar) with possible causes listed
This should reveal exactly why smart match fails on the user's machine.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>