claude-mpm 3.7.4__py3-none-any.whl → 3.8.1__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.
- claude_mpm/VERSION +1 -1
- claude_mpm/agents/BASE_PM.md +0 -106
- claude_mpm/agents/INSTRUCTIONS.md +0 -78
- claude_mpm/agents/MEMORY.md +88 -0
- claude_mpm/agents/WORKFLOW.md +86 -0
- claude_mpm/agents/schema/agent_schema.json +1 -1
- claude_mpm/agents/templates/code_analyzer.json +26 -11
- claude_mpm/agents/templates/data_engineer.json +4 -7
- claude_mpm/agents/templates/documentation.json +2 -2
- claude_mpm/agents/templates/engineer.json +2 -2
- claude_mpm/agents/templates/ops.json +3 -8
- claude_mpm/agents/templates/qa.json +2 -3
- claude_mpm/agents/templates/research.json +2 -3
- claude_mpm/agents/templates/security.json +3 -6
- claude_mpm/agents/templates/ticketing.json +4 -9
- claude_mpm/agents/templates/version_control.json +3 -3
- claude_mpm/agents/templates/web_qa.json +4 -4
- claude_mpm/agents/templates/web_ui.json +4 -4
- claude_mpm/cli/__init__.py +2 -2
- claude_mpm/cli/commands/__init__.py +2 -1
- claude_mpm/cli/commands/agents.py +118 -1
- claude_mpm/cli/commands/tickets.py +596 -19
- claude_mpm/cli/parser.py +228 -5
- claude_mpm/config/__init__.py +30 -39
- claude_mpm/config/socketio_config.py +8 -5
- claude_mpm/constants.py +13 -0
- claude_mpm/core/__init__.py +8 -18
- claude_mpm/core/cache.py +596 -0
- claude_mpm/core/claude_runner.py +166 -622
- claude_mpm/core/config.py +5 -1
- claude_mpm/core/constants.py +339 -0
- claude_mpm/core/container.py +461 -22
- claude_mpm/core/exceptions.py +392 -0
- claude_mpm/core/framework_loader.py +208 -93
- claude_mpm/core/interactive_session.py +432 -0
- claude_mpm/core/interfaces.py +424 -0
- claude_mpm/core/lazy.py +467 -0
- claude_mpm/core/logging_config.py +444 -0
- claude_mpm/core/oneshot_session.py +465 -0
- claude_mpm/core/optimized_agent_loader.py +485 -0
- claude_mpm/core/optimized_startup.py +490 -0
- claude_mpm/core/service_registry.py +52 -26
- claude_mpm/core/socketio_pool.py +162 -5
- claude_mpm/core/types.py +292 -0
- claude_mpm/core/typing_utils.py +477 -0
- claude_mpm/dashboard/static/js/components/file-tool-tracker.js +46 -2
- claude_mpm/dashboard/templates/index.html +5 -5
- claude_mpm/hooks/claude_hooks/hook_handler.py +213 -99
- claude_mpm/init.py +2 -1
- claude_mpm/services/__init__.py +78 -14
- claude_mpm/services/agent/__init__.py +24 -0
- claude_mpm/services/agent/deployment.py +2548 -0
- claude_mpm/services/agent/management.py +598 -0
- claude_mpm/services/agent/registry.py +813 -0
- claude_mpm/services/agents/deployment/agent_deployment.py +592 -269
- claude_mpm/services/agents/deployment/async_agent_deployment.py +5 -1
- claude_mpm/services/agents/management/agent_capabilities_generator.py +21 -11
- claude_mpm/services/agents/memory/agent_memory_manager.py +156 -1
- claude_mpm/services/async_session_logger.py +8 -3
- claude_mpm/services/communication/__init__.py +21 -0
- claude_mpm/services/communication/socketio.py +1933 -0
- claude_mpm/services/communication/websocket.py +479 -0
- claude_mpm/services/core/__init__.py +123 -0
- claude_mpm/services/core/base.py +247 -0
- claude_mpm/services/core/interfaces.py +951 -0
- claude_mpm/services/framework_claude_md_generator/section_generators/todo_task_tools.py +23 -23
- claude_mpm/services/framework_claude_md_generator.py +3 -2
- claude_mpm/services/health_monitor.py +4 -3
- claude_mpm/services/hook_service.py +64 -4
- claude_mpm/services/infrastructure/__init__.py +21 -0
- claude_mpm/services/infrastructure/logging.py +202 -0
- claude_mpm/services/infrastructure/monitoring.py +893 -0
- claude_mpm/services/memory/indexed_memory.py +648 -0
- claude_mpm/services/project/__init__.py +21 -0
- claude_mpm/services/project/analyzer.py +864 -0
- claude_mpm/services/project/registry.py +608 -0
- claude_mpm/services/project_analyzer.py +95 -2
- claude_mpm/services/recovery_manager.py +15 -9
- claude_mpm/services/socketio/__init__.py +25 -0
- claude_mpm/services/socketio/handlers/__init__.py +25 -0
- claude_mpm/services/socketio/handlers/base.py +121 -0
- claude_mpm/services/socketio/handlers/connection.py +198 -0
- claude_mpm/services/socketio/handlers/file.py +213 -0
- claude_mpm/services/socketio/handlers/git.py +723 -0
- claude_mpm/services/socketio/handlers/memory.py +27 -0
- claude_mpm/services/socketio/handlers/project.py +25 -0
- claude_mpm/services/socketio/handlers/registry.py +145 -0
- claude_mpm/services/socketio_client_manager.py +12 -7
- claude_mpm/services/socketio_server.py +156 -30
- claude_mpm/services/ticket_manager.py +377 -51
- claude_mpm/utils/agent_dependency_loader.py +66 -15
- claude_mpm/utils/error_handler.py +1 -1
- claude_mpm/utils/robust_installer.py +587 -0
- claude_mpm/validation/agent_validator.py +27 -14
- claude_mpm/validation/frontmatter_validator.py +231 -0
- {claude_mpm-3.7.4.dist-info → claude_mpm-3.8.1.dist-info}/METADATA +74 -41
- {claude_mpm-3.7.4.dist-info → claude_mpm-3.8.1.dist-info}/RECORD +101 -76
- claude_mpm/.claude-mpm/logs/hooks_20250728.log +0 -10
- claude_mpm/agents/agent-template.yaml +0 -83
- claude_mpm/cli/README.md +0 -108
- claude_mpm/cli_module/refactoring_guide.md +0 -253
- claude_mpm/config/async_logging_config.yaml +0 -145
- claude_mpm/core/.claude-mpm/logs/hooks_20250730.log +0 -34
- claude_mpm/dashboard/.claude-mpm/memories/README.md +0 -36
- claude_mpm/dashboard/README.md +0 -121
- claude_mpm/dashboard/static/js/dashboard.js.backup +0 -1973
- claude_mpm/dashboard/templates/.claude-mpm/memories/README.md +0 -36
- claude_mpm/dashboard/templates/.claude-mpm/memories/engineer_agent.md +0 -39
- claude_mpm/dashboard/templates/.claude-mpm/memories/version_control_agent.md +0 -38
- claude_mpm/hooks/README.md +0 -96
- claude_mpm/schemas/agent_schema.json +0 -435
- claude_mpm/services/framework_claude_md_generator/README.md +0 -92
- claude_mpm/services/version_control/VERSION +0 -1
- {claude_mpm-3.7.4.dist-info → claude_mpm-3.8.1.dist-info}/WHEEL +0 -0
- {claude_mpm-3.7.4.dist-info → claude_mpm-3.8.1.dist-info}/entry_points.txt +0 -0
- {claude_mpm-3.7.4.dist-info → claude_mpm-3.8.1.dist-info}/licenses/LICENSE +0 -0
- {claude_mpm-3.7.4.dist-info → claude_mpm-3.8.1.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
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         |