mirror of
https://github.com/SuperClaude-Org/SuperClaude_Framework.git
synced 2025-12-17 17:56:46 +00:00
fix: add missing core component registration in installation
Core component installation was missing the component registration step, causing post-installation validation to fail with "Core component not registered in metadata" while commands and MCP components passed. Added missing add_component_registration() call in CoreComponent.install() to match the pattern used by other components. Fixes validation error without affecting functionality. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
e3a49c963d
commit
e6bd45ed87
@ -169,6 +169,14 @@ class CoreComponent(Component):
|
|||||||
self.settings_manager.save_metadata(merged_metadata)
|
self.settings_manager.save_metadata(merged_metadata)
|
||||||
self.logger.info("Updated metadata with framework configuration")
|
self.logger.info("Updated metadata with framework configuration")
|
||||||
|
|
||||||
|
# Add component registration to metadata
|
||||||
|
self.settings_manager.add_component_registration("core", {
|
||||||
|
"version": "3.0.0",
|
||||||
|
"category": "core",
|
||||||
|
"files_count": len(self.framework_files)
|
||||||
|
})
|
||||||
|
self.logger.info("Updated metadata with core component registration")
|
||||||
|
|
||||||
# Migrate any existing SuperClaude data from settings.json
|
# Migrate any existing SuperClaude data from settings.json
|
||||||
if self.settings_manager.migrate_superclaude_data():
|
if self.settings_manager.migrate_superclaude_data():
|
||||||
self.logger.info("Migrated existing SuperClaude data from settings.json")
|
self.logger.info("Migrated existing SuperClaude data from settings.json")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user