claude-mpm 3.7.4__py3-none-any.whl → 3.7.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. claude_mpm/VERSION +1 -1
  2. claude_mpm/agents/INSTRUCTIONS.md +18 -0
  3. claude_mpm/agents/schema/agent_schema.json +1 -1
  4. claude_mpm/agents/templates/code_analyzer.json +26 -11
  5. claude_mpm/agents/templates/data_engineer.json +3 -6
  6. claude_mpm/agents/templates/documentation.json +2 -2
  7. claude_mpm/agents/templates/engineer.json +1 -1
  8. claude_mpm/agents/templates/ops.json +3 -8
  9. claude_mpm/agents/templates/qa.json +2 -3
  10. claude_mpm/agents/templates/research.json +1 -2
  11. claude_mpm/agents/templates/security.json +2 -5
  12. claude_mpm/agents/templates/ticketing.json +3 -3
  13. claude_mpm/agents/templates/version_control.json +3 -3
  14. claude_mpm/agents/templates/web_qa.json +3 -3
  15. claude_mpm/agents/templates/web_ui.json +3 -3
  16. claude_mpm/cli/commands/agents.py +118 -1
  17. claude_mpm/cli/parser.py +11 -0
  18. claude_mpm/core/framework_loader.py +8 -7
  19. claude_mpm/dashboard/static/js/components/file-tool-tracker.js +46 -2
  20. claude_mpm/dashboard/templates/index.html +5 -5
  21. claude_mpm/services/agents/deployment/agent_deployment.py +5 -1
  22. claude_mpm/services/agents/deployment/async_agent_deployment.py +5 -1
  23. claude_mpm/services/agents/management/agent_capabilities_generator.py +21 -11
  24. claude_mpm/services/ticket_manager.py +207 -44
  25. claude_mpm/utils/agent_dependency_loader.py +66 -15
  26. claude_mpm/utils/robust_installer.py +587 -0
  27. {claude_mpm-3.7.4.dist-info → claude_mpm-3.7.8.dist-info}/METADATA +17 -21
  28. {claude_mpm-3.7.4.dist-info → claude_mpm-3.7.8.dist-info}/RECORD +32 -47
  29. claude_mpm/.claude-mpm/logs/hooks_20250728.log +0 -10
  30. claude_mpm/agents/agent-template.yaml +0 -83
  31. claude_mpm/cli/README.md +0 -108
  32. claude_mpm/cli_module/refactoring_guide.md +0 -253
  33. claude_mpm/config/async_logging_config.yaml +0 -145
  34. claude_mpm/core/.claude-mpm/logs/hooks_20250730.log +0 -34
  35. claude_mpm/dashboard/.claude-mpm/memories/README.md +0 -36
  36. claude_mpm/dashboard/README.md +0 -121
  37. claude_mpm/dashboard/static/js/dashboard.js.backup +0 -1973
  38. claude_mpm/dashboard/templates/.claude-mpm/memories/README.md +0 -36
  39. claude_mpm/dashboard/templates/.claude-mpm/memories/engineer_agent.md +0 -39
  40. claude_mpm/dashboard/templates/.claude-mpm/memories/version_control_agent.md +0 -38
  41. claude_mpm/hooks/README.md +0 -96
  42. claude_mpm/schemas/agent_schema.json +0 -435
  43. claude_mpm/services/framework_claude_md_generator/README.md +0 -92
  44. claude_mpm/services/version_control/VERSION +0 -1
  45. {claude_mpm-3.7.4.dist-info → claude_mpm-3.7.8.dist-info}/WHEEL +0 -0
  46. {claude_mpm-3.7.4.dist-info → claude_mpm-3.7.8.dist-info}/entry_points.txt +0 -0
  47. {claude_mpm-3.7.4.dist-info → claude_mpm-3.7.8.dist-info}/licenses/LICENSE +0 -0
  48. {claude_mpm-3.7.4.dist-info → claude_mpm-3.7.8.dist-info}/top_level.txt +0 -0
@@ -1,92 +0,0 @@
1
- # Framework CLAUDE.md Generator
2
-
3
- This directory contains the refactored framework CLAUDE.md generator service, originally a single 1,267-line file.
4
-
5
- ## Structure
6
-
7
- ### Core Modules
8
-
9
- - **`__init__.py`** (~250 lines) - Main facade class that coordinates all functionality
10
- - **`version_manager.py`** (~100 lines) - Handles version parsing, incrementing, and comparison
11
- - **`content_assembler.py`** (~120 lines) - Assembles sections and applies template variables
12
- - **`content_validator.py`** (~80 lines) - Validates generated content structure and completeness
13
- - **`deployment_manager.py`** (~80 lines) - Handles deployment to parent directories
14
- - **`section_manager.py`** (~60 lines) - Manages section registration, ordering, and updates
15
-
16
- ### Section Generators
17
-
18
- The `section_generators/` subdirectory contains individual generators for each section:
19
-
20
- - **`__init__.py`** - Base classes and registry
21
- - **`header.py`** - Header with version metadata
22
- - **`role_designation.py`** - AI Assistant role designation
23
- - **`agents.py`** (~570 lines) - Comprehensive agents documentation (largest section)
24
- - **`todo_task_tools.py`** - Todo and Task Tools integration
25
- - **`claude_pm_init.py`** - Claude-PM initialization procedures
26
- - **`orchestration_principles.py`** - Core orchestration principles
27
- - **`subprocess_validation.py`** - Subprocess validation protocol
28
- - **`delegation_constraints.py`** - Critical delegation constraints
29
- - **`environment_config.py`** - Environment configuration
30
- - **`troubleshooting.py`** - Troubleshooting guide
31
- - **`core_responsibilities.py`** - Core responsibilities list
32
- - **`footer.py`** - Footer with metadata
33
-
34
- ## Usage
35
-
36
- The API remains unchanged from the original implementation:
37
-
38
- ```python
39
- from claude_pm.services.framework_claude_md_generator import FrameworkClaudeMdGenerator
40
-
41
- # Create generator instance
42
- generator = FrameworkClaudeMdGenerator()
43
-
44
- # Generate content
45
- content = generator.generate(
46
- current_content=existing_content, # Optional: for version auto-increment
47
- template_variables={'PLATFORM': 'darwin', 'PYTHON_CMD': 'python3'}
48
- )
49
-
50
- # Deploy to parent directory
51
- success, message = generator.deploy_to_parent(Path('/parent/dir'))
52
-
53
- # Update a section
54
- generator.update_section('agents', 'Custom agents content')
55
-
56
- # Add custom section
57
- generator.add_custom_section('custom', 'Custom content', after='agents')
58
- ```
59
-
60
- ## Design Benefits
61
-
62
- 1. **Modularity**: Each concern is separated into its own module
63
- 2. **Maintainability**: Smaller, focused modules are easier to understand and modify
64
- 3. **Testability**: Individual components can be tested in isolation
65
- 4. **Extensibility**: New section generators can be added easily
66
- 5. **Performance**: Section generators are loaded on demand
67
- 6. **Backward Compatibility**: Original API preserved through facade pattern
68
-
69
- ## Section Generator Pattern
70
-
71
- To add a new section generator:
72
-
73
- 1. Create a new file in `section_generators/`
74
- 2. Inherit from `BaseSectionGenerator`
75
- 3. Implement the `generate()` method
76
- 4. Register in `section_generators/__init__.py`
77
-
78
- Example:
79
- ```python
80
- from . import BaseSectionGenerator
81
-
82
- class CustomSectionGenerator(BaseSectionGenerator):
83
- def generate(self, data: Dict[str, Any]) -> str:
84
- return "## Custom Section\n\nContent here..."
85
- ```
86
-
87
- ## Refactoring Summary
88
-
89
- - **Original**: 1,267 lines in a single file
90
- - **Refactored**: ~250 lines in main module + well-organized submodules
91
- - **Total line reduction**: Main module reduced by 80%
92
- - **Improved organization**: 13 focused modules instead of 1 large file
@@ -1 +0,0 @@
1
- 0.9.0