b30c3d193f
When the plugin updates but the worker was already running on the old version, hooks would fail with 400 errors because the new hook scripts tried to call APIs that don't exist in the old worker. Changes: - /api/version now returns BUILT_IN_VERSION (compiled at build time) instead of reading from disk at runtime - worker-service start command now checks for version mismatch and auto-restarts if the running worker version differs from plugin version - Downgraded hook version mismatch warning to debug logging (now handled by auto-restart) Fixes #484 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>