claude-mpm 3.3.2__py3-none-any.whl → 3.4.2__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/cli/commands/memory.py +192 -14
- claude_mpm/cli/parser.py +13 -1
- claude_mpm/constants.py +1 -0
- claude_mpm/core/claude_runner.py +61 -0
- claude_mpm/core/config.py +161 -1
- claude_mpm/core/simple_runner.py +61 -0
- claude_mpm/hooks/builtin/mpm_command_hook.py +5 -5
- claude_mpm/hooks/claude_hooks/hook_handler.py +211 -4
- claude_mpm/hooks/claude_hooks/hook_wrapper.sh +10 -3
- claude_mpm/hooks/memory_integration_hook.py +51 -5
- claude_mpm/scripts/socketio_daemon.py +49 -9
- claude_mpm/scripts/socketio_server_manager.py +370 -45
- claude_mpm/services/__init__.py +41 -5
- claude_mpm/services/agent_memory_manager.py +541 -51
- claude_mpm/services/exceptions.py +677 -0
- claude_mpm/services/health_monitor.py +892 -0
- claude_mpm/services/memory_builder.py +341 -7
- claude_mpm/services/memory_optimizer.py +6 -2
- claude_mpm/services/project_analyzer.py +771 -0
- claude_mpm/services/recovery_manager.py +670 -0
- claude_mpm/services/socketio_server.py +653 -36
- claude_mpm/services/standalone_socketio_server.py +703 -34
- claude_mpm/services/version_control/git_operations.py +26 -0
- {claude_mpm-3.3.2.dist-info → claude_mpm-3.4.2.dist-info}/METADATA +34 -10
- {claude_mpm-3.3.2.dist-info → claude_mpm-3.4.2.dist-info}/RECORD +30 -44
- claude_mpm/agents/agent-template.yaml +0 -83
- claude_mpm/agents/test_fix_deployment/.claude-pm/config/project.json +0 -6
- claude_mpm/cli/README.md +0 -109
- claude_mpm/cli_module/refactoring_guide.md +0 -253
- claude_mpm/core/agent_registry.py.bak +0 -312
- claude_mpm/core/base_service.py.bak +0 -406
- claude_mpm/hooks/README.md +0 -97
- claude_mpm/orchestration/SUBPROCESS_DESIGN.md +0 -66
- claude_mpm/schemas/README_SECURITY.md +0 -92
- claude_mpm/schemas/agent_schema.json +0 -395
- claude_mpm/schemas/agent_schema_documentation.md +0 -181
- claude_mpm/schemas/agent_schema_security_notes.md +0 -165
- claude_mpm/schemas/examples/standard_workflow.json +0 -505
- claude_mpm/schemas/ticket_workflow_documentation.md +0 -482
- claude_mpm/schemas/ticket_workflow_schema.json +0 -590
- claude_mpm/services/framework_claude_md_generator/README.md +0 -92
- claude_mpm/services/parent_directory_manager/README.md +0 -83
- claude_mpm/services/version_control/VERSION +0 -1
- /claude_mpm/{web → dashboard}/open_dashboard.py +0 -0
- {claude_mpm-3.3.2.dist-info → claude_mpm-3.4.2.dist-info}/WHEEL +0 -0
- {claude_mpm-3.3.2.dist-info → claude_mpm-3.4.2.dist-info}/entry_points.txt +0 -0
- {claude_mpm-3.3.2.dist-info → claude_mpm-3.4.2.dist-info}/licenses/LICENSE +0 -0
- {claude_mpm-3.3.2.dist-info → claude_mpm-3.4.2.dist-info}/top_level.txt +0 -0
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
# Parent Directory Manager
|
|
2
|
-
|
|
3
|
-
This directory contains the modularized components of the Parent Directory Manager service.
|
|
4
|
-
|
|
5
|
-
## Module Structure
|
|
6
|
-
|
|
7
|
-
The Parent Directory Manager has been refactored into specialized modules following the single-responsibility principle:
|
|
8
|
-
|
|
9
|
-
### Core Module
|
|
10
|
-
- `__init__.py` - Main ParentDirectoryManager class that orchestrates all operations
|
|
11
|
-
|
|
12
|
-
### Specialized Modules
|
|
13
|
-
|
|
14
|
-
1. **backup_manager.py** - Handles backup operations
|
|
15
|
-
- Creates backups of files before modifications
|
|
16
|
-
- Manages backup retention and cleanup
|
|
17
|
-
- Handles framework template backup protection
|
|
18
|
-
|
|
19
|
-
2. **template_deployer.py** - Manages template deployment
|
|
20
|
-
- Handles version comparison and deployment decisions
|
|
21
|
-
- Renders templates with variable substitution
|
|
22
|
-
- Integrates with framework template generator
|
|
23
|
-
|
|
24
|
-
3. **framework_protector.py** - Framework protection mechanisms
|
|
25
|
-
- Protects critical framework files
|
|
26
|
-
- Manages protection rules and validation
|
|
27
|
-
|
|
28
|
-
4. **version_control_helper.py** - Version control integration
|
|
29
|
-
- Git operations and version control checks
|
|
30
|
-
- Branch management support
|
|
31
|
-
|
|
32
|
-
5. **deduplication_manager.py** - CLAUDE.md deduplication
|
|
33
|
-
- Detects and removes duplicate CLAUDE.md files
|
|
34
|
-
- Manages deduplication hierarchy and precedence
|
|
35
|
-
|
|
36
|
-
6. **operations.py** (formerly parent_directory_operations.py) - Directory operations
|
|
37
|
-
- Auto-detection of parent directory contexts
|
|
38
|
-
- Directory registration and management
|
|
39
|
-
|
|
40
|
-
7. **config_manager.py** - Configuration management
|
|
41
|
-
- Manages directory configurations
|
|
42
|
-
- Handles registration and configuration persistence
|
|
43
|
-
|
|
44
|
-
8. **state_manager.py** - State and lifecycle management
|
|
45
|
-
- Initialization and cleanup operations
|
|
46
|
-
- Operation history tracking
|
|
47
|
-
- Logging and error handling
|
|
48
|
-
|
|
49
|
-
9. **validation_manager.py** - Validation operations
|
|
50
|
-
- Template validation
|
|
51
|
-
- Compatibility checking
|
|
52
|
-
- Directory status validation
|
|
53
|
-
|
|
54
|
-
10. **version_manager.py** - Version tracking
|
|
55
|
-
- Subsystem version management
|
|
56
|
-
- Version compatibility validation
|
|
57
|
-
- Version reporting
|
|
58
|
-
|
|
59
|
-
## Usage
|
|
60
|
-
|
|
61
|
-
The main entry point remains the `ParentDirectoryManager` class, which delegates to these specialized modules:
|
|
62
|
-
|
|
63
|
-
```python
|
|
64
|
-
from claude_pm.services.parent_directory_manager import ParentDirectoryManager
|
|
65
|
-
|
|
66
|
-
# Initialize the manager
|
|
67
|
-
manager = ParentDirectoryManager()
|
|
68
|
-
|
|
69
|
-
# All public APIs remain the same
|
|
70
|
-
await manager.deploy_framework_template(target_dir)
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
## Backward Compatibility
|
|
74
|
-
|
|
75
|
-
A stub file at `claude_pm/services/parent_directory_manager.py` ensures backward compatibility for existing imports.
|
|
76
|
-
|
|
77
|
-
## Design Principles
|
|
78
|
-
|
|
79
|
-
1. **Single Responsibility** - Each module has a focused purpose
|
|
80
|
-
2. **Delegation Pattern** - Main class delegates to specialized modules
|
|
81
|
-
3. **Dependency Injection** - Modules receive dependencies via constructor
|
|
82
|
-
4. **Async Support** - All operations support async/await patterns
|
|
83
|
-
5. **Comprehensive Logging** - Each module uses consistent logging
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.9.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|