Commit Graph

21 Commits

Author SHA1 Message Date
Andrew Low
b8e5e3f6f5 refactor: update imports after moving managers to separate module
* Remove manager class imports from core/__init__.py and update validator.py to import ConfigManager from new managers module location.
2025-07-22 18:18:19 +08:00
Andrew Low
2db7c80eb1 refactor: move manager classes from core to managers module
* Move ConfigManager, SettingsManager, and FileManager from setup/core to setup/managers with new init.py for cleaner organization.
* Update SettingsManager with enhanced metadata handling methods and installation detection utilities.
2025-07-22 18:11:18 +08:00
Mithun Gowda B
df94650bef Update backup.py
Signed-off-by: Mithun Gowda B <mithungowda.b7411@gmail.com>
2025-07-21 11:44:10 +05:30
Mithun Gowda B
07e4028402 Update update.py
Signed-off-by: Mithun Gowda B <mithungowda.b7411@gmail.com>
2025-07-21 11:43:12 +05:30
Mithun Gowda B
07ca0044d0 Update uninstall.py
Signed-off-by: Mithun Gowda B <mithungowda.b7411@gmail.com>
2025-07-21 11:42:02 +05:30
Mithun Gowda B
3a8e245a91 Update install.py
Signed-off-by: Mithun Gowda B <mithungowda.b7411@gmail.com>
2025-07-21 11:34:00 +05:30
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
Mithun Gowda B
1af243bffa Update ui.py
Signed-off-by: Mithun Gowda B <mithungowda.b7411@gmail.com>
2025-07-16 11:11:13 +05:30
mithun50
d253e048b9 Added PyPI v3 setup and readme updates 2025-07-15 17:32:39 +05:30
NomenAK
a0def375e1 Implement dynamic file discovery for components (PR #133)
Replace hardcoded file arrays with dynamic discovery system:
- CoreComponent: Auto-discovers framework .md files in Core directory
- CommandsComponent: Auto-discovers command .md files in Commands directory
- Eliminates manual maintenance of file lists
- Maintains backward compatibility and error handling
- Adds comprehensive logging and validation

Key changes:
- Added _discover_framework_files() and _discover_command_files() methods
- Added shared _discover_files_in_directory() utility
- Replaced hardcoded arrays with dynamic discovery calls
- Includes filtering, sorting, and error handling
- Validates 9 framework files and 16 command files correctly
- Clean up documentation formatting

Resolves maintenance burden described in PR #133 while preserving
all existing functionality and security validation.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 11:17:55 +02:00
NomenAK
5279cdd4e0 Fix security validation overly broad regex patterns (GitHub Issue #129)
- Fixed `/dev/` pattern to `^/dev/` to only match system device directories
- Added start-of-path anchors (^) to all Unix and Windows system directory patterns
- Separated patterns into logical categories for better maintainability
- Enhanced cross-platform path normalization and error messages
- Improved platform-specific validation logic

This allows users with "dev", "tmp", "bin", etc. in their paths to install
SuperClaude while maintaining all existing security protections.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 10:48:16 +02:00
Kwan Li
6bff95886c added missing implement.md to setup.components (#133)
fix /sc:implement missing from claude code command line

Signed-off-by: Hung Kwan Li <71382503+backpack-0x1337@users.noreply.github.com>
Co-authored-by: Hung Kwan Li <71382503+backpack-0x1337@users.noreply.github.com>
2025-07-15 10:16:49 +02:00
NomenAK
608360882c fix: install MCP servers with user scope for global availability (#127)
- Add --scope user flag to claude mcp add commands in MCP component
- Makes MCP servers globally available across all projects instead of local-only
- Updates all logging messages to reflect user scope installation
- Keeps remove commands scope-agnostic for better compatibility
- Resolves issue where MCP servers were only available in SuperClaude directory

Fixes #127

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 21:32:11 +02:00
NomenAK
b9fac065e0 fix: Windows PATH detection for CLI tools in PowerShell environments
- Add shell=True parameter to subprocess.run() calls on Windows platform
- Fixes issue #128 where Claude CLI, Node.js, and npm were not detected in PowerShell
- Affects validator.py and mcp.py components for better Windows compatibility
- Resolves PowerShell PATH inheritance issues with Python subprocess

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 21:11:28 +02:00
NomenAK
90716ab7b8 docs: comprehensive documentation update and command system enhancement
- Update all command documentation with improved clarity and examples
- Enhance user guides with simplified activation patterns
- Improve installation and setup documentation
- Refine command system implementation in setup components
- Update changelog with recent improvements

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 18:34:01 +02:00
NomenAK
e6bd45ed87 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>
2025-07-14 17:59:58 +02:00
NomenAK
0b410c2dbd enhance: Windows security validation with comprehensive improvements
- Enhanced Windows path validation with proper normalization
- Added junction point and symbolic link detection for security
- Improved Windows-specific error messages with actionable guidance
- Implemented security audit logging for installation decisions
- Maintained cross-platform compatibility and existing protections

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 17:18:11 +02:00
Elliot Chen
e91d31a027 fix: allow installation in Windows user directories (#122) 2025-07-14 17:03:24 +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
952b177598 Fix MCP server installation by adding proper command format
The Claude CLI requires both name and command parameters for 'mcp add':
claude mcp add <name> <commandOrUrl>

This commit:
- Adds 'command' field to all MCP server definitions
- Updates _install_mcp_server to use both server name and command
- Fixes the subprocess call to include both required parameters

Fixes: Failed to install MCP server sequential-thinking: error: missing required argument 'commandOrUrl'

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 16:06:42 +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