🔖 Bump version to 4.0.7

- Add automatic update checking feature
- Fix component validation for pipx installations
- Update all version references across 35+ files
This commit is contained in:
NomenAK
2025-08-23 12:52:10 +02:00
parent 291b8a0c2b
commit 45bc5b8a98
27 changed files with 69 additions and 48 deletions

View File

@@ -8,7 +8,7 @@ from pathlib import Path
try:
__version__ = (Path(__file__).parent.parent / "VERSION").read_text().strip()
except Exception:
__version__ = "4.0.6" # Fallback
__version__ = "4.0.7" # Fallback
__author__ = "NomenAK"

View File

@@ -4,7 +4,7 @@ SuperClaude CLI Base Module
Base class for all CLI operations providing common functionality
"""
__version__ = "4.0.6"
__version__ = "4.0.7"
def get_command_info():

View File

@@ -234,7 +234,7 @@ def display_backup_list(backups: List[Dict[str, Any]]) -> None:
def create_backup_metadata(install_dir: Path) -> Dict[str, Any]:
"""Create metadata for the backup"""
metadata = {
"backup_version": "4.0.6",
"backup_version": "4.0.7",
"created": datetime.now().isoformat(),
"install_dir": str(install_dir),
"components": {},

View File

@@ -405,7 +405,7 @@ def run(args: argparse.Namespace) -> int:
# Display header
if not args.quiet:
display_header(
"SuperClaude Update v4.0.6",
"SuperClaude Update v4.0.7",
"Updating SuperClaude framework components"
)

View File

@@ -19,7 +19,7 @@ class AgentsComponent(Component):
"""Get component metadata"""
return {
"name": "agents",
"version": "4.0.6",
"version": "4.0.7",
"description": "14 specialized AI agents with domain expertise and intelligent routing",
"category": "agents"
}
@@ -29,7 +29,7 @@ class AgentsComponent(Component):
return {
"components": {
"agents": {
"version": "4.0.6",
"version": "4.0.7",
"installed": True,
"agents_count": len(self.component_files),
"install_directory": str(self.install_component_subdir)
@@ -63,7 +63,7 @@ class AgentsComponent(Component):
# Add component registration
self.settings_manager.add_component_registration("agents", {
"version": "4.0.6",
"version": "4.0.7",
"category": "agents",
"agents_count": len(self.component_files),
"agents_list": self.component_files

View File

@@ -18,7 +18,7 @@ class CommandsComponent(Component):
"""Get component metadata"""
return {
"name": "commands",
"version": "4.0.6",
"version": "4.0.7",
"description": "SuperClaude slash command definitions",
"category": "commands"
}
@@ -28,14 +28,14 @@ class CommandsComponent(Component):
return {
"components": {
"commands": {
"version": "4.0.6",
"version": "4.0.7",
"installed": True,
"files_count": len(self.component_files)
}
},
"commands": {
"enabled": True,
"version": "4.0.6",
"version": "4.0.7",
"auto_update": False
}
}
@@ -58,7 +58,7 @@ class CommandsComponent(Component):
# Add component registration to metadata
self.settings_manager.add_component_registration("commands", {
"version": "4.0.6",
"version": "4.0.7",
"category": "commands",
"files_count": len(self.component_files)
})

View File

@@ -20,7 +20,7 @@ class CoreComponent(Component):
"""Get component metadata"""
return {
"name": "core",
"version": "4.0.6",
"version": "4.0.7",
"description": "SuperClaude framework documentation and core files",
"category": "core"
}
@@ -29,7 +29,7 @@ class CoreComponent(Component):
"""Get metadata modifications for SuperClaude"""
return {
"framework": {
"version": "4.0.6",
"version": "4.0.7",
"name": "SuperClaude",
"description": "AI-enhanced development framework for Claude Code",
"installation_type": "global",
@@ -37,7 +37,7 @@ class CoreComponent(Component):
},
"superclaude": {
"enabled": True,
"version": "4.0.6",
"version": "4.0.7",
"profile": "default",
"auto_update": False
}
@@ -58,7 +58,7 @@ class CoreComponent(Component):
# Add component registration to metadata
self.settings_manager.add_component_registration("core", {
"version": "4.0.6",
"version": "4.0.7",
"category": "core",
"files_count": len(self.component_files)
})

View File

@@ -102,7 +102,7 @@ class MCPComponent(Component):
"""Get component metadata"""
return {
"name": "mcp",
"version": "4.0.6",
"version": "4.0.7",
"description": "MCP server configuration management via .claude.json",
"category": "integration"
}
@@ -348,7 +348,7 @@ class MCPComponent(Component):
metadata_mods = {
"components": {
"mcp": {
"version": "4.0.6",
"version": "4.0.7",
"installed": True,
"servers_configured": len(self.selected_servers),
"configured_servers": self.selected_servers

View File

@@ -34,7 +34,7 @@ class MCPDocsComponent(Component):
"""Get component metadata"""
return {
"name": "mcp_docs",
"version": "4.0.6",
"version": "4.0.7",
"description": "MCP server documentation and usage guides",
"category": "documentation"
}
@@ -135,7 +135,7 @@ class MCPDocsComponent(Component):
metadata_mods = {
"components": {
"mcp_docs": {
"version": "4.0.6",
"version": "4.0.7",
"installed": True,
"files_count": len(self.component_files),
"servers_documented": self.selected_servers

View File

@@ -20,7 +20,7 @@ class ModesComponent(Component):
"""Get component metadata"""
return {
"name": "modes",
"version": "4.0.6",
"version": "4.0.7",
"description": "SuperClaude behavioral modes (Brainstorming, Introspection, Task Management, Token Efficiency)",
"category": "modes"
}
@@ -69,7 +69,7 @@ class ModesComponent(Component):
metadata_mods = {
"components": {
"modes": {
"version": "4.0.6",
"version": "4.0.7",
"installed": True,
"files_count": len(self.component_files)
}

View File

@@ -2,7 +2,7 @@
"components": {
"core": {
"name": "core",
"version": "4.0.6",
"version": "4.0.7",
"description": "SuperClaude framework documentation and core files",
"category": "core",
"dependencies": [],
@@ -11,7 +11,7 @@
},
"commands": {
"name": "commands",
"version": "4.0.6",
"version": "4.0.7",
"description": "SuperClaude slash command definitions",
"category": "commands",
"dependencies": ["core"],
@@ -20,7 +20,7 @@
},
"mcp": {
"name": "mcp",
"version": "4.0.6",
"version": "4.0.7",
"description": "MCP server configuration management via .claude.json",
"category": "integration",
"dependencies": ["core"],
@@ -29,7 +29,7 @@
},
"modes": {
"name": "modes",
"version": "4.0.6",
"version": "4.0.7",
"description": "SuperClaude behavioral modes (Brainstorming, Introspection, Task Management, Token Efficiency)",
"category": "modes",
"dependencies": ["core"],
@@ -38,7 +38,7 @@
},
"mcp_docs": {
"name": "mcp_docs",
"version": "4.0.6",
"version": "4.0.7",
"description": "MCP server documentation and usage guides",
"category": "documentation",
"dependencies": ["core"],
@@ -47,7 +47,7 @@
},
"agents": {
"name": "agents",
"version": "4.0.6",
"version": "4.0.7",
"description": "14 specialized AI agents with domain expertise and intelligent routing",
"category": "agents",
"dependencies": ["core"],

View File

@@ -295,7 +295,7 @@ class UpdateChecker:
return False
def check_for_updates(current_version: str = "4.0.6", **kwargs) -> bool:
def check_for_updates(current_version: str = "4.0.7", **kwargs) -> bool:
"""
Convenience function to check for updates