Commit Graph

6 Commits

Author SHA1 Message Date
Mithun Gowda B
f7a9e19a9a Fixed installer.py
Fixed Update issue added missing function update_components() to installer.py

Signed-off-by: Mithun Gowda B <mithungowda.b7411@gmail.com>
2025-07-23 17:36:15 +05:30
Andrew Low
f7311bf480 refactor: simplify Component architecture and move shared logic to base class
* Component Base Class:
  * Add constructor parameter for component subdirectory
  * Move file discovery utilities to base class to avoid repetition in subclasses
  * Same for validate_prerequisites, get_files_to_install, get_settings_modifications methods
  * Split install method into _install and _post_install for better separation of concerns
  * Add error handling wrapper around _install method

* All Component Subclasses:
  * Remove duplicate code now handled by base class
  * Use shared file discovery and installation logic
  * Simplify metadata updates using base class methods
  * Leverage base class file handling and validation

* Hooks Component:
  * Fix the logic for handling both placeholder and actual hooks scenarios

* MCP Component:
  * Fix npm package names and installation commands
2025-07-22 18:36:42 +08:00
Andrew Low
fff47ec1b7 refactor: remove unused code and simplify installer
* Remove unused json import
* Remove unused settings registry update methods (_update_settings_registry, _remove_from_settings_registry)
  * the components themselves are responsible for registering in metadata/settings file
* Remove uninstall_component method
  * the components themselves are resonsible for their uninstall logic
* Simplify post-install validation logic
2025-07-22 18:26:14 +08:00
Mithun Gowda B
7e235d465b 🚀 Fix: Ensure settings.json is created after install (#185)
* Fixed installer.py

Fixed the settings.json missing issue

* Fixed new upload feature  Co-authored-by: mithun50 <mithungowda.b7411@gmail.com>

Fixed new upload feature  Co-authored-by: mithun50 <mithungowda.b7411@gmail.com>
2025-07-18 22:10:17 +02:00
NomenAK
625088df64 fix: Address invalid JSON field in installation suite
- Separate SuperClaude metadata from Claude Code settings.json
- Create .superclaude-metadata.json for framework-specific data
- Fix JSON validation issues with settings management
- Update all components to use proper metadata storage
- Maintain compatibility with Claude Code settings format
- Add migration support for existing installations

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 16:34:20 +02:00
NomenAK
59d74b8af2 Initial commit: SuperClaude v3 Beta clean architecture
Complete foundational restructure with:
- Simplified project architecture
- Comprehensive documentation system
- Modern installation framework
- Clean configuration management
- Updated profiles and settings

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 14:28:11 +02:00