diff --git a/packaging/mother/mother_schema.sql b/packaging/mother/mother_schema.sql index 7cd1715..8951353 100644 --- a/packaging/mother/mother_schema.sql +++ b/packaging/mother/mother_schema.sql @@ -152,6 +152,13 @@ BEGIN ); END IF; END IF; + -- Blender detection from hw-probe. + IF NEW.hw_profile->'blender'->>'available' = 'true' THEN + caps := caps || jsonb_build_object( + 'blender_available', true, + 'blender_version', NEW.hw_profile->'blender'->>'version' + ); + END IF; -- Inference tier: what this node can run locally. IF caps->>'has_gpu' = 'true' AND (caps->>'ollama_available' = 'true' OR caps->>'llama_cpp_available' = 'true') THEN caps := caps || '{"inference_tier": "local-fast"}'::JSONB;