mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-05 03:19:53 +08:00
VisualizerRegistry.get() normalizes the id (strip + lower) before the catalog lookup, but set_enabled/install_bundled/uninstall keyed the catalog with the raw id and forwarded it to the store. Catalog keys are always lowercase (VisualizerManifest._valid_id lowercases them), so a valid id in a different case or with surrounding whitespace — e.g. the raw path param from the visualizers router — was rejected as not installed/not found, or would have persisted store state under a key the catalog never matches. Normalize the id at the top of each mutator, matching get(). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>